/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #080b14;
  --bg-2: #0a0e1b;
  --card: #0f1526;
  --card-border: rgba(255, 255, 255, 0.07);
  --accent: #3b82f6;
  --accent-dark: #2563eb;
  --green: #22c55e;
  --green-dark: #16a34a;
  --white: #ffffff;
  --muted: #aab4c8;
  --red: #ef4444;
  --whatsapp-bg: #0b141a;
  --whatsapp-sent: #005c4b;
  --whatsapp-recv: #202c33;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 24px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 44px; }
h2 { font-size: 34px; }
h3 { font-size: 26px; }

.accent { color: var(--accent); }

p { color: var(--muted); font-size: 16px; }

.underline {
  width: 90px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 18px 0 26px;
}

.underline.center { margin-left: auto; margin-right: auto; }

.section-title {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

/* ===== Buttons ===== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  padding: 18px 38px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-cta.block { width: 100%; }

/* ===== Marquee (colado na borda inferior do hero) ===== */
.marquee-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: rgba(8, 11, 20, 0.7);
  backdrop-filter: blur(3px);
  border-top: 1px solid var(--card-border);
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
}

.marquee-track {
  display: inline-flex;
  animation: scroll-left 26s linear infinite;
}

.marquee-track span {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--white);
  text-transform: uppercase;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding-top: 60px;
  padding-bottom: 56px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.28) 0%, rgba(59,130,246,0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 40px;
}

.badge-tag {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 22px;
  text-align: center;
}

.hero-content h1 { margin-bottom: 26px; }

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0 0 30px;
}

.hero-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
}

.hero-check svg { flex-shrink: 0; color: var(--accent); }

.hero-image {
  border-radius: 24px;
  border: 1px solid var(--card-border);
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #101a30, #0a0e1b);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
}

.hero-logo {
  margin-bottom: 0;
}

/* ===== Mockup da Biblioteca (cards de criativos empilhados) ===== */
.mockup-stack {
  position: relative;
  width: 220px;
  height: 280px;
}

.mockup-card {
  position: absolute;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.mockup-card.back-2 {
  width: 170px;
  height: 230px;
  top: 32px;
  left: -32px;
  transform: rotate(-11deg);
  background: linear-gradient(160deg, #141b30, #0a0e1b);
  border: 1px solid var(--card-border);
  opacity: 0.55;
}

.mockup-card.back-1 {
  width: 182px;
  height: 242px;
  top: 14px;
  right: -28px;
  left: auto;
  transform: rotate(9deg);
  background: linear-gradient(160deg, #101a30, #0a0e1b);
  border: 1px solid var(--card-border);
  opacity: 0.8;
}

.mockup-card.main {
  width: 212px;
  height: 272px;
  top: 0;
  left: 4px;
  z-index: 2;
  background: linear-gradient(160deg, #16213d, #0a1020);
  border: 1px solid rgba(59, 130, 246, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-format-label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.mockup-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}

.mockup-play svg { color: var(--white); margin-left: 3px; }

.mockup-roas-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(8, 11, 20, 0.85);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
}

.mockup-roas-badge strong { color: var(--accent); }

.mockup-chip {
  position: absolute;
  bottom: -14px;
  right: -6px;
  z-index: 4;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.4);
  white-space: nowrap;
}

/* ===== Placeholder blocks (swap for real images) ===== */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  border: 1px dashed rgba(255,255,255,0.18);
  padding: 20px;
}

/* ===== Problema ===== */
.problema { padding-top: 40px; padding-bottom: 40px; }

.problema-text {
  max-width: 800px;
  margin: 10px auto 0;
}

.problema-text h2 { margin-bottom: 28px; }

.problema-text p { margin-bottom: 18px; color: var(--white); }

/* ===== Pitch (transição) ===== */
.pitch { padding-top: 0; padding-bottom: 30px; }

.pitch-wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.pitch-card {
  background: var(--card);
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: 20px;
  padding: 40px;
}

.pitch-card h2 { font-size: 28px; line-height: 1.35; margin-bottom: 20px; }
.pitch-card p { font-size: 16px; color: var(--white); margin-bottom: 0; }

/* ===== Prova social: mockup WhatsApp iOS ===== */
.chats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.chat-card {
  background: var(--whatsapp-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  overflow: hidden;
  font-family: -apple-system, "SF Pro Text", var(--sans);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.chat-statusbar {
  background: #000000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px 4px;
  font-size: 13px;
  font-weight: 600;
}

.chat-statusbar-icons { display: flex; align-items: center; gap: 4px; }

.chat-header {
  background: #000000;
  padding: 6px 12px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-back { color: #3b9dfd; flex-shrink: 0; }

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #6b7580;
  color: #e6e9ec;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-contact {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  line-height: 1.2;
}

.chat-name { font-size: 14.5px; font-weight: 600; color: #fff; }
.chat-status { font-size: 11.5px; color: #8b9198; }

.chat-header-icons { display: flex; align-items: center; gap: 16px; color: #3b9dfd; }

.chat-body {
  background: var(--whatsapp-bg);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chat-date-pill {
  align-self: center;
  background: rgba(255, 255, 255, 0.08);
  color: #d1d5db;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.bubble {
  position: relative;
  max-width: 85%;
  padding: 7px 10px;
  border-radius: 16px;
  font-size: 13.5px;
  color: #ecedee;
  line-height: 1.4;
  margin-bottom: 3px;
}

.bubble.recv { background: var(--whatsapp-recv); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.sent { background: var(--whatsapp-sent); align-self: flex-end; border-bottom-right-radius: 4px; }

.bubble-time {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  float: right;
  margin: 4px 0 -2px 8px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.bubble.sent .tick { color: #53bdeb; }

.ads-carousel {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.ads-track {
  display: inline-flex;
  gap: 22px;
  animation: scroll-left 20s linear infinite;
}

.ads-item {
  width: 360px;
  height: 300px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  background: var(--card);
  overflow: hidden;
}

.ads-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% center;
  display: block;
}

/* ===== Benefícios / Entrega grids ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
}

.icon-badge {
  width: 54px; height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(59,130,246,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; }

.beneficios-grid .card { display: flex; flex-direction: column; align-items: flex-start; }
.beneficios-grid .card p { color: var(--white); }
.beneficios-grid .card h3 { margin-bottom: 18px; }
.entrega .card p { color: var(--white); }
.entrega .card h3 { margin-bottom: 18px; }

.bonus-heading { text-align: center; margin: 60px 0 30px; }

/* ===== Oferta ===== */
.oferta { background: var(--bg-2); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }

.oferta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.oferta-recap h2 { white-space: nowrap; }

.recap-list { list-style: none; margin-top: 20px; }

.recap-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 15.5px;
}

.recap-list li svg { flex-shrink: 0; color: var(--accent); }

.recap-list .old-price {
  margin-left: auto;
  color: var(--red);
  text-decoration: line-through;
  font-size: 14px;
  white-space: nowrap;
}

.total-original {
  margin-top: 24px;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
  color: var(--white);
}

.total-original del { color: var(--red); font-weight: 400; margin-left: 6px; }

.price-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
}

.price-card p {
  margin-bottom: 6px;
  color: var(--white);
  white-space: nowrap;
}

.price-big {
  font-family: Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin: 10px 0 4px;
}

.price-highlight { color: var(--green); }

.price-alt {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 26px;
}

.btn-cta-green {
  background: var(--green);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.25);
}

.btn-cta-green:hover { background: var(--green-dark); }

/* ===== Autor ===== */
.autor-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.autor-photo {
  border-radius: 24px;
  border: 1px solid var(--card-border);
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #101a30, #0a0e1b);
  overflow: hidden;
}

.autor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.autor-text p { margin-bottom: 18px; color: var(--white); }

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 40px 24px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--card-border);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  .container { padding: 60px 20px; }
  .autor-grid, .oferta-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .chats-grid { grid-template-columns: 1fr; }
  .bonus-heading { margin-top: 40px; }

  .problema { padding-top: 26px; padding-bottom: 26px; }
  .pitch { padding-bottom: 20px; }

  .ads-item { width: 270px; height: 230px; }
  .ads-track { animation-duration: 12s; }

  .pitch-card { padding: 26px; border-radius: 16px; }
  .pitch-card h2 { font-size: 20px; margin-bottom: 14px; }
  .pitch-card p { font-size: 13.5px; }

  .oferta-recap h2 { font-size: 20px; }
  .total-original { font-size: 14px; }
  .price-card p { font-size: 14px; }
  .price-big { font-size: 34px; white-space: nowrap; }

  /* Hero: foto vira fundo full-bleed, texto sobreposto por cima (como o modelo de referência) */
  .hero { padding-top: 0; padding-bottom: 0; }
  .hero-bg-glow { display: none; }

  .hero-grid {
    display: block;
    position: relative;
    min-height: 92vh;
    padding: 0;
    gap: 0;
  }

  .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    z-index: 0;
    background:
      radial-gradient(circle at 50% 15%, rgba(59, 130, 246, 0.35), transparent 55%),
      linear-gradient(160deg, #101a30, #0a0e1b);
  }

  .hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(8, 11, 20, 0) 30%, rgba(8, 11, 20, 0.88) 72%, var(--bg) 94%);
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding: 48vh 24px 60px;
    text-align: center;
  }

  .hero-content h1 { font-size: 28px; }

  .hero-checks {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    gap: 12px;
    padding: 16px 0 26px;
  }

  .hero-check { font-size: 13px; }

  .hero-content .btn-cta { margin: 0 auto; }

  /* logo + mockup ficam no topo da área de foto, longe do texto sobreposto embaixo */
  .hero-image {
    justify-content: flex-start;
    padding-top: 50px;
    gap: 18px;
  }

  .mockup-stack { width: 180px; height: 230px; transform: scale(0.9); }
}
