@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;600;700&display=swap');

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

:root {
  --red: #d21c38;
  --red-dark: #a01529;
  --gold: #F6A823;
  --text: #555;
  --text-dark: #333;
  --text-light: #888;
  --white: #ffffff;
  --bg-light: #FCF4F5;
}

body {
  font-family: 'Sora', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

input, select, textarea, button {
  font-family: 'Sora', sans-serif;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }
p { margin-bottom: 1rem; font-size: 0.95rem; opacity: 0.85; }

/* Arredondamento global para imagens de conteúdo */
section img:not(.no-radius),
.section-2col img:not(.no-radius),
.gallery-strip img,
.hist-slider img {
  border-radius: 16px;
}

/* Exceções: ícones, logos, e elementos que não devem ter border-radius */
header img, .logo img, .etapa-card img,
.circle-small img, .img-circle-big img,
img[src*="logo"], img[src*="fav"], img[src*="ANEB"],
img[src*="recaptcha"], img[src*="gstatic"],
img[src*="CBESP"], img[src*="selo"] {
  border-radius: 0 !important;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  color: inherit;
  line-height: 1.2;
}

.pink-section h1, .pink-section h2, .pink-section h3, .pink-section h4 {
  color: var(--red);
}

.title-red {
  color: var(--red) !important;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* ============================================
   GLOBAL HEADER — white logo + red/transparent bg
   ============================================ */
/* ============================================
   GLOBAL HEADER — white logo + red/transparent bg
   ============================================ */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  transition: all 0.35s ease;
}

.site-header.sticky-white {
  position: sticky;
  background: linear-gradient(135deg, var(--red) 0%, #a41228 100%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.site-header .logo img {
  height: 66px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
  transition: transform 0.3s ease;
}

.site-header .logo img:hover {
  transform: scale(1.03);
}

.logo-cbesp img {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}

.site-header nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
}

.site-header nav ul li a {
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s ease;
}

.site-header nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: var(--gold);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.site-header nav ul li a:hover::after,
.site-header nav ul li a.active::after {
  width: 100%;
  left: 0;
}

.site-header nav ul li a.btn-matriculas {
  background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.08) 100%) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: all 0.3s ease !important;
}

.site-header nav ul li a.btn-matriculas::after {
  display: none;
}

.site-header nav ul li a.btn-matriculas:hover {
  background: white !important;
  color: var(--red) !important;
  border-color: white !important;
  box-shadow: 0 8px 25px rgba(255,255,255,0.4) !important;
  transform: translateY(-2px);
}

/* Dropdown (Unidades / Ensino / Aos Pais) */
.site-header nav ul li.has-dropdown {
  position: relative;
}

.site-header nav ul li.has-dropdown .dropdown {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 12px;
  min-width: 220px;
  padding: 10px 0;
  box-shadow: 0 15px 45px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
  z-index: 2000;
  margin-top: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover bridge to bridge gap between li and dropdown */
.site-header nav ul li.has-dropdown .dropdown::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}

.site-header nav ul li.has-dropdown:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header nav ul li.has-dropdown .dropdown a {
  display: block;
  color: var(--text-dark);
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: none;
  text-transform: none;
  transition: all 0.2s ease;
}

.site-header nav ul li.has-dropdown .dropdown a::after {
  display: none;
}

.site-header nav ul li.has-dropdown .dropdown a:hover {
  background: var(--bg-light);
  color: var(--red);
  padding-left: 24px;
}

/* ============================================
   HERO (páginas internas) — burgundy banner padronizado 100% idêntico a ensino.html
   ============================================ */
.page-hero,
.page-banner-dark {
  background: linear-gradient(135deg, #7a0e1e 0%, #5c0814 100%);
  padding: 130px 20px 55px !important;
  text-align: center !important;
  width: 100%;
  box-sizing: border-box;
}

.page-hero h1,
.page-banner-dark h1 {
  color: #ffffff !important;
  font-size: 2.8rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin: 0 !important;
  text-transform: none !important; /* Maiúsculo / Minúsculo padronizado */
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.page-hero p,
.page-banner-dark p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.15rem !important;
  font-weight: 400 !important;
  margin: 10px auto 0 !important;
  max-width: 800px;
  text-align: center !important;
  opacity: 1 !important;
  line-height: 1.5;
}

/* ============================================
   IMAGENS NAS SEÇÕES — sem bordas, sem sombras
   ============================================ */
.section-img {
  border-radius: 16px;
  overflow: hidden;
}

.section-img-on-red {
  border-radius: 16px;
  overflow: hidden;
}

/* ============================================
   HERO BG (com imagem de fundo — unidades)
   ============================================ */
.page-hero-bg {
  position: relative;
  min-height: 50vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 50px;
}

.page-hero-bg .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 50%, rgba(15,15,15,0.65) 100%);
  z-index: 2;
}

.page-hero-bg .hero-text {
  position: relative;
  z-index: 10;
  color: white;
  padding: 0 50px;
}

.page-hero-bg .hero-text h1 {
  color: white;
  font-size: 3rem;
  font-weight: 700;
}

.page-hero-bg .hero-text p {
  color: rgba(255,255,255,0.85);
  font-size: 1.3rem;
  margin: 8px 0 0;
}

/* ============================================
   FULL-WIDTH HERO SLIDER (HOME)
   ============================================ */
.hero-slider {
  position: relative;
  height: 92vh;
  overflow: hidden;
}

.hero-slider .slides-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(.22,1,.36,1);
}

.hero-slider .slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-slider .slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.32);
}

.hero-slider .slide-content {
  position: relative;
  z-index: 10;
  color: white;
}

.hero-slider .slide-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.hero-slider .slide-content .hero-title-lg {
  font-size: 4rem;
}

.hero-slider .slide-content .hero-title-md {
  font-size: 3.2rem;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero-slider .slide-content p {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}

.btn-hero {
  display: inline-block;
  background: var(--red);
  color: white;
  padding: 13px 30px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}

.btn-hero:hover { background: var(--red-dark); }

.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.slider-arrow-btn:hover { background: var(--red); }
.slider-arrow-btn.prev { left: 30px; }
.slider-arrow-btn.next { right: 30px; }

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
  padding: 0;
}

.slider-dots .dot.active {
  background: white;
  width: 26px;
  border-radius: 5px;
}

/* ============================================
   BUTTONS (Elevated with fine gradient borders & high contrast legibility)
   ============================================ */
.btn-red, .btn-hero {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #e11f3d 0%, #b8142c 50%, #920e22 100%);
  color: #ffffff;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(210, 28, 56, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.btn-white {
  position: relative;
  display: inline-block;
  background: #ffffff;
  color: var(--red) !important;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border: 1px solid #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.btn-white:hover {
  background: var(--gold) !important;
  color: var(--text-dark) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 10px 28px rgba(246, 168, 35, 0.45);
  transform: translateY(-3px);
}

.btn-red::after, .btn-hero::after, .btn-white::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}

.btn-red:hover::after, .btn-hero:hover::after, .btn-white:hover::after {
  left: 140%;
}

.btn-red:hover, .btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(210, 28, 56, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-outline-red {
  display: inline-block;
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
  padding: 11px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 10px rgba(210, 28, 56, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-outline-red:hover {
  background: linear-gradient(135deg, #e11f3d 0%, #b8142c 100%);
  color: white !important;
  box-shadow: 0 6px 20px rgba(210, 28, 56, 0.35);
  transform: translateY(-2px);
}

.btn-white-outline {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  color: white !important;
  border: 1.5px solid rgba(255,255,255,0.7);
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-white-outline:hover {
  background: white;
  color: var(--red) !important;
  box-shadow: 0 6px 20px rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.btn-green {
  display: inline-block;
  background: linear-gradient(135deg, #25D366 0%, #1ebc57 100%);
  color: white !important;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-green:hover {
  background: linear-gradient(135deg, #1ebc57 0%, #189846 100%);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

/* ============================================
   ETAPA CARDS (4 pink cards)
   ============================================ */
.etapa-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.etapa-card {
  width: 270px;
  height: 360px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background-color: #8c0d1e;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
}

.etapa-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 45px rgba(210, 28, 56, 0.45);
}

.etapa-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(140, 12, 28, 0.95) 0%, rgba(190, 20, 45, 0.55) 55%, rgba(140, 12, 28, 0.25) 100%);
  pointer-events: none;
  z-index: 1;
}

.etapa-card .card-body {
  position: relative;
  z-index: 3;
  padding: 24px;
}

.etapa-card .card-label {
  font-size: 0.82rem;
  color: #ffcc00;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.7);
  display: block;
  margin-bottom: 2px;
}

.etapa-card .card-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
  line-height: 1.2;
}

/* ============================================
   UNIDADE CARDS (white, on home)
   ============================================ */
.unidades-section {
  background: #fafafa;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.unidade-card {
  background: white;
  border-radius: 20px;
  padding: 40px 50px;
  width: 400px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.unidade-card h2 {
  color: var(--red);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.logo-cbesp img {
  height: 52px !important;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18));
}

.circle-img, .circle-small {
  width: 270px !important;
  max-width: 100% !important;
  margin: 0 auto 1.5rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  clip-path: none !important;
  mask: none !important;
  -webkit-mask: none !important;
}

.circle-img img, .circle-small img {
  max-width: 100% !important;
  height: auto !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  clip-path: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  background: transparent !important;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.12)) !important;
}

/* ============================================
   DARK IMAGE CARDS (contato on home)
   ============================================ */
.dark-cards-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0 20px 80px;
  background: #fafafa;
  flex-wrap: wrap;
}

.dark-card {
  width: 520px;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
}

.dark-card .dk-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.42);
  transition: background 0.3s;
}

.dark-card:hover .dk-overlay { background: rgba(0,0,0,0.55); }

.dark-card .dk-content {
  position: absolute;
  bottom: 28px;
  left: 28px;
  color: white;
}

.dark-card .dk-content h3 {
  font-size: 1.9rem;
  color: white;
  margin-bottom: 4px;
}

.dark-card .dk-content p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
  font-size: 1rem;
}

.dark-card .dk-content .link-arrow {
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   VERSE SECTION
   ============================================ */
.verse-section {
  text-align: center;
  padding: 70px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.verse-section blockquote {
  font-size: 1.1rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.verse-section .ref {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* ============================================
   GRID LAYOUTS & SECTION IMAGES
   ============================================ */
.section-2col {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-2col.bg-pink {
  max-width: 100%;
  background: var(--bg-light);
}

.section-2col.bg-pink .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.img-rounded {
  border-radius: 24px;
  width: 100%;
  max-width: 580px;
  height: 400px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.img-rounded:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.22);
}

.img-circle-big {
  width: 100%;
  max-width: 580px;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: #f8f9fa;
}

.img-circle-big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.img-circle-big:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

/* 3-Column Intro Section Alignment (Perdizes e Bauru - Vídeo 9:16 Sem Cortes e Sem Espaço Branco) */
.intro-unit-section {
  max-width: 1320px;
  margin: 40px auto 0;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1.15fr 350px 1.15fr;
  gap: 36px;
  align-items: center !important; /* Perfect visual balance across text, 9:16 video and form */
}

.intro-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 10px 0;
}

.intro-col .circle-small {
  max-width: 220px;
  width: 100%;
  margin: 20px 0;
  display: flex;
  justify-content: flex-start;
}

.intro-col .circle-small img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.video-col {
  position: relative;
  width: 350px;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.2);
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.video-col video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

.form-card {
  margin-top: 0 !important;
  border: 2px solid var(--red);
  border-radius: 22px;
  padding: 28px 30px;
  background: #ffffff;
  box-shadow: 0 16px 45px rgba(210, 28, 56, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 610px;
}

/* ============================================
   MICROANIMATIONS & INTERACTIVE POLISH
   ============================================ */
.btn-red, .btn-gold, .doc-btn, .btn-matriculas {
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-red:hover, .btn-gold:hover, .btn-matriculas:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(210, 28, 56, 0.35) !important;
}

.btn-red:active, .btn-gold:active {
  transform: translateY(-1px) scale(0.99);
}

/* Brilho suave nos botões ao passar o mouse */
.btn-red::after, .btn-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(25deg);
  transition: all 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

.btn-red:hover::after, .btn-gold:hover::after {
  left: 120%;
  opacity: 1;
}

/* Pulsação elegante no botão de Matrículas */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(255, 204, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}

.btn-matriculas {
  animation: pulseGlow 3s infinite;
}

/* Lightbox Modal System */
.cbb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

.cbb-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.cbb-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.7);
  object-fit: contain;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cbb-lightbox.active .cbb-lightbox-img {
  transform: scale(1);
}

.cbb-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(255,255,255,0.18);
  color: white;
  border: none;
  font-size: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.cbb-lightbox-close:hover {
  background: var(--red);
  transform: rotate(90deg) scale(1.1);
}

/* ============================================
   GALLERY STRIP
   ============================================ */
.gallery-strip {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 0 24px 60px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-strip::-webkit-scrollbar { display: none; }

.gallery-strip img {
  height: 420px;
  width: 660px;
  object-fit: cover;
  border-radius: 16px;
  flex: 0 0 auto;
  scroll-snap-align: center;
  transition: transform 0.3s ease;
}

.gallery-strip img:hover {
  transform: scale(1.02);
}

/* ============================================
   FORM CARD
   ============================================ */
.form-card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(210,28,56,0.12);
  padding: 36px;
  border: 1px solid #ffd8df;
}

.form-card h3 {
  color: var(--red);
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--text);
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  background: #f8f8f8;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

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

.recaptcha-mock {
  border: 1px solid #ddd;
  background: #fafafa;
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.recaptcha-mock label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #333;
}

/* ============================================
   INTRO SECTION (Unidades page)
   ============================================ */
.intro-unit-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr 400px;
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 20;
  margin-top: -40px;
}

.intro-unit-section .intro-col {
  padding-top: 80px;
}

.intro-unit-section .video-col {
  border-radius: 18px;
  overflow: hidden;
  height: 580px;
  background: #000;
  position: relative;
}

.intro-unit-section .video-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.intro-unit-section .video-col .caption {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ============================================
   FAQ ACCORDION (Bolsa)
   ============================================ */
.faq-item {
  margin-bottom: 6px;
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  background: var(--red);
  color: white;
  padding: 14px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
  transition: background 0.2s;
}

.faq-question:hover { background: var(--red-dark); }

.faq-answer {
  background: white;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  font-size: 0.9rem;
  color: var(--text);
  transition: max-height 0.35s ease, padding 0.2s ease;
}

.faq-answer.open {
  max-height: 600px;
  padding: 14px 20px;
}

/* ============================================
   AOS PAIS — Document Buttons
   ============================================ */
.doc-btn {
  display: block;
  background: #e0e0e0;
  color: var(--text-dark);
  padding: 12px 16px;
  border-radius: 5px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.doc-btn:hover {
  background: var(--red);
  color: white;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--red);
  color: white;
  padding: 60px 50px 0;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-btns {
  display: flex;
  gap: 10px;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.footer-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-info-row svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-logos-col {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.footer-logos-col img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 20px 0;
  text-align: center;
  margin-top: 0;
}

.footer-bottom .btn-privacy {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.45);
  color: white;
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 0.82rem;
  margin-bottom: 14px;
  transition: background 0.2s;
}

.footer-bottom .btn-privacy:hover { background: rgba(255,255,255,0.1); }

.footer-bottom small {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
}

/* ============================================
   REGIMENTO STRIP
   ============================================ */
.regimento-strip {
  background: #f0f0f0;
  text-align: center;
  padding: 60px 24px;
}

.regimento-strip h2 {
  color: var(--red);
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
}

/* ============================================
   CONTATO CARDS
   ============================================ */
.contato-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 60px 24px;
  flex-wrap: wrap;
}

.contato-card {
  width: 500px;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
}

.contato-card .ct-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
}

.contato-card .ct-content {
  position: absolute;
  bottom: 28px;
  left: 28px;
  color: white;
}

.contato-card .ct-content h3 {
  font-size: 2rem;
  color: white;
  margin-bottom: 4px;
}

.contato-card .ct-content p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}

.ct-link {
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   PAIS — document panel
   ============================================ */
.pais-panel {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.pais-card {
  background: white;
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}

.pais-card h3 {
  color: var(--red);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

/* ============================================
   MATRICULAS
   ============================================ */
.matriculas-section {
  max-width: 700px;
  margin: 60px auto;
  padding: 0 24px;
}

.matriculas-form-card {
  background: white;
  border-radius: 14px;
  padding: 48px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.matriculas-form-card p.notice {
  font-style: italic;
  color: #777;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.matriculas-form-card h2 {
  color: var(--red);
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
}

.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  cursor: pointer;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 4px;
}

.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--red);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-drawer.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.mobile-close-btn:hover {
  background: rgba(255,255,255,0.3);
}

.mobile-nav-content {
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-menu a {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
  display: inline-block;
}

.mobile-nav-menu a.active {
  border-bottom: 2px solid white;
  padding-bottom: 2px;
}

.mobile-accordion .accordion-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-accordion .accordion-arrow {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: transform 0.3s;
}

.mobile-accordion.open .accordion-arrow {
  transform: rotate(180deg);
}

.mobile-accordion .accordion-body {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.mobile-accordion.open .accordion-body {
  max-height: 220px;
  padding-top: 10px;
}

.mobile-accordion .accordion-body a {
  font-size: 1rem;
  opacity: 0.85;
}

.mobile-nav-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 10px;
}

.mobile-nav-icons a {
  color: white;
  opacity: 0.9;
  transition: opacity 0.2s, transform 0.2s;
}

.mobile-nav-icons a:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Prevent images/media from overflowing their containers */
img, video, iframe, embed, object, svg {
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6, p, a, span, li, label, blockquote, td, th {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* ============================================
   TABLET (max 1100px)
   ============================================ */
@media (max-width: 1100px) {
  .intro-unit-section {
    grid-template-columns: 1fr 380px !important;
    gap: 28px !important;
  }
  .intro-unit-section .video-col {
    display: none !important; /* esconde o video 9:16 no tablet, preserva texto + form em 2 colunas */
  }
}

/* ============================================
   MOBILE (max 992px)
   ============================================ */
@media (max-width: 992px) {
  .site-header nav { display: none; }
  .mobile-toggle-btn { display: block; }

  /* --- GRID: Colapsar grids inline (style="grid-template-columns") --- */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* --- IMAGENS: Corrige overflow em containers flex centralizados --- */
  div[style*="justify-content: center"] {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  div[style*="justify-content: center"] > img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .mobile-nav-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    flex-shrink: 0;
  }
  .mobile-nav-logos img {
    max-width: 100%;
  }

  /* --- SECTIONS: previne overflow horizontal em qualquer section com style inline --- */
  section[style], div[style*="padding: 80px"] {
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* --- GRID: Colapsar grids de classe --- */
  .section-2col,
  .section-2col.bg-pink .inner,
  .intro-unit-section,
  .pais-panel,
  .ensino-stage-card,
  .ensino-stage-card.reverse,
  .sobre-intro-grid,
  .principios-inner,
  .aneb-section,
  .bolsa-layout,
  .contato-cards,
  .estrutura-cols {
    display: block !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  /* Espaçamento entre filhos diretos dos grids colapsados */
  .section-2col > *,
  .intro-unit-section > *,
  .pais-panel > *,
  .principios-inner > *,
  .sobre-intro-grid > * {
    margin-bottom: 24px !important;
  }

  /* --- VIDEO COL: 9:16 vertical no mobile centrado --- */
  .video-col,
  .intro-unit-section .video-col {
    display: block !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto 24px !important;
    height: auto !important;
    aspect-ratio: 9 / 16 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  /* --- UNIDADES SECTION (home) --- */
  .unidades-section {
    flex-direction: column !important;
    align-items: center !important;
    padding: 40px 18px !important;
    gap: 20px !important;
  }
  .unidade-card {
    width: 100% !important;
    max-width: 420px !important;
    padding: 28px 20px !important;
    box-sizing: border-box !important;
  }

  /* --- DARK CARDS (home contato) --- */
  .dark-cards-section {
    flex-direction: column !important;
    align-items: center !important;
    padding: 20px 18px 50px !important;
    gap: 16px !important;
  }
  .dark-card {
    width: 100% !important;
    max-width: 100% !important;
    height: 220px !important;
    box-sizing: border-box !important;
  }

  /* --- CONTATO CARDS --- */
  .contato-cards {
    flex-direction: column !important;
    align-items: center !important;
    padding: 40px 18px !important;
    gap: 16px !important;
  }
  .contato-card {
    width: 100% !important;
    max-width: 100% !important;
    height: 220px !important;
    box-sizing: border-box !important;
  }

  /* --- OUTROS CARDS --- */
  .pais-card,
  .materiais-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 18px !important;
    box-sizing: border-box !important;
    margin-bottom: 16px !important;
  }

  /* --- FORM CARD --- */
  .form-card {
    min-height: unset !important;
    padding: 24px 18px !important;
  }

  /* --- ETAPA CARDS: 2 colunas no mobile --- */
  .etapa-cards {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    padding: 28px 14px !important;
  }
  .etapa-card {
    width: 100% !important;
    max-width: 100% !important;
    height: 175px !important;
    border-radius: 14px !important;
  }
  .etapa-card .card-body { padding: 12px !important; }
  .etapa-card .card-label { font-size: 0.70rem !important; }
  .etapa-card .card-title { font-size: 1.1rem !important; }

  /* --- GALLERY STRIP --- */
  .gallery-strip img {
    width: 82vw !important;
    height: 260px !important;
  }

  /* --- HERO SLIDER --- */
  .hero-slider .slide-content h2 { font-size: 2rem !important; }
  .hero-slider .slide-content p { font-size: 1rem !important; }

  /* --- PAGE HERO BG (unidades) --- */
  .page-hero-bg .hero-text {
    padding: 0 18px !important;
  }
  .page-hero-bg .hero-text h1 { font-size: 2.2rem !important; }

  /* --- FOOTER --- */
  footer {
    padding: 50px 18px 0 !important;
  }
  .footer-main {
    flex-direction: column !important;
    gap: 30px !important;
    align-items: flex-start !important;
  }
  .footer-col {
    min-width: unset !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .footer-logos-col {
    justify-content: flex-start !important;
  }

  /* --- IMG CIRCLE BIG --- */
  .img-circle-big {
    max-width: 100% !important;
    height: 280px !important;
  }

  /* --- INTRO COL padding-top --- */
  .intro-unit-section .intro-col {
    padding-top: 0 !important;
  }
}

/* ============================================
   FLOATING PROMO POPUP (Bottom Left)
   ============================================ */
.promo-popup-card {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 9000;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
  border: 2px solid var(--gold);
  padding: 20px 22px;
  max-width: 310px;
  animation: fadeInUp 0.5s ease;
}

.promo-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #888;
  cursor: pointer;
  padding: 4px;
}

.promo-close-btn:hover { color: #333; }

.promo-badge {
  background: var(--gold);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 8px;
}

.promo-popup-card h4 {
  color: var(--red);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.promo-popup-card p {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 14px;
  line-height: 1.4;
  opacity: 1;
}

.promo-btn {
  display: inline-block;
  background: var(--red);
  color: white;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.2s;
}

.promo-btn:hover { background: #9a1e30; }

/* ============================================
   FLOATING WHATSAPP LEAD CAPTURE WIDGET (Bottom Right)
   ============================================ */
.wa-floating-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9500;
}

.wa-floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.wa-lead-modal {
  display: none;
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 320px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.22);
  overflow: hidden;
  animation: fadeInUp 0.3s ease;
}

.wa-lead-modal.active { display: block; }

.wa-modal-header {
  background: #075E54;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.8;
}

.wa-modal-close:hover { opacity: 1; }

.wa-modal-body {
  padding: 20px;
}

.wa-submit-btn {
  width: 100%;
  background: #25D366;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}

.wa-submit-btn:hover { background: #1ebc57; }

@media (max-width: 600px) {
  .promo-popup-card { display: none; }
  .title-red { font-size: 1.5rem !important; }

  /* --- Tipografia: sobreescrever font-size grandes inline ou de classe --- */
  h1,
  h1[style*="font-size"],
  .page-hero h1,
  .page-banner-dark h1,
  .page-hero-bg .hero-text h1 {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }
  h2, h2[style*="font-size"] {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
  }
  h3, h3[style*="font-size"] {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
  }

  /* --- Hero Slider --- */
  .hero-slider { height: 88vh; }
  .hero-slider .slide-content h2,
  .hero-slider .slide-content .hero-title-lg,
  .hero-slider .slide-content .hero-title-md {
    font-size: 1.55rem !important;
    padding: 0 14px;
  }
  .hero-slider .slide-content p { font-size: 0.9rem !important; padding: 0 14px; }
  .slider-arrow-btn { width: 38px; height: 38px; }
  .slider-arrow-btn.prev { left: 10px; }
  .slider-arrow-btn.next { right: 10px; }

  /* --- Page Hero (páginas internas) --- */
  .page-hero,
  .page-banner-dark {
    padding: 100px 16px 32px !important;
  }
  .page-hero p,
  .page-banner-dark p { font-size: 0.9rem !important; }

  /* --- Botões --- */
  .btn-hero, .btn-red, .btn-white {
    padding: 11px 18px !important;
    font-size: 0.83rem !important;
  }

  /* --- Hero buttons wrap --- */
  .hero-buttons,
  [style*="display: flex"][style*="gap: 60px"],
  [style*="display: flex"][style*="gap: 40px"],
  [style*="display: flex"][style*="gap: 30px"] {
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: center !important;
  }

  /* --- Gallery --- */
  .gallery-strip img {
    width: 90vw !important;
    height: 210px !important;
  }

  /* --- Padding inline overrides --- */
  [style*="padding: 120px 20px"],
  [style*="padding: 80px 20px"],
  [style*="padding: 80px"],
  [style*="padding: 60px"],
  [style*="padding: 50px"],
  [style*="padding: 48px"],
  [style*="padding: 45px"],
  [style*="padding: 40px"],
  [style*="padding: 36px"],
  [style*="padding: 30px"] {
    padding: 22px 15px !important;
  }

  /* --- Cards --- */
  .form-card,
  .materiais-card,
  .pais-card,
  .ensino-stage-card {
    padding: 22px 15px !important;
    min-height: unset !important;
  }

  /* --- Seções com padding top/bottom --- */
  .section-2col,
  .sobre-intro-grid {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  /* --- Video col ainda menor no telefone pequeno --- */
  .video-col,
  .intro-unit-section .video-col {
    max-width: 280px !important;
  }

  /* --- Footer bottom --- */
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 10px !important;
  }

  /* --- WA Modal --- */
  .wa-lead-modal {
    width: calc(100vw - 32px);
    right: -8px;
  }
}

/* ============================================
   CONTINUOUS MARQUEE TICKER BAR
   ============================================ */
.cbb-ticker-bar {
  background: linear-gradient(90deg, #960f23 0%, var(--red) 50%, #960f23 100%);
  color: white;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(0,0,0,0.15);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.25);
  z-index: 50;
}

.cbb-ticker-track {
  display: inline-flex;
  gap: 40px;
  animation: cbbTickerMove 28s linear infinite;
  will-change: transform;
}

.cbb-ticker-track span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  display: inline-flex;
  align-items: center;
  gap: 40px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

@keyframes cbbTickerMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   CURSOR GLOW / SPOTLIGHT AMBIENT EFFECT
   ============================================ */
.spotlight-target {
  position: relative;
  overflow: hidden;
}

.spotlight-target::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.14), transparent 50%);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.spotlight-target:hover::before {
  opacity: 1;
}

/* ============================================
   ANIMATED SMOOTH RED GRADIENT SECTIONS
   ============================================ */
.page-hero,
.site-header.sticky-white,
footer,
.cbb-ticker-bar,
.pink-section,
.animated-red-bg {
  background: linear-gradient(-45deg, #d21c38, #9e1429, #c41832, #b8142c, #800d1e) !important;
  background-size: 350% 350% !important;
  animation: smoothRedGradient 15s ease infinite !important;
}

@keyframes smoothRedGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================
   3D CARD TILT & SPECULAR SHINE EFFECT
   ============================================ */
.card-3d {
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.card-3d-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(750px circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255, 255, 255, 0.28), transparent 45%);
  pointer-events: none;
  z-index: 8;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.card-3d:hover .card-3d-shine {
  opacity: 1;
}

/* ============================================
   PARALLAX BACKGROUND & PARALLAX SCROLL RULES
   ============================================ */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 992px) {
  .parallax-bg {
    background-attachment: scroll; /* smooth fallback for touch screens */
  }
}

/* ============================================
   BOUNDED FOOTER LAYOUT (Non-fullwidth content)
   ============================================ */
footer {
  padding: 60px 24px 30px;
  box-sizing: border-box;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-col {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
}

.footer-col h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: white;
  letter-spacing: 0.03em;
}

.footer-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.footer-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
}

.footer-logos-col {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
  max-width: 320px;
}

.footer-logos-col img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-privacy {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  text-decoration: underline;
  transition: color 0.2s;
}

.btn-privacy:hover {
  color: white;
}

/* ============================================
   RESPONSIVO ABRANGENTE — PÁGINAS INTERNAS
   Cobre todos os padrões inline encontrados
   ============================================ */

/* Seções com padding 80px no topo/base */
@media (max-width: 992px) {
  section[style*="padding: 80px"],
  div[style*="padding: 80px"] {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  /* Círculos de horário com dimensões fixas */
  div[style*="width: 450px"][style*="height: 450px"],
  div[style*="width: 400px"][style*="height: 400px"] {
    width: 280px !important;
    height: 280px !important;
  }

  /* Imagem sticky (desktop) → estática no mobile */
  div[style*="position: sticky"] {
    position: static !important;
  }

  /* Divs com padding-top: 80px (colunas de diferenciais) */
  div[style*="padding-top: 80px"],
  div[style*="padding-top: 60px"] {
    padding-top: 0 !important;
  }

  /* Seções internas max-width com grid inline */
  div[style*="max-width: 1200px"][style*="display: grid"],
  div[style*="max-width: 1100px"][style*="display: grid"],
  div[style*="max-width: 1300px"][style*="display: grid"] {
    display: block !important;
    padding: 0 !important;
  }

  /* Espaçamento entre filhos de grids internos colapsados */
  div[style*="max-width: 1200px"][style*="display: grid"] > *,
  div[style*="max-width: 1100px"][style*="display: grid"] > *,
  div[style*="max-width: 1300px"][style*="display: grid"] > * {
    margin-bottom: 24px !important;
  }

  /* Flex com gap grande → empilha */
  div[style*="display: flex"][style*="gap: 60px"],
  div[style*="display: flex"][style*="gap: 80px"] {
    flex-direction: column !important;
    gap: 16px !important;
  }
}

@media (max-width: 600px) {
  /* Seções com padding 80px */
  section[style*="padding: 80px"],
  div[style*="padding: 80px"] {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Horário cards com padding: 50px inline */
  div[style*="padding: 50px"][style*="border-radius"] {
    padding: 22px 16px !important;
  }

  /* H2 com font-size inline grande */
  h2[style*="font-size: 2.5rem"],
  h2[style*="font-size: 2rem"],
  h3[style*="font-size: 2rem"],
  h3[style*="font-size: 1.5rem"] {
    font-size: 1.3rem !important;
  }

  /* Grid repeat(3, 1fr) → 1 coluna */
  div[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Grid repeat(2, 1fr) → 1 coluna */
  div[style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Círculos de horário */
  div[style*="width: 450px"],
  div[style*="width: 400px"],
  div[style*="width: 380px"] {
    width: 100% !important;
    max-width: 260px !important;
    height: auto !important;
    min-height: 200px !important;
    margin: 0 auto !important;
  }

  /* Max-width de imagem inline */
  img[style*="max-width: 560px"],
  img[style*="max-width: 640px"],
  img[style*="max-width: 380px"] {
    max-width: 100% !important;
    width: 100% !important;
  }
}
