/* =========================================================
   Pós-graduação em Ginecologia Clínica e Endocrinologia Feminina
   Captura 3ª turma — sistema visual
   Base: manual de marca (Sora, verde-floresta, flor roxo→verde)
   + página da 2ª turma (CTA verde-menta com glow, cards arredondados)
   ========================================================= */

:root {
  --bg: #04150f;
  --green-950: #061d16;
  --green-900: #0a2d23;
  --green-800: #0f3026;
  --green-700: #214e3d;
  --green-600: #387055;
  --sage: #5ba882;
  --mint: #78edb3;
  --mint-soft: rgba(120, 237, 179, 0.16);
  --lilac: #9760b8;
  --purple: #714393;
  --ink: #edede6;
  --ink-2: rgba(237, 237, 230, 0.74);
  --ink-3: rgba(237, 237, 230, 0.5);
  --line: rgba(237, 237, 230, 0.1);
  --card: rgba(10, 45, 35, 0.55);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Sora", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3 { font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
p { text-wrap: pretty; }
.dot { color: var(--sage); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Pílula roxa (gesto do logo) ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(151, 96, 184, 0.28), rgba(113, 67, 147, 0.16));
  border: 1px solid rgba(151, 96, 184, 0.45);
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #e6d4f2;
}
.tag b {
  background: linear-gradient(100deg, var(--lilac), var(--purple));
  color: #fff; padding: 3px 10px; border-radius: 999px; letter-spacing: 0.08em;
}

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage);
}

/* ---------- Botão verde-menta (herdado da página da 2ª turma) ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 0 30px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--mint); color: #06241a;
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em; text-decoration: none;
  box-shadow: 0 0 0 0 rgba(120, 237, 179, 0.5), 0 14px 40px -10px rgba(120, 237, 179, 0.65);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s;
  overflow: hidden; isolation: isolate;
}
.btn::after { /* brilho que atravessa */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: shine 4.5s var(--ease) infinite 1.5s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px var(--mint-soft), 0 20px 50px -12px rgba(120, 237, 179, 0.8); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ---------- Header ---------- */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
}
.top img { height: clamp(34px, 4.4vw, 46px); width: auto; }
.top .mec-mini {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
  display: flex; align-items: center; gap: 8px;
}
.top .mec-mini::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }

/* =========================================================
   HERO — camadas em profundidade
   ========================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 980px);
  display: flex; flex-direction: column; align-items: center;
  padding: 112px var(--gutter) 0;
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #0d3a2c 0%, var(--green-950) 45%, var(--bg) 100%);
}
.layer { position: absolute; pointer-events: none; will-change: transform; }

/* grade diagonal do manual */
.layer-grid {
  inset: -20%; z-index: -5; opacity: 0.5;
  background-image:
    repeating-linear-gradient(45deg, rgba(91, 168, 130, 0.07) 0 1px, transparent 1px 140px),
    repeating-linear-gradient(-45deg, rgba(91, 168, 130, 0.07) 0 1px, transparent 1px 140px);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 80%);
}
/* luzes */
.layer-glow { z-index: -4; border-radius: 50%; filter: blur(80px); }
.glow-a { width: 46vw; height: 46vw; left: -12vw; top: 8%; background: rgba(113, 67, 147, 0.42); animation: drift 18s ease-in-out infinite alternate; }
.glow-b { width: 40vw; height: 40vw; right: -10vw; top: 22%; background: rgba(56, 112, 85, 0.5); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { translate: 6vw 4vh; } }

/* flor em supergráfico */
.layer-flower {
  z-index: -3; width: min(78vw, 980px); aspect-ratio: 1;
  left: 50%; top: 6%; translate: -50% 0;
  background: url("../marca/isotipo.png") center / contain no-repeat;
  opacity: 0.07; filter: saturate(1.2);
  animation: breathe 14s ease-in-out infinite;
}
@keyframes breathe { 50% { scale: 1.04; opacity: 0.1; } }

/* partículas */
.layer-dust { inset: 0; z-index: -2; }
.layer-dust i {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: var(--mint); opacity: 0; box-shadow: 0 0 10px var(--mint);
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 0.7; }
  100% { transform: translateY(-70vh); opacity: 0; }
}

/* conteúdo */
.hero-content {
  position: relative; z-index: 5;
  width: min(100%, 1120px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero h1 {
  margin-top: 24px;
  width: min(100%, 1120px);
  font-size: clamp(29px, 3.8vw, 56px);
  line-height: 1.07;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(95deg, #c9a4e2 0%, var(--lilac) 35%, var(--sage) 75%, var(--mint) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub {
  margin-top: 22px; width: min(100%, 780px);
  font-size: clamp(16px, 1.45vw, 19px); color: var(--ink-2);
}
.hero .sub strong { color: var(--ink); font-weight: 600; }

/* formulário em linha */
.lead-form {
  margin-top: 34px; width: min(100%, 860px);
  display: grid; grid-template-columns: 1.25fr 1fr auto; gap: 10px;
  padding: 10px;
  border-radius: 26px;
  background: rgba(6, 29, 22, 0.62);
  border: 1px solid rgba(120, 237, 179, 0.18);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.field { position: relative; }
.field input {
  width: 100%; height: 60px; padding: 22px 18px 6px;
  border-radius: 18px; border: 1px solid var(--line);
  background: rgba(237, 237, 230, 0.04); color: var(--ink);
  font-size: 15px; outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field label {
  position: absolute; left: 18px; top: 50%; translate: 0 -50%;
  font-size: 14px; color: var(--ink-3); pointer-events: none;
  transition: all 0.25s var(--ease);
}
.field input:focus { border-color: var(--sage); background: rgba(91, 168, 130, 0.08); box-shadow: 0 0 0 4px rgba(91, 168, 130, 0.14); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label { top: 15px; font-size: 11px; letter-spacing: 0.06em; color: var(--sage); }
.field.err input { border-color: #e58b8b; box-shadow: 0 0 0 4px rgba(229, 139, 139, 0.12); }
.field .msg { position: absolute; left: 18px; bottom: -19px; font-size: 11px; color: #f0a5a5; opacity: 0; transition: opacity 0.2s; }
.field.err .msg { opacity: 1; }
.lead-form .btn { height: 60px; white-space: nowrap; }
.lead-form .btn[disabled] { opacity: 0.7; cursor: wait; }

.form-note {
  margin-top: 16px; font-size: 12.5px; color: var(--ink-3);
  display: flex; align-items: center; gap: 8px;
}
.form-note svg { width: 14px; height: 14px; color: var(--sage); }

/* faixa de números */
.facts {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px;
}
.fact { display: flex; align-items: baseline; gap: 8px; }
.fact strong { font-size: clamp(20px, 2vw, 26px); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.fact span { font-size: 13px; color: var(--ink-3); }
.fact-hl strong { background: linear-gradient(95deg, #c9a4e2, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact-hl span { color: var(--ink-2); }
.fact + .fact { position: relative; }
.fact + .fact::before {
  content: ""; position: absolute; left: -18px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--purple);
}

/* ---------- Palco 3D: fotos em esteira inclinada ---------- */
.stage {
  position: relative; z-index: 1;
  width: 140vw; margin-top: clamp(28px, 4vh, 56px);
  height: clamp(320px, 46vh, 500px);
  perspective: 1300px; perspective-origin: 50% 0%;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 78%, transparent 100%);
}
.floor {
  position: absolute; inset: 0;
  transform: rotateX(34deg) translateY(2%);
  transform-style: preserve-3d;
  display: flex; flex-direction: column; gap: 18px; justify-content: center;
}
.belt { display: flex; gap: 18px; width: max-content; animation: belt 60s linear infinite; }
.belt.rev { animation-direction: reverse; animation-duration: 75s; }
.belt figure {
  position: relative; flex: none;
  width: clamp(240px, 24vw, 380px); aspect-ratio: 3 / 2;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(120, 237, 179, 0.14);
}
.belt figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.05); }
.belt figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 45, 35, 0.05), rgba(10, 45, 35, 0.55));
  mix-blend-mode: multiply;
}
@keyframes belt { to { transform: translateX(-50%); } }

/* =========================================================
   SEÇÕES
   ========================================================= */
.section { position: relative; padding: clamp(80px, 11vw, 150px) var(--gutter); }
.wrap { width: min(100%, 1200px); margin: 0 auto; }
.section-head { max-width: 760px; }
.section-head h2 { margin-top: 14px; font-size: clamp(30px, 4vw, 54px); }
.section-head p { margin-top: 18px; color: var(--ink-2); font-size: clamp(15px, 1.3vw, 17px); }

/* ---------- Para quem é ---------- */
.forwho { background: linear-gradient(180deg, var(--bg) 0%, var(--green-950) 100%); }
.forwho-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px;
}
.fw {
  position: relative; overflow: hidden;
  padding: 30px 28px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(33, 78, 61, 0.42), rgba(10, 45, 35, 0.25));
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.4s;
  transform-style: preserve-3d;
}
.fw:hover { border-color: rgba(120, 237, 179, 0.3); }
.fw .n { font-size: 13px; font-weight: 600; color: var(--sage); letter-spacing: 0.1em; }
.fw h3 { margin-top: 40px; font-size: clamp(21px, 2vw, 27px); }
.fw p { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.fw:nth-child(1) { grid-column: span 7; }
.fw:nth-child(2) { grid-column: span 5; background: linear-gradient(160deg, rgba(151, 96, 184, 0.3), rgba(113, 67, 147, 0.12)); border-color: rgba(151, 96, 184, 0.25); }
.fw:nth-child(2) .n { color: #c9a4e2; }
.fw:nth-child(3) { grid-column: span 5; }
.fw:nth-child(4) { grid-column: span 7; }
.fw .petal {
  position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px;
  background: url("../marca/isotipo.png") center / contain no-repeat; opacity: 0.08;
  transition: transform 0.8s var(--ease), opacity 0.5s;
}
.fw:hover .petal { transform: rotate(-12deg) scale(1.08); opacity: 0.16; }

/* ---------- Grade curricular ---------- */
.grade { background: linear-gradient(180deg, var(--green-950) 0%, #05170f 100%); overflow: hidden; }
.grade-flower {
  position: absolute; left: -12vw; bottom: -14vw; width: 46vw; aspect-ratio: 1; z-index: 0;
  background: url("../marca/isotipo.png") center / contain no-repeat; opacity: 0.05; rotate: 18deg;
}
.grade-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.grade-side { position: sticky; top: 40px; }
.grade-stats { margin-top: 36px; display: flex; gap: 12px; }
.grade-stats div {
  flex: 1; padding: 16px 18px; border-radius: var(--radius-md);
  background: rgba(10, 45, 35, 0.6); border: 1px solid var(--line);
}
.grade-stats div:nth-child(2) { background: linear-gradient(160deg, rgba(151, 96, 184, 0.28), rgba(113, 67, 147, 0.1)); border-color: rgba(151, 96, 184, 0.3); }
.grade-stats strong { display: block; font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.grade-stats span { font-size: 13px; color: var(--ink-3); }
.grade-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.link-btn { background: none; border: 0; color: var(--ink-2); cursor: pointer; font-size: 14px; border-bottom: 1px solid rgba(237,237,230,.3); padding: 2px 0; transition: color .2s, border-color .2s; }
.link-btn:hover { color: var(--mint); border-color: var(--mint); }

.grade-list { display: flex; flex-direction: column; gap: 10px; }
.mod {
  border-radius: 22px; border: 1px solid var(--line);
  background: rgba(10, 45, 35, 0.38);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.mod:hover { border-color: rgba(120, 237, 179, 0.22); }
.mod.open { background: rgba(14, 58, 45, 0.6); border-color: rgba(120, 237, 179, 0.28); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8); }
.mod-head {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 18px;
  padding: 20px 22px; background: none; border: 0; color: inherit; text-align: left; cursor: pointer;
}
.mod-n {
  font-size: 22px; font-weight: 200; color: var(--sage); font-variant-numeric: tabular-nums; width: 34px;
  transition: color 0.3s;
}
.mod.open .mod-n { color: var(--mint); font-weight: 400; }
.mod-t { font-size: clamp(15px, 1.25vw, 17px); font-weight: 600; line-height: 1.35; }
.mod-t small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.mod-c {
  font-size: 12px; white-space: nowrap; padding: 5px 11px; border-radius: 999px;
  color: #e6d4f2; background: rgba(151, 96, 184, 0.16); border: 1px solid rgba(151, 96, 184, 0.32);
}
.mod-x { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); transition: transform 0.45s var(--ease), background 0.3s, border-color 0.3s; }
.mod-x::before, .mod-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); translate: -50% -50%; border-radius: 2px; }
.mod-x::after { rotate: 90deg; transition: rotate 0.45s var(--ease); }
.mod.open .mod-x { background: var(--mint); border-color: var(--mint); transform: rotate(180deg); }
.mod.open .mod-x::before, .mod.open .mod-x::after { background: #06241a; }
.mod.open .mod-x::after { rotate: 0deg; }
.mod-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.mod.open .mod-body { grid-template-rows: 1fr; }
.mod-aulas { overflow: hidden; list-style: none; counter-reset: aula; padding: 0 22px 0 74px; }
.mod.open .mod-aulas { padding-bottom: 22px; }
.mod-aulas li {
  counter-increment: aula; position: relative;
  padding: 11px 0 11px 40px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2);
  border-top: 1px solid rgba(237, 237, 230, 0.07);
}
.mod-aulas li::before {
  content: counter(aula, decimal-leading-zero); position: absolute; left: 0; top: 12px;
  font-size: 12px; color: var(--sage); font-variant-numeric: tabular-nums; letter-spacing: 0.04em;
}
.mod-aulas li.bonus { color: var(--ink); }
.mod-aulas li.bonus::after {
  content: "Bônus"; margin-left: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px; background: var(--mint); color: #06241a; vertical-align: 1px;
}

/* ---------- Professores ---------- */
.profs { overflow: hidden; background: var(--green-950); }
.profs-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../fotos/evento-5.jpg") center / cover no-repeat;
  opacity: 0.16; filter: grayscale(0.3) blur(2px);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.profs .wrap { position: relative; z-index: 1; }
.profs-grid { margin-top: 60px; display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(18px, 3vw, 40px); }
.prof {
  position: relative; border-radius: 32px; overflow: hidden;
  background: var(--green-900);
  border: 1px solid var(--line);
  transform-style: preserve-3d; transition: transform 0.6s var(--ease);
}
.prof:nth-child(2) { margin-top: clamp(0px, 8vw, 110px); }
.prof .photo { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; }
.prof .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform 1.2s var(--ease); }
.prof:hover .photo img { transform: scale(1.04); }
.prof .photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 45, 35, 0.85) 88%, var(--green-900) 100%);
}
.prof .info { position: relative; padding: 0 30px 32px; margin-top: -40px; z-index: 1; }
.prof .role { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.prof h3 { margin-top: 8px; font-size: clamp(26px, 2.6vw, 36px); }
.prof p { margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.prof .chip {
  display: inline-block; margin-top: 18px; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; color: #e6d4f2; background: rgba(151, 96, 184, 0.2); border: 1px solid rgba(151, 96, 184, 0.4);
}
.guests {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px;
  padding: 22px 28px; border-radius: 22px; border: 1px dashed rgba(120, 237, 179, 0.25);
  background: rgba(6, 29, 22, 0.6);
}
.guests strong { font-size: clamp(26px, 3vw, 38px); color: var(--mint); font-weight: 600; letter-spacing: -0.02em; }
.guests span { color: var(--ink-2); font-size: 15px; max-width: 560px; }

/* ---------- Depoimentos: carrossel 3D (coverflow) ---------- */
.proof { background: radial-gradient(90% 60% at 50% 40%, #0e3a2d 0%, var(--bg) 70%); overflow: hidden; padding-top: clamp(28px, 4vw, 64px); }
.proof .coverflow { margin-top: clamp(28px, 3.5vw, 48px); }
.proof .section-head { margin: 0 auto; text-align: center; }
.coverflow {
  position: relative; margin-top: 56px;
  height: clamp(440px, 58vw, 600px);
  perspective: 1400px;
  touch-action: pan-y; user-select: none;
}
.cf-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.cf-card {
  position: absolute; left: 50%; top: 50%;
  width: clamp(260px, 32vw, 400px); height: clamp(380px, 46vw, 520px);
  margin: calc(clamp(380px, 46vw, 520px) / -2) 0 0 calc(clamp(260px, 32vw, 400px) / -2);
  border-radius: 26px; overflow: hidden;
  background: #0b1512;
  border: 1px solid rgba(237, 237, 230, 0.12);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  transition: transform 0.75s var(--ease), opacity 0.6s var(--ease), filter 0.6s;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.cf-card img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.cf-card.is-active { border-color: rgba(120, 237, 179, 0.4); box-shadow: 0 0 0 1px rgba(120, 237, 179, 0.2), 0 50px 100px -30px rgba(0, 0, 0, 0.95), 0 0 80px -20px rgba(120, 237, 179, 0.35); cursor: zoom-in; }
.cf-ui { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.cf-btn {
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: rgba(237, 237, 230, 0.05); border: 1px solid var(--line); color: var(--ink);
  display: grid; place-items: center; transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.cf-btn:hover { background: var(--mint-soft); border-color: rgba(120, 237, 179, 0.4); transform: scale(1.06); }
.cf-btn svg { width: 20px; height: 20px; }
.cf-count { font-size: 13px; color: var(--ink-3); letter-spacing: 0.12em; min-width: 70px; text-align: center; font-variant-numeric: tabular-nums; }
.cf-count b { color: var(--ink); font-weight: 600; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px;
  background: rgba(2, 10, 7, 0.88); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(92vw, 760px); max-height: 86vh; border-radius: 18px; transform: scale(0.94); transition: transform 0.45s var(--ease); }
.lightbox.open img { transform: scale(1); }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(237,237,230,.06); color: var(--ink); cursor: pointer; font-size: 22px; }

/* ---------- Fechamento ---------- */
.closing { text-align: center; overflow: hidden; background: var(--bg); }
.closing .ring {
  position: absolute; left: 50%; top: 50%; width: min(120vw, 1200px); aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%;
  border: 1px solid rgba(91, 168, 130, 0.12);
  box-shadow: inset 0 0 120px rgba(113, 67, 147, 0.15);
}
.closing .ring.r2 { width: min(80vw, 800px); border-color: rgba(151, 96, 184, 0.16); }
.closing .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.closing img.flower { width: clamp(90px, 10vw, 130px); animation: breathe 10s ease-in-out infinite; }
.closing h2 { margin-top: 26px; font-size: clamp(30px, 4.6vw, 62px); width: min(100%, 900px); }
.closing p { margin-top: 18px; color: var(--ink-2); max-width: 620px; }
.closing .btn { margin-top: 34px; }

/* ---------- Rodapé ---------- */
.foot {
  padding: 40px var(--gutter) 46px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  font-size: 13px; color: var(--ink-3);
}
.foot img { height: 40px; width: auto; }
.foot a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid rgba(237, 237, 230, 0.25); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.foot a:hover { color: var(--mint); border-color: var(--mint); }

/* ---------- Revelação no scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 1.1s; }

/* =========================================================
   PÁGINA DE OBRIGADO
   ========================================================= */
.thanks {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 110px var(--gutter) 60px; text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, #0d3a2c 0%, var(--green-950) 45%, var(--bg) 100%);
}
.progress {
  width: min(100%, 520px); margin: 0 auto;
}
.progress-top { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.progress-top b { color: var(--mint); font-weight: 600; }
.progress-bar { margin-top: 10px; height: 8px; border-radius: 999px; background: rgba(237, 237, 230, 0.08); overflow: hidden; }
.progress-bar i {
  display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--sage), var(--mint));
  box-shadow: 0 0 18px rgba(120, 237, 179, 0.6);
  transition: width 1.6s var(--ease) 0.3s;
}
.thanks h1 { margin-top: 40px; font-size: clamp(28px, 3.7vw, 52px); line-height: 1.12; width: min(100%, 1000px); }
.thanks h1 em { font-style: normal; background: linear-gradient(95deg, #c9a4e2, var(--lilac) 35%, var(--sage) 75%, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.thanks .sub { margin-top: 20px; max-width: 680px; color: var(--ink-2); font-size: clamp(16px, 1.45vw, 19px); }
.thanks .btn { margin-top: 36px; min-height: 66px; padding: 0 36px; font-size: 16px; }
.thanks .btn svg.wa { width: 22px; height: 22px; }
.redirect-note { margin-top: 18px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.redirect-note button { background: none; border: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; font-size: 13px; }

.why {
  margin-top: 56px; width: min(100%, 980px);
  display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 14px; text-align: left;
}
.why div {
  padding: 22px 22px 24px; border-radius: 22px;
  background: rgba(10, 45, 35, 0.5); border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.why div:first-child { background: linear-gradient(160deg, rgba(151, 96, 184, 0.26), rgba(113, 67, 147, 0.1)); border-color: rgba(151, 96, 184, 0.3); }
.why b { display: block; font-size: 16px; font-weight: 600; }
.why span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-2); }

/* aulas liberadas no obrigado */
.aulas { margin-top: 64px; width: min(100%, 1040px); }
.aulas-tit {
  display: flex; align-items: center; gap: 16px; justify-content: center;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mint); white-space: nowrap;
}
.aulas-tit::before, .aulas-tit::after { content: ""; height: 1px; flex: 0 1 120px; min-width: 16px; background: linear-gradient(90deg, transparent, rgba(120, 237, 179, 0.5)); }
.aulas-tit::after { transform: scaleX(-1); }
.aulas-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.aula {
  position: relative; display: flex; flex-direction: column;
  padding: 14px 14px 24px; border-radius: 24px;
  background: rgba(10, 45, 35, 0.55); border: 1px solid var(--line);
  backdrop-filter: blur(8px); transform-style: preserve-3d;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.aula:hover { border-color: rgba(120, 237, 179, 0.35); box-shadow: 0 24px 60px -30px rgba(120, 237, 179, 0.45); }
.aula:nth-child(2) { background: linear-gradient(170deg, rgba(64, 140, 160, 0.22), rgba(10, 45, 35, 0.55) 60%); }
.aula:nth-child(3) { background: linear-gradient(170deg, rgba(151, 96, 184, 0.26), rgba(10, 45, 35, 0.55) 60%); border-color: rgba(151, 96, 184, 0.3); }
.aula-logo {
  height: 150px; border-radius: 16px; padding: 22px 24px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.aula-logo img { display: block; max-width: 100%; max-height: 106px; width: auto; height: auto; object-fit: contain; }
.aula-n { margin: 20px 10px 0; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.aula h2 { margin: 8px 10px 0; font-size: 16px; font-weight: 600; line-height: 1.38; text-wrap: pretty; }

/* mosaico 3D de fotos no fundo do obrigado */
.thanks-wall {
  position: absolute; inset: -10% -20%; z-index: -2;
  perspective: 1200px; opacity: 0.22;
  mask-image: radial-gradient(60% 55% at 50% 50%, transparent 30%, #000 75%);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 50%, transparent 30%, #000 75%);
}
.thanks-wall .floor { transform: rotateX(18deg) rotateZ(-8deg) scale(1.1); gap: 22px; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 960px) {
  .lead-form { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .lead-form .btn { grid-column: span 2; }
  .forwho-grid .fw { grid-column: span 12 !important; }
  .grade-layout { grid-template-columns: 1fr; }
  .grade-side { position: static; }
  .why { grid-template-columns: 1fr; }
  .aulas-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .top .mec-mini { display: none; }
  .top { justify-content: center; }
  .hero { padding-top: 96px; }
  .lead-form { grid-template-columns: 1fr; padding: 8px; border-radius: 22px; gap: 14px; }
  .lead-form .btn { width: 100%; grid-column: auto; }
  .hero h1 { margin-top: 20px; }
  .mod-head { grid-template-columns: auto 1fr auto; gap: 14px; padding: 18px 16px; }
  .mod-c { grid-column: 2; grid-row: 2; justify-self: start; margin-top: -6px; }
  .mod-x { grid-column: 3; grid-row: 1 / span 2; }
  .mod-n { width: 28px; font-size: 19px; }
  .mod-aulas { padding: 0 16px 0 16px; }
  .grade-stats strong { font-size: 24px; }
  .grade-stats div { padding: 14px; }
  .thanks .btn { width: 100%; padding: 0 20px; font-size: 15px; white-space: nowrap; }
  .facts { gap: 8px 26px; }
  .stage { width: 220vw; }
  .profs-grid { grid-template-columns: 1fr; }
  .prof:nth-child(2) { margin-top: 0; }
  .foot { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   POLÍTICA DE PRIVACIDADE
   ========================================================= */
.foot-links { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.foot a[aria-current="page"] { color: var(--mint); border-color: rgba(120, 237, 179, 0.5); }

.pv-page .top { background: linear-gradient(180deg, rgba(4, 21, 15, 0.92), rgba(4, 21, 15, 0)); }
.pv-back {
  font-size: 13px; color: var(--ink-2); text-decoration: none;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(10, 45, 35, 0.5); backdrop-filter: blur(8px);
  transition: color .2s, border-color .2s;
}
.pv-back:hover { color: var(--mint); border-color: rgba(120, 237, 179, 0.4); }

.pv-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(130px, 16vw, 190px) var(--gutter) clamp(56px, 7vw, 90px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, #0d3a2c 0%, var(--green-950) 50%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.pv-hero h1 { margin-top: 22px; font-size: clamp(40px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.02em; }
.pv-hero h1 em { font-style: normal; background: linear-gradient(95deg, #c9a4e2, var(--lilac) 35%, var(--sage) 75%, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pv-meta { margin-top: 22px; font-size: 13px; letter-spacing: 0.08em; color: var(--ink-3); }

.pv-wrap {
  width: min(100% - 2 * var(--gutter), 1180px); margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) 0 clamp(70px, 8vw, 120px);
  display: grid; grid-template-columns: 290px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start;
}
.pv-nav { position: sticky; top: 96px; }
.pv-nav p { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); }
.pv-nav ol { list-style: none; margin: 16px 0 0; padding: 0; border-left: 1px solid var(--line); }
.pv-nav a {
  display: flex; gap: 12px; padding: 7px 0 7px 18px; margin-left: -1px;
  font-size: 13px; line-height: 1.4; color: var(--ink-3); text-decoration: none;
  border-left: 1px solid transparent; transition: color .2s, border-color .2s;
}
.pv-nav a i { font-style: normal; font-variant-numeric: tabular-nums; color: rgba(151, 96, 184, 0.9); }
.pv-nav a:hover, .pv-nav a.on { color: var(--ink); border-color: var(--mint); }

.pv-body { max-width: 760px; }
.pv-sec { padding: 0 0 clamp(40px, 5vw, 56px); margin-bottom: clamp(40px, 5vw, 56px); border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.pv-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.pv-sec header { display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; }
.pv-n {
  font-size: clamp(34px, 4vw, 52px); font-weight: 200; line-height: 1;
  background: linear-gradient(160deg, #c9a4e2, var(--sage)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pv-sec h2 { font-size: clamp(21px, 2.1vw, 28px); font-weight: 600; line-height: 1.2; }
.pv-sec p, .pv-sec li { font-size: 16px; line-height: 1.75; color: var(--ink-2); text-wrap: pretty; }
.pv-sec p + p, .pv-sec ul + p, .pv-sec p + ul { margin-top: 14px; }
.pv-sec p b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.pv-sec ul { list-style: none; padding: 18px 22px; margin: 14px 0 0; border-radius: 18px; background: rgba(10, 45, 35, 0.45); border: 1px solid var(--line); }
.pv-sec li { position: relative; padding-left: 22px; }
.pv-sec li + li { margin-top: 8px; }
.pv-sec li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: linear-gradient(135deg, var(--lilac), var(--sage)); }
.pv-card {
  margin-top: 24px; padding: 22px 24px; border-radius: 20px;
  display: grid; gap: 6px;
  background: linear-gradient(160deg, rgba(151, 96, 184, 0.24), rgba(10, 45, 35, 0.5)); border: 1px solid rgba(151, 96, 184, 0.3);
}
.pv-card span { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.pv-card b { font-size: 18px; font-weight: 600; }
.pv-card em { font-style: normal; color: var(--ink-2); font-variant-numeric: tabular-nums; }

@media (max-width: 960px) {
  .pv-wrap { grid-template-columns: 1fr; }
  .pv-nav { position: static; }
  .pv-nav ol { columns: 2; column-gap: 20px; }
  .pv-nav li { break-inside: avoid; }
}
@media (max-width: 720px) {
  .pv-page .top { justify-content: space-between; }
  .pv-back { padding: 8px 14px; font-size: 12px; }
  .pv-nav ol { columns: 1; }
  .pv-sec p, .pv-sec li { font-size: 15px; }
  .foot-links { flex-direction: column; }
}
