/* Cardepel - Estilos Globais */

:root {
  --azul-principal: #0235BB;
  --azul-escuro: #052069;
  --azul-destaque: #012DA2;
  --branco: #fff;
  --cinza-claro: #f6f8fa;
  --sombra: 0 8px 32px 0 rgba(2,53,187,0.08);
}

body {
  font-family: 'Poppins', 'Montserrat', 'Inter', Arial, sans-serif;
  color: #0B1533;
}

/* ================================================================
   NAVEGAÇÃO SPA
   ================================================================ */
.nav-link.active {
  color: var(--azul-principal) !important;
}

.section-page { display: none; }
.section-page.active { display: block; }

.section-page,
.py-5.bg-white {
  padding-bottom: 80px !important;
}

footer {
  margin-top: 0 !important;
}

/* ================================================================
   ANIMAÇÕES
   ================================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: none; }
}

/* ================================================================
   HERO BANNER
   ================================================================ */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 62vh;
  max-height: 540px;
  margin-top: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  min-height: 62vh;
  max-height: 540px;
  object-fit: cover;
  display: block;
}

.hero-buttons {
  position: absolute;
  left: 13vw;
  bottom: 4vw;
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  z-index: 2;
  justify-content: flex-start;
  width: auto;
  pointer-events: none;
}

.hero-buttons a {
  pointer-events: auto;
}

.btn-primary-hero {
  background: #0235BB;
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 0.7rem 1.7rem;
  font-size: 1rem;
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 4px 24px 0 rgba(2,53,187,0.13);
  transition: all 0.18s cubic-bezier(.4,0,.2,1);
  display: inline-block;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary-hero:hover {
  background: #0056ff;
  box-shadow: 0 8px 32px 0 rgba(2,53,187,0.19);
  transform: translateY(-2px) scale(1.045);
}

.btn-secondary-hero {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 32px;
  padding: 0.7rem 1.7rem;
  font-size: 1rem;
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 4px 24px 0 rgba(2,53,187,0.10);
  transition: all 0.18s cubic-bezier(.4,0,.2,1);
  display: inline-block;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-secondary-hero:hover {
  background: rgba(255,255,255,0.13);
  color: #0235BB;
  border-color: #0235BB;
  box-shadow: 0 8px 32px 0 rgba(2,53,187,0.14);
  transform: translateY(-2px) scale(1.045);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 2.2rem;
  animation: fadeInUp 0.8s cubic-bezier(.4,2,.3,1) 0.2s both;
}

/* ================================================================
   BOTÕES PREMIUM (reutilizáveis)
   ================================================================ */
.btn-premium {
  background: linear-gradient(90deg, #0235BB 0%, #012DA2 100%);
  color: #fff;
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 2.2rem;
  box-shadow: 0 4px 24px #012DA288;
  padding: 0.85rem 2.2rem 0.85rem 2.8rem;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  position: relative;
  overflow: hidden;
  transition: all 0.22s cubic-bezier(.4,2,.3,1);
  cursor: pointer;
  outline: none;
}

.btn-premium svg {
  width: 1.3em;
  height: 1.3em;
  margin-left: -1.1em;
  margin-right: 0.2em;
  filter: drop-shadow(0 2px 8px #012DA2aa);
}

.btn-premium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, #fff8 0%, transparent 70%);
  opacity: 0.12;
  pointer-events: none;
  transition: opacity 0.3s;
}

.btn-premium:hover,
.btn-premium:focus {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px #0235BB99, 0 0 16px #0235BB44;
  filter: brightness(1.08);
}

.btn-premium:hover::after,
.btn-premium:focus::after {
  opacity: 0.22;
}

.btn-glass {
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-weight: 600;
  border: 1.5px solid #fff;
  border-radius: 2.2rem;
  padding: 0.85rem 2.2rem 0.85rem 2.8rem;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  position: relative;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px #012DA244;
  overflow: hidden;
  transition: all 0.22s cubic-bezier(.4,2,.3,1);
  cursor: pointer;
  outline: none;
}

.btn-glass svg {
  width: 1.3em;
  height: 1.3em;
  margin-left: -1.1em;
  margin-right: 0.2em;
  filter: drop-shadow(0 2px 8px #fff8);
}

.btn-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #fff6 0%, #0235BB22 100%);
  opacity: 0.10;
  pointer-events: none;
  transition: opacity 0.3s;
}

.btn-glass:hover,
.btn-glass:focus {
  background: rgba(255,255,255,0.18);
  color: #0235BB;
  border-color: #fff;
  box-shadow: 0 8px 32px #fff8, 0 0 16px #0235BB44;
  transform: translateY(-2px) scale(1.04);
}

.btn-glass:hover::after,
.btn-glass:focus::after {
  opacity: 0.22;
}

/* ================================================================
   SWIPER PAGINATION (global override)
   ================================================================ */
.swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background: #eaf1ff;
  opacity: 1;
  margin: 0 7px !important;
  border-radius: 50%;
  border: 2px solid #eaf1ff;
  transition: background .2s, border .2s;
}

.swiper-pagination-bullet-active {
  background: #0235BB !important;
  border-color: #0235BB !important;
}

/* ================================================================
   FOOTER PREMIUM
   ================================================================ */
.footer-premium {
  background: linear-gradient(135deg, #052069 0%, #012DA2 55%, #0235BB 100%);
  color: #fff;
  padding: 70px 0 28px 0;
  font-size: 1.05rem;
}

.footer-premium .footer-logo {
  max-width: 160px;
  margin-bottom: 18px;
}

.footer-premium .footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-premium .footer-socials a {
  background: rgba(255,255,255,0.10);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  transition: background .18s, color .18s;
  box-shadow: 0 2px 8px #012DA244;
  backdrop-filter: blur(2px);
  opacity: 0.85;
}

.footer-premium .footer-socials a:hover {
  background: #fff;
  color: #0235BB;
  opacity: 1;
}

.footer-premium .footer-title {
  font-weight: 800;
  font-size: 1.13rem;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.footer-premium ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}

.footer-premium ul li {
  margin-bottom: 8px;
}

.footer-premium ul a {
  color: #fff;
  opacity: 0.85;
  text-decoration: none;
  transition: opacity .18s, color .18s;
}

.footer-premium ul a:hover {
  color: #fff;
  opacity: 1;
  text-decoration: underline;
}

.footer-premium .footer-newsletter {
  display: flex;
  gap: 0;
  margin-top: 10px;
}

.footer-premium .footer-newsletter input[type="email"] {
  border: none;
  border-radius: 18px 0 0 18px;
  padding: 10px 16px;
  font-size: 1rem;
  outline: none;
  width: 100%;
  max-width: 180px;
}

.footer-premium .footer-newsletter button {
  background: #fff;
  color: #0235BB;
  border: none;
  border-radius: 0 18px 18px 0;
  padding: 10px 16px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, color .18s;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.footer-premium .footer-newsletter button:hover {
  background: #0235BB;
  color: #fff;
}

.footer-premium .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 38px;
  padding-top: 18px;
  text-align: center;
  font-size: 0.98rem;
  opacity: 0.85;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Hero e botões hero */
@media (max-width: 900px) {
  header.sticky-top {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  header.sticky-top img {
    height: 40px !important;
  }

  .hero-banner {
    min-height: calc(100vh - 48px);
    max-height: calc(100vh - 48px);
    margin-top: 0;
    padding-bottom: 0;
  }

  .hero-banner img {
    min-height: calc(100vh - 48px);
    max-height: calc(100vh - 48px);
    object-fit: cover;
    height: 100%;
  }

  main {
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  header.sticky-top {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  header.sticky-top img {
    height: 40px !important;
  }

  .hero-banner {
    min-height: calc(100vh - 48px);
    max-height: calc(100vh - 48px);
    margin-top: 0;
    padding-bottom: 0;
  }

  .hero-banner img {
    min-height: calc(100vh - 48px);
    max-height: calc(100vh - 48px);
    object-fit: cover;
    height: 100%;
  }

  .hero-btns {
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.3rem;
  }

  .btn-premium,
  .btn-glass {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding-left: 2.2rem;
  }
}

/* Footer */
@media (max-width: 900px) {
  .footer-premium .row {
    flex-direction: column;
    gap: 32px;
  }

  .footer-premium .col {
    margin-bottom: 24px;
  }
}
