/*  UNI LIVING · The Signature of Success  */

/*  ── Tokens ──────────────────────────────────────────────────────────────  */
:root {
  --fundo: #080808;          /* SAME colour used in the image prompts */
  --fundo-2: #151515;
  --texto: #ffffff;
  --texto-suave: #a6a6a6;
  --acento: #c6a15b;
  --acento-claro: #d6bd8a;
  --acento-texto: #080808;
  --linha: rgb(255 255 255 / 0.10);
  --linha-ouro: rgb(198 161 91 / 0.42);
  --painel: rgb(21 21 21 / 0.64);
  --mistura: lighten;

  --fonte-titulo: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --fonte-texto: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --raio: 4px;
  --gutter: clamp(16px, 4vw, 64px);
  --largura: 1280px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --topo-h: 76px;
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 400 clamp(16px, 1.05vw, 18px)/1.65 var(--fonte-texto);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.menu-aberto { overflow: hidden; }
/* Film grain */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grao 1s steps(4) infinite;
}
@keyframes grao { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--fonte-titulo); font-stretch: 125%; font-weight: 300;
  text-transform: uppercase; letter-spacing: .03em; line-height: 1.04;
  margin: 0 0 .55em; text-wrap: balance;
}
h1 { font-size: clamp(34px, 6.4vw, 104px); }
h2 { font-size: clamp(26px, 3.6vw, 58px); }
h3 { font-size: clamp(16px, 1.3vw, 20px); font-weight: 500; letter-spacing: .08em; }
p { margin: 0 0 1em; color: var(--texto-suave); text-wrap: pretty; }
strong { color: var(--texto); font-weight: 500; }

/*  ── Intro loader (CSS only: hides itself even without JavaScript) ─────────  */
.carregador {
  position: fixed; inset: 0; z-index: 200; background: var(--fundo);
  display: grid; place-items: center; pointer-events: none;
  animation: carregador-sai .7s var(--ease) 1.7s forwards;
}
.carregador img { width: min(240px, 56vw); height: auto; opacity: 0; transform: scale(.96); animation: carregador-logo 1.1s var(--ease) .1s forwards; }
.carregador::after {
  content: ""; position: absolute; left: 50%; bottom: 22vh; width: 160px; height: 1px; margin-left: -80px;
  background: var(--acento); transform: scaleX(0); transform-origin: left; animation: carregador-linha 1.3s var(--ease) .3s forwards;
}
@keyframes carregador-logo { to { opacity: 1; transform: none; } }
@keyframes carregador-linha { to { transform: scaleX(1); } }
@keyframes carregador-sai { to { opacity: 0; visibility: hidden; } }
.sem-intro .carregador { display: none; }

/*  ── Header ──────────────────────────────────────────────────────────────  */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--topo-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.topo.rolou { background: rgb(8 8 8 / .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--linha); }
.marca { text-decoration: none; display: flex; align-items: center; position: relative; z-index: 2; }
.marca-logo { height: 46px; width: auto; }
.marca-texto { font-family: var(--fonte-titulo); font-stretch: 125%; font-size: 16px; letter-spacing: .32em; }
.menu { display: flex; gap: clamp(18px, 2.2vw, 34px); align-items: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.menu a { text-decoration: none; color: var(--texto-suave); transition: color .3s; padding: 6px 0; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--texto); }
.menu a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--acento); }
.menu-cta { border: 1px solid var(--linha-ouro); padding: 11px 18px !important; color: var(--texto) !important; border-radius: var(--raio); transition: border-color .3s, background .3s !important; }
.menu-cta:hover { border-color: var(--acento); background: rgb(198 161 91 / .1); }
.menu-botao { display: none; }

@media (max-width: 980px) {
  :root { --topo-h: 64px; }
  .marca-logo { height: 38px; }
  .menu-botao {
    display: grid; place-items: center; width: 46px; height: 46px; margin-right: -8px;
    background: none; border: 0; color: var(--texto); cursor: pointer; position: relative; z-index: 2;
  }
  .menu-botao span, .menu-botao span::before, .menu-botao span::after { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .4s var(--ease), background .3s; }
  .menu-botao span { position: relative; }
  .menu-botao span::before, .menu-botao span::after { content: ""; position: absolute; left: 0; }
  .menu-botao span::before { top: -7px; } .menu-botao span::after { top: 7px; }
  .menu-aberto .menu-botao span { background: transparent; }
  .menu-aberto .menu-botao span::before { transform: translateY(7px) rotate(45deg); }
  .menu-aberto .menu-botao span::after { transform: translateY(-7px) rotate(-45deg); }
  .menu {
    position: fixed; inset: 0; z-index: 1; background: var(--fundo);
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
    padding: 96px var(--gutter) 48px; font-size: 15px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .menu a { font-family: var(--fonte-titulo); font-stretch: 125%; font-size: clamp(22px, 6.4vw, 34px); letter-spacing: .06em; color: var(--texto); padding: 10px 0; }
  .menu a[aria-current="page"] { box-shadow: none; color: var(--acento); }
  .menu-cta { margin-top: 18px; font-size: 14px !important; font-family: var(--fonte-texto) !important; letter-spacing: .2em !important; }
  .menu-aberto .menu { opacity: 1; visibility: visible; }
  /* backdrop-filter would trap the fixed overlay inside the header bar */
  .menu-aberto .topo { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; }
}

/*  ── Cinematic opening (home) ────────────────────────────────────────────  */
.cine { position: relative; height: var(--altura, 420vh); }
.cine-palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.cine-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cine-vinheta {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 50%, rgb(0 0 0 / .5) 100%),
    linear-gradient(to bottom, rgb(8 8 8 / .55), transparent 22%, transparent 70%, var(--fundo) 100%);
}
.momento {
  position: absolute; inset: auto var(--gutter) 12vh; max-width: 600px;
  opacity: 0; transform: translateY(24px); filter: blur(6px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease);
  pointer-events: none;
}
.momento.ativo { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.momento--direita { left: auto; right: var(--gutter); }
.momento--centro { left: 50%; right: auto; transform: translate(-50%, 24px); text-align: center; width: min(680px, calc(100% - 2 * var(--gutter))); }
.momento--centro.ativo { transform: translate(-50%, 0); }
.titulo-abertura { font-size: clamp(30px, 4.6vw, 76px); margin-bottom: .35em; }
.apoio { font-size: clamp(15px, 1.15vw, 18px); margin: 0 0 1.4em; }
.destaque { font-family: var(--fonte-titulo); font-stretch: 125%; font-weight: 300; text-transform: uppercase; letter-spacing: .03em; font-size: clamp(20px, 2.4vw, 38px); line-height: 1.18; color: var(--texto); margin: 0 0 .8em; text-wrap: balance; }
.destaque:last-child { margin: 0; }
.cine-dica {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px; font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: var(--texto-suave);
  transition: opacity .5s;
}
.cine-dica span { width: 1px; height: 38px; background: linear-gradient(var(--acento), transparent); animation: dica 2s var(--ease) infinite; }
@keyframes dica { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.cine.andou .cine-dica { opacity: 0; }

/*  ── Page opener (inner pages) ───────────────────────────────────────────  */
.capa {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 92vh; min-height: 92svh; padding: calc(var(--topo-h) + 10vh) var(--gutter) 12vh;
  display: grid; align-content: end;
}
.capa .arte--fundo { opacity: .62; }
.capa-conteudo { width: 100%; max-width: var(--largura); margin: 0 auto; }
.capa .painel { max-width: 760px; }
.capa h1 { margin-bottom: .3em; }
.capa p { font-size: clamp(16px, 1.25vw, 20px); margin: 0; }

/*  ── Panels (all text lives in a panel) ──────────────────────────────────  */
.painel {
  position: relative;
  background: var(--painel);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  padding: clamp(24px, 3.2vw, 52px);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}
.painel::before { /* hairline of gold on the top edge: restrained accent */
  content: ""; position: absolute; top: -1px; left: clamp(24px, 3.2vw, 52px); width: 56px; height: 1px; background: var(--acento);
}
.painel--vidro { background: rgb(8 8 8 / .42); }
.painel > :last-child { margin-bottom: 0; }
.rotulo { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--acento); margin-bottom: 22px; }
.nota-imagem { display: block; margin-top: 22px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgb(166 166 166 / .7); }

/*  ── Sections ────────────────────────────────────────────────────────────  */
.secao {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100vh; padding: 18vh var(--gutter);
  display: grid; align-content: center;
}
.secao-grade { width: 100%; max-width: var(--largura); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 580px) 1fr; }
.secao-grade--direita { grid-template-columns: 1fr minmax(0, 580px); }
.secao-grade--direita > .painel { grid-column: 2; }
.secao--larga { gap: 28px; justify-items: center; }
.painel--cabecalho { width: 100%; max-width: var(--largura); }
.secao--curta { min-height: auto; padding-block: 12vh; }

/* Index list (instead of identical card grids) */
.indice { list-style: none; margin: 10px 0 0; padding: 0; }
.indice a {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 4px 16px; align-items: baseline;
  padding: 20px 0; border-top: 1px solid var(--linha); text-decoration: none; transition: color .3s, padding .4s var(--ease);
}
.indice li:last-child a { border-bottom: 1px solid var(--linha); }
.indice .num { font-size: 11px; letter-spacing: .2em; color: var(--acento); }
.indice .nome { font-family: var(--fonte-titulo); font-stretch: 125%; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(15px, 1.3vw, 19px); }
.indice .seta { color: var(--acento); transition: transform .4s var(--ease); }
.indice .linha-apoio { grid-column: 2 / -1; font-size: 14px; color: var(--texto-suave); }
.indice a:hover { padding-left: 8px; }
.indice a:hover .seta { transform: translateX(6px); }

.recursos { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; gap: 14px; }
.recursos li { display: grid; grid-template-columns: 22px 1fr; color: var(--texto-suave); }
.recursos li::before { content: ""; width: 6px; height: 6px; margin-top: .62em; border: 1px solid var(--acento); transform: rotate(45deg); }
.recursos strong { display: block; letter-spacing: .02em; }

.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.momento--centro .acoes { justify-content: center; }

/* ── Art: images blended into the background (never a rectangle with a border) ── */
.arte {
  position: absolute; z-index: -1; pointer-events: none;
  object-fit: cover; mix-blend-mode: var(--mistura);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.arte--foto { filter: brightness(.8) contrast(1.06) saturate(.92); }
.arte--direita, .arte--esquerda { top: 0; bottom: 0; width: 62vw; height: 100%; }
.arte--direita {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, #000 40%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
          mask-image: linear-gradient(to left, #000 40%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}
.arte--esquerda {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, #000 40%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
          mask-image: linear-gradient(to right, #000 40%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}
.arte--fundo {
  inset: 0; width: 100%; height: 100%; opacity: .45;
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%), linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
          mask-image: radial-gradient(closest-side, #000 35%, transparent 100%), linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.arte--suave { opacity: .28; }

/*  ── Line drawings for designs without photography yet ───────────────────  */
.desenho {
  position: absolute; z-index: -1; pointer-events: none; top: 50%; width: min(46vw, 620px); aspect-ratio: 4 / 3;
  transform: translateY(-50%); color: var(--acento); opacity: .9;
}
.desenho--direita { right: max(var(--gutter), calc((100vw - var(--largura)) / 2)); }
.desenho--esquerda { left: max(var(--gutter), calc((100vw - var(--largura)) / 2)); }
.desenho svg { width: 100%; height: 100%; overflow: visible; }
.desenho .traco { fill: none; stroke: rgb(255 255 255 / .28); stroke-width: 1; vector-effect: non-scaling-stroke; }
.desenho .ouro { fill: none; stroke: var(--acento); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.desenho .brilho { fill: url(#brilho); }
.revelar.visto .desenho-anim { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: tracar 2.4s var(--ease) .2s forwards; }
@keyframes tracar { to { stroke-dashoffset: 0; } }

/*  ── Contact ─────────────────────────────────────────────────────────────  */
.contato-grade h1 { font-size: clamp(30px, 3.4vw, 54px); }
.contato-grade { width: 100%; max-width: var(--largura); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.contato-lista { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; }
.contato-lista li { display: grid; gap: 2px; }
.contato-lista .rot { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--acento); }
.contato-lista a { text-decoration: none; color: var(--texto); word-break: break-word; }
.contato-lista a:hover { color: var(--acento-claro); }
.contato-lista span:not(.rot) { color: var(--texto-suave); }
.painel--form { width: 100%; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.campo { display: grid; gap: 6px; }
.campo--inteiro { grid-column: 1 / -1; }
.campo label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-suave); }
.campo input, .campo textarea, .campo select {
  width: 100%; font: inherit; color: var(--texto);
  background: rgb(255 255 255 / .04); border: 1px solid var(--linha); border-radius: var(--raio);
  padding: 14px 16px; transition: border-color .3s, background .3s; resize: vertical;
}
.campo select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--acento) 50%), linear-gradient(135deg, var(--acento) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.campo select option { background: var(--fundo-2); color: var(--texto); }
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: none; border-color: var(--acento); background-color: rgb(255 255 255 / .07); }
.campo.erro input, .campo.erro select { border-color: #d9776b; }
.pote { position: absolute; left: -9999px; }
.form-status { min-height: 1.4em; margin: 0; font-size: 14px; }
.form-status.ok { color: var(--acento-claro); }
.form-status.falha { color: #e39a90; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/*  ── Buttons ─────────────────────────────────────────────────────────────  */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 12px/1 var(--fonte-texto); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  color: var(--acento-texto); background: var(--acento); border: 1px solid var(--acento); border-radius: var(--raio);
  padding: 18px 28px; transition: transform .4s var(--ease), background .3s, border-color .3s;
}
.botao:hover { transform: translateY(-2px); background: var(--acento-claro); border-color: var(--acento-claro); }
.botao--linha { background: transparent; color: var(--texto); border-color: rgb(255 255 255 / .35); }
.botao--linha:hover { background: rgb(255 255 255 / .06); border-color: var(--texto); }
.botao svg { width: 16px; height: 16px; }
.botao[disabled] { opacity: .6; cursor: progress; }

/*  ── Floating WhatsApp ───────────────────────────────────────────────────  */
.whats {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px rgb(0 0 0 / .45);
  transform: scale(0); transition: transform .5s var(--ease);
}
.whats.visivel { transform: scale(1); }
.whats:hover { transform: scale(1.07); }
.whats svg { width: 30px; height: 30px; }
.whats::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulso 2.6s ease-out infinite; }
@keyframes pulso { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/*  ── Projects ────────────────────────────────────────────────────────────  */
.projeto { position: relative; padding: 10vh var(--gutter) 14vh; }
.projeto-grade { width: 100%; max-width: var(--largura); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.projeto-info { position: sticky; top: calc(var(--topo-h) + 20px); }
.projeto-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--texto-suave); margin: -6px 0 20px; }
.projeto-midia { display: grid; gap: 12px; }
.projeto-video { width: 100%; max-height: 82vh; aspect-ratio: 3 / 4; object-fit: cover; background: var(--fundo-2); border-radius: var(--raio); }
.galeria { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.galeria button { all: unset; cursor: zoom-in; position: relative; overflow: hidden; border-radius: var(--raio); aspect-ratio: 3 / 4; background: var(--fundo-2); }
.galeria button:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; }
.galeria img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.86); transition: transform 1.2s var(--ease), filter .6s; }
.galeria button:hover img { transform: scale(1.05); filter: brightness(1); }
.antes-depois { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.antes-depois figure { margin: 0; position: relative; }
.antes-depois img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--raio); }
.antes-depois figcaption { position: absolute; left: 12px; top: 12px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; background: rgb(8 8 8 / .7); padding: 6px 10px; border-radius: var(--raio); }
.visor { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.visor::backdrop { background: rgb(8 8 8 / .94); }
.visor img { width: 100%; height: 100%; object-fit: contain; padding: 64px var(--gutter) 24px; }
.visor button { position: fixed; top: 14px; right: var(--gutter); background: none; border: 1px solid var(--linha-ouro); color: var(--texto); border-radius: var(--raio); padding: 10px 16px; font: 500 12px/1 var(--fonte-texto); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }

/*  ── Footer ──────────────────────────────────────────────────────────────  */
.rodape { padding: 0 var(--gutter) 40px; }
.rodape-painel {
  max-width: var(--largura); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px 48px; align-items: center;
  font-size: 14px; color: var(--texto-suave);
}
.rodape-logo { width: 120px; height: auto; }
.rodape-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.rodape-nav a { text-decoration: none; }
.rodape-nav a:hover { color: var(--texto); }
.rodape-contato { display: grid; gap: 4px; text-align: right; }
.rodape-contato a { text-decoration: none; color: var(--texto); }
.rodape-contato a:hover { color: var(--acento-claro); }
.rodape-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; border-top: 1px solid var(--linha); font-size: 12px; letter-spacing: .08em; }

/*  ── Reveal on scroll ────────────────────────────────────────────────────  */
.revelar { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.revelar.visto { opacity: 1; transform: none; }

/*  ── Tablet / phone ──────────────────────────────────────────────────────  */
@media (max-width: 980px) {
  .contato-grade, .projeto-grade { grid-template-columns: 1fr; }
  .projeto-info { position: static; }
  .rodape-painel { grid-template-columns: 1fr; justify-items: start; }
  .rodape-nav { justify-content: flex-start; }
  .rodape-contato { text-align: left; }
}
@media (max-width: 860px) {
  .secao { padding: 14vh var(--gutter); min-height: auto; }
  .secao-grade, .secao-grade--direita { grid-template-columns: 1fr; }
  .secao-grade--direita > .painel { grid-column: 1; }
  .arte--direita, .arte--esquerda { left: 0; right: 0; width: 100%; height: 72%; opacity: .6;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 58%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 58%, transparent); }
  .secao:has(.arte--direita, .arte--esquerda, .desenho) { padding-top: 46vh; }
  .desenho { top: 7vh; transform: none; left: var(--gutter); right: var(--gutter); width: auto; max-width: 460px; margin: 0 auto; aspect-ratio: auto; height: 34vh; }
  .momento, .momento--direita { left: var(--gutter); right: var(--gutter); bottom: 9vh; }
  .momento--centro { left: 50%; right: auto; } /* keep it centred: it is positioned with translate(-50%) */
  .galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .acoes .botao { flex: 1 1 100%; }
  .indice a { grid-template-columns: 34px 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .carregador { display: none; }
  .revelar, .momento--primeiro { opacity: 1; transform: none; filter: none; pointer-events: auto; }
  .cine { height: 100svh; }
  .momento:not(.momento--primeiro), .cine-dica { display: none; }
  .revelar.visto .desenho-anim { stroke-dasharray: none; }
}
