:root {
  --ch-navy: #0a2342;
  --ch-navy-2: #0f3460;
  --ch-gold: #f5b301;
  --ch-gold-dark: #d99800;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: #1b1f24;
}

.site-header .navbar {
  --bs-navbar-padding-y: 0.65rem;
}

.tracking-wide {
  letter-spacing: 0.12em;
}

.py-lg-6 {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}

.hero {
  position: relative;
  background-color: var(--ch-navy);
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/background-caminhoneiro.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      115deg,
      rgba(7, 22, 43, 0.94) 0%,
      rgba(10, 35, 66, 0.78) 38%,
      rgba(10, 35, 66, 0.45) 62%,
      rgba(15, 52, 96, 0.35) 100%
    ),
    radial-gradient(ellipse 90% 70% at 80% 20%, rgba(245, 179, 1, 0.12), transparent 55%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.35;
  background-image: radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.14) 0, transparent 42%),
    radial-gradient(circle at 92% 40%, rgba(245, 179, 1, 0.1) 0, transparent 38%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-logo {
  max-width: min(280px, 72vw);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.navbar-brand-logo {
  height: 44px;
  width: auto;
}

.footer-logo {
  height: 48px;
  width: auto;
  opacity: 0.95;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.78);
}

.backdrop-blur {
  backdrop-filter: blur(10px);
}

.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(10, 35, 66, 0.12) !important;
}

.icon-tile {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.site-footer {
  background: linear-gradient(180deg, #07162b 0%, var(--ch-navy) 100%);
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1040;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  padding: 0;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.skip-link {
  z-index: 2000;
}

.navbar .nav-link.active {
  font-weight: 600;
  color: var(--ch-navy-2);
}
