/* ==========================================================================
   Caldem Industrial — estilos
   Paleta: preto, branco, cinzas e um detalhe metálico (aço escovado)
   ========================================================================== */

:root {
  --black: #0a0a0b;
  --ink: #141416;
  --graphite: #1d1d1f;
  --white: #ffffff;
  --paper: #f5f5f7;
  --gray-1: #d2d2d7;
  --gray-2: #a1a1a6;
  --gray-3: #6e6e73;
  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(0, 0, 0, .1);
  --metal: linear-gradient(100deg, #7d7e83 0%, #e9e9ee 28%, #9d9ea3 48%, #f7f7fa 66%, #86878c 100%);
  --metal-solid: #b9bac0;
  --wa: #25d366;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: 20px;
  --max: 1200px;
  --radius: 22px;
  --header-h: 60px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

@media (min-width: 768px) { :root { --gutter: 40px; --header-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--metal-solid); outline-offset: 3px; border-radius: 6px; }

.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 { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--black); padding: 10px 16px; border-radius: 999px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 0 0 18px;
}
.display {
  font-size: clamp(44px, 11vw, 120px);
  line-height: 1.02; letter-spacing: -.035em; font-weight: 700; margin: 0;
}
.h1 { font-size: clamp(38px, 7.2vw, 88px); line-height: 1.04; letter-spacing: -.03em; font-weight: 700; margin: 0; }
.h2 { font-size: clamp(32px, 5.4vw, 64px); line-height: 1.06; letter-spacing: -.028em; font-weight: 700; margin: 0; }
.h3 { font-size: clamp(24px, 3vw, 36px); line-height: 1.12; letter-spacing: -.02em; font-weight: 600; margin: 0; }
.lead { font-size: clamp(19px, 2.2vw, 26px); line-height: 1.4; letter-spacing: -.01em; color: var(--gray-2); margin: 20px 0 0; font-weight: 500; }
.muted { color: var(--gray-2); }
.metal-text { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.light .lead, .light .muted { color: var(--gray-3); }
.light .eyebrow, .paper .eyebrow { background: linear-gradient(100deg, #2c2d30 0%, #8a8b90 35%, #3a3b3f 60%, #7b7c80 100%); -webkit-background-clip: text; background-clip: text; }

/* ---------- Botões ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.center .btns { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em; border: 0; cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s, color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { background: var(--gray-1); }
.light .btn-primary { background: var(--black); color: var(--white); }
.light .btn-primary:hover { background: #333336; }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.9); }
.light .btn-ghost { color: var(--black); box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.25); }
.light .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.8); }
.btn-metal { background: var(--metal); color: var(--black); background-size: 200% 100%; background-position: 0 0; transition: background-position .8s var(--ease), transform .3s var(--ease); }
.btn-metal:hover { background-position: 100% 0; }
.btn-wa { background: var(--wa); color: #06260f; }
.btn-wa:hover { background: #1fbd59; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--white); }
.link-arrow::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.light .link-arrow { color: var(--black); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: rgba(10, 10, 11, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line-dark);
}
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1360px; }
.logo img { height: 30px; width: auto; }
@media (min-width: 768px) { .logo img { height: 34px; } }
.nav { display: none; }
.nav a { font-size: 14px; color: rgba(255,255,255,.78); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.header-cta { display: none; min-height: 36px; padding: 0 18px; font-size: 14px; }
.menu-toggle {
  width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: var(--white); transition: transform .35s var(--ease); }
.menu-toggle span + span { margin-top: 6px; }
.menu-toggle > div { display: flex; flex-direction: column; }
.menu-open .menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: rgba(10,10,11,.97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a { font-size: 28px; font-weight: 600; letter-spacing: -.02em; padding: 8px 0; color: var(--gray-1); }
.mobile-menu .btn { margin-top: 24px; font-size: 17px; }
.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
  .nav { display: flex; gap: 30px; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* ---------- Seções ---------- */
.section { position: relative; padding: 120px 0; }
@media (min-width: 768px) { .section { padding: 180px 0; } }
.light { background: var(--white); color: var(--black); }
.paper { background: var(--paper); color: var(--black); }
.dark-2 { background: var(--ink); }
.section-head { max-width: 900px; }
.section-head.center { margin: 0 auto; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--black); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 40%; will-change: transform; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,11,.62) 0%, rgba(10,10,11,.6) 40%, rgba(10,10,11,.7) 72%, var(--black) 100%);
}
.hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding-top: calc(var(--header-h) + 8px); padding-bottom: clamp(90px, 16vh, 170px);
}
.hero-content .eyebrow {
  background: none; color: var(--white); -webkit-text-fill-color: var(--white);
  font-size: 14px; font-weight: 600; letter-spacing: .3em;
  text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 2px 18px rgba(0,0,0,.55);
}
.hero-content .lead { color: rgba(255,255,255,.82); max-width: 620px; margin-left: auto; margin-right: auto; }
.hero .display { max-width: 1000px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%);
  width: 24px; height: 38px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45);
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 2px; background: var(--white); animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Painéis (Soluções / Setores) ---------- */
.panel-sec { padding: 24px 12px; background: var(--black); }
@media (min-width: 768px) { .panel-sec { padding: 40px var(--gutter); } }
.panel {
  position: relative; max-width: 1400px; margin: 0 auto; overflow: hidden;
  border-radius: 28px; background: #0e0e10; border: 1px solid rgba(255,255,255,.06);
  isolation: isolate;
}
.panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.2px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 20%, transparent 75%);
}
.panel-grid { display: grid; gap: 56px; align-items: center; padding: 56px 24px; }
@media (min-width: 960px) { .panel-grid { grid-template-columns: 1.1fr .9fr; gap: 40px; padding: 110px 80px 110px 100px; min-height: 720px; } }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  font-size: 15px; color: var(--gray-1); background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.14); transition: border-color .3s, background-color .3s;
}
.pill:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.pill span { font-size: 1.2em; line-height: 1; color: var(--gray-2); }
.panel-title {
  margin: 36px 0 0; font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; color: var(--white);
}
.panel-title span { display: block; color: #8b8b90; }
.panel-text { margin: 36px 0 0; max-width: 560px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: #9a9aa0; }
.panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 48px; }
.btn-lg { min-height: 56px; padding: 0 30px; border-radius: 12px; font-size: 18px; }
.link-soft { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; color: var(--gray-2); transition: color .25s; }
.link-soft span { font-size: 1.25em; line-height: 1; transition: transform .3s var(--ease); }
.link-soft:hover { color: var(--white); }
.link-soft:hover span { transform: translateX(4px); }

/* Símbolo CM metálico 3D */
.panel-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; max-width: 520px; width: 78%; margin: 0 auto; perspective: 1200px; }
@media (min-width: 960px) { .panel-visual { width: 100%; } }
.panel-visual::before {
  content: ""; position: absolute; inset: -18%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.07), rgba(255,255,255,.02) 55%, transparent 72%);
}
.mark3d { position: relative; width: 78%; aspect-ratio: 673 / 663; transform-style: preserve-3d; will-change: transform; }
.mark-face, .mark-depth {
  position: absolute; inset: 0;
  -webkit-mask: url("../img/marca-cm-mask.png") center / contain no-repeat;
  mask: url("../img/marca-cm-mask.png") center / contain no-repeat;
}
.mark-depth {
  background: linear-gradient(135deg, #3a3a3e, #0d0d0f 70%);
  transform: translate(10px, 14px);
  filter: blur(.4px);
}
.mark-face {
  overflow: hidden;
  background:
    linear-gradient(155deg, #ffffff 0%, #ececef 25%, #bdbdc2 48%, #86868c 66%, #d6d6da 84%, #f6f6f8 100%);
}
.mark-face::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 60%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.6), transparent);
  transform: translate3d(-100%, 0, 0); animation: sheen 7s var(--ease) infinite; will-change: transform;
}
@keyframes sheen { 0%, 55% { transform: translate3d(-100%, 0, 0); } 100% { transform: translate3d(360%, 0, 0); } }
.mark3d::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -14%; height: 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.7), transparent); filter: blur(8px); transform: translateZ(-40px);
}

/* Setores */
.sector-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 960px) { .sector-grid { gap: 16px; } }
.sector {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 150px; padding: 22px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08);
  transition: border-color .4s, transform .5s var(--ease), background-color .4s;
}
@media (min-width: 960px) { .sector { min-height: 180px; padding: 26px; } }
.sector:hover { border-color: rgba(255,255,255,.28); transform: translateY(-4px); }
.sector svg { width: 38px; height: 38px; fill: none; stroke: #c9c9ce; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sector b { font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; letter-spacing: -.02em; }
.sector::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: var(--metal);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.sector:hover::after { opacity: 1; }

/* ---------- Números ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 24px; margin-top: 72px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 1px solid var(--line-dark); padding-top: 24px; }
.light .stat, .paper .stat { border-color: var(--line-light); }
.stat-num { font-size: clamp(48px, 7vw, 88px); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: .42em; letter-spacing: -.01em; margin-left: 4px; font-weight: 600; }
.stat-label { color: var(--gray-2); margin-top: 12px; font-size: 16px; max-width: 220px; }
.light .stat-label, .paper .stat-label { color: var(--gray-3); }

/* ---------- Por que nos escolher (sticky) ---------- */
.why { background: var(--black); }
.why-intro { padding: 140px 0 40px; }
.why-track { position: relative; }
.why-stage { position: relative; }
.why-step { padding: 0 0 80px; }
.why-step .why-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 28px; background: var(--ink); }
.why-step .why-img img { width: 100%; height: 100%; object-fit: cover; }
.why-step .num { font-size: 14px; letter-spacing: .15em; color: var(--gray-3); font-weight: 600; }
.why-step h3 { margin: 10px 0 12px; }
.why-step p { color: var(--gray-2); margin: 0; font-size: 19px; max-width: 520px; }

@media (min-width: 900px) {
  .why-track.is-pinned { height: 400vh; }
  .why-track.is-pinned .why-stage {
    position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 64px;
    max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter);
  }
  .why-track.is-pinned .why-texts { position: relative; height: 340px; }
  .why-track.is-pinned .why-step { position: absolute; inset: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; }
  .why-track.is-pinned .why-step .why-img { display: none; }
  .why-track.is-pinned .why-imgs { position: relative; height: 76vh; border-radius: 28px; overflow: hidden; background: var(--ink); }
  .why-track.is-pinned .why-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .why-progress { position: absolute; left: 0; bottom: -40px; display: flex; gap: 8px; }
  .why-progress i { width: 28px; height: 3px; border-radius: 3px; background: var(--graphite); overflow: hidden; position: relative; }
  .why-progress i b { position: absolute; inset: 0; background: var(--metal); transform: scaleX(0); transform-origin: left; }
}
.why-imgs { display: none; }
.why-track.is-pinned .why-imgs { display: block; }
.why-progress { display: none; }
.why-track.is-pinned .why-progress { display: flex; }

/* ---------- Produto em destaque (estilo página de produto) ---------- */
.product { position: relative; overflow: hidden; }
.product-inner { padding: 120px 0 0; text-align: center; }
@media (min-width: 768px) { .product-inner { padding-top: 160px; } }
.product .tag { font-size: 14px; font-weight: 600; color: var(--gray-3); letter-spacing: .02em; }
.product h3 { margin: 10px auto 0; max-width: 900px; }
.product .lead { max-width: 640px; margin-left: auto; margin-right: auto; }
.product-media { margin: 64px auto 0; max-width: 1360px; padding: 0 var(--gutter) 120px; }
.product-media .frame { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); }
@media (min-width: 768px) { .product-media .frame { height: min(88vh, 980px); width: auto; margin: 0 auto; } }
.product-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.product.light .frame { background: var(--paper); }
.product .specs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.product .specs span { font-size: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--gray-1); }
.product.light .specs span { background: var(--paper); color: var(--graphite); }

/* ---------- Galeria horizontal ---------- */
.hgallery { overflow: hidden; background: var(--ink); padding: 120px 0; }
.hgallery-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.hgallery-track {
  display: flex; gap: 16px; padding: 0 var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.hgallery-track::-webkit-scrollbar { display: none; }
.hcard { flex: 0 0 78vw; max-width: 460px; scroll-snap-align: center; }
.hcard .ph { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--graphite); }
.hcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hcard:hover img { transform: scale(1.04); }
.hcard h4 { margin: 18px 0 4px; font-size: 20px; letter-spacing: -.015em; font-weight: 600; }
.hcard p { margin: 0; color: var(--gray-2); font-size: 15px; }
.hcard .mini { margin-top: 10px; display: inline-block; font-size: 15px; font-weight: 600; }
.hcard .mini::after { content: " ›"; }
@media (min-width: 900px) {
  .hgallery.is-pinned { height: 100vh; padding: 0; display: flex; flex-direction: column; justify-content: center; }
  .hgallery.is-pinned .hgallery-track { overflow: visible; scroll-snap-type: none; width: max-content; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-right: 12vw; will-change: transform; }
  .hgallery.is-pinned .hcard { flex-basis: 30vw; max-width: 420px; }
  .hgallery.is-pinned .hcard .ph { aspect-ratio: 4 / 4.6; max-height: 58vh; }
  .hgallery.is-pinned .hgallery-head { margin-bottom: 36px; }
}

/* ---------- Zoom de imagem (ART) ---------- */
.zoom { position: relative; background: var(--black); }
.zoom-pin { position: relative; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.zoom-img { position: absolute; inset: 0; will-change: clip-path; }
.zoom-img img { width: 100%; height: 100%; object-fit: cover; }
.zoom-img::after { content: ""; position: absolute; inset: 0; background: rgba(10,10,11,.5); }
.zoom-text { position: relative; z-index: 2; text-align: center; padding: 0 var(--gutter); max-width: 980px; }
.zoom-text .lead { color: rgba(255,255,255,.85); }
.zoom.is-pinned { height: 220vh; }
.zoom.is-pinned .zoom-pin { position: sticky; top: 0; }

/* ---------- Catálogo ---------- */
.catalog-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .catalog-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.catalog-visual { position: relative; border-radius: 28px; overflow: hidden; background: var(--paper); aspect-ratio: 1 / 1; }
.catalog-visual img { width: 100%; height: 100%; object-fit: cover; }
.catalog-meta { display: flex; gap: 32px; margin-top: 36px; }
.catalog-meta div b { display: block; font-size: 40px; letter-spacing: -.03em; line-height: 1; }
.catalog-meta div span { font-size: 14px; color: var(--gray-3); }

/* ---------- Clientes ---------- */
.clients { padding: 140px 0; overflow: hidden; }
.marquee { margin-top: 64px; display: flex; 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); }
.marquee + .marquee { margin-top: 20px; }
.marquee-row { display: flex; gap: 20px; padding-right: 20px; flex: none; animation: marquee 50s linear infinite; }
.marquee.rev .marquee-row { animation-direction: reverse; }
.marquee:hover .marquee-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.logo-card {
  flex: none; width: 180px; height: 96px; border-radius: 18px; background: var(--white);
  display: grid; place-items: center; padding: 18px 24px;
}
.logo-card img { max-height: 52px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .75; transition: filter .4s, opacity .4s; }
.logo-card:hover img { filter: none; opacity: 1; }
@media (min-width: 768px) { .logo-card { width: 220px; height: 116px; } }

/* ---------- Sobre ---------- */
.about-grid { display: grid; gap: 48px; margin-top: 64px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.about-grid p { margin: 0 0 20px; font-size: 19px; color: var(--gray-3); }
.about-grid p strong { color: var(--black); font-weight: 600; }
.fronts { display: grid; gap: 16px; margin-top: 8px; }
.front { background: var(--paper); border-radius: var(--radius); padding: 28px; }
.front b { display: block; font-size: 22px; letter-spacing: -.02em; margin-bottom: 6px; color: var(--black); }
.front span { color: var(--gray-3); }

/* Parallax grid da estrutura */
.structure { padding: 140px 0 160px; background: var(--black); overflow: hidden; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 64px; }
@media (min-width: 900px) { .pgrid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pcol { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 900px) { .pcol { gap: 20px; } }
.pcol:nth-child(3) { display: none; }
@media (min-width: 900px) { .pcol:nth-child(3) { display: flex; } .pcol:nth-child(2) { margin-top: 120px; } }
.pcol figure { margin: 0; border-radius: 18px; overflow: hidden; background: var(--ink); }
.pcol img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.pcol figure.wide img { aspect-ratio: 4 / 3; }
.spec-list { list-style: none; padding: 0; margin: 72px 0 0; display: grid; gap: 0; }
@media (min-width: 768px) { .spec-list { grid-template-columns: 1fr 1fr; column-gap: 64px; } }
.spec-list li { display: flex; gap: 20px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line-dark); font-size: 18px; color: var(--gray-1); }
.spec-list li b { flex: none; min-width: 92px; font-size: 26px; letter-spacing: -.03em; color: var(--white); }

/* ---------- Pilares (Missão, Visão…) ---------- */
.pillars { display: grid; gap: 16px; margin-top: 64px; }
@media (min-width: 768px) { .pillars { grid-template-columns: 1fr 1fr; gap: 20px; } }
.pillar { background: var(--white); border-radius: var(--radius); padding: 36px 30px; }
@media (min-width: 768px) { .pillar { padding: 48px 44px; } }
.pillar .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--metal); margin-bottom: 26px; display: grid; place-items: center; }
.pillar .ico svg { width: 22px; height: 22px; stroke: var(--black); }
.pillar h3 { font-size: 28px; letter-spacing: -.02em; margin: 0 0 12px; }
.pillar p { margin: 0; color: var(--gray-3); font-size: 17px; }

/* ---------- Orçamento ---------- */
.quote { background: var(--black); }
.quote-grid { display: grid; gap: 56px; }
@media (min-width: 960px) { .quote-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; } }
.contact-lines { margin-top: 40px; display: grid; gap: 22px; }
.contact-lines a { display: block; }
.contact-lines small { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-3); margin-bottom: 4px; }
.contact-lines span { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.contact-lines a:hover span { color: var(--gray-1); }
.socials { display: flex; gap: 10px; margin-top: 36px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-dark); transition: background-color .3s, box-shadow .3s; }
.socials a:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.socials svg { width: 20px; height: 20px; fill: var(--white); }

.form { background: var(--ink); border-radius: 28px; padding: 28px 22px; }
@media (min-width: 768px) { .form { padding: 44px; } }
.form-row { display: grid; gap: 14px; }
@media (min-width: 600px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.form-row + .form-row { margin-top: 14px; }
.field { position: relative; }
.field label { display: block; font-size: 14px; color: var(--gray-2); margin: 0 0 8px 4px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent;
  background: var(--graphite); color: var(--white); font-size: 17px; outline: none;
  transition: border-color .25s, background-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a1a1a6' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gray-2); background: #242427; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #ff6961; }
.hp { position: absolute !important; left: -9999px !important; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
.form-note { font-size: 13px; color: var(--gray-3); margin: 16px 0 0; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 14px; font-size: 16px; display: none; }
.form-status.ok { display: block; background: rgba(37, 211, 102, .12); color: #7ee2a3; }
.form-status.err { display: block; background: rgba(255, 105, 97, .12); color: #ffb0ab; }
.form-status a { text-decoration: underline; font-weight: 600; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- CTA final ---------- */
.cta-band { text-align: center; padding: 140px 0; background: var(--black); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(200,200,210,.10), transparent); pointer-events: none; }

/* ---------- Rodapé ---------- */
.footer { background: var(--black); border-top: 1px solid var(--line-dark); padding: 56px 0 110px; font-size: 14px; color: var(--gray-3); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .footer { padding-bottom: 56px; } }
.footer h4 { color: var(--gray-1); font-size: 13px; font-weight: 600; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--white); }
.footer .logo img { height: 30px; margin-bottom: 18px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 95;
  display: flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--wa); color: #06260f; font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: translateY(-2px) scale(1.03); }
.wa-float svg { width: 28px; height: 28px; fill: #06260f; }
.wa-float .wa-label { display: none; }
@media (min-width: 600px) { .wa-float .wa-label { display: inline; } .wa-float { right: 24px; bottom: 24px; } }
@media (max-width: 599px) { .wa-float { width: 58px; padding: 0; justify-content: center; } }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--wa); z-index: -1;
  animation: waPulse 2.8s var(--ease) infinite; will-change: transform, opacity;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- Página Equipamentos ---------- */
.page-hero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero .hero-media img { height: 120%; }
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: 90px; padding-top: 140px; }
.page-hero .lead { color: rgba(255,255,255,.82); max-width: 720px; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.4), rgba(10,10,11,.3) 40%, var(--black)); }
.filter-bar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 40px; padding: 0 var(--gutter); }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar button { flex: none; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer; background: var(--graphite); color: var(--gray-1); font-size: 15px; transition: background-color .3s, color .3s; }
.filter-bar button[aria-pressed="true"] { background: var(--white); color: var(--black); }
.grid-eq { display: grid; gap: 28px 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid-eq { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-eq { grid-template-columns: repeat(3, 1fr); gap: 44px 20px; } }
.eq-card .ph { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; background: var(--ink); }
.eq-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.eq-card:hover img { transform: scale(1.05); }
.eq-card h3 { font-size: 20px; letter-spacing: -.015em; margin: 16px 0 6px; font-weight: 600; }
.eq-card p { color: var(--gray-2); font-size: 15px; margin: 0 0 10px; }
.eq-card .eq-actions { display: flex; gap: 16px; font-size: 15px; font-weight: 600; }
.eq-card .eq-actions a:first-child::after { content: " ›"; }
.eq-card .eq-actions a.wa { color: #5fe08d; }
.eq-card.is-hidden { display: none; }
.catalog-list { columns: 1; column-gap: 48px; margin: 56px 0 0; padding: 0; list-style: none; counter-reset: it; }
@media (min-width: 768px) { .catalog-list { columns: 2; } }
@media (min-width: 1100px) { .catalog-list { columns: 3; } }
.catalog-list li { break-inside: avoid; padding: 14px 0; border-top: 1px solid var(--line-light); display: flex; gap: 14px; color: var(--graphite); font-size: 16px; counter-increment: it; }
.catalog-list li::before { content: counter(it, decimal-leading-zero); color: var(--gray-2); font-variant-numeric: tabular-nums; font-size: 14px; padding-top: 2px; }

/* ---------- Revelação (JS adiciona .anim no <html>) ---------- */
.anim .reveal { opacity: 0; transform: translateY(40px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anim .reveal { opacity: 1; transform: none; }
}

/* ---------- Botões sempre centralizados ---------- */
.btns, .panel-actions, .form-actions, .eq-card .eq-actions { justify-content: center; }
.btns, .panel-actions, .form-actions { width: 100%; }
.catalog-grid > div:first-child .btns, .about-grid .btns { justify-content: center; }
.hcard .mini, .front { text-align: center; }
.hcard { text-align: center; }
.contact-lines, .socials { text-align: center; justify-content: center; }
@media (max-width: 767px) {
  .btns, .panel-actions, .form-actions { flex-direction: column; align-items: center; gap: 14px; }
  .btns .btn, .panel-actions .btn, .form-actions .btn { width: 100%; max-width: 340px; }
  .panel-copy { text-align: center; }
  .panel-text { margin-left: auto; margin-right: auto; }
  .section-head, .catalog-grid > div:first-child, .about-grid > div:first-child { text-align: center; }
  .catalog-meta { justify-content: center; }
}
.eq-card { text-align: center; }

/* ---------- Fluidez no celular ---------- */
.hero-media img, .product-media img, .product .frame, .zoom-img, .pcol, .pcol img, .catalog-visual img, .mark3d, .why-imgs img {
  backface-visibility: hidden; transform: translateZ(0);
}
.zoom-img { transform-origin: center; }
@media (hover: none), (pointer: coarse) {
  /* blur atrás do cabeçalho é caro durante a rolagem no celular: fundo sólido */
  .header.is-solid { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10,10,11,.94); }
  .mobile-menu { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .zoom-img { border-radius: 24px; overflow: hidden; }
  .marquee-row { animation-duration: 40s; }
  .sector, .hcard img, .eq-card img { transition: none; }
}
