:root {
  --ink: #21303d;
  --muted: #5d6c79;
  --navy: #0d3057;
  --navy-deep: #082441;
  --brand-blue: #034ea2;
  --blue: #14549c;
  --sky: #cfe3ec;
  --sky-soft: #eaf3f7;
  --yellow: #f7c437;
  --yellow-deep: #e0a91f;
  --gold-text: #a97b10;
  --paper: #fbf8f1;
  --white: #ffffff;
  --line: #e4dfd2;
  --line-cool: #dbe6ec;
  --radius: 12px;
  --radius-sm: 7px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--yellow);
  color: var(--navy);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

[id] {
  scroll-margin-top: 96px;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  border-top: 4px solid var(--yellow);
  border-bottom: 1px solid transparent;
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: blur(10px);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.14);
  background: var(--brand-blue);
  box-shadow: 0 10px 30px rgba(3, 52, 108, 0.22);
}

.header-inner {
  display: grid;
  width: var(--container);
  margin: 0 auto;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 13px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img,
.brand-logo-animated {
  width: clamp(168px, 18vw, 216px);
  height: auto;
}

.brand-logo-animated {
  display: block;
  aspect-ratio: 1182 / 237;
  pointer-events: none;
}

.brand-logo-white {
  display: none;
}

.site-header.is-scrolled .brand-logo-blue {
  display: none;
}

.site-header.is-scrolled .brand-logo-white {
  display: block;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 30px);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-header.is-scrolled .main-nav {
  color: var(--white);
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-bottom-color: var(--yellow);
  color: var(--blue);
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a:focus-visible {
  color: var(--yellow);
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--blue);
}

.site-header.is-scrolled .header-cta {
  background: var(--yellow);
  color: var(--navy);
}

.site-header.is-scrolled .header-cta:hover,
.site-header.is-scrolled .header-cta:focus-visible {
  background: #ffd765;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 160ms ease, transform 160ms ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  background: var(--sky-soft);
  transform: translateY(-1px);
}

.site-header.is-scrolled .social-icon:hover,
.site-header.is-scrolled .social-icon:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.ig-path,
.wa-path {
  transition: fill 160ms ease;
}

.social-icon:hover .ig-path,
.social-icon:focus-visible .ig-path,
.social-icon:hover .wa-path,
.social-icon:focus-visible .wa-path {
  fill: #111111;
}

.site-header.is-scrolled .social-icon:hover .ig-path,
.site-header.is-scrolled .social-icon:focus-visible .ig-path,
.site-header.is-scrolled .social-icon:hover .wa-path,
.site-header.is-scrolled .social-icon:focus-visible .wa-path {
  fill: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--navy);
  transition: transform 180ms ease;
}

.site-header.is-scrolled .nav-toggle {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--white);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  min-height: 96svh;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background: #10314d;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1100ms ease, transform 7000ms ease;
}

.hero-slide:nth-child(1) {
  object-position: 36% center;
}

.hero-slide:nth-child(2) {
  object-position: 68% center;
}

.hero-slide:nth-child(3) {
  object-position: 62% center;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.08);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 33, 56, 0.9) 0%, rgba(8, 33, 56, 0.68) 36%, rgba(8, 33, 56, 0.16) 68%, rgba(8, 33, 56, 0.05) 100%),
    linear-gradient(0deg, rgba(8, 33, 56, 0.55) 0%, rgba(8, 33, 56, 0) 40%);
}

.hero-content {
  display: grid;
  width: var(--container);
  align-content: center;
  margin: 0 auto;
  padding: 140px 0 64px;
}

.hero-slogan {
  margin: 0 0 32px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
  font-style: italic;
  font-weight: 500;
}

.hero-copy {
  max-width: min(780px, 94vw);
}

.hero-copy h1 {
  min-height: 0;
  margin: 0;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  font-weight: 550;
  line-height: 1.04;
  text-wrap: balance;
}

.hero-title-line {
  display: block;
}

.hero-title-line.is-locked {
  white-space: nowrap;
}

.hero-copy p {
  max-width: 540px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.9vw, 1.22rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-copy.is-changing h1,
.hero-copy.is-changing p {
  animation: copyIn 520ms ease both;
}

@keyframes copyIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ffd254;
  box-shadow: 0 10px 26px rgba(247, 196, 55, 0.3);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--white);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

.hero-progress {
  display: flex;
  gap: 8px;
  margin-top: 46px;
}

.hero-progress button {
  position: relative;
  width: 52px;
  height: 4px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.hero-progress button::after {
  position: absolute;
  inset: 0;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
}

.hero-progress button.is-active::after {
  animation: slideBar 6500ms linear forwards;
}

@keyframes slideBar {
  to {
    transform: scaleX(1);
  }
}

/* faixa amarela, como a lateral dos ônibus */
.hero-band {
  background: var(--yellow);
  color: var(--navy);
}

.hero-band-inner {
  display: grid;
  width: var(--container);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.hero-band-inner div {
  padding: 18px 0;
}

.hero-band-inner div + div {
  padding-left: 22px;
  border-left: 2px dashed rgba(13, 48, 87, 0.3);
}

.hero-band strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 650;
  line-height: 1.15;
}

.hero-band span {
  display: block;
  margin-top: 2px;
  color: rgba(13, 48, 87, 0.78);
  font-size: 0.92rem;
  font-weight: 500;
}

.partners {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 40px 20px;
  background: var(--white);
  text-align: center;
}

.partners-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 64px);
}

.partners-logos img {
  height: clamp(40px, 5.5vw, 58px);
  width: auto;
  filter: saturate(0.9);
  opacity: 0.84;
  transition: filter 200ms ease, opacity 200ms ease;
}

.partners-logos img[alt="Mira Niterói"] {
  height: clamp(68px, 8.3vw, 91px);
}

.partners-logos img:hover {
  filter: saturate(1);
  opacity: 1;
}

/* ---------- seções ---------- */

.section-pad {
  padding: clamp(68px, 8.5vw, 104px) 0;
}

.section-head {
  width: var(--container);
  max-width: 780px;
  margin: 0 auto 46px;
}

.section-head.split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: 42px;
  align-items: end;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
  content: "";
}

.section-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  line-height: 1.12;
}

.section-head h2 em {
  color: var(--gold-text);
  font-style: italic;
}

.steps-title span {
  display: block;
}

.nowrap {
  white-space: nowrap;
}

.section-head p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.proof-grid,
.route-board,
.service-grid,
.step-list,
.story-grid,
.faq-list,
.benefits-shell,
.contact-shell {
  width: var(--container);
  margin: 0 auto;
}

/* ---------- confiança ---------- */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.proof-card {
  display: flex;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 200ms ease;
}

.proof-card:hover,
.proof-card:focus-within {
  border-color: var(--sky);
}

.proof-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.2;
}

.proof-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.proof-icon {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--sky-soft);
}

.proof-icon::before,
.proof-icon::after {
  position: absolute;
  content: "";
}

.proof-icon-fleet::before {
  width: 26px;
  height: 15px;
  border: 2px solid var(--blue);
  border-radius: 4px;
}

.proof-icon-fleet::after {
  bottom: 12px;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: var(--yellow);
}

.proof-icon-team::before {
  width: 20px;
  height: 20px;
  border: 2px solid var(--blue);
  border-radius: 50% 50% 42% 42%;
}

.proof-icon-team::after {
  bottom: 10px;
  width: 28px;
  height: 11px;
  border: 2px solid var(--yellow-deep);
  border-top: 0;
  border-radius: 0 0 15px 15px;
}

.proof-icon-care::before {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--blue);
}

.proof-icon-care::after {
  width: 24px;
  height: 24px;
  background:
    linear-gradient(var(--white), var(--white)) center / 4px 14px no-repeat,
    linear-gradient(var(--white), var(--white)) center / 14px 4px no-repeat;
}

.proof-icon-app::before {
  width: 18px;
  height: 28px;
  border: 2px solid var(--blue);
  border-radius: 6px;
}

.proof-icon-app::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
}

/* ---------- rotas ---------- */

.routes {
  background: var(--white);
}

.route-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(206px, 1fr));
  gap: 14px;
}

.route-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 200ms ease, background 200ms ease;
}

.route-card:hover,
.route-card:focus-within {
  border-color: var(--blue);
  background: #fbfdfe;
}

.route-plate {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 5px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-card h3 {
  flex: 1;
  margin: 16px 0 0;
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.18;
}

.route-card button {
  width: 100%;
  margin-top: 18px;
  padding: 14px 0 0;
  border: 0;
  border-top: 2px dashed var(--line-cool);
  background: none;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
}

.route-card button:hover,
.route-card button:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------- benefícios ---------- */

.benefits {
  background: var(--sky-soft);
}

.benefits .section-head {
  margin-left: 0;
}

.benefits-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.reason-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 44px);
  counter-reset: reasons;
  list-style: none;
}

.reason-list li {
  padding: 18px 0;
  border-top: 2px dashed rgba(20, 84, 156, 0.18);
  counter-increment: reasons;
}

.reason-list li::before {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-text);
  content: counter(reasons, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
}

.reason-list h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
}

.reason-list p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.founder-videos {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(13, 48, 87, 0.08);
}

.video-intro {
  padding: 6px 6px 12px;
  border-bottom: 2px dashed var(--line-cool);
}

.video-intro span {
  display: block;
  color: var(--gold-text);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-intro p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.video-tile {
  display: grid;
  grid-template-columns: 78px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 14px;
  align-items: center;
  align-content: center;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: inherit;
  text-align: left;
  transition: background 160ms ease;
}

.video-tile:hover,
.video-tile:focus-visible {
  background: var(--sky-soft);
}

.video-tile img {
  grid-row: 1 / span 2;
  width: 78px;
  height: 104px;
  border-radius: 6px;
  object-fit: cover;
}

.video-tile span {
  align-self: end;
  color: var(--gold-text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.video-tile strong {
  align-self: start;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.3;
}

/* ---------- equipe ---------- */

.team {
  background: var(--navy);
  color: var(--white);
}

.team .eyebrow {
  color: var(--yellow);
}

.team .section-head h2 {
  color: var(--white);
}

.team .section-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  align-items: start;
}

/* fotos com moldura, como retrato impresso */
.story-card {
  padding: 12px 12px 6px;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 22px 50px rgba(4, 16, 30, 0.35);
  transition: rotate 260ms ease;
}

.story-card:nth-child(1) {
  rotate: -1.4deg;
}

.story-card:nth-child(2) {
  margin-top: 16px;
  rotate: 0.9deg;
}

.story-card:nth-child(3) {
  rotate: -0.7deg;
}

.story-card:nth-child(4) {
  margin-top: 10px;
  rotate: 1.1deg;
}

.story-card:hover,
.story-card:focus-within {
  rotate: 0deg;
}

.story-card button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  text-align: left;
}

.story-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  object-fit: cover;
}

.story-card button::after {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: linear-gradient(0deg, rgba(5, 22, 36, 0.5), rgba(5, 22, 36, 0.02) 55%);
  content: "";
}

.story-card button span {
  position: absolute;
  z-index: 1;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 13px;
  border-radius: var(--radius-sm);
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
}

.story-card > div {
  padding: 16px 6px 12px;
}

.story-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.22rem;
}

.story-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* ---------- serviços ---------- */

.services {
  background: var(--white);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 200ms ease;
}

.service-card:hover,
.service-card:focus-within {
  border-color: var(--blue);
}

.service-card span {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 5px;
  background: var(--sky-soft);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 18px 0 0;
  color: var(--navy);
  font-size: 1.42rem;
}

.service-card p {
  flex: 1;
  margin: 10px 0 22px;
  color: var(--muted);
  line-height: 1.6;
}

.service-card a {
  border-bottom: 2px solid var(--yellow);
  color: var(--blue);
  font-weight: 700;
  transition: border-color 160ms ease;
}

.service-card a:hover,
.service-card a:focus-visible {
  border-bottom-color: var(--blue);
}

/* ---------- como contratar ---------- */

.step-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

/* linha de rota tracejada ligando as etapas */
.step-list::before {
  position: absolute;
  top: 25px;
  right: 8%;
  left: 8%;
  border-top: 2px dashed rgba(20, 84, 156, 0.28);
  content: "";
}

.step {
  position: relative;
}

.step span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 8px var(--paper);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
}

.step h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.2;
}

.step p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ---------- faq ---------- */

.faq {
  background: var(--white);
}

.faq-list {
  display: grid;
  max-width: 850px;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 180ms ease;
}

.faq-list details[open] {
  border-color: var(--blue);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  color: var(--navy);
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--sky-soft);
  color: var(--blue);
  font-weight: 600;
  line-height: 28px;
  text-align: center;
  content: "+";
}

.faq-list details[open] summary::after {
  background: var(--yellow);
  color: var(--navy);
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- contato ---------- */

.contact {
  background:
    linear-gradient(90deg, rgba(8, 36, 65, 0.94), rgba(8, 36, 65, 0.82)),
    url("assets/images/hero-fleet.jpg") center / cover;
  color: var(--white);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.contact .eyebrow {
  color: var(--yellow);
}

.contact-copy h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(1.95rem, 3.6vw, 3.1rem);
  line-height: 1.1;
}

.contact-copy p:not(.eyebrow) {
  max-width: 460px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
}

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-lines a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.contact-lines a:hover,
.contact-lines a:focus-visible {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--navy);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 650;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  outline: 0;
  padding: 12px 13px;
}

.contact-form textarea {
  min-height: 104px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 84, 156, 0.14);
}

/* ---------- rodapé ---------- */

.site-footer {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 56px 20px 40px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 42px);
}

.footer-logo-main {
  width: min(260px, 70vw);
}

.footer-logo-cadastur {
  width: min(190px, 52vw);
  opacity: 0.92;
}

.footer-slogan {
  margin: 0;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-weight: 600;
}

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

.footer-meta {
  width: min(680px, 100%);
  margin: 10px 0 0;
  padding-top: 18px;
  border-top: 2px dashed rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.87rem;
}

.footer-meta a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--yellow);
}

.site-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: #051c30;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  text-align: center;
}

.credit-copy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.credit-sep {
  color: rgba(255, 255, 255, 0.25);
}

.credit-logo {
  height: 15px;
  width: auto;
}

.credit-hashtag {
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ---------- whatsapp flutuante ---------- */

.float-whatsapp {
  position: fixed;
  z-index: 18;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1db558;
  color: var(--white);
  box-shadow: 0 16px 34px rgba(12, 96, 52, 0.32);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.float-whatsapp svg {
  width: 31px;
  height: 31px;
}

.float-whatsapp:hover,
.float-whatsapp:focus-visible {
  background: var(--brand-blue);
  box-shadow: 0 18px 40px rgba(3, 78, 162, 0.34);
  transform: translateY(-2px);
}

/* ---------- diálogos ---------- */

dialog {
  width: min(1060px, calc(100vw - 28px));
  max-height: calc(100svh - 28px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(6, 24, 38, 0.74);
  backdrop-filter: blur(6px);
}

.dialog-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
}

.dialog-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1;
}

.route-shell {
  display: grid;
  max-height: calc(100svh - 28px);
  grid-template-rows: auto auto minmax(260px, 1fr) auto;
}

.route-dialog-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  padding: 30px 78px 18px 30px;
}

.route-dialog-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.12;
}

.route-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 30px 18px;
}

.route-tabs button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-cool);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 650;
}

.route-tabs button.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.route-map-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 30px;
  padding: 18px;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius-sm);
  background: #fdfdfd;
  touch-action: none;
  cursor: zoom-in;
}

.route-map-wrap.is-zoomed {
  cursor: grab;
}

.route-map-wrap.is-dragging {
  cursor: grabbing;
}

.route-map-inner {
  position: relative;
  display: inline-block;
  transform-origin: center center;
  transition: transform 200ms ease;
}

.route-map-wrap.is-dragging .route-map-inner {
  transition: none;
}

.route-map-inner img {
  display: block;
  max-width: 100%;
  max-height: min(58vh, 620px);
  width: auto;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.route-bus-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.route-bus-guide {
  stroke: transparent;
  stroke-width: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-bus-icon {
  filter: drop-shadow(0 5px 7px rgba(7, 45, 78, 0.28));
  will-change: transform;
}

.route-bus-shadow {
  fill: rgba(7, 45, 78, 0.26);
}

.route-bus-body {
  fill: var(--yellow);
  stroke: var(--navy);
  stroke-width: 3;
}

.route-bus-front {
  fill: #2f97c8;
  stroke: var(--navy);
  stroke-width: 3;
}

.route-bus-window {
  fill: #eaf8ff;
  stroke: rgba(13, 48, 87, 0.28);
  stroke-width: 1.5;
}

.route-bus-stripe {
  fill: var(--blue);
}

.route-bus-wheel {
  fill: var(--navy);
  stroke: var(--white);
  stroke-width: 2;
}

.map-zoom-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: flex;
  gap: 6px;
  touch-action: manipulation;
}

.map-zoom-controls button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease;
}

.map-zoom-controls button:hover,
.map-zoom-controls button:focus-visible {
  border-color: var(--blue);
  background: var(--sky-soft);
}

.map-zoom-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.route-note {
  margin: 14px 30px 30px;
  padding: 14px 16px;
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--sky-soft);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.5;
}

.video-dialog {
  width: min(430px, calc(100vw - 28px));
}

.video-shell {
  padding: 18px;
  background: var(--navy-deep);
  color: var(--white);
}

.video-shell h2 {
  margin: 0 54px 16px 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.35;
}

.video-shell video {
  width: 100%;
  max-height: calc(100svh - 120px);
  border-radius: var(--radius-sm);
  background: #000000;
}

.video-shell .dialog-close {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* ---------- animações ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- responsivo ---------- */

@media (max-width: 1120px) {
  .benefits-columns {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .founder-videos {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .video-intro {
    grid-column: 1 / -1;
  }

  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-list::before {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(100vw - 28px, 720px);
  }

  [id] {
    scroll-margin-top: 84px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    padding: 10px 0;
  }

  .brand img,
  .brand-logo-animated {
    width: 178px;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    display: grid;
    justify-content: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 24px 58px rgba(10, 31, 49, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 13px 12px;
    border-bottom: 0;
    border-radius: var(--radius-sm);
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    background: var(--sky-soft);
    color: var(--blue);
  }

  .site-header.is-scrolled .main-nav {
    border-color: rgba(255, 255, 255, 0.16);
    background: var(--brand-blue);
  }

  .site-header.is-scrolled .main-nav a:hover,
  .site-header.is-scrolled .main-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: var(--yellow);
  }

  .header-actions {
    display: none;
  }

  .hero-content {
    padding: 122px 0 52px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 33, 56, 0.88), rgba(8, 33, 56, 0.44)),
      linear-gradient(0deg, rgba(8, 33, 56, 0.8), rgba(8, 33, 56, 0.08));
  }

  .hero-copy h1 {
    min-height: 0;
    font-size: clamp(2.2rem, 10vw, 3.3rem);
    line-height: 1.05;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-progress {
    margin-top: 38px;
  }

  .hero-band-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-band-inner div {
    padding: 12px 0;
  }

  .hero-band-inner div + div {
    padding-left: 0;
    border-top: 2px dashed rgba(13, 48, 87, 0.25);
    border-left: 0;
  }

  .section-head.split,
  .contact-shell,
  .route-dialog-head {
    grid-template-columns: 1fr;
  }

  .proof-grid,
  .service-grid,
  .story-grid,
  .founder-videos {
    grid-template-columns: 1fr;
  }

  .reason-list {
    grid-template-columns: 1fr;
  }

  .story-card:nth-child(2),
  .story-card:nth-child(4) {
    margin-top: 0;
  }

  .route-dialog-head {
    padding: 24px 68px 16px 20px;
  }

  .route-tabs {
    padding: 0 20px 16px;
  }

  .route-map-wrap {
    margin: 0 20px;
  }

  .route-bus-track {
    display: none;
  }

  .route-note {
    margin: 12px 20px 20px;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    display: grid;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: 1.84rem;
  }

  .proof-card {
    flex-direction: column;
    gap: 16px;
  }

  .step-list {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .float-whatsapp {
    right: 14px;
    bottom: 14px;
    left: auto;
    width: 54px;
    height: 54px;
    min-height: 54px;
    justify-content: center;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-slide.is-active {
    transform: none;
  }

  .route-bus-track {
    display: none;
  }
}
