/* ============================================================
   SOARES SERVIÇOS — shared.css
   Estilos compartilhados entre todas as páginas.
   Deve ser linkado como PRIMEIRO stylesheet, antes dos
   estilos inline de cada página.
   ============================================================ */

/* ===== RESET ================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== DESIGN TOKENS ======================================= */
:root {
  --primary:       #0B2E6B;
  --accent:        #C9922A;
  --light:         #f8fafc;
  --white:         #ffffff;
  --slate:         #334155;
  --gray-soft:     #eef2f6;
  --glass-bg:      rgba(255, 255, 255, 0.25);
  --glass-border:  rgba(255, 255, 255, 0.3);
  --shadow-soft:   0 4px 20px rgba(11, 46, 107, 0.10);
  --shadow-glass:  0 8px 32px rgba(0, 0, 0, 0.1);
  --gradient-gold: linear-gradient(135deg, #C9922A 0%, #e6b450 90%);
  --gradient-navy: linear-gradient(135deg, #0B2E6B 0%, #1e4a8b 100%);
}

/* ===== BASE ================================================= */
body {
  font-family: 'Barlow', sans-serif;
  background: var(--gray-soft);
  color: var(--slate);
  line-height: 1.5;
}

/* ===== UTILITÁRIOS ========================================= */
.section-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(201, 146, 42, 0.1);
  padding: 0.35rem 1rem;
  border-radius: 40px;
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary);
  max-width: 700px;
}
.section-title.white { color: var(--white); }
.section-title em    { font-style: normal; color: var(--accent); }

.gold-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #e6b450 50%, transparent 100%);
}

/* ===== BOTÕES ============================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-gold);
  color: var(--primary);
  font-weight: 600;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px -8px rgba(201, 146, 42, 0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px -8px rgba(201, 146, 42, 0.6);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid var(--accent);
  font-size: 1rem;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: rgba(201, 146, 42, 0.08);
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  padding: 1rem 2.4rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px -8px rgba(11, 46, 107, 0.2);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px -8px rgba(11, 46, 107, 0.3);
}

/* ===== NAVEGAÇÃO =========================================== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 6%;
  background: rgba(11, 46, 107, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-glass);
}
.nav-logo img {
  height: 45px;
  filter: brightness(0) invert(1);
}
.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 2.5rem;
  font-weight: 500;
  font-size: 1.05rem;
  transition: 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}
.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  background: none;
  border: none;
}

/* ===== HERO EYEBROW (páginas internas) ==================== */
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent);
  display: block;
}

/* ===== ANIMAÇÃO DE FUNDO (grid) ============================ */
@keyframes gridMove {
  to { background-position: 55px 55px; }
}

/* ===== FOOTER ============================================== */
.footer-main {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 6% 1.5rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-link {
  color: white;
  text-decoration: none;
  margin: 0 1rem 0 0;
  font-weight: 500;
  transition: 0.2s;
}
.footer-link:hover { color: var(--accent); }
.footer-copyright   { margin-top: 2rem; font-size: 0.9rem; }

/* ===== ANIMAÇÕES DE ENTRADA ================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s;  }

/* ===== RESPONSIVO ========================================= */
@media (max-width: 768px) {
  .nav-links    { display: none; }
  .menu-toggle  { display: block; }
  .section-title { font-size: 2.2rem; }

  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(11, 46, 107, 0.97);
    padding: 1.5rem 6%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99;
    gap: 0.5rem;
  }

  .nav-links.nav-open a {
    margin-left: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
  }
}
