/* =========================================================================
   WORKSHOP IA DESCOMPLICADA — style.css
   Design premium SaaS • Paleta roxa (inspiração Nubank++)
   Autor visual: layout exclusivo (conteúdo à esquerda + form flutuante)
   ========================================================================= */

/* ===================== VARIÁVEIS / DESIGN TOKENS ===================== */
:root {
  /* Cores principais */
  --primary:   #6D28D9;
  --secondary: #4F46E5;
  --accent:    #8B5CF6;
  --dark:      #0F172A;
  --dark-card: #111827;
  --text:      #F8FAFC;
  --muted:     #94A3B8;

  /* Gradientes */
  --grad-main: linear-gradient(135deg, #4F46E5 0%, #6D28D9 50%, #8B5CF6 100%);
  --grad-text: linear-gradient(100deg, #C4B5FD 0%, #A78BFA 50%, #818CF8 100%);
  --grad-cta:  linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);

  /* Sombras premium */
  --shadow-sm:  0 4px 16px rgba(15, 23, 42, .18);
  --shadow-md:  0 18px 50px rgba(76, 29, 149, .25);
  --shadow-lg:  0 40px 90px rgba(15, 23, 42, .45);
  --shadow-glow: 0 0 60px rgba(139, 92, 246, .45);

  /* Layout */
  --radius:    22px;
  --radius-sm: 14px;
  --maxw:      1200px;
  --ease:      cubic-bezier(.22, 1, .36, 1);
}

/* ===================== RESET / BASE ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Contém qualquer overflow horizontal (ex.: estado inicial das animações AOS)
   tanto no <html> quanto no <body>. `clip` preserva position:fixed/sticky;
   `hidden` é o fallback para navegadores antigos. */
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* Texto com gradiente reutilizável */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Destaque secundário nas headlines (ciano — contraste com o roxo) */
.grad-text-alt {
  background: linear-gradient(100deg, #5EEAD4 0%, #38BDF8 45%, #818CF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.headline .grad-text,
.headline .grad-text-alt {
  font-weight: 900;
}

/* =========================================================================
   NAVBAR
   ========================================================================= */
.nav-shell {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 14px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), backdrop-filter .35s;
}
.nav-shell.scrolled {
  background: rgba(15, 23, 42, .72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--grad-main); border-radius: 11px; color: #fff; font-size: .95rem;
  box-shadow: 0 8px 22px rgba(109, 40, 217, .5);
}
.brand-accent { color: var(--accent); }

.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .94rem; transition: color .25s; }
.nav-links a:hover { color: var(--text); }

.btn-nav {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--text); font-weight: 600; font-size: .9rem;
  padding: 10px 20px; border-radius: 100px;
  transition: transform .25s var(--ease), background .25s, border-color .25s;
}
.btn-nav:hover { transform: translateY(-2px); background: rgba(139, 92, 246, .2); border-color: var(--accent); }
.btn-nav i { font-size: .78rem; transition: transform .25s; }
.btn-nav:hover i { transform: translateX(3px); }

/* =========================================================================
   HERO / PRIMEIRA DOBRA
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 92px 0 40px;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(109, 40, 217, .55), transparent 60%),
    radial-gradient(900px 600px at 100% 10%, rgba(79, 70, 229, .45), transparent 55%),
    var(--dark);
}

/* --- Camadas decorativas de fundo --- */
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-1 { width: 460px; height: 460px; background: var(--primary);   top: -120px; left: -90px;  animation: float 14s ease-in-out infinite; }
.orb-2 { width: 380px; height: 380px; background: var(--accent);    bottom: -120px; left: 30%;  animation: float 18s ease-in-out infinite reverse; }
.orb-3 { width: 320px; height: 320px; background: var(--secondary); top: 8%; right: -80px;       animation: float 16s ease-in-out infinite; }

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, -30px) scale(1.08); }
}

/* --- Grade do hero: conteúdo + formulário --- */
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}

.hero-content { max-width: 600px; }

/* Meta do hero — texto discreto com data e horário */
.hero-meta {
  display: inline-block;
  color: #94A3B8;
  font-weight: 500;
  font-size: .88rem;
  letter-spacing: .01em;
  margin-bottom: 18px;
}

/* Headline */
.headline {
  font-size: clamp(1.9rem, 2.85vw, 2.45rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin-bottom: 10px;
}
/* Kicker: deixa claro em 3s que é o WORKSHOP */
.hl-kicker {
  display: block;
  font-size: clamp(.82rem, 1vw, .95rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 10px;
}

/* Subheadline */
.subheadline {
  font-size: clamp(.96rem, 1.15vw, 1.05rem);
  color: var(--muted);
  margin-bottom: 14px;
  max-width: 540px;
}
.subheadline strong { color: var(--text); font-weight: 600; }

/* --- VÍDEO --- */
.video-card {
  position: relative;
  width: 100%;
  max-width: 390px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: 14px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  isolation: isolate;
}
.video-card:hover { transform: translateY(-6px) scale(1.012); box-shadow: var(--shadow-lg), var(--shadow-glow); }
.video-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.video-card:hover .video-thumb { transform: scale(1.06); filter: brightness(.78); }
.video-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, .1) 0%, rgba(15, 23, 42, .55) 100%);
  z-index: 1;
}

.video-glow {
  position: absolute; inset: -2px; z-index: 0; border-radius: var(--radius);
  background: var(--grad-main); opacity: 0; filter: blur(22px);
  transition: opacity .4s;
}
.video-card:hover .video-glow { opacity: .55; }

.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .92);
  color: var(--primary); font-size: 0.85rem;
  display: grid; place-items: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
  transition: transform .3s var(--ease), background .3s;
}
.play-btn::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .5);
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring {
  0%   { transform: scale(.85); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}
.play-btn i { margin-left: 2px; }
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.12); background: #fff; }

.video-time {
  position: absolute; bottom: 14px; right: 14px; z-index: 3;
  background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px);
  color: #fff; font-size: .76rem; font-weight: 600;
  padding: 4px 10px; border-radius: 7px;
}
.video-label {
  position: absolute; bottom: 14px; left: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(139, 92, 246, .85); backdrop-filter: blur(4px);
  color: #fff; font-size: .78rem; font-weight: 600;
  padding: 5px 12px; border-radius: 8px;
}

/* --- BENEFÍCIOS COMPACTOS --- */
.hero-benefits {
  display: grid; grid-template-columns: 1fr 1fr; gap: 7px 20px;
  margin-bottom: 12px; max-width: 540px;
}
.hero-benefits li {
  display: flex; align-items: center; gap: 9px;
  font-size: .88rem; color: #E2E8F0; font-weight: 500;
}
.hero-benefits i { color: var(--accent); font-size: .95rem; flex-shrink: 0; }

/* --- AUTORIDADE + PROVA SOCIAL (apresentador) --- */
.hero-authority {
  display: inline-flex; align-items: center; gap: 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px; padding: 9px 18px 9px 12px;
  backdrop-filter: blur(10px);
}
.presenter { display: flex; align-items: center; gap: 11px; }
.presenter-photo {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(139, 92, 246, .6);
  box-shadow: 0 4px 14px rgba(109, 40, 217, .4);
}
.presenter-info { display: flex; flex-direction: column; line-height: 1.25; }
.presenter-info strong { font-size: .92rem; font-weight: 700; }
.presenter-info span { font-size: .74rem; color: var(--muted); }

/* =========================================================================
   FORMULÁRIO FLUTUANTE
   ========================================================================= */
.form-col { position: relative; }

/* Glow roxo atrás do card — mais forte para "moldura" luminosa */
.form-col::before {
  content: ''; position: absolute; inset: -8px; z-index: 0; border-radius: 32px;
  background: var(--grad-main); filter: blur(34px); opacity: .6;
  animation: floatCard 6s ease-in-out infinite;
}

/* Card ESCURO premium (glassmorphism) — destaca o botão e integra à página */
.form-card {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, rgba(26, 32, 56, .96), rgba(15, 20, 38, .97));
  border: 1px solid rgba(139, 92, 246, .32);
  border-radius: 26px;
  padding: 22px 26px 28px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.form-head { text-align: center; margin-bottom: 16px; }
.form-title { color: var(--text); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.form-sub { color: var(--muted); font-size: .9rem; margin-top: 5px; }

.field { margin-bottom: 13px; }
.field label { display: block; font-size: .8rem; font-weight: 600; color: #CBD5E1; margin-bottom: 6px; }

.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap > i {
  position: absolute; left: 15px; color: #8794Ad; font-size: .95rem;
  transition: color .25s; pointer-events: none;
}
.input-wrap input {
  width: 100%;
  padding: 13px 15px 13px 42px;
  border: 1.6px solid rgba(255, 255, 255, .12);
  border-radius: 13px;
  font-family: inherit; font-size: .96rem; color: var(--text);
  background: rgba(255, 255, 255, .05);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.input-wrap input::placeholder { color: #7C89A3; }
.input-wrap input:focus {
  outline: none; background: rgba(255, 255, 255, .08);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, .2);
}
.input-wrap input:focus + i,
.input-wrap:focus-within > i { color: var(--accent); }

/* Estado de erro */
.field.invalid .input-wrap input { border-color: #F87171; background: rgba(248, 113, 113, .08); }
.error-msg { display: block; min-height: 0; font-size: .76rem; color: #FCA5A5; margin-top: 4px; font-weight: 500; }

/* Botão CTA principal */
.btn-cta {
  position: relative; overflow: hidden;
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--grad-cta);
  color: #fff; font-family: inherit; font-weight: 800; font-size: 1rem;
  letter-spacing: .02em;
  padding: 16px 22px; border: none; border-radius: 14px; cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 14px 34px rgba(109, 40, 217, .45);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.btn-cta::before {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--ease);
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(109, 40, 217, .6); }
.btn-cta:hover::before { left: 130%; }
.btn-cta:active { transform: translateY(-1px) scale(.99); }
.btn-cta i { transition: transform .25s; }
.btn-cta:hover i { transform: translateX(4px); }
.btn-cta.loading { pointer-events: none; opacity: .85; }
.btn-cta.loading .btn-label { opacity: .6; }

.form-foot { text-align: center; color: #94A3B8; font-size: .8rem; margin-top: 12px; }
.form-foot i { color: #10B981; }


/* =========================================================================
   SEÇÕES GENÉRICAS
   ========================================================================= */
.section { position: relative; padding: 92px 0; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.1;
}
.section-desc { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }

/* --- SEÇÃO 2: O QUE VAI APRENDER --- */
.section-learn {
  background:
    radial-gradient(800px 500px at 80% 0%, rgba(79, 70, 229, .14), transparent 60%),
    var(--dark);
}
.learn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.learn-card {
  position: relative;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .4s var(--ease), border-color .4s, background .4s;
  overflow: hidden;
}
.learn-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 50% -20%, rgba(139, 92, 246, .22), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.learn-card:hover { transform: translateY(-8px); border-color: rgba(139, 92, 246, .45); background: rgba(255, 255, 255, .055); }
.learn-card:hover::before { opacity: 1; }
.learn-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--grad-main); display: grid; place-items: center;
  color: #fff; font-size: 1.35rem; margin-bottom: 18px;
  box-shadow: 0 10px 26px rgba(109, 40, 217, .4);
  transition: transform .4s var(--ease);
}
.learn-card:hover .learn-icon { transform: scale(1.08) rotate(-5deg); }
.learn-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 9px; position: relative; }
.learn-card p { color: var(--muted); font-size: .95rem; position: relative; }

/* --- SEÇÃO 3: PARA QUEM É --- */
.section-audience { background: var(--dark-card); }
.audience-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.audience-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius); padding: 32px 16px;
  text-align: center; font-weight: 600; font-size: 1rem;
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.audience-card i {
  font-size: 1.9rem; color: var(--accent);
  transition: transform .35s var(--ease), color .35s;
}
.audience-card:hover { transform: translateY(-7px); border-color: rgba(139, 92, 246, .5); background: rgba(139, 92, 246, .1); }
.audience-card:hover i { transform: scale(1.15); color: #C4B5FD; }

/* --- SEÇÃO 4: PROFESSOR --- */
.section-author {
  background:
    radial-gradient(700px 500px at 10% 50%, rgba(109, 40, 217, .18), transparent 60%),
    var(--dark);
}
.author-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }

.author-photo-wrap { position: relative; }
.author-photo {
  width: 100%; border-radius: 28px; object-fit: cover; aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: var(--shadow-lg); position: relative; z-index: 2;
}
.author-glow {
  position: absolute; inset: 20px; z-index: 1; border-radius: 28px;
  background: var(--grad-main); filter: blur(50px); opacity: .5;
}
.author-float-card {
  position: absolute; bottom: -22px; right: -18px; z-index: 3;
  display: flex; align-items: center; gap: 13px;
  background: rgba(17, 24, 39, .85); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow-md);
  animation: floatCard 5s ease-in-out infinite;
}
.author-float-card i {
  font-size: 1.4rem; color: var(--accent);
  background: rgba(139, 92, 246, .15); padding: 10px; border-radius: 11px;
}
.author-float-card strong { display: block; font-size: .92rem; }
.author-float-card span { font-size: .76rem; color: var(--muted); }

.author-info .section-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.author-credential {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 14px; font-size: .95rem; font-weight: 600; color: #DDD6FE;
}
.author-credential i { color: #34D399; }
.author-bio { color: var(--muted); font-size: 1.06rem; margin: 14px 0 26px; max-width: 540px; }
.author-bio strong { color: var(--text); font-weight: 600; }

.author-stats { display: flex; gap: 36px; margin-bottom: 30px; }
.author-stats li { display: flex; flex-direction: column; }
.author-stats strong { font-size: 1.9rem; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.author-stats strong i { font-size: 1.1rem; color: #FBBF24; -webkit-text-fill-color: #FBBF24; }
.author-stats span { font-size: .85rem; color: var(--muted); }

.btn-cta-inline { width: auto; padding: 15px 30px; }

/* --- SEÇÃO 5: FAQ --- */
.section-faq { background: var(--dark-card); }
.accordion { display: flex; flex-direction: column; gap: 14px; }
.acc-item {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .3s, background .3s;
}
.acc-item.open { border-color: rgba(139, 92, 246, .45); background: rgba(139, 92, 246, .06); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; cursor: pointer;
  padding: 20px 24px; text-align: left;
  font-family: inherit; font-size: 1.05rem; font-weight: 600; color: var(--text);
}
.acc-head i { color: var(--accent); font-size: .95rem; transition: transform .35s var(--ease); flex-shrink: 0; }
.acc-item.open .acc-head i { transform: rotate(135deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-body p { padding: 0 24px 20px; color: var(--muted); font-size: .98rem; }

/* --- SEÇÃO FINAL: CTA --- */
.section-final {
  position: relative; overflow: hidden; text-align: center;
  padding: 110px 0;
  background: var(--grad-main);
}
.final-bg { position: absolute; inset: 0; pointer-events: none; }
.orb-final-1 { width: 400px; height: 400px; background: #fff; opacity: .12; filter: blur(80px); top: -100px; left: 10%; }
.orb-final-2 { width: 360px; height: 360px; background: var(--secondary); opacity: .4; filter: blur(80px); bottom: -120px; right: 10%; }
.final-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.final-title { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; margin: 0 0 14px; }
.final-sub { font-size: 1.15rem; color: rgba(255, 255, 255, .88); margin-bottom: 34px; }
.btn-cta-final {
  width: auto; padding: 18px 44px; font-size: 1.05rem;
  background: #fff; color: var(--primary);
  box-shadow: 0 20px 50px rgba(15, 23, 42, .35);
}
.btn-cta-final:hover { box-shadow: 0 26px 60px rgba(15, 23, 42, .5); }
.final-foot { margin-top: 20px; color: rgba(255, 255, 255, .75); font-size: .9rem; }

/* =========================================================================
   RODAPÉ
   ========================================================================= */
.footer { background: var(--dark); padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-copy { color: var(--muted); font-size: .85rem; }

/* =========================================================================
   MODAL DE VÍDEO
   ========================================================================= */
/* --- Modal de envio (loader + redirect) --- */
.submit-modal { position: fixed; inset: 0; z-index: 2100; display: grid; place-items: center; padding: 20px; }
.submit-modal[hidden] { display: none; }
.submit-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(2, 6, 23, .88); backdrop-filter: blur(12px);
  animation: fadeIn .3s;
}
.submit-modal-box {
  position: relative; z-index: 2;
  background: #1E293B; border: 1px solid rgba(139, 92, 246, .35);
  border-radius: 20px; padding: 36px 40px; text-align: center;
  min-width: min(100%, 320px); max-width: 380px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  animation: popIn .4s var(--ease);
}
.submit-loader {
  width: 48px; height: 48px; margin: 0 auto 20px;
  border: 3px solid rgba(167, 139, 250, .25);
  border-top-color: #A78BFA;
  border-radius: 50%;
  animation: spin .85s linear infinite;
}
.submit-modal-text {
  color: #F8FAFC; font-size: 1.05rem; font-weight: 700; line-height: 1.4;
}
@keyframes spin { to { transform: rotate(360deg); } }

.video-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; }
.video-modal[hidden] { display: none; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 23, .85); backdrop-filter: blur(10px); animation: fadeIn .3s; }
.video-modal-box { position: relative; z-index: 2; width: 100%; max-width: 900px; animation: popIn .4s var(--ease); }
.video-modal-close {
  position: absolute; top: -46px; right: 0;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.1rem;
  display: grid; place-items: center; transition: background .25s, transform .25s;
}
.video-modal-close:hover { background: rgba(255, 255, 255, .25); transform: rotate(90deg); }
.video-modal-ratio { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.video-modal-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* =========================================================================
   BARRA FIXA MOBILE (CTA)
   ========================================================================= */
.mobile-cta {
  position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 900;
  display: none; align-items: center; justify-content: center; gap: 10px;
  background: var(--grad-cta); color: #fff; font-weight: 800; font-size: .98rem;
  padding: 15px; border-radius: 14px;
  box-shadow: 0 14px 34px rgba(109, 40, 217, .55);
  animation: floatCard 4s ease-in-out infinite;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.mobile-cta i { color: #FBBF24; }

/* =========================================================================
   RESPONSIVIDADE
   ========================================================================= */

/* Tablets / desktops menores */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { max-width: 640px; margin: 0 auto; text-align: center; }
  .hero-benefits { justify-content: center; max-width: 520px; margin-inline: auto; margin-bottom: 22px; }
  .video-card, .hero-authority { margin-inline: auto; }
  .hero-authority { display: inline-flex; }
  .hl-kicker { /* mantém alinhado ao centro junto com a headline */ }
  .hero-meta { margin-inline: auto; }
  .form-card { max-width: 460px; margin: 0 auto; }

  .nav-links { display: none; }

  .learn-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
  .author-grid { grid-template-columns: 1fr; gap: 60px; max-width: 560px; margin: 0 auto; text-align: center; }
  .author-stats { justify-content: center; }
  .author-info .eyebrow { justify-content: center; }
  .author-bio { margin-inline: auto; }
}

/* Celulares */
@media (max-width: 640px) {
  .container { padding-inline: 18px; }

  .btn-nav { display: none; }
  .nav-shell { padding: 12px 0; }

  .hero { padding: 92px 0 40px; min-height: auto; }
  .hero-content { text-align: left; }
  .headline { font-size: clamp(1.85rem, 8vw, 2.3rem); }
  .subheadline { font-size: 1rem; margin-bottom: 18px; }
  .hero-meta { margin: 0 0 14px; font-size: .82rem; }

  .video-card { margin: 0 0 18px; border-radius: 18px; }
  .play-btn { width: 36px; height: 36px; font-size: 0.75rem; }

  .hero-benefits { grid-template-columns: 1fr; gap: 7px; text-align: left; margin: 0 0 18px; max-width: 100%; }
  .hero-benefits li { font-size: .9rem; }

  .hero-authority { width: 100%; justify-content: flex-start; gap: 10px; padding: 9px 14px 9px 10px; }
  .presenter-info strong { font-size: .86rem; }
  .presenter-info span { font-size: .68rem; }

  .form-card { padding: 20px 18px 24px; margin-top: 6px; }
  .form-title { font-size: 1.3rem; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 38px; }
  .learn-grid { grid-template-columns: 1fr; gap: 16px; }
  .learn-card { padding: 26px 22px; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .audience-card { padding: 26px 12px; font-size: .92rem; }
  .author-stats { gap: 24px; }
  .author-stats strong { font-size: 1.55rem; }
  .acc-head { font-size: .98rem; padding: 17px 18px; }
  .acc-body p { padding: 0 18px 18px; }

  .section-final { padding: 80px 0 110px; }

  /* CTA fixa no rodapé do celular */
  .mobile-cta { display: flex; }
}

/* Telas muito pequenas */
@media (max-width: 360px) {
  .hero-authority { flex-wrap: wrap; }
}

/* =========================================================================
   ACESSIBILIDADE — respeitar quem prefere menos movimento
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
