/* =========================================================
   VAGALUME — Toldos e Comunicação Visual
   Sistema visual: vermelho / amarelo / branco sobre papel quente.
   Estrutura e ritmo herdados do site de referência (Poppins,
   um acento único, bordas finas, contenção).
   ========================================================= */

:root {
  /* Vermelho amostrado direto da logo (#CF0201 no centro, #870302 nas bordas). */
  --red: #cc0000;
  --red-rgb: 204, 0, 0;
  --red-deep: #8a0302;
  --yellow: #f5b301;
  --green: #0b7a3b;
  --green-soft: #0e8a43;
  --yellow-rgb: 245, 179, 1;

  --ink: #191512;
  --ink-soft: #2a2420;
  --muted: #7a736a;
  --paper: #f7f4ef;
  --paper-2: #ece7de;
  --card: #ffffff;
  --line: rgba(25, 21, 18, 0.11);
  --line-soft: rgba(25, 21, 18, 0.06);

  --shadow-sm: 0 4px 16px -6px rgba(30, 24, 20, 0.16);
  --shadow: 0 26px 60px -28px rgba(38, 30, 24, 0.34);
  --shadow-lg: 0 50px 110px -40px rgba(38, 30, 24, 0.44);

  --wrap: 1320px;
  --pad: clamp(20px, 5vw, 84px);
  --r: 22px;
  --r-lg: 36px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Poppins", var(--font);

  --nav-h: 66px;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  overflow-x: clip;
  scroll-behavior: smooth;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(15.5px, 1.02vw, 17.5px);
  line-height: 1.62;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
button { font: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.036em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(29px, 7.4vw, 104px); }
h2 { font-size: clamp(27px, 4.9vw, 68px); }
h3 { font-size: clamp(20px, 2vw, 27px); letter-spacing: -0.028em; }
em { font-style: normal; color: var(--red); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

section { position: relative; z-index: 2; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.72); }
.eyebrow--light::before { background: var(--yellow); }

.lead { color: var(--muted); max-width: 56ch; font-size: 1.02em; }

/* ============ Grão ============ */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.3; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ============ Preloader ============ */
.loader {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--red);
  display: grid; place-content: center; justify-items: center; gap: 22px;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.loader::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, 0.16), transparent 62%);
  pointer-events: none;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader__logo { width: clamp(210px, 42vw, 460px); position: relative; z-index: 2; }
.loader__logo img { width: 100%; opacity: 0; }
.loader__bar {
  position: relative; z-index: 2;
  width: clamp(150px, 26vw, 240px); height: 2px;
  background: rgba(255, 255, 255, 0.24); border-radius: 2px; overflow: hidden;
}
.loader__bar i { position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: left; }

/* ============ Botões ============ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px;
  padding: 15px 26px; border-radius: 100px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--solid { background: var(--red); color: #fff; box-shadow: 0 10px 30px -14px rgba(var(--red-rgb), 0.75); }
.btn--solid:hover { background: var(--red-deep); box-shadow: 0 18px 44px -18px rgba(var(--red-rgb), 0.8); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--yellow); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn--sm { padding: 11px 19px; font-size: 13.5px; }
.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn:active { transform: scale(0.965); }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 100;
  transform: translateX(-50%);
  width: calc(100% - 26px); max-width: var(--wrap);
  display: flex; align-items: center; gap: 22px;
  padding: 11px 11px 11px 20px;
  border-radius: 100px;
  background: transparent;
  border: 1px solid transparent;
  transition: transform 0.5s var(--ease), background 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.nav.is-scrolled {
  background: rgba(247, 244, 239, 0.82);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
}
.nav.is-hidden { transform: translateX(-50%) translateY(-135%); }
.nav__brand { position: relative; display: flex; align-items: center; gap: 10px; flex: none; }
.nav__brand img { height: 24px; width: auto; transition: opacity 0.35s var(--ease); }
.nav__brand .is-r { position: absolute; left: 0; top: 0; opacity: 0; }
.nav.is-scrolled .nav__brand .is-w { opacity: 0; }
.nav.is-scrolled .nav__brand .is-r { opacity: 1; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
/* Só os links diretos da barra. Sem o ">", estas regras também pegavam os
   links de dentro do mega menu e os deixavam brancos sobre o painel branco. */
.nav__links > a {
  position: relative; padding: 8px 13px; border-radius: 100px;
  font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s, background 0.25s;
}
.nav__links > a:hover { color: #fff; background: rgba(255, 255, 255, 0.16); }
.nav.is-scrolled .nav__links > a { color: var(--ink-soft); }
.nav.is-scrolled .nav__links > a:hover { color: var(--red); background: rgba(var(--red-rgb), 0.07); }
.nav__cta { flex: none; }
.nav__burger {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42); border-radius: 50%; background: transparent;
  cursor: pointer; position: relative;
}
.nav.is-scrolled .nav__burger { border-color: var(--line); }
.nav__burger i {
  position: absolute; left: 13px; width: 18px; height: 1.8px; background: #fff;
  border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s, background 0.35s;
}
.nav.is-scrolled .nav__burger i { background: var(--ink); }
.nav__burger i:nth-child(1) { top: 17px; }
.nav__burger i:nth-child(2) { top: 24px; }
.nav.is-open .nav__burger i:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__burger i:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
/* Com o menu aberto o fundo já é vermelho: a barra volta a ser branca. */
.nav.is-open, .nav.is-open.is-scrolled { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.is-open .nav__burger { border-color: rgba(255, 255, 255, 0.42); }
.nav.is-open .nav__burger i { background: #fff; }
.nav.is-open .nav__brand .is-w { opacity: 1; }
.nav.is-open .nav__brand .is-r { opacity: 0; }

.menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--red);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 100px var(--pad) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
  pointer-events: none;
}
.menu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu a {
  font-family: var(--display); font-weight: 800; font-size: clamp(30px, 8.5vw, 52px);
  letter-spacing: -0.035em; color: #fff; padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.menu__foot { margin-top: 30px; color: rgba(255, 255, 255, 0.8); font-size: 14px; display: grid; gap: 6px; }

/* ============ HERO parallax ============ */
.hero { position: relative; }
.hero__stage {
  position: relative; height: 100svh; min-height: 600px;
  overflow: hidden;
  background: #0d0b0a;
}
.hero__layer { position: absolute; inset: -6% 0 -26%; will-change: transform; }
.hero__layer video, .hero__layer img { width: 100%; height: 100%; object-fit: cover; }
.hero__layer--sky::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 6, 6, 0.9) 0%, rgba(8, 6, 6, 0.55) 46%, rgba(8, 6, 6, 0.72) 100%),
    linear-gradient(180deg, rgba(8, 6, 6, 0.72) 0%, rgba(8, 6, 6, 0.42) 30%,
      rgba(8, 6, 6, 0.5) 62%, rgba(8, 6, 6, 0.86) 100%);
}
.hero__layer--tint {
  background: radial-gradient(ellipse at 50% 78%, rgba(var(--red-rgb), 0.34), transparent 62%);
  mix-blend-mode: screen;
}
.hero__copy {
  position: absolute; left: 0; right: 0; bottom: 12%;
  padding-inline: var(--pad); z-index: 4;
  max-width: var(--wrap); margin-inline: auto;
  color: #fff; will-change: transform;
}
.hero__title { color: #fff; max-width: 15ch; }
.hero__title em { color: var(--yellow); }
/* O overflow hidden é o que faz a linha "subir" na entrada. O padding extra
   devolve o espaço das descidas (ç, g, p) que a line-height 0.98 cortava. */
.hero__line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero__line > span { display: block; }
.hero__lead { color: rgba(255, 255, 255, 0.82); max-width: 46ch; margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__badge {
  position: absolute; top: calc(var(--nav-h) + 42px); left: var(--pad); z-index: 4;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 12px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
}
.hero__badge b { color: var(--yellow); font-weight: 800; }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 4;
  display: grid; justify-items: center; gap: 8px;
  color: rgba(255, 255, 255, 0.6); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
}
.hero__scroll span { width: 1px; height: 34px; background: linear-gradient(180deg, var(--yellow), transparent); }

/* ============ Faixa de marca / logo animada ============ */
.brandfilm { padding: clamp(70px, 9vw, 130px) 0 0; }
.brandfilm__media {
  position: relative; margin: 0 auto; max-width: 1080px;
  border-radius: var(--r-lg); overflow: hidden; background: var(--red);
  box-shadow: var(--shadow);
}
.brandfilm__media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.brandfilm__cap { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin-top: 26px; color: var(--muted); font-size: 13.5px; }
.brandfilm__cap b { color: var(--ink); font-weight: 600; }

/* ============ Números ============ */
.stats { padding: clamp(64px, 8vw, 110px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: 26px 24px 24px; box-shadow: var(--shadow-sm);
}
.stat__n { font-family: var(--display); font-size: clamp(34px, 4.2vw, 56px); font-weight: 800; letter-spacing: -0.04em; color: var(--red); line-height: 1; }
.stat__n sup { font-size: 0.42em; vertical-align: super; color: var(--yellow); margin-left: 1px; }
.stat__l { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }

/* ============ Manifesto (revelação em bloco) ============ */
.manifesto { padding: clamp(64px, 9vw, 130px) 0; }
.manifesto__text {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 4.1vw, 56px); line-height: 1.08; letter-spacing: -0.035em;
  max-width: 22ch;
}
.blk-line { position: relative; display: block; overflow: hidden; }
.blk-line > i {
  position: absolute; inset: 0; background: var(--red); z-index: 2;
  transform: scaleX(0); transform-origin: left center;
}

/* ============ Produtos — cards expansíveis ============ */
.products { padding: clamp(56px, 7vw, 100px) 0 clamp(70px, 9vw, 120px); }
.products__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.exp {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px; height: clamp(420px, 56vw, 560px);
  grid-template-columns: 5fr 1fr 1fr 1fr;
  transition: grid-template-columns 0.75s var(--ease), grid-template-rows 0.75s var(--ease);
}
.exp__item {
  position: relative; overflow: hidden; border-radius: var(--r);
  background: var(--ink); min-width: 0; min-height: 0; cursor: pointer;
}
.exp__item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.86) brightness(0.72);
}
.exp__item.is-active img { filter: saturate(1) brightness(0.86); transform: scale(1); }
.exp__link::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 8, 7, 0.05) 30%, rgba(10, 8, 7, 0.82) 100%);
}
.exp__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px; color: #fff; }
.exp__ico {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(var(--red-rgb), 0.92); margin-bottom: 14px;
}
.exp__ico svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.7; }
.exp__title {
  font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.03em;
  line-height: 1.1; white-space: nowrap; text-transform: uppercase;
}
.exp__desc {
  margin: 10px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.78); max-width: 44ch;
  opacity: 0; transform: translateY(8px); transition: opacity 0.45s var(--ease) 0.15s, transform 0.45s var(--ease) 0.15s;
}
.exp__item.is-active .exp__desc { opacity: 1; transform: none; }
.exp__item:not(.is-active) .exp__body { padding-inline: 16px; }
.exp__item:not(.is-active) .exp__title {
  writing-mode: vertical-rl; transform: rotate(180deg);
  position: absolute; bottom: 64px; left: 50%; margin-left: -9px;
  font-size: 17px; max-height: calc(100% - 130px); overflow: hidden;
}
.exp__item:not(.is-active) .exp__ico { margin: 0 auto; }

/* ============ Galerias por produto ============ */
.gallery { padding: clamp(60px, 8vw, 110px) 0; background: var(--paper-2); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 34px; }
.tab {
  padding: 10px 18px; border-radius: 100px; border: 1px solid var(--line);
  background: transparent; color: var(--ink-soft); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.3s var(--ease);
}
.tab:hover { border-color: var(--ink); }
.tab.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(140px, 14.4vw, 205px); gap: 12px;
}
.shot {
  position: relative; overflow: hidden; border-radius: var(--r);
  background: var(--ink); box-shadow: var(--shadow-sm);
  grid-column: span 4; grid-row: span 2; margin: 0;
}
.s3 { grid-column: span 3; }
.s4 { grid-column: span 4; }
.s6 { grid-column: span 6; }
.s8 { grid-column: span 8; }
.s12 { grid-column: span 12; }
.r2 { grid-row: span 2; }
.r3 { grid-row: span 3; }
.shot img, .shot video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.shot:hover img, .shot:hover video { transform: scale(1.045); }
.shot figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 44px 20px 18px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(10, 8, 7, 0.55) 45%, rgba(10, 8, 7, 0.92));
  font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em;
}
.shot figcaption b { display: block; font-weight: 500; font-size: 11.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--yellow); margin-bottom: 5px; }
.gal-panel { display: none; }
.gal-panel.is-on { display: block; }

/* ============ Reels ============ */
.reels { padding: clamp(60px, 8vw, 110px) 0; }
.reels__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(238px, 1fr);
  gap: 14px; margin-top: 34px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px; scrollbar-width: thin;
}
.reel {
  position: relative; scroll-snap-align: start; border-radius: var(--r); overflow: hidden;
  aspect-ratio: 9 / 16; background: var(--ink); box-shadow: var(--shadow-sm);
}
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption {
  position: absolute; inset: auto 0 0 0; padding: 84px 18px 16px; color: #fff; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(10, 8, 7, 0.6) 45%, rgba(10, 8, 7, 0.94));
  font-size: 14px; font-weight: 600;
}
.reel figcaption b { display: block; font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 5px; }
.reel__sound {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.42); border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; cursor: pointer; padding: 0;
}
.reel__sound svg { width: 16px; height: 16px; }
.reel__sound .on { display: none; }
.reel__sound.is-on .on { display: block; }
.reel__sound.is-on .off { display: none; }

/* ============ Antes e depois ============ */
.beforeafter { padding: clamp(64px, 9vw, 120px) 0; background: var(--ink); color: #fff; }
.beforeafter h2 { color: #fff; }
.beforeafter .lead { color: rgba(255, 255, 255, 0.62); }
.ba {
  position: relative; margin: 40px auto 0; max-width: 1080px; user-select: none;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 1672 / 941; touch-action: pan-y;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 50%); will-change: clip-path; }
.ba__tag {
  position: absolute; top: 16px; z-index: 3; padding: 7px 14px; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ba__tag--b { left: 16px; background: rgba(10, 8, 7, 0.55); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); }
.ba__tag--a { right: 16px; background: var(--red); color: #fff; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px;
  background: rgba(255, 255, 255, 0.92); z-index: 4; cursor: ew-resize;
  display: flex; align-items: center; justify-content: center; will-change: left;
}
.ba__knob {
  width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s var(--spring);
}
.ba.is-drag .ba__knob { transform: scale(1.12); }
.ba__knob svg { width: 22px; height: 22px; }
.ba__hint { margin-top: 18px; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }

/* ============ Materiais ============ */
.specs { padding: clamp(60px, 8vw, 110px) 0; }
.specs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.spec {
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--card); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.spec:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.spec__media { position: relative; aspect-ratio: 16 / 10; background: var(--paper-2); }
.spec__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.spec:hover .spec__media img { transform: scale(1.04); }
.spec__body { padding: 22px 22px 24px; }
.spec h3 { font-size: 18px; margin-bottom: 8px; }
.spec p { font-size: 14px; color: var(--muted); margin: 0; }

/* ============ Marquee de clientes ============ */
.clients { padding: clamp(40px, 5vw, 64px) 0; border-block: 1px solid var(--line-soft); overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee__row { display: flex; align-items: center; gap: 46px; padding-right: 46px; }
.marquee__row span {
  font-family: var(--display); font-weight: 700; font-size: clamp(19px, 2.3vw, 30px);
  letter-spacing: -0.03em; color: var(--muted); white-space: nowrap;
}
.marquee__row i { color: var(--yellow); font-style: normal; font-size: 15px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Avaliações ============ */
.reviews { padding: clamp(60px, 8vw, 110px) 0; background: var(--paper-2); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px; }
.rating { display: flex; align-items: center; gap: 14px; }
.rating__n { font-family: var(--display); font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.rating__meta { font-size: 13px; color: var(--muted); }
.rating__link {
  display: inline-block; margin-top: 5px; font-size: 12.5px; font-weight: 600;
  color: var(--red); border-bottom: 1px solid rgba(var(--red-rgb), 0.35);
  transition: border-color 0.25s;
}
.rating__link:hover { border-color: var(--red); }
.stars { color: var(--yellow); letter-spacing: 2px; font-size: 15px; }
.reviews__grid { columns: 3; column-gap: 12px; margin-top: 36px; }
.review {
  break-inside: avoid; background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.review p { font-size: 14.5px; margin: 12px 0 0; color: var(--ink-soft); }
.review__who { display: flex; align-items: center; gap: 11px; }
.review__av {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font-size: 12.5px; font-weight: 700; flex: none;
}
.review__name { font-size: 14px; font-weight: 600; }
.review__when { font-size: 11.5px; color: var(--muted); }

/* ============ Contato + mapa ============ */
.contact { padding: clamp(64px, 9vw, 120px) 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 38px; }
.info { display: grid; gap: 10px; }
.info__row > span:last-child { min-width: 0; }
.info__row {
  display: flex; gap: 15px; align-items: flex-start; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--card);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
a.info__row:hover { border-color: var(--red); transform: translateX(3px); }
.info__i { width: 36px; height: 36px; border-radius: 11px; background: rgba(var(--red-rgb), 0.09); display: grid; place-items: center; flex: none; }
.info__i svg { width: 17px; height: 17px; stroke: var(--red); fill: none; stroke-width: 1.8; }
.info__k { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.info__v { display: block; font-size: 15.5px; font-weight: 600; margin-top: 3px; line-height: 1.35; }
/* WhatsApp: só o nome, e o card inteiro fica verde no hover */
.info__row--wa { align-items: center; transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.3s var(--ease); }
.info__row--wa .info__v { margin-top: 0; transition: color 0.35s var(--ease); }
.info__row--wa .info__i, .info__row--wa .info__i svg { transition: background-color 0.35s var(--ease), stroke 0.35s var(--ease); }
a.info__row--wa:hover, a.info__row--wa:focus-visible { background: #25D366; border-color: #25D366; color: #fff; }
a.info__row--wa:hover .info__v, a.info__row--wa:focus-visible .info__v { color: #fff; }
a.info__row--wa:hover .info__i, a.info__row--wa:focus-visible .info__i { background: rgba(255, 255, 255, 0.22); }
a.info__row--wa:hover .info__i svg, a.info__row--wa:focus-visible .info__i svg { stroke: #fff; }
.map {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: var(--paper-2); min-height: 420px; height: 100%;
}
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(0.92); }

/* ============ Footer cinematográfico ============ */
.foot-shell { position: relative; height: 100svh; min-height: 620px; clip-path: inset(0 0 0 0); }
.footer {
  position: fixed; bottom: 0; left: 0; width: 100%; height: 100svh; min-height: 620px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; background: var(--ink); color: #fff; z-index: 0;
}
.footer__aurora {
  position: absolute; left: 50%; top: 52%; width: 82vw; height: 58vh;
  transform: translate(-50%, -50%); border-radius: 50%; filter: blur(90px);
  background: radial-gradient(circle at 50% 50%, rgba(var(--red-rgb), 0.34) 0%, rgba(var(--yellow-rgb), 0.1) 42%, transparent 68%);
  animation: breathe 9s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes breathe { from { transform: translate(-50%, -50%) scale(1); opacity: 0.65; } to { transform: translate(-50%, -50%) scale(1.12); opacity: 1; } }
.footer__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-size: 62px 62px;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 72%, transparent);
}
.footer__giant {
  position: absolute; bottom: -3vh; left: 50%; transform: translateX(-50%);
  font-family: var(--display); font-size: 25vw; line-height: 0.74; font-weight: 900;
  letter-spacing: -0.05em; white-space: nowrap; pointer-events: none; user-select: none;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, transparent 62%);
  -webkit-background-clip: text; background-clip: text;
}
.footer__marquee {
  position: absolute; top: clamp(56px, 9vh, 92px); left: -4%; width: 108%; z-index: 2;
  overflow: hidden; padding: 13px 0; transform: rotate(-2deg);
  border-block: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.footer__marquee .marquee__row span {
  font-family: var(--font); font-size: 12px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62);
}
.footer__marquee .marquee { animation-duration: 46s; }
.footer__mid {
  position: relative; z-index: 3; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; padding: 120px var(--pad) 20px; text-align: center;
}
.footer__logo { width: clamp(190px, 26vw, 290px); opacity: 0.96; }
.footer__mid h2 {
  font-size: clamp(34px, 6.4vw, 84px);
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.42) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 100px; cursor: pointer;
  font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
  will-change: transform;
}
.pill:hover { border-color: rgba(255, 255, 255, 0.3); background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)); color: #fff; }
.pill svg { width: 17px; height: 17px; flex: none; }
.pill--sm { padding: 10px 19px; font-size: 12.5px; color: rgba(255, 255, 255, 0.66); }
.pill--red { background: var(--red); border-color: transparent; color: #fff; }
.pill--red:hover { background: var(--red-deep); }
.footer__nap {
  position: relative; z-index: 3; display: grid; gap: 4px; justify-items: center;
  padding: 0 var(--pad) 18px; text-align: center; font-style: normal;
  font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.55);
}
.footer__nap strong { color: rgba(255, 255, 255, 0.86); font-weight: 600; font-size: 13px; }
.footer__nap a { border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.footer__nap a:hover { color: #fff; border-color: #fff; }
.footer__bot {
  position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 16px; padding: 0 var(--pad) 26px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.42);
}
.footer__made { display: inline-flex; align-items: center; gap: 7px; }
.footer__made .hb { color: var(--red); animation: hb 2s cubic-bezier(0.25, 1, 0.5, 1) infinite; display: inline-block; }
@keyframes hb { 0%, 100% { transform: scale(1); } 15%, 45% { transform: scale(1.22); } 30% { transform: scale(1); } }
.footer__up {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.13);
  color: #fff; cursor: pointer;
}
.footer__up svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.footer__up:hover svg { transform: translateY(-3px); }

/* ============ Voltar ao topo ============ */
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; padding: 0; cursor: pointer;
  background: var(--red); border: none; color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.35s, transform 0.35s, visibility 0.35s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; }

/* ============ Whatsapp flutuante ============ */
.wa-float {
  position: fixed; right: 16px; bottom: 74px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 34px -12px rgba(37, 211, 102, 0.8);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.35s, transform 0.35s, visibility 0.35s;
}
.wa-float.is-on { opacity: 1; visibility: visible; transform: none; }
.wa-float svg { width: 26px; height: 26px; }

/* ============ Revelações ============ */
.reveal-up { opacity: 0; transform: translateY(22px); }
.reveal-up.is-in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .specs__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { columns: 2; }
  .contact__grid { grid-template-columns: 1fr; }
  .map { min-height: 340px; }
  .map iframe { min-height: 340px; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav { padding: 10px 10px 10px 18px; }

  .exp {
    grid-template-columns: 1fr !important;
    grid-auto-rows: minmax(0, 1fr);
    height: auto;
  }
  .exp__item { aspect-ratio: 16 / 10; }
  .exp__item:not(.is-active) .exp__title { writing-mode: horizontal-tb; transform: none; position: static; margin: 0; }
  .exp__item:not(.is-active) .exp__ico { margin: 0 0 14px; }
  .exp__item:not(.is-active) .exp__body { padding: 22px; }
  .exp__desc { opacity: 1; transform: none; }

  .grid { grid-auto-rows: clamp(120px, 22vw, 170px); }
  .s3, .s4 { grid-column: span 6; }
  .s8, .s12 { grid-column: span 12; }

  .hero__copy { bottom: 8%; }
  .hero__scroll { display: none; }
  .hero__badge { top: calc(var(--nav-h) + 26px); }
}

@media (max-width: 640px) {
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 20px 18px; }
  .specs__grid { grid-template-columns: 1fr; }
  .reviews__grid { columns: 1; }
  .grid { gap: 10px; grid-template-columns: 1fr; grid-auto-rows: auto; }
  .shot { grid-column: 1 / -1 !important; grid-row: auto !important; aspect-ratio: 4 / 3; }
  .shot.is-v { aspect-ratio: 3 / 4; }
  .reels__track { grid-auto-columns: 76vw; }
  .ba { border-radius: var(--r); }
  .ba__knob { width: 44px; height: 44px; }
  .footer__bot { justify-content: center; text-align: center; font-size: 10px; }
  .footer__marquee { top: 58px; }
  .footer__mid { padding-top: 92px; gap: 15px; }
  .pill { padding: 12px 20px; font-size: 13.5px; }
  .pill--sm { padding: 9px 16px; font-size: 12px; }
  .brandfilm__media { border-radius: var(--r); }
  .map, .map iframe { min-height: 300px; }
}

/* Toques finos para telas curtas em paisagem */
/* Viewport baixo: aperta o rodapé para nada ser cortado pela cortina. */
@media (max-height: 780px) {
  .footer__mid { gap: 14px; padding-top: 88px; }
  .footer__logo { width: clamp(140px, 19vw, 200px); }
  .footer__mid h2 { font-size: clamp(26px, 5vw, 44px); }
  .footer__nap { font-size: 11.5px; padding-bottom: 12px; gap: 2px; }
  .footer__marquee { top: 46px; padding: 10px 0; }
}

/* Muito baixo (celular pequeno ou paisagem): abre mão da cortina fixa e deixa
   o rodapé fluir na página, garantindo que nada some atrás do clip-path. */
@media (max-height: 700px) {
  .foot-shell { height: auto; min-height: 0; clip-path: none; }
  .footer {
    position: relative; height: auto; min-height: 0;
    padding-bottom: 8px;
  }
  .footer__mid { padding-top: 96px; padding-bottom: 26px; }
  .footer__giant { bottom: -2%; font-size: 34vw; }
}

/* Celulares estreitos (320px a 400px): aperta respiros e tipos */
@media (max-width: 400px) {
  :root { --pad: 16px; --r: 18px; --r-lg: 24px; }
  .hero__badge { padding: 7px 13px 7px 10px; font-size: 11px; gap: 7px; max-width: calc(100% - 2 * var(--pad)); }
  .hero__badge img { height: 13px !important; }
  .hero__lead { font-size: 14.5px; }
  .btn--lg { padding: 15px 24px; font-size: 15px; }
  .stat { padding: 17px 15px; }
  .stat__n { font-size: 30px; }
  .stat__l { font-size: 12px; }
  .exp__item { aspect-ratio: 4 / 3; }
  .exp__body { padding: 18px; }
  .exp__desc { font-size: 13px; }
  .tab { padding: 9px 14px; font-size: 13px; }
  .reels__track { grid-auto-columns: 78vw; }
  .review { padding: 18px; }
  .info__row { padding: 15px 16px; }
  .footer__nap { font-size: 11px; }
}

/* Celular deitado: a tela vira uma faixa baixa, então o hero encolhe */
@media (orientation: landscape) and (max-height: 520px) {
  .hero__stage { height: 100svh; min-height: 380px; }
  .hero__title { font-size: clamp(26px, 4.6vw, 46px); max-width: 22ch; }
  .hero__lead { display: none; }
  .hero__copy { bottom: 6%; }
  .hero__cta { margin-top: 18px; gap: 10px; }
  .hero__badge { top: calc(var(--nav-h) + 8px); }
  .exp { height: auto; }
}

/* Telas muito largas: mantém a medida de leitura e ganha respiro */
@media (min-width: 1600px) {
  :root { --wrap: 1440px; }
  .brandfilm__media { max-width: 1180px; }
  .ba { max-width: 1180px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal-up { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}


/* =========================================================
   BLOCO 2 — reformulação: mega menu, hero com carrossel,
   categorias, estrutura, formulário e rota.
   ========================================================= */

/* ---- CTA: hover em verde ---- */
.btn--solid:hover { background: var(--green); box-shadow: 0 18px 44px -18px rgba(11, 122, 59, 0.75); }
.btn--light:hover { background: var(--green); color: #fff; }
.btn--outline-light:hover { border-color: var(--green-soft); background: var(--green); color: #fff; }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.pill--red:hover, .pill:hover { background: var(--green) !important; border-color: var(--green) !important; color: #fff !important; }
.wa-float:hover { background: var(--green); }

.eyebrow--gold { color: var(--yellow); }
.eyebrow--gold::before { background: var(--yellow); }

/* ---- Mega menu "Soluções" ---- */
.drop { position: relative; }
.drop__trig {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; border: 0; border-radius: 100px; background: transparent;
  font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.88);
  cursor: pointer; transition: color 0.25s, background 0.25s;
}
.drop__trig svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.drop__trig:hover { color: #fff; background: rgba(255, 255, 255, 0.16); }
.nav.is-scrolled .drop__trig { color: var(--ink-soft); }
.nav.is-scrolled .drop__trig:hover { color: var(--red); background: rgba(var(--red-rgb), 0.07); }
.drop.is-open .drop__trig svg { transform: rotate(180deg); }

.drop__panel {
  position: fixed; top: calc(var(--nav-h) + 22px); right: max(13px, calc(50vw - var(--wrap) / 2));
  transform: translateY(-8px);
  width: min(calc(100vw - 26px), var(--wrap), 900px);
  background: #fff; border: 1px solid var(--line-soft); border-radius: 26px;
  box-shadow: var(--shadow); padding: 26px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.32s var(--ease), visibility 0.28s;
}
.drop.is-open .drop__panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.drop__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 22px; }
.drop__col { display: flex; flex-direction: column; }
.drop__cat {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -0.02em;
  color: var(--ink); padding: 6px 0 10px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line); transition: color 0.25s;
}
.drop__cat svg { width: 14px; height: 14px; opacity: 0; transform: translate(-4px, 4px); transition: opacity 0.25s, transform 0.25s var(--ease); }
.drop__cat:hover { color: var(--red); }
.drop__cat:hover svg { opacity: 1; transform: none; }
.drop__sub {
  font-size: 13.5px; color: var(--muted); padding: 6px 0;
  transition: color 0.22s, transform 0.22s var(--ease);
}
.drop__sub:hover { color: var(--red); transform: translateX(3px); }

/* ---- Menu mobile com acordeão ---- */
.menu { justify-content: flex-start; overflow-y: auto; }
.menu__scroll { display: flex; flex-direction: column; gap: 2px; }
.menu__acc { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.menu__acc summary {
  list-style: none; cursor: pointer;
  font-family: var(--display); font-weight: 800; font-size: clamp(30px, 8.5vw, 52px);
  letter-spacing: -0.035em; color: #fff; padding: 6px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.menu__acc summary::-webkit-details-marker { display: none; }
.menu__acc summary::after { content: "+"; font-size: 0.6em; font-weight: 400; opacity: 0.7; }
.menu__acc[open] summary::after { content: "–"; }
.menu__accbody { display: flex; flex-direction: column; padding: 4px 0 16px; }
.menu__accbody a {
  font-family: var(--font); font-size: 15px; font-weight: 400; letter-spacing: 0;
  color: rgba(255, 255, 255, 0.78); padding: 9px 0 9px 16px; border-bottom: 0;
}
.menu__accbody .menu__cat {
  font-weight: 700; font-size: 17px; color: #fff; padding-left: 0; margin-top: 12px;
}
.menu__accbody .menu__cat:first-child { margin-top: 0; }

/* ---- HERO ---- */
.hero__inner {
  position: absolute; inset: 0; z-index: 4;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding: calc(var(--nav-h) + 40px) var(--pad) 40px;
  display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(24px, 4vw, 64px);
  align-items: center;
  color: #fff; will-change: transform;
}
/* o hero antigo posicionava a coluna de texto no absoluto; agora ela é célula do grid */
.hero__copy {
  position: static; inset: auto; padding-inline: 0;
  max-width: none; margin-inline: 0; min-width: 0;
}
.hero__kicker {
  display: flex; align-items: center; gap: 12px; margin: 0 0 22px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.19em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
.hero__kicker i { width: 26px; height: 2px; background: var(--red); border-radius: 2px; flex: none; }
.hero__title {
  color: #fff; max-width: 14ch; text-transform: uppercase;
  font-weight: 300; letter-spacing: -0.018em; line-height: 1.02;
  font-size: clamp(34px, 5.4vw, 74px);
}
.hero__title b { font-weight: 700; }
.hero__title em { font-weight: 700; color: var(--red); }
.hero__lead {
  color: rgba(255, 255, 255, 0.82); max-width: 46ch; margin-top: 26px;
  text-transform: uppercase; font-size: 12.5px; font-weight: 400; letter-spacing: 0.03em; line-height: 1.75;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__cta .btn { text-transform: uppercase; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.hero__note {
  margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72);
}
.hero__note b { color: #fff; font-weight: 700; }

/* carrossel do hero */
.hslider { position: relative; align-self: center; }
.hslider__stage {
  position: relative; border-radius: 6px; overflow: hidden;
  aspect-ratio: 16 / 10; background: #14100e;
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.8);
}
.hslide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s var(--ease); }
.hslide.is-on { opacity: 1; }
.hslide img { width: 100%; height: 100%; object-fit: cover; }
.hslide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(10, 8, 7, 0.55) 58%, rgba(10, 8, 7, 0.9) 100%);
}
.hslide__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(18px, 2.4vw, 30px); }
.hslide__cat {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.82); margin-bottom: 10px;
}
.hslide__t {
  font-family: var(--display); font-weight: 700; color: #fff;
  font-size: clamp(19px, 2.1vw, 30px); line-height: 1.1; letter-spacing: -0.02em;
  text-transform: uppercase; max-width: 17ch;
}
.hslide__btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  padding: 11px 18px; border-radius: 3px; background: var(--red); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  transition: background 0.25s var(--ease), transform 0.25s var(--spring);
}
.hslide__btn svg { width: 12px; height: 12px; }
.hslide__btn:hover { background: var(--green); transform: translateY(-2px); }

.hslider__bar {
  display: flex; align-items: center; gap: 14px; margin-top: 14px;
  padding: 0 2px;
}
.hslider__nav {
  width: 42px; height: 38px; flex: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px; color: #fff;
  display: grid; place-content: center;
  transition: background 0.25s, border-color 0.25s;
}
.hslider__nav svg { width: 16px; height: 16px; }
.hslider__nav:hover { background: var(--green); border-color: var(--green); }
.hslider__dots { display: flex; align-items: center; gap: 7px; margin-inline: auto; }
.hslider__dot {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.32); transition: background 0.3s, width 0.3s var(--ease), border-radius 0.3s;
}
.hslider__dot.is-on { width: 26px; border-radius: 4px; background: var(--red); }
.hslider__count {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums; flex: none;
}
.hslider__count b { color: #fff; font-weight: 700; }

@media (max-width: 1000px) {
  .hero__stage { height: auto; min-height: 0; }
  .hero__inner {
    position: relative; inset: auto; grid-template-columns: 1fr;
    padding-top: calc(var(--nav-h) + 64px); padding-bottom: 56px; gap: 38px;
  }
  .hero__title { max-width: 100%; }
  .hslider__stage { aspect-ratio: 4 / 3; }
}

/* ---- Cards de solução: agora são links ---- */
.exp__link { position: absolute; inset: 0; display: block; color: inherit; }
.exp__go {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--yellow); opacity: 0; transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.exp__go svg { width: 13px; height: 13px; }
.exp__item.is-active .exp__go { opacity: 1; transform: none; }
@media (min-width: 901px) { .exp__item:not(.is-active) .exp__go { display: none; } }
@media (max-width: 900px) { .exp__go { opacity: 1; transform: none; } }

/* ---- Portfólio: quatro categorias ---- */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.6vw, 22px); margin-top: 38px; }
.cat {
  position: relative; display: block; border-radius: var(--r); overflow: hidden;
  background: var(--card); box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat__img { aspect-ratio: 16 / 11; overflow: hidden; background: var(--paper-2); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.cat:hover .cat__img img { transform: scale(1.05); }
.cat__bar { display: flex; align-items: center; gap: 16px; padding: 20px 22px; }
.cat__n {
  font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--red);
  letter-spacing: 0.06em; flex: none;
}
.cat__txt { display: grid; gap: 3px; min-width: 0; }
.cat__txt b { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-transform: uppercase; }
.cat__txt i { font-style: normal; font-size: 12.5px; color: var(--muted); }
.cat__go {
  margin-left: auto; flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-content: center;
  border: 1px solid var(--line); color: var(--ink);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.cat__go svg { width: 15px; height: 15px; }
.cat:hover .cat__go { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 780px) { .cats { grid-template-columns: 1fr; } }

/* ---- Estrutura ---- */
.struct { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 130px) 0; background: #201412; }
.struct__bg { position: absolute; inset: 0; }
.struct__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.struct__veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 10, 9, 0.6) 0%, rgba(74, 16, 14, 0.28) 44%, rgba(20, 10, 9, 0.5) 66%, rgba(20, 10, 9, 0.8) 100%);
}
.struct__ghost {
  position: absolute; left: clamp(-14px, 1vw, 40px); top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-weight: 700; font-size: clamp(130px, 17vw, 250px);
  line-height: 0.8; color: rgba(255, 255, 255, 0.09); letter-spacing: -0.05em;
  pointer-events: none; z-index: 1;
}
.struct__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 72px);
  align-items: center; padding-left: clamp(0px, 11vw, 190px);
}
.struct__h {
  color: #fff; font-weight: 300; letter-spacing: -0.022em; line-height: 1.08;
  font-size: clamp(30px, 4.4vw, 58px);
}
.struct__h b { font-weight: 700; }
.struct__p { color: rgba(255, 255, 255, 0.76); font-size: 14.5px; line-height: 1.8; max-width: 44ch; }
@media (max-width: 900px) {
  .struct__grid { grid-template-columns: 1fr; padding-left: 0; }
  .struct__ghost { top: 8px; transform: none; opacity: 0.7; }
}

/* ---- Formulário de contato ---- */
@media (min-width: 881px) { .contact__grid { grid-template-columns: 1.02fr 0.98fr; } }
/* item de grid nasce com min-width:auto e o conteúdo largo (select com opção
   comprida, email sem espaço) empurra a coluna para fora da tela */
.contact__grid > * { min-width: 0; }
.info__row { min-width: 0; }
.info__v { overflow-wrap: anywhere; }
.formcard {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-sm);
}
.formcard h3 { font-size: 24px; }
.formcard__help { color: var(--muted); font-size: 14px; margin: 6px 0 22px; }
.field { margin-bottom: 15px; }
.field label {
  display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 7px;
}
.field input, .field select {
  width: 100%; min-width: 0; font: inherit; font-size: 15.5px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px; min-height: 50px;
  transition: border-color 0.22s, background 0.22s, box-shadow 0.22s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a736a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 17px; padding-right: 42px;
}
.field input:focus, .field select:focus {
  outline: 0; background: #fff; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(var(--red-rgb), 0.12);
}
.field input:user-invalid, .field select:user-invalid { border-color: var(--red); }
.formcard__send { width: 100%; margin-top: 8px; }
.formcard__send svg { width: 18px; height: 18px; }
.formcard__priv { margin: 12px 0 0; font-size: 12px; color: var(--muted); text-align: center; }

/* ---- Rota / localização ---- */
.rota { position: relative; overflow: hidden; background: #14100e; padding: clamp(60px, 8vw, 110px) 0; }
.rota__bg { position: absolute; inset: 0; }
.rota__bg img, .rota__bg video { width: 100%; height: 100%; object-fit: cover; opacity: 0.95; }
.rota__veil { position: absolute; inset: 0; background: linear-gradient(96deg, rgba(14, 11, 10, 0.78) 0%, rgba(14, 11, 10, 0.5) 44%, rgba(14, 11, 10, 0.26) 100%); }
.rota__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 0.86fr 1.14fr; gap: clamp(28px, 4vw, 60px); align-items: center;
}
.rota__h { color: #fff; font-weight: 300; letter-spacing: -0.022em; line-height: 1.1; font-size: clamp(30px, 4.2vw, 56px); }
.rota__h b { font-weight: 700; color: var(--red); }
.rota__p { color: rgba(255, 255, 255, 0.75); font-size: 15px; margin-top: 18px; max-width: 38ch; }
.rota__addr {
  margin: 26px 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid; gap: 3px; color: rgba(255, 255, 255, 0.66); font-size: 13.5px;
}
.rota__k {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 7px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5);
}
.rota__k i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }
.rota__addr strong { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.rota__map { position: relative; border-radius: 4px; overflow: hidden; box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.85); }
.rota__map iframe { display: block; width: 100%; height: clamp(320px, 46vh, 460px); border: 0; }
.rota__tag {
  position: absolute; left: 0; bottom: 0; z-index: 2; display: grid; gap: 2px;
  padding: 12px 20px; background: rgba(14, 11, 10, 0.92); border-top: 2px solid var(--red);
  pointer-events: none;
}
.rota__tag i { font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.rota__tag b { font-size: 14px; font-weight: 700; color: #fff; }
@media (max-width: 900px) { .rota__grid { grid-template-columns: 1fr; } }


/* =========================================================
   BLOCO 3 — páginas internas de solução
   ========================================================= */
body.is-inner { background: var(--paper); }
body.is-inner .nav { position: fixed; }

.crumbs { padding: calc(var(--nav-h) + 34px) 0 0; position: relative; z-index: 3; }
.crumbs .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.crumbs a { transition: color 0.22s; }
.crumbs a:hover { color: var(--red); }
.crumbs i { font-style: normal; opacity: 0.4; }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }

.pghero { position: relative; overflow: hidden; background: #14100e; margin-top: 26px; padding: clamp(56px, 7vw, 96px) 0; }
.pghero__bg { position: absolute; inset: 0; }
.pghero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.pghero__veil { position: absolute; inset: 0; background: linear-gradient(96deg, rgba(14, 11, 10, 0.94) 26%, rgba(14, 11, 10, 0.58) 100%); }
.pghero__in { position: relative; z-index: 2; }
.pghero__h {
  color: #fff; font-weight: 300; letter-spacing: -0.022em; line-height: 1.06;
  font-size: clamp(31px, 5vw, 66px); text-transform: uppercase; max-width: 15ch;
}
.pghero__h b { font-weight: 700; color: var(--red); }
.pghero--sub .pghero__h b { color: #fff; }
.pghero__p { color: rgba(255, 255, 255, 0.8); max-width: 52ch; margin-top: 20px; font-size: 15px; }
.pghero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pghero__cta .btn { text-transform: uppercase; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; }

.subs { padding: clamp(56px, 7vw, 100px) 0 0; }
.subs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 34px; }
.subcard {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.subcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.subcard__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.subcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.subcard:hover .subcard__img img { transform: scale(1.05); }
.subcard__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.subcard__body h3 { font-size: 19px; text-transform: uppercase; letter-spacing: -0.01em; }
.subcard__body p { color: var(--muted); font-size: 14px; margin: 0; }
.subcard__go {
  margin-top: auto; padding-top: 6px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--red);
  transition: gap 0.25s var(--ease);
}
.subcard__go svg { width: 13px; height: 13px; }
.subcard:hover .subcard__go { gap: 12px; }

.pggal { padding: clamp(56px, 7vw, 100px) 0; }
.pggal__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 34px; }
.pgshot { position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.pgshot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.8s var(--ease); }
.pgshot:hover img { transform: scale(1.04); }
.pgshot figcaption {
  position: absolute; inset: auto 0 0 0; padding: 44px 20px 18px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(10, 8, 7, 0.86));
  display: grid; gap: 2px; font-size: 13px;
}
.pgshot figcaption b { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }

.subdet { padding: clamp(56px, 7vw, 100px) 0; }
.subdet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 60px); align-items: center; }
.subdet__media { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.subdet__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.subdet__txt h2 { font-size: clamp(26px, 3.4vw, 44px); margin-bottom: 16px; }
.subdet__txt p { color: var(--muted); }
.subdet__list { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.subdet__list li { background: var(--paper); padding: 14px 2px; font-size: 14.5px; display: flex; align-items: center; gap: 12px; }
.subdet__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }
@media (max-width: 860px) { .subdet__grid { grid-template-columns: 1fr; } }

.pagefoot { background: var(--ink); color: #fff; padding: clamp(50px, 7vw, 84px) 0 34px; position: relative; z-index: 2; }
.pagefoot__in { display: grid; gap: 30px; justify-items: center; text-align: center; }
.pagefoot__logo { width: clamp(150px, 20vw, 210px); }
.pagefoot__cta { display: grid; gap: 18px; justify-items: center; }
.pagefoot__cta h2 { font-size: clamp(26px, 3.6vw, 46px); }
.pagefoot__cta .btn { text-transform: uppercase; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; }
.pagefoot__cta { grid-auto-flow: row; }
.pagefoot__cta > .btn { display: inline-flex; }
.pagefoot__nap { font-style: normal; display: grid; gap: 5px; font-size: 13px; color: rgba(255, 255, 255, 0.62); }
.pagefoot__nap strong { color: #fff; font-size: 14px; }
.pagefoot__nap a:hover { color: var(--yellow); }
.pagefoot__bot { font-size: 12px; color: rgba(255, 255, 255, 0.42); margin: 0; }
@media (min-width: 700px) {
  .pagefoot__cta { grid-auto-flow: column; grid-template-columns: 1fr; }
  .pagefoot__cta h2 { grid-column: 1 / -1; }
}

/* ---- redes sociais ---- */
.info__v.socials { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.info__v.socials a {
  position: relative; font-size: 15px;
  border-bottom: 1px solid transparent; transition: color 0.22s, border-color 0.22s;
}
.info__v.socials a:hover { color: var(--red); border-bottom-color: var(--red); }

.pagefoot__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: 13.5px; }
.pagefoot__social a { color: rgba(255, 255, 255, 0.7); transition: color 0.22s; }
.pagefoot__social a:hover { color: var(--yellow); }

/* ---- vídeo na ficha da subcategoria ----
   Mantém a mesma grade das outras subcategorias; o vídeo é vertical, então
   ganha largura máxima própria em vez de esticar na coluna inteira. */
.subdet__media:has(.subdet__video) {
  position: relative; background: #14100e; max-width: 420px; margin-inline: auto;
}
.subdet__video {
  display: block; width: 100%; aspect-ratio: 9 / 16;
  object-fit: cover; background: #14100e;
}

/* Sombra no texto em vez de véu mais escuro: mantém a foto e o vídeo à mostra
   e ainda garante leitura sobre as áreas claras (parede, céu, concreto). */
.struct__h, .struct__p, .rota__h, .rota__p, .rota__addr, .rota__addr strong {
  text-shadow: 0 1px 16px rgba(8, 5, 5, 0.85), 0 1px 3px rgba(8, 5, 5, 0.6);
}

/* ============ Galeria da subcategoria ============
   Ocupa o espaço vazio à direita do título nas páginas de subcategoria.
   As imagens deslizam sozinhas para o lado, param no hover e podem ser
   trocadas na seta ou no ponto. O :has() garante que só as páginas que
   realmente têm galeria virem grade de duas colunas. */
.pghero__in:has(.subgal) {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 45%);
  gap: clamp(30px, 4vw, 68px);
}
.pghero__col { min-width: 0; }
.subgal { min-width: 0; align-self: center; }
.subgal__stage {
  position: relative; border-radius: 6px; overflow: hidden;
  aspect-ratio: 1 / 1; background: #14100e;
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.8);
}
.subgal__track { display: flex; height: 100%; will-change: transform; }
.subgal__track.is-anim { transition: transform 0.85s var(--ease); }
.subgal__slide { position: relative; flex: 0 0 100%; height: 100%; }
.subgal__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.subgal__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(10, 8, 7, 0.5) 70%, rgba(10, 8, 7, 0.92) 100%);
}
.subgal__cap { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(16px, 2.2vw, 28px); }
.subgal__cap b {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--yellow); margin-bottom: 8px;
}
.subgal__cap span {
  display: block; font-family: var(--display); font-weight: 700; color: #fff;
  font-size: clamp(16px, 1.7vw, 23px); line-height: 1.12;
  letter-spacing: -0.02em; text-transform: uppercase;
}
.subgal__bar { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 0 2px; }
.subgal__nav {
  width: 42px; height: 38px; flex: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px; color: #fff; display: grid; place-content: center;
  transition: background 0.25s, border-color 0.25s;
}
.subgal__nav svg { width: 16px; height: 16px; }
.subgal__nav:hover { background: var(--green); border-color: var(--green); }
.subgal__dots { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; margin-inline: auto; }
.subgal__dot {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.32);
  transition: background 0.3s, width 0.3s var(--ease), border-radius 0.3s;
}
.subgal__dot.is-on { width: 26px; border-radius: 4px; background: var(--red); }
.subgal__count {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums; flex: none;
}
.subgal__count b { color: #fff; font-weight: 700; }
@media (max-width: 1000px) {
  .pghero__in:has(.subgal) { grid-template-columns: 1fr; gap: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .subgal__track.is-anim { transition: none; }
}

/* ============ Vídeos do Instagram na subcategoria ============
   Ficam abaixo da ficha, separados da galeria de fotos. O iframe do
   Instagram avisa a altura real por postMessage; o script ajusta o card
   quando o aviso chega e, se não chegar, a altura padrão já serve. */
.igvid { padding: clamp(52px, 6vw, 92px) 0; background: var(--paper-2); }
.igvid__head { max-width: 62ch; margin-bottom: clamp(26px, 3vw, 38px); }
.igvid__head h2 { font-size: clamp(24px, 3vw, 40px); margin-bottom: 12px; }
.igvid__head p { color: var(--muted); }
.igvid__grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  max-width: 1080px;
}
.igvid__item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.igvid__frame { position: relative; width: 100%; height: 700px; background: #fff; }
.igvid__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.igvid__cap {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 18px; border-top: 1px solid var(--line);
}
.igvid__cap b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.igvid__cap a {
  flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red); transition: color 0.22s;
}
.igvid__cap a:hover { color: var(--green); }


/* =========================================================
   BLOCO 3 — barra de navegação centralizada, telefone com
   ligação direta, CTA de orçamento e pulso no WhatsApp.
   ========================================================= */

/* Os links ficam presos ao centro da barra. Assim a logo à esquerda e o botão
   à direita podem mudar de largura sem tirar o menu do eixo da página. */
.nav__links {
  position: absolute; left: 50%; transform: translateX(-50%);
  margin-left: 0;
}
.nav__links > a, .drop__trig, .nav__tel { text-transform: uppercase; white-space: nowrap; }
.nav__cta { margin-left: auto; }

/* Telefone da barra: mesmo desenho dos links, com ligação direta no clique. */
.nav__tel {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 100px;
  font-size: 14px; font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s, background 0.25s;
}
.nav__tel svg { width: 15px; height: 15px; flex: none; }
.nav__tel:hover { color: #fff; background: rgba(255, 255, 255, 0.16); }
.nav.is-scrolled .nav__tel { color: var(--ink-soft); }
.nav.is-scrolled .nav__tel:hover { color: var(--red); background: rgba(var(--red-rgb), 0.07); }

/* CTA da barra: borda vermelha nos dois estados da nav e hover verde, como o
   restante dos botões do site. */
.btn--outline-red { border-color: var(--red); color: #fff; background: transparent; }
.nav.is-scrolled .btn--outline-red { color: var(--red); }
.btn--outline-red:hover,
.nav.is-scrolled .btn--outline-red:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* Com telefone e botão na barra o menu precisa de mais largura: entre 1081px e
   1280px ele fica mais compacto, e abaixo disso volta a virar hambúrguer. */
@media (min-width: 1081px) and (max-width: 1280px) {
  .nav__links { gap: 2px; }
  .nav__links > a, .drop__trig, .nav__tel { padding-left: 9px; padding-right: 9px; font-size: 13px; }
  .nav__cta.btn--sm { padding: 10px 16px; font-size: 12.5px; }
}
@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav { padding: 10px 10px 10px 18px; }
}

/* Pulso do WhatsApp flutuante, no mesmo desenho da página da Motor Parts. */
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-pulso 2.4s ease-out infinite;
}
@keyframes wa-pulso {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::after { animation: none; } }

/* =========================================================
   Fotos: zoom no hover, miniaturas e tela cheia
   Vale para o carrossel do hero e para a galeria das páginas
   de subcategoria, que são as duas seções com foto grande.
   As miniaturas seguem a mesma ordem dos pontos que já
   existiam, e o clique na foto abre a versão inteira.
   ========================================================= */
.hslider__stage,
.subgal__stage { cursor: zoom-in; }

.hslide img,
.subgal__slide img { transition: transform 0.9s var(--ease); }

/* Só no ponteiro fino: no toque o hover fica preso depois do tap. */
@media (hover: hover) and (pointer: fine) {
  .hslider__stage:hover .hslide.is-on img,
  .subgal__stage:hover .subgal__slide img { transform: scale(1.07); }
}

/* ---- faixa de miniaturas abaixo do carrossel ---- */
.galthumbs {
  display: flex; gap: 6px; margin-top: 10px; padding-bottom: 2px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; -ms-overflow-style: none;
}
.galthumbs::-webkit-scrollbar { display: none; }
.galthumbs__b {
  flex: 0 0 auto; width: 62px; height: 50px; padding: 0; border: 0; cursor: pointer;
  border-radius: 4px; overflow: hidden; background: #14100e;
  opacity: 0.48; filter: saturate(0.7);
  transition: opacity 0.35s var(--ease), width 0.5s var(--ease), filter 0.35s;
}
.galthumbs__b img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galthumbs__b:hover { opacity: 0.85; }
.galthumbs__b.is-on { width: 116px; opacity: 1; filter: none; }

/* ---- tela cheia ---- */
.lbx {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(10, 8, 7, 0.985);
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px; padding: 64px clamp(12px, 3vw, 34px) clamp(14px, 3vw, 26px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.lbx.is-on { opacity: 1; visibility: visible; }
/* Flex, e não grid, porque o max-height em porcentagem da foto só resolve
   contra uma altura definida: numa linha de grade dimensionada pelo
   conteúdo a conta fica circular e a foto passava por cima das miniaturas. */
.lbx__stage {
  position: relative; min-height: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.lbx__img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; border-radius: 6px; display: block;
}
.lbx__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; flex: none; padding: 0; cursor: pointer;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--ink);
  display: grid; place-content: center;
  transition: background 0.25s, box-shadow 0.25s;
}
.lbx__nav:hover { background: #fff; box-shadow: 0 8px 26px -10px rgba(0, 0, 0, 0.7); }
.lbx__nav svg { width: 18px; height: 18px; }
.lbx__nav--prev { left: clamp(4px, 1.6vw, 24px); }
.lbx__nav--next { right: clamp(4px, 1.6vw, 24px); }
.lbx__count {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  padding: 7px 17px; border-radius: 999px;
  background: rgba(10, 8, 7, 0.62); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums; pointer-events: none;
}
.lbx__close {
  position: absolute; top: clamp(12px, 2.4vw, 22px); right: clamp(12px, 2.4vw, 26px);
  width: 40px; height: 40px; padding: 0; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: #fff;
  display: grid; place-content: center;
  transition: background 0.25s, border-color 0.25s;
}
.lbx__close:hover { background: var(--red); border-color: var(--red); }
.lbx__close svg { width: 15px; height: 15px; }
/* width max-content + margem automática centraliza a faixa sem esconder
   a primeira miniatura quando ela é maior que a tela. */
.lbx__caixa { min-width: 0; }
.lbx__thumbs {
  margin: 0 auto; width: max-content; max-width: 100%;
}
.lbx__thumbs .galthumbs__b { width: 72px; height: 58px; }
.lbx__thumbs .galthumbs__b.is-on { width: 136px; }

@media (max-width: 700px) {
  .lbx__nav { width: 38px; height: 38px; }
  .galthumbs__b { width: 52px; height: 44px; }
  .galthumbs__b.is-on { width: 92px; }
  .lbx__thumbs .galthumbs__b { width: 56px; height: 46px; }
  .lbx__thumbs .galthumbs__b.is-on { width: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  .hslide img, .subgal__slide img { transition: none; }
  .hslider__stage:hover .hslide.is-on img,
  .subgal__stage:hover .subgal__slide img { transform: none; }
  .galthumbs__b, .lbx { transition: none; }
}

/* Recorte do slide. O zoom vale para a foto de todos os slides, e a
   esteira da subcategoria mantém os vizinhos lado a lado dentro do
   mesmo palco. Sem o recorte no próprio slide, a foto vizinha crescia
   para fora da largura dela e aparecia na borda do slide visível. */
.hslide,
.subgal__slide { overflow: hidden; }
