:root {
  --ink: #251c21;
  --ink-soft: #392c33;
  --paper: #f3f2ef;
  --white: #fff;
  --coral: #bd975a; /* dourado da marca Cris Maciel (antes coral #d6644b) */
  --bronze: #bd975a;
  --sky: #b9d4df;
  --line: rgba(37, 28, 33, 0.16);
  --display: "Prata", "Bodoni MT", Didot, serif;
  --body: "Manrope", "Segoe UI", sans-serif;
}

[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

.page-shell {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

.chapter {
  scroll-margin-top: 80px;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  align-items: center;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(to bottom, rgba(20, 15, 18, 0.58), transparent);
  backdrop-filter: blur(4px);
}

.brand img {
  width: 176px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.header-context {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.header-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
}

.header-cta {
  justify-self: end;
  border: 0;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  background: transparent;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-image,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero-image {
  left: 36%;
  background-image: url("./images/hero-torres.jpg");
  background-position: 51% 64%;
  background-size: cover;
  animation: hero-arrive 1400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* A queda do véu acompanha a coluna de texto: opaco até o fim da headline,
   depois abre para a fachada. Sem isso o fim da frase cai na área iluminada. */
.hero-wash {
  background:
    linear-gradient(
      90deg,
      var(--ink) 0%,
      rgba(37, 28, 33, 0.96) 30%,
      rgba(37, 28, 33, 0.82) 52%,
      rgba(37, 28, 33, 0.36) 72%,
      rgba(37, 28, 33, 0.04) 100%
    ),
    linear-gradient(0deg, rgba(20, 14, 18, 0.66), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding-top: 144px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-brand {
  width: clamp(168px, 16vw, 208px);
  height: auto;
  margin-bottom: 26px;
  animation: rise-in 700ms 160ms both;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
  animation: rise-in 700ms 240ms both;
}

.hero-kicker span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.8);
}

.hero h1 {
  max-width: min(780px, 100%);
  margin: 0;
  font-family: var(--display);
  /* opsz alto entrega o corte fino da Bodoni no tamanho display */
  font-size: clamp(38px, 5.7vw, 69px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
  animation: rise-in 800ms 340ms both;
}

.hero-sub {
  margin: 18px 0 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--sky);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: rise-in 800ms 400ms both;
}

.hero-sub img {
  width: 56px;
  max-height: 42px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.hero-copy {
  width: min(540px, 100%);
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.7;
  animation: rise-in 800ms 440ms both;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  animation: rise-in 800ms 520ms both;
}

/* Ação primária do hero com mais presença que a mesma peça nas seções internas */
.hero-actions .primary-button {
  min-height: 60px;
  padding: 0 26px;
  gap: 20px;
  font-size: 12px;
}

.primary-button {
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  background: var(--white);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--white);
}

.primary-button.coral {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--white);
}

.primary-button.coral:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.text-link {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.44);
  font-size: 11px;
  letter-spacing: 0.04em;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.text-link:hover {
  border-bottom-color: currentColor;
}

/* Endereço e chamada de rolagem dividem a mesma linha de base no pé do hero,
   encostados na grade à direita. O canto inferior esquerdo é do .whats-bubble
   fixo: qualquer coisa colocada lá passa por baixo dele. */
.hero-footline {
  position: absolute;
  z-index: 3;
  right: max(32px, calc((100% - 1200px) / 2));
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 9px;
  text-transform: uppercase;
}

.hero-note {
  display: flex;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.1em;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.12em;
}

.scroll-cue span {
  display: block;
  width: 38px;
  height: 1px;
  background: currentColor;
}

.manifesto {
  padding: 150px 0 130px;
  display: flex;
  align-items: center;
  background: var(--coral);
  color: var(--ink);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow.dark {
  color: rgba(37, 28, 33, 0.72);
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.8);
}

.manifesto-copy {
  position: relative;
}

/* aspas penduradas: ancoradas na headline, invadindo a coluna do rótulo */
.quote-mark {
  position: absolute;
  top: -52px;
  left: -112px;
  font-family: var(--display);
  font-size: 210px;
  line-height: 0.8;
  opacity: 0.16;
  pointer-events: none;
}

.manifesto-copy h2,
.apartment-intro h2,
.advisory-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 4.8vw, 72px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.018em;
}

.manifesto-copy h2 em,
.apartment-intro h2 em,
.advisory-heading h2 em {
  display: block;
  margin-top: 18px;
  font-family: var(--body);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* segunda voz da frase: mesma didone da headline, branca e sublinhada */
.manifesto-copy h2 em {
  color: var(--white);
  display: block;
  margin-top: 22px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-transform: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 9px;
}

/* medida de leitura da headline do manifesto */
.manifesto-copy h2 {
  max-width: 920px;
  text-wrap: balance;
}

/* apoio ancorado à esquerda, na mesma coluna da headline: fecha o L vazio */
.manifesto-support {
  max-width: 780px;
  margin: 52px 0 0;
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 60px;
  align-items: start;
  border-top: 1px solid rgba(37, 28, 33, 0.3);
}

.manifesto-support p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

.signature {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* assinatura em logo na cor do texto: o PNG branco vira ink via filter.
   O PNG tem ~4,5% de margem transparente; o margin compensa o alinhamento */
.signature img {
  width: 210px;
  height: auto;
  align-self: flex-start;
  margin-left: -10px;
  filter: brightness(0);
  opacity: 0.88;
}

.signature small {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.experience {
  min-height: 100svh;
  padding: 96px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: end;
}

.section-heading h2 {
  margin: 16px 0 0;
  font-family: var(--display);
  font-size: clamp(32px, 3.6vw, 54px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.018em;
}

.section-heading > p {
  max-width: 420px;
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.7;
}

.gallery-controls {
  margin-top: 26px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-controls > div {
  display: flex;
  gap: 6px;
}

.gallery-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.gallery {
  padding: 0 max(32px, calc((100vw - 1200px) / 2));
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  position: relative;
  flex: 0 0 min(52vw, 640px);
  height: min(46svh, 440px);
  min-height: 340px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-soft);
  scroll-snap-align: center;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-card:hover img {
  transform: scale(1.025);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(20, 14, 18, 0.8));
}

.gallery-index {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-family: var(--display);
}

.gallery-caption {
  position: absolute;
  z-index: 2;
  left: 30px;
  bottom: 28px;
}

.gallery-caption > span {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-caption h3 {
  margin: 7px 0 3px;
  font-family: var(--display);
  font-size: clamp(23px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.gallery-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.fact-ribbon {
  margin-top: 30px;
  background: var(--ink);
  color: var(--white);
}

.fact-ribbon > div {
  min-height: 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.fact-ribbon span {
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact-ribbon span:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.fact-ribbon strong {
  color: var(--sky);
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
}

.apartments {
  min-height: 100svh;
  padding: 96px 0 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #e4eef1;
}

.apartment-intro {
  display: block;
}

.apartment-intro h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.4vw, 48px);
}

.apartment-intro h2 em {
  color: var(--coral);
}

.apartment-intro > p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.8;
}

.plan-tabs {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(37, 28, 33, 0.3);
  border-bottom: 1px solid rgba(37, 28, 33, 0.3);
}

.plan-tabs button {
  position: relative;
  min-height: 66px;
  border: 0;
  border-left: 1px solid rgba(37, 28, 33, 0.2);
  background: transparent;
  font-family: var(--display);
  font-size: clamp(19px, 2.1vw, 28px);
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.plan-tabs button:last-child {
  border-right: 1px solid rgba(37, 28, 33, 0.2);
}

.plan-tabs button.active {
  background: var(--ink);
  color: var(--white);
}

.plan-tabs button.active::after {
  content: "selecionada";
  position: absolute;
  right: 12px;
  bottom: 9px;
  font-family: var(--body);
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-stage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: var(--white);
}

.plan-visual {
  position: relative;
  padding: 26px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f7f7f5;
}

.plan-visual img {
  width: 100%;
  height: min(48svh, 440px);
  object-fit: contain;
  animation: plan-in 450ms ease both;
}

.plan-visual span {
  position: absolute;
  left: 20px;
  bottom: 16px;
  color: rgba(37, 28, 33, 0.54);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-reading {
  padding: clamp(32px, 4vw, 56px) clamp(28px, 3.5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--coral);
}

.reading-label {
  margin-bottom: 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.plan-reading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 2.8vw, 39px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.012em;
}

.plan-detail {
  margin: 18px 0 !important;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(37, 28, 33, 0.25);
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan-reading p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.outline-button {
  margin-top: 26px;
  min-height: 52px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.tour {
  background: var(--ink);
}

.tour-track {
  height: 380svh;
}

.tour-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  color: var(--white);
}

.tour-media {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.tour-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.tour-media.is-active {
  opacity: 1;
}

.tour-media.is-active img {
  transform: scale(1.09);
  transition: transform 7000ms linear;
}

.tour-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(20, 14, 18, 0.78),
    transparent 40%,
    transparent 68%,
    rgba(20, 14, 18, 0.5)
  );
}

.tour-hud {
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 110px 0 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tour-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tour-hint {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.tour-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.tour-count {
  color: var(--sky);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tour-room {
  max-width: 560px;
}

.tour-room h2 {
  margin: 10px 0 12px;
  font-family: var(--display);
  font-size: clamp(42px, 5.5vw, 81px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.018em;
}

.tour-room p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.75;
}

/* barra horizontal de ambientes, com carga estilo stories por ambiente */
.tour-foot {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.tour-dock {
  display: flex;
  gap: 24px;
}

.tour-dock button {
  flex: 0 1 168px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.55);
  text-align: left;
  cursor: pointer;
  transition: color 250ms ease;
}

.tour-dock button:hover {
  color: rgba(255, 255, 255, 0.85);
}

.tour-dock button.is-active {
  color: var(--white);
}

.tour-dock-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tour-dock-head svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 250ms ease;
}

.tour-dock button.is-active .tour-dock-head svg {
  stroke: var(--coral);
}

.tour-dock-bar {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

/* preenchida via transform pelo app.js, conforme o scroll do ambiente */
.tour-dock-bar b {
  display: block;
  height: 100%;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
}

.ascent {
  background: var(--ink);
}

.ascent-track {
  height: 460svh;
}

.ascent-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  color: var(--white);
}

.ascent-photo {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 600ms ease;
}

.ascent-photo.is-active {
  opacity: 1;
}

.ascent-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    185deg,
    rgba(20, 14, 18, 0.34),
    rgba(20, 14, 18, 0.86) 92%
  );
}

.ascent-rail {
  position: absolute;
  z-index: 2;
  left: 32px;
  top: 14svh;
  bottom: 14svh;
  width: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.ascent-rail i {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--coral);
}

.ascent-hud {
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 110px 0 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 30px;
}

/* sem o altímetro (retirado no feedback de 12/08), a legenda fica sozinha na
   linha e mantém o canto direito */
.ascent-hud-row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 40px;
}

.ascent-caption {
  max-width: 420px;
  text-align: right;
}

.ascent-caption .eyebrow {
  flex-direction: row-reverse;
}

.ascent-caption h2 {
  margin: 14px 0 10px;
  font-family: var(--display);
  font-size: clamp(32px, 3.7vw, 52px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.014em;
}

.ascent-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.7;
}

.rooftop {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #52666d;
}

.rooftop-photo,
.rooftop-shade {
  position: absolute;
  inset: 0;
}

.rooftop-photo {
  background: url("./images/rooftop-piscina.jpg") center / cover;
}

.rooftop-shade {
  background: linear-gradient(
    0deg,
    rgba(18, 23, 25, 0.88),
    rgba(18, 23, 25, 0.04) 75%
  );
}

.rooftop-content {
  position: relative;
  z-index: 2;
  padding-bottom: 90px;
}

.rooftop-content h2 {
  max-width: 980px;
  margin: 22px 0;
  font-family: var(--display);
  font-size: clamp(42px, 5.5vw, 79px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.018em;
}

.rooftop-content h2 em {
  display: block;
  margin-top: 18px;
  color: var(--sky);
  font-family: var(--body);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rooftop-content p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.8;
}

.rooftop-stamp {
  position: absolute;
  z-index: 2;
  right: 140px;
  top: 140px;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 50%;
  backdrop-filter: blur(8px);
}

.rooftop-stamp strong {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
}

.rooftop-stamp span {
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* o respiro acompanha a altura da tela: em notebook 768 o player não perde
   espaço para o padding, em tela alta a seção continua arejada */
.obra {
  min-height: 100svh;
  padding: clamp(44px, 6svh, 78px) 0 clamp(34px, 5svh, 62px);
  display: flex;
  align-items: center;
  background: var(--paper);
}

/* o vídeo é vertical: a coluna de texto tem teto e o conjunto fica centrado,
   para o player ocupar a folga que sobrava à direita (feedback de 12/08) */
.obra-grid {
  display: grid;
  grid-template-columns: minmax(300px, 460px) auto;
  justify-content: center;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.obra-copy h2 {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: clamp(34px, 3.6vw, 54px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.018em;
}

.obra-copy h2 em {
  display: block;
  margin-top: 16px;
  color: var(--coral);
  font-family: var(--body);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.obra-copy p {
  max-width: 430px;
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.8;
}

.obra-copy .primary-button {
  margin-top: 34px;
}

.obra-player {
  justify-self: end;
}

.obra-player video {
  display: block;
  width: auto;
  height: min(82svh, 780px);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(20, 12, 16, 0.18);
}

.obra-tag {
  display: block;
  margin-top: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(37, 28, 33, 0.55);
}

.advisory {
  padding: 140px 0 100px;
  background: var(--ink);
  color: var(--white);
}

.advisory-heading h2 {
  margin-top: 25px;
}

.advisory-heading h2 em {
  color: var(--coral);
}

.advisory-grid {
  margin-top: 85px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.advisory-grid article {
  min-height: 270px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.advisory-grid article:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.advisory-grid article > span {
  color: var(--coral);
  font-family: var(--display);
  font-size: 18px;
}

.advisory-grid h3 {
  margin: auto 0 14px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
}

.advisory-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.65;
}

.location-card {
  margin-top: 120px;
  min-height: 580px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  color: var(--ink);
  background: var(--paper);
}

.location-map {
  min-height: 580px;
  overflow: hidden;
}

.location-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65) contrast(1.05);
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.location-card:hover .location-map img {
  transform: scale(1.025);
}

.location-copy {
  padding: clamp(48px, 6vw, 86px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-copy h3 {
  margin: 28px 0 20px;
  font-family: var(--display);
  font-size: clamp(39px, 4.4vw, 60px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.012em;
}

.location-copy p {
  margin: 0 0 35px;
  font-size: 13px;
  line-height: 1.8;
}

.location-copy .primary-button {
  align-self: flex-start;
}

footer {
  padding: 90px 0 24px;
  color: var(--white);
  background: #191317;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

.footer-brand img {
  width: 220px;
  height: 100px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: 24px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.footer-contact a {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 13px;
}

.footer-legal {
  margin-top: 80px;
  padding-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.45);
  font-size: 8px;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-legal p {
  margin: 0;
}

/* crédito do desenvolvedor */
.footer-dev {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.footer-dev a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0.55;
  transition: opacity 200ms ease;
}

.footer-dev a:hover {
  opacity: 0.9;
}

.footer-dev span {
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-dev img {
  width: 84px;
  height: auto;
}

.whats-bubble {
  position: fixed;
  z-index: 35;
  left: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
}

.whats-label {
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(20, 12, 16, 0.18);
}

.whats-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 12px 30px rgba(20, 12, 16, 0.28);
  transition: transform 180ms ease;
}

.whats-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.whats-bubble:hover .whats-icon {
  transform: scale(1.08);
}

.wizard-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(20, 14, 18, 0.82);
  backdrop-filter: blur(12px);
  animation: fade-in 180ms ease both;
}

.wizard {
  position: relative;
  width: min(100%, 720px);
  min-height: 640px;
  padding: 32px 72px 55px;
  overflow-y: auto;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  animation: wizard-in 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.wizard-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  font-family: var(--display);
  font-size: 25px;
  cursor: pointer;
}

.wizard-brand {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.wizard-brand img {
  width: 125px;
  height: 60px;
  object-fit: contain;
  filter: invert(1);
}

.wizard-brand span {
  padding-left: 15px;
  border-left: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wizard-progress {
  height: 3px;
  margin: 10px 0 45px;
  overflow: hidden;
  background: rgba(37, 28, 33, 0.14);
}

.wizard-progress span {
  display: block;
  height: 100%;
  background: var(--coral);
  transition: width 320ms ease;
}

.wizard-step {
  position: relative;
}

.wizard-step h2 {
  max-width: 540px;
  margin: 12px 0 10px;
  font-family: var(--display);
  font-size: clamp(37px, 6.5vw, 53px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.014em;
}

.wizard-step > p {
  margin: 0 0 30px;
  color: rgba(37, 28, 33, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.wizard-count {
  color: var(--coral);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.wizard-back {
  position: absolute;
  right: 0;
  top: -2px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.option-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* radio-cards: uma escolha por etapa; o anel substitui a seta */
.option-list button {
  min-height: 64px;
  padding: 0 18px;
  border: 1px solid rgba(37, 28, 33, 0.22);
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(37, 28, 33, 0.05);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.option-list button::before {
  content: "";
  flex: 0 0 18px;
  height: 18px;
  border: 1.5px solid rgba(37, 28, 33, 0.4);
  border-radius: 50%;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.option-list button:hover {
  border-color: var(--ink);
  box-shadow: 0 6px 18px rgba(37, 28, 33, 0.12);
}

.option-list button:hover::before {
  border-color: var(--coral);
}

.option-list button.is-picked {
  border-color: var(--coral);
  background: rgba(189, 151, 90, 0.12);
}

.option-list button.is-picked::before {
  border-color: var(--coral);
  background: var(--coral);
  box-shadow: inset 0 0 0 3.5px var(--white);
}

.contact-step label {
  margin-top: 20px;
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-step input {
  width: 100%;
  height: 55px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(37, 28, 33, 0.38);
  border-radius: 0;
  background: transparent;
  font-family: var(--display);
  font-size: 21px;
  outline: none;
}

.contact-step input:focus {
  border-color: var(--coral);
}

.contact-step input::placeholder {
  color: rgba(37, 28, 33, 0.28);
}

.full {
  width: 100%;
  margin-top: 32px;
}

.wizard-finish {
  padding-top: 30px;
  text-align: center;
}

.finish-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-size: 23px;
}

.wizard-finish h2 {
  margin-inline: auto;
}

.wizard-finish > p {
  max-width: 430px;
  margin-inline: auto;
}

.answer-summary {
  margin: 25px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.answer-summary span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  font-size: 9px;
}

.restart-link {
  margin-top: 20px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

@keyframes hero-arrive {
  from {
    opacity: 0;
    transform: scale(1.07);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes plan-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes wizard-in {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-context {
    display: none;
  }

  .hero-image {
    left: 22%;
  }

  /* Aqui a headline ocupa quase toda a largura, então o véu cai bem mais tarde */
  .hero-wash {
    background:
      linear-gradient(
        90deg,
        var(--ink) 0%,
        rgba(37, 28, 33, 0.92) 55%,
        rgba(37, 28, 33, 0.74) 80%,
        rgba(37, 28, 33, 0.42) 100%
      ),
      linear-gradient(0deg, rgba(20, 14, 18, 0.75), transparent 50%);
  }

  .manifesto-grid {
    grid-template-columns: 120px 1fr;
  }

  .section-heading,
  .apartment-intro {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .advisory-grid {
    grid-template-columns: 1fr 1fr;
  }

  .advisory-grid article:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.22);
  }

  .advisory-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 36px, 1200px);
  }

  .site-header {
    height: 68px;
    padding: 0 18px;
    background: rgba(27, 20, 24, 0.62);
    backdrop-filter: blur(10px);
  }

  .brand img {
    width: 132px;
    height: 40px;
  }

  .header-cta {
    font-size: 0;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 50%;
    justify-content: center;
  }

  .header-cta span {
    font-size: 14px;
  }

  .hero-image {
    left: 0;
    background-position: 53% 60%;
  }

  /* No retrato a coluna de texto cobre a largura toda: o véu tem de segurar
     a foto ao longo de toda a altura, não só na base. */
  .hero-wash {
    background:
      linear-gradient(
        0deg,
        rgba(28, 20, 25, 0.97) 0%,
        rgba(28, 20, 25, 0.66) 72%,
        rgba(28, 20, 25, 0.42) 100%
      ),
      linear-gradient(90deg, rgba(28, 20, 25, 0.55), transparent);
  }

  .hero-content {
    justify-content: flex-end;
    padding-top: 110px;
    padding-bottom: 92px;
  }

  .hero-kicker {
    margin-bottom: 26px;
  }

  /* com a credencial em duas linhas o traço fica pendurado no vazio */
  .hero-kicker::after {
    display: none;
  }

  .hero h1 {
    font-size: clamp(34px, 9.4vw, 48px);
  }

  .hero-sub {
    margin-top: 14px;
    font-size: 11px;
  }

  .hero-copy {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-actions {
    width: 100%;
    margin-top: 28px;
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }

  .hero-actions .primary-button {
    justify-content: space-between;
  }

  .text-link {
    align-self: flex-start;
  }

  .hero-footline {
    right: 18px;
  }

  .hero-note {
    flex-direction: column;
    gap: 4px;
    text-align: right;
  }

  .scroll-cue {
    display: none;
  }

  .manifesto {
    min-height: auto;
    padding: 100px 0;
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .quote-mark {
    top: -58px;
    left: auto;
    right: -4px;
    font-size: 120px;
  }

  .manifesto-copy h2,
  .apartment-intro h2,
  .advisory-heading h2 {
    font-size: 44px;
  }

  .manifesto-support {
    margin-top: 44px;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .experience {
    padding-top: 76px;
  }

  .section-heading h2 {
    font-size: 38px;
  }

  .gallery-controls {
    margin-top: 22px;
  }

  .gallery {
    padding-inline: 18px;
  }

  .gallery-card {
    flex-basis: 84vw;
    height: 44svh;
    min-height: 320px;
  }

  .fact-ribbon > div {
    padding-block: 25px;
    grid-template-columns: 1fr 1fr;
  }

  .fact-ribbon span,
  .fact-ribbon span:last-child {
    height: 72px;
    padding: 0 12px;
    border-right: 0;
  }

  .apartments {
    padding: 72px 0 40px;
  }

  .plan-tabs {
    margin-top: 22px;
  }

  .plan-tabs button {
    min-height: 54px;
    font-size: 17px;
  }

  .plan-tabs button.active::after {
    display: none;
  }

  .plan-stage {
    grid-template-columns: 1fr;
  }

  .plan-visual {
    padding: 18px;
  }

  .plan-visual img {
    height: min(34svh, 300px);
  }

  .rooftop {
    min-height: 86svh;
  }

  .rooftop-content {
    padding-bottom: 75px;
  }

  .rooftop-content h2 {
    font-size: 48px;
  }

  .rooftop-stamp {
    top: 95px;
    right: 18px;
    width: 110px;
    height: 110px;
  }

  .rooftop-stamp strong {
    font-size: 26px;
  }

  .obra {
    min-height: auto;
    padding: 70px 0 56px;
  }

  .obra-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .obra-player {
    justify-self: center;
  }

  .obra-player video {
    width: min(100%, 360px);
    height: auto;
  }

  .advisory {
    padding-top: 100px;
  }

  .advisory-grid {
    margin-top: 55px;
  }

  .advisory-grid article {
    min-height: 230px;
    padding: 22px 15px;
  }

  .advisory-grid h3 {
    font-size: 22px;
  }

  .location-card {
    margin-top: 80px;
    grid-template-columns: 1fr;
  }

  .location-map {
    min-height: 380px;
  }

  .location-copy {
    padding: 44px 26px 50px;
  }

  .footer-main,
  .footer-legal {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-contact {
    align-items: flex-start;
  }

  .footer-legal {
    margin-top: 55px;
  }

  .whats-bubble {
    left: 14px;
    bottom: 14px;
  }

  .whats-icon {
    width: 50px;
    height: 50px;
  }

  .whats-icon svg {
    width: 25px;
    height: 25px;
  }

  .wizard-backdrop {
    padding: 0;
    align-items: end;
  }

  .wizard {
    width: 100%;
    max-height: 94svh;
    min-height: 0;
    padding: 25px 20px 35px;
  }

  .wizard-brand {
    height: 52px;
  }

  .wizard-brand img {
    width: 105px;
    height: 45px;
  }

  .wizard-progress {
    margin: 8px 0 32px;
  }

  .wizard-step h2 {
    padding-right: 20px;
    font-size: 42px;
  }

  .option-list {
    grid-template-columns: 1fr;
  }

  .option-list button {
    min-height: 58px;
  }
}

@media (min-width: 981px) {
  .ascent-caption {
    margin-right: 96px;
  }
}

@media (max-width: 720px) {
  .tour-track {
    height: 320svh;
  }

  .tour-hud {
    padding: 92px 0 56px;
  }

  .tour-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .tour-room h2 {
    font-size: 52px;
  }

  .tour-room p {
    font-size: 13px;
  }

  .tour-foot {
    gap: 24px;
  }

  .tour-dock {
    gap: 12px;
  }

  .tour-dock button {
    flex: 1 1 0;
  }

  .tour-dock-head {
    gap: 6px;
    font-size: 8px;
  }

  .tour-dock-head svg {
    width: 16px;
    height: 16px;
  }

  .ascent-track {
    height: 380svh;
  }

  .ascent-rail {
    left: 16px;
  }

  .ascent-hud {
    padding: 92px 0 56px;
    gap: 20px;
  }

  .ascent-hud-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .ascent-dock .tour-dock.is-here {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ascent-dock .tour-dock.is-here::-webkit-scrollbar {
    display: none;
  }

  .ascent-dock .tour-dock button {
    flex: 0 0 auto;
  }

  .ascent-caption {
    text-align: left;
  }

  .ascent-caption .eyebrow {
    flex-direction: row;
  }

  .ascent-caption h2 {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Proposta: A subida por pavimentos ===== */

/* deriva sutil da foto ativa enquanto o visitante lê a legenda */
.ascent-photo.is-active {
  animation: ascent-drift 8s ease-out forwards;
}

@keyframes ascent-drift {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.09);
  }
}

/* tela de apresentação de cada pavimento, sobreposta às fotos */
.ascent-intro {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 100px 24px 128px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 520ms ease,
    visibility 0s linear 520ms;
  background: radial-gradient(
    120% 95% at 50% 8%,
    rgba(24, 18, 22, 0.52),
    rgba(24, 18, 22, 0.88)
  );
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  backdrop-filter: blur(10px) saturate(1.05);
}

.ascent-intro.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 520ms ease;
}

.ascent-intro-panel {
  width: min(860px, 100%);
  max-height: calc(100svh - 140px);
  overflow-y: auto;
  scrollbar-width: none;
  padding: clamp(26px, 4vw, 46px);
  text-align: center;
  color: var(--white);
  border: 1px solid rgba(189, 151, 90, 0.45);
  background: rgba(24, 18, 22, 0.38);
  box-shadow: 0 30px 80px rgba(15, 10, 13, 0.4);
}

.ascent-intro-panel::-webkit-scrollbar {
  display: none;
}

.ascent-intro-panel .eyebrow {
  justify-content: center;
}

.ascent-intro-panel h2 {
  margin: 16px 0 12px;
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.ascent-intro-panel > p {
  margin: 0 auto;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.65;
}

.ascent-amenities {
  list-style: none;
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 16px 18px;
}

.ascent-amenities li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
}

.ascent-amenities svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--bronze);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ascent-amenities span {
  max-width: 150px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.ascent-intro-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.ascent-intro-hint::after {
  content: "";
  width: 1px;
  height: 26px;
  background: linear-gradient(to bottom, var(--bronze), transparent);
  transform-origin: top;
  animation: hint-drop 1.7s ease infinite;
}

/* barra de progresso da capa do andar: só existe no mobile */
.ascent-intro-progress {
  display: none;
}

@keyframes hint-drop {
  0% {
    transform: scaleY(0);
    opacity: 1;
  }
  62% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

/* medidor e trilho continuam visíveis sobre a tela de apresentação */
.ascent-rail {
  z-index: 4;
}

.ascent-hud {
  z-index: 5;
  pointer-events: none;
}

.ascent-caption {
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.ascent-caption.is-hidden {
  opacity: 0;
  transform: translateY(12px);
}

/* dock de áreas do pavimento, mesmo mecanismo do decorado */
.ascent-dock {
  pointer-events: auto;
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.ascent-dock.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.ascent-dock .tour-dock {
  display: none;
}

.ascent-dock .tour-dock.is-here {
  display: flex;
}

.ascent-caption h3 {
  margin: 14px 0 10px;
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.014em;
}

@media (max-width: 760px) {
  .ascent-intro {
    padding: 86px 14px 44px;
  }

  .ascent-intro-panel h2 {
    font-size: 29px;
  }

  .ascent-amenities {
    grid-template-columns: repeat(2, 1fr);
    gap: 13px 10px;
  }

  .ascent-caption h3 {
    font-size: 31px;
  }
}

/* ===== A subida: versão mobile dedicada ===== */
@media (max-width: 720px) {
  /* no mobile o trilho lateral vira ruído; o medidor já conta o progresso */
  .ascent-rail {
    display: none;
  }

  /* o panorama (pan horizontal via app.js) substitui a deriva de zoom;
     a transition em background-position amortece o gesto do dedo */
  .ascent-photo {
    transition:
      opacity 900ms ease,
      background-position 320ms cubic-bezier(0.25, 1, 0.5, 1);
  }

  .ascent-photo.is-active {
    animation: none;
  }

  /* decorado com o mesmo panorama e ritmo */
  .tour-track {
    height: 400svh;
  }

  .tour-media {
    transition: opacity 900ms ease;
  }

  .tour-media img,
  .tour-media.is-active img {
    transform: none;
    animation: none;
    transition: object-position 320ms cubic-bezier(0.25, 1, 0.5, 1);
  }

  /* palco em três faixas: medidor no topo, legenda e dock no rodapé,
     rodapé reservado para o .whats-bubble fixo */
  .ascent-hud {
    padding: 96px 0 88px;
    gap: 12px;
    justify-content: space-between;
  }

  .ascent-hud-row {
    flex: 1;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .ascent-caption {
    max-width: 100%;
    padding-right: 6px;
  }

  .ascent-caption h3 {
    margin: 8px 0 6px;
    font-size: 24px;
  }

  .ascent-caption p {
    font-size: 12px;
    line-height: 1.55;
  }

  /* dock só com ícones: as 5 áreas cabem sem rolagem lateral */
  .ascent-dock .tour-dock.is-here {
    overflow: visible;
    gap: 8px;
  }

  .ascent-dock .tour-dock button {
    flex: 1 1 0;
    gap: 6px;
  }

  .ascent-dock .tour-dock-head {
    justify-content: center;
  }

  .ascent-dock .tour-dock-head span {
    display: none;
  }

  .ascent-dock .tour-dock-head svg {
    width: 17px;
    height: 17px;
  }

  /* tela de apresentação compacta: texto à esquerda e lista em linhas */
  .ascent-intro {
    padding: 90px 14px 90px;
  }

  .ascent-intro-panel {
    max-height: calc(100svh - 190px);
    padding: 22px 18px 24px;
    text-align: left;
  }

  .ascent-intro-panel .eyebrow {
    justify-content: flex-start;
  }

  .ascent-intro-panel h2 {
    margin: 12px 0 8px;
    font-size: 26px;
    line-height: 1.12;
  }

  .ascent-intro-panel > p {
    margin: 0;
    max-width: none;
    font-size: 12.5px;
    line-height: 1.55;
  }

  .ascent-amenities {
    margin-top: 16px;
    padding-top: 14px;
    grid-template-columns: 1fr 1fr;
    gap: 4px 14px;
  }

  .ascent-amenities li {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    text-align: left;
  }

  .ascent-amenities svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
  }

  .ascent-amenities span {
    max-width: none;
    font-size: 8px;
    letter-spacing: 0.07em;
  }

  .ascent-intro-hint {
    margin-top: 14px;
    align-items: flex-start;
  }

  .ascent-intro-hint::after {
    display: none;
  }

  /* a capa é estática enquanto o passo roda; a barra mostra o avanço real */
  .ascent-intro-progress {
    display: block;
    height: 2px;
    margin-top: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.18);
  }

  .ascent-intro-progress b {
    display: block;
    height: 100%;
    background: var(--bronze);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms linear;
  }
}
