:root {
    --emerald: #0E5C42;
    --emerald-light: #D4E6DF;
    --white: #FDFCF9;
    --off-white: #ebe9e9;
    --black: #111827;
    --dark-gray: #374151;
    --light-gray: #EAEAE6;
    --bg-color: #FFFFFF;
    --font-main: 'Geist', sans-serif;
    --font-display: 'Geist', sans-serif;
    --font-serif: 'Newsreader', serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    display: none;
}

html {
    scroll-behavior: initial; /* Managed by Lenis */
    font-size: 16px;
    background-color: var(--white);
}

body {
    background: var(--bg-color);
    color: var(--black);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
    color: var(--black);
}

/* ──────────────────────────────
   CLEAN EDITORIAL NAVBAR
────────────────────────────── */
header#main-header {
    position: relative;
    background: #FFFFFF;
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
}

#main-header .header-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

#main-header .main-logo {
    height: 85px;
    width: auto;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    transform: scale(1.4);
    transform-origin: left center;
}

#main-header .header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

#main-header .nav-link {
    text-decoration: none;
    color: var(--black);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: normal;
}

#main-header .nav-link::after {
    content: " \2192";
    font-size: 14px;
    opacity: 0.7;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1600;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
    background: var(--black);
}

.nav-toggle.active span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
    background: var(--black);
}

@media (max-width: 992px) {
    .nav-toggle.active span:nth-child(1),
    .nav-toggle.active span:nth-child(2) {
        background: #FFFFFF;
    }
}

@media (max-width: 992px) {
    header#main-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: none;
        height: 70px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: none;
        border-radius: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 0 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        justify-content: space-between;
        z-index: 1000;
    }

    header#main-header.menu-open {
        background: #FFFFFF;
        backdrop-filter: none;
    }

    #main-header .main-logo {
        height: 50px;
        transform: scale(1.15);
        transform-origin: left center;
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 2000;
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
        background: transparent;
        border-radius: 0;
        padding: 0;
    }

    .nav-toggle span {
        width: 24px;
        height: 2px;
        background: var(--black);
    }
    
    .nav-toggle.active span:nth-child(1),
    .nav-toggle.active span:nth-child(2) {
        background: var(--black);
    }

    #main-header .header-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 60px 40px;
        gap: 24px;
        transform: translateY(-100%);
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1550;
    }

    #main-header .header-nav.active {
        transform: translateY(0);
    }

    #main-header .header-nav .nav-link {
        font-size: 32px;
        font-weight: 700;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    #main-header .header-nav.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    /* Delay para animação dos links */
    #main-header .header-nav .nav-link:nth-child(1) { transition-delay: 0.1s; }
    #main-header .header-nav .nav-link:nth-child(2) { transition-delay: 0.2s; }
    #main-header .header-nav .nav-link:nth-child(3) { transition-delay: 0.3s; }
    #main-header .header-nav .nav-link:nth-child(4) { transition-delay: 0.4s; }
    #main-header .header-nav .nav-link:nth-child(5) { transition-delay: 0.5s; }
}

/* List Utilities */
.info-list {
    list-style: none;
}

.info-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}

.info-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--emerald);
}

/* ──────────────────────────────
   BACK TO TOP BUTTON
────────────────────────────── */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--emerald);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(14, 92, 66, 0.3);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: var(--black);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    #back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}
