:root {
  --apx-primary: #1f3a70;    /* azul principal */
  --apx-secondary: #b3b3b3;  /* cinza de apoio */
  --apx-yellow: #f9c500;     /* amarelo estilo Moura */
}



/* Fonte global Montserrat */
html, body {
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
}

/* ----------------- CORES ----------------- */
.bg-apx-primary { background-color: var(--apx-primary) !important; }
.text-apx-primary { color: var(--apx-primary) !important; }

/* ================= BOTÕES (padronização em 3 variações) ================= */

/* 1) Primário - Azul */
.btn-apx-primary {
  background: var(--apx-primary);
  color: #fff;
  border: 0;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-apx-primary:hover,
.btn-apx-primary:focus {
  filter: brightness(.92);
  color: #1f3a70;
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
  transform: translateY(-1px);
}

/* 2) Contorno - Branco com azul */
.btn-apx-outline {
  background: #fff;
  color: var(--apx-primary);
  border: 2px solid var(--apx-primary);
  font-weight: 600;
  transition: all .2s ease;
}
.btn-apx-outline:hover,
.btn-apx-outline:focus {
  background: var(--apx-primary);
  color: #fff;
  border-color: var(--apx-primary);
}

/* 3) Destaque - Amarelo */
.btn-apx-yellow {
  background: var(--apx-yellow);
  color: #1f2a3a;
  border: 0;
  font-weight: 700;
  transition: all .2s ease;
}
.btn-apx-yellow:hover,
.btn-apx-yellow:focus {
  background: #e6b700; /* amarelo levemente mais escuro no hover */
  color: #fff;
}

/* (Opcional) animação sutil para CTA importante sem criar 4º estilo */
.pulse-soft { animation: apxPulse 1.6s infinite; }
@keyframes apxPulse{
  0% { box-shadow: 0 0 0 0 rgba(31,58,112,.35); }
  70%{ box-shadow: 0 0 18px 10px rgba(31,58,112,0); }
  100%{ box-shadow: 0 0 0 0 rgba(31,58,112,0); }
}

/* ================= BADGE PROMOÇÃO ================= */
.promo-badge {
  font-size: 1.25rem; /* tamanho padrão (≈ fs-5 do Bootstrap) */
  display: inline-block;
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
}

@media (max-width: 576px) {
  .promo-badge {
    font-size: 0.9rem;  /* reduz no celular */
    display: block;     /* força ocupar largura total */
    width: 100%;        /* quebra automático */
    text-align: center; /* centralizado */
  }
}



/* ----------------- CARDS ----------------- */
.card {
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.card h2 { font-size: 2rem; }
.card ul li { margin-bottom: 0.5rem; }





/* ----------------- CARROSSEL / HERO PADRONIZADO ----------------- */

.hero-carousel-wrapper,
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  width: 100%;
}



/* Conteúdo acima dos overlays */
.hero-carousel .hero > .container,
.hero-carousel .hero .row,
.hero-carousel .hero [class*="col-"] {
  position: relative;
  z-index: 2;
}



/* Estrutura antiga compatível */
.carrossel-servico {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 620px;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
}

.carrossel-overlay {
  width: 100%;
  height: 100%;

  padding: 2.5rem 1.5rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  color: #fff;
  text-align: center;
}

.carrossel-overlay h5,
.carrossel-overlay p {
  text-shadow: 1px 2px 10px rgba(0,0,0,.22);
}

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

@media (max-width: 991.98px) {

  .hero-carousel .carousel-item,
  .hero-carousel .hero {
    height: 680px;
    min-height: 680px;
  }

  .carrossel-servico {
    height: 680px;
    min-height: 680px;
  }
}

/* ================= CELULAR PEQUENO ================= */

@media (max-width: 575.98px) {

  .hero-carousel .carousel-item {
    min-height: 680px;
  }

  .hero-carousel .hero {
    min-height: 680px;
  }

  .hero-carousel .hero img {
    max-height: 250px;
  }
}

/* ----------------- WHATSAPP ----------------- */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;

  background-color: var(--apx-primary);
  color: #fff;

  padding: 14px 18px;

  border-radius: 50px;

  font-weight: 600;

  display: flex;
  align-items: center;
  gap: 8px;

  text-decoration: none;

  z-index: 1050;

  box-shadow: 0 8px 24px rgba(0,0,0,.18);

  max-width: 90vw;

  transition: all .25s ease;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  background-color: #294b8f;
  color: #fff;

  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}

/* MOBILE */
@media (max-width: 576px) {

  .whatsapp-btn {
    bottom: 16px;
    right: 16px;

    padding: 12px 16px;

    border-radius: 50px;

    font-size: .92rem;
  }

}

/* ----------------- MODAIS ----------------- */
.modal-content ul { padding-left: 0; }
.modal-content ul li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #333;
}
.modal-content ul li i { font-size: 1.2rem; }
.modal-content i.fs-1 {
  font-size: 2.5rem !important;
  color: var(--apx-primary);
}

/* ----------------- PLANOS ----------------- */
#planos .card {
  border-radius: 12px;
  border: 2px solid #e3e6f0;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
#planos .card:hover {
  transform: scale(1.02);
  border-color: var(--apx-primary);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}
#planos .card h4 { font-size: 1.2rem; }
#planos .card h2 { font-size: 2rem; color: #1f1f1f; }
#planos .card p { color: #555; }
#planos .card ul {
  padding-left: 0;
  list-style: none;
}
#planos .card ul li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #333;
}
#planos .card ul li i { font-size: 1rem; }

/* Badge de destaque */
#planos .badge {
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: 50rem;
  font-weight: 600;
  background-color: var(--apx-primary);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ----------------- COOKIES ----------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #f8f9fa;
  border-top: 1px solid #ccc;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.cookie-banner.show {
  display: block;
  opacity: 1;
}



/* =========================
   CARROSSEL: altura e alinhamento
   ========================= */

   /* HERO FULL WIDTH CENTRALIZADO */
.hero-carousel-wrapper { width: 100%; }
.container-hero {
  max-width: 1200px;  /* ajuste: 1140–1320 px */
  margin-left: auto;
  margin-right: auto;
}



/* INDICADORES */
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%;
}

/* HERO ZETTA */
.hero-zetta {
  position: relative;
  background:
    radial-gradient(120rem 60rem at 15% -20%, rgba(255,211,0,.10), transparent 60%),
    radial-gradient(90rem 40rem at 110% 120%, rgba(255,255,255,.06), transparent 60%),
    #0f0f10;
  color: #fff;
  overflow: hidden;
}
.hero-zetta .text-apx-yellow { color: #ffd200; }


/* HERO MOURA */
.hero-moura {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: url('img/moura_fundo.webp') center/cover no-repeat;
}
.hero-moura::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,.35), rgba(0,0,0,.05));
}
.hero-moura > .container,
.hero-moura .row,
.hero-moura [class*="col-"] {
  position: relative;
  z-index: 1;
}




/* HERO ERBS */
.hero-erbs {
  position: relative;
  background:
    radial-gradient(120rem 60rem at 15% -20%, rgba(249,197,0,.12), transparent 60%),
    radial-gradient(90rem 40rem at 110% 120%, rgba(255,255,255,.06), transparent 60%),
    #0f0f10;
  color: #fff;
  overflow: hidden;
}


@media (max-width: 991.98px) {
  .hero-erbs-img {
    max-width: 65%;
    max-height: 260px;
  }
}

/* HERO MOURA 225Ah (FROTA) */
.hero-moura-225 {
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(120rem 60rem at 15% -20%, rgba(0, 102, 255, .18), transparent 60%),
    radial-gradient(90rem 40rem at 110% 120%, rgba(249, 197, 0, .15), transparent 60%),
    #05060a; /* fundo bem escuro para destacar a arte */
}


@media (max-width: 991.98px) {
  .hero-moura-225-img {
    max-width: 70%;
    max-height: 260px;
  }
}

/* HERO ERBS PROMO - desktop/mobile */
.hero-erbs-promo {
  position: relative;
  overflow: hidden;

  background-image: url('img/erbs_desktop.webp');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;

  background-color: #ffffff;
}

/* Mobile */
@media (max-width: 991.98px) {

  .hero-erbs-promo {

    background-image: url('img/erbs_mobile.webp');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;

    background-color: #ffffff;
  }

}

/* HERO SOMENTE IMAGEM */
.hero {
  width: 100%;
  height: 620px;
  min-height: 620px;

  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;

  position: relative;
  overflow: hidden;

  background-color: #ffffff;


}

/* MOBILE */
@media (max-width: 991.98px) {

  .hero {
    height: 680px;
    min-height: 680px;


    background-size: contain;
    background-position: center top;
  }

}

/* HERO MOURA - desktop/mobile */
.hero-moura-promo {
  background-image: url('img/moura_desktop.webp');
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #ffffff;
}

@media (max-width: 991.98px) {
  .hero-moura-promo {
    background-image: url('img/moura_mobile.webp');
  }
}

/* HERO 225Ah - desktop/mobile */
.hero-225ah-promo {
  background-image: url('img/225ah_desktop.webp');
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #ffffff;
}

@media (max-width: 991.98px) {
  .hero-225ah-promo {
    background-image: url('img/225ah_mobile.webp');
  }
}

/* HERO PROMO 180Ah - desktop/mobile */
.hero-180ah-promo {
  background-image: url('img/promo180ah_desktop.webp');
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #ffffff;
}

@media (max-width: 991.98px) {
  .hero-180ah-promo {
    background-image: url('img/promo180ah_mobile.webp');
  }
}