/* =============================================================
   SPD Cursos — Só Para Doutores
   Paleta: azul SPD + roxo/magenta + branco
   ============================================================= */

:root {
  --white: #ffffff;
  --mist: #f3f5f9;
  --mist-2: #e8edf4;

  --ink: #13233a;
  --ink-2: #4a5a6f;
  --ink-3: #8592a3;

  --blue-950: #0c1a2e;
  --blue-900: #10213a;
  --blue-800: #1c3857;
  --blue-600: #2b4f78;
  --blue-400: #6d8fb8;
  --blue-200: #c9d6e6;

  --plum-700: #7a1e73;
  --plum-600: #97268e;
  --plum-500: #b53ea8;
  --plum-200: #ecc8e7;
  --plum-100: #f7ecf5;

  --line: rgba(19, 35, 58, 0.1);
  --line-strong: rgba(19, 35, 58, 0.18);
  --line-light: rgba(255, 255, 255, 0.18);

  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1320px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--plum-200); color: var(--blue-900); }
:focus-visible { outline: 2px solid var(--plum-500); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 16px; }

/* ---------------------------- tipografia ---------------------------- */
.kicker {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum-600);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.kicker--light { color: var(--plum-200); }

.section-title {
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--blue-900);
}
.section-title em { color: var(--plum-600); font-size: 1.06em; }

.section-top { margin-bottom: clamp(44px, 6vw, 80px); }
.section-top--split {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end;
}
.section-note { color: var(--ink-2); max-width: 400px; justify-self: end; font-size: 1rem; }

/* ---------------------------- botões ---------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 22px;
  border-radius: 999px;
  font-size: 0.95rem; font-weight: 500; letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s var(--ease);
}
.btn-lg { height: 54px; padding: 0 28px; font-size: 1rem; }
.btn:active { transform: scale(0.98); }
.btn .ico { width: 18px; height: 18px; fill: currentColor; }

.btn-solid { background: var(--plum-600); color: var(--white); }
.btn-solid:hover { background: var(--plum-700); box-shadow: 0 12px 30px -12px rgba(151, 38, 142, 0.6); }

.btn-light { background: var(--white); color: var(--blue-900); box-shadow: 0 10px 30px -14px rgba(0,0,0,0.4); }
.btn-light:hover { transform: translateY(-2px); }

.btn-glass {
  background: rgba(255,255,255,0.12); color: var(--white);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.btn-glass:hover { background: rgba(255,255,255,0.22); }

.btn-outline { border: 1px solid var(--line-strong); color: var(--blue-900); }
.btn-outline:hover { border-color: var(--blue-900); background: var(--blue-900); color: var(--white); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--plum-600);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow span { transition: transform 0.4s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------------------------- header ---------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px var(--gutter);
  transition: padding 0.4s var(--ease);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.site-header.is-scrolled { padding-top: 12px; }
.site-header.is-scrolled .header-inner {
  background: rgba(16, 33, 58, 0.78);
  border-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 18px 40px -24px rgba(12, 26, 46, 0.6);
}
.brand { justify-self: start; }
.brand-logo { height: 30px; width: auto; }

.main-nav {
  display: flex; gap: 2px; padding: 5px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.main-nav a {
  padding: 8px 16px; border-radius: 999px;
  font-size: 0.9rem; color: rgba(255,255,255,0.86);
  transition: background-color 0.3s, color 0.3s;
}
.main-nav a:hover { background: rgba(255,255,255,0.14); color: var(--white); }
.site-header.is-scrolled .main-nav { background: transparent; border-color: transparent; }

.header-cta { justify-self: end; height: 44px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.14); position: relative; justify-self: end; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white); transition: transform 0.4s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------------------------- hero ---------------------------- */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex; align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--blue-900);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 40%;
  transform: scale(1.08);
  animation: heroZoom 2.4s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12,26,46,0.9) 0%, rgba(16,33,58,0.62) 38%, rgba(16,33,58,0.12) 70%, rgba(16,33,58,0) 100%),
    linear-gradient(0deg, rgba(12,26,46,0.7) 0%, rgba(12,26,46,0) 45%),
    linear-gradient(180deg, rgba(12,26,46,0.5) 0%, rgba(12,26,46,0) 22%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 140px var(--gutter) clamp(64px, 9vh, 110px);
}
.hero-title {
  font-size: clamp(3rem, 8.4vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin-bottom: 30px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.2s; }
.hero-title em { color: var(--plum-200); font-size: 1.08em; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero-lead {
  max-width: 480px; font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  color: rgba(255,255,255,0.82); margin-bottom: 36px;
  opacity: 0; animation: fadeUp 1s var(--ease) 0.45s forwards;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fadeUp 1s var(--ease) 0.6s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero-caption {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 28px;
  font-size: 0.78rem; color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 10px;
}
.hero-caption::before { content: ""; width: 24px; height: 1px; background: currentColor; }

/* faixa de aviso */
.notice {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px;
  padding: 16px var(--gutter);
  background: var(--plum-100);
  color: var(--blue-900);
  font-size: 0.92rem; text-align: center;
  transition: background-color 0.3s;
}
.notice:hover { background: #f2e1ef; }
.notice strong { font-weight: 600; }
.notice-text { color: var(--ink-2); }
.notice-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--plum-500); box-shadow: 0 0 0 0 rgba(181,62,168,0.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(181,62,168,0); } 100% { box-shadow: 0 0 0 0 rgba(181,62,168,0); } }
.notice-arrow { color: var(--plum-600); transition: transform 0.4s var(--ease); }
.notice:hover .notice-arrow { transform: translateX(4px); }

/* ---------------------------- intro / sobre ---------------------------- */
.intro { padding: clamp(96px, 13vw, 180px) 0 clamp(80px, 10vw, 140px); }
.intro-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; align-items: start; }
.intro-grid .kicker { margin-top: 14px; }
.statement {
  font-size: clamp(1.75rem, 3.6vw, 3.1rem);
  line-height: 1.14; letter-spacing: -0.03em; font-weight: 500;
  color: var(--blue-900);
  margin-bottom: clamp(40px, 5vw, 64px);
  text-wrap: balance;
}
.statement em { color: var(--plum-600); }
.intro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; color: var(--ink-2); max-width: 880px; }
.intro-cols strong { color: var(--blue-900); font-weight: 600; }
.signature { display: flex; align-items: center; gap: 16px; margin-top: 48px; }
.signature-avatar, .signature img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--blue-600), var(--plum-600));
  color: var(--white); font-family: var(--serif); font-style: italic; font-size: 1.35rem;
}
.signature strong { display: block; color: var(--blue-900); font-weight: 600; }
.signature span { font-size: 0.9rem; color: var(--ink-3); }

.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(72px, 9vw, 120px);
}
.pillars li {
  padding: 30px 30px 6px 0; border-top: 1px solid var(--line-strong);
  display: flex; flex-direction: column; gap: 10px;
}
.pillars li + li { padding-left: 30px; border-left: 1px solid var(--line); }
.pillar-k { font-family: var(--serif); font-style: italic; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; color: var(--blue-800); }
.pillar-v { color: var(--ink-2); max-width: 260px; }

/* ---------------------------- professores ---------------------------- */
.faculty { padding: clamp(80px, 10vw, 140px) 0; background: var(--mist); position: relative; }
.faculty-list { border-top: 1px solid var(--line-strong); }
.faculty-list li { border-bottom: 1px solid var(--line-strong); }
.faculty-list a {
  display: grid; grid-template-columns: 1.3fr 1fr auto; align-items: center; gap: 24px;
  padding: clamp(22px, 2.6vw, 34px) 0;
  transition: padding 0.5s var(--ease), color 0.3s;
}
.f-name { font-size: clamp(1.4rem, 3vw, 2.5rem); letter-spacing: -0.03em; font-weight: 500; color: var(--blue-900); line-height: 1.1; transition: color 0.3s; }
.f-topic { color: var(--ink-2); }
.f-go { font-size: 0.9rem; color: var(--plum-600); opacity: 0; transform: translateX(-8px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.faculty-list a:hover { padding-left: 18px; }
.faculty-list a:hover .f-name { color: var(--plum-600); }
.faculty-list a:hover .f-go { opacity: 1; transform: none; }

.faculty-preview {
  position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none;
  width: 300px; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.3s, transform 0.45s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(12,26,46,0.45);
}
.faculty-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.faculty-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------- experiência ---------------------------- */
.experience { padding: clamp(96px, 12vw, 170px) 0; }
.exp-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.exp-aside { position: sticky; top: 130px; }
.exp-aside-lead { color: var(--ink-2); margin-top: 28px; max-width: 420px; }

.exp-steps { display: flex; flex-direction: column; gap: clamp(72px, 9vw, 120px); }
.exp-media { border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.exp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.exp-step:hover .exp-media img, .exp-trio figure:hover img { transform: scale(1.03); }
.exp-media--square { aspect-ratio: 5/4; }
.exp-media--tall { aspect-ratio: 4/5; width: 78%; }
.exp-media--wide { aspect-ratio: 4/3; }
.exp-trio { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.exp-trio figure { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3/4; background: var(--mist); }
.exp-trio figure:nth-child(2) { transform: translateY(28px); }
.exp-trio img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }

.exp-copy { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; margin-top: 28px; max-width: 560px; }
.exp-step:nth-child(3) .exp-copy { margin-top: 56px; }
.exp-n { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--plum-600); line-height: 1.3; grid-row: span 2; }
.exp-copy h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; letter-spacing: -0.025em; font-weight: 500; color: var(--blue-900); margin-bottom: 10px; }
.exp-copy p { color: var(--ink-2); }

/* ---------------------------- agenda ---------------------------- */
.agenda { padding: clamp(96px, 12vw, 160px) 0; background: var(--mist); }
.course-feature {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--white); border-radius: calc(var(--radius) + 6px); overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(16,33,58,0.35);
}
.course-feature-media { position: relative; min-height: 420px; }
.course-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; left: 20px; top: 20px;
  background: var(--white); color: var(--plum-600);
  font-size: 0.8rem; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--plum-500); animation: pulse 2.2s infinite; }
.course-feature-body { padding: clamp(32px, 4.5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.course-eyebrow { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.course-feature h3 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; color: var(--blue-900); }
.course-sub { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--plum-600); margin: 10px 0 32px; }
.course-meta { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.course-meta div { padding: 18px 0; }
.course-meta div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.course-meta dt { font-size: 0.78rem; color: var(--ink-3); margin-bottom: 4px; }
.course-meta dd { font-weight: 500; color: var(--blue-900); }

.course-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.course-mini {
  background: var(--white); border-radius: var(--radius); padding: clamp(28px, 3.5vw, 44px);
  display: flex; flex-direction: column; align-items: flex-start;
}
.course-mini h3 { font-size: 1.5rem; letter-spacing: -0.025em; font-weight: 500; color: var(--blue-900); margin-bottom: 10px; }
.course-mini p:not(.course-eyebrow) { color: var(--ink-2); margin-bottom: 26px; flex: 1; }
.course-mini--dark { background: var(--blue-800); }
.course-mini--dark h3 { color: var(--white); }
.course-mini--dark p:not(.course-eyebrow) { color: rgba(255,255,255,0.72); }
.course-mini--dark .course-eyebrow { color: var(--blue-200); }
.course-mini--dark .link-arrow { color: var(--plum-200); }

/* ---------------------------- galeria ---------------------------- */
.gallery { padding: clamp(96px, 12vw, 160px) 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip {
  height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 0.9rem; color: var(--ink-2);
  transition: all 0.3s;
}
.chip:hover { border-color: var(--blue-900); color: var(--blue-900); }
.chip.is-active { background: var(--blue-900); border-color: var(--blue-900); color: var(--white); }

.masonry { columns: 3 300px; column-gap: 16px; }
.g-item { break-inside: avoid; margin-bottom: 16px; animation: fadeIn 0.6s var(--ease); }
.g-item.is-hidden, .masonry:not(.is-expanded) .g-item.is-extra { display: none; }
.gallery-more { display: flex; justify-content: center; margin-top: 36px; }
.gallery-more[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.g-item button { display: block; width: 100%; border-radius: var(--radius-sm); overflow: hidden; background: var(--mist); cursor: zoom-in; }
.g-item img { width: 100%; transition: transform 1s var(--ease), filter 0.5s; }
.g-item button:hover img { transform: scale(1.04); }
.g-item figcaption { font-size: 0.82rem; color: var(--ink-3); padding: 10px 2px 0; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(8, 17, 30, 0.94);
  display: grid; grid-template-columns: 80px 1fr 80px; align-items: center;
  padding: 24px;
  opacity: 0; transition: opacity 0.3s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb-figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; }
.lb-figure img { max-height: 82vh; max-width: 100%; width: auto; border-radius: 12px; }
.lb-figure figcaption { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.lb-close { position: absolute; top: 18px; right: 22px; font-size: 2.2rem; line-height: 1; color: var(--white); width: 48px; height: 48px; }
.lb-nav { width: 56px; height: 56px; border-radius: 50%; color: var(--white); font-size: 2rem; background: rgba(255,255,255,0.08); justify-self: center; transition: background-color 0.3s; }
.lb-nav:hover { background: rgba(255,255,255,0.18); }

/* ---------------------------- depoimentos ---------------------------- */
.voices { padding: clamp(96px, 12vw, 160px) 0; background: var(--blue-900); color: var(--white); }
.voices .section-title { color: var(--white); }
.voices .section-title em { color: var(--plum-200); }
.voices .section-note { color: rgba(255,255,255,0.6); }
.voices-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.voice-video {
  grid-row: span 2; position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 460px; background: var(--blue-800);
}
.voice-video img, .voice-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.voice-video.is-placeholder img { opacity: 0.35; filter: grayscale(0.4); }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: var(--white);
  display: grid; place-items: center;
}
.play svg { width: 26px; fill: var(--blue-900); margin-left: 4px; }
.voice-video-label { position: absolute; left: 24px; bottom: 22px; font-size: 0.9rem; color: rgba(255,255,255,0.75); }

.voice {
  border-radius: var(--radius); padding: 30px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.voice:last-child { grid-column: span 2; }
.voice blockquote { font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; color: var(--white); }
.voice figcaption strong { display: block; font-weight: 500; }
.voice figcaption span { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.voice.is-placeholder { border-style: dashed; border-color: rgba(255,255,255,0.2); background: transparent; }
.voice.is-placeholder blockquote { color: rgba(255,255,255,0.45); }

/* ---------------------------- para professores ---------------------------- */
.teach { padding: clamp(96px, 12vw, 160px) 0; }
.teach-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.teach-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; max-width: 480px; }
.teach-media img { width: 100%; height: 100%; object-fit: cover; }
.teach-copy > p:not(.kicker) { color: var(--ink-2); margin: 26px 0 36px; max-width: 460px; }

/* ---------------------------- faq ---------------------------- */
.faq { padding: clamp(96px, 12vw, 160px) 0; background: var(--mist); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq-aside { color: var(--ink-2); margin-top: 26px; max-width: 320px; }
.faq-aside a { color: var(--plum-600); border-bottom: 1px solid currentColor; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 500; letter-spacing: -0.015em; color: var(--blue-900);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-strong);
  font-weight: 400; transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--blue-900); color: var(--white); border-color: var(--blue-900); }
.faq-list details p { color: var(--ink-2); padding: 0 50px 28px 0; max-width: 640px; }
.faq-list details a { color: var(--plum-600); }

/* ---------------------------- CTA final ---------------------------- */
.closing { position: relative; padding: clamp(120px, 16vw, 220px) 0; color: var(--white); overflow: hidden; background: var(--blue-900); text-align: center; }
.closing-bg { position: absolute; inset: 0; }
.closing-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; filter: grayscale(0.3); }
.closing-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(151,38,142,0.45), transparent 60%), linear-gradient(180deg, rgba(16,33,58,0.6), rgba(16,33,58,0.9)); }
.closing-inner { position: relative; }
.closing h2 { font-size: clamp(2.5rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: -0.045em; font-weight: 500; margin-bottom: 24px; text-wrap: balance; }
.closing h2 em { color: var(--plum-200); }
.closing p { color: rgba(255,255,255,0.72); margin-bottom: 40px; font-size: 1.1rem; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------------------------- footer ---------------------------- */
.site-footer { background: var(--blue-950); color: rgba(255,255,255,0.7); padding: 72px 0 0; font-size: 0.95rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-logo { height: 30px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* ---------------------------- FAB ---------------------------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--plum-600); color: var(--white);
  display: none; place-items: center;
  box-shadow: 0 16px 34px -12px rgba(151,38,142,0.7);
}
.fab svg { width: 26px; fill: currentColor; }

/* ---------------------------- reveal ---------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------------------------- responsivo ---------------------------- */
@media (max-width: 1080px) {
  .main-nav a { padding: 8px 12px; }
}

@media (max-width: 960px) {
  .header-inner { grid-template-columns: 1fr auto auto; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 4px;
    padding: 100px var(--gutter) 40px; border-radius: 0; border: 0;
    background: var(--blue-900);
    backdrop-filter: none; -webkit-backdrop-filter: none;
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
  }
  .main-nav a { font-size: 2rem; letter-spacing: -0.03em; padding: 8px 0; border-radius: 0; color: var(--white); }
  .main-nav a:hover { background: none; }
  .site-header.is-scrolled .main-nav { background: var(--blue-900); }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open .header-inner { background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; border-color: transparent !important; }

  .section-top--split { grid-template-columns: 1fr; gap: 20px; }
  .section-note { justify-self: start; }

  .intro-grid { grid-template-columns: 1fr; gap: 0; }
  .intro-cols { grid-template-columns: 1fr; gap: 18px; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li + li { padding-left: 0; border-left: 0; }
  .pillars li { padding: 24px 0; flex-direction: row; align-items: baseline; gap: 20px; }
  .pillar-k { min-width: 110px; }

  .faculty-list a { grid-template-columns: 1fr; gap: 4px; }
  .f-go { display: none; }
  .faculty-list a:hover { padding-left: 0; }
  .faculty-preview { display: none; }

  .exp-grid { grid-template-columns: 1fr; }
  .exp-aside { position: static; }
  .exp-media--tall { width: 100%; }

  .course-feature { grid-template-columns: 1fr; }
  .course-feature-media { min-height: 280px; }
  .course-row { grid-template-columns: 1fr; }

  .voices-grid { grid-template-columns: 1fr; }
  .voice-video { grid-row: auto; min-height: 320px; }
  .voice:last-child { grid-column: auto; }

  .teach-inner { grid-template-columns: 1fr; }
  .teach-media { aspect-ratio: 4/3; max-width: none; }

  .faq-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .fab { display: grid; }
  .lightbox { grid-template-columns: 1fr; padding: 16px; }
  .lb-nav { position: absolute; bottom: 24px; }
  .lb-prev { left: calc(50% - 68px); }
  .lb-next { right: calc(50% - 68px); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-logo { height: 24px; }
  .hero-inner { padding-bottom: 84px; }
  .hero-actions .btn { width: 100%; }
  .hero-caption { left: var(--gutter); right: auto; bottom: 22px; }
  .hero-shade { background: linear-gradient(0deg, rgba(12,26,46,0.95) 0%, rgba(12,26,46,0.55) 55%, rgba(12,26,46,0.35) 100%); }
  .course-meta { grid-template-columns: 1fr; }
  .course-meta div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .course-actions .btn { width: 100%; }
  .masonry { columns: 2; column-gap: 10px; }
  .g-item { margin-bottom: 10px; }
  .g-item figcaption { display: none; }
  .exp-trio { gap: 8px; }
  .footer-bottom { flex-direction: column; }
  .closing-actions .btn { width: 100%; }
}

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