/* Plano Hapvida (Augusto). Paleta da arte oficial: azul profundo, laranja, amarelo. */
:root {
  --ink: #0a1b3d;
  --azul: #0b2f7a;
  --azul-2: #123f9c;
  --laranja: #f26a1b;
  --laranja-esc: #c9500a;
  --sol: #ffc81e;
  --papel: #f3f7fd;
  --linha: #d6e0f0;
  --cinza: #4a5a7a;
  --ok: #1d7a3e;
  --erro: #b3261e;
  --raio: 16px;
  --f-tit: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-corpo: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 84px; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-corpo); color: var(--ink); background: #fff; line-height: 1.55; font-size: 17px; }
img, svg { max-width: 100%; display: block; }
a { color: var(--azul-2); }
h1, h2, h3 { font-family: var(--f-tit); line-height: 1.08; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 2px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap--estreito { width: min(780px, 100% - 40px); }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem var(--f-corpo); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn--grande { min-height: 58px; padding: 0 30px; font-size: 1.08rem; }
.btn--forte { background: var(--laranja); color: #fff; box-shadow: 0 10px 24px rgba(242,106,27,.38); }
.btn--forte:hover { background: var(--laranja-esc); box-shadow: 0 12px 28px rgba(242,106,27,.45); }
.btn--leve { background: #fff; border-color: var(--azul); color: var(--azul); }
.btn--vidro { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); color: #fff; }
.btn--vidro:hover { background: rgba(255,255,255,.18); }
.btn--zap { background: #1d7a3e; color: #fff; min-height: 42px; font-size: .92rem; padding: 0 18px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* topo */
.topo { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linha); }
.topo__in { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--azul); font: 800 1.2rem var(--f-tit); }
.topo__nav { display: flex; gap: 24px; margin-left: auto; }
.topo__nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.topo__nav a:hover { color: var(--laranja-esc); }

/* hero */
.hero { background: radial-gradient(1200px 600px at 85% 20%, #1a4fb8 0%, transparent 60%), linear-gradient(160deg, var(--azul) 0%, #0a2563 55%, #071a47 100%); color: #fff; padding: 56px 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; }
.hero__texto { padding-bottom: 64px; }
.etiqueta { display: inline-block; margin-bottom: 18px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 600; font-size: .85rem; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 800; }
.marca-texto { color: var(--sol); }
.preco-dia { background: var(--laranja); padding: 0 .2em; border-radius: .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; white-space: nowrap; }
.hero__sub { margin: 20px 0 26px; font-size: 1.15rem; color: #dbe6ff; max-width: 34em; }
.hero__sub strong { color: #fff; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.garantias { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; color: #e6edff; font-size: .95rem; }
.garantias li::before { content: "✓"; color: var(--sol); margin-right: 8px; font-weight: 800; }
.hero__foto { margin: 0; position: relative; justify-self: center; width: min(420px, 100%); }
.hero__foto img { width: 100%; height: auto; border-radius: 28px 28px 0 0; box-shadow: 0 -10px 60px rgba(0,0,0,.25); }
.flutua { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 16px 40px rgba(5,20,60,.35); padding: 12px 16px; }
.flutua--preco { left: -34px; bottom: 90px; display: grid; line-height: 1.15; }
.flutua--preco strong { font: 800 2rem var(--f-tit); color: var(--azul); }
.flutua--preco small { color: var(--cinza); font-weight: 600; font-size: .78rem; }
.flutua--odonto { right: -18px; bottom: 34px; font-weight: 700; color: var(--azul); display: flex; gap: 8px; align-items: center; }

/* faixa de benefícios */
.faixa-beneficios { background: #fff; border-bottom: 1px solid var(--linha); }
.faixa-beneficios__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.faixa-beneficios article { display: flex; gap: 14px; padding: 28px 20px; border-right: 1px solid var(--linha); }
.faixa-beneficios article:last-child { border-right: 0; }
.faixa-beneficios .ic { font-size: 1.7rem; line-height: 1; flex: none; width: 48px; height: 48px; border-radius: 14px; background: #fff1e8; display: grid; place-items: center; }
.faixa-beneficios h3 { font-size: 1.12rem; color: var(--azul); margin-bottom: 4px; }
.faixa-beneficios p { color: var(--cinza); font-size: .94rem; line-height: 1.4; }

/* seções */
.secao { padding: 84px 0; }
.secao--escura { background: var(--ink); color: #fff; }
.secao--papel { background: var(--papel); }
.secao__titulo { font-size: clamp(1.8rem, 3.3vw, 2.6rem); font-weight: 800; color: var(--azul); }
.secao--escura .secao__titulo { color: #fff; }
.secao__sub { margin: 12px 0 30px; color: var(--cinza); max-width: 42em; font-size: 1.05rem; }
.nota { color: #5a6a8a; font-size: .93rem; margin: 12px 0; }
.nota-forte { font-weight: 700; margin: 8px 0 10px; }

/* dor */
.dor__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.dor .secao__titulo { font-size: clamp(2rem, 3.8vw, 3rem); }
.dor__texto p { font-size: 1.12rem; color: #33425f; margin-bottom: 16px; }
.dor__texto strong { color: var(--ink); }

/* simulador */
.cabeca { margin-bottom: 8px; }
.cenarios { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.cenario { border: 2px solid var(--linha); background: #fff; border-radius: 14px; padding: 10px 16px; font: 700 .98rem var(--f-corpo); color: var(--azul); cursor: pointer; display: grid; text-align: left; transition: border-color .15s, transform .15s; }
.cenario small { font-weight: 500; color: var(--cinza); font-size: .8rem; }
.cenario:hover { border-color: var(--laranja); transform: translateY(-1px); }
.cenario.on { border-color: var(--laranja); background: #fff5ee; }
.sim { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
.sim__esq { background: #fff; border-radius: 22px; padding: 26px; box-shadow: 0 10px 40px rgba(11,47,122,.08); }
.regua__trilho { position: relative; padding-top: 32px; margin-bottom: 8px; }
.regua__faixas { display: flex; height: 46px; border-radius: 12px; overflow: hidden; }
.regua__faixas > span { display: flex; align-items: center; justify-content: center; font: 700 .8rem var(--f-corpo); color: #fff; border-right: 2px solid #fff; white-space: nowrap; }
.regua__faixas > span:last-child { border-right: 0; }
.regua__faixas > span:nth-child(1) { background: #2e6bd6; }
.regua__faixas > span:nth-child(2) { background: #1d55b8; }
.regua__faixas > span:nth-child(3) { background: #123f9c; }
.regua__faixas > span:nth-child(4) { background: #e0620f; }
.regua__faixas > span:nth-child(5) { background: #b8470a; }
.regua__marcas { position: absolute; left: 0; right: 0; top: 0; height: 32px; }
.marca-pessoa { position: absolute; transform: translateX(-50%); display: grid; justify-items: center; font: 700 .74rem var(--f-corpo); transition: left .3s ease; }
.marca-pessoa b { background: var(--sol); border-radius: 999px; padding: 1px 8px; color: var(--ink); }
.marca-pessoa::after { content: ""; width: 2px; height: 10px; background: var(--ink); }
.regua__eixo { position: relative; height: 18px; font-size: .74rem; color: #5a6a8a; margin-top: 4px; }
.regua__eixo span { position: absolute; top: 0; transform: translateX(-50%); }
.regua__eixo span:first-child { transform: none; }
.regua__eixo span:last-child { transform: translateX(-100%); }
.pessoas { list-style: none; padding: 0; margin: 16px 0 14px; display: grid; gap: 8px; }
.pessoas li { display: grid; grid-template-columns: 1fr 92px 130px 32px; gap: 10px; align-items: center; background: var(--papel); border-radius: 12px; padding: 8px 12px; }
.pessoas .quem { font-weight: 700; }
.pessoas .quem small { display: block; font-weight: 500; color: var(--cinza); font-size: .78rem; }
.pessoas input { width: 100%; min-height: 42px; border: 1.5px solid var(--linha); border-radius: 10px; padding: 0 10px; font: 700 1rem var(--f-corpo); }
.pessoas .preco { font-weight: 800; color: var(--azul); text-align: right; }
.pessoas .preco.fora { color: var(--erro); font-weight: 600; font-size: .82rem; }
.pessoas button { border: 0; background: transparent; color: #66779a; font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 4px; }
.sim__total { background: var(--azul); color: #fff; border-radius: 22px; padding: 28px; display: grid; gap: 6px; position: sticky; top: 90px; box-shadow: 0 20px 50px rgba(11,47,122,.3); }
.sim__rot { font-weight: 600; color: #c9d8ff; }
.sim__total strong { font: 800 clamp(2.4rem, 4vw, 3.2rem) var(--f-tit); line-height: 1; }
.sim__dia { color: var(--sol); font-weight: 700; }
.sim__inclui { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 6px; color: #e6edff; }
.sim__inclui li::before { content: "✓"; color: var(--sol); margin-right: 8px; font-weight: 800; }
.sim__zap { color: #fff; text-align: center; margin-top: 8px; font-weight: 600; font-size: .93rem; }

/* tabela */
.tabela { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cartao-faixa { border: 2px solid var(--linha); border-radius: var(--raio); padding: 22px 18px; background: #fff; display: grid; gap: 4px; }
.cartao-faixa .idade { font-weight: 700; color: var(--cinza); }
.cartao-faixa .valor { font: 800 2rem var(--f-tit); color: var(--azul); }
.cartao-faixa .valor small { font: 500 .85rem var(--f-corpo); color: #5a6a8a; }
.cartao-faixa .dia { font-weight: 700; color: var(--laranja-esc); font-size: .92rem; }

/* por que aqui */
.motivos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.motivos article { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--raio); padding: 24px; }
.motivos h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--sol); }
.motivos p { color: #c9d6f2; }
.passos { list-style: none; counter-reset: p; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.passos li { counter-increment: p; display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; align-items: start; }
.passos li::before { content: counter(p); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--laranja); color: #fff; display: grid; place-items: center; font: 800 1.1rem var(--f-tit); }
.passos span { color: #c9d6f2; }

/* checkout */
.etapas { display: flex; gap: 8px; list-style: none; padding: 0; margin: 6px 0 22px; counter-reset: e; }
.etapas li { flex: 1; padding: 10px 8px; border-radius: 10px; background: #e5ecf8; color: #5a6a8a; font-weight: 700; font-size: .9rem; text-align: center; counter-increment: e; }
.etapas li::before { content: counter(e) ". "; }
.etapas li.on { background: var(--azul); color: #fff; }
.etapas li.feita { background: #cfe6d7; color: var(--ok); }
.etapa { border: 0; padding: 0; margin: 0; min-width: 0; }
.etapa legend { font: 800 1.45rem var(--f-tit); color: var(--azul); margin-bottom: 16px; padding: 0; }
.grade { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.c-12 { grid-column: span 12; } .c-8 { grid-column: span 8; } .c-6 { grid-column: span 6; } .c-4 { grid-column: span 4; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
input:not([type=radio]):not([type=checkbox]), select { width: 100%; min-height: 48px; border: 1.5px solid #bfcde6; border-radius: 10px; padding: 0 12px; font: 400 1rem var(--f-corpo); background: #fff; color: var(--ink); }
input.invalido, select.invalido { border-color: var(--erro); background: #fff5f4; }
.msg-erro { color: var(--erro); font-weight: 500; font-size: .85rem; }
.isca { position: absolute; left: -9999px; }
.faixa-info { margin: 14px 0 0; min-height: 26px; font-weight: 700; color: var(--azul); }
.faixa-info.fora { color: var(--erro); }
.acoes { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }
.escolha { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.escolha label { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border: 2px solid var(--linha); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 700; }
.escolha label:has(input:checked) { border-color: var(--azul); background: #eaf0fc; }
.dep { background: #fff; border: 1.5px solid var(--linha); border-radius: var(--raio); padding: 16px; margin-bottom: 14px; }
.dep__topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 800; color: var(--azul); }
.dep__topo button { border: 0; background: none; color: var(--erro); cursor: pointer; font-weight: 600; }
.resumo { background: #fff; border-radius: var(--raio); border: 1.5px solid var(--linha); padding: 8px 18px; margin-bottom: 18px; }
.resumo .linha { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linha); }
.resumo .linha small { display: block; color: #5a6a8a; font-weight: 400; }
.resumo .linha--total { border: 0; font: 800 1.35rem var(--f-tit); color: var(--azul); }
.resumo .linha--extra { border: 0; padding-top: 0; color: var(--ok); font-weight: 600; font-size: .92rem; }
.aceite { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 16px 0; }
.aceite input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
.seguro { color: #5a6a8a; font-size: .88rem; margin-top: 14px; text-align: right; }
.erro-geral, .aviso { border-radius: 10px; padding: 12px 14px; margin: 12px 0; font-weight: 500; }
.erro-geral { background: #fdeceb; color: var(--erro); }
.aviso--mock { background: #fff4d1; color: #6b4e00; border: 1px dashed #d9a600; }
.resultado { background: #fff; border: 2px solid var(--ok); border-radius: var(--raio); padding: 24px; margin-top: 18px; }
.resultado h3 { color: var(--ok); font-size: 1.5rem; margin-bottom: 8px; }
.mock-acoes { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--linha); }
.mock-acoes .nota { flex-basis: 100%; margin: 0; }
.mock-json { margin-top: 16px; }
.mock-json pre { background: var(--ink); color: #cfe0ff; padding: 14px; border-radius: 10px; overflow: auto; font-size: .8rem; max-height: 320px; }

/* dúvidas */
details { background: #fff; border: 1.5px solid var(--linha); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--azul); }
details p { margin: 10px 0 0; color: #3a4a6a; }
#duvidas .secao__titulo { margin-bottom: 26px; }

/* CTA final */
.final { background: linear-gradient(120deg, var(--laranja) 0%, #e0520c 100%); color: #fff; padding: 56px 0; }
.final__in { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.final h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; max-width: 18em; }
.final p { margin-top: 8px; font-weight: 600; color: #fff3ea; }
.final__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.final .btn--forte { background: var(--azul); box-shadow: 0 10px 24px rgba(11,47,122,.35); }
.final .btn--forte:hover { background: var(--ink); }

/* barra móvel */
.barra-movel { display: none; }

.rodape { background: var(--ink); color: #b8c6e6; padding: 34px 0 40px; font-size: .9rem; }
.rodape p { margin: 0 0 10px; max-width: 70em; }
.rodape__pendente { color: var(--sol); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__texto { padding-bottom: 8px; }
  .hero__foto { width: min(340px, 80%); }
  .flutua--preco { left: -24px; bottom: 60px; }
  .flutua--odonto { right: -10px; bottom: 20px; }
  .faixa-beneficios__grid { grid-template-columns: repeat(2, 1fr); }
  .faixa-beneficios article:nth-child(2) { border-right: 0; }
  .faixa-beneficios article { border-bottom: 1px solid var(--linha); }
  .dor__grid, .sim { grid-template-columns: 1fr; gap: 24px; }
  .sim__total { position: static; }
  .tabela { grid-template-columns: repeat(2, 1fr); }
  .motivos, .passos { grid-template-columns: 1fr; }
  .topo__nav { display: none; }
  .topo__in .btn { margin-left: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .secao { padding: 60px 0; }
  .hero { padding-top: 34px; }
  .hero__ctas .btn { width: 100%; }
  .faixa-beneficios__grid { grid-template-columns: 1fr; }
  .faixa-beneficios article { border-right: 0; padding: 18px 4px; }
  .sim__esq, .sim__total { padding: 18px; }
  .pessoas li { grid-template-columns: 1fr 74px 28px; grid-template-areas: "q i x" "p p p"; row-gap: 2px; }
  .pessoas .quem { grid-area: q; }
  .pessoas input { grid-area: i; }
  .pessoas button { grid-area: x; }
  .pessoas .preco { grid-area: p; text-align: left; }
  .marca { font-size: 1.05rem; white-space: nowrap; }
  .marca svg { width: 26px; height: 26px; }
  .rs { display: none; }
  .regua__faixas > span { font-size: .72rem; }
  .tabela { grid-template-columns: 1fr; }
  .c-8, .c-6, .c-4 { grid-column: span 12; }
  .etapas li { font-size: 0; padding: 8px 4px; }
  .etapas li::before { font-size: .95rem; }
  .etapas li.on { font-size: .85rem; }
  .acoes { flex-direction: column-reverse; }
  .acoes .btn { width: 100%; }
  .seguro { text-align: left; }
  .final__ctas .btn { width: 100%; }
  .barra-movel { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--linha); box-shadow: 0 -8px 24px rgba(5,20,60,.12); padding: 10px 16px; justify-content: space-between; align-items: center; gap: 12px; }
  .barra-movel small { display: block; color: var(--cinza); font-weight: 600; font-size: .75rem; }
  .barra-movel strong { font: 800 1.15rem var(--f-tit); color: var(--azul); }
  .barra-movel .btn { min-height: 46px; padding: 0 18px; font-size: .95rem; }
  .btn--zap { font-size: .85rem; padding: 0 14px; white-space: nowrap; }
  .btn--zap .longo { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* prova social: números oficiais */
.numeros { background: var(--ink); color: #fff; padding: 56px 0 44px; }
.numeros h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 800; max-width: 24em; }
.numeros h2 span { color: var(--sol); }
.numeros__lista { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.numeros__lista li { border-left: 3px solid var(--laranja); padding: 4px 0 4px 16px; display: grid; gap: 2px; }
.numeros__lista strong { font: 800 clamp(2rem, 3.6vw, 2.9rem) var(--f-tit); line-height: 1; }
.numeros__lista span { color: #c9d6f2; font-weight: 500; }
.numeros__fonte { margin-top: 22px; color: #8fa2c9; font-size: .8rem; }
@media (max-width: 960px) { .numeros__lista { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; } }
