/* ==========================================================
   SBG Móveis & Design — site institucional
   Identidade baseada no Manual da Marca SBG:
   - Cores: paleta oficial (tons de madeira, neutros e roxos)
   - Tipografia web: Amiri (no lugar da Bookmania) e Roboto (no lugar da Trade Gothic)
   - Elementos: padrão de pontos, ícones de linha, filtro marrom soft-light nas fotos
   ========================================================== */

:root {
  /* Paleta oficial (manual, pág. 03) */
  --c-taupe: #806e6c;     /* RGB 128 110 108 */
  --c-bege: #d9c4b0;      /* RGB 217 196 176 */
  --c-marrom: #855139;    /* RGB 133 081 057 */
  --c-pedra: #bcb7b1;     /* RGB 188 183 177 */
  --c-grafite: #4c4c4a;   /* RGB 076 076 074 — cor do logotipo */
  --c-gelo: #ede9e6;      /* RGB 237 233 230 */
  --c-ameixa: #4d384b;    /* RGB 077 056 075 */
  --c-berinjela: #342832; /* RGB 052 040 050 */
  --c-vinho: #551746;     /* RGB 085 023 070 */

  --bg: var(--c-gelo);
  --paper: #f7f5f3;
  --ink: var(--c-grafite);
  --ink-strong: var(--c-berinjela);
  --ink-soft: #77716d;
  --line: rgba(76, 76, 74, .18);
  --accent: var(--c-marrom);
  --accent-soft: var(--c-bege);
  --dark: var(--c-berinjela);
  --dark-2: var(--c-ameixa);
  --light: #faf8f6;

  --serif: "Amiri", "Bookman Old Style", Georgia, serif;
  --sans: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);

  --dots: radial-gradient(circle, rgba(128, 110, 108, .45) 1px, transparent 1.3px) 0 0 / 14px 14px;
  --dots-light: radial-gradient(circle, rgba(217, 196, 176, .28) 1px, transparent 1.3px) 0 0 / 14px 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-strong);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.1em; }
em { font-style: italic; }
::selection { background: var(--c-ameixa); color: var(--light); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Rótulo de seção — inspirado no rodapé das páginas do manual (“Conceito ———— 02”) */
.section-label {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
  font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--c-taupe);
}
.section-label em { white-space: nowrap; }
.section-label span { flex: 1; max-width: 220px; height: 1px; background: var(--c-pedra); }
.section-label b {
  font-family: var(--sans); font-weight: 400; font-size: 12px; letter-spacing: .1em;
  background: var(--c-pedra); color: var(--light); padding: 7px 10px; line-height: 1;
}
.section-label--light { color: var(--c-bege); }
.section-label--light span { background: rgba(217, 196, 176, .35); }
.section-label--light b { background: rgba(217, 196, 176, .25); }
.section-label--center { justify-content: center; }

.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 400;
  letter-spacing: .42em; text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--accent); }

.section-title {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(36px, 5vw, 72px); line-height: 1.08; letter-spacing: -.005em;
  margin-bottom: 30px;
}
.section-title em { color: var(--accent); }

/* Filtro de portfólio do manual: marrom em soft-light */
.photo-filter, .card__img, .slide, .detail, .about__stills figure, .spaces__float { position: relative; }
.card__img::after, .slide::after, .detail::after, .about__stills figure::after, .spaces__float::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--c-marrom); mix-blend-mode: soft-light; opacity: .55;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px; overflow: hidden;
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase; font-weight: 400;
  transition: color .5s var(--ease), border-color .5s var(--ease);
  isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn--dark { background: var(--ink); color: var(--light); }
.btn--dark::before { background: var(--c-ameixa); }
.btn--line { border: 1px solid var(--ink); color: var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--light); }
.btn--big { padding: 22px 38px; font-size: 13px; }
.btn .wa { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.btn:hover .wa { transform: none; }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: grid; place-items: center; align-content: center; gap: 34px;
  transition: clip-path 1.1s var(--ease-in-out); clip-path: inset(0 0 0 0);
}
.loader::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 30%; background: var(--c-berinjela); }
.loader::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 30%; background: var(--dots-light); }
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__mark { position: relative; width: min(300px, 70vw); aspect-ratio: 300 / 126; z-index: 1; }
.loader__mark img { position: absolute; inset: 0; width: 100%; opacity: 0; transform: translateY(10px); animation: logoIn 1.1s .45s var(--ease) forwards; }
.loader__frame { position: absolute; inset: -16px -20px; width: calc(100% + 40px); height: calc(100% + 32px); fill: none; stroke: var(--c-bege); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 1.6s var(--ease-in-out) forwards; }
.loader__quote { position: relative; z-index: 1; margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--c-taupe); opacity: 0; animation: logoIn 1s .9s var(--ease) forwards; }
.loader__count { position: absolute; bottom: 34px; left: var(--pad); font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--ink); z-index: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes logoIn { to { opacity: 1; transform: none; } }
@media (max-width: 700px) { .loader::before, .loader::after { width: 100%; top: auto; height: 18%; } }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--c-ameixa); opacity: 0;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), opacity .3s, background .3s;
  display: grid; place-items: center;
}
.cursor.is-visible { opacity: .9; }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(217, 196, 176, .45); }
.cursor.has-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--c-ameixa); opacity: 1; }
.cursor__label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--light); opacity: 0; transition: opacity .3s; }
.cursor.has-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: transform .6s var(--ease), background-color .5s, padding .5s var(--ease), box-shadow .5s;
}
.header.is-scrolled { background: rgba(237, 233, 230, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__logo img { width: 150px; height: auto; transition: width .5s var(--ease); }
.header.is-scrolled .header__logo img { width: 120px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav__link { position: relative; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; padding: 6px 0; color: var(--ink); }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px;
  background: var(--c-ameixa); color: var(--light); font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  transition: background .4s;
}
.nav__cta:hover { background: var(--c-berinjela); }
.nav__cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; z-index: 2; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.nav-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 20px;
    background: var(--bg) var(--dots); clip-path: circle(0 at calc(100% - 42px) 40px);
    transition: clip-path .8s var(--ease-in-out);
  }
  .nav-open .nav { clip-path: circle(150% at calc(100% - 42px) 40px); }
  .nav__link { font-family: var(--serif); font-size: 36px; letter-spacing: 0; text-transform: none; }
  .nav__cta { margin-top: 18px; font-size: 13px; padding: 14px 26px; }
  .nav-open { overflow: hidden; }
  .nav-open .header { transform: none; backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(30px, 5vw, 80px);
  padding: 120px var(--pad) 80px;
}
.hero__dots { position: absolute; top: 0; right: 0; bottom: 0; width: 26%; background: var(--dots); opacity: .55; pointer-events: none; }
.hero__text { position: relative; }
.hero__title {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(56px, 8.4vw, 136px); line-height: 1; letter-spacing: -.015em; margin-bottom: 30px;
}
.hero__title em { color: var(--accent); }
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line > span { display: block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.is-ready .line > span { transform: translateY(0); }
.is-ready .line:nth-child(2) > span { transition-delay: .14s; }
@media (min-width: 961px) { .line { white-space: nowrap; } }

[data-hero-in] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-ready [data-hero-in] { opacity: 1; transform: none; }
.is-ready .eyebrow[data-hero-in] { transition-delay: .1s; }
.is-ready .hero__lead[data-hero-in] { transition-delay: .4s; }
.is-ready .hero__actions[data-hero-in] { transition-delay: .55s; }

.hero__lead { max-width: 500px; font-family: var(--serif); font-size: 21px; line-height: 1.55; color: var(--ink); margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media { position: relative; height: min(78vh, 780px); clip-path: inset(100% -200px -200px -200px); transition: clip-path 1.5s .15s var(--ease-in-out); }
.is-ready .hero__media { clip-path: inset(0 -200px -200px -200px); }
/* moldura = o “cômodo” do logotipo, com a quebra no canto */
.hero__media::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--c-grafite); pointer-events: none; z-index: 0;
  clip-path: polygon(0 0, 62% 0, 62% 1px, 72% 1px, 72% 0, 100% 0, 100% 100%, 0 100%);
}
.slides { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.slide { position: absolute; inset: 0; margin: 0; clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-in-out); }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); transition: transform 7s linear; }
.slide.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.slide.is-active img { transform: scale(1.02); }
.slide.is-leaving { clip-path: inset(0 0 0 0); z-index: 1; }

.hero__caption { position: absolute; left: 0; bottom: -44px; display: flex; align-items: center; gap: 18px; font-size: 12px; letter-spacing: .2em; color: var(--ink); }
.hero__caption-bar { width: 120px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__caption-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.hero__caption-bar i.run { animation: bar 5s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }

.hero__badge { position: absolute; left: -60px; bottom: 56px; width: 132px; height: 132px; display: grid; place-items: center; background: var(--c-bege); border-radius: 50%; z-index: 3; }
.hero__badge svg { position: absolute; inset: 6px; width: calc(100% - 12px); animation: spin 18s linear infinite; }
.hero__badge text { font-family: var(--sans); font-size: 10.5px; text-transform: uppercase; fill: var(--c-berinjela); }
.hero__badge > span { font-family: var(--serif); font-size: 42px; line-height: .8; text-align: center; color: var(--c-berinjela); }
.hero__badge small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; margin-top: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-hint { position: absolute; left: var(--pad); bottom: 30px; width: 1px; height: 56px; background: var(--line); overflow: hidden; }
.scroll-hint span { position: absolute; left: 0; top: 0; width: 1px; height: 50%; background: var(--ink); animation: drip 2.2s var(--ease-in-out) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(220%); } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 110px; }
  .hero__dots { width: 40%; height: 50%; }
  .hero__media { height: 64vh; margin-left: 30px; }
  .hero__badge { left: -30px; bottom: 30px; width: 104px; height: 104px; }
  .hero__badge > span { font-size: 32px; }
  .scroll-hint { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 24px 0; background: var(--paper); }
.marquee__track { display: flex; align-items: center; gap: 42px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(30px, 4vw, 54px); white-space: nowrap; color: var(--ink); line-height: 1.2; }
.marquee span:nth-child(4n+3) { font-style: italic; color: var(--accent); }
.marquee i { width: 10px; height: 10px; border-radius: 50%; background: var(--c-bege); flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal helpers ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-clip { clip-path: inset(14% 14% 14% 14%); transition: clip-path 1.6s var(--ease-in-out); }
.reveal-clip.is-in { clip-path: inset(0 0 0 0); }

/* ---------- About + vídeo ---------- */
.about { display: grid; grid-template-columns: minmax(280px, .8fr) 1.2fr; gap: clamp(40px, 7vw, 120px); align-items: center; padding: clamp(90px, 12vw, 170px) var(--pad); }
.about__video { position: relative; aspect-ratio: 9 / 16; max-height: 86vh; background: var(--c-berinjela); overflow: hidden; justify-self: center; width: 100%; max-width: 480px; }
.about__video video { width: 100%; height: 100%; object-fit: cover; }
.video__ui { position: absolute; left: 16px; right: 16px; bottom: 26px; display: flex; justify-content: space-between; align-items: center; gap: 10px; z-index: 2; }
.video__btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 0; cursor: pointer;
  background: rgba(52, 40, 50, .72); color: var(--light); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; transition: background .3s;
}
.video__btn:hover { background: var(--c-ameixa); }
.video__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.video__btn--round { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
.video__btn .i-on, .video__btn .i-play { display: none; }
.is-sound .video__btn .i-on { display: block; }
.is-sound .video__btn .i-off { display: none; }
.is-paused .video__btn .i-play { display: block; fill: currentColor; }
.is-paused .video__btn .i-pause { display: none; }
.video__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .2); z-index: 2; }
.video__progress i { position: absolute; inset: 0; background: var(--c-bege); transform-origin: left; transform: scaleX(0); }
.about__tag { position: absolute; left: 16px; top: 16px; background: var(--bg); padding: 8px 14px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; z-index: 2; color: var(--ink); }

.about__text > p { max-width: 580px; color: var(--ink-strong); }
.about__text > p:not(.section-label) { font-family: var(--serif); font-size: 20px; line-height: 1.6; }
.about__stills { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0 0; max-width: 620px; }
.about__stills figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.about__stills img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__stills figure:hover img { transform: scale(1.06); }
.about__stills figcaption { position: absolute; left: 10px; bottom: 10px; z-index: 1; background: var(--bg); padding: 5px 10px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 44px 0 0; padding-top: 30px; border-top: 1px solid var(--line); max-width: 620px; }
.stat dt { font-family: var(--serif); font-size: clamp(46px, 5vw, 70px); line-height: 1; color: var(--ink); }
.stat dt sup { font-size: .45em; vertical-align: top; position: relative; top: .3em; color: var(--accent); }
.stat dd { margin: 10px 0 0; font-size: 13px; letter-spacing: .04em; color: var(--ink-soft); line-height: 1.45; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__video { max-width: 380px; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- Conceito ---------- */
.concept { position: relative; background: var(--paper); padding: clamp(90px, 12vw, 170px) var(--pad); overflow: hidden; }
.concept__dots { position: absolute; left: 0; top: 0; width: 22%; height: 100%; background: var(--dots); opacity: .45; pointer-events: none; }
.concept__head { position: relative; max-width: 1100px; margin: 0 auto 80px; }
.concept__quote { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4.2vw, 60px); line-height: 1.22; color: var(--ink); }
.concept__quote .w { display: inline-block; opacity: .14; transition: opacity .5s, color .5s; }
.concept__quote .w.is-on { opacity: 1; }
.concept__quote .w--first { font-style: italic; color: var(--accent); }

.concept__body { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; max-width: 1100px; margin: 0 auto; }
.concept__mark { position: relative; padding: 30px; }
.concept__mark img { width: 100%; opacity: .32; }
.concept__mark .dot { position: absolute; width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--c-bege); mix-blend-mode: multiply; opacity: .85; animation: float 6s ease-in-out infinite; }
.concept__mark .dot--1 { left: 9%; top: 44%; }
.concept__mark .dot--2 { left: 33%; top: 26%; animation-delay: -2s; }
.concept__mark .dot--3 { left: 50%; top: 58%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.attrs { list-style: none; margin: 0; padding: 0; }
.attr { position: relative; padding: 0 0 30px 34px; }
.attr::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--c-berinjela); }
.attr::after { content: ""; position: absolute; left: 4.5px; top: 22px; bottom: 6px; width: 1px; background: var(--c-pedra); }
.attr:last-child::after { display: none; }
.attr h3 { font-family: var(--serif); font-size: 24px; line-height: 1.3; color: var(--c-berinjela); margin-bottom: 4px; }
.attr p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.5; color: var(--c-pedra); filter: brightness(.78); }
.concept__closing { position: relative; max-width: 1100px; margin: 80px auto 0; padding-top: 40px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.4; color: var(--ink); }
.concept__closing em { color: var(--accent); }
@media (max-width: 860px) {
  .concept__body { grid-template-columns: 1fr; }
  .concept__mark { max-width: 320px; }
}

/* ---------- Standard / pillars ---------- */
.standard { padding: clamp(90px, 12vw, 170px) var(--pad); }
.standard__head { max-width: 900px; margin-bottom: 70px; }
.standard__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pillar { position: relative; padding: 40px 30px 46px 0; border-right: 1px solid var(--line); overflow: hidden; }
.pillar:last-child { border-right: 0; }
.pillar + .pillar { padding-left: 30px; }
.pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__n { display: block; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--c-taupe); margin-bottom: 36px; transition: transform .6s var(--ease), color .4s; }
.pillar:hover .pillar__n { transform: translateX(8px); color: var(--accent); }
.pillar h3 { font-family: var(--serif); font-size: 30px; line-height: 1.15; margin-bottom: 14px; color: var(--ink); }
.pillar p { color: var(--ink-soft); font-size: 16px; margin: 0; }
@media (max-width: 1000px) {
  .standard__grid { grid-template-columns: 1fr 1fr; }
  .pillar { border-bottom: 1px solid var(--line); }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(3) { padding-left: 0; }
}
@media (max-width: 600px) {
  .standard__grid { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { border-right: 0; padding-left: 0; padding-right: 0; }
}

/* ---------- Spaces ---------- */
.spaces { position: relative; padding: clamp(90px, 12vw, 170px) var(--pad); background: var(--paper); }
.spaces__head { margin-bottom: 60px; }
.spaces__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.space {
  position: relative; display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 24px;
  padding: 26px 0; border-bottom: 1px solid var(--line); cursor: default;
}
.space__icon { width: 54px; height: 54px; fill: none; stroke: var(--c-bege); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; filter: brightness(.82); transition: stroke .4s, transform .6s var(--ease); }
.space__name { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 66px); line-height: 1.1; color: var(--ink); transition: transform .6s var(--ease), color .4s; }
.space__desc { font-size: 14px; color: var(--ink-soft); max-width: 260px; text-align: right; }
.space__thumb { display: none; }
@media (hover: hover) and (min-width: 861px) {
  .space:hover .space__name { transform: translateX(22px); font-style: italic; color: var(--accent); }
  .space:hover .space__icon { stroke: var(--accent); transform: rotate(-6deg) scale(1.08); filter: none; }
  .spaces__list:hover .space:not(:hover) { opacity: .35; }
  .space { transition: opacity .5s var(--ease); }
}
.spaces__float {
  position: fixed; top: 0; left: 0; width: 300px; height: 380px; pointer-events: none; z-index: 40;
  overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.7);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
  box-shadow: 18px 18px 0 -1px var(--c-bege);
}
.spaces__float.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.spaces__float img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .space { grid-template-columns: 1fr 96px; grid-template-areas: "icon img" "name img" "desc img"; gap: 6px 18px; }
  .space__icon { grid-area: icon; width: 40px; height: 40px; }
  .space__name { grid-area: name; }
  .space__desc { grid-area: desc; text-align: left; }
  .space__thumb { display: block; grid-area: img; width: 96px; height: 120px; object-fit: cover; }
  .spaces__float { display: none; }
}

/* ---------- Work: horizontal scroll ---------- */
.work { position: relative; background: var(--bg); }
.work__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.work__head { position: absolute; top: clamp(90px, 12vh, 130px); left: var(--pad); max-width: 520px; z-index: 2; }
.work__head .section-title { font-size: clamp(32px, 3.6vw, 54px); }
.work__hint { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.work__hint-line { position: relative; width: 120px; height: 1px; background: var(--line); }
.work__hint-line i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.work__track { display: flex; align-items: flex-end; gap: clamp(24px, 3vw, 44px); padding: 0 var(--pad) 0 calc(var(--pad) + min(560px, 42vw)); will-change: transform; height: 100%; padding-bottom: 8vh; }
.card { flex: 0 0 auto; width: clamp(280px, min(30vw, 58vh), 520px); margin: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; display: block; }
.card--tall { width: clamp(220px, min(22vw, 38vh), 360px); }
.card__img { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--c-pedra); }
.card--tall .card__img { aspect-ratio: 2 / 3; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.card:hover .card__img img, .card:focus-visible .card__img img { transform: scale(1); }
.card__cap { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding-top: 16px; }
.card__cap strong { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--ink); }
.card__cap span { grid-column: 1; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.card__cap em { grid-column: 2; grid-row: 1 / span 2; align-self: start; font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--light); background: var(--c-taupe); padding: 5px 9px; white-space: nowrap; }
.card--cta {
  align-self: stretch; margin: 20vh 0 calc(8vh + 60px); width: clamp(260px, 24vw, 360px);
  display: flex; flex-direction: column; justify-content: space-between; padding: 36px;
  background: var(--c-ameixa) var(--dots-light); color: var(--light); transition: background-color .5s;
}
.card--cta:hover { background-color: var(--c-berinjela); }
.card--cta span { font-family: var(--serif); font-size: 34px; line-height: 1.15; }
.card--cta em { font-size: 14px; letter-spacing: .14em; font-style: normal; color: var(--c-bege); }
.card--cta svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.2; align-self: flex-end; transition: transform .5s var(--ease); }
.card--cta:hover svg { transform: translate(6px, -6px); }

@media (max-width: 860px) {
  .work { height: auto !important; padding: 90px 0 70px; }
  .work__sticky { position: static; height: auto; display: block; }
  .work__head { position: static; padding: 0 var(--pad); margin-bottom: 36px; }
  .work__hint { display: none; }
  .work__track { transform: none !important; height: auto; padding: 0 var(--pad) 10px; overflow-x: auto; scroll-snap-type: x mandatory; align-items: flex-start; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .work__track::-webkit-scrollbar { display: none; }
  .card, .card--tall { width: 78vw; scroll-snap-align: center; }
  .card--tall .card__img, .card__img { aspect-ratio: 4 / 5; }
  .card--cta { margin: 0; min-height: 300px; align-self: auto; }
}

/* ---------- Detalhes ---------- */
.details { padding: clamp(90px, 12vw, 170px) var(--pad); background: var(--c-berinjela) var(--dots-light); color: var(--light); overflow: hidden; }
.details .section-label { color: var(--c-bege); }
.details .section-label span { background: rgba(217, 196, 176, .35); }
.details .section-label b { background: rgba(217, 196, 176, .25); }
.details .section-title { color: var(--light); }
.details .section-title em { color: var(--c-bege); }
.details__head { margin-bottom: 70px; }
.details__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); align-items: start; }
.details__col { display: grid; gap: clamp(14px, 2vw, 28px); will-change: transform; }
.details__col:nth-child(2) { margin-top: 12vh; }
.detail { margin: 0; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 5; }
.details__col:nth-child(odd) .detail:first-child { aspect-ratio: 3 / 4; }
.detail img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.detail:hover img { transform: scale(1.06); }
.detail figcaption { position: absolute; left: 0; bottom: 0; z-index: 1; padding: 10px 14px; background: var(--c-berinjela); color: var(--c-bege); font-family: var(--serif); font-style: italic; font-size: 18px; transform: translateY(100%); transition: transform .5s var(--ease); }
.detail:hover figcaption { transform: none; }
@media (max-width: 760px) {
  .details__grid { grid-template-columns: 1fr 1fr; }
  .details__col { transform: none !important; }
  .details__col:nth-child(2) { margin-top: 40px; }
  .details__col:nth-child(3) { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .detail figcaption { transform: none; font-size: 15px; }
}

/* ---------- Process ---------- */
.process { position: relative; padding: clamp(90px, 12vw, 170px) var(--pad); }
.process__head { margin-bottom: 80px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; position: relative; z-index: 1; }
.step { position: relative; padding-top: 50px; }
.step__dot { position: absolute; top: -6px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1px solid var(--ink); transition: background .5s, border-color .5s, transform .5s var(--ease); }
.step.is-lit .step__dot { background: var(--c-berinjela); border-color: var(--c-berinjela); transform: scale(1.3); }
.step__n { display: block; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--c-taupe); margin-bottom: 14px; }
.step h3 { font-family: var(--serif); font-size: 32px; line-height: 1.15; margin-bottom: 14px; color: var(--ink); }
.step p { color: var(--ink-soft); font-size: 16px; }
.process__line { position: absolute; left: var(--pad); right: var(--pad); height: 1px; background: var(--line); top: var(--line-top, 0); }
.process__line i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 36px; }
  .step { padding: 0 0 46px; }
  .step__dot { left: -42px; top: 6px; }
  .process__line { display: none; }
  .steps::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 50px; width: 1px; background: var(--line); }
}

/* ---------- SBG One ---------- */
.one { position: relative; overflow: hidden; background: var(--c-ameixa); color: var(--light); padding: clamp(110px, 14vw, 200px) var(--pad); }
.one::before { content: ""; position: absolute; inset: 0; background: var(--dots-light); pointer-events: none; }
.one__bg { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; pointer-events: none; user-select: none; }
.one__bg span {
  font-family: var(--serif); font-weight: 400; font-size: clamp(140px, 30vw, 460px); line-height: .9; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(217, 196, 176, .16); white-space: nowrap; will-change: transform;
}
.one__bg span:last-child { align-self: flex-end; font-style: italic; }
.one__inner { position: relative; max-width: 760px; margin-left: auto; margin-right: clamp(0px, 8vw, 140px); }
.one__title { font-family: var(--serif); font-size: clamp(46px, 6.4vw, 96px); line-height: 1.04; margin-bottom: 30px; }
.one__title em { color: var(--c-bege); }
.one__lead { font-family: var(--serif); font-size: 21px; line-height: 1.55; color: rgba(250, 248, 246, .78); max-width: 560px; }
.one__lead strong { color: var(--light); font-weight: 700; }
.one__list { list-style: none; padding: 0; margin: 34px 0 54px; display: flex; flex-wrap: wrap; gap: 10px; }
.one__list li { border: 1px solid rgba(217, 196, 176, .35); padding: 9px 18px; font-size: 13px; letter-spacing: .08em; }
.one__cta { position: relative; display: inline-grid; place-items: center; width: 200px; height: 200px; }
.one__cta-ring { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.one__cta-ring svg { width: 100%; height: 100%; }
.one__cta-ring text { font-family: var(--sans); font-size: 13px; text-transform: uppercase; fill: var(--light); }
.one__cta-core { width: 112px; height: 112px; border-radius: 50%; background: var(--c-bege); display: grid; place-items: center; transition: transform .6s var(--ease), background .4s; }
.one__cta-core svg { width: 36px; height: 36px; fill: none; stroke: var(--c-berinjela); stroke-width: 1.4; transition: transform .6s var(--ease), stroke .4s; }
.one__cta:hover .one__cta-core { transform: scale(1.12); background: var(--light); }
.one__cta:hover .one__cta-core svg { transform: rotate(45deg); }
.one__cta:hover .one__cta-ring { animation-duration: 5s; }
@media (max-width: 760px) { .one__inner { margin-right: 0; } .one__cta { width: 170px; height: 170px; } .one__cta-core { width: 92px; height: 92px; } }

/* ---------- Contact ---------- */
.contact { padding: clamp(100px, 13vw, 180px) var(--pad); text-align: center; background: var(--paper); }
.contact__inner { max-width: 1100px; margin: 0 auto; }
.contact__title { font-family: var(--serif); font-size: clamp(46px, 7.4vw, 118px); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 50px; color: var(--ink); }
.contact__title em { color: var(--accent); }
.contact__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 90px; padding-top: 40px; border-top: 1px solid var(--line); text-align: left; }
.contact__label { display: block; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--c-taupe); margin-bottom: 10px; }
.contact__grid a { font-family: var(--serif); font-size: 23px; line-height: 1.3; color: var(--ink); word-break: break-word; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact__grid a:hover { background-size: 100% 1px; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .contact__grid { grid-template-columns: 1fr; } .btn--big { padding: 18px 22px; font-size: 11px; } }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--c-berinjela); color: rgba(250, 248, 246, .7); padding: 80px var(--pad) 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 40px 60px; align-items: center; }
.footer::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 30%; background: var(--dots-light); pointer-events: none; }
.footer > * { position: relative; }
.footer__logo { width: 190px; height: auto; }
.footer__tagline { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.3; color: var(--light); }
.footer__tagline em { color: var(--c-bege); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 26px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.footer__nav a:hover { color: var(--c-bege); }
.footer__copy { grid-column: 1 / -1; margin: 30px 0 0; padding-top: 26px; border-top: 1px solid rgba(250, 248, 246, .12); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 860px) { .footer { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 180; background: rgba(52, 40, 50, .97); color: var(--light); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; transition: opacity .5s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox::before { content: ""; position: absolute; inset: 0; background: var(--dots-light); opacity: .5; pointer-events: none; }
.lightbox__top { position: relative; display: flex; align-items: center; gap: 24px; padding: 20px var(--pad); }
.lightbox__info { flex: 1; display: flex; flex-direction: column; }
.lightbox__info strong { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; }
.lightbox__info span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-bege); }
.lightbox__count { font-family: var(--serif); font-size: 20px; color: var(--c-bege); }
.lightbox__close { position: relative; width: 48px; height: 48px; border: 1px solid rgba(217, 196, 176, .4); background: none; cursor: pointer; border-radius: 50%; transition: background .3s; }
.lightbox__close:hover { background: rgba(217, 196, 176, .15); }
.lightbox__close span { position: absolute; left: 14px; right: 14px; top: 23px; height: 1px; background: var(--light); transform: rotate(45deg); }
.lightbox__close span + span { transform: rotate(-45deg); }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 calc(var(--pad) + 50px); min-height: 0; touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; opacity: 0; transform: scale(.97); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.lightbox__stage img.is-loaded { opacity: 1; transform: none; }
.lightbox__nav { position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; border: 1px solid rgba(217, 196, 176, .4); background: rgba(52, 40, 50, .6); cursor: pointer; display: grid; place-items: center; transition: background .3s; z-index: 2; }
.lightbox__nav:hover { background: var(--c-ameixa); }
.lightbox__nav svg { width: 22px; height: 22px; fill: none; stroke: var(--light); stroke-width: 1.4; }
.lightbox__nav--prev { left: calc(var(--pad) - 10px); }
.lightbox__nav--next { right: calc(var(--pad) - 10px); }
.lightbox__thumbs { position: relative; display: flex; justify-content: center; gap: 8px; padding: 18px var(--pad) 24px; overflow-x: auto; }
.lightbox__thumbs button { flex: none; width: 64px; height: 48px; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .45; transition: opacity .3s, border-color .3s; }
.lightbox__thumbs button.is-active { opacity: 1; border-color: var(--c-bege); }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
  .lightbox__stage { padding: 0 12px; }
  .lightbox__nav { top: auto; bottom: 90px; width: 46px; height: 46px; }
  .lightbox__info strong { font-size: 20px; }
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  transform: scale(0); transition: transform .6s var(--ease);
}
.wa-float.is-on { transform: scale(1); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.lb-open .wa-float { display: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
}
