/* ==========================================================
   ESCOLA BATISTA VIDA PLENA — Estilos da Página Inicial
   ========================================================== */

/* ── Hero Carrossel de Banners ───────────────────────────── */
.hero-carousel-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-primary-dark);
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 580px;
  max-height: 860px;
  overflow: hidden;
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hero-slide-link picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 7s ease-out;
}

.hero-slide.is-active .hero-slide-img {
  transform: scale(1);
}

/* Overlay sutil para garantir contraste nos textos e botões */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 62, 128, 0.35) 0%,
    rgba(0, 0, 0, 0.05) 45%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
}

/* ── Botões de Ação Dentro do Slide (Minimalistas / Elegantes) ── */
.hero-slide-badge-btn {
  position: absolute;
  bottom: clamp(35px, 6.5vw, 65px);
  left: clamp(24px, 5vw, 60px);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-primary-dark);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.hero-slide-badge-btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.hero-slide-badge-btn:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
}

.hero-slide-badge-btn:hover svg {
  transform: translateX(4px);
}

/* Botão Amarelo Destaque (ex: Matrículas) */
.hero-slide-badge-btn-accent {
  background: var(--color-accent) !important;
  color: var(--color-primary-dark) !important;
  border-color: var(--color-accent) !important;
  box-shadow: 0 10px 30px rgba(247, 222, 51, 0.4) !important;
}

.hero-slide-badge-btn-accent:hover {
  background: #fff154 !important;
  color: var(--color-primary-dark) !important;
  box-shadow: 0 14px 35px rgba(247, 222, 51, 0.6) !important;
}

/* Remover o botão de agendar a visita no banner de matrículas no desktop */
@media (min-width: 769px) {
  .hero-slide-matriculas .hero-slide-badge-btn {
    display: none !important;
  }

  /* Ocultar banners exclusivos de mobile no desktop */
  .hero-slide-mobile-only {
    display: none !important;
  }
}

/* Inverter a posição do botão no banner de programas para o lado direito */
.hero-slide-programas .hero-slide-badge-btn {
  left: auto;
  right: clamp(24px, 5vw, 60px);
}

/* ── Controles de Navegação (Setas) ───────────────────────── */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  transition: all var(--transition-fast);
}

.hero-nav-btn svg {
  width: 22px;
  height: 22px;
}

.hero-nav-prev {
  left: clamp(16px, 3vw, 36px);
}

.hero-nav-next {
  right: clamp(16px, 3vw, 36px);
}

.hero-nav-btn:hover {
  background: var(--color-white);
  color: var(--color-primary-dark);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* ── Paginação (Dots) ─────────────────────────────────────── */
.hero-carousel-pagination {
  position: absolute;
  bottom: clamp(16px, 3vw, 28px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: var(--space-2);
}

.hero-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
}

.hero-carousel-dot.is-active {
  width: 32px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 10px rgba(247, 222, 51, 0.7);
}

/* ── Barra de Progresso Autoplay ──────────────────────────── */
.hero-carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 7;
}

.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
  transition: width 0.1s linear;
}

/* ── Hero Clean (Fallback para páginas internas se usado) ─── */
.hero {
  min-height: 85vh;
  background: var(--gradient-hero);
  padding: calc(var(--nav-height) + var(--space-12)) 0 var(--space-16);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-content-clean {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: heroIn 0.8s ease both;
}

.hero-content-clean .hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}

.hero-content-clean .hero-title span {
  color: var(--color-accent);
  display: block;
}

.hero-content-clean .hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-10);
  max-width: 680px;
  margin-inline: auto;
  font-weight: var(--fw-normal);
}

.hero-content-clean .hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  /* Ocultar banners exclusivos de desktop no mobile */
  .hero-slide-desktop-only {
    display: none !important;
  }

  /* Hero Carousel com proporção dos banners verticais mobile (1080x1350 / 4:5) sem cortes */
  .hero-carousel {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    min-height: unset;
    max-height: calc(100vh - 64px);
    background: var(--color-primary-dark);
  }

  /* Desativar zoom out / scale no mobile conforme solicitado */
  .hero-slide-img,
  .hero-slide.is-active .hero-slide-img {
    transform: none !important;
    transition: none !important;
  }

  .hero-slide-overlay {
    background: linear-gradient(
      180deg,
      rgba(8, 45, 94, 0.24) 0%,
      rgba(0, 0, 0, 0) 38%,
      rgba(0, 0, 0, 0.25) 100%
    );
  }

  .hero-nav-btn {
    display: none;
  }

  .hero-scroll {
    display: none !important;
  }

  .hero-carousel-pagination {
    bottom: 10px;
    gap: 6px;
  }

  .hero-carousel-dot {
    width: 8px;
    height: 8px;
  }

  .hero-carousel-dot.is-active {
    width: 22px;
  }

  .hero-slide-badge-btn {
    bottom: 14px;
    left: 14px;
    padding: 8px 16px;
    font-size: var(--fs-xs);
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  }

  .hero-slide-badge-btn svg {
    width: 14px;
    height: 14px;
  }

  /* No banner de programas mobile, o botão fica à esquerda para não sobrepor as alunas no lado direito */
  .hero-slide-programas .hero-slide-badge-btn {
    left: 14px;
    right: auto;
    bottom: 14px;
  }
}

/* ── Aviãozinho de Papel Decorativo (GSAP MotionPath) ───── */
.paper-plane-container {
  position: absolute;
  top: 15px;
  right: 3%;
  width: clamp(280px, 36vw, 540px);
  height: auto;
  pointer-events: none;
  z-index: 4;
  overflow: visible;
}

.paper-plane-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  display: block;
}

@media (max-width: 768px) {
  .paper-plane-container {
    top: 66px;
    right: 2%;
    width: 160px;
    opacity: 0.85;
  }
}

/* ── Hero extras ─────────────────────────────────────────── */
.hero-scroll {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
  z-index: 3;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + var(--space-8)) 0 var(--space-12);
  }
  .hero-content-clean .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-content-clean .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }
  .hero-scroll {
    display: none;
  }
}

/* ── Programs Grid ───────────────────────────────────────── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

/* ── STEP Robot Animation Card ───────────────────────────── */
.program-card-step .banner-step {
  position: relative;
  overflow: hidden;
  background: #110526;
}

.step-banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Fundo 100% estático no card STEP: remove zoom no hover */
.program-card-step .step-banner-bg,
.program-card-step .program-card-banner img,
.program-card-step:hover .step-banner-bg,
.program-card-step:hover .program-card-banner img {
  transform: none !important;
  transition: none !important;
}

.step-robot-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  /* Sombra no container para evitar que a GPU pisque a bounding box do vídeo */
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.step-robot-video {
  position: absolute;
  height: 232px;
  width: auto;
  max-width: none;
  /* Posicionamento calibrado para apoiar os pés na linha divisória */
  bottom: -28px;
  left: 50%;
  transform: translateX(-35%) translateZ(0);
  pointer-events: none;
  background: transparent !important;
  background-color: transparent !important;
  opacity: 0;
  z-index: 1;
  /* Transição quase instantânea para impedir duplicação visual de robôs */
  transition: opacity 0.04s linear;
}

/* Apenas o vídeo estritamente ativo fica visível com prioridade */
.step-robot-video.is-active {
  opacity: 1;
  z-index: 2;
}

.program-card-step:hover {
  border-color: rgba(196, 74, 0, 0.3);
  box-shadow: 0 16px 40px rgba(196, 74, 0, 0.12);
}

/* ── Card English Stars: Animação do Aluno Lendo Livro ──── */
.english-banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Fundo 100% estático no card English Stars: remove zoom no hover */
.program-card-english .english-banner-bg,
.program-card-english .program-card-banner img,
.program-card-english:hover .english-banner-bg,
.program-card-english:hover .program-card-banner img {
  transform: none !important;
  transition: none !important;
}

.english-student-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.english-student-video {
  position: absolute;
  height: 160px;
  width: auto;
  max-width: none;
  /* Posicionamento calibrado para alinhar perfeitamente na mesma altura e proporção do robô */
  bottom: -6px;
  left: 50%;
  transform: translateX(-32%) translateZ(0);
  pointer-events: none;
  background: transparent !important;
  background-color: transparent !important;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.04s linear;
}

/* Apenas o vídeo estritamente ativo fica visível */
.english-student-video.is-active {
  opacity: 1;
  z-index: 2;
}

.program-card-english:hover {
  border-color: rgba(94, 23, 102, 0.3);
  box-shadow: 0 16px 40px rgba(94, 23, 102, 0.12);
}

/* ── Card Líder em Mim: Animação do Aluno ──── */
.lider-banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Fundo 100% estático no card Líder: remove zoom no hover */
.program-card-lider .lider-banner-bg,
.program-card-lider .program-card-banner img,
.program-card-lider:hover .lider-banner-bg,
.program-card-lider:hover .program-card-banner img {
  transform: none !important;
  transition: none !important;
}

.lider-student-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.lider-student-video {
  position: absolute;
  height: 160px; /* Será ajustado visualmente */
  width: auto;
  max-width: none;
  /* Posicionamento calibrado para alinhar perfeitamente na mesma altura e proporção do robô e english stars */
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  pointer-events: none;
  background: transparent !important;
  background-color: transparent !important;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.04s linear;
}

.lider-student-video.is-active {
  opacity: 1;
  z-index: 2;
}

.program-card-lider:hover {
  border-color: rgba(30, 99, 175, 0.3);
  box-shadow: 0 16px 40px rgba(30, 99, 175, 0.12);
}

/* ── Diferenciais ────────────────────────────────────────── */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-4);
}

.diferencial-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-gray-light);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.diferencial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.diferencial-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: var(--radius-xl);
  background: rgba(12, 62, 128, 0.07);
  color: var(--color-primary);
  margin-inline: auto;
  margin-bottom: var(--space-4);
  transition: transform var(--transition-normal), background var(--transition-normal), color var(--transition-normal);
}

.diferencial-card:hover .diferencial-icon {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.06);
}

.diferencial-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.diferencial-icon svg.svg-filled,
.diferencial-icon-filled svg {
  width: 46px;
  height: auto;
  max-height: 30px;
}

.diferencial-icon-filled svg path,
.diferencial-icon-filled svg rect {
  fill: currentColor !important;
  stroke: currentColor !important;
  stroke-linejoin: round !important;
  stroke-linecap: round !important;
  paint-order: stroke fill !important;
}

.diferencial-card h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.diferencial-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
  font-weight: var(--fw-medium);
}

/* ── Units Grid ──────────────────────────────────────────── */
.units-grid {
  gap: var(--space-8);
}

.unit-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
  color: var(--color-white);
}

/* ── Blog Preview ────────────────────────────────────────── */
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

/* ── Unidades (ícone compartilhado) ──────────────────────── */
.unit-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-accent);
  flex-shrink: 0;
}

.unit-info-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ── Contato (Design Limpo & Moderno) ────────────────────── */
.section-contato {
  background: linear-gradient(180deg, #ffffff 0%, rgba(12, 62, 128, 0.02) 100%);
  position: relative;
}

.contato-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: var(--space-12);
  align-items: center;
}

.contato-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.contato-info .section-label {
  text-align: left;
  margin-inline: 0;
  margin-left: 0;
  margin-right: auto;
  margin-bottom: var(--space-2);
}

.contato-info .section-title {
  text-align: left;
  margin-inline: 0;
  margin-left: 0;
  margin-right: auto;
  margin-bottom: var(--space-4);
  line-height: var(--lh-tight);
}

.contato-info .section-subtitle {
  text-align: left !important;
  margin-inline: 0 !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: 440px;
  margin-bottom: var(--space-6);
}

.contato-channels {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.contato-channel-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 8px rgba(12, 62, 128, 0.04);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.contato-channel-card:not(.static):hover {
  transform: translateY(-2px);
  border-color: rgba(12, 62, 128, 0.22);
  box-shadow: 0 8px 20px rgba(12, 62, 128, 0.07);
}

.contato-channel-card.static {
  cursor: default;
  background: rgba(12, 62, 128, 0.02);
  border-style: dashed;
}

.channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: rgba(12, 62, 128, 0.08);
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.contato-channel-card:hover .channel-icon {
  transform: scale(1.05);
}

.whatsapp-channel .channel-icon {
  background: rgba(37, 211, 102, 0.12);
  color: #128c7e;
}

.icon-calendar {
  background: rgba(76, 33, 159, 0.08);
  color: var(--color-secondary);
}

.icon-clock {
  background: rgba(12, 62, 128, 0.06);
  color: var(--color-primary);
}

.channel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.channel-title-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.channel-info strong {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-primary-dark);
}

.channel-info span {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  font-weight: var(--fw-medium);
}

.online-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  color: #15803d;
  background: rgba(34, 197, 94, 0.12);
  padding: 1px 8px;
  border-radius: var(--radius-full);
}

.online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.channel-arrow {
  color: var(--color-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.contato-channel-card:hover .channel-arrow {
  color: var(--color-primary);
  transform: translateX(3px);
}

/* ── Form Card ───────────────────────────────────────────── */
.contato-form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px -4px rgba(12, 62, 128, 0.08), 0 0 0 1px rgba(12, 62, 128, 0.04);
  padding: var(--space-8) var(--space-10);
  border: 1px solid var(--color-gray-light);
}

.form-card-header {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-gray-light);
}

.form-card-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-1);
}

.form-card-subtitle {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  font-weight: var(--fw-medium);
  margin: 0;
}

.form-actions-wrapper {
  margin-top: var(--space-6);
}

.btn-submit-contato {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

/* ── Responsive Home ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .diferenciais-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-preview-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .contato-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

@media (max-width: 768px) {
  .programs-grid,
  .blog-preview-grid {
    max-width: 100%;
  }

  .diferenciais-grid {
    grid-template-columns: 1fr 1fr;
  }

  .units-grid {
    grid-template-columns: 1fr;
  }

  .contato-form-wrapper {
    padding: var(--space-6);
  }
}

@media (max-width: 480px) {
  .diferenciais-grid {
    grid-template-columns: 1fr;
  }
}

