:root {
  --mbc-primary: #f97316;
  --mbc-primary-dark: #ea580c;
  --mbc-bg: #fffaf5;
  --mbc-text: #1e293b;
}

body {
  font-family: "Inter", "Poppins", sans-serif;
  background: var(--mbc-bg);
  color: var(--mbc-text);
  scroll-behavior: smooth;
}

/* ======== NAVBAR LINKS ANIMADOS ======== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(0, 0, 0, 0.35); /* translúcida */
  backdrop-filter: blur(10px);
  transition: all 0.3s ease-in-out;
  padding: 12px 0;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.65); /* um pouco mais escura ao rolar */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand img {
  height: 42px;
  
}
.navbar-nav .nav-link {
  position: relative;
  color: #fff;
  font-weight: 500;
  margin: 0 12px;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* linha animada sob o link */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--mbc-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  opacity: 0;
}

/* efeito hover */
.navbar-nav .nav-link:hover {
  color: var(--mbc-primary);
  transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::after {
  width: 60%;
  opacity: 1;
}

/* efeito de brilho no hover */
.navbar-nav .nav-link:hover {
  text-shadow: 0 0 8px rgba(249, 115, 22, 0.6);
}

/* quando a navbar estiver “scrolled” */
.navbar.scrolled .nav-link:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(255,255,255,0.6);
}


/* HERO */
.hero {
  position: relative;
  height: 100vh; /* ocupa só a tela visível */
  overflow: hidden;
  z-index: 1; /* fica abaixo das próximas seções */
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10% 8% 60px;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  animation: fadeDown 1.2s ease forwards;
  color: #ea580c;
}
.hero-content h2 {
  font-size: 2rem;
  font-weight: 800;
  animation: fadeDown 1.2s ease forwards;
  color: #ea580c;
}
.hero-content p {
  font-size: 1.2rem;
  animation: fadeUp 1.2s ease 0.2s forwards;
  color: #f97316;
  font-weight: 500;
}
.hero-slide .btn {
  background: var(--mbc-primary);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
}
.hero-slide .btn:hover {
  background: var(--mbc-primary-dark);
  transform: translateY(-3px);
}
/* ======== HERO BENEFÍCIOS (com animação em cascata) ======== */
.hero-beneficios {
  margin-top: 25px;
  font-size: 1.1rem;
  color: #f9f9f9;
}

.hero-beneficios p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpLine 0.8s ease forwards;
  animation-delay: var(--delay, 0s); /* usa o delay definido em cada <p> */
}

.hero-beneficios i {
  color: var(--mbc-primary);
  font-size: 1.3rem;
  min-width: 22px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.hero-beneficios p:hover i {
  transform: scale(1.2);
  color: var(--mbc-primary-dark);
}

/* animação */
@keyframes fadeUpLine {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* responsivo */
@media (max-width: 768px) {
  .hero-beneficios {
    font-size: 1rem;
    text-align: left;
  }
}


/* ==========================================================
   SEÇÃO "SOBRE A UCE" – Fundo animado
   ========================================================== */
   /* ======== SEÇÃO SOBRE ======== */
#sobre {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1)),
              url("../img/backgrounds/bg-sobre.jpg") center/cover no-repeat;
  backdrop-filter: blur(3px);
  color: #fff;
  overflow: hidden;
}

#sobre .container {
  position: relative;
  z-index: 1;
}

#sobre::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.7), rgba(13, 110, 253, 0.4));
  z-index: 0;
}

/* título */
.titulo-sobre {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  position: relative;
  margin-bottom: 20px;
}
.titulo-sobre::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--mbc-primary);
  margin-top: 10px;
  border-radius: 2px;
  animation: growLine 1.2s ease forwards;
}
@keyframes growLine {
  from { width: 0; opacity: 0; }
  to { width: 80px; opacity: 1; }
}

/* texto */
.texto-sobre {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #f9f9f9;
  background: rgba(255, 255, 255, 0.05);
  padding: 25px 30px;
  border-left: 4px solid var(--mbc-primary);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.texto-sobre:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* responsivo */
@media (max-width: 768px) {
  .titulo-sobre { text-align: center; font-size: 2rem; }
  .texto-sobre { margin-top: 25px; font-size: 1rem; }
}

/* ======== BENEFÍCIOS ======== */
#beneficios {
  position: relative;
  padding: 90px 0;
  color: #fff;
  background: linear-gradient(120deg, rgba(13,110,253,0.6), rgba(0,0,0,0.6)),
              url("../img/backgrounds/bg-como-funciona.jpg") center/cover no-repeat;
  background-blend-mode: overlay;
}

#beneficios h2 {
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #fdfdfd;
}

/* ======== CARD BENEFÍCIO ======== */
#beneficios .card-beneficio {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  color: #ffffff;
  transition: transform 0.4s ease, box-shadow 0.4s ease, scale 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
  padding: 30px 20px;
}

/* animação ao revelar */
#beneficios .card-beneficio.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* efeito ao passar o mouse */
#beneficios .card-beneficio:hover {
  transform: translateY(-10px) scale(1.06);
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ícones e texto */
#beneficios .card-beneficio i {
  font-size: 2rem;
  color: var(--mbc-accent);
  margin-bottom: 15px;
  transition: transform 0.3s ease, color 0.3s ease;
}

#beneficios .card-beneficio:hover i {
  transform: scale(1.15);
  color: var(--mbc-primary);
}

/* responsivo */
@media (max-width: 768px) {
  #beneficios .card-beneficio {
    padding: 20px;
  }
}

/* ==========================================================
   FOOTER NOVO – moderno e elegante
   ========================================================== */
footer {
  background: linear-gradient(145deg, #0b1220, #111a2e);
  color: #d9e3f0;
  padding: 60px 0 20px;
  position: relative;
  font-size: 0.95rem;
}

footer .container {
  position: relative;
  z-index: 2;
}

footer h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 8px;
}

footer ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: #0d6efd;
}

/* redes sociais */
footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: all 0.3s ease;
}

footer .social-icons a:hover {
  background: #0d6efd;
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(13,110,253,0.4);
}

/* divisor e copyright */
footer .divider {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 40px 0 15px;
}

footer .copyright {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* responsividade */
@media (max-width: 768px) {
  footer {
    text-align: center;
  }
  footer .social-icons {
    margin-top: 15px;
  }
}



/* ANIMAÇÕES */
@keyframes fadeDown { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ==========================================================
   BOTÃO VOLTAR AO TOPO (versão funcional e moderna)
   ========================================================== */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 99999; /* força o botão acima de tudo */
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #0a58ca, #0d6efd);
  transform: translateY(-4px);
}
/* ==========================================================
   SEÇÃO CONVÊNIOS – Cards com fade + zoom
   ========================================================== */
#convenios {
  position: relative;
  padding: 90px 0;
  color: #fff;
  background: linear-gradient(120deg, rgba(13,110,253,0.6), rgba(0,0,0,0.7)),
              url('../img/backgrounds/bg-parceiros.jpg') center/cover no-repeat;
  background-blend-mode: overlay;
  overflow: hidden;
  z-index: 0;
}

#convenios::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

#convenios .container {
  position: relative;
  z-index: 2;
}

#convenios h2 {
  font-weight: 700;
  color: #fff;
  margin-bottom: 50px;
  letter-spacing: 1px;
}

/* ======== CARD ======== */
.card-convenio {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 35px 20px;
  color: #fff;
  transition: all 0.4s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transform: scale(0.98);
}

.card-convenio:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* ícones */
.card-convenio i {
  font-size: 2.6rem;
  color: var(--mbc-primary);
  margin-bottom: 15px;
  transition: transform 0.4s ease, color 0.4s ease;
}
.card-convenio:hover i {
  transform: scale(1.15);
  color: var(--mbc-primary-dark);
}

/* título */
.card-convenio h5 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-top: 10px;
}

/* responsivo */
@media (max-width: 768px) {
  #convenios { padding: 70px 0; }
  .card-convenio { padding: 25px 15px; }
  .card-convenio i { font-size: 2.2rem; }
}

/* ==========================================================
   ÍCONES SOCIAIS NA NAVBAR
   ========================================================== */
.nav-social {
  display: flex;
  gap: 10px;
}

.nav-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

.nav-social .social-link:hover {
  background: #0d6efd;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(13,110,253,0.4);
}
/* ======== BOTÃO WHATSAPP NO TOPO ======== */
.nav-whatsapp {
  margin-left: 10px;
}

.btn-whatsapp-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff !important;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-whatsapp-top i {
  font-size: 1.3rem;
  animation: pulseIcon 2s infinite ease-in-out;
}

.btn-whatsapp-top:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #1ebe5d, #0e6f5d);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-top span {
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* animação sutil do ícone */
@keyframes pulseIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* responsivo: botão desaparece no mobile (já há botão fixo se desejar depois) */
@media (max-width: 991px) {
  .nav-whatsapp { display: none !important; }
}
/* ======== HERO 2 BENEFÍCIOS – Estilo diferenciado ======== */
.hero-beneficios-2 p i {
  color: #fbbf24; /* amarelo-acento */
}

.hero-beneficios-2 p:hover i {
  color: #f59e0b; /* amarelo mais escuro no hover */
}

/* animação com leve zoom no hover */
.hero-beneficios-2 p:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}
#simule {
  padding: 90px 0;
  background: linear-gradient(120deg, #0d6efd 0%, #0a58ca 100%);
  /*background: url("../img/backgrounds/bg-servicos.jpg") center/cover no-repeat;*/
  color: #fff;
}
#simule h2 {
  font-weight: 700;
  color: #fff;
  margin-bottom: 50px;
  letter-spacing: 1px;
}