/* 
    D F GOMES COMERCIO LTDA - Premium "Alive" Design System
    Focus: Luxury, Depth, Fluidity
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Palette - Deep Midnight & Emerald Gold */
    --primary: #0f172a;    /* Deep Navy */
    --accent: #10b981;     /* Emerald */
    --accent-glow: rgba(16, 185, 129, 0.3);
    --secondary: #fbbf24;  /* Amber Gold */
    --text-main: #f1f5f9;
    --text-dark: #1e293b;
    --text-muted: #94a3b8;
    --bg-dark: #020617;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --transition-soft: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px var(--accent-glow); }
    50% { box-shadow: 0 0 20px var(--accent-glow); }
    100% { box-shadow: 0 0 5px var(--accent-glow); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-soft);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Navbar (Glassmorphism) --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-soft);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.4), var(--bg-dark)), url('../images/hero.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.1);
    animation: zoomOut 20s infinite alternate;
}

@keyframes zoomOut {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* --- Buttons --- */
.btn-premium {
    padding: 18px 40px;
    border-radius: 50px;
    background: var(--accent);
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-soft);
    border: none;
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--accent-glow);
    background: #14d495;
}

/* --- Cards --- */
.section { padding: 120px 0; }

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-title .underline {
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: var(--transition-soft);
    text-align: center;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent);
    transform: translateY(-15px) scale(1.02);
}

.glass-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 2rem;
    display: block;
}

/* --- About Grid --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
}

.about-img-wrapper img {
    width: 100%;
    border-radius: 30px;
    position: relative;
    z-index: 2;
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: 30px;
    z-index: 1;
}

/* --- Stats --- */
.stats-bar {
    background: var(--accent);
    padding: 60px 0;
    color: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-box h3 { font-size: 3.5rem; margin-bottom: 0; color: var(--primary); }
.stat-box p { font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; }

/* --- Footer --- */
footer {
    background: #020617;
    padding: 100px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 80px;
}

.footer-logo img { height: 40px; margin-bottom: 1.5rem; filter: brightness(0) invert(1); }

.footer-links h4 { margin-bottom: 1.5rem; color: #fff; }
.footer-links a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 1rem; transition: var(--transition-fast); }
.footer-links a:hover { color: var(--accent); transform: translateX(5px); }

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}

/* Mobile */
@media (max-width: 992px) {
    .grid-3, .about-grid, .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .hero h1 { font-size: 3rem; }
}
