/* Reinvent V.24 — Convicção
   Camada final de direção de arte. Parte das cores do próprio logo
   (grafite, azul #0899DA e amarelo #FFCC29) e troca a discrição da V.23
   por contraste, hierarquia e chamadas para ação mais firmes.
   As páginas reescritas usam os componentes "rx-"; as demais herdam
   tokens, tipografia, cabeçalho, botões e rodapé desta camada. */

:root {
    --rx-ink: #0b1b2b;
    --rx-ink-2: #12293f;
    --rx-ink-3: #1c3954;
    --rx-paper: #f6f4ef;
    --rx-paper-2: #efece4;
    --rx-white: #ffffff;
    --rx-text: #1a2633;
    --rx-muted: #586674;
    --rx-muted-light: rgba(255, 255, 255, .72);
    --rx-blue: #0899da;
    --rx-blue-deep: #0670a1;
    --rx-yellow: #ffcc29;
    --rx-yellow-hover: #ffd75a;
    --rx-line: rgba(11, 27, 43, .12);
    --rx-line-light: rgba(255, 255, 255, .16);
    --rx-radius: 14px;
    --rx-radius-sm: 10px;
    --rx-shadow: 0 24px 60px rgba(11, 27, 43, .14);
    --rx-font: "Manrope", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --rx-serif: "Instrument Serif", "TeX Gyre Pagella", Georgia, "Times New Roman", serif;

    /* Tokens da V.22/V.23 redirecionados para a nova paleta. */
    --reinvent-navy: var(--rx-ink-2);
    --reinvent-navy-deep: var(--rx-ink);
    --reinvent-blue: var(--rx-blue-deep);
    --reinvent-yellow: var(--rx-yellow);
    --reinvent-gold: #b8891a;
    --reinvent-text: var(--rx-text);
    --reinvent-muted: var(--rx-muted);
    --reinvent-background: var(--rx-paper);
    --reinvent-soft-blue: var(--rx-paper);
    --reinvent-soft-warm: var(--rx-paper);
    --reinvent-border: var(--rx-line);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --primary-header-height: 74px;
    --header-height: var(--primary-header-height);
    --visible-header-height: var(--primary-header-height);
}

/* ---------- Base ---------- */
body { font-family: var(--rx-font); font-size: 16.5px; line-height: 1.62; color: var(--rx-text); background: var(--rx-white); }
h1, h2, h3, h4 { font-family: var(--rx-font); color: var(--rx-ink); }
h1 { font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
h2 { font-weight: 800; letter-spacing: -.03em; line-height: 1.06; }
h3 { font-weight: 700; letter-spacing: -.015em; }
h1 em, h2 em, h3 em,
h1 strong, h2 strong {
    font-family: var(--rx-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.01em;
    color: var(--rx-blue-deep);
}
p { color: var(--rx-muted); }
::selection { background: var(--rx-yellow); color: var(--rx-ink); }
:focus-visible { outline: 3px solid var(--rx-blue); outline-offset: 3px; }
.container { width: min(calc(100% - 48px), 1240px); }

.eyebrow { font-family: var(--rx-font); color: var(--rx-blue-deep); font-size: .74rem; font-weight: 700; letter-spacing: .14em; }
.eyebrow span { background: currentColor; width: 22px; height: 2px; }
.eyebrow--light { color: var(--rx-blue-deep); }
:is(.internal-band-v22, .final-cta--v22, .sales-hero, .sales-final-cta, .sales-support, .cities-hero, .city-hero, .internal-hero-v22) .eyebrow--light { color: var(--rx-yellow); }
.text-link { color: var(--rx-blue-deep); font-weight: 700; }

/* ---------- Botões (legado + novos) ---------- */
.button, .rx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 14px 24px; border-radius: 999px;
    font-family: var(--rx-font); font-size: .98rem; font-weight: 700; letter-spacing: -.005em;
    border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.button:hover, .rx-btn:hover { transform: translateY(-2px); }
.button span[aria-hidden], .rx-btn span[aria-hidden] { transition: transform 160ms ease; }
.button:hover span[aria-hidden], .rx-btn:hover span[aria-hidden] { transform: translateX(3px); }
.button--large { min-height: 56px; padding-inline: 28px; }

.rx-btn--primary, .button--brand { color: var(--rx-ink); background: var(--rx-yellow); box-shadow: 0 10px 26px rgba(255, 204, 41, .28); }
.rx-btn--primary:hover, .button--brand:hover { background: var(--rx-yellow-hover); box-shadow: 0 14px 32px rgba(255, 204, 41, .38); }
.rx-btn--dark, .button--dark { color: #fff; background: var(--rx-ink); }
.rx-btn--dark:hover, .button--dark:hover { background: var(--rx-ink-3); }
.rx-btn--ghost { color: #fff; border-color: rgba(255,255,255,.38); background: transparent; }
.rx-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.rx-btn--outline, .button--outline-dark { color: var(--rx-ink); border-color: rgba(11,27,43,.28); background: transparent; }
.rx-btn--outline:hover, .button--outline-dark:hover { border-color: var(--rx-ink); background: rgba(11,27,43,.03); }
.button--ghost-light { color: var(--rx-ink); border-color: rgba(11,27,43,.28); background: transparent; }
.button--ghost-light:hover { color: var(--rx-ink); border-color: var(--rx-ink); background: rgba(11,27,43,.03); }
:is(.rx-dark, .internal-band-v22, .final-cta--v22, .sales-hero, .sales-final-cta, .sales-support, .cities-hero, .city-hero, .internal-hero-v22) .button--ghost-light { color: #fff; border-color: rgba(255,255,255,.38); }
:is(.rx-dark, .internal-band-v22, .final-cta--v22, .sales-hero, .sales-final-cta, .sales-support, .cities-hero, .city-hero, .internal-hero-v22) .button--ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.06); }

.rx-link { display: inline-flex; gap: 8px; color: var(--rx-blue-deep); font-weight: 800; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.rx-link:hover { color: var(--rx-ink); }

/* ---------- Cabeçalho ---------- */
.site-header--v22 { height: var(--primary-header-height); }
.site-header--v22 .header-main,
.site-header--v22.is-scrolled .header-main {
    height: var(--primary-header-height);
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--rx-line);
}
.site-header--v22.is-scrolled .header-main { box-shadow: 0 10px 30px rgba(11,27,43,.08); }
.site-header--v22 .header-inner { min-height: var(--primary-header-height); }
.site-header--v22 .brand img { width: 150px; height: auto; }
.site-header--v22 .primary-navigation__list a { color: var(--rx-text); font-size: .9rem; font-weight: 600; }
.site-header--v22 .primary-navigation__list a:hover,
.site-header--v22 .primary-navigation__list a[aria-current="page"] { color: var(--rx-ink); }
.site-header--v22 .primary-navigation__list a[aria-current="page"]::after,
.site-header--v22 .primary-navigation__list a::after { background: var(--rx-yellow); height: 3px; }
.site-header--v22 .header-cta { min-height: 44px; padding: 10px 20px; font-size: .9rem; }

/* ---------- Tipos de seção ---------- */
.rx-section { padding: clamp(72px, 8vw, 120px) 0; }
.rx-section--paper { background: var(--rx-paper); }
.rx-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
    color: var(--rx-blue-deep); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.rx-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.rx-eyebrow--light { color: var(--rx-yellow); }
.rx-heading { max-width: 860px; margin-bottom: clamp(36px, 4vw, 56px); }
.rx-heading h2 { margin: 0 0 18px; font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
.rx-heading p { margin: 0; max-width: 680px; font-size: 1.1rem; }
.rx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rx-actions--center { justify-content: center; }
.rx-index { display: block; margin-bottom: 18px; color: var(--rx-blue-deep); font-weight: 800; font-size: .85rem; letter-spacing: .1em; }

/* ---------- Hero (home) ---------- */
.rx-hero {
    position: relative; overflow: hidden;
    padding: calc(var(--visible-header-height) + clamp(48px, 6vw, 88px)) 0 clamp(64px, 7vw, 104px);
    background:
        radial-gradient(900px 500px at 92% -10%, rgba(8,153,218,.32), transparent 60%),
        radial-gradient(700px 420px at -10% 110%, rgba(255,204,41,.10), transparent 60%),
        var(--rx-ink);
    color: #fff;
}
.rx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.rx-hero h1 { margin: 0 0 24px; color: #fff; font-size: clamp(2.7rem, 5.6vw, 5rem); }
.rx-hero h1 em { display: block; color: var(--rx-yellow); }
.rx-hero__lead { max-width: 600px; margin: 0 0 34px; color: var(--rx-muted-light); font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.6; }
.rx-hero__note { margin: 18px 0 0; color: rgba(255,255,255,.55); font-size: .9rem; }
.rx-hero__media { position: relative; }
.rx-hero__media figure { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.rx-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.rx-price-card {
    position: absolute; left: -36px; bottom: 32px; width: min(300px, 82%);
    padding: 22px 22px 18px; border-radius: var(--rx-radius);
    background: #fff; color: var(--rx-ink); box-shadow: var(--rx-shadow);
}
.rx-price-card__title { margin: 0 0 12px; color: var(--rx-muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rx-price-card__row { display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 8px; padding: 10px 0; border-top: 1px solid var(--rx-line); }
.rx-price-card__row span { font-weight: 800; }
.rx-price-card__row small { color: var(--rx-muted); font-size: .78rem; }
.rx-price-card__row strong { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.rx-price-card a { display: inline-flex; gap: 6px; margin-top: 10px; color: var(--rx-blue-deep); font-weight: 800; font-size: .92rem; text-decoration: none; }

/* ---------- Faixa de provas ---------- */
.rx-proof { background: var(--rx-ink-2); color: #fff; border-top: 1px solid var(--rx-line-light); }
.rx-proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.rx-proof article { padding: 30px 26px 32px; border-left: 1px solid var(--rx-line-light); }
.rx-proof article:first-child { border-left: 0; padding-left: 0; }
.rx-proof strong { display: block; margin-bottom: 6px; color: var(--rx-yellow); font-size: 1.12rem; font-weight: 800; }
.rx-proof span { display: block; color: rgba(255,255,255,.7); font-size: .93rem; line-height: 1.5; }

/* ---------- Dor ---------- */
.rx-pain__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rx-pain__grid article { padding: 34px 30px 30px; border: 1px solid var(--rx-line); border-radius: var(--rx-radius); background: #fff; }
.rx-pain__grid h3 { margin: 0 0 10px; font-size: 1.4rem; }
.rx-pain__grid p { margin: 0; }
.rx-pain__close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 34px; padding: 26px 30px; border-radius: var(--rx-radius); background: var(--rx-paper); }
.rx-pain__close p { margin: 0; color: var(--rx-ink); font-size: 1.12rem; }

/* ---------- Escolha ---------- */
.rx-choice__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.rx-choice__card { display: flex; flex-direction: column; padding: clamp(32px, 4vw, 48px); border-radius: 20px; background: #fff; border: 1px solid var(--rx-line); }
.rx-choice__kicker { margin: 0 0 8px; color: var(--rx-blue-deep); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.rx-choice__card h3 { margin: 0 0 14px; font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.rx-choice__card > p { max-width: 460px; }
.rx-choice__price { margin: auto 0 22px; padding-top: 8px; color: var(--rx-ink); font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.rx-choice__price small { color: var(--rx-muted); font-size: .9rem; font-weight: 600; letter-spacing: 0; }
.rx-choice__card .rx-btn { align-self: flex-start; }

/* ---------- Atendimento guiado ---------- */
.rx-guided { padding: clamp(72px, 8vw, 120px) 0; background: var(--rx-white); }
.rx-guided__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.rx-guided__intro { position: sticky; top: calc(var(--visible-header-height) + 32px); max-width: none; margin: 0; }
.rx-guided__intro h2 { margin: 0 0 18px; font-size: clamp(2rem, 3.6vw, 3.1rem); }
.rx-guided__intro > p { font-size: 1.08rem; }
.rx-checks { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 10px; }
.rx-checks li { position: relative; padding-left: 32px; color: var(--rx-ink); font-weight: 600; }
.rx-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--rx-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230b1b2b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.rx-guided .contact-v22__direct { color: var(--rx-muted); }
.rx-guided .contact-v22__direct a { color: var(--rx-blue-deep); font-weight: 800; }
.rx-guided .contact-whatsapp-card { margin: 0; max-width: none; border: 1px solid var(--rx-line); border-radius: 20px; background: var(--rx-paper); box-shadow: none; padding: clamp(24px, 3vw, 40px); }
.rx-guided .contact-whatsapp-tag { color: var(--rx-blue-deep); font-weight: 800; letter-spacing: .12em; }
.rx-guided .contact-whatsapp-head h3 { font-size: 1.6rem; font-weight: 800; }
.contact-wizard-progress__track span { background: var(--rx-blue); }
.rx-guided .contact-wizard-step legend { color: var(--rx-ink); font-weight: 800; letter-spacing: -.02em; }
.rx-guided .contact-choice-grid { gap: 10px; }
.rx-guided .contact-choice-card { padding: 14px 16px; border: 1px solid var(--rx-line); border-radius: var(--rx-radius-sm); background: #fff; transition: border-color 160ms ease, box-shadow 160ms ease; }
.rx-guided .contact-choice-card:hover { border-color: rgba(11,27,43,.35); }
.rx-guided .contact-choice-card:has(input:checked) { border-color: var(--rx-ink); box-shadow: inset 0 0 0 1px var(--rx-ink); }
.rx-guided .contact-choice-card input { accent-color: var(--rx-ink); }
.rx-guided .contact-choice-card strong, .rx-guided .contact-choice-card:has(input:checked) strong { color: var(--rx-ink); font-weight: 700; }
.contact-wizard-next, .contact-whatsapp-submit { border-radius: 999px; background: var(--rx-ink); color: #fff; font-weight: 700; min-height: 50px; padding: 12px 24px; border: 0; }
.contact-whatsapp-submit { background: var(--rx-yellow); color: var(--rx-ink); }
.contact-wizard-back { border-radius: 999px; font-weight: 700; }

/* ---------- Passos ---------- */
.rx-steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: none; }
.rx-steps__list li { position: relative; padding: 0 32px 0 0; }
.rx-steps__list li + li { padding-left: 32px; border-left: 1px solid var(--rx-line); }
.rx-steps__list span { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 50%; background: var(--rx-ink); color: var(--rx-yellow); font-weight: 800; font-size: 1.1rem; }
.rx-steps__list h3 { margin: 0 0 10px; font-size: 1.35rem; }
.rx-steps__list p { margin: 0; }

/* ---------- Regiões ---------- */
.rx-regions__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.rx-regions__head .rx-heading { margin: 0; }
.rx-regions__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rx-region { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; border-radius: var(--rx-radius); background: #fff; border: 1px solid var(--rx-line); text-decoration: none; color: inherit; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.rx-region:hover { transform: translateY(-3px); border-color: var(--rx-ink); box-shadow: var(--rx-shadow); }
.rx-region__state { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--rx-ink); color: var(--rx-yellow); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.rx-region strong { margin-top: 8px; color: var(--rx-ink); font-size: 1.15rem; line-height: 1.25; }
.rx-region__count { color: var(--rx-blue-deep); font-weight: 800; }
.rx-region__names { color: var(--rx-muted); font-size: .9rem; line-height: 1.5; }

/* ---------- Faixas escuras ---------- */
.rx-band { padding: clamp(72px, 8vw, 112px) 0; background: var(--rx-ink); color: #fff; position: relative; overflow: hidden; }
.rx-band::after { content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(8,153,218,.28), transparent 65%); pointer-events: none; }
.rx-band__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.rx-band h2 { margin: 0; color: #fff; font-size: clamp(2rem, 3.8vw, 3.3rem); }
.rx-band h2 em { display: block; color: var(--rx-yellow); }
.rx-band p { margin: 0 0 26px; color: var(--rx-muted-light); font-size: 1.1rem; }

/* Eyebrows sobre fundo escuro mantêm o amarelo. */
.rx-band p.rx-eyebrow, .rx-page-hero p.rx-eyebrow, .rx-hero p.rx-eyebrow { margin: 0 0 18px; color: var(--rx-yellow); font-size: .76rem; }

/* ---------- Fechamento ---------- */
.rx-final { padding: clamp(80px, 9vw, 128px) 0; background: var(--rx-paper); text-align: center; }
.rx-final__inner { max-width: 820px; }
.rx-final h2 { margin: 0 0 18px; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.rx-final h2 em { display: block; }
.rx-final p { margin: 0 auto 32px; max-width: 560px; font-size: 1.12rem; }

/* ---------- Páginas internas (hero escuro comum) ---------- */
.rx-page-hero {
    padding: calc(var(--visible-header-height) + clamp(48px, 6vw, 84px)) 0 clamp(56px, 6vw, 88px);
    background: radial-gradient(800px 440px at 95% -20%, rgba(8,153,218,.30), transparent 60%), var(--rx-ink);
    color: #fff;
}
.rx-page-hero__inner > * { max-width: 940px; }
.rx-page-hero h1 { margin: 0 0 22px; color: #fff; font-size: clamp(2.5rem, 5vw, 4.4rem); }
.rx-page-hero h1 em { display: block; color: var(--rx-yellow); }
.rx-page-hero p { max-width: 680px; margin: 0 0 32px; color: var(--rx-muted-light); font-size: 1.15rem; }
.rx-page-hero .breadcrumb { margin-bottom: 26px; }

.rx-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.rx-split h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.1rem); }
.rx-split__body > p { font-size: 1.08rem; }
.rx-split__body > p:first-child { margin-top: 0; }

.rx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rx-cards--2 { grid-template-columns: repeat(2, 1fr); }
.rx-cards--4 { grid-template-columns: repeat(4, 1fr); }
.rx-card { padding: 30px 28px; border-radius: var(--rx-radius); background: #fff; border: 1px solid var(--rx-line); }
.rx-section--paper .rx-card { border-color: transparent; }
.rx-card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.rx-card p { margin: 0; }
.rx-card .rx-link { margin-top: 18px; }

.rx-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rx-line); }
.rx-list li { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rx-line); }
.rx-list strong { color: var(--rx-ink); font-weight: 800; }
.rx-list span { color: var(--rx-muted); }

/* Tabela comparativa (Escritórios). */
.rx-compare { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: var(--rx-radius); border: 1px solid var(--rx-line); background: #fff; }
.rx-compare th, .rx-compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rx-line); }
.rx-compare tr:last-child td, .rx-compare tr:last-child th { border-bottom: 0; }
.rx-compare thead th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rx-muted); background: var(--rx-paper); }
.rx-compare thead th:last-child { color: var(--rx-ink); background: var(--rx-yellow); }
.rx-compare tbody th { color: var(--rx-ink); font-weight: 800; width: 24%; }
.rx-compare td { color: var(--rx-muted); }
.rx-compare td:last-child { color: var(--rx-ink); font-weight: 700; background: rgba(255,204,41,.08); }

/* FAQ (Ajuda). */
.faq-v22__item { border-color: var(--rx-line); }
.faq-v22__item button { color: var(--rx-ink); font-weight: 700; font-family: var(--rx-font); }

/* ---------- Legado: heros e faixas internas ---------- */
.internal-hero-v22 { padding: calc(var(--visible-header-height) + 64px) 0 64px; background: var(--rx-ink); border-bottom: 0; }
.internal-hero-v22 h1 { color: #fff; }
.internal-hero-v22 p:not(.eyebrow) { color: var(--rx-muted-light); }
.internal-hero-v22 .eyebrow--light { color: var(--rx-blue-deep); }
:is(.internal-band-v22, .final-cta--v22, .sales-hero, .sales-final-cta, .sales-support, .cities-hero, .city-hero, .internal-hero-v22) .eyebrow--light { color: var(--rx-yellow); }
.internal-section-v22--soft { background: var(--rx-paper); }
.internal-band-v22, .final-cta--v22, .sales-final-cta, .city-directory-cta { background: var(--rx-ink); }
.internal-band-v22 h2, .final-cta--v22 h2, .sales-final-cta h2, .city-directory-cta h2 { color: #fff; }
.internal-band-v22 p, .final-cta--v22 p, .sales-final-cta p, .city-directory-cta p { color: var(--rx-muted-light); }

/* Certificados. */
.sales-hero { background: var(--rx-ink); }
.sales-hero-media { opacity: .22; mix-blend-mode: luminosity; }
.sales-hero-overlay { background: linear-gradient(90deg, var(--rx-ink) 30%, rgba(11,27,43,.6)); }
.sales-hero h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 4.3rem); }
.sales-hero h1 em { display: block; color: var(--rx-yellow); }
.sales-hero-copy p { color: var(--rx-muted-light); }
.sales-text-cta { color: #fff; font-weight: 700; }
.sales-trust { background: var(--rx-ink-2); border: 0; }
.sales-trust-grid article span { color: var(--rx-yellow); }
.sales-trust-grid strong { color: #fff; }
.sales-trust-grid small { color: rgba(255,255,255,.66); }
.certificate-price { color: var(--rx-ink); font-weight: 800; }
.certificate-buy-button { border-radius: 999px; background: var(--rx-yellow); color: var(--rx-ink); font-weight: 800; }
.certificate-buy-button:hover { background: var(--rx-yellow-hover); color: var(--rx-ink); }
.certificate-type-badge { background: var(--rx-ink); color: var(--rx-yellow); }
.catalog-accordion { border-radius: var(--rx-radius); }
.catalog-accordion-icon { background: var(--rx-ink); color: var(--rx-yellow); }
.catalog-filter.is-active { background: var(--rx-ink); color: #fff; border-color: var(--rx-ink); }
.model-card--dark, .sales-support { background: var(--rx-ink); }
.support-center { background: var(--rx-yellow); color: var(--rx-ink); }

/* Cidades. */
.cities-hero { background: radial-gradient(800px 440px at 95% -20%, rgba(8,153,218,.30), transparent 60%), var(--rx-ink); }
.cities-hero h1 { color: #fff; }
.cities-hero h1 em { display: block; color: var(--rx-yellow); }
.cities-hero__stats strong { color: var(--rx-yellow); }
.region-card { border-radius: var(--rx-radius); }
.region-card__header span { background: var(--rx-ink); color: var(--rx-yellow); }
.city-link-grid a:hover { border-color: var(--rx-ink); }
.rx-priority { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.rx-priority span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rx-line-light); color: #fff; font-size: .88rem; font-weight: 600; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--rx-ink); }
.site-footer .footer-heading { color: var(--rx-yellow); letter-spacing: .12em; }
.site-footer .footer-links a { color: rgba(255,255,255,.78); }
.site-footer .footer-links a:hover { color: #fff; }
.rx-footer-regions { margin-top: 18px; color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.55; }
.rx-footer-regions strong { color: #fff; font-weight: 700; }
.rx-footer-cta { display: inline-flex; margin-top: 20px; }

/* Botão flutuante do WhatsApp. */
.whatsapp-float { background: #1fba63; box-shadow: 0 16px 36px rgba(11,27,43,.28); }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
    .rx-regions__grid { grid-template-columns: repeat(2, 1fr); }
    .rx-cards--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
    .rx-hero__grid, .rx-band__grid, .rx-guided__grid, .rx-split { grid-template-columns: 1fr; }
    .rx-hero__media { max-width: 560px; }
    .rx-price-card { left: 16px; bottom: 16px; }
    .rx-guided__intro { position: static; }
    .rx-proof__grid { grid-template-columns: repeat(2, 1fr); }
    .rx-proof article { border-left: 0; padding: 22px 0; border-top: 1px solid var(--rx-line-light); }
    .rx-proof article:nth-child(-n+2) { border-top: 0; }
    .rx-proof article:nth-child(even) { padding-left: 20px; }
    .rx-pain__grid, .rx-cards { grid-template-columns: 1fr; }
    .rx-steps__list { grid-template-columns: 1fr; gap: 28px; }
    .rx-steps__list li, .rx-steps__list li + li { padding: 0; border: 0; }
    .rx-choice__grid { grid-template-columns: 1fr; }
    .rx-list li { grid-template-columns: 1fr; gap: 4px; }
    .site-header--v22 .header-cta { min-height: 52px; }
    .rx-compare th, .rx-compare td { padding: 14px; }
}

@media (max-width: 600px) {
    .container { width: min(calc(100% - 32px), 1240px); }
    .rx-hero h1 { font-size: 2.55rem; }
    .rx-hero__media figure { aspect-ratio: 4 / 3.6; }
    .rx-price-card { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -48px; margin-left: 0; }
    .rx-hero__media { padding: 0 12px; }
    .rx-actions .rx-btn, .rx-actions .button { width: 100%; }
    .rx-regions__grid, .rx-cards--2, .rx-cards--4 { grid-template-columns: 1fr; }
    .rx-proof__grid { grid-template-columns: 1fr; }
    .rx-proof article, .rx-proof article:nth-child(even) { padding: 18px 0; border-top: 1px solid var(--rx-line-light); }
    .rx-proof article:first-child { border-top: 0; }
    .rx-pain__close { padding: 22px; }
    .rx-compare thead { display: none; }
    .rx-compare, .rx-compare tbody, .rx-compare tr, .rx-compare th, .rx-compare td { display: block; width: 100%; }
    .rx-compare tr { border-bottom: 1px solid var(--rx-line); }
    .rx-compare tbody th { width: 100%; padding-bottom: 6px; border: 0; }
    .rx-compare td { border: 0; padding-top: 4px; }
    .rx-compare td::before { content: attr(data-label); display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rx-muted); font-weight: 700; }
}

/* Grade de cards sem órfão: o último card ocupa o espaço que sobrar. */
@media (min-width: 921px) {
    .rx-cards:not(.rx-cards--2):not(.rx-cards--4) > .rx-card:last-child:nth-child(3n+2) { grid-column: span 2; }
    .rx-cards:not(.rx-cards--2):not(.rx-cards--4) > .rx-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
}

/* Destaques em itálico sobre fundos escuros: amarelo, em linha própria. */
.internal-band-v22 h2 em, .final-cta--v22 h2 em, .sales-final-cta h2 em,
.city-directory-cta h2 em, .city-final-cta h2 em, .cities-hero h1 em {
    display: block; color: var(--rx-yellow);
}

/* Página de cidade: hero escuro, coerente com as demais. */
.city-hero { background: radial-gradient(800px 440px at 95% -20%, rgba(8,153,218,.30), transparent 60%), var(--rx-ink); color: #fff; }
.city-hero__overlay { background: linear-gradient(90deg, rgba(11,27,43,.98) 0%, rgba(11,27,43,.92) 60%, rgba(11,27,43,.75) 100%); }
.city-hero .city-hero__copy h1 { color: #fff; }
.city-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.8rem); }
.city-hero__copy > p:not(.eyebrow), .city-hero__notice { color: var(--rx-muted-light); }
.city-hero .breadcrumb a, .city-hero .breadcrumb li { color: rgba(255,255,255,.7); }
.city-hero__panel { border: 0; box-shadow: var(--rx-shadow); }
.city-hero__panel p:first-child { color: var(--rx-blue-deep); }

/* Diretório de cidades. */
.cities-hero__content > p:not(.eyebrow) { color: var(--rx-muted-light); }
.cities-hero__stats span { color: rgba(255,255,255,.66); }
.cities-hero__stats strong { font-weight: 800; }
.region-card__header span { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.region-card__header h3 { font-weight: 800; }
.region-card__header strong { color: var(--rx-blue-deep); font-weight: 800; }

/* Catálogo: títulos de escolha com peso. */
.choice-card h3, .model-card h3 { font-weight: 800; letter-spacing: -.02em; }
.choice-kicker { color: var(--rx-blue-deep); font-weight: 800; }
.choice-help-mark { background: var(--rx-yellow); color: var(--rx-ink); }

.city-hero .city-hero__panel { background: #fff; border: 0; }
.city-hero .city-hero__copy p, .city-hero .city-hero__notice { color: var(--rx-muted-light); }
.city-hero .city-hero__copy p.eyebrow { color: var(--rx-yellow); }
.not-found-eyebrow { color: var(--rx-blue-deep); font-weight: 800; }
.city-hero .city-hero__copy > p:not(.eyebrow):not(.city-hero__notice) { color: rgba(255,255,255,.78); }
.rx-section--paper .rx-pain__close { background: #fff; }

/* Faixas de fechamento das páginas de cidades: fundo claro (forçado pela V.23).
   Destaque em azul forte, itálico e em linha própria, com contraste AA. */
.city-directory-cta h2 em, .city-final-cta h2 em { display: block; color: var(--rx-blue-deep) !important; }
.city-directory-cta .eyebrow--light, .city-final-cta .eyebrow--light { color: var(--rx-blue-deep) !important; }
