/* ============================================================
   CENO Pós-Graduação em Odontologia — style.css
   Design System: Minimalista, Moderno, Premium
   Fontes: Outfit (Títulos) + Plus Jakarta Sans (Corpo)
   ============================================================ */

/* --- Importação de Fontes Google --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* --- Custom Properties (Design Tokens) --- */
:root {
  /* Cores */
  --color-primary:       #018782;
  --color-primary-dark:  #0f3a38;
  --color-accent:        #00f2fe;
  --color-dark:          #0b1212;
  --color-dark-2:        #152120;
  --color-light:         #f5faf9;
  --color-border:        #e0eeed;
  --color-success:       #2a9d8f;
  --color-error:         #e63946;
  --color-warning:       #f4a261;
  --color-white:         #ffffff;
  --color-text-muted:    #5a7370;

  /* Tipografia */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  /* Escala Tipográfica */
  --text-xs:  0.75rem;
  --text-sm:  0.875rem;
  --text-base:1rem;
  --text-lg:  1.125rem;
  --text-xl:  1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* Espaçamento */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full:9999px;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(11,18,18,0.05);
  --shadow-md: 0 4px 20px rgba(11,18,18,0.08);
  --shadow-lg: 0 12px 40px rgba(11,18,18,0.12);
  --shadow-hover: 0 20px 60px rgba(1,135,130,0.15);

  /* Transições */
  --transition-fast:   150ms ease;
  --transition-base:   300ms ease;
  --transition-slow:   600ms ease;

  /* Layout */
  --container-max: 1366px;
  --header-height: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-dark);
  background-color: var(--color-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--color-dark);
  font-weight: 700;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p { line-height: 1.7; color: var(--color-text-muted); }

/* --- Layout Helpers --- */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin-inline: auto;
}

.section {
  padding-block: var(--space-24);
}

.section--dark {
  background-color: var(--color-primary-dark);
  color: var(--color-light);
}

.section--dark h2, .section--dark h3, .section--dark h4,
.section--dark p { color: var(--color-light); }

.section-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  display: block;
}

.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  max-width: 620px;
  margin-bottom: var(--space-10);
  line-height: 1.7;
}

/* ============================================================
   HEADER & NAVEGAÇÃO
   ============================================================ */
/* Drawer & Overlay móveis ocultos por padrão no desktop */
.drawer, .drawer-overlay {
  display: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background var(--transition-base), box-shadow var(--transition-base);
  background: transparent;
}

/* Logos: alternar light/dark com base no estado do header */
.site-header .logo-light { display: block; }
.site-header .logo-dark { display: none; }

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(11,18,18,0.06);
}

.site-header.scrolled .logo-light { display: none; }
.site-header.scrolled .logo-dark { display: block; }

/* Header na Homepage: transparente, mas com logo colorida e links escuros por padrão */
.site-header.header--home:not(.scrolled) .logo-light { display: none; }
.site-header.header--home:not(.scrolled) .logo-dark { display: block; }
.site-header.header--home:not(.scrolled) .nav-link { color: var(--color-primary-dark); }
.site-header.header--home:not(.scrolled) .nav-link::after { background: var(--color-primary); }
.site-header.header--home:not(.scrolled) .nav-link:hover { color: var(--color-primary); }
.site-header.header--home:not(.scrolled) .nav-toggle span { background: var(--color-primary-dark); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-logo img { height: 46px; width: auto; transition: height var(--transition-base); }
.site-header.scrolled .nav-logo img { height: 38px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

/* Links do menu: Brancos no header transparente (sobre hero escuro) */
.nav-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.03em;
  transition: color var(--transition-fast);
  position: relative;
}

/* Links do menu: Verdes escuros após scroll */
.site-header.scrolled .nav-link {
  color: var(--color-primary-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.site-header.scrolled .nav-link::after {
  background: var(--color-primary);
}

.nav-link:hover { color: var(--color-accent); }
.site-header.scrolled .nav-link:hover { color: var(--color-primary); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--color-primary), #00c2bb);
  color: var(--color-white) !important;
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1,135,130,0.25);
}
.nav-cta::after { display: none !important; }

/* Menu Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white); /* Branco sobre o hero */
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.site-header.scrolled .nav-toggle span {
  background: var(--color-primary-dark); /* Verde escuro no scroll */
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO SECTION (LIGHT MODE — DEGRADÊ VERDE PREMIUM)
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #e9f5f4 0%, #d4edea 30%, #b7e0db 60%, #9bd5cd 100%);
  padding-top: calc(var(--header-height) + var(--space-8));
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: right center;
  filter: brightness(1.02) contrast(1.02);
  opacity: 0.55;
  transform: scale(1.02);
  transition: transform 8s ease;
}

.hero.loaded .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, 
      rgba(217, 240, 237, 0.97) 0%,
      rgba(217, 240, 237, 0.92) 25%,
      rgba(195, 230, 225, 0.75) 45%,
      rgba(180, 224, 218, 0.40) 65%,
      rgba(155, 213, 205, 0.15) 85%,
      transparent 100%),
    radial-gradient(ellipse at 20% 80%, rgba(1, 135, 130, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, transparent 70%, rgba(1, 135, 130, 0.06) 100%);
}

.hero-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 3;
  pointer-events: none;
}

.hero-curve svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-block: var(--space-16) var(--space-24);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(1, 135, 130, 0.08);
  border: 1px solid rgba(1, 135, 130, 0.2);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-4);
  margin-bottom: var(--space-6);
}

.hero-badge span {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.15;
  margin-bottom: var(--space-6);
}

.hero h1 em {
  font-style: normal;
  color: var(--color-primary);
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 680px;
  margin-bottom: var(--space-10);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  bottom: var(--space-10);
  right: 0;
  left: 0;
  z-index: 2;
}

.hero-stats-inner {
  display: flex;
  gap: var(--space-8);
  justify-content: flex-end;
  padding: var(--space-4) var(--space-8);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: var(--space-1);
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #00c2bb 100%);
  color: var(--color-white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: rgba(1, 135, 130, 0.05);
  border-color: var(--color-primary-dark);
  color: var(--color-primary-dark);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-dark);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,242,254,0.35);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary-dark);
  border-color: var(--color-white);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.15);
}

.btn-lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg { transform: translateX(3px); }

/* ============================================================
   SECTION: SOBRE / INSTITUCIONAL
   ============================================================ */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.sobre-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.sobre-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.sobre-image-wrap:hover img { transform: scale(1.03); }

.sobre-accent {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  background: rgba(11,18,18,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(1,135,130,0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.sobre-accent-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
}

.sobre-accent-sub {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin-top: var(--space-1);
}

.sobre-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.sobre-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.sobre-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(1, 135, 130, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sobre-item-icon svg { color: var(--color-primary); }

.sobre-item-title {
  font-weight: 600;
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.sobre-item-text {
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* ============================================================
   SECTION: CURSOS
   ============================================================ */
.cursos-filters-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-8);
  width: 100%;
}

.cursos-filters {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(1, 135, 130, 0.04);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(1, 135, 130, 0.08);
}

.filter-btn {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  border: none;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary-dark);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-btn:hover {
  color: var(--color-primary);
  background: rgba(1, 135, 130, 0.06);
}

.filter-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(1, 135, 130, 0.15);
}

.filter-count {
  font-size: 10px;
  font-weight: 700;
  background: rgba(1, 135, 130, 0.1);
  color: var(--color-primary);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.filter-btn:hover .filter-count {
  background: rgba(1, 135, 130, 0.15);
}

.filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
}

.curso-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.curso-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(1,135,130,0.2);
}

.curso-card-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.curso-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.curso-card:hover .curso-card-image img { transform: scale(1.06); }

.curso-card-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge--especializacao {
  background: rgba(1,135,130,0.9);
  color: var(--color-white);
}

.badge--atualizacao {
  background: rgba(0,194,187,0.9);
  color: var(--color-white);
}

.badge--imersao {
  background: rgba(0,242,254,0.2);
  color: var(--color-dark);
  border: 1px solid rgba(0,242,254,0.5);
}

.curso-card-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.curso-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.curso-card-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.curso-card-title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.curso-card-desc {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-text-muted);
  flex: 1;
  margin-bottom: var(--space-5);
}

.curso-card-footer {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.curso-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition-fast);
}

.curso-card-link:hover { gap: var(--space-2); }

/* ============================================================
   HOME: CURSOS EM DESTAQUE (Masterclass Cards)
   ============================================================ */
.home-cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-8);
}

.home-curso-card {
  position: relative;
  aspect-ratio: 16/10;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-8);
  text-align: center;
  text-decoration: none;
  z-index: 1;
  cursor: pointer;
}

.home-curso-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.75) 100%);
  z-index: -1;
  transition: all var(--transition-base);
}

.home-curso-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary);
}

.home-curso-card:hover::before {
  background: linear-gradient(to bottom, rgba(1, 135, 130, 0.35) 0%, rgba(1, 135, 130, 0.85) 100%);
}

.home-curso-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  z-index: 5;
  white-space: nowrap;
}

.home-curso-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-white) !important;
  line-height: 1.35;
  margin: 0;
  font-family: var(--font-heading);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  max-width: 90%;
  transition: transform var(--transition-base);
}

.home-curso-card:hover .home-curso-title {
  transform: scale(1.04);
}

/* ============================================================
   SECTION: FORMULÁRIO DE INSCRIÇÃO
   ============================================================ */
.inscricao-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #020f0e 100%);
  position: relative;
  overflow: hidden;
}

.inscricao-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0,242,254,0.06) 0%, transparent 70%);
}

.inscricao-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-20);
  align-items: center;
}

.inscricao-info h2, .inscricao-info p { color: var(--color-light); }
.inscricao-info h2 em {
  font-style: normal;
  color: var(--color-accent);
}

.inscricao-benefits {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.inscricao-benefit {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
}

.inscricao-benefit-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: rgba(0,242,254,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

/* Formulário */
.form-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}

.form-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.form-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: var(--space-2);
}

.form-label .required { color: var(--color-error); margin-left: 2px; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-dark);
  background: var(--color-light);
  transition: all var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(1,135,130,0.12);
}

.form-input.error, .form-select.error, .form-textarea.error {
  border-color: var(--color-error);
}

.form-input.error:focus {
  box-shadow: 0 0 0 3px rgba(230,57,70,0.12);
}

.form-textarea { min-height: 100px; resize: vertical; }

.form-error-msg {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: var(--space-1);
  display: none;
}

.form-error-msg.visible { display: block; }

.form-select-wrap {
  position: relative;
}

.form-select-wrap::after {
  content: '';
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--color-text-muted);
  pointer-events: none;
}

.form-privacy {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  text-align: center;
  line-height: 1.5;
}

.form-privacy a { color: var(--color-primary); text-decoration: underline; }

/* Feedback de envio */
.form-feedback {
  display: none;
  text-align: center;
  padding: var(--space-8);
}

.form-feedback.visible { display: block; }

.form-feedback-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-feedback-icon.success {
  background: rgba(42,157,143,0.15);
  color: var(--color-success);
}

.form-feedback-icon.error {
  background: rgba(230,57,70,0.15);
  color: var(--color-error);
}

/* ============================================================
   SECTION: DIFERENCIAIS / NÚMEROS (FUNDO VERDE ESCURO)
   ============================================================ */
.section--primary {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #0a3533 60%, #0c2524 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.section--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 100%, rgba(0,242,254,0.08), transparent 50%),
    radial-gradient(ellipse at 80% 0%, rgba(1,135,130,0.12), transparent 50%);
  pointer-events: none;
}

.numeros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
  z-index: 1;
}

.numero-card {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.numero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 242, 254, 0.25);
}

.numero-value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.numero-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  margin-top: var(--space-2);
  font-weight: 500;
}

.numero-desc {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-2);
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-dark);
  padding-block: var(--space-16) var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-4);
  max-width: 280px;
  line-height: 1.7;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-2);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.footer-link:hover { color: var(--color-accent); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-3);
}

.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--color-primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom-text {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer-bottom-text a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-fast);
}
.footer-bottom-text a:hover { color: var(--color-accent); }

.social-links {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: all var(--transition-base);
  animation: pulse-whatsapp 3s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 36px rgba(37,211,102,0.55);
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 40px rgba(37,211,102,0.7); }
}

/* ============================================================
   ANIMAÇÕES SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   PÁGINA DE CURSO (DETALHE)
   ============================================================ */
.curso-hero {
  position: relative;
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-20);
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  color: var(--color-white);
  overflow: hidden;
}

.curso-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1, 135, 130, 0.88) 0%, rgba(1, 110, 106, 0.84) 35%, rgba(6, 68, 65, 0.80) 70%, rgba(11, 18, 18, 0.74) 100%);
  z-index: 1;
}

.curso-hero-title-premium {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-white) !important;
  max-width: 900px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.15);
  margin: 0;
  position: relative;
  z-index: 2;
}

.curso-hero-content {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-4);
}

.breadcrumb a {
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.4);
}

.curso-hero-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.curso-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-4);
  color: var(--color-white) !important;
}

.curso-hero-meta {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.curso-hero-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
}

.curso-hero-meta-item svg {
  color: var(--color-accent);
}

.curso-hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.curso-hero-partner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
  z-index: 2;
}

.curso-hero-partner span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.curso-hero-partner img {
  max-height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.curso-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-10);
  margin-top: var(--space-12);
  align-items: start;
}

.curso-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.curso-section {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.curso-section-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.curso-section-title svg {
  color: var(--color-primary);
}

.curso-text-content {
  line-height: 1.8;
  font-size: var(--text-base);
}

.curso-text-content p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}

.curso-text-content .curso-content-heading {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-top: var(--space-6);
  margin-bottom: var(--space-4);
}

.curso-text-content ul.curso-list,
.curso-programa-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  padding-left: var(--space-2);
}

.curso-text-content ul.curso-list li,
.curso-programa-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.curso-text-content ul.curso-list li::before,
.curso-programa-list li::before {
  content: "•";
  color: var(--color-primary);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.curso-partner-banner {
  background: #f0f7f6;
  border: 1px solid rgba(1, 135, 130, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-8);
  margin-bottom: var(--space-2);
}

.partner-info {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}

.partner-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.partner-logo {
  max-width: 160px;
  height: auto;
}

.partner-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Docente Profile Cards (página de detalhe do curso) */
.docente-section-subtitle {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.docentes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-5);
}

.docente-profile-card {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: all var(--transition-base);
}

.docente-profile-card:hover {
  border-color: rgba(1,135,130,0.25);
  box-shadow: var(--shadow-md);
}

.docente-profile-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.docente-profile-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(1,135,130,0.2);
  flex-shrink: 0;
  background: var(--color-white);
}

.docente-profile-photo-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0f2f1, #d4edea);
  color: var(--color-primary);
  flex-shrink: 0;
  border: 3px solid rgba(1,135,130,0.15);
}

.docente-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.docente-profile-name {
  font-size: var(--text-base) !important;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.3;
  margin: 0;
}

.docente-profile-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background: var(--color-primary);
  padding: 1px 8px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.docente-profile-title {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

.docente-profile-curriculo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  padding-left: var(--space-2);
}

.docente-profile-curriculo li {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.docente-profile-curriculo li::before {
  content: "•";
  color: var(--color-primary);
  font-weight: bold;
  flex-shrink: 0;
  line-height: 1.5;
}

/* Legacy docente list (sidebar) */
.docentes-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.docente-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.docente-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
  flex-shrink: 0;
}

.docente-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light);
  color: var(--color-primary);
}

.docente-info {
  display: flex;
  flex-direction: column;
}

.docente-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary-dark);
  line-height: 1.3;
}

.docente-titulo {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.docente-role {
  font-size: var(--text-xs);
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
}

.sidebar-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.sidebar-info-list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-2);
}

.sidebar-info-list li strong {
  color: var(--color-primary-dark);
}

.sidebar-card--cta {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #0c2524 100%);
  color: var(--color-white);
  border: none;
}

.sidebar-card--cta h3 {
  color: var(--color-white);
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
}

.sidebar-card--cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-xs);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.sidebar-card--cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}

.sidebar-card--cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.sidebar-card-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-2);
}

.sidebar-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.curso-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
}

/* Utilitários de espaçamento */
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

/* Ementa (seção de conteúdo) */
.secao-ementa {
  background: rgba(1, 135, 130, 0.04);
  border-left: 3px solid var(--color-primary);
  padding: var(--space-3) var(--space-5);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.secao-ementa strong {
  color: var(--color-primary-dark);
}

/* Módulos do curso (timeline) */
.modulos-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: var(--space-8);
}

.modulos-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), rgba(1,135,130,0.2));
  border-radius: var(--radius-full);
}

.modulo-timeline-item {
  position: relative;
  padding: var(--space-4) 0;
}

.modulo-timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8) + 7px);
  top: calc(var(--space-4) + 6px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 2px rgba(1,135,130,0.2);
}

.modulo-timeline-item .modulo-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-1);
}

.modulo-timeline-item .modulo-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast {
  position: fixed;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  z-index: 9999;
  transition: transform var(--transition-base);
  white-space: nowrap;
}

.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--color-success); }
.toast.error { background: var(--color-error); }

/* ============================================================
   PÁGINA: HERO COMPACTO (INNER PAGES)
   ============================================================ */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-20);
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-dark));
  text-align: center;
  overflow: hidden;
}

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-white) !important;
  margin-top: var(--space-2);
}

.page-hero-desc {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7) !important;
  max-width: 580px;
  margin: var(--space-4) auto 0;
  line-height: 1.6;
}

.page-hero-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 3;
  pointer-events: none;
}

.page-hero-curve svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes fadeInMenu {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .numeros-grid { grid-template-columns: repeat(2, 1fr); }
  .inscricao-grid { grid-template-columns: 1fr; }
  .inscricao-info { text-align: center; }
  .inscricao-benefits { align-items: center; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-image-wrap { aspect-ratio: 16/9; max-height: 360px; }
  .curso-layout { grid-template-columns: 1fr; }
  .curso-sidebar { order: -1; }
  .docentes-grid { grid-template-columns: 1fr; }
  .info-gerais-box { grid-template-columns: 1fr; }
  .info-gerais-item--full { grid-column: span 1; }
  .secao-itens-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Desktop nav: esconder no mobile */
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }

  /* ── Drawer Overlay ── */
  .drawer-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }
  .drawer-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* ── Drawer Panel ── */
  .drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85vw, 340px);
    background: linear-gradient(175deg, #0a2524 0%, #0d3230 40%, #0f3d3a 100%);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
  }
  .drawer.open {
    transform: translateX(0);
  }

  /* ── Drawer Header ── */
  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
  }
  .drawer-logo {
    height: 36px;
    width: auto;
  }
  .drawer-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
  }
  .drawer-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
  }

  /* ── Drawer Links ── */
  .drawer-links {
    list-style: none;
    margin: 0;
    padding: var(--space-4) 0;
    flex: 1;
  }
  .drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
    transition: all var(--transition-fast);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    border-left: 3px solid transparent;
  }
  .drawer-link:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--color-accent);
  }

  /* ── Chevron do Submenu ── */
  .drawer-chevron {
    transition: transform 0.3s ease;
    opacity: 0.5;
    flex-shrink: 0;
  }
  .drawer-sub-toggle[aria-expanded="true"] .drawer-chevron {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--color-accent);
  }

  /* ── Submenu Colapsável ── */
  .drawer-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(0, 0, 0, 0.15);
  }
  .drawer-submenu.open {
    max-height: 400px;
  }
  .drawer-sublink {
    display: block;
    padding: var(--space-3) var(--space-6) var(--space-3) var(--space-10);
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    transition: all var(--transition-fast);
    position: relative;
  }
  .drawer-sublink::before {
    content: '';
    position: absolute;
    left: var(--space-7);
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background var(--transition-fast);
  }
  .drawer-sublink:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.04);
  }
  .drawer-sublink:hover::before {
    background: var(--color-accent);
  }

  /* ── Drawer Footer ── */
  .drawer-footer {
    padding: var(--space-5) var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
  }
  .drawer-cta {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary), #00c2bb);
    color: var(--color-white) !important;
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px rgba(1, 135, 130, 0.3);
  }
  .drawer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(1, 135, 130, 0.4);
  }
  .drawer-contact {
    margin-top: var(--space-4);
    text-align: center;
  }
  .drawer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.55);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
  }
  .drawer-whatsapp:hover {
    color: #25D366;
  }

  /* Hamburger → X no estado ativo */
  .nav-toggle.active span {
    background: var(--color-white) !important;
  }

  /* Centering Hero on Mobile */
  .hero-content {
    text-align: center;
    margin-inline: auto;
    padding-block: var(--space-8) var(--space-12);
  }
  .hero-badge {
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(217, 240, 237, 0.96) 0%, rgba(217, 240, 237, 0.88) 100%);
  }

  .hero-stats-inner { justify-content: center; flex-wrap: wrap; gap: var(--space-6); }
  .hero-stats { position: relative; bottom: auto; margin-top: var(--space-12); }
  .cursos-grid { grid-template-columns: 1fr; }
  .home-cursos-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-text { text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  .section { padding-block: var(--space-16); }
  .docente-row { flex-direction: column; align-items: center; }
  .docente-photo-col { display: flex; justify-content: center; width: 100%; margin-bottom: var(--space-4); }
  .docente-info-col { text-align: left; width: 100%; }

  /* Centralização e Padronização do Header/Hero das Páginas Internas no Mobile */
  .page-hero, .curso-hero {
    text-align: center !important;
    padding-top: calc(var(--header-height) + var(--space-12)) !important;
    padding-bottom: var(--space-16) !important;
  }
  .page-hero-curve, .hero-curve, .hero-curve-divider {
    height: 45px !important;
  }
  .curso-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .curso-hero-title-premium, .curso-hero-title {
    text-align: center;
    margin-inline: auto;
  }
  .breadcrumb {
    display: none !important;
  }
  .curso-hero-meta {
    justify-content: center;
    gap: var(--space-4);
  }
  .curso-hero-actions {
    justify-content: center;
    width: 100%;
  }
  .curso-hero-partner {
    align-items: center;
    margin-inline: auto;
    margin-top: var(--space-4);
  }

  /* Filtro de categorias no mobile (flutuante, sem ilha e centralizado) */
  .cursos-filters-wrapper {
    display: flex !important;
    justify-content: center !important;
    margin-top: var(--space-4) !important;
    margin-bottom: var(--space-6) !important;
    width: 100% !important;
    padding: 0 !important;
    margin-inline: auto !important;
    z-index: 10 !important;
    position: relative !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .cursos-filters {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .cursos-filters .filter-btn {
    flex-shrink: 0 !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    border-radius: var(--radius-full) !important;
    background: var(--color-white) !important;
    border: 1px solid var(--color-border) !important;
    color: var(--color-primary-dark) !important;
    box-shadow: var(--shadow-sm) !important;
  }
  .cursos-filters .filter-btn.active {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    box-shadow: 0 4px 12px rgba(1, 135, 130, 0.2) !important;
  }
  .cursos-filters .filter-btn:hover {
    background: rgba(1, 135, 130, 0.05) !important;
    color: var(--color-primary) !important;
  }

  /* Centralização do botão história na index no mobile */
  .sobre-action-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  /* Centralização do texto de benefícios no mobile (sem ícones) */
  .inscricao-benefit-icon {
    display: none !important;
  }
  .inscricao-benefit {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; width: 100%; }
  .btn-lg { width: 100%; justify-content: center; }
  .numeros-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .form-card { padding: var(--space-6); }
}

/* ============================================================
   ESTILOS DE ACORDEONS E NOVAS SEÇÕES DO DETALHE DE CURSOS
   ============================================================ */
.info-gerais-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  background: var(--color-light);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.info-gerais-item strong {
  display: block;
  color: var(--color-primary-dark);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-1);
}

.info-gerais-item span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.info-gerais-item--full {
  grid-column: span 2;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
  margin-top: var(--space-2);
}

.docente-acordeon, .conteudo-acordeon {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  background: var(--color-white);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.docente-acordeon[open], .conteudo-acordeon[open] {
  box-shadow: var(--shadow-sm);
}

.docente-summary, .conteudo-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  background: var(--color-light);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--color-primary-dark);
  user-select: none;
  list-style: none;
  font-weight: 600;
}

.docente-summary::-webkit-details-marker,
.conteudo-summary::-webkit-details-marker {
  display: none;
}

.acordeon-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
  color: var(--color-primary);
}

details[open] .acordeon-icon {
  transform: rotate(180deg);
}

.docente-details-content, .conteudo-details-content {
  padding: var(--space-6);
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}

.docente-row {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}

.docente-photo-col {
  flex-shrink: 0;
}

.docente-photo-round {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(1, 135, 130, 0.2);
  box-shadow: var(--shadow-sm);
}

.docente-info-col {
  flex-grow: 1;
  min-width: 0;
}

.docente-title-badge {
  display: inline-block;
  background: rgba(1, 135, 130, 0.08);
  color: var(--color-primary-dark);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.docente-curriculo-points {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
  margin-top: 9px; /* Afasta exatamente 9px do nome/título acima */
}

.docente-curriculo-points li {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.docente-curriculo-points li::before {
  content: "•";
  color: var(--color-primary);
  font-weight: bold;
  flex-shrink: 0;
}

.badge-coordenador {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: var(--space-2);
  vertical-align: middle;
}

.convidados-section {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-6);
}

.convidados-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.convidados-list-names {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.convidado-name-item {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.convidado-name-item .bullet-dot {
  color: var(--color-primary);
  font-weight: bold;
}

.secao-itens-list {
  display: block;
  column-count: 2;
  column-gap: var(--space-8);
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.secao-itens-list li {
  break-inside: avoid-column;
  margin-bottom: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.secao-itens-list li::before {
  content: "–";
  color: var(--color-primary);
  font-weight: bold;
  flex-shrink: 0;
}

/* Container de coluna única estreito para leitura ideal */
.container--narrow {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.curso-main-full {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

/* Card de Docente Estático (sem acordeon) */
.docente-card-estatico {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
}

.docente-estatico-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 2px 0;
}

/* Blocos de Conteúdo Programático simples e elegantes (sem acordeon) */
.conteudo-blocos-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.conteudo-bloco {
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.conteudo-bloco:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.conteudo-bloco-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-3);
  position: relative;
  padding-left: var(--space-4);
}

.conteudo-bloco-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

/* Chamada final para Inscrição no rodapé */
.curso-cta-final {
  display: none; /* Ocultado pois agora a sidebar moderna gerencia a inscrição */
}

/* ============================================================
   SIDEBAR MODERNA E REORGANIZADA DO CURSO
   ============================================================ */
.curso-sidebar-modern {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
}

.sidebar-action-card, .sidebar-details-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: 0 4px 20px rgba(11,18,18,0.02);
}

.sidebar-action-card {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #0a3533 60%, #0c2524 100%);
  color: var(--color-white);
  border: none;
}

.sidebar-action-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-white) !important;
  margin-bottom: var(--space-2);
}

.sidebar-action-card p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: var(--space-5);
  line-height: 1.6;
}

.sidebar-action-card .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-white) !important;
}

.sidebar-action-card .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.sidebar-details-card h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-2);
  margin-top: 0;
}

.sidebar-details-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sidebar-details-list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  padding-bottom: var(--space-2);
}

.sidebar-details-list li span {
  text-align: right;
  max-width: 65%;
  font-weight: 500;
  color: var(--color-dark);
}

.sidebar-details-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-details-list li strong {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.sidebar-documents-box {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.sidebar-documents-box strong {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.sidebar-documents-box p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1024px) {
  .curso-layout { grid-template-columns: 1fr; }
  .curso-sidebar-modern { position: relative; top: auto; order: -1; }
}

/* SVG Curvo de Acabamento no Hero do Curso */
.hero-curve-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 3;
  pointer-events: none;
}

.hero-curve-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}




