/* Henrique Manutenções · "O prédio aceso" — cores da logo: preto, ouro, prata */
:root {
  --ink: #07080a;
  --night: #0b1020;
  --char: #111217;
  --char-2: #17181e;
  --line: rgba(226, 182, 96, .2);
  --line-soft: rgba(239, 236, 229, .1);
  --paper: #efece5;
  --mute: #a39d91;
  --gold: #d9a441;
  --gold-hi: #f6d58a;
  --gold-lo: #9c6a1f;
  --metal: linear-gradient(180deg, #f8dc8f 0%, #e3b04f 48%, #b47c26 100%);
  --metal-x: linear-gradient(100deg, #b47c26 0%, #f3cf78 45%, #d9a441 70%, #a8741f 100%);
  --display: "Unbounded", "Arial Black", sans-serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--gold-hi); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

.eyebrow {
  font: 600 .78rem/1.3 var(--text);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: .8em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 1rem/1 var(--text); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn-gold { background: var(--metal-x); color: #140f05; box-shadow: 0 10px 30px -12px rgba(233, 180, 80, .7), inset 0 1px 0 rgba(255, 245, 210, .6); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(240, 190, 90, .9), inset 0 1px 0 rgba(255, 245, 210, .6); }
.btn-line { border-color: rgba(226, 182, 96, .55); color: var(--paper); background: rgba(7, 8, 10, .35); backdrop-filter: blur(6px); }
.btn-line:hover { border-color: var(--gold-hi); background: rgba(226, 182, 96, .1); }
.btn-full { width: 100%; }

/* Header */
.top {
  position: absolute; inset: 0 0 auto; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: 52px; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .6)); }
.brand-name { display: grid; line-height: 1.05; }
.brand-name b { font: 800 1.05rem/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.brand-name span { font: 600 .66rem/1.4 var(--text); letter-spacing: .3em; text-transform: uppercase; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.top-cta {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border: 1px solid rgba(226, 182, 96, .45); border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: .95rem; background: rgba(7, 8, 10, .45); backdrop-filter: blur(6px);
}
.top-cta svg { width: 20px; height: 20px; fill: var(--gold-hi); }
.top-cta:hover { border-color: var(--gold-hi); }

/* HERO */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 120px var(--gutter) 72px; isolation: isolate; overflow: hidden;
  background: var(--night);
}
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: acender 2.4s var(--ease) both; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 8, 10, .82) 0%, rgba(7, 8, 10, .55) 38%, rgba(7, 8, 10, 0) 62%),
    linear-gradient(0deg, var(--ink) 0%, rgba(7, 8, 10, 0) 28%);
}
@keyframes acender { from { filter: brightness(.35) saturate(.6); transform: scale(1.04); } to { filter: none; transform: none; } }
.hero-copy { max-width: 640px; display: grid; gap: 22px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); font-weight: 800; line-height: 1.04; }
.hero h1 em { font-style: normal; display: block; margin-top: .18em; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #d8d3c8; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.rating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #d8d3c8; font-size: .95rem; width: fit-content; }
.rating b { color: var(--paper); }
.stars { color: var(--gold-hi); letter-spacing: .12em; }

/* Seções */
section { position: relative; }
.sec-head, .lista-head { max-width: var(--max); margin: 0 auto; display: grid; gap: 16px; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.9rem); }

/* A FACHADA */
.lista { padding: clamp(56px, 7vw, 104px) var(--gutter) clamp(72px, 8vw, 112px); background: radial-gradient(90% 70% at 22% 55%, rgba(24, 34, 66, .55) 0%, transparent 70%), var(--ink); }
.lista-head { margin-bottom: clamp(32px, 4vw, 56px); grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: 16px clamp(32px, 5vw, 80px); }
.lista-head > div { display: grid; gap: 16px; }
.lista-head h2 { max-width: 18ch; }
.lista-head > p { color: var(--mute); max-width: 44ch; padding-bottom: .4em; }
.lista-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }

.predio { position: relative; min-width: 0; }
.predio-topo { position: relative; height: 18px; margin: 46px -10px 0; background: linear-gradient(180deg, #2a2b31, #18191e); border-radius: 3px 3px 0 0; box-shadow: 0 -1px 0 rgba(255, 255, 255, .06) inset; }
.predio-topo::before { /* casa de máquinas e caixa d'água */
  content: ""; position: absolute; bottom: 100%; right: 12%; width: 22%; height: 40px;
  background: linear-gradient(180deg, #202127, #16171b); border-radius: 2px 2px 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.predio-topo::after { /* antena com luz de sinalização */
  content: ""; position: absolute; bottom: calc(100% + 40px); right: calc(23% - 1px); width: 2px; height: 26px;
  background: linear-gradient(180deg, #ff6a4a 0 4px, #2a2b31 4px); filter: drop-shadow(0 -1px 4px rgba(255, 80, 50, .7));
}
.janelas {
  list-style: none; margin: 0; padding: 18px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 12px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #1c1d22, #141519);
  border-left: 1px solid rgba(255, 255, 255, .05);
  border-right: 1px solid rgba(0, 0, 0, .6);
}
.jan {
  position: relative; width: 100%; aspect-ratio: 4 / 5; min-height: 112px;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; align-items: flex-start;
  padding: 10px 12px 12px; text-align: left; cursor: pointer;
  font: 600 .92rem/1.2 var(--text); color: #bdb7ab;
  border: 0; border-radius: 2px;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(33.3% - 1px), rgba(0, 0, 0, .55) calc(33.3% - 1px) 33.3%),
    linear-gradient(165deg, #1a2238 0%, #0d1220 55%, #0a0d16 100%);
  box-shadow: inset 0 0 0 5px #24252b, inset 0 0 0 6px #0b0b0d, 0 6px 0 -2px #26272d;
  transition: color .4s, box-shadow .5s var(--ease), background .5s;
}
.jan::before { /* reflexo no vidro + guarda-corpo da varanda */
  content: ""; position: absolute; inset: 6px; pointer-events: none; z-index: 1;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .06) 0 18%, transparent 18% 100%),
    linear-gradient(180deg, transparent 70%, #0d0d10 70% calc(70% + 3px), transparent calc(70% + 3px)),
    repeating-linear-gradient(90deg, rgba(13, 13, 16, .8) 0 2px, transparent 2px 11px) bottom / 100% 30% no-repeat;
}
.jan::after { /* luz quente */
  content: ""; position: absolute; inset: 6px; pointer-events: none; opacity: 0;
  background:
    linear-gradient(90deg, rgba(92, 56, 12, .6) 0%, rgba(92, 56, 12, 0) 16%, rgba(92, 56, 12, 0) 84%, rgba(92, 56, 12, .6) 100%),
    radial-gradient(120% 90% at 50% 12%, #ffe6a8 0%, #f2bd5c 40%, #bf8027 80%, #7a4f15 100%);
  transition: opacity .5s var(--ease);
  z-index: 0;
}
.jan > span { position: relative; z-index: 2; }
.apt { font: 500 .66rem/1 var(--display); letter-spacing: .14em; color: #5f6474; }
.jan-t { max-width: 15ch; }
.jan:hover { color: var(--paper); box-shadow: inset 0 0 0 5px #2e2f36, inset 0 0 0 6px var(--gold-lo), 0 6px 0 -2px #26272d; }
.jan[aria-pressed="true"] { color: #1d1304; box-shadow: inset 0 0 0 5px #2a2b31, inset 0 0 0 6px #0b0b0d, 0 6px 0 -2px #26272d, 0 0 46px -6px rgba(240, 185, 85, .55); }
.jan[aria-pressed="true"]::after { opacity: 1; }
.jan.demo::after { opacity: .8; }
.jan.demo { color: #1d1304; }
.jan[aria-pressed="true"] .apt { color: rgba(29, 19, 4, .6); }
.jan > .sw {
  position: absolute; top: 9px; right: 9px; z-index: 2; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(226, 182, 96, .45); color: var(--gold-hi);
  font: 600 1rem/1 var(--text); transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.sw::before { content: "+"; }
.jan:hover .sw { border-color: var(--gold-hi); transform: scale(1.08); }
.jan[aria-pressed="true"] .sw { background: #1d1304; border-color: #1d1304; color: var(--gold-hi); }
.jan[aria-pressed="true"] .sw::before { content: "✓"; font-size: .8rem; }
.jan .apt { padding-right: 28px; }

.terreo {
  position: relative; height: 70px; margin: 0 -10px; overflow: hidden;
  display: flex; justify-content: space-around; align-items: stretch; padding: 0 6%;
  background: #0d0e11; border-top: 6px solid #26272d;
}
.terreo i { width: 9px; background: linear-gradient(90deg, #2c2d33, #1a1b20); }
.terreo-luz {
  position: absolute; inset: 0; opacity: var(--luz, .08); transition: opacity .6s var(--ease);
  background: radial-gradient(70% 120% at 50% 100%, #f6c66a 0%, rgba(217, 164, 65, .35) 45%, transparent 75%);
}
.contador { margin-top: 14px; font-size: .9rem; color: var(--mute); display: flex; align-items: center; gap: 8px; }
.contador-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px 2px rgba(240, 185, 85, .6); }
.contador b { color: var(--gold-hi); font-family: var(--display); }

/* Bilhete */
.bilhete {
  position: sticky; top: 24px;
  background: var(--char); border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 18px;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9);
}
.bilhete h3 { font-size: 1.2rem; display: flex; justify-content: space-between; gap: 8px; }
.itens { margin: 0; padding: 0; list-style: none; counter-reset: it; display: grid; gap: 2px; }
.itens li {
  counter-increment: it; display: grid; grid-template-columns: 2.1em 1fr auto; align-items: center; gap: 6px;
  padding: 10px 0; border-bottom: 1px dashed var(--line-soft); font-weight: 500;
  animation: entra .35s var(--ease) both;
}
.itens li::before { content: counter(it) "."; font: 700 .85rem/1 var(--display); color: var(--gold); }
.itens button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-soft); background: none; color: var(--mute); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.itens button:hover { color: var(--paper); border-color: var(--gold); }
@keyframes entra { from { opacity: 0; transform: translateY(-6px); } }
.vazio { color: var(--mute); font-size: .95rem; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 10px; }
.campo { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.campo small { color: var(--mute); font-weight: 400; }
.campo input {
  min-height: 48px; padding: 0 14px; border-radius: 10px; font: 500 1rem var(--text);
  color: var(--paper); background: var(--ink); border: 1px solid var(--line-soft);
}
.campo input::placeholder { color: #6d6a63; }
.campo input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 164, 65, .25); }
.periodo { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.periodo legend { font-size: .9rem; font-weight: 600; margin-bottom: 8px; padding: 0; }
.periodo label { position: relative; }
.periodo input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.periodo span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-soft); font-weight: 600; font-size: .92rem; }
.periodo input:checked + span { border-color: var(--gold); background: rgba(217, 164, 65, .14); color: var(--gold-hi); }
.periodo input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.nota { font-size: .84rem; color: var(--mute); }

.barra-lista {
  position: sticky; bottom: 12px; z-index: 5; display: none;
  margin: 24px auto 0; max-width: 520px; min-height: 52px; padding: 0 20px; border-radius: 999px;
  align-items: center; justify-content: space-between; text-decoration: none; font-weight: 700;
  background: var(--metal-x); color: #140f05; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .8);
}

/* CÔMODOS */
.comodos { padding: clamp(64px, 7vw, 110px) var(--gutter) clamp(80px, 9vw, 130px); background: var(--ink); border-top: 1px solid var(--line-soft); }
.comodos .sec-head { margin-bottom: clamp(32px, 4vw, 56px); }
.comodos h2 { max-width: 20ch; }
.bento { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.bento article {
  position: relative; overflow: hidden; border-radius: 16px; background: var(--char);
  display: grid; isolation: isolate; min-height: 360px;
}
.bento picture, .bento img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bento img { transition: transform 1.2s var(--ease); }
.bento article:hover img { transform: scale(1.035); }
.bento article::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 8, 10, .96) 0%, rgba(7, 8, 10, .7) 34%, rgba(7, 8, 10, 0) 64%); }
.c-copy { align-self: end; padding: clamp(20px, 2.4vw, 30px); display: grid; gap: 10px; justify-items: start; }
.c-copy h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.c-copy p { color: #d4cfc4; font-size: .98rem; max-width: 42ch; }
.add {
  margin-top: 4px; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font: 700 .9rem/1 var(--text); color: var(--gold-hi); background: rgba(7, 8, 10, .55);
  border: 1px solid rgba(226, 182, 96, .5); backdrop-filter: blur(6px); transition: background .2s, color .2s;
}
.add:hover { background: rgba(217, 164, 65, .18); }
.add[data-on="true"] { background: var(--metal-x); color: #140f05; border-color: transparent; }
.sala { grid-column: span 5; grid-row: span 2; min-height: 720px; }
.quarto, .banheiro { grid-column: span 7; }
.quarto img { object-position: 50% 30%; }
.banheiro img { object-position: 50% 20%; }
.quarto, .banheiro { min-height: 353px; }
.cozinha, .servico { grid-column: span 6; min-height: 420px; }

/* OBRAS REAIS */
.obras { padding: clamp(80px, 10vw, 140px) var(--gutter); background: linear-gradient(180deg, var(--ink), #0d0e12); border-top: 1px solid var(--line-soft); }
.obras-head { max-width: var(--max); margin: 0 auto clamp(32px, 4vw, 56px); display: grid; gap: 16px; }
.obras-head h2 { max-width: 16ch; }
.obras-head p:last-child { color: var(--mute); max-width: 60ch; }
.obras-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px;
}
.obra { position: relative; margin: 0; overflow: hidden; border-radius: 14px; background: var(--char); grid-row: span 2; }
.obra-big { grid-column: span 2; grid-row: span 3; }
.obra-big img { object-position: 50% 82%; }
.obra-wide { grid-column: span 2; grid-row: span 1; }
.obra-btn { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.obra-btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: -4px; }
.obra picture, .obra img { width: 100%; height: 100%; }
.obra img { object-fit: cover; transition: transform 1s var(--ease); }
.obra:hover img { transform: scale(1.04); }
.obra figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; pointer-events: none;
  font-size: .86rem; font-weight: 600; line-height: 1.3;
  background: linear-gradient(0deg, rgba(7, 8, 10, .88), rgba(7, 8, 10, 0));
}
.obra::before { /* selo de foto real */
  content: "foto real"; position: absolute; top: 10px; left: 10px; z-index: 1; pointer-events: none;
  font: 700 .62rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 8px; border-radius: 999px; color: #140f05; background: var(--metal-x);
}
.obras-fonte { max-width: var(--max); margin: 18px auto 0; font-size: .86rem; color: var(--mute); }
.obras-fonte a { color: var(--gold-hi); font-weight: 700; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; color: var(--paper); overflow: visible; }
.lightbox::backdrop { background: rgba(4, 5, 6, .9); }
.lightbox img { max-height: 82vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 10px; }
.lb-cap { text-align: center; margin-top: 12px; font-weight: 600; }
.lb-fechar { position: absolute; top: -8px; right: -8px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--char); color: var(--paper); font-size: 1.4rem; cursor: pointer; z-index: 2; }

/* EM VÍDEO */
.filme {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); gap: clamp(40px, 6vw, 96px); align-items: center;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; isolation: isolate;
}
.filme::before { /* luz quente atrás da tela */
  content: ""; position: absolute; z-index: -1; right: 6%; top: 50%; width: 520px; height: 520px; max-width: 90vw;
  transform: translateY(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(217, 164, 65, .2), transparent);
}
.filme-copy { display: grid; gap: 20px; align-content: center; }
.filme h2 { max-width: 15ch; }
.filme-copy > p:not(.eyebrow) { color: var(--mute); max-width: 52ch; }
.capitulos { list-style: none; margin: 8px 0 0; padding: 0; display: grid; max-width: 520px; }
.capitulos li { border-top: 1px solid var(--line); }
.capitulos li:last-child { border-bottom: 1px solid var(--line); }
.capitulos button {
  all: unset; box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px 4px; cursor: pointer;
  display: grid; grid-template-columns: 4em 1fr; align-items: center; gap: 12px;
  font-weight: 600; color: #d4cfc4; transition: color .2s, background .2s;
}
.capitulos button span { font: 600 .78rem/1 var(--display); letter-spacing: .06em; color: var(--gold); }
.capitulos button:hover { color: var(--paper); background: rgba(217, 164, 65, .06); }
.capitulos button:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: -2px; }
.capitulos button[data-on="true"] { color: var(--gold-hi); }
.capitulos button[data-on="true"] span::before { content: "▸ "; }
.filme-tela {
  position: relative; width: min(400px, 100%); aspect-ratio: 9 / 16; justify-self: center;
  border-radius: 24px; overflow: hidden; background: var(--char);
  box-shadow: 0 0 0 1px var(--line), 0 40px 90px -40px rgba(0, 0, 0, .95), 0 0 70px -20px rgba(217, 164, 65, .3);
}
.filme-video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--char); }
.filme-play {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; color: var(--paper);
  display: grid; place-content: center; justify-items: center; gap: 14px;
  background: linear-gradient(0deg, rgba(7, 8, 10, .55), rgba(7, 8, 10, .1) 60%);
  font: 700 .95rem/1 var(--text); letter-spacing: .04em;
}
.filme-play svg {
  width: 84px; height: 84px; padding: 24px 22px 24px 28px; border-radius: 50%; fill: #140f05;
  background: var(--metal-x); box-shadow: 0 14px 40px -10px rgba(240, 190, 90, .8);
  transition: transform .25s var(--ease);
}
.filme-play:hover svg { transform: scale(1.07); }
.filme-play:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: -6px; border-radius: 24px; }
.filme-play span { padding: 8px 14px; border-radius: 999px; background: rgba(7, 8, 10, .6); backdrop-filter: blur(6px); }

/* WHATSAPP FLUTUANTE */
.wa-float {
  position: fixed; z-index: 101; right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 0; height: 60px; min-width: 60px; padding: 0 16px;
  border-radius: 999px; text-decoration: none; color: #fff; background: #1faa53;
  box-shadow: 0 0 0 2px rgba(246, 213, 138, .55), 0 14px 34px -10px rgba(0, 0, 0, .85);
  transition: transform .35s var(--ease), gap .3s var(--ease), background .2s;
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.wa-float-txt { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: .98rem; transition: max-width .35s var(--ease); }
.wa-float:hover, .wa-float:focus-visible { background: #1c9a4b; gap: 10px; }
.wa-float:hover .wa-float-txt, .wa-float:focus-visible .wa-float-txt { max-width: 14em; }
.wa-float::before { /* dois pulsos discretos ao abrir a página */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(31, 170, 83, .6); animation: wa-pulso 1.8s var(--ease) 1.2s 2;
}
@keyframes wa-pulso { to { box-shadow: 0 0 0 16px rgba(31, 170, 83, 0); } }

/* A VISITA */
.visita { display: grid; grid-template-columns: 1fr 1fr; background: var(--char); }
.visita-img img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }
.visita-copy { padding: clamp(56px, 8vw, 120px) var(--gutter); display: grid; gap: 22px; align-content: center; }
.visita h2 { max-width: 16ch; }
.trajeto { list-style: none; margin: 10px 0 0; padding: 0; display: grid; }
.trajeto li { display: grid; grid-template-columns: 9.5em 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.trajeto li:last-child { border-bottom: 1px solid var(--line); }
.onde { font: 700 .8rem/1.5 var(--display); letter-spacing: .04em; color: var(--gold); text-transform: uppercase; }
.trajeto p { color: #d4cfc4; }

/* AVALIAÇÕES */
.avaliacoes {
  padding: clamp(80px, 10vw, 140px) var(--gutter); background: var(--ink);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(40px, 6vw, 96px);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}
.av-nota { display: grid; gap: 22px; align-content: start; }
.nota-num { display: block; font: 800 clamp(5rem, 11vw, 9rem)/.9 var(--display); background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; }
.nota-sub { display: block; margin-top: 16px; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
.palavras { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.palavras li { display: grid; grid-template-columns: 7.5em 1fr 2.4em; align-items: center; gap: 12px; font-weight: 600; }
.palavras li::after {
  content: ""; grid-column: 2; grid-row: 1; height: 10px; border-radius: 6px;
  width: calc(var(--n) / 17 * 100%); background: var(--metal-x);
  transform-origin: left; transition: transform 1s var(--ease);
}
.palavras b { grid-column: 3; text-align: right; font-family: var(--display); color: var(--gold-hi); }
.js .palavras:not(.vis) li::after { transform: scaleX(0); }
.fonte { font-size: .85rem; color: var(--mute); }
.av-falas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.fala { margin: 0; padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--line-soft); border-radius: 16px; background: var(--char); display: grid; gap: 18px; align-content: space-between; }
.fala-grande { grid-column: 1 / -1; background: linear-gradient(160deg, #1a1710, var(--char) 60%); border-color: var(--line); }
.fala blockquote { margin: 0; }
.fala p { font-size: 1rem; color: #e1ddd3; }
.fala-grande p { font: 500 clamp(1.15rem, 1.8vw, 1.45rem)/1.4 var(--text); color: var(--paper); }
.fala blockquote p::before { content: "“"; color: var(--gold); }
.fala blockquote p::after { content: "”"; color: var(--gold); }
.fala figcaption { font-weight: 700; font-size: .92rem; }
.fala figcaption span { font-weight: 500; color: var(--mute); margin-left: 6px; }
.trechos { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trechos p { padding: 16px 18px; border-left: 2px solid var(--gold); color: #cfc9bd; font-style: italic; }
.link-google { grid-column: 1 / -1; justify-self: start; font-weight: 700; color: var(--gold-hi); text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }

/* ONDE */
.onde-fica { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--char); border-top: 1px solid var(--line-soft); }
.onde-copy { padding: clamp(56px, 8vw, 110px) var(--gutter); display: grid; gap: 24px; align-content: center; justify-items: start; }
.onde-copy h2 { max-width: 14ch; }
.dados { margin: 0; display: grid; gap: 16px; }
.dados div { display: grid; grid-template-columns: 6.5em 1fr; gap: 14px; }
.dados dt { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding-top: .25em; }
.dados dd { margin: 0; }
.dados a { color: var(--gold-hi); font-weight: 700; }
.mapa { min-height: 420px; background: #0e0f13; }
.mapa iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(1) invert(.92) contrast(.9) sepia(.25); }

/* DÚVIDAS */
.duvidas {
  padding: clamp(80px, 10vw, 130px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start;
}
.duv-lado { display: grid; gap: 18px; justify-items: start; position: sticky; top: 32px; }
.duv-lado > p:not(.eyebrow) { color: var(--mute); max-width: 30ch; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 600 1.12rem/1.35 var(--text); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 500 1.6rem/1 var(--display); color: var(--gold); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 24px; color: #cfc9bd; max-width: 62ch; }

/* FECHO */
.fecho {
  padding: clamp(80px, 10vw, 140px) var(--gutter) clamp(90px, 10vw, 150px);
  display: grid; justify-items: center; text-align: center; gap: 20px; isolation: isolate; overflow: hidden;
  background: radial-gradient(60% 55% at 50% 30%, rgba(217, 164, 65, .16) 0%, transparent 70%), var(--ink);
}
.fecho::before { /* o prédio do topo volta, espelhado e quase apagado */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22;
  background: url("assets/img/hero-1536.webp") 30% 60% / cover no-repeat;
  transform: scaleX(-1);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 70%, transparent 100%);
}
.fecho-logo { width: clamp(220px, 30vw, 340px); height: auto; filter: drop-shadow(0 30px 60px rgba(217, 164, 65, .22)); }
.fecho h2 { max-width: 18ch; margin-top: 12px; }
.fecho p { color: var(--mute); }
.fecho-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

.rodape { padding: 28px var(--gutter) 36px; border-top: 1px solid var(--line-soft); color: var(--mute); font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.rodape b { color: var(--paper); }

/* Grão de filme: une foto gerada, foto real e interface */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  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");
}

/* Revelar ao rolar */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.vis { opacity: 1; transform: none; }

/* RESPONSIVO */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .sala { grid-column: 1 / -1; grid-row: auto; min-height: 560px; }
  .sala img { object-position: 30% 30%; }
  .quarto, .banheiro, .cozinha, .servico { grid-column: span 1; min-height: 420px; }
}
@media (max-width: 960px) {
  .obras-grid { grid-template-columns: repeat(3, 1fr); }
  .lista-grid { grid-template-columns: 1fr; }
  .bilhete { position: relative; top: 0; }
  .barra-lista:not([hidden]).longe { display: flex; }
  .visita, .onde-fica { grid-template-columns: 1fr; }
  .visita-img img { aspect-ratio: 5 / 4; height: auto; }
  .avaliacoes { grid-template-columns: 1fr; }
  .lista-head { grid-template-columns: 1fr; }
  .duvidas { grid-template-columns: 1fr; }
  .duv-lado { position: static; }
  .filme { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .top { padding-top: 14px; }
  .brand img { width: 44px; height: 44px; }
  .top-cta-text { display: none; }
  .top-cta { width: 48px; padding: 0; justify-content: center; }
  .hero { align-items: flex-end; padding-top: 100px; padding-bottom: 48px; }
  .hero-img img { object-position: 76% 50%; }
  .hero::after { background: linear-gradient(0deg, var(--ink) 6%, rgba(7, 8, 10, .78) 42%, rgba(7, 8, 10, .1) 68%, rgba(7, 8, 10, 0) 100%); }
  .hero h1 { font-size: clamp(1.75rem, 8.2vw, 2.3rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .janelas { grid-template-columns: repeat(3, 1fr); padding: 12px; gap: 10px 8px; }
  .jan { aspect-ratio: 4 / 5; min-height: 0; font-size: .82rem; padding: 9px 8px 10px; gap: 6px; }
  .jan > .sw { width: 20px; height: 20px; top: 7px; right: 7px; font-size: .85rem; }
  .jan-t { max-width: none; }
  .bento { grid-template-columns: 1fr; }
  .obras-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .obra-big { grid-column: span 2; grid-row: span 3; }
  .obra figcaption { font-size: .78rem; padding: 28px 10px 9px; }
  .sala, .quarto, .banheiro, .cozinha, .servico { grid-column: auto; min-height: 440px; }
  .trajeto li { grid-template-columns: 1fr; gap: 6px; }
  .av-falas, .trechos { grid-template-columns: 1fr; }
  .palavras li { grid-template-columns: 6.6em 1fr 2em; }
  .dados div { grid-template-columns: 1fr; gap: 2px; }
  .mapa, .mapa iframe { min-height: 320px; }
  .fecho-actions .btn { flex: 1 1 100%; }
  .filme-tela { width: min(320px, 100%); }
  .barra-lista { margin-right: 66px; } /* deixa o canto livre para o WhatsApp flutuante */
  .rodape { padding-bottom: 96px; }
}
@media (max-width: 360px) {
  .brand-name span { letter-spacing: .18em; }
  .janelas { padding: 8px; gap: 8px 6px; }
  .jan { font-size: .74rem; padding: 8px 6px 9px; overflow-wrap: anywhere; hyphens: auto; }
  .predio-topo, .terreo { margin-left: -4px; margin-right: -4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .palavras:not(.vis) li::after { transform: none; }
}
