/* =========================================================
   Plano B Transportes — site de aprovação
   Cores, fontes e medidas tiradas do Figma "Desktop Plano B - B"
   ========================================================= */

/* ---------- Fontes (hospedadas no próprio site) ---------- */
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: block; src: url("../fonts/poppins-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 300; font-display: swap; src: url("../fonts/montserrat-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --ink: #001027;        /* navy profundo: textos e seção de rastreio */
  --navy: #0c2158;       /* navy da marca: títulos de card, faixa de contato */
  --blue: #029ac9;       /* azul Plano B: números, CTA */
  --cyan: #4ad4ff;       /* ciano: botão rastrear, detalhes em fundo escuro */
  --mist: #e9e9e9;       /* fundo dos cards */
  --line: #d4d7dd;       /* linhas do grid */
  --white: #fff;
  --muted: #5d6676;

  --f-display: "Poppins", system-ui, sans-serif;
  --f-body: "Montserrat", system-ui, sans-serif;
  --f-ui: "Inter", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --max: 1300px;
  --radius-lg: 30px;
  --radius-md: 15px;
  --radius-sm: 6px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--blue); color: #fff; border-radius: var(--radius-sm); transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; flex-direction: column; align-items: center; gap: 12px;
  font: 400 clamp(15px, 1.4vw, 22px)/1.4 var(--f-display);
  letter-spacing: .25em; text-transform: uppercase; color: var(--ink);
}
.eyebrow::after { content: ""; width: 80px; height: 2px; background: var(--blue); }
.display {
  font: 500 clamp(34px, 5.2vw, 73px)/1.16 var(--f-display);
  letter-spacing: -.01em; text-wrap: balance;
}
.display--md { font-size: clamp(30px, 4.4vw, 62px); }
.title-lg { font: 500 clamp(32px, 3.8vw, 56px)/1.15 var(--f-display); letter-spacing: -.01em; text-wrap: balance; }
.hl { color: var(--blue); font-weight: 600; }

.section-head { max-width: 1000px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; display: grid; justify-items: center; gap: 28px; }
.section-head__lead { max-width: 62ch; color: var(--muted); font-size: clamp(15px, 1.2vw, 18px); }
.section-head--row { max-width: none; padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2)); text-align: left; justify-items: start; grid-template-columns: 1fr auto; align-items: end; }
.section-head--row .eyebrow { align-items: flex-start; }

/* split de palavras para reveal (preenchido via JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 49px; padding: 0 22px; border: 0; border-radius: var(--radius-sm);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font: 600 13px/1 var(--f-ui); letter-spacing: .06em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; transition: color .35s var(--ease);
}
.btn::before { /* barra navy que sobe no hover (componente "BOTÃO SAIBA MAIS" do Figma) */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: #fff; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 12px; }
.btn--blue { --bg: var(--blue); }
.btn--white { --bg: #fff; --fg: var(--ink); }
.btn--white::before { background: var(--blue); }
.btn--navy { --bg: var(--navy); }
.btn--navy::before { background: var(--blue); }
.btn--block { width: 100%; min-height: 56px; font-size: 14px; }

/* ---------- Mídia com fallback (quando a imagem ainda não foi exportada) ---------- */
.media { position: relative; overflow: hidden; background:
  radial-gradient(120% 90% at 85% 10%, rgba(74,212,255,.28), transparent 55%),
  linear-gradient(150deg, #0c2158 0%, #001027 70%); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media.is-missing::after {
  content: attr(data-label); position: absolute; left: 14px; bottom: 12px;
  font: 500 12px/1 var(--f-ui); letter-spacing: .04em; color: rgba(255,255,255,.55);
  padding: 6px 8px; border: 1px dashed rgba(255,255,255,.35); border-radius: 4px;
}
.media.is-missing img { opacity: 0; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; text-decoration: none; color: #fff; }
.logo img { height: 24px; width: auto; }
.logo__text { display: none; font: 600 22px/1 var(--f-display); letter-spacing: .02em; }
.logo__text b { display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; margin-left: .3em; background: #fff; color: var(--ink); border-radius: 3px; font-weight: 800; font-size: .8em; transform: skewX(-8deg); }
.logo.no-img .logo__text { display: inline-block; }

/* =========================================================
   MENU
   ========================================================= */
.nav { position: fixed; inset: 16px var(--gutter) auto; z-index: 50; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.nav__bar {
  pointer-events: auto; width: 100%; max-width: var(--max);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 12px 10px 24px; border-radius: 11px;
  background: rgba(0, 16, 39, .72);
  border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  transition: transform .5s var(--ease), background .3s;
}
.nav.is-hidden .nav__bar { transform: translateY(-140%); }
.nav.is-solid .nav__bar { background: rgba(0, 16, 39, .85); }
.nav__links { display: flex; gap: clamp(20px, 3vw, 56px); }
.nav__links a { position: relative; color: rgba(255,255,255,.88); text-decoration: none; font: 400 16px/1.2 var(--f-display); padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-active { color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); color: #fff; background: rgba(255,255,255,.12); transition: background .25s; }
.icon-btn:hover { background: rgba(255,255,255,.24); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm); background: rgba(255,255,255,.12); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__mobile {
  pointer-events: auto; width: 100%; margin-top: 8px; padding: 12px; border-radius: 11px;
  background: rgba(0,16,39,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  display: grid;
}
.nav__mobile[hidden] { display: none; }
.nav__mobile a { color: #fff; text-decoration: none; font: 500 20px/1 var(--f-display); padding: 16px 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav__mobile a:last-child { border-bottom: 0; }

/* =========================================================
   HERO — máscara PLANO B que abre no scroll
   ========================================================= */
.hero { position: relative; height: 320vh; background: #fff; }
.hero__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media.media { background:
  radial-gradient(60% 50% at 70% 30%, rgba(74,212,255,.45), transparent 60%),
  radial-gradient(70% 60% at 20% 80%, rgba(2,154,201,.55), transparent 60%),
  linear-gradient(160deg, #0c2158, #001027); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; will-change: transform; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,16,39,.25) 0%, rgba(0,16,39,.15) 40%, rgba(0,16,39,.75) 100%); opacity: 0; }
.hero__mask { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hero__cover { fill: #fff; }
#mask-word { font: 800 310px/1 var(--f-display); letter-spacing: -6px; fill: #000; }
.hero__title {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(56px, 12vh, 140px);
  max-width: var(--max); margin: 0 auto; color: #fff;
  font: 600 clamp(44px, 8.4vw, 150px)/.98 var(--f-display); letter-spacing: -.035em;
}
.hero__line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero__line > span { display: inline-block; }
.hero__hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  font: 500 12px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__hint::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--ink), transparent); animation: hint 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* curvas entre seções (Vector 12/13 do Figma) */
.curve { position: absolute; left: 0; width: 100%; height: clamp(40px, 6.8vw, 130px); fill: #fff; pointer-events: none; }
.curve--top { bottom: calc(100% - 1px); }
.curve--navy { fill: var(--ink); }

/* =========================================================
   NÚMEROS
   ========================================================= */
.stats { position: relative; z-index: 2; background: #fff; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(60px, 9vw, 140px); margin-top: -1px; }
.grid-lines { position: relative; max-width: var(--max); margin: 0 auto; }
.stats__list { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); }
.stat { position: relative; display: flex; flex-direction: column-reverse; align-items: center; gap: 10px; padding: 48px 12px 64px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat::before, .stat::after { /* cruzetas "+" nos cruzamentos do grid */
  content: ""; position: absolute; bottom: -10px; width: 19px; height: 19px;
  background: linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat;
}
.stat::after { right: -10px; }
.stat::before { left: -10px; display: none; }
.stat:first-child::before { display: block; }
.stat__label { font: 400 clamp(14px, 1.2vw, 19px)/1.4 var(--f-display); color: var(--ink); text-align: center; }
.stat__value { font: 800 clamp(44px, 6vw, 92px)/1 var(--f-display); color: var(--blue); letter-spacing: -.02em; display: flex; font-variant-numeric: tabular-nums; }
.odo { display: inline-block; height: 1em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; will-change: transform; }
.odo__strip > span { height: 1em; line-height: 1; text-align: center; }
.odo--static { line-height: 1; }

/* =========================================================
   QUEM SOMOS
   ========================================================= */
.about { padding: clamp(40px, 6vw, 80px) 0 clamp(100px, 14vw, 220px); }
.about__body {
  max-width: 1180px; margin: clamp(56px, 8vw, 120px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start;
}
.about__text { position: relative; padding-left: clamp(24px, 3vw, 44px); border-left: 1px solid var(--line); display: grid; gap: 22px; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.7; max-width: 60ch; }
.about__text::before { content: ""; position: absolute; left: -4px; top: 0; width: 7px; height: 120px; background: var(--blue); border-radius: 2px; transform-origin: top; }
.timeline { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; padding-top: 32px; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 9px; right: 18%; height: 1px; background: var(--blue); }
.timeline li { position: relative; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; top: -32px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(2,154,201,.15); }
.timeline b { font: 600 18px/1.2 var(--f-display); color: var(--ink); }
.timeline span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.about__figure { display: grid; gap: 18px; }
.notched { aspect-ratio: 625 / 625; border-radius: 22px; }
.notched img { transform: scale(1.12); }
.notch { position: absolute; z-index: 2; background: #fff; }
.notch--top  { /* recorte superior (Vector 3 do Figma) */ top: -1px; left: 28%; width: 62%; height: 7%; border-radius: 0 0 22px 22px; }
.notch--side { /* recorte lateral (Vector 4 do Figma) */ left: -1px; top: 54%; width: 7%; height: 36%; border-radius: 0 22px 22px 0; }
.notched.is-missing::after { left: auto; right: 14px; }

/* =========================================================
   RASTREIO
   ========================================================= */
.track { position: relative; z-index: 2; background: var(--ink); color: #fff; padding: clamp(60px, 8vw, 120px) var(--gutter) clamp(100px, 12vw, 200px); }
.track__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.track__copy { display: grid; gap: clamp(24px, 3vw, 44px); }
.track__copy .title-lg { color: #ececec; }
.track__lead { font: 400 clamp(18px, 1.9vw, 28px)/1.4 var(--f-body); max-width: 24ch; color: rgba(255,255,255,.92); }
.track__form { display: grid; grid-template-columns: 1fr auto; max-width: 560px; margin-top: 12px; }
.track__form input { min-width: 0; height: 72px; padding: 0 24px; border: 0; border-radius: 0; background: #fff; color: #16232a; font-size: 15px; letter-spacing: .02em; }
.track__form input::placeholder { color: #6a7480; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; }
.track__btn { height: 72px; padding: 0 36px; border: 0; background: var(--cyan); color: #16232a; font: 500 16px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .25s; }
.track__btn:hover { background: #fff; }
.track__form .form-note { grid-column: 1 / -1; }
.track__visual { position: relative; }
.track__media { aspect-ratio: 858 / 909; border-radius: 4px; background: #000; }
.track__media.media { background: radial-gradient(1px 1px at 20% 30%, #fff8, transparent), radial-gradient(1px 1px at 70% 15%, #fff6, transparent), radial-gradient(1px 1px at 45% 75%, #fff6, transparent), radial-gradient(1px 1px at 85% 60%, #fff5, transparent), radial-gradient(70% 60% at 50% 55%, #0a1a35, #000); }
.track__hud { position: absolute; inset: 0; pointer-events: none; font: 500 11px/1 var(--f-ui); letter-spacing: .08em; }
.hud-dot { position: absolute; left: 62%; top: 58%; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(74,212,255,.6); animation: ping 2s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 26px rgba(74,212,255,0); } }
.hud-tag { position: absolute; left: calc(62% + 20px); top: calc(58% - 2px); color: var(--cyan); }
.hud-eta { position: absolute; right: 16px; top: 16px; color: #ff9f5a; text-transform: uppercase; }
.hud-eta b { color: #fff; font-weight: 600; margin-left: 6px; }
.seal { position: absolute; right: -6%; top: 22%; width: clamp(110px, 12vw, 190px); aspect-ratio: 1; display: grid; place-items: center; }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal__ring circle { fill: var(--blue); }
.seal__ring text { fill: #fff; font: 600 13.5px/1 var(--f-display); letter-spacing: 3.2px; }
.seal__mark { position: relative; width: 38%; }
.seal__b { position: relative; display: none; font: 800 clamp(40px, 4.6vw, 72px)/1 var(--f-display); color: #fff; transform: skewX(-8deg); }
.seal.no-img .seal__b { display: block; }

/* =========================================================
   SERVIÇOS — rolagem horizontal presa
   ========================================================= */
.services { position: relative; z-index: 3; background: #fff; }
.services__pin { padding: clamp(40px, 6vw, 72px) 0 clamp(60px, 8vw, 100px); display: grid; gap: clamp(36px, 5vw, 64px); }
.services__progress { width: 200px; height: 2px; background: var(--line); position: relative; overflow: hidden; margin-bottom: 18px; }
.services__progress span { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.services__viewport { overflow: hidden; }
.services__track {
  display: flex; gap: clamp(16px, 2vw, 30px);
  padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2));
  width: max-content; will-change: transform;
}
.card {
  width: clamp(290px, 30vw, 500px); flex: none;
  background: var(--mist); border-radius: var(--radius-lg);
  padding: clamp(22px, 2vw, 34px); display: flex; flex-direction: column; gap: 14px;
  transition: background .4s var(--ease);
}
.card:hover { background: #dfe5ec; }
.card__num { font: 700 clamp(18px, 1.4vw, 23px)/1.2 var(--f-body); color: #a7a7a7; }
.card__title { font: 700 clamp(19px, 1.5vw, 23px)/1.3 var(--f-body); color: var(--navy); margin-top: -8px; }
.card__text { font: 400 clamp(14px, 1.05vw, 16px)/1.45 var(--f-body); color: var(--navy); min-height: 4.4em; }
.card__img { aspect-ratio: 452 / 315; border-radius: var(--radius-md); margin-top: 6px; }
.card__img img { transition: transform .9s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.btn--card { --bg: #fff; --fg: var(--navy); min-height: 56px; border-radius: 10px; font: 500 14px/1 var(--f-body); letter-spacing: .06em; margin-top: 6px; }
.btn--card::before { background: var(--navy); }

/* =========================================================
   FAIXA
   ========================================================= */
.marquee { overflow: hidden; background: var(--blue); color: #fff; padding: 22px 0; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 500 clamp(22px, 2.6vw, 40px)/1 var(--f-display); white-space: nowrap; letter-spacing: -.01em; }
.marquee i { width: 14px; height: 14px; background: #fff; transform: skewX(-12deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   CERTIFICAÇÕES
   ========================================================= */
.certs { padding: clamp(90px, 12vw, 180px) var(--gutter) clamp(80px, 10vw, 150px); }
.certs__grid { margin-top: clamp(48px, 6vw, 90px); max-width: 1100px; display: grid; grid-template-columns: repeat(5, 1fr); border-left: 1px solid var(--line); }
.cert { position: relative; display: grid; justify-items: center; align-content: start; gap: 14px; padding: 36px 16px 44px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.cert::after { content: ""; position: absolute; right: -10px; bottom: -10px; width: 19px; height: 19px; background: linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat; }
.cert:first-child::before { content: ""; position: absolute; left: -10px; bottom: -10px; width: 19px; height: 19px; background: linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat; }
.cert__logo { height: 110px; display: grid; place-items: center; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.cert__logo img { max-height: 110px; width: auto; }
.cert:hover .cert__logo { filter: none; opacity: 1; transform: translateY(-4px); }
.cert__logo.is-missing img { display: none; }
.cert__logo.is-missing::before { content: attr(data-fallback); font: 800 clamp(20px, 2vw, 30px)/1.05 var(--f-display); color: #4a4f57; letter-spacing: -.02em; text-align: center; max-width: 6ch; }
.cert__name { font: 500 13px/1.4 var(--f-body); color: var(--muted); max-width: 22ch; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 0 var(--gutter) clamp(90px, 11vw, 160px); }
.faq__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font: 500 clamp(16px, 1.3vw, 20px)/1.35 var(--f-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--blue), var(--blue)) center / 2px 100% no-repeat, linear-gradient(var(--blue), var(--blue)) center / 100% 2px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 58ch; color: var(--muted); }

/* =========================================================
   CONTATO
   ========================================================= */
.contact { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 80px); max-width: 100%; }
.contact__top { grid-column: 1; padding: 0 0 clamp(48px, 6vw, 80px) max(var(--gutter), calc((100vw - 1180px) / 2)); }
.contact__intro { display: grid; gap: 18px; max-width: 520px; font-size: clamp(15px, 1.2vw, 18px); }
.contact__band { grid-column: 1 / -1; grid-row: 2; position: relative; background: var(--navy); color: #fff; }
.contact__notch { position: absolute; left: 0; bottom: 100%; width: min(42vw, 420px); height: 34px; fill: var(--navy); }
.contact__band-inner { padding: clamp(40px, 5vw, 64px) var(--gutter) clamp(48px, 6vw, 80px) max(var(--gutter), calc((100vw - 1180px) / 2)); width: 50%; display: grid; gap: 36px; }
.contact__info { display: grid; gap: 18px; font-size: 14px; }
.contact__info li { display: grid; grid-template-columns: 24px 1fr; gap: 16px; align-items: start; }
.contact__info svg { width: 22px; height: 22px; fill: #fff; }
.contact__info a, .contact__jobs a { color: #fff; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.contact__info a:hover, .contact__jobs a:hover { color: var(--cyan); }
.contact__jobs { display: grid; gap: 4px; font-size: 14px; }
.contact__jobs strong { font: 600 17px/1.3 var(--f-display); }
.contact__form {
  grid-column: 2; grid-row: 1 / span 2; align-self: start; position: relative; z-index: 2;
  width: min(100%, 560px); margin-right: max(var(--gutter), calc((100vw - 1180px) / 2)); justify-self: end;
  background: #f4f4f4; border-radius: var(--radius-lg); padding: clamp(18px, 2vw, 30px);
  display: grid; gap: 14px; box-shadow: 0 30px 60px -30px rgba(0, 16, 39, .45);
}
.field input, .field textarea {
  width: 100%; border: 1px solid transparent; border-radius: 10px; background: #e2e2e2;
  padding: 22px 20px; font-size: 15px; color: var(--ink); resize: vertical; transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #8b8f96; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #d0453a; }
.contact__form .btn--block { margin-top: 6px; }
.form-note { min-height: 1.4em; font-size: 13px; line-height: 1.4; }
.contact__form .form-note { color: var(--navy); }
.track__form .form-note { color: var(--cyan); padding-top: 12px; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 48px var(--gutter); }
.footer__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: center; border-top: 1px solid rgba(255,255,255,.14); padding-top: 32px; }
.footer__tag { font: 400 14px/1 var(--f-display); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__nav a { color: #fff; text-decoration: none; font-size: 14px; }
.footer__nav a:hover { color: var(--cyan); }
.footer__copy { grid-column: 1 / -1; font-size: 12px; color: rgba(255,255,255,.5); }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}
@media (max-width: 1024px) {
  .services__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .services__viewport::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: center; }
  .services__progress { display: none; }
  .section-head--row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .about__body, .track__inner, .faq__inner { grid-template-columns: 1fr; }
  .about__figure { order: -1; }
  .seal { right: auto; left: -8px; top: -52px; }
  .certs__grid { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .contact__top { grid-column: 1; padding: 0 var(--gutter) 32px; }
  .contact__form { grid-column: 1; grid-row: 2; justify-self: stretch; margin: 0 var(--gutter); width: auto; }
  .contact__band { grid-row: 3; margin-top: -80px; }
  .contact__band-inner { width: 100%; padding-top: 120px; }
  .contact__notch { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .nav__bar { padding: 8px 8px 8px 16px; gap: 8px; }
  .nav .btn--sm { padding: 0 12px; font-size: 11px; }
  .icon-btn { display: none; }
  .stats__list { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 32px 8px 40px; }
  .stat:nth-child(3)::before { display: block; }
  .timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 36px; gap: 20px; }
  .timeline::before { top: 6px; bottom: 20px; left: 8px; right: auto; width: 1px; height: auto; }
  .timeline li::before { top: 2px; left: -36px; }
  .track__form { grid-template-columns: 1fr; }
  .track__form input, .track__btn { height: 60px; }
  .certs__grid { grid-template-columns: repeat(2, 1fr); }
  .cert:nth-child(odd)::before { content: ""; position: absolute; left: -10px; bottom: -10px; width: 19px; height: 19px; background: linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat; }
  .hero__hint { display: none; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
}

/* A imagem de rastreio já traz os rótulos do caminhão */
.track__media:not(.is-missing) .hud-dot, .track__media:not(.is-missing) .hud-tag { display: none; }
