/* Identidade visual Gabriel Mendonça — preto, branco e vermelho, fonte Inter */
:root {
  --bg: #0a0a0a;
  --bg-soft: #151515;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.10);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --red: #ff1a1a;
  --red-dark: #c40000;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Luz vermelha suave no topo, como o palco escuro dos vídeos */
body::before {
  content: "";
  position: fixed;
  inset: -20vh -20vw auto;
  height: 70vh;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 26, 26, 0.22), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 20px 40px;
}

/* ---------- Cabeçalho ---------- */
.logo {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 8px 30px rgba(255, 26, 26, 0.35));
}

.name {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tagline {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-top: 6px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 18px 0 28px;
}

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}

.socials a:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.socials svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Botões ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 17px 20px;
  border-radius: var(--radius);
  font: 600 16px/1.2 "Inter", Arial, sans-serif;
  cursor: pointer;
  border: 0;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn:active { transform: scale(0.98); }

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 26, 26, 0.28);
}
.btn-red:hover { background: #ff3333; box-shadow: 0 12px 36px rgba(255, 26, 26, 0.42); }

.btn-outline {
  background: var(--card);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--card-border);
}
.btn-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }

.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }

.stack { display: grid; gap: 14px; }

.cta { display: grid; gap: 7px; }
.cta-note {
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* ---------- Cartão do e-book ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 20px 50px rgba(0, 0, 0, 0.45);
}

.ebook {
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 18px;
  padding: 14px;
  margin-top: 6px;
}

.cover {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 26, 26, 0.55), transparent 55%),
    linear-gradient(160deg, #2a0000 0%, #0d0d0d 55%, #000 100%);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.cover .tag {
  align-self: flex-start;
  background: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 7px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.cover h3 {
  font-size: clamp(17px, 5vw, 24px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.cover h3 span { color: var(--red); display: block; }

.cover p {
  font-size: 9.5px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.35;
}

.ebook-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 2px;
}

.ebook-info h2 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.ebook-info .desc { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.price { font-size: 20px; font-weight: 800; margin: 12px 0 10px; }
.ebook-info .btn { padding: 12px 14px; font-size: 15px; border-radius: 12px; }

/* ---------- Rodapé ---------- */
.footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 12.5px;
  margin-top: 40px;
}

/* Entrada suave dos blocos */
.fade { opacity: 0; transform: translateY(12px); animation: fadeUp 0.6s cubic-bezier(.2,.8,.2,1) forwards; }
.fade:nth-child(2) { animation-delay: 0.06s; }
.fade:nth-child(3) { animation-delay: 0.12s; }
.fade:nth-child(4) { animation-delay: 0.18s; }
.fade:nth-child(5) { animation-delay: 0.24s; }
.fade:nth-child(6) { animation-delay: 0.30s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .fade { animation: none; opacity: 1; transform: none; }
  * { transition: none !important; }
}
