/* =========================================================================
   amilsauderj — styles.css · Redesign 2 (27/10/2026)
   Reprodução do template do portal Porto do mesmo corretor: aviso, cabeçalho, faixa de informações,
   hero com foto + overlay e formulário em cartão branco, seções, tabelas, FAQ, CTA universal, rodapé,
   barra móvel e WhatsApp flutuante. Troca apenas marca, cores e conteúdo.
   Cores: estrutura em índigo profundo derivado da marca (#1B1464 / #24168C); #461BFF (logotipo Amil)
   só como destaque — botão primário, links e checks. Sem fundo chapado #461BFF em áreas grandes.
   Seções:
    01 Tokens · 02 Base · 03 Layout · 04 Botões · 05 Aviso, cabeçalho e faixa de informações · 06 Heros
    07 Navegação por intenção e prova · 08 Formulário · 09 Cards e listas
    10 Ferramentas · 11 Tabelas · 12 Conteúdo · 13 Localidades, rede e prestadores
    14 FAQ, relacionados e CTAs · 15 Rodapé · 16 Barra móvel e WhatsApp · 17 Acessibilidade e impressão
   Breakpoints: 360 · 640 · 768 · 900 · 1024 · 1200 · 1440.
   ========================================================================= */

/* ───────────────────────── 01 Tokens ───────────────────────── */
:root {
  /* marca Amil: #461BFF só como destaque (botão primário, links, checks); estrutura em índigo profundo derivado da marca */
  --primary: #461BFF;
  --primary-2: #3714D6;
  --primary-50: #F0EDFF;
  --primary-100: #DFD8FF;
  --ink: #1B1464;
  --ink-2: #160F55;
  --ink-3: #24168C;
  --on-dark: #DAD8F2;
  --on-dark-2: #ABA8DD;
  /* superfícies e texto */
  --paper: #F6F6FB;
  --paper-2: #EDEDF6;
  --white: #FFFFFF;
  --text: #1D1C33;
  --muted: #55546E;
  --line: #E3E2EE;
  --line-2: #CDCBE0;
  /* estados (sempre com texto) */
  --ok: #17663F;
  --ok-50: #E6F4EC;
  --warn: #7F4E00;
  --warn-50: #FDF3DF;
  --danger: #B42318;
  --danger-50: #FDECEA;
  --wa: #117A43;
  --wa-2: #0C6236;
  --hl: #FFF5D6;
  --focus: #FFB020;
  /* campos (iguais em qualquer contêiner, inclusive sobre o hero escuro) */
  --field-text: #0F0E24;
  --field-placeholder: #6B6A84;
  --field-bg: #FFFFFF;
  --field-ring: rgba(70, 27, 255, .22);

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --fs-h1: clamp(1.7rem, 1.25rem + 2vw, 2.6rem);
  --fs-h2: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  --fs-h3: 1.1rem;
  --fs-small: .84rem;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgba(27, 20, 100, .06), 0 14px 32px -20px rgba(27, 20, 100, .32);
  --shadow-sm: 0 1px 2px rgba(27, 20, 100, .06);
  --gutter: 16px;
  --hdr: 60px;
  --sec-y: 48px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ───────────────────────── 02 Base ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 20px); }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--primary); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
strong, b { font-weight: 650; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
main:focus { outline: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--sans); color: var(--ink); text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: var(--fs-h1); font-weight: 750; line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); font-weight: 750; line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: var(--fs-h3); font-weight: 650; line-height: 1.3; margin-top: 1.4em; }
h4 { font-size: 1rem; font-weight: 650; line-height: 1.3; }
.small, small { font-size: var(--fs-small); }
.muted { color: var(--muted); }
.ico { flex: none; vertical-align: middle; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: 8px; z-index: 200; transform: translateY(-160%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-sm); font-weight: 650; text-decoration: none; transition: transform .15s var(--ease); }
.skip:focus, .skip:focus-visible { transform: translateY(0); color: #fff; }
/* rótulo de seção: caixa-alta com traço, como no Porto */
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.kicker::before, .eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; flex: none; }
.kicker .ico { display: none; }

/* ───────────────────────── 03 Layout ───────────────────────── */
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 920px; margin-inline: 0; }
.band { padding-block: var(--sec-y); }
.band > .wrap > h2 { max-width: 30ch; }
.band-intro { max-width: 64ch; margin-bottom: 26px; color: var(--muted); }
.band--plain { background: var(--paper); }
.band--white, .band--panel { background: var(--white); border-block: 1px solid var(--line); }
.band--soft { background: var(--paper-2); border-block: 1px solid var(--line); }
.band--navy { background: var(--ink); color: var(--on-dark); }
.band--navy h2, .band--navy h3 { color: #fff; }
.band--navy .band-intro { color: var(--on-dark-2); }
.band--navy .kicker { color: #C9C2FF; }
.band--navy a:not(.btn) { color: #fff; }
.band--navy :focus-visible { outline-color: #fff; }
.page-body { padding-block: 36px 8px; }
.page-main { min-width: 0; }
@media (min-width: 768px) {
  :root { --gutter: 28px; --hdr: 68px; --sec-y: 76px; }
  body { font-size: 1.0625rem; }
  .page-body { padding-block: 52px 16px; }
}
@media (min-width: 1024px) { :root { --gutter: 36px; } }
@media (min-width: 1200px) {
  .page-body.has-toc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
  .toc { position: sticky; top: calc(var(--hdr) + 24px); max-height: calc(100vh - var(--hdr) - 48px); overflow-y: auto; }
}

/* ───────────────────────── 04 Botões ───────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 8px; border: 1.5px solid transparent; font-weight: 650; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease); }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-2); color: #fff; }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { background: var(--ink-3); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--primary-50); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-2); color: #fff; }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 1.04rem; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .94rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.link-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; font-size: .95rem; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--primary); line-height: 1.2; }
.link-more:hover { color: var(--primary); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: #fff; color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--danger); border-color: var(--danger); }
.icon-btn[disabled] { opacity: .4; cursor: not-allowed; }

/* ───────────────────────── 05 Aviso, cabeçalho, menu e faixa de informações (template Porto) ───────────────────────── */
.aviso-corretora { background: var(--ink-2); color: #E8E7F7; font-size: .69rem; line-height: 1.35; }
.aviso-corretora p { margin: 0; padding-block: 6px; overflow-wrap: anywhere; }
.aviso-corretora strong { color: #FFD24A; }
@media (min-width: 768px) { .aviso-corretora { font-size: .78rem; } }
html { scroll-padding-top: calc(var(--hdr) + 64px); }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 14px; min-height: var(--hdr); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
/* logo da Amil no lugar da marca textual, com "Corretor autorizado" embaixo em tipo pequeno */
.brand--amil { flex-direction: column; align-items: flex-start; gap: 2px; line-height: 1.05; }
.brand-logo { display: block; height: 28px; width: auto; }
.brand__sub { font-size: .7rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
@media (min-width: 768px) { .brand-logo { height: 32px; } }

.nav { display: none; }
.nav__list { display: flex; list-style: none; gap: 4px; margin: 0; padding: 0; }
.nav__link { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink); font-weight: 600; font-size: .94rem; text-decoration: none; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform .18s var(--ease); }
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.hdr .hdr__cta { display: none; }

.menu-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); background: var(--white); border-radius: var(--r-sm); cursor: pointer; color: var(--ink); font-weight: 650; font-size: .9rem; }
.menu-btn .ico { width: 20px; height: 20px; }
.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: inline-flex; }
.menu { border-top: 1px solid var(--line); background: var(--paper); max-height: calc(100vh - var(--hdr)); overflow-y: auto; padding: 18px 0 22px; }
.menu__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.menu__titulo { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin: 0 0 4px; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a:not(.btn) { display: flex; align-items: center; min-height: 40px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem; line-height: 1.25; }
.menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 2px; }
.menu__cta { display: grid; gap: 8px; margin-top: 20px; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .hdr .hdr__cta { display: inline-flex; }
  .menu-btn, .menu { display: none !important; }
}
@media (max-width: 359px) { .menu-btn { padding: 0 10px; } .menu-btn__txt { display: none; } }

/* faixa de informações: portal · central de vendas · já é cliente (3 colunas no desktop) */
.barra-info { background: var(--white); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .74rem; line-height: 1.4; }
.barra-info__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 14px; padding-block: 8px; }
.barra-info__col { min-width: 0; }
.barra-info p { margin: 0; }
.barra-info__t { color: var(--primary); font-weight: 750; font-size: .7rem; letter-spacing: .02em; line-height: 1.3; margin-bottom: 2px !important; }
.barra-info__col--vendas .barra-info__t, .barra-info__col--cliente .barra-info__t { letter-spacing: .06em; }
.barra-info__k { color: var(--muted); }
.barra-info a { color: var(--ink); font-weight: 750; text-decoration: none; display: inline-flex; align-items: center; min-height: 24px; }
.barra-info a:hover { text-decoration: underline; }
.barra-info__linha { display: block; }
.barra-info__fones { display: flex; flex-direction: column; }
.barra-info__central { font-size: .86rem; white-space: nowrap; }
.barra-info__det { grid-column: 1 / -1; }
.barra-info__det summary { display: block; min-height: 28px; padding-block: 4px; cursor: pointer; list-style: none; margin-bottom: 0 !important; }
.barra-info__det summary::-webkit-details-marker { display: none; }
.barra-info__det summary::after { content: ""; display: inline-block; margin-left: 8px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.barra-info__det[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.barra-info__det .barra-info__txt { margin-top: 4px; }
.barra-info__col--portal, .barra-info__col--cliente .barra-info__txt { display: none; }
@media (min-width: 768px) {
  .barra-info { font-size: .76rem; }
  .barra-info__det { display: none; }
  .barra-info__col--portal, .barra-info__col--cliente .barra-info__txt { display: block; }
  .barra-info__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr) minmax(0, 1.25fr); gap: 0; padding-block: 10px; }
  .barra-info__col--portal { padding-right: 22px; }
  .barra-info__col + .barra-info__col { border-left: 1px solid var(--line); padding-left: 22px; }
  .barra-info__col--vendas { padding-right: 22px; }
  .barra-info__fones { flex-direction: row; flex-wrap: wrap; gap: 0 14px; }
  .barra-info__central { font-size: .9rem; }
}

/* ───────────────────────── 06 Heros (template Porto) ───────────────────────── */
.hero { position: relative; border-bottom: 1px solid var(--line); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; padding: 0; margin: 0 0 16px; font-size: .84rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-2); }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
/* resposta do hero (texto corrido, sem filete lateral) */
.answer { max-width: 62ch; font-size: 1.06rem; line-height: 1.6; color: var(--text); }
.answer p:last-child { margin-bottom: 0; }
.answer strong { color: var(--ink); }
.hero__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.hero__meta { margin: 14px 0 0; font-size: .78rem; color: var(--muted); }

/* hero com foto: overlay índigo, conteúdo à esquerda e formulário em cartão branco à direita */
.hero.hero--u { overflow: hidden; isolation: isolate; padding-block: 0 28px; background: var(--ink); color: #fff; border-bottom: 0; }
.hero--u .hero__foto { display: block; position: relative; height: 180px; margin-bottom: -36px; }
.hero--u .hero__foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero--u .hero__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 20, 100, .10) 0%, rgba(27, 20, 100, .40) 55%, var(--ink) 100%); }
.hero--u .hero__grid { position: relative; display: grid; gap: 18px; align-items: start; grid-template-areas: "main" "side" "extra"; }
.hero__main { grid-area: main; min-width: 0; }
.hero__side { grid-area: side; min-width: 0; }
.hero__extra { grid-area: extra; min-width: 0; }
.hero--u h1 { color: #fff; font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.35rem); line-height: 1.12; max-width: 24ch; margin-bottom: 12px; text-shadow: 0 1px 12px rgba(10, 6, 50, .35); }
.hero--u .answer { color: #F3F2FD; font-size: 1rem; line-height: 1.55; text-shadow: 0 1px 8px rgba(10, 6, 50, .35); }
.hero--u .answer strong, .hero--u .answer a { color: #fff; }
.hero--u .crumbs { margin-bottom: 10px; }
.hero--u .crumbs ol, .hero--u .crumbs a, .hero--u .crumbs span, .hero--u .crumbs [aria-current] { color: #D3D0F3; }
.hero--u .crumbs a:hover { color: #fff; }
.hero__beneficios { list-style: none; display: grid; gap: 6px 20px; margin: 0; padding: 0; font-weight: 600; font-size: .95rem; color: #fff; }
.hero__beneficios li { position: relative; padding-left: 26px; }
.hero__beneficios li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid #A898FF; border-bottom: 2.5px solid #A898FF; transform: rotate(-45deg); }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero--u .hero__meta { color: #C9C6EE; }
.hero--u .hero__meta a { color: #fff; }
.hero--u :focus-visible { outline-color: #FFD25E; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
@media (min-width: 640px) { .hero__beneficios { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .hero--u .hero__side { max-width: 560px; } }
@media (min-width: 768px) {
  .hero.hero--u { padding-block: 30px 34px; }
  .hero--u .hero__foto { position: absolute; inset: 0; z-index: -2; height: auto; margin: 0; }
  .hero--u .hero__foto img { object-position: 50% 25%; }
  /* overlay mais denso sob o texto, mais leve entre o texto e o formulário (médico visível) */
  .hero--u .hero__foto::after { background: linear-gradient(90deg, rgba(22, 15, 85, .93) 0%, rgba(27, 20, 100, .82) 36%, rgba(36, 22, 140, .50) 58%, rgba(36, 22, 140, .55) 76%, rgba(27, 20, 100, .72) 100%); }
  .answer { font-size: 1.12rem; }
  .hero--u .answer { font-size: 1.02rem; }
}
@media (min-width: 1024px) {
  .hero.hero--u .hero__grid { grid-template-columns: minmax(0, 1fr) 420px; grid-template-areas: "main side" "extra side"; grid-template-rows: auto 1fr; gap: 0 48px; align-items: start; }
  .hero--u .hero__main, .hero--u .hero__extra { max-width: 640px; }
  .hero--u .hero__main { align-self: end; padding-top: 10px; }
  .hero--u .hero__extra { padding-top: 16px; }
  .hero--u .hero__side { align-self: center; }
}
@media (min-width: 1440px) { .hero.hero--u .hero__grid { grid-template-columns: minmax(0, 1fr) 440px; gap: 0 72px; } }
/* hero compacto na altura: o formulário inteiro cabe na primeira dobra de 1366×768 */
@media (min-width: 1024px) and (max-height: 800px) {
  .hero.hero--u { padding-block: 20px 24px; }
  .hero--u h1 { font-size: 2.05rem; }
  .hero--u .answer { font-size: .95rem; line-height: 1.5; }
  .hero--u .hero__beneficios { font-size: .9rem; }
  .hero--u .hero__acoes { margin-top: 14px; }
  .lead--hero { padding: 18px 22px; }
  .lead--hero .lead__sub { margin-bottom: 10px; }
  .lead--hero .field { margin-bottom: 8px; }
  .lead--hero textarea { min-height: 52px; }
}

/* hero de documento (páginas editoriais, sem formulário): fundo branco */
.hero--doc { background: var(--white); }
.hero--doc .hero__main { max-width: 820px; padding-block: 22px 34px; }
.hero--doc h1 { max-width: 24ch; margin-bottom: 16px; }
@media (min-width: 768px) { .hero--doc .hero__main { padding-block: 36px 52px; } }

/* faixa-resumo abaixo do hero: ficha do município e preço de entrada */
.sec--resumo { padding-block: 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
.sec--resumo .wrap { display: grid; gap: 16px; }
.hspec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--r); }
.hspec > div { padding: 10px 14px; min-width: 0; border-bottom: 1px solid var(--line); }
.hspec > div:nth-child(odd) { border-right: 1px solid var(--line); }
.hspec > div:nth-last-child(-n+2) { border-bottom: 0; }
.hspec dt { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hspec dd { margin: 2px 0 0; font-weight: 650; color: var(--ink); font-size: .95rem; overflow-wrap: anywhere; }
.hspec--praca { background: var(--ink); border-color: var(--ink); border-top-color: var(--primary); }
.hspec--praca > div { border-color: rgba(255, 255, 255, .12); }
.hspec--praca dt { color: var(--on-dark-2); }
.hspec--praca dd { color: #fff; }
@media (min-width: 640px) {
  .hspec { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hspec > div { border-bottom: 0; border-right: 1px solid var(--line); }
  .hspec--praca > div { border-right-color: rgba(255, 255, 255, .12); }
  .hspec > div:last-child { border-right: 0; }
}
.entrada { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: var(--r); padding: 14px 16px 12px; }
.entrada__t { margin: 0 0 8px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.entrada__grid { display: grid; gap: 10px 32px; margin: 0; }
.entrada__item { min-width: 0; }
.entrada__item dt { font-size: .8rem; font-weight: 700; color: var(--ink); }
.entrada__item dd { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.entrada__v { font-size: 1.6rem; font-weight: 750; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.entrada__u { font-size: .82rem; color: var(--muted); }
.entrada__faixa { flex-basis: 100%; font-size: .84rem; color: var(--text); }
.entrada__na { font-size: .92rem; color: var(--muted); }
.entrada__nota { margin: 10px 0 0; font-size: .76rem; color: var(--muted); }
@media (min-width: 768px) { .entrada__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .entrada__item + .entrada__item { border-left: 1px solid var(--line); padding-left: 32px; } }

/* ───────────────────────── 07 Navegação por intenção e prova ───────────────────────── */
.intent { background: var(--white); border-bottom: 1px solid var(--line); padding-block: 26px 30px; }
.intent-t { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.intent-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
.intent-list li { border-bottom: 1px solid var(--line-2); }
.intent-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t i" "d i"; gap: 2px 16px; align-items: center; min-height: 64px; padding: 12px 4px; color: var(--text); text-decoration: none; }
.intent-name { grid-area: t; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.intent-desc { grid-area: d; font-size: .9rem; color: var(--muted); }
.intent-list .ico { grid-area: i; width: 36px; height: 36px; padding: 9px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease); }
.intent-list a:hover { background: var(--paper); }
.intent-list a:hover .intent-name { text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 2px; }
.intent-list a:hover .ico { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateX(2px); }
@media (min-width: 768px) { .intent-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
@media (min-width: 1100px) { .intent-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line-2); }
.trust-list li { display: flex; flex-direction: column; gap: 4px; padding: 18px 12px 18px 0; min-width: 0; }
.trust-list li:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
.trust-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
.trust-n { font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.trust-list strong { display: block; font-size: .88rem; line-height: 1.35; color: var(--text); font-weight: 600; }
.trust-list small { display: block; font-size: .76rem; color: var(--muted); }
@media (min-width: 768px) {
  .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust-list li { padding: 24px 16px; }
  .trust-list li:first-child { padding-left: 0; }
  .trust-list li + li { border-left: 1px solid var(--line); }
  .trust-list li:nth-child(n+3) { border-top: 0; }
}

/* ───────────────────────── 08 Formulário de cotação (padrão dos portais do corretor) ───────────────────────── */
:where(input:not([type="checkbox"], [type="radio"], [type="range"], [type="hidden"]), select, textarea) { color: var(--field-text); -webkit-text-fill-color: var(--field-text); caret-color: var(--field-text); background-color: var(--field-bg); }
:where(input, textarea)::placeholder { color: var(--field-placeholder); -webkit-text-fill-color: var(--field-placeholder); opacity: 1; }
input:-webkit-autofill, input:-webkit-autofill:hover, textarea:-webkit-autofill, select:-webkit-autofill { -webkit-text-fill-color: var(--field-text); caret-color: var(--field-text); box-shadow: 0 0 0 1000px var(--field-bg) inset; transition: background-color 600000s 0s, color 600000s 0s; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea { display: block; width: 100%; min-height: 48px; padding: 10px 12px; font-size: 16px; border: 1px solid var(--line-2); border-radius: 8px; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
select { appearance: none; -webkit-appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1464' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; }
textarea { min-height: 64px; resize: vertical; font: inherit; font-size: 16px; }
input:hover:not(:focus), select:hover:not(:focus), textarea:hover:not(:focus) { border-color: #9896B4; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--field-ring); }
[aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(180, 35, 24, .14) !important; }
.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label, .tool-controls label, .calc label { display: block; font-weight: 650; font-size: .84rem; color: var(--ink); }
.field__error { margin: 0; color: var(--danger); font-size: .82rem; font-weight: 600; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lead { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); color: var(--text); }
.lead--hero { padding: 20px 18px; border: 0; box-shadow: 0 24px 48px -24px rgba(10, 6, 50, .6); }
.lead__title { margin: 0 0 4px; color: var(--ink); font-size: 1.3rem; font-weight: 750; line-height: 1.2; }
.lead__sub { margin: 0 0 14px; color: var(--muted); font-size: .88rem; }
.lead--hero .field { margin-bottom: 10px; }
.lead--hero .field input { min-height: 44px; padding: 8px 12px; }
.lead__submit { margin-top: 4px; }
.lead__corretora { margin: 10px 0 0; font-size: .76rem; line-height: 1.4; color: var(--muted); text-align: center; }
.lead__corretora a { color: var(--muted); }
.lead__summary { margin-bottom: 14px; padding: 12px 14px; border-radius: 8px; background: var(--danger-50); color: var(--danger); font-size: .88rem; font-weight: 600; }
.lead__summary:focus { outline: 2px solid var(--danger); outline-offset: 2px; }
.lead__status:not(:empty) { margin-top: 14px; padding: 14px; border-radius: 8px; font-size: .9rem; background: var(--primary-50); border: 1px solid var(--primary-100); color: var(--ink); }
.lead__status[data-tone="ok"] { background: var(--ok-50); border-color: #BFDCCC; color: var(--ok); }
.lead__status[data-tone="warn"] { background: var(--warn-50); border-color: #EBD3A6; color: var(--warn); }
.lead__status p { margin: 0; }
.lead__status p + p { margin-top: 6px; }
.lead__status .btn { margin-top: 10px; }
.lead :focus-visible { outline-color: var(--primary); }
@media (min-width: 1024px) { .lead--hero { padding: 24px 26px; } }

/* ───────────────────────── 09 Cards e listas ───────────────────────── */
.profile-grid, .line-grid, .modality-grid, .offer-grid, .cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
/* perfis: lista de opções com traço superior (padrão “opts” do Porto) */
.profile-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--ink); }
.profile-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding: 20px 4px; border-bottom: 1px solid var(--line-2); }
.profile-card h3 { grid-column: 1; margin: 0; font-size: 1.3rem; font-weight: 700; }
.profile-card h3 a { color: var(--ink); text-decoration: none; }
.profile-card h3 a::after { content: ""; position: absolute; inset: 0; }
.profile-card > p { grid-column: 1; margin: 0; color: var(--muted); font-size: .95rem; }
.profile-points { grid-column: 1; list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.profile-points li { padding: 3px 10px; border-radius: var(--r-pill); background: var(--paper-2); font-size: .8rem; font-weight: 600; color: var(--ink); }
.profile-go { grid-column: 2; grid-row: 1 / span 3; align-self: center; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: .9rem; color: var(--ink); }
.profile-go .ico { width: 36px; height: 36px; padding: 9px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.profile-card:hover { background: var(--paper); }
.profile-card:hover h3 a { text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 2px; }
.profile-card:hover .profile-go .ico { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (max-width: 639px) { .profile-go { font-size: 0; gap: 0; } }
@media (min-width: 900px) { .profile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; } .profile-card { grid-template-columns: 1fr; } .profile-go { grid-column: 1; grid-row: auto; margin-top: 10px; } }

/* linhas: índice editorial em colunas */
.line-grid { grid-template-columns: 1fr; gap: 0; }
.line-card { display: flex; flex-direction: column; padding: 22px 0; border-top: 1px solid var(--line-2); }
.line-tag { margin: 0 0 4px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.line-card h3 { margin: 0 0 8px; font-size: 1.6rem; font-weight: 700; }
.line-card > p { color: var(--muted); font-size: .97rem; }
.line-facts { margin: 0 0 18px; display: grid; gap: 0; font-size: .93rem; border-top: 1px solid var(--line); }
.line-facts div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.line-facts dt { color: var(--muted); font-weight: 600; font-size: .84rem; }
.line-facts dd { margin: 0; }
.line-card .btn { margin-top: auto; align-self: flex-start; }
@media (min-width: 900px) {
  .line-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
  .line-card { border-top: 0; padding: 26px 28px 8px; }
  .line-card:first-child { padding-left: 0; }
  .line-card + .line-card { border-left: 1px solid var(--line-2); }
}

.modality-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.modality { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 20px; }
.band--white .modality, .block--panel .modality { background: var(--paper); }
.modality-size { display: inline-block; margin: 0 0 8px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.modality h3 { margin: 0 0 6px; font-size: 1.08rem; }
.modality h3 a { color: var(--ink); }
.modality p { color: var(--muted); font-size: .95rem; }
.modality-table { display: flex; gap: 6px; align-items: center; font-size: .82rem !important; color: var(--ink) !important; font-weight: 650; margin: 0; }
.modality-table .ico { display: none; }

.cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 20px; transition: border-color .15s var(--ease); }
.band--white .card-item, .block--panel .card-item { background: var(--paper); }
.card-item:has(h3 a):hover { border-color: var(--ink); }
.card-item h3 { margin: 0 0 6px; font-size: 1.06rem; }
.card-item h3 a { color: var(--ink); text-decoration: none; }
.card-item h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-item .meta { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.card-item p:last-child { margin-bottom: 0; color: var(--muted); font-size: .95rem; }

/* ofertas (consulta guiada): linha tabular com preço em destaque */
.offer-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); margin-top: 14px; }
.offer { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.offer:first-child { border-color: var(--primary); box-shadow: inset 0 3px 0 var(--primary); }
.offer-line { margin: 0; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); }
.offer-name { margin: 2px 0 8px; font-size: 1.12rem; color: var(--ink); }
.offer-price { margin: 0 0 10px; display: flex; flex-direction: column; }
.offer-price strong { font-size: 1.6rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.offer-price span { font-size: .8rem; color: var(--muted); }
.offer-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 12px; }
.offer-tags li { font-size: .74rem; padding: 2px 8px; border-radius: var(--r-pill); background: var(--paper-2); color: var(--ink); font-weight: 600; }
.offer-actions { margin: auto 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }

/* ───────────────────────── 10 Ferramentas ───────────────────────── */
.tool { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 20px 16px; margin: 20px 0 28px; }
@media (min-width: 768px) { .tool { padding: 28px 30px; } }
.tool-head { margin-bottom: 18px; }
.tool-head h3 { margin: 0 0 4px; font-size: 1.3rem; font-weight: 700; }
.tool-head .kicker { margin-bottom: 8px; }
.tool--guided, .tool--sim { border-top: 3px solid var(--primary); }
.tool--table { border-top: 3px solid var(--ink); }
.guided-steps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.step { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px 14px; margin: 0; min-width: 0; background: var(--paper); }
.step legend { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: .95rem; color: var(--ink); padding: 0 4px; }
.step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font-size: .92rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .12s var(--ease), background-color .12s var(--ease); }
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { border: 2px solid var(--ink); padding: 0 13px; background: var(--primary-50); }
.pill input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.pill input:disabled + span { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.pill-static { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line-2); font-size: .82rem; color: var(--ink); font-weight: 600; }
.vidas-ctl { display: flex; align-items: center; gap: 10px; }
.vidas-ctl input { max-width: 110px; }
.tab30 { margin-top: 10px; }
.hint { margin: 8px 0 0; font-size: .82rem; color: var(--muted); }
.guided-out { margin-top: 20px; }
.guided-summary { margin: 0; padding: 10px 12px; border-left: 3px solid var(--primary); background: var(--primary-50); color: var(--ink); font-size: .92rem; border-radius: 0 6px 6px 0; }
.guided-summary.is-error { background: var(--warn-50); color: var(--warn); border-left-color: var(--warn); }
.sim-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .sim-grid { grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); align-items: start; } }
.sim-opts { display: grid; gap: 12px; margin-bottom: 16px; }
.opt-l { display: block; font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.people { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; margin: 0; background: var(--paper); }
.people legend { font-weight: 650; padding: 0 4px; color: var(--ink); }
.people-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.person { display: flex; align-items: end; gap: 8px; }
.person label { flex: 1; display: grid; gap: 4px; font-size: .82rem; color: var(--muted); font-weight: 600; min-width: 0; }
.sim-out { background: var(--ink); color: var(--on-dark); border-radius: var(--r); padding: 18px; }
.sim-head { margin: 0 0 10px; font-size: .84rem; color: var(--on-dark-2); }
.sim-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sim-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.sim-row:first-child { background: rgba(255, 255, 255, .14); box-shadow: inset 3px 0 0 #fff; }
.sim-name { font-size: .92rem; min-width: 0; overflow-wrap: anywhere; }
.sim-val { color: #fff; font-variant-numeric: tabular-nums; font-size: 1.05rem; white-space: nowrap; }
.sim-val small { font-size: .75rem; opacity: .75; margin-left: 2px; }
.sim-out .btn-secondary { background: #fff; color: var(--ink); }
.sim-out .btn-secondary:hover { background: var(--primary-50); }
.sim-out :focus-visible { outline-color: #fff; }
.sim-error { color: var(--danger); background: var(--danger-50); padding: 12px 14px; border-radius: 8px; margin: 0; }
.tool-controls { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); margin-bottom: 16px; }
.tool-controls label { display: grid; gap: 6px; }
.tool-meta { font-size: .82rem; color: var(--muted); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip-btn { min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: .85rem; font-weight: 600; cursor: pointer; transition: border-color .12s var(--ease), background-color .12s var(--ease); }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.calc label { margin-bottom: 6px; }
.calc input { max-width: 260px; }
.calc-out { font-weight: 650; margin-top: 12px; color: var(--ink); }
.sim-controls, .sim-opts, .opt, .people, .step, fieldset { min-width: 0; min-inline-size: 0; }
.person select { min-width: 0; }

/* ───────────────────────── 11 Tabelas ───────────────────────── */
.table-wrap { position: relative; overflow-x: auto; max-width: 100%; margin: 12px 0 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.table-wrap:focus-visible { outline-offset: 0; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; font-size: .94rem; }
caption { text-align: left; padding: 12px 14px; font-weight: 650; color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); caption-side: top; font-size: .88rem; }
th, td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
thead th { background: #fff; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border-bottom: 2px solid var(--ink); }
tbody tr:last-child > * { border-bottom: 0; }
tbody th, thead th:first-child { text-align: left; }
tbody th { font-weight: 600; background: #fff; color: var(--ink); position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--line); }
thead th:first-child { position: sticky; left: 0; z-index: 2; }
tbody tr:hover td, tbody tr:hover th { background: #F8F7FD; }
td.is-min { color: var(--ink); font-weight: 700; background: var(--primary-50); box-shadow: inset 0 -2px 0 var(--primary); }
tbody tr:hover td.is-min { background: var(--primary-100); }
tr.hl td, tr.hl th { background: var(--hl); }
tr.hl td.is-min { background: #F3E9C6; }
.price-table td { font-size: .98rem; }
.spec-table th, .spec-table td { text-align: left; white-space: normal; }
.spec-table tbody th { width: 36%; color: var(--muted); font-weight: 600; position: static; box-shadow: none; }
.spec-table td { color: var(--ink); font-weight: 600; }
.avail-table td { text-align: left; }
.avail-table td.yes, .compare-table .yes { color: var(--ok); font-weight: 650; }
.avail-table td.no, .compare-table .no { color: var(--muted); }
.compare-table th, .compare-table td { text-align: left; }
.compare-table thead th:not(:first-child) { background: var(--ink); color: #fff; border-bottom-color: var(--ink); }
.compare-table tbody th a { font-weight: 700; color: var(--ink); }
.compare-table td, .compare-table th { white-space: normal; min-width: 120px; }
.table-wrap--compare { border-top: 0; }
.price-note { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--muted); padding: 10px 0 0; margin: 4px 0 16px; line-height: 1.5; border-top: 1px solid var(--line); }
.price-note .ico { color: var(--primary); margin-top: 2px; width: 16px; height: 16px; }
details.tbl { border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin-bottom: 10px; padding: 0 14px; }
details.tbl > summary { cursor: pointer; display: flex; align-items: center; padding: 0 2px; font-weight: 650; color: var(--ink); min-height: 52px; }
details.tbl[open] > summary { border-bottom: 1px solid var(--line); }
details.tbl .table-wrap { border: 0; border-radius: 0; margin-inline: -14px; }

/* ───────────────────────── 12 Conteúdo ───────────────────────── */
.block { margin-bottom: 44px; }
.block > h2 { margin-bottom: 14px; max-width: 32ch; }
.block--panel { padding-top: 26px; border-top: 1px solid var(--ink); }
.block--soft { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 30px); }
.block--product { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); }
.block--region { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); }
.block--plain { padding-top: 26px; border-top: 1px solid var(--line-2); }
.page-main > .block:first-child { padding-top: 0; border-top: 0; }
@media (min-width: 768px) { .block { margin-bottom: 56px; } }
.list { padding-left: 0; margin: 0 0 1em; list-style: none; display: grid; gap: 10px; max-width: 72ch; }
.list li { position: relative; padding-left: 26px; }
.list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 14px; height: 2px; background: var(--primary); }
.steps { counter-reset: st; list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 0; max-width: 820px; }
.steps li { counter-increment: st; position: relative; padding: 4px 0 22px 52px; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .95rem; display: grid; place-items: center; }
.steps li::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--line-2); }
.steps li:last-child::after { display: none; }
.journey { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: j; }
.journey li { position: relative; padding: 0 0 24px 52px; }
.journey li::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--line-2); }
.journey li:last-child::after { display: none; }
.journey-n { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; }
.journey h3 { margin: 4px 0 4px; font-size: 1.05rem; }
.journey p { margin: 0; color: var(--muted); font-size: .97rem; }
.band--navy .journey-n { background: #fff; color: var(--ink); }
.band--navy .journey li::after { background: rgba(255, 255, 255, .22); }
.band--navy .journey p { color: var(--on-dark-2); }
@media (min-width: 900px) {
  .journey { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 24px; }
  .journey li { padding: 52px 0 0; }
  .journey li::after { left: 40px; right: -24px; top: 16px; bottom: auto; width: auto; height: 2px; }
}
.callout { display: block; max-width: 920px; padding: 14px 18px; margin: 16px 0; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--primary); border-radius: var(--r-sm); }
.callout.warn { border-left-color: var(--warn); background: var(--warn-50); }
.callout p:last-child { margin-bottom: 0; }
.split { display: grid; gap: 16px; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.ex-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); margin: 16px 0; }
.example { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--r); padding: 16px; }
.example .ex-title { font-weight: 700; margin: 0; color: var(--ink); }
.example ul { list-style: none; padding: 0; margin: 8px 0; }
.example li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line); padding: 5px 0; font-variant-numeric: tabular-nums; font-size: .92rem; }
.ex-total { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin: 0; padding-top: 8px; font-size: .92rem; }
.ex-total strong { color: var(--ink); font-size: 1.25rem; font-weight: 700; }
.city-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); border-top: 1px solid var(--line-2); }
.city-list li { padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.city-list li:target { outline: 3px solid var(--focus); background: var(--hl); }
.toc { margin-bottom: 28px; }
.toc-box { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.toc-box summary { cursor: pointer; display: flex; align-items: center; min-height: 48px; padding: 0 16px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.toc-box ol { list-style: none; margin: 0; padding: 0 16px 12px; counter-reset: toc; }
.toc-box li { counter-increment: toc; }
.toc-box a { display: flex; gap: 10px; padding: 8px 0; color: var(--text); text-decoration: none; font-size: .9rem; line-height: 1.35; border-top: 1px solid var(--line); }
.toc-box a::before { content: counter(toc, decimal-leading-zero); color: var(--primary); font-weight: 700; font-variant-numeric: tabular-nums; }
.toc-box a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 1200px) {
  .toc-box { border: 0; background: transparent; }
  .toc-box summary { padding: 0 0 8px; min-height: 0; }
  .toc-box ol { padding: 0; }
}

/* ───────────────────────── 13 Localidades, rede e prestadores ───────────────────────── */
.loc-grid { display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--ink); }
.loc-card { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.loc-card h3 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 700; }
.loc-card p { color: var(--muted); font-size: .95rem; }
.loc-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.loc-links a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line-2); font-size: .85rem; text-decoration: none; color: var(--ink); font-weight: 600; }
.loc-links a:hover { border-color: var(--ink); }
.network { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--primary); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); }
.network h3 { margin: 0 0 6px; }
.network-steps { padding-left: 1.2rem; }
.network-steps li { margin-bottom: 6px; }
.network-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }
.prov-group { font-size: 1.08rem; margin: 24px 0 10px; }
.prov-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .prov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prov-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--r); padding: 16px 18px; min-width: 0; }
.prov-name { font-size: 1.06rem; margin: 0 0 4px; overflow-wrap: anywhere; }
.prov-meta { margin: 0 0 10px; font-size: .85rem; color: var(--muted); }
.prov-dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.prov-dl > div { min-width: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.prov-dl dt { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.prov-dl dd { margin: 2px 0 0; font-size: .9rem; overflow-wrap: anywhere; }
.prov-fams { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 5px; }
.prov-fams li { font-size: .74rem; padding: 2px 8px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper); color: var(--muted); }
.prov-fams li.is-sold { background: var(--primary-50); border-color: var(--primary); color: var(--ink); font-weight: 650; }
.prov-src { margin: 10px 0 0; font-size: .74rem; color: var(--muted); overflow-wrap: anywhere; }
.prov-more { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 14px 14px; background: #fff; }
.prov-more > summary { cursor: pointer; font-weight: 650; min-height: 52px; display: flex; align-items: center; color: var(--ink); }
.net-table th[scope="row"] { min-width: 9rem; }
.net-table td { white-space: nowrap; font-size: .85rem; }
.steps-mini { padding-left: 1.2rem; margin: 12px 0 0; }
.steps-mini li { margin-bottom: 4px; overflow-wrap: anywhere; }
.sources { max-width: 920px; padding: 14px 0 0; border-top: 1px solid var(--line-2); font-size: .86rem; color: var(--muted); }
.sources-t { margin: 0 0 6px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.sources ul { margin: 0 0 8px; padding-left: 1.2rem; }
.sources li { margin-bottom: 4px; overflow-wrap: anywhere; }
.compare-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.compare-col h3 { margin-top: 0; font-size: 1.08rem; }
.compare-col--ans { border-top: 3px solid var(--ink); }
.compare-col--contrato { border-top: 3px solid var(--primary); }

/* Resposta rápida (go-live): número em destaque e links por intenção */
.quick-answer { font-size: 1.04rem; line-height: 1.6; margin: 0; max-width: 72ch; padding-left: 16px; border-left: 3px solid var(--primary); }
.quick-answer strong[data-k] { white-space: nowrap; color: var(--ink); font-weight: 700; }
.quick-links { margin: 14px 0 0; font-size: .92rem; line-height: 1.9; }
.quick-links a { font-weight: 600; }

/* ───────────────────────── 14 FAQ, relacionados e CTAs ───────────────────────── */
.faq { display: grid; gap: 8px 48px; margin-bottom: 52px; }
.faq-head h2 { margin-bottom: 8px; }
.faq-intro { color: var(--muted); font-size: .95rem; max-width: 46ch; }
.faq-list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 2px; min-height: 56px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--primary), var(--primary)) center / 16px 2px no-repeat, linear-gradient(var(--primary), var(--primary)) center / 2px 16px no-repeat; transition: background-size .2s var(--ease); }
.faq details[open] summary::after { background-size: 16px 2px, 2px 0; }
.faq summary:hover { color: var(--primary); }
.faq-a { padding: 0 2px 18px; color: var(--muted); max-width: 70ch; }
.faq-a p { margin: 0; }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); } .faq-head { position: sticky; top: calc(var(--hdr) + 24px); align-self: start; } }
.page-main .faq { grid-template-columns: 1fr; }
.related { margin-bottom: 52px; }
.link-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; column-gap: 32px; border-top: 1px solid var(--line-2); }
.link-cards a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t i" "d i"; gap: 2px 14px; align-items: center; height: 100%; padding: 16px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }
.link-cards strong { grid-area: t; font-weight: 650; color: var(--ink); }
.link-cards span { grid-area: d; font-size: .9rem; color: var(--muted); }
.link-cards .ico { grid-area: i; width: 18px; height: 18px; color: var(--primary); transition: transform .15s var(--ease); }
.link-cards a:hover strong { text-decoration: underline; text-decoration-color: var(--primary); }
.link-cards a:hover .ico { transform: translateX(3px); }
@media (min-width: 768px) { .link-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .link-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cta-inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--primary-50); border: 1px solid var(--primary-100); border-left: 3px solid var(--primary); border-radius: var(--r-sm); padding: 16px 18px; margin: 24px 0; }
.cta-inline > .ico { display: none; }
.cta-inline-t { margin: 0; font-weight: 700; color: var(--ink); }
.cta-inline p { margin: 0; }
.cta-inline p + p { color: var(--muted); font-size: .93rem; }
@media (max-width: 599px) { .cta-inline { grid-template-columns: 1fr; } }
/* CTA intermediário (páginas longas) */
.cta-meio { display: grid; gap: 14px; align-items: center; margin: 8px 0 44px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--primary); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.cta-meio p { margin: 0; }
.cta-meio__t { font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.cta-meio__s { color: var(--muted); font-size: .93rem; }
.cta-meio__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.cta-meio__wa { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--wa); font-weight: 650; text-decoration: none; }
.cta-meio__wa:hover { color: var(--wa-2); text-decoration: underline; }
.cta-meio-band { background: var(--paper); padding-top: 28px; }
.cta-meio-band .cta-meio { margin: 0; }
@media (min-width: 768px) { .cta-meio { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 20px 24px; } }

/* CTA universal (antes do rodapé, todas as páginas) */
.cta-universal { padding-block: 40px 48px; background: var(--paper); }
.cta-universal__box { max-width: 1040px; margin-inline: auto; padding: 36px 20px; border-radius: 22px; background: var(--ink); color: #fff; text-align: center; box-shadow: 0 24px 48px -28px rgba(27, 20, 100, .6); }
.cta-universal__t { color: #fff; font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.1rem); line-height: 1.2; margin: 0 auto 10px; letter-spacing: -.01em; max-width: 30ch; }
.cta-universal__s { color: #DCDAF5; font-size: clamp(.98rem, .92rem + .3vw, 1.12rem); line-height: 1.5; margin: 0 auto 10px; max-width: 62ch; }
.cta-universal__corretora { margin: 0 auto 22px; font-size: .86rem; color: #C9C6EE; }
.cta-universal__acoes { display: flex; flex-direction: column; gap: 12px; align-items: stretch; max-width: 420px; margin-inline: auto; }
.cta-universal__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 12px; font-weight: 700; font-size: 1.02rem; text-decoration: none; transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.cta-universal__btn .ico { width: 22px; height: 22px; flex: none; }
.cta-universal__btn--cotar { background: #fff; color: var(--ink); }
.cta-universal__btn--cotar:hover { color: var(--ink); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); transform: translateY(-1px); }
/* verde vivo com texto índigo: contraste AA */
.cta-universal__btn--wa { background: #25D366; color: var(--ink); }
.cta-universal__btn--wa:hover { color: var(--ink); background: #2BE070; transform: translateY(-1px); }
.cta-universal :focus-visible { outline: 3px solid #FFD25E; outline-offset: 3px; }
@media (min-width: 640px) {
  .cta-universal__box { padding: 48px 40px; }
  .cta-universal__acoes { flex-direction: row; justify-content: center; max-width: none; }
  .cta-universal__btn { min-width: 250px; }
}
@media (max-width: 399px) {
  .cta-universal__box { padding-inline: 16px; }
  .cta-universal__btn { padding: 0 14px; gap: 8px; font-size: .98rem; white-space: nowrap; }
}

/* ───────────────────────── 15 Rodapé (template Porto) ───────────────────────── */
.ftr { background: var(--ink-2); color: #C3C1EA; font-size: .9rem; padding-top: 48px; }
.ftr a { color: #ECEBFF; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--primary-100); }
.ftr :focus-visible { outline-color: #fff; }
.ftr p { margin: 0; }
.ftr__top { display: grid; gap: 34px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ftr__marca > p + p { margin-top: 12px; max-width: 42ch; }
/* logo oficial sobre placa branca (sem recolorir: não há versão negativa oficial publicada) */
.ftr__logo a { display: inline-block; padding: 12px 16px; background: #fff; border-radius: var(--r); }
.foot-logo-img { display: block; height: 34px; width: auto; }
.ftr__tipo { font-size: .8rem; color: var(--on-dark-2); }
.foot-ident, .foot-ident strong { color: #fff; }
.ftr__contato { list-style: none; display: grid; gap: 2px; margin: 12px 0 0; padding: 0; }
.ftr__contato a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; overflow-wrap: anywhere; }
.ftr__contato .ico { width: 18px; height: 18px; color: #A898FF; }
.ftr__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
.ftr__titulo { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 8px; }
.ftr__col ul { list-style: none; display: grid; margin: 0; padding: 0; }
.ftr__col a { display: inline-flex; align-items: center; min-height: 36px; }
.ftr__legal { display: grid; gap: 8px; padding-block: 22px 28px; font-size: .78rem; line-height: 1.6; color: #ADABDD; }
.ftr__legal strong { color: #ECEBFF; }
.ftr__legal a { text-decoration: underline; }
@media (min-width: 768px) { .ftr__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ftr__top { grid-template-columns: 320px 1fr; gap: 56px; } }

/* ───────────────────────── 16 Barra móvel e WhatsApp flutuante (template Porto) ───────────────────────── */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 10px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line-2); transition: transform .2s var(--ease); }
.mbar__cta { min-height: 48px; padding: 0 12px; font-size: .96rem; }
/* a coluna da direita fica livre para o botão flutuante de WhatsApp */
.mbar[data-hidden="true"] { transform: translateY(110%); }
body { padding-bottom: 72px; }
@media (min-width: 768px) { .mbar { display: none; } body { padding-bottom: 0; } }

.wa-float { position: fixed; right: var(--gutter); bottom: calc(4px + env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.wa-float > * { pointer-events: auto; }
.wa-float__btn { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #1E9E52; color: #fff; box-shadow: 0 6px 18px rgba(27, 20, 100, .28); text-decoration: none; transition: transform .15s var(--ease), background-color .15s var(--ease); }
.wa-float__btn svg { width: 30px; height: 30px; }
.wa-float__btn:hover { background: #17863F; color: #fff; transform: translateY(-1px); }
.wa-float__btn:focus-visible, .wa-float__msg:focus-visible, .wa-float__fechar:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wa-float__balao { position: relative; display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 18px rgba(27, 20, 100, .16); animation: wa-entra .25s var(--ease) 1 both; }
.wa-float__balao::after { content: ""; position: absolute; right: -6px; top: 50%; width: 10px; height: 10px; background: #fff; border-right: 1px solid var(--line); border-top: 1px solid var(--line); transform: translateY(-50%) rotate(45deg); }
.wa-float__msg { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px 0 14px; color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.wa-float__msg:hover { color: var(--primary); }
.wa-float__fechar { display: grid; place-items: center; width: 32px; height: 32px; margin-right: 4px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.wa-float__fechar svg { width: 14px; height: 14px; }
.wa-float__fechar:hover { background: var(--paper); color: var(--ink); }
.wa-float__balao[hidden], .wa-float[data-oculto="true"] { display: none; }
/* desvio: some enquanto encostaria num campo, botão ou CTA (o WhatsApp segue na faixa de informações) */
.wa-float[data-desvio="true"] { visibility: hidden; pointer-events: none; }
.wa-float[data-desvio="true"] > * { pointer-events: none; }
@keyframes wa-entra { from { opacity: 0; transform: translateX(6px); } to { opacity: 1; transform: none; } }
/* celular: botão no espaço livre da barra móvel; balão acima dele, só no início da página (o JS controla) */
@media (max-width: 767px) { .wa-float__balao { position: absolute; right: 0; bottom: 66px; } .wa-float__balao::after { right: 22px; top: auto; bottom: -6px; transform: rotate(135deg); } }
@media (min-width: 768px) { .wa-float { right: 24px; bottom: 24px; } }
@media (max-width: 359px) { .wa-float__balao { display: none; } }

/* ───────────────────────── 17 Acessibilidade e impressão ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .hdr, .barra-info, .hero__side, .hero__foto, .ftr, .cta-universal, .cta-meio, .cta-inline, .tool-controls, .sim-controls, .toc, .quick, .trust, .mbar, .wa-float, .intent { display: none !important; }
  .hero, .band, .hero--u { background: none !important; color: #000; padding-block: 1rem; }
  .hero--u h1, .hero--u .answer, .hero__beneficios { color: #000; text-shadow: none; }
  body { padding-bottom: 0; }
}
