/* ===== Tokens ===== */
:root {
  --black: #0a0a0a;
  --near-black: #141414;
  --red: #CC0000;
  --orange: #FD5E04;
  --gradient-brand: linear-gradient(90deg, var(--red) 0%, var(--orange) 100%);
  --gray-900: #17181a;
  --gray-700: #3f4247;
  --gray-500: #6b6f76;
  --gray-300: #d7d9dd;
  --gray-100: #f4f5f6;
  --white: #ffffff;
  --font-head: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container: 1200px;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
  --shadow-md: 0 12px 30px rgba(0,0,0,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--black); }
p { line-height: 1.65; color: var(--gray-700); margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(204,0,0,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(204,0,0,.36); }
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.55);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; justify-content: center; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo-link { display: flex; align-items: center; }
.logo-img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.main-nav { display: flex; gap: 32px; }
.main-nav a {
  color: var(--white);
  font-weight: 500;
  font-size: .95rem;
  opacity: .88;
  transition: opacity .15s;
  position: relative;
}
.main-nav a:hover { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 16px; position: relative; z-index: 101; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .25s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero (scroll-driven route animation) ===== */
.hero-scroll {
  position: relative;
  height: 230vh;
  --route-h: 220px;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 0 var(--route-h, 190px);
  background:
    radial-gradient(60% 50% at 78% 22%, rgba(253,94,4,.20) 0%, rgba(253,94,4,0) 70%),
    linear-gradient(180deg, #0a0a0a 0%, #141414 55%, #0a0a0a 100%);
}
.hero-scene {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--route-h, 220px);
}
.hero-scene svg { width: 100%; height: 100%; display: block; overflow: visible; }
.route-hill { fill: rgba(255,255,255,.035); }
.route-bg { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 4; stroke-linecap: round; }
.route-fg {
  fill: none;
  stroke: url(#brandGradient);
  stroke-width: 6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(253,94,4,.55));
}
.route-point circle { fill: var(--black); stroke: rgba(255,255,255,.5); stroke-width: 2.5; }
.route-point.is-active circle { stroke: var(--orange); }
.route-point text {
  fill: rgba(255,255,255,.8);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
}
.truck-icon { transition: transform .05s linear; }
.truck-icon .truck-wheel { fill: #0a0a0a; }
.truck-icon .truck-hub { fill: #cfd2d6; }
.truck-icon .truck-body { fill: #f4f5f6; }
.truck-icon .truck-cab { fill: #1c1d1f; }
.truck-icon .truck-stripe { fill: url(#brandGradient); }
.truck-icon .truck-light { fill: var(--orange); }
.truck-idle { animation: truckIdle 1.6s ease-in-out infinite; }
@keyframes truckIdle { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.route-chip rect {
  fill: rgba(10,10,10,.88);
  stroke: rgba(255,255,255,.18);
}
.route-chip text {
  fill: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 19px;
}

.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero-content h1 {
  color: var(--white);
  font-size: clamp(1.7rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: .35em;
}
.hero-sub {
  color: rgba(255,255,255,.88);
  font-size: clamp(.95rem, 2vw, 1.15rem);
  max-width: 560px;
  margin-bottom: 1.4em;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.75);
  width: 36px; height: 36px;
  animation: bounce 2.2s infinite;
  z-index: 2;
}
.scroll-cue svg { width: 100%; height: 100%; }
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

@media (prefers-reduced-motion: reduce) {
  .hero-scroll { height: auto; }
  .hero-sticky { position: relative; }
  .truck-idle { animation: none; }
}

/* ===== Stats ===== */
.stats { background: var(--black); padding: 56px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num, .stat-num-static {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-num-static { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.stat-label { color: rgba(255,255,255,.72); font-size: .88rem; font-weight: 500; }

/* ===== About ===== */
.about { padding: 110px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-media img { width: 100%; height: 460px; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--white);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.about-badge strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--red); }
.about-badge span { font-size: .82rem; color: var(--gray-500); }
.about-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.check-list { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--gray-900);
  font-weight: 500;
  font-size: .96rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gradient-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z'/%3E%3C/svg%3E") center/70% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* ===== Section head ===== */
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-sub { font-size: 1.05rem; }

/* ===== Services ===== */
.services { padding: 110px 0; background: var(--gray-100); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--orange);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.12rem; margin-bottom: .5em; }
.service-card p { font-size: .93rem; margin: 0; }

/* ===== Coverage ===== */
.coverage {
  background-size: cover;
  background-position: center;
  padding: 130px 0;
  color: var(--white);
}
.coverage-inner { max-width: 620px; }
.coverage h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.coverage p { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.coverage-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }
.coverage-tags span {
  border: 1.5px solid rgba(255,255,255,.4);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
}

/* ===== Fleet gallery ===== */
.fleet { padding: 110px 0; }
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fleet-item {
  border: none;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  position: relative;
  background: var(--gray-100);
}
.fleet-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.fleet-item:hover img { transform: scale(1.07); }

/* ===== Missão Visão Valores ===== */
.mvv { padding: 20px 0 110px; }
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mvv-card {
  background: var(--black);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.mvv-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-brand);
}
.mvv-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--orange);
  font-size: .95rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .8em;
}
.mvv-card p { color: rgba(255,255,255,.88); font-size: 1.05rem; margin: 0; }

/* ===== Contact ===== */
.contact { padding: 110px 0; background: var(--gray-100); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.contact-links { display: flex; flex-direction: column; gap: 14px; margin-top: 2em; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease;
}
.contact-link:hover { transform: translateX(4px); }
.contact-link .icon { color: var(--red); width: 22px; height: 22px; }
.contact-link div { display: flex; flex-direction: column; }
.contact-link strong { font-size: .92rem; }
.contact-link span { font-size: .88rem; color: var(--gray-500); }

.quote-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-form label { display: flex; flex-direction: column; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--gray-900); }
.quote-form input, .quote-form textarea {
  font-family: var(--font-body);
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: .95rem;
  color: var(--gray-900);
  resize: vertical;
  transition: border-color .15s;
}
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--orange); }

/* ===== Footer ===== */
.site-footer { background: var(--black); padding: 56px 0 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.footer-logo { height: 30px; filter: brightness(0) invert(1); }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.75); font-size: .92rem; }
.footer-nav a:hover { color: var(--white); }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.footer-social .icon { width: 18px; height: 18px; }
.footer-bottom { padding: 22px 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,.5); font-size: .82rem; margin: 0; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

/* ===== WhatsApp float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  z-index: 90;
  color: var(--white);
  transition: transform .15s, opacity .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon { width: 30px; height: 30px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat.stat-text { grid-column: span 3; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media img { height: 340px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .mvv-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--black);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 99;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm span { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat.stat-text { grid-column: span 2; }
  .services-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero-scroll { height: 260vh; --route-h: 120px; }
  .hero-sticky { padding-top: 96px; }
}
