:root {
    --azul: #0e1b2c;
    --azul-2: #16324f;
    --azul-3: #1d4066;
    --dourado: #f2a541;
    --cinza: #5c6b7a;
    --fundo: #f6f8fb;
}

body { font-family: "Inter", system-ui, sans-serif; color: #243342; }
a { text-decoration: none; }

/* Topbar e navbar */
.topbar { background: var(--azul); color: rgba(255,255,255,.85); font-size: .8rem; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--dourado); }

.navbar-atlas { background: #fff; box-shadow: 0 1px 0 rgba(14,27,44,.08); transition: box-shadow .3s; }
.navbar-atlas.scrolled { box-shadow: 0 4px 18px rgba(14,27,44,.12); }
.navbar-atlas .nav-link { font-weight: 600; color: #33465c; }
.navbar-atlas .nav-link:hover { color: var(--azul-3); }
.navbar-atlas .nav-link.active { color: var(--dourado) !important; }

.brand-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 10px;
    background: var(--azul); color: var(--dourado); font-size: 1.2rem;
}

/* Hero */
.hero { background: linear-gradient(135deg, var(--azul) 0%, var(--azul-2) 55%, var(--azul-3) 100%); }
.badge-tag {
    display: inline-block; padding: .45rem 1rem; border-radius: 50rem;
    background: rgba(242,165,65,.15); color: var(--dourado);
    font-size: .78rem; font-weight: 700; letter-spacing: .04em;
}
.hero-card {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px; padding: 1.4rem 1.2rem; text-align: center; height: 100%;
}
.hero-card i { font-size: 1.5rem; color: var(--dourado); margin-bottom: .6rem; display: block; }
.hero-card strong { font-size: .92rem; color: #fff; }

/* Página interna */
.page-hero { background: var(--fundo); border-bottom: 1px solid #e7ecf3; }
.page-hero .breadcrumb a { color: var(--cinza); }

/* Seções */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--fundo); }
.section-title { max-width: 640px; }
.section-title span {
    display: inline-block; text-transform: uppercase; letter-spacing: .14em;
    font-size: .75rem; font-weight: 800; color: var(--dourado); margin-bottom: .4rem;
}
.section-title h2 { font-weight: 800; color: var(--azul); }

/* Cards */
.icon-card {
    background: #fff; border-radius: 16px; padding: 2rem 1.6rem; height: 100%;
    border: 1px solid #e7ecf3; border-top: 4px solid transparent;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.icon-card:hover { transform: translateY(-6px); border-top-color: var(--dourado); box-shadow: 0 14px 30px rgba(14,27,44,.10); }
.icon-card > i { font-size: 1.7rem; color: var(--dourado); margin-bottom: 1rem; display: block; }
.icon-card h5 { color: var(--azul); font-weight: 700; }

.section-numeros { padding: 3rem 0; background: var(--azul); color: #fff; }
.section-numeros .counter { color: var(--dourado); }
.section-numeros p { color: rgba(255,255,255,.75); margin-bottom: 0; }

.step-card { padding: 1.2rem; border-radius: 14px; }
.step-number {
    width: 48px; height: 48px; margin: 0 auto 1rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--dourado); color: var(--azul); font-weight: 800; font-size: 1.2rem;
}

.guide-card {
    display: block; background: #fff; border: 1px solid #e7ecf3; border-radius: 16px;
    padding: 1.8rem; height: 100%; color: #243342;
    transition: transform .25s, box-shadow .25s;
}
.guide-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(14,27,44,.10); color: #243342; }
.guide-card i { font-size: 1.6rem; color: var(--dourado); margin-bottom: .8rem; }
.guide-card h5 { font-size: 1.05rem; color: var(--azul); }
.guide-card span { color: var(--dourado); font-weight: 700; font-size: .85rem; }

.quote-card {
    background: #fff; border-left: 4px solid var(--dourado); border-radius: 12px;
    padding: 1.6rem; height: 100%; margin: 0;
}
.quote-card p { font-size: .95rem; }
.quote-card footer { color: var(--cinza); font-size: .85rem; }

.commit-card, .lesson-card {
    background: #fff; border: 1px solid #e7ecf3; border-radius: 14px;
    padding: 1.5rem; height: 100%;
}
.commit-card i, .lesson-card i { color: var(--azul-3); }
.commit-card h6, .lesson-card h6 { font-weight: 700; color: var(--azul); }

/* Serviços */
.service-detail {
    background: #fff; border: 1px solid #e7ecf3; border-radius: 16px;
    padding: 1.8rem; height: 100%;
}
.service-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 12px;
    background: rgba(242,165,65,.14); color: var(--dourado); font-size: 1.3rem;
    flex: none;
}

/* Guia */
.toc {
    background: #fff; border: 1px solid #e7ecf3; border-radius: 14px;
    padding: 1.4rem; position: sticky; top: 100px;
}
.toc a { color: #33465c; font-weight: 600; font-size: .92rem; }
.toc a:hover { color: var(--dourado); }
.artigo { padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid #e7ecf3; }
.artigo:last-child { border-bottom: 0; margin-bottom: 0; }
.artigo h2 { color: var(--azul); font-weight: 800; margin-top: .6rem; }
.artigo h3 { color: var(--azul); font-size: 1.15rem; margin: 1.6rem 0 .8rem; }
.artigo .meta { color: var(--cinza); font-size: .82rem; }
.chip {
    display: inline-block; background: rgba(242,165,65,.14); color: #b4741a;
    border-radius: 50rem; padding: .3rem .9rem; font-size: .75rem; font-weight: 700;
}
.callout {
    background: #fff8ee; border-left: 4px solid var(--dourado);
    border-radius: 10px; padding: 1rem 1.2rem; margin-top: 1.4rem; font-size: .95rem;
}

/* FAQ */
.accordion-atlas .accordion-item { border: 1px solid #e7ecf3; border-radius: 12px !important; margin-bottom: .8rem; overflow: hidden; }
.accordion-atlas .accordion-button { font-weight: 700; color: var(--azul); }
.accordion-atlas .accordion-button:not(.collapsed) { background: rgba(242,165,65,.10); color: var(--azul); }

/* História */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
    width: 2px; background: #e1c28f;
}
.timeline-item { position: relative; padding-bottom: 2.4rem; }
.timeline-dot {
    position: absolute; left: -2rem; top: 4px; width: 16px; height: 16px;
    border-radius: 50%; background: var(--dourado); border: 3px solid #fff;
    box-shadow: 0 0 0 2px #e1c28f;
}
.timeline-ano {
    display: inline-block; text-transform: uppercase; letter-spacing: .1em;
    font-size: .72rem; font-weight: 800; color: var(--dourado);
}
.timeline-content h4 { color: var(--azul); font-weight: 800; }
.quote-band {
    background: var(--azul); color: #fff; border-radius: 16px;
    padding: 2.2rem; text-align: center;
}
.quote-band footer { color: rgba(255,255,255,.65); }

/* CTA e info */
.cta-band { background: linear-gradient(120deg, var(--azul) 0%, var(--azul-3) 100%); }
.info-box {
    background: var(--fundo); border: 1px solid #e7ecf3;
    border-radius: 14px; padding: 1.6rem;
}
.legal-content h2 { color: var(--azul); font-size: 1.25rem; font-weight: 800; margin-top: 2.2rem; }
.legal-content p, .legal-content li { color: #3a4a5c; line-height: 1.75; }

/* Rodapé */
.site-footer { background: var(--azul); color: rgba(255,255,255,.75); }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--dourado); }
.site-footer h6 { color: #fff; }
.footer-bottom { background: rgba(0,0,0,.25); }

/* Botão flutuante WhatsApp */
.whatsapp-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 1050;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25d366; color: #fff; font-size: 1.7rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px rgba(37,211,102,.45); transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

@media (max-width: 991.98px) {
    .toc { position: static; }
    .section { padding: 3.2rem 0; }
}
