@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.webp') 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;
  flex-wrap: wrap;
  align-items: center;
  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;
}


/* ==========================================
   HERO DOS CURSOS — LAYOUT COMPARTILHADO
   ========================================== */

/* Grid principal */
.page-hero-ortodontia .hero-ortodontia-grid,
.page-hero-resinas-imersao .resinas-hero-grid,
.page-hero-laminados-imersao .laminados-hero-grid,
.page-hero-dtm-ortodontistas-imersao .dtm-orto-hero-grid,
.page-hero-ortopedia-interceptiva .ortopedia-infantil-hero-grid,
.page-hero-dtm-capacitacao .dtm-capacitacao-hero-grid,
.page-hero-ortodontia-especializacao .especializacao-orto-hero-grid,
.page-hero-protese .protese-hero-grid,
.page-hero-dentistica-aperfeicoamento .dentistica-hero-grid,
.page-hero-estetica-aperfeicoamento .estetica-hero-grid ,
.page-hero-alinhadores .alinhadores-hero-grid,
.page-hero-dtm-excelencia .dtm-excelencia-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 5rem;
  align-items: center;
}

/* ==========================================
   CONTEÚDO DO HERO — TODOS OS CURSOS
   ========================================== */

/* Coluna esquerda */
.hero-ortodontia-content,
.resinas-hero-content,
.laminados-hero-content,
.dtm-orto-hero-content,
.ortopedia-infantil-hero-content,
.dtm-capacitacao-hero-content,
.especializacao-orto-hero-content,
.protese-hero-content,
.dentistica-hero-content,
.estetica-hero-content ,
.alinhadores-hero-content ,
.dtm-excelencia-hero-content {
  min-width: 0;
  max-width: 720px;
}

/* Tags do curso */
.hero-ortodontia-content .course-meta-tags,
.resinas-hero-content .course-meta-tags,
.laminados-hero-content .course-meta-tags,
.dtm-orto-hero-content .course-meta-tags,
.ortopedia-infantil-hero-content .course-meta-tags,
.dtm-capacitacao-hero-content .course-meta-tags,
.especializacao-orto-hero-content .course-meta-tags,
.protese-hero-content .course-meta-tags,
.dentistica-hero-content .course-meta-tags,
.estetica-hero-content .course-meta-tags ,
.alinhadores-hero-content .course-meta-tags ,
.dtm-excelencia-hero-content .course-meta-tags {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Data do curso */
.hero-course-date {
  font-size: 0.85rem;
  color: var(--color-beige);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Títulos */
.hero-ortodontia-content h1,
.resinas-hero-content h1,
.laminados-hero-content h1,
.dtm-orto-hero-content h1,
.ortopedia-infantil-hero-content h1,
.dtm-capacitacao-hero-content h1,
.especializacao-orto-hero-content h1,
.protese-hero-content h1,
.dentistica-hero-content h1,
.estetica-hero-content h1 ,
.alinhadores-hero-content h1 ,
.dtm-excelencia-hero-content h1 {
  margin-top: 1rem;
}

/* Tipografia específica */
.resinas-hero-content h1,
.laminados-hero-content h1,
.dtm-orto-hero-content h1,
.dtm-capacitacao-hero-content h1,
.protese-hero-content h1,
.dentistica-hero-content h1,
.estetica-hero-content h1,
.alinhadores-hero-content h1,
.dtm-excelencia-hero-content h1 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.15;
  color: var(--color-white);
}

/* Descrições */
.hero-ortodontia-description,
.resinas-hero-content>p,
.laminados-hero-content>p,
.dtm-orto-hero-content>p,
.ortopedia-infantil-hero-content>p,
.dtm-capacitacao-hero-content>p,
.especializacao-orto-hero-content>p,
.protese-hero-content>p,
.dentistica-hero-content>p,
.estetica-hero-content>p ,
.alinhadores-hero-content>p,
.dtm-excelencia-hero-content>p {
  max-width: 650px;
  color: var(--color-beige);
  margin-top: 1rem;
  margin-bottom: 0;
}

/* =========================================================
   CARD DE PAGAMENTO
   ========================================================= */

.hero-payment-card {
  width: 100%;
  max-width: 470px;
  justify-self: end;

  padding: 2.5rem 2.75rem;

  background: rgba(15, 15, 15, 0.48);

  border: 1px solid rgba(171, 146, 116, 0.35);
  border-radius: 16px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  text-align: center;

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.hero-payment-label {
  display: block;

  margin-bottom: 0.8rem;

  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.18em;

  color: var(--color-gold);
}

.hero-payment-price {
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1;

  color: var(--color-cream);
}

.hero-payment-module {
  margin-top: 0.5rem;

  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;

  text-transform: uppercase;
  letter-spacing: 0.08em;

  color: var(--color-beige);
}

.hero-payment-divider {
  width: 55px;
  height: 2px;

  margin: 1.5rem auto;

  background: var(--color-gold);
}

.hero-payment-installments {
  margin-bottom: 1.5rem;

  font-size: 0.95rem;
  font-weight: 300;

  color: var(--color-beige);
}

.hero-payment-installments strong {
  color: var(--color-cream);
  font-weight: 600;
}


/* =========================================================
   BOTÃO
   ========================================================= */

.hero-payment-button {
  width: 100%;

  background: var(--color-gold);
  color: var(--color-dark-bg);

  font-weight: 600;

  border: 1px solid var(--color-gold);

  white-space: nowrap;
}

.hero-payment-button:hover {
  background: var(--color-cream);
  color: var(--color-navy);

  border-color: var(--color-cream);

  transform: translateY(-2px);

  box-shadow: var(--shadow-glow);
}


/* ==========================================
   RESPONSIVIDADE — HERO DOS CURSOS
   ========================================== */

/* Tablet */
@media (max-width: 1024px) {

  .page-hero-ortodontia .hero-ortodontia-grid,
  .page-hero-resinas-imersao .resinas-hero-grid,
  .page-hero-laminados-imersao .laminados-hero-grid,
  .page-hero-dtm-ortodontistas-imersao .dtm-orto-hero-grid,
  .page-hero-ortopedia-interceptiva .ortopedia-infantil-hero-grid,
  .page-hero-dtm-capacitacao .dtm-capacitacao-hero-grid,
  .page-hero-ortodontia-especializacao .especializacao-orto-hero-grid,
  .page-hero-protese .protese-hero-grid,
  .page-hero-dentistica-aperfeicoamento .dentistica-hero-grid,
  .page-hero-estetica-aperfeicoamento .estetica-hero-grid,
  .page-hero-alinhadores .alinhadores-hero-grid,
  .page-hero-dtm-excelencia .dtm-excelencia-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
    gap: 2.5rem;
  }

  .hero-payment-card {
    padding: 2rem;
  }

}

/* ==========================================
   MOBILE — HERO DOS CURSOS
   ========================================== */

@media (max-width: 768px) {

  /* Espaçamento do Hero */
  .page-hero-ortodontia,
  .page-hero-resinas-imersao,
  .page-hero-laminados-imersao,
  .page-hero-dtm-ortodontistas-imersao,
  .page-hero-ortopedia-interceptiva,
  .page-hero-dtm-capacitacao,
  .page-hero-ortodontia-especializacao,
  .page-hero-protese,
  .page-hero-dentistica-aperfeicoamento,
  .page-hero-estetica-aperfeicoamento,
  .page-hero-alinhadores ,
  .page-hero-dtm-excelencia {
    padding: 8rem 0 4rem;
  }

  /* Grid em uma coluna */
  .page-hero-ortodontia .hero-ortodontia-grid,
  .page-hero-resinas-imersao .resinas-hero-grid,
  .page-hero-laminados-imersao .laminados-hero-grid,
  .page-hero-dtm-ortodontistas-imersao .dtm-orto-hero-grid,
  .page-hero-ortopedia-interceptiva .ortopedia-infantil-hero-grid,
  .page-hero-dtm-capacitacao .dtm-capacitacao-hero-grid,
  .page-hero-ortodontia-especializacao .especializacao-orto-hero-grid,
  .page-hero-protese .protese-hero-grid,
  .page-hero-dentistica-aperfeicoamento .dentistica-hero-grid,
  .page-hero-estetica-aperfeicoamento .estetica-hero-grid ,
  .page-hero-alinhadores .alinhadores-hero-grid,
  .page-hero-dtm-excelencia .dtm-excelencia-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  /* Coluna de conteúdo */
  .hero-ortodontia-content,
  .resinas-hero-content,
  .laminados-hero-content,
  .dtm-orto-hero-content,
  .ortopedia-infantil-hero-content,
  .dtm-capacitacao-hero-content,
  .especializacao-orto-hero-content,
  .protese-hero-content,
  .dentistica-hero-content,
  .estetica-hero-content ,
  .alinhadores-hero-content,
  .dtm-excelencia-hero-content {
    min-width: 0;
    max-width: 100%;
  }

  /* Títulos dos quatro cursos afetados */
  .page-hero-ortopedia-interceptiva .ortopedia-infantil-hero-content h1,
  .page-hero-dtm-capacitacao .dtm-capacitacao-hero-content h1,
  .page-hero-ortodontia-especializacao .especializacao-orto-hero-content h1,
  .page-hero-protese .protese-hero-content h1,
  .page-hero-dentistica-aperfeicoamento .dentistica-hero-content h1,
  .page-hero-estetica-aperfeicoamento .estetica-hero-content h1,
  .page-hero-alinhadores .alinhadores-hero-content h1,
  .page-hero-dtm-excelencia .dtm-excelencia-hero-content h1 {
    font-size: clamp(1.7rem, 7.5vw, 2.2rem) !important;
    line-height: 1.15;
    letter-spacing: 0.025em;
    overflow-wrap: anywhere;
    max-width: 100%;
  }

  /* Subtítulo de dupla certificação */
  .page-hero-protese .protese-hero-content h2 {
    font-size: clamp(1.1rem, 4.4vw, 1.35rem) !important;
    line-height: 1.35;
    letter-spacing: 0.01em;
    margin-bottom: 0.75rem;
    padding-bottom: 0;
    overflow-wrap: anywhere;
  }

  /* Card de pagamento */
  .hero-payment-card {
    max-width: 100%;
    justify-self: stretch;
    padding: 2rem 1.5rem;
  }

  .hero-payment-price {
    font-size: 3rem;
  }

}

/* ==========================================
   MOBILE PEQUENO
   ========================================== */

@media (max-width: 480px) {

  /* Espaçamento entre etiquetas */
  .hero-ortodontia-content .course-meta-tags,
  .resinas-hero-content .course-meta-tags,
  .laminados-hero-content .course-meta-tags,
  .dtm-orto-hero-content .course-meta-tags,
  .ortopedia-infantil-hero-content .course-meta-tags,
  .dtm-capacitacao-hero-content .course-meta-tags,
  .especializacao-orto-hero-content .course-meta-tags,
  .protese-hero-content .course-meta-tags,
  .dentistica-hero-content .course-meta-tags,
  .estetica-hero-content .course-meta-tags,
  .alinhadores-hero-content .course-meta-tags,
  .dtm-excelencia-hero-content .course-meta-tags {
    gap: 0.5rem;
  }

  /* Data em uma linha separada */
  .hero-course-date {
    width: 100%;
    margin-top: 0.3rem;
  }

  /* Card de pagamento */
  .hero-payment-card {
    padding: 1.7rem 1.2rem;
  }

  .hero-payment-price {
    font-size: 2.7rem;
  }

  .hero-payment-button {
    padding-left: 1rem;
    padding-right: 1rem;
  }

}


.course-payment-cta {
  width: 100%;
  margin: 3.5rem 0 4rem;

  background: var(--color-navy);

  border: 1px solid rgba(171, 146, 116, 0.25);
  border-radius: var(--border-radius-lg);

  padding: 2.2rem 2.4rem;

  box-shadow: var(--shadow-soft);
}

.course-payment-cta__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}


/* =========================
   PARTE SUPERIOR
   ========================= */

.course-payment-cta__info {
  width: 100%;
}

.course-payment-cta__eyebrow {
  display: block;

  margin-bottom: 0.45rem;

  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.14em;

  color: var(--color-gold);
}

.course-payment-cta__title {
  margin: 0 0 0.5rem 0;

  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.15;

  color: var(--color-white);
}

.course-payment-cta__description {
  margin: 0;

  font-size: 0.95rem;
  line-height: 1.5;

  color: var(--color-beige);
}


/* =========================
   DIVISÓRIA
   ========================= */

.course-payment-cta__info::after {
  content: "";

  display: block;

  width: 100%;
  height: 1px;

  margin-top: 1.6rem;

  background: rgba(255, 255, 255, 0.1);
}


/* =========================
   PREÇO
   ========================= */

.course-payment-cta__price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  min-width: 0;

  padding: 0;

  border: 0;
}

.course-payment-cta__installment-label {
  margin-bottom: 0.2rem;

  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;

  text-transform: uppercase;
  letter-spacing: 0.08em;

  color: var(--color-beige);
}

.course-payment-cta__value {
  font-family: var(--font-heading);

  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;

  color: var(--color-cream);
}

.course-payment-cta__payment-text {
  margin-top: 0.45rem;

  font-size: 0.8rem;

  color: var(--color-beige);
}


/* =========================
   PARTE INFERIOR:
   PREÇO + BOTÃO
   ========================= */

.course-payment-cta__price {
  grid-column: 1;
}

.course-payment-cta__button {
  min-width: 210px;

  background: var(--color-gold);
  color: var(--color-dark-bg);

  border: 1px solid var(--color-gold);

  white-space: nowrap;
}


/* Aqui transformamos price + button em uma linha */
.course-payment-cta__content {
  grid-template-columns: minmax(0, 1fr) auto;
}

/* O bloco de texto ocupa toda a primeira linha */
.course-payment-cta__info {
  grid-column: 1 / -1;
}

/* Segunda linha */
.course-payment-cta__price {
  grid-column: 1;
  grid-row: 2;

  align-self: center;
}

.course-payment-cta__button {
  grid-column: 2;
  grid-row: 2;

  align-self: center;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

  .course-payment-cta {
    margin: 2.5rem 0 3rem;

    padding: 1.8rem 1.3rem;
  }

  .course-payment-cta__content {
    grid-template-columns: 1fr;
    gap: 1.5rem;

    text-align: center;
  }

  .course-payment-cta__info {
    grid-column: 1;
  }

  .course-payment-cta__price {
    grid-column: 1;
    grid-row: auto;

    align-items: center;
  }

  .course-payment-cta__button {
    grid-column: 1;
    grid-row: auto;

    width: 100%;
    min-width: 0;
  }

}


/* ==========================================
   FAQ — CURSOS COM FUNDO CLARO
   ========================================== */

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

.section-light .course-faq .faq-item.active {
  background-color: var(--color-white);
  border-color: var(--color-gold);
}

/* Cabeçalho clicável */
.section-light .course-faq .faq-header {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  color: var(--color-navy);
  font-family: var(--font-heading);
}

/* Texto das perguntas */
.section-light .course-faq .faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-navy);
  transition: var(--transition-fast);
}

/* Destaque da pergunta aberta */
.section-light .course-faq .faq-item.active .faq-question {
  color: var(--color-gold);
}

/* Ícone de abertura */
.section-light .course-faq .faq-icon {
  flex-shrink: 0;
  margin-left: 1rem;
}

/* Texto das respostas */
.section-light .course-faq .faq-body p {
  color: var(--color-steel);
  line-height: 1.7;
  margin-bottom: 0;
  padding-bottom: 1.5rem;
}

/* Evita que o padding animado corte o conteúdo */
.section-light .course-faq .faq-item.active .faq-body {
  padding-bottom: 0;
}

/* Navegação por teclado */
.section-light .course-faq .faq-header:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: -4px;
}

/* Responsividade */
@media (max-width: 768px) {
  .section-light .course-faq .faq-header {
    padding: 1.2rem;
  }

  .section-light .course-faq .faq-body {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .section-light .course-faq .faq-question {
    font-size: 1rem;
  }
}

/* ==========================================
   VANTAGENS DOS CURSOS
   ========================================== */

.section-light .course-advantages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-light .course-advantage-card {
  background: var(--color-white);
  border: 1px solid rgba(171, 146, 116, 0.25);
  border-radius: var(--border-radius-md);
  padding: 1.7rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.section-light .course-advantage-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

/* Último card ocupa toda a largura somente
   quando a quantidade de cards é ímpar */
.section-light .course-advantages .course-advantage-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* Ícones */
.section-light .course-advantage-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-md);
  background: rgba(171, 146, 116, 0.12);
  color: var(--color-gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Títulos */
.section-light .course-advantage-card h3 {
  color: var(--color-navy);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.7rem;
  letter-spacing: 0;
}

/* Descrições */
.section-light .course-advantage-card p {
  color: var(--color-steel);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Links externos */
.section-light .course-advantage-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 600;
}

.section-light .course-advantage-link:hover {
  color: var(--color-navy);
}

.section-light .course-advantage-link i {
  font-size: 0.75rem;
}

/* Mobile */
@media (max-width: 768px) {
  .section-light .course-advantages {
    grid-template-columns: 1fr;
  }

  .section-light .course-advantage-card {
    padding: 1.5rem;
  }

  .section-light .course-advantage-card:last-child {
    grid-column: auto;
  }
}

/* ==========================================
   POLÍTICA DE CANCELAMENTO
   ========================================== */
.policy-content {
  max-width: 860px;
}

.policy-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.policy-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--color-steel);
  line-height: 1.7;
}

.policy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: var(--border-radius-full);
  background-color: var(--color-gold);
}

.policy-list a {
  color: var(--color-navy);
  font-weight: 600;
  text-decoration: underline;
}

.section-light h2.policy-subtitle {
  font-size: 1.3rem;
  color: var(--color-navy);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

/* Link discreto para a política na barra lateral dos cursos */
.sidebar-policy-link {
  display: block;
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--color-gray);
  text-decoration: none;
  transition: var(--transition-fast);
}

.sidebar-policy-link:hover,
.sidebar-policy-link:focus-visible {
  color: var(--color-beige);
  text-decoration: underline;
}

/* ==========================================
   HERO DOS CURSOS — FORMULÁRIO BITRIX24
   O formulário é gerado pelo Bitrix (mesma lógica, validação e envio);
   aqui só ajustamos o visual ao layout do site, via variáveis do próprio Bitrix.
   ========================================== */
.hero-form-card {
  width: 100%;
  max-width: 470px;
  min-height: 420px;
  justify-self: end;
  align-self: center;
  padding: 2rem 2.25rem 1.5rem;
  background: rgba(15, 15, 15, 0.55);
  border: 1px solid rgba(171, 146, 116, 0.35);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

/* Enquanto o Bitrix carrega */
.hero-form-card:not(:has(.b24-form))::before {
  content: 'Carregando formulário…';
  display: block;
  padding-top: 8rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-beige);
  opacity: 0.7;
}

.hero-form-card:has(.b24-form) {
  min-height: 0;
}

.hero-form-fallback {
  margin: 0;
  color: var(--color-beige);
  text-align: center;
}

/* Tema do Bitrix com as cores do site (sobrepõe o tema configurado no CRM) */
.hero-form-card .b24-form-dark,
.hero-form-card .b24-form [id^="b24-"] {
  --b24-primary-color: #ab9274 !important;
  --b24-primary-hover-color: #dbd2c1 !important;
  --b24-primary-text-color: #0f0f0f !important;
  --b24-text-color: #ffffff !important;
  --b24-background-color: transparent !important;
  --b24-field-border-color: rgba(171, 146, 116, 0.35) !important;
  --b24-field-background-color: rgba(255, 255, 255, 0.06) !important;
  --b24-field-focus-background-color: rgba(255, 255, 255, 0.1) !important;
  --b24-popup-background-color: #0b1628 !important;
  --b24-font-family: 'Raleway', sans-serif !important;
}

.hero-form-card .b24-form-wrapper {
  min-height: 0;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}

.hero-form-card .b24-form-padding-side {
  padding-left: 0;
  padding-right: 0;
}

.hero-form-card .b24-form-header {
  padding-top: 0;
  padding-bottom: 1rem;
  border: 0;
}

.hero-form-card .b24-form-header-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--color-cream);
}

.hero-form-card .b24-form-header-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  margin: 0.9rem auto 0;
  background-color: var(--color-gold);
  border-radius: var(--border-radius-full);
}

.hero-form-card .b24-form-content {
  padding-bottom: 0;
}

.hero-form-card .b24-form-control {
  border-radius: var(--border-radius-md);
}

.hero-form-card .b24-form-control:focus {
  border-color: var(--color-gold);
}

.hero-form-card .b24-form-control-label {
  color: rgba(255, 255, 255, 0.65);
}

.hero-form-card .b24-form-control-comment {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--color-beige);
  opacity: 0.85;
}

.hero-form-card .b24-form-field-agreement-link,
.hero-form-card .b24-form-control-desc {
  font-size: 0.85rem;
  color: var(--color-beige);
}

.hero-form-card .b24-form-control-agreement input[type="checkbox"] {
  accent-color: var(--color-gold);
}

.hero-form-card .b24-form-btn {
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: none;
}

.hero-form-card .b24-form-btn:hover {
  box-shadow: var(--shadow-glow);
}

.hero-form-card .b24-form-btn:focus-visible {
  outline: 2px solid var(--color-cream);
  outline-offset: 2px;
}

/* Mensagens de sucesso/erro do Bitrix sobre o fundo escuro */
.hero-form-card .b24-form-state {
  background-color: rgba(11, 22, 40, 0.92);
  border-radius: 12px;
}

.hero-form-card .b24-form-sign {
  padding-left: 0;
  padding-right: 0;
  opacity: 0.6;
}

@media (max-width: 1024px) {
  .hero-form-card {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-form-card {
    max-width: 100%;
    justify-self: stretch;
    padding: 1.75rem 1.5rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-form-card {
    padding: 1.5rem 1.1rem 1rem;
  }

  .hero-form-card .b24-form-header-title {
    font-size: 1.2rem;
  }
}

/* ==========================================
   CURSOS — ORDEM NO CELULAR/TABLET
   Quando o layout vira uma coluna, "Informações Gerais" aparece antes de "Sobre o Curso".
   No computador (duas colunas) nada muda.
   ========================================== */
@media (max-width: 1024px) {
  .course-details-grid > :has(> .course-info-sidebar) {
    order: -1;
  }

  .course-details-grid .course-info-sidebar {
    margin-top: 0;
  }
}

/* "Inscreva-se já" (barra lateral) leva ao formulário sem que o cabeçalho fixo o cubra */
#formulario-inscricao {
  scroll-margin-top: 110px;
}

/* ==========================================
   PÁGINAS DE OBRIGADO (obrigado/<curso>.html)
   ========================================== */
.thanks-page {
  min-height: 80vh;
  padding: 160px 0 100px;
  background:
    radial-gradient(ellipse at top, rgba(171, 146, 116, 0.12), transparent 60%),
    var(--color-dark-bg);
}

.thanks-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2.5rem 2.5rem;
  text-align: center;
  background-color: var(--color-navy);
  border: 1px solid rgba(171, 146, 116, 0.3);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-premium);
}

.thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1.25rem;
  border-radius: var(--border-radius-full);
  background-color: rgba(171, 146, 116, 0.15);
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  font-size: 1.8rem;
}

.thanks-eyebrow,
.thanks-box-eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.thanks-title {
  margin: 0.6rem 0 1rem;
  font-size: 2.2rem;
  text-transform: none;
  color: var(--color-white);
}

.thanks-text {
  max-width: 520px;
  margin: 0 auto 2.25rem;
  font-size: 1.05rem;
  color: var(--color-beige);
}

.thanks-text strong {
  color: var(--color-cream);
  font-weight: 600;
}

.thanks-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
  text-align: center;
}

.thanks-buy,
.thanks-talk {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.75rem 1.5rem;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.thanks-buy {
  border-color: rgba(171, 146, 116, 0.45);
}

.thanks-buy__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.thanks-buy__label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-beige);
}

.thanks-buy__value {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  line-height: 1.1;
  color: var(--color-cream);
}

.thanks-buy__text {
  font-size: 0.85rem;
  color: var(--color-beige);
}

.thanks-btn {
  width: 100%;
  gap: 0.6rem;
  padding: 0.95rem 1.25rem;
}

.thanks-policy-link {
  font-size: 0.75rem;
  color: var(--color-gray);
}

.thanks-policy-link:hover {
  color: var(--color-beige);
  text-decoration: underline;
}

.thanks-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-beige);
}

.thanks-back:hover {
  color: var(--color-gold);
}

@media (max-width: 768px) {
  .thanks-page {
    padding: 120px 0 64px;
  }

  .thanks-card {
    padding: 2.25rem 1.25rem 1.75rem;
  }

  .thanks-title {
    font-size: 1.7rem;
  }

  .thanks-buy__value {
    font-size: 2.2rem;
  }
}

/* ==========================================
   PROGRAMAÇÃO CIENTÍFICA (aula a aula) – Excelência em Ortodontia
   ========================================== */
.prog-2027 {
  margin-bottom: 1rem;
}

.prog-modulo {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(171, 146, 116, 0.15);
}

.prog-modulo:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.prog-modulo__topo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.prog-modulo__topo .syllabus-module-num {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.prog-modulo__datas {
  padding: 0.2rem 0.5rem;
  border-radius: var(--border-radius-sm);
  background: rgba(171, 146, 116, 0.15);
  color: var(--color-gold);
  font-size: 0.8rem;
  font-weight: 500;
}

.prog-aulas {
  list-style: none;
  margin: 0;
  padding: 0;
}

.prog-aula {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(11, 22, 40, 0.07);
}

.prog-aula:first-child {
  border-top: 0;
}

.prog-aula__quando {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: var(--font-heading);
}

.prog-aula__dia {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
}

.prog-aula__hora {
  font-size: 0.8rem;
  color: var(--color-gray);
}

.prog-aula__oque {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.prog-aula__tema {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-navy);
}

.prog-aula__prof {
  font-size: 0.88rem;
  color: #7a6448;
}

.section-light .prog-nota {
  margin: 0 0 3rem;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--color-gray);
}

@media (max-width: 560px) {
  .prog-aula {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
  }

  .prog-aula__quando {
    flex-direction: row;
    gap: 0.6rem;
  }
}
