/* =========================================================
   SL Serviços e Locações
   Layout: pátio de máquinas. Faixas alternando o grafite da logo
   e o aço claro, painéis inclinados como os da marca, amarelo
   só onde existe ação (como o dente amarelo da concha na logo).
   ========================================================= */

:root {
  /* Cores tiradas da logo */
  --ink: #1B1B1B;          /* fundo da logo */
  --ink-2: #242425;        /* superfície elevada no escuro */
  --graphite: #4A4A4A;     /* painéis da logo */
  --steel: #A9AEB3;        /* prata fosco */
  --steel-hi: #DADDE0;     /* prata claro */
  --paper: #EEEFF0;        /* fundo claro, puxado para o prata */
  --white: #FAFAF9;
  --yellow: #F3BC23;       /* amarelo da concha */
  --yellow-deep: #D9A20E;

  --text-on-dark: #F2F3F4;
  --muted-on-dark: #B3B7BB;
  --text-on-light: #1B1B1B;
  --muted-on-light: #55595D;
  --line-dark: #38393B;
  --line-light: #D2D5D8;

  --ph-border: #8E949A;
  --ph-bg-dark: #2A2B2D;
  --ph-bg-light: #E2E4E6;
  --scrim: rgba(27, 27, 27, 0.72); /* fundo de controles sobre foto */

  /* Tipografia */
  --font-display: "Saira", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --fs-hero: clamp(2rem, 1.2rem + 3.6vw, 3.9rem);

  /* Espaço */
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 112px);
  --maxw: 1200px;
  --radius: 4px;
  --header-h: 76px;
  --slant: clamp(18px, 3vw, 44px);

  color-scheme: light;
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
blockquote { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--dark { background: var(--ink); color: var(--text-on-dark); color-scheme: dark; }
.section--light { background: var(--paper); color: var(--text-on-light); }
/* transições entre blocos: as faixas escuras ganham bordas em diagonal, como chapas de aço.
   Cada cunha pertence ao bloco de baixo e cobre só o respiro do bloco de cima. */
main > .section { position: relative; }
main > .section--dark:not(:first-child)::before,
main > .section--dark + .section::before {
  content: ""; position: absolute; left: 0; right: 0;
  top: calc(1px - var(--slant)); height: var(--slant);
  background: inherit; pointer-events: none;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.section--white { background: var(--white); color: var(--text-on-light); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--yellow); color: var(--ink); padding: 8px 14px; font-weight: 700;
}
.skip-link:focus { left: 8px; }

/* ---------- placeholder (conteúdo pendente) ---------- */
.ph {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-body);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  font-style: normal;
  line-height: 1;
  padding: 4px 7px;
  border: 1px dashed var(--ph-border);
  border-radius: 3px;
  color: var(--yellow-deep);
  background: rgba(243, 188, 35, 0.10);
  white-space: nowrap;
  vertical-align: middle;
}
.section--dark .ph, .hero .ph, .site-footer .ph { color: var(--yellow); }

.ph-media {
  position: relative;
  display: grid; place-items: center; align-content: center; gap: 10px;
  text-align: center;
  min-height: 160px;
  border: 1px dashed var(--ph-border);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(142, 148, 154, 0.12) 14px 15px),
    var(--ph-bg-light);
  color: var(--muted-on-light);
  padding: 16px;
  max-width: 100%;
}
.section--dark .ph-media, .hero .ph-media {
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(169, 174, 179, 0.08) 14px 15px),
    var(--ph-bg-dark);
  color: var(--muted-on-dark);
}
.ph-media svg { width: 40px; height: 40px; opacity: 0.55; }
.ph-media__label { font-size: var(--fs-sm); font-weight: 600; max-width: 30ch; }

/* ---------- elementos de marca ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--yellow-deep);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--yellow); }
.eyebrow::before {
  content: ""; width: 22px; height: 8px; background: currentColor;
  transform: skewX(-24deg);
}

.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 {
  font-size: var(--fs-xl); font-weight: 800; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: 0.01em;
}
.section-head p { color: var(--muted-on-light); font-size: var(--fs-lg); max-width: 62ch; }
.section--dark .section-head p { color: var(--muted-on-dark); }
.section-head--flush { margin: 0; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* Botões: paralelogramo, como os painéis da logo */
.btn {
  --btn-bg: var(--yellow); --btn-fg: var(--ink); --btn-bd: var(--yellow);
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bd);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  transform: skewX(-12deg);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  cursor: pointer;
}
.btn > span { display: inline-flex; align-items: center; gap: 10px; transform: skewX(12deg); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { --btn-bg: var(--yellow-deep); --btn-bd: var(--yellow-deep); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: var(--steel); }
.btn--ghost:hover { --btn-bg: rgba(169, 174, 179, 0.14); --btn-bd: var(--steel-hi); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink); }
.btn--dark:hover { --btn-bg: var(--graphite); --btn-bd: var(--graphite); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: var(--fs-xs); }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.icon { width: 24px; height: 24px; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--ink);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 8px 10px;
  font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  color: var(--muted-on-dark);
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.is-active { color: var(--white); border-bottom-color: var(--yellow); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: none; align-items: center; gap: 8px;
  font-weight: 600; font-size: var(--fs-sm); text-decoration: none; white-space: nowrap;
  color: var(--text-on-dark);
}
.header-phone svg { width: 20px; height: 20px; color: var(--yellow); }
.header-social { display: none; color: var(--muted-on-dark); }
.header-social:hover { color: var(--white); }
.header-social svg { width: 22px; height: 22px; display: block; }
.header-cta { display: none; }

.menu-toggle {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line-dark); border-radius: var(--radius);
  color: var(--white); cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; }

.mobile-nav {
  border-top: 1px solid var(--line-dark);
  background: var(--ink);
  padding-block: 12px 20px;
}
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mobile-nav a {
  display: block; padding: 12px 0;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: var(--text-on-dark);
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav .btn {
  display: flex; margin-top: 12px; padding: 0 16px;
  border: 2px solid var(--btn-bd);
}
.mobile-nav ul + .btn { margin-top: 18px; }

@media (min-width: 1100px) {
  .nav { display: block; }
  .header-phone, .header-social { display: inline-flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

main { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }

/* ---------- hero ---------- */
.hero {
  background: var(--ink);
  color: var(--text-on-dark);
  color-scheme: dark;
}
.hero__top { position: relative; overflow: hidden; isolation: isolate; }
.hero__band { background: var(--ink-2); border-top: 1px solid var(--line-dark); border-bottom: 3px solid var(--yellow); }
/* Hero sem foto de fundo: degradê com textura diagonal. */
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(27, 27, 27, 0.96) 0%, rgba(27, 27, 27, 0.82) 48%, rgba(27, 27, 27, 0.45) 100%),
    repeating-linear-gradient(135deg, #202021 0 22px, #252627 22px 23px);
  background-size: cover; background-position: center;
}
.hero__slab {
  display: none;
  position: absolute; z-index: -1; right: -8%; top: 0; bottom: 0; width: 46%;
  background: linear-gradient(180deg, rgba(74, 74, 74, 0.55), rgba(74, 74, 74, 0.15));
  transform: skewX(-14deg);
  border-left: 3px solid var(--yellow);
}
.hero__inner {
  display: grid; gap: clamp(28px, 4vw, 48px);
  padding-block: clamp(64px, 8vw, 112px);
}
@media (min-width: 900px) { .hero__slab { display: block; } }
.hero__content { display: grid; gap: 22px; max-width: 760px; }
.hero__title {
  font-size: var(--fs-hero); font-weight: 800; font-stretch: 115%;
  text-transform: uppercase; letter-spacing: -0.005em; line-height: 1.02;
}
.hero__title em { font-style: italic; color: var(--yellow); display: block; }
.hero__sub { font-size: var(--fs-lg); color: var(--muted-on-dark); max-width: 58ch; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hero__badges li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line-dark); background: rgba(36, 36, 37, 0.8);
  font-size: var(--fs-sm); font-weight: 600;
}
.hero__badges svg { width: 18px; height: 18px; color: var(--yellow); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 4px; }

.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stat { padding: 22px 12px 22px 0; display: grid; gap: 4px; align-content: start; }
@media (min-width: 760px) { .stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-dark); } }
.stat__num {
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--steel-hi);
  background: linear-gradient(180deg, #FFFFFF 0%, #D7DADD 44%, #8C9196 56%, #E8EAEC 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat__label { font-size: var(--fs-sm); color: var(--muted-on-dark); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- empresa ---------- */
.about { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
.about__text { display: grid; gap: 18px; min-width: 0; }
.about__text h2 { font-size: var(--fs-xl); font-weight: 800; font-stretch: 112%; text-transform: uppercase; }
.about__text p { color: var(--muted-on-light); max-width: 62ch; }
.about__text p strong { color: var(--text-on-light); }
.about__media { display: grid; gap: 14px; min-width: 0; }
.about__media .ph-media { min-height: 340px; }
.about__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ink); }
/* moldura da foto: chapa escura com cantoneiras amarelas e legenda */
.about__figure { position: relative; margin: 0; padding: 10px 10px 0; background: var(--ink); }
.about__figure::before,
.about__figure::after {
  content: ""; position: absolute; width: 40px; height: 40px;
  border: 4px solid var(--yellow); pointer-events: none;
}
.about__figure::before { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.about__figure::after { right: -8px; bottom: -8px; border-left: 0; border-top: 0; }
.about__figure figcaption {
  display: flex; align-items: center; gap: 10px; padding: 12px 4px 14px;
  color: var(--muted-on-dark); font-size: var(--fs-xs); font-weight: 600;
}
.about__figure figcaption::before { content: ""; width: 18px; height: 4px; flex: none; background: var(--yellow); transform: skewX(-12deg); }
.sectors { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 6px 0 0; padding: 0; }
.sectors li {
  padding: 6px 12px; border: 1px solid var(--line-light); background: var(--white);
  font-size: var(--fs-sm); font-weight: 600;
}
.timeline {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--line-light); border: 1px solid var(--line-light);
}
.timeline div { background: var(--white); padding: 14px; display: grid; gap: 2px; }
.timeline strong { font-family: var(--font-display); font-size: var(--fs-lg); font-stretch: 110%; }
.timeline span { font-size: var(--fs-xs); color: var(--muted-on-light); }
@media (min-width: 900px) { .about { grid-template-columns: 1.1fr 0.9fr; } }

/* ---------- por que escolher ---------- */
.why-grid { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); grid-template-columns: minmax(0, 1fr); }
.why-card { background: var(--ink); padding: 28px 24px; display: grid; gap: 12px; align-content: start; transition: background-color .2s ease; }
.why-card:hover { background: var(--ink-2); }
.why-card__icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--graphite); color: var(--yellow);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.why-card h3 { font-size: var(--fs-lg); font-weight: 700; font-stretch: 105%; }
.why-card p { color: var(--muted-on-dark); font-size: var(--fs-sm); }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- frota ---------- */
.fleet-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .fleet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .fleet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.machine {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line-light);
  min-width: 0;
  transition: border-color .2s ease, transform .2s ease;
}
.machine:hover { border-color: var(--steel); transform: translateY(-2px); }
.machine__media { position: relative; }
.machine__media .machine__tag { z-index: 3; }
.machine__media > img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  background: var(--ink); border-bottom: 1px solid var(--line-light);
}
/* card que sobra sozinho na última linha fica centralizado */
@media (min-width: 700px) and (max-width: 1079px) {
  .fleet-grid > .machine:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 12px); }
}
@media (min-width: 1080px) {
  .fleet-grid > .machine:last-child:nth-child(3n+1) { grid-column: 2; }
}

/* ---------- carrossel de fotos da frota (rolagem nativa com snap, setas e contador) ---------- */
.carousel {
  position: relative; aspect-ratio: 4 / 3; max-width: 100%;
  background: var(--ink); border-bottom: 1px solid var(--line-light); overflow: hidden;
}
.carousel__track {
  display: flex; height: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.carousel__slide {
  position: relative; flex: 0 0 100%; height: 100%; margin: 0;
  scroll-snap-align: start; scroll-snap-stop: always;
}
.carousel__slide img, .carousel__slide video { display: block; width: 100%; height: 100%; object-fit: cover; }
.carousel__slide--contain img { object-fit: contain; }
.carousel__slide video { background: var(--ink); }
.carousel__btn {
  position: absolute; top: 50%; z-index: 2;
  width: 40px; height: 40px; margin-top: -20px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--scrim); color: var(--white); cursor: pointer;
  transition: background-color .18s ease, color .18s ease, opacity .18s ease;
}
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:hover { background: var(--yellow); color: var(--ink); }
.carousel__btn--prev { left: 10px; }
.carousel__btn--next { right: 10px; }
.carousel__btn:disabled { opacity: 0; pointer-events: none; }
.carousel__count {
  position: absolute; right: 10px; top: 12px; z-index: 2;
  padding: 5px 9px; border-radius: 999px;
  background: var(--scrim); color: var(--white);
  font-size: var(--fs-xs); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums;
}
.carousel__cap {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  padding: 5px 10px; background: var(--scrim); color: var(--white);
  font-size: var(--fs-xs); font-weight: 600;
}
.carousel__cap--top { bottom: auto; top: 48px; left: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.machine__media .ph-media { aspect-ratio: 4 / 3; min-height: 0; border: 0; border-bottom: 1px solid var(--line-light); border-radius: 0; }
.machine__tag {
  position: absolute; left: 0; top: 14px;
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-display); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 14px 5px 12px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.machine__body { display: grid; gap: 14px; padding: 22px; flex: 1; align-content: start; }
.machine h3 { font-size: var(--fs-lg); font-weight: 800; font-stretch: 108%; text-transform: uppercase; }
.machine__models { font-size: var(--fs-sm); color: var(--muted-on-light); font-weight: 600; margin-top: 4px; }
.machine__desc { font-size: var(--fs-sm); color: var(--muted-on-light); }

/* plaqueta de identificação da máquina */
.plate {
  margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr);
  border: 1px solid var(--line-light); background: var(--paper);
  font-size: var(--fs-sm);
}
.plate dt, .plate dd { margin: 0; padding: 8px 12px; border-bottom: 1px solid var(--line-light); }
.plate dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-on-light); border-right: 1px solid var(--line-light); }
.plate dd { font-weight: 600; min-width: 0; }
.plate dt:nth-last-of-type(1), .plate dd:last-of-type { border-bottom: 0; }

.machine__actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 22px 22px; }
.machine__actions .btn { flex: 1 1 auto; }
/* fichas primeiro, "Solicitar orçamento" sempre na última linha: alinha os botões entre cards da mesma fileira */
.machine__actions .btn:not(.btn--ghost) { order: 1; flex-basis: 100%; }

.fleet-cta {
  margin-top: 24px;
  display: grid; gap: 16px; align-items: center;
  padding: 26px; background: var(--ink); color: var(--text-on-dark);
  border-left: 4px solid var(--yellow);
}
.fleet-cta h3 { font-size: var(--fs-lg); font-weight: 800; text-transform: uppercase; font-stretch: 108%; }
.fleet-cta p { color: var(--muted-on-dark); font-size: var(--fs-sm); }
.fleet-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (min-width: 860px) { .fleet-cta { grid-template-columns: 1fr auto; } }

.extras {
  margin-top: clamp(40px, 5vw, 64px);
  background: var(--white); border: 1px solid var(--line-light);
}
.extras__head {
  display: grid; gap: 6px; padding: 22px 24px;
  background: var(--ink); color: var(--text-on-dark);
  border-bottom: 4px solid var(--yellow);
}
.extras__head h3 { font-size: var(--fs-lg); font-weight: 800; text-transform: uppercase; font-stretch: 108%; }
.extras__head p { color: var(--muted-on-dark); font-size: var(--fs-sm); max-width: 62ch; }
.extras__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.extras__group { display: grid; gap: 14px; align-content: start; padding: 22px 24px 18px; min-width: 0; }
.extras__group + .extras__group { border-top: 1px solid var(--line-light); }
@media (min-width: 860px) {
  .extras__grid { grid-template-columns: 1fr 2fr; }
  .extras__group + .extras__group { border-top: 0; border-left: 1px solid var(--line-light); }
}
.extras__title { display: flex; align-items: center; gap: 12px; }
.extras__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: var(--ink); color: var(--yellow); }
.extras__icon svg { width: 22px; height: 22px; }
.extras__title h4 { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700; font-stretch: 105%; }
.extras__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0 24px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.extras__list li {
  display: flex; align-items: center; gap: 10px; padding: 11px 0;
  border-bottom: 1px solid var(--line-light); font-weight: 600; font-size: var(--fs-sm);
}
/* marcador no mesmo ângulo dos botões */
.extras__list li::before { content: ""; width: 9px; height: 9px; flex: none; background: var(--yellow); transform: skewX(-12deg); }

/* ---------- galeria: vídeos verticais da frota (faixa com rolagem e snap) ---------- */
.reels { position: relative; }
.reels__track {
  display: grid; grid-auto-flow: column; gap: 14px;
  grid-auto-columns: min(70vw, 260px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.reels__track::-webkit-scrollbar { display: none; }
.reels__track:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (min-width: 1100px) { .reels__track { grid-auto-columns: calc((100% - 3 * 14px) / 4); } }
.reel { margin: 0; display: grid; gap: 10px; align-content: start; scroll-snap-align: start; min-width: 0; }
.reel video {
  display: block; width: 100%; height: auto; aspect-ratio: 9 / 16;
  object-fit: cover; background: var(--ink);
}
.reel__cap { font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; }
.reels .carousel__btn { margin-top: -40px; }

/* ---------- serviços ---------- */
.services-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.service {
  position: relative;
  display: grid; gap: 12px; align-content: start;
  padding: 24px 20px; background: var(--white); border: 1px solid var(--line-light);
  border-top: 3px solid var(--yellow);
  min-width: 0;
}
.service__icon { color: var(--ink); }
.service__icon svg { width: 32px; height: 32px; }
.service h3 { font-size: var(--fs-md); font-weight: 700; font-stretch: 105%; }
.service p { font-size: var(--fs-sm); color: var(--muted-on-light); }
.services-foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }

/* ---------- cobertura ---------- */
.coverage { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .coverage { grid-template-columns: 1fr 1fr; } }
.coverage__map {
  margin: 0;
  background: var(--ink); border: 1px solid var(--line-dark); padding: 16px;
  min-width: 0;
}
.coverage__map svg { width: 100%; height: auto; display: block; }
.coverage__map figcaption { font-size: var(--fs-xs); color: var(--muted-on-dark); padding-top: 8px; }
.cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.cities li { background: var(--white); padding: 14px 16px; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cities li svg { width: 18px; height: 18px; color: var(--yellow-deep); flex: none; }
.cities li.is-base { background: var(--ink); color: var(--white); }
.cities li.is-base svg { color: var(--yellow); }
.cities small { font-weight: 500; color: var(--steel); margin-left: auto; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; }
.coverage__text { display: grid; gap: 18px; min-width: 0; }
.coverage__text p { color: var(--muted-on-light); }

/* ---------- orçamento ---------- */
.quote { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 980px) { .quote { grid-template-columns: 0.85fr 1.15fr; } }
.quote__intro { display: grid; gap: 20px; min-width: 0; }
.quote__intro h2 { font-size: var(--fs-xl); font-weight: 800; font-stretch: 112%; text-transform: uppercase; }
.quote__intro p { color: var(--muted-on-dark); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--yellow); flex: none; margin-top: 2px; }

.form-card {
  background: var(--white); color: var(--text-on-light); color-scheme: light;
  padding: clamp(20px, 3vw, 36px);
  border-top: 4px solid var(--yellow);
  min-width: 0;
}
.form-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 700; }
.field label .opt { font-weight: 500; color: var(--muted-on-light); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1px solid #BFC3C7; border-radius: var(--radius);
  background: #FFFFFF; color: var(--text-on-light);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(243, 188, 35, 0.6); outline-offset: 0; border-color: var(--yellow-deep); }
.field .hint { font-size: var(--fs-xs); color: var(--muted-on-light); display: flex; justify-content: space-between; gap: 8px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field .error { font-size: var(--fs-xs); color: #B3261E; font-weight: 600; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); grid-column: 1 / -1; flex-wrap: wrap; }
.consent input { width: 24px; height: 24px; margin-top: 0; accent-color: var(--ink); flex: none; }
.consent label { flex: 1; min-width: 0; }
.form-actions { grid-column: 1 / -1; display: grid; gap: 10px; }
.form-note { font-size: var(--fs-xs); color: var(--muted-on-light); text-align: center; }
.wa-result {
  grid-column: 1 / -1;
  border: 1px solid var(--line-light); background: var(--paper);
  padding: 16px; display: grid; gap: 12px;
}
.wa-result pre {
  margin: 0; white-space: pre-wrap; word-break: break-word;
  font-family: var(--font-body); font-size: var(--fs-sm);
  background: #FFFFFF; border: 1px solid var(--line-light); padding: 12px;
  max-height: 260px; overflow: auto;
}

/* ---------- contato ---------- */
.contact-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .contact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.contact-card {
  background: var(--white); border: 1px solid var(--line-light);
  padding: 24px; display: grid; gap: 12px; align-content: start; min-width: 0;
}
.contact-card__icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: var(--yellow); }
.contact-card h3 { font-size: var(--fs-md); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-stretch: 108%; }
.contact-card p, .contact-card address { font-style: normal; color: var(--muted-on-light); font-size: var(--fs-sm); }
.contact-card a.big { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: var(--fs-lg); text-decoration: none; color: var(--text-on-light); overflow-wrap: anywhere; }
.contact-card a.big--sm { font-size: var(--fs-md); }
.contact-card a.big:hover { color: var(--yellow-deep); }
.contact-card .btn { justify-self: start; margin-top: 4px; }
.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.hours th, .hours td { padding: 6px 0; border-bottom: 1px solid var(--line-light); text-align: left; font-variant-numeric: tabular-nums; }
.hours th { font-weight: 600; color: var(--muted-on-light); padding-right: 12px; }
.hours td { font-weight: 700; text-align: right; }
.plantao { background: var(--ink); color: var(--white); padding: 10px 12px; font-size: var(--fs-sm); display: flex; gap: 8px; align-items: center; }
.plantao svg { width: 18px; height: 18px; color: var(--yellow); flex: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--text-on-dark); color-scheme: dark; }
.footer-cta {
  display: grid; gap: 18px; align-items: center;
  padding-block: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line-dark);
}
.footer-cta h2 { font-size: var(--fs-xl); font-weight: 800; text-transform: uppercase; font-stretch: 112%; }
.footer-cta h2 em { color: var(--yellow); font-style: italic; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .footer-cta { grid-template-columns: 1fr auto; } }
.footer-cols {
  display: grid; gap: 32px; padding-block: 44px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 700px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand img { width: 220px; height: auto; }
.footer-brand p { color: var(--muted-on-dark); font-size: var(--fs-sm); max-width: 40ch; }
.footer-col h4 { font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--muted-on-dark); text-decoration: none; font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--white); }
.footer-col li { color: var(--muted-on-dark); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.social-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted-on-dark); text-decoration: none; font-weight: 600; }
.social-link:hover { color: var(--white); }
.social-link svg { width: 22px; height: 22px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 18px calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: var(--muted-on-dark);
}
.footer-bottom a { color: var(--muted-on-dark); }
.hazard { height: 8px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- botão com cara de link (ação na própria página, sem navegar) ---------- */
.link-button {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; text-decoration: underline; cursor: pointer;
}
.footer-bottom .link-button { color: var(--muted-on-dark); padding: 12px 4px; margin: -12px -4px; }
.footer-col .link-button { color: var(--muted-on-dark); text-decoration: none; font-size: var(--fs-sm); }
.footer-bottom .link-button:hover, .footer-col .link-button:hover { color: var(--white); }

/* ---------- perguntas frequentes ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq__item { background: var(--white); border: 1px solid var(--line-light); border-left: 4px solid var(--ink); }
.faq__item[open] { border-left-color: var(--yellow); }
.faq__item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
  font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 700; font-stretch: 105%; line-height: 1.2;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 11px; height: 11px; margin: 0 6px 4px 0;
  border-right: 2px solid var(--yellow-deep); border-bottom: 2px solid var(--yellow-deep);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.faq__item summary:hover { background: var(--paper); }
.faq__body { padding: 0 20px 20px; color: var(--muted-on-light); display: grid; gap: 10px; }

/* ---------- banner de cookies (LGPD) ---------- */
/* Classe própria do banner. A classe do aceite do formulário é outra e não deve ser reaproveitada aqui. */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: var(--ink); color: var(--text-on-dark); color-scheme: dark;
  border-top: 3px solid var(--yellow);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  padding-block: 16px calc(16px + env(safe-area-inset-bottom, 0px));
}
.cookie-banner__inner { display: grid; gap: 14px; align-items: center; }
.cookie-banner__text { font-size: var(--fs-sm); color: var(--muted-on-dark); max-width: 70ch; }
.cookie-banner__text a { color: var(--white); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner__actions .btn { flex: 1 1 140px; }
@media (min-width: 760px) {
  .cookie-banner__inner { grid-template-columns: 1fr auto; }
  .cookie-banner__actions .btn { flex: none; }
}
/* Com o banner aberto, o fim da página ganha a altura do banner (medida pelo consent.js e exposta
   em --cookie-banner-h no body), para nada ficar escondido atrás dele, nem o foco do teclado nos
   links do rodapé. O padding só estende o documento: nenhum elemento visível se move (CLS 0). */
body.has-cookie-banner { padding-bottom: var(--cookie-banner-h, 0px); }
/* O WhatsApp flutuante sobe a mesma altura. Usa transform, e não bottom, para não contar como CLS. */
.has-cookie-banner .wa-float { transform: translateY(calc(-1 * var(--cookie-banner-h, 0px))); }
.has-cookie-banner .wa-float:hover { transform: translateY(calc(-1 * var(--cookie-banner-h, 0px))) scale(1.06); }

/* ---------- páginas internas (política de privacidade, 404) ---------- */
.site-header--simple .nav { display: block; }
.site-header--simple .header-cta { display: inline-flex; }
@media (max-width: 639px) { .site-header--simple .nav { display: none; } }
.footer-cols--simple { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .footer-cols--simple { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .footer-cols--simple { grid-template-columns: 1.4fr 1fr 1.2fr; } }

.page-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: var(--fs-xl); font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.01em; }
.page-head p { color: var(--muted-on-light); font-size: var(--fs-lg); max-width: 62ch; }
.page-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: var(--fs-sm); color: var(--muted-on-light); }

.prose { max-width: 72ch; display: grid; gap: 14px; }
.prose h2 {
  font-size: var(--fs-lg); font-weight: 800; font-stretch: 108%; text-transform: uppercase;
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-light);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p, .prose li { color: var(--muted-on-light); }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.prose strong { color: var(--text-on-light); }
.prose a { color: var(--text-on-light); }
.prose a:hover { color: var(--yellow-deep); }

.notfound { display: grid; gap: 22px; max-width: 760px; min-height: 50vh; align-content: center; }
.notfound__code {
  font-family: var(--font-display); font-weight: 800; font-stretch: 115%;
  font-size: clamp(4rem, 2rem + 8vw, 8rem); line-height: 1; color: var(--yellow);
}
.notfound h1 { font-size: var(--fs-xl); font-weight: 800; font-stretch: 112%; text-transform: uppercase; }
.notfound p { color: var(--muted-on-dark); font-size: var(--fs-lg); max-width: 58ch; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 4px; }

/* ---------- movimento ---------- */
.reveal { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-pending { transform: translateY(18px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal.is-pending { transform: none; }
  .carousel__track, .reels__track { scroll-behavior: auto; }
}

/* ---------- páginas de destino dos anúncios ---------- */
.lp-split { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .lp-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 900px) { .lp-split--wide { grid-template-columns: minmax(0, 1fr); } }
.lp-split:not(.lp-split--wide) .lp-cards { grid-template-columns: minmax(0, 1fr); }
.lp-uses {
  display: grid; gap: 14px; align-content: start; padding: 22px 24px;
  background: var(--white); border: 1px solid var(--line-light); border-top: 4px solid var(--yellow);
}
.lp-uses h3, .lp-reels h3, .lp-where h3 { font-size: var(--fs-lg); font-weight: 800; text-transform: uppercase; font-stretch: 108%; }
.lp-note { padding: 12px 14px; background: var(--paper); border-left: 4px solid var(--ink); font-size: var(--fs-sm); color: var(--muted-on-light); }
.lp-reels { margin-top: clamp(32px, 4vw, 48px); display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.lp-how { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .lp-how { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.lp-how h2 { font-size: var(--fs-xl); font-weight: 800; font-stretch: 112%; text-transform: uppercase; margin-top: 10px; }
.lp-steps { list-style: none; counter-reset: passo; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.lp-steps li {
  counter-increment: passo; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 16px;
  padding: 16px; border: 1px solid var(--line-light); background: var(--white);
}
.lp-steps li::before {
  content: counter(passo); grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--ink); color: var(--yellow); font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg);
}
.lp-steps strong { font-family: var(--font-display); font-size: var(--fs-md); align-self: end; }
.lp-steps span { font-size: var(--fs-sm); color: var(--muted-on-light); }
.lp-where {
  display: grid; gap: 12px; align-content: start; padding: 22px 24px;
  background: var(--ink); color: var(--text-on-dark); border-left: 4px solid var(--yellow);
}
.lp-where p { color: var(--muted-on-dark); font-size: var(--fs-sm); }
.lp-where .sectors li { color: var(--text-on-light); }
