/* Fontes auto-hospedadas (subconjunto latin, gerado do Google Fonts) */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/cinzel-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/cinzel-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/cormorant-garamond-italic-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/cormorant-garamond-italic-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/cormorant-garamond-italic-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/inter-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/inter-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Tradition and Art — Escultura Digital Sacra
   Paleta: negro cálido + marfim + ouro litúrgico
   ============================================================ */

:root {
  --bg: #0b0a08;
  --bg-2: #100e0b;
  --panel: #161310;
  --panel-2: #1c1814;
  --ink: #ece4d4;
  --ink-strong: #f7f2e7;
  --muted: #a99f8c;
  --faint: #7d7565;
  --gold: #c9a45e;
  --gold-bright: #e3c688;
  --gold-dim: rgba(201, 164, 94, 0.28);
  --hairline: rgba(201, 164, 94, 0.16);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --serif: "Cinzel", "Times New Roman", serif;
  --quote: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* toque: sem flash cinza ao tocar e sem atraso de duplo-toque nos controles */
a, button { -webkit-tap-highlight-color: transparent; }
button, .btn { touch-action: manipulation; }

::selection { background: rgba(201, 164, 94, 0.35); color: var(--ink-strong); }

.wrap { width: min(1180px, 92vw); margin-inline: auto; }

/* ---------- tipografia ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink-strong); line-height: 1.18; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold-dim); flex: none; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 42px; height: 1px; background: var(--gold-dim); flex: none; }

.section-title { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: 0.015em; }
.section-sub { color: var(--muted); max-width: 640px; margin-top: 18px; font-size: 17px; }

section { padding: clamp(80px, 11vw, 130px) 0; position: relative; }

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 16px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-gold {
  background: linear-gradient(160deg, var(--gold-bright), var(--gold) 55%, #a8843f);
  color: #17120a;
  box-shadow: 0 12px 34px rgba(201, 164, 94, 0.22);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(201, 164, 94, 0.32); }

.btn-ghost { border-color: var(--gold-dim); color: var(--ink-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); background: rgba(201, 164, 94, 0.07); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header.scrolled {
  background: rgba(11, 10, 8, 0.88);
  border-bottom: 1px solid var(--hairline);
  padding: 12px 0;
}
/* o desfoque vive num pseudo-elemento: backdrop-filter no próprio header o
   transformaria em containing block e prenderia o menu fixo (.site-nav) dentro
   dos 68px do cabeçalho — o menu aberto ficaria quebrado após rolar a página */
.site-header.scrolled::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand { display: flex; align-items: center; gap: 13px; }
.brand-logo {
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  object-fit: cover;
  background: #000;
}
.brand-name i { font-style: normal; color: var(--gold); }
.brand-name { font-family: var(--serif); font-size: 17px; letter-spacing: 0.14em; color: var(--ink-strong); line-height: 1.1; }
.brand-name small { display: block; font-family: var(--sans); font-size: 9.5px; font-weight: 500; letter-spacing: 0.42em; color: var(--gold); margin-top: 3px; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a {
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); transition: color 0.3s;
  position: relative; padding: 6px 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.site-nav a:hover { color: var(--ink-strong); }
.site-nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .btn { padding: 11px 22px; font-size: 13px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--gold-dim); border-radius: 2px;
  width: 44px; height: 44px; cursor: pointer; color: var(--ink);
  place-items: center;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.site-nav.open ~ .header-cta .nav-toggle .icon-menu { display: none; }
.site-nav.open ~ .header-cta .nav-toggle .icon-close { display: block; }

/* ---------- hero ---------- */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(58% 46% at 78% 38%, rgba(201, 164, 94, 0.10), transparent 70%),
    radial-gradient(42% 36% at 12% 82%, rgba(201, 164, 94, 0.05), transparent 70%),
    linear-gradient(180deg, #0d0c09 0%, var(--bg) 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}
.hero h1 em { font-style: normal; color: var(--gold-bright); }

.hero-lead { color: var(--muted); font-size: 18px; max-width: 540px; margin-bottom: 40px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 58px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 2.6vw, 40px);
  border-top: 1px solid var(--hairline);
  padding-top: 30px;
}
.hero-stats div { min-width: 0; flex: 1 1 0; }
.hero-stats strong {
  display: block; font-family: var(--serif); font-size: 30px; font-weight: 600;
  color: var(--gold-bright); line-height: 1; margin-bottom: 8px;
}
.hero-stats span { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

.hero-figure { position: relative; text-align: center; }
/* A imagem é exibida sempre na proporção natural — nunca cortada nem esticada.
   A largura é calculada a partir do teto de altura (78svh) e da proporção real
   da obra (1110/1400): assim o espaço reservado antes do carregamento é exato
   (sem "pulo" de layout) e nunca há duplo limite largura×altura deformando. */
.hero-figure img {
  display: block;
  width: min(100%, calc(78vh * 0.7929));
  width: min(100%, calc(78svh * 0.7929));
  height: auto;
  margin-inline: auto;
  border: 1px solid rgba(201, 164, 94, 0.18);
  border-radius: 4px;
  box-shadow: var(--shadow);
}
.hero-figure::after {
  content: "";
  position: absolute; inset: auto 8% -6% 8%; height: 44%;
  background: radial-gradient(50% 60% at 50% 100%, rgba(201, 164, 94, 0.13), transparent 75%);
  z-index: -1;
}
.hero-figure figcaption {
  position: absolute; right: 0; bottom: 6%;
  writing-mode: vertical-rl;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--faint);
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  color: var(--faint); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: drip 2.4s var(--ease) infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- faixa de citação ---------- */

.quote-band {
  padding: clamp(56px, 8vw, 90px) 0;
  border-block: 1px solid var(--hairline);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  text-align: center;
}
.quote-band blockquote {
  font-family: var(--quote);
  font-size: clamp(24px, 3.4vw, 38px);
  font-style: italic;
  font-weight: 500;
  color: var(--ink-strong);
  max-width: 900px;
  margin-inline: auto;
  line-height: 1.4;
}
.quote-band blockquote strong { color: var(--gold-bright); font-weight: 600; }
.quote-band figcaption {
  display: block; margin-top: 22px; font-family: var(--sans);
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
}

/* ---------- galeria ---------- */

.gallery-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 44px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-btn {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); background: transparent;
  border: 1px solid var(--hairline); border-radius: 999px;
  padding: 10px 20px; cursor: pointer;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { color: var(--ink-strong); border-color: var(--gold-dim); }
.filter-btn.active { color: #17120a; background: var(--gold); border-color: var(--gold); }

.gallery {
  columns: 3;
  column-gap: 22px;
}
/* com JS ativo, a galeria é montada como masonry de colunas fixas (js/main.js):
   as novas obras só se somam ao fim das colunas, sem reorganizar as visíveis —
   o multi-coluna acima fica como reserva para navegação sem JavaScript */
.gallery.masonry { display: flex; align-items: flex-start; gap: 22px; }
.gallery.masonry > .gallery-col { flex: 1 1 0; min-width: 0; }
.work {
  break-inside: avoid;
  margin-bottom: 22px;
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(201, 164, 94, 0.09);
  transition: translate 0.45s var(--ease), border-color 0.45s var(--ease);
}
/* efeitos de hover só em aparelhos com ponteiro — no toque eles "grudariam" após o tap.
   `translate` (e não transform): a animação de reveal já ocupa o transform do cartão */
@media (hover: hover) and (pointer: fine) {
  .work:hover { translate: 0 -4px; border-color: var(--gold-dim); }
  .work:hover img { transform: scale(1.035); }
}
.work-open {
  display: block; width: 100%;
  padding: 0; margin: 0; border: 0;
  background: none; cursor: zoom-in;
  font: inherit; color: inherit;
}
.work-open:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.work img { width: 100%; height: auto; transition: transform 0.8s var(--ease); }
/* as imagens surgem suavemente ao terminar de carregar (o espaço já fica reservado) */
.js .work img { opacity: 0; transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
.js .work img.loaded { opacity: 1; }
.work figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 44px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 5, 0.92) 72%);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .work figcaption {
    opacity: 0; transform: translateY(8px);
    transition: all 0.4s var(--ease);
  }
  .work:hover figcaption, .work:focus-within figcaption { opacity: 1; transform: translateY(0); }
}
.work figcaption b { font-family: var(--serif); font-weight: 600; font-size: 15.5px; color: var(--ink-strong); letter-spacing: 0.03em; }
.work figcaption span { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.work.hidden { display: none; }

.gallery-note { margin-top: 34px; text-align: center; color: var(--faint); font-size: 14px; }

/* ---------- o escultor ---------- */

.about { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg)); border-block: 1px solid var(--hairline); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}
.about-figure { position: relative; }
/* mesma técnica do herói: largura derivada do teto de 640px × proporção (876/1400) */
.about-figure img {
  display: block;
  width: min(100%, 400px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}
.about-figure::before {
  content: ""; position: absolute; inset: 6% -4% -4% 10%;
  border: 1px solid var(--hairline); border-radius: 3px; z-index: -1;
}
.about-copy p { color: var(--muted); margin-bottom: 20px; }
.about-copy p.lead { color: var(--ink); font-size: 19px; }
.about-quote {
  font-family: var(--quote); font-style: italic; font-size: 22px; line-height: 1.5;
  color: var(--ink-strong);
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin: 30px 0;
}
.signature { margin-top: 34px; }
.signature b { font-family: var(--serif); font-size: 19px; letter-spacing: 0.06em; color: var(--gold-bright); display: block; }
.signature span { font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }

/* ---------- processo ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 60px;
  counter-reset: step;
}
.step {
  background: var(--panel);
  border: 1px solid rgba(201, 164, 94, 0.10);
  border-radius: 3px;
  padding: 34px 28px 30px;
  position: relative;
  transition: all 0.4s var(--ease);
}
.step:hover { border-color: var(--gold-dim); transform: translateY(-4px); background: var(--panel-2); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 44px;
  color: var(--gold-dim);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px var(--gold-dim);
  display: block;
  line-height: 1;
  margin-bottom: 20px;
}
.step h3 { font-size: 19px; margin-bottom: 12px; letter-spacing: 0.03em; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- para quem ---------- */

/* minmax(0,1fr): as colunas podem encolher além do conteúdo — sem estourar em telas estreitas */
.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 60px; }
.audience {
  border: 1px solid rgba(201, 164, 94, 0.10);
  border-radius: 3px;
  padding: 36px 32px;
  background: linear-gradient(160deg, var(--panel), transparent);
  display: flex; gap: 22px;
  transition: border-color 0.4s var(--ease);
}
.audience:hover { border-color: var(--gold-dim); }
.audience-icon {
  width: 52px; height: 52px; flex: none;
  border: 1px solid var(--gold-dim); border-radius: 2px;
  display: grid; place-items: center; color: var(--gold);
}
.audience-icon svg { width: 24px; height: 24px; }
.audience > div { min-width: 0; }
.audience h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: 0.02em; overflow-wrap: break-word; hyphens: auto; }
.audience p { font-size: 15px; color: var(--muted); }

/* ---------- manifesto ---------- */

.manifesto {
  text-align: center;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(201, 164, 94, 0.07), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--hairline);
}
.manifesto .cross { color: var(--gold); margin-bottom: 30px; }
.manifesto .cross svg { width: 30px; height: 30px; }
.manifesto p {
  font-family: var(--quote);
  font-size: clamp(21px, 2.8vw, 30px);
  font-style: italic;
  color: var(--ink);
  max-width: 860px;
  margin: 0 auto 26px;
  line-height: 1.55;
}
.manifesto .motto {
  font-family: var(--serif); font-style: normal; font-size: clamp(17px, 2vw, 22px);
  letter-spacing: 0.14em; color: var(--gold-bright);
}

/* ---------- contato ---------- */

.contact-panel {
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background:
    radial-gradient(70% 120% at 85% 10%, rgba(201, 164, 94, 0.10), transparent 60%),
    var(--panel);
  padding: clamp(44px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
.contact-panel h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 18px; }
.contact-panel > div > p { color: var(--muted); max-width: 520px; }

.contact-actions { display: grid; gap: 14px; }
.contact-line {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid rgba(201, 164, 94, 0.12);
  border-radius: 3px;
  padding: 18px 22px;
  transition: all 0.35s var(--ease);
  background: rgba(11, 10, 8, 0.4);
}
.contact-line:hover { border-color: var(--gold); transform: translateX(4px); }
.contact-line svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.contact-line b { display: block; font-size: 15px; color: var(--ink-strong); font-weight: 600; }
.contact-line span { font-size: 13px; color: var(--faint); }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--hairline); padding: 54px 0 40px; background: var(--bg-2); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.footer-motto { font-family: var(--serif); font-size: 13.5px; letter-spacing: 0.18em; color: var(--gold); text-align: center; }
.footer-note { width: 100%; text-align: center; color: var(--faint); font-size: 12.5px; margin-top: 30px; border-top: 1px solid rgba(201, 164, 94, 0.08); padding-top: 26px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: 2px;
  display: grid; place-items: center; color: var(--muted);
  transition: all 0.3s var(--ease);
}
.footer-social a:hover { color: var(--gold); border-color: var(--gold-dim); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- botão flutuante WhatsApp ---------- */

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  width: 58px; height: 58px; border-radius: 50%;
  background: #1ebe5d;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 14px 34px rgba(30, 190, 93, 0.35);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(6, 5, 4, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center; justify-content: center;
  overscroll-behavior: contain;
  touch-action: pan-y pinch-zoom;
}
.lightbox.open { display: flex; flex-direction: column; gap: 20px; padding: 24px; }
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: calc(100vh - 170px);
  max-height: calc(100svh - 170px);
  object-fit: contain;
  border-radius: 3px;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.lightbox img.is-ready { opacity: 1; }
.lightbox-caption {
  text-align: center; width: min(90vw, 700px);
}
.lightbox-caption b { font-family: var(--serif); font-size: 18px; color: var(--ink-strong); letter-spacing: 0.04em; display: block; }
.lightbox-caption span { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

.lb-btn {
  position: absolute; z-index: 2;
  background: rgba(22, 19, 16, 0.7);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  color: var(--ink);
  width: 50px; height: 50px;
  display: grid; place-items: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.lb-btn:hover { color: var(--gold-bright); border-color: var(--gold-dim); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- reveal ---------- */

/* Abertura: animação puramente em CSS, começa a rodar assim que o CSS é lido —
   não espera o JavaScript. É o que mantém a primeira impressão (LCP) rápida.
   A imagem da abertura não é animada de propósito: aparece assim que baixa. */
@keyframes entrada {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.enter { animation: entrada 0.7s var(--ease) both; }
.enter-d1 { animation-delay: 0.07s; }
.enter-d2 { animation-delay: 0.14s; }
.enter-d3 { animation-delay: 0.21s; }

/* escondido apenas quando o JS está ativo (html.js) — sem JS, tudo permanece visível */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 0.12s; }
.js .reveal-d2 { transition-delay: 0.24s; }
.js .reveal-d3 { transition-delay: 0.36s; }

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

/* ---------- responsivo ---------- */

@media (max-width: 1024px) {
  .site-nav {
    position: fixed; inset: 0; z-index: 70;
    background: rgba(9, 8, 6, 0.97);
    flex-direction: column; justify-content: center; gap: 30px;
    display: none;
    overscroll-behavior: contain;
  }
  .site-nav.open { display: flex; }
  .site-nav a { font-size: 18px; padding: 10px 16px; }
  .filter-btn { min-height: 44px; }
  .nav-toggle { display: grid; z-index: 80; position: relative; }
  .gallery { columns: 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding-top: 130px; min-height: 0; }
  .hero-figure { order: -1; }
  .hero-figure img {
    width: min(100%, calc(58vh * 0.7929));
    width: min(100%, calc(58svh * 0.7929));
  }
  .hero-figure figcaption { display: none; }
  .scroll-hint { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { max-width: 460px; margin-inline: auto; }
  .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-cta .btn { display: none; }
  .gallery { columns: 2; column-gap: 12px; }
  .gallery.masonry { gap: 12px; }
  .work { margin-bottom: 12px; }
  .work figcaption { padding: 30px 12px 10px; }
  .work figcaption b { font-size: 12.5px; }
  .work figcaption span { display: none; }
  .steps { grid-template-columns: 1fr; }
  .audiences { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .hero-stats strong { font-size: 24px; }

  /* lightbox: setas na base da tela, ao alcance do polegar — sem cobrir a obra */
  .lightbox.open { padding: 14px 14px calc(76px + env(safe-area-inset-bottom)); gap: 12px; }
  .lightbox img {
    max-width: calc(100vw - 28px);
    max-height: calc(100vh - 210px);
    max-height: calc(100svh - 210px);
  }
  .lightbox-caption { width: calc(100vw - 28px); }
  .lb-btn { width: 46px; height: 46px; }
  .lb-close { top: 14px; right: 14px; }
  .lb-prev, .lb-next { top: auto; bottom: calc(14px + env(safe-area-inset-bottom)); transform: none; }
  .lb-prev { left: 14px; }
  .lb-next { right: 14px; }

  .wa-float { width: 52px; height: 52px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  /* galeria: uma obra por linha, sempre na proporção natural — nada cortado nem espremido */
  .gallery { columns: auto; max-width: 520px; margin-inline: auto; }
  .gallery.masonry { gap: 0; }
  .work { margin-bottom: 16px; }
  .work figcaption { padding: 56px 16px 14px; }
  .work figcaption b { font-size: 16px; }
  .work figcaption span { display: inline; font-size: 10.5px; }

  /* filtros deslizam na horizontal em vez de quebrar em várias linhas */
  .gallery-head { margin-bottom: 30px; }
  .filters {
    flex-wrap: nowrap; overflow-x: auto;
    gap: 8px;
    margin-inline: -4vw; padding: 2px 4vw 10px;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex: none; }
  /* enquanto houver filtros escondidos à direita, a borda esmaece como convite a rolar */
  .filters.has-more {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
  }

  .hero { padding-top: 112px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .about-quote { font-size: 20px; padding-left: 18px; }

  .audience { padding: 26px 20px; gap: 16px; }
  .audience-icon { width: 46px; height: 46px; }

  .contact-panel { padding: 34px 22px; }
  .contact-line { padding: 16px 18px; }

  .footer-grid { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
}
