/* Layout: coluna única, logo no topo, oferta em destaque, cartões de serviço com foto, barra fixa de WhatsApp. Marca em um só tema (creme + vinho). */
:root {
  color-scheme: light;
  --bg: #FBF5F1;
  --blush: #F2E4DF;
  --rose: #D3A99C;
  --wine: #7B3A4E;
  --wine-dark: #5A2639;
  --ink: #3A1F29;
  --muted: #7A5B63;
  --white: #FFFFFF;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; margin: 0;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0 100px;
}
.wrap { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; }
.top img { width: 210px; max-width: 60%; height: auto; display: block; }
.pill { background: var(--wine); color: #fff; font-weight: 500; font-size: .85rem; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
h1 { font-weight: 700; font-size: clamp(2rem, 8vw, 2.9rem); line-height: 1.08; letter-spacing: -.02em; color: var(--wine); margin: 0 0 12px; text-wrap: balance; }
h2 { font-weight: 700; font-size: 1.4rem; color: var(--wine); margin: 0 0 16px; text-wrap: balance; }
h3 { font-weight: 700; font-size: 1.25rem; color: var(--wine); margin: 0; }
p { margin: 0; color: var(--muted); }
.hero p { font-size: 1.05rem; margin-bottom: 20px; max-width: 46ch; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px;
  background: var(--wine); color: #fff; text-decoration: none; font-weight: 600; font-size: 1.02rem;
  padding: 15px 20px; border-radius: 16px; box-shadow: 0 6px 16px rgba(123,58,78,.28); transition: background .15s, transform .15s;
}
.btn:hover { background: var(--wine-dark); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn.sm { min-height: 48px; font-size: .95rem; box-shadow: none; padding: 11px 16px; }
.offer { background: linear-gradient(160deg, #5A2639, #3E1A29); color: #fff; border-radius: 22px; padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; }
.offer .tag { align-self: flex-start; background: var(--rose); color: var(--wine-dark); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.offer h2 { color: #fff; margin: 0; font-size: 1.15rem; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price small { font-size: 1.1rem; font-weight: 500; color: var(--blush); }
.price b { font-size: clamp(3rem, 14vw, 4.2rem); line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.price span { font-size: 1.1rem; font-weight: 600; }
.offer .alt { background: var(--bg); color: var(--wine-dark); border-radius: 14px; padding: 12px 16px; font-weight: 600; font-size: .95rem; }
.offer .alt em { font-style: normal; color: var(--wine); }
.offer .btn { background: var(--bg); color: var(--wine-dark); box-shadow: none; }
.offer .btn:hover { background: var(--blush); }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.perk { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 14px; padding: 13px 16px; font-weight: 600; font-size: .95rem; color: var(--wine); min-width: 0; }
.perk i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--rose); color: #fff; display: grid; place-items: center; font-style: normal; font-size: .8rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.card { background: var(--white); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 0 var(--blush); }
.card img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.cb { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cb p { font-size: .92rem; margin-bottom: 10px; flex: 1; }
.final { background: var(--wine); border-radius: 22px; padding: 28px 22px; color: #fff; }
.final h2 { color: #fff; }
.final p { color: var(--blush); margin-bottom: 18px; }
.final .btn { background: var(--bg); color: var(--wine-dark); box-shadow: none; }
.final .btn:hover { background: var(--blush); }
.foot { font-size: .82rem; color: var(--muted); padding-bottom: 8px; display: flex; flex-direction: column; gap: 4px; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--bg); border-top: 1px solid var(--blush);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.bar .btn { max-width: 720px; margin: 0 auto; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ================= ANIMAÇÕES (leves, só CSS + um JS pequeno) ================= */
/* Entrada suave dos blocos ao rolar. Só esconde se o JS estiver ativo (html.js),
   assim a página nunca fica em branco se o script falhar. */
.js .offer, .js .perk, .js section > h2, .js .card, .js .final, .js .foot { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .is-in { opacity: 1; transform: none; }
/* Depois de entrar, volta ao efeito rápido de hover */
.js .settled { transition: transform .25s ease, box-shadow .25s ease; transition-delay: 0s; }

/* Pulso no botão principal (anel que expande; usa só transform/opacity = leve no celular) */
.btn.pulse { position: relative; isolation: isolate; }
.btn.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  box-shadow: 0 0 0 0 rgba(123,58,78,.45); animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(123,58,78,.45); }
  70%  { box-shadow: 0 0 0 14px rgba(123,58,78,0); }
  100% { box-shadow: 0 0 0 0 rgba(123,58,78,0); }
}
/* A barra fixa só pulsa depois que o botão do topo sai da tela (evita dois pulsando juntos) */
.bar .btn.pulse::after { animation-play-state: paused; opacity: 0; }
.bar.live .btn.pulse::after { animation-play-state: running; opacity: 1; }

/* Cartões: leve elevação e zoom da foto ao passar o mouse (só em quem tem mouse) */
.card { transition: transform .25s ease, box-shadow .25s ease; }
.card img { transition: transform .5s ease; }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(123,58,78,.14); }
  .card:hover img { transform: scale(1.04); }
  .perk { transition: transform .2s ease; }
  .perk:hover { transform: translateX(3px); }
}

/* Preço R$ 179: contador + "pop" com brilho ao aparecer */
.price b { font-variant-numeric: tabular-nums; display: inline-block; }
.price b.pop { animation: pop .6s cubic-bezier(.2,.9,.3,1.4); text-shadow: 0 0 24px rgba(211,169,156,.55); }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.08); } 100% { transform: scale(1); } }

/* Quem pediu "menos movimento" no celular/computador: tudo parado e visível */
@media (prefers-reduced-motion: reduce) {
  .btn.pulse::after, .bar.live .btn.pulse::after { animation: none; opacity: 0; }
  .card, .card img, .perk { transition: none; }
  .card:hover, .card:hover img, .perk:hover { transform: none; }
  .price b.pop { animation: none; }
}
