/*
 * FMG — Faculdade Metropolitana de Guarulhos
 * CSS Customizado — Minimalismo Cinematográfico Institucional
 * Stack: Bootstrap 5 + CSS Custom
 * Paleta: Navy #0B1D33, Red #C41E3A, Off-white #F8FAFC, White #FFFFFF
 * Tipografia: Sora (display) + DM Sans (body)
 */

/* ─── CSS Variables ─── */
:root {
  --navy: #0B1D33;
  --red: #C41E3A;
  --red-dark: #A01830;
  --off-white: #F8FAFC;
  --white: #FFFFFF;
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* ─── Container Override ─── */
.container {
  max-width: 1200px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ─── Utility Classes ─── */
.label-caps {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-line {
  width: 60px;
  height: 2px;
  background: var(--red);
  opacity: 0.4;
}

.bg-navy { background-color: var(--navy); }
.bg-off-white { background-color: var(--off-white); }
.bg-red { background-color: var(--red); }
.text-navy { color: var(--navy); }
.text-red { color: var(--red); }

/* ─── Grain Overlay ─── */
.grain-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ─── Buttons ─── */
.btn-fmg-red {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.16s var(--ease-out);
  cursor: pointer;
}
.btn-fmg-red:hover {
  background: var(--red-dark);
  color: #fff;
}
.btn-fmg-red:active {
  transform: scale(0.97);
}

.btn-fmg-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  transition: all 0.3s ease, transform 0.16s var(--ease-out);
  cursor: pointer;
}
.btn-fmg-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.btn-fmg-outline:active {
  transform: scale(0.97);
}

.btn-fmg-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.16s var(--ease-out);
  cursor: pointer;
}
.btn-fmg-navy:hover {
  background: rgba(11,29,51,0.9);
  color: #fff;
}
.btn-fmg-navy:active {
  transform: scale(0.97);
}

.btn-fmg-red-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.16s var(--ease-out);
  cursor: pointer;
}
.btn-fmg-red-sm:hover {
  background: var(--red-dark);
  color: #fff;
}

/* ─── Header / Navbar ─── */
.fmg-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.4s var(--ease-out);
  padding: 1rem 0;
}
.fmg-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(11,29,51,0.06);
  padding: 0.5rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.fmg-header .nav-link-fmg {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: all 0.3s ease;
  position: relative;
  padding: 0.25rem 0;
}
.fmg-header .nav-link-fmg:hover {
  opacity: 0.7;
}
.fmg-header .nav-link-fmg.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
}
.fmg-header.scrolled .nav-link-fmg {
  color: var(--navy);
}

.fmg-header .logo-white { display: block; }
.fmg-header .logo-color { display: none; }
.fmg-header.scrolled .logo-white { display: none; }
.fmg-header.scrolled .logo-color { display: block; }

.fmg-header .btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 2px;
  transition: background 0.3s ease;
}
.fmg-header .btn-header-cta:hover {
  background: var(--red-dark);
  color: #fff;
}

/* Cursos Dropdown */
.cursos-dropdown {
  position: relative;
}
.cursos-dropdown .dropdown-menu-fmg {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: var(--white);
  border: 1px solid rgba(11,29,51,0.08);
  border-radius: 4px;
  box-shadow: 0 20px 60px -12px rgba(11,29,51,0.15);
  padding: 0.75rem;
  margin-top: 0.75rem;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
  transform: translateX(-50%) translateY(-4px);
  z-index: 100;
}
.cursos-dropdown:hover .dropdown-menu-fmg,
.cursos-dropdown.show .dropdown-menu-fmg {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cursos-dropdown .dropdown-item-fmg {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  transition: background 0.2s ease;
  color: var(--navy);
}
.cursos-dropdown .dropdown-item-fmg:hover {
  background: var(--off-white);
  color: var(--navy);
}
.cursos-dropdown .dropdown-item-fmg .item-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  display: block;
}
.cursos-dropdown .dropdown-item-fmg .item-desc {
  font-size: 0.75rem;
  color: rgba(11,29,51,0.45);
  display: block;
  margin-top: 0.125rem;
}

/* Mobile Menu */
.fmg-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--navy);
  display: none;
  flex-direction: column;
  padding-top: 5rem;
}
.fmg-mobile-menu.open {
  display: flex;
}
.fmg-mobile-menu .mobile-nav-link {
  display: block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.3s ease;
}
.fmg-mobile-menu .mobile-nav-link:hover {
  color: #fff;
}
.fmg-mobile-menu .mobile-quick-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  padding: 0.25rem 1.5rem;
  transition: color 0.3s ease;
}
.fmg-mobile-menu .mobile-quick-link:hover {
  color: rgba(255,255,255,0.7);
}

/* ─── Vestibular Banner ─── */
.vestibular-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 55;
  background: var(--red);
  color: #fff;
  padding: 0.5rem 0;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  transition: transform 0.4s var(--ease-out);
}
.vestibular-banner.hidden {
  transform: translateY(-100%);
}
.vestibular-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}
.vestibular-banner a:hover {
  opacity: 0.8;
  color: #fff;
}
.vestibular-banner .btn-close-banner {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 0.5rem;
  line-height: 1;
  transition: color 0.2s ease;
}
.vestibular-banner .btn-close-banner:hover {
  color: #fff;
}

/* Header offset when banner is visible */
body.banner-visible .fmg-header {
  top: 40px;
}
body.banner-visible .fmg-mobile-menu {
  top: 40px;
}

/* ─── Hero Section ─── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg .gradient-main {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0B1D33, #0F2847, #0B1D33);
}
.hero-bg .gradient-accent-tr {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 50%;
  background: linear-gradient(225deg, rgba(196,30,58,0.08), transparent, transparent);
}
.hero-bg .gradient-accent-bl {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 33%;
  height: 33%;
  background: linear-gradient(45deg, rgba(26,58,92,0.4), transparent, transparent);
}

/* Hero Geometry */
.hero-geometry {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-geometry .circle-large {
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.10);
  animation: drift-large 20s ease-in-out infinite;
}
.hero-geometry .circle-medium {
  position: absolute;
  top: 33%;
  left: -6rem;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  animation: drift-medium 15s ease-in-out infinite;
}
.hero-geometry .accent-line {
  position: absolute;
  top: 25%;
  right: 25%;
  width: 1px;
  height: 10rem;
  background: linear-gradient(to bottom, transparent, rgba(196,30,58,0.35), transparent);
  animation: pulse-line 8s ease-in-out infinite;
}
.hero-geometry .dot-cluster {
  position: absolute;
  bottom: 25%;
  right: 33%;
  display: flex;
  gap: 0.75rem;
}
.hero-geometry .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: pulse-dot 3s ease-in-out infinite;
}
.hero-geometry .dot:nth-child(2) { animation-delay: 0.5s; }
.hero-geometry .dot:nth-child(3) { animation-delay: 1s; }
.hero-geometry .bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.12), transparent);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: fade-in 1s ease 2s forwards;
  opacity: 0;
}
.scroll-indicator .mouse {
  width: 1.25rem;
  height: 2rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.375rem;
}
.scroll-indicator .mouse-dot {
  width: 4px;
  height: 6px;
  background: rgba(255,255,255,0.4);
  border-radius: 9999px;
  animation: scroll-bounce 2s ease-in-out infinite;
}

/* ─── Sections ─── */
.section-white { background: var(--white); }
.section-off-white { background: var(--off-white); }
.section-navy {
  background: var(--navy);
  color: #fff;
}

.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
@media (min-width: 992px) {
  .section-padding {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

.section-padding-sm {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
@media (min-width: 992px) {
  .section-padding-sm {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

/* ─── Diferenciais Grid ─── */
.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(11,29,51,0.06);
  border-radius: 2px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .diferenciais-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.diferencial-card {
  background: var(--off-white);
  padding: 2rem;
  transition: background 0.5s ease;
}
@media (min-width: 992px) {
  .diferencial-card {
    padding: 3rem;
  }
}
.diferencial-card:hover {
  background: var(--white);
}
.diferencial-card .number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(11,29,51,0.10);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.5s ease;
}
@media (min-width: 992px) {
  .diferencial-card .number {
    font-size: 4.5rem;
  }
}
.diferencial-card:hover .number {
  color: rgba(196,30,58,0.2);
}

/* ─── Quote Section ─── */
.quote-section {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.quote-section .quote-bg {
  position: absolute;
  inset: 0;
}
.quote-section .quote-bg .gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #0B1D33, #122a4a, #0B1D33);
}
.quote-section .quote-bg .accent {
  position: absolute;
  top: 0;
  left: 25%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(196,30,58,0.05), transparent, transparent);
}
.quote-section .geo-accents {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.quote-section .geo-circle {
  position: absolute;
  top: 3rem;
  left: 3rem;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%;
}
.quote-section .geo-square {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  width: 5rem;
  height: 5rem;
  border: 1px solid rgba(255,255,255,0.06);
}
.quote-section .geo-line-v {
  position: absolute;
  top: 50%;
  right: 25%;
  width: 1px;
  height: 10rem;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.08), transparent);
}
.quote-section .geo-line-red {
  position: absolute;
  top: 33%;
  left: 16%;
  width: 1px;
  height: 6rem;
  background: linear-gradient(to bottom, transparent, rgba(196,30,58,0.15), transparent);
}
.quote-section .geo-diamond {
  position: absolute;
  bottom: 33%;
  right: 16%;
  width: 6rem;
  height: 6rem;
  border: 1px solid rgba(255,255,255,0.03);
  transform: rotate(45deg);
}
.quote-divider {
  width: 3rem;
  height: 1px;
  background: rgba(196,30,58,0.4);
  margin: 0 auto;
}

/* ─── Cursos Grid ─── */
.curso-card {
  padding: 2rem;
  border: 1px solid rgba(11,29,51,0.06);
  border-radius: 2px;
  background: var(--white);
  transition: all 0.5s ease;
}
.curso-card:hover {
  border-color: rgba(196,30,58,0.2);
  box-shadow: 0 8px 30px -12px rgba(11,29,51,0.1);
}
.curso-card .icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 2px;
  background: rgba(11,29,51,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.5s ease;
}
.curso-card:hover .icon-box {
  background: rgba(196,30,58,0.06);
}
.curso-card .icon-box i {
  color: rgba(11,29,51,0.4);
  transition: color 0.5s ease;
}
.curso-card:hover .icon-box i {
  color: var(--red);
}
.curso-card .saiba-mais {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(11,29,51,0.6);
  transition: color 0.3s ease;
}
.curso-card:hover .saiba-mais {
  color: var(--red);
}

/* ─── Números Section ─── */
.numeros-section {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.numeros-section .numeros-bg {
  position: absolute;
  inset: 0;
}
.numeros-section .numeros-bg .gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(225deg, #0B1D33, #0e2440, #0B1D33);
}
.numeros-section .numeros-bg .accent-br {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 66%;
  height: 66%;
  background: linear-gradient(315deg, rgba(196,30,58,0.06), transparent, transparent);
}
.numeros-section .numeros-bg .accent-tl {
  position: absolute;
  top: 0;
  left: 0;
  width: 33%;
  height: 50%;
  background: linear-gradient(135deg, rgba(26,58,92,0.3), transparent, transparent);
}
.numeros-section .grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.numeros-section .grid-lines .v-line {
  position: absolute;
  width: 1px;
  top: 0;
  bottom: 0;
  background: rgba(255,255,255,0.03);
}
.numeros-section .grid-lines .h-line {
  position: absolute;
  height: 1px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.03);
}
.counter-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}
@media (min-width: 768px) {
  .counter-value { font-size: 3rem; }
}
@media (min-width: 992px) {
  .counter-value { font-size: 3.75rem; }
}

/* ─── Formas de Ingresso ─── */
.ingresso-card {
  padding: 2rem;
  border: 1px solid rgba(11,29,51,0.08);
  border-radius: 2px;
  background: var(--white);
  transition: all 0.5s ease;
}
@media (min-width: 992px) {
  .ingresso-card {
    padding: 2.5rem;
  }
}
.ingresso-card:hover {
  border-color: rgba(196,30,58,0.3);
  box-shadow: 0 8px 30px -12px rgba(196,30,58,0.1);
}
.ingresso-card .check-icon {
  color: rgba(196,30,58,0.2);
  transition: color 0.5s ease;
}
.ingresso-card:hover .check-icon {
  color: var(--red);
}

/* ─── Map Section ─── */
.map-container {
  position: relative;
}
.map-container .map-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to bottom, var(--navy), transparent);
  z-index: 10;
  pointer-events: none;
}
.map-container .map-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to top, var(--navy), transparent);
  z-index: 10;
  pointer-events: none;
}
.map-container .map-fade-left {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2rem;
  background: linear-gradient(to right, var(--navy), transparent);
  z-index: 10;
  pointer-events: none;
}
.map-container .map-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 2rem;
  background: linear-gradient(to left, var(--navy), transparent);
  z-index: 10;
  pointer-events: none;
}
#map-home {
  width: 100%;
  height: 550px;
}
@media (min-width: 992px) {
  #map-home { height: 700px; }
}

/* ─── Footer ─── */
.fmg-footer {
  background: var(--navy);
  color: #fff;
}
.fmg-footer .footer-cta {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fmg-footer .footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
}
.fmg-footer .footer-link:hover {
  color: #fff;
}
.fmg-footer .social-icon {
  color: rgba(255,255,255,0.4);
  transition: color 0.3s ease;
  font-size: 1.125rem;
}
.fmg-footer .social-icon:hover {
  color: #fff;
}
.fmg-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ─── WhatsApp Button ─── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 45;
  display: none;
}
.whatsapp-float.visible {
  display: block;
  animation: fade-slide-up 0.5s var(--ease-out) forwards;
}
.whatsapp-float .wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.whatsapp-float .wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 25px rgba(37,211,102,0.4);
  color: #fff;
}
.whatsapp-float .wa-btn .pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: pulse-ring 2s ease-out infinite;
}
.whatsapp-float .wa-tooltip {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  right: 0;
  background: #fff;
  color: var(--navy);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  font-size: 0.8125rem;
  white-space: nowrap;
  display: none;
  animation: fade-slide-up 0.3s var(--ease-out) forwards;
}
.whatsapp-float .wa-tooltip.visible {
  display: block;
}
.whatsapp-float .wa-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 1.5rem;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}
.whatsapp-float .tooltip-close {
  background: none;
  border: none;
  color: rgba(11,29,51,0.3);
  cursor: pointer;
  padding: 0;
  margin-left: 0.5rem;
  font-size: 0.875rem;
  line-height: 1;
}

/* ─── Scroll Reveal Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.reveal-left {
  transform: translateX(-30px);
}
.reveal.reveal-right {
  transform: translateX(30px);
}
.reveal.revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Internal Pages ─── */
.page-hero {
  position: relative;
  padding-top: 10rem;
  padding-bottom: 5rem;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
@media (min-width: 992px) {
  .page-hero {
    padding-top: 12rem;
    padding-bottom: 6rem;
  }
}
.page-hero .hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0B1D33, #0F2847, #0B1D33);
}
.page-hero .hero-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 60%;
  background: linear-gradient(225deg, rgba(196,30,58,0.06), transparent);
}

/* ─── Curso Page ─── */
.curso-hero {
  position: relative;
  padding-top: 10rem;
  padding-bottom: 4rem;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
@media (min-width: 992px) {
  .curso-hero {
    padding-top: 12rem;
    padding-bottom: 5rem;
  }
}
.curso-sidebar .info-card,
.curso-sidebar .ingresso-sidebar-card,
.curso-sidebar .cta-card {
  border: 1px solid rgba(11,29,51,0.08);
  border-radius: 2px;
  padding: 1.5rem;
  background: var(--white);
}
.curso-sidebar .info-card .info-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(11,29,51,0.06);
  font-size: 0.875rem;
}
.curso-sidebar .info-card .info-item:last-child {
  border-bottom: none;
}
.curso-sidebar .info-card .info-label {
  color: rgba(11,29,51,0.5);
}
.curso-sidebar .info-card .info-value {
  font-weight: 600;
  color: var(--navy);
}
.curso-sidebar .ingresso-sidebar-card .ingresso-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 0.875rem;
  color: var(--navy);
  border-bottom: 1px solid rgba(11,29,51,0.06);
}
.curso-sidebar .ingresso-sidebar-card .ingresso-item:last-child {
  border-bottom: none;
}
.curso-sidebar .ingresso-sidebar-card .ingresso-item i {
  color: var(--red);
  font-size: 0.75rem;
}

/* Disciplinas Accordion */
.disciplina-item {
  border: 1px solid rgba(11,29,51,0.08);
  border-radius: 2px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.disciplina-item:hover {
  border-color: rgba(196,30,58,0.2);
}
.disciplina-item .disciplina-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  background: var(--white);
  transition: background 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
}
.disciplina-item .disciplina-header:hover {
  background: var(--off-white);
}
.disciplina-item .disciplina-header .disc-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
}
.disciplina-item .disciplina-header .disc-icon {
  color: rgba(11,29,51,0.3);
  transition: transform 0.3s ease, color 0.3s ease;
}
.disciplina-item.open .disciplina-header .disc-icon {
  transform: rotate(180deg);
  color: var(--red);
}
.disciplina-item .disciplina-body {
  display: none;
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  color: rgba(11,29,51,0.55);
  line-height: 1.6;
}
.disciplina-item.open .disciplina-body {
  display: block;
}

/* ─── Graduacao Page Filters ─── */
.filter-bar {
  position: sticky;
  top: 80px;
  z-index: 20;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11,29,51,0.06);
  padding: 1rem 0;
}
body.banner-visible .filter-bar {
  top: 120px;
}
.filter-btn {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(11,29,51,0.1);
  border-radius: 2px;
  background: transparent;
  color: rgba(11,29,51,0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn:hover {
  border-color: rgba(11,29,51,0.2);
  color: var(--navy);
}
.filter-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.search-input {
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(11,29,51,0.1);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
  max-width: 280px;
}
.search-input:focus {
  border-color: var(--red);
}

/* ─── Em Breve Pages ─── */
.em-breve-section {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.em-breve-section .em-breve-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(11,29,51,0.1);
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(11,29,51,0.5);
  margin-bottom: 1.5rem;
}

/* ─── Contato Page ─── */
.contato-form .form-control {
  border: 1px solid rgba(11,29,51,0.1);
  border-radius: 2px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color 0.3s ease;
}
.contato-form .form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196,30,58,0.08);
}
.contato-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ─── Keyframes ─── */
@keyframes drift-large {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}
@keyframes drift-medium {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 15px); }
}
@keyframes pulse-line {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.2); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.3; }
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes fade-in {
  to { opacity: 1; }
}
@keyframes fade-slide-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ─── Responsive Tweaks ─── */
@media (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  .hero-geometry .circle-large {
    width: 250px;
    height: 250px;
  }
  .hero-geometry .circle-medium {
    width: 150px;
    height: 150px;
  }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  .hero-geometry .circle-large,
  .hero-geometry .circle-medium,
  .hero-geometry .accent-line,
  .hero-geometry .dot,
  .scroll-indicator .mouse-dot {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
