/* ===================================================================
   IDJE — Instituto de Desenvolvimento Jurídico e Educacional
   Editorial brand system

   Tokens
   - Navy      #0F2A44   deep #0A1B2E   panel #0B2034 / #0B1E33
   - Gold      #C8A96A   hover #B8964F
   - Off-white #FBFAF8   warm #F4F1EB
   - Border    #E7E3DC
   - Text      #1A1A1A   muted #5B6470   faint #9AA2AD
   - Type      DM Serif Display (headings) · Archivo (UI/body)
   =================================================================== */

:root {
  --navy: #0F2A44;
  --navy-deep: #0A1B2E;
  --navy-panel: #0B2034;
  --gold: #C8A96A;
  --gold-deep: #B8964F;
  --bg: #FBFAF8;
  --bg-warm: #F4F1EB;
  --border: #E7E3DC;
  --text: #1A1A1A;
  --muted: #5B6470;
  --faint: #9AA2AD;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Archivo', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  overflow-x: hidden;
}

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

::selection { background: var(--gold); color: var(--navy); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: #2c4a68; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- Shared editorial primitives ---------------------------------- */

.overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.overline.light { color: var(--gold); }
.overline.rule::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.section-number {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
}

.section { padding: 120px 0; }
.section.tight { padding: 90px 0; }
.section.navy { background: var(--navy); color: #fff; }
.section.warm { background: var(--bg-warm); }
.section.cta-grad { background: radial-gradient(100% 120% at 50% 0%, #163352, var(--navy-deep)); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; }
.italic-gold { font-style: italic; color: var(--gold); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  padding: 16px 34px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(200, 169, 106, .6); }
.btn-outline { border: 1.5px solid rgba(255, 255, 255, .28); color: #fff; font-weight: 600; }
.btn-outline:hover { border-color: var(--gold); background: rgba(200, 169, 106, .08); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--gold);
  cursor: pointer;
  transition: gap .25s, color .2s;
}
.link-arrow:hover { gap: 14px; }
.link-arrow.dark { color: var(--navy); }
.link-arrow.dark:hover { color: var(--gold-deep); }

/* ===================================================================
   NAVBAR
   =================================================================== */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.navbar.scrolled {
  background: rgba(251, 250, 248, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px -16px rgba(15, 42, 68, .25);
}
.nav-container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 1px;
  color: #fff;
  transition: color .35s;
}
.logo-divider {
  width: 1px; height: 30px;
  background: rgba(255, 255, 255, .3);
  transition: background .35s;
}
.logo-sub {
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .6);
  transition: color .35s;
}
.navbar.scrolled .logo-mark { color: var(--navy); }
.navbar.scrolled .logo-divider { background: #d8d2c8; }
.navbar.scrolled .logo-sub { color: var(--muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 10px 16px;
  color: rgba(255, 255, 255, .82);
  transition: color .25s;
}
.navbar.scrolled .nav-links a { color: #3a444f; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 1.5px;
  background: var(--gold);
}
.nav-links a.nav-cta {
  margin-left: 12px;
  background: var(--gold);
  color: var(--navy) !important;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 26px;
  transition: background .25s;
}
.nav-links a.nav-cta:hover { background: var(--gold-deep); }
.nav-links a.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  display: block;
  transition: .3s;
}
.navbar.scrolled .nav-toggle span { background: var(--navy); }

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1000;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 110px 30px 40px;
    background: var(--navy-deep);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
  }
  .nav-links.open { transform: none; }
  /* O backdrop-filter do navbar "scrolled" vira contexto de posicionamento
     para o menu fixo e o deixava cortado/transparente no celular. */
  .navbar.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(251, 250, 248, .97);
  }
  .nav-links {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 0 0 100vmax var(--navy-deep);
  }
  .nav-links:not(.open) { box-shadow: none; }
  .nav-links a {
    font-family: var(--serif);
    font-size: 30px;
    color: #fff !important;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .nav-links a.active::after { display: none; }
  .nav-links a.nav-cta {
    margin-left: 0;
    margin-top: 20px;
    text-align: center;
    color: var(--navy) !important;
    font-family: var(--sans);
    font-size: 15px;
    border-bottom: none;
  }
  .nav-toggle { display: flex; }
  .nav-toggle.open { position: fixed; right: 26px; top: 18px; z-index: 1001; }
  .nav-toggle.open span { background: #fff; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ===================================================================
   PAGE HERO (inner pages)
   =================================================================== */

.page-hero {
  background: radial-gradient(120% 100% at 80% -20%, #1a3a5a, var(--navy) 50%, var(--navy-deep));
  color: #fff;
}
.page-hero .container { padding-top: 180px; padding-bottom: 90px; }
.page-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
  margin: 18px 0;
}
.page-hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: rgba(255, 255, 255, .6);
}

/* ===================================================================
   HOME — HERO
   =================================================================== */

.hero {
  position: relative;
  background: radial-gradient(120% 90% at 80% -10%, #1a3a5a 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-watermark {
  position: absolute;
  top: -80px; right: -40px;
  font-family: var(--serif);
  font-size: 340px;
  color: rgba(255, 255, 255, .025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.hero .container {
  position: relative;
  padding-top: 170px;
  padding-bottom: 110px;
  display: flex;
  gap: 60px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-copy { flex: 1 1 480px; min-width: 300px; }
.hero-copy .overline { margin-bottom: 30px; animation: slideUp .7s .05s var(--ease) both; }
.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin-bottom: 28px;
  animation: slideUp .75s .12s var(--ease) both;
}
.hero-lead {
  font-size: 18px;
  line-height: 1.75;
  font-weight: 300;
  color: rgba(255, 255, 255, .72);
  max-width: 520px;
  margin-bottom: 40px;
  animation: slideUp .75s .2s var(--ease) both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: slideUp .75s .28s var(--ease) both;
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
  animation: slideUp .8s .38s var(--ease) both;
}
.hero-stats .stat + .stat { border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 48px; }
.stat-num { font-family: var(--serif); font-size: 42px; color: #fff; line-height: 1; }
.stat-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-top: 6px;
}

.hero-art {
  flex: 0 0 360px;
  position: relative;
  animation: slideUp .85s .3s var(--ease) both;
}
.hero-art-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  background: repeating-linear-gradient(135deg, #16334f 0 1px, #102a44 1px 13px);
  border: 1px solid rgba(200, 169, 106, .3);
  animation: floatY 7s ease-in-out infinite;
}
.hero-art-frame .corner { position: absolute; width: 26px; height: 26px; }
.hero-art-frame .corner.tl { top: 18px; left: 18px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.hero-art-frame .corner.br { bottom: 18px; right: 18px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .4);
}
.hero-art-caption {
  position: absolute;
  bottom: -26px; left: -26px; right: 40px;
  background: var(--bg);
  color: var(--navy);
  padding: 20px 22px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .5);
}
.hero-art-caption .label {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 7px;
}
.hero-art-caption .title { font-family: var(--serif); font-size: 16px; line-height: 1.4; }
.hero-rule {
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 169, 106, .4), transparent);
}

/* ---- Section header (overline + heading + lede) ------------------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.section-head .heading-block { max-width: 560px; }
.section-head .overline { margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.15;
  color: var(--navy);
}
.section.navy .section-head h2 { color: #fff; }
.section-head .lede { max-width: 340px; color: var(--muted); font-size: 15px; line-height: 1.75; }

/* ---- Pillars ------------------------------------------------------ */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  border-top: 1px solid var(--border);
}
.pillar {
  padding: 44px 36px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background .3s;
}
.pillar:hover { background: var(--bg-warm); }
.pillar svg { margin-bottom: 24px; }
.pillar h3 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ---- Purpose split ------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  align-items: center;
}
.split h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; }
.split p { font-size: 17px; line-height: 1.85; color: rgba(255, 255, 255, .72); font-weight: 300; }
.split .overline { margin-bottom: 20px; }

/* ---- Gallery ------------------------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.gallery-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(135deg, #16334f 0 1px, #102a44 1px 12px);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(15, 42, 68, .1);
  transition: transform .35s, box-shadow .35s;
}
.gallery-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -22px rgba(15, 42, 68, .55); }
.tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s var(--ease);
}
.gallery-tile:hover .tile-img { transform: scale(1.04); }
.tile-cat {
  position: absolute;
  z-index: 2;
  top: 14px; left: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  background: rgba(10, 27, 46, .55);
  padding: 5px 9px;
}
.tile-ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; letter-spacing: .08em; color: rgba(255, 255, 255, .32);
}
.tile-label {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 16px 14px;
  background: linear-gradient(transparent, rgba(8, 20, 34, .92));
  color: #fff;
  font-family: var(--serif);
  font-size: 17px;
}

/* ---- Audience chips ----------------------------------------------- */
.audience { max-width: 1000px; text-align: center; }
.audience h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; color: var(--navy); margin: 18px 0 44px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  font-size: 14.5px; font-weight: 500;
  padding: 13px 26px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--navy);
  transition: border-color .2s, background .2s;
}
.chip:hover { border-color: var(--gold); background: #fff; }

/* ---- CTA band ----------------------------------------------------- */
.cta-band { max-width: 640px; margin: 0 auto; text-align: center; }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); color: #fff; line-height: 1.2; margin-bottom: 18px; }
.cta-band p { color: rgba(255, 255, 255, .65); font-size: 16px; line-height: 1.8; margin-bottom: 36px; }

/* ===================================================================
   SOBRE
   =================================================================== */

.prose { max-width: 780px; margin: 0 auto; }
.prose .block { padding: 56px 0; }
.prose .block:first-child { padding-top: 0; }
.prose .rule { height: 1px; background: var(--border); }
.prose .overline { margin-bottom: 18px; }
.prose .lead {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 24px;
}
.prose h2 { font-size: 30px; color: var(--navy); margin-bottom: 18px; }
.prose p { color: var(--muted); font-size: 16px; line-height: 1.85; margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--navy); font-weight: 600; }

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.value { background: var(--bg); padding: 40px 34px; }
.value .name { font-family: var(--serif); font-size: 30px; color: var(--gold); margin-bottom: 14px; }
.value p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.team-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(200, 169, 106, .18);
  transition: border-color .3s;
}
.team-member:hover .team-photo { border-color: rgba(200, 169, 106, .55); }
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: grayscale(8%);
  transition: filter .4s, transform .6s;
}
.team-member:hover .team-photo img { filter: grayscale(0); transform: scale(1.03); }
.team-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(transparent 55%, rgba(10, 27, 46, .35));
}
.team-photo.empty {
  background: linear-gradient(160deg, #16344f, #0c2138);
  display: flex; align-items: center; justify-content: center;
}
.team-photo.empty::after { display: none; }
.team-photo.empty .initials { font-family: var(--serif); font-size: 46px; color: var(--gold); }
.team-photo.empty .soon {
  position: absolute; top: 12px; right: 12px;
  font-size: 9px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
}
.team-member h4 { font-size: 17px; margin-top: 16px; color: #fff; }
.team-member .role {
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin-top: 5px;
}
.team-note { max-width: 680px; color: rgba(255, 255, 255, .6); font-size: 14.5px; line-height: 1.85; margin-top: 44px; }

/* ===================================================================
   CURSOS
   =================================================================== */

.flagship-tags { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.tag-feature {
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy); background: var(--gold); padding: 6px 12px;
}
.tag-kicker { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }

.flagship {
  background: var(--navy);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  overflow: hidden;
}
.flagship-main { padding: clamp(34px, 4vw, 56px); }
.flagship-main h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.18; margin-bottom: 18px; }
.flagship-main > p { color: rgba(255, 255, 255, .7); font-size: 15.5px; line-height: 1.8; margin-bottom: 30px; }
.flagship-meta {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14);
}
.flagship-meta .k { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 8px; }
.flagship-meta .v { font-family: var(--serif); font-size: 24px; }
.flagship-meta .v.gold { color: var(--gold); }
.flagship-main .btn { margin-top: 34px; }
.flagship-main .btn-gold:hover { transform: none; box-shadow: none; background: var(--gold-deep); }

.flagship-syllabus {
  background: var(--navy-panel);
  padding: clamp(34px, 4vw, 56px);
  border-left: 1px solid rgba(255, 255, 255, .08);
}
.flagship-syllabus .overline { color: var(--gold); margin-bottom: 26px; }
.modules { display: flex; flex-direction: column; gap: 22px; }
.module { display: flex; gap: 18px; }
.module .num { font-family: var(--serif); font-size: 18px; color: var(--gold); flex-shrink: 0; width: 34px; }
.module .m-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.module .m-desc { font-size: 13px; color: rgba(255, 255, 255, .55); line-height: 1.6; }

/* Catalog */
.catalog-intro { max-width: 640px; color: var(--muted); font-size: 17px; line-height: 1.8; margin-bottom: 40px; }
.filters {
  display: flex; gap: 30px; flex-wrap: wrap;
  margin-bottom: 44px; border-bottom: 1px solid var(--border);
}
.filter {
  position: relative;
  background: none; border: none;
  font-family: var(--sans);
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  color: var(--navy);
  padding: 0 2px 18px;
  cursor: pointer;
}
.filter.active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--gold);
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.course-card.hidden { display: none; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(15, 42, 68, .4); border-color: var(--gold); }
.course-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: repeating-linear-gradient(135deg, #16334f 0 1px, #102a44 1px 12px);
}
.course-format {
  position: absolute; top: 14px; left: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: var(--gold); padding: 5px 10px;
}
.course-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.course-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.course-meta .area { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.course-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
.course-meta .dur { font-size: 12px; color: var(--faint); }
.course-body h3 { font-size: 21px; color: var(--navy); line-height: 1.25; margin-bottom: 12px; }
.course-body p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 22px; flex: 1; }
.course-body .link-arrow { align-self: flex-start; }

/* ===================================================================
   CORPO DOCENTE
   =================================================================== */

.intro-text { max-width: 780px; margin: 0 auto; color: var(--muted); font-size: 18px; line-height: 1.85; }
.intro-text.center { text-align: center; }

.faculty-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faculty-card {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 30px 34px;
  flex-wrap: wrap;
  transition: box-shadow .25s, border-color .25s;
}
.faculty-card:hover { box-shadow: 0 16px 36px -20px rgba(15, 42, 68, .4); border-color: var(--gold); }
.faculty-badge {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-deep); background: rgba(200, 169, 106, .12);
  padding: 9px 16px; white-space: nowrap; flex-shrink: 0;
  min-width: 120px; text-align: center;
}
.faculty-content { flex: 1; min-width: 240px; }
.faculty-content h3 { font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.faculty-content p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }

.quote-band { max-width: 840px; margin: 0 auto; text-align: center; }
.quote-band .mark { font-family: var(--serif); font-size: 60px; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.quote-band blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.4;
  color: #fff;
}

/* ===================================================================
   CONTATO
   =================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  align-items: start;
}
.contact-info h2 { font-size: 30px; color: var(--navy); margin-bottom: 16px; }
.contact-info > p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 40px; }
.contact-block { margin-bottom: 30px; }
.contact-block .k { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.contact-block a, .contact-block .v { display: block; font-family: var(--serif); font-size: 21px; color: var(--navy); transition: color .2s; }
.contact-block a:hover { color: var(--gold-deep); }
.contact-person + .contact-person { margin-top: 16px; }
.contact-block .who { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }

.contact-form { background: #fff; border: 1px solid var(--border); padding: 44px; }
.contact-form h3 { font-size: 24px; color: var(--navy); margin-bottom: 28px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; margin-bottom: 18px; }
.field { margin-bottom: 18px; }
.field label, .field-row label {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 106, .14);
}
.contact-form .btn-gold { width: 100%; border: none; margin-top: 6px; }
.contact-form .btn-gold:hover { transform: none; box-shadow: none; background: var(--gold-deep); }

.map-placeholder {
  position: relative;
  height: 300px;
  background: repeating-linear-gradient(135deg, #16334f 0 1px, #102a44 1px 14px);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}

/* ===================================================================
   FOOTER
   =================================================================== */

.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .7); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  padding-bottom: 54px;
}
.footer-brand { min-width: 220px; }
.footer-logo { font-family: var(--serif); font-size: 26px; color: #fff; display: block; margin-bottom: 14px; letter-spacing: 1px; }
.footer-desc { font-size: 13.5px; line-height: 1.6; margin-bottom: 8px; max-width: 260px; }
.footer-tagline { font-size: 12.5px; opacity: .5; font-style: italic; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 13.5px; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-contact { font-size: 13.5px; line-height: 1.9; }
.footer-divider { height: 1px; background: rgba(255, 255, 255, .1); }
.footer-bottom { padding: 24px 0; }
.footer-bottom p { font-size: 12px; opacity: .4; }

/* ===================================================================
   LIGHTBOX
   =================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(7, 17, 29, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; animation: lbIn .3s ease both; }
.lb-close {
  position: absolute; top: 24px; right: 30px;
  background: none; border: none;
  color: rgba(255, 255, 255, .7);
  font-size: 38px; cursor: pointer; line-height: 1;
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  width: 48px; height: 48px;
  font-size: 20px; cursor: pointer;
  transition: border-color .2s;
}
.lb-nav:hover { border-color: var(--gold); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-stage { max-width: 760px; width: 100%; }
.lb-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background: repeating-linear-gradient(135deg, #16334f 0 1px, #102a44 1px 14px);
  border: 1px solid rgba(200, 169, 106, .3);
  display: flex; align-items: center; justify-content: center;
}
.lb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lb-cat {
  position: absolute; z-index: 2; top: 18px; left: 18px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); background: rgba(10, 27, 46, .6); padding: 6px 11px;
}
.lb-ph { font-size: 13px; letter-spacing: .1em; color: rgba(255, 255, 255, .4); }
.lb-caption { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; gap: 20px; flex-wrap: wrap; }
.lb-caption h3 { font-size: 24px; color: #fff; }
.lb-counter { font-size: 13px; color: rgba(255, 255, 255, .5); }

/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (max-width: 880px) {
  .hero-art { display: none; }
}
@media (max-width: 680px) {
  .container { padding-left: 22px; padding-right: 22px; }
  .section { padding: 72px 0; }
  .section.tight { padding: 60px 0; }
  .page-hero .container { padding-top: 140px; padding-bottom: 64px; }
  .page-hero h1, .hero h1 { font-size: 42px; }
  .hero .container { padding-top: 130px; }
  .hero-stats { gap: 28px; }
  .hero-stats .stat + .stat { padding-left: 28px; }
}
