/* Estilo modelado na referência Alfa Kids. Cores vêm do config.js. */
:root {
  --orange: #C2510C;
  --yellow: #FFF400;
  --red: #D10A0A;
  --green: #337915;
  --mustard: #E3A13A;
  --purple: #7B3FC4;
  --faq-from: #141D51;
  --faq-to: #6E30B9;
  --ink: #111111;
  --muted: #4A4A4A;
  --beige: #F7EBD3;
  --bg: #FFFFFF;
  --footer: #F4F4F4;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.3; }
p { margin: 0 0 .8em; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
.wrap--plans { max-width: 1000px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; }
.block { padding: 36px 0; }

/* ---------- Grifos (marca-texto inline) ---------- */
mark { padding: .05em .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl   { background: var(--orange); color: #fff; }
.hl-y { background: var(--yellow); color: #000; }
.hl-r { background: var(--red); color: #fff; }

/* ---------- Logo ---------- */
.logo-area { display: flex; justify-content: center; padding: 28px 16px 4px; }
.logo-area img { width: 200px; height: auto; }
.logo-text { font-weight: 800; font-size: clamp(1.6rem, 7vw, 2.4rem); line-height: 1.1; text-align: center; letter-spacing: -.01em; }
.logo-text span { display: block; font-size: .5em; color: var(--orange); letter-spacing: .12em; }

/* ---------- Abertura ---------- */
.hero { padding-top: 16px; }
.hero h1 { font-size: clamp(1.3rem, 5.2vw, 1.85rem); font-weight: 700; line-height: 1.4; }
.hero h1 mark { font-weight: 800; }
.hero__line { font-size: 1.05rem; margin-bottom: .35em; }
.hero__line mark { font-weight: 700; }
.hero__text { margin-top: .9em; font-size: 1.02rem; }
.media { margin: 24px 0; }
.media img { margin: 0 auto; }
.ph { /* espaço reservado para imagem real */
  aspect-ratio: 16 / 10; max-width: 520px; margin: 0 auto; border: 2px dashed #D6D3D1; border-radius: 12px;
  background: #FAFAF9; color: #78716C; display: grid; place-items: center; text-align: center; padding: 16px; font-size: .85rem;
}

/* Preço de abertura */
.anchor .from { color: var(--red); margin: 0; }
.anchor .from s { color: var(--red); }
.anchor .by { font-weight: 700; margin: 0; }
.anchor .big { font-size: 2.2rem; font-weight: 800; line-height: 1.2; margin: 2px 0 14px; }
.anchor .after { margin-top: 18px; }

/* ---------- Botões ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; max-width: 440px; min-height: 56px; margin: 18px auto; padding: 14px 20px;
  font: inherit; font-weight: 700; font-size: 1.02rem; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .1s, filter .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(2px); }
.btn--green { background: var(--green); color: #fff; border-radius: 8px; box-shadow: 0 8px 22px rgba(51,121,21,.38); }
.btn--mustard { background: var(--mustard); color: #1A1A1A; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.btn[aria-disabled="true"] { background: #D6D3D1; color: #44403C; box-shadow: none; cursor: not-allowed; }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid #1D4ED8; outline-offset: 3px; }

/* ---------- Rótulos de seção ---------- */
.label { font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; }
.label--purple { color: var(--purple); letter-spacing: .03em; text-align: center; }

/* ---------- Como funciona ---------- */
.steps { display: grid; gap: 12px; }
.step { border: 3px solid var(--beige); border-radius: 6px; padding: 20px 18px; }
.step__icon { width: 92px; height: 92px; margin: 0 auto 14px; }
.step__title { font-size: 1rem; font-weight: 600; text-transform: none; margin-bottom: .3em; }
.step__title--red { color: var(--red); }
.step__sub { margin-bottom: .3em; }
.step p:last-child { margin: 0; }

/* ---------- Módulos ---------- */
.modules { display: grid; gap: 40px; }
.module__title { color: var(--orange); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em; margin-bottom: 14px; }
.module .media { margin: 0 0 14px; }
.module .media img, .bonus-card .media img { width: 100%; max-width: 380px; }
.hero .media img { width: 100%; max-width: 700px; }
.module p { margin: 0; }

/* ---------- Bônus ---------- */
.bonus-head { margin-bottom: 20px; }
.bonus-icon { width: 120px; height: 120px; margin: 4px auto 16px; }
.bonus-headline { font-weight: 600; font-size: 1.1rem; }
.bonus-list { display: grid; gap: 24px; }
.bonus-card { background: #fff; padding: 22px 18px; box-shadow: 4px 6px 0 rgba(0,0,0,.18), 0 2px 10px rgba(0,0,0,.08); border: 1px solid #E5E5E5; }
.bonus-card h3 { font-size: 1rem; margin-bottom: 8px; }
.bonus-card h3 mark { font-weight: 600; }
.bonus-card .media { margin: 16px 0 0; }

/* ---------- Depoimentos ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.testimonials img { border-radius: 16px; margin: 0 auto; }

/* ---------- Contador ---------- */
.countdown { text-align: center; margin: 4px auto 22px; }
.countdown__label { font-weight: 700; margin-bottom: 8px; }
.countdown__boxes { display: inline-flex; gap: 8px; }
.countdown__box { background: var(--ink); color: #fff; border-radius: 8px; min-width: 64px; padding: 8px 6px; }
.countdown__num { display: block; font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown__unit { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }
.countdown__ended { display: inline-block; background: #FAFAF9; border: 1px solid #E7E5E4; padding: 10px 16px; border-radius: 8px; font-weight: 700; }

/* ---------- Planos ---------- */
.plans { display: grid; gap: 28px; align-items: start; }
.plan { background: #fff; padding: 24px 18px; }
.plan--complete { order: -1; border: 3px solid #000; box-shadow: 0 14px 34px rgba(0,0,0,.12); }
.plan--basic { border: 1px solid #D9C9A8; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.plan__badge { font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.plan__name { font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; }
.plan__from { margin: 0; }
.plan--complete .plan__from, .plan--complete .plan__from s { color: var(--red); }
.plan__price { font-size: 2.4rem; font-weight: 800; line-height: 1.2; margin: 2px 0 6px; }
.plan--basic .plan__price { font-size: 1.9rem; }
.plan__price mark { padding: 0 .2em; }
.plan__list-title { font-weight: 700; margin: 14px 0 4px; }
.plan__list { list-style: none; margin: 8px 0 0; padding: 0; }
.plan__list li { position: relative; padding: 5px 0 5px 30px; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 4px; background: #2EAD4B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.plan__list li.no { color: #6B6B6B; text-decoration: line-through; }
.plan__list li.no::before { background: none; color: #E0457B; content: "✕"; font-weight: 800; font-size: 1.15rem; top: 3px; text-decoration: none; }
.trust { display: grid; gap: 12px; margin-top: 8px; border-top: 1px dashed #D6D3D1; padding-top: 16px; }
.trust__item { display: flex; gap: 12px; align-items: flex-start; }
.trust__icon { flex: 0 0 36px; width: 36px; height: 36px; }
.trust__item h4 { margin: 0; font-size: .92rem; }
.trust__item p { margin: 0; font-size: .85rem; color: var(--muted); }

/* ---------- Garantia ---------- */
.guarantee h2 { font-size: clamp(1.25rem, 5vw, 1.7rem); font-weight: 800; }
.guarantee .label { display: inline-block; margin-top: 8px; }
.guarantee p { max-width: 620px; margin-left: auto; margin-right: auto; }
.seal { width: min(260px, 70vw); margin: 22px auto 0; }

/* ---------- FAQ ---------- */
.faq-section { background: linear-gradient(135deg, var(--faq-from), var(--faq-to)); padding: 52px 0 60px; color: #fff; }
.faq-section h2 { font-size: clamp(1.4rem, 6vw, 2.1rem); font-weight: 800; margin-bottom: 28px; }
.hl--big { padding: .1em .3em; }
.faq { display: grid; gap: 14px; }
.faq details { background: var(--orange); border-radius: 8px; }
.faq summary { cursor: pointer; list-style: none; padding: 15px 44px 15px 18px; font-weight: 700; font-size: .95rem; line-height: 1.35; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 18px 16px; font-size: .95rem; }
.faq .answer p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: #6B6B6B; text-align: center; padding: 28px 16px 90px; font-size: .85rem; }
.footer p { margin: 0 0 8px; }
.footer a { color: #3B5BDB; margin: 0 6px; }

/* ---------- Pop-up ---------- */
.toast {
  position: fixed; bottom: 12px; left: 12px; z-index: 50; width: min(300px, calc(100vw - 24px));
  background: #fff; border: 1px solid #E7E5E4; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.14);
  padding: 10px 34px 10px 12px; font-size: .85rem; line-height: 1.35;
  opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; pointer-events: none;
}
.toast--right { left: auto; right: 12px; }
.toast.is-in { opacity: 1; transform: none; pointer-events: auto; }
.toast__tag { display: inline-block; font-size: .7rem; font-weight: 700; color: #92400E; background: #FEF3C7; border-radius: 4px; padding: 1px 6px; margin-bottom: 4px; }
.toast__msg { font-weight: 700; }
.toast__meta { color: var(--muted); font-size: .78rem; }
.toast__close { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; background: none; font-size: 1.1rem; color: var(--muted); cursor: pointer; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .toast, .btn { transition: none; } }

/* ---------- Pop-up de saída ---------- */
.xp { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,20,.72); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .25s; overflow-y: auto; }
.xp.is-in { opacity: 1; }
.xp__box { position: relative; width: min(440px, 100%); background: #fff; border-radius: 16px; padding: 26px 22px 20px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.4); border-top: 8px solid var(--red); transform: translateY(14px) scale(.97); transition: transform .25s; }
.xp.is-in .xp__box { transform: none; }
.xp__x { position: absolute; top: 6px; right: 8px; width: 36px; height: 36px; border: 0; background: none; font-size: 1.7rem; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 8px; }
.xp__badge { margin: 0 0 6px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; }
.xp__title { font-size: clamp(1.35rem, 6vw, 1.7rem); font-weight: 800; margin: 0 0 6px; }
.xp__sub { font-size: .95rem; margin: 0 0 12px; }
.xp__price { background: var(--beige); border-radius: 12px; padding: 12px 10px; margin: 0 0 12px; display: grid; gap: 2px; }
.xp__from { font-size: 1rem; color: var(--muted); }
.xp__from s { color: var(--red); font-weight: 700; }
.xp__to { font-size: .95rem; font-weight: 700; }
.xp__to strong { display: block; font-size: clamp(2.1rem, 11vw, 2.8rem); line-height: 1.1; color: var(--green); font-weight: 800; }
.xp__list { list-style: none; padding: 0; margin: 0 0 14px; text-align: left; display: inline-block; font-size: .92rem; }
.xp__list li { padding-left: 24px; position: relative; margin: 4px 0; }
.xp__list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.xp__cta { display: block; width: 100%; padding: 15px 12px; font-size: 1rem; text-align: center; }
.xp__no { margin-top: 10px; border: 0; background: none; color: var(--muted); font: inherit; font-size: .82rem; text-decoration: underline; cursor: pointer; padding: 8px; }
@media (prefers-reduced-motion: reduce) { .xp, .xp__box { transition: none; } }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { text-align: center; }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  body { font-size: 17px; }
  .block { padding: 48px 0; }
  .plans { grid-template-columns: 1fr 1.12fr; }
  .plan--complete { order: 0; padding: 30px 28px; }
  .plan--basic { margin-top: 32px; padding: 26px 24px; }
}

/* selo de garantia logo abaixo das ofertas */
.plans-seal { text-align: center; max-width: 520px; margin: 18px auto 0; padding: 12px 16px; background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 10px; font-size: .95rem; line-height: 1.4; }

/* barra vermelha do topo */
.topbar { background: #7A0C0C; color: #fff; text-align: center; font-weight: 800; font-size: clamp(.78rem, 3.4vw, 1rem); letter-spacing: .02em; line-height: 1.35; padding: 10px 12px; }

/* =====================================================================
   DESIGN V2 — textos centralizados + visual mais limpo e premium
   ===================================================================== */
:root { --wine: #7A0C0C; --cream: #FFF8EE; --radius: 16px; --shadow: 0 10px 30px rgba(17,17,17,.08); }

/* Centralizar tudo */
main, .hero, .module, .bonus-card, .step, .plan, .bonus-head, .label, .guarantee { text-align: center; }
.hero h1, .hero__text, .bonus-head p, .module p, .step p, .bonus-card p { margin-left: auto; margin-right: auto; max-width: 620px; }
.media img, .module .media img, .bonus-card .media img { margin-left: auto; margin-right: auto; }

/* Grifos com cantinho arredondado */
mark { border-radius: 4px; }

/* Barra do topo com leve degradê */
.topbar { background: linear-gradient(90deg, #5E0909, var(--wine), #5E0909); box-shadow: 0 2px 10px rgba(122,12,12,.35); padding: 11px 14px; }

/* Ritmo das seções: alterna fundo creme */
#como-funciona, #bonus { background: var(--cream); }
.block { padding: 44px 0; }
.label { font-size: 1.3rem; margin-bottom: 22px; }

/* Abertura */
.hero h1 { line-height: 1.45; }
.hero__text { font-size: 1.05rem; }
.anchor { text-align: center; background: #fff; border: 2px dashed #F3C9A8; border-radius: var(--radius); padding: 18px 16px 6px; max-width: 460px; margin: 0 auto; }
.anchor .big { font-size: 2.6rem; }
.anchor .big mark { padding: .05em .35em; border-radius: 8px; }

/* Como funciona */
.steps { gap: 18px; }
.step { background: #fff; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 20px; }
.step__icon { margin-bottom: 16px; }

/* Módulos em cartões */
.modules { gap: 22px; }
.module { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 18px 24px; border-top: 5px solid var(--orange); }
.module__title { font-size: 1.12rem; font-weight: 700; }
.module .media img { border-radius: 12px; }

/* Bônus */
.bonus-list { gap: 20px; }
.bonus-card { border: 0; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--purple); padding: 24px 20px; }
.bonus-card .media img { border-radius: 12px; }

/* Botões */
.btn { border-radius: 12px; letter-spacing: .02em; }
.btn--green { background: linear-gradient(180deg, #3E9119, var(--green)); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .btn--green { animation: none; } }

/* Contador na cor da barra */
.countdown { background: #FFF1F1; border: 1px solid #F5C2C2; border-radius: var(--radius); padding: 16px 12px; max-width: 460px; }
.countdown__label { color: var(--wine); }
.countdown__box { background: var(--wine); border-radius: 10px; min-width: 70px; box-shadow: 0 6px 14px rgba(122,12,12,.25); }

/* Planos */
.plan { border-radius: 20px; }
.plan--complete { border: 3px solid var(--orange); box-shadow: 0 18px 40px rgba(194,81,12,.18); }
.plan--basic { border-radius: 20px; }
.plan__badge mark, .plan__price mark { border-radius: 8px; }
.plan__list { display: inline-block; text-align: left; }
.trust { text-align: left; }
.plans-seal { border-radius: 12px; }

/* Garantia */
.guarantee { background: var(--cream); }

/* FAQ */
.faq details { border-radius: 12px; text-align: left; box-shadow: 0 4px 14px rgba(0,0,0,.18); }

/* =====================================================================
   ANIMAÇÕES LEVES (anim.js) — só com JS ativo e sem "reduzir movimento"
   ===================================================================== */
.anim-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.anim-ready .reveal.is-in { opacity: 1; transform: none; }
.hero .media img { animation: float 4.5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.countdown__num.tick { animation: tick .35s ease; }
@keyframes tick { 0% { transform: translateY(-4px); opacity: .4; } 100% { transform: none; opacity: 1; } }
.topbar { background-size: 200% 100%; animation: shine 6s linear infinite; }
@keyframes shine { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) { .hero .media img, .countdown__num.tick, .topbar { animation: none; } }

/* plano único centralizado */
.plans--single { grid-template-columns: 1fr !important; max-width: 560px; margin: 0 auto; }
.plans--single .plan--complete { margin-top: 0; }

/* Na imprensa */
.press-list { display: grid; gap: 14px; max-width: 620px; margin: 0 auto; }
.press-card { display: block; background: #fff; border-radius: var(--radius, 16px); box-shadow: 0 10px 30px rgba(17,17,17,.08); border-left: 5px solid var(--purple); padding: 16px 18px; text-decoration: none; color: var(--ink); text-align: left; }
.press-card__src { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.press-card__title { display: block; font-weight: 700; font-size: 1.02rem; line-height: 1.35; margin: 6px 0; }
.press-card__go { font-size: .85rem; font-weight: 700; color: var(--purple); }
@media (min-width: 900px) { .press-list { grid-template-columns: repeat(3, 1fr); max-width: 1000px; } }
