/* =========================================================
   T-Road Engenharia — estilo
   Paleta da marca: laranja · asfalto · creme
   ========================================================= */
:root {
  --cream: #F3EEE6;
  --paper: #FAF7F2;
  --ink: #161514;
  --ink-2: #3A3633;
  --muted: #6B655E;
  --line: #E2DACE;
  --asphalt: #1C1C1D;
  --asphalt-2: #262627;
  --asphalt-3: #333334;
  --orange: #EF7B1B;
  --orange-deep: #D4620B;
  --orange-soft: #FCE5D1;
  --yellow: #F2C230;
  --white: #FFFFFF;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --radius: 14px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light; /* identidade da marca: tema único, cores explícitas */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }

svg use { pointer-events: none; }
.btn svg, .topbar svg, .pill svg, .channel svg, .wa-float svg, .mbar svg, .nav__toggle svg { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Tipografia ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 18px 0 0;
  text-wrap: balance;
}
.h2 em, .hero__title em { font-style: normal; color: var(--orange); }
.h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  margin: 0 0 14px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 22px;
}
.eyebrow--light { color: #d9d3cb; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px #ef7b1b33; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px #ef7b1b00; } }

/* Marco quilométrico (rótulo de seção) */
.km {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-weight: 700; font-size: .8rem; letter-spacing: .08em; line-height: 1;
  text-transform: uppercase; white-space: nowrap;
  padding-left: 12px;
  border: 2px solid var(--ink); border-radius: 6px; overflow: hidden;
  background: var(--white);
  box-shadow: inset 5px 0 0 var(--orange);
}
.km > i { font-style: normal; font-weight: 500; padding: 7px 10px; background: var(--ink); color: var(--white); }
.km--dark { border-color: var(--orange); background: var(--asphalt-2); color: var(--white); }
.km--dark > i { background: var(--orange); color: var(--ink); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 15px 26px; font-size: 1rem; }
.btn--orange { background: var(--orange); color: var(--ink); box-shadow: 0 8px 24px -10px #ef7b1bcc; }
.btn--orange:hover { background: #ff8b2b; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: #ffffff14; }
.btn--dark { background: var(--ink); color: var(--white); margin-top: 26px; }
.btn--dark:hover { background: #000; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #cfc8bf; font-size: .82rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; }
.topbar__loc, .topbar__links a { display: inline-flex; align-items: center; gap: 7px; }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a:hover { color: var(--orange); }
.topbar svg { width: 14px; height: 14px; color: var(--orange); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px #0006; }
.nav__in { display: flex; align-items: center; gap: 28px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__logo { width: 46px; height: auto; flex: none; }
.brand--light .brand__logo { background: var(--cream); border-radius: 10px; padding: 5px; width: 54px; } /* asa preta precisa de fundo claro */
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: .95; letter-spacing: .01em; display: flex; flex-direction: column; }
.brand__name small { font-family: var(--mono); font-weight: 500; font-size: .58rem; letter-spacing: .32em; margin-top: 4px; color: var(--muted); }
.brand--light .brand__name small { color: #a59f97; }

.nav__menu { display: flex; gap: 6px; margin-left: auto; }
.nav__menu a { padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .93rem; color: var(--ink-2); position: relative; }
.nav__menu a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__menu a:hover::after, .nav__menu a.is-current::after { transform: scaleX(1); }
.nav__menu-cta { display: none; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--ink); background: transparent; align-items: center; justify-content: center; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(1200px 500px at 85% 110%, #ef7b1b26, transparent 60%),
    radial-gradient(800px 400px at 0% 0%, #ffffff0a, transparent 60%),
    var(--asphalt);
  color: var(--white);
  padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 96px);
  display: flex; align-items: center;
}
.hero::before { /* textura de asfalto */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__text { min-width: 0; }

/* Foto real da viatura com leituras sobrepostas */
.hero__photo {
  position: relative; margin: 0; border-radius: 18px; overflow: hidden;
  border: 1px solid #ffffff22; box-shadow: 0 40px 80px -30px #000c;
  max-width: 100%;
}
.hero__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.hero__photo::after { /* faixa zebrada na base da foto */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 12px, var(--ink) 12px 24px);
}
.hero__photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 10px; padding: 40px 16px 12px;
  background: linear-gradient(transparent, #000a);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #e8e2da;
}
.hero__scan {
  position: absolute; left: 0; right: 0; height: 2px; top: 0;
  background: linear-gradient(90deg, transparent, var(--orange), #fff, var(--orange), transparent);
  box-shadow: 0 0 18px 4px #ef7b1b99;
  animation: photoscan 4s var(--ease) infinite;
}
@keyframes photoscan { 0% { top: 100%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 0; opacity: 0; } }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1.02; letter-spacing: -0.025em;
  margin: 0; max-width: 13ch; text-wrap: balance;
}
.hero__lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #d6d0c8; max-width: 54ch; margin: 26px 0 0; }
.hero__lead strong { color: var(--white); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 52px); margin: 56px 0 0; padding-top: 28px; border-top: 1px solid #ffffff1f; max-width: 720px; }
.hero__stats div { margin: 0; }
.hero__stats dt { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--orange); line-height: 1; }
.hero__stats dd { margin: 8px 0 0; font-size: .86rem; color: #b9b2a9; max-width: 18ch; line-height: 1.4; }

/* Estrada em perspectiva */
.hero__road { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.road {
  position: absolute; right: -6%; bottom: -8%; width: 62%; height: 120%; opacity: .55;
  perspective: 520px; perspective-origin: 50% 0%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 38%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 38%);
}
.road__plane {
  position: absolute; left: 50%; bottom: 0; width: 64%; height: 200%;
  transform: translateX(-50%) rotateX(68deg); transform-origin: 50% 100%;
  background:
    linear-gradient(90deg, #ffffff06, transparent 30%, transparent 70%, #ffffff06),
    #2b2b2c;
  box-shadow: 0 0 0 40px #232324;
}
.road__edge { position: absolute; top: 0; bottom: 0; width: 1.6%; background: #e9e5df; opacity: .85; }
.road__edge--l { left: 4%; } .road__edge--r { right: 4%; }
.road__center {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2%; transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom, var(--yellow) 0 80px, transparent 80px 160px);
  animation: dash 1.1s linear infinite;
}
@keyframes dash { to { background-position: 0 160px; } }
.road__scan {
  position: absolute; left: 0; right: 0; height: 3px; top: 70%;
  background: linear-gradient(90deg, transparent, var(--orange), #fff, var(--orange), transparent);
  box-shadow: 0 0 22px 6px #ef7b1b88;
  animation: scan 3.2s var(--ease) infinite;
}
@keyframes scan { 0% { top: 98%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 55%; opacity: 0; } }

.hud { position: absolute; left: 12px; right: 12px; top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hud__item:nth-child(3) { display: none; } /* ATR fica no texto; 2×2 deixa a viatura visível */
.hud__item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 8px; min-width: 0;
  padding: 8px 12px; border-radius: 10px;
  background: #121213cc; border: 1px solid #ffffff1a;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--mono);
}
.hud__item span { font-size: .72rem; color: var(--orange); font-weight: 700; letter-spacing: .06em; }
.hud__item b { font-size: 1.05rem; color: var(--white); font-weight: 500; font-variant-numeric: tabular-nums; }
.hud__item em { font-style: normal; font-size: .66rem; color: #8e8880; }
.hud__item--km { border-color: #ef7b1b66; }

/* Faixa zebrada (como a traseira da viatura) */
.chevron {
  height: 22px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 18px, var(--ink) 18px 36px);
}
.chevron--thin { height: 10px; }

/* Ticker */
.ticker { background: var(--ink); color: #e8e2da; overflow: hidden; border-bottom: 1px solid #000; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { font-family: var(--mono); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; padding: 14px 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.ticker span::after { content: ""; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--asphalt); color: var(--white); }
.asphalt { isolation: isolate; }
.asphalt::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__sub { color: var(--muted); font-size: 1.08rem; margin: 18px 0 0; max-width: 60ch; }
.section__head--center .section__sub { margin-left: auto; margin-right: auto; }
.section--dark .section__sub { color: #b9b2a9; }
.section--dark .section__sub strong { color: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: end; }
.grid-2--top { align-items: start; }
.prose p { margin: 0 0 16px; color: var(--ink-2); font-size: 1.06rem; }
.prose strong { color: var(--ink); }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.pill svg { color: var(--orange); }

/* Citações (temas do Instagram) */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(56px, 8vw, 88px); }
.quote {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 32px; position: relative; overflow: hidden;
}
.quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange); }
.quote__n { font-family: var(--mono); font-size: .78rem; color: var(--orange); font-weight: 700; letter-spacing: .1em; }
.quote h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.2; margin: 12px 0 12px; }
.quote p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  position: relative; padding: 32px 28px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, #2a2a2b, #222223);
  border: 1px solid #ffffff14;
  transition: transform .3s var(--ease), border-color .3s;
}
.svc::after { /* faixa de borda de pista */
  content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 22px, transparent 22px 36px);
  border-radius: 0 0 2px 2px;
}
.svc:hover { transform: translateY(-4px); border-color: #ef7b1b66; }
.svc__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.svc__n { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--orange); }
.svc__tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border: 1px solid #ffffff2a; border-radius: 999px; color: #cfc8bf; }
.svc h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; line-height: 1.15; margin: 0 0 12px; }
.svc p { color: #bdb6ad; margin: 0 0 20px; }
.svc p strong { color: var(--white); font-weight: 600; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: .95rem; color: #e3ddd5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 3px; background: var(--orange); }
.ticks--ink li { color: var(--ink-2); }

.audience {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  padding: 22px 26px; border-radius: var(--radius); border: 1px dashed #ffffff2e;
}
.audience__label { font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.audience ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.audience li { font-weight: 600; color: #e8e2da; }

/* Equipamentos — abas */
.eq-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; margin-bottom: 36px; background: var(--white); }
.eq-tab {
  border: 0; background: transparent; padding: 16px 12px; text-align: left; display: flex; flex-direction: column; gap: 2px;
  border-right: 2px solid var(--ink); color: var(--ink); transition: background .2s, color .2s;
}
.eq-tab:last-child { border-right: 0; }
.eq-tab b { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.eq-tab span { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eq-tab:hover { background: var(--orange-soft); }
.eq-tab.is-active { background: var(--ink); color: var(--white); }
.eq-tab.is-active span { color: var(--orange); }

.eq-panel { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.eq-panel[hidden] { display: none; }
.eq-panel.is-active { animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.eq-panel__text p { color: var(--ink-2); margin: 0 0 22px; }

.specs { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.specs div { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.specs dt { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-deep); font-weight: 700; padding-top: 3px; }
.specs dd { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* Simulador FWD */
.fwd { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px -40px #0005; }
.fwd__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.fwd__title { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.seg { display: inline-flex; background: var(--cream); border-radius: 999px; padding: 4px; gap: 2px; }
.seg__btn { border: 0; background: transparent; padding: 7px 13px; border-radius: 999px; font-weight: 600; font-size: .84rem; color: var(--ink-2); }
.seg__btn.is-on { background: var(--ink); color: var(--white); }
.fwd__svg { width: 100%; height: auto; border-radius: 10px; background: linear-gradient(#f7f4ef, #f7f4ef 30%, transparent 30%); overflow: visible; }
#mass { transition: transform .35s cubic-bezier(.6,0,.9,.4); }
#mass.is-drop { transform: translateY(44px); transition-timing-function: cubic-bezier(.5,0,1,.5); transition-duration: .28s; }
.fwd__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; }
.fwd__read { display: flex; gap: 8px; }
.fwd__read div { background: var(--asphalt); color: var(--white); border-radius: 10px; padding: 8px 12px; font-family: var(--mono); min-width: 82px; }
.fwd__read span { display: block; font-size: .68rem; color: var(--orange); font-weight: 700; }
.fwd__read b { font-size: 1.15rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.fwd__read em { display: block; font-style: normal; font-size: .6rem; color: #8e8880; }
.fwd__msg { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--cream); font-size: .93rem; color: var(--ink-2); border-left: 4px solid var(--orange); }
.fwd__note { margin: 8px 0 0; font-size: .74rem; color: var(--muted); }

/* Visualizações */
.viz { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px -40px #0005; }

.ldis { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.ldis__lane {
  position: relative; min-height: 300px; border-radius: 10px; overflow: hidden;
  background:
    linear-gradient(90deg, #e9e5df 0 4%, transparent 4% 96%, #e9e5df 96%),
    #2f2f30;
}
.ldis__lane::before { content: ""; position: absolute; inset: 0; opacity: .6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .14 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.crack { position: absolute; border: 2px solid; border-radius: 4px; }
.crack::before { content: ""; position: absolute; inset: 6px; border-left: 2px solid #111; transform: skewX(-8deg); }
.c1 { left: 22%; top: 8%; width: 18%; height: 40%; border-color: #ff4d4d; }
.c2 { left: 52%; top: 50%; width: 30%; height: 26%; border-color: var(--orange); }
.c2::before { border-left: 0; background: repeating-linear-gradient(45deg, transparent 0 7px, #111 7px 8px), repeating-linear-gradient(-45deg, transparent 0 9px, #111 9px 10px); }
.c3 { left: 14%; top: 64%; width: 14%; height: 26%; border-color: #ff4d4d; }
.pothole { position: absolute; left: 66%; top: 16%; width: 46px; height: 34px; border-radius: 48% 52% 44% 56%; background: radial-gradient(#0a0a0a, #1a1a1a 60%, #3a3a3a); box-shadow: 0 0 0 3px var(--yellow); }
.ldis__beam {
  position: absolute; left: 0; right: 0; height: 2px; top: 0;
  background: #66ffb2; box-shadow: 0 0 14px 3px #66ffb299;
  animation: beam 2.6s linear infinite;
}
@keyframes beam { from { top: 0; } to { top: 100%; } }
.ldis__side { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.ldis__row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--cream); font-size: .92rem; font-weight: 600; }
.ldis__row b { margin-left: auto; font-family: var(--mono); font-size: .72rem; color: var(--orange-deep); }
.ldis__row--gps { font-family: var(--mono); font-size: .78rem; font-weight: 500; background: var(--asphalt); color: #66ffb2; }
.sw { width: 14px; height: 14px; border-radius: 3px; border: 2px solid; flex: none; }
.sw--r { border-color: #ff4d4d; } .sw--o { border-color: var(--orange); } .sw--y { border-color: var(--yellow); background: #111; }

.profile { width: 100%; height: auto; background: var(--cream); border-radius: 10px; }
#profPath { stroke-dasharray: 2000; stroke-dashoffset: 2000; }
.eq-panel.is-active #profPath { animation: draw 2.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.profile__atr { margin-top: 14px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 10px; background: var(--cream); }
.profile__atr span { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.runway {
  position: relative; height: 260px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(90deg, #3a3a3b, #343435);
}
.runway__num { position: absolute; left: 70px; top: 50%; transform: translateY(-50%) rotate(-90deg); font-family: var(--mono); font-weight: 700; font-size: 3.2rem; color: #f3eee6; letter-spacing: .1em; }
.runway__num--b { left: auto; right: 70px; transform: translateY(-50%) rotate(90deg); }
.runway__bars { position: absolute; left: 14px; top: 20px; bottom: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.runway__bars i { display: block; width: 40px; height: 14px; background: #f3eee6; }
.runway__cl { position: absolute; left: 140px; right: 140px; top: 50%; height: 4px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, #f3eee6 0 36px, transparent 36px 64px); }
.runway__cart { position: absolute; top: calc(50% + 24px); left: 140px; width: 46px; height: 26px; border-radius: 6px; background: var(--orange); box-shadow: 0 0 0 3px #1c1c1d, 0 0 26px 4px #ef7b1b99; animation: cart 5s ease-in-out infinite alternate; }
.runway__cart::after { content: ""; position: absolute; right: 100%; top: 50%; width: 120px; height: 2px; background: linear-gradient(90deg, transparent, var(--orange)); }
@keyframes cart { to { left: calc(100% - 186px); } }
.mu-meter { margin-top: 14px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; background: var(--cream); border-radius: 10px; }
.mu-meter span { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mu-meter__bar { height: 10px; border-radius: 99px; background: linear-gradient(90deg, #ff4d4d, var(--yellow) 45%, #3fbf7f 75%); position: relative; }
.mu-meter__bar i { position: absolute; top: -5px; width: 4px; height: 20px; background: var(--ink); border-radius: 2px; left: 72%; transition: left .6s var(--ease); }
.mu-meter b { font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Foto do equipamento na aba */
.eq-photo { margin: 0 0 24px; position: relative; }
.eq-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.eq-photo figcaption {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ink); color: var(--white); padding: 6px 10px; border-radius: 6px;
}

/* Equipe */
.team { margin: clamp(48px, 7vw, 80px) 0 0; position: relative; }
.team img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 40%; border-radius: 18px; }
.team figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 14px; color: var(--muted); font-size: .95rem; }
.team figcaption .mono { font-size: .74rem; letter-spacing: .12em; color: var(--orange-deep); font-weight: 700; }

/* Galeria em campo */
.field-gallery { position: relative; padding: clamp(72px, 10vw, 120px) 0; }
.field-gallery__head { max-width: 720px; margin-bottom: 40px; }
.field-gallery__head .h2 { margin-top: 0; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.bento__item { margin: 0; position: relative; overflow: hidden; border-radius: 12px; background: var(--asphalt-2); min-width: 0; }
.bento__item--wide { grid-column: span 2; grid-row: span 2; }
.bento__item--tall { grid-row: span 2; }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bento__item:hover img { transform: scale(1.05); }
.bento__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px;
  background: linear-gradient(transparent, #000b);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #f3eee6;
}
.field-gallery__ig { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 700; color: #e8e2da; border-bottom: 2px solid var(--orange); padding-bottom: 4px; }
.field-gallery__ig svg { width: 20px; height: 20px; color: var(--orange); }
.field-gallery__ig:hover { color: var(--orange); }

/* Entregas */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.metric { padding: 30px 28px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--paper); transition: background .25s; position: relative; }
.metric:hover { background: var(--white); }
.metric__u { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: .82rem; color: var(--ink); background: var(--orange); padding: 4px 10px; border-radius: 4px; }
.metric h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 18px 0 8px; }
.metric p { margin: 0; color: var(--muted); }

/* Método — rota */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; position: relative; counter-reset: r; }
.route li { position: relative; padding-top: 44px; }
.route li::before { /* faixa da estrada */
  content: ""; position: absolute; left: 0; right: -32px; top: 12px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 26px, transparent 26px 44px);
  opacity: .9;
}
.route li:nth-child(3n)::before { right: 0; }
.route li::after { /* marco */
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 5px var(--asphalt), 0 0 0 7px #ef7b1b66;
}
.route__km { font-family: var(--mono); font-size: .76rem; font-weight: 700; letter-spacing: .12em; color: var(--orange); }
.route h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 8px 0 8px; }
.route p { margin: 0; color: #b9b2a9; }

/* Aplicações */
.apps { display: grid; gap: 16px; }
.app { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease); }
.app:hover { border-color: var(--orange); transform: translateX(4px); }
.app__ic { width: 64px; height: 64px; border-radius: 14px; background: var(--ink); color: var(--orange); display: grid; place-items: center; }
.app__ic svg { width: 30px; height: 30px; }
.app h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; margin: 0 0 8px; }
.app p { margin: 0 0 12px; color: var(--muted); }
.app__tags { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: var(--orange-deep); font-weight: 700; }

/* Clientes — placas */
.signs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.signs li {
  font-weight: 800; font-size: 1.02rem; letter-spacing: .01em;
  padding: 14px 22px; border-radius: 8px;
  background: var(--ink); color: var(--white);
  box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 5px #f3eee6cc;
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.signs li:hover { background: var(--orange); color: var(--ink); transform: translateY(-3px) rotate(-1deg); box-shadow: inset 0 0 0 3px var(--orange), inset 0 0 0 5px var(--ink); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s; }
.faq details[open] { border-color: var(--orange); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EF7B1B' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--ink-2); }

/* Contato */
.contact__in { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.channels { display: grid; gap: 10px; margin-top: 32px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 12px; background: #ffffff0a; border: 1px solid #ffffff1a; transition: background .2s, border-color .2s, transform .2s var(--ease); }
a.channel:hover { background: #ffffff14; border-color: #ef7b1b88; transform: translateX(4px); }
.channel svg { width: 26px; height: 26px; color: var(--orange); }
.channel span { display: flex; flex-direction: column; font-weight: 700; font-size: 1.02rem; overflow-wrap: anywhere; }
.channel small { font-family: var(--mono); font-weight: 500; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #a59f97; }
.channel--wa { background: #25d36618; border-color: #25d36666; }
.channel--wa svg { color: #25d366; }

.form { background: var(--cream); color: var(--ink); border-radius: 20px; padding: clamp(22px, 3.5vw, 36px); position: relative; overflow: hidden; }
.form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--orange) 0 10px, var(--ink) 10px 20px); }
.form__head h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; margin: 6px 0 4px; }
.form__head p { margin: 0 0 22px; color: var(--muted); font-size: .95rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > span, .field legend { font-size: .8rem; font-weight: 700; color: var(--ink-2); padding: 0; }
.field legend { margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px #ef7b1b26; }
.field input.is-invalid { border-color: #d93a3a; box-shadow: 0 0 0 4px #d93a3a1f; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 600; font-size: .88rem; transition: all .15s; }
.chip input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.form__err { min-height: 1.2em; margin: 12px 0 0; color: #c42f2f; font-weight: 600; font-size: .9rem; }
.form__ok { margin: 0 0 12px; padding: 12px 14px; border-radius: 10px; background: var(--white); border-left: 4px solid #25d366; font-size: .92rem; }
.form__ok a { color: var(--orange-deep); font-weight: 700; text-decoration: underline; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form .btn--ghost { color: var(--ink); }
.form .btn--ghost:hover { background: #0000000a; }

/* Footer */
.footer { background: var(--ink); color: #cfc8bf; padding: 56px 0 28px; }
.footer__in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer__tag { margin: 16px 0 0; font-size: .92rem; color: #a59f97; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 8px; font-size: .94rem; }
.footer a:hover { color: var(--orange); }
.footer__contact { overflow-wrap: anywhere; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid #ffffff1a; font-size: .8rem; color: #8e8880; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px; border-radius: 999px;
  background: #25d366; color: #0b2e17; font-weight: 800;
  box-shadow: 0 14px 30px -10px #25d366aa, 0 4px 10px #0003;
  transition: transform .2s var(--ease);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px) scale(1.02); }

/* Barra mobile */
.mbar { display: none; }

/* Reveal */
/* visível por padrão; só anima o que estava abaixo da dobra no carregamento */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-pre { opacity: 0; transform: translateY(24px); }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav__menu a { padding: 8px 8px; font-size: .88rem; }
}

@media (max-width: 960px) {
  .topbar__links a:nth-child(3) { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    max-height: calc(100vh - 80px); overflow-y: auto;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px #0004;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s var(--ease);
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__menu a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__menu a::after { display: none; }
  .nav__menu-cta { display: block; color: var(--orange-deep) !important; }

  .grid-2, .eq-panel, .contact__in, .hero__in { grid-template-columns: 1fr; }
  .hero__photo { max-width: 560px; }
  .hero__photo img { aspect-ratio: 4 / 3; object-position: center 62%; }
  .road { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .grid-2 { align-items: start; }
  .quotes, .services { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .route { grid-template-columns: 1fr 1fr; }
  .route li:nth-child(3n)::before { right: -32px; }
  .route li:nth-child(2n)::before { right: 0; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__in > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { padding-bottom: 68px; }
  .topbar__loc { display: none; }
  .topbar__in { justify-content: center; }
  .topbar__links { gap: 16px; font-size: .78rem; }
  .topbar__links a:nth-child(2) { display: none; }

  .hud { left: 8px; right: 8px; top: 8px; gap: 6px; }
  .hud__item { padding: 6px 9px; gap: 6px; }
  .hud__item em { display: none; }
  .team img { aspect-ratio: 4 / 3; }
  .bento { grid-auto-rows: 140px; gap: 8px; }
  .hero__ctas .btn { width: 100%; }
  .hero__stats { gap: 22px 28px; }

  .eq-tabs { grid-template-columns: 1fr 1fr; }
  .eq-tab:nth-child(2) { border-right: 0; }
  .eq-tab:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .specs div { grid-template-columns: 1fr; gap: 4px; }
  .fwd { padding: 12px; }
  .fwd__read { width: 100%; }
  .fwd__read div { flex: 1; min-width: 0; }
  .fwd__foot .btn { width: 100%; }
  .ldis { grid-template-columns: 1fr; }
  .ldis__lane { min-height: 220px; }
  .runway { height: 200px; }
  .runway__num { font-size: 2.2rem; left: 50px; }
  .runway__num--b { right: 50px; left: auto; }
  .runway__cl { left: 100px; right: 100px; }
  .runway__cart { left: 100px; }
  @keyframes cart { to { left: calc(100% - 146px); } }
  .profile__atr, .mu-meter { grid-template-columns: 1fr; gap: 8px; }

  .metrics { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr; gap: 36px; }
  .route li::before { right: 0 !important; }
  .app { grid-template-columns: 1fr; }
  .signs li { padding: 11px 16px; font-size: .92rem; }
  .form__grid { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; }
  .footer__in { grid-template-columns: 1fr; }

  .wa-float { display: none; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1.3fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--ink); border-top: 3px solid var(--orange);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 10px 4px; color: var(--white); font-size: .76rem; font-weight: 700; }
  .mbar a svg { width: 22px; height: 22px; color: var(--orange); }
  .mbar__wa { background: #25d366; color: #0b2e17 !important; }
  .mbar__wa svg { color: #0b2e17 !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal.is-pre { opacity: 1; transform: none; }
}
