/* ==========================================================================
   LAYOUT CSS (css/layout.css)
   ========================================================================== */

/* 1. RESET & CONFIGURAÇÕES BASE
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--ss-background);
  color: var(--ss-text-dark);
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 2. TIPOGRAFIA GLOBAL
   ========================================================================== */
h1,
h2,
h3,
h4,
.font-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ss-navy-dark);
}

/* 3. UTILITÁRIOS GLOBAIS DE LAYOUT
   ========================================================================== */
.text-navy {
  color: var(--ss-navy) !important;
}

.bg-navy {
  background-color: var(--ss-navy) !important;
}

.bg-navy-soft {
  background-color: var(--ss-navy-bg) !important;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--ss-navy);
  border-radius: 2px;
  margin: 0 auto 2.5rem auto;
}

/* 4. COMPONENTES DE IDENTIDADE (BRANDING)
   ========================================================================== */
/* Navbar Brand */
.brand-navbar-main {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  color: #142C71;
}

.brand-navbar-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;  
  margin-top: 0.2rem;
  color: #5E739A;
}

/* Footer Brand */
.footer-brand-title .brand-title {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.footer-brand-title .brand-title-main {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  color: #FFFFFF;
}

.footer-brand-title .brand-title-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8f9cd6;
  margin-top: 0.2rem;
}

/* 5. FUNDOS E TRANSIÇÕES DE SEÇÕES (BACKGROUNDS)
   ========================================================================== */
.hero-bg-shofar {
  background: radial-gradient(circle at 90% 10%, rgba(240, 183, 117, 0.24) 0%, var(--ss-white) 60%);
}

#quem-somos {
  background: linear-gradient(180deg, rgba(240, 183, 117, 0.18), rgba(233, 238, 251, 0.92));
}

#porque-escolher {
  background: linear-gradient(180deg, rgba(25, 75, 158, 0.08), rgba(233, 238, 251, 0.98));
}

#eventos {
  background: linear-gradient(180deg, rgba(240, 183, 117, 0.16), rgba(255, 255, 255, 0.9));
}

#depoimentos {
  background: linear-gradient(180deg, rgba(13, 30, 114, 0.05), rgba(233, 238, 251, 0.96));
}

#planos {
  background: linear-gradient(180deg, rgba(240, 183, 117, 0.12), rgba(255, 255, 255, 0.98));
}

#contato {
  background: linear-gradient(180deg, rgba(25, 75, 158, 0.06), rgba(240, 243, 251, 1));
}

/* 6. SEÇÃO ESPECIALIZADA DE RODAPÉ
   ========================================================================== */
.footer-navy {
  background: #06113B;
  color: var(--ss-navy-soft);
  border-top: 4px solid #142C71;
}

.footer-navy h5 {
  color: white !important;
}

/* 7. REGRAS DE MEDIA QUERIES (RESPONSIVIDADE)
   ========================================================================== */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }

  .carousel-noticias .carousel-item {
    height: 400px;
  }

  .btn-navy,
  .btn-outline-navy {
    width: 100%;
    text-align: center;
  }
}