/* Natal Resolvido — moderno com magia de Natal
   Céu da noite do dia 24 nos topos, neve caindo, pisca-pisca no menu,
   vidro fosco, dourado brilhante e bolas de Natal como ícones. */
:root {
  --night: #0b1533;
  --night-2: #1b2f63;
  --night-bg: radial-gradient(1.4px 1.4px at 12% 22%, #fff 50%, transparent 52%),
              radial-gradient(1px 1px at 28% 68%, #fff 50%, transparent 52%),
              radial-gradient(1.6px 1.6px at 46% 14%, #ffe7a3 50%, transparent 52%),
              radial-gradient(1px 1px at 63% 42%, #fff 50%, transparent 52%),
              radial-gradient(1.3px 1.3px at 81% 18%, #fff 50%, transparent 52%),
              radial-gradient(1px 1px at 90% 64%, #ffe7a3 50%, transparent 52%),
              radial-gradient(1px 1px at 7% 82%, #fff 50%, transparent 52%),
              radial-gradient(70% 90% at 85% -10%, rgba(87, 118, 255, .35) 0%, transparent 60%),
              radial-gradient(60% 70% at 0% 110%, rgba(214, 40, 57, .22) 0%, transparent 60%),
              linear-gradient(180deg, #08112b 0%, #13265a 100%);
  --frost: #b9c6e8;
  --glass: rgba(255, 255, 255, .07);
  --glass-line: rgba(255, 255, 255, .16);
  --snow: #f4f6fb;
  --paper: #ffffff;
  --ink: #10172b;
  --muted: #5a6380;
  --line: #e1e6f0;
  --red: #d62839;
  --red-dark: #b01d2e;
  --red-soft: #fde6e8;
  --gold: #f4b740;
  --gold-hi: #ffd978;
  --gold-deep: #c98d1c;
  --gold-soft: #fff3d6;
  --gold-ink: #6e4b00;
  --pine: #0f6b4f;
  --pine-dark: #0a4d39;
  --pine-soft: #e0f3eb;
  --blue: #3f63e0;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(16, 23, 43, .04), 0 12px 32px -14px rgba(16, 23, 43, .22);
  --shadow-hi: 0 2px 4px rgba(16, 23, 43, .05), 0 24px 48px -18px rgba(16, 23, 43, .32);
  --font-title: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--snow); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--red-dark); }
h1, h2 { font-family: var(--font-title); font-weight: 800; line-height: 1.02; margin: 0 0 .4em; letter-spacing: -.035em; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(2.4rem, 8.4vw, 5rem); overflow-wrap: break-word; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
h3 { font-family: var(--font-title); font-weight: 700; font-size: 1.25rem; line-height: 1.2; margin: 0 0 .35em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.gold {
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-hi) 25%, #fff3c4 40%, var(--gold-hi) 55%, var(--gold) 80%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -220% center; } }
.hand { font-family: var(--font-body); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); line-height: 1.3; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 740px; }

/* ---------- Topo com pisca-pisca ---------- */
.site-header { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(16, 23, 43, .06); position: sticky; top: 0; z-index: 30; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.site-header::before, .site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -20px; height: 26px; pointer-events: none;
  background-repeat: repeat-x; background-size: 120px 26px;
}
.site-header::before { background-image: url("/assets/lights-a.svg"); animation: blinkA 1.8s steps(1, end) infinite; }
.site-header::after { background-image: url("/assets/lights-b.svg"); animation: blinkB 1.8s steps(1, end) infinite; }
@keyframes blinkA { 0% { opacity: 1; filter: drop-shadow(0 2px 5px rgba(255, 200, 80, .95)); } 50% { opacity: .3; filter: none; } }
@keyframes blinkB { 0% { opacity: .3; filter: none; } 50% { opacity: 1; filter: drop-shadow(0 2px 5px rgba(120, 200, 255, .95)); } }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-title); font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; line-height: 1; }
.logo img { width: 34px; height: 34px; }
.logo span em { font-style: normal; color: var(--red); }
.nav { display: flex; gap: 6px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .94rem; padding: 8px 14px; border-radius: 999px; transition: background-color .15s; }
.nav a:hover { background: #eef1f8; }
@media (max-width: 720px) { .nav { display: none; } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 1rem var(--font-body); text-decoration: none; letter-spacing: -.005em;
  transition: transform .18s, box-shadow .18s, filter .18s, background-color .18s, border-color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, #e83a4c, var(--red)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -10px rgba(214, 40, 57, .75); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-gold, .btn-candy { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 32px -10px rgba(244, 183, 64, .7); }
.btn-gold:hover, .btn-candy:hover { filter: brightness(1.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 16px 40px -10px rgba(244, 183, 64, .9); }
.btn-green { background: linear-gradient(180deg, #13825f, var(--pine)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 24px -12px rgba(15, 107, 79, .8); }
.btn-ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 23, 43, .05); }
.btn-ghost:hover { border-color: #c5cddd; }
.btn-wa { background: linear-gradient(180deg, #25b363, #1f9d55); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 24px -12px rgba(31, 157, 85, .8); }
.btn-small { padding: 10px 17px; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* ---------- Bandas de noite (topos) ---------- */
.hero, .tool-hero, .as-hero, .reveal { position: relative; isolation: isolate; color: #fff; }
.hero { background: var(--night-bg); padding: 84px 0 120px; overflow: hidden; }
.tool-hero, .as-hero, .reveal { padding: 56px 0 84px; margin-bottom: 30px; }
.tool-hero::before, .as-hero::before, .reveal::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw; z-index: -2; background: var(--night-bg);
}
/* colina de neve no fim do céu */
.hero::after, .tool-hero::after, .as-hero::after, .reveal::after {
  content: ""; position: absolute; bottom: -1px; left: calc(50% - 50vw); width: 100vw; height: 46px; z-index: 1; pointer-events: none;
  background: radial-gradient(75% 46px at 50% 100%, var(--snow) 97%, transparent 100%);
}
.hero h1, .tool-hero h1, .as-hero h1, .reveal h1 { color: #fff; }
.hero p.lead, .tool-hero p.lead, .as-hero p.lead, .reveal p { color: var(--frost); }
.hero p.lead { font-size: 1.2rem; max-width: 40ch; }
.tool-hero p.lead, .as-hero p.lead { font-size: 1.12rem; max-width: 52ch; }
.hero .btn-ghost, .tool-hero .btn-ghost, .as-hero .btn-ghost, .reveal .btn-ghost {
  background: rgba(255, 255, 255, .08); color: #fff; border-color: var(--glass-line); box-shadow: none;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-art { justify-self: center; width: min(420px, 100%); }
@media (max-width: 880px) {
  .hero { padding: 48px 0 96px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
}
.hero-art.hero-gift { width: min(300px, 100%); animation: float 4s ease-in-out infinite; filter: drop-shadow(0 24px 40px rgba(244, 183, 64, .3)); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@media (max-width: 880px) { .hero-art.hero-gift { width: 150px; justify-self: start; order: -1; } }
.snowfall { position: absolute; top: 0; height: 100%; left: calc(50% - 50vw); width: 100vw; z-index: -1; pointer-events: none; }
.hero .snowfall { left: 0; width: 100%; z-index: 1; }
.hero-moon { position: absolute; top: 8px; left: calc(50% + 10px); width: 300px; z-index: 0; pointer-events: none; }
@media (max-width: 880px) { .hero-moon { width: 210px; top: 6px; left: auto; right: -40px; opacity: .75; } }

/* Lista do Natal (checklist de vidro no topo da home) */
.xlist {
  position: relative; width: 100%; max-width: 440px; justify-self: end; padding: 24px 22px 14px; border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05));
  border: 1px solid var(--glass-line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .15);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); z-index: 2;
}
.xlist-ornament { position: absolute; top: -46px; right: 30px; width: 56px; height: 56px; transform-origin: 50% 0; animation: sway 5s ease-in-out infinite; filter: drop-shadow(0 8px 14px rgba(214, 40, 57, .45)); }
@keyframes sway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
.xlist-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 4px 10px; }
.xlist-head span:first-child { font-family: var(--font-title); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.xlist-count { font-size: .85rem; font-weight: 700; color: var(--gold-hi); }
.xlist-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .12); margin: 0 4px 12px; overflow: hidden; }
.xlist-bar > div { height: 100%; width: 16.6%; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); box-shadow: 0 0 12px rgba(244, 183, 64, .7); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.xlist ul { list-style: none; margin: 0; padding: 0; }
.xlist li > a, .xlist li.done { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 14px; color: #fff; text-decoration: none; font-weight: 600; }
.xlist li > a { transition: background-color .15s; }
.xlist li > a:hover { background: rgba(255, 255, 255, .08); }
.xlist .txt { flex: 1; min-width: 0; }
.xlist .box { width: 24px; height: 24px; flex: none; border-radius: 8px; border: 2px solid rgba(255, 255, 255, .35); position: relative; transition: background-color .2s, border-color .2s; }
.xlist .box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2.6px 2.6px 0; transform: rotate(45deg) scale(0); transition: transform .25s cubic-bezier(.2, 1.6, .5, 1); }
.xlist li > a:hover .box { border-color: var(--gold); }
.xlist li.done .box { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 14px rgba(244, 183, 64, .6); }
.xlist li.done .box::after { transform: rotate(45deg) scale(1); }
.xlist li.done .txt { color: var(--frost); text-decoration: line-through; text-decoration-color: rgba(244, 183, 64, .8); text-decoration-thickness: 2px; }
.xlist .pill { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--frost); }
.xlist li.magic .pill { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--ink); }
.xlist li.magic .txt { color: var(--gold-hi); }
@media (max-width: 880px) { .xlist { justify-self: stretch; max-width: none; } }

/* etiqueta de vidro com brilho */
.tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 7px 14px 7px 11px; border-radius: 999px;
  font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi);
  background: rgba(244, 183, 64, .12); border: 1px solid rgba(244, 183, 64, .32);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(244, 183, 64, .2), 0 0 12px var(--gold); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(244, 183, 64, 0), 0 0 18px var(--gold); } }
.countdown { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; color: var(--frost); font-weight: 600; font-size: .95rem; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); }
.countdown strong { font-family: var(--font-title); font-weight: 800; font-size: 1.05rem; color: var(--ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border-radius: 999px; padding: 4px 11px; letter-spacing: -.02em; }

/* ---------- Seções ---------- */
section { padding: 76px 0; }
.section-head { max-width: 680px; margin-bottom: 34px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head .hand { display: block; margin: 0 0 12px; color: var(--red); }
.band-green .section-head .hand { color: var(--gold-hi); }
.band-green {
  color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(60% 80% at 100% 0%, rgba(244, 183, 64, .18), transparent 60%),
              radial-gradient(70% 90% at 0% 100%, rgba(255, 255, 255, .08), transparent 60%),
              linear-gradient(160deg, #0f6b4f, #0a4d39);
}
.band-green h2 { color: #fff; }
.band-green .section-head p { color: #cfe8dd; }
.band-green .hand { color: var(--gold-hi); }
.band-paper { background: var(--paper); }

/* ---------- Cards e bolas de Natal ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(min(196px, 100%), 1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px;
  text-decoration: none; color: inherit; position: relative; transition: transform .22s, box-shadow .22s, border-color .22s;
}
.card p { color: var(--muted); margin: 0; font-size: .97rem; line-height: 1.55; }
.card .card-foot { margin-top: auto; padding-top: 14px; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hi); border-color: #d4dbe8; }
a.card:hover .bauble { animation: swing .9s ease-in-out; }
.band-green .card, .band-green .panel { color: var(--ink); }
.card .badge { position: absolute; top: 18px; right: 18px; }
.card .go { font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; }
.card .go::after { content: "→"; transition: transform .2s; }
a.card:hover .go::after { transform: translateX(4px); }
.card .emoji { font-size: 2rem; line-height: 1; margin-bottom: 4px; }

.bauble {
  --b: var(--red);
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; flex: none;
  position: relative; margin: 14px 0 8px; color: #fff; font-size: 1.5rem; line-height: 1;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .55) 0 10%, transparent 34%), var(--b);
  box-shadow: inset -5px -7px 12px rgba(0, 0, 0, .14), 0 8px 18px -8px var(--b); transform-origin: 50% -16px;
}
.bauble::before { content: ""; position: absolute; top: -8px; left: 50%; width: 17px; height: 9px; transform: translateX(-50%); background: linear-gradient(180deg, var(--gold-hi), var(--gold-deep)); border-radius: 3px 3px 2px 2px; }
.bauble::after { content: ""; position: absolute; top: -16px; left: 50%; width: 9px; height: 9px; transform: translateX(-50%); border: 2px solid #b9c3d6; border-radius: 50%; }
.bauble .ic { width: 26px; height: 26px; position: relative; }
.b-red { --b: var(--red); }
.b-gold { --b: var(--gold); color: var(--ink); }
.b-pine { --b: var(--pine); }
.b-blue { --b: var(--blue); }
.b-night { --b: var(--night-2); }
@keyframes swing { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(8deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(3deg); } }

.badge { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.badge-live { background: var(--pine-soft); color: var(--pine); }
.badge-soon { background: #eef1f7; color: var(--muted); }
.price { font-family: var(--font-title); font-weight: 800; color: var(--ink); font-size: 1.5rem; letter-spacing: -.03em; }

/* ---------- Formulários ---------- */
label { display: block; font-weight: 700; margin-bottom: 7px; font-size: .94rem; }
.hint { font-weight: 500; color: var(--muted); font-size: .88rem; }
input[type=text], input[type=email], input[type=date], input[type=password], input[type=tel], textarea, select {
  width: 100%; padding: 14px 16px; border: 1px solid #d5dce8; border-radius: 14px; background: #fff;
  font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--night-2); box-shadow: 0 0 0 4px rgba(244, 183, 64, .3); }
textarea { min-height: 96px; resize: vertical; }
.field { margin-bottom: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .92rem; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--red); width: 18px; height: 18px; flex: none; }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
@media (max-width: 560px) { .panel { padding: 22px; border-radius: 20px; } }

.alert { padding: 13px 16px; border-radius: 14px; font-size: .95rem; margin-bottom: 16px; }
.alert-error { background: var(--red-soft); color: var(--red-dark); }
.alert-ok { background: var(--pine-soft); color: var(--pine-dark); }
.alert-info { background: var(--gold-soft); color: var(--gold-ink); }
[hidden] { display: none !important; }

/* ---------- Avisos ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(160%); background: var(--night); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; transition: transform .25s; z-index: 50; max-width: calc(100% - 32px); text-align: center; box-shadow: 0 14px 34px rgba(0, 0, 0, .28); }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Rodapé ---------- */
.site-footer { padding: 40px 0 48px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); background: var(--paper); margin-top: 24px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; align-items: center; }
.site-footer .wrap::after { content: "Feito com magia no Polo Norte · filial Brasil"; font-weight: 600; color: var(--ink); order: -1; flex-basis: 100%; }
.site-footer a { color: var(--muted); }

/* ---------- Chamada cruzada ---------- */
.promo { display: flex; gap: 18px; align-items: center; background: var(--night-bg); color: #fff; border-radius: var(--radius); padding: 22px 26px; text-decoration: none; position: relative; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.promo:hover { transform: translateY(-2px); box-shadow: var(--shadow-hi); }
.promo .bauble { margin: 10px 0 0; }
.promo b { display: block; font-family: var(--font-title); font-weight: 800; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 4px; }
.promo span { color: var(--frost); font-size: .97rem; }
.promo:hover b { color: var(--gold-hi); }
.promo .emoji { font-size: 2.2rem; }
.snow { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .site-header::before, .site-header::after { opacity: 1; }
}
