/* ==========================================================================
   Base — paleta Travessia Ligeira (verde / amarelo / preto, a partir do logótipo)
   ========================================================================== */
:root {
  --accent: #167A40;
  --navpill: #EDEDE9;
  --cta: #F5C518;
  --footerbg: #E3F3E9;
  --ink: #222222;
  --inkdark: #14150F;
  --page-inactive: #F6F6F6;
  --herodark: #0E1A12;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 92px;
  }
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
}

/* ==========================================================================
   Header nav (desktop pill)
   ========================================================================== */
.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 16px;
  font-size: 14px;
  color: var(--inkdark);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-dot {
  width: 8px;
  height: 8px;
  background-color: var(--inkdark);
  flex: none;
  transition: background-color 0.2s ease;
}

.nav-link:hover .nav-dot {
  background-color: var(--accent);
}

.nav-link--current,
.nav-link.is-active {
  color: var(--accent);
}

.nav-link--current .nav-dot,
.nav-link.is-active .nav-dot,
.nav-dot--current {
  background-color: var(--accent);
}

/* ==========================================================================
   Header logo lockup
   ========================================================================== */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo img {
  height: 36px;
  width: auto;
  flex: none;
}

.logo-wordmark {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--inkdark);
  white-space: nowrap;
}

/* ==========================================================================
   Mobile bottom bar + drawer
   ========================================================================== */
#mobile-drawer.is-open {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* ==========================================================================
   Shared: eyebrow, section titles, buttons
   ========================================================================== */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.eyebrow--light {
  color: var(--cta);
}

.section-title {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--inkdark);
}

.section-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cta);
  color: var(--inkdark);
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  padding: 14px 26px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-solid:hover {
  filter: brightness(0.96);
}

.btn-solid:active {
  transform: scale(0.98);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--inkdark);
  color: var(--inkdark);
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  padding: 13px 26px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background-color: var(--inkdark);
  color: #ffffff;
}

.btn-outline--light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-outline--light:hover {
  background-color: #ffffff;
  color: var(--inkdark);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section {
  min-height: 640px;
  position: relative;
}

.hero-route {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.9;
}

.hero-section > .relative {
  z-index: 1;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Sobre
   ========================================================================== */
.mini-number {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
}

.about-tagline {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}

.about-feature-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 6px;
}

.mini-label {
  font-size: 14px;
  color: var(--ink);
  margin-top: 2px;
}

.about-visual {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.08));
}

.about-visual-card {
  background-color: var(--page-inactive);
  border-radius: 24px;
  aspect-ratio: 6 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.about-visual-icon {
  width: 62%;
  height: auto;
}

/* ==========================================================================
   Serviços
   ========================================================================== */
.service-card {
  background-color: var(--page-inactive);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  background-color: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--inkdark);
  margin-top: 16px;
  margin-bottom: 8px;
}

.service-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}

/* ==========================================================================
   Frota
   ========================================================================== */
.fleet-card {
  background-color: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.fleet-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.fleet-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.fleet-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--page-inactive);
  object-fit: cover;
  object-position: center;
  display: block;
}

.fleet-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--inkdark);
  padding: 16px 16px 2px;
}

.fleet-spec {
  font-size: 13.5px;
  color: var(--ink);
  padding: 0 16px 18px;
}

/* ==========================================================================
   Rastreio
   ========================================================================== */
.tracking-panel {
  background-color: var(--inkdark);
  color: #ffffff;
  border-radius: 20px;
  padding: 40px 28px;
  display: grid;
  gap: 28px;
}

@media (min-width: 768px) {
  .tracking-panel {
    padding: 56px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.tracking-panel .eyebrow { color: var(--cta); }
.tracking-panel .section-title { color: #ffffff; }
.tracking-panel .section-text { color: rgba(255, 255, 255, 0.7); }

.tracking-input {
  flex: 1 1 auto;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 15px;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.tracking-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.tracking-input:focus {
  border-color: var(--accent);
}

.tracking-hint {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 10px;
}

.tracking-result {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 24px;
}

.tracking-result.hidden {
  display: none;
}

.tracking-result-code {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.tracking-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tracking-timeline li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.4);
}

.tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  flex: none;
}

.tracking-timeline li.is-done {
  color: rgba(255, 255, 255, 0.85);
}

.tracking-timeline li.is-done .tl-dot {
  background-color: #ffffff;
}

.tracking-timeline li.is-active {
  color: var(--cta);
  font-weight: 600;
}

.tracking-timeline li.is-active .tl-dot {
  background-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(28, 155, 78, 0.3);
}

/* ==========================================================================
   Depoimentos
   ========================================================================== */
.testimonial-wrap {
  max-width: 760px;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.testimonial-quote {
  font-size: 22px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--inkdark);
}

.testimonial-author {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 18px;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.testimonial-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--page-inactive);
  font-size: 18px;
  color: var(--inkdark);
  transition: background-color 0.2s ease;
}

.testimonial-btn:hover {
  background-color: var(--navpill);
}

.testimonial-dots {
  display: flex;
  gap: 6px;
}

.testimonial-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--page-inactive);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.testimonial-dot.is-active {
  background-color: var(--accent);
  transform: scale(1.3);
}

/* ==========================================================================
   Marquee de parceiros
   ========================================================================== */
.marquee {
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-item {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.35;
  white-space: nowrap;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background-color: #0D4A26;
  border-radius: 20px;
  padding: 48px 28px;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 64px;
  }
}

.cta-banner-title {
  font-size: 28px;
  font-weight: 400;
  color: #ffffff;
  max-width: 560px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cta-banner-title {
    font-size: 36px;
  }
}

.cta-banner-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 460px;
  margin: 14px auto 26px;
}

.cta-banner .btn-solid:hover {
  filter: brightness(1.08);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-heading {
  font-size: 20px;
  font-weight: 400;
  color: var(--inkdark);
}

.footer-heading img {
  height: 24px;
  width: auto;
}

.office-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 4px;
}

.office-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  flex: none;
}

.office-addr {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.footer-link {
  font-size: 15px;
  color: var(--inkdark);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 15px;
  color: var(--inkdark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.email-btn:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.email-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background-color: var(--cta);
  font-size: 12px;
}

.giant-wordmark {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-size: clamp(40px, 7vw, 110px);
  line-height: 1;
  white-space: nowrap;
}

/* ==========================================================================
   Fleet modal
   ========================================================================== */
.fleet-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.fleet-modal.hidden {
  display: none;
}

.fleet-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(20, 21, 15, 0.7);
}

.fleet-modal-panel {
  position: relative;
  background-color: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: fleet-modal-in 0.22s ease both;
}

@keyframes fleet-modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.fleet-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--inkdark);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background-color 0.2s ease;
}

.fleet-modal-close:hover {
  background-color: #ffffff;
}

.fleet-modal-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background-color: var(--page-inactive);
  background-size: cover;
  background-position: center;
  display: block;
}

.fleet-modal-body {
  padding: 24px 28px 30px;
}

.fleet-modal-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--inkdark);
  margin-bottom: 6px;
}

.fleet-modal-spec {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

.fleet-modal-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}

/* ==========================================================================
   Cookie banner
   ========================================================================== */
#cookie-banner {
  animation: cookie-in 0.4s ease both;
}

#cookie-banner.is-hidden {
  display: none;
}

@keyframes cookie-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-btn {
  flex: 1 1 auto;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: filter 0.2s ease, background-color 0.2s ease;
}

.cookie-btn--outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background-color: transparent;
}

.cookie-btn--outline:hover {
  background-color: rgba(28, 155, 78, 0.06);
}

.cookie-btn--solid {
  background-color: var(--accent);
  color: #ffffff;
}

.cookie-btn--solid:hover {
  filter: brightness(1.08);
}
