@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ==========================================
   DESIGN TOKENS & VARIABLES
   ========================================== */
:root {
  --color-dark-bg: #0f0f0f;
  --color-navy: #0b1628;
  --color-steel: #1d3c56;
  --color-gray: #6b6b6d;
  --color-beige: #d1cec9;
  --color-gold: #ab9274;
  --color-cream: #dbd2c1;
  --color-white: #ffffff;
  --color-ice-white: #f5f5f7;
  
  --font-primary: 'Raleway', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 15px rgba(171, 146, 116, 0.3);
  
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-full: 9999px;
  
  --container-width: 1200px;
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--color-dark-bg);
  color: var(--color-beige);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-dark-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-steel);
  border-radius: var(--border-radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-cream);
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  text-transform: uppercase;
}

h2 {
  font-size: 2.2rem;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 2rem;
}

h2.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-gold);
  border-radius: var(--border-radius-full);
}

h2.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--color-beige);
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* ==========================================
   LAYOUTS & UTILITIES
   ========================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 8rem 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

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

.bg-navy {
  background-color: var(--color-navy);
}

.bg-steel {
  background-color: var(--color-steel);
}

.bg-dark-alternate {
  background-color: #141416;
}

/* Glassmorphism utility */
.glass-card {
  background: rgba(29, 60, 86, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(171, 146, 116, 0.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-dark-bg);
}

.btn-primary:hover {
  background-color: var(--color-cream);
  color: var(--color-navy);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

.btn-secondary:hover {
  background-color: var(--color-gold);
  color: var(--color-dark-bg);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.btn-whatsapp-cta {
  background-color: #25d366;
  color: #fff;
}

.btn-whatsapp-cta:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding: 1.2rem 0;
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 0.8rem 0;
  background-color: var(--color-dark-bg);
  border-bottom-color: rgba(171, 146, 116, 0.15);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 42px;
  width: auto;
  transition: var(--transition-smooth);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--color-beige);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
}

nav a:hover, nav a.active {
  color: var(--color-gold);
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-cream);
  transition: var(--transition-fast);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  height: 80vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/estrutura_geral/frente_dentalpress.jpeg') center/cover no-repeat;
  filter: blur(4px);
  transform: scale(1.05);
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: blur(4px);
  transform: scale(1.05);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 22, 40, 0.65), rgba(15, 15, 15, 0.85));
  z-index: 2;
}

.hero .container {
  z-index: 3;
  position: relative;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.scroll-indicator .mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--color-gold);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-indicator .wheel {
  width: 4px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: var(--border-radius-full);
  animation: scrollWheel 1.6s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}


.hero-content {
  max-width: 700px;
  z-index: 10;
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-family: var(--font-heading);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: inline-block;
  border-left: 2px solid var(--color-gold);
  padding-left: 10px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 2rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

/* ==========================================
   COMPONENTS: CAROUSELS & SLIDERS
   ========================================== */
.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 280px;
}

.slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-btn {
  background: var(--color-navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-gold);
  width: 45px;
  height: 45px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-btn:hover {
  background: var(--color-gold);
  color: var(--color-dark-bg);
  border-color: var(--color-gold);
}

/* ==========================================
   COURSE CARDS
   ========================================== */
.course-card {
  background-color: var(--color-navy);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  border-color: rgba(171, 146, 116, 0.25);
  box-shadow: var(--shadow-premium);
}

/* Reforça a leitura dos cards sobre o fundo escuro da seção Próximos Cursos. */
#proximos-cursos .course-card {
  border-color: rgba(171, 146, 116, 0.38);
  box-shadow: inset 0 0 0 1px rgba(171, 146, 116, 0.06);
}

#proximos-cursos .course-card:hover {
  border-color: rgba(171, 146, 116, 0.68);
  box-shadow: var(--shadow-premium), inset 0 0 0 1px rgba(171, 146, 116, 0.1);
}

.course-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.course-card:hover .course-card-image img {
  transform: scale(1.08);
}

.course-badge {
  background-color: var(--color-gold);
  color: var(--color-dark-bg);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border-radius: var(--border-radius-sm);
  display: inline-block;
  white-space: nowrap;
}

.course-card-image .course-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
}

.course-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-card-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--color-gray);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.course-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.course-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-white);
  height: 3rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.course-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-beige);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.2rem;
  margin-top: auto;
}

.course-price-info {
  font-size: 0.8rem;
  color: var(--color-gray);
}

.course-price-val {
  font-size: 1.1rem;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-weight: 600;
}

.course-link {
  font-family: var(--font-heading);
  color: var(--color-navy);
  background: linear-gradient(135deg, var(--color-gold), #c8ad89);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--border-radius-full);
  padding: 0.7rem 1.05rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.045em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-shrink: 0;
  box-shadow: 0 5px 14px rgba(171, 146, 116, 0.24);
  transition: var(--transition-smooth);
}

.course-link:hover {
  color: var(--color-white);
  background: linear-gradient(135deg, #c3a47f, var(--color-gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(171, 146, 116, 0.4);
}

.course-link i {
  transition: transform 0.25s ease;
}

.course-link:hover i {
  transform: translateX(3px);
}

/* ==========================================
   DIFFERENTIALS SECTION
   ========================================== */
.differential-card {
  padding: 3rem 2rem;
  border-radius: var(--border-radius-lg);
  background-color: var(--color-navy);
  border: 1px solid rgba(255, 255, 255, 0.03);
  text-align: center;
  transition: var(--transition-smooth);
}

.differential-card:hover {
  border-color: rgba(171, 146, 116, 0.25);
  transform: translateY(-5px);
}

.differential-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(171, 146, 116, 0.1);
  color: var(--color-gold);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 2rem;
  transition: var(--transition-smooth);
}

.differential-card:hover .differential-icon {
  background-color: var(--color-gold);
  color: var(--color-dark-bg);
}

.differential-card h3 {
  color: var(--color-white);
}

/* ==========================================
   FACILITIES GALERY (DYN GRID)
   ========================================== */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.facility-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  height: 280px;
  cursor: pointer;
}

.facility-item.col-6 {
  grid-column: span 6;
}

.facility-item.col-4 {
  grid-column: span 4;
}

.facility-item.col-8 {
  grid-column: span 8;
}

.facility-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.facility-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 15, 15, 0.9) 10%, rgba(15, 15, 15, 0.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0.85;
  transition: var(--transition-smooth);
}

.facility-item:hover .facility-overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(11, 22, 40, 0.95) 20%, rgba(11, 22, 40, 0.4) 70%);
}

.facility-item:hover img {
  transform: scale(1.05);
}

.facility-category {
  font-family: var(--font-heading);
  color: var(--color-gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.facility-title {
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 500;
  transform: translateY(0);
  transition: var(--transition-smooth);
}

/* ==========================================
   TEACHERS SECTION
   ========================================== */
.teacher-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 380px;
  cursor: pointer;
}

.teacher-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: var(--transition-smooth);
}

.teacher-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 15, 15, 0.9) 15%, rgba(15, 15, 15, 0.1) 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.teacher-card:hover .teacher-overlay {
  background: linear-gradient(to top, rgba(29, 60, 86, 0.9) 20%, rgba(29, 60, 86, 0.2) 75%);
}

.teacher-card:hover img {
  transform: scale(1.06);
  filter: grayscale(100%) brightness(1.15);
}

.teacher-name {
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.teacher-role {
  color: var(--color-gold);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* ==========================================
   VIDEO TESTIMONIALS
   ========================================== */
.testimonial-video-card {
  background-color: var(--color-navy);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
}

.testimonial-video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(171, 146, 116, 0.2);
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: #050b14;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.video-placeholder img,
.video-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: var(--transition-smooth);
}

.testimonial-video-card:hover .video-placeholder img,
.testimonial-video-card:hover .video-placeholder video {
  opacity: 0.95;
  transform: scale(1.02);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(171, 146, 116, 0.9);
  color: var(--color-dark-bg);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.testimonial-video-card:hover .play-btn {
  background-color: var(--color-white);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: var(--shadow-glow);
}

.testimonial-info {
  padding: 1.8rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  color: var(--color-beige);
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-white);
  font-size: 0.95rem;
}

.testimonial-course {
  font-size: 0.75rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

/* ==========================================
   FAQ SECTION (ACCORDION)
   ========================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: rgba(29, 60, 86, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: var(--border-radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h3 {
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 0;
  transition: var(--transition-fast);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--color-gold);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 2rem;
  color: var(--color-beige);
  font-size: 0.95rem;
  font-weight: 300;
}

.faq-item.active {
  border-color: rgba(171, 146, 116, 0.2);
  background-color: rgba(29, 60, 86, 0.15);
}

.faq-item.active .faq-header h3 {
  color: var(--color-gold);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-body {
  max-height: 200px;
  padding-bottom: 1.5rem;
}

/* ==========================================
   NEWSLETTER BANNER
   ========================================== */
.newsletter-banner {
  background: linear-gradient(135deg, var(--color-navy), var(--color-steel));
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  border: 1px solid rgba(171, 146, 116, 0.15);
  box-shadow: var(--shadow-glow);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.newsletter-form-group {
  display: flex;
  gap: 1rem;
}

.newsletter-input {
  flex-grow: 1;
  background-color: rgba(15, 15, 15, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  padding: 1rem 1.5rem;
  font-family: var(--font-primary);
  color: var(--color-white);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: rgba(15, 15, 15, 0.8);
}

/* ==========================================
   BLOG CARDS
   ========================================== */
.blog-card {
  background-color: #141416;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.02);
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(171, 146, 116, 0.15);
}

.blog-card-image {
  height: 220px;
  overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 2rem;
}

.blog-card-meta {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.8rem;
  display: flex;
  gap: 1.5rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-white);
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-beige);
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
  z-index: 999;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  box-shadow: var(--shadow-glow);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background-color: #070708;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 6rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo img {
  height: 48px;
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--color-gray);
  max-width: 280px;
}

.footer-title {
  color: var(--color-white);
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-beige);
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.footer-contact p {
  font-size: 0.9rem;
  color: var(--color-beige);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-contact p i {
  color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-gray);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 35px;
  height: 35px;
  background-color: rgba(255,255,255,0.02);
  color: var(--color-beige);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--color-gold);
  color: var(--color-dark-bg);
}

/* ==========================================
   PAGE: INTERNA DE CURSO & EMPRESA
   ========================================== */
.page-hero {
  position: relative;
  padding: 10rem 0 6rem;
  background-color: var(--color-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(29, 60, 86, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

/* Page Hero for Courses Page using User attached image with blur and navy gradient */
.page-hero-courses {
  overflow: hidden;
}

.page-hero-courses::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/estrutura_geral/anfiteatro_aula.png') center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
  z-index: 1;
}

.page-hero-courses::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 22, 40, 0.65), rgba(15, 15, 15, 0.85)) !important;
  z-index: 2;
  pointer-events: none;
}

.page-hero-courses .container {
  z-index: 3;
  position: relative;
}

.page-hero-empresa {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.page-hero-empresa::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/estrutura_geral/frente_dentalpress.jpeg') center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
  z-index: 0;
}

.page-hero-empresa::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 22, 40, 0.65), rgba(15, 15, 15, 0.85));
  z-index: 2;
  pointer-events: none;
}

.page-hero-empresa .container {
  position: relative;
  z-index: 3;
}

/* Page Hero for Excelência em Ortodontia using User attached image with blur and navy gradient */
.page-hero-ortodontia {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.page-hero-ortodontia::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/Clinicas/ortodontia_header.jpg') center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
  z-index: 1;
}

.page-hero-ortodontia::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 22, 40, 0.65), rgba(15, 15, 15, 0.85)) !important;
  z-index: 2;
  pointer-events: none;
}

.page-hero-ortodontia .container {
  z-index: 3;
  position: relative;
}

.page-hero-alinhadores {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.page-hero-alinhadores::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/alinhadores_banner/alinhadores_banner.png') center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
  z-index: 1;
}

.page-hero-alinhadores::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 22, 40, 0.65), rgba(15, 15, 15, 0.85)) !important;
  z-index: 2;
  pointer-events: none;
}

.page-hero-alinhadores .container {
  z-index: 3;
  position: relative;
}

.page-hero-protese {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.page-hero-protese::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/espe_protese_banner/protese_banner.png') center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
  z-index: 1;
}

.page-hero-protese::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 22, 40, 0.65), rgba(15, 15, 15, 0.85)) !important;
  z-index: 2;
  pointer-events: none;
}

.page-hero-protese .container {
  z-index: 3;
  position: relative;
}

.page-hero-dtm-excelencia {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.page-hero-dtm-excelencia::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/Excelencia_dtm_banner/excelencia_dtm_banner.png') center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
  z-index: 1;
}

.page-hero-dtm-excelencia::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 22, 40, 0.65), rgba(15, 15, 15, 0.85)) !important;
  z-index: 2;
  pointer-events: none;
}

.page-hero-dtm-excelencia .container {
  z-index: 3;
  position: relative;
}

.page-hero-ortodontia-especializacao {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.page-hero-ortodontia-especializacao::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/espe_orto-banner/espe-orto_banner.png') center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
  z-index: 1;
}

.page-hero-ortodontia-especializacao::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 22, 40, 0.65), rgba(15, 15, 15, 0.85)) !important;
  z-index: 2;
  pointer-events: none;
}

.page-hero-ortodontia-especializacao .container {
  z-index: 3;
  position: relative;
}

.page-hero-resinas-imersao {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.page-hero-resinas-imersao::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/imersao_resinas_banner/imersao_resinas_banner.png') center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
  z-index: 1;
}

.page-hero-resinas-imersao::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 22, 40, 0.65), rgba(15, 15, 15, 0.85)) !important;
  z-index: 2;
  pointer-events: none;
}

.page-hero-resinas-imersao .container {
  z-index: 3;
  position: relative;
}

.page-hero-laminados-imersao {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.page-hero-laminados-imersao::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/imersao_laminados_banner/imersao_laminados_banner.png') center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
  z-index: 1;
}

.page-hero-laminados-imersao::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 22, 40, 0.65), rgba(15, 15, 15, 0.85)) !important;
  z-index: 2;
  pointer-events: none;
}

.page-hero-laminados-imersao .container {
  z-index: 3;
  position: relative;
}

.page-hero-dtm-ortodontistas-imersao {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.page-hero-dtm-ortodontistas-imersao::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/imersao_dtm_orto_banner/imersao_dtm_orto_banner.png') center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
  z-index: 1;
}

.page-hero-dtm-ortodontistas-imersao::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 22, 40, 0.65), rgba(15, 15, 15, 0.85)) !important;
  z-index: 2;
  pointer-events: none;
}

.page-hero-dtm-ortodontistas-imersao .container {
  z-index: 3;
  position: relative;
}

.page-hero-estetica-aperfeicoamento {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.page-hero-estetica-aperfeicoamento::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/aperf_verm_branca_banner/aperf_verm_branca_banner.png') center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
  z-index: 1;
}

.page-hero-estetica-aperfeicoamento::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 22, 40, 0.65), rgba(15, 15, 15, 0.85)) !important;
  z-index: 2;
  pointer-events: none;
}

.page-hero-estetica-aperfeicoamento .container {
  z-index: 3;
  position: relative;
}

.page-hero-ortopedia-interceptiva {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.page-hero-ortopedia-interceptiva::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/aperf_orto_infantil_banner/aperf_orot_infantil_banner.png') center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
  z-index: 1;
}

.page-hero-ortopedia-interceptiva::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 22, 40, 0.65), rgba(15, 15, 15, 0.85)) !important;
  z-index: 2;
  pointer-events: none;
}

.page-hero-ortopedia-interceptiva .container {
  z-index: 3;
  position: relative;
}

.page-hero-dentistica-aperfeicoamento {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.page-hero-dentistica-aperfeicoamento::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/aperf_dentistica_restauradora_banner/aperf_dentistica_restauradora_banner.png') center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
  z-index: 1;
}

.page-hero-dentistica-aperfeicoamento::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 22, 40, 0.65), rgba(15, 15, 15, 0.85)) !important;
  z-index: 2;
  pointer-events: none;
}

.page-hero-dentistica-aperfeicoamento .container {
  z-index: 3;
  position: relative;
}

.page-hero-dtm-capacitacao {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.page-hero-dtm-capacitacao::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/capacitacao_dtm_banner/capacitacao_dtm_banner.png') center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
  z-index: 1;
}

.page-hero-dtm-capacitacao::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 22, 40, 0.65), rgba(15, 15, 15, 0.85)) !important;
  z-index: 2;
  pointer-events: none;
}

.page-hero-dtm-capacitacao .container {
  z-index: 3;
  position: relative;
}

/* Cobertura mais leve para preservar os detalhes das imagens dos heroes. */
.hero::after,
[class*="page-hero-"]::after {
  background: linear-gradient(to bottom, rgba(11, 22, 40, 0.48), rgba(15, 15, 15, 0.68)) !important;
}

.course-meta-tags {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.course-details-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: stretch;
  gap: 4rem;
}

.course-info-sidebar {
  background-color: var(--color-navy);
  border: 1px solid rgba(171, 146, 116, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  position: sticky;
  top: 140px;
}

.sidebar-info-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-info-row:last-of-type {
  border-bottom: none;
  margin-bottom: 1.5rem;
}

.sidebar-label {
  color: var(--color-gray);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.sidebar-value {
  color: var(--color-white);
  font-weight: 500;
  text-align: right;
  font-size: 0.95rem;
}

.course-syllabus-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
}

.course-syllabus-item:last-child {
  border-bottom: none;
}

.syllabus-module-num {
  font-family: var(--font-heading);
  color: var(--color-gold);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

/* ==========================================
   FILTER COMPONENT
   ========================================== */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-tab {
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--color-navy);
  border: 1.5px solid rgba(29, 60, 86, 0.25);
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-tab:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background-color: rgba(171, 146, 116, 0.08);
}

.filter-tab.active {
  background-color: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(171, 146, 116, 0.25);
}

/* ==========================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================== */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .course-details-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .course-info-sidebar {
    position: static;
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .filter-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    width: 100%;
    margin-bottom: 2.5rem;
  }

  .filter-tab {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 0.65rem 0.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.74rem;
    line-height: 1.15;
    white-space: normal;
  }

  #proximos-cursos .slider-container {
    overflow: visible;
  }

  #proximos-cursos .slider-track {
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.25rem;
    overscroll-behavior-inline: contain;
    padding: 0.5rem 12vw 1rem 0.25rem;
    margin-inline: -0.25rem;
  }

  #proximos-cursos .slider-card {
    flex: 0 0 84vw;
    min-width: 280px;
    max-width: 360px;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  header {
    padding: 0.6rem 0 !important;
  }

  .logo img {
    height: 30px;
  }
  
  #header-cta-btn {
    padding: 0.35rem 0.65rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 0 !important;
  }

  #header-cta-btn::after {
    content: "Consultor" !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.05em !important;
    display: inline-block !important;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  /* Mobile menu logic */
  .menu-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 55px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 55px);
    background-color: var(--color-dark-bg);
    padding: 3rem 1.5rem;
    transition: var(--transition-smooth);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  nav a {
    font-size: 1.1rem;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .facilities-grid {
    display: flex;
    flex-direction: column;
  }
  
  .facility-item {
    height: 220px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }

  .newsletter-banner {
    padding: 2.5rem 1.5rem;
  }

  .newsletter-form-group {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  #header-cta-btn {
    padding: 0.25rem 0.5rem !important;
  }
  
  #header-cta-btn::after {
    font-size: 0.55rem !important;
    letter-spacing: 0.02em !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================
   LIGHT SECTIONS & CARDS OVERRIDES
   ========================================== */
.section-light {
  background-color: var(--color-ice-white);
  color: var(--color-navy);
}

.section-light h2.section-title {
  color: var(--color-navy);
}

.section-light p {
  color: var(--color-steel);
}

.section-light .btn-secondary {
  border-color: var(--color-navy);
  color: var(--color-navy);
}

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

.section-light .differential-card {
  background-color: var(--color-white);
  border: 1px solid rgba(171, 146, 116, 0.25);
  box-shadow: var(--shadow-soft);
}

.section-light .differential-card h3 {
  color: var(--color-navy);
}

.section-light .differential-card p {
  color: var(--color-gray);
}

.section-light .differential-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 10px 25px rgba(11, 22, 40, 0.1);
}

.section-light .testimonial-video-card {
  background-color: var(--color-white);
  border: 1px solid rgba(171, 146, 116, 0.25);
  box-shadow: var(--shadow-soft);
}

.section-light .testimonial-text {
  color: var(--color-steel);
}

.section-light .testimonial-author {
  color: var(--color-navy);
}

.section-light .testimonial-video-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 10px 25px rgba(11, 22, 40, 0.1);
}

.section-light .blog-card {
  background-color: var(--color-white);
  border: 1px solid rgba(171, 146, 116, 0.25);
  box-shadow: var(--shadow-soft);
}

.section-light .blog-card h3 a {
  color: var(--color-navy);
}

.section-light .blog-card h3 a:hover {
  color: var(--color-gold);
}

.section-light .blog-card-excerpt {
  color: var(--color-gray);
}

.section-light .blog-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 10px 25px rgba(11, 22, 40, 0.1);
}

.section-light .course-card {
  background-color: var(--color-white);
  border: 1px solid rgba(171, 146, 116, 0.25);
  box-shadow: var(--shadow-soft);
}

.section-light .course-card h3 {
  color: var(--color-navy);
}

.section-light .course-card-excerpt {
  color: var(--color-gray);
}

.section-light .course-card-footer {
  border-top: 1px solid rgba(11, 22, 40, 0.08);
}

.section-light .course-price-info {
  color: var(--color-gray);
}

.section-light .course-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 10px 25px rgba(11, 22, 40, 0.1);
}

/* Additional Inner Elements Overrides for Light Sections */
.section-light .glass-card {
  background: rgba(11, 22, 40, 0.03);
  border: 1px solid rgba(171, 146, 116, 0.2);
}

.section-light .glass-card h4 {
  color: var(--color-navy) !important;
}

.section-light .glass-card p {
  color: var(--color-gray) !important;
}

.section-light .course-syllabus-item {
  border-bottom-color: rgba(11, 22, 40, 0.08);
}

.section-light .course-syllabus-item h3 {
  color: var(--color-navy) !important;
}

.section-light .course-syllabus-item p {
  color: var(--color-gray);
}

.section-light .article-content h2,
.section-light .article-content h3 {
  color: var(--color-navy) !important;
}

/* ==========================================
   TEACHERS MODAL & POP-UP
   ========================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--color-navy);
  border: 1px solid rgba(171, 146, 116, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.5rem;
  width: 90%;
  max-width: 500px;
  box-shadow: var(--shadow-premium);
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--color-beige);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-gold);
}

.modal-content {
  text-align: center;
}

.modal-thumb-container {
  width: 110px;
  height: 110px;
  border-radius: var(--border-radius-full);
  border: 2px solid var(--color-gold);
  overflow: hidden;
  margin: 0 auto 1.5rem;
  background-color: var(--color-dark-bg);
}

.modal-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.modal-name {
  font-size: 1.6rem;
  color: var(--color-cream);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.modal-role {
  font-size: 0.85rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-heading);
  display: block;
  margin-bottom: 1.5rem;
}

.modal-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.modal-bio-container {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.modal-bio-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-beige);
  margin-bottom: 0;
  text-align: justify;
}

.modal-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.modal-page-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-gold);
  width: 38px;
  height: 38px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-page-btn:hover:not(:disabled) {
  background: var(--color-gold);
  color: var(--color-dark-bg);
  border-color: var(--color-gold);
}

.modal-page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.modal-page-indicator {
  font-size: 0.8rem;
  font-family: var(--font-heading);
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================
   PROFESSOR INTERACTIVE CARDS (FACULTY GRID)
   ========================================== */
.prof-card-interactive {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(171, 146, 116, 0.15);
  border-radius: var(--border-radius-lg);
  background: rgba(245, 245, 247, 0.6);
  cursor: pointer;
  transition: var(--transition-smooth);
  user-select: none;
}

.prof-card-interactive:hover {
  border-color: rgba(171, 146, 116, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(29, 60, 86, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.prof-card-interactive:active {
  transform: translateY(-1px);
}

.prof-card-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
  flex-shrink: 0;
  filter: grayscale(40%);
  transition: var(--transition-smooth);
}

.prof-card-interactive:hover .prof-card-thumb {
  filter: grayscale(0%);
  border-color: var(--color-navy);
}

.prof-card-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(171, 146, 116, 0.35);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-navy), #2a5070);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: var(--transition-smooth);
}

.prof-card-interactive:hover .prof-card-initials {
  border-color: var(--color-gold);
}

.prof-card-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.3;
}

.professor-photo-card {
  padding: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  border: 1px solid rgba(171, 146, 116, 0.2);
  border-radius: var(--border-radius-lg);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-navy);
  font-size: 0.88rem;
  font-weight: 600;
}

.professor-photo-card img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
  flex-shrink: 0;
}

.professor-bio-btn {
  margin-left: auto;
  padding: 0.48rem 0.75rem;
  border: 1px solid var(--color-gold);
  border-radius: var(--border-radius-full);
  background: transparent;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.professor-bio-btn:hover {
  background: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* ==========================================
   ESTRUTURA DENTAL PRESS - NEW GALLERY
   ========================================== */
.structure-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 4rem;
  margin-top: 1.5rem;
}

.structure-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  height: 180px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(171, 146, 116, 0.15);
  transition: var(--transition-smooth);
}

.structure-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.structure-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(11, 22, 40, 0.9) 0%, rgba(11, 22, 40, 0.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  transition: var(--transition-smooth);
}

.structure-item:hover .structure-overlay {
  background: linear-gradient(to top, rgba(11, 22, 40, 0.95) 15%, rgba(11, 22, 40, 0.4) 75%);
}

.structure-item:hover img {
  transform: scale(1.05);
}

.structure-title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.structure-subtitle {
  color: var(--color-gold);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
  font-weight: 500;
}

/* Responsive grid */
@media (max-width: 768px) {
  .structure-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.8rem;
  }
  .structure-item {
    height: 150px;
  }
  .structure-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .structure-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem;
  }
  .structure-item {
    height: 130px;
  }
  .structure-overlay {
    padding: 0.8rem;
  }
  .structure-title {
    font-size: 0.85rem;
  }
}

/* ==========================================
   CUSTOM INSTITUTIONAL VIDEO PLAYER
   ========================================== */
.video-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  aspect-ratio: 16/9;
  cursor: pointer;
  background: var(--color-navy);
  border: 1px solid rgba(171, 146, 116, 0.15);
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 40, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 2;
}

.play-button-outer {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.play-button-inner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.4rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(171, 146, 116, 0.4);
}

.video-container:hover .play-button-outer {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.9);
}

.video-container:hover .play-button-inner {
  background: #c3a273;
  box-shadow: 0 6px 20px rgba(171, 146, 116, 0.6);
}

/* ==========================================
   STRUCTURE GALLERY MODAL
   ========================================== */
.structure-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(11, 22, 40, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.structure-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.structure-modal-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(171, 146, 116, 0.25);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  position: relative;
}

.structure-modal.active .structure-modal-card {
  transform: scale(1);
}

.structure-modal-image-pane {
  flex: 1.2;
  background: var(--color-navy);
  position: relative;
  min-height: 400px;
}

.structure-modal-image-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.structure-modal-content-pane {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-white);
  color: var(--color-navy);
}

.structure-modal-subtitle {
  font-size: 0.8rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.structure-modal-title {
  font-size: 1.8rem;
  font-family: var(--font-family-serif);
  color: var(--color-navy);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.structure-modal-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-gray);
  margin-bottom: 2rem;
}

.structure-modal-close-btn {
  align-self: flex-start;
  padding: 0.8rem 2rem;
  background: var(--color-navy);
  color: var(--color-white);
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.structure-modal-close-btn:hover {
  background: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(171, 146, 116, 0.3);
}

.structure-modal-close-x {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-navy);
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.structure-modal-close-x:hover {
  color: var(--color-gold);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .structure-modal-card {
    flex-direction: column;
    max-height: 95vh;
    overflow-y: auto;
  }
  
  .structure-modal-image-pane {
    min-height: 220px;
    height: 220px;
    flex: none;
  }
  
  .structure-modal-content-pane {
    padding: 1.5rem;
    flex: none;
  }
  
  .structure-modal-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  
  .structure-modal-description {
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
  }
  
  .structure-modal-close-x {
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }
}

/* ==========================================
   GLOBAL TYPOGRAPHY OPTIMIZATION (READABILITY)
   ========================================== */
p, li, .faq-body, .blog-card-content p, .article-content p, .article-content li, 
.structure-modal-description {
  font-weight: 400 !important;
  font-size: 1.04rem !important;
}

/* Keep card subtexts slightly smaller but with better contrast */
.course-card-content p, .blog-card-meta {
  font-size: 0.95rem !important;
  font-weight: 400 !important;
}

p {
  line-height: 1.65 !important;
}

li {
  line-height: 1.6 !important;
}
