/* =========================================================
   Marmoraria Fantini · prévia
   Cores tiradas das próprias pedras: branco Carrara (fundo),
   Preto São Gabriel (tinta e campos escuros), cinza dos veios.
   ========================================================= */

@font-face {
  font-family: 'Clash Grotesk';
  src: url('../fonts/clash-grotesk-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clash Grotesk';
  src: url('../fonts/clash-grotesk-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  --paper: #ecebe7;       /* branco Carrara */
  --paper-2: #e1dfd9;     /* um tom abaixo, para superfícies */
  --ink: #151515;         /* preto São Gabriel */
  --ink-soft: #4a4945;    /* cinza do veio */
  --soot: #141414;
  --soot-2: #1f1f1e;
  --on-dark: #ecebe7;
  --on-dark-soft: #a7a59f;
  --accent: #3f5e50;      /* verde de pedra, só no foco */

  --font: 'Clash Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --step-small: clamp(0.9375rem, 0.9rem + 0.1vw, 1rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  --step-head: clamp(2.25rem, 1.4rem + 3.4vw, 4.5rem);
  --step-sub: clamp(1.75rem, 1.3rem + 2vw, 3rem);
  --step-big: min(clamp(3.5rem, 1rem + 7.4vw, 8.5rem), 12vh);

  --m: clamp(20px, 4vw, 64px);
  --gap: clamp(16px, 2vw, 32px);
  --section: clamp(72px, 8vw, 136px);
  --header-h: 72px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; left: var(--m); top: 12px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 18px;
  transform: translateY(-160%); transition: transform 200ms var(--ease-out);
}
.skip:focus { transform: none; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-inline: var(--m);
}

.section-title {
  font-size: var(--step-head);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font-size: var(--step-body); font-weight: 500; letter-spacing: -0.005em;
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, transform 140ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: var(--step-small); }
.btn--tall { min-height: 56px; }
.btn--block { display: flex; width: 100%; }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) {
  .btn--paper:hover { background: #fff; }
  .btn--ink:hover { background: #2c2c2b; }
}

.link {
  font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
  transition: text-underline-offset 250ms var(--ease-out), text-decoration-color 250ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-underline-offset: 9px; }
}

/* ---------- Marcas da prévia ---------- */
.demo-tag, .demo-nota, .demo-pendencias { display: none; }
.is-demo .demo-tag {
  display: block; position: absolute; left: 10px; bottom: 10px;
  background: rgba(20, 20, 20, 0.72); color: var(--on-dark);
  font-size: var(--step-small); line-height: 1; padding: 7px 9px; pointer-events: none;
}
.is-demo .demo-nota { display: block; }
.is-demo .demo-pendencias { display: block; }

/* =========================================================
   Cabeçalho
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--on-dark);
  transition: background-color 300ms ease, color 300ms ease, transform 400ms var(--ease-out);
}
.site-header.is-solid { background: var(--paper); color: var(--ink); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
  padding-inline: var(--m);
}
.wordmark {
  font-size: var(--step-body); font-weight: 500; letter-spacing: -0.02em; text-decoration: none;
  margin-right: auto; white-space: nowrap;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark-logo { width: auto; height: 34px; flex: none; }
.wordmark-a { font-weight: 400; }
.nav ul { display: flex; gap: 28px; }
.nav a {
  text-decoration: none; font-size: var(--step-small); font-weight: 500;
  opacity: 0.85; transition: opacity 200ms ease;
  padding-block: 10px;
}
@media (hover: hover) and (pointer: fine) { .nav a:hover { opacity: 1; } }
.site-header.is-solid .header-cta { background: var(--ink); color: var(--paper); }
.menu-toggle {
  display: none; background: none; border: 0; padding: 12px 0; cursor: pointer;
  font-size: var(--step-body); font-weight: 500;
}

.menu-movel {
  position: fixed; inset: 0; z-index: 45; background: var(--paper); color: var(--ink);
  padding: calc(var(--header-h) + 24px) var(--m) 32px;
  display: flex; flex-direction: column; gap: 32px;
}
.menu-movel[hidden] { display: none; }
.menu-movel a:not(.btn) { text-decoration: none; font-size: 9vw; font-weight: 500; letter-spacing: -0.03em; line-height: 1.25; }
.menu-movel-info { color: var(--ink-soft); margin-top: auto; }
.menu-aberto .site-header { background: var(--paper); color: var(--ink); }

/* =========================================================
   Hero: o nome à esquerda e uma parede de obras correndo à direita
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  height: 100vh; /* taste-skill-ignore: fallback */ height: 100svh; min-height: 680px;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: minmax(0, 1fr);
  background: var(--soot); color: var(--on-dark);
}
.hero::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 140px; z-index: 3;
  background: linear-gradient(to bottom, rgba(12, 12, 12, 0.7), rgba(12, 12, 12, 0)); /* taste-skill-ignore: scrim neutro do menu */
  pointer-events: none;
}
.hero-texto {
  position: relative; z-index: 2;
  padding: calc(var(--header-h) + 24px) var(--m) clamp(32px, 6vh, 72px);
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
}
.hero-marca { display: flex; flex-direction: column; align-items: flex-start; align-self: flex-start; gap: 26px; margin: 0; font-weight: 500; }
/* o logotipo fica centrado sobre o nome, no lugar que a cliente marcou */
.hero-marca .hero-logo-disco { align-self: center; }
.hero-logo-disco {
  display: grid; place-items: center; width: clamp(96px, 8vw, 128px); aspect-ratio: 1;
  border-radius: 50%; background: var(--paper);
}
.hero-logo { width: 56%; height: auto; }
.hero-nome { display: flex; flex-direction: column; font-size: clamp(3rem, 1rem + 4vw, 5.5rem); line-height: 0.92; letter-spacing: -0.045em; }
.hero-nome .linha { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-nome .linha > span { display: inline-block; }
.hero-lead { font-size: var(--step-lead); line-height: 1.3; max-width: 26ch; color: var(--on-dark); }
.hero-acoes { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-cta { margin-right: 6px; }
.hero-nota { font-size: var(--step-small); color: var(--on-dark-soft); }
.hero-nota a { text-decoration: none; }
.estrelas { display: inline-flex; gap: 2px; margin-right: 8px; vertical-align: -2px; color: #e3c06a; }
.estrelas svg { width: 14px; height: 14px; fill: currentColor; }

/* a parede: três colunas de fotos e vídeos, uma descendo entre duas subindo */
.parede {
  position: relative; z-index: 1; height: 100%; min-height: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 12px;
  padding-inline: 12px;
  transform: rotate(-5deg) scale(1.18); transform-origin: 50% 50%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); /* taste-skill-ignore: fade das bordas da parede */
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); /* taste-skill-ignore: fade das bordas da parede */
}
.coluna { min-width: 0; min-height: 0; }
.coluna-trilho { display: flex; flex-direction: column; will-change: transform; }
.tile { margin: 0 0 12px; overflow: hidden; background: var(--soot-2); aspect-ratio: 3 / 4; }
.tile--video { aspect-ratio: 9 / 16; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.motion .coluna-trilho { animation: subir 52s linear infinite; }
.motion .coluna--2 .coluna-trilho { animation-name: descer; animation-duration: 64s; }
.motion .coluna--3 .coluna-trilho { animation-duration: 46s; }
@keyframes subir { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes descer { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@media (hover: hover) and (pointer: fine) {
  .parede:hover .coluna-trilho { animation-play-state: paused; }
}

/* ícones de WhatsApp e Instagram */
.social {
  width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  color: inherit; border: 1px solid currentColor; text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease, transform 140ms var(--ease-out);
}
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social:active { transform: scale(0.94); }
.hero-social, .header-social, .menu-social, .footer-social { display: flex; gap: 10px; }
.hero-social .social { color: var(--on-dark); border-color: #4a4945; }
@media (hover: hover) and (pointer: fine) {
  .hero-social .social:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
  .header-social .social:hover { background: rgba(255, 255, 255, 0.14); }
}
.header-social { margin-right: 4px; }
.header-social .social { width: 40px; height: 40px; border-color: rgba(255, 255, 255, 0.45); }
.site-header.is-solid .header-social .social, .menu-aberto .header-social .social { border-color: #c9c7c0; }
.header-social .social svg { width: 18px; height: 18px; }
.menu-social .social { color: var(--ink); border-color: #c9c7c0; }
.footer-social .social { color: var(--on-dark); border-color: #4a4945; }

/* entrada: o anel do logotipo se fecha, as letras aparecem e a parede sobe */
.js.motion .hero-logo { opacity: 0; transform: rotate(-90deg) scale(0.8); }
.js.motion .hero-logo-disco { transform: scale(0.6); opacity: 0; }
.js.motion [data-coluna] { opacity: 0; }

/* =========================================================
   Intro
   ========================================================= */
.intro { padding-block: var(--section); }
.intro .grid { row-gap: 0; align-items: start; }
.intro-text {
  grid-column: 6 / -1; grid-row: 1;
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem);
  line-height: 1.22; letter-spacing: -0.02em;
  text-indent: 3em; max-width: 34ch;
}
.intro-body { grid-column: 7 / 12; grid-row: 2; margin-top: 32px; max-width: 44ch; }
.intro-photo {
  grid-column: 1 / 6; grid-row: 1 / 4; align-self: start;
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
}
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-note {
  grid-column: 7 / 11; grid-row: 3; align-self: end;
  font-size: var(--step-small); color: var(--ink-soft); line-height: 1.6;
  max-width: 34ch; margin-top: 32px;
}

/* =========================================================
   Piso de mármore: nas seções abertas o fundo é a própria chapa
   ========================================================= */
.piso {
  background-color: var(--paper);
  background-image: url('../img/piso-marmore-claro.webp');
  background-size: cover; background-position: 50% 50%;
}
.piso--alto { background-image: url('../img/piso-marmore-alto.webp'); background-position: 50% 0; }

/* =========================================================
   Da chapa à obra: vídeo em pé e etapas que acompanham o vídeo
   ========================================================= */
.processo { padding-block: var(--section); }
.processo-grid { align-items: center; row-gap: 40px; }
.processo-video {
  grid-column: 2 / 6; position: relative; overflow: hidden; background: var(--soot);
  aspect-ratio: 9 / 16; width: 100%; max-height: 84vh; justify-self: center;
}
.processo-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.processo-barra { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, 0.28); }
.processo-barra span { display: block; height: 100%; width: 0; background: #fff; }
.processo-pausa {
  position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(20, 20, 20, 0.55); color: #fff;
}
.processo-pausa svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.processo-pausa .i-play { display: none; fill: currentColor; stroke: none; }
.processo-pausa[aria-pressed='true'] .i-pausa { display: none; }
.processo-pausa[aria-pressed='true'] .i-play { display: block; }
.processo-selo {
  position: absolute; left: 14px; bottom: 22px; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; background: var(--paper); color: var(--ink);
  font-size: var(--step-small); font-weight: 500;
}
.selo-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 0.875rem; }
.etapas button { position: relative; overflow: hidden; }
.etapa-linha { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.etapa-linha i { display: block; height: 100%; width: 0; background: var(--paper); }
.etapas button:not(.is-ativa) .etapa-linha i { width: 0 !important; }
.processo-texto { grid-column: 7 / -1; }
.processo-intro { margin-top: 18px; max-width: 36ch; font-size: var(--step-lead); line-height: 1.3; background: var(--paper); padding: 4px 0; }
.etapas { margin-top: 32px; display: grid; gap: 8px; }
.etapas button {
  width: 100%; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start;
  padding: 18px 22px; border: 0; cursor: pointer; text-align: left;
  background: rgba(236, 235, 231, 0.88); color: var(--ink-soft);
  transition: background-color 300ms ease, color 300ms ease, transform 140ms var(--ease-out);
}
.etapas button:active { transform: scale(0.99); }
.etapas button.is-ativa { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .etapas button:not(.is-ativa):hover { background: var(--paper); color: var(--ink); } }
.etapa-n { font-size: var(--step-sub); font-weight: 500; line-height: 0.9; letter-spacing: -0.03em; }
.etapa-txt strong { display: block; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; margin-bottom: 4px; }

/* =========================================================
   Mostruário de pedras
   ========================================================= */
.mostruario {
  background: var(--soot); color: var(--on-dark);
  padding-block: clamp(64px, 6vw, 96px) clamp(48px, 4vw, 72px);
  --cw: min(19vw, 28vh);
  overflow: hidden;
}
.mostruario-topo { align-items: end; row-gap: 28px; }
.mostruario-title { grid-column: 1 / 7; }
.mostruario-filtros { grid-column: 7 / -1; display: flex; flex-direction: column; gap: 16px; }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; }
.filtros button {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--soot-2); color: var(--on-dark); font-size: var(--step-small); font-weight: 500;
  transition: background-color 200ms ease, color 200ms ease, transform 140ms var(--ease-out);
}
.filtros button:active { transform: scale(0.97); }
.filtros button[aria-pressed='true'] { background: var(--on-dark); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .filtros button[aria-pressed='false']:hover { background: #2e2e2c; }
}
.filtro-desc { color: var(--on-dark); max-width: 46ch; min-height: 3.1em; }

.trilho {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-block: clamp(32px, 3vw, 48px) 20px;
  cursor: grab; outline-offset: -3px;
}
.trilho::-webkit-scrollbar { display: none; }
.trilho.is-arrastando { cursor: grabbing; scroll-snap-type: none; }
.chapas {
  display: flex; gap: clamp(20px, 2.4vw, 40px); width: max-content;
  padding-inline: calc(50vw - var(--cw) / 2);
}
.chapa {
  flex: none; width: var(--cw); scroll-snap-align: center;
  display: flex; flex-direction: column; gap: 14px;
  transform-origin: 50% 60%;
  user-select: none;
}
.chapa[hidden] { display: none; }
.chapa img {
  width: 100%; aspect-ratio: 5 / 8; object-fit: cover; background: var(--soot-2);
  pointer-events: none;
}
.chapa-legenda { font-size: var(--step-body); color: var(--on-dark); transition: opacity 300ms ease; }
/* o nome da chapa em destaque aparece grande logo abaixo; as distantes ficam sem legenda */
.chapa.is-ativa .chapa-legenda, .chapa.is-longe .chapa-legenda { visibility: hidden; }
.trilho.is-rolando { scroll-snap-type: none; }
.chapa img { transition: transform 450ms var(--ease-out), filter 300ms ease; }
@media (hover: hover) and (pointer: fine) {
  /* com o mouse em cima a fila para e a chapa apontada se destaca das outras */
  .chapa:hover img { transform: translateY(-18px); filter: brightness(1.08); }
  .chapa:not(.is-ativa):hover .chapa-legenda { visibility: visible; }
}
/* reflexo de luz passando pela chapa em destaque */
.chapa { position: relative; }
.chapa::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0;
  aspect-ratio: 5 / 8; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 62%); /* taste-skill-ignore: reflexo na pedra polida */
  background-size: 250% 100%; background-position: 120% 0;
  mix-blend-mode: soft-light;
}
.motion .chapa.is-ativa::after { opacity: 1; animation: reflexo 5.5s var(--ease-in-out) infinite; }
@keyframes reflexo { 0%, 30% { background-position: 120% 0; } 75%, 100% { background-position: -20% 0; } }

.mostruario-base { align-items: end; row-gap: 20px; }
.chapa-info { grid-column: 1 / 9; }
.chapa-nome { font-size: var(--step-sub); font-weight: 500; line-height: 1; letter-spacing: -0.035em; }
.chapa-desc { margin-top: 10px; max-width: 52ch; color: var(--on-dark); }
.chapa-desc [data-chapa-tipo] { font-weight: 500; }
.setas { grid-column: 10 / -1; justify-self: end; display: flex; gap: 8px; }
.seta {
  width: 56px; height: 56px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--on-dark); color: var(--ink);
  display: grid; place-items: center;
  transition: transform 140ms var(--ease-out), background-color 200ms ease, opacity 200ms ease;
}
.seta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.seta:active { transform: scale(0.94); }
.seta:disabled { opacity: 0.3; cursor: default; }
.seta--pausa { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1px #4a4945; }
.seta--pausa .i-play { fill: currentColor; stroke: none; }
.seta--pausa .i-play, .seta--pausa[aria-pressed='true'] .i-pausa { display: none; }
.seta--pausa[aria-pressed='true'] .i-play { display: block; }
@media (hover: hover) and (pointer: fine) { .seta--pausa:hover { background: var(--soot-2) !important; } }
@media (hover: hover) and (pointer: fine) { .seta:not(:disabled):hover { background: #fff; } }
.mostruario-nota a { color: var(--on-dark); }
.mostruario-nota { grid-column: 1 / -1; max-width: 72ch; font-size: var(--step-small); color: var(--on-dark-soft); }
.chapa-acab { margin-top: 16px; }
.chapa-acab[hidden] { display: none; }

/* =========================================================
   Acabamentos (a borda)
   ========================================================= */
.acabamentos { padding-block: var(--section); }
.acabamentos .grid { align-items: center; row-gap: 48px; }
.acabamentos-texto { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 24px; }
.acabamentos-texto > p { max-width: 36ch; }
.perfis { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.perfis button {
  min-height: 48px; padding: 0 20px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--paper-2); color: var(--ink); font-weight: 500; font-size: var(--step-small);
  transition: background-color 200ms ease, color 200ms ease, transform 140ms var(--ease-out);
}
.perfis button:active { transform: scale(0.97); }
.perfis button[aria-checked='true'] { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) {
  .perfis button[aria-checked='false']:hover { background: #d4d2cb; }
}
.perfil-desc { color: var(--ink); min-height: 3.2em; max-width: 36ch; }
.perfil-figura { grid-column: 6 / -1; }
.perfil-figura svg { background: var(--soot-2); }
.perfil-figura svg { width: 100%; height: auto; display: block; overflow: visible; }
.perfil-armario { fill: #2e2620; }
.perfil-pedra { fill: url(#textura-pedra); }
.perfil-junta { stroke: #6f6d68; stroke-width: 0.6; fill: none; opacity: 0; transition: opacity 400ms ease; }
.perfil-junta.is-on { opacity: 1; }
.perfil-cota path { stroke: var(--on-dark); stroke-width: 0.8; fill: none; }
.perfil-cota text { font-family: var(--font); font-size: 7px; fill: var(--on-dark); }
.perfil-figura figcaption { margin-top: 20px; font-size: var(--step-small); color: var(--ink-soft); max-width: 48ch; }

/* =========================================================
   Aplicações (diagonal)
   ========================================================= */
.aplicacoes { padding-block: var(--section); }
.aplicacoes-grid { row-gap: 0; align-items: start; }
.aplicacoes-title { grid-column: 6 / -1; grid-row: 1; align-self: start; }
.aplic { position: relative; overflow: hidden; }
.aplic img { width: 100%; height: 100%; object-fit: cover; }
.aplic--1 { grid-column: 1 / 6; grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.aplic-texto { max-width: 36ch; }
.aplic-texto h3 { font-size: var(--step-sub); font-weight: 500; line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 14px; }
.aplic-texto { background: var(--paper); padding: 22px 24px; }
.aplic-texto--1 { grid-column: 1 / 6; grid-row: 3; align-self: start; max-width: none; }
.aplic--2 { grid-column: 6 / 10; grid-row: 2; aspect-ratio: 1; margin-top: 40px; }
.aplic-texto--2 { grid-column: 10 / 13; grid-row: 2; align-self: end; }
.aplic--3 { grid-column: 7 / 12; grid-row: 3 / 6; aspect-ratio: 4 / 5; margin-top: var(--gap); }
.aplic-texto--3 { grid-column: 1 / 6; grid-row: 4; align-self: start; padding-top: 8px; max-width: none; } /* continua o painel de Cozinhas */
.aplic-tambem {
  grid-column: 1 / 6; grid-row: 5; align-self: start; margin-top: var(--gap);
  background: var(--ink); color: var(--paper); padding: 22px 24px; max-width: none !important;
  font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; max-width: 22ch;
}

/* =========================================================
   Faixa em movimento
   ========================================================= */
.marquee {
  background: var(--soot); color: var(--on-dark); overflow: hidden;
  padding-block: clamp(20px, 3vw, 44px);
}
.marquee-track {
  display: flex; align-items: center; gap: 0.4em; width: max-content;
  font-size: var(--step-big); font-weight: 500; letter-spacing: -0.04em; line-height: 1;
  white-space: nowrap; will-change: transform;
}
.marquee-track span { padding-inline: 0.2em; }
.marquee-track i {
  display: inline-block; width: 0.22em; height: 0.22em; border-radius: 50%;
  background: currentColor; flex: none;
}

/* =========================================================
   Obras: a chapa inteira que se corta em peças
   ========================================================= */
.corte { padding-block: var(--section); }
.corte-palco { display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 48px); }
.corte-topo { align-items: end; row-gap: 20px; }
.corte-titulo { grid-column: 1 / 8; }
.corte-intro { grid-column: 8 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.corte-intro p { max-width: 40ch; }
.chapa-corte {
  position: relative; margin-inline: var(--m);
  display: grid; gap: 10px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 1fr));
  grid-template-areas:
    "a a a a a b b b c c c c"
    "a a a a a b b b c c c c"
    "a a a a a b b b c c c c"
    "a a a a a f f f f g g g"
    "d d e e e f f f f g g g"
    "d d e e e f f f f g g g";
  height: min(calc(100vw - 2 * var(--m)) / 2, calc(100vh - 350px));
  min-height: 420px;
}
.motion .chapa-corte { gap: 0; }
.peca {
  position: relative; overflow: hidden; display: block; background: var(--paper-2);
  text-decoration: none; color: #fff;
}
.peca--a { grid-area: a; } .peca--b { grid-area: b; } .peca--c { grid-area: c; } .peca--d { grid-area: d; }
.peca--e { grid-area: e; } .peca--f { grid-area: f; } .peca--g { grid-area: g; }
.peca img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
/* a pedra bruta: a mesma textura em todas as peças, alinhada como se fosse uma chapa só */
.peca-pedra { display: none; }
.motion .peca-pedra {
  display: block; position: absolute; inset: 0;
  background: #e9e7e2 url('../img/veio-marmore-branco.webp') no-repeat;
  background-size: var(--cw, 100%) var(--ch, 100%);
  background-position: calc(var(--px, 0px) * -1) calc(var(--py, 0px) * -1);
}
.peca-nome {
  position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px);
  padding: 7px 12px; background: rgba(21, 21, 21, 0.82); color: var(--paper);
  font-size: var(--step-small); font-weight: 500; line-height: 1.25;
}
.corte-linha { position: absolute; background: var(--ink); pointer-events: none; z-index: 2; }
.corte-linha--v { width: 2px; transform-origin: 50% 0; }
.corte-linha--h { height: 2px; transform-origin: 0 50%; }
@media (hover: hover) and (pointer: fine) {
  .peca:hover img { transform: scale(1.05); }
}

/* =========================================================
   Antes e depois
   ========================================================= */
.antes-depois { padding-block: var(--section); background: var(--paper-2); }
.ad-grid { align-items: center; row-gap: 32px; }
.ad-texto { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 18px; }
.ad-texto p { max-width: 34ch; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; }
.ad-texto .ad-dica { font-size: var(--step-small); color: var(--ink-soft); letter-spacing: 0; }
.ad-quadro {
  --pos: 50%;
  grid-column: 6 / -1; position: relative; overflow: hidden; background: var(--soot);
  aspect-ratio: 4 / 5; width: min(100%, calc(84vh * 0.8)); justify-self: center;
  touch-action: pan-y; user-select: none;
}
.ad-quadro img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.ad-depois { clip-path: inset(0 0 0 var(--pos)); }
.ad-rotulo {
  position: absolute; top: 14px; padding: 6px 12px; z-index: 2;
  background: rgba(21, 21, 21, 0.82); color: var(--paper); font-size: var(--step-small); font-weight: 500;
}
.ad-rotulo--antes { left: 14px; }
.ad-rotulo--depois { right: 14px; }
.ad-linha { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--paper); z-index: 2; pointer-events: none; }
.ad-pega {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center;
  transition: transform 160ms var(--ease-out);
}
.ad-pega svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ad-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; z-index: 3;
  opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none;
}
.ad-quadro:has(.ad-range:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.ad-quadro:has(.ad-range:active) .ad-pega { transform: scale(1.1); }

/* =========================================================
   Avaliações
   ========================================================= */
.avaliacoes { padding-block: clamp(80px, 9vw, 140px); }
.avaliacoes-title { grid-column: 1 / 5; font-size: var(--step-sub); line-height: 1.02; }
.avaliacoes-cols {
  grid-column: 5 / -1;
  columns: 3; column-gap: var(--gap);
}
.avaliacoes-cols blockquote, .avaliacoes-cols > p { break-inside: avoid; margin-bottom: 28px; }
.avaliacoes-cols blockquote p { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; }
.avaliacoes-fonte { color: var(--ink-soft); font-size: var(--step-small); }
.avaliacoes-fonte .link { color: var(--ink); }

/* =========================================================
   Orçamento: cartão-resposta
   ========================================================= */
.orcamento {
  position: relative; overflow: hidden;
  background: var(--soot) url('../img/pedra-preta-campo.webp') center / cover no-repeat;
  color: var(--on-dark);
  padding-top: clamp(96px, 10vw, 160px);
}
.orcamento .grid { align-items: start; position: relative; }
.orcamento-texto {
  grid-column: 1 / 5; align-self: start;
  font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; color: var(--on-dark);
  background: var(--soot); padding: 24px 28px; max-width: 26ch;
}
.cartao {
  grid-column: 6 / -1; justify-self: end;
  width: min(44vw, 640px); aspect-ratio: 7 / 5;
  background: var(--paper); color: var(--ink);
  padding: 48px; margin-bottom: -60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  text-align: center;
  transform: rotate(-2deg); transform-origin: 50% 100%;
}
.cartao-titulo { font-size: var(--step-sub); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.cartao-tel { font-weight: 500; text-decoration: none; white-space: nowrap; }
.cartao .btn { margin-top: 12px; }
.cartao-medicao { font-size: var(--step-small); color: var(--ink-soft); max-width: 38ch; }

/* =========================================================
   Contato: cartão de visita sobre o mapa
   ========================================================= */
.contato { position: relative; height: 100vh; /* taste-skill-ignore: fallback */ height: 100svh; min-height: 640px; background: var(--paper-2); }
.contato-mapa { position: absolute; inset: 0; }
.contato-mapa iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: grayscale(1) contrast(1.05) brightness(1.02);
  pointer-events: none;
}
.visita {
  position: absolute; top: 96px; right: var(--m); z-index: 2;
  width: 400px; max-width: calc(100% - 2 * var(--m));
  background: var(--paper); color: var(--ink);
  padding: 32px 32px 0; border-radius: 0;
  display: flex; flex-direction: column; gap: 18px;
}
.visita-titulo { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
.visita address { font-size: var(--step-small); line-height: 1.55; }
.horarios { font-size: var(--step-small); display: grid; gap: 4px; }
.horarios div { display: flex; justify-content: space-between; gap: 16px; }
.horarios dd { font-variant-numeric: tabular-nums; text-align: right; }
.visita-tel a { font-size: var(--step-lead); font-weight: 500; text-decoration: none; letter-spacing: -0.01em; }
.visita .btn { margin-inline: -32px; width: calc(100% + 64px); }

/* =========================================================
   Rodapé: faixa de obras, chamada para o WhatsApp e as informações em quatro colunas
   ========================================================= */
.footer { background: var(--soot); color: var(--on-dark); padding-bottom: 32px; }
.footer-fotos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.footer-fotos figure { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soot-2); }
.footer-fotos img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.footer-fotos figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 20px 14px;
  font-size: var(--step-small); font-weight: 500; color: #fff;
  background: linear-gradient(to top, rgba(12, 12, 12, 0.6), rgba(12, 12, 12, 0)); /* taste-skill-ignore: scrim neutro sob a legenda */
}
@media (hover: hover) and (pointer: fine) { .footer-fotos figure:hover img { transform: scale(1.05); } }
.footer-topo {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 28px 48px;
  padding: clamp(56px, 7vw, 104px) var(--m) clamp(40px, 5vw, 72px);
}
.footer-marca { display: flex; align-items: center; gap: 22px; font-size: var(--step-head); font-weight: 500; letter-spacing: -0.045em; line-height: 0.95; grid-column: 1 / -1; }
.footer-logo { display: grid; place-items: center; width: clamp(72px, 7vw, 112px); aspect-ratio: 1; border-radius: 50%; background: var(--paper); flex: none; }
.footer-logo img { width: 56%; height: auto; }
.footer-frase { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; color: var(--on-dark); }
.footer-acoes { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-self: end; }
.footer-whats { gap: 10px; }
.footer-whats svg { width: 20px; height: 20px; fill: currentColor; }
.footer-tel { color: var(--on-dark-soft); text-decoration: none; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .footer-tel:hover { color: var(--on-dark); } }
.footer-grade {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gap);
  margin-inline: var(--m); padding: 36px clamp(20px, 2.4vw, 36px); background: var(--soot-2);
  font-size: var(--step-small); line-height: 1.7; color: var(--on-dark-soft);
}
.footer-rotulo { font-size: var(--step-small); font-weight: 500; color: var(--on-dark); margin-bottom: 8px; }
.footer-grade a { color: var(--on-dark); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer-grade a:hover { text-decoration: underline; text-underline-offset: 0.25em; } }
.footer-grade ul { display: grid; gap: 2px; }
.footer-base {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-inline: var(--m); padding-top: 28px;
}
.footer-legal { font-size: var(--step-small); color: var(--on-dark-soft); }
.demo-pendencias { margin: 28px var(--m) 0; font-size: var(--step-small); color: var(--on-dark-soft); max-width: 60ch; }
.demo-pendencias strong { color: var(--on-dark); font-weight: 500; }
.demo-pendencias ul { margin-top: 10px; list-style: disc; padding-left: 1.1em; display: grid; gap: 2px; }

/* Atalho fixo no celular */
.ligar-fixo {
  display: flex; align-items: center; justify-content: center;
  position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: var(--paper);
  text-decoration: none; transition: transform 400ms var(--ease-out);
}
.menu-aberto .ligar-fixo, .ligar-fixo.is-oculto { transform: translateY(160%); }
.ligar-fixo svg { width: 26px; height: 26px; fill: currentColor; }
.ligar-fixo:active { transform: scale(0.94); }

/* =========================================================
   Estados de entrada (só com JS e sem movimento reduzido)
   ========================================================= */
.js.motion [data-reveal] { opacity: 0; transform: translateY(24px); }
.js.motion [data-reveal-img] { clip-path: inset(100% 0 0 0); }
.js.motion [data-reveal-img] img { transform: scale(1.12); }
.js.motion [data-hero-fade] { opacity: 0; }

/* =========================================================
   Tablet e celular
   ========================================================= */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; --section: 96px; }
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  /* no celular: a parede em cima, com duas colunas, e o nome embaixo */
  .hero { height: auto; min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .parede {
    order: -1; height: 58vh; /* taste-skill-ignore: fallback */ height: 58svh;
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-inline: 10px;
    transform: rotate(-4deg) scale(1.2);
    -webkit-mask-image: linear-gradient(to bottom, #000 52%, transparent 92%); /* taste-skill-ignore: fade da parede no nome */
    mask-image: linear-gradient(to bottom, #000 52%, transparent 92%); /* taste-skill-ignore: fade da parede no nome */
  }
  .coluna--3 { display: none; }
  .tile { margin-bottom: 10px; }
  .hero-texto { padding: 0 var(--m) 40px; margin-top: -28px; gap: 22px; }
  .hero-marca { flex-direction: row; align-items: center; gap: 16px; }
  .hero-marca .hero-logo-disco { align-self: auto; }
  .hero-logo-disco { width: 76px; }
  .hero-nome { font-size: 2.6rem; }
  .hero-lead { font-size: 1.125rem; }
  .hero-cta { flex: 1; margin-right: 0; }
  .header-social { display: none; }

  .intro-text { grid-column: 1 / -1; text-indent: 0; font-size: 1.375rem; max-width: none; }
  .intro-body { grid-column: 1 / -1; grid-row: 2; margin-top: 20px; }
  .intro-photo { grid-column: 3 / -1; grid-row: 3; aspect-ratio: 4 / 5; margin-top: 40px; }
  .intro-note { grid-column: 1 / 3; grid-row: 3; align-self: end; margin-top: 0; font-size: 0.875rem; }

  .processo-video { grid-column: 1 / -1; width: 72%; }
  .processo-texto { grid-column: 1 / -1; }
  .etapas button { grid-template-columns: 40px 1fr; padding: 16px 18px; }

  .mostruario { --cw: 62vw; }
  .mostruario-title, .mostruario-filtros { grid-column: 1 / -1; }
  .filtros button { padding: 0 14px; }
  .chapa-info { grid-column: 1 / -1; }
  .chapa-legenda { display: none; }
  .chapa-nome { font-size: var(--step-sub); }
  .setas { grid-column: 1 / -1; justify-self: start; }

  .acabamentos-texto, .perfil-figura { grid-column: 1 / -1; }

  .aplicacoes-title { grid-column: 1 / -1; grid-row: 1; margin-bottom: 40px; font-size: 1.875rem; }
  .aplic--1 { grid-column: 1 / -1; grid-row: 2; }
  .aplic-texto { padding: 18px 20px; }
  .aplic-texto--1 { grid-column: 1 / -1; grid-row: 3; }
  .aplic--2 { grid-column: 3 / -1; grid-row: 4; margin-top: 48px; }
  .aplic-texto--2 { grid-column: 3 / -1; grid-row: 5; }
  .aplic--3 { grid-column: 1 / 6; grid-row: 6; margin-top: 48px; aspect-ratio: 3 / 4; }
  .aplic-texto--3 { grid-column: 1 / 6; grid-row: 7; margin-top: 0; }
  .aplic-tambem { grid-column: 1 / -1; grid-row: 8; margin-top: 40px; padding: 18px 20px; }

  .corte-titulo, .corte-intro { grid-column: 1 / -1; }
  .chapa-corte {
    gap: 6px; height: auto; min-height: 0; aspect-ratio: 3 / 4.4;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(8, minmax(0, 1fr));
    grid-template-areas:
      "a a a a b b"
      "a a a a b b"
      "a a a a b b"
      "c c c d d d"
      "c c c d d d"
      "e e f f f f"
      "e e f f f f"
      "g g f f f f";
  }
  .peca-nome { left: 6px; bottom: 6px; max-width: calc(100% - 12px); padding: 5px 8px; font-size: 0.8125rem; }
  .peca--g .peca-nome, .peca--e .peca-nome { display: none; }
  .ad-texto, .ad-quadro { grid-column: 1 / -1; }
  .ad-quadro { width: 100%; }
  @media (min-width: 600px) {
    .mostruario { --cw: 38vw; }
  }

  .avaliacoes-title, .avaliacoes-cols { grid-column: 1 / -1; }
  .avaliacoes-title { margin-bottom: 28px; }
  .avaliacoes-cols { columns: 1; }
  @media (min-width: 600px) { .avaliacoes-cols { columns: 2; } }

  .orcamento { padding-top: 64px; }
  .orcamento .grid { row-gap: 40px; }
  .orcamento-texto { grid-column: 1 / -1; font-size: 1.25rem; }
  .cartao {
    grid-column: 1 / -1; justify-self: center; width: 90%; aspect-ratio: auto;
    padding: 36px 24px 72px; margin-bottom: -40px; transform: rotate(-1deg);
  }
  .cartao .btn { min-height: 52px; }

  .contato { height: auto; min-height: 0; padding-bottom: 32px; }
  .contato-mapa { position: relative; height: 70vh; height: 70svh; }
  .visita {
    position: relative; top: auto; right: auto; width: auto; max-width: none;
    margin: -80px 16px 0; padding: 28px 24px 0;
  }
  .visita .btn { margin-inline: -24px; width: calc(100% + 48px); }

  .footer { padding-bottom: 104px; }
  .footer-fotos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-fotos figure:nth-child(n + 5) { display: none; }
  .footer-topo { grid-template-columns: 1fr; }
  .footer-marca { font-size: 2.25rem; gap: 16px; }
  .footer-acoes { justify-self: start; }
  .footer-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ligar-fixo { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
}

/* Movimento reduzido: tudo no estado final, sem viagens */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
.perfil-cota { transition: opacity 300ms ease; }
.perfil-cota.is-off { opacity: 0; }

/* =========================================================
   Página "Obras da Fantini"
   ========================================================= */
.sem-rolagem { overflow: hidden; }
.obras-cabecalho {
  position: sticky; top: 0; z-index: 30; height: 64px;
  display: flex; align-items: center; gap: 24px; padding-inline: var(--m);
  background: var(--soot); color: var(--on-dark);
}
.obras-voltar { font-size: var(--step-small); font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.obras-topo { background: var(--soot); color: var(--on-dark); padding: clamp(48px, 7vw, 112px) 0 clamp(28px, 3vw, 44px); }
.obras-topo .grid { align-items: end; row-gap: 20px; }
.obras-titulo { grid-column: 1 / 8; font-size: var(--step-big); font-weight: 500; line-height: 0.92; letter-spacing: -0.04em; }
.obras-lead { grid-column: 8 / -1; max-width: 38ch; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; color: var(--on-dark); }
.obras-filtros { padding-inline: var(--m); margin-top: clamp(32px, 4vw, 56px); }
.obras-filtros button span { margin-left: 4px; font-weight: 400; opacity: 0.7; }
.obras-grade-sec { padding: clamp(28px, 3vw, 48px) var(--m) var(--section); }
.obras-grade { columns: 4 260px; column-gap: 14px; }
.obras-grade.is-mosaico { columns: auto; display: flex; align-items: flex-start; gap: 14px; }
.obras-col { flex: 1 1 0; min-width: 0; }
.obra { break-inside: avoid; margin: 0 0 22px; }
.obra[hidden] { display: none; }
.obra-abrir {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  background: var(--paper-2); overflow: hidden;
}
.obra-abrir img, .obra-abrir video { display: block; width: 100%; height: auto; transition: transform 900ms var(--ease-out); }
.obra-play {
  position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(21, 21, 21, 0.7); color: #fff;
}
.obra-play svg { width: 14px; height: 14px; fill: currentColor; }
.obra figcaption { margin-top: 8px; font-size: var(--step-small); font-weight: 500; line-height: 1.3; }
@media (hover: hover) and (pointer: fine) { .obra-abrir:hover img, .obra-abrir:hover video { transform: scale(1.03); } }
.obras-anima .obra { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
.obras-anima .obra.is-visivel { opacity: 1; transform: none; }
.obras-vazio { padding-block: 40px; color: var(--ink-soft); }
.obras-cta { background: var(--soot); color: var(--on-dark); padding-block: var(--section); }
.obras-cta .grid { align-items: end; row-gap: 24px; }
.obras-cta-titulo { grid-column: 1 / 7; }
.obras-cta-texto { grid-column: 7 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.obras-cta-texto p { max-width: 42ch; }
.obras-rodape {
  background: var(--soot-2); color: var(--on-dark-soft);
  padding: 28px var(--m); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  font-size: var(--step-small);
}
.obras-rodape a { color: var(--on-dark); }
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(14, 14, 14, 0.96); color: var(--on-dark);
}
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lightbox::backdrop { background: rgba(14, 14, 14, 0.9); }
.lightbox-midia { min-height: 0; display: grid; place-items: center; padding: 20px var(--m) 0; touch-action: pan-y; }
.lightbox-midia img, .lightbox-midia video { max-width: 100%; max-height: calc(100dvh - 110px); width: auto; height: auto; object-fit: contain; }
.lightbox-barra { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--m) max(16px, env(safe-area-inset-bottom)); }
.lightbox-legenda { font-weight: 500; }
.lightbox-conta { margin-left: 10px; color: var(--on-dark-soft); font-weight: 400; }
.lightbox-botoes { display: flex; gap: 8px; flex: none; }
@media (max-width: 860px) {
  .obras-cabecalho { gap: 14px; }
  .obras-cabecalho .wordmark-a, .obras-voltar { display: none; }
  .pagina-obras .obras-cabecalho::after { content: none; }
  .obras-titulo, .obras-lead, .obras-cta-titulo, .obras-cta-texto { grid-column: 1 / -1; }
  .obras-filtros button { padding: 0 14px; }
  .obras-grade { columns: 2; column-gap: 10px; }
  .obras-grade.is-mosaico { gap: 10px; }
  .obra { margin-bottom: 16px; }
  .lightbox-barra { flex-direction: column; align-items: stretch; }
  .lightbox-botoes { justify-content: space-between; }
  .lightbox-midia img, .lightbox-midia video { max-height: calc(100dvh - 170px); }
}
@media (prefers-reduced-motion: reduce) {
  .obras-anima .obra { opacity: 1; transform: none; transition: none; }
}
