/* Customizações para Bethel Educacional 2027 */

:root {
  --whatsapp-color: #25d366;
  --secondary-brand: #525fe1; /* Alinhado com a cor principal azul do template */
  --primary-brand: #0b104a; /* Alinhado com o azul escuro das fontes do template */
}

/* Botao Flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: var(--whatsapp-color);
  color: #FFF !important;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: #fff !important;
  transform: scale(1.1);
  text-decoration: none;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Personalizacoes dos Botoes CTA */
.btn_one {
  background: var(--secondary-brand) !important;
  color: #ffffff !important;
  border: 1px solid var(--secondary-brand) !important;
  font-weight: 600 !important;
  transition: all 0.3s ease;
  display: inline-block !important;
  vertical-align: middle;
  line-height: 1.5 !important;
}
.btn_one:hover {
  background: #f26b65 !important; /* Vermelho do hover do template original */
  color: #ffffff !important;
  border-color: #f26b65 !important;
}

/* Customização para botões outline primary */
.btn-outline-primary {
  color: var(--secondary-brand) !important;
  border-color: var(--secondary-brand) !important;
  border-width: 2px !important;
  font-weight: 600 !important;
  background-color: transparent !important;
  border-radius: 2px !important; /* Alinhado com o border-radius de 2px da classe btn_one do template */
  display: inline-block !important;
  vertical-align: middle;
  line-height: 1.5 !important;
}
.btn-outline-primary:hover {
  background-color: var(--secondary-brand) !important;
  color: #ffffff !important;
  border-color: var(--secondary-brand) !important;
}

/* Container de botões da Hero */
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
}
@media only screen and (min-width: 992px) {
  .hero-btns {
    justify-content: flex-start;
  }
}

/* Formularios de Conversao */
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--primary-brand);
}
.form-control {
  border-radius: 6px;
  border: 1px solid #ced4da;
  padding: 0.75rem 1rem;
}
.form-control:focus {
  border-color: var(--primary-brand);
  box-shadow: 0 0 0 0.25rem rgba(11, 28, 63, 0.25);
}

/* Banner da Home e LP - Desativado para usar a altura original de 850px do template */
/*
.home_bg.hb_height {
  padding-top: 140px;
  padding-bottom: 100px;
  min-height: auto;
}
*/

/* FAQ Accordion */
.faq-accordion .card {
  border: none;
  margin-bottom: 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border-radius: 8px !important;
}
.faq-accordion .card-header {
  background: #fff;
  border-bottom: none;
  padding: 20px;
  cursor: pointer;
}
.faq-accordion .card-header h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-brand);
}
.faq-accordion .card-body {
  padding: 0 20px 20px 20px;
  color: #666;
  line-height: 1.6;
}

/* Mobile Menu Active fixes */
.mobile_menu li.active > a {
  color: var(--secondary-brand) !important;
}

/* Google Maps container */
.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
  border-radius: 8px;
}
.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  border: 0;
}

/* Correções para o Menu em Linha Única e Botão CTA */
#main-menu ul li {
  padding: 0 12px; /* Reduzido de 15px */
}
#main-menu ul li a {
  font-size: 14px; /* Reduzido de 16px para garantir linha única */
}
@media only screen and (max-width: 1400px) {
  #main-menu ul li {
    padding: 0 8px;
  }
  #main-menu ul li a {
    font-size: 13px;
  }
}
@media only screen and (max-width: 1200px) {
  #main-menu ul li {
    padding: 0 6px;
  }
  #main-menu ul li a {
    font-size: 12px;
  }
}

.header-btn-cta {
  padding: 10px 20px !important;
  font-size: 14px !important;
  white-space: nowrap;
}
@media only screen and (max-width: 1200px) {
  .header-btn-cta {
    padding: 8px 12px !important;
    font-size: 12px !important;
  }
}

/* Reposicionar scroll to top para evitar sobreposição com o WhatsApp */
#topcontrol.topcontrol {
  bottom: 95px !important;
  right: 25px !important;
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

/* Centralizar ícones das redes sociais no rodapé */
.social_profile ul li a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

/* Novo Preloader Personalizado para o Bethel (Substitui a bicicleta) */
.preloaders {
  background: var(--primary-brand) !important;
}
.loader {
  width: 60px !important;
  height: 60px !important;
  border: 4px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 50% !important;
  border-top-color: var(--secondary-brand) !important;
  border-bottom-color: var(--secondary-brand) !important;
  animation: spin-loader 1s linear infinite !important;
  background-image: none !important;
  transform: none !important;
  margin: auto !important;
  display: block !important;
}
.loader::before,
.loader::after {
  display: none !important;
  content: none !important;
}

@keyframes spin-loader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==================================================
   HEADER RESPONSIVO MOBILE (< 992px)
   ================================================== */
@media only screen and (max-width: 991.98px) {
  #navigation {
    padding: 12px 18px !important;
    min-height: 75px !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
    z-index: 999 !important;
  }
  #navigation .container-fluid {
    width: 100% !important;
  }
  #navigation .site-logo img {
    max-height: 48px !important;
    width: auto !important;
  }
  #sm_menu_ham {
    position: fixed !important;
    top: 26px !important;
    right: 20px !important;
    transform: none !important;
    margin: 0 !important;
    width: 28px !important;
    height: 22px !important;
    z-index: 99999 !important;
    display: block !important;
    cursor: pointer !important;
  }
  #sm_menu_ham span {
    background-color: #1e5bff !important;
    height: 3.5px !important;
    border-radius: 4px !important;
    width: 28px !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    transition: all 0.25s ease-in-out !important;
  }
  #sm_menu_ham span:nth-child(1) {
    top: 0 !important;
  }
  #sm_menu_ham span:nth-child(2),
  #sm_menu_ham span:nth-child(3) {
    top: 9px !important;
  }
  #sm_menu_ham span:nth-child(4) {
    top: 18px !important;
  }
  #sm_menu_ham.open span:nth-child(1) {
    left: 50% !important;
    top: 10px !important;
    width: 0 !important;
  }
  #sm_menu_ham.open span:nth-child(2) {
    transform: rotate(45deg) !important;
  }
  #sm_menu_ham.open span:nth-child(3) {
    transform: rotate(-45deg) !important;
  }
  #sm_menu_ham.open span:nth-child(4) {
    left: 50% !important;
    top: 10px !important;
    width: 0 !important;
  }
}

/* ==================================================
   HERO STYLES (DESKTOP E BASE)
   ================================================== */
.hero-highlight {
  color: #ffc107;
  font-weight: inherit;
}

.hero-text-glass {
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 40px 35px !important;
  border-radius: 16px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
  margin-top: 130px !important;
  position: relative !important;
  z-index: 10 !important;
  max-width: 600px;
}

.hero-text-glass h1,
.hero-title {
  padding-top: 0 !important;
  font-size: 48px !important;
  line-height: 56px !important;
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
}

.hero-text-glass h1 span,
.hero-title span {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
}

.hero-text-glass p,
.hero-desc {
  width: 100% !important;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

.hero-text-glass .btn-outline-primary {
  color: #ffffff !important;
  border-color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

.hero-text-glass .btn-outline-primary:hover {
  background-color: #ffffff !important;
  color: var(--primary-brand) !important;
  border-color: #ffffff !important;
}

/* Container for right column content in desktop */
.hero-text-img-container {
  position: relative !important;
  height: 500px !important;
  margin-top: 130px !important;
}

/* Card em destaque do Concurso na Hero */
.hero-concurso-card {
  display: inline-block;
  transition: all 0.4s ease;
  animation: float-hero-card 4s ease-in-out infinite;
  cursor: pointer;
}

.hero-concurso-img {
  max-width: 330px;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
  transition: all 0.3s ease;
}

.hero-concurso-card:hover .hero-concurso-img {
  transform: scale(1.06);
  filter: drop-shadow(0 20px 35px rgba(82, 95, 225, 0.65));
}

@keyframes float-hero-card {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ==================================================
   TABLET RESPONSIVE (768px a 991px)
   ================================================== */
@media only screen and (min-width: 768px) and (max-width: 991.98px) {
  .home_bg, .home_bg.hb_height {
    height: auto !important;
    min-height: 680px !important;
    padding-top: 110px !important;
    padding-bottom: 50px !important;
  }
  .hero-text-glass {
    margin-top: 20px !important;
    padding: 25px 22px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border-radius: 14px !important;
    max-width: 100% !important;
  }
  .hero-title {
    font-size: 32px !important;
    line-height: 38px !important;
  }
  .hero-text-img-container {
    height: auto !important;
    margin-top: 20px !important;
  }
  .hero-concurso-img {
    max-width: 200px !important;
  }
}

/* ==================================================
   HERO RESPONSIVO MOBILE (< 768px) - EXPERIÊNCIA PREMIUM
   ================================================== */
@media only screen and (max-width: 767.98px) {
  /* Container da Hero com visualização ampla da foto e cantos arredondados na base */
  .home_bg, 
  .home_bg.hb_height {
    height: auto !important;
    min-height: 560px !important;
    background-size: cover !important;
    background-position: center 5% !important;
    padding-top: 85px !important;
    padding-bottom: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    position: relative !important;
    overflow: hidden !important;
    border-bottom-left-radius: 28px !important;
    border-bottom-right-radius: 28px !important;
  }

  /* Overlay gradiente suave integrado */
  .hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      to bottom,
      rgba(5, 15, 35, 0.0) 0%,
      rgba(5, 15, 35, 0.12) 25%,
      rgba(5, 15, 35, 0.55) 55%,
      rgba(5, 15, 35, 0.88) 85%,
      rgba(5, 15, 35, 0.96) 100%
    ) !important;
    z-index: 1;
    pointer-events: none;
  }

  /* Eliminação da caixa preta */
  .hero-text-glass {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    text-align: left !important;
    position: relative !important;
    z-index: 5 !important;
  }

  /* Badge Matrículas */
  .hero-badge {
    font-size: 12px !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    background-color: #1e5bff !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    font-weight: 700 !important;
  }

  /* Título */
  .hero-title,
  .hero-text-glass h1 {
    font-size: 30px !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.5px !important;
  }

  .hero-highlight {
    color: #ffc107 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important;
  }

  /* Descrição */
  .hero-desc,
  .hero-text-glass p {
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75) !important;
    margin-bottom: 16px !important;
    max-width: 95% !important;
  }

  /* Action Row: Botões à esquerda e Concurso de Bolsas à direita */
  .hero-action-row {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .hero-btns-col {
    flex: 1 1 60% !important;
    min-width: 0 !important;
  }

  .hero-btns {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .hero-btns .hero-btn-primary,
  .hero-btns .btn_one {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background-color: #1e5bff !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(30, 91, 255, 0.45) !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .hero-btns .hero-btn-secondary,
  .hero-btns .btn-outline-primary {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background-color: rgba(22, 28, 38, 0.78) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 9px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .btn-icon-start {
    font-size: 14px !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
  }

  .btn-text {
    flex-grow: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 12.5px !important;
  }

  .btn-icon-end {
    font-size: 11px !important;
    margin-left: 8px !important;
    flex-shrink: 0 !important;
    opacity: 0.9 !important;
  }

  /* Concurso Coluna Mobile */
  .hero-concurso-mobile-col {
    flex: 0 0 38% !important;
    max-width: 135px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-concurso-mobile-col .hero-concurso-img {
    width: 100% !important;
    max-width: 130px !important;
    height: auto !important;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.75)) !important;
  }
}

/* Telas Ultra Compactas (< 375px) */
@media only screen and (max-width: 374.98px) {
  .hero-title,
  .hero-text-glass h1 {
    font-size: 26px !important;
  }
  .btn-text {
    font-size: 11.5px !important;
  }
  .hero-concurso-mobile-col {
    max-width: 105px !important;
  }
}

/* ==================================================
   BARRA DE DESTAQUES RÁPIDOS MOBILE (4 ÍCONES)
   ================================================== */
.hero-quick-features {
  background: #ffffff !important;
  padding: 16px 0 !important;
}

.qf-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.qf-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eef4ff;
  color: #1e5bff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 6px;
  box-shadow: 0 2px 6px rgba(30, 91, 255, 0.1);
  transition: all 0.3s ease;
}

.qf-label {
  font-size: 10.5px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

/* Correção de espaçamento e alinhamento da lista de destaques institucional */
.ab_content ul li {
  line-height: 1.6 !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: flex-start !important;
}

.ab_content ul li span {
  margin-top: 4px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}




