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

:root {
  --yellow: #F5A800;
  --yellow-dark: #C98700;
  --black: #0D0D0D;
  --dark: #141414;
  --dark-2: #1A1A1A;
  --dark-3: #222222;
  --white: #FFFFFF;
  --gray: #666666;
  --gray-light: #AAAAAA;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ─────────────────────────────── */
.text-yellow { color: var(--yellow); }

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
  display: block;
}
.section-label.dark { color: var(--dark); }
.section-label.light { color: rgba(255,255,255,0.6); }

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.section-title.dark { color: var(--dark); }

.section-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-light);
  margin-bottom: 16px;
  max-width: 540px;
}

/* ── LAYOUT ─────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-dark  { background: var(--dark-2); padding: 100px 0; }
.section-black { background: var(--black);  padding: 100px 0; }
.section-yellow { background: var(--yellow); padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* ── NAV ─────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
  background: rgba(13,13,13,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo img { display: block; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--yellow); }

.nav-cta { margin-left: 8px; }

/* ── BUTTONS ─────────────────────────────────── */
.btn-wpp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--black);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-wpp:hover { background: var(--yellow-dark); transform: translateY(-1px); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--black);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); }
.btn-primary.btn-large { font-size: 18px; padding: 20px 40px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.25);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }

.btn-dark {
  display: inline-flex;
  align-items: center;
  background: var(--black);
  color: var(--yellow);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 16px;
  transition: background 0.2s;
}
.btn-dark:hover { background: var(--dark-3); }

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 19px 32px;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.3);
  text-decoration: none;
  transition: border-color 0.2s;
}
.btn-outline-light:hover { border-color: var(--white); }

/* ── HAMBURGER ───────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(13,13,13,0.98);
  padding: 24px;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-light);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--yellow); }
.mobile-cta { margin-top: 20px; text-align: center; justify-content: center; }

/* ── HERO ─────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-stripes {
  position: absolute;
  right: -100px;
  top: 0;
  bottom: 0;
  width: 60%;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 40px,
    rgba(245,168,0,0.03) 40px,
    rgba(245,168,0,0.03) 80px
  );
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      var(--black) 0%,
      rgba(13,13,13,0.92) 32%,
      rgba(13,13,13,0.55) 58%,
      rgba(13,13,13,0.2) 82%,
      transparent 100%),
    linear-gradient(
      to top,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.12) 35%,
      transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + clamp(16px, 5vh, 72px)) 24px 16px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  flex: 0 0 auto;
}

.hero-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(16px);
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(24px);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: var(--gray-light);
  margin-bottom: 28px;
  max-width: 480px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

/* ── TRUCK STAGE ─────────────────────────────── */
.truck-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

#truck-svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  display: block;
  max-height: min(42vh, 100%);
}

/* ── HERO BACKGROUND VIDEO ────────────────────── */
.hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  background: var(--black);
}

/* Video is the hero visual; SVG truck is hidden (kept only as an error fallback) */
.truck-stage { display: none; }

/* ── SCROLL INDICATOR ────────────────────────── */
.scroll-indicator {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  margin: clamp(8px, 2vh, 22px) auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
}
.scroll-indicator span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-light);
}
.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 1.5px solid var(--gray-light);
  border-bottom: 1.5px solid var(--gray-light);
  transform: rotate(45deg);
  animation: bounce 1.6s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}

/* ── SOBRE ───────────────────────────────────── */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sobre-img-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}
.sobre-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--yellow);
  border-radius: 6px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
}
.sobre-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) contrast(1.05);
}

.sobre-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--yellow);
  color: var(--black);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.badge-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}
.badge-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  padding: 0 8px;
}

.sobre-nums {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.num-item { display: flex; flex-direction: column; gap: 4px; }
.num-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}
.num-label {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── SERVIÇOS ────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.service-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }

.service-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gray-light);
}

/* ── MARCAS ──────────────────────────────────── */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.brand-item {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 28px 16px;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.brand-item:hover {
  color: var(--yellow);
  border-color: var(--yellow);
  background: rgba(245,168,0,0.05);
}

/* ── ENTREGA ─────────────────────────────────── */
.entrega-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}
.entrega-grid .section-title { color: var(--black); }
.entrega-grid .section-body { color: rgba(0,0,0,0.7); }

.entrega-map {
  width: 340px;
  max-width: 100%;
}
.entrega-map svg { width: 100%; height: auto; }

/* ── LOCALIZAÇÃO ─────────────────────────────── */
.localizacao-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.localizacao-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 4px;
}
.info-val {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-light);
}

.map-embed {
  height: 420px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.map-embed iframe { display: block; }

/* ── CTA FINAL ───────────────────────────────── */
.section-cta {
  position: relative;
  background: var(--dark-2);
  padding: 120px 0;
  overflow: hidden;
}
.cta-stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 50px,
    rgba(245,168,0,0.03) 50px,
    rgba(245,168,0,0.03) 100px
  );
  pointer-events: none;
}
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray-light);
  margin-bottom: 40px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ──────────────────────────────────── */
#footer {
  background: #080808;
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand img { margin-bottom: 16px; display: block; }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray);
  max-width: 280px;
}

.footer-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
}
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-contact p { font-size: 0.9rem; color: var(--gray); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: var(--gray); }

.footer-social { display: flex; gap: 16px; }
.footer-social a {
  color: var(--gray);
  transition: color 0.2s;
  line-height: 0;
}
.footer-social a:hover { color: var(--yellow); }

/* ── WPP FLOAT ───────────────────────────────── */
.wpp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  background: #25D366;
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-wpp 2.5s ease-in-out infinite;
}
.wpp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
  animation: none;
}
@keyframes pulse-wpp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,0.6), 0 0 0 8px rgba(37,211,102,0.08); }
}

/* ── SCROLL REVEAL ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .sobre-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-content { padding-top: calc(var(--nav-h) + 40px); }
  .hero-title { font-size: clamp(3rem, 12vw, 5rem); }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .sobre-img-badge { bottom: -16px; right: -12px; width: 90px; height: 90px; }
  .badge-num { font-size: 30px; }
  .sobre-nums { gap: 24px; }

  .services-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }

  .entrega-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .entrega-map { width: 260px; margin: 0 auto; }

  .localizacao-grid { grid-template-columns: 1fr; }
  .map-embed { height: 300px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-actions { flex-direction: column; align-items: center; }
  .btn-primary.btn-large, .btn-outline-light { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}

/* Short viewports: keep the hero (text + truck) on one screen */
@media (max-height: 780px) {
  .hero-content { padding-top: calc(var(--nav-h) + 20px); padding-bottom: 8px; }
  .hero-tagline { margin-bottom: 10px; }
  .hero-title { font-size: clamp(2.4rem, 5.5vw, 4.2rem); margin-bottom: 12px; }
  .hero-sub { margin-bottom: 16px; }
  .scroll-indicator { display: none; }
}

/* ── DYNAMIC: scroll progress bar + hero video life ──────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--yellow);
  z-index: 300;
  pointer-events: none;
  will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-video { animation: heroKenBurns 24s ease-in-out infinite alternate; }
}
@keyframes heroKenBurns {
  from { transform: scale(1.03); }
  to   { transform: scale(1.12); }
}
