/* =========================================================
   Brasal Incorporações — site institucional
   Identidade: roxo Brasal + noite + lilás · Rubik
   ========================================================= */

:root {
  --paper: #ffffff;
  --cream: #f2ecf5;      /* lilás claro — fundo das seções claras */
  --lilac: #e0d3e6;
  --ink: #241f28;
  --body: #4c4751;
  --muted: #837c89;
  --brand: #510a79;
  --brand-2: #7a359e;
  --deep: #36123f;
  --night: #1c0a22;
  --night-2: #140718;
  --red: #e20613;
  --line-dark: rgba(54, 18, 63, 0.14);
  --line-light: rgba(242, 236, 245, 0.18);

  --sans: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1520px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-btn: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading, body.menu-open { overflow: hidden; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--brand-2); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(96px, 13vw, 200px); }
.section--light { background: var(--cream); color: var(--ink); }
.section--dark { background: var(--night); color: var(--cream); }

/* ---------- Tipografia ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 22px;
}
.title-xl {
  font-weight: 300;
  font-size: clamp(42px, 7.2vw, 118px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.title-lg {
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.lead { font-size: clamp(19px, 1.7vw, 25px); line-height: 1.45; }
.section--light .eyebrow { color: var(--brand); opacity: 1; }

/* split de caracteres */
.split-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-word { display: inline-block; white-space: nowrap; }
.split-char { display: inline-block; will-change: transform; }

/* ---------- Botões: preenchimento de baixo para cima ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid currentColor;
  transition: color 0.4s var(--ease-btn), border-color 0.4s var(--ease-btn);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(102%);
  border-radius: 40% 40% 0 0;
  transition: transform 0.5s var(--ease-btn), border-radius 0.5s var(--ease-btn);
}
.btn:hover::after { transform: translateY(0); border-radius: 0; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 12px; }
.btn--light { color: var(--cream); }
.btn--light::after { background: var(--cream); }
.btn--light:hover { color: var(--brand); border-color: var(--cream); }
.btn--dark { color: var(--brand); }
.btn--dark::after { background: var(--brand); }
.btn--dark:hover { color: var(--cream); border-color: var(--brand); }

/* ---------- Links: sublinhado que varre ---------- */
.ulink { position: relative; display: inline-block; padding-bottom: 3px; overflow: hidden; }
.ulink::before, .ulink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
}
.ulink::before { transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.ulink::after { display: none; }
.ulink:hover::before { transform: scaleX(1); transform-origin: left; }

/* ---------- Preloader: faixas verticais ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--night);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.preloader__bars {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols, 16), 1fr);
}
.preloader__bars i { display: block; height: 0; align-self: start; }
.preloader__bars--base i { background: var(--deep); }
.preloader__bars--top i { background: var(--brand); }
.preloader__logo { position: relative; z-index: 2; width: clamp(160px, 18vw, 240px); height: auto; opacity: 0; }
.preloader__count {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 28px;
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.no-js .preloader { display: none; }

/* ---------- Cursor seguidor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 9000;
  width: 96px; height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--brand);
  display: grid;
  place-items: center;
  pointer-events: none;
  transform: scale(0);
  transition: transform 0.35s var(--ease);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cursor.is-on { transform: scale(1); }
@media (hover: none), (max-width: 1024px) { .cursor { display: none; } }

/* ---------- Header primeira tela ---------- */
.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--gutter);
}
.topbar__logo img { width: clamp(140px, 13vw, 190px); height: auto; }
.topbar__right { display: flex; align-items: center; gap: 36px; font-size: 14px; }
.topbar__link--muted { opacity: 0.7; }

.burger { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; position: relative; z-index: 1001; }
.burger__icon { position: relative; width: 44px; height: 44px; border: 1px solid var(--line-light); border-radius: 50%; display: grid; place-items: center; transition: background 0.3s, border-color 0.3s; }
.burger__icon i { position: absolute; width: 16px; height: 1px; background: currentColor; transition: transform 0.45s var(--ease); }
.burger__icon i:first-child { transform: translateY(-3px); }
.burger__icon i:last-child { transform: translateY(3px); }
.burger:hover .burger__icon { background: var(--cream); color: var(--brand); border-color: var(--cream); }
.menu-open .burger__icon i:first-child { transform: rotate(45deg); }
.menu-open .burger__icon i:last-child { transform: rotate(-45deg); }

/* ---------- Header fixo (desce após o hero) ---------- */
.scrollbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
  background: rgba(28, 10, 34, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-light);
  transform: translateY(-101%);
  transition: transform 0.6s var(--ease);
}
.scrollbar.is-visible { transform: translateY(0); }
.scrollbar__logo img { width: 132px; height: auto; }
.scrollbar__nav { display: flex; gap: 30px; font-size: 14px; }
.scrollbar__right { display: flex; align-items: center; gap: 18px; }
.burger--compact .burger__icon { width: 40px; height: 40px; }
.menu-open .scrollbar { transform: translateY(-101%); }

/* ---------- Menu "escada" ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  color: var(--cream);
}
.menu.is-open { visibility: visible; }
.menu__bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.menu__bars i { display: block; background: var(--deep); transform: scaleY(0); transform-origin: top; }
.menu__bars i:nth-child(even) { background: var(--night); }
.menu__inner {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  padding: 120px var(--gutter) 56px;
}
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 22px;
  font-size: clamp(34px, 5.4vw, 84px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  overflow: hidden;
}
.menu__nav a span, .menu__nav a em { display: inline-block; transform: translateY(110%); }
.menu__nav em { font-style: normal; font-size: 13px; letter-spacing: 0.14em; opacity: 0.6; }
.menu__nav a:hover span { color: var(--lilac); font-style: italic; }
.menu__aside { display: grid; gap: 30px; font-size: 15px; justify-items: start; }
.menu__aside > * { opacity: 0; transform: translateY(20px); }
.menu__block p:not(.eyebrow) { line-height: 1.7; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; color: var(--cream); }
.hero__media { position: absolute; inset: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 7, 24, 0.55) 0%, rgba(20, 7, 24, 0) 30%),
    linear-gradient(0deg, rgba(28, 10, 34, 0.92) 0%, rgba(54, 18, 63, 0.35) 45%, rgba(54, 18, 63, 0.15) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(40px, 7vh, 88px);
}
.hero__title {
  font-weight: 300;
  font-size: clamp(48px, 9.6vw, 168px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  max-width: 13ch;
}
.hero__foot {
  margin-top: clamp(28px, 4vw, 52px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.hero__lead { max-width: 480px; font-size: 17px; opacity: 0.86; }
.hero__ctas { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.play { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.play__dot { position: relative; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-light); }
.play__dot::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -6px 0 0 -3px; border-left: 11px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.play:hover .play__dot { background: var(--cream); color: var(--brand); }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; }
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--cream), transparent); animation: drip 2s var(--ease-io) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Video dive ---------- */
.dive { position: relative; background: var(--night); }
.dive__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.dive__text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; z-index: 1; pointer-events: none; }
.dive__statement {
  font-size: clamp(32px, 4.8vw, 82px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 15ch;
}
.dive__statement span { color: var(--lilac); font-style: italic; }
.dive__frame { position: absolute; overflow: hidden; z-index: 2; }
.dive__frame img, .dive__frame video { width: 100%; height: 100%; object-fit: cover; }
.dive__frame--a { width: 15vw; aspect-ratio: 3 / 4; left: 52%; top: 12%; }
.dive__frame--b { width: 13vw; aspect-ratio: 1; right: 6%; bottom: 10%; }
.dive__frame--main {
  width: 26vw;
  aspect-ratio: 16 / 10;
  right: 14%;
  top: 38%;
  border: 1px solid var(--line-light);
  z-index: 3;
}
.dive__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(0deg, rgba(20, 7, 24, 0.7), transparent);
  opacity: 0;
}

/* ---------- Quem somos ---------- */
.about__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  row-gap: clamp(48px, 7vw, 110px);
}
.about__head { grid-column: 1 / 9; }
.about__body { grid-column: 7 / 13; display: grid; gap: 26px; justify-items: start; color: var(--body); }
.about__body .lead { color: var(--ink); }
.about__img { grid-column: 1 / 7; aspect-ratio: 16 / 10; margin-top: -8vw; }
.about__img--tall { grid-column: 8 / 12; aspect-ratio: 4 / 5; margin-top: 0; }

.img-parallax { overflow: hidden; }
.img-parallax img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); }

/* ---------- Window (grade que abre) ---------- */
.window { position: relative; background: var(--night); }
.window__pin {
  --w: clamp(220px, 26vw, 420px);
  --gap: 18px;
  position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center;
}
.window__grid {
  display: flex;
  gap: var(--gap);
  align-items: center;
}
.window__col { display: flex; flex-direction: column; gap: var(--gap); width: var(--w); will-change: transform; }
.window__col figure { aspect-ratio: 4 / 5; overflow: hidden; }
.window__col img, .window__main img { width: 100%; height: 100%; object-fit: cover; }
.window__center { position: relative; width: var(--w); aspect-ratio: 4 / 5; }
.window__main {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--w);
  height: calc(var(--w) * 1.25);
  transform: translate(-50%, -50%);
  overflow: hidden;
  z-index: 2;
}
.window__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(40px, 8vh, 96px);
  color: var(--cream);
  opacity: 0;
  background: linear-gradient(0deg, rgba(20, 7, 24, 0.9), rgba(20, 7, 24, 0.1) 70%);
  pointer-events: none;
  max-width: none;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line-light); padding-top: 28px; }
.stat strong { display: block; font-size: clamp(56px, 8vw, 140px); font-weight: 300; line-height: 0.9; letter-spacing: -0.05em; }
.stat span { display: block; margin-top: 12px; font-size: 14px; opacity: 0.75; }

/* ---------- Sliders com fade ---------- */
.fade-slider { position: relative; }
.fade-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease), visibility 0.7s; }
.fade-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.fade-slide figure, .fade-slide > img { overflow: hidden; }
.fade-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.fade-slide.is-active img { transform: scale(1); }

.slider-ctrl { display: flex; align-items: center; gap: 18px; }
.arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid; place-items: center;
  font-size: 18px;
  opacity: 0.8;
  transition: background 0.3s, color 0.3s, opacity 0.3s;
}
.section--dark .arrow:hover, .projects .arrow:hover { background: var(--cream); color: var(--brand); opacity: 1; }
.section--light .arrow:hover { background: var(--brand); color: var(--cream); border-color: var(--brand); opacity: 1; }
.arrow[disabled] { opacity: 0.25; pointer-events: none; }
.slider-count { font-size: 14px; letter-spacing: 0.1em; min-width: 54px; text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- O que fazemos ---------- */
.services__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 110px); align-items: end; }
.services__intro { display: grid; gap: 26px; align-content: end; }
.services__intro > p:not(.eyebrow) { opacity: 0.8; max-width: 440px; }
.services .fade-slide figure { aspect-ratio: 16 / 11; }
.fade-slide__txt { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line-light); margin-top: 24px; }
.fade-slide__txt h3 { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; }
.fade-slide__txt p { opacity: 0.78; font-size: 16px; }

/* ---------- Princípios (máscara) ---------- */
.principles { padding-top: clamp(96px, 13vw, 200px); padding-bottom: clamp(40px, 6vw, 80px); background: var(--cream); color: var(--ink); }
.principles__head { margin-bottom: clamp(48px, 8vw, 120px); }
.principles__head .eyebrow { color: var(--brand); opacity: 1; }
.mask-block { position: relative; margin-bottom: clamp(60px, 10vw, 140px); }
.mask-block__media { height: 100vh; height: 100svh; position: relative; }
.mask-block__clip {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  clip-path: inset(18% 30% 18% 30%);
  will-change: clip-path;
}
.mask-block__clip img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.mask-block__txt {
  display: grid;
  grid-template-columns: auto 1fr 1.4fr;
  gap: 32px;
  align-items: baseline;
  padding-top: 36px;
}
.mask-block__num { font-size: clamp(56px, 7vw, 120px); font-weight: 300; line-height: 0.9; color: var(--brand); letter-spacing: -0.05em; }
.mask-block__txt h3 { font-size: clamp(24px, 2.4vw, 38px); font-weight: 400; letter-spacing: -0.02em; }
.mask-block__txt p { font-size: clamp(18px, 1.5vw, 23px); color: var(--body); max-width: 560px; }

/* ---------- Marquee ---------- */
.marquee { background: var(--brand); color: var(--cream); overflow: hidden; padding-block: clamp(18px, 2.4vw, 34px); white-space: nowrap; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__part { display: inline-flex; align-items: center; gap: 0.5em; padding-right: 0.5em; font-size: clamp(44px, 7vw, 120px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.marquee__part b { font-weight: 300; font-size: 0.45em; color: var(--lilac); }

/* ---------- Empreendimentos ---------- */
.projects__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.projects__lead { opacity: 0.78; max-width: 460px; justify-self: end; }
.projects__bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  height: 42px;
  padding: 0 20px;
  border: 1px solid var(--line-light);
  font-size: 13px;
  letter-spacing: 0.06em;
  opacity: 0.75;
  transition: background 0.35s, color 0.35s, opacity 0.35s, border-color 0.35s;
}
.tab:hover { opacity: 1; }
.tab.is-active { background: var(--cream); color: var(--brand); border-color: var(--cream); opacity: 1; }
.tabs--dark .tab { border-color: var(--line-dark); color: var(--ink); }
.tabs--dark .tab.is-active { background: var(--brand); color: var(--cream); border-color: var(--brand); }

.track { overflow: hidden; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); cursor: grab; }
.track.is-dragging { cursor: grabbing; }
.track__rail { display: flex; gap: 22px; width: max-content; padding-right: var(--gutter); will-change: transform; }
.card { width: clamp(280px, 27vw, 430px); display: grid; gap: 14px; user-select: none; -webkit-user-drag: none; transition: opacity 0.4s, transform 0.5s var(--ease); }
.card.is-hidden { display: none; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--deep); }
.card__media img, .card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.5s; pointer-events: none; }
.card__media video { opacity: 0; }
.card:hover .card__media img { transform: scale(1.06); }
.card:hover .card__media video.is-ready { opacity: 1; }
.card__media--empty {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(122, 53, 158, 0.55), transparent 60%),
    linear-gradient(160deg, var(--brand) 0%, var(--deep) 55%, var(--night) 100%);
}
.card__initial { font-size: clamp(120px, 14vw, 220px); font-weight: 300; line-height: 1; color: rgba(242, 236, 245, 0.18); transition: transform 1.2s var(--ease); }
.card:hover .card__initial { transform: scale(1.08); }
.card__pending { position: absolute; left: 18px; bottom: 16px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.5; }
.card__meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; opacity: 0.8; margin-top: 6px; }
.pill { padding: 5px 12px; border: 1px solid var(--line-light); border-radius: 99px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.pill--accent { background: var(--red); border-color: var(--red); color: #fff; }
.card h3 { font-size: clamp(24px, 2vw, 32px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
.card p { font-size: 14px; opacity: 0.7; }
.track-dots { display: flex; gap: 6px; }
.track-dots i { width: 28px; height: 2px; background: var(--line-light); transition: background 0.3s; }
.track-dots i.is-active { background: var(--cream); }

/* ---------- Interiores ---------- */
.interiors__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.interiors__head p { color: var(--body); max-width: 480px; justify-self: end; font-size: 18px; }
.interiors__grid { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(28px, 4vw, 64px); align-items: end; }
.interiors__stage { aspect-ratio: 16 / 10; overflow: hidden; }
.interiors__stage .fade-slide { height: 100%; }
.interiors__side { display: grid; gap: 40px; color: var(--ink); }
.fade-slider--text .fade-slide h3 { font-size: clamp(26px, 2.4vw, 38px); font-weight: 400; letter-spacing: -0.02em; margin-bottom: 16px; }
.fade-slider--text .fade-slide p { color: var(--body); }
.fade-slider--text small { display: block; margin-top: 18px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }

/* ---------- Lazer ---------- */
.amenities__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.amenities__list h2 { margin-bottom: 44px; }
.amenities__list li {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line-light);
  font-size: clamp(17px, 1.4vw, 21px);
  opacity: 0.55;
  cursor: default;
  transition: opacity 0.35s, padding 0.5s var(--ease);
}
.amenities__list li:last-child { border-bottom: 1px solid var(--line-light); }
.amenities__list li i { font-style: normal; color: var(--lilac); letter-spacing: -0.05em; }
.amenities__list li.is-active { opacity: 1; padding-left: 14px; }
.amenities__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.amenities__media figure { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 0.9s var(--ease-io); }
.amenities__media figure.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.amenities__media figure.was-active { clip-path: inset(0 0 0 0); z-index: 1; }
.amenities__media img { width: 100%; height: 100%; object-fit: cover; }
.amenities__media figcaption { position: absolute; left: 20px; bottom: 18px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- Tour ---------- */
.tour { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; color: var(--cream); }
.tour__bg { position: absolute; inset: 0; }
.tour__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 10, 34, 0.88) 0%, rgba(54, 18, 63, 0.45) 60%, rgba(54, 18, 63, 0.2) 100%); }
.tour__content { position: relative; z-index: 2; display: grid; gap: 28px; justify-items: start; }
.tour__content h2 { max-width: 14ch; }
.tour__content p:not(.eyebrow) { max-width: 520px; opacity: 0.85; }

/* ---------- Guia (abas) ---------- */
.guide .title-lg { margin-bottom: 40px; }
.guide__panels { position: relative; margin-top: 48px; }
.guide__panel { display: none; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 90px); align-items: center; color: var(--ink); }
.guide__panel.is-active { display: grid; animation: panelIn 0.7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.guide__panel figure { aspect-ratio: 16 / 11; overflow: hidden; }
.guide__panel img { width: 100%; height: 100%; object-fit: cover; }
.guide__panel h3 { font-size: clamp(28px, 3vw, 46px); font-weight: 400; letter-spacing: -0.02em; margin-bottom: 16px; }
.guide__panel p { color: var(--body); font-size: 18px; margin-bottom: 28px; }
.guide__panel li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.guide__panel li i { font-style: normal; color: var(--brand); }

/* ---------- Timeline horizontal ---------- */
.timeline { position: relative; background: var(--deep); color: var(--cream); }
.timeline__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(32px, 5vh, 64px); overflow: hidden; }
.timeline__head h2 span { color: var(--lilac); font-style: italic; }
.timeline__progress { margin-top: 30px; height: 1px; background: var(--line-light); }
.timeline__progress i { display: block; height: 100%; width: 100%; background: var(--cream); transform: scaleX(0); transform-origin: left; }
.timeline__rail { display: flex; gap: 22px; width: max-content; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-right: var(--gutter); align-items: stretch; will-change: transform; }
.year { width: clamp(280px, 26vw, 380px); padding: 30px 28px; border: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 6px; background: rgba(28, 10, 34, 0.35); }
.year h3 { font-size: clamp(48px, 5vw, 80px); font-weight: 300; letter-spacing: -0.05em; line-height: 1; }
.year__n { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; margin-bottom: 18px; }
.year li { display: grid; padding: 10px 0; border-top: 1px solid var(--line-light); }
.year li b { font-weight: 400; }
.year li span { font-size: 13px; opacity: 0.6; }
.year .btn { margin-top: auto; align-self: flex-start; }
.year--img { padding: 0; border: 0; width: clamp(240px, 22vw, 340px); background: none; }
.year--img figure { flex: 1; overflow: hidden; min-height: 300px; }
.year--img img { width: 100%; height: 100%; object-fit: cover; }
.year--img span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; padding-top: 12px; }

/* ---------- Gente ---------- */
.people__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.people__img { aspect-ratio: 4 / 5; }
.people__txt { display: grid; gap: 26px; justify-items: start; }
.people__txt > p:not(.eyebrow) { color: var(--body); max-width: 500px; font-size: 18px; }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 110px); border-top: 1px solid var(--line-dark); padding-top: clamp(64px, 8vw, 120px); }
.faq__grid > div:first-child > p:not(.eyebrow) { color: var(--body); margin-top: 22px; max-width: 400px; }
.accordion details { border-top: 1px solid var(--line-dark); }
.accordion details:last-child { border-bottom: 1px solid var(--line-dark); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; font-size: clamp(18px, 1.5vw, 22px); font-weight: 400; cursor: pointer; color: var(--ink); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion p { color: var(--body); padding-bottom: 26px; max-width: 620px; }
.plus { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); transition: background 0.3s, transform 0.5s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; margin-left: -6px; background: currentColor; }
.plus::after { transform: rotate(90deg); transition: transform 0.4s var(--ease); }
details[open] .plus { background: var(--brand); color: var(--cream); border-color: var(--brand); }
details[open] .plus::after { transform: rotate(0); }

/* ---------- Contato ---------- */
.contact { position: relative; padding-block: clamp(96px, 13vw, 200px); color: var(--cream); overflow: hidden; }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 10, 34, 0.94), rgba(54, 18, 63, 0.82)); }
.contact__grid { position: relative; display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact__txt { display: grid; gap: 28px; }
.contact__txt > p:not(.eyebrow) { opacity: 0.82; max-width: 480px; }
.contact__places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 28px; border-top: 1px solid var(--line-light); font-size: 14px; }
.contact__places .eyebrow { margin-bottom: 8px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; align-self: end; }
.form label { display: grid; gap: 8px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.form label > span { opacity: 0.7; }
.form__full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  color: var(--cream);
  font: 300 17px/1.4 var(--sans);
  letter-spacing: 0;
  text-transform: none;
  padding: 10px 0;
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s;
}
.form select option { color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--cream); }
.form__check { grid-column: 1 / -1; display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 12px; text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; }
.form__check input { width: auto; margin-top: 4px; accent-color: var(--brand-2); }
.form .btn { justify-self: start; }
.form__ok { grid-column: 1 / -1; display: none; color: var(--lilac); }
.form.is-sent .form__ok { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--night-2); color: var(--cream); padding-top: clamp(72px, 9vw, 140px); padding-bottom: 36px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.footer__logo { width: clamp(180px, 20vw, 300px); height: auto; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 56px; font-size: 15px; }
.footer__cols div { display: grid; gap: 8px; justify-items: start; align-content: start; }
.footer__cols a { opacity: 0.8; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line-light); font-size: 13px; opacity: 0.6; }

/* ---------- Modal do filme ---------- */
.film { position: fixed; inset: 0; z-index: 2000; background: rgba(20, 7, 24, 0.94); display: grid; place-items: center; padding: 6vw; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.film.is-open { opacity: 1; visibility: visible; }
.film video { width: min(1280px, 100%); aspect-ratio: 16 / 9; background: #000; }
.film__close { position: absolute; top: 24px; right: var(--gutter); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-light); font-size: 26px; line-height: 1; color: var(--cream); }
.film__close:hover { background: var(--cream); color: var(--brand); }

/* ---------- Revelação genérica ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1100px) {
  .scrollbar__nav { display: none; }
  .topbar__link--muted { display: none; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .topbar__right > .topbar__link { display: none; }
  .burger__text { display: none; }
  .scrollbar__right .btn { display: none; }
  .hero__scroll { display: none; }

  .menu__inner { grid-template-columns: 1fr; align-content: end; gap: 40px; padding-top: 100px; }
  .menu__bars { grid-template-columns: repeat(3, 1fr); }
  .menu__bars i:nth-child(n + 4) { display: none; }

  .dive__frame--a { width: 30vw; left: 58%; top: 8%; }
  .dive__frame--b { width: 26vw; right: 6%; bottom: 6%; }
  .dive__frame--main { width: 56vw; right: 8%; top: 58%; }
  .dive__text { justify-content: flex-start; padding-top: 18vh; }

  .about__head, .about__body, .about__img, .about__img--tall { grid-column: 1 / -1; }
  .about__img { margin-top: 0; }
  .about__img--tall { display: none; }

  .window__pin { --w: 58vw; }
  .window__col--left, .window__col--right { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }

  .services__grid, .projects__head, .interiors__head, .interiors__grid,
  .amenities__grid, .people__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .projects__lead, .interiors__head p { justify-self: start; }
  .fade-slide__txt { grid-template-columns: 1fr; }

  .mask-block__txt { grid-template-columns: auto 1fr; }
  .mask-block__txt p { grid-column: 1 / -1; }

  .guide__panel { grid-template-columns: 1fr; }
  .tabs--dark { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .tabs--dark .tab { flex: none; }

  .amenities__media { aspect-ratio: 4 / 3; }

  .contact__places { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .card { width: 78vw; }
  .year { width: 78vw; }
  .year--img { width: 70vw; }
}

/* Sem animações para quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .mask-block__clip { clip-path: none; }
  .mask-block__media { height: auto; }
  .mask-block__clip { position: relative; height: 70vh; }
}
