/* ==========================================================================
   CBEAD - Folha de Estilos Unificada (CSS)
   ========================================================================== */

/* ─── VARIÁVEIS / SISTEMA DE DESIGN ───────────────────────────────────────── */
:root {
  /* Identidade das Páginas de Conteúdo */
  --navy:         #1a2a6c;
  --navy-dark:    #0f1a4a;
  --navy-mid:     #1e3270;
  --navy-light:   #243a8a;
  --gold:         #c8a94a;
  --gold-dark:    #8a6d1c;
  --gold-light:   #e8c96a;
  --gold-pale:    #f5e9c0;
  --white:        #ffffff;
  --off-white:    #f4f6fb;
  --light-gray:   #e8edf5;
  --text-dark:    #0d1730;
  --text-muted:   #5a6a8a;
  --radius:       10px;
  --radius-lg:    14px;
  --shadow-sm:    0 2px 12px rgba(26,42,108,0.08);
  --shadow:       0 6px 28px rgba(26,42,108,0.12);
  --shadow-lg:    0 16px 48px rgba(26,42,108,0.18);
  --font-title:   'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  /* Identidade do Cabeçalho e Rodapé */
  --hdr-bg:        #071529;
  --hdr-bg-sub:    #040d18;
  --hdr-card:      #0c1e36;
  --hdr-muted:     #102040;
  --hdr-border:    rgba(255,255,255,0.07);
  --hdr-border-md: rgba(255,255,255,0.11);
  --hdr-amber:     #f4a900;
  --hdr-amber-dim: rgba(244,169,0,0.10);
  --hdr-amber-bdr: rgba(244,169,0,0.28);
  --hdr-text:      #f0f4f8;
  --hdr-text-md:   #8ea3ba;
  --hdr-text-lo:   #5a7090;
  --hdr-font:      'DM Sans', sans-serif;
}

/* ─── 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);
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease, opacity 0.15s ease;
}

img, picture, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--hdr-amber);
  outline-offset: 2px;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ─── CABEÇALHO GLOBAL ───────────────────────────────────────────────────── */
.site-header {
  position: relative;
  z-index: 1000;
  background: var(--hdr-bg);
  font-family: var(--hdr-font);
}

/* Top Bar */
.h-topbar {
  background: var(--hdr-bg-sub);
  border-bottom: 0.5px solid var(--hdr-border);
  padding: 8px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.h-topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.h-topbar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--hdr-text-lo);
  text-decoration: none;
  transition: color 0.15s;
}

.h-topbar-icon {
  display: inline-flex;
  color: var(--hdr-amber);
}

.h-topbar-item:hover {
  color: var(--hdr-text-md);
}

.h-topbar-sep {
  width: 1px;
  height: 12px;
  background: var(--hdr-border);
}

.h-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.h-social {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 0.5px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hdr-text-lo);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.h-social:hover {
  color: var(--hdr-amber);
  border-color: var(--hdr-amber-bdr);
  background: var(--hdr-amber-dim);
}

/* Main Header */
.h-main {
  background: var(--hdr-bg);
  border-bottom: 0.5px solid var(--hdr-border);
  padding: 0 48px;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 36px;
  position: relative;
}

.h-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.h-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.h-logo-fallback {
  display: none;
  font-size: 20px;
  font-weight: 700;
  color: var(--hdr-text);
  letter-spacing: -0.5px;
}

.h-logo-fallback span {
  color: var(--hdr-amber);
}

/* Navegação Principal */
.h-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.h-nav-item {
  position: relative;
}

.h-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 400;
  color: var(--hdr-text-md);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.h-nav-link.active,
.h-nav-link:hover {
  color: var(--hdr-text);
  background: rgba(255,255,255,0.06);
}

.h-nav-trigger {
  cursor: pointer;
}

.h-chevron {
  transition: transform 0.2s ease;
}

.h-nav-item.has-mega:hover .h-chevron,
.h-nav-item.has-mega.is-open .h-chevron {
  transform: rotate(180deg);
}

/* Mega Menu */
.h-mega {
  position: absolute;
  top: calc(100% + 1px);
  left: -20px;
  width: 780px;
  background: var(--hdr-card);
  border: 0.5px solid var(--hdr-border-md);
  border-top: none;
  border-radius: 0 0 14px 14px;
  padding: 24px;
  display: none;
  grid-template-columns: 1.1fr 1.1fr 1.1fr 1.2fr;
  gap: 12px;
  z-index: 300;
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}

.h-nav-item.has-mega:hover .h-mega,
.h-nav-item.has-mega.is-open .h-mega {
  display: grid;
  animation: megaFadeIn 0.2s ease-out;
}

@keyframes megaFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.h-mega-col-title {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--hdr-amber);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 0.5px solid var(--hdr-border);
}

.h-mega-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
  margin-bottom: 2px;
}

.h-mega-icon {
  color: var(--hdr-text-lo);
  flex-shrink: 0;
  margin-top: 2px;
  transition: color 0.15s;
}

.h-mega-link:hover {
  background: rgba(244,169,0,0.08);
}

.h-mega-link:hover .h-mega-icon {
  color: var(--hdr-amber);
}

.h-mega-link span {
  display: block;
  font-size: 13.5px;
  color: var(--hdr-text-md);
  line-height: 1.25;
  font-weight: 500;
}

.h-mega-link small {
  display: block;
  font-size: 11px;
  color: var(--hdr-text-lo);
  margin-top: 2px;
}

.h-mega-link:hover span {
  color: var(--hdr-text);
}

.h-mega-link.active {
  background: rgba(244,169,0,0.12);
}

.h-mega-link.active span {
  color: var(--hdr-amber);
}

.h-mega-cta {
  background: var(--hdr-amber-dim);
  border: 0.5px solid var(--hdr-amber-bdr);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.h-mega-cta-label {
  font-size: 11px;
  color: var(--hdr-amber);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.h-mega-cta p {
  font-size: 12.5px;
  color: var(--hdr-text-md);
  line-height: 1.55;
  margin-bottom: 14px;
}

.h-mega-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--hdr-amber);
  color: #1a0e00;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 7px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}

.h-mega-cta a:hover {
  opacity: 0.90;
  transform: translateY(-1px);
}

/* Ações do Header (Direita) */
.h-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.h-btn-ghost {
  padding: 8px 16px;
  border-radius: 8px;
  border: 0.5px solid rgba(255,255,255,0.15);
  font-size: 13.5px;
  color: var(--hdr-text-md);
  text-decoration: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
}

.h-btn-icon-wa {
  color: #25d366;
  display: inline-flex;
}

.h-btn-ghost:hover {
  border-color: rgba(255,255,255,0.30);
  color: var(--hdr-text);
  background: rgba(255,255,255,0.04);
}

.h-btn-cta {
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--hdr-amber);
  color: #1a0e00;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
}

.h-btn-cta:hover {
  opacity: 0.90;
  transform: translateY(-1px);
}

/* Botão Mobile */
.h-mobile-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--hdr-text-md);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.h-mobile-toggle:hover {
  color: var(--hdr-text);
  border-color: rgba(255,255,255,0.30);
}

/* Menu Mobile */
.h-mobile-menu {
  display: none;
  background: var(--hdr-bg);
  border-top: 0.5px solid var(--hdr-border);
  padding: 18px 24px 28px;
  flex-direction: column;
  gap: 4px;
}

.h-mobile-menu.is-open {
  display: flex;
}

.h-mob-link {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 14.5px;
  color: var(--hdr-text-md);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.12s, color 0.12s;
}

.h-mob-link:hover,
.h-mob-link.active {
  background: rgba(255,255,255,0.06);
  color: var(--hdr-text);
}

.h-mob-section {
  font-size: 11px;
  font-weight: 600;
  color: var(--hdr-amber);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 14px 14px 4px;
}

.h-mob-sep {
  height: 0.5px;
  background: var(--hdr-border);
  margin: 8px 0;
}

.h-mob-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  background: var(--hdr-amber);
  color: #1a0e00;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9px;
  transition: opacity 0.15s;
}

.h-mob-cta:hover {
  opacity: 0.90;
}

/* ─── BANNER SUPERIOR ────────────────────────────────────────────────────── */
.page-banner-wrap {
  width: 100%;
  background: #050f1e;
  position: relative;
}

.page-banner-picture {
  display: block;
  width: 100%;
}

.page-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── SEÇÃO HOME: STATS BAR ──────────────────────────────────────────────── */
.stats-bar {
  background: var(--navy-dark);
  padding: 0 16px;
  overflow: hidden;
  position: relative;
}

.stats-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.stats-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 36px;
  border-right: 1px solid rgba(255,255,255,0.08);
  flex: 1;
  min-width: 160px;
  transition: background 0.2s;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(255,255,255,0.04);
}

.stat-num {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 38px;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 6px;
  text-align: center;
}

/* ─── SEÇÃO HOME: INTRO STRIP ────────────────────────────────────────────── */
.intro-strip {
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  padding: 56px 24px;
  text-align: center;
}

.intro-strip .eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.intro-strip h1 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 54px);
  color: var(--navy-dark);
  line-height: 1.08;
  max-width: 820px;
  margin: 0 auto 18px;
  letter-spacing: -0.5px;
}

.intro-strip h1 em {
  font-style: italic;
  color: var(--navy);
}

.intro-strip p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.70;
  font-weight: 400;
}

/* ─── SEÇÃO HOME: NÍVEIS DE ENSINO (TÉCNICOS) ────────────────────────────── */
.niveis-section {
  padding: 68px 24px;
  background: var(--off-white);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy-dark);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.section-title span {
  color: var(--gold-dark);
}

.section-sub {
  font-size: 15.5px;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 580px;
  line-height: 1.6;
}

.niveis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nivel-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.nivel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nivel-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.nivel-card:hover::before {
  transform: scaleX(1);
}

.nivel-card.gold-accent::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.nivel-card.gold-accent:hover {
  border-color: var(--gold);
}

.nivel-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(26,42,108,0.20);
  flex-shrink: 0;
  color: var(--white);
}

.nivel-card.gold-accent .nivel-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
}

.nivel-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy-dark);
  line-height: 1.2;
}

.nivel-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.nivel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  transition: gap 0.2s ease;
}

.nivel-card.gold-accent .nivel-link {
  color: var(--gold-dark);
}

.nivel-card:hover .nivel-link {
  gap: 10px;
}

/* ─── SEÇÃO HOME: GRADUAÇÃO (FUNDO ESCURO) ───────────────────────────────── */
.grad-section {
  background: var(--navy-dark);
  padding: 72px 24px;
  position: relative;
  overflow: hidden;
}

.grad-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 90% 50%, rgba(200,169,74,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 80% at 5% 80%, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.grad-section .section-tag {
  background: rgba(200,169,74,0.15);
  color: var(--gold-light);
}

.grad-section .section-title {
  color: var(--white);
}

.grad-section .section-sub {
  color: rgba(255,255,255,0.60);
}

.grad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grad-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
  text-decoration: none;
}

.grad-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.grad-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(200,169,74,0.35);
  transform: translateY(-4px);
}

.grad-card:hover::after {
  transform: scaleX(1);
}

.grad-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(200,169,74,0.15);
  border: 1px solid rgba(200,169,74,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

.grad-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
}

.grad-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.60);
  line-height: 1.6;
  flex: 1;
}

.grad-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  transition: gap 0.2s;
}

.grad-card:hover .grad-link {
  gap: 10px;
}

/* ─── SEÇÃO HOME: DIFERENCIAIS ───────────────────────────────────────────── */
.dif-section {
  padding: 76px 24px;
  background: var(--white);
}

.dif-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.dif-card {
  background: var(--off-white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  transition: all 0.22s ease;
}

.dif-card:hover {
  background: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.dif-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 6px 18px rgba(26,42,108,0.20);
  color: var(--white);
  transition: transform 0.2s;
}

.dif-card:hover .dif-icon-wrap {
  transform: scale(1.08);
}

.dif-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.dif-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── SEÇÃO HOME: PROGRAMAS ESPECIAIS ────────────────────────────────────── */
.outros-section {
  padding: 68px 24px;
  background: var(--off-white);
}

.outros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.outro-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.outro-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--navy), var(--navy-light));
  opacity: 0;
  transition: opacity 0.22s;
}

.outro-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.outro-card:hover::before {
  opacity: 1;
}

.outro-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(26,42,108,0.18);
}

.outro-body {
  flex: 1;
}

.outro-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.outro-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.outro-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  transition: gap 0.2s;
}

.outro-card:hover .outro-link {
  gap: 9px;
}

/* ─── SEÇÃO HOME: COMO FUNCIONA (4 PASSOS) ───────────────────────────────── */
.jornada-section {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 76px 24px;
  position: relative;
  overflow: hidden;
}

.jornada-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 95% 10%, rgba(200,169,74,0.10) 0%, transparent 55%);
  pointer-events: none;
}

.jornada-section .section-tag {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
}

.jornada-section .section-title {
  color: var(--white);
}

.jornada-section .section-sub {
  color: rgba(255,255,255,0.55);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 50px;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 34px;
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 2px;
  background: linear-gradient(90deg, rgba(200,169,74,0.3), rgba(200,169,74,0.8), rgba(200,169,74,0.3));
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--navy-dark);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 0 6px rgba(200,169,74,0.12);
}

.step-num span {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 24px;
  color: var(--gold-light);
}

.step-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.60);
  line-height: 1.55;
}

/* ─── SEÇÃO CTA REUTILIZÁVEL ─────────────────────────────────────────────── */
.cta-section {
  padding: 84px 24px;
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 10% 100%, rgba(26,42,108,0.04) 0%, transparent 55%),
    radial-gradient(ellipse 30% 50% at 90% 0%, rgba(200,169,74,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section .eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  position: relative;
}

.cta-section h2 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  color: var(--navy-dark);
  line-height: 1.06;
  max-width: 720px;
  margin: 0 auto 16px;
  letter-spacing: -0.5px;
  position: relative;
}

.cta-section h2 span {
  color: var(--gold);
}

.cta-section p {
  font-size: 16.5px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.65;
  font-weight: 400;
  position: relative;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(26,42,108,0.25);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26,42,108,0.32);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(200,169,74,0.30);
  text-decoration: none;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200,169,74,0.38);
}

/* ─── TAGLINE FOOTER GLOBAL ──────────────────────────────────────────────── */
.tagline-footer {
  background: var(--navy-dark);
  padding: 22px 24px;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  border-top: 3px solid var(--gold);
}

.tagline-footer span {
  color: var(--gold-light);
}

/* ─── RODAPÉ GLOBAL ──────────────────────────────────────────────────────── */
.cbead-footer {
  background: var(--hdr-bg);
  border-top: 0.5px solid var(--hdr-border);
  position: relative;
  overflow: hidden;
  font-family: var(--hdr-font);
}

/* Grid textura sutil */
.cbead-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hdr-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--hdr-border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  pointer-events: none;
}

/* Glow âmbar top-left */
.cbead-footer::after {
  content: '';
  position: absolute;
  top: -120px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(244,169,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-topbar {
  position: relative;
  z-index: 1;
  border-bottom: 0.5px solid var(--hdr-border);
  padding: 14px 60px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.cta-matricula {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hdr-amber);
  color: #1a0e00;
  font-family: var(--hdr-font);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: opacity 0.15s, transform 0.15s;
}

.cta-matricula:hover {
  opacity: 0.90;
  transform: translateY(-1px);
}

.footer-main {
  position: relative;
  z-index: 1;
  padding: 52px 60px 44px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.3fr;
  gap: 48px;
}

.footer-logo {
  display: block;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 11px;
  font-weight: 600;
  color: var(--hdr-amber);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 13.5px;
  color: var(--hdr-text-md);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 320px;
}

.social-row {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--hdr-card);
  border: 0.5px solid var(--hdr-border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--hdr-text-md);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.social-btn:hover {
  border-color: var(--hdr-amber-bdr);
  color: var(--hdr-amber);
  background: var(--hdr-amber-dim);
}

.footer-col h3,
.contact-col h3 {
  font-family: var(--hdr-font);
  font-size: 11px;
  font-weight: 600;
  color: var(--hdr-amber);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid var(--hdr-border);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13.5px;
  color: var(--hdr-text-md);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.14s, gap 0.14s;
}

.footer-col ul li a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hdr-text-lo);
  flex-shrink: 0;
  transition: background 0.14s;
}

.footer-col ul li a:hover {
  color: var(--hdr-text);
  gap: 10px;
}

.footer-col ul li a:hover::before {
  background: var(--hdr-amber);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--hdr-muted);
  border: 0.5px solid var(--hdr-border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--hdr-amber);
}

.contact-info strong {
  display: block;
  font-size: 11.5px;
  color: var(--hdr-text-lo);
  font-weight: 500;
  margin-bottom: 2px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.contact-info a,
.contact-info span {
  font-size: 13.5px;
  color: var(--hdr-text-md);
  text-decoration: none;
  line-height: 1.5;
  display: block;
  transition: color 0.14s;
}

.contact-info a:hover {
  color: var(--hdr-amber);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 0.5px solid var(--hdr-border);
  padding: 18px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12.5px;
  color: var(--hdr-text-lo);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cnpj-pill {
  font-size: 11.5px;
  color: var(--hdr-text-lo);
  background: var(--hdr-card);
  border: 0.5px solid var(--hdr-border);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-legal-links a {
  font-size: 12.5px;
  color: var(--hdr-text-lo);
  text-decoration: none;
  transition: color 0.14s;
}

.footer-legal-links a:hover {
  color: var(--hdr-text-md);
}

/* ─── BOTÃO FLUTUANTE DE WHATSAPP ────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.wa-float-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.wa-float-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.45);
  animation: waPulse 2s infinite ease-in-out;
}

@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  50%  { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.wa-float:hover .wa-float-icon {
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(37,211,102,0.50);
}

.wa-float-tooltip {
  display: none;
  background: var(--navy-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  white-space: nowrap;
  pointer-events: none;
}

@media (min-width: 900px) {
  .wa-float:hover .wa-float-tooltip {
    display: block;
  }
}

/* ─── RESPONSIVIDADE ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .h-main {
    padding: 0 24px;
    gap: 20px;
  }
  .h-mega {
    width: 680px;
    left: -80px;
  }
}

@media (max-width: 900px) {
  .h-topbar {
    padding: 8px 24px;
  }
  .h-topbar-left .h-topbar-item:not(:first-child) {
    display: none;
  }
  .h-topbar-left .h-topbar-sep {
    display: none;
  }
  .h-nav, .h-actions {
    display: none;
  }
  .h-mobile-toggle {
    display: flex;
  }
  .niveis-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grad-grid {
    grid-template-columns: 1fr;
  }
  .dif-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .steps-row::before {
    display: none;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    padding: 40px 32px 36px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-topbar, .footer-bottom {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 768px) {
  .outros-grid {
    grid-template-columns: 1fr;
  }
  .wa-float {
    bottom: 16px;
    right: 16px;
  }
  .wa-float-icon {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 600px) {
  .stat-item {
    padding: 22px 20px;
  }
  .stat-num {
    font-size: 28px;
  }
  .niveis-grid, .dif-grid, .steps-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .h-topbar {
    display: none;
  }
  .footer-main {
    grid-template-columns: 1fr;
    padding: 32px 20px 28px;
  }
  .footer-topbar {
    padding: 12px 20px;
  }
  .footer-bottom {
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom-right {
    flex-wrap: wrap;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary, .btn-gold {
    width: 100%;
    justify-content: center;
  }
}

/* ─── PÁGINAS DE CURSOS: HERO, PILLS & TABS ───────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #2a4090 100%);
  padding: 48px 24px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(200,169,74,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(26,42,108,0.50) 0%, transparent 50%);
  pointer-events: none;
}

.hero-tagline {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.hero-title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(32px, 5.5vw, 54px);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--gold-light);
}

.hero-subtitle {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--gold-light);
  max-width: 760px;
  margin: 0 auto 16px;
  line-height: 1.3;
}

.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.80);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.65;
  font-weight: 300;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 860px;
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.90);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.2px;
}

.pill svg {
  color: var(--gold-light);
}

/* ─── PÁGINAS DE CURSOS: MAIN SECTION, TABS & PAINÉIS ────────────────────── */
.section {
  padding: 48px 0 64px;
}

.tabs-wrap {
  margin-bottom: 32px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  border: 2px solid var(--light-gray);
  background: var(--white);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: normal;
  text-align: center;
  justify-content: center;
}

.tab-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  box-shadow: 0 2px 12px rgba(26,42,108,0.10);
}

.tab-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(26,42,108,0.22);
}

.tab-btn .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  flex-shrink: 0;
}

.tab-btn.active .dot {
  opacity: 1;
  background: var(--gold-light);
}

.tabs.tabs-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.tabs.tabs-grid-4 .tab-btn {
  width: 100%;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.25;
  border-radius: 12px;
}

@media (max-width: 992px) {
  .tabs.tabs-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .tabs.tabs-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .tabs.tabs-grid-4 .tab-btn {
    font-size: 12px;
    padding: 8px 10px;
  }
}

/* Painéis de Cursos */
.panel {
  display: none;
  animation: panelFadeUp 0.3s ease;
}

.panel.active {
  display: block;
}

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

.panel-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(26,42,108,0.20);
}

.panel-icon svg {
  width: 24px;
  height: 24px;
}

.panel-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 24px;
  color: var(--navy-dark);
  line-height: 1.1;
}

.panel-count {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 2px;
}

/* Grade de Cursos */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.course-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--navy);
  opacity: 0;
  transition: opacity 0.2s;
}

.course-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.course-card:hover::before {
  opacity: 1;
}

.course-num {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.course-card:hover .course-num {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.course-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.35;
}

/* ─── PÓS-GRADUAÇÃO: BUSCA, DIFERENCIAIS & TOP 12 ────────────────────────── */
.course-search-container {
  max-width: 480px;
  margin: 0 auto 28px;
}

.course-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
  display: inline-flex;
}

.course-search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border-radius: 30px;
  border: 1.5px solid var(--light-gray);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.course-search-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,42,108,0.12);
}

.course-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.course-empty-state svg {
  margin: 0 auto 12px;
  color: var(--gold);
}

.diferenciais {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.diferenciais .dif-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: left;
}

.diferenciais .dif-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--white);
}

.divider {
  border: none;
  border-top: 1.5px solid var(--light-gray);
  margin: 48px 0;
}

.top12-section {
  margin-bottom: 48px;
}

.top12-header {
  text-align: center;
  margin-bottom: 32px;
}

.top12-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.top12-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--navy-dark);
  line-height: 1.15;
  margin-bottom: 6px;
}

.top12-sub {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.top12-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.top12-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.top12-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.top12-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.top12-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.top12-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.top12-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-dark);
  line-height: 1.25;
}

/* ─── CTA STRIP (NAS PÁGINAS DE CURSO) ────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
}

.cta-text h3,
.cta-strip-text h3 {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.cta-text p,
.cta-strip-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.68);
  margin: 0;
}

.cta-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.cta-btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold-light);
}

.cta-btn-outline:hover {
  background: rgba(200,169,74,0.14);
  color: var(--white);
  border-color: var(--gold-light);
}

/* ─── PÁGINA: SOBRE NÓS ─────────────────────────────────────────────────── */
.intro-section {
  background: var(--white);
  padding: 64px 24px;
  border-bottom: 1px solid var(--light-gray);
}

.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
}

.intro-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.intro-title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(34px, 4.5vw, 50px);
  color: var(--navy-dark);
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.intro-title span {
  color: var(--gold);
}

.intro-text {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 400;
}

.intro-text strong {
  color: var(--navy-dark);
  font-weight: 600;
}

.visual-card {
  background: var(--navy-dark);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.float-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.visual-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.visual-quote {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 14px;
}

.visual-quote em {
  font-style: italic;
  color: var(--gold-light);
}

.visual-sub {
  font-size: 13.5px;
  color: rgba(255,255,255,0.60);
  line-height: 1.6;
  margin-bottom: 24px;
}

.visual-tag {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
}

.mvv-section {
  padding: 72px 24px;
  background: var(--off-white);
}

.mvv-header {
  text-align: center;
  margin-bottom: 48px;
}

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.mvv-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.mvv-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--navy);
}

.mvv-card.full {
  grid-column: 1 / -1;
}

.mvv-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
}

.mvv-card.gold-top .mvv-card-accent {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.mvv-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(26,42,108,0.20);
  color: var(--white);
}

.mvv-card.gold-top .mvv-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
}

.mvv-label {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.mvv-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 24px;
  color: var(--navy-dark);
  margin-bottom: 14px;
}

.mvv-text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 400;
}

.mvv-text strong {
  color: var(--navy-dark);
  font-weight: 600;
}

.valores-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  margin-top: 4px;
}

.valores-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.valores-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}

.closing-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-icon {
  width: 72px;
  height: 72px;
  background: var(--gold);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--navy-dark);
  box-shadow: 0 8px 28px rgba(200,169,74,0.35);
}

.closing-section h2 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 46px);
  color: var(--white);
  line-height: 1.1;
  max-width: 680px;
  margin: 0 auto 16px;
  letter-spacing: -0.3px;
}

.closing-section h2 span {
  color: var(--gold-light);
}

.closing-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.70);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.70;
  font-weight: 300;
}

.closing-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── PÁGINA: PÓS-TÉCNICO ─────────────────────────────────────────────────── */
.intro-block {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}

.intro-block p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.70;
}

.intro-block p strong {
  color: var(--navy-dark);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.section-heading {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--navy-dark);
  margin-bottom: 24px;
}

.section-heading span {
  color: var(--gold);
}

.motivos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.motivo-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s ease;
}

.motivo-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.motivo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.motivo-text {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.45;
}

.futuro-block {
  background: var(--navy-dark);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
  color: var(--white);
}

.futuro-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--navy-dark);
}

.futuro-block h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 12px;
}

.futuro-block h3 span {
  color: var(--gold-light);
}

.futuro-block p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 8px;
}

.futuro-block .tagline {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 16px;
}

/* ─── PÁGINA: SEGUNDA GRADUAÇÃO & LICENCIATURA ───────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.step-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.22s ease;
}

.step-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.step-card .step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.step-card .step-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy-dark);
}

.step-card .step-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.highlight-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(90deg, var(--navy-dark), var(--navy-mid));
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.highlight-box .hi-icon,
.highlight-box .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy-dark);
}

.highlight-box p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.88);
  line-height: 1.55;
}

.highlight-box p strong {
  color: var(--gold-light);
  font-weight: 700;
}

.cta-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-card h3 {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.cta-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto 28px;
}

/* ─── PÁGINAS LEGAIS (ISENÇÃO, PRIVACIDADE, TERMOS) ──────────────────────── */
.page-header {
  background: var(--navy-dark);
  padding: 56px 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.page-header .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(200,169,74,0.15);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.page-header h1 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.page-header p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
}

.page-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.intro-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
}

.privacy-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.privacy-card.gold {
  border-color: var(--gold);
}

.card-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.privacy-card.gold .card-num {
  background: var(--gold);
  color: var(--navy-dark);
}

.card-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  color: var(--navy-dark);
  margin-bottom: 12px;
}

.card-text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

.sub-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-list li {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
  padding-left: 18px;
}

.sub-list li::before {
  content: '•';
  color: var(--gold);
  font-size: 18px;
  position: absolute;
  left: 0;
  top: -2px;
}

.alert-box {
  background: var(--off-white);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.55;
}

.alert-box svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-box {
  background: var(--navy-dark);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  color: var(--white);
}

.contact-box .ci {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  flex-shrink: 0;
}

.contact-box p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.closing-bar {
  background: var(--navy-dark);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.5;
}

.closing-bar svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--gold-light);
}

.agree-block {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 24px 28px;
  text-align: center;
  font-size: 14.5px;
  color: var(--text-muted);
}

.agree-block .tagline {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 12px;
}

/* ─── PÁGINA: 404 (NÃO ENCONTRADO) ──────────────────────────────────────── */
.error-page {
  padding: 80px 24px;
  text-align: center;
}

.error-badge {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(64px, 10vw, 110px);
  color: var(--navy);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.error-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--navy-dark);
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.error-links-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.error-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto 36px;
}

.error-link-pill {
  padding: 10px 18px;
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: all 0.15s ease;
}

.error-link-pill:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── RESPONSIVIDADE ESPECÍFICA DE CURSOS E PÁGINAS ──────────────────────── */
@media (max-width: 900px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .top12-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .diferenciais {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .intro-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .course-grid {
    grid-template-columns: 1fr;
  }
  .top12-grid {
    grid-template-columns: 1fr;
  }
  .motivos-grid {
    grid-template-columns: 1fr;
  }
  .valores-list {
    grid-template-columns: 1fr;
  }
  .mvv-grid {
    grid-template-columns: 1fr;
  }
  .cta-strip {
    text-align: center;
    justify-content: center;
    padding: 24px 20px;
  }
  .cta-strip-actions {
    justify-content: center;
    width: 100%;
  }
  .cta-btn, .cta-btn-outline {
    width: 100%;
    justify-content: center;
  }
}

/* ─── FORMULÁRIOS SEGUROS & PÁGINAS DE MATRÍCULA / CONTATO ────────────────── */
.form-page-wrap,
.contact-page-wrap,
.success-page-wrap {
  padding: 48px 24px 72px;
  background: var(--off-white);
  min-height: 60vh;
}

.cbead-form {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}

.form-card:hover {
  border-color: rgba(26,42,108,0.25);
}

.form-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--light-gray);
}

.card-step-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(26,42,108,0.2);
}

.form-card-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  color: var(--navy-dark);
  margin-bottom: 4px;
  line-height: 1.2;
}

.form-card-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.grid-span-2 {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  position: relative;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-label .req {
  color: #dc2626;
  font-weight: 800;
}

.form-label .opt {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 12px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-dark);
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
  box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3.5px rgba(26,42,108,0.12);
  background: #ffffff;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #dc2626;
  background: #fef2f2;
}

.form-input.is-invalid:focus,
.form-select.is-invalid:focus,
.form-textarea.is-invalid:focus {
  box-shadow: 0 0 0 3.5px rgba(220,38,38,0.15);
}

.field-error {
  display: none;
  font-size: 12px;
  font-weight: 600;
  color: #dc2626;
  margin-top: 3px;
}

.input-with-loader {
  position: relative;
  display: flex;
  align-items: center;
}

.cep-loader {
  position: absolute;
  right: 12px;
  color: var(--gold);
  pointer-events: none;
}

/* Radio Tiles & Groups */
.radio-group-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}

.radio-label,
.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  user-select: none;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  cursor: pointer;
  margin: 0;
}

.link-termos {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.15s;
}

.link-termos:hover {
  color: var(--gold);
}

/* Radio Tiles para Áreas de Curso */
.radio-tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 6px;
  margin-bottom: 8px;
}

.radio-tile {
  display: block;
  cursor: pointer;
  position: relative;
}

.radio-tile input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tile-content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 14px;
  background: var(--off-white);
  border: 1.5px solid var(--light-gray);
  border-radius: 8px;
  font-family: var(--font-title);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-dark);
  transition: all 0.15s ease;
  min-height: 48px;
  box-sizing: border-box;
}

.radio-tile:hover .tile-content {
  border-color: var(--navy);
  background: #ffffff;
}

.radio-tile input[type="radio"]:checked + .tile-content {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(26,42,108,0.22);
}

/* Botão de Envio e Alert */
.form-alert-error {
  background: #fef2f2;
  border: 1.5px solid #f87171;
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #991b1b;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}

.form-alert-error .alert-icon {
  color: #dc2626;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-alert-error ul {
  margin: 8px 0 0 0;
  padding-left: 18px;
  font-size: 13px;
}

.form-submit-card {
  text-align: center;
  padding: 12px 0 24px;
}

.btn-submit-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 44px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(26,42,108,0.25);
  min-width: 260px;
}

.btn-submit-main:hover:not(:disabled) {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(26,42,108,0.32);
}

.btn-submit-main:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.submit-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ─── PÁGINA DE CONTATO ──────────────────────────────────────────────────── */
.contact-layout {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: flex-start;
}

.contact-col-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 26px;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.contact-col-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.contact-info-card:not(.no-hover):hover {
  border-color: var(--navy);
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.contact-info-card.wa-card:hover {
  border-color: #25d366;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-icon {
  background: #dcfce7;
  color: #16a34a;
}

.mail-icon {
  background: #e0f2fe;
  color: #0284c7;
}

.map-icon {
  background: #fef3c7;
  color: #d97706;
}

.time-icon {
  background: #f1f5f9;
  color: #475569;
}

.contact-card-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-channel {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.card-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.4;
}

.card-hint {
  font-size: 12.5px;
  color: var(--text-muted);
}

.contact-form-box {
  padding: 32px 36px;
}

/* Seção do Mapa */
.contact-map-section {
  max-width: 1140px;
  margin: 56px auto 0;
}

.map-container-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.map-container-card iframe {
  display: block;
  width: 100%;
}

.map-footer-bar {
  padding: 16px 24px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid var(--light-gray);
}

.map-footer-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-dark);
}

.map-footer-text svg {
  color: var(--gold);
}

.btn-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  transition: all 0.15s ease;
}

.btn-map-link:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ─── PÁGINA DE CONFIRMAÇÃO / SUCESSO ────────────────────────────────────── */
.success-card {
  max-width: 680px;
  margin: 20px auto 0;
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  box-shadow: var(--shadow);
}

.success-icon-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 18px rgba(22,163,74,0.20);
}

.success-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #16a34a;
  background: #f0fdf4;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.success-title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 36px);
  color: var(--navy-dark);
  margin-bottom: 12px;
}

.success-lead {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto 28px;
}

.success-info-box {
  background: var(--off-white);
  border: 1.5px solid var(--light-gray);
  border-radius: 12px;
  padding: 22px 24px;
  text-align: left;
  margin-bottom: 32px;
}

.info-box-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 16px;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.info-box-title svg {
  color: var(--gold);
}

.info-box-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.info-box-list li {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.55;
  position: relative;
  padding-left: 18px;
}

.info-box-list li::before {
  content: '•';
  color: var(--gold);
  font-size: 18px;
  position: absolute;
  left: 0;
  top: -2px;
}

.success-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.btn-wa-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(37,211,102,0.30);
  width: 100%;
  max-width: 420px;
}

.btn-wa-large:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37,211,102,0.40);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-secondary:hover {
  background: var(--off-white);
  color: var(--navy);
}

.success-security-note {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Responsividade dos Formulários e Contato */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .form-card,
  .contact-form-box,
  .success-card {
    padding: 24px 20px;
  }
  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }
  .grid-span-2 {
    grid-column: auto;
  }
  .radio-tiles-grid {
    grid-template-columns: 1fr 1fr;
  }
  .btn-submit-main {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .radio-tiles-grid {
    grid-template-columns: 1fr;
  }
  .map-footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-map-link {
    width: 100%;
    justify-content: center;
  }
}


