/* ============================================
   BM Centro de Treinamento — Correções estáticas
   Fixes aplicados pós-export do WordPress
   ============================================ */

/* ============================================
   1. ESPECIALIDADES — fotos com aspect ratios diferentes
   Força todas as imagens das colunas de especialidade a serem quadradas
   e usa object-fit:cover para cortar uniformemente
   ============================================ */
.elementor-section .elementor-image-box-img,
.elementor-section .elementor-image-box-wrapper .elementor-image-box-img,
.elementor-widget-image-box .elementor-image-box-img img,
.elementor-widget-image-box img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  width: 100% !important;
  height: auto;
}

/* Force columns in especialidades to have equal heights */
.elementor-section .elementor-container .elementor-column .elementor-widget-image-box img {
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center !important;
  max-height: 360px;
  width: 100% !important;
}

/* ============================================
   2. DEPOIMENTOS — players Vimeo minusculos
   Os iframes do Vimeo estao com largura insuficiente em desktop
   Forca largura mínima e aspect ratio correto
   ============================================ */
.elementor-widget-video iframe,
.elementor-custom-embed iframe,
iframe[src*="vimeo.com"],
iframe[src*="player.vimeo"] {
  width: 100% !important;
  min-width: 280px;
  aspect-ratio: 16 / 9;
  height: auto !important;
  display: block;
}

/* Container do video em mobile/desktop */
.elementor-widget-video,
.elementor-widget-video .elementor-widget-container,
.elementor-widget-video .elementor-wrapper {
  width: 100% !important;
  min-width: 280px;
}

/* ============================================
   3. MENU DESKTOP — links sem espacamento
   ============================================ */
nav.elementor-nav-menu--main ul.elementor-nav-menu li,
.elementor-nav-menu li {
  margin-right: 24px;
}

.elementor-nav-menu li a,
.elementor-nav-menu--main .elementor-nav-menu a {
  padding: 8px 14px !important;
  display: inline-block;
}

/* ============================================
   4. BOTAO PRIMARIO (Agendamento) — destacar
   ============================================ */
.elementor-button-link.elementor-button,
.elementor-button[href*="whatsapp"],
a[href*="api.whatsapp.com"].elementor-button {
  background-color: #25D366 !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.elementor-button[href*="whatsapp"]:hover,
a[href*="api.whatsapp.com"].elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* ============================================
   5. EQUIPE — uniformizar fotos
   ============================================ */
.elementor-image-gallery figure,
.elementor-image-gallery img,
.gallery img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  height: auto;
}

/* ============================================
   6. ESPACAMENTO GERAL — remover gaps grandes em colunas vazias
   ============================================ */
.elementor-column .elementor-widget-empty,
.elementor-column .elementor-empty {
  display: none;
}

/* ============================================
   7. FORMULARIO de agendamento — melhor styling
   ============================================ */
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="number"] {
  padding: 12px 14px !important;
  border-radius: 8px !important;
  border: 1px solid #ddd !important;
  font-size: 16px !important;
}

.wpforms-form button[type="submit"],
.wpforms-submit {
  background-color: #25D366 !important;
  color: #fff !important;
  padding: 14px 28px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer;
}
