:root {
    --bg-main: #020804;
    --bg-card: #06150d;
    --border-card: #103b25;
    --border-hover: #1e6b43;
    --line-color: #0c2b1b;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
    --accent: #86efac;
    --accent-dark: #064e3b;
    --brand-green: #10b981;
}

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

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

/* --- ESTILOS DO HEADER --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-color: #040c08;
    position: relative;
    z-index: 50;
}

.logo {
    display: flex;
    flex-direction: column;
    max-width: 100px;
}

.logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Como adicionamos a tag <a> em volta da imagem, é bom garantir que o link ocupe todo o espaço */
.logo a {
    display: flex;
    width: 100%;
}

.logo-title {
    font-size: 24px;
    font-weight: bold;
}

.logo-subtitle {
    color: #a3e635;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #a3e635;
}

/* --- Botão do Header --- */
.btn-nav {
    background-color: #99f6b2;
    color: #00414C !important;
    /* Cor do texto atualizada */
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

/* O seletor .main-nav foi adicionado aqui para ter "mais força" e garantir
   que a cor do texto não seja alterada pela regra geral dos links */
.main-nav .btn-nav:hover {
    background-color: #5eea6c;
    color: #00414C;
    /* Trava a cor do texto para não alterar no hover */
}

/* --- HEADER E TÍTULOS --- */
.hdr {
    padding: 60px 20px;
    position: relative;
    text-align: center;
}

.hdr::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(2, 8, 4, 0) 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.hi {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.hey {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.htit {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

/* --- NAVEGAÇÃO (TABS) --- */
.nav {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 20px;
    z-index: 100;
    margin-bottom: 50px;
}

.ni {
    display: flex;
    background: rgba(6, 21, 13, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-card);
    border-radius: 999px;
    padding: 6px;
    gap: 4px;
}

.nt {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 999px;
    transition: all 0.3s;
    user-select: none;
}

.nt:hover {
    color: var(--text-main);
}

.nt.active {
    background: var(--accent);
    color: var(--accent-dark);
}

/* --- ESTRUTURA PRINCIPAL --- */
.main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.dv {
    display: none;
}

.dv.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.cv {
    display: none;
}

.cv.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ch {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-color);
}

.chl {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 8px;
}

.cht {
    font-size: 16px;
    color: var(--text-muted);
}

/* --- TIMELINE --- */
.timeline-wrapper {
    display: flex;
    flex-direction: column;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: stretch;
}

.time-col {
    width: 100px;
    flex-shrink: 0;
    text-align: right;
    padding-top: 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.line-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20px;
    position: relative;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--bg-main);
    border: 2px solid var(--accent);
    border-radius: 50%;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.line {
    position: absolute;
    top: 32px;
    bottom: -40px;
    width: 2px;
    background-color: var(--line-color);
    z-index: 1;
}

.timeline-item:last-child .line {
    display: none;
}

/* --- CARDS SANFONA (ACCORDION) --- */
.blk-col {
    flex-grow: 1;
    min-width: 0;
}

.blk {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blk:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.05);
}

.blk.open {
    border-color: var(--brand-green);
}

.bh {
    padding: 20px;
    cursor: pointer;
    user-select: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bh-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ta {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.tk {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

.tp2 {
    background: rgba(167, 139, 250, 0.15);
    color: #a78bfa;
}

.tpl {
    background: rgba(250, 204, 21, 0.15);
    color: #facc15;
}

.ts2 {
    background: rgba(244, 114, 182, 0.15);
    color: #f472b6;
}

.tr {
    background: rgba(156, 163, 175, 0.1);
    color: #9ca3af;
    border: 1px dashed #4b5563;
}

.tc {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
}

.bh-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.bn {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.3;
}

.bchev {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-top: 4px;
}

.blk.open .bchev {
    transform: rotate(180deg);
    color: var(--accent);
}

.bdet {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bdi {
    padding: 0 20px 20px;
    border-top: 1px solid var(--line-color);
    margin-top: 10px;
    padding-top: 20px;
}

.dsub {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 16px;
}

.dspkl {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.dspklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.si {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
}

.dot-status {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dg {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.da {
    background: #f59e0b;
}

.ddesc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.ql {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.q {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    align-items: flex-start;
}

.qn {
    color: var(--accent);
    font-weight: 600;
    font-size: 12px;
}

.qt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.obs {
    margin-top: 20px;
    padding: 12px 16px;
    background: rgba(245, 158, 11, 0.1);
    border-left: 3px solid #f59e0b;
    border-radius: 0 6px 6px 0;
    font-size: 12px;
    color: #fcd34d;
}

.sep-timeline {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 10px 0 30px 0;
}

.sep-time {
    width: 100px;
    text-align: right;
}

.sep-line {
    width: 20px;
    display: flex;
    justify-content: center;
}

.sep-dot {
    width: 8px;
    height: 8px;
    background: var(--text-dim);
    border-radius: 50%;
}

.sep-content {
    flex-grow: 1;
    padding: 12px 20px;
    background: transparent;
    border: 1px dashed var(--line-color);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.stats {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--line-color);
}

.stat {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.sn {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-main);
}

.sl {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- RESPONSIVIDADE --- */
@media(max-width: 768px) {
    .cv.active {
        grid-template-columns: 1fr;
    }

    .time-col {
        display: none;
    }

    .line-col {
        display: none;
    }

    .bh-top::before {
        content: attr(data-time);
        font-family: 'Space Grotesk', sans-serif;
        color: var(--accent);
        font-size: 13px;
        font-weight: 600;
    }

    .sep-timeline {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        margin-bottom: 20px;
    }

    .sep-time,
    .sep-line {
        display: none;
    }

    .stats {
        flex-wrap: wrap;
    }

    .stat {
        min-width: 40%;
    }
}

/* --- ESTILOS DO FOOTER --- */
.main-footer {
    background-color: #020804;
    /* Fundo idêntico ao do Header */
    color: #ffffff;
    padding: 100px 60px;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    /* Garante que não quebre em telas menores */
    gap: 40px;
}

/* --- Coluna 1: Logo e Textos --- */
.footer-brand {
    display: flex;
    flex-direction: column;
    max-width: 350px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.footer-logo .logo-title {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.1;
}

.footer-logo .logo-subtitle {
    color: #a3e635;
    /* Verde Neon */
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
}

.footer-desc {
    color: #f3f4f6;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-copy {
    color: #f3f4f6;
    font-size: 15px;
}

/* --- Coluna 2 e 3: Links e Social --- */
.footer-nav,
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #a3e635;
}

.social-title {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 4px;
}

.social-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    /* Empurra o texto pra esquerda e a seta pra direita */
    align-items: center;
    width: 160px;
    /* Largura fixa para deixar todas as setas perfeitamente alinhadas */
    transition: color 0.3s;
}

/* Efeito Hover das Redes Sociais */
.social-link svg {
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    color: #a3e635;
}

.social-link:hover svg {
    transform: translate(3px, -3px);
    /* Move a setinha sutilmente na diagonal */
    color: #a3e635;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .main-footer {
        padding: 60px 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 50px;
    }

    .social-link {
        width: 100%;
        max-width: 200px;
    }
}