/* ============================================================
   NATAL ALIMENTAR 2026 - Landing page de Natal
   Paleta tirada do banner e da peça de referência:
   vermelho profundo, dourado, verde natalino e creme.
   ============================================================ */

:root {
  /* Vermelhos */
  --wine: #4A0605;
  --red-900: #6A0806;
  --red-800: #8E0D0A;
  --red-700: #A8120E;
  --red-600: #C4161C;
  --red-500: #DA1E1E;

  /* Dourados */
  --gold-200: #FFF0BF;
  --gold-300: #FFE596;
  --gold-400: #F8D16A;
  --gold-500: #F2B93B;
  --gold-600: #D99A22;
  --gold-700: #A86F0E;
  --gold-grad: linear-gradient(180deg, #FFE9A3 0%, #F7CD5C 48%, #E2A62C 100%);
  --gold-grad-hover: linear-gradient(180deg, #FFF0BF 0%, #FAD776 48%, #EAB43E 100%);

  /* Verde natalino (árvore do logo Natal Alimentar) */
  --green-600: #1E9A3A;
  --green-500: #2DB742;

  /* Neutros quentes */
  --cream-50: #FFFDF8;
  --cream-100: #FBF3E4;
  --cream-200: #F3E5CC;
  --cream-300: #EADBC0;
  --ink: #3B0F0B;
  --ink-soft: #6E4A42;
  --field-border: #A58B81; /* 3:1 sobre o branco (contorno de campo) */

  /* Azul primário da Alimentar (mesmo do site principal) */
  --primary: #0062A3;
  --primary-dark: #004C80;
  --primary-deep: #00345A;
  --primary-light: #338AC4;

  /* Tipografia */
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-script: 'Yellowtail', cursive;
  --font-serif: 'Lora', Georgia, serif;

  /* Layout */
  --container: 1200px;
  --radius: 22px;
  --radius-sm: 12px;
  --header-h: 76px;
  --shadow: 0 24px 60px -28px rgba(74, 6, 5, .45);
  --shadow-sm: 0 10px 26px -14px rgba(74, 6, 5, .35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; }
:focus-visible { outline: 3px solid var(--red-800); outline-offset: 3px; border-radius: 6px; }
/* Nos fundos vermelhos o contorno de foco fica dourado */
.header :focus-visible, .hero__bar :focus-visible, .embalagens :focus-visible,
.orcamento__info :focus-visible, .footer :focus-visible { outline-color: var(--gold-400); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.2;
  padding: 14px 28px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 17px 34px; font-size: 16px; }

/* Dourado: igual ao "Clique no link e acesse nosso catálogo" da peça */
.btn--gold {
  background: var(--gold-grad); color: var(--red-800); font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -2px 0 rgba(168,111,14,.35), 0 12px 26px -14px rgba(40, 4, 2, .8);
}
.btn--gold:hover { background: var(--gold-grad-hover); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(168,111,14,.35), 0 18px 30px -14px rgba(40, 4, 2, .85); }
.btn__play {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--red-600); color: #fff; margin-right: -10px;
  box-shadow: 0 0 0 3px rgba(255,255,255,.55);
}
.btn__play svg { margin-left: 2px; }
.btn--sm .btn__play { width: 22px; height: 22px; margin-right: -10px; box-shadow: 0 0 0 2px rgba(255,255,255,.55); }
.btn--sm .btn__play svg { margin-left: 1px; }

.btn--blue { background: var(--primary); color: #fff; box-shadow: 0 14px 28px -16px rgba(0, 52, 90, .9); }
.btn--blue:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255, 229, 150, .55); }
.btn--ghost:hover { background: rgba(255,255,255,.16); border-color: var(--gold-300); color: var(--gold-200); transform: translateY(-2px); }

/* ---------- Títulos ---------- */
.kicker {
  display: inline-block; font-family: var(--font-script); font-weight: 400;
  font-size: clamp(24px, 2.6vw, 30px); line-height: 1.1; color: var(--red-600);
  margin-bottom: 10px;
}
.kicker--gold { color: var(--gold-400); }
.title {
  font-size: clamp(28px, 3.6vw, 44px); font-weight: 300; color: var(--ink);
  letter-spacing: -.5px; line-height: 1.18;
}
.title strong { font-weight: 700; color: var(--red-700); }
.title--light { color: #fff; }
.title--light strong { color: var(--gold-300); }
.title__bar {
  display: block; width: 72px; height: 4px; border-radius: 4px; margin: 20px 0 22px;
  background: var(--gold-grad);
}
.lead { font-size: 17px; color: var(--ink-soft); max-width: 600px; }
.lead strong { color: var(--ink); font-weight: 600; }
.lead--light { color: rgba(255,255,255,.86); }
.lead--light strong { color: #fff; }
.note { font-size: 12px; color: var(--ink-soft); margin-top: 18px; }
.note--light { color: rgba(255,255,255,.6); text-align: center; }

.section { padding: 100px 0; position: relative; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.section__head .lead { margin: 18px auto 0; }

/* Fundo festivo (vermelho com raios de luz e bokeh, como na peça de referência) */
.embalagens, .orcamento {
  /* clip (e não hidden) para não quebrar o bloco fixo (sticky) do orçamento */
  color: #fff; overflow: hidden; overflow: clip; isolation: isolate;
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 214, 140, .16) 0 34px, transparent 36px),
    radial-gradient(circle at 92% 12%, rgba(255, 214, 140, .12) 0 54px, transparent 56px),
    radial-gradient(circle at 85% 78%, rgba(255, 214, 140, .10) 0 40px, transparent 42px),
    radial-gradient(circle at 14% 88%, rgba(255, 214, 140, .09) 0 60px, transparent 62px),
    radial-gradient(circle at 48% 6%, rgba(255, 214, 140, .08) 0 22px, transparent 24px),
    repeating-conic-gradient(from 0deg at 50% 35%, rgba(255,255,255,.035) 0deg 5deg, transparent 5deg 13deg),
    radial-gradient(ellipse at 50% 30%, var(--red-600) 0%, var(--red-800) 55%, var(--red-900) 100%);
}

/* ---------- Brilhos (estrelas de 4 pontas) ---------- */
.spark {
  position: absolute; width: 26px; height: 26px; color: var(--gold-300); pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(255, 220, 130, .85));
  animation: twinkle 3.2s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: .35; transform: scale(.7) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(20deg); }
}
.spark--float { z-index: -1; }
.spark--1 { top: 12%; left: 7%; width: 30px; height: 30px; }
.spark--2 { top: 22%; right: 9%; width: 18px; height: 18px; animation-delay: .8s; }
.spark--3 { bottom: 14%; left: 12%; width: 16px; height: 16px; animation-delay: 1.6s; }
.spark--4 { bottom: 24%; right: 6%; width: 34px; height: 34px; animation-delay: 2.2s; }
.spark--5 { top: 10%; left: 46%; width: 22px; height: 22px; animation-delay: .4s; }
.spark--6 { bottom: 10%; left: 5%; width: 30px; height: 30px; animation-delay: 1.2s; }
.spark--7 { top: 30%; right: 4%; width: 18px; height: 18px; animation-delay: 2s; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h); display: flex; align-items: center;
  background: rgba(106, 8, 6, .97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 229, 150, .35);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(30, 2, 1, .9); background: rgba(106, 8, 6, .94); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; flex-shrink: 0; }
/* Contorno branco no logo azul, como no selo do banner */
.logo__img, .footer__logo img {
  height: 50px; width: auto;
  filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff) drop-shadow(0 6px 10px rgba(0,0,0,.25));
  transition: height .4s var(--ease);
}
.header.is-scrolled .logo__img { height: 42px; }

.nav__list { display: flex; gap: 2px; }
.nav__link {
  position: relative; display: block; font-family: var(--font-head); font-weight: 500; font-size: 15px;
  color: rgba(255,255,255,.88); padding: 8px 14px; border-radius: 8px; transition: color .25s;
}
.nav__link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--gold-400); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--gold-300); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 8px; background: none; border: none; cursor: pointer; border-radius: 10px;
}
.nav__toggle span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; background: var(--red-900); }
.hero__banner { display: block; background: var(--red-800); }
.hero__banner img { width: 100%; height: auto; }

.hero__bar {
  position: relative; color: #fff;
  background: linear-gradient(90deg, var(--red-900) 0%, var(--red-800) 50%, var(--red-900) 100%);
}
/* filete dourado, como a curva dourada do banner */
.hero__bar::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-400) 20%, var(--gold-200) 50%, var(--gold-400) 80%, transparent);
}
.hero__bar-inner { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.hero__bar-text { flex: 1; font-size: 15.5px; color: rgba(255,255,255,.82); line-height: 1.5; }
.hero__bar-text strong { display: block; font-family: var(--font-head); font-size: 18px; color: #fff; font-weight: 600; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.countdown {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  padding: 8px 18px 8px 8px; border-radius: 50px;
  background: rgba(0,0,0,.18); border: 1px solid rgba(255, 229, 150, .35);
}
.countdown[hidden] { display: none; }
.countdown__num {
  min-width: 58px; height: 58px; padding: 0 8px; border-radius: 50px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 26px; line-height: 1; color: var(--red-800);
  background: var(--gold-grad); box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.countdown__label { font-family: var(--font-head); font-weight: 600; font-size: 13px; line-height: 1.25; text-transform: uppercase; letter-spacing: 1px; color: var(--gold-200); max-width: 92px; }

/* ============================================================
   O PRESENTE
   ============================================================ */
.presente {
  background:
    radial-gradient(circle at 0% 0%, rgba(242, 185, 59, .14), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(196, 22, 28, .07), transparent 45%),
    var(--cream-100);
}
.presente__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }

/* Foto estilo polaroid sobre cartão listrado dourado (inspirado na peça) */
.polaroid { position: relative; margin: 0; padding: 22px 18px 30px; }
.polaroid__back {
  position: absolute; inset: 4% 0 2% 8%; transform: rotate(5deg); border-radius: 6px;
  background: repeating-linear-gradient(135deg, #F8D777 0 12px, #EDC05A 12px 24px);
  box-shadow: 0 24px 50px -26px rgba(74, 6, 5, .5);
}
.polaroid__card {
  position: relative; background: var(--cream-50); padding: 14px 14px 0; border-radius: 4px;
  transform: rotate(-2.5deg);
  box-shadow: 0 30px 60px -26px rgba(74, 6, 5, .6), 0 2px 6px rgba(74, 6, 5, .08);
}
.polaroid__card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 40%; }
.polaroid__caption {
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: clamp(21px, 2.4vw, 30px); color: var(--red-800); text-align: center;
  padding: 16px 10px 20px; line-height: 1.2;
}
.polaroid__tape {
  position: absolute; top: -14px; left: 50%; z-index: 1; width: 130px; height: 30px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(255, 246, 222, .82); box-shadow: 0 2px 6px rgba(74, 6, 5, .12);
}
.polaroid .spark { color: var(--gold-500); filter: drop-shadow(0 0 6px rgba(242, 185, 59, .6)); }
.spark--a { top: -6px; left: -4px; width: 34px; height: 34px; }
.spark--b { top: 40%; right: -10px; width: 22px; height: 22px; animation-delay: 1s; }
.spark--c { bottom: -4px; left: 30%; width: 26px; height: 26px; animation-delay: 2s; }

.presente__body .lead { margin-bottom: 24px; }
.checks { display: grid; gap: 12px; margin-bottom: 34px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--ink-soft); line-height: 1.45; }
.checks li strong { color: var(--ink); font-weight: 600; }
.checks svg {
  flex-shrink: 0; width: 26px; height: 26px; padding: 5px; border-radius: 50%;
  background: var(--green-600); color: #fff; margin-top: -2px;
}

/* ============================================================
   EMBALAGENS 2026
   ============================================================ */
.embalagens {
  padding-bottom: 120px;
  /* Mesmo fundo festivo (bokeh dourado + raios de luz), mas no azul primário da marca */
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 214, 140, .16) 0 34px, transparent 36px),
    radial-gradient(circle at 92% 12%, rgba(255, 214, 140, .12) 0 54px, transparent 56px),
    radial-gradient(circle at 85% 78%, rgba(255, 214, 140, .10) 0 40px, transparent 42px),
    radial-gradient(circle at 14% 88%, rgba(255, 214, 140, .09) 0 60px, transparent 62px),
    radial-gradient(circle at 48% 6%, rgba(255, 214, 140, .08) 0 22px, transparent 24px),
    repeating-conic-gradient(from 0deg at 50% 35%, rgba(255,255,255,.04) 0deg 5deg, transparent 5deg 13deg),
    radial-gradient(ellipse at 50% 30%, #0A6DB0 0%, var(--primary) 40%, var(--primary-dark) 78%, var(--primary-deep) 100%);
}
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pack {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--cream-50) 0%, var(--cream-200) 100%);
  border-radius: var(--radius); padding: 22px 24px 26px; color: var(--ink);
  border: 1px solid rgba(255, 229, 150, .6);
  box-shadow: 0 30px 50px -30px rgba(20, 2, 1, .8);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pack:hover, .js .pack.is-visible:hover { transform: translateY(-8px); box-shadow: 0 40px 60px -30px rgba(20, 2, 1, .9); }
.pack__media {
  height: 250px; margin-bottom: 18px;
  background: radial-gradient(ellipse at 50% 62%, #fff 0%, rgba(255,255,255,0) 66%);
}
.pack__media img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(80, 30, 10, .28));
  transition: transform .5s var(--ease);
}
.pack:hover .pack__media img { transform: scale(1.05) rotate(-1.5deg); }
.pack__title { font-size: 22px; color: var(--red-800); margin-bottom: 4px; }
.pack__text { font-size: 15px; color: var(--ink-soft); }
.packs .reveal:nth-child(2) { transition-delay: .12s; }
.packs .reveal:nth-child(3) { transition-delay: .24s; }

/* ---------- Faixa de palavras ---------- */
/* margem negativa = padding + metade da faixa: a faixa fica centrada na emenda e cobre a inclinação */
.ribbon { position: relative; z-index: 3; overflow: hidden; padding: 40px 0; margin: -72px 0; pointer-events: none; }
.ribbon__band {
  width: 110%; margin-left: -5%; transform: rotate(-1.4deg); overflow: hidden;
  background: var(--gold-grad); padding: 12px 0;
  box-shadow: 0 14px 28px -16px rgba(40, 4, 2, .7), inset 0 1px 0 rgba(255,255,255,.6);
}
.ribbon__track { display: flex; align-items: center; width: max-content; animation: marquee 69s linear infinite; }
.ribbon__track span { font-family: var(--font-script); font-size: 34px; line-height: 1.2; color: var(--red-800); padding: 0 6px; }
.ribbon__track svg { width: 18px; height: 18px; color: var(--red-600); margin: 0 22px; flex-shrink: 0; }

/* ============================================================
   COMO FUNCIONA
   ============================================================ */
.como { background: var(--cream-100); padding-top: 120px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step {
  position: relative; background: var(--cream-50); border-radius: var(--radius);
  padding: 34px 30px 32px; border: 1px solid var(--cream-300); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover, .js .step.is-visible:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__num {
  position: absolute; top: 18px; right: 24px; font-family: var(--font-head); font-weight: 800;
  font-size: 54px; line-height: 1; color: rgba(242, 185, 59, .35);
}
.step__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--primary); color: #fff; box-shadow: 0 12px 22px -12px rgba(0, 76, 128, .8);
}
.step__title { font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.step__text { font-size: 15px; color: var(--ink-soft); }
.steps .reveal:nth-child(2) { transition-delay: .12s; }
.steps .reveal:nth-child(3) { transition-delay: .24s; }

.stats {
  margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 34px 28px; border-radius: var(--radius);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 214, 140, .15) 0 30px, transparent 32px),
    radial-gradient(circle at 92% 80%, rgba(255, 214, 140, .1) 0 46px, transparent 48px),
    linear-gradient(120deg, var(--primary-dark), var(--primary));
  box-shadow: var(--shadow);
}
.stat { text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: -10px; top: 12%; bottom: 12%; width: 1px; background: rgba(255, 229, 150, .3); }
.stat__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 4vw, 48px); line-height: 1; color: var(--gold-300); margin-bottom: 8px; }
.stat__label { font-size: 14px; color: rgba(255,255,255,.88); }

/* ============================================================
   CLIENTES
   ============================================================ */
.clientes { background: var(--cream-50); padding: 64px 0 70px; border-top: 1px solid var(--cream-200); }
.clientes__title {
  text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 14px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 28px;
}
.marquee {
  overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; align-items: center; animation: marquee 80s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marca {
  flex: 0 0 auto; width: 168px; height: 84px; margin-right: 20px; padding: 6px 12px;
  display: grid; place-items: center; background: #fff; border-radius: 14px; border: 1px solid var(--cream-200);
}
.marca img { width: 100%; height: 100%; object-fit: contain; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   ORÇAMENTO
   ============================================================ */
.orcamento__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: start; }
/* Texto acompanha a rolagem enquanto o formulário passa ao lado */
.orcamento__info { position: sticky; top: 120px; padding-top: 24px; }
.orcamento__info .lead { margin-bottom: 0; }


.form {
  background: var(--cream-50); color: var(--ink); border-radius: var(--radius); padding: 32px 32px 30px;
  box-shadow: 0 40px 70px -30px rgba(20, 2, 1, .85);
  border-top: 5px solid var(--gold-500);
}
.form__title { font-size: 24px; color: var(--red-800); margin-bottom: 2px; }
.form__sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 13px; min-width: 0; }
.form__group label { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--ink); }
.form__group input, .form__group textarea, .form__group select {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  padding: 11px 14px; border: 1px solid var(--field-border); border-radius: var(--radius-sm);
  background-color: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form__group input::placeholder, .form__group textarea::placeholder { color: #8A7068; opacity: 1; }
.form__group select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238E0D0A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form__group input:focus, .form__group textarea:focus, .form__group select:focus {
  outline: 2px solid transparent; outline-offset: 2px; border-color: var(--red-600); box-shadow: 0 0 0 3px rgba(196, 22, 28, .14);
}
/* Campo inválido (classe aplicada pelo js/formulario.js no envio) */
.form__group .is-invalid { border-color: var(--red-500); background-color: #FFF5F4; }
.form__group .is-invalid:focus { border-color: var(--red-800); box-shadow: 0 0 0 3px rgba(218, 30, 30, .16); }
.form__group textarea { resize: vertical; min-height: 84px; }
.form__submit { width: 100%; margin-top: 4px; }
.form__note { text-align: center; font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--wine); color: rgba(255,255,255,.72); padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.footer__logo img { height: 56px; }
.footer__brand p { margin-top: 18px; font-size: 15px; max-width: 360px; }
.footer__col h3 { color: var(--gold-300); font-size: 16px; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a, .footer__col li { font-size: 15px; transition: color .25s; }
.footer__col a:hover { color: var(--gold-300); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.footer__social a:hover { background: var(--gold-400); color: var(--red-800); transform: translateY(-3px); }
.footer__handle { margin-top: 12px; font-size: 14px; }
.footer__bottom { border-top: 1px solid rgba(255, 229, 150, .14); padding: 18px 0; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom p { font-size: 13px; }
.footer__credit { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,.55); transition: color .25s; }
.footer__credit img { height: 42px; width: auto; }
.footer__credit:hover { color: rgba(255,255,255,.9); }

/* ============================================================
   PÁGINA DE OBRIGADO
   ============================================================ */
.thanks { display: grid; place-items: center; min-height: calc(100vh - var(--header-h)); padding: 72px 0; }
.thanks__card {
  position: relative; z-index: 1; width: 100%; max-width: 620px; margin: 0 auto; text-align: center;
  background: var(--cream-50); color: var(--ink); border-radius: var(--radius); padding: 52px 44px 46px;
  border-top: 5px solid var(--gold-500); box-shadow: 0 40px 70px -30px rgba(20, 2, 1, .85);
}
.thanks__check {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 24px;
  background: var(--primary); color: #fff; box-shadow: 0 14px 26px -14px rgba(0, 52, 90, .9);
  animation: pop .5s var(--ease) both;
}
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.1); } 100% { transform: scale(1); } }
.thanks__title { font-size: clamp(26px, 4vw, 34px); color: var(--red-800); margin-bottom: 14px; }
.thanks__text { font-size: 17px; color: var(--ink-soft); max-width: 480px; margin: 0 auto 30px; }
.thanks__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CATÁLOGO (janela com o PDF)
   ============================================================ */
.is-modal-open { overflow: hidden; }
.catalogo {
  width: min(1100px, 94vw); height: min(92vh, 900px); max-width: none; max-height: none;
  margin: auto; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--cream-50); box-shadow: 0 40px 80px -30px rgba(20, 2, 1, .9);
}
.catalogo[open] { display: flex; flex-direction: column; }
.catalogo:not([open]) { display: none; }
.catalogo::backdrop { background: rgba(30, 2, 1, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.catalogo__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 14px 12px 22px; background: var(--red-900); border-bottom: 1px solid rgba(255, 229, 150, .35);
}
.catalogo__bar :focus-visible { outline-color: var(--gold-400); }
.catalogo__title { font-size: 17px; font-weight: 600; color: #fff; }
.catalogo__actions { display: flex; align-items: center; gap: 10px; }
.catalogo__close {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255, 229, 150, .45);
  transition: background .25s var(--ease);
}
.catalogo__close:hover { background: rgba(255,255,255,.18); }
.catalogo__frame { flex: 1; width: 100%; border: 0; background: #525659; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 8px 24px -6px rgba(37,211,102,.6);
  transition: transform .3s var(--ease);
  animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float:focus-visible { animation: none; outline: 3px solid var(--red-800); outline-offset: 2px; box-shadow: 0 0 0 7px var(--gold-300); border-radius: 50%; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ============================================================
   REVEAL
   ============================================================ */
.js .reveal { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal[data-reveal="up"] { transform: translateY(36px); }
.js .reveal[data-reveal="left"] { transform: translateX(-44px); }
.js .reveal[data-reveal="right"] { transform: translateX(44px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Garante que nada (animações laterais, brilhos) crie rolagem horizontal */
main { overflow-x: clip; }
@media (max-width: 920px) {
  /* No celular, entradas laterais viram verticais: o deslocamento lateral
     "alargava" a página antes da animação e o navegador reduzia o zoom */
  .js .reveal[data-reveal="left"]:not(.is-visible),
  .js .reveal[data-reveal="right"]:not(.is-visible) { transform: translateY(36px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .spark, .whatsapp-float, .thanks__check { animation: none; }
  .ribbon__track, .marquee__track { animation: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; gap: 14px; }
  .marquee__track .marca { margin-right: 0; }
  .marquee__track .marca[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; padding: 0 24px; }
  .btn, .pack, .step, .pack__media img { transition: none; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1080px) {
  .hero__bar-inner { flex-wrap: wrap; gap: 16px 24px; }
  .hero__bar-text { flex: 1 1 380px; }
  .hero__ctas { flex: 1 1 100%; }
  .presente__grid { gap: 48px; }
  .orcamento__grid { gap: 44px; }
}

@media (max-width: 920px) {
  /* Menu vira gaveta */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--red-900); border-bottom: 1px solid rgba(255, 229, 150, .35);
    box-shadow: 0 20px 30px -20px rgba(20, 2, 1, .9);
    padding: 8px 16px 16px;
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__link { padding: 13px 12px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__toggle { display: flex; }
  .header.is-open-menu .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.is-open-menu .nav__toggle span:nth-child(2) { opacity: 0; }
  .header.is-open-menu .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .presente__grid, .orcamento__grid { grid-template-columns: 1fr; }
  .polaroid { max-width: 600px; margin: 0 auto; width: 100%; }
  .presente__body { max-width: 600px; width: 100%; margin-inline: auto; }
  .orcamento__info { max-width: 640px; position: static; padding-top: 0; }
  .packs { gap: 18px; }
  .pack { padding: 18px 18px 22px; }
  .pack__media { height: 200px; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .stat:nth-child(3)::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --header-h: 66px; }
  .logo__img { height: 42px; }
  .header.is-scrolled .logo__img { height: 38px; }
  .header__inner { gap: 10px; padding: 0 12px 0 16px; }
  .header__cta { padding: 9px 14px; font-size: 13px; }

  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .lead { font-size: 16px; }

  .hero__bar-inner { flex-direction: column; align-items: stretch; text-align: center; padding-top: 22px; padding-bottom: 24px; }
  .hero__bar-text { flex: none; }
  .countdown { align-self: center; }
  /* botão do catálogo vem primeiro no celular e sobe por cima do fim do banner */
  .hero__ctas { flex-direction: column; flex: none; order: -1; margin-top: -50px; position: relative; z-index: 1; }
  /* fundo mais sólido para o texto não brigar com a foto por baixo */
  .hero__ctas .btn--ghost { background: rgba(106, 8, 6, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .hero__ctas .btn { width: 100%; }

  .polaroid { padding: 16px 8px 22px; }
  .polaroid__card { padding: 10px 10px 0; }
  .presente__body .btn { width: 100%; white-space: normal; text-align: center; }

  /* Embalagens viram carrossel com scroll lateral */
  .packs {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -24px; padding: 6px 24px 26px;
    scrollbar-width: thin; scrollbar-color: var(--gold-400) transparent;
  }
  .pack { flex: 0 0 78%; scroll-snap-align: center; }
  .pack:hover, .js .pack.is-visible:hover { transform: none; }
  .embalagens { padding-bottom: 96px; }
  .note--light { margin-top: 4px; }

  .ribbon { margin: -68px 0; }
  .ribbon__track span { font-size: 27px; }
  .ribbon__track svg { width: 14px; height: 14px; margin: 0 14px; }
  .como { padding-top: 96px; }

  .stats { padding: 28px 16px; margin-top: 36px; }
  .stat + .stat::before { display: none; }

  .form { padding: 26px 20px 24px; }
  .form__title { font-size: 21px; }

  .footer { padding-top: 52px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 36px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .whatsapp-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
}

@media (max-width: 480px) {
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form__submit { white-space: normal; text-align: center; padding-left: 20px; padding-right: 20px; }
  .thanks { padding: 48px 0; }
  .thanks__card { padding: 40px 22px 32px; }
  .thanks__actions .btn { width: 100%; }
  .marca { width: 136px; height: 70px; margin-right: 14px; }
}

@media (max-width: 360px) {
  /* na home o botão divide espaço com o menu; na página de obrigado ele é o único e continua visível */
  .header__actions .header__cta:not(:only-child) { display: none; }
}
