/* ==========================================================================
   Villa Empreendimentos — v3 (institucional, azul da marca)
   Fundo claro, azul-marinho como cor principal, texto legível, fotos em destaque.
   Seções escuras (.dark): seletor de bomba, obras, fabricantes.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #061d36;
  --navy-800: #082a4d;
  --navy-700: #0a3764;
  --blue: #0b487f;
  --blue-600: #0f5c9f;
  --blue-400: #5e9bd6;
  --blue-50: #eef4fa;
  --ink: #102030;
  --text: #1f2d3b;
  --text-2: #4b5967;
  --text-3: #6b7885;
  --line: #dfe5ec;
  --line-2: #c9d2dc;
  --bg: #ffffff;
  --bg-2: #f4f7fa;
  --white: #ffffff;
  --wa: #1c8f50;
  --wa-2: #167a43;

  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, 0.76);
  --on-dark-3: rgba(255, 255, 255, 0.55);
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-dark-2: rgba(255, 255, 255, 0.3);

  --f: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --f-cond: "IBM Plex Sans Condensed", "Arial Narrow", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --t: 220ms;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(16, 32, 48, 0.06), 0 8px 24px rgba(16, 32, 48, 0.08);
  --shadow-lg: 0 2px 4px rgba(16, 32, 48, 0.06), 0 18px 40px rgba(16, 32, 48, 0.12);
  --gutter: clamp(18px, 4vw, 48px);
  --max: 1240px;
  --header-h: 80px;
  --topbar-h: 40px;
}
@media (max-width: 999px) { :root { --header-h: 66px; --topbar-h: 0px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; }
::selection { background: var(--blue); color: var(--white); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 300; padding: 12px 18px; background: var(--blue); color: var(--white); font-weight: 600; border-radius: var(--radius); transform: translateY(-200%); transition: transform var(--t) var(--ease); }
.skip-link:focus { transform: none; }
.nw { white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografia ---------- */
.eyebrow { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600); }
.dark .eyebrow, .on-blue .eyebrow { color: var(--blue-400); }
.h1, .h2, .h3 { font-family: var(--f); font-weight: 600; color: var(--ink); letter-spacing: -0.015em; text-wrap: balance; }
.h1 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.1; }
.h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.18; }
.h3 { font-size: clamp(1.15rem, 1.4vw, 1.3rem); line-height: 1.3; }
.dark .h1, .dark .h2, .dark .h3, .on-blue .h1, .on-blue .h2, .on-blue .h3, .cta-band .h2, .hero .h1, .page-head .h1 { color: var(--on-dark); }
.lead { font-size: clamp(1.05rem, 1.25vw, 1.18rem); line-height: 1.6; color: var(--text-2); max-width: 60ch; }
.dark .lead, .on-blue .lead, .cta-band .lead { color: rgba(255, 255, 255, 0.86); }
.body-2 { color: var(--text-2); max-width: 64ch; }
.dark .body-2 { color: var(--on-dark-2); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius);
  border: 2px solid var(--blue); background: var(--blue); color: var(--white);
  font-size: 1rem; font-weight: 600; white-space: nowrap;
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.btn:hover { background: var(--navy-700); border-color: var(--navy-700); box-shadow: var(--shadow); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--outline { background: transparent; color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--white { background: var(--white); border-color: var(--white); color: var(--blue); }
.btn--white:hover { background: var(--blue-50); border-color: var(--blue-50); color: var(--navy-800); }
.btn--ghost-white { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn--ghost-white:hover { background: var(--white); border-color: var(--white); color: var(--blue); }
.btn--wa { background: var(--wa); border-color: var(--wa); color: var(--white); }
.btn--wa:hover { background: var(--wa-2); border-color: var(--wa-2); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.94rem; }
.btn--block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); transition: gap var(--t) var(--ease), color var(--t) var(--ease); }
.link svg { width: 18px; height: 18px; }
.link:hover { gap: 12px; color: var(--navy-700); }
.dark .link { color: var(--on-dark); }
.dark .link:hover { color: var(--blue-400); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Barra superior + cabeçalho ---------- */
.topbar { background: var(--navy-900); color: var(--on-dark-2); font-size: 0.86rem; }
.topbar .wrap { height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar ul { display: flex; gap: 28px; }
.topbar a { color: var(--on-dark); transition: color var(--t) var(--ease); }
.topbar a:hover { color: var(--blue-400); }
@media (max-width: 999px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: box-shadow var(--t) var(--ease);
}
.site-header.is-solid { box-shadow: 0 6px 20px rgba(16, 32, 48, 0.08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: inline-flex; align-items: center; flex: none; color: var(--blue); }
.logo svg { height: 36px; width: auto; }
/* Logo: azul-marinho igual ao título da arte do topo (#0B4177) e cinza do manual da marca. Sem estas variáveis o logo fica monocromático (rodapé). */
.site-header .logo { --logo-azul: #0B4177; --logo-cinza: #96989A; --logo-cinza-op: 1; }
.nav { display: none; flex: 1; justify-content: center; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 14px;
  font-size: 1rem; font-weight: 500; color: var(--text); border-radius: var(--radius);
  transition: color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.nav a:hover { color: var(--blue); background: var(--blue-50); }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav a.nav-flag, .drawer nav a.nav-flag { gap: 8px; justify-content: flex-start; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--blue); }
.header-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -8px; border-radius: var(--radius); color: var(--blue); }
.menu-btn .bars { position: relative; width: 24px; height: 2px; background: currentColor; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; }
.menu-btn .bars::before { top: -7px; }
.menu-btn .bars::after { top: 7px; }
.menu-btn-label { display: none; }
@media (min-width: 1200px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
}
.nav a { white-space: nowrap; }
@media (min-width: 760px) and (max-width: 1199px) { .header-cta { display: inline-flex; margin-left: auto; } }

/* Menu mobile (gaveta) */
.drawer-scrim { position: fixed; inset: 0; z-index: 110; background: rgba(6, 29, 54, 0.45); opacity: 0; visibility: hidden; transition: opacity 260ms var(--ease), visibility 0s linear 260ms; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 120; width: min(380px, 100%);
  display: flex; flex-direction: column; gap: 24px;
  padding: 76px 28px calc(28px + env(safe-area-inset-bottom));
  background: var(--white); overflow-y: auto; box-shadow: var(--shadow-lg);
  transform: translateX(100%); visibility: hidden;
  transition: transform 320ms var(--ease), visibility 0s linear 320ms;
}
body.menu-open .drawer-scrim { opacity: 1; visibility: visible; transition: opacity 260ms var(--ease), visibility 0s; }
body.menu-open .drawer { transform: none; visibility: visible; transition: transform 320ms var(--ease), visibility 0s; }
body.menu-open { overflow: hidden; }
.drawer-close { position: absolute; top: 12px; right: 16px; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 10px; font-weight: 600; color: var(--blue); }
.drawer-close svg { width: 22px; height: 22px; }
.drawer nav li { border-bottom: 1px solid var(--line); }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 4px; font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.drawer nav a[aria-current="page"] { color: var(--blue); }
.drawer nav a small { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--text-3); }
.drawer-foot { display: grid; gap: 12px; margin-top: auto; color: var(--text-2); font-size: 0.95rem; }
.drawer-foot a:not(.btn) { color: var(--blue); font-weight: 600; }
.flag { width: 22px; height: 15px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }

/* ---------- Transição entre páginas ---------- */
.js main, .js .site-footer { animation: pagina-entra 420ms var(--ease) backwards; }
@keyframes pagina-entra { from { opacity: 0; filter: blur(5px); } to { opacity: 1; filter: none; } }
html.is-leaving main, html.is-leaving .site-footer { opacity: 0; filter: blur(5px); transition: opacity 240ms ease, filter 240ms ease; }
html.is-leaving .wa-float, html.is-leaving .sticky-cta { opacity: 0; transition: opacity 200ms ease; }

/* ---------- Revelação ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Hero institucional (foto) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: var(--on-dark); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* Slides do hero: troca por esmaecimento, com aproximação lenta na foto ativa */
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1400ms ease, transform 7000ms linear; }
.hero-slide.is-active { opacity: 1; transform: none; }
.no-js .hero-slide:first-child { opacity: 1; transform: none; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6, 29, 54, 0.92) 0%, rgba(6, 29, 54, 0.78) 38%, rgba(6, 29, 54, 0.25) 75%, rgba(6, 29, 54, 0.1) 100%);
}
.hero-inner { display: grid; gap: 22px; align-content: center; min-height: clamp(520px, 74vh, 720px); padding-block: 72px 140px; max-width: 640px; }
.hero .lead { color: rgba(255, 255, 255, 0.86); }
.hero-entra > * { animation: sobe 800ms var(--ease) backwards; }
.hero-entra > *:nth-child(2) { animation-delay: 100ms; }
.hero-entra > *:nth-child(3) { animation-delay: 180ms; }
.hero-entra > *:nth-child(4) { animation-delay: 260ms; }
@keyframes sobe { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (max-width: 759px) {
  .hero::after { background: linear-gradient(180deg, rgba(6, 29, 54, 0.55) 0%, rgba(6, 29, 54, 0.75) 45%, rgba(6, 29, 54, 0.94) 100%); }
  .hero-inner { min-height: auto; padding-block: 56px 120px; }
}

/* Cartão de números sobreposto ao hero */
.facts-card {
  position: relative; z-index: 2; margin-top: -84px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.fact { padding: 24px 22px; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-last-child(-n + 2) { border-bottom: 0; }
.fact b { display: block; font-family: var(--f-cond); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.fact b small { font-size: 0.5em; margin-left: 3px; color: var(--text-2); font-weight: 500; }
.fact > span { display: block; margin-top: 8px; font-size: 0.92rem; color: var(--text-2); line-height: 1.4; }
@media (min-width: 860px) {
  .facts-card { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact { padding: 30px 28px; border-bottom: 0; border-right: 1px solid var(--line); }
  .fact:nth-child(odd) { border-right: 1px solid var(--line); }
  .fact:last-child { border-right: 0; }
}

/* Topo das páginas internas */
.page-head { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-800); color: var(--on-dark); }
.page-head .hero-media img { opacity: 0.32; }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 29, 54, 0.85), rgba(6, 29, 54, 0.4)); }
.page-head-inner { display: grid; gap: 16px; padding-block: clamp(56px, 8vw, 96px); }
.page-head-inner > * { max-width: 760px; }
.page-head .lead { color: rgba(255, 255, 255, 0.85); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.9rem; color: var(--on-dark-2); }
.crumbs a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Seções ---------- */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section--alt { background: var(--bg-2); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; }
@media (min-width: 960px) { .section-head--split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; } }
.dark { background: var(--navy-900); color: var(--on-dark); }
.on-blue { background: var(--blue); color: var(--on-dark); }

/* ---------- Cartões de equipamentos ---------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--line-2); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-tag { position: absolute; top: 14px; left: 14px; padding: 5px 10px; border-radius: 4px; background: var(--blue); color: var(--white); font-size: 0.86rem; font-weight: 600; }
.card-main { display: flex; flex-direction: column; flex: 1; }
.card-body { display: grid; gap: 14px; padding: 24px; flex: 1; align-content: start; }
.card-body p { color: var(--text-2); font-size: 0.98rem; }
.card-specs { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.card-specs div { display: flex; flex-direction: column; }
.card-specs dt { order: 2; font-size: 0.82rem; color: var(--text-3); }
.card-specs dd { order: 1; font-family: var(--f-cond); font-size: 1.35rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.card-foot { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; padding: 0 24px 24px; margin-top: auto; }
.card--wide { grid-column: 1 / -1; }
@media (min-width: 1040px) {
  .card--wide { flex-direction: row; }
  .card--wide .card-media { flex: 0 0 52%; aspect-ratio: auto; min-height: 340px; }
}

/* ---------- Catálogo de equipamentos (linhas) ---------- */
.catalog { border-top: 1px solid var(--line); }
.cat-item { display: grid; gap: 24px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.cat-media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; background: var(--bg-2); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-media--contain { background: var(--white); border: 1px solid var(--line); }
.cat-media--contain img { object-fit: contain; padding: 18px; }
.cat-body { display: grid; gap: 12px; align-content: center; }
.cat-title { font-size: clamp(1.35rem, 1.9vw, 1.7rem); }
.cat-text { color: var(--text-2); max-width: 58ch; }
.cat-specs { max-width: 540px; margin-top: 6px; font-size: 0.98rem; }
.cat-specs th, .cat-specs td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cat-specs tr:first-child th, .cat-specs tr:first-child td { border-top: 1px solid var(--line); }
.cat-specs th { width: 46%; padding-right: 16px; font-weight: 400; color: var(--text-2); }
.cat-specs td { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.cat-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 10px; }
@media (min-width: 900px) {
  .cat-item { grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; padding: 44px 0; }
  .cat-item:nth-child(even) .cat-media { order: 2; }
}

/* ---------- Bloco imagem + texto ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--rev .split-media { order: 2; } }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--bg-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-badge { position: absolute; left: 20px; bottom: 20px; padding: 16px 20px; border-radius: var(--radius); background: var(--blue); color: var(--white); box-shadow: var(--shadow); }
.split-badge b { display: block; font-family: var(--f-cond); font-size: 2.2rem; line-height: 1; font-weight: 600; }
.split-badge span { font-size: 0.9rem; opacity: 0.9; }
.checks { display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }

/* ---------- Método ---------- */
.steps { display: grid; gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue); }
.step p { color: var(--text-2); font-size: 0.98rem; }

/* ---------- Seletor de bomba (fundo escuro) ---------- */
.reach { display: grid; gap: 44px; }
@media (min-width: 1000px) { .reach { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; } }
.reach-form { display: grid; gap: 30px; align-content: start; }
.field { display: grid; gap: 12px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.field label { font-size: 0.98rem; font-weight: 500; color: var(--on-dark-2); }
.field output { font-family: var(--f-cond); font-weight: 600; font-size: 2.1rem; line-height: 1; font-variant-numeric: tabular-nums; }
.field output small { font-size: 0.5em; color: var(--on-dark-2); margin-left: 3px; }
.field .hint { font-size: 0.88rem; color: var(--on-dark-3); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--blue-400) var(--p, 50%), var(--line-dark-2) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line-dark-2); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--blue-400); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--white); border: 4px solid var(--blue-400); transition: transform var(--t) var(--ease); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 4px solid var(--blue-400); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(94, 155, 214, 0.5); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(94, 155, 214, 0.5); }
.reach-note { font-size: 0.9rem; color: var(--on-dark-3); max-width: 48ch; line-height: 1.55; }
.reach-result { border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--navy-800); overflow: hidden; }
.reach-pick { display: grid; gap: 16px; padding: clamp(22px, 3vw, 32px); border-bottom: 1px solid var(--line-dark); }
.reach-pick-label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-400); }
.reach-pick-name { font-family: var(--f-cond); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; }
.reach-pick-specs { display: flex; flex-wrap: wrap; gap: 8px 26px; color: var(--on-dark-2); font-size: 0.98rem; }
.reach-pick-specs b { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }
.reach-pick .btn { justify-self: start; }
.reach-bars { padding: clamp(18px, 3vw, 28px) clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px); }
.reach-bars-head { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--on-dark-3); margin-bottom: 10px; }
.reach-bars-scale { position: relative; margin-top: 26px; }
.reach-row { display: grid; grid-template-columns: 96px 1fr 62px; align-items: center; gap: 12px; padding: 7px 0; font-size: 0.92rem; color: var(--on-dark-3); transition: color var(--t) var(--ease); }
.reach-row .bar { position: relative; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.reach-row .bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: rgba(255, 255, 255, 0.18); transition: background-color var(--t) var(--ease); }
.reach-row .val { text-align: right; font-variant-numeric: tabular-nums; }
.reach-row.is-ok { color: var(--on-dark-2); }
.reach-row.is-ok .bar i { background: rgba(94, 155, 214, 0.65); }
.reach-row.is-pick { color: var(--white); font-weight: 600; }
.reach-row.is-pick .bar i { background: var(--white); }
.reach-target { position: absolute; top: 0; bottom: 0; left: calc(96px + 12px + (100% - 96px - 12px - 62px - 12px) * var(--t-p, 0.5)); width: 2px; background: var(--blue-400); pointer-events: none; transition: left var(--t) var(--ease); }
.reach-target span { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 0.78rem; font-weight: 600; color: var(--blue-400); white-space: nowrap; }

/* ---------- Obras: faixa horizontal (aprovada) ---------- */
.strip-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.strip-nav { display: none; gap: 8px; }
.strip-nav button { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--radius); border: 1.5px solid var(--line-dark-2); color: var(--white); transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease), color var(--t) var(--ease); }
.strip-nav button:hover:not(:disabled) { border-color: var(--white); background: var(--white); color: var(--navy-900); }
.strip-nav button:disabled { opacity: 0.35; cursor: default; }
.strip-nav svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .strip-nav { display: flex; } }
.strip {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0 max(var(--gutter), calc((100% - var(--max)) / 2)) 8px;
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip.is-dragging * { pointer-events: none; }
/* Foto limpa (sem sombra por cima) e legenda abaixo, como texto */
.strip-item { position: relative; flex: none; width: min(82vw, 900px); scroll-snap-align: start; }
/* vertical em 4:5 com a mesma altura das horizontais (16:10): largura = 0,625 × 0,8 = 0,5 */
.strip-item--tall { width: calc(min(82vw, 900px) * 0.5); }
.strip-item img, .strip-item video { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--navy-800); -webkit-user-drag: none; }
.strip-item--tall img, .strip-item--tall video { aspect-ratio: 4 / 5; }
.strip-item figcaption { padding: 14px 2px 0; font-size: 0.95rem; font-weight: 500; line-height: 1.4; color: var(--on-dark-2); }
.strip-progress { height: 3px; border-radius: 2px; background: var(--line-dark); margin-top: 26px; position: relative; overflow: hidden; }
.strip-progress i { position: absolute; inset: 0 auto 0 0; width: var(--sp, 20%); left: var(--sl, 0%); border-radius: 2px; background: var(--white); transition: left 120ms linear; }

/* ---------- Fabricantes / vídeo (aprovado) ---------- */
.video-block { display: grid; gap: 44px; }
@media (min-width: 1000px) { .video-block { grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: center; } }
.quote-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark-2); }
.quote-facts div { padding: 18px 16px 0 0; }
.quote-facts div + div { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.quote-facts b { display: block; font-family: var(--f-cond); font-size: 2.1rem; font-weight: 600; line-height: 1; }
.quote-facts span { display: block; margin-top: 8px; font-size: 0.9rem; color: var(--on-dark-2); line-height: 1.45; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--navy-800); }
.video-frame.is-playing { background: #000; }
.video-frame img, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; text-align: left; padding: clamp(18px, 3vw, 28px); background: linear-gradient(180deg, rgba(6, 29, 54, 0) 40%, rgba(6, 29, 54, 0.75)); color: var(--white); }
.video-play span { display: inline-flex; align-items: center; gap: 16px; font-size: 1rem; font-weight: 600; }
.video-play i { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--white); color: var(--blue); flex: none; transition: transform var(--t) var(--ease); }
.video-play i svg { width: 20px; height: 20px; margin-left: 3px; }
.video-play:hover i { transform: scale(1.08); }
.video-play:focus-visible { outline-offset: -5px; }

/* ---------- Unidades ---------- */
.units { display: grid; gap: 16px; }
@media (min-width: 860px) { .units { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.unit { display: grid; gap: 8px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.unit-tag { font-size: 0.84rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600); }
.unit p { color: var(--text-2); font-size: 0.98rem; }
.unit a { font-weight: 600; color: var(--blue); }
.unit a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: box-shadow var(--t) var(--ease); }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font-size: 1.06rem; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary i { position: relative; flex: none; width: 16px; height: 16px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 2px; margin-top: -1px; background: var(--blue); transition: transform var(--t) var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .answer { padding: 0 24px 22px; color: var(--text-2); max-width: 72ch; }
.faq .answer a { color: var(--blue); text-decoration: underline; }
@media (min-width: 960px) { .faq-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 64px; align-items: start; } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- Faixa azul de contato ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--blue); color: var(--on-dark); }
.cta-band .hero-media img { opacity: 0.16; }
.cta-band-inner { display: grid; gap: 40px; padding-block: clamp(64px, 8vw, 104px); }
@media (min-width: 960px) { .cta-band-inner { grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; } }
.contact-list { display: grid; gap: 4px; padding: 10px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); }
.contact-list a, .contact-list div { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.contact-list > :last-child { border-bottom: 0; }
.contact-list span { font-size: 0.9rem; color: var(--on-dark-2); }
.contact-list b { min-width: 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: break-word; }
.contact-list a:hover b { text-decoration: underline; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-2); font-size: 0.95rem; padding: 64px 0 calc(32px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 48px; } }
.footer-brand { display: grid; gap: 16px; align-content: start; max-width: 34ch; }
.footer-brand .logo { color: var(--white); }
/* Redes sociais: cores das próprias marcas */
.footer-social { display: flex; gap: 10px; margin-top: 2px; }
.footer-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--white); transition: transform var(--t) var(--ease), filter var(--t) var(--ease); }
.footer-social a:hover { color: var(--white); transform: translateY(-2px); filter: brightness(1.1); }
.footer-social svg { width: 19px; height: 19px; }
.footer-social .is-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.footer-social .is-wa { background: #25d366; }
.footer-social .is-fb { background: #1877f2; }
@media (prefers-reduced-motion: reduce) { .footer-social a:hover { transform: none; } }
.footer-col h2 { margin-bottom: 14px; font-size: 0.95rem; font-weight: 600; color: var(--white); }
.footer-col li + li { margin-top: 8px; }
.footer-col a { transition: color var(--t) var(--ease); }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 24px; font-size: 0.86rem; color: var(--on-dark-3); }

/* ---------- WhatsApp fixo ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: none; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 28px; background: var(--wa); color: var(--white); font-weight: 600; box-shadow: 0 10px 28px rgba(16, 32, 48, 0.28); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), background-color var(--t) var(--ease); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { background: var(--wa-2); }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16, 32, 48, 0.08); transform: translateY(100%); transition: transform 280ms var(--ease); }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { min-height: 48px; padding: 0 16px; font-size: 0.95rem; }
@media (max-width: 379px) { .sticky-cta .btn { padding: 0 12px; font-size: 0.9rem; gap: 8px; } }
body.has-sticky { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .wa-float { display: inline-flex; } .sticky-cta { display: none; } body.has-sticky { padding-bottom: 0; } }

/* ==========================================================================
   Frota
   ========================================================================== */
.tabs-bar { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.tabs-bar ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs-bar ul::-webkit-scrollbar { display: none; }
.tabs-bar a { position: relative; display: inline-flex; align-items: center; height: 56px; padding: 0 16px; white-space: nowrap; font-weight: 500; color: var(--text-2); transition: color var(--t) var(--ease); }
.tabs-bar li:first-child a { padding-left: 0; }
.tabs-bar a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform var(--t) var(--ease); }
.tabs-bar li:first-child a::after { left: 0; }
.tabs-bar a:hover, .tabs-bar a.is-active { color: var(--blue); }
.tabs-bar a.is-active::after { transform: scaleX(1); }
.fleet { padding-block: clamp(56px, 7vw, 96px); }
.fleet--alt { background: var(--bg-2); }
.fleet-head { display: grid; gap: 14px; margin-bottom: 32px; max-width: 780px; }
.model-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.model-tabs button { min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1.5px solid var(--line-2); background: var(--white); font-size: 0.95rem; font-weight: 600; color: var(--text-2); transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease), color var(--t) var(--ease); }
.model-tabs button:hover { border-color: var(--blue); color: var(--blue); }
.model-tabs button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.no-js .model-tabs { display: none; }
.model { display: grid; gap: 28px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.model + .model { margin-top: 24px; }
.js .model-group .model + .model { margin-top: 0; }
.js .model-group .model[hidden] { display: none; }
.model.is-shown { animation: aparece 420ms var(--ease); }
@keyframes aparece { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (min-width: 1000px) { .model { grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: start; } }
.model-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.model-media img { width: 100%; height: 100%; object-fit: cover; }
/* imagem de produto com fundo branco: moldura única */
.model-media--contain { background: var(--white); border: 1px solid var(--line); }
.model-media--contain img, .card-media--contain img { object-fit: contain; padding: 20px; }
.card-media--contain { background: var(--white); border-bottom: 1px solid var(--line); }
.card:hover .card-media--contain img { transform: none; }
.model-tag { position: absolute; top: 14px; left: 14px; padding: 5px 10px; border-radius: 4px; background: var(--blue); color: var(--white); font-size: 0.86rem; font-weight: 600; }
.model-info { display: grid; gap: 22px; align-content: start; }
.model-brand { font-size: 0.84rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600); }
.model-hl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.model-hl div { display: flex; flex-direction: column; padding: 16px 18px; border-radius: var(--radius); background: var(--blue-50); }
.model-hl dd { order: 1; font-family: var(--f-cond); font-weight: 600; font-size: clamp(1.9rem, 2.6vw, 2.4rem); line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.model-hl dd small { font-size: 0.5em; margin-left: 3px; color: var(--text-2); }
.model-hl dt { order: 2; margin-top: 6px; font-size: 0.88rem; color: var(--text-2); }
.spec-table { font-size: 0.98rem; }
.spec-table th, .spec-table td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { font-weight: 400; color: var(--text-2); padding-right: 16px; width: 52%; }
.spec-table td { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.compare-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); -webkit-overflow-scrolling: touch; }
.compare { min-width: 760px; font-size: 0.98rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.compare thead th { background: var(--navy-800); color: var(--white); font-size: 0.86rem; font-weight: 600; }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare td { color: var(--text-2); font-variant-numeric: tabular-nums; }
.compare tbody tr { background: var(--white); }
.compare tbody tr:nth-child(even) { background: var(--bg-2); }
.compare tbody tr:hover { background: var(--blue-50); }
.compare td.bar-cell { width: 30%; }
.mini-bar { position: relative; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.mini-bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px; background: var(--blue); transition: width 1100ms var(--ease); }
.is-in .mini-bar i, .no-js .mini-bar i { width: var(--w); }
@media (max-width: 779px) { .compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; } .compare tbody th { background: inherit; } }
.note { font-size: 0.9rem; color: var(--text-3); max-width: 72ch; margin-top: 16px; }

/* ==========================================================================
   Empresa
   ========================================================================== */
.timeline { display: grid; border-left: 3px solid var(--blue-50); margin-left: 8px; }
.tl-item { position: relative; display: grid; gap: 6px; padding: 0 0 36px 32px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -11px; top: 4px; width: 19px; height: 19px; border-radius: 50%; background: var(--white); border: 4px solid var(--blue); }
.tl-year { font-family: var(--f-cond); font-weight: 600; font-size: 1.6rem; line-height: 1; color: var(--blue); }
.tl-item p { color: var(--text-2); max-width: 60ch; }
.data-list { display: grid; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.data-list div { display: grid; gap: 4px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.data-list div:last-child { border-bottom: 0; }
@media (min-width: 700px) { .data-list div { grid-template-columns: 220px 1fr; gap: 24px; } }
.data-list dt { color: var(--text-3); font-size: 0.95rem; }
.data-list dd { font-weight: 600; color: var(--ink); overflow-wrap: break-word; }
.data-list a { color: var(--blue); }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; align-content: center; gap: 22px; padding-block: 80px; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .topbar, .wa-float, .sticky-cta, .drawer, .drawer-scrim { display: none !important; } }

/* Crédito da agência no rodapé */
.credito { color: inherit; text-decoration: underline; text-underline-offset: 3px; transition: color 200ms ease; }
.credito:hover { color: #fff; }

/* ---------- Destaque: bomba lança de 68 m ---------- */
.feature-68 { background: var(--bg-2); }
.feature-68-inner { display: grid; gap: 36px; align-items: center; }
.feature-68-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--navy-800); }
.feature-68-media img { width: 100%; height: 100%; object-fit: cover; }
/* Vídeo vertical da frota nova (renovação de frota) */
.feature-68-media--video { position: relative; }
.feature-68-media--video img, .feature-68-media--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) { .feature-68-media--video { aspect-ratio: 9 / 16; justify-self: center; width: 100%; max-width: 380px; } }
.feature-68-body { display: grid; gap: 16px; align-content: center; }
.feature-68-num { font-family: var(--f-cond); font-weight: 600; font-size: clamp(4.5rem, 9vw, 8rem); line-height: 0.9; color: var(--blue); letter-spacing: -0.02em; }
.feature-68-num small { font-size: 0.4em; margin-left: 6px; color: var(--text-2); }
.feature-68-body .actions { margin-top: 8px; }
@media (min-width: 960px) {
  .feature-68-inner { grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
  .feature-68-media { max-height: 640px; }
}

/* ---------- Obras: segmentos atendidos ---------- */
.segments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.segments li { padding: 7px 14px; border-radius: 20px; border: 1px solid var(--line-dark-2); font-size: 0.92rem; color: var(--on-dark); }

/* ---------- Vídeo em destaque (Villa e Putzmeister) ---------- */
.video-feature .video-frame { max-width: 1100px; margin-inline: auto; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.video-feature .video-play { align-items: center; justify-content: center; text-align: center; background: linear-gradient(180deg, rgba(6, 29, 54, 0.15), rgba(6, 29, 54, 0.55)); }
.video-feature .video-play span { flex-direction: column; gap: 14px; font-size: 1.05rem; }
.video-feature .video-play i { width: 92px; height: 92px; }
.video-feature .video-play i svg { width: 28px; height: 28px; }
.video-feature-foot { display: grid; gap: 28px; max-width: 1100px; margin: 40px auto 0; }
/* Destaques institucionais abaixo do vídeo: 20 anos, feiras, renovação de frota, 0800 */
.marcos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 1100px; margin: 40px auto 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark-2); }
.marcos li { display: grid; gap: 6px; align-content: start; padding: 22px 20px 4px 0; }
.marcos li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.marcos b { font-family: var(--f-cond); font-size: 2.1rem; font-weight: 600; line-height: 1; color: var(--white); }
.marcos b small { font-size: 0.45em; margin-left: 4px; color: var(--on-dark-2); }
.marcos .marco-t { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-400); }
.marcos span:not(.marco-t) { font-size: 0.92rem; line-height: 1.5; color: var(--on-dark-2); }
.marcos a { color: var(--white); font-weight: 600; white-space: nowrap; }
@media (min-width: 900px) {
  .marcos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .marcos li { padding: 24px 24px 4px; border-left: 1px solid var(--line-dark); }
  .marcos li:first-child { padding-left: 0; border-left: 0; }
}
@media (max-width: 479px) {
  .marcos { grid-template-columns: 1fr; }
  .marcos li, .marcos li:nth-child(even) { padding: 18px 0 14px; border-left: 0; border-bottom: 1px solid var(--line-dark); }
}
@media (min-width: 900px) { .video-feature-foot { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }

/* ==========================================================================
   Banners do topo (carrossel no estilo dos banners da Villa)
   ========================================================================== */
.banner { position: relative; overflow: hidden; background: linear-gradient(115deg, #ffffff 0%, #f1f6fb 55%, #e6eff8 100%); }
.banner::before { content: ""; position: absolute; left: -180px; bottom: -260px; width: 620px; height: 620px; border-radius: 50%; border: 70px solid rgba(11, 72, 127, 0.05); pointer-events: none; }
.banner-track { display: grid; }
.banner-slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity 600ms ease, visibility 0s linear 600ms; }
.banner-slide.is-active { opacity: 1; visibility: visible; transition: opacity 600ms ease, visibility 0s; z-index: 1; }
.banner-slide .banner-text > * { transform: translateY(12px); opacity: 0; transition: transform 600ms var(--ease), opacity 600ms ease; }
.banner-slide.is-active .banner-text > * { transform: none; opacity: 1; }
.banner-slide.is-active .banner-text > *:nth-child(2) { transition-delay: 80ms; }
.banner-slide.is-active .banner-text > *:nth-child(3) { transition-delay: 160ms; }
.banner-slide.is-active .banner-text > *:nth-child(4) { transition-delay: 240ms; }
.no-js .banner-slide:not(:first-child) { display: none; }
.banner-media { position: relative; height: 250px; }
.banner-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--blue-600); clip-path: polygon(0 86%, 100% 100%, 100% 100%, 0 100%, 0 82%); }
.banner-media img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 86%); }
.banner-grid { position: relative; }
.banner-text { display: grid; gap: 14px; padding: 18px 0 92px; }
.banner-kicker { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-600); }
.banner-title { font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.02; color: var(--navy-800); letter-spacing: 0; text-wrap: balance; }
.banner-title span { display: block; color: var(--blue-600); }
.banner-lead { font-size: clamp(1rem, 1.2vw, 1.12rem); color: var(--text-2); max-width: 46ch; }
.banner-text .actions { margin-top: 6px; }
.banner-arrow { position: absolute; z-index: 3; bottom: 22px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--blue); box-shadow: var(--shadow); transition: background-color var(--t) var(--ease), color var(--t) var(--ease); }
.banner-arrow:hover { background: var(--blue); color: var(--white); }
.banner-arrow svg { width: 20px; height: 20px; }
.banner-arrow--prev { left: var(--gutter); }
.banner-arrow--next { right: var(--gutter); }
.banner-dots { position: absolute; z-index: 3; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; gap: 8px; }
.banner-dots button { width: 28px; height: 18px; position: relative; }
.banner-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: rgba(11, 72, 127, 0.22); transition: background-color var(--t) var(--ease); }
.banner-dots button[aria-current="true"]::before { background: var(--blue); }
@media (min-width: 900px) {
  .banner-slide { min-height: clamp(500px, 64vh, 600px); display: flex; align-items: center; }
  .banner-media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; height: auto; }
  .banner-media::before { clip-path: polygon(12% 0, 14.5% 0, 2.5% 100%, 0 100%); }
  .banner-media img { clip-path: polygon(16% 0, 100% 0, 100% 100%, 4.5% 100%); }
  .banner-grid { width: 100%; }
  .banner-text { max-width: 44%; padding: 56px 0 96px; }
  .banner-arrow { top: 50%; bottom: auto; margin-top: -23px; }
  .banner-arrow--prev { left: 18px; }
  .banner-arrow--next { right: 18px; }
  .banner-dots { left: calc(max(0px, (100% - var(--max) - var(--gutter) * 2) / 2) + var(--gutter)); transform: none; bottom: 44px; }
}

/* Caixa "Equipamentos disponíveis" (formato dos banners da Villa) */
.banner-box { position: relative; z-index: 2; margin: 0 0 96px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(6, 29, 54, 0.2); }
.banner-box-title { padding: 10px 16px; background: var(--navy-800); color: var(--white); font-family: var(--f-cond); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; }
.banner-box ul { margin: 0; padding: 4px 16px 6px; list-style: none; }
.banner-box li { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; line-height: 1.3; color: var(--text); }
.banner-box li:last-child { border-bottom: 0; }
.banner-box li svg { width: 20px; height: 20px; padding: 3px; border-radius: 4px; background: var(--blue); color: var(--white); }
.banner-box li b { font-family: var(--f-cond); font-weight: 700; font-size: 0.98rem; color: var(--blue); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.banner-slide .banner-box { opacity: 0; transform: translateY(12px); transition: transform 600ms var(--ease), opacity 600ms ease; }
.banner-slide.is-active .banner-box { opacity: 1; transform: none; transition-delay: 320ms; }
@media (max-width: 899px) {
  .banner-text { padding-bottom: 22px; }
  .banner-box li:nth-child(n+5) { display: none; } /* no celular, até 4 itens */
}
@media (min-width: 900px) {
  .banner-grid { position: static; }
  .banner-box { position: absolute; top: 32px; right: 88px; width: min(360px, 30vw); margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .banner-slide .banner-box { transition: none; transform: none; }
}

/* Faixa de diferenciais */
.features { background: var(--navy-800); color: var(--white); }
.features-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding-block: 22px; }
.features-list li { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; font-weight: 500; line-height: 1.3; }
.features-list svg { width: 34px; height: 34px; flex: none; padding: 6px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.45); color: var(--white); }
@media (min-width: 900px) { .features-list { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 26px; } .features-list li { justify-content: center; font-size: 1rem; } }

/* Números logo abaixo da faixa (sem sobrepor o banner) */
.facts-wrap { padding-top: clamp(32px, 4vw, 48px); }
.facts-card--flat { margin-top: 0; }

/* Vídeo Villa e Putzmeister com mais destaque */
.video-feature { margin-top: clamp(40px, 5vw, 64px); }
.video-feature .video-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-feature .video-play { z-index: 2; }
.video-feature .video-play i { position: relative; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.video-feature .video-play i::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.7); animation: pulso 2.2s ease-out infinite; }
@keyframes pulso { from { transform: scale(0.85); opacity: 0.9; } to { transform: scale(1.35); opacity: 0; } }
@media (max-width: 759px) {
  /* no celular o vídeo vai de borda a borda e fica mais alto */
  .video-feature .video-frame { margin-inline: calc(var(--gutter) * -1); border-radius: 0; aspect-ratio: 4 / 3; }
  .video-feature .video-frame.is-playing { aspect-ratio: 16 / 9; }
  .video-feature .video-frame.is-playing video { object-fit: contain; }
  .video-feature .video-play i { width: 80px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) { .video-feature .video-play i::after { animation: none; display: none; } }

/* ---------- Nossa frota (grade de fotos) ---------- */
.fleet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fleet-tile { position: relative; }
.fleet-tile img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--bg-2); }
.fleet-tile figcaption { padding: 8px 2px 4px; font-size: 0.86rem; color: var(--text-2); line-height: 1.35; }
@media (min-width: 900px) { .fleet-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .fleet-tile figcaption { font-size: 0.92rem; } }

/* ==========================================================================
   Blog
   ========================================================================== */
.post-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card-media { display: block; aspect-ratio: 16 / 10; background: var(--bg-2); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { display: grid; gap: 10px; padding: 20px 22px 22px; flex: 1; align-content: start; }
.post-card-body h2 a:hover { color: var(--blue); }
.post-card-body p { color: var(--text-2); font-size: 0.96rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-body .link { margin-top: 4px; }

/* Acordeão de matérias (referência: galeria em acordeão de yuv.com.br/pt/plataforma) */
.acc { display: grid; gap: 10px; }
.acc-row { display: flex; gap: 10px; height: 440px; margin: 0; padding: 0; list-style: none; }
.acc-item { position: relative; flex: 1 1 0; min-width: 0; border-radius: 14px; overflow: hidden; background: var(--navy-900); box-shadow: 0 10px 30px -18px rgba(6, 29, 54, 0.8); transition: flex-grow 650ms var(--ease); }
.acc-item.is-active { flex-grow: 5.5; }
.acc-card { position: absolute; inset: 0; display: block; color: var(--white); text-decoration: none; outline: none; }
.acc-card:focus-visible { box-shadow: inset 0 0 0 3px var(--blue-400); border-radius: inherit; }
.acc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transform: scale(1.06); transition: filter 650ms var(--ease), transform 900ms var(--ease); }
.acc-item.is-active .acc-img { filter: grayscale(0); transform: none; }
.acc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 29, 54, 0) 22%, rgba(6, 29, 54, 0.6) 52%, rgba(6, 29, 54, 0.95) 100%), rgba(6, 29, 54, 0.35); transition: background-color 650ms var(--ease); }
.acc-item.is-active .acc-card::after { background-color: rgba(6, 29, 54, 0); }
.acc-cap { position: absolute; z-index: 1; left: 26px; bottom: 24px; width: min(520px, calc(100% - 52px)); display: grid; gap: 10px; opacity: 0; transform: translateY(12px); transition: opacity 300ms ease, transform 300ms ease; pointer-events: none; }
.acc-item.is-active .acc-cap { opacity: 1; transform: none; transition: opacity 450ms ease 260ms, transform 550ms var(--ease) 260ms; }
.acc-meta { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #cfe2f5; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.acc-title { margin: 0; padding-left: 14px; border-left: 3px solid var(--blue-400); font-family: var(--f-cond); font-weight: 600; font-size: clamp(1.2rem, 1.7vw, 1.65rem); line-height: 1.15; color: var(--white); text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acc-resumo { font-size: 0.95rem; line-height: 1.5; color: rgba(255, 255, 255, 0.82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acc-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: var(--white); }
.acc-cta svg { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.acc-card:hover .acc-cta svg { transform: translateX(4px); }
@media (max-width: 1040px) { .acc-row { height: 400px; } .acc-item.is-active { flex-grow: 4.5; } .acc-resumo { display: none; } }
/* Celular: as tiras viram uma pilha vertical; a tira fechada mostra só o título, a aberta mostra tudo */
@media (max-width: 640px) {
  .acc-row { flex-direction: column; height: auto; }
  .acc-item { flex: none; height: 84px; transition: height 550ms var(--ease); }
  .acc-item.is-active { height: 340px; }
  .acc-cap { left: 18px; bottom: 18px; width: calc(100% - 36px); }
  .acc-item:not(.is-active) .acc-cap { opacity: 1; transform: none; bottom: 50%; translate: 0 50%; }
  .acc-item:not(.is-active) .acc-meta, .acc-item:not(.is-active) .acc-cta { display: none; }
  .acc-item:not(.is-active) .acc-title { -webkit-line-clamp: 1; font-size: 1.02rem; }
  .acc-item.is-active .acc-resumo { display: -webkit-box; }
}
@media (prefers-reduced-motion: reduce) {
  .acc-item, .acc-img, .acc-cap, .acc-card::after { transition: none !important; }
}

.post-head { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.post-head-inner { display: grid; gap: 14px; padding-block: clamp(36px, 6vw, 64px); }
.post-head-inner > * { max-width: 820px; }
.post-head .h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.crumbs--dark { color: var(--text-3); }
.crumbs--dark a { color: var(--blue); }
.crumbs--dark a:hover { color: var(--navy-700); }
.post-meta { font-size: 0.92rem; color: var(--text-3); }
.post-layout { display: grid; gap: 40px; padding-block: clamp(32px, 5vw, 56px) clamp(56px, 7vw, 88px); }
@media (min-width: 1040px) { .post-layout { grid-template-columns: minmax(0, 760px) 1fr; gap: 56px; align-items: start; } }
.post-cover { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-2); margin-bottom: 28px; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-body { font-size: 1.06rem; line-height: 1.75; color: var(--text); }
.post-body p { margin: 0 0 1.1em; }
.post-body h2, .post-body h3, .post-body h4 { margin: 1.6em 0 0.6em; color: var(--ink); line-height: 1.3; font-weight: 600; }
.post-body h2 { font-size: 1.45rem; }
.post-body h3 { font-size: 1.22rem; }
.post-body ul, .post-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: 0.4em; }
.post-body strong { color: var(--ink); }
.post-aside { display: grid; gap: 16px; }
.post-cta { display: grid; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid #d6e4f2; }
.post-cta p:not(.eyebrow):not(.h3) { color: var(--text-2); font-size: 0.96rem; }
@media (min-width: 1040px) { .post-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq-mais { margin-top: 10px; font-size: 0.98rem; color: var(--text-2); }
.faq-mais a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Central 0800 em destaque na seção "A empresa" (pedido da diretoria: destaque no 0800, atendimento nacional) */
.central-0800 { display: inline-grid; gap: 2px; justify-self: start; padding: 14px 22px; border-left: 4px solid var(--blue); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform var(--t) var(--ease); }
.central-0800 span { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.central-0800 b { font-family: var(--f-cond); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.05; color: var(--navy-800); }
.central-0800:hover { transform: translateY(-2px); }

/* Banner institucional em largura total no topo da home (arte "Há 20 anos construindo o futuro") */
.hero-inst { position: relative; overflow: hidden; background: #cfe3f6; }
.hero-inst picture, .hero-inst img { display: block; width: 100%; }
.hero-inst img { height: auto; }
/* Em telas muito altas/largas limita a altura e corta só o céu e as bordas, nunca o logo e o texto (lado esquerdo) */
@media (min-width: 700px) { .hero-inst img { max-height: min(84vh, 920px); object-fit: cover; object-position: 20% 45%; } }

/* Transição do banner institucional para o carrossel: corte diagonal na base da arte com linha azul da marca
   (mesma linguagem das faixas do carrossel), em todas as telas. A linha "se desenha" da esquerda para a direita.
   Versão anterior no desktop (fade): .hero-inst::after com linear-gradient(transparente -> #fff) e margem de clamp(20px, 3vw, 48px). */
.hero-inst { --corte: clamp(26px, 3.4vw, 56px); --linha: clamp(6px, 0.55vw, 9px); padding-bottom: calc(var(--linha) + 4px); background: var(--bg); }
.hero-inst picture { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--corte))); }
.hero-inst::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--corte) + var(--linha) * 2 + 4px);
  background: var(--blue-600); pointer-events: none;
  clip-path: polygon(0 var(--linha), 100% calc(var(--corte) + var(--linha)), 100% calc(var(--corte) + var(--linha) * 2), 0 calc(var(--linha) * 2));
  transform-origin: left center; animation: hero-linha 900ms var(--ease) 250ms both;
}
.hero-inst + .banner { margin-top: clamp(6px, 1vw, 14px); }
@keyframes hero-linha { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero-inst::after { animation: none; } }
