/* ==========================================================================
   Ajustes do EFC sobre o template "Nerf" (carregado depois do main.css)
   ========================================================================== */

/* --- Paleta da marca EFC (azul + cinza da logo) --- */
:root {
  --color-accent-1: #015384;   /* azul da logo (cor principal/destaque) */
  --color-accent-2: #EEF2F5;   /* azul-acinzentado bem claro (fundos de seção) */
  --color-dark-4: #97989A;     /* cinza da logo (textos auxiliares) */
}

/* --- Logo: o template usava SVG pequeno; nossa logo PNG precisa de limite --- */
.header .header__logo {
  display: inline-flex;
  align-items: center;
}
.header .header__logo img {
  height: 90px;
  width: auto;
}
@media (max-width: 767px) {
  .header .header__logo img {
    height: 50px;
  }
}

/* --- Google Tradutor: esconde a barra superior e evita deslocar o site --- */
.goog-te-banner-frame,
.skiptranslate {
  display: none !important;
}
body {
  top: 0 !important;
}
.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

/* --- Logo no preloader --- */
.preloader__logo {
  width: 90px;
  height: auto;
}
/* remove a animação que inclinava/girava a logo */
.preloader__icon {
  position: static !important;
  animation: none !important;
  transform: none !important;
}

/* --- Logo no rodapé (fundo branco da logo vira um selo) --- */
.footer__logo {
  height: 90px;
  width: auto;
}
@media (max-width: 767px) {
  .footer__logo {
    height: 70px;
  }
}

/* --- Hero: reduzir o tamanho do título (template usava 8.4vw, muito grande) --- */
.hero.-type-1 .hero__title {
  font-size: clamp(34px, 4.6vw, 84px) !important;
  line-height: 1.1;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* --- Hero: botão fixo na parte de baixo do hero --- */
.hero.-type-1 .hero__cta {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
  margin-top: 0;
  z-index: 3;
}
@media (max-width: 767px) {
  .hero.-type-1 .hero__cta {
    bottom: 40px;
  }
}

/* --- Hero: nossas imagens são fotos inteiras (não recortes PNG).
       Usamos a foto como fundo + overlay para o título branco ficar legível. --- */
.hero.-type-1 .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 100%);
}
.hero.-type-1 .hero__content {
  position: relative;
  z-index: 2;
  padding-top: 32vh;
  padding-left: 80px;
  padding-right: 80px;
}
@media (max-width: 767px) {
  .hero.-type-1 .hero__content {
    padding-top: 28vh;
  }
}
@media (max-width: 991px) {
  .hero.-type-1 .hero__content {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 767px) {
  .hero.-type-1 .hero__content {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* --- Paginação (estilo alinhado ao template) --- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.pagination__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--color-dark-1);
  color: var(--color-dark-1);
  font-weight: 500;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.pagination__button:hover,
.pagination__button.active {
  background-color: var(--color-accent-1);
  border-color: var(--color-accent-1);
  color: #fff;
}

/* --- Botão flutuante do WhatsApp (o template não traz estilo próprio) --- */
.whatsapp-float {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 600;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.whatsapp-float img {
  width: 38px;
  height: 38px;
}

@media (max-width: 767px) {
  .whatsapp-float {
    right: 20px;
    bottom: 20px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float img {
    width: 32px;
    height: 32px;
  }
}

/* --- Páginas de texto (Termos / Privacidade) --- */
.legalContent p {
  color: var(--color-dark-4, #555);
  line-height: 1.7;
}
.legalContent h2,
.legalContent h3 {
  color: var(--color-dark-1);
}
.legalContent ul,
.legalContent ol {
  padding-left: 22px;
  margin-top: 15px;
  color: var(--color-dark-4, #555);
  line-height: 1.7;
}
.legalContent ul li {
  list-style: disc;
  margin-bottom: 8px;
}
.legalContent ol li {
  list-style: decimal;
  margin-bottom: 8px;
}
.legalContent a {
  color: var(--color-accent-1);
}

/* --- Andamento da obra: barras de progresso --- */
.progressBar {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 100px;
  background: var(--color-accent-2);
  overflow: hidden;
}
.progressBar__fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 100px;
  background: var(--color-accent-1);
  transition: width 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- Detalhe: altura fixa nos sliders para a imagem não cobrir as setas (telas grandes) --- */
body[data-page="Detalhes"] .js-section-slider .ratio {
  height: 380px;
  padding: 0 !important;
}
body[data-page="Detalhes"] .js-section-slider .ratio::before,
body[data-page="Detalhes"] .js-section-slider .ratio::after {
  display: none;
  content: none;
}
@media (max-width: 991px) {
  body[data-page="Detalhes"] .js-section-slider .ratio {
    height: 300px;
  }
}
@media (max-width: 575px) {
  body[data-page="Detalhes"] .js-section-slider .ratio {
    height: 240px;
  }
}
