/* =====================================================
   FABEA – Faculdade Brasileira de Estudos Avançados
   CSS Principal — style.css  (UI/UX Avançado v2)
   ===================================================== */

/* ── 1. VARIÁVEIS & RESET ─────────────────────────── */
:root {
  /* Paleta primária */
  --primary:        #1B3A6B;
  --primary-dark:   #0f2447;
  --primary-light:  #2a5298;
  --primary-xlight: rgba(27,58,107,.06);

  /* Paleta secundária (âmbar institucional) */
  --secondary:      #E8A020;
  --secondary-dark: #c8851a;
  --secondary-light:#fff3cd;

  /* Neutros */
  --white:     #ffffff;
  --light:     #F8F9FA;
  --gray-50:   #f9fafb;
  --gray-100:  #e9ecef;
  --gray-200:  #dee2e6;
  --gray-300:  #ced4da;
  --gray-400:  #adb5bd;
  --gray-500:  #868e96;
  --gray-600:  #6c757d;
  --gray-700:  #495057;
  --gray-800:  #343a40;
  --gray-900:  #212529;
  --dark:      #1a1a2e;

  /* Estados */
  --success:   #28a745;
  --danger:    #dc3545;
  --info:      #17a2b8;
  --warning:   #ffc107;

  /* Tipografia */
  --font-main:    'Inter', 'Segoe UI', sans-serif;
  --font-heading: 'Montserrat', 'Segoe UI', sans-serif;

  /* Sombras */
  --shadow-xs:  0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm:  0 2px 6px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 18px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 36px rgba(0,0,0,0.18);
  --shadow-xl:  0 16px 60px rgba(0,0,0,0.24);

  /* Bordas */
  --radius:     8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* Espaçamentos */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;

  /* Animação */
  --transition:      all 0.3s ease;
  --transition-fast: all 0.18s ease;
  --transition-slow: all 0.5s ease;

  --header-h: 80px;
}

/* Alto contraste (classe no body) */
body.high-contrast {
  --primary:       #000000;
  --primary-dark:  #000000;
  --primary-light: #333333;
  --secondary:     #ffff00;
  --white:         #ffffff;
  --light:         #ffffff;
  --dark:          #000000;
  filter: contrast(1.5);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── 2. TIPOGRAFIA ────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }

/* ── 3. UTILITÁRIOS ───────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.section { padding-block: 80px; }
.section--light { background: var(--light); }
.section--primary { background: var(--primary); color: var(--white); }
.section--dark    { background: var(--dark);    color: var(--white); }

.section-header  { text-align: center; margin-bottom: 3rem; }
.section-header .tag {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: .8rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p  { color: var(--gray-600); max-width: 580px; margin-inline: auto; }
.section--primary .section-header p,
.section--dark    .section-header p { color: rgba(255,255,255,.75); }

.text-primary   { color: var(--primary)!important; }
.text-secondary { color: var(--secondary)!important; }
.text-white     { color: var(--white)!important; }
.text-center    { text-align: center; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1  { gap: .5rem; }
.gap-2  { gap: 1rem; }
.gap-3  { gap: 1.5rem; }
.mt-1   { margin-top: .5rem; }
.mt-2   { margin-top: 1rem; }
.mt-3   { margin-top: 1.5rem; }
.mb-3   { margin-bottom: 1.5rem; }

/* ── 4. BOTÕES ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--dark);
  border-color: var(--secondary);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-lg { padding: .9rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; }

/* ── 5. BARRA DE ACESSIBILIDADE ───────────────────── */
.accessibility-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.accessibility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.acc-info { display: flex; align-items: center; gap: 1rem; }
.acc-info a { color: rgba(255,255,255,.75); transition: var(--transition); }
.acc-info a:hover { color: var(--secondary); }

.acc-controls { display: flex; align-items: center; gap: .5rem; }
.acc-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  padding: .25rem .6rem;
  border-radius: 4px;
  transition: var(--transition);
}
.acc-btn:hover { background: rgba(255,255,255,.25); }
.acc-btn.active { background: var(--secondary); color: var(--dark); border-color: var(--secondary); }

/* Ações rápidas na barra de acesso (Portal do Aluno / Validar Diploma) */
.acc-actions { display: flex; align-items: center; gap: .5rem; }
.acc-action-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 600;
  padding: .28rem .75rem;
  border-radius: 4px;
  transition: var(--transition);
  white-space: nowrap;
}
.acc-action-btn:hover { background: rgba(255,255,255,.22); color: var(--white); }
.acc-action-btn--validate {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--dark);
}
.acc-action-btn--validate:hover { opacity: .88; color: var(--dark); }

/* ── 6. HEADER ────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
  height: 68px;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: .5px;
}
.logo-text .tagline {
  font-size: .65rem;
  color: var(--gray-600);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Nav principal */
.nav { display: flex; align-items: center; gap: .25rem; }
.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem .85rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(27,58,107,.07);
}
.nav-link svg { width: 12px; height: 12px; transition: var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--primary);
  padding: .5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 200;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: .6rem 1.2rem;
  font-size: .88rem;
  color: var(--gray-700);
  transition: var(--transition);
}
.dropdown a:hover {
  background: var(--light);
  color: var(--primary);
  padding-left: 1.5rem;
}

/* Botão CTA no header */
.header-cta { margin-left: .5rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── 7. MENU MOBILE ───────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  padding-top: var(--header-h);
  transform: translateX(100%);
  transition: transform .35s ease;
}
.mobile-menu.open { transform: translateX(0); display: block; }

.mobile-nav { padding: 1.5rem; }
.mobile-nav-item { border-bottom: 1px solid var(--gray-100); }
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem .5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: var(--transition);
}
.mobile-nav-link:hover { color: var(--primary); }
.mobile-sub {
  display: none;
  padding: .5rem 1rem 1rem;
  background: var(--light);
  border-radius: var(--radius);
  margin-bottom: .5rem;
}
.mobile-sub a {
  display: block;
  padding: .55rem .5rem;
  font-size: .9rem;
  color: var(--gray-600);
  border-left: 2px solid transparent;
  transition: var(--transition);
}
.mobile-sub a:hover {
  color: var(--primary);
  border-color: var(--primary);
  padding-left: .9rem;
}
.mobile-sub.open { display: block; }
.mobile-cta { padding: 1.5rem .5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── 8. HERO / CARROSSEL ──────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
}
.hero-slider { position: relative; height: 580px; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity .7s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,58,107,.92) 0%, rgba(27,58,107,.6) 60%, transparent 100%);
  z-index: 1;
}
.hero-slide .bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
/* Slides com gradientes (sem imagem real) */
.slide-1 .bg-img { background: linear-gradient(135deg, #1B3A6B 0%, #2a5298 40%, #4a7fd4 100%); }
.slide-2 .bg-img { background: linear-gradient(135deg, #0f2447 0%, #1B3A6B 50%, #2a5298 100%); }
.slide-3 .bg-img { background: linear-gradient(135deg, #143050 0%, #1B3A6B 50%, #3060a0 100%); }

/* Padrão geométrico decorativo */
.hero-slide .bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 80% 50%, rgba(232,160,32,.15) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 640px;
  padding: 0 1.5rem;
  margin-left: calc((100vw - 1200px) / 2);
}
@media (max-width: 1240px) { .hero-content { margin-left: 1.5rem; } }

.hero-content .tag {
  display: inline-block;
  background: var(--secondary);
  color: var(--dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}
.hero-content h1,
.hero-content .hero-heading {
  color: var(--white);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Controles do slider */
.hero-controls {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hero-dots { display: flex; gap: .5rem; }
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.hero-dot.active { background: var(--secondary); transform: scale(1.3); }
.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.hero-arrow:hover { background: var(--secondary); border-color: var(--secondary); color: var(--dark); }

/* ── 9. STATS BAR ─────────────────────────────────── */
.stats-bar {
  background: var(--primary);
  padding: 1.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  color: var(--white);
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  margin-top: .3rem;
  letter-spacing: .5px;
}

/* ── 10. CARDS DE CURSO ───────────────────────────── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.course-card-banner {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.course-card-banner .course-icon {
  font-size: 2.8rem;
  z-index: 1;
}
.course-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.course-area {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: .4rem;
}
.course-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: .8rem;
  color: var(--dark);
}
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.2rem;
}
.meta-tag {
  font-size: .75rem;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: .25rem .65rem;
  border-radius: 50px;
  font-weight: 500;
}
.meta-tag.presencial { background: #e8f5e9; color: #2e7d32; }
.meta-tag.ead { background: #e3f2fd; color: #1565c0; }
.meta-tag.hibrido { background: #fff3e0; color: #e65100; }
.course-card-body .btn { margin-top: auto; align-self: flex-start; }

/* Cores das banners de curso */
.banner-azul    { background: linear-gradient(135deg, #1B3A6B, #2a5298); }
.banner-verde   { background: linear-gradient(135deg, #1b5e20, #388e3c); }
.banner-roxo    { background: linear-gradient(135deg, #4a148c, #7b1fa2); }
.banner-laranja { background: linear-gradient(135deg, #e65100, #f57c00); }
.banner-ciano   { background: linear-gradient(135deg, #006064, #00838f); }
.banner-rosa    { background: linear-gradient(135deg, #880e4f, #c2185b); }
.banner-marrom  { background: linear-gradient(135deg, #4e342e, #795548); }
.banner-cinza   { background: linear-gradient(135deg, #37474f, #546e7a); }

/* ── 11. CARDS DE NOTÍCIA ─────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,.5);
  position: relative;
  overflow: hidden;
}
.news-card-img span { position: relative; z-index: 1; font-size: 3rem; }
.news-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  transform: translate(30%, 30%);
}
.news-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .8rem; flex-wrap: wrap; }
.news-category {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: rgba(27,58,107,.08);
  padding: .2rem .65rem;
  border-radius: 50px;
}
.news-date { font-size: .8rem; color: var(--gray-500); }
.news-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: .75rem;
  color: var(--dark);
  line-height: 1.4;
}
.news-card-body p { font-size: .9rem; color: var(--gray-600); flex: 1; }
.news-card-body .btn-link {
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: var(--transition);
}
.news-card-body .btn-link:hover { gap: .6rem; color: var(--secondary); }

/* ── 12. SEÇÃO INSTITUCIONAL (HOME) ───────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255,255,255,.3);
}
.about-badge {
  position: absolute;
  bottom: -1px;
  right: -1px;
  background: var(--secondary);
  color: var(--dark);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-lg) 0 0 0;
  text-align: center;
  font-weight: 700;
}
.about-badge .num { font-size: 2rem; line-height: 1; font-family: var(--font-heading); }
.about-badge .label { font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; }
.about-text h2 { margin-bottom: 1.2rem; }
.about-text p  { color: var(--gray-600); margin-bottom: 1rem; }
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.highlight-icon {
  width: 44px;
  height: 44px;
  background: rgba(27,58,107,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.highlight-item h4 { font-size: .9rem; color: var(--dark); margin-bottom: .2rem; }
.highlight-item p  { font-size: .82rem; color: var(--gray-600); margin: 0; }

/* ── 13. SEÇÃO MVP / VALORES ──────────────────────── */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.mvv-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
}
.mvv-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.mvv-icon {
  width: 70px;
  height: 70px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
}
.mvv-card h3 { color: var(--white); margin-bottom: .75rem; font-size: 1.3rem; }
.mvv-card p  { color: rgba(255,255,255,.75); font-size: .92rem; margin: 0; }

/* ── 14. CTA BANNER ───────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, #f0b830 100%);
  padding: 4rem 0;
}
.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-content h2 { color: var(--dark); margin-bottom: .5rem; }
.cta-content p  { color: rgba(0,0,0,.65); margin: 0; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* ── 15. FOOTER ───────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.8);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-text .name { color: var(--white); }
.footer-brand .logo-text .tagline { color: rgba(255,255,255,.4); }
.footer-brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.footer-socials { display: flex; gap: .75rem; }
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.1);
}
.social-btn:hover { background: var(--primary); color: var(--white); }

.footer-col h4 {
  font-size: .9rem;
  color: var(--white);
  font-family: var(--font-heading);
  margin-bottom: 1.2rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-size: .86rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer-links a::before {
  content: '›';
  color: var(--secondary);
  font-size: 1.1rem;
  line-height: 1;
}
.footer-links a:hover { color: var(--white); padding-left: .3rem; }

.footer-contact { display: flex; flex-direction: column; gap: .85rem; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .86rem;
  color: rgba(255,255,255,.65);
}
.footer-contact-item .icon {
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
  color: var(--secondary);
}
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-bottom a:hover { color: var(--secondary); }

/* ── 16. BREADCRUMB ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 3rem 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: rgba(232,160,32,.08);
  border-radius: 50%;
}
.page-hero h1 { color: var(--white); margin-bottom: .5rem; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .85rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.65); transition: var(--transition); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }
.breadcrumb .current { color: var(--secondary); }

/* ── 17. FORMULÁRIO DE CONTATO ────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-info-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.ci-icon {
  width: 50px;
  height: 50px;
  background: rgba(27,58,107,.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--primary);
}
.ci-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-500); margin-bottom: .2rem; }
.ci-value { font-size: .95rem; color: var(--gray-700); }
.ci-value a { color: var(--primary); }
.ci-value a:hover { color: var(--secondary); }

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}
.form-card h3 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .4rem;
}
.form-group label .required { color: var(--danger); }
.form-control {
  width: 100%;
  padding: .7rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,58,107,.1); }
.form-control.error { border-color: var(--danger); }
.form-control.success { border-color: var(--success); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-error { font-size: .8rem; color: var(--danger); margin-top: .3rem; display: none; }
.form-error.show { display: block; }
.form-success-msg {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  font-size: .92rem;
}
.form-success-msg.show { display: flex; align-items: center; gap: .75rem; }
.form-error-general {
  display: none;
  background: #fdecea;
  border: 1px solid #f5c6cb;
  color: #b71c1c;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  font-size: .92rem;
}
.form-error-general.show { display: flex; align-items: center; gap: .75rem; }

/* ── 18. MAPA PLACEHOLDER ─────────────────────────── */
.map-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #e8edf5, #d0d9ea);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  gap: .5rem;
  border: 2px dashed var(--gray-200);
  margin-top: 2rem;
  flex-direction: column;
  text-align: center;
}
.map-placeholder .map-icon { font-size: 2.5rem; opacity: .5; }

/* ── 19. FAQ ──────────────────────────────────────── */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.4rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}
.faq-question:hover { background: var(--light); color: var(--primary); }
.faq-question.active { background: var(--primary); color: var(--white); }
.faq-question .icon { flex-shrink: 0; transition: var(--transition); font-size: 1.2rem; }
.faq-question.active .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s ease;
  padding: 0 1.4rem;
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.faq-answer.open { max-height: 400px; padding: 1rem 1.4rem 1.4rem; }

/* ── 20. PÁGINA INSTITUCIONAL ─────────────────────── */
.history-timeline { position: relative; }
.history-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}
.timeline-item {
  display: flex;
  gap: 2rem;
  padding-bottom: 2.5rem;
  position: relative;
}
.timeline-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8rem;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--primary);
}
.timeline-content h4 { color: var(--primary); margin-bottom: .4rem; }
.timeline-content p  { color: var(--gray-600); font-size: .92rem; margin: 0; }

/* ── 21. PÁGINA DE CURSO DETALHE ──────────────────── */
.course-detail-header {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.course-detail-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.sidebar-header {
  background: var(--primary);
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
}
.sidebar-header h3 { color: var(--white); font-size: 1.1rem; margin-bottom: .3rem; }
.sidebar-header .price { font-size: 1.5rem; font-weight: 800; color: var(--secondary); }
.sidebar-body { padding: 1.5rem; }
.sidebar-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .7rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: .88rem;
}
.sidebar-detail:last-of-type { border-bottom: none; }
.sd-label { color: var(--gray-500); }
.sd-value { font-weight: 600; color: var(--dark); }
.sidebar-ctas { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.course-tabs { margin-top: 2.5rem; }
.tab-nav { display: flex; gap: 0; border-bottom: 2px solid var(--gray-200); flex-wrap: wrap; }
.tab-btn {
  padding: .8rem 1.4rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-600);
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-btn:hover { color: var(--primary); }
.tab-content { display: none; padding-top: 1.5rem; }
.tab-content.active { display: block; }
.curriculum-semester { margin-bottom: 1.5rem; }
.curriculum-semester h4 { color: var(--primary); font-size: .95rem; margin-bottom: .75rem; }
.curriculum-items { display: flex; flex-wrap: wrap; gap: .5rem; }
.curriculum-item {
  background: var(--light);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: .4rem .9rem;
  font-size: .82rem;
  color: var(--gray-700);
}

/* ── 22. PAGINAÇÃO ────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.page-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  border: 2px solid var(--gray-200);
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  transition: var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ── 23. FILTROS DE CURSO ─────────────────────────── */
.filter-bar {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  align-items: center;
}
.filter-label { font-size: .85rem; font-weight: 600; color: var(--gray-600); }
.filter-btn {
  padding: .45rem 1.1rem;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--white);
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(27,58,107,.06);
}

/* ── 24. SCROLL ANIMATION ─────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ── 25. SKIP LINK (ACESSIBILIDADE) ───────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--secondary);
  color: var(--dark);
  font-weight: 700;
  padding: .6rem 1.2rem;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── 26. BACK TO TOP ──────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  font-size: 1.1rem;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--secondary); color: var(--dark); }

/* ── 27. TABELA ───────────────────────────────────── */
.table-wrapper { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--gray-200); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead th {
  background: var(--primary);
  color: var(--white);
  padding: .9rem 1.1rem;
  text-align: left;
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
tbody td { padding: .85rem 1.1rem; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--light); }

/* ── 28. ALERTA/BANNER INFO ───────────────────────── */
.info-banner {
  background: rgba(27,58,107,.06);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  font-size: .9rem;
  color: var(--gray-700);
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.info-banner.warning {
  background: #fff8e1;
  border-color: var(--secondary);
}
.info-banner .info-icon { font-size: 1.2rem; flex-shrink: 0; }

/* ── 29. RESPONSIVIDADE ───────────────────────────── */
@media (max-width: 1100px) {
  .about-grid    { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .course-detail-header { grid-template-columns: 1fr; }
  .course-detail-sidebar { position: static; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .nav, .header-cta { display: none; }
  .acc-actions { display: none; }
  .hamburger { display: flex; }
  .hero-slider { height: 480px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mvv-grid   { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row   { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding-block: 52px; }
  .hero-slider { height: 420px; }
  .hero-content p { font-size: 1rem; }
  .cta-content { flex-direction: column; text-align: center; }
  .cta-actions { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-highlights { grid-template-columns: 1fr; }
  .accessibility-bar .acc-info { display: none; }
  .history-timeline::before { left: 18px; }
  .timeline-dot { width: 38px; height: 38px; font-size: .7rem; }
}

/* ══════════════════════════════════════════════════
   UI/UX AVANÇADO — ADIÇÕES v2
   ══════════════════════════════════════════════════ */

/* ── 30. SCROLL PROGRESS BAR ──────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--secondary), var(--primary-light));
  z-index: 9999;
  transition: width .1s linear;
}

/* ── 31. BOTÃO WHATSAPP FLUTUANTE ─────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 499;
  opacity: 0;
  visibility: hidden;
  transform: scale(.75);
  transition: var(--transition);
  border: none;
  text-decoration: none;
}
.whatsapp-float.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.whatsapp-float:hover {
  background: #20c05b;
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}
/* Pulsar animação */
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid rgba(37,211,102,.4);
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(.85); opacity: 1; }
  100% { transform: scale(1.45); opacity: 0; }
}
/* Tooltip no WhatsApp float */
.whatsapp-float .wa-tooltip {
  position: absolute;
  right: calc(100% + .75rem);
  white-space: nowrap;
  background: var(--dark);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: .4rem .85rem;
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ── 32. SEÇÃO DEPOIMENTOS ────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.testimonial-quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--secondary);
  font-family: Georgia, serif;
  margin-bottom: .5rem;
  opacity: .7;
}
.testimonial-text {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-stars {
  display: flex;
  gap: .2rem;
  margin-bottom: 1.2rem;
  color: var(--secondary);
  font-size: 1rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .875rem;
}
.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700;
  font-size: .92rem;
  color: var(--gray-900);
  margin-bottom: .1rem;
}
.testimonial-role {
  font-size: .8rem;
  color: var(--gray-500);
}

/* ── 33. SEÇÃO SELOS / INDICADORES ───────────────── */
.seals-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 1.75rem 0;
}
.seals-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.seal-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--gray-600);
  font-size: .88rem;
  font-weight: 500;
  transition: var(--transition);
}
.seal-item:hover { color: var(--primary); }
.seal-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.seal-item:hover .seal-icon {
  border-color: var(--primary);
  background: var(--primary-xlight);
}
.seal-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .8px; color: var(--gray-400); }
.seal-value { font-weight: 700; color: var(--gray-800); font-size: .95rem; }

/* Badge MEC */
.badge-mec {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 50px;
}
.badge-mec .score {
  background: var(--secondary);
  color: var(--dark);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
}

/* ── 34. MICROINTERAÇÕES AVANÇADAS ────────────────── */

/* Botão com ripple */
.btn { position: relative; overflow: hidden; }
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,.3);
  animation: ripple .55s linear;
  pointer-events: none;
}
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* Animação stagger para filhos de grid */
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.stagger.visible > *:nth-child(1) { transition-delay: .05s; }
.stagger.visible > *:nth-child(2) { transition-delay: .12s; }
.stagger.visible > *:nth-child(3) { transition-delay: .19s; }
.stagger.visible > *:nth-child(4) { transition-delay: .26s; }
.stagger.visible > *:nth-child(5) { transition-delay: .33s; }
.stagger.visible > *:nth-child(6) { transition-delay: .40s; }
.stagger.visible > *:nth-child(7) { transition-delay: .47s; }
.stagger.visible > *:nth-child(8) { transition-delay: .54s; }
.stagger.visible > * { opacity: 1; transform: translateY(0); }

/* ── 35. HERO MELHORADO ───────────────────────────── */
/* Aumentar altura do hero para mais impacto */
.hero-slider { height: 620px; }

/* Mini-stats dentro do hero */
.hero-mini-stats {
  display: flex;
  gap: 1.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-mini-stat {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: .55rem 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.9);
}
.hero-mini-stat .num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--secondary);
}

/* Wave divider entre seções */
.wave-divider {
  overflow: hidden;
  line-height: 0;
  margin-top: -2px;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ── 36. CARDS MELHORADOS ────────────────────────── */

/* Efeito shimmer no banner do card */
.course-card-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.course-card:hover .course-card-banner::before { transform: translateX(100%); }

/* Link "leia mais" nas notícias */
.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--primary);
  font-size: .88rem;
  font-weight: 600;
  margin-top: auto;
  padding-top: .75rem;
  transition: var(--transition);
}
.news-read-more:hover { gap: .65rem; color: var(--secondary); }

/* ── 37. SEÇÃO DIFERENCIAIS ──────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.diff-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.diff-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.diff-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--primary-xlight);
  border: 2px solid rgba(27,58,107,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}
.diff-card:hover .diff-icon {
  background: var(--primary);
  border-color: var(--primary);
  filter: grayscale(1) brightness(10);
}
.diff-card h4 { font-size: .95rem; color: var(--dark); margin-bottom: .4rem; }
.diff-card p  { font-size: .84rem; color: var(--gray-600); margin: 0; }

/* ── 38. RESPONSIVIDADE AVANÇADA v2 ──────────────── */
@media (max-width: 900px) {
  .hero-slider { height: 520px; }
  .hero-mini-stats { gap: .75rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .seals-grid { gap: 1.5rem; }
}
@media (max-width: 640px) {
  .hero-slider { height: 440px; }
  .hero-mini-stats { flex-direction: column; gap: .5rem; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .seals-grid { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .whatsapp-float { bottom: 4.5rem; right: 1rem; width: 46px; height: 46px; font-size: 1.3rem; }
}

/* ══════════════════════════════════════════════════
   MEC / AVALIAÇÃO INSTITUCIONAL — v1
   ══════════════════════════════════════════════════ */

/* ── 39. DASHBOARD DE INDICADORES MEC ────────────── */
.mec-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.mec-score-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  border-top: 4px solid var(--primary);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.mec-score-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.mec-score-card.highlight {
  border-top-color: var(--secondary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
}
.mec-score-card.highlight .mec-score-label,
.mec-score-card.highlight .mec-score-sub {
  color: rgba(255,255,255,.8);
}
.mec-score-value {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1;
  color: var(--primary);
  margin-bottom: .35rem;
}
.mec-score-card.highlight .mec-score-value {
  color: var(--secondary);
}
.mec-score-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--gray-500);
  margin-bottom: .25rem;
}
.mec-score-sub {
  font-size: .78rem;
  color: var(--gray-400);
}
.mec-score-stars {
  display: flex;
  justify-content: center;
  gap: .2rem;
  margin-bottom: .5rem;
}
.mec-score-stars i { color: var(--secondary); font-size: .9rem; }
.mec-score-stars i.empty { color: var(--gray-300); }

/* ── 40. ATO AUTORIZATIVO ─────────────────────────── */
.mec-ato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.mec-ato-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}
.mec-ato-card:hover { box-shadow: var(--shadow-sm); }
.mec-ato-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius);
  background: rgba(27,58,107,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}
.mec-ato-body h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .3rem;
}
.mec-ato-body p {
  font-size: .83rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}
.mec-ato-body a {
  color: var(--primary);
  font-weight: 600;
  font-size: .83rem;
  text-decoration: none;
}
.mec-ato-body a:hover { text-decoration: underline; }

/* ── 41. OUVIDORIA ────────────────────────────────── */
.ouvidoria-card {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  border: 1px solid rgba(27,58,107,.12);
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}
.ouvidoria-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.ouvidoria-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .4rem;
}
.ouvidoria-body p {
  font-size: .9rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}
.ouvidoria-contacts {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.ouvidoria-contact-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: var(--gray-700);
  font-weight: 500;
}
.ouvidoria-contact-item i { color: var(--primary); }
.ouvidoria-contact-item a { color: var(--primary); text-decoration: none; font-weight: 600; }
.ouvidoria-contact-item a:hover { text-decoration: underline; }

/* ── 42. BADGE MEC (sidebar de curso) ────────────── */
.mec-sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.mec-sidebar-card h4 {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--primary);
  margin-bottom: .85rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.mec-sidebar-indicators {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}
.mec-indicator {
  text-align: center;
  background: var(--light);
  border-radius: var(--radius);
  padding: .7rem .5rem;
}
.mec-indicator-value {
  font-size: 1.65rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1;
}
.mec-indicator-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gray-500);
  margin-top: .2rem;
}
.mec-emec-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
  padding: .6rem;
  background: rgba(27,58,107,.06);
  border-radius: var(--radius);
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}
.mec-emec-link:hover { background: rgba(27,58,107,.12); }

/* ── 43. RESPONSIVIDADE MEC ───────────────────────── */
@media (max-width: 900px) {
  .mec-dashboard    { grid-template-columns: repeat(2, 1fr); }
  .mec-ato-grid     { grid-template-columns: 1fr; }
  .ouvidoria-card   { flex-direction: column; gap: 1.25rem; }
}
@media (max-width: 640px) {
  .mec-dashboard    { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .mec-score-value  { font-size: 2.25rem; }
  .mec-sidebar-indicators { grid-template-columns: repeat(4, 1fr); }
  .ouvidoria-contacts { flex-direction: column; gap: .75rem; }
}

/* ── 44. ORGANOGRAMA — ÁRVORE INSTITUCIONAL ───────── */
.org-tree-wrap {
  overflow-x: auto;
  padding: 1.5rem .5rem 1rem;
}
.org-tree,
.org-tree ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.org-tree {
  min-width: 780px;
}
.org-tree ul {
  padding-top: 1.5rem;
  position: relative;
}
.org-tree li {
  list-style-type: none;
  text-align: center;
  position: relative;
  padding: 1.5rem .5rem 0;
}
.org-tree li::before,
.org-tree li::after {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 1px solid var(--gray-300);
  width: 50%;
  height: 1.5rem;
}
.org-tree li::after {
  right: auto;
  left: 50%;
  border-left: 1px solid var(--gray-300);
}
.org-tree li:only-child::after,
.org-tree li:only-child::before {
  display: none;
}
.org-tree li:only-child { padding-top: 0; }
.org-tree li:first-child::before,
.org-tree li:last-child::after {
  border: 0 none;
}
.org-tree li:last-child::before {
  border-right: 1px solid var(--gray-300);
  border-radius: 0 5px 0 0;
}
.org-tree li:first-child::after {
  border-radius: 5px 0 0 0;
}
.org-tree ul ul::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 1px solid var(--gray-300);
  width: 0;
  height: 1.5rem;
}
.org-node {
  display: inline-block;
  position: relative;
  padding: .6rem 1rem;
  border-radius: var(--radius);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.3;
}
.org-node--root {
  background: var(--primary);
  color: #fff;
  font-size: .95rem;
  padding: .85rem 1.75rem;
  white-space: nowrap;
}
.org-node--l2 {
  background: var(--primary-light);
  color: #fff;
  max-width: 150px;
}
.org-node--l3 {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-weight: 600;
  max-width: 145px;
}
.org-node--l4 {
  background: #fff;
  border: 1px dashed var(--gray-300);
  color: var(--gray-600);
  font-weight: 600;
  font-size: .75rem;
  padding: .4rem .8rem;
}
.org-node small { display: block; font-weight: 500; opacity: .85; font-size: .68rem; }
@media (max-width: 900px) {
  .org-tree { min-width: 900px; }
}

/* ── 43. POPUP PROMOCIONAL (VESTIBULAR) ──────────── */
.promo-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity .25s ease;
}
.promo-popup-overlay.show { opacity: 1; }
.promo-popup {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 2.25rem 2rem 2rem;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(16px) scale(.97);
  transition: transform .25s ease;
  text-align: center;
}
.promo-popup-overlay.show .promo-popup { transform: translateY(0) scale(1); }
.promo-popup-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-popup-close:hover { background: var(--gray-200); }
.promo-popup-badge {
  display: inline-block;
  background: rgba(27,58,107,.1);
  color: var(--primary);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.promo-popup-icon { font-size: 2.4rem; margin-bottom: .75rem; }
.promo-popup h3 { font-size: 1.35rem; color: var(--dark); margin-bottom: .75rem; line-height: 1.3; }
.promo-popup p { font-size: .93rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 1.25rem; }
.promo-popup-highlight { color: var(--primary); font-weight: 700; }
.promo-popup-actions { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.25rem; }
.promo-popup-dismiss {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--gray-500);
  cursor: pointer;
  user-select: none;
}
.promo-popup-dismiss input { width: auto; cursor: pointer; }
@media (max-width: 480px) {
  .promo-popup { padding: 2rem 1.25rem 1.5rem; }
}

