/* =========================================================
   Governe Sua Vida Como Um Rei · Landing de lançamento
   Paleta: preto/noite + vermelho da capa + dourado realeza
   ========================================================= */

:root {
  --bg: #0a0a0c;
  --bg-2: #111114;
  --bg-3: #15151a;
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.08);
  --border-2: rgba(255,255,255,0.14);

  --text: #f5f5f5;
  --text-2: #cfcfd4;
  --text-3: #8a8a90;

  --gold: #d4a44a;
  --gold-light: #e8c478;
  --gold-dark: #a07d2e;
  --red: #c0392b;
  --red-hover: #d04938;
  --red-dark: #8e2a20;
  --book-red: #b8231b;
  --book-red-dark: #6b110d;

  --radius: 14px;
  --radius-lg: 20px;
  --max: 1200px;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --easing: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

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

/* =========================================================
   ACESSIBILIDADE
   ========================================================= */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--gold);
  color: #000;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; outline: 2px solid #fff; outline-offset: 2px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* Respeitar prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .intro { display: none !important; }
}

/* =========================================================
   TIPOGRAFIA
   ========================================================= */
.tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}
.hero-title,
.triade-title,
.depoimento-texto,
.livro-tagline,
.livro-call,
.autor-frase {
  text-wrap: balance;
}
.hero-sub,
.section-sub,
.livro-text p,
.autor-text p,
.triade-card p,
.inscricao-intro,
.prevenda-sub {
  text-wrap: pretty;
  hanging-punctuation: first last;
}

.section-sub {
  color: var(--text-3);
  font-size: 17px;
  margin-top: 18px;
  max-width: 620px;
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--easing), transform 0.9s var(--easing);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   INTRO ANIMADA
   ========================================================= */
.intro {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, #1a0a0a 0%, #0a0a0c 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 1s var(--easing), visibility 1s var(--easing);
  cursor: pointer;
}
.intro-logo {
  position: absolute;
  top: 36px;
  left: 36px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 22px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  opacity: 0;
  animation: fadeIn 0.6s 0.1s forwards;
}
.intro-skip {
  position: absolute;
  top: 36px;
  right: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text-2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0;
  animation: fadeIn 0.5s 0.4s forwards;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.intro-skip:hover {
  background: rgba(255,255,255,0.12);
  color: var(--text);
  border-color: var(--gold);
}
.intro-text {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 6vw, 64px);
  text-align: center;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: introIn 1.2s 0.5s forwards;
  padding: 0 24px;
  max-width: 1000px;
}
.intro.is-out { opacity: 0; visibility: hidden; pointer-events: none; }

@keyframes introIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.98); filter: blur(6px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes fadeIn { to { opacity: 1; } }

/* =========================================================
   HEADER STICKY
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(10,10,12,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 0.6s var(--easing);
}
.header.is-visible { transform: translateY(0); }
.header.is-scrolled { background: rgba(10,10,12,0.95); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 30px;
  color: var(--text);
  line-height: 1;
}
.logo-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.15;
  color: var(--text-2);
}
.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-size: 15px;
  color: var(--text-2);
  transition: color 0.2s;
  position: relative;
}
.nav a:hover { color: var(--text); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--easing);
}
.nav a:hover::after { transform: scaleX(1); }

/* =========================================================
   BOTÕES
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s var(--easing);
  text-align: center;
  font-family: inherit;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 6px 24px -8px var(--red-dark);
}
.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -8px var(--red-dark);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--text-3);
}
.btn-sm { padding: 12px 22px; font-size: 14px; }
.btn-full { width: 100%; padding: 18px 30px; }

.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 140px 0 120px;
  background:
    radial-gradient(ellipse at top right, rgba(192,57,43,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(212,164,74,0.08) 0%, transparent 60%),
    var(--bg);
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 5.8vw, 76px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-line {
  white-space: nowrap;
  display: block;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.55;
}

.hero-dates {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.hero-date {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px 22px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
  transition: border-color 0.3s, background 0.3s;
}
.hero-date:hover {
  border-color: var(--gold);
  background: var(--surface-2);
}
.hero-date .city {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.hero-date .date {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}
.hero-date .venue {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.hero-badge::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(212,164,74,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(212,164,74,0); }
}

/* HERO VISUAL com fallback */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-2);
  box-shadow: 0 30px 80px -30px rgba(192,57,43,0.5);
}
.hero-visual picture,
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 2;
}
.hero-visual .book-mockup {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-visual.use-fallback img { display: none !important; }

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  animation: bounce 2.4s infinite;
}
.scroll-indicator svg { color: var(--gold); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =========================================================
   BOOK MOCKUP (fallback elegante para capa)
   ========================================================= */
.book-mockup {
  display: flex;
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg, #0e0708 0%, #1a0a08 100%);
  position: relative;
  overflow: hidden;
}
.book-mockup::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(255,255,255,0.015) 20px 21px),
    radial-gradient(circle at 30% 30%, rgba(184,35,27,0.3), transparent 50%);
}
.book-spine {
  width: 14%;
  background: linear-gradient(90deg, #0a0a0c 0%, #1a0a08 100%);
  border-right: 1px solid rgba(255,255,255,0.05);
  position: relative;
  z-index: 2;
}
.book-spine::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
}
.book-front {
  flex: 1;
  background:
    radial-gradient(circle at 30% 30%, #d83d33 0%, var(--book-red) 30%, var(--book-red-dark) 100%);
  padding: 24px 18px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  color: #fff;
}
.book-front::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 4px, rgba(0,0,0,0.04) 4px 5px);
  pointer-events: none;
}
.book-author {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.book-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(20px, 3.5vw, 32px);
  line-height: 0.96;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 2;
}
.book-title span { display: block; }
.book-crown { padding: 4px 0 0; }
.book-crown svg { display: block; }
.book-rei {
  font-size: clamp(40px, 7vw, 64px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.book-sub {
  margin-top: auto;
  font-size: 10px;
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
  font-weight: 400;
  font-family: var(--sans);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 2;
}
.book-publisher {
  margin-top: 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  position: relative;
  z-index: 2;
}

.book-mockup-large .book-author { font-size: 13px; }
.book-mockup-large .book-front { padding: 36px 28px 26px; }
.book-mockup-large .book-sub { font-size: 12px; }

/* =========================================================
   SEÇÕES GERAIS
   ========================================================= */
.section { padding: 110px 0; position: relative; }

/* SOBRE O LIVRO */
.section-livro {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  position: relative;
}
.livro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 70px;
  margin-top: 48px;
  align-items: center;
}
.livro-text p {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 22px;
}
/* Drop cap removido para evitar problema de alinhamento. O texto começa com "Existe" naturalmente. */
.livro-text em { color: var(--text); font-style: italic; }
.livro-text strong { color: var(--text); font-weight: 600; }
.livro-call {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px !important;
  color: var(--text) !important;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 28px !important;
}

/* LIVRO CAPA com fallback */
.livro-capa {
  position: relative;
  aspect-ratio: 2/3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -20px rgba(192,57,43,0.4),
    0 10px 30px -10px rgba(0,0,0,0.5);
  transform: rotate(-1.5deg);
  transition: transform 0.6s var(--easing);
  max-width: 360px;
  margin: 0 auto;
}
.livro-capa:hover { transform: rotate(0deg) scale(1.02); }
.livro-capa picture,
.livro-capa img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}
.livro-capa .book-mockup {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.livro-capa.use-fallback img { display: none !important; }

/* TRÍADE */
.triade {
  margin-top: 100px;
  padding: 70px 0 0;
  border-top: 1px solid var(--border);
}
.triade-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
}
.triade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.triade-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  transition: all 0.4s var(--easing);
  position: relative;
  overflow: hidden;
}
.triade-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,164,74,0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.triade-card:hover {
  border-color: var(--gold);
  background: var(--surface-2);
  transform: translateY(-6px);
}
.triade-card:hover::before { opacity: 1; }
.triade-num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.45;
  line-height: 1;
  margin-bottom: 16px;
  position: relative;
}
.triade-card h4 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
}
.triade-card p {
  color: var(--text-3);
  font-size: 15px;
  line-height: 1.65;
  position: relative;
}

.livro-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 34px);
  text-align: center;
  margin-top: 80px;
  line-height: 1.3;
  color: var(--text-2);
}

/* CONVITE PARA O TESTE */
.teste-convite {
  margin-top: 70px;
  background:
    radial-gradient(ellipse at top, rgba(212,164,74,0.10) 0%, transparent 60%),
    linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid rgba(212,164,74,0.3);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.teste-convite::before {
  content: "♛";
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 200px;
  color: rgba(212,164,74,0.06);
  pointer-events: none;
  line-height: 1;
}
.teste-convite-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.teste-convite-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.teste-convite-sub {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 28px;
  text-wrap: pretty;
}
.teste-convite-btn {
  padding: 18px 36px;
  font-size: 16px;
}
@media (max-width: 600px) {
  .teste-convite { padding: 36px 24px; }
}

/* =========================================================
   CONVIDADOS
   ========================================================= */
.section-convidados { background: var(--bg-2); }
.convidados-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.convidado-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--easing);
  min-height: 460px;
}
.convidado-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
}

/* FOTO COM FALLBACK DE INICIAIS */
.convidado-foto {
  height: 320px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.convidado-foto::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 110px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(212,164,74,0.55);
  z-index: 1;
  background:
    radial-gradient(circle at 30% 30%, rgba(212,164,74,0.12) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(192,57,43,0.1) 0%, transparent 50%);
}
.convidado-foto[data-color="red"]::before {
  color: rgba(208,73,56,0.6);
  background:
    radial-gradient(circle at 30% 30%, rgba(208,73,56,0.18) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(212,164,74,0.08) 0%, transparent 50%);
}
.convidado-foto[data-color="blue"]::before {
  color: rgba(140,160,200,0.55);
  background:
    radial-gradient(circle at 30% 30%, rgba(80,100,140,0.18) 0%, transparent 60%);
}
.convidado-foto[data-color="gold"]::before {
  color: rgba(232,196,120,0.7);
  background:
    radial-gradient(circle at 30% 30%, rgba(232,196,120,0.18) 0%, transparent 60%);
}
.convidado-foto[data-color="dark"]::before {
  color: rgba(212,164,74,0.5);
}
.convidado-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 0.6s var(--easing);
  position: relative;
  z-index: 2;
}
/* Ajustes finos por foto: posicionar para mostrar o rosto bem centralizado */
img[src*="davi-braga"] { object-position: center 28% !important; }
img[src*="victor-convidado"] { object-position: center 25% !important; }
img[src*="joao-kepler"] { object-position: center 12% !important; }
img[src*="editora-gente"] { object-position: center 35% !important; }
.convidado-card:hover .convidado-foto img { transform: scale(1.04); }

.convidado-info { padding: 26px 28px; }
.convidado-role {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.convidado-info h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.convidado-info p {
  color: var(--text-3);
  font-size: 14.5px;
  line-height: 1.55;
}

/* =========================================================
   SOBRE O AUTOR
   ========================================================= */
.section-autor {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}
.autor-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}
.autor-foto {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  position: relative;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
}
.autor-foto::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 200px;
  font-weight: 900;
  color: rgba(208,73,56,0.45);
  background:
    radial-gradient(circle at 30% 30%, rgba(208,73,56,0.2) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(212,164,74,0.1) 0%, transparent 60%);
}
.autor-foto img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 2;
}
.autor-text p {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 18px;
  line-height: 1.7;
}
.autor-text .section-title { margin-bottom: 28px; }
.autor-frase {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px !important;
  color: var(--text) !important;
  padding-left: 22px;
  border-left: 3px solid var(--gold);
  margin-top: 30px !important;
}

/* =========================================================
   DEPOIMENTOS
   ========================================================= */
.section-depoimentos { background: var(--bg-2); }
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.depoimento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s var(--easing);
}
.depoimento-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
}
.quote-mark {
  font-family: var(--serif);
  font-size: 80px;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.5;
  line-height: 0.6;
  margin-bottom: 18px;
}
.depoimento-texto {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 24px;
  color: var(--text);
}
.depoimento-autor {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
}
.depoimento-cargo {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================================================
   PROGRAMAÇÃO
   ========================================================= */
.section-programacao {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}
.programacao-eventos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.evento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.4s var(--easing);
}
.evento-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.evento-header {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.evento-cidade {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.evento-tag-aniv {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,164,74,0.1);
  border: 1px solid rgba(212,164,74,0.3);
  padding: 5px 10px;
  border-radius: 999px;
}
.evento-data {
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.evento-local {
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.55;
  font-style: normal;
  margin-bottom: 10px;
}
.evento-map {
  display: inline-block;
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  transition: color 0.2s, transform 0.2s;
}
.evento-map:hover {
  color: var(--gold-light);
  transform: translateX(2px);
}

.timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.timeline li {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.timeline li:last-child { border-bottom: none; }
.timeline .hora {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--gold);
  font-size: 16px;
  min-width: 60px;
}
.timeline .atividade {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.4;
}

/* =========================================================
   INSCRIÇÃO
   ========================================================= */
.section-inscricao {
  background: var(--bg);
  padding-bottom: 80px;
}
.inscricao-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 56px;
  position: relative;
  overflow: hidden;
}
.inscricao-grid::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(212,164,74,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.inscricao-info, .form-rsvp { position: relative; z-index: 2; }
.inscricao-intro {
  color: var(--text-2);
  font-size: 17px;
  margin: 22px 0 32px;
  line-height: 1.55;
}
.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.info-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.45;
  transition: border-color 0.3s;
}
.info-card:hover { border-color: var(--gold); }
.info-icon { font-size: 18px; line-height: 1; margin-top: 2px; }
.info-card strong { color: var(--text); font-weight: 600; }

/* JÁ INSCRITO */
.ja-inscrito {
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.ja-inscrito-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: var(--gold);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 700;
  box-shadow: 0 10px 30px -10px rgba(212,164,74,0.5);
}
.ja-inscrito h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 14px;
}
.ja-inscrito p {
  color: var(--text-2);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* FORM */
.form-rsvp { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label,
.radio-fieldset legend {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
  padding: 0;
}
.radio-fieldset { border: none; padding: 0; margin: 0; }
.radio-fieldset legend { margin-bottom: 8px; }
.form-row input,
.form-row select {
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-row input::placeholder { color: var(--text-3); }
.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-2);
  box-shadow: 0 0 0 3px rgba(212,164,74,0.12);
}
.form-row input:invalid:not(:placeholder-shown) {
  border-color: rgba(255,107,90,0.5);
}
.form-row-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.radio-card {
  position: relative;
  cursor: pointer;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.radio-card small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-3);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-card:hover { border-color: var(--text-3); }
.radio-card:has(input:checked) {
  border-color: var(--gold);
  background: rgba(212,164,74,0.08);
  color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,164,74,0.08);
}
.radio-card:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.form-disclaimer {
  font-size: 12.5px;
  color: var(--text-3);
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}

/* =========================================================
   PRÉ-VENDA
   ========================================================= */
.section-prevenda {
  background: var(--bg);
  padding: 80px 0 110px;
  text-align: center;
  position: relative;
}
.prevenda-inner { max-width: 720px; }
.prevenda-inner .tag,
.prevenda-inner .section-title { margin-left: auto; margin-right: auto; }
.prevenda-inner .tag { text-align: center; }
.prevenda-inner .section-title { text-align: center; font-size: clamp(28px, 4vw, 44px); }
.prevenda-sub {
  color: var(--text-3);
  font-size: 17px;
  margin: 22px auto 36px;
  max-width: 540px;
  line-height: 1.55;
}
.prevenda-sub em { color: var(--text-2); font-style: italic; }
.form-prevenda {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.form-prevenda input {
  flex: 1;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 16px 22px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-prevenda input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,164,74,0.12);
}
.form-prevenda button { white-space: nowrap; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #000;
  padding: 40px 0 28px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  font-size: 13.5px;
  color: var(--text-3);
  line-height: 1.55;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.footer-col strong { color: var(--text); font-weight: 600; }
.footer-col em { color: var(--gold); font-style: italic; }
.footer-center { text-align: center; }
.footer-right { text-align: right; }
.footer-bottom {
  padding-top: 20px;
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  letter-spacing: 0.04em;
}

/* =========================================================
   TOAST
   ========================================================= */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  background: var(--bg-2);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 22px;
  max-width: 360px;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.6);
  font-size: 14px;
  color: var(--text-2);
  animation: slideUp 0.4s var(--easing);
}
.toast strong { color: var(--gold); display: block; margin-bottom: 4px; }
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* =========================================================
   BOTÃO VOLTAR AO TOPO
   ========================================================= */
.to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s, border-color 0.2s;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6);
}
.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

/* =========================================================
   STICKY MOBILE CTA
   ========================================================= */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10,10,12,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 0.4s var(--easing);
}
.sticky-mobile-cta.is-visible { transform: translateY(0); }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 960px) {
  .hero { padding: 110px 0 80px; min-height: auto; }
  .hero-grid,
  .livro-grid,
  .autor-grid,
  .inscricao-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual { max-width: 320px; margin: 0 auto; }
  .livro-capa { max-width: 280px; margin: 0 auto; }
  .triade-grid,
  .convidados-grid,
  .depoimentos-grid,
  .programacao-eventos {
    grid-template-columns: 1fr;
  }
  .nav { display: none; }
  .header .btn-sm { padding: 10px 18px; font-size: 13px; }
  .section { padding: 70px 0; }
  .inscricao-grid { padding: 36px 24px; }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .footer-right { text-align: center; }
  .form-row-double { grid-template-columns: 1fr; }
  .radio-group { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .scroll-indicator { display: none; }
  .sticky-mobile-cta { display: block; }
  .to-top { bottom: 90px; right: 16px; }
  .toast { right: 16px; left: 16px; bottom: 90px; max-width: none; }
  /* dá espaço pro sticky CTA no fim da página */
  .footer { padding-bottom: 90px; }
}

@media (max-width: 520px) {
  .container { padding: 0 20px; }
  .hero-dates { flex-direction: column; }
  .hero-date { width: 100%; min-width: 0; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .intro-skip { top: 16px; right: 16px; padding: 6px 12px; font-size: 12px; }
  .intro-logo { top: 16px; left: 16px; font-size: 18px; }
  .evento-card { padding: 28px 22px; }
  .evento-cidade { font-size: 26px; }
  .ja-inscrito { padding: 40px 24px; }
  .ja-inscrito h2 { font-size: 28px; }
}
