:root {
    /* Paleta de cores refinada */
    --bg-dark: #0a0a10;
    --bg-card: #12121a;
    --bg-card-hover: #171724;
    --text: #f0f0f5;
    --muted: #9e9eb5;
    --brand-1: #0052cc;
    --brand-2: #0cb0f0;
    --brand-3: #ff9500;
    --text-dark: #1f2937;
    --text-light: #f9fafb;
    --bg-light: #f3f4f6;
    --success: #39E000;
    --danger: #ff4d4f;
    --shadow: 0 10px 30px rgba(0, 0, 0, .5);
    --shadow-light: 0 5px 15px rgba(0, 0, 0, .3);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- MELHORIA: ESTILIZAÇÃO DO SCROLL --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #2a2a3a;
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-1);
}

html {
    scroll-behavior: smooth;
}

/* Estilos específicos para o menu de login */
.login-container {
    position: relative;
    display: inline-block;
}

/* --- MELHORIA: AJUSTE DO MENU (ALINHAMENTO E CORES) --- */
.login-select {
    position: absolute;
    top: calc(100% + 10px);
    right: 0; /* Alterado de left:0 para right:0 para alinhar com o botão */
    background: var(--bg-card); /* Usando a variável de cor do tema */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 10px;
    min-width: 180px;
    box-shadow: var(--shadow);
    display: none;
    z-index: 1000;
}

.login-select.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.login-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text);
}

.login-option:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--brand-2);
}

.login-option i {
    width: 16px;
    text-align: center;
    color: var(--brand-2);
}

html,
body {
    height: 100%;
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Efeito de gradiente refinado */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(800px 400px at 85% -5%, rgba(0, 153, 255, 0.25), transparent 60%),
        radial-gradient(700px 350px at 5% 15%, rgba(0, 162, 255, 0.15), transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER ESTILIZADO */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: saturate(180%) blur(12px);
    background: rgba(11, 11, 18, .8);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 15px 0;
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header__img {
    width: 160px;
    height: auto;
    transition: var(--transition);
}

.header__img:hover {
    opacity: 0.9;
}

.header__nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.header__ul {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.header__li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__li a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: var(--transition);
}

.header__li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--brand-1), var(--brand-2));
    transition: var(--transition);
}

.header__li a:hover {
    color: #fff;
}

.header__li a:hover::after {
    width: 100%;
}

.header__hamburger {
    display: none;
    background: none;
    color: #fff;
    border: 0;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

.header__hamburger:hover {
    background: rgba(255, 255, 255, .1);
}

.header__cta {
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
}

.btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
  
}

.btn.primary {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: #fff;
    box-shadow: var(--shadow-light);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(12, 176, 240, 0.3);
}

.btn.ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, .08);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ===== AJUSTE FINAL: MOSTRAR BURGUER CORRETO NO MOBILE ===== */
@media (max-width: 768px) {
    /* Esconde o menu desktop */
    .header__nav {
        display: none;
    }

    /* Mostra o hamburguer do header */
    .header__hamburger {
        display: block;
    }
}

/* Offcanvas Mobile Styles */
.offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 16, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
}

.offcanvas.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.off-body {
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: linear-gradient(135deg, #12121a, #0a0a10);
    padding: 25px 20px;
    border-right: 1px solid rgba(12, 176, 240, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: contain;
}

#closeOff {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f0f0f5;
    cursor: pointer;
    transition: all 0.3s ease;
}

#closeOff:hover {
    background: rgba(12, 176, 240, 0.2);
    border-color: #0cb0f0;
    color: #0cb0f0;
    transform: rotate(90deg);
}

#closeOff i {
    font-size: 20px;
}

.off-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}



.off-links a {
    color: #f0f0f5;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.off-links a i {
    width: 20px;
    height: 20px;
    color: #0cb0f0;
}

.off-links a:hover {
    background: rgba(12, 176, 240, 0.1);
    border-color: rgba(12, 176, 240, 0.2);
    transform: translateX(10px);
    color: #0cb0f0;
}

.off-links a.active {
    background: linear-gradient(90deg, rgba(12, 176, 240, 0.2), transparent);
    border-left: 3px solid #0cb0f0;
    color: #0cb0f0;
}

/* Botão Hamburguer */
.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 100;
    position: relative;
}

.hamburger-btn i {
    width: 28px;
    height: 28px;
    color: #f0f0f5;
    transition: color 0.3s ease;
}

.hamburger-btn:hover i {
    color: #0cb0f0;
}

/* Responsivo */
@media (max-width: 768px) {
    .hamburger-btn {
        display: block;
    }
    
    .off-body {
        width: 85%;
    }
}




        /* Hero section */
        .hero {
            padding: 100px 0 80px;
            position: relative;
            text-align: center;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            border-radius: 999px;
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            background: rgba(85, 109, 247, 0.14);
            color: var(--brand-2);
            border: 1px solid rgba(85, 109, 247, 0.35);
            margin-bottom: 20px;
        }

        h1 {
            font-size: clamp(38px, 5.5vw, 60px);
            line-height: 1.3;
            margin: 0 0 20px;
            font-weight: 800;
            background: linear-gradient(to right, #fff, var(--brand-2));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .lead {
            font-size: clamp(17px, 2.3vw, 20px);
            color: var(--muted);
            max-width: 58ch;
            margin: 0 auto 30px;
        }

        /* Seções */
        .section {
            padding: 90px 0;
            scroll-margin-top: 80px;
        }

        .section-header {
            margin-bottom: 50px;
            text-align: center;
        }

        h2 {
            font-size: clamp(32px, 4.5vw, 44px);
            margin: 0 0 16px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }

        .section .sub {
            color: var(--muted);
            max-width: 70ch;
            margin: 0 auto;
            font-size: 18px;
        }

        /* História */
        .history {
            display: grid;
            grid-template-columns: 1fr;
            gap: 40px;
            align-items: center;
        }

        @media (min-width: 992px) {
            .history {
                grid-template-columns: 1fr 1fr;
                gap: 60px;
            }
        }

        .history-content {
            order: 2;
        }

        @media (min-width: 992px) {
            .history-content {
                order: 1;
            }
            
            .history-visual {
                order: 2;
            }
        }

        .history-visual {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            padding: 40px;
            border: 1px solid rgba(255, 255, 255, .08);
            box-shadow: var(--shadow);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 300px;
            position: relative;
            overflow: hidden;
        }

        .history-visual::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(12, 176, 240, 0.1) 0%, transparent 70%);
            animation: rotate 15s linear infinite;
            pointer-events: none;
        }

        @keyframes rotate {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }

        .history-visual i {
            font-size: 80px;
            color: var(--brand-2);
            position: relative;
            z-index: 1;
        }

        /* Valores */
        .values {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            padding: 60px;
            margin-top: 80px;
            border: 1px solid rgba(255, 255, 255, .08);
        }

        .values-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
        }

        @media (min-width: 768px) {
            .values-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 992px) {
            .values-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .value-item {
            text-align: center;
            padding: 20px;
        }

        .value-item i {
            font-size: 36px;
            background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 15px;
            display: inline-block;
        }

        .value-item h4 {
            font-size: 18px;
            margin-bottom: 10px;
            color: #fff;
        }

        .value-item p {
            color: var(--muted);
            font-size: 14px;
            line-height: 1.5;
        }

        /* Linha do tempo */
        .timeline {
            position: relative;
            max-width: 800px;
            margin: 60px auto 0;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 2px;
            height: 100%;
            background: linear-gradient(to bottom, var(--brand-1), var(--brand-2));
        }

        .timeline-item {
            position: relative;
            margin-bottom: 50px;
            width: 50%;
            padding: 0 40px;
        }

        .timeline-item:nth-child(odd) {
            left: 0;
        }

        .timeline-item:nth-child(even) {
            left: 50%;
        }

        .timeline-content {
            background: var(--bg-card);
            border: 1px solid rgba(255, 255, 255, .08);
            border-radius: var(--radius);
            padding: 25px;
            position: relative;
            box-shadow: var(--shadow-light);
        }

        .timeline-content::after {
            content: '';
            position: absolute;
            top: 20px;
            width: 20px;
            height: 20px;
            background: var(--bg-card);
            border-right: 1px solid rgba(255, 255, 255, .08);
            border-bottom: 1px solid rgba(255, 255, 255, .08);
            transform: rotate(45deg);
        }

        .timeline-item:nth-child(odd) .timeline-content::after {
            right: -10px;
        }

        .timeline-item:nth-child(even) .timeline-content::after {
            left: -10px;
            transform: rotate(-135deg);
        }

        .timeline-date {
            display: inline-block;
            padding: 6px 12px;
            background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
            color: white;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .timeline-content h3 {
            margin: 0 0 10px;
            font-size: 18px;
            color: #fff;
        }

        .timeline-content p {
            color: var(--muted);
            margin: 0;
            line-height: 1.5;
        }

        /* Time */
        .team-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 24px;
            margin-top: 40px;
        }

        @media (min-width: 768px) {
            .team-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 992px) {
            .team-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 30px;
            }
        }

        .team-member {
            background: var(--bg-card);
            border: 1px solid rgba(255, 255, 255, .08);
            border-radius: var(--radius);
            padding: 30px;
            transition: var(--transition);
            text-align: center;
        }

        .team-member:hover {
            transform: translateY(-8px);
            border-color: var(--brand-1);
            background: var(--bg-card-hover);
            box-shadow: var(--shadow);
        }

        .member-photo {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            margin: 0 auto 20px;
            background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            color: white;
        }

        .team-member h3 {
            margin: 0 0 10px;
            font-size: 20px;
            font-weight: 600;
            color: #fff;
        }

        .team-member .role {
            color: var(--brand-2);
            margin-bottom: 15px;
            font-weight: 500;
        }

        .team-member p {
            color: var(--muted);
            margin: 0;
            line-height: 1.5;
        }

        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, rgba(12, 176, 240, 0.15), rgba(0, 82, 204, 0.08));
            border-radius: var(--radius-lg);
            padding: 60px;
            text-align: center;
            margin-top: 80px;
            border: 1px solid rgba(255, 255, 255, .1);
        }

        .cta-section h2 {
            margin-bottom: 20px;
        }

        .cta-section p {
            color: var(--muted);
            max-width: 60ch;
            margin: 0 auto 30px;
            font-size: 18px;
        }

        /* Footer */
        .footer {
            border-top: 1px solid rgba(255, 255, 255, .08);
            padding: 60px 0 40px;
            color: var(--muted);
            background: var(--bg-card);
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .footer-logo {
            max-width: 160px;
            margin-bottom: 20px;
        }

        .footer-links h4, .footer-contact h4 {
            color: #fff;
            margin-bottom: 20px;
            font-size: 18px;
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: var(--muted);
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: #fff;
            padding-left: 5px;
        }

        .footer-bottom {
            text-align: center;
            margin-top: 50px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }

        /* Media Queries */
        @media (max-width: 991px) {
            .header__nav {
                display: none;
            }

            .header__hamburger {
                display: block;
            }

            .timeline::before {
                left: 30px;
            }

            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 0;
            }

            .timeline-item:nth-child(even) {
                left: 0;
            }

            .timeline-content::after {
                left: -10px !important;
                right: auto;
                transform: rotate(-135deg) !important;
            }
        }

        @media (max-width: 767px) {
            .values,
            .cta-section {
                padding: 40px 20px;
            }
            
            .history-visual {
                min-height: 200px;
                padding: 30px;
            }
            
            .history-visual i {
                font-size: 60px;
            }
        }

        @media (max-width: 575px) {
            .container {
                padding: 0 15px;
            }
            
            .section {
                padding: 60px 0;
            }
            
            .team-member {
                padding: 20px;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
        }