:root {
  --ink: #151f28;
  --muted: #5d6875;
  --paper: #f3f5f9;
  --surface: #ffffff;
  --line: #d8dee8;
  --amber: #fdc303;
  --accent: #fdc303;
  --accent-soft: #fff3bd;
  --accent-dark: #e2af00;
  --steel: #374756;
  --shadow: 0 20px 60px rgba(21, 31, 40, 0.14);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(243, 245, 249, 0.93);
  border-bottom: 1px solid rgba(216, 222, 232, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  width: 164px;
  height: 44px;
  overflow: hidden;
  font-weight: 800;
  letter-spacing: 0;
}

.brand__logo {
  position: absolute;
  top: -25px;
  left: -14px;
  width: 190px;
  height: auto;
  max-width: none;
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--small {
  min-height: 40px;
  padding-inline: 16px;
  background: var(--ink);
  color: #ffffff;
}

.button--primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(21, 31, 40, 0.22);
}

.button--primary:hover,
.button--small:hover,
.button--primary:focus-visible,
.button--small:focus-visible {
  background: #0d151d;
}

.button--secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
  color: #ffffff;
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.button--outline {
  width: 100%;
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button--outline:hover,
.button--outline:focus-visible {
  border-color: var(--accent);
  background: #fffaf0;
}

.button.whatsapp-link {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 16px 32px rgba(253, 195, 3, 0.24);
}

.button.whatsapp-link:hover,
.button.whatsapp-link:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 78svh;
  overflow: hidden;
  background: var(--ink);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: 58% center;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(21, 31, 40, 0.84) 0%, rgba(21, 31, 40, 0.55) 44%, rgba(21, 31, 40, 0.14) 100%),
    linear-gradient(0deg, rgba(21, 31, 40, 0.56) 0%, rgba(21, 31, 40, 0) 44%);
}

.hero__content {
  width: min(720px, calc(100% - 40px));
  padding: clamp(52px, 7vw, 84px) 0 clamp(32px, 5vw, 54px);
  margin-left: clamp(20px, 5vw, 64px);
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 8rem;
  line-height: 0.88;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 1.45rem;
  line-height: 1.38;
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 680px;
  margin: 30px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(253, 195, 3, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero__stats div {
  min-width: 0;
  padding: 18px;
  background: rgba(21, 31, 40, 0.28);
}

.hero__stats dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero__stats dd {
  margin: 6px 0 0;
  color: #ffffff;
  font-weight: 750;
}

.section {
  padding: clamp(58px, 8vw, 98px) clamp(20px, 5vw, 64px);
}

#frota,
#vantagens,
#como-funciona {
  scroll-margin-top: 90px;
}

.section--intro {
  padding-top: clamp(38px, 5vw, 64px);
  padding-bottom: clamp(38px, 5vw, 64px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.section--band {
  background: var(--ink);
  color: #ffffff;
}

.section--band .section-kicker {
  color: var(--accent);
}

.section__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-grid,
.section-heading,
.process {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.section-heading {
  align-items: end;
  margin-bottom: 30px;
}

.section h2,
.final-cta h2 {
  margin: 0;
  max-width: 760px;
  font-size: 3.7rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.section p,
.final-cta p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.68;
}

.section--band p {
  color: rgba(255, 255, 255, 0.72);
}

.intro-grid > p {
  margin: 8px 0 0;
  font-size: 1.15rem;
}

.text-link {
  justify-self: end;
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(253, 195, 3, 0.7);
  text-underline-offset: 5px;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vehicle-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(21, 31, 40, 0.07);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.vehicle-card:hover,
.vehicle-card:focus-within {
  border-color: rgba(253, 195, 3, 0.7);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.vehicle-card__photo {
  overflow: hidden;
  background: #e8edf4;
}

.vehicle-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-card__body {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.vehicle-card__tag {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.vehicle-card h3,
.benefit h3 {
  margin: 0;
  font-size: 1.38rem;
  line-height: 1.16;
  letter-spacing: 0;
}

.vehicle-card p {
  margin: 12px 0 0;
  font-size: 0.98rem;
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 22px;
  padding: 0;
  color: var(--steel);
  list-style: none;
}

.spec-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.95rem;
}

.spec-list li::before {
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.button--details {
  width: 100%;
  margin-top: auto;
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.button--details:hover,
.button--details:focus-visible {
  border-color: #0d151d;
  background: #0d151d;
}

.fleet-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit {
  padding: 26px;
  border: 1px solid rgba(253, 195, 3, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.benefit__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: var(--radius);
  background: var(--amber);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.benefit p {
  margin: 14px 0 0;
}

.process {
  align-items: center;
}

.process__copy p {
  max-width: 560px;
}

.step-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  position: relative;
  min-height: 112px;
  padding: 24px 24px 24px 88px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  line-height: 1.55;
  box-shadow: 0 12px 32px rgba(21, 31, 40, 0.05);
}

.step-list span {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  font-weight: 900;
}

.step-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.05rem;
}

.final-cta {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 64px);
  background: var(--ink);
  color: #ffffff;
}

.final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.final-cta .section-kicker {
  color: var(--accent);
}

.final-cta p {
  grid-column: 1 / -1;
  margin: 0;
}

.final-cta .button {
  align-self: end;
  box-shadow: 0 16px 32px rgba(253, 195, 3, 0.22);
}

.final-cta .button:hover,
.final-cta .button:focus-visible {
  background: var(--accent-dark);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 64px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer strong {
  color: #ffffff;
}

.site-footer .text-link {
  justify-self: auto;
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.34);
}

body.is-popover-open {
  overflow: hidden;
}

.fleet-popover[hidden] {
  display: none;
}

.fleet-popover {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.fleet-popover__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 31, 40, 0.76);
  backdrop-filter: blur(14px);
}

.fleet-popover__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  width: min(1060px, 100%);
  max-height: min(760px, calc(100svh - 48px));
  overflow: auto;
  border: 1px solid rgba(216, 222, 232, 0.95);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.fleet-popover__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(21, 31, 40, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.fleet-popover__close:hover,
.fleet-popover__close:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.fleet-popover__media {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  background: #e8edf4;
}

.fleet-popover__main-photo {
  min-height: 420px;
  border-radius: var(--radius);
  background-color: #dce3ec;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(21, 31, 40, 0.08);
}

.fleet-popover__caption {
  margin: 0;
  color: var(--steel);
  font-size: 0.94rem;
  line-height: 1.5;
}

.fleet-popover__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fleet-popover__thumb {
  min-height: 86px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background-color: #dce3ec;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.fleet-popover__thumb[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(253, 195, 3, 0.25);
}

.fleet-popover__content {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 5vw, 42px);
}

.fleet-popover__content h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.45rem;
  line-height: 1;
  letter-spacing: 0;
}

.fleet-popover__content > p:not(.vehicle-card__tag) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.fleet-popover__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.fleet-popover__facts div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.fleet-popover__facts dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.fleet-popover__facts dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.fleet-popover__features {
  margin-bottom: 26px;
}

.fleet-popover__actions {
  margin-top: auto;
}

.fleet-popover__actions .button {
  width: 100%;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 76svh;
  }

  .hero__content {
    width: min(660px, calc(100% - 40px));
  }

  .hero h1 {
    font-size: 6.2rem;
  }

  .hero__lead {
    font-size: 1.25rem;
  }

  .section h2,
  .final-cta h2 {
    font-size: 3rem;
  }

  .intro-grid,
  .section-heading,
  .process,
  .final-cta__inner {
    grid-template-columns: 1fr;
  }

  .text-link {
    justify-self: start;
  }

  .fleet-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-card {
    grid-template-rows: 240px 1fr;
  }

  .final-cta p {
    grid-column: auto;
  }

  .final-cta .button {
    justify-self: start;
  }

  .fleet-popover__panel {
    grid-template-columns: 1fr;
  }

  .fleet-popover__main-photo {
    min-height: 330px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 12px 16px;
  }

  .brand__logo {
    top: -21px;
    left: -12px;
    width: 162px;
  }

  .brand {
    width: 138px;
    height: 38px;
  }

  .button--small {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 78svh;
  }

  .hero__image {
    object-position: 64% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(21, 31, 40, 0.86) 0%, rgba(21, 31, 40, 0.62) 62%, rgba(21, 31, 40, 0.22) 100%),
      linear-gradient(0deg, rgba(21, 31, 40, 0.6) 0%, rgba(21, 31, 40, 0) 46%);
  }

  .hero__content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-top: 56px;
  }

  .hero h1 {
    font-size: 4.55rem;
  }

  .hero__lead {
    font-size: 1.08rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .section {
    padding-inline: 16px;
  }

  .section h2,
  .final-cta h2 {
    font-size: 2.35rem;
  }

  .vehicle-card {
    grid-template-rows: 190px 1fr;
  }

  .vehicle-card__body,
  .benefit,
  .step-list li {
    padding: 20px;
  }

  .step-list li {
    min-height: auto;
    padding-left: 76px;
  }

  .step-list span {
    top: 20px;
    left: 20px;
  }

  .site-footer {
    align-items: center;
    flex-direction: column;
    padding-inline: 16px;
  }

  .fleet-popover {
    align-items: end;
    padding: 10px;
  }

  .fleet-popover__panel {
    max-height: calc(100svh - 20px);
  }

  .fleet-popover__media,
  .fleet-popover__content {
    padding: 16px;
  }

  .fleet-popover__main-photo {
    min-height: 230px;
  }

  .fleet-popover__thumb {
    min-height: 64px;
  }

  .fleet-popover__content h2 {
    font-size: 2rem;
  }

  .fleet-popover__facts {
    grid-template-columns: 1fr;
  }
}
