: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; } }
