/* Hallmark · redesign v2 · design-system: LP principal ASP (navy+yellow, Inter/Outfit) · pre-emit critique: P4 H5 E4 S4 R4 V4
   ============================================================
   ASP SELANTES — LPs de Produto (estilos compartilhados)
   v2: grid técnico amarelo, numeração de seções, molduras,
   glow no produto, marquee inclinado, micro-interações
   ============================================================ */

/* === 1. DESIGN TOKENS (copiados da LP principal) === */
:root {
  /* Cores primárias */
  --asp-navy: #0a1628;
  --asp-navy-mid: #1a2b5f;
  --asp-navy-deep: #060e1a;
  --asp-navy-surface: #14224a;

  /* Accent */
  --asp-yellow: #f5c518;
  --asp-yellow-hover: #ffd84d;
  --asp-yellow-dark: #e6b800;
  --asp-yellow-glow: rgba(245, 197, 24, 0.25);
  --asp-yellow-soft: rgba(245, 197, 24, 0.08);
  --asp-yellow-marker: rgba(245, 197, 24, 0.32);

  /* Grid técnico */
  --grid-line-dark: rgba(245, 197, 24, 0.07);
  --grid-line-dark-strong: rgba(245, 197, 24, 0.14);
  --grid-line-light: rgba(230, 184, 0, 0.12);

  /* Verde técnico (validação / PU 200) */
  --asp-green: #2d8f4e;

  /* WhatsApp */
  --wpp-green: #25d366;
  --wpp-green-hover: #20bd5a;
  --wpp-green-glow: rgba(37, 211, 102, 0.3);

  /* Neutros */
  --asp-white: #ffffff;
  --asp-off-white: #f4f6f9;
  --asp-gray: #2a2a2a;
  --asp-gray-mid: #6b7280;
  --asp-gray-100: #e8ecf1;
  --asp-gray-200: #cdd4de;
  --asp-gray-400: #8a95a7;
  --asp-gray-600: #4a5568;

  /* Gradientes */
  --grad-dark-section: linear-gradient(180deg, var(--asp-navy) 0%, #0d1b3e 100%);
  --grad-cta-yellow: linear-gradient(135deg, var(--asp-yellow) 0%, var(--asp-yellow-dark) 100%);

  /* Tipografia */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Outfit', 'Inter', sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;

  /* Espaçamento */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 50px;
  --radius-round: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.24);
  --shadow-yellow: 0 4px 30px var(--asp-yellow-glow);
  --shadow-green: 0 4px 30px var(--wpp-green-glow);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.4s var(--ease-smooth);

  /* Layout */
  --container-max: 1200px;
  --container-padding: 1.5rem;
  --header-height: 80px;
}

/* === 2. RESET + BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-main);
  color: var(--asp-gray);
  background: var(--asp-white);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: min(var(--container-max), 92%); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 96px) 0; }

/* === GRID TÉCNICO AMARELO (assinatura visual das LPs de produto) === */
.section-dark, .lp-hero, .cta-final {
  background-color: var(--asp-navy);
  background-image:
    linear-gradient(var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(var(--grid-line-dark-strong) 2px, transparent 2px),
    linear-gradient(90deg, var(--grid-line-dark-strong) 2px, transparent 2px),
    var(--grad-dark-section);
  background-size: 48px 48px, 48px 48px, 240px 240px, 240px 240px, cover;
  color: var(--asp-white);
}
.section-light {
  background-color: var(--asp-off-white);
  background-image:
    linear-gradient(var(--grid-line-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-light) 1px, transparent 1px);
  background-size: 48px 48px;
}

h1, h2, h3 { font-weight: var(--fw-extrabold); line-height: 1.12; letter-spacing: -0.02em; }
.text-yellow { color: var(--asp-yellow); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); position: relative; }
.section-tag {
  display: inline-block; font-size: 0.78rem; font-weight: var(--fw-bold); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--asp-navy); border: 2px dashed var(--asp-navy);
  border-radius: var(--radius-pill); padding: 5px 14px; margin-bottom: 14px;
}
.section-dark .section-tag, .lp-hero .section-tag, .cta-final .section-tag { color: var(--asp-yellow); border-color: var(--asp-yellow); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--asp-navy); }
.section-dark .section-title { color: var(--asp-white); }

/* === 3. BOTÕES === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-accent); font-weight: var(--fw-semibold);
  font-size: 1.05rem; padding: 16px 32px; border-radius: var(--radius-pill);
  text-decoration: none; transition: all var(--transition-fast); cursor: pointer; border: 0;
  position: relative;
}
.btn::after { content: '→'; display: inline-block; transition: transform var(--transition-fast); }
.btn-outline::after, .lp-topbar .btn::after { content: none; }
.btn:hover::after { transform: translateX(5px); }
.btn-primary { background: var(--grad-cta-yellow); color: var(--asp-navy); box-shadow: var(--shadow-yellow); }
.btn-primary:hover { background: var(--asp-yellow-hover); transform: translateY(-2px); box-shadow: 0 8px 40px var(--asp-yellow-glow); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-primary:focus-visible, .btn-wpp:focus-visible, .btn-outline:focus-visible { outline: 3px solid var(--asp-yellow-hover); outline-offset: 3px; }
.btn-outline { border: 2px solid var(--asp-white); color: var(--asp-white); }
.btn-outline:hover { background: var(--asp-white); color: var(--asp-navy); }
.btn-wpp { background: var(--wpp-green); color: var(--asp-white); box-shadow: var(--shadow-green); }
.btn-wpp:hover { background: var(--wpp-green-hover); transform: translateY(-2px); }

/* === 4. TOPBAR MÍNIMA (sem menu) === */
.lp-topbar { position: absolute; inset: 0 0 auto 0; z-index: 100; padding: 16px 0; }
.lp-topbar .container { display: flex; align-items: center; justify-content: space-between; }
.lp-topbar img { height: 46px; width: auto; }
.lp-topbar .btn { padding: 10px 22px; font-size: 0.95rem; }
.lp-topbar.scrolled {
  position: fixed; background: rgba(6, 14, 26, 0.92); backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); animation: slide-down 0.3s ease; padding: 10px 0;
}
.lp-topbar.scrolled img { height: 38px; }
@keyframes slide-down { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* === BARRA DE PROGRESSO DE LEITURA === */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0;
  background: var(--grad-cta-yellow); z-index: 300;
  box-shadow: 0 0 12px var(--asp-yellow-glow);
}

/* === 5. HERO === */
.lp-hero {
  position: relative; color: var(--asp-white);
  padding: clamp(120px, 16vw, 170px) 0 clamp(64px, 9vw, 100px);
  overflow: hidden;
}
.lp-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 76% 42%, var(--asp-yellow-soft), transparent 70%);
}
.lp-hero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 120px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(6, 14, 26, 0.55));
}
.lp-hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-block; font-size: 0.8rem; font-weight: var(--fw-bold); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--asp-yellow);
  border: 2px dashed var(--asp-yellow); border-radius: var(--radius-pill); padding: 6px 16px; margin-bottom: 20px;
}
.lp-hero h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); margin-bottom: 16px; letter-spacing: -0.025em; }
.lp-hero h1 .text-yellow {
  background: linear-gradient(transparent 64%, var(--asp-yellow-marker) 64%);
  padding: 0 0.06em;
}
.lp-hero .hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--asp-gray-200); max-width: 54ch; margin-bottom: 24px; }
.hero-bullets { list-style: none; display: grid; gap: 10px; margin-bottom: 32px; }
.hero-bullets li { padding-left: 30px; position: relative; font-weight: var(--fw-medium); }
.hero-bullets li::before { content: '✓'; position: absolute; left: 0; color: var(--asp-yellow); font-weight: var(--fw-extrabold); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; display: grid; place-items: center; perspective: 900px; }
.hero-media::before {
  content: ''; position: absolute; width: min(400px, 80%); aspect-ratio: 1; border-radius: var(--radius-round);
  background: radial-gradient(circle, var(--asp-yellow-glow) 0%, transparent 68%);
  filter: blur(8px); pointer-events: none;
}
.hero-media::after {
  content: ''; position: absolute; width: min(430px, 86%); aspect-ratio: 1; border-radius: var(--radius-round);
  border: 1px dashed rgba(245, 197, 24, 0.35); pointer-events: none;
  animation: spin-slow 40s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.hero-product-img {
  position: relative; z-index: 1;
  max-height: 430px; width: auto; margin-inline: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.5));
  animation: float 4.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-media.tilting .hero-product-img { animation: none; }

/* Carimbos flutuantes ao redor do produto */
.hero-chip {
  position: absolute; z-index: 2;
  font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: 0.82rem;
  color: var(--asp-navy); background: var(--asp-yellow); border-radius: var(--radius-pill);
  padding: 8px 16px; box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
}
.hero-chip:nth-of-type(1) { top: 12%; right: 4%; transform: rotate(6deg); }
.hero-chip:nth-of-type(2) { bottom: 10%; left: 2%; transform: rotate(-5deg); animation-delay: 1.4s; }

/* === 6. MARQUEE DE CONFIANÇA (faixa inclinada) === */
.marquee {
  background: var(--asp-yellow); color: var(--asp-navy); overflow: hidden; padding: 13px 0;
  transform: rotate(-1.3deg) scale(1.03); margin: -6px 0 6px;
  box-shadow: 0 6px 24px rgba(6, 14, 26, 0.25);
  position: relative; z-index: 2;
}
.marquee-track {
  display: flex; gap: 40px; width: max-content; white-space: nowrap;
  font-family: var(--font-accent); font-weight: var(--fw-semibold);
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; }
.marquee-dot { width: 8px; height: 8px; border-radius: var(--radius-round); background: var(--asp-navy); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* === 7. PROVA SOCIAL === */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-row > div { border-top: 3px solid var(--asp-yellow); padding-top: 16px; background: linear-gradient(180deg, rgba(245,197,24,0.06), transparent 60%); }
.stat-number { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: var(--fw-extrabold); color: var(--asp-navy); }
.stat-number [data-counter] { display: inline-block; }
.stat-number .stat-affix { color: var(--asp-yellow-dark); font-size: 0.7em; }
.stat-label { color: var(--asp-gray-mid); font-weight: var(--fw-medium); }

/* === 8. PROBLEMA → SOLUÇÃO === */
.problema-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.problema-grid h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.problema-grid h2 .text-yellow { background: linear-gradient(transparent 64%, var(--asp-yellow-marker) 64%); padding: 0 0.06em; }
.problema-media { position: relative; }
.problema-media::before {
  content: ''; position: absolute; inset: 16px -16px -16px 16px;
  border: 3px solid var(--asp-yellow); border-radius: var(--radius-lg); pointer-events: none;
}
.problema-media img { position: relative; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* === 9. SEÇÕES DE SEGMENTO (numeradas, com moldura) === */
main { counter-reset: seg; }
.seg-section { border-top: 1px solid var(--asp-gray-100); counter-increment: seg; position: relative; overflow: hidden; }
.seg-section .container { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.seg-section .container::before {
  content: counter(seg, decimal-leading-zero);
  position: absolute; top: -0.28em; right: -0.05em; z-index: 0;
  font-family: var(--font-accent); font-weight: var(--fw-extrabold);
  font-size: clamp(5rem, 13vw, 9.5rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(10, 22, 40, 0.10);
  pointer-events: none;
}
.seg-section:nth-of-type(even) .container > .seg-media { order: -1; }
.seg-section:nth-of-type(even) .container::before { right: auto; left: -0.05em; }
.seg-section > .container > div { position: relative; z-index: 1; }
.seg-tag {
  display: inline-block; font-size: 0.78rem; font-weight: var(--fw-bold); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--asp-navy); border: 2px dashed var(--asp-navy);
  border-radius: var(--radius-pill); padding: 5px 14px; margin-bottom: 14px;
}
.seg-section h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); color: var(--asp-navy); margin-bottom: 12px; }
.seg-section p { color: var(--asp-gray-600); margin-bottom: 18px; }
.seg-bullets { list-style: none; display: grid; gap: 8px; margin-bottom: 24px; }
.seg-bullets li { padding-left: 28px; position: relative; }
.seg-bullets li::before { content: '✓'; position: absolute; left: 0; color: var(--asp-green); font-weight: var(--fw-extrabold); }
.seg-media { position: relative; }
.seg-media::before {
  content: ''; position: absolute; inset: 16px -16px -16px 16px;
  border: 3px solid var(--asp-yellow); border-radius: var(--radius-lg); pointer-events: none;
  transition: inset 0.35s var(--ease-smooth);
}
.seg-section:nth-of-type(even) .seg-media::before { inset: 16px 16px -16px -16px; }
.seg-section:hover .seg-media::before { inset: 8px -8px -8px 8px; }
.seg-section:nth-of-type(even):hover .seg-media::before { inset: 8px 8px -8px -8px; }
.seg-media img {
  position: relative; z-index: 1;
  border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
  box-shadow: var(--shadow-lg);
  transition: transform 0.45s var(--ease-smooth), box-shadow 0.45s var(--ease-smooth);
}
.seg-section:hover .seg-media img { transform: scale(1.025); box-shadow: 0 20px 56px rgba(10, 22, 40, 0.28); }
.seg-destaque { background: var(--asp-yellow-soft); border-top: 3px solid var(--asp-yellow); }
.seg-destaque .seg-tag { background: var(--asp-yellow); border-style: solid; }

/* === 10. ESPECIFICAÇÕES === */
.specs-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; justify-content: center; }
.specs-badges span {
  background: var(--asp-navy-surface); color: var(--asp-white); font-size: 0.85rem;
  font-weight: var(--fw-semibold); padding: 9px 18px; border-radius: var(--radius-pill);
  border: 1px solid rgba(245, 197, 24, 0.35);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.specs-badges span:hover { transform: translateY(-3px); border-color: var(--asp-yellow); }
.specs-desc { max-width: 720px; margin-inline: auto; text-align: center; color: var(--asp-gray-200); }

/* === 11. FAQ === */
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--asp-white); border: 1px solid var(--asp-gray-100); border-radius: var(--radius-md);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item:hover { border-color: var(--asp-yellow); box-shadow: 0 6px 20px rgba(10, 22, 40, 0.08); }
.faq-item[open] { border-color: var(--asp-yellow); }
.faq-item summary {
  cursor: pointer; font-weight: var(--fw-bold); color: var(--asp-navy); padding: 18px 22px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--asp-yellow-dark); flex-shrink: 0; transition: transform 0.25s ease; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding: 0 22px 18px; color: var(--asp-gray-600); }

/* === 12. CTA FINAL === */
.cta-final { color: var(--asp-white); text-align: center; position: relative; overflow: hidden; }
.cta-final::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 60% at 50% 45%, var(--asp-yellow-soft), transparent 72%);
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); margin-bottom: 12px; }
.cta-final h2 .text-yellow { background: linear-gradient(transparent 64%, var(--asp-yellow-marker) 64%); padding: 0 0.06em; }
.cta-final p { color: var(--asp-gray-200); margin-bottom: 28px; max-width: 56ch; margin-inline: auto; }

/* === 13. FOOTER MÍNIMO === */
.lp-footer { background: var(--asp-navy-deep); color: var(--asp-gray-400); padding: 36px 0; font-size: 0.9rem; }
.lp-footer .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.lp-footer a { color: var(--asp-gray-200); }

/* === 14. WHATSAPP FLUTUANTE === */
.wpp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 200;
  width: 60px; height: 60px; border-radius: var(--radius-round); background: var(--wpp-green);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  animation: pulse-glow 2.4s ease-out infinite;
}
.wpp-float:hover { transform: scale(1.08); transition: transform 0.2s ease; }
.wpp-float svg { width: 32px; height: 32px; fill: var(--asp-white); }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* === 15. SCROLL REVEAL === */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-stagger.revealed > * { opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.36s; }

/* === 16. ACESSIBILIDADE / MOVIMENTO REDUZIDO === */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .hero-product-img, .wpp-float, .marquee-track, .hero-chip, .hero-media::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* === 17. RESPONSIVO === */
@media (max-width: 900px) {
  .lp-hero .container, .problema-grid, .seg-section .container { grid-template-columns: 1fr; }
  .seg-section:nth-of-type(even) .container > .seg-media { order: 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .hero-product-img { max-height: 300px; }
  .hero-ctas .btn { width: 100%; }
  .hero-chip:nth-of-type(1) { top: auto; bottom: 40%; right: 0; }
  .hero-chip:nth-of-type(2) { bottom: 4%; left: 0; }
  .seg-media::before, .seg-section:nth-of-type(even) .seg-media::before { inset: 10px -8px -10px 8px; }
  .problema-media::before { inset: 10px -8px -10px 8px; }
  .marquee { transform: rotate(-1.3deg) scale(1.06); }
}
