/* ============================================================
   Webinário Leila Navarro — estilo (reconstrução fiel ao original)
   Paleta roxo/violeta capturada do site original (oklch, hue 295)
   ============================================================ */
:root {
  --background: oklch(100% 0 0);
  --foreground: oklch(18% .04 290);
  --primary: oklch(45% .22 295);
  --primary-glow: oklch(62% .24 295);
  --primary-deep: oklch(32% .18 295);
  --primary-foreground: oklch(99% 0 0);
  --secondary: oklch(96% .02 295);
  --muted: oklch(97% .01 295);
  --muted-foreground: oklch(50% .04 290);
  --accent: oklch(94% .04 295);
  --accent-foreground: oklch(32% .18 295);
  --border: oklch(92% .02 295);
  --card: oklch(100% 0 0);
  --gradient-primary: linear-gradient(135deg, oklch(45% .22 295), oklch(62% .24 295));
  --gradient-deep: linear-gradient(165deg, oklch(28% .15 290), oklch(40% .2 295) 55%, oklch(48% .22 298));
  --shadow-card: 0 10px 30px -12px oklch(32% .18 295 / .28);
  --shadow-soft: 0 4px 16px -8px oklch(32% .18 295 / .25);
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ---------- Animações ---------- */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: none; }
}
/* fade-in on load (hero) com stagger */
.fade-in { opacity: 0; animation: fadeIn .7s ease-out forwards; }
.fade-in.d1 { animation-delay: .10s; }
.fade-in.d2 { animation-delay: .25s; animation-duration: .9s; }
.fade-in.d3 { animation-delay: .50s; }
.fade-in.d4 { animation-delay: .65s; }
.fade-in.d5 { animation-delay: .80s; }
.fade-in.d6 { animation-delay: .95s; }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease-out, transform .6s ease-out; }
[data-reveal].revealed { opacity: 1; transform: none; }

[data-reveal-stagger] > * { opacity: 0; transform: translateY(16px); transition: opacity .55s ease-out, transform .55s ease-out; }
[data-reveal-stagger].revealed > * { opacity: 1; transform: none; }
[data-reveal-stagger].revealed > *:nth-child(1) { transition-delay: .05s; }
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: .13s; }
[data-reveal-stagger].revealed > *:nth-child(3) { transition-delay: .21s; }
[data-reveal-stagger].revealed > *:nth-child(4) { transition-delay: .29s; }
[data-reveal-stagger].revealed > *:nth-child(5) { transition-delay: .37s; }
[data-reveal-stagger].revealed > *:nth-child(6) { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  .fade-in, [data-reveal], [data-reveal-stagger] > * {
    opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important;
  }
}

/* ---------- Faixa do topo ---------- */
.topbar {
  background: #fff;
  color: var(--primary);
  border-bottom: 1px solid oklch(45% .22 295 / .1);
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  text-align: center;
  font-size: .95rem;
  font-weight: 500;
}
.topbar .ico { width: 18px; height: 18px; flex-shrink: 0; }
.topbar strong { font-weight: 700; }
@media (max-width: 520px) { .topbar-inner { font-size: .82rem; } }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; line-height: 1.15; margin: 0; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  padding: 16px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: 0 8px 24px -8px var(--primary);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 12px 30px -8px var(--primary); }
.btn-primary:active { transform: translateY(0); }
.btn-block { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: 72px 0 84px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-deep);
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 0%, oklch(70% .24 300 / .35), transparent 70%),
    radial-gradient(50% 40% at 10% 100%, oklch(60% .22 290 / .3), transparent 70%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 640px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(4px);
  margin-bottom: 22px;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: oklch(82% .18 150);
  box-shadow: 0 0 0 3px oklch(82% .18 150 / .3);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero-eyebrow { font-size: .95rem; opacity: .85; margin: 0 0 12px; font-weight: 500; }
.hero-title { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; margin-bottom: 16px; }
.accent-text {
  background: linear-gradient(90deg, oklch(88% .14 300), oklch(82% .2 320));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 1.15rem; font-weight: 600; margin: 0 0 18px; opacity: .95; }
.hero-lead { font-size: 1.05rem; opacity: .9; margin: 0 0 32px; max-width: 560px; }
.hero-lead strong { color: oklch(90% .12 305); }

.hero-facts { display: flex; flex-wrap: wrap; gap: 14px; }
.fact {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  padding: 12px 18px;
}
.fact .ico { width: 24px; height: 24px; flex-shrink: 0; }
.fact div { display: flex; flex-direction: column; line-height: 1.25; }
.fact strong { font-size: 1rem; }
.fact span { font-size: .8rem; opacity: .8; }

.ico-sm { width: 15px; height: 15px; flex-shrink: 0; }

/* shared icon stroke style */
.ico, .check, .ico-sm {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Form card ---------- */
.form-card {
  background: var(--card);
  color: var(--foreground);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.form-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; }
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-form label {
  display: flex; flex-direction: column;
  font-size: .85rem; font-weight: 600;
  color: var(--muted-foreground);
  gap: 6px;
}
.lead-form input {
  font: inherit;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--muted);
  color: var(--foreground);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lead-form input::placeholder { color: oklch(70% .02 290); font-weight: 400; }
.lead-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(45% .22 295 / .15);
  background: #fff;
}
.lead-form .btn { margin-top: 6px; }
.form-foot { font-size: .8rem; color: var(--muted-foreground); text-align: center; margin: 4px 0 0; }
.form-status { margin: 8px 0 0; font-size: .9rem; font-weight: 600; text-align: center; min-height: 1em; }
.form-status.ok { color: oklch(52% .17 150); }
.form-status.err { color: oklch(55% .2 25); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.section-title.center { text-align: center; }
.section-intro { font-size: 1.1rem; color: var(--muted-foreground); margin: 14px 0 40px; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--primary); margin: 0 0 8px; }

/* ---------- Problema ---------- */
.problem { background: var(--background); }
.problem p { font-size: 1.1rem; color: var(--muted-foreground); margin: 0 0 20px; }
.muted-title { color: var(--muted-foreground); font-weight: 700; }
.problem .section-title { margin-bottom: 32px; }
.quote {
  margin: 28px 0;
  padding: 18px 28px;
  border-left: 4px solid var(--primary);
  background: var(--secondary);
  border-radius: 0 12px 12px 0;
  font-size: 1.35rem;
  font-weight: 700;
  font-style: italic;
  color: var(--primary-deep);
}
.highlight-line {
  font-size: 1.15rem !important;
  font-weight: 600;
  color: var(--foreground) !important;
  background: var(--accent);
  padding: 22px 26px;
  border-radius: 14px;
}

/* ---------- Aprender ---------- */
.learn { background: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 44px; }
.learn-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.learn-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.learn-card .num {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  width: 46px; height: 46px;
  border-radius: 12px;
  color: var(--primary-foreground);
  background: var(--gradient-primary);
  margin-bottom: 16px;
}
.learn-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; }
.learn-card p { color: var(--muted-foreground); margin: 0; }

/* ---------- Para quem é (dark) ---------- */
.audience { position: relative; background: var(--gradient-deep); color: #fff; overflow: hidden; }
.audience::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 50% at 50% 0%, oklch(70% .24 300 / .25), transparent 70%);
}
.audience > .container { position: relative; z-index: 1; }
.section-title.light, .section-intro.light { color: #fff; }
.section-intro.light { opacity: .85; }
.check-list { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 16px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 1.08rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  padding: 16px 20px;
}
.check-list .check {
  width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px;
  stroke: oklch(85% .16 150); stroke-width: 3;
}
.closing-line { text-align: center; font-size: 1.15rem; font-weight: 600; opacity: .95; max-width: 620px; margin: 0 auto; }

/* ---------- Sobre ---------- */
.about { background: var(--background); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: block;
  object-fit: cover;
  object-position: center 30%;
  aspect-ratio: 4 / 3;
}
.about-copy p { color: var(--muted-foreground); margin: 0 0 16px; font-size: 1.05rem; }
.about-copy .section-title { margin-bottom: 18px; }
.about-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pill {
  font-weight: 600; font-size: .9rem;
  padding: 9px 18px; border-radius: 999px;
  background: var(--secondary); color: var(--primary-deep);
  border: 1px solid var(--border);
}
.pill-accent { background: var(--gradient-primary); color: #fff; border: none; }

/* ---------- Form final ---------- */
.final-cta { background: var(--muted); }
.form-card-final { max-width: 560px; margin: 0 auto; }

/* ---------- Página de obrigado ---------- */
.thanks {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 110px);
  padding: 56px 0;
}
.thanks-inner { display: flex; justify-content: center; width: 100%; }
.thanks-card {
  max-width: 600px;
  text-align: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  padding: 48px 40px;
  backdrop-filter: blur(6px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin-bottom: 24px;
  background: oklch(72% .17 150);
  box-shadow: 0 0 0 10px oklch(72% .17 150 / .18), 0 12px 30px -8px oklch(72% .17 150 / .5);
}
.success-icon .check { width: 42px; height: 42px; stroke: #fff; stroke-width: 3; }
.thanks-card .badge { margin: 0 auto 18px; }
.thanks-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 18px; }
.thanks-text { font-size: 1.08rem; color: rgba(255, 255, 255, .9); margin: 0 0 16px; }
.thanks-text strong { color: oklch(90% .12 305); }
.thanks-card .btn { margin-top: 14px; }
.thanks-foot { margin: 20px 0 0; }
.back-link { color: rgba(255, 255, 255, .75); text-decoration: none; font-size: .92rem; transition: color .15s ease; }
.back-link:hover { color: #fff; text-decoration: underline; }
.thanks #grupo-status { color: #fff; }
.thanks #grupo-status.err { color: oklch(82% .15 25); }

@media (max-width: 520px) {
  .thanks-card { padding: 36px 24px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-deep);
  color: oklch(90% .03 295);
  padding: 28px 0;
  text-align: center;
  font-size: .9rem;
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 0 64px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .form-card { padding: 24px; }
  .hero-facts { flex-direction: column; }
  .fact { width: 100%; }
}
