
/* ── tokens ── */
:root {
  --navy: #504d52;
  --navy-light: #6b686e;
  --ink: #1a1d24;
  --ink-secondary: #504d52;
  --ink-muted: #9e968d;
  --gold: #a08757;
  --gold-soft: #8b7548;
  --gold-bg: #f9f6f0;
  --btn: #9e8a78;
  --btn-hover: #8a7768;
  --surface: #ffffff;
  --surface-alt: #f7f6f4;
  --surface-warm: #f5f4f2;
  --border: #d9d6d2;
  --border-light: #e8e5e0;
  --accent-face: #d97756;
  --accent-corpo: #2d9b7a;
  --accent-tech: #9e968d;
  --accent-alumni: #a08757;
  --badge-new: #d4382c;
  --badge-hot: #e67e22;
  --badge-online: #27ae60;
  --warm-gray: #9e968d;
  --warm-gray-light: #d9d6d2;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(80,77,82,.06);
  --shadow-md: 0 4px 16px rgba(80,77,82,.09);
  --shadow-lg: 0 8px 32px rgba(80,77,82,.12);
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy: #18171a;
    --navy-light: #232126;
    --ink: #e8e6e3;
    --ink-secondary: #b5b0a9;
    --ink-muted: #8a8480;
    --gold: #c4a96e;
    --gold-soft: #d4bc85;
    --gold-bg: #1c1a18;
    --btn: #b5a494;
    --btn-hover: #c8bab0;
    --surface: #111013;
    --surface-alt: #181618;
    --surface-warm: #161415;
    --border: #2a2728;
    --border-light: #222020;
    --accent-face: #e8916e;
    --accent-corpo: #4fba96;
    --accent-tech: #9e968d;
    --accent-alumni: #c4a96e;
    --badge-new: #e85d52;
    --badge-hot: #f0a050;
    --badge-online: #34d174;
    --warm-gray: #8a8480;
    --warm-gray-light: #3a3735;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.5);
  }
}
:root[data-theme="dark"] {
  --navy: #18171a;
  --navy-light: #232126;
  --ink: #e8e6e3;
  --ink-secondary: #b5b0a9;
  --ink-muted: #8a8480;
  --gold: #c4a96e;
  --gold-soft: #d4bc85;
  --gold-bg: #1c1a18;
  --btn: #b5a494;
  --btn-hover: #c8bab0;
  --surface: #111013;
  --surface-alt: #181618;
  --surface-warm: #161415;
  --border: #2a2728;
  --border-light: #222020;
  --accent-face: #e8916e;
  --accent-corpo: #4fba96;
  --accent-tech: #9e968d;
  --accent-alumni: #c4a96e;
  --badge-new: #e85d52;
  --badge-hot: #f0a050;
  --badge-online: #34d174;
  --warm-gray: #8a8480;
  --warm-gray-light: #3a3735;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.5);
}

/* ── reset additions ── */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── skip link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--gold);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus {
  top: 12px;
}

/* ── selection ── */
::selection {
  background: var(--gold);
  color: #fff;
}

/* ── header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: #fff;
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .3px;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.nav-cta > a {
  background: #9e8a78 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: background .2s;
}
body .site-header .nav-links > li.nav-cta > a,
body .site-header .nav-links > li.nav-cta > a:visited,
body .site-header .nav-links > li.nav-cta > a:focus {
  background-color: #9e8a78 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
body .site-header .nav-links > li.nav-cta > a:hover {
  background-color: #8a7768 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* ── theme toggle ── */
.theme-toggle {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-secondary);
  transition: color .2s, border-color .2s;
  padding: 0;
  margin-left: 4px;
}
.theme-toggle:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--ink); padding: 4px;
}
.hamburger svg { display: block; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--surface);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
}

/* ── hero ── */
.hero {
  background: var(--surface);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--warm-gray);
  border-radius: 1px;
  flex-shrink: 0;
}
.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: .95;
  letter-spacing: -.03em;
  margin: 0 0 28px;
  color: var(--ink);
  text-wrap: balance;
}
.hero-text h1 em {
  font-style: italic;
  color: var(--warm-gray);
}
.hero-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-secondary);
  margin: 0 0 32px;
  max-width: 480px;
}
.hero-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 24px;
}
.hero-detail svg {
  width: 16px;
  height: 16px;
  opacity: .6;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--btn);
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  letter-spacing: .2px;
}
.btn-primary:hover { background: var(--btn-hover); text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(80,77,82,.2); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold);
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-outline:hover { background: var(--gold-bg); border-color: var(--gold); text-decoration: none; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.hero-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(180deg, var(--surface-alt) 0%, var(--border) 100%);
  border: 1px solid var(--border-light);
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.hero-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(80,77,82,.95) 0%, rgba(80,77,82,.7) 60%, transparent 100%);
  padding: 48px 24px 24px;
  color: #fff;
}
.hero-img-caption strong {
  font-family: var(--font-display);
  font-size: 20px;
  display: block;
  margin-bottom: 4px;
}
.hero-img-caption span {
  font-size: 13px;
  opacity: .8;
}
.hero-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  box-shadow: var(--shadow-md);
}
.hero-img-placeholder svg.placeholder-icon {
  width: 64px; height: 64px;
  opacity: .15;
  color: var(--warm-gray);
}
.hero-img-placeholder span.placeholder-text {
  font-size: 13px;
  color: var(--ink-muted);
}
.hero-tagline {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: .3px;
}

/* ── stats bar ── */
.stats-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
}
.stats-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  gap: 0;
}
.stats-bar-item {
  flex: 0 0 auto;
  padding: 0 48px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stats-bar-item:first-child { padding-left: 0; }
.stats-bar-item:last-child { border-right: none; }
.stats-bar-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  color: var(--ink);
  display: block;
  letter-spacing: -.02em;
}
.stats-bar-label {
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: .5px;
  margin-top: 4px;
  display: block;
}

/* ── essence bar ── */
.essence-bar {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}
.essence-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.essence-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-right: 32px;
  flex-shrink: 0;
}
.essence-items {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}
.essence-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}
.essence-item::after {
  content: '◇';
  font-size: 10px;
  color: var(--warm-gray);
}
.essence-item:last-child::after { display: none; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 24px 0; gap: 32px; }
  .hero-visual { order: -1; }
  .hero-text h1 { font-size: clamp(36px, 8vw, 52px); line-height: 1; }
  .stats-bar-inner { flex-wrap: wrap; gap: 24px; }
  .stats-bar-item { border-right: none; padding: 0 24px; }
  .essence-bar-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .essence-items { flex-wrap: wrap; gap: 8px; }
  .essence-item { padding: 0 12px 0 0; font-size: 13px; }
  .hero-tagline { flex-direction: column; gap: 4px; align-items: flex-start; }
}

/* ── section shared ── */
.section {
  padding: 72px 24px;
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-header {
  margin-bottom: 40px;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 14px;
  color: var(--ink);
  text-wrap: balance;
}
.section-subtitle {
  font-size: 16px;
  color: var(--ink-secondary);
  max-width: 600px;
  margin: 0;
  line-height: 1.6;
}
.section--alt { background: var(--surface-alt); }
.section--warm { background: var(--gold-bg); }
.section--navy { background: linear-gradient(135deg, #504d52 0%, #3a383c 100%); color: #fff; }
.section--navy .section-title { color: #fff; }
.section--navy .section-subtitle { color: rgba(255,255,255,.8); }
.section--navy .section-eyebrow { color: rgba(255,255,255,.8); }
.section--navy .section-eyebrow::before { background: rgba(255,255,255,.5); }

/* ── programs tabs (FGV style) ── */
.programs-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 36px;
  overflow-x: auto;
}
.program-tab {
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color .2s;
  letter-spacing: .3px;
}
.program-tab:hover { color: var(--ink); }
.program-tab.active {
  color: var(--gold);
}
.program-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 2px 2px 0 0;
}

/* ── course filter pills (PUC style) ── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-pill {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  background: var(--surface);
  color: var(--ink-secondary);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.filter-pill:hover {
  border-color: var(--btn);
  color: var(--btn);
}
.filter-pill.active {
  background: var(--btn);
  color: #fff;
  border-color: var(--btn);
  font-weight: 600;
}

/* ── course cards ── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
/* Graceful fallback: when few cards, center them */
.courses-grid:has(> :last-child:nth-child(-n+3)) {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.courses-grid:has(> :last-child:nth-child(-n+2)) {
  grid-template-columns: repeat(2, 1fr);
  max-width: 700px;
}
.courses-grid:has(> :last-child:nth-child(1)) {
  grid-template-columns: 1fr;
  max-width: 420px;
}
@media (max-width: 960px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .courses-grid { grid-template-columns: 1fr; }
}
.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .3s, transform .25s;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.course-card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.course-card-img-inner {
  width: 100%; height: 100%;
  object-fit: cover;
}
.card-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-img-placeholder svg { width: 48px; height: 48px; opacity: .3; }
.trail-face .card-img-placeholder { background: linear-gradient(135deg, #fde8db 0%, #f0c9a8 100%); }
.trail-corpo .card-img-placeholder { background: linear-gradient(135deg, #d4f0e6 0%, #a8dbc8 100%); }
.trail-tech .card-img-placeholder { background: linear-gradient(135deg, #e8e5e0 0%, #d9d6d2 100%); }

.course-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.badge-trail {
  background: var(--gold);
  color: #fff;
}
.badge-level-start { background: var(--badge-online); color: #fff; }
.badge-level-int { background: var(--badge-hot); color: #fff; }
.badge-level-adv { background: var(--badge-new); color: #fff; }
.badge-new { background: var(--badge-new); color: #fff; }
.badge-hot { background: var(--badge-hot); color: #fff; }
.badge-online { background: var(--badge-online); color: #fff; }
.badge-presencial { background: var(--ink); color: #fff; }
.badge-coming { background: var(--warm-gray); color: #fff; }

.course-card--coming { opacity: .65; }
.course-card--coming:hover { opacity: .8; }
.card-img-placeholder--muted { opacity: .5; }

.course-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--ink);
}
.course-card-desc {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.course-price {
  font-size: 14px;
  color: var(--ink-muted);
}
.course-price strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.course-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.course-link:hover { text-decoration: underline; }
.course-link svg { width: 16px; height: 16px; }

/* ── extensivos / programas destaque ── */
.extensivos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.extensivo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .25s;
}
.extensivo-card:hover { box-shadow: var(--shadow-md); }
.extensivo-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.extensivo-icon svg { width: 24px; height: 24px; }
.extensivo-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0;
  color: var(--ink);
}
.extensivo-card p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin: 0;
}
.extensivo-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.extensivo-meta span {
  font-size: 13px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.extensivo-meta svg { width: 14px; height: 14px; }

@media (max-width: 700px) {
  .extensivos-grid { grid-template-columns: 1fr; }
}

/* ── alumni / masterclass exclusiva ── */
.alumni-banner {
  background: linear-gradient(135deg, #a08757 0%, #7a6542 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.alumni-banner::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
.alumni-banner::after {
  content: '';
  position: absolute;
  bottom: -30%; left: 20%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.alumni-text { position: relative; z-index: 1; }
.alumni-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.alumni-badge svg { width: 14px; height: 14px; }
.alumni-text h3 {
  font-family: var(--font-display);
  font-size: 30px;
  margin: 0 0 12px;
  color: #fff;
}
.alumni-text p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 24px;
  opacity: .9;
}
.alumni-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.alumni-feat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  opacity: .9;
}
.alumni-feat svg { width: 16px; height: 16px; opacity: .7; }
.alumni-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #7a6542;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.alumni-cta:hover { background: #faf5ed; transform: translateY(-1px); }
.alumni-cta svg { width: 16px; height: 16px; }
.alumni-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.alumni-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.alumni-stat-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.alumni-stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 4px;
}
.alumni-stat-card span {
  font-size: 12px;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: .03em;
}
@media (max-width: 700px) {
  .alumni-banner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .alumni-text h3 { font-size: 24px; }
  .alumni-stat-grid { grid-template-columns: 1fr 1fr; }
}

/* ── methodology ── */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.method-step {
  padding: 32px 24px;
  text-align: center;
  position: relative;
  counter-increment: step;
}
.method-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--gold);
  opacity: .3;
  display: block;
  margin-bottom: 16px;
}
.method-step h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--ink);
}
.method-step p {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin: 0;
}
.method-step + .method-step::after {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 1px;
  height: 40%;
  transform: translateY(-50%);
  background: var(--border);
}
@media (max-width: 700px) {
  .method-grid { grid-template-columns: 1fr 1fr; }
  .method-step + .method-step::after { display: none; }
}
@media (max-width: 480px) {
  .method-grid { grid-template-columns: 1fr; }
}

/* ── instructor lead card ── */
.instructor-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 48px;
}
.instructor-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold-bg) 0%, #e8dfd2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.instructor-photo svg { width: 80px; height: 80px; opacity: .2; }
.instructor-info h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0 0 6px;
  color: var(--ink);
}
.instructor-info .title {
  font-size: 15px;
  color: var(--warm-gray);
  font-weight: 500;
  margin-bottom: 20px;
}
.instructor-info p {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin: 0 0 20px;
}
.credential-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.credential-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--ink-secondary);
}
@media (max-width: 700px) {
  .instructor-card { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .instructor-photo { aspect-ratio: 16/9; max-height: 240px; }
}

/* ── professor grid ── */
.professors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.professor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: box-shadow .25s, transform .2s;
}
.professor-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.professor-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--gold-bg) 0%, #e8dfd2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.professor-avatar svg { width: 56px; height: 56px; opacity: .2; }
.professor-body {
  padding: 20px 16px 24px;
}
.professor-body h4 {
  font-family: var(--font-display);
  font-size: 17px;
  margin: 0 0 4px;
  color: var(--ink);
}
.professor-specialty {
  font-size: 13px;
  color: var(--warm-gray);
  font-weight: 500;
  margin: 0 0 10px;
}
.professor-credentials {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 860px) {
  .professors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .professors-grid { grid-template-columns: 1fr; }
}

/* ── course detail overlay ── */
.course-detail-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--surface);
  overflow-y: auto;
}
.course-detail-overlay.open { display: block; }
.course-detail-back {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.course-detail-back-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.back-btn {
  background: none;
  border: none;
  color: var(--ink-secondary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}
.back-btn:hover { color: var(--gold); }
.back-btn svg { width: 16px; height: 16px; }

/* ── sc-* layout imersivo (inside overlay) ── */
.sc-hero { background: linear-gradient(135deg, #504d52 0%, #3a383c 100%); padding: 48px 24px 56px; color: #fff; }
.sc-hero-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.sc-badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.sc-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 12px; line-height: 1.15; }
.sc-hero-excerpt { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 24px; max-width: 560px; line-height: 1.6; }
.sc-hero-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.sc-stat { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: rgba(255,255,255,0.7); }
.sc-stat svg { color: var(--gold); }
.sc-image-card {
  background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}
.sc-image-card-img { height: 200px; background: var(--surface-alt); display: flex; align-items: center; justify-content: center; color: var(--ink-muted); font-size: 0.85rem; }
.sc-image-card-bar { padding: 20px; text-align: center; }
.sc-card-price { font-family: var(--font-display); font-size: 1.8rem; color: var(--ink); }
.sc-card-installment { font-size: 0.8rem; color: var(--ink-muted); margin: 4px 0 12px; }
@media (max-width: 900px) {
  .sc-hero-inner { grid-template-columns: 1fr; }
  .sc-image-card { max-width: 360px; }
}

/* Sticky CTA inside overlay */
.sc-sticky-cta {
  position: sticky; bottom: 0; left: 0; right: 0; z-index: 10;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 12px 24px; display: flex; align-items: center; justify-content: center; gap: 24px;
  transform: translateY(100%); transition: transform 0.35s ease;
  pointer-events: none;
}
.sc-sticky-cta.is-visible { transform: translateY(0); pointer-events: all; }
.sc-sticky-cta .sc-sticky-title { color: var(--ink); font-weight: 600; font-size: 0.9rem; }
.sc-sticky-cta .sc-sticky-price { color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; }

/* Sections */
.sc-section { padding: 56px 24px; }
.sc-section-inner { max-width: var(--max-w); margin: 0 auto; }
.sc-bg-warm { background: var(--surface-alt); }
.sc-bg-dark { background: linear-gradient(135deg, #504d52 0%, #3a383c 100%); color: #fff; }
.sc-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-gray); margin-bottom: 8px; }
.sc-heading { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 0 0 12px; color: var(--ink); }
.sc-desc { color: var(--ink-secondary); font-size: 0.95rem; max-width: 640px; margin-bottom: 32px; line-height: 1.6; }
.sc-desc-light { color: rgba(255,255,255,0.7); }

/* About */
.sc-about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.sc-prose { color: var(--ink-secondary); font-size: 0.95rem; line-height: 1.8; }
.sc-about-highlights { display: grid; gap: 12px; }
.sc-hl-card {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px;
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border);
}
.sc-hl-card .hl-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--gold-bg); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-hl-card .hl-text strong { display: block; font-size: 0.88rem; margin-bottom: 2px; color: var(--ink); }
.sc-hl-card .hl-text span { font-size: 0.82rem; color: var(--ink-secondary); }
@media (max-width: 800px) { .sc-about-grid { grid-template-columns: 1fr; } }

/* Gallery */
.sc-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sc-gallery-item {
  border-radius: var(--radius); overflow: hidden; position: relative;
  height: 180px; background: var(--navy); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5);
}
.sc-gallery-featured { grid-row: span 2; height: auto; min-height: 376px; }
.sc-gallery-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3); color: #fff; font-size: 2.5rem;
}
.sc-gallery-label { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,0.6); color: #fff; font-size: 0.7rem; padding: 3px 8px; border-radius: 4px; }
@media (max-width: 700px) { .sc-gallery-grid { grid-template-columns: 1fr; } .sc-gallery-featured { min-height: 200px; } }

/* Modules */
.sc-modules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.sc-module-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: flex-start;
}
.sc-module-num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--gold-bg);
  color: var(--gold); font-family: var(--font-display); font-size: 1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sc-module-title { font-size: 0.9rem; font-weight: 500; color: var(--ink); }

/* Includes */
.sc-includes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sc-include-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--ink-secondary); padding: 10px 0; }
.sc-include-check { color: var(--warm-gray); flex-shrink: 0; }

/* Professors (dark bg) */
.sc-prof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.sc-prof-card { text-align: center; }
.sc-prof-photo {
  width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 12px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.sc-prof-placeholder { font-family: var(--font-display); font-size: 1.5rem; color: var(--warm-gray); }
.sc-prof-info h4 { color: #fff; font-size: 1rem; margin: 0 0 2px; }
.sc-prof-role { color: var(--warm-gray); font-size: 0.8rem; margin-bottom: 4px; }
.sc-prof-spec { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* NPS */
.sc-nps-inner { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: 40px; background: rgba(255,255,255,0.04); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.08); }
.sc-nps-circle {
  width: 160px; height: 160px; border-radius: 50%;
  background: conic-gradient(var(--warm-gray) 0% var(--sc-nps-pct), rgba(255,255,255,0.1) var(--sc-nps-pct) 100%);
  display: flex; align-items: center; justify-content: center;
}
.sc-nps-circle-inner {
  width: 120px; height: 120px; border-radius: 50%; background: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.sc-nps-number { font-family: var(--font-display); font-size: 2.4rem; color: #fff; line-height: 1; }
.sc-nps-label { font-size: 0.7rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }
.sc-nps-zone-tag { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 100px; background: rgba(34,197,94,0.15); color: #22c55e; font-size: 0.7rem; font-weight: 600; }
.sc-nps-stats { display: flex; gap: 32px; margin-top: 20px; }
.sc-nps-stat .val { font-family: var(--font-display); font-size: 1.4rem; color: #fff; }
.sc-nps-stat .lbl { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
@media (max-width: 700px) { .sc-nps-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* SC Testimonials */
.sc-testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.sc-testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.sc-tc-stars { display: flex; gap: 2px; margin-bottom: 10px; color: #d4a853; }
.sc-tc-text { font-size: 0.9rem; color: var(--ink-secondary); margin-bottom: 14px; font-style: italic; }
.sc-tc-author { display: flex; align-items: center; gap: 10px; }
.sc-tc-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--navy);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700;
}
.sc-tc-name { font-weight: 600; font-size: 0.85rem; color: var(--ink); }
.sc-tc-role { font-size: 0.75rem; color: var(--ink-secondary); }

/* SC FAQ */
.sc-faq-list { max-width: 720px; margin: 0 auto; }
.sc-faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 8px; background: var(--surface);
}
.sc-faq-item summary {
  padding: 16px 20px; font-weight: 600; font-size: 0.95rem; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--ink);
}
.sc-faq-item summary::-webkit-details-marker { display: none; }
.sc-faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--warm-gray); transition: transform 0.3s; }
.sc-faq-item[open] summary::after { transform: rotate(45deg); }
.sc-faq-answer { padding: 0 20px 16px; color: var(--ink-secondary); font-size: 0.9rem; line-height: 1.6; }

/* CTA Final (dark) */
.sc-cta-final { background: linear-gradient(135deg, var(--navy) 0%, #3a383c 100%); padding: 64px 24px; color: #fff; }
.sc-cta-final-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sc-cta-text h2 { font-family: var(--font-display); font-size: 1.8rem; margin: 0 0 8px; }
.sc-cta-price { font-family: var(--font-display); font-size: 2rem; color: #fff; margin: 16px 0 4px; }
.sc-cta-installment { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
@media (max-width: 800px) { .sc-cta-final-inner { grid-template-columns: 1fr; } }

/* Animate on scroll */
.sc-anim { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.sc-anim.visible { opacity: 1; transform: translateY(0); }

/* ── testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-quote {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin: 0 0 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold);
  font-weight: 600;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.testimonial-role {
  font-size: 12px;
  color: var(--ink-muted);
}
@media (max-width: 700px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ── FAQ ── */
.faq-list {
  max-width: 760px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
  line-height: 1.4;
}
.faq-question:hover { color: var(--ink); }
.faq-icon {
  width: 20px;
  min-width: 20px;
  height: 20px;
  transition: transform .25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.65;
}

/* ── CTA section ── */
.cta-section {
  text-align: center;
  padding: 80px 24px;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -.02em;
}
.cta-section p {
  color: rgba(255,255,255,.8);
  font-size: 17px;
  margin: 0 0 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-whatsapp:hover { background: #1fb855; text-decoration: none; }

/* ── trail description ── */
.trail-description {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, opacity .3s ease, margin .3s ease;
  opacity: 0;
  margin: 0 0 0;
}
.trail-description.active {
  max-height: 120px;
  opacity: 1;
  margin: 0 0 24px;
}
.trail-description-inner {
  background: var(--surface-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-secondary);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.trail-description-inner svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}

/* ── centro de estudos ── */
.centro-section {
  padding: 80px 24px;
  background: var(--surface);
}
.centro-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.centro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}
.centro-info h3 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 16px;
}
.centro-info p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-secondary);
  margin-bottom: 20px;
}
.centro-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.centro-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.6;
}
.centro-feature-item svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.centro-feature-item strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 15px;
}
.centro-feature-item span {
  font-size: 13px;
  line-height: 1.5;
}
.centro-addresses {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.centro-address-card {
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-secondary);
}
.centro-address-card strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
  font-weight: 600;
}
.centro-address-card p {
  margin: 0;
  font-size: 13px;
}
.centro-address-badge {
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .02em;
}
.centro-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.centro-photo-placeholder span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 500;
  opacity: .6;
}
.centro-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 40px;
}
.centro-photo-slot {
  aspect-ratio: 4/3;
  background: var(--surface-alt);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: border-color .2s;
}
.centro-photo-slot svg {
  width: 28px;
  height: 28px;
  opacity: .4;
}
.centro-photo-slot.slot-wide {
  grid-column: 1 / -1;
  aspect-ratio: 16/7;
}
@media (max-width: 768px) {
  .centro-grid { grid-template-columns: 1fr; }
}

/* ── footer ── */
.site-footer {
  background: var(--surface-alt);
  color: var(--ink-secondary);
  padding: 56px 24px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo {
  margin-bottom: 16px;
}
.footer-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  width: 108px;
  max-width: 100%;
}
.footer-brand .custom-logo {
  display: block;
  width: 108px;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}
@media (max-width: 700px) {
  .footer-brand .custom-logo-link,
  .footer-brand .custom-logo {
    width: 92px;
  }
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}
.footer-col h4 {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--ink-muted);
  font-size: 14px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--ink); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  color: var(--ink-muted);
  transition: color .2s;
}
.footer-social a:hover { color: var(--ink); }
.footer-social svg { width: 20px; height: 20px; }

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── modal ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 24px 28px;
  position: relative;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  cursor: pointer;
  color: var(--ink-muted);
  padding: 4px;
}
.modal-close:hover { color: var(--ink); }
.modal h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--ink);
}
.modal .modal-subtitle {
  font-size: 13px;
  color: var(--ink-secondary);
  margin: 0 0 14px;
}
.form-group {
  margin-bottom: 10px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--surface);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--ink);
}
.form-row {
  display: flex; gap: 12px;
}
.form-half { flex: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-submit {
  width: 100%;
  margin-top: 6px;
}

@media (max-height: 850px) and (min-width: 701px) {
  .modal-overlay { padding: 12px; }
  .modal {
    max-height: calc(100dvh - 24px);
    padding: 18px 24px;
  }
  .modal h3 {
    font-size: 21px;
    margin-bottom: 4px;
  }
  .modal .modal-subtitle {
    font-size: 12px;
    margin-bottom: 8px;
  }
  .form-group {
    margin-bottom: 7px;
  }
  .form-group label {
    font-size: 12px;
    margin-bottom: 4px;
  }
  .form-group input,
  .form-group select {
    padding: 9px 12px;
    font-size: 14px;
  }
  .bravo-form-textarea {
    min-height: 64px;
    max-height: 72px;
    padding: 9px 12px;
  }
  .form-submit {
    margin-top: 4px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* ── scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── utility ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.hidden { display: none !important; }


/* WordPress / dynamic content adaptations */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.bravo-hero-image, .course-card-img-inner, .instructor-photo img, .professor-avatar img,
.centro-photo-slot img, .sc-image-card-img img, .sc-prof-photo img, .testimonial-avatar img {
  width: 100%; height: 100%; object-fit: cover; display:block;
}
.hero-img-placeholder.has-image { display:block; }
.hero-img-placeholder.has-image > .bravo-hero-image { width:100%; height:100%; object-fit:cover; }
.instructor-photo, .professor-avatar, .centro-photo-slot, .sc-prof-photo { overflow:hidden; }
.professor-avatar img { aspect-ratio:1; }
.course-card--coming .course-link { pointer-events:none; opacity:.55; }
.bravo-elementor-content { min-height: 40vh; }
.bravo-page-content { max-width: var(--max-w); margin: 0 auto; padding: 56px 24px; }
.bravo-page-content > :first-child { margin-top: 0; }
.bravo-page-content img { height:auto; }
.bravo-empty-note { padding:48px 24px; text-align:center; color:var(--ink-muted); }
.bravo-section-hidden { display:none !important; }
.bravo-featured-course-img { width:100%; height:100%; object-fit:cover; }
.site-header .custom-logo-link { display:flex; align-items:center; }
.site-header .custom-logo { max-height:42px; width:auto; }
.logo-text { color:var(--ink); }
body.bravo-no-dark .theme-toggle { display:none; }
/* Preserve comfortable Elementor full-width editing */
.elementor-page .bravo-page-content { max-width:none; padding:0; }


/* ── course single pages v1.1 ── */
.bravo-course-backbar { position: relative; top: auto; }
.bravo-course-hero-image img,
.sc-gallery-item img,
.sc-prof-photo img,
.sc-tc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bravo-course-primary-cta,
.bravo-course-whatsapp {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  text-decoration: none;
}
.bravo-course-primary-cta:hover,
.bravo-course-whatsapp:hover { text-decoration: none; }

.bravo-course-schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 14px;
}
.bravo-course-schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.bravo-course-schedule-item > span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-bg);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  font-family: var(--font-display);
}
.bravo-course-schedule-item strong {
  font-size: .92rem;
  color: var(--ink);
  line-height: 1.5;
  padding-top: 5px;
}

.bravo-course-video iframe,
.bravo-course-video video {
  width: 100%;
  height: 100%;
  min-height: 376px;
  border: 0;
}
.bravo-gallery-video-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-weight: 600;
}
.bravo-prof-link { color: inherit; text-decoration: none; }
.bravo-prof-link:hover { text-decoration: none; }
.bravo-nps-heading { color:#fff; font-size:1.2rem; margin:0 0 8px; }
.bravo-nps-text { color:rgba(255,255,255,.65); font-size:.9rem; margin:0; }
.sc-tc-stars { letter-spacing: 1px; }
.sc-tc-text p { margin: 0; }
.sc-tc-avatar { overflow:hidden; }

.bravo-cta-copy { color:rgba(255,255,255,.65); margin-top:8px; }
.bravo-course-cta-actions { margin-top:24px; display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.bravo-course-other-link { color:rgba(255,255,255,.75); font-size:.9rem; }
.bravo-course-cta-card {
  background:var(--surface);
  border-radius:var(--radius-lg);
  padding:28px;
}
.bravo-course-cta-card h3 { color:var(--ink); font-size:1.2rem; margin:0 0 16px; }
.bravo-course-cta-card .btn-primary { width:100%; justify-content:center; }

.bravo-course-page .bravo-single-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  box-shadow: 0 -8px 28px rgba(0,0,0,.08);
}
.bravo-course-page .bravo-single-sticky .btn-primary { padding:8px 20px; font-size:.85rem; }
body.bravo-course-page { padding-bottom: 68px; }

.bravo-form-textarea {
  width:100%;
  padding:12px 14px;
  border:1.5px solid var(--border);
  border-radius:var(--radius);
  font:inherit;
  color:var(--ink);
  background:var(--surface);
}
.bravo-form-success { display:none; text-align:center; padding:24px 0; }
.bravo-form-error { display:none; text-align:center; padding:12px; background:rgba(220,53,69,.08); border-radius:var(--radius); margin-top:8px; }
.bravo-form-error p { margin:0; color:#dc3545; font-size:14px; }

@media (max-width:700px) {
  .bravo-course-video iframe,.bravo-course-video video { min-height:220px; }
  .bravo-course-page .bravo-single-sticky { gap:10px; padding:10px 14px; justify-content:space-between; }
  .bravo-course-page .bravo-single-sticky .sc-sticky-title { display:none; }
  .bravo-course-page .bravo-single-sticky .sc-sticky-price { font-size:1rem; }
}


/* ── v1.2 rendering safeguards ──
   The original HTML included an automatic OS dark-mode media query. On WordPress
   this caused the Customizer preview to open in dark mode depending on the
   administrator computer. Light is now the deterministic default; dark is only
   used when the visitor explicitly selects it and the feature is enabled. */
:root:not([data-theme="dark"]) {
  --navy: #504d52;
  --navy-light: #6b686e;
  --ink: #1a1d24;
  --ink-secondary: #504d52;
  --ink-muted: #9e968d;
  --gold: #a08757;
  --gold-soft: #8b7548;
  --gold-bg: #f9f6f0;
  --btn: #9e8a78;
  --btn-hover: #8a7768;
  --surface: #ffffff;
  --surface-alt: #f7f6f4;
  --surface-warm: #f5f4f2;
  --border: #d9d6d2;
  --border-light: #e8e5e0;
  --accent-face: #d97756;
  --accent-corpo: #2d9b7a;
  --accent-tech: #9e968d;
  --accent-alumni: #a08757;
  --badge-new: #d4382c;
  --badge-hot: #e67e22;
  --badge-online: #27ae60;
  --warm-gray: #9e968d;
  --warm-gray-light: #d9d6d2;
  --shadow-sm: 0 1px 3px rgba(80,77,82,.06);
  --shadow-md: 0 4px 16px rgba(80,77,82,.09);
  --shadow-lg: 0 8px 32px rgba(80,77,82,.12);
}
body.bravo-no-dark { color-scheme: light; }
body.bravo-no-dark .theme-toggle { display:none !important; }
/* Keep placeholders legible when no WordPress media has been selected yet. */
.card-img-placeholder svg { opacity:.34; }
.hero-img-placeholder:not(.has-image) { min-height: 420px; }
@media (max-width:860px){.hero-img-placeholder:not(.has-image){min-height:320px;}}
