/* ============================================================
   TENDENZA DESIGN — Site Simplificado (modelo de campanha)
   Referência de layout: soflex.com.br/americana
   Paleta: preto/branco + vermelho de destaque + verde do WhatsApp
   ============================================================ */

:root {
  --black:   #000000;
  --white:   #ffffff;
  --red:     #ef4444;   /* destaque das datas — igual ao site de referência */
  --ink:     #1a1a1a;
  --ink-soft:#4a4a4a;

  /* Verde do WhatsApp — escurecido em relação ao "verde neon" da referência
     para manter contraste de acessibilidade (AA) com texto branco */
  --wa:      #0c7f40;
  --wa-dark: #0a6c36;

  --font: "Montserrat", Arial, sans-serif;
  --container: 720px;
  --gutter: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); text-align: center; }

/* ---------- Blocos ---------- */
.block { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.block--black { background: var(--black); color: var(--white); }
.block--white { background: var(--white); color: var(--ink); }
.block--recap { padding-top: clamp(2rem, 5vw, 3rem); }
.block--footer { padding: 1.8rem 0; }
.block--footer p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.02em; }

/* ---------- Bloco 1: título ---------- */
.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.9rem;
}
.headline {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.6rem;
}
.subheadline {
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 500;
  color: var(--white);
  max-width: 620px;
  margin: 0 auto;
}
.subheadline strong { font-weight: 800; }

/* ---------- Bloco 2: data + vídeo + CTA ---------- */
.date-text {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1.25;
  margin-bottom: 2.2rem;
}

.video-wrap {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 16;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.video-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.scroll-hint {
  display: flex;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 1.6rem;
  animation: bounce 1.6s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: var(--wa);
  color: var(--white);
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  padding: 1.15rem 2.6rem;
  border-radius: 100px;
  box-shadow: 0 10px 28px rgba(12, 127, 64, 0.35);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  animation: pulse 2.4s infinite;
}
.btn-whatsapp .wa-ic { width: 1.3em; height: 1.3em; fill: currentColor; flex: none; }
.btn-whatsapp:hover {
  background: var(--wa-dark);
  transform: scale(1.04);
  box-shadow: 0 14px 34px rgba(12, 127, 64, 0.45);
  animation-play-state: paused;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(12, 127, 64, 0.35), 0 0 0 0 rgba(12, 127, 64, 0.4); }
  50% { box-shadow: 0 10px 28px rgba(12, 127, 64, 0.35), 0 0 0 12px rgba(12, 127, 64, 0); }
}

/* ---------- Bloco 3: reforço ---------- */
.recap-headline {
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  max-width: 640px;
  margin: 0 auto 1.6rem;
}
.recap-text {
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}
.recap-text strong { color: var(--ink); font-weight: 700; }

/* ---------- Botão flutuante do WhatsApp ---------- */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(12, 127, 64, 0.4);
  transition: transform 0.3s var(--ease), background 0.3s, opacity 0.3s var(--ease);
}
.whatsapp-float:hover { background: var(--wa-dark); transform: scale(1.1); }
.whatsapp-float.is-hidden { opacity: 0; transform: scale(0.7) translateY(12px); pointer-events: none; }

/* ---------- Reveal ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 600px) {
  .btn-whatsapp { width: 100%; max-width: 380px; padding: 1.15rem 1.5rem; }
  .video-wrap { max-width: 280px; border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
