/* =====================================================================
   Planos de Saúde SP — folha de estilo própria (sem frameworks)
   ===================================================================== */
:root {
  --petroleo: #0E3B36;      /* base / títulos / faixas escuras */
  --petroleo-2: #165049;
  --tinta: #14211F;         /* texto */
  --apagado: #5A6B68;       /* texto secundário */
  --papel: #FAFBF9;         /* fundo */
  --branco: #FFFFFF;
  --menta: #E6F2EC;         /* fundos suaves */
  --linha: #D3E2DB;         /* bordas */
  --ambar: #F0B03F;         /* destaque de preço */
  --ambar-claro: #FFF4DC;
  --zap: #1FAF5A;           /* só WhatsApp */
  --zap-escuro: #178C48;
  --alerta: #8A5A00;
  --raio: 14px;
  --raio-p: 8px;
  --fonte: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --larg: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--fonte); font-size: 17px; line-height: 1.55; color: var(--tinta); background: var(--papel); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--petroleo-2); }
h1, h2, h3, h4 { line-height: 1.12; margin: 0; letter-spacing: -0.015em; color: var(--petroleo); }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ambar); outline-offset: 2px; border-radius: 4px; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--larg); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mut { color: var(--apagado); }
.pequeno { font-size: .875rem; }
.secao { padding: 88px 0; }
.secao-cab { max-width: 640px; margin-bottom: 40px; }
.secao-cab p { margin-top: 12px; color: var(--apagado); font-size: 1.05rem; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 1rem;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-pri { background: var(--petroleo); color: #fff; }
.btn-pri:hover { background: var(--petroleo-2); }
.btn-zap { background: var(--zap); color: #fff; }
.btn-zap:hover { background: var(--zap-escuro); }
.btn-borda { border-color: var(--petroleo); color: var(--petroleo); background: transparent; }
.btn-borda:hover { background: var(--menta); }
.btn-claro { background: #fff; color: var(--petroleo); }
.btn-claro:hover { background: var(--menta); }
.btn-p { padding: 9px 16px; font-size: .92rem; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- topo ---------- */
.topo { background: rgba(250,251,249,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--linha); position: sticky; top: 0; z-index: 40; }
.topo .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--petroleo); }
.marca img { width: 36px; height: 36px; }
.marca b { display: block; font-size: 1.08rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; }
.marca small { display: block; font-size: .78rem; color: var(--apagado); font-weight: 500; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a { text-decoration: none; color: var(--tinta); font-weight: 600; font-size: .95rem; }
.menu a:hover, .menu a[aria-current] { color: var(--petroleo-2); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.menu .btn { color: #fff; text-decoration: none; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--petroleo); }
.menu-movel { display: none; border-top: 1px solid var(--linha); padding: 12px 20px 18px; }
.menu-movel a { display: block; padding: 10px 0; font-weight: 600; color: var(--tinta); text-decoration: none; border-bottom: 1px solid var(--linha); }
.menu-movel .btn { margin-top: 14px; width: 100%; border: 0; color: #fff; }
.menu-movel.aberto { display: block; }
@media (max-width: 900px) { .menu { display: none; } .menu-btn { display: block; } }

/* ---------- hero ---------- */
.hero { padding: 64px 0 80px; background:
  radial-gradient(1200px 500px at 85% -10%, var(--menta), transparent 60%), var(--papel); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-intro { font-size: 1.15rem; color: var(--apagado); max-width: 30ch; }
.regioes { margin: 14px 0 26px; font-size: clamp(3rem, 1.8rem + 4.6vw, 5.6rem); font-weight: 800; line-height: .98; letter-spacing: -0.035em; color: var(--petroleo); }
.regioes span { display: block; }
.regioes span:nth-child(2) { color: transparent; -webkit-text-stroke: 2px var(--petroleo); }
.hero-provas { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--tinta); font-size: .98rem; }
.hero-provas li { display: flex; gap: 8px; align-items: center; }
.hero-provas svg { width: 20px; height: 20px; color: var(--petroleo-2); flex: none; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 40px; } }

/* ---------- ficha de cotação (simulador) ---------- */
.ficha { background: var(--branco); border: 1.5px solid var(--petroleo); border-radius: var(--raio); padding: 28px; box-shadow: 10px 10px 0 var(--menta); }
.ficha h2 { font-size: 1.45rem; }
.ficha > p { color: var(--apagado); margin: 6px 0 20px; font-size: .95rem; }
.campo { margin-bottom: 18px; }
.campo > label, .campo > .rotulo { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 8px; color: var(--petroleo); }
.tipos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tipos label { position: relative; }
.tipos input { position: absolute; opacity: 0; inset: 0; }
.tipos span { display: block; text-align: center; padding: 10px 6px; border: 1.5px solid var(--linha); border-radius: var(--raio-p); font-size: .86rem; font-weight: 600; cursor: pointer; line-height: 1.25; }
.tipos input:checked + span { border-color: var(--petroleo); background: var(--menta); color: var(--petroleo); }
.tipos input:focus-visible + span { outline: 3px solid var(--ambar); outline-offset: 2px; }
.idades { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.idade { position: relative; }
.idade input { width: 100%; font: inherit; font-size: 1.05rem; font-weight: 700; padding: 22px 10px 8px; border: 1.5px solid var(--linha); border-radius: var(--raio-p); background: var(--papel); }
.idade input:focus { outline: none; border-color: var(--petroleo); background: #fff; }
.idade small { position: absolute; left: 11px; top: 6px; font-size: .7rem; color: var(--apagado); font-weight: 600; pointer-events: none; }
.idade button { position: absolute; right: 4px; top: 4px; border: 0; background: none; color: var(--apagado); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 4px 6px; }
.add-pessoa { margin-top: 10px; background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 700; color: var(--petroleo-2); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.ficha .btn { width: 100%; margin-top: 6px; font-size: 1.05rem; padding: 15px; }
.ficha .rodape-ficha { margin-top: 12px; font-size: .82rem; color: var(--apagado); text-align: center; }
select, .entrada { width: 100%; font: inherit; font-size: .98rem; padding: 11px 12px; border: 1.5px solid var(--linha); border-radius: var(--raio-p); background: #fff; color: var(--tinta); }
select:focus, .entrada:focus { outline: none; border-color: var(--petroleo); }

/* ---------- faixa de municípios ---------- */
.municipios { border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); background: #fff; }
.municipios .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; padding-top: 18px; padding-bottom: 18px; font-size: .95rem; color: var(--apagado); }
.municipios b { color: var(--petroleo); }

/* ---------- lista de operadoras (estilo tabela de preços) ---------- */
.lista-ops { border-top: 2px solid var(--petroleo); }
.op-linha { display: grid; grid-template-columns: minmax(0, 1fr) 150px 170px 220px; gap: 20px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--linha); }
.op-linha h3 { font-size: 1.3rem; }
.op-linha .tags { color: var(--apagado); font-size: .9rem; margin-top: 4px; }
.op-preco { text-align: right; }
.op-preco small { display: block; color: var(--apagado); font-size: .82rem; }
.op-preco strong { font-size: 1.6rem; font-weight: 800; color: var(--petroleo); }
.op-acoes { display: flex; gap: 8px; justify-content: flex-end; }
@media (max-width: 760px) { .op-linha { grid-template-columns: 1fr auto; } .op-linha .op-validade { display: none; } .op-acoes { grid-column: 1 / -1; } .op-acoes .btn { flex: 1; } }
.vazio { border: 1.5px dashed var(--linha); border-radius: var(--raio); padding: 36px; text-align: center; background: #fff; }
.vazio p { color: var(--apagado); margin-bottom: 18px; max-width: 46ch; margin-left: auto; margin-right: auto; }

/* ---------- como funciona (sequência real) ---------- */
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: passo; border-top: 1px solid var(--linha); }
.passo { padding: 28px 28px 0 0; counter-increment: passo; }
.passo + .passo { padding-left: 28px; border-left: 1px solid var(--linha); }
.passo::before { content: counter(passo); display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--petroleo); color: #fff; font-weight: 800; margin-bottom: 16px; }
.passo p { color: var(--apagado); margin-top: 8px; }
@media (max-width: 760px) { .passos { grid-template-columns: 1fr; } .passo, .passo + .passo { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--linha); } }

/* ---------- tipos de plano ---------- */
.fundo-menta { background: var(--menta); }
.tipos-plano { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.tipo-plano { background: #fff; border-radius: var(--raio); padding: 28px; text-decoration: none; color: var(--tinta); display: flex; flex-direction: column; border: 1.5px solid transparent; transition: border-color .15s; }
.tipo-plano:hover { border-color: var(--petroleo); }
.tipo-plano.destaque { background: var(--petroleo); color: #E3EFEA; }
.tipo-plano.destaque h3 { color: #fff; }
.tipo-plano p { margin: 10px 0 22px; flex: 1; }
.tipo-plano .ir { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.tipo-plano.destaque .ir { color: var(--ambar); }
.selo { display: inline-block; align-self: flex-start; background: var(--ambar); color: var(--petroleo); font-weight: 700; font-size: .78rem; padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; }
@media (max-width: 860px) { .tipos-plano { grid-template-columns: 1fr; } }

/* ---------- dúvidas ---------- */
.duvidas { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.05rem; position: relative; color: var(--petroleo); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.6rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--apagado); max-width: 62ch; }
@media (max-width: 860px) { .duvidas { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- faixa final ---------- */
.faixa-cta { background: var(--petroleo); color: #D7E8E1; }
.faixa-cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.faixa-cta h2 { color: #fff; }
.faixa-cta p { margin-top: 8px; max-width: 52ch; }

/* ---------- rodapé ---------- */
.rodape { background: #0A2A26; color: #A9C3BB; font-size: .93rem; }
.rodape .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.rodape b { color: #fff; display: block; margin-bottom: 10px; }
.rodape a { color: #D7E8E1; }
.rodape ul { list-style: none; padding: 0; margin: 0; }
.rodape li { margin-bottom: 6px; }
.rodape-legal { border-top: 1px solid #1C4741; }
.rodape-legal p { max-width: var(--larg); margin: 0 auto; padding: 18px 20px; font-size: .8rem; color: #7FA197; }
@media (max-width: 760px) { .rodape .wrap { grid-template-columns: 1fr; gap: 24px; } }
.zap-flutuante { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: var(--zap); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(14,59,54,.28); }
.zap-flutuante:hover { background: var(--zap-escuro); }
.zap-flutuante svg { width: 30px; height: 30px; }

/* ---------- páginas internas ---------- */
.cab-pagina { background: var(--petroleo); color: #CFE3DB; padding: 44px 0 40px; }
.cab-pagina h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); font-weight: 800; }
.cab-pagina p { margin-top: 10px; max-width: 64ch; }
.cab-pagina .preview { display: inline-block; margin-top: 12px; background: var(--ambar); color: var(--petroleo); font-weight: 700; padding: 4px 10px; border-radius: 6px; font-size: .85rem; }
.layout-cot { display: grid; grid-template-columns: 340px 1fr; gap: 36px; padding-top: 36px; padding-bottom: 72px; align-items: start; }
.layout-cot .ficha { position: sticky; top: 90px; box-shadow: none; }
@media (max-width: 960px) { .layout-cot { grid-template-columns: 1fr; } .layout-cot .ficha { position: static; } }
.duas-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.aviso { display: flex; gap: 14px; background: var(--ambar-claro); border: 1px solid #F3D594; border-radius: var(--raio); padding: 18px 20px; color: #5C3D00; font-size: .93rem; }
.aviso svg { width: 24px; height: 24px; flex: none; color: var(--alerta); margin-top: 2px; }
.aviso b { color: #4A3100; }
.resumo-res { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.resumo-res h2 { font-size: 1.6rem; }
.indice { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); margin: 18px 0 28px; }
.indice a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; text-decoration: none; color: var(--tinta); border-top: 1px solid var(--linha); }
.indice a:first-child { border-top: 0; }
.indice a:hover { background: var(--menta); }
.indice strong { color: var(--petroleo); }
.indice .num { font-weight: 800; color: var(--petroleo); font-size: 1.1rem; }

.bloco-op { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); margin-bottom: 22px; overflow: hidden; scroll-margin-top: 90px; }
.bloco-op > header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 2px solid var(--petroleo); }
.bloco-op > header h3 { font-size: 1.35rem; }
.bloco-op > header p { color: var(--apagado); font-size: .88rem; margin-top: 2px; }
.plano { padding: 18px 22px; border-top: 1px solid var(--linha); }
.plano:first-child { border-top: 0; }
.plano.antiga { background: var(--ambar-claro); }
.plano-topo { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 14px 20px; }
@media (max-width: 620px) { .plano-topo { grid-template-columns: 1fr; } .plano-preco { margin-left: 0; justify-content: space-between; } .plano-preco .valor { text-align: left; } }
.plano h4 { font-size: 1.08rem; color: var(--tinta); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.chip { font-size: .78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--menta); color: var(--petroleo); }
.chip.copart { background: #FDEBD8; color: #8A4B0E; }
.chip.alerta { background: var(--ambar); color: var(--petroleo); }
.plano-preco { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.plano-preco .valor { text-align: right; }
.plano-preco strong { display: block; font-size: 1.55rem; font-weight: 800; color: var(--petroleo); line-height: 1; }
.plano-preco small { color: var(--apagado); font-size: .8rem; }
.detalhe { margin-top: 8px; font-size: .9rem; }
.detalhe summary { cursor: pointer; color: var(--petroleo-2); font-weight: 600; width: fit-content; }
.detalhe table { width: 100%; max-width: 480px; border-collapse: collapse; margin-top: 6px; }
.detalhe td { padding: 5px 0; border-top: 1px solid var(--linha); }
.detalhe td:last-child { text-align: right; font-weight: 700; }
.mais { border-top: 1px solid var(--linha); }
.mais > summary { list-style: none; cursor: pointer; padding: 14px 22px; font-weight: 700; color: var(--petroleo-2); background: var(--papel); }
.mais > summary::-webkit-details-marker { display: none; }
.mais[open] > summary .abre, .mais:not([open]) > summary .fecha { display: none; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.info-bloco { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 22px 24px; }
.info-bloco h2 { font-size: 1.15rem; margin-bottom: 10px; }
.info-bloco ul { margin: 0; padding-left: 18px; color: var(--tinta); font-size: .95rem; }
.info-bloco li { margin-bottom: 6px; }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }
.tabela-precos { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 22px; margin-bottom: 22px; }
.tabela-precos header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.tabela-precos h2 { font-size: 1.2rem; }
.rolagem { overflow-x: auto; }
.tabela-precos table { border-collapse: collapse; min-width: 100%; font-size: .9rem; }
.tabela-precos th, .tabela-precos td { padding: 9px 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--linha); }
.tabela-precos th:first-child, .tabela-precos td:first-child { text-align: left; position: sticky; left: 0; background: #fff; font-weight: 700; }
.tabela-precos thead th { background: var(--petroleo); color: #fff; font-weight: 700; }
.tabela-precos thead th:first-child { background: var(--petroleo); }
.tabela-precos tbody tr:nth-child(even) td { background: var(--papel); }
.tabela-precos .attr td { color: var(--apagado); font-size: .82rem; }
.nota { font-size: .82rem; color: var(--apagado); margin-top: 10px; }
.cab-op { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.cab-op .btn { margin-left: auto; }
.logo-op { height: 56px; background: #fff; border-radius: 10px; padding: 8px; }

/* ajustes finos */
.num { white-space: nowrap; }
@media (max-width: 600px) {
  .indice a { flex-direction: column; align-items: flex-start; gap: 2px; }
  .bloco-op > header .btn { width: 100%; }
}
@media (max-width: 960px) {
  .layout-cot.com-res > div:last-child { order: -1; }   /* no celular, resultados antes do formulário */
}

/* =====================================================================
   PÁGINA INICIAL — versão colorida
   ===================================================================== */
:root { --agua: #1F8A7A; --agua-claro: #D5EFE9; --coral: #E8735A; --coral-claro: #FCE6E0; --azul: #2F6FB3; --azul-claro: #E1ECF8; --ambar-esc: #C98A12; }

/* topo colorido */
.hero-cor { position: relative; overflow: hidden; color: #DCEDE7; padding: 70px 0 96px;
  background: radial-gradient(700px 420px at 92% 8%, rgba(31,138,122,.55), transparent 70%),
              radial-gradient(520px 380px at 8% 105%, rgba(240,176,63,.22), transparent 70%),
              linear-gradient(135deg, #0B302C 0%, #0E3B36 45%, #135047 100%); }
.hero-cor::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,.04); pointer-events: none; }
.hero-cor .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-cor .hero-intro { color: #A9CFC4; }
.hero-cor .regioes { color: #fff; }
.hero-cor .regioes span:nth-child(2) { -webkit-text-stroke: 2px var(--ambar); color: transparent; }
.hero-cor .hero-provas { color: #E6F2EC; }
.hero-cor .hero-provas svg { color: var(--ambar); }
.hero-cor .ficha { border: 0; box-shadow: 14px 14px 0 rgba(240,176,63,.9); }
.hero-cor .ficha .btn-pri { background: var(--ambar); color: var(--petroleo); }
.hero-cor .ficha .btn-pri:hover { background: #F5C060; }
.selo-topo { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  color: #E6F2EC; padding: 6px 14px 6px 8px; border-radius: 999px; font-size: .88rem; font-weight: 600; margin-bottom: 18px; }
.selo-topo i { width: 10px; height: 10px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52,211,153,.25); }
@media (max-width: 960px) { .hero-cor .wrap { grid-template-columns: 1fr; gap: 36px; } .hero-cor { padding: 44px 0 64px; } }

/* faixa de garantias */
.garantias { position: relative; z-index: 2; margin-top: -48px; }
.garantias .grade { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 18px; box-shadow: 0 18px 40px -18px rgba(14,59,54,.35); overflow: hidden; }
.garantia { display: flex; gap: 14px; align-items: flex-start; padding: 22px; }
.garantia + .garantia { border-left: 1px solid var(--linha); }
.garantia b { display: block; color: var(--petroleo); font-size: 1rem; line-height: 1.25; }
.garantia span { color: var(--apagado); font-size: .87rem; }
.ic { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.ic svg { width: 24px; height: 24px; }
.ic.agua { background: var(--agua-claro); color: var(--agua); }
.ic.ambar { background: var(--ambar-claro); color: var(--ambar-esc); }
.ic.coral { background: var(--coral-claro); color: var(--coral); }
.ic.azul { background: var(--azul-claro); color: var(--azul); }
@media (max-width: 900px) { .garantias .grade { grid-template-columns: 1fr 1fr; } .garantia:nth-child(3) { border-left: 0; } .garantia:nth-child(n+3) { border-top: 1px solid var(--linha); } }
@media (max-width: 520px) { .garantias .grade { grid-template-columns: 1fr; } .garantia + .garantia { border-left: 0; border-top: 1px solid var(--linha); } }

/* cidades em etiquetas */
.cidades { padding: 56px 0 8px; }
.cidades .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cidades b { color: var(--petroleo); margin-right: 6px; }
.cidade { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--linha); font-size: .92rem; font-weight: 600; color: var(--petroleo); }
.cidade::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--agua); }
.cidade.abc::before { background: var(--coral); }
.cidade.gru::before { background: var(--ambar); }

/* operadoras com cor própria */
.ops-cor { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.op-card { background: #fff; border-radius: 16px; border: 1px solid var(--linha); padding: 22px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.op-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--cor-op, var(--agua)); }
.op-cab { display: flex; align-items: center; gap: 14px; }
.op-ini { width: 50px; height: 50px; border-radius: 14px; background: var(--cor-op, var(--agua)); color: #fff; font-weight: 800; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; flex: none; letter-spacing: -0.02em; }
.op-cab h3 { font-size: 1.2rem; }
.op-cab p { color: var(--apagado); font-size: .87rem; margin-top: 2px; }
.op-valor { display: flex; justify-content: space-between; align-items: flex-end; padding: 14px 16px; border-radius: 12px; background: var(--papel); }
.op-valor small { color: var(--apagado); font-size: .82rem; display: block; }
.op-valor strong { font-size: 1.7rem; font-weight: 800; color: var(--petroleo); line-height: 1.1; }
.op-valor em { font-style: normal; font-size: .8rem; color: var(--apagado); text-align: right; }
.op-card .op-acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.op-card .op-acoes .btn { width: 100%; }

/* passos coloridos */
.passos-cor { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.passo-cor { background: #fff; border-radius: 16px; padding: 26px; border: 1px solid var(--linha); position: relative; }
.passo-cor .ic { margin-bottom: 16px; }
.passo-cor .n { position: absolute; right: 22px; top: 18px; font-size: 2.6rem; font-weight: 800; color: var(--menta); line-height: 1; }
.passo-cor p { color: var(--apagado); margin-top: 8px; }
@media (max-width: 860px) { .passos-cor { grid-template-columns: 1fr; } }

/* tipos de plano coloridos */
.tipos-cor { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tipo-cor { border-radius: 18px; padding: 30px 28px; text-decoration: none; display: flex; flex-direction: column; min-height: 280px; transition: transform .15s; }
.tipo-cor:hover { transform: translateY(-3px); }
.tipo-cor h3 { color: inherit; font-size: 1.4rem; margin-top: 18px; }
.tipo-cor p { margin: 10px 0 22px; flex: 1; opacity: .92; }
.tipo-cor .ir { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.tipo-cor .ic { background: rgba(255,255,255,.18); color: inherit; }
.tipo-cor.t1 { background: var(--petroleo); color: #E3F1EC; }
.tipo-cor.t1 .ir { color: var(--ambar); }
.tipo-cor.t2 { background: var(--agua); color: #F1FBF8; }
.tipo-cor.t3 { background: var(--ambar); color: var(--petroleo); }
.tipo-cor.t3 .ic { background: rgba(14,59,54,.1); }
.tipo-cor .selo { background: var(--ambar); color: var(--petroleo); margin: 0 0 -6px; }
@media (max-width: 860px) { .tipos-cor { grid-template-columns: 1fr; } .tipo-cor { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .tipo-cor:hover { transform: none; } }

/* faixa final em âmbar */
.faixa-ambar { background: linear-gradient(120deg, #F0B03F, #F5C35E); color: var(--petroleo); }
.faixa-ambar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 52px; padding-bottom: 52px; }
.faixa-ambar h2 { color: var(--petroleo); }
.faixa-ambar p { margin-top: 8px; max-width: 52ch; color: #2D4A44; }
.fundo-branco { background: #fff; }
.hero-cor .ficha { color: var(--tinta); }

/* rede credenciada */
.detalhe.rede summary { color: var(--agua, #1F8A7A); }
.rede-lista { margin-top: 8px; max-height: 360px; overflow: auto; padding: 4px 12px 8px; background: var(--papel); border-radius: 10px; }
.rede-cidade { font-weight: 700; color: var(--petroleo); margin-top: 10px; font-size: .9rem; }
.rede-lista ul, .rede-grade ul { margin: 4px 0 0; padding-left: 18px; font-size: .88rem; }
.rede-lista li, .rede-grade li { margin-bottom: 3px; }
.rede-tipo { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--petroleo); background: var(--menta); border-radius: 6px; padding: 0 6px; margin-left: 4px; }
.rede-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px 28px; }

/* ---- páginas por cidade ---- */
.migalha { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: #A9CFC4; margin-bottom: 18px; }
.migalha a { color: #D7EBE4; text-decoration: none; } .migalha a:hover { text-decoration: underline; }
.migalha b { color: #fff; font-weight: 600; }
.hero-cor .cid-h1 { margin: 0 0 22px; font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.4rem); }
.hero-cor .cid-h1 small { display: block; font-size: clamp(1.05rem, .9rem + .6vw, 1.45rem); letter-spacing: 0; font-weight: 600; color: #A9CFC4; margin-bottom: 10px; line-height: 1.25; }
.hero-cor .cid-h1 span, .hero-cor .cid-h1 span:nth-child(2) { color: #fff; -webkit-text-stroke: 0; }
.hero-cor .cid-h1 span::after { content: "."; color: var(--ambar); }
.hero-cid .hero-intro { font-size: 1.02rem; line-height: 1.6; }
a.cidade { text-decoration: none; } a.cidade:hover { border-color: var(--agua); background: var(--menta); }
@media (max-width: 640px) {
  .tab-ex thead { display: none; }
  .tab-ex, .tab-ex tbody, .tab-ex tr, .tab-ex td { display: block; width: 100%; }
  .tabela-precos .tab-ex { min-width: 0 !important; }
  .tab-ex td { text-align: left !important; width: auto !important; min-width: 0; white-space: normal !important; position: static !important; }
  .tab-ex tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--linha); }
  .tab-ex td { padding: 0 !important; border: 0 !important; background: none !important; }
  .tab-ex td:first-child { grid-column: 1 / -1; }
  .tab-ex td.preco { text-align: right !important; align-self: center; font-size: 1.1rem; }
  .tab-ex td:last-child { grid-column: 1 / -1; margin-top: 6px; }
}
