/* =====================================================================
   Famílias de template e ferramentas v2
   ===================================================================== */

/* ---------- hero: base ---------- */
.hero { padding-block: 22px 34px; border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; gap: 26px; align-items: start; }
.hero__main, .hero__side { min-width: 0; }
.hero h1 { margin-bottom: 16px; max-width: 22ch; }
.answer { max-width: 62ch; padding-left: 16px; border-left: 3px solid var(--primary); font-size: 1.06rem; line-height: 1.6; color: var(--text); }
.hero__links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 16px; }
.meta-line { margin-top: 18px; font-size: .8rem; color: var(--muted); }
.meta-line a { color: var(--muted); }
.keys { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.keys li { padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); font-size: .82rem; font-weight: 600; color: var(--ink); }

@media (min-width: 768px) {
  .hero { padding-block: 36px 56px; }
  .answer { font-size: 1.15rem; padding-left: 20px; }
}
@media (min-width: 1024px) {
  .hero.has-side .hero__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; }
  .hero--hospital.has-side .hero__grid, .hero--versus.has-side .hero__grid { grid-template-columns: minmax(0, 1fr) 360px; }
  .hero.has-side .hero__main { padding-top: 10px; }
}
@media (min-width: 1440px) { .hero.has-side .hero__grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 88px; } }


.hero--home { padding-block: 24px 30px; background: var(--primary); color: #fff; border-bottom: 0; }
.hero--home h1 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.45rem); max-width: 26ch; margin-bottom: 12px; }
.hero--home .eyebrow { color: #D5E4FB; }
.hero--home .eyebrow::before { background: #9CC0F5; }
.hero--home .answer { color: #EEF4FD; border-left-color: rgba(255, 255, 255, .55); font-size: 1.02rem; }
.hero__beneficios { list-style: none; display: grid; gap: 6px 20px; margin-top: 16px; font-weight: 600; font-size: .95rem; }
.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 #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero--home :focus-visible { outline-color: #FFD25E; }
.lead--hero { padding: 20px 18px; border: 0; box-shadow: 0 24px 48px -24px rgba(0, 20, 60, .55); }
.lead--hero .lead__title { color: var(--ink); font-size: 1.3rem; font-weight: 750; margin-bottom: 4px; }
.lead--hero .lead__sub { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.lead--hero .field { margin-bottom: 10px; }
.lead--hero .field input { min-height: 44px; padding: 8px 12px; }
.field textarea { width: 100%; min-height: 64px; padding: 10px 12px; font: inherit; font-size: 16px; border: 1px solid var(--line-2); border-radius: 8px; resize: vertical; background: var(--field-bg); color: var(--field-text); }
.field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0, 70, 192, .2); }
.lead--hero .lead__submit { justify-content: center; margin-top: 4px; }
@media (min-width: 640px) { .hero__beneficios { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .hero--home { padding-block: 34px 38px; }
  .hero.hero--home .hero__grid { grid-template-columns: minmax(0, 1fr) 460px; gap: 56px; align-items: center; }
  .lead--hero { padding: 24px 26px; }
}
@media (max-width: 1023px) { .lead--hero .field-row--half { grid-template-columns: 1fr; gap: 0; } }

/* produto: faixa de especificação */
.hspec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--r); }
.hspec > div { padding: 10px 14px; border-bottom: 1px solid var(--line); min-width: 0; }
.hspec > div:nth-child(odd) { border-right: 1px solid var(--line); }
.hspec > div:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
.hspec dt { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hspec dd { font-weight: 650; color: var(--ink); font-size: .95rem; }
.hspec .num { font-weight: 700; font-size: 1.4rem; }
@media (min-width: 640px) {
  .hspec { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hspec > div { border-bottom: 0; border-right: 1px solid var(--line); }
  .hspec > div:last-child { grid-column: auto; }
}

/* regional: ficha da praça em superfície escura */
.hero--regional { background: linear-gradient(var(--paper), var(--paper)); }
.hspec--praca { grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--ink); border-color: var(--ink); border-top-color: var(--primary); }
.hspec--praca > div { border-color: rgba(255, 255, 255, .12) !important; }
.hspec--praca > div:last-child { grid-column: auto; border-bottom: 0; }
.hspec--praca > div:nth-child(1), .hspec--praca > div:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.hspec--praca dt { color: #A9BEDD; }
.hspec--praca dd { color: #fff; }
@media (min-width: 640px) { .hspec--praca { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hspec--praca > div:nth-child(1), .hspec--praca > div:nth-child(2) { border-bottom: 0; } }

/* preços: hero mais compacto, foco no número */
.hero--precos { background: var(--white); }

/* comparativo: cabeçalho "A ou B" */
.versus { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; }
.versus span { padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 650; color: var(--ink); background: var(--white); }
.versus span:last-child { background: var(--ink); color: #fff; }
.versus i { font-weight: 700; font-size: 1.3rem; color: var(--primary); }

/* hospital: painel de veredito por categoria */
.verdict { display: grid; gap: 10px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.verdict__k { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.verdict__t { font-weight: 700; font-size: 1.3rem; line-height: 1.2; color: var(--ink); margin-top: -4px; }
.verdict__list { list-style: none; border-top: 1px solid var(--line); }
.verdict__list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 42px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.verdict__n { font-size: .8rem; color: var(--muted); }
.serv { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.serv__i { display: inline-grid; place-items: center; min-width: 46px; height: 34px; padding: 0 8px; border: 1px dashed var(--line-2); border-radius: 6px; font-size: .82rem; font-weight: 700; color: #8A95A2; }
.serv__i.is-on { border: 1px solid var(--ink); background: var(--ink); color: #fff; }

/* artigo e documento */
.hero--artigo, .hero--doc { background: var(--white); }
.hero--artigo h1, .hero--doc h1 { max-width: 24ch; }
.artigo { display: grid; gap: 0 56px; padding-block: 8px 48px; }
.artigo__corpo { min-width: 0; max-width: 780px; }
.artigo__corpo > .sec { padding-block: 34px; border-top: 1px solid var(--line); }
.artigo__corpo > .sec:first-child { border-top: 0; }
.artigo__corpo > .sec--paper, .artigo__corpo > .sec--alt { background: transparent; border-bottom: 0; }
.artigo__corpo > .sec--tight { padding-block: 16px; }
.toc { margin: 18px 0 6px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.toc summary { 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); cursor: pointer; }
.toc ol { list-style: none; padding: 0 16px 12px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 0; color: var(--text); text-decoration: none; font-size: .92rem; border-top: 1px solid var(--line); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 700; color: var(--primary); }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.so-mobile .cta-card { margin-top: 28px; }
@media (min-width: 1024px) {
  .artigo { grid-template-columns: 250px minmax(0, 1fr); padding-block: 40px 72px; }
  .artigo__aside { position: sticky; top: calc(var(--hdr) + 24px); align-self: start; display: grid; gap: 20px; }
  .toc { margin: 0; border: 0; background: transparent; }
  .toc summary { padding: 0 0 8px; min-height: 0; pointer-events: none; }
  .toc ol { padding: 0; }
  .artigo__corpo > .sec:first-child { padding-top: 0; }
}

/* ---------- gráfico: curva de preço por idade ---------- */
.chart { max-width: 820px; padding: 18px 16px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.chart figcaption { display: grid; gap: 2px; margin-bottom: 8px; }
.chart__t { font-weight: 650; color: var(--ink); }
.chart__s { font-size: .8rem; color: var(--muted); }
.chart__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.chart svg { width: 100%; min-width: 540px; height: auto; overflow: visible; }
.ch-grid { stroke: var(--line); stroke-width: 1; }
.ch-base { stroke: var(--line-2); stroke-width: 1; }
.ch-axis { font: 11px var(--sans); fill: var(--muted); }
.ch-x { font: 12px var(--sans); fill: var(--muted); }
.ch-val { font: 600 12px var(--sans); fill: var(--ink); opacity: 0; transition: opacity .12s var(--ease); font-variant-numeric: tabular-nums; }
.ch-bar path { fill: var(--chart); transition: fill .12s var(--ease); }
.ch-hit { fill: transparent; }
.ch-bar.is-label .ch-val, .ch-bar:hover .ch-val, .ch-bar:focus .ch-val { opacity: 1; }
.ch-bar:hover path, .ch-bar:focus path { fill: var(--chart-2); }
.ch-bar:hover .ch-x, .ch-bar:focus .ch-x { fill: var(--ink); font-weight: 700; }
.ch-bar:focus { outline: none; }
.ch-bar:focus-visible .ch-hit { stroke: var(--focus); stroke-width: 2; }
.chart:has(.ch-bar:hover) .ch-bar.is-label:not(:hover) .ch-val { opacity: 0; }

/* ---------- ferramentas: base ---------- */
.sec--tool { background: var(--paper-2); border-block: 1px solid var(--line); }
.tool, .sim { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 16px; box-shadow: var(--shadow-sm); }
.tool__head, .sim__head { margin-bottom: 18px; }
@media (min-width: 768px) { .tool, .sim { padding: 30px 32px; } }
.count { margin: 16px 0 8px; font-weight: 650; color: var(--ink); }
.vazio { margin: 12px 0; padding: 18px; border: 1px dashed var(--line-2); border-radius: var(--r); background: var(--paper); display: grid; gap: 12px; justify-items: start; }
.avisos:not(:empty) { display: grid; gap: 8px; margin-bottom: 12px; }
.avisos p { padding: 10px 12px; border-left: 3px solid var(--primary); background: var(--primary-50); font-size: .88rem; color: var(--text); border-radius: 0 6px 6px 0; }
.amostra { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; padding: 12px 14px; background: var(--blue-50); border-radius: var(--r-sm); font-size: .9rem; }
.amostra .ico { color: var(--blue); margin-top: 2px; }

/* ---------- simulador em etapas ---------- */
.sim__nav { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 18px; }
.sim__nav button { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; min-height: 56px; padding: 8px 4px 8px 0; background: none; border: 0; border-top: 3px solid var(--line); cursor: pointer; text-align: left; font-size: .8rem; font-weight: 650; color: var(--muted); }
.sim__nav span { font-weight: 700; font-size: 1rem; }
.sim__nav button[aria-current="step"] { border-top-color: var(--primary); color: var(--ink); }
.sim__nav button.is-done { border-top-color: var(--ink); color: var(--ink); }
.sim__panel { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.js-sim .sim__panel { display: none; }
.js-sim .sim__panel.is-active { display: block; }
.sim__q { font-weight: 700; font-size: 1.4rem; color: var(--ink); margin-bottom: 14px; padding: 0; }
.sim__q:focus { outline: none; }
.sim__q2 { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.sim__hint { font-size: .86rem; color: var(--muted); margin: 8px 0 4px; }
.sim__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.sim__total { margin-top: 14px; font-weight: 650; color: var(--ink); }
.sim__total output { font-weight: 700; font-size: 1.4rem; font-weight: 400; }
.sim__vazio { color: var(--muted); }

.choices { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box { display: grid; gap: 2px; min-height: 60px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--white); transition: border-color .12s var(--ease), background-color .12s var(--ease); }
.choice__t { font-weight: 650; color: var(--ink); font-size: .95rem; }
.choice__s { font-size: .78rem; color: var(--muted); }
.choice input:checked + .choice__box { border: 2px solid var(--ink); padding: 9px 11px; background: var(--blue-50); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice:hover .choice__box { border-color: var(--ink); }
@media (min-width: 768px) { .choices--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .choices--2 { max-width: 520px; } }

.steppers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.stepper { display: grid; gap: 4px; }
.stepper__l { font-size: .82rem; font-weight: 650; color: var(--ink); }
.stepper__c { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: var(--white); }
.stepper__b { display: grid; place-items: center; height: 46px; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; }
.stepper__b:hover { background: var(--paper-2); }
.stepper__b .ico { width: 16px; height: 16px; }
.stepper input { width: 100%; min-width: 0; height: 46px; border: 0; border-inline: 1px solid var(--line); text-align: center; font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: 3px solid var(--focus); outline-offset: -3px; }
@media (min-width: 768px) { .steppers { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.res { list-style: none; display: grid; gap: 10px; margin-top: 6px; }
.res__g { margin-top: 18px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.res__i { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.res__i--ok { border-left: 3px solid var(--ok); }
.res__i--cot { border-left: 3px solid var(--line-2); background: var(--paper); }
.res__n { font-weight: 650; color: var(--ink); }
.res__n a { color: var(--ink); }
.res__v { font-weight: 700; font-size: 1.5rem; color: var(--ink); text-align: right; }
.res__m { grid-column: 1 / -1; font-size: .84rem; color: var(--muted); }
.res__d { grid-column: 1 / -1; }
.res__d summary { min-height: 40px; display: flex; align-items: center; cursor: pointer; font-size: .86rem; font-weight: 650; color: var(--blue); }
.res__d .table-scroll { margin-top: 6px; }
.res__notes { display: grid; gap: 6px; margin-top: 16px; font-size: .82rem; color: var(--muted); }
.res__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
@media (min-width: 1024px) {
  .sim { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0 40px; }
  .sim__head { grid-column: 1 / -1; }
  .sim__nav { grid-template-columns: 1fr; align-content: start; gap: 4px; position: sticky; top: calc(var(--hdr) + 24px); }
  .sim__nav button { flex-direction: row; align-items: center; gap: 12px; min-height: 52px; border-top: 0; border-left: 3px solid var(--line); padding-left: 14px; font-size: .92rem; }
  .sim__nav button[aria-current="step"] { border-left-color: var(--primary); }
  .sim__nav button.is-done { border-left-color: var(--ink); }
}

/* ---------- comparador ---------- */
.filtros { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.filtros > summary { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px; font-weight: 650; color: var(--ink); cursor: pointer; }
.filtros > summary .ico { width: 18px; height: 18px; }
.filtros__n { margin-left: auto; font-size: .8rem; color: var(--primary); }
.filtros__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; padding: 4px 16px 4px; align-items: end; }
.filtros__form .field { margin-bottom: 12px; }
.filtros__reset { grid-column: 1 / -1; margin-bottom: 14px; }
.filtros__form--rede { padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.filtros__form--rede .field--busca, .filtros__form--rede .check { grid-column: 1 / -1; }
@media (min-width: 768px) { .filtros__form { grid-template-columns: repeat(4, minmax(0, 1fr)); } .filtros__reset { grid-column: auto; } }

.cmps { list-style: none; display: grid; grid-template-columns: 1fr; gap: 12px; }
.cmp { display: grid; gap: 12px; align-content: start; min-width: 0; padding: 18px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.cmp.is-picked { border-color: var(--ink); box-shadow: inset 0 3px 0 var(--primary); }
.cmp__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.cmp__linha { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.cmp__nome { font-weight: 700; font-size: 1.45rem; }
.cmp__nome a { color: var(--ink); text-decoration: none; }
.cmp__nome a:hover { text-decoration: underline; text-decoration-color: var(--primary); }
.cmp__pick { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .84rem; font-weight: 650; cursor: pointer; white-space: nowrap; }
.cmp__pick input { width: 18px; height: 18px; accent-color: var(--ink); }
.cmp__facts { display: grid; gap: 10px; font-size: .9rem; }
.cmp__facts dt { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cmp__area { list-style: none; display: grid; gap: 2px; }
.cmp__area b { color: var(--ink); margin-right: 4px; }
.rtable--mini { font-size: .84rem; }
.rtable--mini th, .rtable--mini td { padding: 8px 10px; white-space: normal; }
.rtable--mini thead th { font-size: .66rem; }
.rtable--mini tr[hidden] { display: none; }
.cmp > .btn { justify-self: start; }
.cmp-side { margin-top: 24px; display: grid; gap: 12px; justify-items: start; }
.cmp-side .table-scroll { width: 100%; }
.cmp-bar { position: sticky; bottom: 80px; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.cmp-bar span { margin-right: auto; font-weight: 650; }
@media (min-width: 768px) { .cmp-bar { bottom: 16px; } }
@media (min-width: 1024px) { .cmps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- explorador de rede ---------- */
.nets { list-style: none; display: grid; gap: 12px; margin-bottom: 12px; }
.net { display: grid; gap: 12px; min-width: 0; padding: 18px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.net__nome { font-weight: 700; font-size: 1.35rem; }
.net__nome a { color: var(--ink); text-decoration: none; }
.net__nome a:hover { text-decoration: underline; text-decoration-color: var(--primary); }
.net__cats { list-style: none; border-top: 1px solid var(--line); }
.net__cats li { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 38px; padding: 4px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.net__cats li.is-focus { background: var(--blue-50); margin-inline: -8px; padding-inline: 8px; }
.net__prod { font-size: .88rem; }
@media (min-width: 640px) { .filtros__form--rede { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .filtros__form--rede { grid-template-columns: 2fr 1fr 1fr 1fr; } .nets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- mapa do site ---------- */
.sitemap-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
.sitemap-group ul { list-style: none; display: grid; border-top: 1px solid var(--line); }
.sitemap-group a { display: flex; align-items: center; min-height: 40px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.sitemap-group a:hover { text-decoration: underline; }
@media (min-width: 640px) { .sitemap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* resumo revisável do simulador */
.resumo { display: grid; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.resumo > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.resumo > div:last-child { border-bottom: 0; }
.resumo dt { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.resumo dd { color: var(--ink); font-weight: 600; font-size: .92rem; }
.resumo__edit { margin-left: 6px; padding: 0 4px; min-height: 32px; border: 0; background: none; color: var(--primary); font: inherit; font-size: .84rem; font-weight: 650; text-decoration: underline; cursor: pointer; }
@media (min-width: 768px) { .resumo > div { grid-template-columns: 160px 1fr; align-items: baseline; } }

/* =====================================================================
   Rodada 04 — hero universal (modelo São Cristóvão em todas as páginas)
   cabeçalho → barra de contexto → hero azul com foto clínica → formulário branco
   ===================================================================== */
.brand { margin-right: auto; }
.brand__logo { display: block; width: auto; height: 30px; }
@media (min-width: 768px) { .brand__logo { height: 36px; } }


.hero.hero--u { position: relative; isolation: isolate; overflow: hidden; padding-block: 0 28px; background: var(--ink); color: #fff; border-bottom: 0; }
.hero--u .hero__foto { display: block; position: relative; height: 210px; margin-bottom: -40px; }
.hero--u .hero__foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 38% 22%; }
.hero--u .hero__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 43, 112, .10) 0%, rgba(0, 43, 112, .35) 55%, var(--ink) 100%); }
.hero--u .hero__grid { position: relative; gap: 22px; align-items: center; }
.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(0, 20, 60, .35); }
.hero--u .eyebrow { color: #D5E4FB; margin-bottom: 10px; }
.hero--u .eyebrow::before { background: #9CC0F5; }
.hero--u .answer { color: #F2F6FD; border-left: 3px solid rgba(255, 255, 255, .55); padding-left: 14px; font-size: 1rem; line-height: 1.55; max-width: 62ch; text-shadow: 0 1px 8px rgba(0, 20, 60, .35); }
.hero--u .answer a { color: #fff; }
.hero--u .crumbs { margin-bottom: 10px; }
.hero--u .crumbs, .hero--u .crumbs a, .hero--u .crumbs span { color: #C9D9F3; }
.hero--u .crumbs a:hover { color: #fff; }
.hero--u .hero__beneficios { color: #fff; }
.hero--u .hero__beneficios li::before { border-color: #9CC0F5; }
.hero--u .hero__meta { margin-top: 14px; font-size: .78rem; color: #BCD0EE; }
.hero--u .hero__meta a { color: #fff; }
.hero--u :focus-visible { outline-color: #FFD25E; }
.hero--u .lead--hero { position: relative; }
.lead--hero .lead__legal { margin-top: 8px; font-size: .72rem; }
@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: 0% 30%; }
  /* sobreposição azul Porto: mais densa sob o texto, mais leve entre o texto e o formulário (médico e paciente visíveis) */
  .hero--u .hero__foto::after { background: linear-gradient(90deg, rgba(0, 35, 95, .90) 0%, rgba(0, 43, 112, .76) 34%, rgba(0, 58, 158, .52) 58%, rgba(0, 70, 192, .55) 76%, rgba(0, 70, 192, .70) 100%); }
}
@media (min-width: 1024px) {
  .hero.hero--u .hero__grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; }
  .hero--u .hero__main { max-width: 640px; }
}
@media (min-width: 1440px) { .hero.hero--u .hero__grid { grid-template-columns: minmax(0, 1fr) 440px; gap: 72px; } }
@media (max-width: 1023px) { .hero--u .hero__side { max-width: 560px; } }
/* hero compacto na altura: 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 { margin-top: 12px; 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; }
}

/* faixa-resumo abaixo do hero */
.sec--resumo { padding-block: 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
.sec--resumo .hspec, .sec--resumo .versus { margin-top: 0; }
.sec--resumo .hspec--praca { background: var(--ink); }
.sec--resumo .versus span:first-child { background: var(--white); }
@media (min-width: 900px) { .sec--resumo .hspec { grid-template-columns: repeat(6, minmax(0, 1fr)); } .sec--resumo .hspec--praca { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.verdict__grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .verdict__grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.verdict__grupo { min-width: 0; }

/* rede: tabelas recolhíveis, grupos de região, citação de página */
.rede-det { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.rede-det > summary { display: flex; align-items: center; min-height: 48px; padding: 0 16px; font-weight: 650; color: var(--ink); cursor: pointer; }
.rede-det[open] > summary { border-bottom: 1px solid var(--line); }
.rede-det > .ptable { margin: 0; padding: 10px 12px 4px; }
.rtable__grupo th { background: var(--primary-50); color: var(--ink); font-size: .8rem; letter-spacing: .02em; text-align: left; }
.rtable--rede td:nth-child(4) { font-size: .86rem; }
.lista--regras li { margin-bottom: 6px; }
.cite { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.net-mais { margin-top: 12px; text-align: center; }
.checks--prod { display: grid; gap: 6px 16px; }
@media (min-width: 640px) { .checks--prod { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .checks--prod { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.check--prod { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.check--prod[hidden] { display: none; }
.check__why { font-size: .75rem; color: var(--muted); }
.ftr__nome { font-weight: 700; font-size: 1.12rem; color: #fff; }
.ftr__tipo { font-size: .8rem; color: #A9BEDD; margin-bottom: 10px; }

/* =====================================================================
   Rodada 04.1 — CTA comercial universal (todas as páginas, antes do rodapé)
   ===================================================================== */
.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: #0D205B; color: #fff; text-align: center; box-shadow: 0 24px 48px -28px rgba(13, 32, 91, .6); }
.cta-universal__t { color: #fff; font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.1rem); line-height: 1.2; margin: 0 0 10px; letter-spacing: -.01em; }
.cta-universal__s { color: #DCE6F7; font-size: clamp(.98rem, .92rem + .3vw, 1.12rem); line-height: 1.5; margin: 0 auto 24px; max-width: 62ch; }
.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: #0D205B; }
.cta-universal__btn--cotar:hover { color: #0D205B; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); transform: translateY(-1px); }
/* verde vivo com texto azul-marinho: contraste 7,6:1 (AA) */
.cta-universal__btn--wa { background: #25D366; color: #0D205B; }
.cta-universal__btn--wa:hover { color: #0D205B; 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; }
}
/* telas estreitas (320-399 px): rótulo do botão em uma linha */
@media (max-width: 399px) {
  .cta-universal__box { padding-inline: 16px; }
  .cta-universal__btn { padding: 0 14px; gap: 8px; font-size: .98rem; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .cta-universal__btn { transition: none; } .cta-universal__btn:hover { transform: none; } }

/* =====================================================================
   Rodada 05 — barra informativa universal (3 colunas, abaixo do menu e acima da hero)
   ===================================================================== */
.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__col--portal { grid-column: 1 / -1; }
.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; white-space: nowrap; 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; }
/* celular: o título do portal abre os textos (portal e beneficiário); os telefones ficam sempre visíveis */
.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__det { display: none; }
  .barra-info__col--portal, .barra-info__col--cliente .barra-info__txt { display: block; }
}
@media (min-width: 768px) {
  .barra-info { font-size: .76rem; }
  .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 { grid-column: auto; 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; }
}

/* =====================================================================
   Rodada 05 — WhatsApp flutuante universal
   ===================================================================== */
.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(0, 43, 112, .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(0, 43, 112, .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 barra informativa) */
.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; } }
@media (prefers-reduced-motion: reduce) { .wa-float__balao { animation: none; } .wa-float__btn { transition: none; } .wa-float__btn:hover { transform: none; } }
@media print { .wa-float { display: none; } }
