/* FIRE ELETRÔNICA DIESEL – V8.2 Realistic headlights */

:root {
  --bg-body: #050608;
  --bg-elevated: #0b0f16;
  --bg-elevated-soft: #11141b;

  --border-soft: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.16);

  --accent: #dc2626;
  --accent-soft: rgba(220, 38, 38, 0.12);

  --text-main: #f9fafb;
  --text-muted: #9ca3af;

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.8);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0%, #020617 40%, #020617 100%);
  color: var(--text-main);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 3.75rem;
  background: rgba(8, 11, 18, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.fire-title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fire-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  font-size: 0.92rem;
}

.nav a {
  text-decoration: none;
  color: #e5e7eb;
  position: relative;
  padding-bottom: 0.3rem;
  transition: color 0.18s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.18s ease;
}

.nav a:hover {
  color: #ffffff;
}

.nav a:hover::after {
  width: 100%;
}

.btn-cta {
  padding: 0.7rem 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.18);
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 16px 30px rgba(239, 68, 68, 0.6);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 4.5rem 3.75rem 5.25rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(148, 27, 27, 0.3), transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(15, 23, 42, 0.9), #020617 70%);
  z-index: 0;
}

.truck-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #020617 0%, rgba(3, 7, 18, 0.92) 32%, transparent 72%),
    url("../assets/img/vw-meteor-hero.jpg") center right / cover no-repeat;
  filter: brightness(0.6) contrast(1.08);
  opacity: 0.9;
  transform: translate3d(30px, 0, 0);
  will-change: transform;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 62% 18%, rgba(248, 250, 252, 0.16), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(239, 68, 68, 0.18), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.85;
}

/* HEADLIGHTS REALISTAS */

.headlight {
  position: absolute;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.25;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 25%, rgba(255,255,255,0.35) 45%, rgba(255,255,255,0) 75%);
  filter: blur(6px);
  animation: headlightGlow 2.6s ease-in-out infinite;
}

.headlight::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  width: 320px;
  height: 220px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 0, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.2) 30%, rgba(255,255,255,0) 70%);
  filter: blur(18px);
  opacity: 0.9;
}

/* Ajuste individual do feixe, simulando abertura do farol */
.left-light {
  right: 46%;
  top: 73.4%;
  animation-delay: 0s;
}

.left-light::before {
  width: 360px;
  height: 240px;
  transform: translateX(-50%) skewX(-14deg);
}

.right-light {
  right: 20.7%;
  top: 74.4%;
  animation-delay: 0.25s;
}

.right-light::before {
  width: 340px;
  height: 230px;
  transform: translateX(-50%) skewX(10deg);
}

@keyframes headlightGlow {
  0%   { opacity: 0.18; filter: blur(5px) brightness(0.85); }
  40%  { opacity: 0.95; filter: blur(7px) brightness(1.15); }
  70%  { opacity: 0.6;  filter: blur(6px) brightness(1.0); }
  100% { opacity: 0.18; filter: blur(5px) brightness(0.85); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.16);
  background: radial-gradient(circle at 0 0, rgba(239, 68, 68, 0.6), transparent 60%),
              rgba(15, 23, 42, 0.88);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.hero-title {
  margin: 1.4rem 0 1rem;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  font-size: 3.1rem;
  line-height: 1.15;
  background: linear-gradient(135deg, #f9fafb, #e5e7eb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

.btn-primary {
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(248, 250, 252, 0.18);
  box-shadow: 0 18px 40px rgba(239, 68, 68, 0.7);
}

.btn-outline {
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7));
}

.section {
  padding: 3.5rem 3.75rem;
  background: #05070d;
  border-top: 1px solid rgba(15, 23, 42, 0.96);
}

.section:nth-of-type(even) {
  background: #04060b;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section h2 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
}

.section-text {
  max-width: 650px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.98rem;
}

.services {
  padding: 3.5rem 3.75rem 4.5rem;
  background: #05070d;
}

.services h2 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.card {
  background: var(--bg-elevated);
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.9);
}

.card h3 {
  font-size: 0.98rem;
  font-weight: 600;
}

.card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* RESPONSIVO (igual versão anterior) */

@media (max-width: 1120px) {
  .header {
    padding-inline: 2rem;
  }
  .hero {
    padding-inline: 2rem;
  }
  .section,
  .services {
    padding-inline: 2rem;
  }
}

@media (max-width: 900px) {
  .nav {
    gap: 1.2rem;
    font-size: 0.85rem;
  }

  .hero {
    padding-block: 3.5rem 4.2rem;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header {
    padding-inline: 1.4rem;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 3.2rem 1.4rem 3.6rem;
  }

  .truck-layer {
    background-position: center right;
    opacity: 0.65;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .section,
  .services {
    padding-inline: 1.4rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .headlight {
    width: 90px;
    height: 90px;
  }

  .left-light {
  right: 46%;
  top: 73.4%;
  animation-delay: 0s;
}

  .right-light {
  right: 20.7%;
  top: 74.4%;
  animation-delay: 0.25s;
}
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .badge {
    font-size: 0.7rem;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
  }
}
