:root {
  --bg: #07110b;
  --surface: #101d15;
  --surface-2: #17271c;
  --brand: #62e979;
  --brand-dark: #07180c;
  --text: #f5faf6;
  --muted: #a9b9ad;
  --line: rgba(255, 255, 255, .10);
  --shadow: 0 24px 70px rgba(0, 0, 0, .32);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 5%, rgba(98, 233, 121, .13), transparent 28rem),
    radial-gradient(circle at 0 48%, rgba(98, 233, 121, .06), transparent 25rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; }
.icon { width: 1.25em; height: 1.25em; display: inline-block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 11, .82);
  backdrop-filter: blur(18px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { display: block; width: 125px; max-height: 45px; object-fit: contain; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.nav-links a { padding: 9px 12px; border-radius: 12px; color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 650; transition: .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.06); }
.nav-links .nav-cta { color: var(--brand-dark); background: var(--brand); }
.nav-links .nav-cta:hover { color: var(--brand-dark); background: #82f394; transform: translateY(-1px); }
.menu-button { display: none; padding: 10px; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }

.hero { min-height: 620px; padding: 88px 0 65px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 50px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--brand); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 25px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 740px; margin-bottom: 22px; font-size: clamp(2.5rem, 5.2vw, 4.8rem); line-height: 1.02; letter-spacing: -.055em; }
h1 span, .accent { color: var(--brand); }
.lead { max-width: 610px; margin-bottom: 32px; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 14px; color: var(--brand-dark); background: var(--brand); text-decoration: none; font-weight: 800; transition: .2s ease; }
.button:hover { transform: translateY(-2px); background: #82f394; box-shadow: 0 12px 32px rgba(98,233,121,.18); }
.button.secondary { color: var(--text); background: rgba(255,255,255,.045); border-color: var(--line); }
.button.secondary:hover { background: rgba(255,255,255,.08); box-shadow: none; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 15% 10%; background: var(--brand); opacity: .16; filter: blur(80px); }
.hero-visual img { position: relative; display: block; width: 100%; filter: drop-shadow(0 30px 30px rgba(0,0,0,.42)); }
.stat-card { position: absolute; right: 0; bottom: 4%; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(16,29,21,.88); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.stat-card .icon { color: var(--brand); font-size: 1.5rem; }
.stat-card strong { display: block; font-size: .95rem; }
.stat-card small { color: var(--muted); }

.section { padding: 80px 0; }
.section-heading { max-width: 690px; margin-bottom: 34px; }
.section-heading h2 { margin-bottom: 10px; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.12; letter-spacing: -.035em; }
.section-heading p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.025)); transition: .25s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(98,233,121,.4); background: rgba(98,233,121,.055); }
.icon-box { width: 48px; height: 48px; margin-bottom: 20px; display: grid; place-items: center; border-radius: 14px; color: var(--brand); background: rgba(98,233,121,.12); font-size: 1.35rem; }
.card h3 { margin-bottom: 6px; font-size: 1.06rem; }
.card p { margin: 0; color: var(--muted); font-size: .9rem; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; }
.panel { padding: clamp(26px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.coverage { display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg, rgba(98,233,121,.16), rgba(16,29,21,.86)); }
.coverage .icon { width: 52px; height: 52px; color: var(--brand); }
.coverage p { color: var(--muted); }
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fleet-item { padding: 20px; border-radius: 18px; background: rgba(255,255,255,.04); }
.fleet-item .icon { margin-bottom: 14px; color: var(--brand); width: 30px; height: 30px; }
.fleet-item strong { display: block; margin-bottom: 4px; }
.fleet-item small { color: var(--muted); }
.partners { overflow: hidden; margin-top: 22px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.025); }
.partners > p { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.logo-row { display: grid; grid-template-columns: repeat(7, 1fr); align-items: center; gap: 28px; }
.logo-row img { width: 100%; max-height: 48px; object-fit: contain; filter: grayscale(1) brightness(1.7); opacity: .72; transition: .2s; }
.logo-row img:hover { filter: none; opacity: 1; }
.cta-band { margin-bottom: 80px; padding: clamp(30px, 5vw, 54px); display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: 28px; color: var(--brand-dark); background: var(--brand); }
.cta-band h2 { margin-bottom: 6px; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.1; }
.cta-band p { margin: 0; opacity: .72; }
.cta-band .button { background: var(--brand-dark); color: var(--text); }

.page-hero { padding: 75px 0 45px; text-align: center; }
.page-hero h1 { margin-inline: auto; margin-bottom: 15px; font-size: clamp(2.35rem, 5vw, 4.2rem); }
.page-hero .lead { margin-inline: auto; }
.tracking-grid { padding-bottom: 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tracking-card { min-height: 260px; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); background: rgba(255,255,255,.035); text-decoration: none; transition: .25s ease; }
.tracking-card:hover { transform: translateY(-5px); border-color: var(--brand); box-shadow: 0 20px 55px rgba(0,0,0,.25); }
.tracking-card img { width: 170px; height: 70px; object-fit: contain; }
.tracking-card h2 { margin: 18px 0; font-size: 1.1rem; }
.tracking-link { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-size: .84rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

.contact-wrap { max-width: 700px; padding: 70px 0 90px; text-align: center; }
.contact-wrap .brand img { width: 160px; margin: 0 auto 35px; }
.contact-list { display: grid; gap: 12px; margin-top: 35px; }
.contact-link { padding: 18px 20px; display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.04); text-align: left; text-decoration: none; font-weight: 700; transition: .2s; }
.contact-link:hover { border-color: var(--brand); transform: translateX(4px); }
.contact-link .icon-box { width: 42px; height: 42px; margin: 0; }
.contact-link .arrow { margin-left: auto; color: var(--brand); }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; text-align: center; }
.error-content { max-width: 650px; }
.error-content img { width: 145px; margin-bottom: 35px; }
.error-code { margin: 0; color: var(--brand); font-size: clamp(6rem, 20vw, 12rem); line-height: .8; letter-spacing: -.08em; }
.error-content h1 { margin: 30px 0 12px; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.035em; }
.error-content p { margin-bottom: 28px; color: var(--muted); }

.site-footer { padding: 48px 0 90px; border-top: 1px solid var(--line); background: rgba(0,0,0,.16); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 35px; }
.footer-grid img { width: 130px; margin-bottom: 16px; }
.footer-grid p, .footer-grid address { color: var(--muted); font-size: .88rem; font-style: normal; }
.footer-title { margin-bottom: 12px; font-size: .84rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { width: fit-content; color: var(--muted); text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--brand); }

/* Chat compartilhado por todas as páginas */
.chat-launcher { position: fixed; z-index: 100; right: 24px; bottom: 24px; width: 60px; height: 60px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--brand-dark); background: var(--brand); box-shadow: 0 12px 34px rgba(0,0,0,.42); cursor: pointer; transition: .2s ease; }
.chat-launcher:hover { transform: translateY(-3px) scale(1.03); }
.chat-launcher .icon { width: 27px; height: 27px; }
.chat-launcher::before { content: ""; position: absolute; inset: -5px; border: 1px solid rgba(98,233,121,.35); border-radius: 50%; animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { transform: scale(1.14); opacity: 0; } }
.chat-panel { position: fixed; z-index: 101; right: 24px; bottom: 96px; width: min(380px, calc(100vw - 32px)); overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #101d15; box-shadow: var(--shadow); transform: translateY(16px) scale(.97); transform-origin: bottom right; opacity: 0; visibility: hidden; transition: .22s ease; }
.chat-panel.is-open { transform: none; opacity: 1; visibility: visible; }
.chat-head { padding: 22px; display: flex; align-items: center; gap: 12px; color: var(--brand-dark); background: var(--brand); }
.chat-head .icon-box { width: 42px; height: 42px; margin: 0; color: var(--brand-dark); background: rgba(0,0,0,.1); }
.chat-head strong { display: block; }
.chat-head small { display: block; opacity: .7; }
.chat-close { margin-left: auto; display: grid; place-items: center; border: 0; color: currentColor; background: transparent; cursor: pointer; }
.chat-body { padding: 24px; }
.chat-body p { margin-bottom: 18px; color: var(--muted); font-size: .92rem; }
.field label { display: block; margin-bottom: 7px; font-size: .8rem; font-weight: 800; }
.field input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; outline: none; color: var(--text); background: rgba(0,0,0,.2); }
.field input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(98,233,121,.1); }
.field-error { min-height: 20px; margin-top: 5px; color: #ff9b9b; font-size: .78rem; }
.chat-submit { width: 100%; border: 0; cursor: pointer; }
.chat-note { margin: 12px 0 0 !important; text-align: center; font-size: .75rem !important; }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 65px; grid-template-columns: 1fr; text-align: center; }
  .hero .lead, .hero .actions { margin-left: auto; margin-right: auto; justify-content: center; }
  .hero-visual { width: min(650px, 100%); margin: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: repeat(4, 1fr); }
  .tracking-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav { min-height: 66px; }
  .brand img { width: 105px; }
  .menu-button { display: grid; place-items: center; }
  .nav-links { position: absolute; left: 14px; right: 14px; top: 72px; padding: 12px; display: none; align-items: stretch; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: #101d15; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .hero { padding: 52px 0; gap: 30px; }
  h1 { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .stat-card { right: 2%; bottom: 0; }
  .section { padding: 58px 0; }
  .cards, .fleet-grid, .tracking-grid { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .cta-band { margin-bottom: 58px; align-items: stretch; flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid img { margin-inline: auto; }
  .footer-links { align-items: center; }
  .chat-launcher { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .chat-panel { right: 16px; bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}

.chat-panel.is-chatting{height:min(640px,calc(100vh - 120px));display:flex;flex-direction:column}
.chat-panel.is-chatting .chat-head{flex:0 0 auto}
.chat-frame{width:100%;min-height:0;flex:1;border:0;background:#f5fbf8}
@media(max-width:720px){.chat-panel.is-chatting{inset:76px 10px 78px;width:auto;height:auto}}
