/* ============================================================
   YouTube Growth Engine — landing page (design moderno)
   Escopo: body[data-page="landing"] (não afeta o resto do site)
   ============================================================ */

body[data-page="landing"] {
  --accent: #00d68f;
  --accent-2: #12b6a6;
  --yt-red: #ff0000;
  --font-display: "Archivo", system-ui, sans-serif;
  --grad: linear-gradient(120deg, #00d68f 0%, #00d68f 45%, #12b6a6 100%);
  --card: rgba(255, 255, 255, 0.035);
  --card-brd: rgba(255, 255, 255, 0.09);
  --glow: 0 24px 70px -30px rgba(0, 214, 143, 0.45);
  background:
    radial-gradient(820px 520px at 15% -8%, rgba(18, 182, 166, 0.10), transparent 58%),
    radial-gradient(820px 520px at 92% 4%, rgba(0, 214, 143, 0.08), transparent 55%),
    var(--bg);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-wrap { max-width: 1140px; margin: 0 auto; padding: 0 26px; }
.lp-narrow { max-width: 780px; }

/* ---------- Botões modernos ---------- */
body[data-page="landing"] .btn {
  background: var(--grad);
  color: #03201c;
  font-weight: 800;
  border: 0;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(0, 214, 143, 0.6);
  transition: transform 0.15s ease, box-shadow 0.25s ease, filter 0.2s ease;
}
body[data-page="landing"] .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -12px rgba(0, 214, 143, 0.7);
  filter: saturate(1.1);
}
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--sm { padding: 11px 20px; font-size: 0.85rem; }
body[data-page="landing"] .btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--card-brd);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
body[data-page="landing"] .btn--ghost:hover {
  border-color: transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
}

/* ---------- Header ---------- */
.lp-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 8, 10, 0.6);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--card-brd);
}
.lp-header__inner {
  max-width: 1140px; margin: 0 auto; padding: 0 26px;
  height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
@media (max-width: 600px) {
  .lp-header .btn { display: none; } /* o hero logo abaixo já tem o CTA */
}

/* ---------- Badge ---------- */
.lp-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  white-space: nowrap;
  color: #cfe7e1;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-brd);
  backdrop-filter: blur(8px);
  margin-bottom: 26px;
}
.lp-badge .yt-glyph { width: 20px; }

/* ---------- Hero ---------- */
.lp-hero {
  position: relative; overflow: hidden;
  padding: 120px 0 96px; text-align: center;
}
.lp-hero::before, .lp-hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: 0.22; z-index: 0;
  animation: floatBlob 16s ease-in-out infinite;
}
.lp-hero::before { width: 380px; height: 380px; background: #00d68f; top: -200px; left: -120px; }
.lp-hero::after { width: 340px; height: 340px; background: #12b6a6; top: -180px; right: -100px; animation-delay: -8s; }
@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, 40px) scale(1.08); }
}
/* Mosaico de frames reais ao fundo do hero */
.lp-hero__mosaic {
  position: absolute; inset: 0; z-index: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  grid-auto-rows: 120px;
  overflow: hidden;
}
.lp-hero__mosaic img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.15) brightness(0.62) contrast(1.02);
}
.lp-hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(820px 520px at 15% -8%, rgba(18, 182, 166, 0.14), transparent 58%),
    radial-gradient(820px 520px at 92% 4%, rgba(0, 214, 143, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(4, 6, 6, 0.72) 0%, rgba(4, 6, 6, 0.9) 100%);
}
.lp-hero > .lp-wrap { position: relative; z-index: 2; }
.lp-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.lp-hero__lead {
  max-width: 660px; margin: 0 auto 36px;
  color: #b9c2c0; font-size: 1.18rem; line-height: 1.6;
}
.lp-hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.lp-stats {
  display: grid; grid-auto-flow: column; justify-content: center;
  gap: 16px; list-style: none; margin: 60px 0 0; padding: 0;
}
.lp-stats li {
  background: var(--card); border: 1px solid var(--card-brd);
  border-radius: 18px; padding: 22px 30px; min-width: 170px;
  backdrop-filter: blur(8px);
}
.lp-stats strong {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 6vw, 2.4rem); white-space: nowrap;
  line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-stats span { color: var(--muted); font-size: 0.86rem; }

/* ---------- Seções ---------- */
.lp-section { padding: 92px 0; position: relative; }
.lp-section--alt { background: rgba(255, 255, 255, 0.015); border-top: 1px solid var(--card-brd); border-bottom: 1px solid var(--card-brd); }
.lp-head { max-width: 740px; margin: 0 auto 50px; text-align: center; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 0 0 14px;
}
.lp-h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 4.2vw, 2.9rem); line-height: 1.06; letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.lp-sub { color: #aab3b1; font-size: 1.08rem; line-height: 1.65; margin: 0; }
.lp-narrow .lp-h2, .lp-narrow .lp-sub { text-align: left; }
.lp-narrow > .eyebrow { display: inline-block; }

/* ---------- Pilares / cards genéricos (glass) ---------- */
.lp-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-pillar, .lp-fit__col, .lp-note, .lp-plan, .lp-faq details {
  background: var(--card);
  border: 1px solid var(--card-brd);
  border-radius: 20px;
  backdrop-filter: blur(8px);
}
.lp-pillar { padding: 30px; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.3s ease; }
.lp-pillar:hover { transform: translateY(-4px); border-color: rgba(0, 214, 143, 0.5); box-shadow: var(--glow); }
.lp-pillar__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(0, 214, 143, 0.12); color: var(--accent);
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
}
.lp-pillar h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 16px 0 8px; }
.lp-pillar p { color: var(--muted); margin: 0; }

/* ---------- Passos ---------- */
.lp-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.lp-steps--three { grid-template-columns: repeat(3, 1fr); }
.lp-steps li {
  position: relative; padding: 26px;
  background: var(--card); border: 1px solid var(--card-brd); border-radius: 20px;
}
.lp-steps li::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 56px;
  background: var(--grad); border-radius: 0 0 4px 0;
}
.lp-steps__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #03201c;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 8px 22px -8px rgba(0, 214, 143, 0.7);
  margin-bottom: 14px;
}
.lp-steps h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 8px; }
.lp-steps p { color: var(--muted); margin: 0; font-size: 0.96rem; }
.lp-steps em { color: var(--accent); font-style: normal; font-weight: 600; }

/* ---------- Entregáveis (bento glass) ---------- */
.lp-deliverables {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.lp-deliverables li {
  position: relative; padding: 18px 18px 18px 50px;
  background: var(--card); border: 1px solid var(--card-brd); border-radius: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.lp-deliverables li:hover { border-color: rgba(0, 214, 143, 0.4); transform: translateY(-2px); }
.lp-deliverables li::before {
  content: "✓"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0, 214, 143, 0.15); color: var(--accent); font-size: 0.78rem; font-weight: 800;
}

/* ---------- Dores ---------- */
.lp-pains { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.lp-pains li {
  position: relative; padding: 18px 20px 18px 52px;
  background: var(--card); border: 1px solid var(--card-brd); border-radius: 14px;
}
.lp-pains li::before {
  content: "✕"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: #ff6b6b; font-weight: 700;
}

/* ---------- Para quem ---------- */
.lp-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.lp-fit__col { padding: 28px; }
.lp-fit__col h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 14px; }
.lp-fit__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lp-fit__col li { position: relative; padding-left: 28px; color: var(--muted); }
.lp-fit__col--yes li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.lp-fit__col--no li::before { content: "✕"; position: absolute; left: 0; color: #ff6b6b; font-weight: 800; }

/* ---------- Planos ---------- */
.lp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.lp-plans--two { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin: 0 auto; }
.lp-plan { position: relative; padding: 34px; display: flex; flex-direction: column; }
.lp-plan--featured {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--glow);
}
.lp-plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #03201c;
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 6px 14px; border-radius: 999px;
}
.lp-plan h3 { font-family: var(--font-display); font-size: 1.45rem; margin: 0 0 6px; }
.lp-plan__price { font-family: var(--font-display); font-weight: 800; font-size: 2rem; margin: 0 0 20px; }
.lp-plan__price span { font-size: 0.9rem; font-weight: 400; color: var(--muted); }
.lp-plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.lp-plan li { position: relative; padding-left: 26px; color: var(--muted); }
.lp-plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }
.lp-plan .btn { margin-top: auto; }

/* ---------- Caixa de aprendizado ---------- */
.lp-note { margin-top: 38px; padding: 28px 30px; border-left: 3px solid var(--accent); }
.lp-note p { margin: 0; color: var(--muted); }
.lp-note strong { color: var(--text); }

/* ---------- FAQ ---------- */
.lp-faq { display: grid; gap: 12px; }
.lp-faq details { padding: 0 22px; }
.lp-faq summary { cursor: pointer; padding: 20px 0; font-weight: 600; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; float: right; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq p { color: var(--muted); margin: 0 0 20px; }

/* ---------- CTA final ---------- */
.lp-cta {
  position: relative; overflow: hidden;
  padding: 100px 0; text-align: center;
  background: radial-gradient(760px 360px at 50% 0%, rgba(0, 214, 143, 0.16), transparent 62%), var(--bg);
  border-top: 1px solid var(--card-brd);
}
.lp-cta .lead-form {
  margin-top: 34px; text-align: left;
  background: var(--card); border: 1px solid var(--card-brd);
  border-radius: 22px; padding: 30px; backdrop-filter: blur(8px);
}
body[data-page="landing"] .lead-form input,
body[data-page="landing"] .lead-form textarea {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--card-brd);
  border-radius: 12px;
}
body[data-page="landing"] .lead-form input:focus,
body[data-page="landing"] .lead-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 214, 143, 0.2);
}

/* ---------- Chip / glyph YouTube ---------- */
.yt-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 0, 0, 0.12);
  border: 1px solid rgba(255, 0, 0, 0.35);
  margin-bottom: 14px;
}
.yt-glyph { width: 24px; height: auto; display: block; }

/* ---------- Seção de prova ---------- */
.lp-proof {
  background:
    radial-gradient(700px 360px at 50% -10%, rgba(255, 0, 0, 0.10), transparent 62%),
    rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--card-brd);
  border-bottom: 1px solid var(--card-brd);
}
.plaque-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 920px; margin: 0 auto; }

.plaque {
  position: relative;
  display: block;
  color: inherit;
  text-align: center;
  padding: 26px 22px 24px;
  border-radius: 20px;
  background: linear-gradient(165deg, #1c1c1f 0%, #0c0c0e 100%);
  border: 1px solid #2b2b30;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 26px 50px -28px rgba(0, 0, 0, 0.9);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.3s ease;
}
.plaque:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 0, 0, 0.5);
  box-shadow: 0 30px 60px -28px rgba(255, 0, 0, 0.35);
}
.plaque__award {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #cfcfcf;
  margin-bottom: 18px;
}

/* Botão de play metálico (placa de prata) */
.plaque__btn {
  width: 104px; height: 74px; margin: 0 auto 20px;
  border-radius: 16px;
  background: linear-gradient(150deg, #fafafa 0%, #cfcfcf 38%, #9a9a9a 70%, #e6e6e6 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.85),
    inset 0 -4px 8px rgba(0, 0, 0, 0.3),
    0 10px 24px -8px rgba(0, 0, 0, 0.7);
}
.plaque__tri {
  width: 0; height: 0;
  border-style: solid;
  border-width: 16px 0 16px 28px;
  border-color: transparent transparent transparent var(--yt-red);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
  margin-left: 5px;
}

.plaque__plate {
  background: linear-gradient(#141416, #0c0c0e);
  border: 1px solid #242428;
  border-radius: 12px;
  padding: 16px 12px;
}
.plaque__count {
  display: block;
  font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plaque__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  margin: 8px 0 2px; color: #fff;
}
.plaque__sub { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.04em; }

/* ---------- Animação de revelar no scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.reveal--in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .lp-hero::before, .lp-hero::after { animation: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .lp-pillars, .lp-deliverables, .plaque-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-steps, .lp-steps--three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .lp-stats { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .lp-stats li { min-width: 0; }
}
@media (max-width: 640px) {
  .lp-pillars, .lp-steps, .lp-steps--three, .lp-deliverables, .lp-plans, .lp-plans--two, .lp-fit, .plaque-grid { grid-template-columns: 1fr; }
  .lp-hero { padding: 84px 0 64px; }
  .lp-section { padding: 64px 0; }
  .lp-cta { padding: 72px 0; }
}
