/* ============================================================
   Ramos Crédito Condominial — Design System
   Identidade premium: azul-marinho + dourado fosco.
   Tipografia corporativa: Manrope (títulos e textos).
   ============================================================ */

:root {
    /* Cores da marca */
    --color-navy: #0F2D52;
    --color-navy-900: #0A2140;
    --color-navy-800: #123156;
    --color-navy-700: #163A66;
    --color-blue: #1D4E89;
    --color-gold: #C79A38;        /* dourado fosco (mockup) */
    --color-gold-2: #E3C77A;      /* dourado claro p/ dark bg */
    --color-gold-soft: #F3E7C6;
    --color-white: #FFFFFF;
    --color-gray-50: #F7F8FA;
    --color-gray-100: #EEF1F5;
    --color-gray-200: #E2E7EE;
    --color-graphite: #374151;
    --color-muted: #6B7280;

    /* Texto sobre navy */
    --on-navy: #C7D4E6;
    --on-navy-soft: #94A6C0;

    /* Semânticos */
    --ink: var(--color-navy);
    --text: var(--color-graphite);
    --bg: var(--color-white);
    --border: var(--color-gray-200);
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;

    /* Tipografia — Manrope como família única do site (corporativa, sólida, altamente legível) */
    --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    /* Layout */
    --container: 1280px;
    --gutter: clamp(20px, 5vw, 40px);
    --section-gap: clamp(84px, 10vw, 144px);
    --radius: 20px;
    --radius-card: 24px;
    --radius-sm: 12px;
    --header-h: 72px;

    /* Efeitos */
    --shadow-sm: 0 1px 2px rgba(15, 45, 82, .04), 0 2px 8px rgba(15, 45, 82, .05);
    --shadow-md: 0 10px 30px rgba(15, 45, 82, .08);
    --shadow-lg: 0 24px 60px rgba(15, 45, 82, .16);
    --shadow-gold: 0 12px 28px rgba(199, 154, 56, .28);
    --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

@media (min-width: 1024px) {
    :root { --header-h: 84px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;   /* trava a rolagem lateral no elemento raiz (mobile) */
}

body {
    margin: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;   /* trava scroll horizontal acidental em telas estreitas */
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Nenhum elemento pode ultrapassar a largura da tela (defesa anti-scroll lateral). */
img, svg, video, iframe, table { max-width: 100%; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--color-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-navy); }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.18;
    font-weight: 700;   /* Manrope 700 — H1/H2 */
    margin: 0 0 .5em;
    letter-spacing: -.01em;
}
h3, h4 { font-weight: 600; }   /* Manrope 600 — H3/H4 */

p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

:target { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: var(--section-gap); }
.section--tint { background: var(--color-gray-50); }

/* Breadcrumb das landing pages locais (expansão SEO). */
.breadcrumb { border-bottom: 1px solid var(--border); background: #fff; }
.breadcrumb .container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    padding-block: 14px; font-size: .82rem; color: var(--color-muted); }
.breadcrumb a { color: var(--color-blue); }
.breadcrumb a:hover { color: var(--color-navy); }
.breadcrumb [aria-current="page"] { color: var(--color-navy); font-weight: 600; }
a.capital:hover { border-color: var(--color-gold); color: var(--color-navy); }

/* Mapa do site (HTML). */
.sitemap-cols { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: 1fr; }
@media (min-width: 720px) { .sitemap-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sitemap-cols { grid-template-columns: repeat(3, 1fr); } }
.sitemap-group h2 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 14px; }
.sitemap-list { display: grid; gap: 9px; }
.sitemap-list a { color: var(--color-navy); font-size: .95rem; }
.sitemap-list a:hover { color: var(--color-gold); }

/* Bloco de detalhamento por finalidade (landing pages locais). */
.lp-detalhe { max-width: 820px; margin: clamp(28px, 4vw, 44px) auto 0; }
.lp-detalhe__titulo { font-size: 1.15rem; margin: 26px 0 6px; }
.lp-detalhe__titulo:first-child { margin-top: 0; }
.lp-detalhe__texto { color: var(--color-muted); margin: 0; }

/* Refino de leitura/responsividade — ESCOPO EXCLUSIVO da página de Rondonópolis.
   Não afeta Cuiabá, Brasília, Home ou qualquer outra página. */
.lp-page--rondonopolis-mt h1,
.lp-page--rondonopolis-mt h2,
.lp-page--rondonopolis-mt h3 {
    text-wrap: balance;          /* evita palavra órfã isolada na última linha do título */
    overflow-wrap: break-word;   /* impede que palavras longas estourem em telas pequenas */
}
.lp-page--rondonopolis-mt p {
    text-wrap: pretty;           /* melhora a última linha dos parágrafos */
    overflow-wrap: break-word;
}

/* ---------- Alinhamento de textos ----------
   Parágrafos de leitura justificados; textos de card centralizados.
   No smartphone, textos longos voltam a alinhar à esquerda (evita "rios"). */
.faq__a-inner,
.expert__bio,
.lp-detalhe__texto,
.lp-prose p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}
@media (max-width: 560px) {
    .faq__a-inner,
    .expert__bio,
    .lp-detalhe__texto,
    .lp-prose p {
        text-align: left;
        hyphens: manual;
        -webkit-hyphens: manual;
    }
}
.section--navy {
    background:
        radial-gradient(900px 480px at 82% -6%, rgba(29, 78, 137, .28), transparent 60%),
        linear-gradient(180deg, var(--color-navy), var(--color-navy-900));
    color: var(--on-navy);
}
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.section__head { max-width: 740px; margin: 0 auto clamp(44px, 6vw, 76px); text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__head .section__title { margin-bottom: .34em; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .76rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--color-gold); }
.section__head:not(.section__head--left) .eyebrow { }
.section__head .eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--color-gold); }
.section__head--left .eyebrow::before,
.section__head--left .eyebrow::after { display: none; }
.section__head--left .eyebrow::before { display: inline-block; }

.section__title { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
.section__lead { font-size: clamp(1.05rem, 2vw, 1.18rem); color: var(--color-muted); }
.section--navy .section__lead { color: var(--on-navy); }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 45, 82, .14); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 22px; height: 22px; }

.btn--gold { background: var(--color-gold); color: var(--color-navy-900); box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: #d6a840; color: var(--color-navy-900); box-shadow: 0 16px 34px rgba(199, 154, 56, .38); }

.btn--primary { background: var(--color-navy); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--color-navy-900); color: #fff; box-shadow: var(--shadow-lg); }

.btn--whatsapp { background: var(--whatsapp); color: #073d2f; }
.btn--whatsapp:hover { background: var(--whatsapp-dark); color: #fff; }

.btn--ghost { background: transparent; color: var(--color-navy); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--color-navy); color: var(--color-navy); }

/* Outline claro para uso sobre fundo navy */
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; }

.btn--block { width: 100%; }
.btn--lg { padding: 17px 36px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    z-index: 100;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid transparent;
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, .78);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 16px; }

.brand { display: inline-flex; align-items: center; color: var(--color-navy); }
.brand__logo { height: 46px; width: auto; display: block; }
.brand__logo--footer { height: 48px; }
@media (max-width: 480px) { .brand__logo { height: 38px; } }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 9px 13px; border-radius: 10px;
    color: var(--color-graphite); font-weight: 500; font-size: .92rem;
}
.nav__link .icon { width: 15px; height: 15px; opacity: .7; }
.nav__link:hover { color: var(--color-navy); background: var(--color-gray-100); }
.header__cta { margin-left: 10px; }
.header__cta .btn { padding: 12px 22px; font-size: .92rem; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--border); border-radius: 12px;
    background: #fff; cursor: pointer;
    padding: 0; place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 20px; height: 2px; background: var(--color-navy);
    position: relative; transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Header responsivo ---------- */
@media (max-width: 1023px) {
    .nav-toggle { display: grid; }
    .nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 16px var(--gutter) 24px;
        background: rgba(255, 255, 255, .98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    }
    .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav__link { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--color-gray-100); }
    .header__cta { margin: 12px 0 0; }
    .header__cta .btn { width: 100%; padding: 15px 22px; }
}

/* ---------- Main offset ---------- */
main { padding-top: var(--header-h); }

/* ============================================================
   HERO — navy premium
   ============================================================ */
.hero {
    position: relative;
    color: var(--on-navy);
    background:
        radial-gradient(1100px 620px at 88% -8%, rgba(29, 78, 137, .40), transparent 62%),
        radial-gradient(700px 500px at 8% 110%, rgba(199, 154, 56, .10), transparent 60%),
        linear-gradient(180deg, var(--color-navy), var(--color-navy-900));
    overflow: hidden;
}
.hero::before {
    /* arcos dourados decorativos */
    content: "";
    position: absolute; right: -160px; top: -120px;
    width: 520px; height: 520px; border-radius: 50%;
    border: 1.5px solid rgba(199, 154, 56, .22);
    box-shadow: 0 0 0 40px rgba(199, 154, 56, .05);
    pointer-events: none;
}
.hero__grid {
    display: grid; gap: clamp(36px, 6vw, 56px); align-items: center;
    padding-block: clamp(48px, 8vw, 92px);
    position: relative; z-index: 1;
}
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; margin-bottom: 22px;
    background: rgba(199, 154, 56, .10);
    border: 1px solid rgba(199, 154, 56, .32);
    border-radius: 999px;
    color: var(--color-gold-2);
    font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.hero__eyebrow .icon { width: 16px; height: 16px; }
.hero__sub {
    display: block; margin-bottom: 20px;
    color: var(--on-navy-soft);
    font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.hero__title {
    color: #fff;
    font-size: clamp(2rem, 5.2vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 18px;
    max-width: 15ch;
}
.hero__title em { color: var(--color-gold-2); font-style: normal; display: block; }
.hero__question {
    color: #fff;
    font-size: clamp(1.1rem, 2.1vw, 1.3rem);
    font-weight: 600;
    line-height: 1.4;
    max-width: 30ch;
    margin-bottom: 14px;
}
.hero__text {
    font-size: clamp(1.04rem, 2vw, 1.16rem);
    color: var(--on-navy);
    font-weight: 400;
    line-height: 1.6;
    max-width: 46ch; margin-bottom: 16px;
}
.hero__complement {
    font-size: .95rem;
    color: var(--on-navy-soft);
    line-height: 1.6;
    max-width: 52ch;
    margin-bottom: 30px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__safety {
    margin: 22px 0 0;
    font-size: .82rem;
    line-height: 1.55;
    color: var(--on-navy-soft);
    max-width: 52ch;
}

.hero__media { position: relative; }
.hero__photo {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-card);
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 50% 100%, rgba(199, 154, 56, .12), transparent 60%),
        linear-gradient(180deg, #FFFFFF, #EEF2F7);
    box-shadow: var(--shadow-lg);
    display: grid; place-items: center;
    isolation: isolate;
}
.hero__photo::before {
    /* moldura dourada discreta */
    content: ""; position: absolute; inset: 0; border-radius: var(--radius-card);
    border: 1px solid rgba(199, 154, 56, .45); z-index: 2; pointer-events: none;
}
.hero__photo-img {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%;
}
.hero__badge-float {
    position: absolute; left: -6px; bottom: 26px; z-index: 3;
    display: flex; align-items: center; gap: 12px;
    background: #fff; border-radius: 16px; padding: 14px 18px;
    box-shadow: var(--shadow-lg);
}
.hero__badge-float .icon { width: 30px; height: 30px; color: var(--color-gold); }
.hero__badge-float strong { display: block; color: var(--color-navy); font-size: 1.45rem; font-family: var(--font-head); font-weight: 800; line-height: 1; }
.hero__badge-float span { font-size: .76rem; color: var(--color-muted); }

@media (min-width: 1024px) {
    .hero__grid { grid-template-columns: 1.08fr .92fr; }
}

/* ---------- Barra de autoridade (sobre o navy do hero) ---------- */
.authority {
    background: var(--color-navy-900);
    border-top: 1px solid rgba(255, 255, 255, .08);
    position: relative; z-index: 1;
}
.authority__grid {
    display: grid; grid-template-columns: 1fr;
}
.authority__item {
    padding: 22px clamp(16px, 3vw, 26px);
    display: flex; align-items: center; gap: 14px;
    font-weight: 600; color: #EAF0F8; font-size: .96rem;
}
.authority__item + .authority__item { border-top: 1px solid rgba(255, 255, 255, .08); }
.authority__item .icon { width: 33px; height: 33px; color: var(--color-gold); flex: none; }
@media (min-width: 640px) {
    .authority__grid { grid-template-columns: repeat(2, 1fr); }
    .authority__item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .08); }
    .authority__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
    .authority__item + .authority__item { border-top: none; }
    .authority__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
}
@media (min-width: 1024px) {
    .authority__grid { grid-template-columns: repeat(4, 1fr); }
    .authority__item { border-top: none !important; }
    .authority__item + .authority__item { border-left: 1px solid rgba(255, 255, 255, .08); border-right: none; }
    .authority__item:nth-child(odd) { border-right: none; }
}

/* ============================================================
   SOLUÇÕES
   ============================================================ */
.solutions__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) { .solutions__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .solutions__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .solutions__grid { grid-template-columns: repeat(6, 1fr); } }

.card {
    display: flex; flex-direction: column; text-align: center; align-items: center;
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-card); padding: 30px 20px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(199, 154, 56, .5); }
.card__icon {
    width: 60px; height: 60px; border-radius: 16px; margin-bottom: 18px;
    display: grid; place-items: center;
    background: linear-gradient(150deg, rgba(199, 154, 56, .16), rgba(199, 154, 56, .06));
    color: var(--color-gold);
    box-shadow: inset 0 0 0 1px rgba(199, 154, 56, .22);
}
.card__icon .icon { width: 31px; height: 31px; }
.card__title { font-size: 1.06rem; margin-bottom: 8px; line-height: 1.25; }
.card__text { color: var(--color-muted); font-size: .9rem; margin: 0; }

/* 3 e 6 colunas ficam mais compactos: descrição pode ser oculta no layout 6-up */
@media (min-width: 1180px) {
    .card { padding: 28px 16px; }
    .card__title { font-size: 1.0rem; }
}

/* ============================================================
   FEATURES (Por que escolher / Quem pode contratar)
   ============================================================ */
.features__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features__grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-card); padding: 26px 24px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(199, 154, 56, .5); }
.feature__icon {
    width: 52px; height: 52px; flex: none; border-radius: 14px;
    display: grid; place-items: center;
    background: linear-gradient(150deg, rgba(199, 154, 56, .16), rgba(199, 154, 56, .06));
    color: var(--color-gold);
    box-shadow: inset 0 0 0 1px rgba(199, 154, 56, .22);
}
.feature__icon .icon { width: 29px; height: 29px; }
.feature__title { font-size: 1.12rem; margin-bottom: 6px; }
.feature__text { color: var(--color-muted); font-size: .94rem; margin: 0; }

/* ============================================================
   PROJETOS (Para quais projetos o crédito pode ser usado)
   ============================================================ */
.projetos__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 620px) { .projetos__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .projetos__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1120px) { .projetos__grid { grid-template-columns: repeat(7, 1fr); } }
.projeto {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 22px 12px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.projeto:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(199, 154, 56, .5); }
.projeto__icon {
    width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(150deg, rgba(15, 45, 82, .06), rgba(29, 78, 137, .10)); color: var(--color-navy);
}
.projeto__icon .icon { width: 26px; height: 26px; }
.projeto__title { font-size: .92rem; margin: 0; line-height: 1.3; color: var(--color-navy); }
.projetos__nota {
    max-width: 620px; margin: 0 auto 22px;
    font-size: .92rem; line-height: 1.55; color: var(--color-muted);
}
.publico__fecho {
    max-width: 720px; margin: 0 auto 22px;
    font-size: .92rem; line-height: 1.55; color: var(--color-muted);
}

/* ============================================================
   JORNADA (linha do tempo — da necessidade à execução)
   ============================================================ */
.jornada { max-width: 760px; margin: 0 auto; position: relative; }
.jornada__step { position: relative; display: flex; gap: 22px; padding-bottom: 30px; }
.jornada__step:last-child { padding-bottom: 0; }
.jornada__step:not(:last-child)::before {
    content: ""; position: absolute; left: 24px; top: 50px; bottom: -2px; width: 2px;
    background: linear-gradient(180deg, var(--color-gold), rgba(15, 45, 82, .15));
    transform: translateX(-1px);
}
.jornada__num {
    position: relative; z-index: 1; flex: none;
    width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center;
    font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
    color: #fff; background: linear-gradient(150deg, var(--color-navy), var(--color-blue));
    box-shadow: 0 6px 16px rgba(15, 45, 82, .2), inset 0 0 0 2px rgba(199, 154, 56, .55);
}
.jornada__content { padding-top: 9px; }
.jornada__title { font-size: 1.15rem; margin-bottom: 4px; }
.jornada__text { color: var(--color-muted); font-size: .95rem; margin: 0; }

/* ============================================================
   MÉTODO PROJETO — timeline horizontal (fundo claro)
   ============================================================ */
.metodo__brand {
    text-align: center; font-family: var(--font-head);
    letter-spacing: .3em; color: var(--color-gold); font-weight: 700;
    font-size: 1.15rem; margin-bottom: 8px;
    max-width: 100%; overflow-wrap: break-word;
}
/* Em telas bem estreitas, reduz o tracking para o wordmark não estourar a largura. */
@media (max-width: 380px) {
    .metodo__brand { letter-spacing: .16em; font-size: 1.02rem; }
}
.metodo__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 1fr);
    gap: 6px; overflow-x: auto; padding: 6px 2px 20px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.metodo__track::-webkit-scrollbar { height: 6px; }
.metodo__track::-webkit-scrollbar-thumb { background: var(--color-gray-200); border-radius: 999px; }
.step {
    scroll-snap-align: start;
    position: relative;
    text-align: center;
    padding: 8px 10px 0;
}
.step__letter {
    position: relative; z-index: 1;
    width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px;
    display: grid; place-items: center;
    font-family: var(--font-head); font-weight: 800; font-size: 1.6rem;
    color: #fff;
    background: linear-gradient(150deg, var(--color-navy), var(--color-blue));
    box-shadow: 0 8px 20px rgba(15, 45, 82, .22), inset 0 0 0 2px rgba(199, 154, 56, .55);
}
.step::after {
    /* linha conectora entre os círculos */
    content: ""; position: absolute; top: 38px; height: 2px; z-index: 0;
    left: calc(50% + 36px); width: calc(100% - 72px);
    background: linear-gradient(90deg, var(--color-gold), rgba(15, 45, 82, .18));
}
.step:last-child::after { display: none; }
.step__title { font-size: 1.02rem; margin-bottom: 6px; color: var(--color-navy); }
.step__text { color: var(--color-muted); font-size: .86rem; margin: 0; line-height: 1.5; }
@media (min-width: 992px) {
    .metodo__track { grid-auto-columns: 1fr; overflow: visible; }
}
.metodo__nota {
    margin: clamp(26px, 4vw, 44px) auto 0;
    max-width: 760px;
    text-align: center;
    font-size: .84rem;
    line-height: 1.55;
    color: var(--color-muted);
}

/* ============================================================
   QUEM ESTÁ À FRENTE + FORMULÁRIO (navy combinado)
   ============================================================ */
.expert__grid { display: grid; gap: clamp(36px, 5vw, 60px); align-items: stretch; }
@media (min-width: 960px) { .expert__grid { grid-template-columns: 1.05fr .95fr; } }

.expert__head { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; }
.expert__avatar {
    width: 92px; height: 92px; flex: none; border-radius: 20px; overflow: hidden;
    display: grid; place-items: center; position: relative;
    background: linear-gradient(160deg, #FFFFFF, #E6ECF4);
    box-shadow: inset 0 0 0 1px rgba(199, 154, 56, .55), 0 10px 24px rgba(0, 0, 0, .28);
    color: rgba(15, 45, 82, .3);
}
.expert__avatar .icon { width: 46px; height: 46px; }
.expert__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.expert__name { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 6px 0 4px; color: #fff; }
.expert__role { color: var(--color-gold-2); font-weight: 600; font-size: .95rem; }
.expert__bio { color: var(--on-navy); max-width: 40em; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.stat {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: var(--radius-sm); padding: 18px 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.stat:hover {
    transform: translateY(-3px);
    border-color: rgba(199, 154, 56, .45);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}
.stat strong { display: block; font-family: var(--font-head); font-weight: 800; color: var(--color-gold-2); font-size: 1.6rem; line-height: 1; margin-bottom: 6px; }
.stat span { font-size: .8rem; color: var(--on-navy-soft); line-height: 1.35; display: block; }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Formulário / Lead ---------- */
.form-card {
    background: #fff; border-radius: var(--radius-card); padding: clamp(24px, 3.5vw, 38px);
    box-shadow: var(--shadow-lg);
    color: var(--text);
}
.form-card__head { margin-bottom: 22px; }
/* dentro de .section--navy os headings ficam brancos; no card branco força navy */
.form-card h2, .form-card h3, .form-card h4 { color: var(--color-navy); }
.form-card__head h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card__head p { color: var(--color-muted); font-size: .92rem; margin: 0; }

.lead__grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; }
@media (min-width: 900px) { .lead__grid { grid-template-columns: .9fr 1.1fr; } }
.lead__aside .eyebrow { color: var(--color-gold); }
.lead__aside h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: #fff; }
.lead__aside p { color: var(--on-navy); }
.lead__points { margin-top: 26px; display: grid; gap: 14px; }
.lead__points li { display: flex; gap: 12px; align-items: flex-start; color: #DCE4EE; }
.lead__points .icon { width: 22px; height: 22px; color: var(--color-gold); flex: none; margin-top: 2px; }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field__label { font-weight: 600; color: var(--color-navy); font-size: .9rem; }
.field__label .req { color: var(--color-gold); }
.field__input {
    width: 100%; padding: 14px 16px; font: inherit; color: var(--color-graphite);
    background: var(--color-gray-50); border: 1px solid var(--border); border-radius: 12px;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.field__input::placeholder { color: #9AA3AF; }
.field__input:focus {
    outline: none; background: #fff; border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(199, 154, 56, .16);
}
.field__select {
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    padding-right: 44px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
}
.field__select:required:invalid { color: #9AA3AF; }
.field.has-error .field__input { border-color: #D64545; box-shadow: 0 0 0 4px rgba(214, 69, 69, .1); }
.field__error { color: #D64545; font-size: .82rem; min-height: 1em; }
.form__note { font-size: .8rem; color: var(--color-muted); text-align: center; margin: 6px 0 0; line-height: 1.5; }
.form__note .icon { width: 14px; height: 14px; display: inline; vertical-align: -2px; color: var(--color-gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert { border-radius: 12px; padding: 14px 16px; font-size: .92rem; display: none; margin-bottom: 16px; }
.form-alert.is-visible { display: block; }
.form-alert--error { background: #FDECEC; color: #B02A2A; border: 1px solid #F5C2C2; }

/* ============================================================
   ATENDIMENTO NACIONAL
   ============================================================ */
.atendimento__grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
.mapa {
    position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-card);
    background: radial-gradient(circle at 50% 45%, rgba(29, 78, 137, .10), transparent 62%);
    display: grid; place-items: center;
}
.mapa svg { width: 84%; height: 84%; color: var(--color-blue); }
.mapa__pin { fill: var(--color-gold); }
.capitais { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.capital {
    font-size: .82rem; color: var(--color-navy);
    background: #fff; border: 1px solid var(--border); border-radius: 999px;
    padding: 7px 14px; font-weight: 500;
}
.capital--more { background: var(--color-gray-50); color: var(--color-muted); }
.atendimento__nota { margin: 20px 0 0; max-width: 46em; font-size: .9rem; line-height: 1.55; color: var(--color-muted); }
.atendimento__cta { margin-top: 26px; }
@media (min-width: 900px) { .atendimento__grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq__list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; overflow: hidden; transition: border-color var(--transition), box-shadow var(--transition); }
.faq__item.is-open { border-color: rgba(199, 154, 56, .5); box-shadow: var(--shadow-sm); }
.faq__q {
    width: 100%; text-align: left; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 22px; font: inherit; font-weight: 600; color: var(--color-navy);
    background: transparent; border: 0;
}
.faq__q:hover { color: var(--color-gold); }
.faq__icon { width: 22px; height: 22px; flex: none; position: relative; }
.faq__icon::before, .faq__icon::after {
    content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: var(--color-gold); transition: transform var(--transition);
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq__a-inner { padding: 0 22px 22px; color: var(--color-muted); }
.faq__cta-text { max-width: 620px; margin: 0 auto 22px; font-size: .92rem; line-height: 1.55; color: var(--color-muted); }

/* ============================================================
   ARTIGOS RELACIONADOS (páginas por cidade)
   ============================================================ */
.artigos__grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .artigos__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .artigos__grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--color-navy-900); color: var(--on-navy); padding-block: clamp(52px, 7vw, 80px) 26px; }
.footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
.footer__signature { margin: 12px 0 0; color: var(--color-gold-2); font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.footer__brand p { margin-top: 8px; max-width: 34ch; font-size: .92rem; color: var(--on-navy-soft); }
.footer__brand .footer__signature { margin-top: 14px; }
.footer__col h4 { color: #fff; font-family: var(--font-body); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a { color: var(--on-navy); display: block; padding: 6px 0; font-size: .93rem; }
.footer__col a:hover { color: var(--color-gold-2); }
.footer__contact a { display: flex; align-items: center; gap: 10px; }
.footer__contact a span { overflow-wrap: anywhere; min-width: 0; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--color-gold); flex: none; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
    width: 40px; height: 40px; border-radius: 11px; padding: 0;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
    color: var(--on-navy); transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer__social a:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-navy-900); }
.footer__social .icon { width: 20px; height: 20px; }
.footer__bottom {
    margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; align-items: center;
    font-size: .82rem; color: var(--on-navy-soft);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__legal a { color: var(--on-navy-soft); }
.footer__legal a:hover { color: var(--color-gold-2); }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 90;
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--whatsapp); color: #fff;
    display: grid; place-items: center;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn:hover { transform: none; }
}

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-cta { margin-top: clamp(36px, 5vw, 52px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
