/* =========================================================
   ACERVO GOSPEL — LANDING PAGE
   ========================================================= */

:root {
  --primary: #00ff88;
  --primary-hover: #00cc6a;
  --bg-dark: #050505;
  --bg-black: rgb(17, 18, 22);
  --bg-light: #ffffff;
  --text-light: #ffffff;
  --text-dark: #0d0d0f;
  --text-muted: #a1a1aa;
  --text-muted-dark: #52525b;
  --border-soft: rgba(255, 255, 255, 0.1);
  --radius: 16px;
  --gallery-gap: 20px;
  --container: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 840px; }
.center { text-align: center; }

/* ---------- Seções ---------- */
.section { padding: 96px 0; }
.section-dark  { background: var(--bg-dark); color: var(--text-light); }
.section-black { background: var(--bg-black); color: var(--text-light); }
.section-light { background: var(--bg-light); color: var(--text-dark); }

.section h2 { font-size: 40px; margin-bottom: 20px; }
.section-light h2 { color: var(--text-dark); }
.section h2.center { margin-bottom: 48px; }

.lead { font-size: 16px; color: var(--text-muted); margin-bottom: 28px; }
.section-light .lead { color: var(--text-muted-dark); }

.highlight { color: var(--primary); }
.highlight-dark { color: #00a05a; }
.text-muted-inline { color: var(--text-muted); font-weight: 600; }

.gradient-text {
  background: linear-gradient(90deg, #00ff88 0%, #2ea8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Grid de 2 colunas ---------- */
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.col-media img { border-radius: var(--radius); }

/* ---------- Botões ---------- */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #04120b;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 60px;
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.25);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 255, 136, 0.35);
}
.btn-large { font-size: 20px; padding: 22px 48px; width: 100%; text-align: center; }

.btn-whatsapp {
  display: inline-block;
  background: #25d366;
  color: #04120b;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 60px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-whatsapp:hover { background: #1eb855; transform: translateY(-2px); }

.selo-seguranca { width: 280px; margin-top: 24px; opacity: 0.9; }
.center .selo-seguranca, .offer-card .selo-seguranca { margin-left: auto; margin-right: auto; }

/* =========================================================
   SEÇÃO 1 — HERO
   ========================================================= */
.hero {
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(0, 255, 136, 0.10), transparent 60%),
    radial-gradient(700px 500px at 90% 20%, rgba(46, 168, 255, 0.08), transparent 60%),
    var(--bg-dark);
  padding: 80px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.25);
  padding: 8px 16px;
  border-radius: 60px;
  margin-bottom: 24px;
}

.hero h1 { font-size: 48px; margin-bottom: 24px; }
.hero .lead { max-width: 560px; }

.hero-mockup { width: 100%; }

/* =========================================================
   CARD DE NOTIFICAÇÃO DE COMPRA
   Fixo na viewport: acompanha a página em toda a rolagem.
   ========================================================= */
.notification-card {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 21, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 12px 18px 12px 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
  pointer-events: none;
  max-width: 300px;
}
.notification-card.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.notification-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: rgba(0, 255, 136, 0.14);
  border-radius: 10px;
}
.notification-text { display: flex; flex-direction: column; line-height: 1.35; }
.notification-text strong { font-size: 14px; color: #fff; font-weight: 600; }
.notification-text span { font-size: 13px; color: var(--primary); }

/* =========================================================
   SEÇÃO 2 — FAIXA MARQUEE VERDE
   ========================================================= */
.top-marquee {
  background: var(--primary);
  color: #04120b;
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 38s linear infinite; }
.marquee-set { display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; }
.marquee-set span {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   SEÇÃO 3 — PROVA SOCIAL
   ========================================================= */
/* Pílula de prova social: avatares + estrelas + contador */
.social-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  width: fit-content;
  max-width: 100%;
  padding: 14px 34px 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.avatars { display: flex; flex-shrink: 0; }
.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: #1c1d22;
  border: 3px solid #ffffff;
  margin-left: -16px;
}
.avatar:first-child { margin-left: 0; }

.stars { color: #ffc300; font-size: 17px; letter-spacing: 3px; line-height: 1.2; }
.proof-text p { font-size: 15px; color: var(--text-muted); margin: 4px 0 0; }
.proof-text strong { color: var(--text-light); font-weight: 700; }

/* =========================================================
   CARROSSÉIS INFINITOS (seções 4, 5 e 7)

   O deslocamento de um ciclo (--shift) e a duração (--duration)
   são medidos e aplicados pelo script.js, que também clona o
   conjunto de imagens quantas vezes forem necessárias para
   cobrir a tela. Assim uma linha com 3 imagens e outra com 10
   rolam na mesma velocidade e nenhuma abre buraco no loop.
   ========================================================= */
.gallery-rows {
  display: grid;
  gap: var(--gallery-gap);
  padding: 8px 0 40px;
}
.gallery-rows-spaced { margin-top: 72px; }

.gallery-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.gallery-track { display: flex; gap: var(--gallery-gap); width: max-content; }
.gallery-set { display: flex; gap: var(--gallery-gap); }

.gallery-track.is-animated { animation: gallery-left var(--duration, 60s) linear infinite; }
.gallery-track.is-animated[data-marquee="right"] { animation-name: gallery-right; }
.gallery-wrapper:hover .gallery-track.is-animated { animation-play-state: paused; }

.gallery-set img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease;
}
.gallery-set img:hover { transform: scale(1.04); }

@keyframes gallery-left {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--shift, -100%)); }
}
@keyframes gallery-right {
  from { transform: translateX(var(--shift, -100%)); }
  to   { transform: translateX(0); }
}

/* =========================================================
   SEÇÃO 5 — DEPOIMENTOS (carrossel em linha única)
   ========================================================= */
.gallery-testimonials {
  padding: 8px 0 0;
  /* fundo branco: a máscara lateral também precisa suavizar aqui */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.gallery-testimonials .gallery-set img {
  width: 400px;   /* 400 x 500 mantém a proporção 4:5 dos originais (800x1000) */
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   SEÇÃO 6 — O QUE VOCÊ RECEBE
   ========================================================= */
.check-list { list-style: none; margin-bottom: 28px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  font-size: 16px;
}
.check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: #00a05a;
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}
.anchor-phrase {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-dark);
}

/* =========================================================
   SEÇÃO 8 — CATEGORIAS
   ========================================================= */
.category-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin-top: 8px;
}
.category-grid li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text-muted);
}
.category-grid li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* =========================================================
   SEÇÃO 9 — BÔNUS
   ========================================================= */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.bonus-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.bonus-card:hover { border-color: rgba(0, 255, 136, 0.4); transform: translateY(-4px); }
.bonus-card img { margin: 0 auto 20px; max-height: 220px; width: auto; }
.bonus-card h3 { font-size: 22px; margin-bottom: 8px; color: var(--primary); }
.bonus-card p { font-size: 15px; color: var(--text-muted); }

/* =========================================================
   SEÇÃO 10 — CRIADOR
   ========================================================= */
/* Retrato vertical, no tamanho da referência (~420 x 640).
   O original é 1536x2752 (bem mais alto), então o cover recorta
   um pouco do teto e da base, mantendo o rosto centralizado. */
.creator-photo {
  display: block;
  width: 100%;
  max-width: 420px;
  height: 640px;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  margin-left: auto;
}

/* =========================================================
   SEÇÃO 11 — GARANTIA
   ========================================================= */
.guarantee { max-width: 720px; text-align: center; }
.guarantee img { width: 150px; margin: 0 auto 24px; }
.guarantee h3 { font-size: 30px; margin-bottom: 16px; }
.guarantee p { color: var(--text-muted); }

/* =========================================================
   SEÇÃO 12 — OFERTA
   ========================================================= */
.offer-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}
.offer-mockup { max-width: 320px; margin: 0 auto 24px; }

.offer-benefits {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 28px;
}
.offer-benefits li {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 60px;
  padding: 6px 14px;
}

.price-from { font-size: 16px; color: var(--text-muted); }
.price-from s { opacity: 0.7; }
.price {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 96px;
  line-height: 1.05;
  color: var(--primary);
  letter-spacing: -0.04em;
  margin: 4px 0 8px;
}
.price-note { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

/* =========================================================
   SEÇÃO 13 — FAQ
   ========================================================= */
.faq details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 22px;
  position: relative;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--primary);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] { border-color: rgba(0, 255, 136, 0.3); }
.faq details p { padding: 0 22px 22px; color: var(--text-muted); font-size: 15px; }

/* =========================================================
   SEÇÃO 14 — RODAPÉ
   ========================================================= */
.footer {
  background: var(--bg-black);
  border-top: 1px solid var(--border-soft);
  padding: 80px 0 48px;
}
.footer h3 { font-size: 30px; margin-bottom: 12px; }
.footer .lead { margin-bottom: 32px; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 40px 0 24px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--primary); }

.copyright { font-size: 13px; color: #6b6b74; line-height: 1.8; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 980px) {
  .section { padding: 72px 0; }
  .section h2 { font-size: 32px; }
  .hero h1 { font-size: 38px; }

  .hero-grid,
  .two-cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-grid { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .selo-seguranca { margin-left: auto; margin-right: auto; }
  .social-proof { margin-left: auto; margin-right: auto; }

  /* Mockup do hero primeiro no mobile */
  .hero-media { order: -1; }

  /* Coluna empilhada: o retrato passa a ficar centralizado */
  .creator-photo { margin-left: auto; margin-right: auto; }

  .bonus-grid { grid-template-columns: 1fr; }
  .price { font-size: 72px; }
}

@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .hero { padding: 56px 0 72px; }
  .hero h1 { font-size: 30px; }
  .section h2 { font-size: 26px; }

  .btn-primary { width: 100%; text-align: center; padding: 18px 24px; font-size: 15px; }
  .btn-large { font-size: 17px; }
  .selo-seguranca { width: 220px; }

  /* A pílula não cabe em uma linha: vira cartão empilhado */
  .social-proof {
    flex-direction: column;
    gap: 12px;
    padding: 22px 24px;
    border-radius: 28px;
    text-align: center;
  }
  .avatar { width: 46px; height: 46px; border-width: 2px; }

  .creator-photo { max-width: 300px; height: 460px; }

  .gallery-set img { width: 180px; height: 180px; }
  .gallery-testimonials .gallery-set img { width: 280px; height: 350px; }
  .category-grid { grid-template-columns: 1fr; }
  .offer-card { padding: 28px 20px; }
  .price { font-size: 56px; }
  .guarantee h3, .footer h3 { font-size: 24px; }
  .notification-card {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 10px 14px 10px 10px;
  }
  .notification-text strong { font-size: 13px; }
}

/* Acessibilidade — respeita preferência por menos movimento */
@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .gallery-track.is-animated { animation: none; }
  html { scroll-behavior: auto; }
}
