/* ============================================================
   MELHOR TRANSPORTES — Base / Reset / Tipografia
   ============================================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--fonte-corpo);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--cor-texto);
  background: var(--cor-fundo);
  -webkit-font-smoothing: antialiased;
}

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

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

ul[class],
ol[class] {
  list-style: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

input,
select,
textarea {
  font: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--fonte-titulo);
  font-weight: 800;
  line-height: 1.15;
  color: var(--cor-texto);
  letter-spacing: -0.02em;
}

::selection {
  background: var(--cor-primaria);
  color: var(--cor-branco);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--cor-primaria);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ============================================================
   Layout utilitário
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.secao {
  padding-block: var(--espaco, 88px);
}

.section {
  padding-block: clamp(56px, 8vw, 96px);
}

.section--suave {
  background: var(--cor-fundo-suave);
}

.section--escura {
  background: linear-gradient(135deg, var(--cor-primaria-escura), var(--cor-fundo-escuro));
  color: #fff;
}

.section--escura h1,
.section--escura h2,
.section--escura h3 {
  color: #fff;
}

/* Cabeçalho de seção */
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head--centro {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  margin: 10px 0 14px;
}

.section-head p {
  color: var(--cor-texto-suave);
  font-size: 1.0625rem;
}

/* Rótulo / eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cor-destaque);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
}

.section-head--centro .eyebrow::after {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}