/* ======= Base (seu tema) ======= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
  --gold: #f0b30f;
  --gold-2: #ffca2c;
  --dark-1: #0d0d0d;
  --dark-2: #1a1a1a;
  --muted: #888;
}

* { box-sizing: border-box; }
body {
  background-color: var(--dark-1);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* texto dourado */
.text-gold { color: var(--gold); }

/* botões */
.btn-gold {
  background-color: var(--gold);
  color: #000;
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
  transition: 0.25s ease;
  border: none;
}
.btn-gold:hover { background-color: var(--gold-2); transform: scale(1.03); color: #000; }

/* HERO */
.hero {
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
              url('img/bg.jpg') center/cover no-repeat;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
  padding-top: 80px;
}

.hero-content { z-index: 2; max-width: 90%; margin: auto; }

/* NAVBAR */
.navbar {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.logo {
  max-height: 85px;
  width: auto;
  filter: drop-shadow(0 0 5px rgba(240, 179, 15, 0.4));
  transition: transform 0.3s ease;
}
.logo:hover { transform: scale(1.05); }

.navbar-nav .nav-link {
  color: #fff;
  transition: 0.3s;
  font-size: 1.1rem;
  padding: 12px 18px;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--gold); }

/* SERVIÇOS */
.service-card {
  background-color: var(--dark-2);
  border: 1px solid #333;
  border-radius: 10px;
  transition: 0.4s;
  cursor: pointer;
  min-height: 220px;
}
.service-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 0 20px rgba(240,179,15,0.12); }

/* CARDS ICONS */
.service-card .bi { display:block; margin-bottom:12px; }

/* SEGURADORAS SLIDER */
.slider { overflow: hidden; position: relative; width: 100%; padding: 10px 0; }
.slide-track { display: flex; width: calc(220px * 18); animation: scroll 25s linear infinite; align-items:center; }
.logo-seguradora { width: 180px; height: auto; margin: 0 35px; filter: grayscale(20%); opacity: 1; transition: filter 0.3s ease, opacity 0.3s ease; }
.logo-seguradora:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.slider:hover .slide-track { animation-play-state: paused; }

/* FOOTER */
footer { background-color: #0a0a0a; color: #aaa; }

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 65px;
  height: 65px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  text-decoration: none;
  z-index: 2000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(37,211,102,0.7); color: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);} 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);} 100% { box-shadow:0 0 0 0 rgba(37,211,102,0);} }

/* MODALS: tema borda dourada */
.border-gold { border-top: 4px solid var(--gold); }
.modal-header.border-gold, .modal-footer.border-gold { border-color: rgba(240,179,15,0.12); }
.modal-title.text-gold { color: var(--gold); }

.modal .form-control:focus, .modal .form-select:focus { box-shadow: 0 0 0 3px rgba(240,179,15,0.08); border-color: var(--gold); outline: none; }

/* Efeito blur no conteúdo quando modal aberto */
#site-content.blurred {
  filter: blur(6px) saturate(.95);
  transition: filter 0.28s ease;
  pointer-events: none; /* evita interação com o fundo */
  user-select: none;
  -webkit-user-select: none;
}
/* garante que modais não sejam afetados */
.modal { z-index: 2500; }

/* ALERT FLUTUANTE */
#floating-alert {
  border-radius: 8px;
  opacity: 0.98;
}

/* Responsividade */
@media (max-width: 992px) {
  .logo { max-height: 50px; }
  .hero { height: auto; padding: 140px 20px 100px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 1rem; }
}
@media (max-width: 576px) {
  .logo { max-height: 45px; }
  .hero-content h1 { font-size: 1.5rem; }
  .hero-content p { font-size: 0.9rem; }
  .btn-gold { padding: 8px 20px; font-size: 0.9rem; }
}

/* pequenos ajustes visuais */
.service-card .card-body { min-height: 200px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; }

.hero-experience {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  max-width: 700px;
  margin: 0 auto;
}

#modal-introduction {
  text-align: center;
}

#quote-form {
  display: none;
}

#open-vida-quote-form {
  margin-top: 10px;
}
