/* ============================================================
   MaisDinheiroCred — Landing Page
   Identidade: navy profundo + gradiente verde→azul do logo
   Assinatura: barras ascendentes (crescimento) em progresso,
   seletor de valores e fundos de seção
   ============================================================ */

:root {
    /* Cores da marca */
    --navy-950: #050F1D;
    --navy-900: #081729;
    --navy-800: #0B1D33;
    --navy-700: #12294A;
    --line-dark: rgba(140, 180, 225, 0.14);
    --line-dark-strong: rgba(140, 180, 225, 0.26);

    --lime: #9BE15D;
    --green: #2EBE60;
    --green-deep: #1A7F37; /* AA-safe (≥4.5:1) sobre --paper/--white — todo uso deste token é texto/ícone em fundo claro */
    --blue: #1F8FE5;
    --wa: #25D366;

    --grad-brand: linear-gradient(120deg, #9BE15D 0%, #2EBE60 48%, #1F8FE5 100%);
    --grad-cta: linear-gradient(120deg, #A8E86B 0%, #2EBE60 100%);

    /* Seções claras */
    --paper: #F3F7FB;
    --paper-alt: #E9F0F7;
    --ink: #0B1F35;
    --ink-muted: #45607D;
    --line-light: #D8E4EF;

    /* Texto no escuro */
    --white: #FFFFFF;
    --mist: #B9CCDF;

    /* Tipografia */
    --font-display: "Sora", "Inter", -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius: 14px;
    --radius-lg: 20px;
    --shadow-card: 0 18px 50px rgba(2, 10, 22, 0.45);
    --shadow-light: 0 10px 34px rgba(11, 31, 53, 0.10);
    --container: 1180px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--white);
    background: var(--navy-950);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 2px;
    border-radius: 4px;
}
/* --lime só tem contraste suficiente (≥3:1) sobre fundo escuro; seções claras usam um anel mais escuro */
.section-light :focus-visible {
    outline-color: var(--green-deep);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}
.container-narrow { max-width: 860px; }

/* ============ TIPOGRAFIA / ELEMENTOS BASE ============ */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 1.1em;
}
.eyebrow .icon { color: var(--lime); }
.eyebrow-dark { color: var(--green-deep); }
.eyebrow-dark .icon { color: var(--green-deep); }

.section-title {
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.section-title em {
    font-style: normal;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section-sub {
    font-size: 1.08rem;
    max-width: 620px;
    margin-bottom: 2.2em;
}
.section-dark .section-sub { color: var(--mist); }
.section-light .section-sub { color: var(--ink-muted); }

/* ============ BOTÕES ============ */
.btn-primary, .btn-wa, .btn-outline, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    padding: 0.95em 1.6em;
    border-radius: var(--radius);
    border: none;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary {
    background: var(--grad-cta);
    color: #06250F;
    box-shadow: 0 8px 26px rgba(46, 190, 96, 0.38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(46, 190, 96, 0.5); }
.btn-wa {
    background: var(--wa);
    color: #04250F;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}
.btn-wa:hover { transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--line-dark-strong);
}
.btn-outline:hover { border-color: var(--lime); color: var(--lime); }
.btn-ghost {
    background: rgba(140, 180, 225, 0.08);
    color: var(--mist);
    font-weight: 600;
    padding: 0.7em 1.1em;
}
.btn-ghost:hover { color: var(--white); background: rgba(140, 180, 225, 0.14); }
.btn-sm { padding: 0.7em 1.2em; font-size: 0.95rem; }
.btn-lg { padding: 1.1em 2em; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    background: none;
    border: none;
    color: var(--mist);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.6em 0.2em;
    margin-top: 0.6em;
}
.btn-text-link:hover { color: var(--white); }

/* ============ HEADER ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 15, 29, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-dark);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 74px;
}
.brand-logo { width: 221px; height: auto; }
.main-nav {
    display: flex;
    gap: 26px;
    margin-left: auto;
}
.main-nav a {
    text-decoration: none;
    color: var(--mist);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.15s;
}
.main-nav a:hover { color: var(--lime); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-wa .icon { color: var(--wa); }

/* ============ HERO ============ */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 480px at 82% -10%, rgba(31, 143, 229, 0.16), transparent 65%),
        radial-gradient(720px 420px at 8% 108%, rgba(46, 190, 96, 0.12), transparent 60%),
        var(--navy-950);
    padding: 64px 0 84px;
}
.hero-bars {
    position: absolute;
    inset: auto 0 0 0;
    height: 62%;
    display: flex;
    align-items: flex-end;
    gap: 4%;
    padding: 0 6%;
    pointer-events: none;
    opacity: 0.55;
}
.hero-bars i {
    flex: 1;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg, rgba(155, 225, 93, 0.10), rgba(31, 143, 229, 0.02));
    transform-origin: bottom;
    animation: barGrow 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.hero-bars i:nth-child(1) { height: 18%; animation-delay: 0.05s; }
.hero-bars i:nth-child(2) { height: 30%; animation-delay: 0.12s; }
.hero-bars i:nth-child(3) { height: 26%; animation-delay: 0.19s; }
.hero-bars i:nth-child(4) { height: 44%; animation-delay: 0.26s; }
.hero-bars i:nth-child(5) { height: 58%; animation-delay: 0.33s; }
.hero-bars i:nth-child(6) { height: 72%; animation-delay: 0.40s; }
.hero-bars i:nth-child(7) { height: 92%; animation-delay: 0.47s; }
@keyframes barGrow { from { transform: scaleY(0); } }

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
    gap: 56px;
    align-items: start;
}
.hero-copy h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.3rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.5em;
}
.hero-copy h1 em {
    font-style: normal;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub {
    font-size: 1.13rem;
    color: var(--mist);
    max-width: 540px;
    margin-bottom: 1.8em;
}
.hero-sub strong { color: var(--white); }

.hero-bullets { display: grid; gap: 12px; margin-bottom: 2em; }
.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.99rem;
    color: var(--mist);
}
.hero-bullets .icon {
    color: var(--lime);
    background: rgba(155, 225, 93, 0.12);
    border-radius: 50%;
    padding: 4px;
    width: 1.45em;
    height: 1.45em;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--line-dark);
    padding-top: 1.4em;
}
.stars { display: inline-flex; gap: 2px; color: #FFC531; }
.stars .icon { width: 1em; height: 1em; }
.proof-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(155, 225, 93, 0.1);
    color: var(--lime);
    flex: none;
}
.hero-proof p { margin: 0; font-size: 0.95rem; color: var(--mist); }
.hero-proof strong { color: var(--white); }

/* ============ SIMULADOR (CARD DO FUNIL) ============ */
.sim-wrap { position: relative; }
.sim-wrap::before {
    content: "";
    position: absolute;
    inset: -36px -28px;
    background:
        radial-gradient(60% 60% at 30% 20%, rgba(155, 225, 93, 0.32), transparent 70%),
        radial-gradient(55% 55% at 80% 85%, rgba(31, 143, 229, 0.26), transparent 70%);
    filter: blur(30px);
    z-index: 0;
    pointer-events: none;
    animation: simGlow 4.5s ease-in-out infinite;
}




.sim-card {
    position: relative;
    z-index: 1;
    scroll-margin-top: 96px;
    background: linear-gradient(170deg, var(--navy-800), var(--navy-900));
    border: 1px solid var(--line-dark-strong);
    border-radius: var(--radius-lg);
    padding: 26px 26px 20px;
    box-shadow: var(--shadow-card), 0 0 80px -12px rgba(46, 190, 96, 0.35);
    animation: simCardGlow 4.5s ease-in-out infinite;
}
.sim-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(155, 225, 93, 0.5), transparent 38%, transparent 68%, rgba(31, 143, 229, 0.4));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
@keyframes simGlow {
    0%, 100% { opacity: 0.75; }
    50% { opacity: 1; }
}
@keyframes simCardGlow {
    0%, 100% { box-shadow: var(--shadow-card), 0 0 80px -12px rgba(46, 190, 96, 0.35); }
    50% { box-shadow: var(--shadow-card), 0 0 100px -8px rgba(46, 190, 96, 0.55); }
}

.sim-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.42em 0.9em;
    border-radius: 100px;
}
.chip-green { background: rgba(46, 190, 96, 0.14); color: var(--lime); }
.chip-blue { background: rgba(31, 143, 229, 0.14); color: #6FBFF5; }

/* Progresso: barras ascendentes (assinatura da marca) */
.sim-progress { margin-bottom: 20px; }
.progress-steps {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 26px;
    margin-bottom: 8px;
}
.progress-steps .step {
    width: 26px;
    border-radius: 4px 4px 2px 2px;
    background: var(--navy-700);
    transition: background 0.3s, box-shadow 0.3s;
}
.progress-steps .step:nth-child(1) { height: 11px; }
.progress-steps .step:nth-child(2) { height: 16px; }
.progress-steps .step:nth-child(3) { height: 21px; }
.progress-steps .step:nth-child(4) { height: 26px; }
.progress-steps .step.completed { background: var(--green); }
.progress-steps .step.active {
    background: var(--grad-brand);
    box-shadow: 0 0 14px rgba(155, 225, 93, 0.45);
}
.progress-label {
    margin: 0;
    font-size: 0.85rem;
    color: var(--mist);
}
.progress-label b { color: var(--lime); }

/* Páginas do funil */
.funnel-page { display: none; }
.funnel-page.active { display: block; animation: pageIn 0.32s ease both; }
@keyframes pageIn {
    from { opacity: 0; transform: translateX(14px); }
    to { opacity: 1; transform: none; }
}

.sim-title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.35em;
}
.sim-question {
    color: var(--mist);
    font-size: 1rem;
    margin-bottom: 1.2em;
}
.sim-question strong { color: var(--white); }

.option-group { display: grid; gap: 12px; }
.option-card {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: left;
    background: rgba(140, 180, 225, 0.06);
    border: 1.5px solid var(--line-dark-strong);
    border-radius: var(--radius);
    padding: 15px 16px;
    color: var(--white);
    transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.option-card:hover {
    border-color: var(--lime);
    background: rgba(155, 225, 93, 0.07);
    transform: translateY(-1px);
}
.option-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--grad-brand);
    color: #06250F;
    flex: none;
}
.option-card-alt .option-icon {
    background: var(--navy-700);
    color: var(--mist);
}
.option-text { display: grid; gap: 2px; flex: 1; }
.option-title { font-weight: 700; font-size: 1.02rem; }
.option-desc { font-size: 0.85rem; color: var(--mist); }
.option-arrow { color: var(--lime); opacity: 0; transform: translateX(-6px); transition: 0.18s; }
.option-card:hover .option-arrow { opacity: 1; transform: none; }

.sim-microcopy {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.85rem;
    color: var(--mist);
    margin: 1.2em 0 0;
}
.sim-microcopy .icon { color: var(--lime); }
.sim-legal {
    font-size: 0.74rem;
    color: rgba(185, 204, 223, 0.65);
    margin-top: 0.7em;
}

.sim-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(185, 204, 223, 0.75);
    border-top: 1px solid var(--line-dark);
    margin-top: 20px;
    padding-top: 14px;
}
.sim-foot .icon { color: var(--green); width: 1em; height: 1em; }

/* ============ POPUP DE SAÍDA (eleva o próprio simulador a um modal) ============ */
.exit-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(2, 8, 16, 0.75);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
body.exit-modal-active {
    overflow: hidden;
}
body.exit-modal-active .exit-modal-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.sim-modal-close {
    /* Posicionamento fica na regra base: a regra do modal so alterna a
       visibilidade. Assim o botao nunca cai no fluxo do card por engano. */
    display: none;
    position: absolute;
    top: -14px;
    right: -14px;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--ink);
    font-size: 1.2rem;
    line-height: 1;
    box-shadow: var(--shadow-light);
    cursor: pointer;
    z-index: 2;
}

body.exit-modal-active .sim-wrap {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* "safe" mantem o topo do card alcancavel quando o conteudo passa da
       altura da tela (centralizar em flex torna o inicio inacessivel) */
    justify-content: safe center;
    gap: 16px;
    padding: 24px;
    /* unico container de rolagem do modal. overflow-x explicito porque
       overflow-y:auto faz o overflow-x:visible virar auto por especificacao */
    overflow-y: auto;
    overflow-x: hidden;
}
body.exit-modal-active .sim-wrap::before { display: none; }


body.exit-modal-active .sim-card {
    width: 100%;
    max-width: 460px;
    /* sem rolagem propria: o botao de fechar (top/right -14px) e a borda em
       gradiente (::before, inset -1px) ficam fora dos limites do card e
       gerariam barras de rolagem aqui dentro. Quem rola e o .sim-wrap. */
    animation: none;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}
body.exit-modal-active .sim-card .sim-modal-close { display: grid; }
body.exit-modal-active .sim-card .sim-modal-close:hover { background: var(--paper); }

/* Rejeição (sem CNPJ) */
.rejection-box { display: grid; gap: 12px; }
.rejection-box p { color: var(--mist); margin: 0 0 0.4em; }
.rejection-box p strong { color: var(--white); }

/* Etapa 2 — seletor de valores em barras */
.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.value-card {
    position: relative;
    display: grid;
    grid-template-columns: 18px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    text-align: left;
    background: rgba(140, 180, 225, 0.06);
    border: 1.5px solid var(--line-dark-strong);
    border-radius: var(--radius);
    padding: 13px 14px;
    color: var(--white);
    transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.value-card:hover, .value-card.selected {
    border-color: var(--lime);
    background: rgba(155, 225, 93, 0.08);
    transform: translateY(-1px);
}
.value-card.selected { box-shadow: 0 0 0 1px var(--lime); }
.value-bar {
    grid-row: 1 / 3;
    position: relative;
    width: 10px;
    height: 40px;
    border-radius: 6px;
    background: var(--navy-700);
    overflow: hidden;
    align-self: center;
}
.value-bar::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: var(--h, 50%);
    border-radius: 6px;
    background: var(--grad-brand);
}
.value-amount {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.06rem;
    letter-spacing: -0.01em;
}
.value-terms { font-size: 0.8rem; color: var(--mist); }
.value-card-featured { border-color: rgba(155, 225, 93, 0.55); }
.value-badge {
    position: absolute;
    top: -9px;
    right: 10px;
    background: var(--grad-cta);
    color: #06250F;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25em 0.7em;
    border-radius: 100px;
}

/* Etapa 3 — formulário */
.value-recap {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--mist);
    background: rgba(46, 190, 96, 0.08);
    border: 1px solid rgba(46, 190, 96, 0.25);
    border-radius: 10px;
    padding: 8px 12px;
    margin-bottom: 1.2em;
}
.value-recap strong { color: var(--lime); }
.recap-change {
    background: none;
    border: none;
    color: var(--mist);
    text-decoration: underline;
    font-size: 0.85rem;
    padding: 0;
}
.recap-change:hover { color: var(--white); }

.form-group { margin-bottom: 14px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.form-group label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--mist);
    margin-bottom: 6px;
}
.required { color: var(--lime); }
.optional { color: rgba(185, 204, 223, 0.6); font-weight: 400; font-size: 0.92em; }
.form-group input, .form-group select {
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    color: var(--white);
    background: var(--navy-900);
    border: 1.5px solid var(--line-dark-strong);
    border-radius: 10px;
    padding: 12px 14px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input::placeholder { color: rgba(185, 204, 223, 0.4); }
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--lime);
    box-shadow: 0 0 0 3px rgba(155, 225, 93, 0.15);
}
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9CCDF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.form-group.invalid input, .form-group.invalid select { border-color: #FF6B6B; }
.error-message {
    display: none;
    font-size: 0.8rem;
    color: #FF8F8F;
    margin-top: 5px;
}
.form-group.invalid .error-message { display: block; }

#submitBtn { position: relative; margin-top: 6px; }
.btn-loader {
    display: none;
    width: 1.1em;
    height: 1.1em;
    border: 2.5px solid rgba(6, 37, 15, 0.3);
    border-top-color: #06250F;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#submitBtn.loading .btn-loader { display: inline-block; }
#submitBtn.loading .btn-text, #submitBtn.loading .btn-arrow { opacity: 0.55; }

.privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-size: 0.8rem;
    color: rgba(185, 204, 223, 0.75);
    margin: 12px 0 0;
    text-align: center;
}
.privacy-note .icon { color: var(--green); width: 1em; height: 1em; flex: none; }
.privacy-note a { color: var(--lime); }

/* Etapa 4 — sucesso */
.success-box { text-align: center; display: grid; gap: 6px; justify-items: center; }
.success-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #06250F;
    margin-bottom: 8px;
    animation: pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
.success-icon .icon { width: 30px; height: 30px; }
@keyframes pop { from { transform: scale(0); } }
.success-sub { color: var(--mist); margin: 0; font-size: 0.95rem; }
.success-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 0.4em;
}
.success-box > p { color: var(--mist); }
.success-box > p strong { color: var(--white); }
.success-bullets { display: grid; gap: 8px; margin-top: 14px; justify-items: start; }
.success-bullets li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--mist);
}
.success-bullets .icon { color: var(--lime); }

/* ============ FAIXA DE CONFIANÇA ============ */
.trustbar {
    background: var(--navy-900);
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
    padding: 16px 0;
}
.trustbar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* gap e fonte calibrados para os 5 itens caberem em uma unica linha
       no container de 1140px; abaixo disso o flex-wrap assume */
    gap: 12px 20px;
}
.trustbar-inner span {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mist);
    white-space: nowrap;
}
.trustbar-inner .icon { color: var(--lime); }

/* ============ SEÇÕES ============ */
.section { padding: 88px 0; }
.section-light { background: var(--paper); color: var(--ink); }
.section-light.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--navy-950); color: var(--white); }

/* ============ PARA QUE USAR ============ */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.usecase-card {
    background: var(--white);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    box-shadow: var(--shadow-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.usecase-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11, 31, 53, 0.14); }
.usecase-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--grad-brand);
    color: #06250F;
    margin-bottom: 16px;
}
.usecase-icon .icon { width: 24px; height: 24px; }
.usecase-card h3 { font-size: 1.12rem; font-weight: 700; }
.usecase-card p { font-size: 0.94rem; color: var(--ink-muted); margin: 0; }

.section-cta { text-align: center; margin-top: 44px; }

/* ============ COMO FUNCIONA ============ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: passo;
}
.step-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    box-shadow: var(--shadow-light);
}
.step-num {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy-950);
    color: var(--lime);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 14px;
}
.step-card h3 { font-size: 1.08rem; font-weight: 700; }
.step-card p { font-size: 0.93rem; color: var(--ink-muted); margin: 0; }

/* ============ POR QUE A MDC ============ */
.why-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 56px;
    align-items: center;
}
.why-list { display: grid; gap: 18px; margin: 0 0 2em; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; }
.why-list .icon {
    color: var(--lime);
    background: rgba(155, 225, 93, 0.12);
    border-radius: 50%;
    padding: 5px;
    width: 1.6em;
    height: 1.6em;
    margin-top: 2px;
}
.why-list strong { display: block; font-size: 1.02rem; }
.why-list span { color: var(--mist); font-size: 0.92rem; }
.why-photo { position: relative; margin: 0; }
.why-photo img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-dark-strong);
    box-shadow: var(--shadow-card);
    width: 100%;
    object-fit: cover;
}
.why-photo figcaption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    background: rgba(5, 15, 29, 0.82);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line-dark-strong);
    color: var(--mist);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.6em 1em;
    border-radius: 100px;
}
.why-photo .icon { color: var(--lime); }

/* ============ QUEM SOMOS ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 56px;
}
.about-copy p { color: var(--ink-muted); font-size: 1.02rem; }
.about-copy strong { color: var(--ink); }
.about-copy a { color: var(--green-deep); font-weight: 600; }
.about-stats {
    display: flex;
    gap: 36px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line-light);
}
.stat { display: grid; gap: 2px; }
.stat-num {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-label { font-size: 0.85rem; color: var(--ink-muted); }
.about-photo { position: relative; margin: 0; }
.about-photo img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    width: 100%;
    object-fit: cover;
}
.about-photo figcaption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(255, 255, 255, 0.93);
    color: var(--ink);
    font-size: 0.85rem;
    padding: 0.6em 1em;
    border-radius: 100px;
    box-shadow: var(--shadow-light);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.mvv-card {
    background: var(--white);
    border: 1px solid var(--line-light);
    border-left: 4px solid var(--green);
    border-radius: var(--radius);
    padding: 24px 22px;
    box-shadow: var(--shadow-light);
}
.mvv-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.mvv-card p { font-size: 0.93rem; color: var(--ink-muted); margin: 0; }

/* ============ DEPOIMENTOS ============ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testimonial-card {
    margin: 0;
    background: var(--white);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    box-shadow: var(--shadow-light);
    display: grid;
    gap: 14px;
    align-content: start;
}
.testimonial-card blockquote {
    margin: 0;
    font-size: 1rem;
    color: var(--ink);
    line-height: 1.55;
}
.testimonial-card figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--ink-muted);
}
.testimonial-card figcaption strong { color: var(--ink); }
.avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #06250F;
    font-weight: 700;
    font-size: 0.9rem;
    flex: none;
}

.photo-strip {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 44px;
}
.photo-strip img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
}

/* ============ FAQ ============ */
.faq-list { display: grid; gap: 12px; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}
.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--ink);
    padding: 18px 22px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--green-deep);
    line-height: 1;
    transition: transform 0.2s;
    flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
    margin: 0;
    padding: 0 22px 20px;
    color: var(--ink-muted);
    font-size: 0.97rem;
}
.faq-item strong { color: var(--ink); }
.faq-item a { color: var(--green-deep); font-weight: 600; }

/* ============ CTA FINAL ============ */
.cta-final { position: relative; overflow: hidden; text-align: center; }
.cta-final .hero-bars { opacity: 0.35; }
.cta-final-inner { position: relative; }
.cta-final .section-sub { margin-left: auto; margin-right: auto; }
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 1.4em;
}
.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-size: 0.85rem;
    color: var(--mist);
    margin: 0;
}
.cta-note .icon { color: var(--green); }

/* ============ FOOTER ============ */
.site-footer {
    background: #030B16;
    border-top: 1px solid var(--line-dark);
    padding: 56px 0 28px;
    color: var(--mist);
    font-size: 0.92rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo { width: 221px; margin-bottom: 14px; }
.footer-brand p { max-width: 320px; }
.footer-brand a { color: var(--lime); text-decoration: none; }
.footer-brand a:hover { text-decoration: underline; }
.footer-social { display: flex; gap: 16px; margin-top: 12px; }
.footer-social a {
    color: var(--mist);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
}
.footer-social a:hover { color: var(--lime); }
.footer-col h4 {
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col li { display: block; }
.footer-col .icon { color: var(--lime); display: inline-block; vertical-align: -0.2em; margin-right: 6px; width: 1em; height: 1em; }
.footer-col a { color: var(--mist); text-decoration: none; display: inline-flex; align-items: center; gap: 0.5em; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
    border-top: 1px solid var(--line-dark);
    padding-top: 22px;
    font-size: 0.82rem;
    color: rgba(185, 204, 223, 0.6);
}
.footer-disclaimer { margin: 0.4em 0 0; }
.footer-credit {
    margin: 0.9em 0 0;
    padding-top: 0.9em;
    border-top: 1px solid var(--line-dark);
    font-size: 0.8rem;
    color: rgba(185, 204, 223, 0.55);
}
.footer-credit a {
    color: var(--mist);
    text-decoration: none;
    font-weight: 600;
}
.footer-credit a:hover { color: var(--lime); text-decoration: underline; }
.footer-credit span { margin: 0 0.15em; opacity: 0.5; }
.footer-legal { margin-top: 16px; }
.footer-legal-title {
    color: var(--lime);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
}


.footer-legal-body {
    /* Sempre visivel: a politica do Google exige que a divulgacao de
       condicoes nao dependa de clique, hover, aba ou modal. */
    display: grid;
    gap: 0.85em;
    max-width: 760px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line-dark);
}
.footer-legal-body p { margin: 0; line-height: 1.65; }
.footer-legal-body strong { color: rgba(255, 255, 255, 0.85); }

/* ============ WHATSAPP FAB + STICKY CTA ============ */
.wa-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--wa);
    color: #04250F;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
    transition: transform 0.18s, bottom 0.25s ease;
}
.wa-fab .icon { width: 30px; height: 30px; }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--wa);
    animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    70%, 100% { transform: scale(1.55); opacity: 0; }
}

.sticky-cta {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 55;
    max-width: calc(100vw - 96px);
    opacity: 0;
    transform: translateY(24px) scale(0.94);
    transition: transform 0.25s ease, opacity 0.25s ease, bottom 0.25s ease;
    pointer-events: none;
}
.sticky-cta.visible { opacity: 1; transform: none; pointer-events: auto; }
.sticky-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
    white-space: nowrap;
    box-shadow: var(--shadow-card), 0 0 0 1px rgba(155, 225, 93, 0.12);
}
.sticky-cta .icon { width: 1.1em; height: 1.1em; }

/* ============ AVISO DE COOKIES ============ */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 70;
    background: var(--navy-900);
    border-top: 1px solid var(--line-dark-strong);
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 32px rgba(2, 10, 22, 0.4);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.cookie-banner p {
    flex: 1 1 320px;
    margin: 0;
    font-size: 0.86rem;
    color: var(--mist);
}
.cookie-banner a { color: var(--lime); font-weight: 600; }
.cookie-banner-inner .btn-primary { flex: none; }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVO ============ */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-copy { max-width: 640px; }
    .usecase-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; gap: 36px; }
    .why-photo { max-width: 480px; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .trustbar-inner span { white-space: normal; }
    .main-nav { display: none; }
    .header-wa span { display: none; }
    .header-wa { padding: 0.7em; }
    .brand-logo { width: 182px; }
    .hero { padding: 40px 0 64px; }
    .section { padding: 64px 0; }
    .sim-card { padding: 20px 16px 16px; }
    .value-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .usecase-grid, .steps-grid, .mvv-grid, .testimonial-grid { grid-template-columns: 1fr; }
    .photo-strip { grid-template-columns: 1fr; }
    .about-stats { gap: 24px; flex-wrap: wrap; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .sticky-cta { left: 14px; bottom: 14px; }
    .sticky-cta .btn-primary span { display: none; }
    .wa-fab { right: 14px; bottom: 14px; }
    .cookie-banner-inner { justify-content: center; text-align: center; }
    .cookie-banner p { flex-basis: 100%; }
    .cookie-banner-inner .btn-primary { flex: 1 1 100%; }
    .cta-buttons .btn-lg { width: 100%; }
}

/* ============================================================
   PÁGINA LEGAL (Privacidade / Termos de Uso)
   ============================================================ */
.legal-page-header {
    padding: 40px 0 36px;
}
.legal-back {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 0.4em;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green-deep);
    text-decoration: none;
    margin-bottom: 1.4em;
}
.legal-back .icon { width: 1em; height: 1em; }
.legal-back:hover { color: var(--ink); }
.legal-page-header h1 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 0.4em;
}
.legal-meta {
    display: flex;
    align-items: center;
    gap: 0.5em;
    flex-wrap: wrap;
    font-size: 0.86rem;
    color: var(--ink-muted);
    margin: 0;
}
.legal-meta .icon { width: 1em; height: 1em; color: var(--green-deep); }

.legal-section { padding-top: 16px; }
.legal-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
    padding-bottom: 90px;
}
.legal-toc {
    position: sticky;
    top: 96px;
}
.legal-toc-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin: 0 0 10px;
}
.legal-toc-list {
    display: grid;
    gap: 2px;
}
.legal-toc-list a {
    display: block;
    font-size: 0.89rem;
    color: var(--ink-muted);
    text-decoration: none;
    padding: 7px 0 7px 14px;
    border-left: 2px solid var(--line-light);
    transition: color 0.15s, border-color 0.15s;
}
.legal-toc-list a:hover { color: var(--ink); border-color: var(--green-deep); }
.legal-toc-list a.is-terms {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line-light);
    border-left-color: var(--line-light);
}

.legal-content { max-width: 700px; }
.legal-content > p:first-child {
    font-size: 1.05rem;
    color: var(--ink);
}
.legal-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin: 2.2em 0 0.6em;
    scroll-margin-top: 96px;
}
.legal-content h2:first-of-type { margin-top: 1.6em; }
.legal-content h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink);
    margin: 1.4em 0 0.5em;
}
.legal-content p, .legal-content li {
    color: var(--ink-muted);
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 0.9em;
}
.legal-content ul, .legal-content ol { padding-left: 1.3em; margin-bottom: 1em; }
.legal-content ol { list-style: decimal; }
.legal-content ol > li::marker { color: var(--green-deep); font-weight: 700; }
.legal-content li { margin-bottom: 0.5em; }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--green-deep); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(26, 127, 55, 0.35); }
.legal-content a:hover { text-decoration-color: currentColor; }
.legal-terms-divider {
    border: none;
    border-top: 1px solid var(--line-light);
    margin: 2.6em 0 0;
}
.legal-contact-card {
    background: var(--white);
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: var(--shadow-light);
    margin-top: 0.5em;
}
.legal-contact-card p { margin: 0; }
.legal-contact-card p + p { margin-top: 0.4em; }

@media (max-width: 900px) {
    .legal-layout { grid-template-columns: 1fr; gap: 28px; }
    .legal-toc { position: static; }
    .legal-toc-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .legal-toc-list a {
        border: 1px solid var(--line-light);
        border-radius: 100px;
        padding: 6px 14px;
    }
    .legal-toc-list a.is-terms { margin-top: 0; padding-top: 6px; border-top: 1px solid var(--line-light); }
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-hero {
    padding: 56px 0 40px;
}
.blog-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 0.4em;
}
.blog-hero .section-sub { margin-bottom: 0; color: var(--ink-muted); }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding-bottom: 90px;
}
.blog-grid .blog-card:first-child {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
}
.blog-grid .blog-card:first-child .blog-card-media { height: 100%; min-height: 280px; }
.blog-grid .blog-card:first-child .blog-card-body { justify-content: center; padding: 32px 36px; }
.blog-grid .blog-card:first-child .blog-card-title { font-size: 1.5rem; }

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11, 31, 53, 0.14); }
.blog-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--paper-alt);
}
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(5, 15, 29, 0.82);
    backdrop-filter: blur(6px);
    color: var(--lime);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4em 0.85em;
    border-radius: 100px;
}
.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 22px 24px;
}
.blog-card-meta {
    font-size: 0.78rem;
    color: var(--ink-muted);
    margin-bottom: 0.6em;
}
.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.35;
    margin-bottom: 0.5em;
}
.blog-card-excerpt {
    font-size: 0.92rem;
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0 0 1em;
    flex: 1;
}
.blog-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green-deep);
}
.blog-card-readmore .icon { width: 1em; height: 1em; transition: transform 0.15s; }
.blog-card:hover .blog-card-readmore .icon { transform: translateX(3px); }

@media (max-width: 900px) {
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .blog-grid .blog-card:first-child { grid-column: span 2; grid-template-columns: 1fr; }
    .blog-grid .blog-card:first-child .blog-card-media { min-height: 220px; }
}
@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-grid .blog-card:first-child { grid-column: span 1; }
}

/* Artigo individual — reaproveita a tipografia de .legal-content */
.article-hero {
    padding: 44px 0 0;
    /* evita que a margem do .article-cover "vaze" pelo colapso de margem
       através da seção (que não tem padding-bottom) e mostre o fundo
       escuro do body entre esta seção e a seguinte */
    display: flow-root;
}
.article-hero .legal-back { margin-bottom: 1.2em; }
.article-hero-tag {
    display: inline-block;
    background: rgba(29, 154, 78, 0.1);
    color: var(--green-deep);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4em 0.9em;
    border-radius: 100px;
    margin-bottom: 1em;
}
.article-hero h1 {
    font-size: clamp(1.8rem, 3.6vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 0.5em;
    max-width: 820px;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 0.6em;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--ink-muted);
    margin-bottom: 2em;
}
.article-cover {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    margin-bottom: 2.4em;
}
.article-body { max-width: 700px; }
.article-table-wrap { overflow-x: auto; margin: 1.6em 0; }
.article-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 0.92rem;
}
.article-table th {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 2px solid var(--line-light);
    color: var(--ink);
    font-family: var(--font-display);
    white-space: nowrap;
}
.article-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line-light);
    color: var(--ink-muted);
}
.article-table tr:last-child td { border-bottom: none; }
.article-body blockquote {
    margin: 1.6em 0;
    padding: 0.2em 0 0.2em 1.2em;
    border-left: 3px solid var(--green);
    font-size: 1.05rem;
    color: var(--ink);
    font-style: italic;
}
.article-cta-box {
    max-width: 700px;
    background: linear-gradient(170deg, var(--navy-800), var(--navy-900));
    border: 1px solid var(--line-dark-strong);
    border-radius: var(--radius-lg);
    padding: 28px 30px;
    margin: 2.4em 0;
    text-align: center;
}
.article-cta-box p {
    color: var(--mist);
    font-size: 1rem;
    margin: 0 0 1em;
}
.article-cta-box strong { color: var(--white); }

.related-articles { padding: 40px 0 90px; border-top: 1px solid var(--line-light); margin-top: 20px; }
.related-articles h2 { font-size: 1.3rem; color: var(--ink); margin-bottom: 1.2em; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

@media (max-width: 720px) {
    .related-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   CONDICOES DE CREDITO (divulgacao obrigatoria — sempre visivel)
   ============================================================ */
.cond-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.cond-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--white);
    border: 1px solid var(--line-light);
    border-left: 4px solid var(--green);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-light);
}
.cond-lbl {
    font-size: 0.82rem;
    color: var(--ink-muted);
    letter-spacing: 0.02em;
}
.cond-item strong {
    font-family: var(--font-display);
    font-size: 1.08rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.cond-pendente { color: #B45309; }

.cond-exemplo {
    background: var(--white);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    box-shadow: var(--shadow-light);
    max-width: 820px;
}
.cond-exemplo h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.6em;
}
.cond-exemplo p {
    color: var(--ink-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 0.8em;
}
.cond-exemplo strong { color: var(--ink); }
.cond-nota {
    font-size: 0.9rem !important;
    padding-top: 0.8em;
    border-top: 1px solid var(--line-light);
    margin: 0 !important;
}

@media (max-width: 720px) {
    .cond-grid { grid-template-columns: 1fr; gap: 12px; }
    .cond-exemplo { padding: 20px 18px; }
}

/* ============ MOVIMENTO REDUZIDO ============ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
