/*
  VIDA — a camada de alegria das páginas de venda (Dr., 01/10/2026: "vitaminas é alegria, cores,
  prazer, vida… menos texto, mais cards, mais gráficos, mais imagens, mais movimento").
  Referência dele: gruns.co. Entra DEPOIS do <style> de cada página e só acrescenta.

  Duas regras que não se quebram:
  1. Nada começa invisível. Toda animação mexe só em transform/opacity de algo que já aparece
     parado; sem JS, sem suporte ou com "reduzir movimento", a página fica inteira e estática.
     (Fade-in por IntersectionObserver já deixou blocos em branco no celular.)
  2. Texto sobre degradê, sol ou coral é tinta (#081214), nunca branco — branco reprova contraste.
*/
:root {
  --sol: #FFD23F; --limao: #9BD84A; --folha: #1FA971; --coral: #FF6B4A; --uva: #7C5CFF; --ceu: #2FB4E9;
  --grad-sol: linear-gradient(135deg, #1FA971 0%, #9BD84A 55%, #FFD23F 100%);
  --pop: 0 3px 0 #081214, 0 16px 28px -14px rgba(15,122,85,.55);
  --creme: #FFF8E7;
}

/* ─── tipografia: serifa Newsreader nos títulos e números, DM Sans no resto (a Fredoka saiu em 02/10/2026: 'dá um ar infantil') ─── */
h2, .numeros strong, .preco strong, .preco-dobra strong, .forma strong, .estudos b, .b-num, .num, .v-titulo {
  font-family: 'Newsreader', Georgia, serif; font-weight: 600; letter-spacing: -.01em;
}
h2 { line-height: 1.08; }
h2 span, h1 mark { font-family: 'Newsreader', Georgia, serif; }
.hero h1 mark { color: var(--sol); }

/* ─── hero: aurora de cor por trás da tinta + cápsulas flutuando ─── */
.hero { background: radial-gradient(60% 40% at 85% 8%, rgba(255,210,63,.22), transparent 70%),
                    radial-gradient(70% 50% at 0 30%, rgba(31,169,113,.30), transparent 70%), var(--ink); }
.v-caps { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.v-caps i { position: absolute; width: 38px; height: 16px; border-radius: 99px; opacity: .92;
  background: linear-gradient(90deg, var(--sol) 50%, var(--folha) 50%);
  box-shadow: inset 0 2px 3px rgba(255,255,255,.55), 0 6px 14px -6px rgba(0,0,0,.5);
  animation: v-flutua 6s ease-in-out calc(var(--i) * -1.4s) infinite alternate; }
@keyframes v-flutua { from { transform: translateY(0) rotate(var(--r)); } to { transform: translateY(-14px) rotate(calc(var(--r) + 12deg)); } }
@media (max-width: 359px) { .v-caps { display: none; } }

/* ─── selo-estrela do preço (só o fundo gira; o texto fica parado e legível) ─── */
.v-estrela { position: absolute; z-index: 4; width: 118px; height: 118px; display: grid; place-items: center; text-align: center;
  color: #081214; font: 700 13px/1.05 'Manrope', sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.v-estrela::before { content: ""; position: absolute; inset: 0; background: var(--sol);
  clip-path: polygon(50% 0%,59% 13%,74% 6%,76% 22%,93% 25%,86% 40%,100% 50%,86% 60%,93% 75%,76% 78%,74% 94%,59% 87%,50% 100%,41% 87%,26% 94%,24% 78%,7% 75%,14% 60%,0% 50%,14% 40%,7% 25%,24% 22%,26% 6%,41% 13%);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); animation: v-gira 18s linear infinite; }
.v-estrela span { position: relative; transform: rotate(-10deg); }
.v-estrela b { display: block; font-size: 30px; line-height: 1; letter-spacing: -.02em; }
@keyframes v-gira { to { transform: rotate(360deg); } }

/* ─── marquee: faixa de ativos rolando ─── */
.v-marq { overflow: hidden; background: var(--sol); color: #081214; padding: 12px 0; border-block: 2px solid #081214; }
.v-marq.verde { background: var(--grad-sol); }
.v-trilho { display: flex; gap: 10px; width: max-content; animation: v-marq 32s linear infinite; }
.v-trilho span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff;
  font: 600 15px/1 'Manrope', sans-serif; white-space: nowrap; box-shadow: 0 2px 0 #081214; }
.v-trilho span i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--folha)); }
@keyframes v-marq { to { transform: translateX(-50%); } }

/* ─── leque: as fotos girando em arco (a cena da Grüns) ─── */
.v-vida { background: var(--grad-sol); color: #081214; padding: 46px 0 0; overflow: hidden; position: relative; }
.v-vida h2 { color: #081214; text-align: center; font-size: clamp(30px, 8.4vw, 54px); margin-bottom: 10px; }
.v-vida p.v-sub { text-align: center; font-size: 17px; max-width: 520px; margin: 0 auto 4px; color: #0B2A1C; }
.v-leque { position: relative; height: 236px; margin-top: 30px; }
/* 24 cartas num círculo de raio R; só o topo do círculo aparece, e ele gira devagar (70 s a volta). */
.v-roda { position: absolute; left: 50%; top: 520px; width: 0; height: 0; animation: v-roda 50s linear infinite; }
.v-roda figure { position: absolute; left: -64px; top: -82px; width: 128px; height: 164px; margin: 0; border-radius: 20px; overflow: hidden;
  background: #fff; border: 4px solid #fff; box-shadow: 0 16px 26px -14px rgba(8,18,20,.6);
  transform: rotate(calc(var(--i) * 15deg)) translateY(-430px); }
.v-roda figure img { width: 100%; height: 100%; object-fit: cover; }
@keyframes v-roda { to { transform: rotate(-360deg); } }
@media (min-width: 700px) {
  .v-leque { height: 330px; }
  .v-roda { top: 860px; }
  .v-roda figure { width: 180px; height: 228px; left: -90px; top: -114px; transform: rotate(calc(var(--i) * 15deg)) translateY(-720px); }
}
.v-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 0; }
.v-chips span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.75); font: 600 14px/1 'Manrope', sans-serif; box-shadow: var(--pop); }

/* ─── gráfico: o "normal" do laboratório × o nível ótimo, barras que crescem na rolagem ─── */
.v-graf { background: #fff; border-radius: 28px; padding: 22px 18px 18px; box-shadow: var(--sombra); border: 1px solid var(--borda); }
.v-graf-tit { font: 600 20px/1.15 'Newsreader', Georgia, serif; margin: 0 0 4px; }
.v-graf-leg { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--suave); margin-bottom: 14px; }
.v-graf-leg i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin-right: 6px; }
.v-linha { display: grid; grid-template-columns: 92px 1fr; gap: 6px 12px; align-items: center; padding: 10px 0; border-top: 1px dashed rgba(19,32,31,.1); }
.v-linha:first-of-type { border-top: 0; }
.v-linha b { font: 600 16px/1.1 'Manrope', sans-serif; }
.v-barras { display: grid; gap: 6px; }
.v-barra { height: 22px; border-radius: 999px; background: linear-gradient(135deg, #F5F0E8 0%, #EAE0CF 100%); position: relative; overflow: hidden; }
.v-barra i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); border-radius: 999px; transform-origin: left; display: flex; align-items: center; justify-content: flex-end;
  padding: 0 10px; min-width: max-content; font: 600 12.5px/1 'Manrope', sans-serif; font-style: normal; color: #081214; white-space: nowrap; }
.v-barra.lab i { background: linear-gradient(135deg, #DBE1E7 0%, #B7C1CF 100%); }
.v-barra.otimo i { background: var(--grad-sol); }
@supports (animation-timeline: view()) {
  .v-barra i { animation: v-cresce linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  @keyframes v-cresce { from { transform: scaleX(.12); } }
}

/* ─── cards com cor: dores, provas, blocos e ativos ganham uma cor de fruta cada ─── */
.dores p:nth-child(4n+1), .cenas .cena:nth-child(4n+1) { --c: var(--sol); }
.dores p:nth-child(4n+2), .cenas .cena:nth-child(4n+2) { --c: var(--coral); }
.dores p:nth-child(4n+3), .cenas .cena:nth-child(4n+3) { --c: var(--limao); }
.dores p:nth-child(4n+4), .cenas .cena:nth-child(4n+4) { --c: var(--ceu); }
.dores p { border-left: 6px solid var(--c); transform: rotate(-.6deg); }
.dores p:nth-child(even) { transform: rotate(.6deg); }
.prova { position: relative; overflow: hidden; }
.prova .num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 22px; color: #081214; background: var(--sol); box-shadow: var(--pop); }
.provas .prova:nth-child(2) .num { background: var(--limao); }
.provas .prova:nth-child(3) .num { background: var(--coral); }
.provas .prova:nth-child(4) .num { background: var(--ceu); }
.bloco { border-top: 5px solid var(--sol); }
.blocos .bloco:nth-child(2) { border-top-color: var(--limao); }
.blocos .bloco:nth-child(3) { border-top-color: var(--coral); }
.blocos .bloco:nth-child(4) { border-top-color: var(--ceu); }
.at { border-top: 4px solid var(--c, var(--sol)); }
.ativos .at:nth-child(4n+2) { --c: var(--limao); } .ativos .at:nth-child(4n+3) { --c: var(--coral); } .ativos .at:nth-child(4n+4) { --c: var(--ceu); }

/* ─── botões: brilho correndo no principal, pulso na barra fixa ─── */
.btn[data-cta="hero"]::after, .fixo .btn::after, .oferta .btn::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.55) 50%, transparent 62%);
  transform: translateX(-130%); animation: v-brilho 4.6s ease-in-out 1.2s infinite; }
@keyframes v-brilho { 0%, 55% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.fixo.on .btn { animation: v-pulso 2.8s ease-in-out infinite; }
@keyframes v-pulso { 50% { transform: scale(1.03); } }

/* ─── medalhão do Dr. com anel girando (médico humano, sempre) ─── */
.v-medalhao { position: relative; width: 104px; height: 104px; flex: none; }
.v-medalhao img { position: absolute; inset: 12px; width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 3px solid var(--sol); }
.v-medalhao svg { position: absolute; inset: 0; width: 104px; height: 104px; animation: v-gira 26s linear infinite; }
.v-medalhao text { font: 700 9.6px 'Manrope', sans-serif; letter-spacing: 1.6px; fill: var(--sol); text-transform: uppercase; }

/* ─── rodapé com a marca gigante ─── */
.v-marca { font: 500 clamp(64px, 22vw, 260px)/.85 'Newsreader', Georgia, serif; letter-spacing: -.04em; text-align: center; margin: 26px 0 0;
  background: var(--grad-sol); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* ─── números contando: o valor final já está no HTML; o JS só anima de 0 até ele ─── */
[data-conta] { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .v-caps i, .v-estrela::before, .v-trilho, .v-roda, .v-medalhao svg, .btn::after, .fixo .btn, .v-barra i { animation: none !important; }
  .v-trilho { flex-wrap: wrap; width: auto; justify-content: center; }
  .v-trilho [aria-hidden] { display: none; }
}
@media (max-width: 699px) { .v-estrela { width: 100px; height: 100px; font-size: 11.5px; } .v-estrela b { font-size: 25px; } }
.hero .col { z-index: 3; }
.hero .v-caps { z-index: 1; }

/* ─── leque interativo (Dr., 01/10/2026): o cursor parado ou o dedo na foto para a roda e destaca a foto ─── */
.v-roda figure { cursor: pointer; transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s, opacity .35s, box-shadow .35s; }
.v-leque:hover .v-roda, .v-leque.parado .v-roda { animation-play-state: paused; }
@media (hover: hover) {
  .v-roda figure:hover { transform: rotate(calc(var(--i) * 15deg)) translateY(-430px) scale(1.22) translateY(-14px); z-index: 5; box-shadow: 0 26px 40px -16px rgba(8,18,20,.75); }
  .v-leque:hover .v-roda figure:not(:hover) { filter: saturate(.75); opacity: .8; }
}
.v-roda figure.ativa { transform: rotate(calc(var(--i) * 15deg)) translateY(-430px) scale(1.22) translateY(-14px); z-index: 5; box-shadow: 0 26px 40px -16px rgba(8,18,20,.75); border-color: var(--sol); }
.v-leque.parado .v-roda figure:not(.ativa) { filter: saturate(.7); opacity: .75; }
.v-leque { -webkit-tap-highlight-color: transparent; }
@media (min-width: 700px) {
  .v-roda figure.ativa, .v-roda figure:hover { transform: rotate(calc(var(--i) * 15deg)) translateY(-720px) scale(1.18) translateY(-16px); }
}

/* ─── o que vende (referências mundiais + Ladeira, 01/10/2026) ─── */
.v-dia { flex-basis: 100%; font: 600 14px/1.2 'Manrope', sans-serif; color: var(--sol); margin-top: -2px; }
.oferta .v-dia { color: var(--verde); }
.v-garantia { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; margin: 4px 0 12px; padding: 14px 16px;
  border-radius: 20px; background: linear-gradient(135deg, #FFF9E3 0%, #FFF1BF 100%); border: 2px solid #081214; box-shadow: var(--pop); }
.v-garantia b { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--sol);
  font: 500 30px/1 'Newsreader', Georgia, serif; color: #081214; text-align: center; }
.v-garantia b small { display: block; font-size: 12px; font-weight: 600; margin-top: -10px; }
.v-garantia span { font-size: 14.5px; line-height: 1.4; color: #2A2A1E; }
.v-garantia strong { display: block; font-size: 16px; color: #081214; }
.v-sem-auto { text-align: center; font-size: 13.5px; color: var(--suave); margin: 0 0 14px; }
.v-nota-estudo { font-size: 12.5px; color: var(--fraco); margin: -6px 0 14px; }

/* ─── movimento que DEMONSTRA (Ladeira): a régua acende o nível ótimo; a linha dos 2 meses se enche ─── */
@supports (animation-timeline: view()) {
  .regua .regua-normal { animation: v-apaga linear both; animation-timeline: view(); animation-range: entry 70% cover 45%; }
  @keyframes v-apaga { to { opacity: .35; } }
  .regua .otimo { animation: v-acende linear both; animation-timeline: view(); animation-range: entry 70% cover 45%; }
  @keyframes v-acende { from { filter: saturate(.25); } to { filter: none; box-shadow: 0 0 0 3px #fff, 0 0 0 9px rgba(31,169,113,.3); } }
  .linha::before { transform-origin: top; animation: v-enche linear both; animation-timeline: view(); animation-range: entry 30% cover 65%; }
  @keyframes v-enche { from { transform: scaleY(.04); } }
}
@media (prefers-reduced-motion: reduce) { .regua .z, .linha::before { animation: none !important; } }

/* Botão-cápsula no celular estreito: o texto quebra em 2 linhas em vez de ser cortado nas pontas
   (varredura de 01/10/2026: "Quero meu pedido de exame · R$ 97" estourava a 360–390 px). */
@media (max-width: 440px) {
  .btn { white-space: normal; text-align: center; line-height: 1.2; padding-left: 28px; padding-right: 28px; }
  .btn svg { display: none; }
}


/* ═══════════════ TOM ADULTO (Dr., 02/10/2026) ═══════════════
   "Essa fonte dá um ar infantil. Usuários de GLP1 são pacientes premium… Analise friamente o site da Bioniq."
   A Bioniq (leitura do site, 02/10): uma só família de letra, azul-marinho sobre branco, UM acento (laranja, só no botão),
   foto sem saturação, cartão com borda fina, sem degradê, sem contorno preto, sem selo, sem inclinação.
   Esta camada vem por último de propósito: apagar o bloco devolve o visual alegre de 01/10. */
:root {
  --pop: 0 1px 2px rgba(8,18,20,.06), 0 14px 30px -18px rgba(8,18,20,.35);
  --grad-sol: linear-gradient(135deg, #E4EFE4 0%, #F3EBD2 100%);
  --ouro-claro: #E3C58E;
  --areia: #F3ECDD;
}
h2 { font-weight: 500; letter-spacing: -.018em; }
.numeros strong, .preco strong, .preco-dobra strong, .forma strong, .estudos b, .b-num, .num { font-weight: 500; }
.hero { background: radial-gradient(60% 40% at 85% 8%, rgba(200,165,110,.14), transparent 70%),
                    radial-gradient(70% 50% at 0 30%, rgba(31,169,113,.18), transparent 70%), var(--ink); }
.hero h1 mark, .inst-hero h1 mark, .cc-hero h1 mark { color: var(--ouro-claro); }
.v-dia { color: var(--ouro-claro); font-weight: 500; }
.oferta .v-dia { color: var(--verde); }

/* selo do topo: círculo fino, ouro sobre tinta — sem estrela serrilhada e sem girar */
.v-estrela { width: 104px; height: 104px; color: #F6F1E9; font: 600 10px/1.25 'Manrope', sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.v-estrela::before { clip-path: none; border-radius: 50%; animation: none; filter: none;
  background: radial-gradient(circle at 30% 22%, #1A3A31, #0B1F1A);
  box-shadow: inset 0 0 0 1px rgba(200,165,110,.9), inset 0 0 0 5px #0B1F1A, inset 0 0 0 6px rgba(200,165,110,.35), 0 16px 30px -16px rgba(0,0,0,.7); }
.v-estrela span { transform: none; }
.v-estrela b { font: 500 25px/1 'Newsreader', Georgia, serif; letter-spacing: .02em; text-transform: none; color: var(--ouro-claro); margin: 3px 0; }
@media (max-width: 699px) { .v-estrela { width: 90px; height: 90px; font-size: 8.5px; } .v-estrela b { font-size: 21px; } }

/* faixa de ativos: tinta com fio dourado, fichas de contorno */
.v-marq, .v-marq.verde { background: linear-gradient(135deg, #174136 0%, #000000 100%); color: #F6F1E9; border-block: 1px solid rgba(200,165,110,.35); padding: 13px 0; }
.v-trilho span { background: transparent; border: 1px solid rgba(246,241,233,.22); color: #F6F1E9; box-shadow: none; font-weight: 500; font-size: 14px; letter-spacing: .02em; padding: 7px 15px; }
.v-trilho span i { width: 6px; height: 6px; background: var(--ouro) !important; }

/* leque: verde-floresta profundo no lugar do degradê vivo */
.v-vida { background: radial-gradient(120% 90% at 50% 0%, #14503E 0%, #0B2A21 55%, #081214 100%); color: #F6F1E9; }
.v-vida h2 { color: #F6F1E9; }
.v-vida p.v-sub { color: rgba(246,241,233,.78); }
.v-chips span { background: transparent; border: 1px solid rgba(246,241,233,.25); color: #F6F1E9; box-shadow: none; font-weight: 500; }
.v-roda figure { border: 3px solid rgba(246,241,233,.92); border-radius: 18px; }
.v-roda figure.ativa { border-color: var(--ouro); }

/* gráfico: barras em verde sóbrio */
.v-barra.otimo i { background: linear-gradient(90deg, #0F7A55, #22B07D); color: #fff; }
.v-graf-leg i[style*="grad-sol"] { background: linear-gradient(90deg, #0F7A55, #22B07D) !important; }

/* cartões: cor neutra e ouro no lugar do arco-íris; nada inclinado */
.dores p, .dores p:nth-child(even) { border-left-color: var(--ouro); transform: none; }
.prova .num, .provas .prova:nth-child(n) .num { background: linear-gradient(135deg, #FBF8F0 0%, #E5D0A0 100%); border: 1px solid rgba(200,165,110,.55); box-shadow: none; }
.bloco, .blocos .bloco:nth-child(n) { border-top: 3px solid var(--ouro); }
.at, .ativos .at:nth-child(n) { border-top: 3px solid var(--ouro); }
.v-garantia { background: linear-gradient(135deg, #FDFBF5 0%, #F7EED7 100%); border: 1px solid rgba(200,165,110,.6); box-shadow: var(--pop); }
.v-garantia b { background: var(--ouro-claro); font-weight: 500; }
body .polar, body .polar:nth-child(n) { transform: none; }
body .polar:hover { transform: translateY(-3px); }
.fato, .frase, .etapa, .perfil, .plano, .vt-card, .lado, .teste { --c: #C8A56E !important; --c2: var(--areia) !important; }
body .fato, body .frase { background: linear-gradient(135deg, #F8F2E6 0%, #EFE4CC 100%); border-color: rgba(200,165,110,.45); }
body .plano::before { background: linear-gradient(90deg, #C8A56E, #E3C58E); }
body .etapa .n { background: linear-gradient(135deg, #F6EBD2, #E9D6AD); border: 1px solid rgba(200,165,110,.55); box-shadow: none; font-weight: 500; }
body .vt-preco, body .plano .tag { background: linear-gradient(135deg, #F6EEDC, #EBDDBB); color: #5A4A28; font-weight: 600; }
body .teste { background: linear-gradient(135deg, #F3EAD3 0%, #E6D5AE 100%); }
body .lado.dr { background: linear-gradient(135deg, #E9F1E8 0%, #F3EBD2 100%); }
.v-medalhao img { border-color: var(--ouro); }
.v-medalhao text { fill: var(--ouro-claro); }
.quem-assina img { border-color: var(--ouro); }

/* a marca grande do rodapé: serifa em ouro que se apaga */
.v-marca { background: linear-gradient(180deg, rgba(227,197,142,.85), rgba(200,165,110,.16)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 500; letter-spacing: -.03em; }

/* O logo de verdade no rodapé (não a marca digitada): a identidade é a da logo — cápsula + "VitaCerto" no desenho da marca. */
.v-marca-logo { display: block; text-align: center; margin: 30px auto 8px; }
.v-marca-logo img { width: min(380px, 70vw); height: auto; margin: 0 auto; opacity: .95; }

/* CELULAR DOBRÁVEL FECHADO (~280px): o que tem largura mínima maior que a tela se reorganiza em vez de
   empurrar a coluna para fora. Prefixo `html body` para vencer o CSS próprio de cada página. */
@media (max-width: 340px) {
  html body .anos { grid-template-columns: minmax(0, 1fr); }
  html body .anos > * { grid-column: 1 / -1; }
  html body .anos b { font-size: 64px; }
  html body .hero .assinado { white-space: normal; flex-wrap: wrap; letter-spacing: .04em; }
  html body .q-alerta { grid-template-columns: minmax(0, 1fr); }
  html body table th, html body table td { padding: 10px 6px; font-size: 12.5px; hyphens: auto; overflow-wrap: anywhere; }
}
