/* =========================================================
   WrapLab — Estética Automóvel · Website de demonstração
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plexmono-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plexmono-500-latin.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  --ink: #0a0a0b;
  --ink-2: #111214;
  --graphite: #1a1b1e;
  --graphite-2: #26282c;
  --steel: #8b9099;
  --steel-2: #b8bdc5;
  --paper: #eeede9;
  --paper-2: #e2e1dc;
  --white: #ffffff;
  --accent: #ff4d1c;
  --wa: #1fb855;
  --line-d: rgba(255, 255, 255, .13);
  --line-l: rgba(10, 10, 11, .16);
  --f-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --pad: clamp(20px, 4.2vw, 64px);
  --max: 1480px;
  --ease: cubic-bezier(.16, .84, .24, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
body {
  margin: 0; background: var(--ink); color: var(--white);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg use { pointer-events: none; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.accent { color: var(--accent); font-weight: inherit; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: #fff; padding: 10px 16px; transition: top .2s; }
.skip:focus { top: 12px; }

.light { background: var(--paper); color: var(--ink); }
.dark { background: var(--ink); color: var(--white); }

/* ---------- tipografia ---------- */
.display {
  font-family: var(--f-sans);
  font-stretch: 70%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7.2vw, 7.4rem);
  line-height: .86;
  letter-spacing: -.012em;
}
.display .mask--light, .hero__title .mask--light {
  font-stretch: 122%;
  font-weight: 250;
  text-transform: none;
  letter-spacing: -.035em;
  font-size: .62em;
  line-height: 1.05;
  margin-top: .12em;
}
.label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  margin-bottom: clamp(22px, 3vw, 36px);
}
.label .idx {
  display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 6px;
  border: 1px solid currentColor; border-radius: 0; font-size: 11px;
}
.dark .label { color: var(--steel-2); }
.light .label { color: #4b4e54; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.35rem); line-height: 1.45; font-weight: 400; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-2); }
.eyebrow__bar { width: 42px; height: 1px; background: var(--accent); }

/* máscara de linhas */
.mask { display: block; overflow: hidden; padding: .04em 0 .06em; margin: -.04em 0 -.06em; }
.mask > span { display: block; }

/* ---------- botões ---------- */
.btn {
  --bg: var(--white); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-sans); font-weight: 600; font-stretch: 100%; font-size: 15px; letter-spacing: .01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease), transform .5s var(--ease);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hov, var(--ink));
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .45s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover svg { transform: translateX(4px); }
.btn > * { position: relative; }
.btn--accent { --bg: var(--accent); --fg: #fff; --hov: #fff; }
.btn--accent:hover { color: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); --hov: var(--accent); }
.btn--light:hover { color: #fff; }
.btn--dark { --bg: var(--ink); --fg: #fff; --hov: var(--accent); }
.btn--ghost { --bg: transparent; --fg: #fff; --hov: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.btn--ghost:hover { color: var(--ink); }
.btn--ghost-dark { --bg: transparent; --fg: var(--ink); --hov: var(--ink); box-shadow: inset 0 0 0 1px var(--line-l); }
.btn--ghost-dark:hover { color: #fff; }
.btn--wa { --bg: var(--wa); --fg: #fff; --hov: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--sm svg { width: 17px; height: 17px; }
.link { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 6px; }
.link svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link:hover svg { transform: translateX(5px); }

/* ---------- progresso ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--pad);
  color: #fff; transition: background-color .4s, transform .5s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(10, 10, 11, .78); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-color: var(--line-d); }
.header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 46px; height: 46px; transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(-30deg); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__txt strong { font-stretch: 112%; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.brand__txt small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-2); margin-top: 3px; }
.nav { display: flex; gap: clamp(16px, 2vw, 32px); }
.nav a { position: relative; font-size: 14px; font-weight: 500; padding: 6px 0; color: rgba(255,255,255,.86); transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 48px; height: 48px; position: relative; margin-right: -10px; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: #fff; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 28px; }
.menu-open .burger span:first-child { top: 23.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 23.5px; transform: rotate(-45deg); }

/* menu mobile */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--pad) calc(28px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
.menu__hex { position: absolute; inset: 0; background: url("../images/hex.svg") 0 0 / 48.5px 84px; opacity: .06; pointer-events: none; }
.menu__nav { position: relative; display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-d);
  font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 10vw, 4rem); line-height: 1;
  opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .7s var(--ease), color .3s;
}
.menu__nav a i { font-style: normal; font-family: var(--f-mono); font-size: 11px; font-weight: 500; color: var(--accent); letter-spacing: .1em; }
.menu__nav a:hover { color: var(--accent); }
.menu-open .menu__nav a { opacity: 1; transform: none; }
.menu-open .menu__nav a:nth-child(1) { transition-delay: .25s; }
.menu-open .menu__nav a:nth-child(2) { transition-delay: .3s; }
.menu-open .menu__nav a:nth-child(3) { transition-delay: .35s; }
.menu-open .menu__nav a:nth-child(4) { transition-delay: .4s; }
.menu-open .menu__nav a:nth-child(5) { transition-delay: .45s; }
.menu-open .menu__nav a:nth-child(6) { transition-delay: .5s; }
.menu__foot { position: relative; display: grid; gap: 14px; margin-top: 28px; }
.menu__foot a { display: flex; align-items: center; gap: 12px; color: var(--steel-2); font-size: 15px; }
.menu__foot svg { width: 20px; height: 20px; color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center;
  padding: calc(var(--header-h) + 30px) var(--pad) 90px;
  background:
    radial-gradient(ellipse 60% 70% at 78% 45%, rgba(110, 118, 132, .22), transparent 70%),
    linear-gradient(180deg, #0a0a0b 0%, #101114 100%);
}
.hero__hex {
  position: absolute; inset: 0; pointer-events: none;
  background: url("../images/hex.svg") 0 0 / 48.5px 84px; opacity: .1;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 75% 40%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 60% at 75% 40%, #000 10%, transparent 75%);
}
.hero__hex::after { /* luz a varrer o padrão, como as luzes hexagonais do estúdio */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.9) 50%, transparent 65%) 0 0 / 300% 100% no-repeat;
  -webkit-mask: url("../images/hex.svg") 0 0 / 48.5px 84px; mask: url("../images/hex.svg") 0 0 / 48.5px 84px;
  animation: sweep 9s var(--ease-io) 1.5s infinite;
  opacity: .5;
}
@keyframes sweep { 0% { background-position: 120% 0; } 60%, 100% { background-position: -40% 0; } }
.hero__giant {
  position: absolute; left: 50%; bottom: -.17em; transform: translateX(-50%);
  font-stretch: 62%; font-weight: 900; font-size: 27vw; line-height: .8; letter-spacing: -.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); pointer-events: none; user-select: none;
}
.hero__content { grid-column: 1 / 8; grid-row: 1; position: relative; z-index: 2; padding-bottom: 20px; }
.hero__eyebrow { margin-bottom: clamp(22px, 3vh, 34px); }
.hero__title {
  font-stretch: 68%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(3.4rem, 9.6vw, 10.4rem); line-height: .84; letter-spacing: -.01em;
}
.hero__title .mask--light { font-size: .5em; margin-top: .14em; }
.hero__title .mask--light + .mask--light { margin-top: 0; }
.hero__sub { max-width: 34ch; margin-top: clamp(24px, 3.4vh, 36px); font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: rgba(255,255,255,.78); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 4vh, 42px); }

.hero__media { grid-column: 8 / 13; grid-row: 1; position: relative; z-index: 1; height: min(calc(100vh - var(--header-h) - 150px), 860px); min-height: 440px; display: flex; justify-content: flex-end; align-items: center; }
.hero__frame { position: relative; height: 100%; aspect-ratio: 9 / 16; background: #15161a; box-shadow: 0 40px 120px -30px rgba(0,0,0,.8); }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.25) 0%, transparent 22%, transparent 70%, rgba(10,10,11,.55) 100%); pointer-events: none; }
.hero__tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 10px; font-size: 11px; color: #fff; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,77,28,.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,77,28,.55); } 70% { box-shadow: 0 0 0 9px rgba(255,77,28,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,28,0); } }
.hero__toggle { position: absolute; right: 12px; bottom: 10px; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: rgba(10,10,11,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.2); }
.hero__toggle svg { width: 14px; height: 14px; }
.corner { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(255,255,255,.75); z-index: 2; pointer-events: none; }
.corner--tl { top: -10px; left: -10px; border-top-width: 1px; border-left-width: 1px; }
.corner--tr { top: -10px; right: -10px; border-top-width: 1px; border-right-width: 1px; }
.corner--bl { bottom: -10px; left: -10px; border-bottom-width: 1px; border-left-width: 1px; }
.corner--br { bottom: -10px; right: -10px; border-bottom-width: 1px; border-right-width: 1px; }
.hero__still { position: absolute; left: -2%; bottom: 3%; width: 32%; max-width: 190px; z-index: 3; box-shadow: 0 30px 80px -20px rgba(0,0,0,.9); }
.hero__still img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero__still figcaption { position: absolute; left: 0; top: 100%; margin-top: 10px; font-size: 10px; color: var(--steel-2); white-space: nowrap; }
.hero__foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.scrollcue { display: flex; align-items: center; gap: 14px; color: var(--steel-2); }
.scrollcue__line { position: relative; width: 1px; height: 46px; background: rgba(255,255,255,.2); overflow: hidden; }
.scrollcue__line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 45%; background: #fff; animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(230%); } }
.hero__specs { display: flex; gap: 22px; color: var(--steel); font-size: 11px; }
.hero__specs li { display: flex; align-items: center; gap: 8px; }
.hero__specs li::before { content: ""; width: 5px; height: 5px; border: 1px solid var(--steel); transform: rotate(45deg); }

/* ---------- faixa ---------- */
.marquee { background: var(--paper); color: var(--ink); overflow: hidden; border-bottom: 1px solid var(--line-l); padding: clamp(18px, 2.4vw, 30px) 0; }
.marquee__track { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1; white-space: nowrap; }
.marquee span.o { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.marquee svg { width: clamp(18px, 2vw, 28px); height: clamp(18px, 2vw, 28px); color: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- estúdio ---------- */
.about { padding: clamp(90px, 12vw, 180px) 0 clamp(80px, 10vw, 150px); position: relative; }
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.about .label { grid-column: 1 / -1; }
.about__title { grid-column: 1 / 9; grid-row: 2; }
.about__text { grid-column: 9 / 13; grid-row: 2; align-self: end; display: grid; gap: 20px; color: #2c2e33; }
.about__text .lead { color: var(--ink); }
.about__text .link { justify-self: start; margin-top: 8px; color: var(--ink); }
.about__collage { grid-column: 1 / -1; grid-row: 3; position: relative; height: clamp(520px, 58vw, 820px); margin-top: clamp(60px, 8vw, 120px); }
.about__collage figure { position: absolute; overflow: hidden; }
.about__collage figure img { width: 100%; height: 100%; object-fit: cover; }
.about__collage figcaption { position: absolute; left: 14px; bottom: 12px; color: #fff; font-size: 10.5px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.c1 { left: 8%; top: 0; width: 34%; height: 92%; }
.c2 { left: 50%; top: 14%; width: 24%; height: 78%; }
.c3 { right: 0; top: 0; width: 18%; aspect-ratio: 305 / 340; }
.stamp { position: absolute; right: 7%; bottom: 2%; width: clamp(130px, 13vw, 190px); aspect-ratio: 1; display: grid; place-items: center; }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.stamp text { font-family: var(--f-mono); font-size: 13.2px; letter-spacing: .2em; fill: var(--ink); font-weight: 500; }
.stamp img { width: 48%; }
@keyframes spin { to { transform: rotate(360deg); } }
.pillars { grid-column: 1 / -1; grid-row: 4; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-l); margin-top: clamp(50px, 7vw, 100px); }
.pillars li { padding: 28px 24px 8px 0; position: relative; }
.pillars li + li { padding-left: 24px; border-left: 1px solid var(--line-l); }
.pillars .mono { color: var(--accent); font-size: 11px; }
.pillars h3 { font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1; margin: 14px 0 10px; }
.pillars p { color: #45484e; font-size: 15px; max-width: 26ch; }

/* ---------- cabeçalhos de secção ---------- */
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-bottom: clamp(56px, 8vw, 120px); }
.sec-head .label { grid-column: 1 / -1; }
.sec-head .display { grid-column: 1 / 9; }
.sec-head__aside { grid-column: 9 / 13; align-self: end; font-size: 16px; max-width: 34ch; }
.dark .sec-head__aside { color: var(--steel-2); }
.light .sec-head__aside { color: #45484e; }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.sec-head--row .sec-head__aside { flex: 0 1 34ch; }

/* ---------- serviços ---------- */
.services { padding: clamp(90px, 12vw, 180px) 0 clamp(90px, 11vw, 160px); position: relative; background: linear-gradient(180deg, var(--ink) 0%, var(--graphite) 100%); }
.feats { display: grid; gap: clamp(80px, 11vw, 170px); }
.feat { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.feat__num {
  position: absolute; top: -0.32em; left: -.04em; z-index: 0; pointer-events: none;
  font-stretch: 62%; font-weight: 900; font-size: clamp(8rem, 19vw, 18rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.13);
}
.feat__media { grid-column: 2 / 7; position: relative; z-index: 1; aspect-ratio: 4 / 5; }
.feat__media > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.feat__inset { position: absolute; right: -14%; bottom: -10%; width: 42%; aspect-ratio: 4 / 5; object-fit: cover; border: 6px solid var(--ink); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.feat__media--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; aspect-ratio: auto; }
.feat__media--duo img { width: 100%; aspect-ratio: 3 / 4.3; object-fit: cover; }
.feat__media--duo img:last-child { margin-top: 22%; }
.feat__body { grid-column: 8 / 13; position: relative; z-index: 1; display: grid; gap: 22px; justify-items: start; }
.feat__kicker { color: var(--accent); }
.feat__title { font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.8rem, 4.9vw, 5.4rem); line-height: .88; overflow-wrap: anywhere; }
.feat__body > p:not(.mono) { color: rgba(255,255,255,.76); max-width: 42ch; font-size: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--line-d); padding: 7px 11px; font-size: 11px; color: var(--steel-2); }
.feat--rev .feat__media { grid-column: 7 / 12; grid-row: 1; }
.feat--rev .feat__body { grid-column: 1 / 6; grid-row: 1; }
.feat--rev .feat__num { left: auto; right: -.04em; }
.feat--rev .feat__inset { right: auto; left: -14%; }

.index-head { margin-top: clamp(110px, 13vw, 190px); }
.index-head .label { margin-bottom: 20px; }
.sindex { border-top: 1px solid var(--line-d); }
.srow {
  position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; gap: 24px;
  padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line-d);
}
.srow::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.05), transparent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); pointer-events: none; }
.srow:hover::before { transform: scaleX(1); }
.srow__n { color: var(--steel); }
.srow__t { font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 4.2rem); line-height: .92; transition: transform .6s var(--ease), color .4s; }
.srow:hover .srow__t { transform: translateX(14px); }
.srow__d { color: var(--steel-2); font-size: 15.5px; max-width: 40ch; }
.srow__thumb { display: none; }
.srow__cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; padding: 12px 0 12px 16px; white-space: nowrap; }
.srow__cta svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.srow__cta::after { content: ""; position: absolute; inset: 0; } /* linha inteira clicável */
.srow:hover .srow__cta { color: var(--accent); }
.srow:hover .srow__cta svg { transform: translateX(5px); }
.hover-preview {
  position: fixed; left: 0; top: 0; z-index: 60; width: 230px; aspect-ratio: 4 / 5; overflow: hidden; pointer-events: none;
  opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) translate(-50%, -50%) scale(.85);
  transition: opacity .35s, transform .45s var(--ease);
}
.hover-preview.is-on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) translate(-50%, -50%) scale(1) rotate(-3deg); }
.hover-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- projetos ---------- */
.projects { padding: clamp(90px, 12vw, 180px) 0 clamp(80px, 10vw, 150px); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 12vw, 185px); grid-auto-flow: dense; gap: clamp(10px, 1.2vw, 18px); }
.g { position: relative; overflow: hidden; background: var(--paper-2); grid-row: span 2; cursor: zoom-in; }
.g--tall { grid-row: span 3; }
.g:nth-child(3n+2) { grid-row: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.g:hover img { transform: scale(1.06); }
.g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,10,11,.7)); opacity: .85; transition: opacity .5s; pointer-events: none; }
.g__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; gap: 10px; align-items: baseline; color: #fff; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; transition: transform .5s var(--ease); }
.g__cap i { font-style: normal; color: var(--accent); }
.g:hover .g__cap { transform: translateY(-4px); }
.projects__more { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(40px, 5vw, 70px); padding-top: 28px; border-top: 1px solid var(--line-l); }
.projects__more p { font-stretch: 112%; font-weight: 300; font-size: clamp(1.3rem, 2.2vw, 2rem); letter-spacing: -.02em; }

/* ---------- oficina / vídeos ---------- */
.workshop { padding: clamp(90px, 12vw, 180px) 0; background: var(--graphite); position: relative; overflow: hidden; }
.workshop__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.workshop__intro { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 22px; }
.workshop__intro .label { margin-bottom: 0; }
.workshop__intro > p:last-child { color: var(--steel-2); max-width: 32ch; }
.vcard--a { grid-column: 6 / 9; }
.vcard--b { grid-column: 10 / 13; margin-top: clamp(120px, 16vw, 240px); }
.vplayer { position: relative; aspect-ratio: 9 / 16; background: #000; overflow: hidden; }
.vplayer video { width: 100%; height: 100%; object-fit: cover; }
.vplayer__btn { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.5)); transition: opacity .4s; }
.vplayer__btn svg { width: 78px; height: 78px; padding: 26px; color: var(--ink); background: #fff; border-radius: 50%; transition: transform .5s var(--ease), background .3s, color .3s; }
.vplayer__btn:hover svg { transform: scale(1.1); background: var(--accent); color: #fff; }
.vplayer.is-playing .vplayer__btn { opacity: 0; pointer-events: none; }
.vcard figcaption { display: grid; gap: 4px; margin-top: 16px; }
.vcard figcaption .mono { color: var(--accent); font-size: 11px; }
.vcard figcaption strong { font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.vcard figcaption span:last-child { color: var(--steel-2); font-size: 14.5px; }

/* ---------- antes & depois ---------- */
.results { padding: clamp(90px, 12vw, 180px) 0; background: var(--paper-2); }
.results__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 60px; align-items: start; }
.case--slider { grid-column: 1 / 6; }
.case--duo { grid-column: 7 / 13; margin-top: clamp(0px, 10vw, 160px); }
.case__meta { display: grid; gap: 6px; margin-top: 20px; }
.case__meta .mono { color: var(--accent); font-size: 11px; }
.case__meta h3 { font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1; }
.case__meta p { color: #45484e; font-size: 15.5px; }
.ba { position: relative; overflow: hidden; aspect-ratio: 844 / 1250; background: #ccc; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); -webkit-clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; box-shadow: 0 0 18px rgba(0,0,0,.35); }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .3s var(--ease); }
.ba__handle svg { width: 16px; height: 16px; }
.ba__handle svg:first-child { transform: scaleX(-1); }
.ba.is-drag .ba__handle span { transform: scale(.9); }
.ba__tag { position: absolute; top: 14px; z-index: 2; padding: 6px 10px; font-size: 10.5px; background: rgba(10,10,11,.75); color: #fff; pointer-events: none; }
.ba__tag--l { left: 14px; }
.ba__tag--r { right: 14px; background: var(--accent); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.ba:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.duo figure { position: relative; overflow: hidden; }
.duo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo figure:hover img { transform: scale(1.05); }
.duo figcaption { position: absolute; top: 14px; left: 14px; padding: 6px 10px; font-size: 10.5px; background: rgba(10,10,11,.75); color: #fff; }
.duo figure:last-child figcaption { background: var(--accent); }

/* ---------- PPF ---------- */
.ppf { position: relative; overflow: hidden; padding: clamp(100px, 13vw, 200px) 0; background: radial-gradient(ellipse 70% 60% at 20% 30%, #1c1e22 0%, var(--ink) 70%); }
.ppf__giant {
  position: absolute; right: -.06em; top: .02em; pointer-events: none; user-select: none;
  font-stretch: 62%; font-weight: 900; font-size: clamp(14rem, 38vw, 40rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08);
}
.ppf__hex { position: absolute; inset: 0; background: url("../images/hex.svg") 0 0 / 48.5px 84px; opacity: .05; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); pointer-events: none; }
.ppf__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(60px, 8vw, 110px); align-items: start; }
.ppf__hero { grid-column: 1 / 7; position: relative; }
.ppf__hero img { width: 100%; aspect-ratio: 924 / 1180; object-fit: cover; object-position: 50% 30%; }
.ppf__hero figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; display: grid; gap: 4px; background: linear-gradient(180deg, transparent, rgba(10,10,11,.85)); }
.ppf__hero figcaption strong { font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; }
.ppf__hero figcaption .mono { font-size: 10.5px; color: var(--steel-2); }
.ppf__hero figcaption .mono:first-child { color: var(--accent); }
.ppf__body { grid-column: 8 / 13; display: grid; gap: 28px; justify-items: start; padding-top: clamp(0px, 4vw, 60px); }
.ppf__body .label { margin-bottom: 0; }
.ppf__body .lead { color: rgba(255,255,255,.8); }
.steps { width: 100%; border-top: 1px solid var(--line-d); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line-d); }
.steps .mono { color: var(--accent); padding-top: 5px; }
.steps h3 { font-stretch: 100%; font-weight: 700; font-size: 18px; }
.steps p { color: var(--steel-2); font-size: 15px; }
.ppf__detail { grid-column: 3 / 11; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: end; }
.lens-wrap { position: relative; overflow: hidden; cursor: crosshair; }
.lens-img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; object-position: 50% 45%; }
.lens {
  position: absolute; left: 0; top: 0; width: 190px; height: 190px; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(255,255,255,.8); box-shadow: 0 20px 50px rgba(0,0,0,.6), inset 0 0 0 6px rgba(10,10,11,.35);
  background-repeat: no-repeat; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .3s, transform .4s var(--ease);
}
.lens.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.zooms { display: grid; gap: 24px; }
.zoom { position: relative; width: 100%; aspect-ratio: 1.6 / 1; background: url("../images/ppf-detalhe.jpg") var(--zx) var(--zy) / 300% auto no-repeat; border: 1px solid var(--line-d); }
.zoom span { position: absolute; left: 12px; bottom: 10px; font-size: 10.5px; background: rgba(10,10,11,.7); padding: 5px 9px; }
.zoom::before { content: ""; position: absolute; top: 12px; right: 12px; width: 14px; height: 14px; border-top: 1px solid #fff; border-right: 1px solid #fff; }
.ppf__note { grid-column: 1 / -1; color: var(--steel); font-size: 10.5px; }

/* ---------- orçamento ---------- */
.quote { padding: clamp(90px, 12vw, 180px) 0; position: relative; }
.quote__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 50px; align-items: start; }
.quote__intro { grid-column: 1 / 6; display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 40px); }
.quote__intro .label { margin-bottom: 0; }
.quote__intro > p:not(.label) { color: #45484e; max-width: 36ch; }
.quote__contacts { display: grid; border-top: 1px solid var(--line-l); margin-top: 10px; }
.quote__contacts a { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-l); font-weight: 600; transition: padding .4s var(--ease), color .3s; }
.quote__contacts a:hover { padding-left: 10px; color: var(--accent); }
.quote__contacts svg { width: 24px; height: 24px; flex: none; }
.quote__contacts span { display: grid; }
.quote__contacts small { color: #6a6d73; font-size: 10.5px; }
.formcard { grid-column: 7 / 13; background: #fff; padding: clamp(24px, 3.4vw, 52px); position: relative; box-shadow: 0 40px 100px -50px rgba(10,10,11,.35); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%); }
.formcard::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 3px; background: var(--accent); }
.qform { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
.field { position: relative; display: grid; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-l); border-radius: 0; padding: 26px 0 10px; outline: none;
  transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field label { position: absolute; left: 0; top: 24px; color: #6a6d73; font-size: 17px; pointer-events: none; transform-origin: 0 0; transition: transform .35s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.72); color: var(--ink); }
.qform[hidden] { display: none; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.hint { font-size: 12.5px; color: #8a8d93; margin-top: 6px; }
.err { font-size: 13px; color: #d23a12; min-height: 0; margin-top: 6px; font-weight: 500; }
.err:empty { display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #d23a12; }
.chips { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips legend { font-size: 13px; color: #6a6d73; padding: 0; margin-bottom: 12px; }
.chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: 10px 14px; border: 1px solid var(--line-l); font-size: 14px; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips.is-invalid span { border-color: rgba(210, 58, 18, .5); }
.qform__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.qform__legal { color: #8a8d93; font-size: 10.5px; }
.qready { display: grid; gap: 18px; }
.qready[hidden] { display: none; }
.qready__k { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.qready__msg { margin: 0; white-space: pre-wrap; word-break: break-word; font-family: var(--f-mono); font-size: 13.5px; line-height: 1.6; background: var(--paper); padding: 20px; border-left: 3px solid var(--wa); color: #222; max-height: 360px; overflow: auto; }
.qready__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- rodapé ---------- */
.footer { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 170px) 0 calc(36px + env(safe-area-inset-bottom)); }
.footer__hex { position: absolute; inset: 0; background: url("../images/hex.svg") 0 0 / 48.5px 84px; opacity: .06; -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000, transparent 75%); pointer-events: none; }
.footer .wrap { position: relative; }
.footer__cta { display: grid; gap: 36px; justify-items: start; padding-bottom: clamp(70px, 9vw, 130px); border-bottom: 1px solid var(--line-d); }
.footer__cta .display { font-size: clamp(3rem, 9vw, 9.6rem); }
.footer__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 56px 0; }
.footer__brand { display: flex; gap: 22px; align-items: flex-start; }
.footer__brand img { width: 84px; height: 84px; flex: none; }
.footer__brand p { color: var(--steel-2); font-size: 15px; }
.footer__h { color: var(--steel); margin-bottom: 16px; font-size: 11px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { position: relative; font-size: 15.5px; transition: color .3s; }
.footer ul a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; padding-top: 26px; border-top: 1px solid var(--line-d); color: var(--steel); font-size: 13.5px; }
.footer__demo { font-size: 10.5px; color: var(--steel); max-width: 60ch; }
.totop { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.totop svg { width: 16px; height: 16px; transform: rotate(-90deg); }

/* ---------- barra mobile ---------- */
.mbar { display: none; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 150; background: rgba(8, 8, 9, .96); display: flex; align-items: center; justify-content: center; padding: 70px 80px; opacity: 0; transition: opacity .4s; }
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb__fig { position: relative; display: grid; gap: 14px; justify-items: center; max-height: 100%; }
.lb__fig img { max-width: min(86vw, 760px); max-height: calc(100vh - 170px); max-height: calc(100svh - 170px); width: auto; height: auto; object-fit: contain; transform: scale(.96); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.lb.is-open .lb__fig img.is-ready { transform: none; opacity: 1; }
.lb__fig figcaption { display: flex; gap: 14px; color: var(--steel-2); font-size: 11px; }
.lb__count { color: var(--accent); }
.lb__close, .lb__nav { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; color: #fff; border: 1px solid var(--line-d); background: rgba(255,255,255,.03); transition: background .3s, border-color .3s; }
.lb__close:hover, .lb__nav:hover { background: var(--accent); border-color: var(--accent); }
.lb__close svg, .lb__nav svg { width: 22px; height: 22px; }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 18px; top: 50%; margin-top: -26px; }
.lb__prev svg { transform: scaleX(-1); }
.lb__next { right: 18px; top: 50%; margin-top: -26px; }
.lb-open, .menu-lock { overflow: hidden; }

/* =========================================================
   Animações de revelação (apenas com JS ativo)
   ========================================================= */
.js [data-reveal]:not([data-reveal="lines"]):not([data-reveal="img"]):not([data-reveal="frame"]) { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in:not([data-reveal="lines"]):not([data-reveal="img"]):not([data-reveal="frame"]) { opacity: 1; transform: none; }
.js [data-reveal="lines"] .mask > span, .js .hero__title .mask > span { transform: translate3d(0, 108%, 0); transition: transform 1.25s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="lines"].is-in .mask > span, .js .is-loaded .hero__title .mask > span { transform: none; }
.js [data-reveal="img"] { clip-path: inset(100% 0 0 0); -webkit-clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io), -webkit-clip-path 1.4s var(--ease-io); transition-delay: var(--d, 0s); }
.js [data-reveal="img"] img { transform: scale(1.18); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="img"].is-in { clip-path: inset(0 0 0 0); -webkit-clip-path: inset(0 0 0 0); }
.js [data-reveal="img"].is-in img { transform: scale(1); }
.js [data-reveal="img"].is-in.g:hover img, .js .duo figure:hover img { transform: scale(1.06); }
.js .feat__media[data-reveal="img"] { clip-path: none; -webkit-clip-path: none; }
.js .feat__media[data-reveal="img"] > img:first-child { clip-path: inset(0 0 100% 0); -webkit-clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-io), -webkit-clip-path 1.4s var(--ease-io), transform 1.8s var(--ease); }
.js .feat__media[data-reveal="img"].is-in > img:first-child { clip-path: inset(0); -webkit-clip-path: inset(0); }
.js .feat__media[data-reveal="img"] .feat__inset { opacity: 0; transform: translate3d(0, 50px, 0); transition: opacity 1s var(--ease) .5s, transform 1.4s var(--ease) .5s; }
.js .feat__media[data-reveal="img"].is-in .feat__inset { opacity: 1; transform: none; }
.js .feat__media--duo[data-reveal="img"] img { clip-path: inset(100% 0 0 0); -webkit-clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-io), -webkit-clip-path 1.3s var(--ease-io); }
.js .feat__media--duo[data-reveal="img"] img:last-child { transition-delay: .2s; }
.js .feat__media--duo[data-reveal="img"].is-in img { clip-path: inset(0); -webkit-clip-path: inset(0); transform: none; }
.js .hero__frame[data-reveal="frame"] { clip-path: inset(50% 0 50% 0); -webkit-clip-path: inset(50% 0 50% 0); transition: clip-path 1.6s var(--ease-io) .2s, -webkit-clip-path 1.6s var(--ease-io) .2s; }
.js .hero__frame[data-reveal="frame"] .hero__video { transform: scale(1.25); transition: transform 2.4s var(--ease) .2s; }
.js .is-loaded .hero__frame[data-reveal="frame"] { clip-path: inset(-20px); -webkit-clip-path: inset(-20px); }
.js .is-loaded .hero__frame[data-reveal="frame"] .hero__video { transform: none; }
.js .hero__giant { opacity: 0; transform: translateX(-50%) translateY(10%); transition: opacity 2s ease .6s, transform 2.4s var(--ease) .6s; }
.js .is-loaded .hero__giant { opacity: 1; transform: translateX(-50%); }

[data-speed] { will-change: transform; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__cta { display: none; }
  .sec-head .display { grid-column: 1 / -1; }
  .sec-head__aside { grid-column: 1 / -1; margin-top: 26px; }
  .sec-head--row { display: grid; }
  .sec-head--row .sec-head__aside { margin-top: 0; }
  .about__title { grid-column: 1 / -1; }
  .about__text { grid-column: 1 / 9; grid-row: 3; margin-top: 40px; }
  .about__collage { grid-row: 4; }
  .pillars { grid-row: 5; grid-template-columns: 1fr 1fr; }
  .pillars li:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillars li:nth-child(n+3) { border-top: 1px solid var(--line-l); }
  .feat__media { grid-column: 1 / 7; }
  .feat--rev .feat__media { grid-column: 7 / 13; }
  .feat--rev .feat__body { grid-column: 1 / 6; }
  .workshop__intro { grid-column: 1 / -1; position: static; margin-bottom: 60px; }
  .vcard--a { grid-column: 1 / 7; }
  .vcard--b { grid-column: 7 / 13; margin-top: 120px; }
  .ppf__hero { grid-column: 1 / 7; }
  .ppf__body { grid-column: 7 / 13; }
  .ppf__detail { grid-column: 1 / -1; }
  .quote__intro { grid-column: 1 / -1; position: static; }
  .formcard { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; }
  .brand img { width: 40px; height: 40px; }

  /* hero mobile: vídeo vertical em ecrã inteiro */
  .hero { display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 20px) var(--pad) 92px; min-height: 100vh; min-height: 100svh; }
  .hero__media { position: absolute; inset: 0; height: auto; min-height: 0; display: block; }
  .hero__frame { position: absolute; inset: 0; height: 100%; width: 100%; aspect-ratio: auto; box-shadow: none; }
  .hero__frame::after { background: linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,0) 18%, rgba(10,10,11,0) 26%, rgba(10,10,11,.62) 44%, rgba(10,10,11,.82) 70%, rgba(10,10,11,.95) 100%); }
  .hero__eyebrow { color: #fff; }
  .corner, .hero__still, .hero__giant, .hero__hex { display: none; }
  .hero__tag { left: var(--pad); top: calc(var(--header-h) + 14px); bottom: auto; font-size: 10px; }
  .hero__toggle { top: calc(var(--header-h) + 6px); bottom: auto; right: var(--pad); }
  .js .hero__frame[data-reveal="frame"] { clip-path: inset(0); -webkit-clip-path: inset(0); }
  .js .hero__frame[data-reveal="frame"] .hero__video { transform: scale(1.12); }
  .hero__content { padding-bottom: 0; }
  .hero__title { font-size: clamp(3.3rem, 15.5vw, 6.5rem); }
  .hero__title .mask--light { font-size: .52em; }
  .hero__sub { color: rgba(255,255,255,.86); }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__foot { bottom: 22px; }
  .hero__specs { display: none; }
  .scrollcue__line { height: 34px; }

  .display { font-size: clamp(2.7rem, 12.4vw, 5rem); }
  .display .mask--light { font-size: .6em; }
  .about__text { grid-column: 1 / -1; }
  .about__collage { height: auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; align-items: start; }
  .about__collage figure { position: relative; inset: auto; width: auto; height: auto; }
  .c1 { grid-row: span 2; aspect-ratio: 9 / 15; }
  .c2 { aspect-ratio: 3 / 4; margin-top: 40px; }
  .c3 { aspect-ratio: 1; }
  .stamp { position: absolute; left: auto; top: auto; right: -8px; bottom: -46px; width: 104px; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li, .pillars li + li { padding: 22px 0; border-left: 0; }
  .pillars li + li { border-top: 1px solid var(--line-l); }

  .feat { display: flex; flex-direction: column; align-items: stretch; gap: 54px; }
  .feat__num { font-size: 9rem; top: -.4em; }
  .feat__media, .feat--rev .feat__media { width: 84%; }
  .feat--rev .feat__media { align-self: flex-end; }
  .feat__inset { right: -12%; width: 46%; }
  .feat--rev .feat__inset { left: -12%; }
  .feat__media--duo { width: 100% !important; }
  .feat__title { font-size: clamp(2.3rem, 11.2vw, 4.6rem); overflow-wrap: normal; }

  .srow { grid-template-columns: 1fr 84px; grid-template-areas: "n thumb" "t thumb" "d d" "c c"; gap: 6px 18px; }
  .srow__n { grid-area: n; }
  .srow__t { grid-area: t; font-size: clamp(2rem, 9vw, 3rem); }
  .srow__d { grid-area: d; margin-top: 10px; }
  .srow__thumb { display: block; grid-area: thumb; width: 84px; height: 100px; object-fit: cover; align-self: start; }
  .srow__cta { grid-area: c; padding-left: 0; justify-self: start; color: var(--accent); }
  .srow:hover .srow__t { transform: none; }
  .hover-preview { display: none; }

  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; }
  .g, .g:nth-child(3n+2) { grid-row: span 1; }
  .g--tall { grid-row: span 2; }
  .g__cap { font-size: 10px; left: 10px; bottom: 9px; }

  .vcard--a { grid-column: 1 / 9; }
  .vcard--b { grid-column: 5 / 13; margin-top: 44px; }
  .workshop__grid { row-gap: 0; }
  .vcard--b figcaption { padding-left: 0; }
  .vcard figcaption strong { font-size: 1.5rem; }

  .case--slider, .case--duo { grid-column: 1 / -1; margin-top: 0; }

  .ppf__hero, .ppf__body { grid-column: 1 / -1; }
  .ppf__hero { margin-right: calc(var(--pad) * -1); margin-left: calc(var(--pad) * -1); }
  .ppf__detail { grid-template-columns: 1fr; }
  .zooms { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lens { display: none; }

  .qform { grid-template-columns: 1fr; }
  .qform__foot .btn { width: 100%; }
  .qready__actions .btn { flex: 1 1 100%; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }

  .mbar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80; gap: 8px;
    transform: translateY(140%); transition: transform .6s var(--ease);
  }
  .mbar.is-on { transform: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; min-height: 54px; box-shadow: 0 14px 40px rgba(0,0,0,.35); }
  .mbar__main { flex: 1; gap: 10px; background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; }
  .mbar__main svg { width: 18px; height: 18px; }
  .mbar__wa { width: 54px; background: var(--wa); color: #fff; }
  .mbar__wa svg { width: 24px; height: 24px; }

  .lb { padding: 64px 12px 80px; }
  .lb__fig img { max-width: 100%; max-height: calc(100svh - 190px); }
  .lb__nav { top: auto; bottom: 16px; margin-top: 0; }
  .lb__prev { left: calc(50% - 60px); }
  .lb__next { right: calc(50% - 60px); }
}

@media (max-width: 420px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .btn { padding: 0 20px; }
  .label { gap: 10px; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* sem hover (toque): sem efeitos dependentes do cursor */
@media (hover: none) {
  .g:hover img, .duo figure:hover img { transform: none; }
  .lens-wrap { cursor: default; }
}

/* =========================================================
   Movimento reduzido
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal] img, .js [data-reveal] .mask > span, .js .hero__title .mask > span, .js .hero__giant, .js .hero__frame, .js .hero__video, .js .feat__media > img, .js .feat__inset {
    opacity: 1 !important; transform: none !important; clip-path: none !important; -webkit-clip-path: none !important;
  }
  .js .hero__giant { transform: translateX(-50%) !important; }
  .marquee__track { animation: none; }
  .hero__hex::after { display: none; }
}
