/* ==========================================================================
   VARIÁVEIS DE DESIGN & CORES DA MARCA
   ========================================================================== */
:root {
  --brand-dark: #071724;
  --brand-navy: #0D2538;
  --brand-blue: #1D70B8;
  --brand-accent: #0EA5E9;
  --brand-accent-hover: #0284C7;
  --bg-light: #f8fafc;
  --border-light: #e2e8f0;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .fw-extrabold {
  font-family: var(--font-heading);
}

/* ==========================================================================
   NAVBAR & HEADER
   ========================================================================== */
.bg-brand-dark {
  background-color: var(--brand-dark) !important;
}

.text-brand-navy {
  color: var(--brand-navy) !important;
}

.text-brand-accent {
  color: var(--brand-accent) !important;
}

.navbar-custom {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.navbar-nav .nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--brand-accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

/* Dropdown Customizado */
.dropdown-menu-custom {
  box-shadow: 0 20px 25px -5px rgba(7, 23, 36, 0.1), 0 8px 10px -6px rgba(7, 23, 36, 0.05) !important;
  border-radius: 1rem !important;
  padding: 0.5rem;
}

.hover-bg-light:hover {
  background-color: #f1f5f9 !important;
  transform: translateX(4px);
}

/* ==========================================================================
   HERO BANNER & COTAÇÃO
   ========================================================================== */
.hero-banner {
  position: relative;
  background-color: var(--brand-dark);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(7, 23, 36, 0.1) 0%, rgba(13, 37, 56, 0.88) 100%);
  z-index: 1;
}

/* Card do Formulário de Cotação na Hero */
#cotacao-form .bg-white {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 25px 50px -12px rgba(7, 23, 36, 0.25) !important;
  border-radius: 1.25rem !important;
  border-top: 4px solid var(--brand-accent) !important;
}

/* ==========================================================================
   INPUTS & FORMULÁRIOS PREMIUM
   ========================================================================== */
.form-control, .form-select, .input-group-text {
  border-radius: 0.5rem;
  font-size: 0.85rem;
  padding: 0.55rem 0.75rem;
  border-color: #cbd5e1;
  transition: all 0.2s ease-in-out;
}

.form-control:focus, .form-select:focus {
  border-color: var(--brand-accent) !important;
  box-shadow: 0 0 0 0.25rem rgba(14, 165, 233, 0.2) !important;
  background-color: #ffffff !important;
}

.input-group-text {
  background-color: #f1f5f9 !important;
  color: #64748b !important;
}

/* ==========================================================================
   BOTÕES CUSTOMIZADOS (CTAs)
   ========================================================================== */
.btn-brand-cta {
  background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-hover) 100%);
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-brand-cta:hover {
  background: linear-gradient(135deg, var(--brand-accent-hover) 0%, #0369a1 100%);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
  transform: translateY(-2px);
}

.btn-brand-cta:active {
  transform: translateY(0);
}

/* Efeito Shine Passante no Botão CTA */
.btn-brand-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s ease;
}

.btn-brand-cta:hover::before {
  left: 100%;
}

/* Deslize da Seta nos Botões ao passar o Mouse */
.btn-brand-cta i.fa-arrow-right,
.btn i.fa-arrow-right {
  transition: transform 0.3s ease;
}

.btn-brand-cta:hover i.fa-arrow-right,
.btn:hover i.fa-arrow-right {
  transform: translateX(5px);
}

/* ==========================================================================
   CARDS DE SERVIÇOS & EFEITOS DE HOVER
   ========================================================================== */
#servicos .card {
  border: 1px solid #e2e8f0 !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#servicos .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(13, 37, 56, 0.08), 0 8px 10px -6px rgba(13, 37, 56, 0.04) !important;
  border-color: rgba(14, 165, 233, 0.4) !important;
}

#servicos .card:hover .rounded-3 {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* ==========================================================================
   ACCORDION (FAQ)
   ========================================================================== */
.accordion-item {
  border: 1px solid #e2e8f0 !important;
  transition: all 0.2s ease;
}

.accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(29, 112, 184, 0.4) !important;
  background-color: #ffffff !important;
  box-shadow: 0 10px 15px -3px rgba(7, 23, 36, 0.05) !important;
}

.accordion-button {
  font-size: 0.95rem;
  border-radius: 0.8rem !important;
}

.accordion-button:not(.collapsed) {
  color: var(--brand-blue) !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: none !important;
}

/* ==========================================================================
   ANIMAÇÕES E EFEITOS DINÂMICOS
   ========================================================================== */

/* 1. Pulsação do ponto brilhante */
@keyframes pulse-glow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(14, 165, 233, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
  }
}

.rounded-circle[style*="background-color: var(--brand-accent)"] {
  animation: pulse-glow 2s infinite;
}

/* 2. Flutuação suave dos Orbes no Fundo */
@keyframes float-slow {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

.hero-banner .pointer-events-none {
  animation: float-slow 8s ease-in-out infinite;
}

.transition-all {
  transition: all 0.3s ease !important;
}