/* =========================================================
   REUNIÃO SECRETA — premium dark landing
   Identidade: logo serifado + barra vermelha, CTAs verdes
   Layout inspirado em referência premium (dark, alt sections)
   ========================================================= */

:root {
  --bg:        #0a0a0a;
  --bg-alt:    #101010;
  --bg-card:   #151515;
  --line:      rgba(255, 255, 255, 0.08);
  --text:      #f4f4f4;
  --muted:     #a6a6a6;
  --muted-dim: #7c7c7c;

  --red:       #d63a3a;
  --red-soft:  #ff6b6b;
  --gold:      #c9a84c;
  --green:     #1eb955;
  --green-2:   #159a44;
  --green-dk:  #0f7a35;

  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 24px 60px rgba(0, 0, 0, 0.55);
  --maxw:      1180px;

  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: stretch; gap: 14px; text-decoration: none; }
.logo-bar { width: 5px; border-radius: 4px; background: var(--red); box-shadow: 0 0 18px rgba(214, 58, 58, 0.6); }
.logo-words { display: flex; flex-direction: column; justify-content: center; line-height: 0.98; }
.logo-line-1, .logo-line-2 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text);
  font-size: 1.35rem;
}
.logo--stack .logo-line-1, .logo--stack .logo-line-2 { font-size: 1.7rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.header-cta { font-size: 0.9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.98rem;
  letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  border: none; border-radius: var(--radius);
  padding: 16px 30px; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-green {
  color: #fff;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-2) 60%, var(--green-dk) 100%);
  box-shadow: 0 12px 28px rgba(21, 154, 68, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
  text-transform: uppercase;
}
.btn-green:hover { filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(21,154,68,.45); }
.btn-block { width: 100%; }
.btn-lg { padding: 20px 36px; font-size: 1.05rem; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line); text-transform: none;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-emoji { font-size: 1.05em; }
.wa-icon { flex-shrink: 0; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.76rem;
  font-weight: 600; color: var(--muted); margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.eyebrow--gold { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 90px;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(214,58,58,0.10), transparent 60%),
    linear-gradient(180deg, #0c0c0c 0%, var(--bg) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-title {
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 3.4vw, 2.75rem);
  line-height: 1.18; font-weight: 800; letter-spacing: -0.01em;
  margin-bottom: 30px;
}
.hero-title .hl { font-style: italic; color: var(--red-soft); font-weight: 800; }

/* ---------- Form ---------- */
.capture-form { display: flex; flex-direction: column; gap: 12px; max-width: 440px; }
.capture-form .field { position: relative; }
.capture-form input {
  width: 100%; padding: 15px 18px; font-size: 1rem; font-family: var(--font-body);
  color: var(--text); background: #fbfbfb; border: 2px solid transparent; border-radius: 8px;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.capture-form input, .capture-form input::placeholder { color: #444; }
.capture-form input { color: #111; }
.capture-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(30,185,85,0.18); }
.capture-form input.invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(214,58,58,0.18); }
.form-error { color: var(--red-soft); font-size: 0.9rem; min-height: 1.1em; margin-top: 4px; }

.hero-support, .hero-note { color: var(--muted); font-size: 0.98rem; margin-top: 26px; max-width: 520px; }
.hero-note strong { color: var(--text); }
.hero-date { margin-top: 22px; font-size: 1.02rem; }
.hero-date em { font-style: italic; font-weight: 600; }
.hero-warning { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.hero-warning u { color: var(--text); text-underline-offset: 3px; }

/* ---------- Media frames ---------- */
.hero-media { position: relative; }
.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(160deg, #1b1b1b, #0e0e0e);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}
.media-frame--portrait { aspect-ratio: 3 / 4; }
.media-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-img.is-missing { display: none; }
.media-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 6px;
  align-items: center; justify-content: center; text-align: center;
  color: var(--muted-dim); font-size: 0.95rem; letter-spacing: 0.04em; pointer-events: none;
}
.media-fallback small { color: #555; font-size: 0.78rem; }
.media-img:not(.is-missing) + .media-fallback { display: none; }

.live-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.7); border: 1px solid var(--line); backdrop-filter: blur(6px);
  padding: 8px 14px; border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.18em; font-weight: 700;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(214,58,58,.6);} 50% { opacity: .5; box-shadow: 0 0 0 6px rgba(214,58,58,0);} }

/* ---------- Speaker ---------- */
.speaker { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 84px 0; }
.speaker-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.speaker-name { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 18px; }
.speaker-bio { color: var(--muted); font-size: 1.05rem; margin-bottom: 30px; max-width: 560px; }
.speaker-bio strong { color: var(--text); }

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 84px 0;
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(214,58,58,0.10), transparent 60%),
    var(--bg);
  text-align: center;
}
.final-cta-inner { display: flex; flex-direction: column; align-items: center; }
.final-title { font-family: var(--font-serif); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; margin-bottom: 14px; }
.final-sub { color: var(--muted); margin-bottom: 34px; }
.capture-form--inline {
  flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: 780px; width: 100%; gap: 12px;
}
.capture-form--inline input { flex: 1 1 220px; }
.capture-form--inline .btn { flex: 1 1 100%; }

/* ---------- Confirm (obrigado) ---------- */
.page-obrigado { background:
  radial-gradient(900px 500px at 80% -10%, rgba(214,58,58,0.10), transparent 60%),
  var(--bg);
  min-height: 100vh; display: flex; flex-direction: column;
}
.confirm { flex: 1; display: flex; align-items: center; padding: 60px 0; }
.confirm-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.logo--stack { margin-bottom: 30px; }
.confirm-title { font-size: clamp(1.5rem, 3.4vw, 2.3rem); font-weight: 800; margin: 18px 0 22px; line-height: 1.2; }
.hl-gold { color: var(--gold); }
.confirm-lead { color: var(--text); font-size: 1.08rem; margin: 26px 0 20px; }
.confirm-note { color: var(--muted); margin-top: 22px; max-width: 460px; }

/* progress bar */
.progress {
  width: 100%; max-width: 520px; height: 34px; border-radius: 8px;
  background: #2a2a2a; border: 1px solid var(--line); overflow: hidden; position: relative;
}
.progress-bar {
  height: 100%; width: 0;
  background: linear-gradient(90deg, #e04747, #c62f2f);
  display: flex; align-items: center; justify-content: space-between; padding: 0 14px;
  color: #fff; font-weight: 700; font-size: 0.85rem; white-space: nowrap;
  transition: width 1.1s cubic-bezier(.4,0,.2,1);
}
.progress-pct { font-variant-numeric: tabular-nums; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding: 34px 0; text-align: center; }
.footer-logo { font-family: var(--font-serif); letter-spacing: 0.18em; font-weight: 700; color: var(--muted); font-size: 0.95rem; }
.site-footer p { color: var(--muted-dim); font-size: 0.85rem; margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .speaker-grid, .confirm-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 48px 0 64px; }
  .hero-media { order: -1; }
  .speaker-photo { max-width: 340px; margin: 0 auto; }
  .confirm-media { order: -1; max-width: 420px; margin: 0 auto; }
  .header-cta { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .btn { padding: 15px 22px; font-size: 0.9rem; }
  .capture-form--inline .btn { flex: 1 1 100%; }
  .logo-line-1, .logo-line-2 { font-size: 1.15rem; }
}
