/* Identidade Papai Acha: marinho, creme, menta, coral e ouro (do banner e do mascote) */
:root {
  --navy: #0c1d55; --navy-2: #15296f; --cream: #fbf0dc; --mint: #9ef5c0; --mint-2: #74e7a6;
  --coral: #f2594b; --gold: #f6b62d; --muted: #5d6685; --line: #e8dcc4; --r: 18px;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font: 17px/1.55 var(--font); color: var(--navy); background: var(--cream); padding-bottom: 92px; overflow-x: hidden; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
img { display: block; max-width: 100%; }

/* Topo e hero em marinho */
.stage { background: var(--navy); color: var(--cream); position: relative; overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%;
  background: radial-gradient(closest-side, rgba(158,245,192,.18), transparent); pointer-events: none; }
.top { padding: 16px 0; position: relative; z-index: 2; }
.logo { font: 900 22px/1 var(--font); letter-spacing: -.03em; color: var(--cream); }
.logo span { color: var(--mint); }

.hero { position: relative; z-index: 1; display: grid; gap: 6px; padding: 0 0 40px; text-align: center; }
.hero-art { position: relative; width: 230px; height: 230px; margin: 0 auto; }
.mascot { width: 100%; height: 100%; border-radius: 50%; border: 5px solid var(--cream);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); animation: bob 4s ease-in-out infinite; }
/* Moedas, cupons e brilhos voando em volta do Papai (como no banner) */
.fx { position: absolute; pointer-events: none; animation: float 5s ease-in-out infinite; }
.coin { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffd76a, var(--gold) 60%, #d18f10);
  border: 3px solid #b77a0a; color: #8a5a00; font: 900 13px/40px var(--font); text-align: center; }
.ticket { width: 62px; height: 40px; background: var(--coral); color: var(--cream); font: 900 22px/40px var(--font); text-align: center;
  border-radius: 6px; -webkit-mask: radial-gradient(circle 6px at 0 50%, transparent 98%, #000) , radial-gradient(circle 6px at 100% 50%, transparent 98%, #000);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.ticket.cream { background: var(--cream); color: var(--coral); }
.spark { width: 34px; height: 34px; }
.f1 { left: -46px; top: 70px; transform: rotate(-14deg); }
.f2 { right: -52px; top: 34px; animation-delay: -1.6s; transform: rotate(12deg); }
.f3 { left: -30px; bottom: 6px; animation-delay: -3s; }
.f4 { right: -38px; bottom: 14px; animation-delay: -2.2s; transform: rotate(-8deg); }
.f5 { left: 4px; top: -16px; animation-delay: -.8s; }
.f6 { right: 0; top: -14px; animation-delay: -2.6s; transform: scaleX(-1); }

.tag { display: inline-flex; align-items: center; gap: 8px; margin: 22px auto 14px; padding: 8px 14px; border-radius: 99px;
  background: rgba(158,245,192,.14); color: var(--mint); font: 700 13px/1 var(--font); letter-spacing: .02em; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: blip 1.6s ease-in-out infinite; }
h1 { font: 900 clamp(36px, 9.6vw, 64px)/1.02 var(--font); letter-spacing: -.035em; margin-bottom: 14px; text-wrap: balance; }
h1 mark, h2 mark { background: none; color: var(--mint); }
.sub { font-size: 18px; color: rgba(251,240,220,.8); max-width: 30em; margin: 0 auto 24px; text-wrap: pretty; }
.note { font-size: 14px; color: rgba(251,240,220,.65); margin-top: 12px; }

/* Botão principal */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 62px; padding: 0 30px;
  border-radius: 99px; text-decoration: none; font: 800 19px/1 var(--font); background: var(--mint); color: var(--navy);
  box-shadow: 0 6px 0 var(--mint-2), 0 18px 30px -14px rgba(158,245,192,.7);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease; }
.cta::after { content: "→"; transition: transform .2s ease; }
.cta:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 8px 0 var(--mint-2), 0 22px 34px -14px rgba(158,245,192,.8); }
.cta:hover::after { transform: translateX(4px); }
.cta:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--mint-2); }
.cta:focus-visible { outline: 3px solid var(--cream); outline-offset: 4px; }
.hero .cta { width: 100%; max-width: 440px; padding: 0 18px; font-size: clamp(16px, 4.5vw, 19px); }

/* Lojas */
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.stores span { font: 700 13px/1 var(--font); padding: 8px 12px; border-radius: 99px; border: 1px solid rgba(251,240,220,.2); color: rgba(251,240,220,.85); }
.stores .stores-label { width: 100%; border: 0; padding: 0; font-weight: 400; color: rgba(251,240,220,.6); }

/* Variação B: ultracurta, uma tela só (sem barra fixa: o botão já está na tela) */
.solo-page { padding-bottom: 0; }
.solo { min-height: 100svh; display: flex; flex-direction: column; }
.solo-hero { flex: 1; display: grid; align-content: center; justify-items: center; text-align: center; gap: 4px; padding-bottom: 20px; }
.solo .hero-art { width: 170px; height: 170px; }
.solo .fx { scale: .75; }
.solo .tag { margin-top: 16px; }
.solo h1 { font-size: clamp(34px, 8.6vw, 60px); }
.solo .sub { margin-bottom: 20px; }
.solo .cta { width: 100%; max-width: 440px; }
.solo .stores { justify-content: center; }
.trust { margin-top: 16px; font-size: 14px; color: rgba(251,240,220,.75); }
.solo footer { padding-bottom: 18px; }

/* Variação C: o grupo primeiro */
.cf-hero { display: grid; justify-items: center; text-align: center; gap: 14px; padding-bottom: 40px; }
.cf-hero h1 { font-size: clamp(28px, 7.4vw, 52px); margin: 4px 0 0; }
.chat-first .phone { box-shadow: 0 0 0 2px rgba(158,245,192,.4), 0 30px 60px -20px rgba(0,0,0,.6); background: #050d2b; }
.chat-first .chat { height: 330px; }
.chat-first .screen { color: var(--navy); text-align: left; }
.chat-first .chat-pause { color: rgba(251,240,220,.7); }
.chat-first .chat-pause:hover { background: rgba(255,255,255,.08); color: var(--cream); }
.cf-cta { width: 100%; max-width: 440px; }
.cf-cta .cta { width: 100%; }
.cf-cta .stores { justify-content: center; }

/* Faixa "Ofertas que já passaram no grupo" (só na variação A, para teste) */
.deals-wrap { padding: 48px 0 8px; }
.deals-wrap h2 { margin-bottom: 20px; }
.deals-wrap h2 mark { background: none; color: var(--coral); }
.deals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.deals figure { position: relative; margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: #e9dfca; }
.deals img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.deals figure:hover img { transform: scale(1.03); }
.ptag { position: absolute; left: 8px; bottom: 8px; background: #ffe14d; color: #e8202a; border: 3px solid #fff; border-radius: 12px;
  padding: 4px 10px 6px; font: 900 22px/1 var(--font); transform: rotate(-3deg); box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.ptag small { display: block; color: #111; font: 800 12px/1.3 var(--font); }
.ptag s { color: #666; font-weight: 700; }
@media (min-width: 900px) { .deals { grid-template-columns: repeat(4, 1fr); gap: 14px; } .ptag { font-size: 26px; } }

/* Seções em creme */
.block { padding: 64px 0; }
h2 { font: 900 clamp(30px, 7vw, 48px)/1.04 var(--font); letter-spacing: -.035em; margin-bottom: 26px; text-wrap: balance; }
.block h2 mark { color: var(--coral); }
.show { display: grid; gap: 40px; align-items: center; }

/* Celular com o grupo */
.phone-wrap { display: grid; justify-items: center; gap: 8px; }
.phone { width: min(330px, 100%); border-radius: 38px; background: var(--navy); padding: 10px; box-shadow: 0 30px 60px -28px rgba(12,29,85,.55); }
.screen { border-radius: 30px; overflow: hidden; background: #eef1f6; }
.chat-head { display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: #fff; border-bottom: 1px solid #e3e6ee; }
.chat-head img { width: 40px; height: 40px; border-radius: 50%; }
.chat-head b { display: block; font: 800 15px/1.2 var(--font); }
.chat-head small { color: var(--muted); font-size: 12px; }
.chat { height: 420px; padding: 14px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; }
.chat > * { display: none; }
.chat > .in { display: block; animation: pop .35s cubic-bezier(.2,.9,.3,1.25) both; }
.msg { background: #fff; border-radius: 4px 14px 14px 14px; padding: 9px 12px; font-size: 14px; line-height: 1.4; max-width: 86%; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.msg.me { align-self: flex-end; background: #d9fbe6; border-radius: 14px 4px 14px 14px; }
.offer { background: #fff; border-radius: 4px 14px 14px 14px; padding: 10px; max-width: 92%; font-size: 13px; line-height: 1.35; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.chat > .offer.in { display: grid; grid-template-columns: 60px 1fr; gap: 10px; }
.thumb { width: 60px; height: 60px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; font-size: 32px; }
.offer b { display: block; font-weight: 800; }
.store { font-size: 11px; color: var(--muted); }
.price { display: flex; gap: 8px; align-items: baseline; margin-top: 3px; }
.price s { color: var(--muted); text-decoration: none; position: relative; }
.price s::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: left; }
.offer.in .price s::after { animation: strike .4s .5s ease-out forwards; }
.price strong { font: 900 18px/1 var(--font); color: #0a8a47; }
.offer.in .price strong { display: inline-block; animation: bump .45s .9s ease-out both; }
.go { display: block; margin-top: 4px; color: #1f5bd6; font-size: 12px; }
.chat > .typing { display: flex; gap: 4px; background: #fff; border-radius: 4px 14px 14px 14px; padding: 12px 14px; width: 62px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa3b5; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.chat-pause { min-height: 44px; padding: 0 16px; border: 0; background: none; color: var(--muted); font: 600 13px/1 var(--font); cursor: pointer; border-radius: 99px; }
.chat-pause:hover { background: #f3e6cc; color: var(--navy); }
.chat-pause:focus-visible { outline: 2px solid var(--navy); }

/* Cards de benefício */
.cards { display: grid; gap: 12px; }
.card { background: #fff; border-radius: var(--r); padding: 20px 20px 20px 76px; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -20px rgba(12,29,85,.45); }
.card .ico { position: absolute; left: 18px; top: 18px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: var(--cream); }
.card h3 { font: 800 19px/1.25 var(--font); margin-bottom: 4px; }
.card p { color: var(--muted); font-size: 16px; }

.steps { list-style: none; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; font-size: 18px; font-weight: 600; }
.steps li::before { content: counter(s); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--mint); font: 900 22px/1 var(--font); }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { font: 800 18px/1.3 var(--font); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 900 26px/1 var(--font); color: var(--coral); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 8px; }

/* Faixa final com o slogan */
.band { text-align: center; padding: 72px 0 80px; }
.band h2 { font-size: clamp(40px, 10.5vw, 80px); color: var(--cream); margin-bottom: 28px; }
.band em { font-style: normal; color: var(--mint); position: relative; white-space: nowrap; }
.band em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .08em; border-radius: 99px; background: var(--coral);
  transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.band.seen em::after { transform: scaleX(1); }
.band .mini { width: 84px; height: 84px; border-radius: 50%; border: 4px solid var(--cream); margin: 0 auto 20px; }

.vanish { display: inline-block; animation: vanish 2.4s 1.2s ease-in-out both; }

footer { font-size: 13px; color: rgba(251,240,220,.6); padding: 0 0 32px; text-align: center; position: relative; z-index: 1; }

.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: rgba(12,29,85,.94); backdrop-filter: blur(10px); }
.sticky .cta { width: 100%; min-height: 54px; font-size: 17px; }

/* Entrada do hero, uma vez */
[data-enter] > * { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
[data-enter] > :nth-child(2) { animation-delay: .1s; }
[data-enter] > :nth-child(3) { animation-delay: .2s; }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes float { 50% { translate: 0 -10px; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.95); } }
@keyframes strike { to { transform: scaleX(1); } }
@keyframes bump { 50% { transform: scale(1.2); } }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes blip { 50% { opacity: .3; } }
@keyframes vanish { 0%, 100% { opacity: 1; filter: none; } 40%, 55% { opacity: .06; filter: blur(6px); } }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky { display: none; }
  .hero { grid-template-columns: 1.15fr .85fr; text-align: left; align-items: center; padding: 30px 0 90px; min-height: calc(100vh - 60px); }
  .hero .hero-copy { order: -1; }
  .hero .hero-art { width: 340px; height: 340px; }
  .hero .tag, .hero .sub { margin-left: 0; }
  .hero .cta { width: auto; }
  .stores { justify-content: flex-start; }
  .show { grid-template-columns: .9fr 1.1fr; gap: 72px; }
  .block { padding: 96px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .price s::after, .band em::after { transform: scaleX(1); }
}
