/* ═══════════════════════════════════════
   ESCOLA DE GESTÃO EDUCACIONAL
   styles.css
   ═══════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --ruby:          #8B1E32;
  --ruby-deep:     #6A1626;
  --ruby-muted:    rgba(139,30,50,0.08);
  --pearl:         #F5F1E8;
  --pearl-dark:    #EDE8DC;
  --graphite:      #2B2B2B;
  --graphite-mid:  #444444;
  --graphite-soft: #6B6B6B;
  --champagne:     #D8C9B5;
  --champagne-light: #EDE4D8;
  --white:         #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius: 2px;
  --transition: 0.22s ease;

  --section-pad: clamp(64px, 8vw, 112px) 24px;
  --max-w: 780px;
  --max-w-wide: 1060px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }

body {
  font-family: var(--font-body);
  background: var(--pearl);
  color: var(--graphite);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY SCALE ── */
.t-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--ruby);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.t-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--ruby);
  flex-shrink: 0;
}
.t-eyebrow--light { color: var(--champagne); }
.t-eyebrow--light::before { background: var(--champagne); }

.t-display {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--graphite);
}
.t-display em { font-style: italic; color: var(--ruby); }
.t-display--light { color: var(--white); }
.t-display--light em { color: var(--champagne); }

.t-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--graphite);
}
.t-heading em { font-style: italic; color: var(--ruby); }
.t-heading--light { color: var(--white); }

.t-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-style: italic;
  color: var(--graphite-soft);
  line-height: 1.5;
}
.t-sub--light { color: var(--champagne); opacity: 0.9; }

.t-body {
  font-size: 1rem;
  color: var(--graphite-mid);
  line-height: 1.8;
}
.t-body--light { color: rgba(255,255,255,0.72); }

/* ── LAYOUT HELPERS ── */
.container      { max-width: var(--max-w);      margin: 0 auto; width: 100%; }
.container--wide { max-width: var(--max-w-wide); margin: 0 auto; width: 100%; }

.section-pad { padding: var(--section-pad); }

/* ── TOP BAR ── */
#topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0 24px;
}
#topbar.scrolled {
  background: rgba(43,43,43,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(216,201,181,0.12);
}
.topbar-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.topbar-logo span {
  display: block;
  font-size: 10px;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--champagne);
  font-style: normal;
}
nav.topbar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav.topbar-nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
nav.topbar-nav a:hover { color: var(--white); }
.nav-cta {
  background: var(--ruby);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--ruby-deep) !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(43,43,43,0.98);
  backdrop-filter: blur(12px);
  padding: 32px 24px 40px;
  flex-direction: column;
  gap: 24px;
  z-index: 99;
  border-top: 1px solid rgba(216,201,181,0.15);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu .nav-cta {
  text-align: center;
  padding: 14px 20px;
  font-size: 1rem !important;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background-color: var(--graphite);
  background-image:
    radial-gradient(ellipse 55% 70% at 92% 40%, rgba(139,30,50,0.25) 0%, transparent 65%),
    radial-gradient(ellipse 35% 50% at 5% 85%,  rgba(139,30,50,0.10) 0%, transparent 60%);
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ruby), var(--champagne) 50%, var(--ruby));
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-slogan {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-style: italic;
  color: var(--champagne);
  margin-bottom: 40px;
  opacity: 0.85;
  max-width: 560px;
}
.hero-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.68);
  max-width: 560px;
  margin-bottom: 52px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(216,201,181,0.15);
  flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-num span { color: var(--ruby); }
.stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  transition: background var(--transition), color var(--transition), transform 0.1s;
  line-height: 1;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--ruby);
  color: var(--white);
}
.btn-primary:hover { background: var(--ruby-deep); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}

.btn-white {
  background: var(--white);
  color: var(--ruby);
}
.btn-white:hover { background: var(--pearl); }

.btn-lg { padding: 20px 36px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

/* ── SOBRE ── */
#sobre {
  background: var(--white);
  border-top: 1px solid var(--champagne-light);
}
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sobre-img-wrap {
  position: relative;
}
.sobre-img-placeholder {
  width: 100%;
  background: linear-gradient(145deg, var(--graphite) 0%, var(--ruby-deep) 100%);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.sobre-img-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}
.sobre-img-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--champagne);
  line-height: 1.4;
  padding: 24px 28px 28px;
  background: linear-gradient(145deg, var(--graphite) 0%, var(--ruby-deep) 100%);
}
.sobre-text { display: flex; flex-direction: column; gap: 20px; }
.sobre-text .t-heading { margin-bottom: 4px; }
.sobre-assinatura {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ruby);
  margin-top: 8px;
}

/* ── PARA QUEM É ── */
#para-quem {
  background: var(--pearl);
}
.perfis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  margin-top: 40px;
  border: 1px solid var(--champagne);
  border-radius: var(--radius);
  overflow: hidden;
}
.perfil-card {
  background: var(--white);
  padding: 28px 24px;
  transition: background var(--transition);
}
.perfil-card:hover { background: var(--ruby-muted); }
.perfil-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  display: block;
}
.perfil-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 6px;
  line-height: 1.3;
}
.perfil-card p {
  font-size: 13px;
  color: var(--graphite-soft);
  line-height: 1.55;
}

/* ── DIMENSÕES ── */
#dimensoes {
  background: var(--graphite);
  position: relative;
  overflow: hidden;
}
#dimensoes::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,30,50,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.dimensoes-intro {
  max-width: 560px;
  margin-bottom: 52px;
}
.dimensoes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: rgba(216,201,181,0.15);
  border: 1px solid rgba(216,201,181,0.15);
  border-radius: var(--radius);
  overflow: hidden;
}
.dimensao-item {
  background: rgba(255,255,255,0.04);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--transition);
}
.dimensao-item:hover { background: rgba(139,30,50,0.12); }
.dimensao-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  font-style: italic;
  color: var(--ruby);
  line-height: 1;
}
.dimensao-item strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.dimensao-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ── PÓS-GRADUAÇÃO DESTAQUE ── */
#pos {
  background: var(--pearl-dark);
  border-top: 1px solid var(--champagne);
  border-bottom: 1px solid var(--champagne);
}
.pos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.pos-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ruby);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.pos-lista {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--champagne);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 32px;
}
.pos-lista-item {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid var(--champagne-light);
}
.pos-lista-item:last-child { border-bottom: none; }
.pos-lista-bullet {
  width: 48px; min-width: 48px;
  background: var(--ruby);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}
.pos-lista-bullet svg { fill: var(--white); width: 16px; height: 16px; }
.pos-lista-content {
  padding: 18px 20px;
  background: var(--white);
}
.pos-lista-content strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--graphite);
  display: block;
  margin-bottom: 3px;
}
.pos-lista-content p {
  font-size: 13px;
  color: var(--graphite-soft);
  line-height: 1.5;
}
.pos-form-card {
  background: var(--graphite);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: sticky;
  top: 88px;
}
.pos-form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 8px;
}
.pos-form-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
  line-height: 1.5;
}

/* ── FORM STYLES ── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--champagne);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(216,201,181,0.25);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.form-input::placeholder { color: rgba(255,255,255,0.28); }
.form-input:focus {
  border-color: var(--champagne);
  background: rgba(255,255,255,0.10);
}
.form-note {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

/* ── SUCCESS STATE ── */
.form-success {
  display: none;
  text-align: center;
  padding: 20px;
}
.form-success strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}
.form-success p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ── DEPOIMENTOS ── */
#depoimentos {
  background: var(--white);
  border-top: 1px solid var(--champagne-light);
}
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.depoimento-card {
  border: 1px solid var(--champagne-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--pearl);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.depoimento-card:hover {
  border-color: var(--champagne);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.depoimento-aspas {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--ruby);
  line-height: 1;
  opacity: 0.5;
}
.depoimento-texto {
  font-size: 14px;
  color: var(--graphite-mid);
  line-height: 1.75;
  font-style: italic;
}
.depoimento-autor { display: flex; flex-direction: column; gap: 2px; }
.depoimento-nome {
  font-size: 13px;
  font-weight: 600;
  color: var(--graphite);
}
.depoimento-cargo {
  font-size: 12px;
  color: var(--graphite-soft);
}

/* ── CTA FINAL ── */
#cta-final {
  background: var(--ruby);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta-final::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final-inner { position: relative; z-index: 1; }
.cta-final-inner .t-display--light { margin-bottom: 16px; }
.cta-final-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ── FOOTER ── */
footer {
  background: #1a1a1a;
  padding: 40px 24px;
}
.footer-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.footer-logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 3px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav.topbar-nav { display: none; }
  .hamburger { display: flex; }

  .sobre-grid,
  .pos-grid { grid-template-columns: 1fr; gap: 40px; }

  .pos-form-card { position: static; padding: 28px 20px; }

  .hero-stats { gap: 28px; }

  .cta-final-actions { flex-direction: column; align-items: center; }
  .cta-final-actions .btn { width: 100%; max-width: 340px; justify-content: center; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  #hero { padding: 100px 20px 64px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .perfis-grid { grid-template-columns: 1fr 1fr; }
}
