:root {
  --bg: #061410;
  --bg-2: #0a1f17;
  --panel: #0e2a1f;
  --ink: #f2f7f3;
  --muted: rgba(242, 247, 243, 0.62);
  --green: #39b54a;
  --green-deep: #136337;
  --green-soft: rgba(57, 181, 74, 0.16);
  --line: rgba(242, 247, 243, 0.1);
  --display: "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0.01em; transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--green); color: #05150b; }
.btn-solid:hover { background: #4bcf5d; }
.btn-ghost { border: 1px solid rgba(242,247,243,0.28); color: var(--ink); background: rgba(6,20,16,0.25); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--green); color: #9df0a8; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; transition: background .4s ease, padding .4s ease, border-color .4s ease; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(6,20,16,0.82); backdrop-filter: blur(14px); padding: 12px 32px; border-color: var(--line); }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; color: rgba(242,247,243,0.8); }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--green); transition: right .3s ease; }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; gap: 10px; }
.nav-burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 7px; }
.nav-burger span { display: block; width: 26px; height: 2px; background: var(--ink); transition: transform .3s ease; }
.nav-burger.is-open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-burger.is-open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 55; background: rgba(6,20,16,0.96); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 26px; font-family: var(--display); font-size: 26px; font-weight: 600; }
.mobile-menu.is-open { display: flex; }

/* ---------- Cinematic scrub sections ---------- */
.cinematic { position: relative; height: 480vh; }
.sticky { position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden; background: #07140e; }
.sticky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.vignette { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(120% 90% at 50% 45%, transparent 40%, rgba(4,14,10,0.7) 100%),
  linear-gradient(180deg, rgba(4,14,10,0.55) 0%, transparent 28%, transparent 62%, rgba(4,14,10,0.85) 100%); }

.overlay { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; text-align: center; padding: 0 24px; }
.overlay .eyebrow { position: absolute; left: 50%; top: 150px; transform: translateX(-50%); font-family: var(--display); font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: #9df0a8; opacity: 0; white-space: nowrap; }
.line { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(92vw, 1100px); font-family: var(--display); font-weight: 800; font-size: clamp(2.3rem, 7vw, 6.2rem); line-height: 1.02; letter-spacing: -0.03em; opacity: 0; text-shadow: 0 10px 60px rgba(0,0,0,0.6); will-change: opacity, transform; }
.line em { font-style: normal; color: var(--green); }

.telemetry { position: absolute; z-index: 12; font-family: var(--display); font-size: 11px; letter-spacing: 0.26em; color: rgba(157,240,168,0.85); }
.tl { top: 96px; left: 32px; } .tr { top: 96px; right: 32px; } .bl { bottom: 72px; left: 32px; } .br { bottom: 72px; right: 32px; }
.progress { position: absolute; left: 32px; right: 32px; bottom: 48px; height: 2px; background: rgba(242,247,243,0.14); z-index: 12; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #9df0a8, var(--green)); box-shadow: 0 0 14px var(--green); }
.scroll-hint { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 12; font-family: var(--display); font-size: 11px; letter-spacing: 0.4em; color: rgba(242,247,243,0.6); animation: bob 1.8s ease-in-out infinite; transition: opacity .4s; }
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ---------- Generic section styling ---------- */
section.stats, section.about, section.services, section.gallery, section.tapia, section.units, section.cta { position: relative; z-index: 2; }
.kicker { font-family: var(--display); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -0.03em; }
h2 span { color: var(--green); }
.sub { color: var(--muted); font-size: 1.1rem; line-height: 1.7; margin-top: 18px; max-width: 640px; }
.section-head { margin-bottom: 48px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(180deg, #07140e, var(--bg)); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); padding: 56px 0; }
.stat { padding: 8px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.8rem); letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 8px; letter-spacing: 0.02em; }

/* ---------- About ---------- */
.about { padding: 120px 0; background: radial-gradient(60% 50% at 0% 0%, rgba(57,181,74,0.10), transparent 60%), var(--bg); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.about-copy p { color: var(--muted); font-size: 1.08rem; line-height: 1.75; margin-bottom: 18px; }
.values { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.values li { padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.02); color: var(--muted); }
.values b { color: var(--ink); font-weight: 600; }

/* ---------- Services ---------- */
.services { padding: 110px 0 130px; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 32px 28px; border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)); border: 1px solid var(--line); transition: transform .35s ease, border-color .35s ease, background .35s ease; }
.card:hover { transform: translateY(-6px); border-color: rgba(57,181,74,0.55); background: linear-gradient(180deg, rgba(57,181,74,0.12), rgba(255,255,255,0.02)); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--green-soft); display: grid; place-items: center; margin-bottom: 22px; }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: var(--display); font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--muted); line-height: 1.65; font-size: 15px; }

/* ---------- Gallery ---------- */
.gallery { padding: 32px 0 120px; background: var(--bg); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { border-radius: 18px; overflow: hidden; aspect-ratio: 16/10; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery figure:hover img { transform: scale(1.05); }

/* ---------- Tap.IA ---------- */
.tapia { padding: 120px 0; background: radial-gradient(70% 70% at 100% 50%, rgba(57,181,74,0.14), transparent 60%), var(--bg-2); border-top: 1px solid var(--line); }
.tapia-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.tapia-video { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid rgba(57,181,74,0.35); box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03) inset; aspect-ratio: 16/9; background: #000; }
.tapia-video video { width: 100%; height: 100%; object-fit: cover; }
.play-btn { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--green); color: #05150b; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 14px rgba(57,181,74,0.18); transition: transform .3s ease, opacity .3s ease; }
.play-btn svg { width: 34px; height: 34px; fill: currentColor; margin-left: 4px; }
.play-btn:hover { transform: scale(1.06); }
.tapia-video.is-playing .play-btn { opacity: 0; pointer-events: none; }
.lead { font-size: 1.15rem; line-height: 1.7; color: var(--ink); margin-top: 22px; font-style: italic; opacity: .92; }
.checks { list-style: none; margin-top: 24px; display: grid; gap: 10px; color: var(--muted); }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft); border: 1px solid var(--green); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 3px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* ---------- Units ---------- */
.units { padding: 120px 0; background: var(--bg); }
.tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.tab { font-family: var(--display); font-weight: 600; font-size: 14px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; transition: all .25s ease; }
.tab small { margin-left: 8px; font-size: 12px; opacity: .6; }
.tab.is-active { background: var(--green); color: #05150b; border-color: var(--green); }
.tab.is-active small { opacity: .8; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.unit { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); transition: border-color .3s ease; }
.unit:hover { border-color: rgba(57,181,74,0.5); }
.unit h4 { font-family: var(--display); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; display: flex; flex-direction: column; gap: 4px; }
.unit h4 span { font-family: var(--body); font-weight: 500; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
.unit p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.unit a { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--ink); border-bottom: 1px solid rgba(57,181,74,0.5); }
.unit small { display: block; margin-top: 12px; font-size: 12px; color: rgba(242,247,243,0.45); line-height: 1.5; }

/* ---------- CTA ---------- */
.cta { padding: 120px 0; background: linear-gradient(180deg, var(--bg-2), #04100b); border-top: 1px solid var(--line); }
.cta-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.track-form { display: flex; gap: 10px; margin-top: 28px; max-width: 560px; }
.track-form input { flex: 1; padding: 14px 20px; border-radius: 999px; border: 1px solid rgba(242,247,243,0.2); background: rgba(255,255,255,0.04); color: var(--ink); font-family: var(--body); font-size: 15px; outline: none; transition: border-color .25s ease; }
.track-form input:focus { border-color: var(--green); }
.contact-card { padding: 40px; border-radius: 26px; background: linear-gradient(160deg, rgba(57,181,74,0.16), rgba(255,255,255,0.02)); border: 1px solid rgba(57,181,74,0.35); }
.contact-card p { color: var(--muted); line-height: 1.6; margin-top: 10px; }
.big-phone { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; color: var(--ink); }
.big-phone:hover { color: #9df0a8; }

/* ---------- Footer ---------- */
.footer { background: #030b08; border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 46px; width: auto; margin-bottom: 18px; }
.footer p { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer h5 { font-family: var(--display); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
.footer-grid a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; transition: color .2s ease; }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: rgba(242,247,243,0.4); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards, .gallery-grid, .unit-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .stat { border-left: 0; padding-left: 0; }
  .about-grid, .tapia-grid, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { padding: 14px 18px; }
  .nav.is-solid { padding: 10px 18px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-logo img { height: 32px; }
  .cinematic { height: 380vh; }
  .telemetry { font-size: 9px; letter-spacing: .18em; }
  .tl, .tr { top: 70px; } .tl, .bl { left: 18px; } .tr, .br { right: 18px; }
  .progress { left: 18px; right: 18px; }
  .overlay .eyebrow { font-size: 10px; letter-spacing: .22em; white-space: normal; width: 90vw; top: 112px; }
  .cards, .gallery-grid, .unit-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 40px 0; }
  .about, .services, .tapia, .units, .cta { padding: 80px 0; }
  .track-form { flex-direction: column; }
  .contact-card { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Frota: stronger scrim so the headline reads over the white trucks */
.frota .vignette { background:
  radial-gradient(55% 45% at 50% 50%, rgba(4,14,10,0.62), transparent 72%),
  radial-gradient(120% 90% at 50% 45%, transparent 40%, rgba(4,14,10,0.75) 100%),
  linear-gradient(180deg, rgba(4,14,10,0.6) 0%, transparent 28%, transparent 62%, rgba(4,14,10,0.88) 100%); }

/* ---------- Quem somos: foto ---------- */
.about-photo { margin-top: 28px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,0.25); }
.about-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.about-photo figcaption { padding: 10px 14px; font-size: 12px; color: var(--muted); }

/* ---------- Jornada ---------- */
.journey { padding: 110px 0; }
.journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.jcard { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,0.72); box-shadow: 0 24px 60px rgba(8,21,15,0.10); transition: transform .35s ease; }
.jcard:hover { transform: translateY(-6px); }
.jcard figure { margin: 0; aspect-ratio: 4/5; overflow: hidden; }
.jcard img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.jcard:hover img { transform: scale(1.05); }
.jcard > div { padding: 18px 20px 22px; }
.jnum { font-family: var(--display); font-size: 12px; letter-spacing: .2em; color: var(--green); }
.jcard h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 700; margin: 6px 0 8px; }
.jcard p { color: var(--muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 1024px) { .journey-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .journey { padding: 80px 0; } .journey-grid { grid-template-columns: 1fr; } .jcard figure { aspect-ratio: 16/10; } }

/* ---------- Cenas: rodapé centralizado e respiro no topo ---------- */
.stage-foot { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); z-index: 12; font-family: var(--display); font-size: 11px; letter-spacing: 0.32em; color: rgba(157,240,168,0.9); text-transform: uppercase; white-space: nowrap; }
.tl, .tr { top: 108px; }
.overlay .eyebrow { top: 156px; }
@media (max-width: 720px) {
  .tl, .tr { top: 92px; font-size: 9px; }
  .tl { left: 16px; } .tr { right: 16px; }
  .overlay .eyebrow { top: 128px; }
  .stage-foot { bottom: 84px; font-size: 10px; letter-spacing: .24em; }
  .scroll-hint { display: none; }
}
@media (max-width: 720px) {
  .telemetry.tr { display: none; }
  .telemetry.tl { left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; top: 90px; }
  .overlay .eyebrow { top: 118px; }
  .stage-foot { bottom: auto; top: calc(50% + 150px); font-size: 10px; }
  .progress { bottom: 24px; }
}
/* play do vídeo da TAPIA no canto inferior direito */
.play-btn { inset: auto 18px 18px auto; margin: 0; width: 64px; height: 64px; box-shadow: 0 0 0 8px rgba(57,181,74,0.18), 0 10px 30px rgba(0,0,0,0.4); }
.play-btn svg { width: 26px; height: 26px; }
@media (max-width: 720px) { .play-btn { width: 54px; height: 54px; inset: auto 12px 12px auto; } }

/* ===== Hero FX: cenas vetoriais entre o fundo e as frases ===== */
.fx { position: absolute; inset: 0; z-index: 6; pointer-events: none; display: grid; place-items: center; overflow: hidden; }
.fx-scene { position: absolute; width: min(78vh, 640px); height: min(78vh, 640px); opacity: 0; will-change: opacity, transform; overflow: visible; --k: 0; }
.fx-speed { width: min(150vw, 1300px); height: min(78vh, 640px); }
.fx-scene * { transform-box: view-box; }
/* radar */
.fx-rings circle, .fx-rings line { fill: none; stroke: rgba(157,240,168,0.5); stroke-width: 1.8; }
.fx-rings { transform-origin: 300px 300px; transform: scale(calc(0.55 + 0.45 * var(--k))); }
.fx-sweep { transform-origin: 300px 300px; animation: fxSweep 3.6s linear infinite; }
.fx-routes line { stroke: #9df0a8; stroke-width: 2; stroke-dasharray: 6 8; opacity: .8; animation: fxDash 1.2s linear infinite; }
.fx-blips circle { fill: #9df0a8; filter: drop-shadow(0 0 10px rgba(57,181,74,1)); }
.fx-blips .hub { fill: #fff; }
.fx-blips .ping { fill: none; stroke: #39b54a; stroke-width: 2; transform-origin: center; transform-box: fill-box; animation: fxPing 2.4s ease-out infinite; }
.fx-blips .ping:nth-of-type(6) { animation-delay: .5s; } .fx-blips .ping:nth-of-type(7) { animation-delay: 1s; } .fx-blips .ping:nth-of-type(8) { animation-delay: 1.5s; }
/* speed */
.fx-lines line { stroke: #9df0a8; stroke-width: 3; stroke-linecap: round; opacity: 0; animation: fxStreak 1.5s linear infinite; }
.fx-lines line:nth-child(2) { animation-delay: .25s; } .fx-lines line:nth-child(3) { animation-delay: .5s; } .fx-lines line:nth-child(4) { animation-delay: .8s; } .fx-lines line:nth-child(5) { animation-delay: 1.05s; } .fx-lines line:nth-child(6) { animation-delay: 1.3s; }
.fx-chev polyline { fill: none; stroke: #39b54a; stroke-width: 34; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - 100 * var(--k)); filter: drop-shadow(0 0 18px rgba(57,181,74,0.6)); opacity: .75; }
.fx-chev polyline:nth-child(2) { stroke: #9df0a8; opacity: .55; }
/* clock */
.fx-ring-bg { fill: none; stroke: rgba(157,240,168,0.22); stroke-width: 2; }
.fx-ticks { fill: none; stroke: rgba(157,240,168,0.6); stroke-width: 14; stroke-dasharray: 4 96; }
.fx-ring, .fx-ring-glow { fill: none; stroke: #39b54a; stroke-width: 8; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - 75 * var(--k)); transform-origin: 300px 300px; transform: rotate(-90deg); }
.fx-ring-glow { stroke-width: 22; opacity: .45; filter: blur(8px); }
.fx-hand { stroke: #9df0a8; stroke-width: 6; stroke-linecap: round; transform-origin: 300px 300px; transform: rotate(calc(var(--k) * 540deg)); filter: drop-shadow(0 0 10px rgba(57,181,74,0.9)); }
.fx-sec { stroke: rgba(157,240,168,0.55); stroke-width: 2; stroke-linecap: round; transform-origin: 300px 300px; animation: fxSweep 6s linear infinite; }
.fx-pin { fill: #fff; }
@keyframes fxSweep { to { transform: rotate(360deg); } }
@keyframes fxDash { to { stroke-dashoffset: -14; } }
@keyframes fxPing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4.5); opacity: 0; } }
@keyframes fxStreak { 0% { transform: translateX(-320px); opacity: 0; } 15% { opacity: .9; } 85% { opacity: .9; } 100% { transform: translateX(1300px); opacity: 0; } }
@media (max-width: 720px) {
  .fx-scene { width: min(80vw, 360px); height: min(80vw, 360px); }
  .fx-speed { width: 170vw; }
  .fx-chev polyline { stroke-width: 26; }
}
@media (prefers-reduced-motion: reduce) { .fx-sweep, .fx-routes line, .fx-blips .ping, .fx-lines line, .fx-sec { animation: none; } }

/* ===== Frota FX ===== */
.fx-fleet, .fx-go { width: min(150vw, 1300px); height: min(78vh, 640px); }
.fx-tiles rect { fill: rgba(57,181,74,0.16); stroke: #9df0a8; stroke-width: 1.6; opacity: clamp(0, calc(var(--k) * 26 - var(--i)), 1); transition: opacity .15s linear; }
.fx-shield .sh { fill: rgba(7,20,14,0.35); stroke: #39b54a; stroke-width: 5; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - 100 * var(--k)); filter: drop-shadow(0 0 14px rgba(57,181,74,0.8)); }
.fx-shield .ck { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - 100 * clamp(0, calc(var(--k) * 2 - 1), 1)); }
.fx-sat .orbit { fill: none; stroke: rgba(157,240,168,0.7); stroke-width: 2.2; stroke-dasharray: 6 8; }
.fx-sat .target circle { fill: none; stroke: rgba(157,240,168,0.6); stroke-width: 1.6; }
.fx-sat .target line { stroke: rgba(157,240,168,0.6); stroke-width: 1.6; }
.fx-sat .target { transform-origin: 300px 430px; transform: scale(calc(0.5 + 0.5 * var(--k))); }
.fx-sat .ping { fill: none; stroke: #39b54a; stroke-width: 2; transform-origin: 300px 430px; animation: fxPingTarget 2.6s ease-out infinite; }
.fx-sat .ping.p2 { animation-delay: 1.3s; }
.fx-sat .beam { stroke: #9df0a8; stroke-width: 2; stroke-dasharray: 4 10; opacity: .7; animation: fxDash .8s linear infinite; }
.fx-sat .truck { fill: #fff; filter: drop-shadow(0 0 10px rgba(57,181,74,1)); }
.fx-sat .satellite rect { fill: #9df0a8; }
.fx-sat .satellite rect:first-child { fill: #fff; }
.fx-sat .satellite { filter: drop-shadow(0 0 12px rgba(157,240,168,1)); transform-box: fill-box; }
.fx-sat .ground { stroke: rgba(157,240,168,0.35); stroke-width: 2; stroke-dasharray: 2 10; }
.fx-gochev polyline { fill: none; stroke: #39b54a; stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; opacity: clamp(0.08, calc(var(--k) * 6 - var(--i)), 0.85); filter: drop-shadow(0 0 14px rgba(57,181,74,0.6)); }
.fx-go .track { fill: rgba(157,240,168,0.2); }
.fx-go .bar { fill: #39b54a; transform-origin: 200px 543px; transform: scaleX(var(--k)); filter: drop-shadow(0 0 10px rgba(57,181,74,0.9)); }
@keyframes fxPingTarget { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(5); opacity: 0; } }
@media (max-width: 720px) { .fx-fleet, .fx-go { width: 175vw; } .fx-gochev polyline { stroke-width: 16; } }

/* ===== Unit cards with photo ===== */
.unit.has-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.unit-photo { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: rgba(57,181,74,0.08); }
.unit-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease; }
.unit.has-photo:hover .unit-photo img { transform: scale(1.05); }
.unit-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.unit-more { display: inline-block; margin-top: 14px; font-family: var(--display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green) !important; border-bottom: 0 !important; align-self: flex-start; margin-top: auto; padding-top: 14px; }
.map-hud-link { pointer-events: auto !important; cursor: pointer; text-decoration: none; transition: color .2s; }
.map-hud-link:hover { color: #fff; }

/* ===== Discreet navigation links (Google Maps / Waze) ===== */
.unit-links { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.unit-links .unit-more { margin-top: 0; padding-top: 0; }
.go-links { display: inline-flex; gap: 12px; margin-left: auto; }
.go-links a { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; letter-spacing: .04em; color: rgba(242,247,243,0.5) !important; border-bottom: 0 !important; margin-top: 0 !important; transition: color .2s; }
.go-links a:hover { color: var(--green) !important; }
.go-links svg { opacity: .8; }
section[data-theme="light"] .go-links a { color: rgba(8,21,15,0.5) !important; }
section[data-theme="light"] .go-links a:hover { color: #1f8f36 !important; }
.unit-wa { display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-size: 12.5px; font-weight: 600; letter-spacing: .01em; line-height: 1; text-transform: none; color: #fff !important; background: #25a244; border-radius: 999px; padding: 8px 14px 8px 11px; border-bottom: 0 !important; margin-top: 0 !important; transition: background .2s, transform .2s; }
.unit-wa svg { width: 15px; height: 15px; flex: none; display: block; }
.unit-wa, .tile-foot .unit-wa { white-space: nowrap; flex: none; }
.unit-links { justify-content: flex-start; }
.unit-links .go-links { margin-left: auto; }
.unit-wa:hover { background: #1e8a39; transform: translateY(-1px); }
.unit-links .unit-wa { order: -1; }

/* ===== FAQ ===== */
.faq { padding: 110px 0; }
.faq-list { max-width: 860px; margin: 34px auto 0; display: grid; gap: 10px; }
.faq details { border: 1px solid rgba(8,21,15,0.12); border-radius: 16px; background: rgba(255,255,255,0.7); padding: 0 22px; transition: border-color .3s; }
.faq details[open] { border-color: rgba(57,181,74,0.55); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-family: var(--display); font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.faq details > div a { color: #1f8f36; border-bottom: 1px solid rgba(31,143,54,0.4); }
section[data-theme="light"] .faq summary { color: #08150f; }

.foot-admin { opacity: .55; font-size: 12px !important; } .foot-admin:hover { opacity: 1; }

/* ===== Unit card actions (redesign) ===== */
.unit-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; }
.unit-links .unit-wa, .unit-links .unit-more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; font-family: var(--display); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1; white-space: nowrap; margin: 0 !important; border-bottom: 0 !important; transition: background .2s, border-color .2s, color .2s, transform .2s; order: 0; }
.unit-links .unit-wa { background: #25a244; color: #fff !important; }
.unit-links .unit-wa:hover { background: #1e8a39; transform: translateY(-1px); }
.unit-links .unit-wa svg { width: 15px; height: 15px; }
.unit-links .unit-more { border: 1px solid rgba(8,21,15,0.18); color: #08150f !important; background: transparent; }
.unit-links .unit-more:hover { border-color: var(--green); color: #1f8f36 !important; }
.unit-links .go-links { width: 100%; justify-content: flex-end; margin: 6px 0 0 0; gap: 14px; }
section[data-theme="dark"] .unit-links .unit-more { border-color: rgba(242,247,243,0.22); color: var(--ink) !important; }
@media (max-width: 480px) { .unit-links .unit-wa, .unit-links .unit-more { flex: 1 1 auto; } }
