/* ============================================================
   FMC Construções e Locações — V2 VARIANTE
   Paleta digital: #EAA40A · #00447C · #F7F9FB · #FFFFFF
   Botões split com caixa de seta destacada.
   Space Grotesk (display) + Geist (corpo)
   ============================================================ */

:root {
  /* ---- Nova marca FMC — paleta oficial, extraída de idv/nova-idv ---- */
  --navy:   #00447C;
  --yellow: #EAA40A;
  --cream:  #F7F9FB;
  --light:  #FFFFFF;

  --accent:    #EAA40A;
  --accent-dk: #C98708;
  --on-accent: #00447C;

  --dark:      #00345F;
  --dark-2:    #002642;

  --bg:        #F7F9FB;
  --bg-card:   #FFFFFF;
  --bg-alt:    #EDF1F5;
  --bg-line:   #DDE4EC;

  --text:      #00345F;
  --text-2:    #31536B;
  --muted:     #557086;
  --muted-2:   #8799A6;
  --white:     #FFFFFF;

  --display: "Space Grotesk", system-ui, sans-serif;
  --body:    "Geist", system-ui, -apple-system, sans-serif;

  --maxw:   1180px;
  --pad:    clamp(20px, 5vw, 80px);
  --radius: 4px;
  --btn-r:  12px;
}

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

html { scroll-behavior: smooth; }

/* Lenis (smooth scroll) — quando ativo, ele controla a rolagem. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grade estrutural: as linhas externas acompanham o container e as
   internas dividem sua largura em três colunas proporcionais. */
body::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: min(calc(100% - (2 * var(--pad))), var(--maxw));
  transform: translateX(-50%);
  border-inline: 1px solid rgba(0,0,0,0.09);
  background-image:
    linear-gradient(rgba(0,0,0,0.09), rgba(0,0,0,0.09)),
    linear-gradient(rgba(0,0,0,0.09), rgba(0,0,0,0.09));
  background-repeat: no-repeat;
  background-position: 33.3333% 0, 66.6667% 0;
  background-size: 1px 100%, 1px 100%;
  pointer-events: none;
}
body > main,
body > footer { position: relative; z-index: 1; }

::selection { background: var(--accent); color: #fff; }

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

.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;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Foco visível ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Brand ---------- */
.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1;
}
.brand-dot { color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--maxw));
  padding: 12px 16px 12px 20px;
  background: rgba(247, 249, 251, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0,68,124,0.18);
  border-radius: 8px;
  box-shadow: 0 16px 46px rgba(12,31,50,0.18);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: -1px;
  width: 54px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--yellow);
}
.nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 34px);
  align-items: center;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav a { color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.nav-cta {
  color: var(--text) !important;
  border: 1px solid var(--accent);
  padding: 7px 16px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--accent); color: #fff !important; }

/* ---------- Hambúrguer (mobile) ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: none;
  border: 1px solid var(--bg-line);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Section scaffolding ---------- */
.section {
  width: 100%;
  padding:
    clamp(70px, 11vw, 150px)
    max(var(--pad), calc((100% - var(--maxw)) / 2));
  border-top: 1px solid var(--bg-line);
}
.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}
.section-index {
  font-family: var(--display);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.section-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.section-title {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--text);
}
.accent { color: var(--accent); }

/* ---------- Botões split ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  /* Esquerda menos arredondada, direita mais arredondada — igual à referência */
  border-radius: 8px 16px 16px 8px;
  overflow: hidden;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.15s;
  text-decoration: none;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn-label {
  padding: 14px 22px;
  white-space: nowrap;
}

.btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  /* Radius interno acompanha a curva do botão */
  border-radius: 4px 12px 12px 4px;
  margin: 4px;
  font-size: 0;   /* esconde o texto — a seta vem do ::after */
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

/* Seta via pseudo-elemento pra poder animar */
.btn-arrow::after {
  content: "→";
  font-size: 1.05rem;
  display: block;
  line-height: 1;
}

/* Loop: sai pela direita, volta pela esquerda */
@keyframes arrow-loop {
  0%   { transform: translateX(0);     opacity: 1; }
  40%  { transform: translateX(130%);  opacity: 0; }
  41%  { transform: translateX(-130%); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateX(0);     opacity: 1; }
}
.btn:hover .btn-arrow::after {
  animation: arrow-loop 0.45s ease forwards;
}

/* Escuro: fundo #151515, seta vermelha */
.btn-primary            { background: var(--dark); color: #fff; }
.btn-primary .btn-arrow { background: var(--accent); color: #fff; }

/* Outline/ghost: fundo claro, seta vermelha */
.btn-ghost            { background: var(--bg-card); color: var(--text); border: 1px solid var(--bg-line); }
.btn-ghost .btn-arrow { background: var(--accent); color: #fff; }

/* Accent: fundo vermelho, seta escura */
.btn-accent            { background: var(--accent); color: #fff; }
.btn-accent .btn-arrow { background: var(--dark); color: #fff; }

/* ============================================================
   HERO — âncora escura, vídeo + overlay
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(118px, 12vw, 160px) var(--pad) clamp(108px, 10vw, 132px);
  overflow: hidden;
  background: var(--dark) center/cover no-repeat;
  background-image: image-set("assets/hero-poster-hd.jpg" 1x);
  color: #fff;
}
.hero > *:not(.hero-video):not(.hero-real-media):not(.hero-overlay) {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.94) contrast(1.03);
}
.hero-real-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}
.hero-real-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(0.92) contrast(1.04);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,43,67,0.16) 0%, rgba(20,43,67,0.34) 56%, rgba(20,43,67,0.86) 100%),
    linear-gradient(90deg, rgba(27,49,73,0.92) 0%, rgba(27,49,73,0.70) 46%, rgba(27,49,73,0.10) 100%);
  pointer-events: none;
}

/* Linhas verticais no hero */
.hero::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  z-index: 1;
  width: min(calc(100% - (2 * var(--pad))), var(--maxw));
  transform: translateX(-50%);
  border-inline: 1px solid rgba(255,255,255,0.065);
  background-image:
    linear-gradient(rgba(255,255,255,0.065), rgba(255,255,255,0.065)),
    linear-gradient(rgba(255,255,255,0.065), rgba(255,255,255,0.065));
  background-repeat: no-repeat;
  background-position: 33.3333% 0, 66.6667% 0;
  background-size: 1px 100%, 1px 100%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, transparent 96%, rgba(234,164,10,0.7) 96%, rgba(234,164,10,0.7) 100%);
  pointer-events: none;
}

.kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--accent);
  margin-bottom: 22px;
  font-weight: 500;
}
.hero .kicker { color: var(--accent-text); }

.hero-shell {
  display: block;
  margin-bottom: 0;
}

.hero-copy {
  max-width: 860px;
  min-width: 0;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.hero-kicker-mark {
  width: 30px;
  height: 3px;
  flex: 0 0 auto;
  background: var(--yellow);
}

.hero-title {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(3.2rem, 6.9vw, 6.2rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  color: #fff;
}
.hero-title > span { display: block; }
.hero-title .accent { display: inline; color: var(--accent); }

.hero-sub {
  max-width: 590px;
  margin-top: 34px;
  padding-left: 18px;
  border-left: 2px solid var(--yellow);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.84);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Hero: ghost btn sobre escuro */
.hero .btn-ghost {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.hero .btn-ghost .btn-arrow { background: var(--accent); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 70px;
  background: #37547A;
  border: 1px solid #37547A;
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--dark-2);
  padding: 26px 22px;
}
.stat-num {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  color: #fff;
}
.stat-unit {
  font-size: 1.1rem;
  color: var(--accent);
  margin-left: 6px;
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.62);
}

/* ============================================================
   SOBRE
   ============================================================ */
.sobre-body {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 6vw, 70px);
  align-items: stretch;
}
.sobre-text .section-title { margin-bottom: 26px; }
.sobre-text p { color: var(--text-2); margin-bottom: 18px; font-weight: 300; }
.sobre-text p:last-child { margin-bottom: 0; }
.sobre-loc {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--bg-line);
  font-size: 0.95rem;
  color: var(--text-2);
}
.sobre-loc strong { color: var(--accent); font-weight: 500; }
.sobre-action { margin-top: 30px; }

.sobre-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,68,124,0.85) 0%, rgba(0,68,124,0.0) 60%);
  mix-blend-mode: multiply;
  pointer-events: none;
  border-radius: var(--radius);
}

/* ---------- Placeholders de imagem ---------- */
.img-ph,
.img-band {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  aspect-ratio: var(--ar, 4/3);
  background: var(--bg-alt);
  border: 1px dashed var(--bg-line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  overflow: hidden;
}
.img-ph::before,
.img-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(200,55,12,0.04) 0 10px, transparent 10px 20px);
  pointer-events: none;
}
.img-ph img,
.img-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-ph-label {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  color: var(--accent);
}
.img-ph-sub {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  max-width: 80%;
}
.img-band {
  max-width: var(--maxw);
  margin: 0 auto;
  width: calc(100% - 2 * var(--pad));
}
.frota-fotos {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.img-ph.has-img {
  border: none;
  padding: 0;
}
.img-ph.has-img::before { content: none; }
.frota-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,55,12,0.45) 0%, rgba(200,55,12,0.14) 45%, rgba(200,55,12,0.0) 70%);
  pointer-events: none;
}
.obra-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,68,124,0.55), transparent 55%);
  pointer-events: none;
}

/* ============================================================
   SERVIÇOS
   ============================================================ */
.servicos-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.servicos-cta { font-size: 0.88rem; }
.servicos-cta .btn-label { padding: 10px 18px; }
.servicos-cta .btn-arrow { width: 36px; height: 36px; margin: 3px; border-radius: 3px 10px 10px 3px; }

.serv-grid {
  list-style: none;
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--bg-line);
  border: 1px solid var(--bg-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.serv-card {
  background: var(--bg-card);
  padding: 30px 26px 34px;
  position: relative;
  transition: background 0.25s;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}
.serv-card:hover { background: #EDF1F5; }
.serv-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 3px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.serv-card:hover::after { width: 100%; }
.serv-wide { grid-column: span 2; }

.serv-img {
  padding: 0;
  min-height: 180px;
  overflow: hidden;
}
.serv-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.serv-img:hover img { transform: scale(1.05); }
.serv-img:hover { background: var(--bg-card); }
.serv-img:hover::after { width: 0; }
.serv-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,55,12,0.92) 0%, rgba(200,55,12,0.35) 55%, rgba(200,55,12,0.0) 80%);
  pointer-events: none;
}
.serv-n {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--muted-2);
  letter-spacing: 0.05em;
}
.serv-card h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: auto 0 10px;
  color: var(--text);
}
.serv-card p { font-size: 0.88rem; color: var(--muted); font-weight: 300; }

/* ============================================================
   LOCAÇÃO
   ============================================================ */
.locacao-lead {
  max-width: 560px;
  margin-top: 22px;
  color: var(--text-2);
  font-weight: 300;
  font-size: 1.05rem;
}
.frota-list {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.frota-item {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  letter-spacing: 0.02em;
  padding: 10px 20px;
  border: 1px solid var(--bg-line);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.2s, color 0.2s;
}
.frota-item:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Catálogo interativo de equipamentos ---------- */
.equipment-showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.8fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: end;
}
.equipment-showcase-head .section-title { max-width: 820px; }
.equipment-showcase-head > p {
  max-width: 420px;
  color: var(--text-2);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
}
.equipment-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(132px, 1fr));
  margin-top: clamp(38px, 6vw, 68px);
  overflow-x: auto;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,68,124,0.16);
  border-bottom: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--navy) transparent;
}
.equipment-tab {
  position: relative;
  min-height: 78px;
  padding: 17px 14px 16px;
  border: 0;
  border-right: 1px solid rgba(0,68,124,0.12);
  background: transparent;
  color: var(--text-2);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.18;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  cursor: pointer;
  transition: color 0.22s ease, background-color 0.22s ease;
}
.equipment-tab:last-child { border-right: 0; }
.equipment-tab span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted-2);
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  transition: color 0.22s ease;
}
.equipment-tab:hover { background: rgba(0,68,124,0.06); color: var(--navy); }
.equipment-tab.is-active {
  background: var(--navy);
  color: var(--white);
  box-shadow: inset 0 -4px 0 var(--yellow);
}
.equipment-tab.is-active span { color: var(--yellow); }

.equipment-panels { position: relative; }
.equipment-panel {
  display: grid;
  grid-template-columns: minmax(390px, 420px) minmax(0, 1fr);
  width: min(100%, 1040px);
  min-height: 480px;
  margin: 0 auto;
  border: 1px solid rgba(0,68,124,0.16);
  background: var(--white);
  overflow: hidden;
}
.equipment-panel[hidden] { display: none; }
.equipment-panel-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 3.4vw, 44px);
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.equipment-panel-copy::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -115px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255,255,255,0.025), 0 0 0 84px rgba(255,255,255,0.018);
  pointer-events: none;
}
.equipment-count {
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.06em;
}
.equipment-count span {
  color: rgba(255,255,255,0.34);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.equipment-type {
  margin: 15px 0 28px;
  color: rgba(255,255,255,0.58);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.equipment-panel h3 {
  max-width: 100%;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.9rem, 2.4vw, 2.5rem);
  font-weight: 700;
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: -0.035em;
}
.equipment-panel h3 + p {
  max-width: 390px;
  margin-top: 20px;
  color: rgba(255,255,255,0.72);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.65;
}
.equipment-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}
.equipment-link span {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}
.equipment-link:hover { color: var(--yellow); }
.equipment-link:hover span { transform: translateX(4px); }

.equipment-media {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  min-height: 480px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,68,124,0.05) 1px, transparent 1px),
    linear-gradient(rgba(0,68,124,0.05) 1px, transparent 1px),
    var(--white);
  background-size: 25% 100%, 100% 25%, auto;
}
.equipment-media::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 28px;
  height: 28px;
  border-right: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow);
  pointer-events: none;
}
.equipment-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 432px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.equipment-panel.is-active .equipment-panel-copy > * {
  animation: equipment-copy-in 0.5s cubic-bezier(.22,.8,.25,1) both;
}
.equipment-panel.is-active .equipment-panel-copy > :nth-child(2) { animation-delay: 0.04s; }
.equipment-panel.is-active .equipment-panel-copy > :nth-child(3) { animation-delay: 0.08s; }
.equipment-panel.is-active .equipment-panel-copy > :nth-child(4) { animation-delay: 0.12s; }
.equipment-panel.is-active .equipment-panel-copy > :nth-child(5) { animation-delay: 0.16s; }
.equipment-panel.is-active .equipment-panel-copy > :nth-child(6) { animation-delay: 0.20s; }
.equipment-panel.is-active .equipment-media img {
  animation: equipment-image-in 0.72s cubic-bezier(.16,1,.3,1) both;
}
@keyframes equipment-image-in {
  from { opacity: 0; transform: translateY(28px) scale(0.90); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes equipment-copy-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .equipment-showcase-head { grid-template-columns: 1fr; gap: 24px; }
  .equipment-showcase-head > p { max-width: 620px; }
  .equipment-panel { grid-template-columns: 1fr; }
  .equipment-panel-copy { min-height: 400px; }
  .equipment-media { min-height: 410px; }
  .equipment-media img { max-height: 362px; }
}

@media (max-width: 560px) {
  .equipment-tabs { grid-template-columns: repeat(7, 148px); margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); border-inline: 0; }
  .equipment-tab { min-height: 72px; }
  .equipment-panel { margin-inline: calc(var(--pad) * -1); border-inline: 0; }
  .equipment-panel-copy { min-height: 390px; padding: 32px var(--pad); }
  .equipment-media { min-height: 330px; padding: 18px; }
  .equipment-media img { max-height: 294px; }
}

@media (prefers-reduced-motion: reduce) {
  .equipment-panel.is-active .equipment-panel-copy > *,
  .equipment-panel.is-active .equipment-media img { animation: none; }
  .equipment-tab,
  .equipment-link,
  .equipment-link span { transition: none; }
}

/* ---------- Categorias de equipamentos na página de serviços ---------- */
.equipment-categories {
  position: relative;
  background: #fff;
  overflow: hidden;
}
.equipment-categories::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: min(calc(100% - (2 * var(--pad))), var(--maxw));
  transform: translateX(-50%);
  border-inline: 1px solid rgba(0,68,124,0.08);
  background-image:
    linear-gradient(rgba(0,68,124,0.08), rgba(0,68,124,0.08)),
    linear-gradient(rgba(0,68,124,0.08), rgba(0,68,124,0.08));
  background-repeat: no-repeat;
  background-position: 33.3333% 0, 66.6667% 0;
  background-size: 1px 100%, 1px 100%;
  pointer-events: none;
}
.equipment-categories > * { position: relative; z-index: 1; }
.equipment-categories-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: clamp(32px, 7vw, 90px);
}
.equipment-categories-head p {
  max-width: 420px;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.7;
}
.equipment-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(40px, 6vw, 66px);
}
.equipment-category-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0,68,124,0.14);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.equipment-category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,68,124,0.34);
  box-shadow: 0 18px 38px rgba(27,49,73,0.10);
}
.equipment-category-card figure {
  grid-column: 1 / -1;
  height: 178px;
  padding: 12px 10px 4px;
  background:
    linear-gradient(90deg, rgba(0,68,124,0.045) 1px, transparent 1px),
    linear-gradient(rgba(0,68,124,0.045) 1px, transparent 1px),
    #fff;
  background-size: 33.333% 100%, 100% 50%, auto;
}
.equipment-category-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.equipment-category-number {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 28px;
  background: var(--navy);
  color: var(--yellow);
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.equipment-category-card h3 {
  min-width: 0;
  padding: 17px 8px 18px 18px;
  font-family: var(--display);
  font-size: 0.93rem;
  line-height: 1.2;
  text-transform: uppercase;
}
.equipment-category-arrow {
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 48px;
  background: var(--navy);
  color: var(--yellow);
  transition: background-color 0.2s ease;
}
.equipment-category-card:hover .equipment-category-arrow { background: var(--dark-2); }
.equipment-categories-action { display: flex; justify-content: flex-end; margin-top: 24px; }

@media (max-width: 980px) {
  .equipment-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .equipment-categories-head { grid-template-columns: 1fr; gap: 20px; }
  .equipment-category-grid { grid-template-columns: 1fr; }
  .equipment-category-card figure { height: 210px; }
  .equipment-categories-action .btn { width: 100%; justify-content: space-between; }
}

/* ============================================================
   GALERIA DE OBRAS — estrutura expansível com visualizador
   ============================================================ */
.works-gallery {
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
}
.works-gallery::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: min(calc(100% - (2 * var(--pad))), var(--maxw));
  transform: translateX(-50%);
  border-inline: 1px solid rgba(0,68,124,0.08);
  background-image:
    linear-gradient(rgba(0,68,124,0.08), rgba(0,68,124,0.08)),
    linear-gradient(rgba(0,68,124,0.08), rgba(0,68,124,0.08));
  background-repeat: no-repeat;
  background-position: 33.3333% 0, 66.6667% 0;
  background-size: 1px 100%, 1px 100%;
  pointer-events: none;
}
.works-gallery > * { position: relative; z-index: 1; }
.works-gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: clamp(34px, 8vw, 104px);
}
.works-gallery-head .section-title { max-width: 780px; }
.works-gallery-head p {
  max-width: 410px;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.7;
}
.works-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(42px, 7vw, 76px);
}
.works-gallery-card {
  position: relative;
  grid-column: span 6;
  min-height: clamp(380px, 43vw, 540px);
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}
.works-gallery-card--wide { grid-column: span 7; }
.works-gallery-card--narrow { grid-column: span 5; }
.works-gallery-card figure,
.works-gallery-card img { position: absolute; inset: 0; width: 100%; height: 100%; }
.works-gallery-card img {
  display: block;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(.2,.72,.2,1), filter 0.4s ease;
}
.works-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,29,47,0.04) 34%, rgba(13,29,47,0.88) 100%);
  pointer-events: none;
}
.works-gallery-card:hover img { transform: scale(1.045); filter: saturate(1.06); }
.works-gallery-meta {
  position: absolute;
  left: clamp(20px, 3vw, 34px);
  right: 76px;
  bottom: clamp(20px, 3vw, 32px);
  z-index: 2;
  display: grid;
  gap: 7px;
}
.works-gallery-meta span {
  color: rgba(255,255,255,0.68);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.works-gallery-meta strong {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  line-height: 1.05;
}
.works-gallery-open {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  font-size: 1.1rem;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.works-gallery-card:hover .works-gallery-open {
  transform: translate(2px, -2px);
  background: var(--yellow);
}

/* Galeria documental — registros reais, sem atribuir as imagens a contratos
   históricos específicos. O mosaico aceita novos itens sem reordenar o HTML. */
.real-gallery {
  position: relative;
  overflow: hidden;
  border-top-color: rgba(255,255,255,0.08);
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255,255,255,0.055), rgba(255,255,255,0.055)),
    linear-gradient(rgba(255,255,255,0.055), rgba(255,255,255,0.055));
  background-repeat: no-repeat;
  background-position:
    max(var(--pad), calc((100% - var(--maxw)) / 2 + (var(--maxw) / 3))) 0,
    min(calc(100% - var(--pad)), calc((100% + var(--maxw)) / 2 - (var(--maxw) / 3))) 0;
  background-size: 1px 100%, 1px 100%;
  color: var(--white);
}
.real-gallery::before {
  content: "";
  position: absolute;
  right: clamp(-110px, -5vw, -50px);
  top: clamp(40px, 7vw, 100px);
  width: clamp(260px, 30vw, 500px);
  aspect-ratio: 1.602 / 1;
  background: var(--yellow);
  opacity: 0.045;
  pointer-events: none;
  -webkit-mask: url(assets/logo-fmc-monograma.svg) center / contain no-repeat;
  mask: url(assets/logo-fmc-monograma.svg) center / contain no-repeat;
}
.real-gallery > * { position: relative; z-index: 1; }
.real-gallery .section-tag { color: rgba(255,255,255,0.58); }
.real-gallery .section-title { color: var(--white); }
.real-gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: clamp(34px, 8vw, 104px);
}
.real-gallery-head p {
  max-width: 430px;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  line-height: 1.7;
}
.real-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: clamp(105px, 9vw, 150px);
  gap: clamp(8px, 1vw, 14px);
  margin-top: clamp(42px, 7vw, 76px);
}
.real-gallery-card {
  position: relative;
  grid-column: span 3;
  grid-row: span 2;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--dark-2);
  color: var(--white);
  cursor: zoom-in;
}
.real-gallery-card--wide { grid-column: span 6; }
.real-gallery-card--portrait { grid-row: span 3; }
.real-gallery-card--feature { grid-column: span 6; grid-row: span 3; }
.real-gallery-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.72,.2,1), filter 0.35s ease;
}
.real-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(8,22,37,0.72) 100%);
  pointer-events: none;
}
.real-gallery-card:hover img { transform: scale(1.045); filter: saturate(1.08); }
.real-gallery-number {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  color: var(--white);
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.real-gallery-number::before { content: "CAMPO  "; color: rgba(255,255,255,0.58); }
.real-gallery-open {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(18,42,65,0.7);
  color: var(--yellow);
  font-size: 0.9rem;
  backdrop-filter: blur(7px);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.real-gallery-card:hover .real-gallery-open { transform: translate(2px, -2px); background: var(--yellow); color: var(--navy); }

@media (max-width: 900px) {
  .real-gallery-head { grid-template-columns: 1fr; gap: 22px; }
  .real-gallery-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 120px; }
  .real-gallery-card { grid-column: span 3; }
  .real-gallery-card--wide,
  .real-gallery-card--feature { grid-column: span 6; }
}
@media (max-width: 560px) {
  .real-gallery::before { right: -110px; opacity: 0.035; }
  .real-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 105px; }
  .real-gallery-card { grid-column: span 1; }
  .real-gallery-card--wide,
  .real-gallery-card--feature { grid-column: span 2; }
  .real-gallery-card--feature { grid-row: span 2; }
  .real-gallery-open { width: 32px; height: 32px; }
}
.gallery-dialog {
  width: min(1120px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100vh - 40px);
  margin: auto;
  padding: 12px;
  overflow: visible;
  border: 0;
  background: var(--white);
  box-shadow: 0 30px 100px rgba(5,15,26,0.44);
}
.gallery-dialog::backdrop {
  background: rgba(9,22,36,0.88);
  backdrop-filter: blur(7px);
}
.gallery-dialog figure { margin: 0; background: var(--dark-2); }
.gallery-dialog img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 130px);
  object-fit: contain;
}
.gallery-dialog figcaption {
  padding: 14px 16px 5px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--display);
  font-weight: 600;
}
.gallery-dialog-close {
  position: absolute;
  top: -17px;
  right: -17px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font: 300 1.6rem/1 var(--body);
  cursor: pointer;
}
@media (max-width: 760px) {
  .works-gallery-head { grid-template-columns: 1fr; gap: 20px; }
  .works-gallery-card,
  .works-gallery-card--wide,
  .works-gallery-card--narrow { grid-column: 1 / -1; min-height: 390px; }
}
@media (max-width: 480px) {
  .works-gallery-card,
  .works-gallery-card--wide,
  .works-gallery-card--narrow { min-height: 330px; }
  .gallery-dialog { width: calc(100vw - 24px); padding: 8px; }
  .gallery-dialog-close { top: 8px; right: 8px; border: 0; }
}

/* ============================================================
   OBRAS
   ============================================================ */
.obras-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.obras-all {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 8px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.obras-all:hover { color: var(--accent); border-bottom-color: var(--accent); }
.obras-lead {
  max-width: 600px;
  margin-top: 20px;
  color: var(--text-2);
  font-weight: 300;
  font-size: 1.05rem;
}
.obras-lead strong { color: var(--text); font-weight: 500; }
.obras-carousel { margin-top: 46px; }
.obras-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.obras-grid::-webkit-scrollbar { display: none; }
.obra-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 clamp(240px, 28vw, 320px);
  scroll-snap-align: start;
}
.obras-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.obras-arrow {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--bg-line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.obras-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.obras-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  background: transparent;
  border-color: var(--bg-line);
  color: var(--text);
}
.obra-card .img-ph {
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}
.obra-card:hover .img-ph { transform: translateY(-4px); }
.obra-loc {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
}
.obra-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
}
.obra-card:hover .obra-name { color: var(--accent); }
.obras-grid-static {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 46px;
  overflow: visible;
}
.obras-grid-static .obra-card { min-width: 0; }
@media (max-width: 900px) { .obras-grid-static { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .obras-grid-static { grid-template-columns: 1fr; } }

/* ============================================================
   SEÇÕES ALTERNADAS em concreto mais fechado
   ============================================================ */
.servicos,
.obras,
.equipment-showcase {
  position: relative;
  background-color: var(--bg-alt);
  background-image: none;
}
.servicos::before,
.obras::before,
.equipment-showcase::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  z-index: 0;
  width: min(calc(100% - (2 * var(--pad))), var(--maxw));
  transform: translateX(-50%);
  border-inline: 1px solid rgba(0,0,0,0.08);
  background-image:
    linear-gradient(rgba(0,0,0,0.08), rgba(0,0,0,0.08)),
    linear-gradient(rgba(0,0,0,0.08), rgba(0,0,0,0.08));
  background-repeat: no-repeat;
  background-position: 33.3333% 0, 66.6667% 0;
  background-size: 1px 100%, 1px 100%;
  pointer-events: none;
}
.servicos > *,
.obras > *,
.equipment-showcase > * { position: relative; z-index: 1; }

/* ============================================================
   CONTATO — âncora azul com linhas e assinatura da marca
   ============================================================ */
.contato {
  position: relative;
  background-color: var(--navy);
  background-image:
    radial-gradient(circle at 88% 82%, rgba(234,164,10,0.12) 0%, rgba(234,164,10,0.035) 25%, transparent 48%),
    linear-gradient(135deg, var(--dark-2) 0%, var(--navy) 52%, #2c4f78 100%);
  border-top: 1px solid rgba(234,164,10,0.24);
  overflow: hidden;
}
.contato::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  z-index: 0;
  width: min(calc(100% - (2 * var(--pad))), var(--maxw));
  transform: translateX(-50%);
  border-inline: 1px solid rgba(255,255,255,0.06);
  background-image:
    linear-gradient(rgba(255,255,255,0.06), rgba(255,255,255,0.06)),
    linear-gradient(rgba(255,255,255,0.06), rgba(255,255,255,0.06));
  background-repeat: no-repeat;
  background-position: 33.3333% 0, 66.6667% 0;
  background-size: 1px 100%, 1px 100%;
  pointer-events: none;
}
.contato::after {
  content: "";
  position: absolute;
  right: clamp(-170px, -7vw, -90px);
  bottom: clamp(-165px, -9vw, -95px);
  z-index: 0;
  width: clamp(420px, 42vw, 720px);
  aspect-ratio: 1.602 / 1;
  background-color: var(--yellow);
  opacity: 0.065;
  pointer-events: none;
  user-select: none;
  -webkit-mask: url(assets/logo-fmc-monograma.svg) center / contain no-repeat;
  mask: url(assets/logo-fmc-monograma.svg) center / contain no-repeat;
}
.contato-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.contato--cta .contato-inner { max-width: 980px; }
.contato--cta .contato-sub { max-width: 640px; }
.contato-title {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 6.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 14px 0 24px;
  color: #fff;
}
.contato--cta .contato-title {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.contato-title-line {
  display: block;
  white-space: nowrap;
}
.contato-sub {
  color: rgba(255,255,255,0.80);
  font-weight: 300;
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
}
.contato-actions { margin-top: 32px; }
.contato-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.contato-info--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 680px;
  margin-inline: auto;
}
.contato-info--compact > div + div {
  border-left: 1px solid rgba(255,255,255,0.14);
}
.info-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 10px;
}
.contato-info p { font-size: 0.95rem; color: rgba(255,255,255,0.80); line-height: 1.5; }
.contato .kicker { color: var(--accent); }

/* Botão no contato: vermelho com seta escura */
.contato .btn-primary            { background: var(--accent); color: #fff; }
.contato .btn-primary .btn-arrow { background: var(--dark); color: #fff; }

/* ============================================================
   FORMULÁRIO DE CONTATO — pronto para Netlify Forms
   ============================================================ */
.contact-form-section {
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
}
.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(44px, 8vw, 108px);
  align-items: start;
}
.contact-form-intro p {
  max-width: 480px;
  margin-top: 24px;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.75;
}
.contact-form-note {
  display: block;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.contact-form {
  padding: clamp(28px, 4vw, 48px);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,68,124,0.16);
  box-shadow: 0 24px 60px rgba(27,49,73,0.08);
}
.contact-form--cta {
  margin-top: clamp(36px, 5vw, 52px);
  text-align: left;
  box-shadow: 0 28px 70px rgba(8,24,40,0.24);
}
.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}
.form-field { display: grid; gap: 9px; }
.form-field--full { grid-column: 1 / -1; }
.form-field > span {
  color: var(--navy);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(0,68,124,0.16);
  border-radius: 2px;
  background: var(--bg-card);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.form-field input { height: 52px; padding: 0 15px; }
.form-field select {
  height: 52px;
  padding: 0 42px 0 15px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.form-field textarea { min-height: 150px; padding: 14px 15px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,68,124,0.09);
}
.contact-form-submit {
  margin-top: 26px;
  border: 0;
  cursor: pointer;
}
@media (max-width: 880px) {
  .contact-form-layout { grid-template-columns: 1fr; gap: 38px; }
  .contact-form-intro p { max-width: 620px; }
}
@media (max-width: 560px) {
  .contact-form { padding: 26px 20px; }
  .contact-form-grid { grid-template-columns: 1fr; gap: 20px; }
  .form-field--full { grid-column: auto; }
  .contact-form-submit { width: 100%; justify-content: space-between; }
}
.form-success {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 100svh;
  padding: 150px var(--pad) 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 82%, rgba(234,164,10,0.12), transparent 42%),
    linear-gradient(135deg, var(--dark-2), var(--navy) 64%, #2c4f78);
  color: var(--white);
  text-align: center;
}
.form-success::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: min(56vw, 680px);
  aspect-ratio: 1.602 / 1;
  background: var(--yellow);
  opacity: 0.06;
  -webkit-mask: url(assets/logo-fmc-monograma.svg) center / contain no-repeat;
  mask: url(assets/logo-fmc-monograma.svg) center / contain no-repeat;
}
.form-success > * { position: relative; z-index: 1; }
.form-success-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
  border: 1px solid rgba(234,164,10,0.55);
  color: var(--yellow);
  font-size: 1.5rem;
}
.form-success h1 {
  max-width: 820px;
  margin: 12px 0 20px;
  font-family: var(--display);
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  line-height: 0.96;
  text-transform: uppercase;
}
.form-success p:not(.kicker) { max-width: 580px; color: rgba(255,255,255,0.76); }
.form-success .btn { margin-top: 32px; }

@media (max-width: 820px) {
  .contact-form-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact-form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .contact-form { padding: 24px 18px; }
  .contact-form-submit { width: 100%; justify-content: space-between; }
}

/* ============================================================
   FOOTER — painel vermelho sobre fundo escuro com linhas
   ============================================================ */
.site-footer {
  position: relative;
  width: 100%;
  padding:
    clamp(60px, 8vw, 110px)
    max(var(--pad), calc((100% - var(--maxw)) / 2))
    clamp(40px, 5vw, 64px);
  overflow: hidden;
}
/* Glows de canto na cor da marca — suaves sobre fundo claro. */
.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 760px;
  max-height: 760px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.site-footer::before {
  top: -34%;
  right: -24%;
  background: radial-gradient(circle, rgba(243,90,43,0.42) 0%, rgba(243,90,43,0.12) 40%, transparent 70%);
}
.site-footer::after {
  bottom: -38%;
  left: -26%;
  background: radial-gradient(circle, rgba(243,90,43,0.30) 0%, rgba(243,90,43,0.07) 42%, transparent 72%);
}

/* Texto gigante de assinatura, atrás de tudo. */
.footer-watermark {
  position: absolute;
  left: 50%;
  bottom: clamp(-12px, -0.5vw, 6px);
  transform: translateX(-50%);
  z-index: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(7rem, 34vw, 30rem);
  line-height: 0.72;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: rgba(0,68,124,0.045);
  pointer-events: none;
  user-select: none;
}

.footer-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.footer-col-head {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 22px;
}

/* Coluna 1 — conecte-se */
.footer-connect-lead {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(0,68,124,0.62);
  max-width: 34ch;
  margin-bottom: 22px;
}
.footer-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
  max-width: 360px;
}
.footer-form input {
  flex: 1;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--bg-line);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--body);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.footer-form input::placeholder { color: rgba(0,68,124,0.42); }
.footer-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.footer-form button {
  flex: 0 0 auto;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  background: var(--dark);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.footer-form button:hover { background: var(--accent); }

.footer-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
  max-width: 360px;
  padding: 0 16px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  color: var(--navy);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.footer-contact-cta:hover { background: var(--navy); color: #fff; }
.footer-contact-cta span { font-size: 1.1rem; }

/* Coluna 2 — navegação */
.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 28px;
}
.footer-links { display: flex; flex-direction: column; gap: 13px; }
.footer-links a {
  font-size: 0.96rem;
  color: rgba(0,68,124,0.62);
  width: max-content;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

/* Coluna 3 — contato */
.footer-contact-body {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(0,68,124,0.62);
}
.footer-contact-body a {
  color: rgba(0,68,124,0.82);
  transition: color 0.2s;
}
.footer-contact-body a:hover { color: var(--accent); }

/* Coluna 4 — unidades */
.footer-units-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-units-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-units-list strong {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
}
.footer-units-list span {
  font-size: 0.86rem;
  color: rgba(0,68,124,0.5);
}

/* Barra inferior — créditos + social */
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: clamp(48px, 7vw, 90px);
  padding-top: 26px;
  border-top: 1px solid rgba(0,68,124,0.12);
}
.footer-copy {
  font-size: 0.84rem;
  color: rgba(0,68,124,0.55);
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  align-items: center;
  border: 1px solid rgba(0,68,124,0.18);
  border-radius: 50%;
  color: rgba(0,68,124,0.7);
  transition: color 0.2s, background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-social a:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.footer-social svg { display: block; width: 18px; height: 18px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--d, 0) * 90ms);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .sobre-body { grid-template-columns: 1fr; }
  .serv-grid { grid-template-columns: repeat(2, 1fr); }
  .serv-wide { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: clamp(3rem, 8vw, 5rem); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 40px 36px; }
}

@media (max-width: 560px) {
  .hero {
    min-height: 100svh;
    padding: 116px var(--pad) 0;
  }
  .hero-kicker {
    align-items: flex-start;
    font-size: 0.68rem;
    letter-spacing: 0.13em;
  }
  .hero-kicker-mark { width: 22px; margin-top: 5px; }
  .hero-title {
    font-size: clamp(2.9rem, 13vw, 4.15rem);
    line-height: 0.88;
    letter-spacing: -0.06em;
  }
  .hero-sub { margin-top: 28px; }
  .hero-actions { gap: 10px; margin-top: 28px; }
  .hero-actions .btn { width: 100%; justify-content: space-between; }

  .nav-toggle { display: flex; }
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    padding: 10px 12px 10px 14px;
    border-radius: 8px;
  }
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 18px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border: 1px solid var(--bg-line);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(12,31,50,0.16);
    font-size: 0.95rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--bg-line);
  }
  .nav-cta {
    margin-top: 14px;
    border: 1px solid var(--accent);
    text-align: center;
    border-bottom: 1px solid var(--accent);
  }

  .serv-grid { grid-template-columns: 1fr; }
  .serv-wide { grid-column: span 1; }
  .frota-fotos { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .obra-card { flex-basis: 76vw; }
  .contato-info { grid-template-columns: 1fr; gap: 22px; }
  .contato-info--compact > div + div {
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-left: 0;
  }
  .contato::after {
    right: -120px;
    bottom: -70px;
    width: 360px;
    opacity: 0.05;
  }
  .contato--cta .contato-title {
    font-size: clamp(1.12rem, 5.5vw, 1.7rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
  }
  .footer-cols { grid-template-columns: 1fr; gap: 36px; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-social { gap: 20px; }
  .btn-label { padding: 12px 18px; }
  .btn-arrow { width: 38px; height: 38px; margin: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-video { display: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HOME 2026 — estratégia orientada a locação e eletromecânica
   Direção: editorial industrial, grande escala e prova de campo.
   ============================================================ */
.hero-real {
  min-height: 100svh;
  background-image: url("assets/obras-reais/mobilizacao-escavadeira-equipe.webp");
}
.hero-real .hero-overlay {
  background:
    linear-gradient(180deg, rgba(0,38,66,0.12) 0%, rgba(0,38,66,0.28) 58%, rgba(0,38,66,0.78) 100%),
    linear-gradient(90deg, rgba(0,38,66,0.96) 0%, rgba(0,52,95,0.84) 42%, rgba(0,52,95,0.24) 72%, rgba(0,38,66,0.10) 100%);
}
.hero-real .hero-title {
  max-width: 1080px;
  font-size: clamp(2.5rem, min(5.25vw, 8.1svh), 4.75rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
}
.hero-real .hero-title-wide { font-size: 0.86em; }
.hero-photo-note {
  display: block;
  width: fit-content !important;
  margin: clamp(24px, 4svh, 42px) 0 0 !important;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,38,66,0.38);
  color: rgba(255,255,255,0.72);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.proof-rail {
  position: relative;
  z-index: 2;
  background: var(--dark-2);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.proof-rail-inner {
  width: min(calc(100% - (2 * var(--pad))), var(--maxw));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-inline: 1px solid rgba(255,255,255,0.12);
}
.proof-item {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px clamp(18px, 2.3vw, 34px);
}
.proof-item + .proof-item { border-left: 1px solid rgba(255,255,255,0.12); }
.proof-item span {
  color: #fff;
  font: 650 clamp(1.05rem, 1.7vw, 1.48rem)/1.1 var(--display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.proof-item small {
  margin-top: 9px;
  color: rgba(255,255,255,0.58);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.business-paths { background: #fff; }
.business-paths-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.58fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: end;
}
.business-paths-heading > p {
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.72;
}
.business-paths-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 1px;
  margin-top: clamp(44px, 6vw, 72px);
  padding: 1px;
  background: var(--bg-line);
  border: 1px solid var(--bg-line);
}
.business-path-card {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.business-path-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(.2,.7,.2,1);
}
.business-path-card:hover > img { transform: scale(1.035); }
.business-path-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,38,66,0.04) 18%, rgba(0,38,66,0.94) 100%);
}
.business-path-copy { width: 100%; padding: clamp(28px, 4vw, 48px); }
.business-path-copy small {
  display: block;
  margin-bottom: 15px;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.business-path-copy h3 {
  max-width: 650px;
  font: 700 clamp(2rem, 3.7vw, 3.65rem)/0.95 var(--display);
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.business-path-copy p { max-width: 610px; margin-top: 17px; line-height: 1.62; }
.business-path-copy b {
  display: inline-flex;
  gap: 10px;
  margin-top: 28px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.business-path-card--engineering { color: #fff; }
.business-path-card--engineering .business-path-copy small { color: var(--yellow); }
.business-path-card--engineering .business-path-copy p { color: rgba(255,255,255,0.72); }
.business-path-card--rental {
  align-items: stretch;
  flex-direction: column;
  justify-content: flex-end;
  background: #fff;
  color: var(--navy);
}
.business-path-card--rental > img {
  position: relative;
  z-index: 0;
  flex: 1 1 auto;
  min-height: 270px;
  object-fit: contain;
  padding: 24px 20px 0;
  filter: drop-shadow(0 22px 24px rgba(0,52,95,0.12));
}
.business-path-card--rental .business-path-copy { padding-top: 10px; }
.business-path-card--rental .business-path-copy small { color: var(--muted); }
.business-path-card--rental .business-path-copy p { color: var(--text-2); }

.locacao-priority { background: #fff; }
.locacao-priority .fleet-product-grid,
.locacao-priority .fleet-product-card,
.locacao-priority .fleet-product-card figure { background-color: #fff; }

.hero-priority .hero-title { max-width: 980px; }
.hero-priority .hero-title > .accent {
  display: block;
  width: fit-content;
}
.hero-priority .hero-sub { max-width: 720px; }
.hero-priority .stats { margin-top: clamp(42px, 6vw, 68px); }
.hero-priority .stat-num { font-size: clamp(1.45rem, 2.5vw, 2.35rem); }

.priority-heading-grid,
.clientes-heading-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: end;
}
.priority-heading-copy,
.clientes-heading-grid > p {
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.72;
}
.priority-heading-copy > p + p { margin-top: 20px; }
.priority-proof {
  padding: 20px 0 0 20px;
  border-top: 1px solid var(--bg-line);
  border-left: 3px solid var(--yellow);
}
.priority-proof strong { color: var(--navy); font-weight: 650; }

.fleet-product-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 1px;
  margin-top: clamp(42px, 6vw, 72px);
  padding: 1px;
  background: var(--bg-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fleet-product-card {
  position: relative;
  min-width: 0;
  min-height: 420px;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 24px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.25s ease;
}
.fleet-product-card:hover { box-shadow: inset 0 0 0 1px rgba(0,68,124,0.18); }
.fleet-product-card figure { position: relative; min-height: 250px; }
.fleet-product-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 20px rgba(22,43,66,0.13));
  transition: transform 0.55s cubic-bezier(.2,.75,.2,1);
}
.fleet-product-card:hover img { transform: translateY(-8px) scale(1.035); }
.fleet-product-index {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 2;
  color: var(--muted-2);
  font: 600 0.72rem/1 var(--display);
  letter-spacing: 0.14em;
}
.fleet-product-card > div { position: relative; z-index: 2; padding-right: 42px; }
.fleet-product-card > div span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.fleet-product-card h3 {
  margin-top: 6px;
  color: var(--navy);
  font: 700 clamp(1.35rem, 2vw, 2rem)/1 var(--display);
  text-transform: uppercase;
}
.fleet-product-card > b {
  position: absolute;
  right: 22px;
  bottom: 26px;
  color: var(--navy);
  font: 500 1.15rem/1 var(--display);
  transition: transform 0.2s ease;
}
.fleet-product-card:hover > b { transform: translate(3px, -3px); }

.advantage-band {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 10vw, 136px) max(var(--pad), calc((100% - var(--maxw)) / 2));
  background: var(--navy);
  color: #fff;
}
.advantage-band::before {
  content: "";
  position: absolute;
  inset: 0 max(var(--pad), calc((100% - var(--maxw)) / 2));
  border-inline: 1px solid rgba(255,255,255,0.075);
  background-image: linear-gradient(rgba(255,255,255,0.075), rgba(255,255,255,0.075)), linear-gradient(rgba(255,255,255,0.075), rgba(255,255,255,0.075));
  background-position: 33.333% 0, 66.666% 0;
  background-size: 1px 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}
.advantage-band::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -180px;
  width: 560px;
  aspect-ratio: 1;
  background: url("assets/logo-fmc-monograma.svg") center/contain no-repeat;
  opacity: 0.045;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.advantage-band-inner { position: relative; z-index: 1; }
.section-head--light .section-tag { color: rgba(255,255,255,0.58); }
.advantage-band .section-title { max-width: 900px; color: #fff; }
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(44px, 7vw, 76px);
  border-block: 1px solid rgba(255,255,255,0.15);
}
.advantage-grid article { min-height: 250px; padding: 28px clamp(20px, 2.8vw, 38px); }
.advantage-grid article + article { border-left: 1px solid rgba(255,255,255,0.15); }
.advantage-grid span { color: var(--yellow); font: 600 0.7rem/1 var(--display); letter-spacing: 0.14em; }
.advantage-grid h3 { margin-top: 62px; color: #fff; font: 650 clamp(1.4rem, 2.2vw, 2rem)/1 var(--display); text-transform: uppercase; }
.advantage-grid p { max-width: 340px; margin-top: 13px; color: rgba(255,255,255,0.68); font-weight: 300; line-height: 1.6; }

.electro-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(38px, 7vw, 94px);
  align-items: stretch;
}
.electro-feature-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--navy);
}
.electro-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(20,43,67,0.76));
  pointer-events: none;
}
.electro-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.electro-feature-media:hover img { transform: scale(1.025); }
.electro-feature-media figcaption,
.real-photo-label {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 20px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.electro-feature-copy { display: flex; flex-direction: column; justify-content: center; }
.electro-feature-copy .section-title { font-size: clamp(2.3rem, 4.4vw, 4.35rem); }
.electro-feature-copy > p:not(.kicker) { margin-top: 22px; color: var(--text-2); font-weight: 300; line-height: 1.72; }
.electro-feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 34px; }
.text-link { color: var(--navy); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid rgba(0,68,124,0.28); }
.text-link:hover { border-bottom-color: var(--navy); }

.servicos-priority { background: var(--bg-card); }
.servicos-priority .servicos-title-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.servicos-priority .servicos-title-row > div { max-width: 850px; }
.servicos-intro { max-width: 720px; margin-top: 22px; color: var(--text-2); font-weight: 300; }
.serv-grid--home { grid-template-columns: repeat(3, 1fr); }
.serv-grid--home.serv-grid--pillars { grid-template-columns: repeat(4, 1fr); }
.serv-grid--home .serv-card { min-height: 220px; }
.serv-card--featured {
  background: var(--navy);
  border-color: var(--navy);
}
.serv-card--featured .serv-n { color: var(--yellow); }
.serv-card--featured h3 { color: #fff; }
.serv-card--featured p { color: rgba(255,255,255,0.68); }
.serv-card--featured:hover { background: var(--dark-2); }

.clientes--priority { padding-bottom: 20px; }
.clientes--priority .clientes-title { max-width: 780px; }
.clients-ticker--priority { padding-top: 20px; padding-bottom: clamp(52px, 8vw, 96px); }
.sobre--priority .sobre-body { align-items: center; }
.sobre--priority .sobre-foto { min-height: 620px; }
.sobre-foto--real img { object-position: center; }

@media (max-width: 980px) {
  .business-paths-heading,
  .priority-heading-grid,
  .clientes-heading-grid,
  .electro-feature-grid { grid-template-columns: 1fr; }
  .business-paths-heading > p,
  .priority-heading-copy,
  .clientes-heading-grid > p { max-width: 700px; }
  .business-paths-grid { grid-template-columns: 1fr; }
  .business-path-card { min-height: 500px; }
  .business-path-card--rental { min-height: 560px; }
  .fleet-product-grid { grid-template-columns: 1fr 1fr; }
  .fleet-product-card--wide { grid-column: span 2; }
  .electro-feature-media { min-height: 520px; }
  .serv-grid--home { grid-template-columns: repeat(2, 1fr); }
  .serv-grid--home.serv-grid--pillars { grid-template-columns: repeat(2, 1fr); }
  .servicos-priority .servicos-title-row { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .hero-real .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0,38,66,0.40) 0%, rgba(0,38,66,0.48) 44%, rgba(0,38,66,0.94) 100%),
      linear-gradient(90deg, rgba(0,38,66,0.72), rgba(0,38,66,0.18));
  }
  .hero-real-media img { object-position: 62% center; }
  .hero-priority .hero-title { font-size: clamp(2.25rem, 10.5vw, 3.15rem); }
  .hero-real .hero-title-wide { font-size: 0.84em; line-height: 0.98; }
  .hero-photo-note { font-size: 0.58rem; letter-spacing: 0.1em; }
  .proof-rail-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-item { min-height: 112px; padding: 20px 16px; }
  .proof-item:nth-child(3) { border-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.12); }
  .proof-item span { font-size: 0.98rem; }
  .proof-item small { font-size: 0.6rem; }
  .business-path-card { min-height: 460px; }
  .business-path-card--rental { min-height: 500px; }
  .business-path-copy { padding: 26px 22px; }
  .business-path-copy h3 { font-size: clamp(1.8rem, 9vw, 2.5rem); }
  .business-path-card--rental > img { min-height: 240px; padding-inline: 4px; }
  .hero-priority .stat-num { font-size: 1.18rem; }
  .hero-priority .stat-label { font-size: 0.67rem; }
  .fleet-product-grid { grid-template-columns: 1fr; }
  .fleet-product-card--wide { grid-column: auto; }
  .fleet-product-card { min-height: 370px; }
  .advantage-grid { grid-template-columns: 1fr; }
  .advantage-grid article { min-height: auto; padding: 26px 0; }
  .advantage-grid article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,0.15); }
  .advantage-grid h3 { margin-top: 28px; }
  .electro-feature-media { min-height: 420px; }
  .serv-grid--home { grid-template-columns: 1fr; }
  .serv-grid--home.serv-grid--pillars { grid-template-columns: 1fr; }
  .sobre--priority .sobre-foto { min-height: 520px; }
}

/* ============================================================
   TICKER DE CLIENTES
   ============================================================ */
.sobre  { padding-bottom: clamp(40px, 6vw, 80px); }
.clientes {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: 32px;
}
.clientes-title { font-size: clamp(2rem, 5vw, 3.6rem); }

.clients-ticker {
  overflow: hidden;
  position: relative;
  padding: 32px 0;
  background: var(--bg);
}
.clients-ticker::before,
.clients-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clients-ticker::before { left: 0;  background: linear-gradient(90deg,  var(--bg) 0%, transparent 100%); }
.clients-ticker::after  { right: 0; background: linear-gradient(-90deg, var(--bg) 0%, transparent 100%); }

.ticker-track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 120px;
  background: #fff;
  border: 1px solid var(--bg-line);
  border-radius: 8px;
  flex-shrink: 0;
  padding: 24px 32px;
  transition: border-color 0.25s;
}
.ticker-card:hover { border-color: var(--accent); }

.ticker-card img {
  max-height: 68px;
  max-width: 160px;
  width: auto;
  height: auto;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.25s, opacity 0.25s;
}
.ticker-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

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

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ============================================================
   APLICAÇÃO DA NOVA MARCA — azul / dourado / creme
   Paleta oficial vinda de idv/ (definida pelo designer):
     azul    #00447C  — âncoras escuras, texto, acento no fundo claro
     dourado #EAA40A  — acento em SUPERFÍCIE (botão, barra, caixa de seta)
     cinza   #F7F9FB  — fundo digital neutro
     branco  #FFFFFF  — cards e texto sobre azul

   A regra que rege tudo: o amarelo tem luminância alta — sobre o branco
   dá 1,6:1 de contraste, então NÃO serve como texto em fundo claro.
   Ele entra preenchido. Quem faz o papel de acento tipográfico no claro
   é o navy (11,1:1). Sobre navy o amarelo passa folgado (6,9:1) e volta
   a ser texto normalmente. Daí os dois tokens abaixo.
   ============================================================ */

/* Acento tipográfico: navy no claro, amarelo nas âncoras escuras. */
:root          { --accent-text: var(--navy); }
.hero,
.page-hero,
.contato,
.cta-band      { --accent-text: var(--yellow); }

.section-index,
.kicker,
.accent,
.sobre-loc strong,
.stat-unit,
.info-label,
.contato .kicker { color: var(--accent-text); }

/* Rótulo sobre foto: sempre em cima do overlay navy -> amarelo. */
.img-ph-label    { color: var(--yellow); }

/* Palavra destacada do hero: amarelo + sublinhado fino, ecoando o corte
   reto do monograma. */
.hero-title .accent {
  color: var(--yellow);
  text-decoration: none;
  box-shadow: inset 0 -0.1em 0 rgba(234,164,10,0.24);
}

/* ---- Superfícies amarelas: o texto em cima é SEMPRE navy ---- */
::selection             { background: var(--yellow); color: var(--on-accent); }
.btn-accent             { background: var(--yellow); color: var(--on-accent); }
.btn-accent .btn-arrow  { background: var(--navy);   color: var(--yellow); }
.btn-primary .btn-arrow { background: var(--yellow); color: var(--on-accent); }
.btn-ghost .btn-arrow   { background: var(--yellow); color: var(--on-accent); }
.serv-card::after       { background: var(--yellow); }

.obras-arrow:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--on-accent);
}

.nav-cta        { border-color: var(--navy); }
.nav-cta:hover  { background: var(--yellow); color: var(--on-accent) !important; }

/* ---- Hero e Contato: âncoras navy sobre vídeo/foto ---- */
.hero .btn-accent            { background: var(--yellow); color: var(--on-accent); }
.hero .btn-accent .btn-arrow { background: var(--navy);   color: var(--yellow); }
.hero .btn-ghost .btn-arrow  { background: var(--yellow); color: var(--on-accent); }

.contato .btn-primary            { background: var(--yellow); color: var(--on-accent); }
.contato .btn-primary .btn-arrow { background: var(--navy);   color: var(--yellow); }

/* Texto das âncoras em branco sobre o navy. */
.hero-title,
.stat-num,
.contato-title  { color: var(--light); }
.hero-sub,
.stat-label     { color: rgba(255,255,255,0.82); }


/* ---- Hovers e hairlines no fundo claro: navy, não amarelo ---- */
.frota-item:hover               { border-color: var(--navy); color: var(--navy); }
.obras-all:hover                { color: var(--navy); border-bottom-color: var(--navy); }
.obra-card:hover .obra-name     { color: var(--navy); }
.ticker-card:hover              { border-color: var(--navy); }
.footer-links a:hover,
.footer-contact-body a:hover    { color: var(--navy); }
.footer-social a:hover          { color: var(--yellow); }
.footer-form input:focus        { border-color: var(--navy); }
.footer-form input::placeholder { color: rgba(0,68,124,0.45); }
.footer-form button             { background: var(--navy);   color: var(--light); }
.footer-form button:hover       { background: var(--yellow); color: var(--on-accent); }

/* ---- Overlays das fotos: gradiente navy, pra foto conversar com a IDV ---- */
.img-ph::before,
.img-band::before {
  background: repeating-linear-gradient(45deg, rgba(0,68,124,0.06) 0 10px, transparent 10px 20px);
}
.frota-img-overlay {
  background: linear-gradient(135deg, rgba(0,68,124,0.58) 0%, rgba(0,68,124,0.18) 45%, rgba(0,68,124,0) 70%);
}
.serv-img-overlay {
  background: linear-gradient(135deg, rgba(0,68,124,0.88) 0%, rgba(0,68,124,0.34) 55%, rgba(0,68,124,0) 80%);
}

/* Glows do footer: amarelo num canto, navy no outro — o par da marca. */
.site-footer::before {
  background: radial-gradient(circle, rgba(234,164,10,0.34) 0%, rgba(234,164,10,0.10) 40%, transparent 70%);
}
.site-footer::after {
  background: radial-gradient(circle, rgba(0,68,124,0.10) 0%, rgba(0,68,124,0.03) 42%, transparent 72%);
}

/* ============================================================
   LOGOTIPO
   Um SVG só por desenho, monocromático via mask — a cor sai do token,
   então a marca acompanha qualquer troca de paleta sem novo arquivo.
   Proporções travadas no aspect-ratio do bbox real do vetor.
   ============================================================ */
.brand,
.footer-watermark,
.footer-lockup {
  display: block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;  mask-position: center;
  -webkit-mask-size: contain;     mask-size: contain;
}

/* Header: mesma assinatura completa usada no rodapé. */
.brand {
  width: clamp(132px, 13vw, 158px);
  aspect-ratio: 2.645 / 1;   /* bbox do novo lockup completo */
  color: var(--navy);
  font-size: 0;              /* zera o "FMC" de fallback sem JS/mask */
  -webkit-mask-image: url(assets/logo-fmc.svg);
  mask-image: url(assets/logo-fmc.svg);
  transition: color 0.2s;
}
.brand:hover { color: var(--dark-2); }

/* Assinatura do rodapé: lockup completo, onde há largura pra linha de apoio. */
.footer-lockup {
  width: clamp(150px, 17vw, 210px);
  aspect-ratio: 2.645 / 1;   /* bbox do novo lockup */
  color: var(--navy);
  -webkit-mask-image: url(assets/logo-fmc.svg);
  mask-image: url(assets/logo-fmc.svg);
}

/* Marca d'água gigante atrás do rodapé (antes era a palavra "FMC"). */
.footer-watermark {
  position: absolute;
  left: 50%;
  bottom: clamp(-10px, -0.5vw, 8px);
  transform: translateX(-50%);
  z-index: 0;
  width: clamp(320px, 78vw, 1080px);
  aspect-ratio: 1.602 / 1;
  color: var(--navy);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: url(assets/logo-fmc-monograma.svg);
  mask-image: url(assets/logo-fmc-monograma.svg);
}

@media (max-width: 720px) {
  .brand { width: 126px; }
}

/* Assinatura e copyright juntos à esquerda; social fica na direita. */
.footer-bar .footer-copy { margin-right: auto; }

/* Marca antiga (capacete e engrenagem) ao lado da assinatura, durante a troca de
   identidade: os equipamentos e uniformes ainda usam essa marca. Sai quando a
   frota estiver toda com a marca nova. */
.footer-legacy {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 20px;
  border-left: 1px solid rgba(0,68,124,0.12);
}
.footer-legacy-mark {
  flex: none;
  width: 64px;
  aspect-ratio: 1.491 / 1;   /* bbox da marca recortada */
  background: url(assets/marca-fmc-capacete-engrenagem.webp) center / contain no-repeat;
}
.footer-legacy-text {
  max-width: 16.5em;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(0,68,124,0.55);
}
.footer-bar .footer-copy { flex: 1 1 220px; }
@media (max-width: 560px) {
  .footer-legacy { padding-left: 0; border-left: 0; }
  .footer-bar .footer-copy { flex: none; }
}


/* ============================================================
   PÁGINAS DE SERVIÇO — hero interno, conteúdo editorial,
   grid de relacionados e CTA final. Reaproveita tokens e
   padrões já definidos acima (btn, section, serv-card, frota-item).
   ============================================================ */

/* Card de serviço vira link — cobre o card inteiro sem mudar o visual */
.serv-card { position: relative; }
.serv-card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}
.serv-card-link:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb span[aria-current] { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,0.35); }

/* ---------- Hero interno (páginas de serviço) ---------- */
.page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 56vh;
  padding: clamp(120px, 14vw, 170px) var(--pad) clamp(56px, 8vw, 90px);
  overflow: hidden;
  background: var(--dark) center/cover no-repeat;
  color: #fff;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(0.15) contrast(1.05);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,68,124,0.55) 0%, rgba(0,68,124,0.68) 55%, rgba(0,68,124,0.92) 100%),
    linear-gradient(90deg, rgba(0,68,124,0.92) 0%, rgba(0,68,124,0.45) 48%, transparent 100%);
  pointer-events: none;
}
.page-hero--documentary .page-hero-bg {
  filter: contrast(1.06) saturate(0.94);
}
.page-hero--documentary .page-hero-overlay {
  background:
    linear-gradient(180deg, rgba(0,68,124,0.18) 0%, rgba(0,68,124,0.42) 58%, rgba(0,68,124,0.72) 100%),
    linear-gradient(90deg, rgba(0,68,124,0.94) 0%, rgba(0,68,124,0.72) 46%, rgba(0,68,124,0.18) 100%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  z-index: 1;
  width: min(calc(100% - (2 * var(--pad))), var(--maxw));
  transform: translateX(-50%);
  border-inline: 1px solid rgba(255,255,255,0.06);
  background-image:
    linear-gradient(rgba(255,255,255,0.06), rgba(255,255,255,0.06)),
    linear-gradient(rgba(255,255,255,0.06), rgba(255,255,255,0.06));
  background-repeat: no-repeat;
  background-position: 33.3333% 0, 66.6667% 0;
  background-size: 1px 100%, 1px 100%;
  pointer-events: none;
}
.page-hero > *:not(.page-hero-bg):not(.page-hero-overlay) {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.page-hero-title {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 5.6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 900px;
}
.page-hero-title .accent {
  color: var(--yellow);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
.page-hero-sub {
  max-width: 620px;
  margin-top: 22px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  font-weight: 300;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.page-hero .btn-ghost {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.page-hero .btn-ghost .btn-arrow { background: var(--yellow); color: var(--on-accent); }
.page-hero .btn-accent            { background: var(--yellow); color: var(--on-accent); }
.page-hero .btn-accent .btn-arrow { background: var(--navy);   color: var(--yellow); }

/* ---------- Conteúdo editorial ---------- */
.service-article { background: transparent; }
.service-article-body { max-width: 820px; }
.service-article-body .section-title { margin-bottom: 30px; }
.service-article-body p {
  margin-bottom: 18px;
  color: var(--text-2);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
}
.service-article-body p:last-child { margin-bottom: 0; }
.service-article-body .service-article-lead {
  color: var(--text);
  font-size: clamp(1.12rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}

/* ---------- Tags (aplicações / equipamentos) ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.tag {
  font-size: 0.86rem;
  font-weight: 500;
  padding: 9px 16px;
  border: 1px solid var(--bg-line);
  border-radius: var(--radius);
  color: var(--text-2);
  background: var(--bg-card);
  transition: border-color 0.2s, color 0.2s;
}
a.tag { cursor: pointer; }
.tag:hover { border-color: var(--navy); color: var(--navy); }

.section-end-action { margin-top: 34px; }
.equipment-section + .equipment-section { padding-top: clamp(30px, 4vw, 54px); }
.equipment-grid { margin-top: 34px; }
.locacao-gallery { padding-top: 0; }

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 40px;
  border-top: 1px solid var(--bg-line);
}
.faq-item {
  border-bottom: 1px solid var(--bg-line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--navy);
  border: 1px solid var(--bg-line);
  border-radius: var(--radius);
  transition: transform 0.25s, background 0.2s, color 0.2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--yellow);
  color: var(--on-accent);
  border-color: var(--yellow);
}
.faq-item p {
  padding: 0 4px 26px;
  max-width: 70ch;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.65;
}

/* ---------- Etapas (reaproveita serv-grid/serv-card com número maior) ---------- */
.etapa-card p { font-weight: 300; }

/* ---------- CTA final compacta ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(circle at 92% 88%, rgba(234,164,10,0.11) 0%, rgba(234,164,10,0.035) 24%, transparent 48%),
    linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 58%, #29496f 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
  padding: clamp(68px, 9vw, 110px) max(var(--pad), calc((100% - var(--maxw)) / 2));
}
.cta-band::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: min(calc(100% - (2 * var(--pad))), var(--maxw));
  transform: translateX(-50%);
  border-inline: 1px solid rgba(255,255,255,0.06);
  background-image:
    linear-gradient(rgba(255,255,255,0.06), rgba(255,255,255,0.06)),
    linear-gradient(rgba(255,255,255,0.06), rgba(255,255,255,0.06));
  background-repeat: no-repeat;
  background-position: 33.3333% 0, 66.6667% 0;
  background-size: 1px 100%, 1px 100%;
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: clamp(-128px, -5vw, -58px);
  bottom: clamp(-128px, -7vw, -76px);
  z-index: 0;
  width: clamp(300px, 31vw, 520px);
  aspect-ratio: 1.602 / 1;
  background-color: var(--yellow);
  opacity: 0.075;
  pointer-events: none;
  user-select: none;
  -webkit-mask: url(assets/logo-fmc-monograma.svg) center / contain no-repeat;
  mask: url(assets/logo-fmc-monograma.svg) center / contain no-repeat;
}
.cta-band-inner { position: relative; z-index: 1; width: 100%; max-width: 760px; margin: 0 auto; }
.cta-band .kicker { color: var(--yellow); }
.cta-band h2 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 12px 0 20px;
}
.cta-band p { color: rgba(255,255,255,0.78); font-weight: 300; max-width: 620px; margin: 0 auto 30px; }
.cta-band .btn-accent            { background: var(--yellow); color: var(--on-accent); }
.cta-band .btn-accent .btn-arrow { background: var(--navy);   color: var(--yellow); }
.cta-line { display: block; }

/* ---------- Relacionados: título com mesma régua do resto ---------- */
.relacionados .serv-grid { margin-top: 36px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .relacionados .serv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .relacionados .serv-grid { grid-template-columns: 1fr; } }

@media (max-width: 880px) {
  .page-hero-title { max-width: 100%; }
}
@media (max-width: 560px) {
  .page-hero { min-height: 48vh; padding-top: 130px; }
  .breadcrumb { font-size: 0.72rem; }
  .cta-band { padding: 62px var(--pad); }
  .cta-band::after {
    right: -96px;
    bottom: -68px;
    width: 290px;
    opacity: 0.06;
  }
  .cta-band .btn { width: 100%; justify-content: space-between; }
}

/* ============================================================
   VERSÃO DE COMPARAÇÃO — HERO ANTERIOR
   Mantida fora do sitemap e acessível em /hero-anterior.html.
   ============================================================ */
.hero-legacy {
  justify-content: center;
  min-height: 100svh;
  padding: clamp(104px, 13svh, 136px) var(--pad) clamp(28px, 4.5svh, 58px);
}
.hero-legacy .hero-title {
  font-size: clamp(2.1rem, min(6vw, 9.4svh), 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.hero-legacy .hero-sub {
  max-width: 620px;
  margin-top: 30px;
  padding-left: 0;
  border-left: 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
}
.hero-legacy .hero-actions { margin-top: clamp(22px, 3.5svh, 34px); }

/* A hero deve caber no primeiro viewport de notebooks sem esconder os
   indicadores. A escala considera a altura disponível, não apenas a largura. */
@media (min-width: 681px) and (max-height: 850px) {
  .hero-legacy.hero-priority {
    padding-top: clamp(92px, 13svh, 112px);
    padding-bottom: clamp(18px, 3svh, 28px);
  }
  .hero-priority .kicker { margin-bottom: 12px; }
  .hero-priority .hero-title {
    font-size: clamp(2.45rem, min(5.2vw, 8.4svh), 4rem);
    line-height: 0.9;
  }
  .hero-priority .hero-sub {
    max-width: 760px;
    margin-top: clamp(14px, 2.6svh, 22px);
    font-size: clamp(0.9rem, 1.15vw, 1.04rem);
    line-height: 1.42;
  }
  .hero-priority .hero-actions { margin-top: clamp(14px, 2.6svh, 22px); }
  .hero-priority .stats { margin-top: clamp(18px, 3.6svh, 30px); }
  .hero-priority .stat { padding: clamp(13px, 2.2svh, 18px) 20px; }
  .hero-priority .stat-num { font-size: clamp(1.18rem, min(2.25vw, 3.5svh), 1.8rem); }
  .hero-priority .stat-label { margin-top: 5px; font-size: 0.68rem; }
}

@media (min-width: 681px) and (max-height: 680px) {
  .hero-legacy.hero-priority {
    min-height: 100svh;
    height: auto;
    padding-top: 82px;
    padding-bottom: 16px;
  }
  .hero-priority .hero-title { font-size: clamp(2.1rem, min(4.6vw, 7.7svh), 3.25rem); }
  .hero-priority .hero-sub { margin-top: 12px; line-height: 1.34; }
  .hero-priority .hero-actions { margin-top: 12px; }
  .hero-priority .stats { margin-top: 16px; }
  .hero-priority .stat { padding-block: 11px; }
}

.hero-anterior .site-header {
  position: sticky;
  top: 0;
  left: auto;
  transform: none;
  width: 100%;
  padding: 18px max(var(--pad), calc((100% - var(--maxw)) / 2));
  border: 0;
  border-bottom: 1px solid var(--bg-line);
  border-radius: 0;
  box-shadow: none;
}
.hero-anterior .hero {
  justify-content: center;
  min-height: 88vh;
  padding: clamp(60px, 11vw, 130px) var(--pad) clamp(46px, 7vw, 80px);
}
.hero-anterior .hero-title {
  font-size: clamp(2.1rem, 6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.hero-anterior .hero-sub {
  max-width: 620px;
  margin-top: 30px;
  padding-left: 0;
  border-left: 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
}
.hero-anterior .hero-actions { margin-top: 38px; }

@media (max-width: 560px) {
  .hero-legacy {
    min-height: 100svh;
    height: auto;
    padding: clamp(96px, 13svh, 110px) var(--pad) 26px;
  }
  .hero-legacy.hero-priority .kicker { margin-bottom: 13px; }
  .hero-legacy.hero-priority .hero-title {
    font-size: clamp(2.05rem, 9.4vw, 2.6rem);
    line-height: 0.9;
    letter-spacing: -0.045em;
  }
  .hero-legacy.hero-priority .hero-sub {
    margin-top: 18px;
    font-size: 0.92rem;
    line-height: 1.46;
  }
  .hero-legacy.hero-priority .hero-actions { gap: 8px; margin-top: 20px; }
  .hero-legacy.hero-priority .hero-actions .btn-label { padding-block: 9px; }
  .hero-legacy.hero-priority .hero-actions .btn-arrow { width: 36px; height: 36px; }
  .hero-legacy.hero-priority .stats { margin-top: 28px; }
  .hero-legacy.hero-priority .stat { padding: 14px 12px; }
  .hero-legacy.hero-priority .stat-num { font-size: 1.05rem; }
  .hero-legacy.hero-priority .stat-label {
    margin-top: 6px;
    font-size: 0.6rem;
    line-height: 1.35;
  }
  .hero-anterior .site-header {
    width: 100%;
    padding: 18px var(--pad);
    border-radius: 0;
  }
  .hero-anterior .nav {
    top: 100%;
    border-width: 0 0 1px;
    border-radius: 0;
    box-shadow: none;
  }
  .hero-anterior .hero { min-height: 78vh; padding-top: 58px; }
}

/* ============================================================
   WHATSAPP FLUTUANTE — contato global e discreto
   ============================================================ */
.whatsapp-widget {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 70;
  display: grid;
  justify-items: end;
  gap: 10px;
}
.whatsapp-fab {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(18,84,48,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border: 1px solid rgba(37,211,102,0.62);
  border-radius: inherit;
  animation: whatsapp-pulse 2.8s ease-out infinite;
}
.whatsapp-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(18,84,48,0.32);
}
.whatsapp-fab svg { display: block; width: 25px; height: 25px; }
.whatsapp-prompt {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 8px 9px 8px 15px;
  border: 1px solid rgba(0,68,124,0.14);
  border-radius: 7px;
  background: rgba(255,255,255,0.97);
  color: var(--navy);
  box-shadow: 0 14px 36px rgba(12,31,50,0.16);
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.whatsapp-prompt.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.whatsapp-prompt-close {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,68,124,0.07);
  color: var(--navy);
  font: 400 1rem/1 var(--body);
  cursor: pointer;
}
@keyframes whatsapp-pulse {
  0%, 45% { opacity: 0; transform: scale(1); }
  55% { opacity: 0.45; }
  100% { opacity: 0; transform: scale(1.42); }
}
@media (max-width: 560px) {
  .whatsapp-widget {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }
  .whatsapp-fab { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .works-gallery-card img,
  .works-gallery-open,
  .real-gallery-card img,
  .real-gallery-open,
  .whatsapp-fab,
  .whatsapp-prompt { transition: none; }
  .whatsapp-fab::before { animation: none; }
}

/* Revisão comercial 2026-09: a hero real não carrega mais os indicadores
   dentro do viewport. Estes seletores ficam no fim para superar as regras
   legadas de comparação mantidas acima. */
.hero-real.hero-priority {
  min-height: 100svh;
  height: auto;
  justify-content: center;
  padding: clamp(116px, 14svh, 154px) var(--pad) clamp(62px, 8svh, 96px);
}
.hero-real.hero-priority .hero-title {
  max-width: 1080px;
  font-size: clamp(2.55rem, min(5.15vw, 8.1svh), 4.75rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
}
.hero-real.hero-priority .hero-sub {
  max-width: 690px;
  margin-top: clamp(20px, 3.5svh, 30px);
  font-size: clamp(0.96rem, 1.25vw, 1.12rem);
  line-height: 1.52;
}
.hero-real.hero-priority .hero-actions { margin-top: clamp(20px, 3.4svh, 30px); }

@media (min-width: 681px) and (max-height: 760px) {
  .hero-real.hero-priority { padding-top: 96px; padding-bottom: 34px; }
  .hero-real.hero-priority .kicker { margin-bottom: 12px; }
  .hero-real.hero-priority .hero-title {
    font-size: clamp(2.25rem, min(4.65vw, 7.1svh), 3.65rem);
    line-height: 0.92;
  }
  .hero-real.hero-priority .hero-sub { margin-top: 16px; }
  .hero-real.hero-priority .hero-actions { margin-top: 16px; }
  .hero-real.hero-priority .hero-photo-note { margin-top: 18px !important; }
}

@media (max-width: 680px) {
  .hero-real.hero-priority {
    min-height: 100svh;
    justify-content: flex-end;
    padding: 108px var(--pad) 58px;
  }
  .hero-real.hero-priority .hero-title {
    font-size: clamp(2.1rem, 10.2vw, 2.95rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
  }
  .hero-real.hero-priority .hero-sub { margin-top: 18px; font-size: 0.91rem; line-height: 1.48; }
  .hero-real.hero-priority .hero-actions { margin-top: 20px; }
  .hero-real.hero-priority .hero-photo-note { display: none; }
}

@media (max-width: 680px) and (max-height: 720px) {
  .hero-real.hero-priority { padding-top: 96px; padding-bottom: 46px; }
  .hero-real.hero-priority .kicker { margin-bottom: 12px; }
  .hero-real.hero-priority .hero-title { font-size: clamp(1.95rem, 9.4vw, 2.6rem); }
  .hero-real.hero-priority .hero-sub { margin-top: 12px; font-size: 0.84rem; line-height: 1.4; }
  .hero-real.hero-priority .hero-actions { gap: 7px; margin-top: 14px; }
  .hero-real.hero-priority .hero-actions .btn-label { padding-block: 8px; }
  .hero-real.hero-priority .hero-actions .btn-arrow { width: 36px; height: 36px; }
}

/* ============================================================
   HERO CAPA — foto em tela cheia com véu uniforme, título em caixa
   normal, um CTA só e logos de clientes em branco correndo na base.
   ============================================================ */
.hero.hero-cover {
  justify-content: flex-start;
  padding: clamp(150px, 24svh, 250px) var(--pad) 0;
  background: var(--dark-2);
}
.hero-cover::before,
.hero-cover::after { content: none; }

.hero-cover .hero-real-media { overflow: hidden; }
.hero-cover .hero-real-media img {
  object-position: var(--pos, center);
  transform-origin: 60% 60%;
}

/* Slides: crossfade de 1,4 s; cada foto entra com um zoom-out lento que
   termina junto com o intervalo do script (6 s), então não há salto de
   escala quando ela sai. */
.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide.is-active img { animation: hero-push 6s cubic-bezier(.25,.6,.3,1) both; }
@keyframes hero-push {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}

/* Véu quase uniforme (a foto continua legível no quadro todo), um pouco
   mais denso atrás do texto, no topo (header) e na base (logos). */
.hero-cover .hero-overlay {
  background:
    linear-gradient(180deg, rgba(4,18,32,0.42) 0%, rgba(4,18,32,0) 20%),
    linear-gradient(0deg, rgba(4,18,32,0.62) 0%, rgba(4,18,32,0) 26%),
    linear-gradient(90deg, rgba(8,24,40,0.72) 0%, rgba(8,24,40,0.52) 50%, rgba(8,24,40,0.36) 100%);
}

.hero-cover .hero-title {
  font-family: var(--display);
  font-weight: 500;
  text-transform: none;
  font-size: clamp(3rem, min(7.2vw, 12.6svh), 7.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
}
.hero-cover .hero-title > span { display: block; }

.hero-cover .hero-sub {
  max-width: 640px;
  margin-top: clamp(22px, 4svh, 36px);
  padding: 0;
  border: 0;
  font-size: clamp(1.02rem, 1.4vw, 1.28rem);
  line-height: 1.6;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
}
.hero-cover .hero-actions { margin-top: clamp(26px, 4.4svh, 44px); }

.hero-cta {
  display: inline-flex;
  align-items: center;
  padding: 17px 28px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--on-accent);
  font: 500 1.02rem/1 var(--body);
  transition: background 0.2s, transform 0.2s;
}
.hero-cta:hover { background: #F5B11E; transform: translateY(-1px); }
.hero-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---- Logos de clientes ---- */
.hero-logos {
  --logo-scale: 1;
  margin-top: auto;
  padding: clamp(40px, 8svh, 90px) 0 clamp(30px, 5.5svh, 56px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.hero-logos-track {
  display: flex;
  width: max-content;
  animation: hero-logos 48s linear infinite;
}
.hero-logos:hover .hero-logos-track { animation-play-state: paused; }
.hero-logos-group {
  display: flex;
  align-items: center;
  gap: clamp(48px, 5.5vw, 84px);
  padding-right: clamp(48px, 5.5vw, 84px);
}
.hero-logos img {
  height: calc(var(--h) * var(--logo-scale));
  width: auto;
  opacity: 0.72;
}
@keyframes hero-logos {
  to { transform: translateX(-50%); }
}

/* ---- Header transparente sobre o hero (só na home) ----
   Some junto com o hero ao rolar e volta como barra fixa (.is-stuck). */
.site-header--over-hero:not(.is-stuck) {
  position: absolute;
  top: clamp(18px, 3svh, 30px);
  width: min(calc(100% - (2 * var(--pad))), var(--maxw));
  padding: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.site-header--over-hero:not(.is-stuck)::after { content: none; }
.site-header--over-hero:not(.is-stuck) .brand { color: #fff; }
.site-header--over-hero:not(.is-stuck) .nav-toggle { border-color: rgba(255,255,255,0.35); }
.site-header--over-hero:not(.is-stuck) .nav-toggle span { background: #fff; }
.site-header--over-hero.is-stuck { animation: header-drop 0.35s cubic-bezier(.2,.7,.2,1) both; }
@keyframes header-drop {
  from { transform: translate(-50%, -140%); }
  to   { transform: translate(-50%, 0); }
}

@media (min-width: 561px) {
  .site-header--over-hero:not(.is-stuck) .nav {
    gap: clamp(18px, 2.8vw, 40px);
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
  }
  .site-header--over-hero:not(.is-stuck) .nav a { color: rgba(255,255,255,0.88); }
  .site-header--over-hero:not(.is-stuck) .nav a:hover { color: #fff; }
  .site-header--over-hero:not(.is-stuck) .nav-cta {
    margin-left: clamp(8px, 3vw, 48px);
    padding: 14px 22px;
    border: 0;
    border-radius: 10px;
    background: var(--yellow);
    color: var(--on-accent) !important;
    font-weight: 500;
  }
  .site-header--over-hero:not(.is-stuck) .nav-cta:hover { background: #F5B11E; }
}

/* "02" da faixa navy ficava navy sobre navy. */
.section-head--light .section-index { color: var(--yellow); }

@media (max-width: 680px) {
  .hero.hero-cover { padding: 132px var(--pad) 0; }
  .hero-cover .hero-real-media img { object-position: center; transform-origin: 50% 60%; }
  .hero-cover .hero-overlay {
    background:
      linear-gradient(180deg, rgba(4,18,32,0.5) 0%, rgba(4,18,32,0) 22%),
      linear-gradient(0deg, rgba(4,18,32,0.7) 0%, rgba(4,18,32,0) 30%),
      rgba(8,24,40,0.5);
  }
  .hero-cover .hero-title { font-size: clamp(2.6rem, 12vw, 3.7rem); line-height: 1.02; }
  .hero-cover .hero-sub { font-size: 1rem; }
  .hero-logos { --logo-scale: 0.74; padding-bottom: 28px; }
  .hero-logos-group { gap: 40px; padding-right: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cover .hero-real-media img,
  .hero-logos-track,
  .site-header--over-hero.is-stuck { animation: none; }
}

/* Rodapé no celular: links com área de toque maior. */
@media (max-width: 560px) {
  .footer-links a { padding: 6px 0; }
  .footer-contact-body a { display: inline-block; padding: 6px 0; }
}
