/* =============================================
   CEPAC - Glassmorphism conservador
   ============================================= */

:root {
  --radius: 16px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 14px 36px rgba(0, 0, 0, 0.18);
  --transition: all 0.30s ease;
  --azul: #002d64;
}

html { scroll-behavior: smooth; }

/* =============================================
   NAVBAR — único lugar com backdrop-filter
   ============================================= */
.navbar {
  background: rgba(0, 20, 55, 0.65) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.30) !important;
  transition: var(--transition) !important;
}

.navbar .navbar-brand,
.navbar .nav-link,
.navbar .navbar-brand .fonte {
  color: #fff !important;
}

.navbar .nav-link:hover { color: #ffd700 !important; }

.navbar .dropdown-menu {
  background: rgba(0, 20, 60, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.30) !important;
}

.navbar .dropdown-item { color: rgba(255,255,255,0.85) !important; }
.navbar .dropdown-item:hover {
  background: rgba(255,255,255,0.12) !important;
  color: #ffd700 !important;
  border-radius: 8px;
}

/* =============================================
   HERO — caixa de vidro na marca
   ============================================= */
.page-header .brand {
  background: rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 24px !important;
  padding: 2rem 2.5rem !important;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.40) !important;
  display: inline-block;
}

.page-header .brand h1,
.page-header .brand h3,
.page-header .brand span {
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* =============================================
   CARDS — sombra e arredondamento, sem blur
   ============================================= */
.card,
.card-raised,
.card-nav-tabs {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  transition: var(--transition) !important;
}

.card:hover,
.card-raised:hover,
.card-nav-tabs:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover) !important;
}

.card-carousel {
  border-radius: var(--radius) !important;
  overflow: hidden;
}

/* =============================================
   NAV TABS
   ============================================= */
.nav-tabs .nav-link {
  color: rgba(255,255,255,0.80) !important;
  border: none !important;
  transition: var(--transition) !important;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
  background: rgba(255,255,255,0.20) !important;
  color: #fff !important;
  border-radius: 10px 10px 0 0 !important;
}

/* =============================================
   INFO BOXES — Vantagens (fundo claro)
   Sem backdrop-filter para evitar vazamento
   ============================================= */
.info {
  background: #ffffff !important;
  border: 1px solid rgba(0, 45, 100, 0.10) !important;
  border-radius: var(--radius) !important;
  padding: 1.8rem 1.4rem !important;
  box-shadow: var(--shadow) !important;
  transition: var(--transition) !important;
}

.info:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover) !important;
  border-color: rgba(0, 45, 100, 0.22) !important;
}

/* =============================================
   INFO BOXES — Contato (fundo escuro)
   ============================================= */
.contactus-1 .info {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
  margin-bottom: 1.2rem !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.contactus-1 .info:last-child { margin-bottom: 0 !important; }

.contactus-1 .info:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  transform: translateY(-3px);
}

.contactus-1 .info .info-title,
.contactus-1 .info .description p,
.contactus-1 h5.description {
  color: #fff !important;
}

/* =============================================
   PROMOS
   ============================================= */
.container-promo {
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.container-promo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.middle-promo {
  background: rgba(0, 45, 100, 0.50) !important;
}

/* =============================================
   REDES SOCIAIS
   ============================================= */
.features-3 {
  background: #f8f9fa !important;
  border: 1px solid rgba(0, 45, 100, 0.10) !important;
  border-radius: 24px !important;
  padding: 2rem !important;
  box-shadow: var(--shadow) !important;
  margin: 0 15px;
}

.phone-container img {
  border-radius: var(--radius) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
}

/* =============================================
   BOTÕES
   ============================================= */
.btn-warning {
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.35) !important;
  transition: var(--transition) !important;
}

.btn-warning:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.50) !important;
}

.btn-round { border-radius: 50px !important; }

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: rgba(0,45,100,0.30); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,45,100,0.55); }

/* =============================================
   ANIMAÇÃO DE ENTRADA
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card, .card-nav-tabs, .info, .features-3 {
  animation: fadeUp 0.45s ease forwards;
}

@media (max-width: 768px) {
  .page-header .brand { padding: 1.2rem 1rem !important; }
  .info { margin-bottom: 1rem !important; }
}
