/* ==========================================================================
   OPEN CONSTRUTORA · CAMADA DE IDENTIDADE
   Carregada depois do CSS principal. Reúne tudo o que aproxima a aplicação
   do manual da marca: tipografia, cores, formas, elementos e contornos.

   1. Fonte            (vale para todas as telas, inclusive empreendimentos)
   2. Tipografia       (vale para todas as telas)
   3. Sem neon         (vale para todas as telas, na cor de cada tela)
   4. Cores da Open    (só nas telas da construtora: início, mapa, institucional)
   5. Componentes      (telas da construtora)
   6. Telas pequenas
   7. Ajustes de 27/11 (cartão do mapa e faixa de números)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONTE
   O manual pede Gotham (Light, Book, Medium, Bold). Gotham é licenciada, então
   a aplicação usa Montserrat, a gratuita mais próxima, nos mesmos quatro pesos.
   Para trocar pela Gotham: colocar os arquivos em assets/fonts, descomentar o
   bloco abaixo e trocar o nome em --fonte.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-display: swap;
  font-weight: 100 300;
  src: url(./fonts/montserrat-latin-300-normal.woff2) format("woff2");
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(./fonts/montserrat-latin-400-normal.woff2) format("woff2");
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-display: swap;
  font-weight: 500 600;
  src: url(./fonts/montserrat-latin-500-normal.woff2) format("woff2");
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-display: swap;
  font-weight: 700 900;
  src: url(./fonts/montserrat-latin-700-normal.woff2) format("woff2");
}
/*
@font-face { font-family: Gotham; font-weight: 100 300; src: url(./fonts/Gotham-Light.woff2) format("woff2"); }
@font-face { font-family: Gotham; font-weight: 400;     src: url(./fonts/Gotham-Book.woff2) format("woff2"); }
@font-face { font-family: Gotham; font-weight: 500 600; src: url(./fonts/Gotham-Medium.woff2) format("woff2"); }
@font-face { font-family: Gotham; font-weight: 700 900; src: url(./fonts/Gotham-Bold.woff2) format("woff2"); }
*/

@property --gap {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 11%;
}

:root {
  --fonte: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Cores do manual */
  --o-azul: 29 106 142; /* #1D6A8E · Pantone 7700C */
  --o-verde: 80 188 189; /* #50BCBD · Pantone 7472C */
  --o-branco: 255 255 255;
  --o-cinza: 104 104 104; /* cinza dos textos do manual */
  /* Tons de apoio, derivados do azul e do verde (mesma proporção dos temas dos empreendimentos) */
  --o-azul-75: 22 80 107;
  --o-azul-55: 16 58 78;
  --o-verde-claro: 197 232 232;
  --o-gelo: 238 246 248;

  /* Padrão da aplicação quando nenhum empreendimento está aberto */
  --teal-rgb: 80 188 189;
  --mist-rgb: 197 232 232;
  --petrol-rgb: 29 106 142;
  --night-rgb: 16 58 78;
  --abyss-rgb: 22 80 107;
  --deep-rgb: 29 106 142;
  --ink-rgb: 255 255 255;
}

/* --------------------------------------------------------------------------
   2. TIPOGRAFIA (todas as telas)
   Light + Bold no lugar do fino + negrito da Sora; rótulos em caixa alta com
   espaçamento contido, como no manual.
   -------------------------------------------------------------------------- */
html,
body {
  font-family: var(--fonte);
  font-weight: 400;
  background: rgb(var(--petrol-rgb));
}
.thin {
  font-weight: 300;
}
.eyebrow {
  font-weight: 500;
  letter-spacing: 0.14em;
}
.pill {
  font-weight: 500;
  letter-spacing: 0;
}
.badge {
  font-weight: 700;
  letter-spacing: 0.08em;
}
.section-title,
.home__title,
.map__title,
.inst-hero__title,
.inst-offer h2,
.project__tagline {
  font-weight: 300;
  letter-spacing: -0.02em;
}
.section-title b,
.home__title b,
.map__title b,
.inst-hero__title b {
  letter-spacing: -0.025em;
}
.home__title {
  font-size: clamp(30px, 3.35vw, 66px);
  line-height: 1.08;
}
.inst-hero__title {
  font-size: clamp(36px, 3.75vw, 72px);
  line-height: 1.06;
}
.section-title {
  font-size: clamp(32px, 3.3vw, 60px);
  line-height: 1.06;
}
.map__title {
  font-size: clamp(34px, 2.8vw, 54px);
}
.project__tagline {
  font-size: clamp(24px, 2.4vw, 44px);
  line-height: 1.12;
}
.fact b,
.sheet__area b,
.video-panel__copy b,
.fullscreen-note__copy b {
  letter-spacing: -0.025em;
}
.pin-card__body b,
.video-card__text b,
.folio__body b,
.store b,
.channel__text b,
.plan__head b,
.sheet__title,
.lightbox__caption {
  letter-spacing: -0.015em;
}
.reel__item b,
.rail__project b,
.inst-hero__media figcaption {
  letter-spacing: -0.005em;
}
.cta {
  font-weight: 400;
  letter-spacing: 0;
}
.rail__item {
  font-weight: 400;
  letter-spacing: 0;
}
.rail__subitem {
  font-weight: 400;
}
.inst-hero__lead,
.inst-offer p {
  font-weight: 400;
}
.guide b small {
  font-weight: 400;
}
.pin-card__body b .thin {
  font-weight: 300;
}
/* rótulos em caixa alta */
.home__round-label,
.rail__meta,
.project__kicker,
.project__caption small,
.project__walk-copy small,
.walk-bar__title small,
.video-card__text small,
.folio__body small,
.store small,
.video-panel__copy small,
.fullscreen-note__copy small,
.sheet__kicker,
.sheet__rooms p,
.plan__head small {
  font-weight: 500;
  letter-spacing: 0.12em;
}
.rail__eyebrow {
  letter-spacing: 0.14em;
}
.map__crumb {
  font-weight: 500;
  letter-spacing: 0.12em;
}
.reel__zone,
.fact span,
.gallery-bar__hint,
.lightbox__count,
.lightbox__hint,
.fullscreen-note__skip,
.folder__count {
  font-weight: 500;
  letter-spacing: 0.1em;
}
.rail__project small,
.pin-card__status,
.folio__status,
.sheet__area span,
.sheet__facts dt,
.gallery-bar__expand {
  letter-spacing: 0.08em;
}
.guide span,
.dock__label small {
  letter-spacing: 0.06em;
}
.street__modes button {
  letter-spacing: 0.04em;
}
.wpin__text {
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   3. SEM NEON (todas as telas)
   Saem brilhos, luzes e degradês de vidro. Ficam cor chapada e traço sólido.
   As cores vêm das mesmas variáveis de antes, então cada empreendimento
   continua com a sua paleta.
   -------------------------------------------------------------------------- */
.pill > i,
.badge i,
.reel__bar i,
.rail__item.is-on:before,
.pin-card__status i,
.folio__status i,
.folio__status--concluido i,
.folio__status--em-construcao i,
.cta__arrow,
.inst__hand,
.project__walk-icon,
.street__thumb,
.pin-card__go {
  box-shadow: none;
}
.cta {
  background: rgb(var(--petrol-rgb));
  box-shadow: none;
}
.surface {
  background: rgb(var(--deep-rgb) / 0.96);
  box-shadow: 0 24px 48px -28px rgb(var(--night-rgb) / 0.9);
}
.pin-card__go,
.sheet__area,
.dock__blob,
.street__thumb,
.wpin__go {
  background: rgb(var(--teal-rgb));
}
.sheet__area.is-alt {
  background: rgb(var(--night-rgb) / 0.45);
}
.dock__blob--trail {
  background: rgb(var(--mist-rgb));
}
.logo-mark {
  background:
    linear-gradient(90deg, var(--teal) 0 var(--logo-o), var(--ink) var(--logo-o) var(--logo-pen), var(--teal) var(--logo-pen)) 0 0 / 100%
      var(--logo-line) no-repeat,
    var(--ink);
}
.rail__subitem.is-on i {
  box-shadow: 0 0 0 4px rgb(var(--teal-rgb) / 0.28);
}
html.is-mouse .guide:hover,
.guide.is-hot,
.guide.is-pressed {
  box-shadow: 0 0 0 5px rgb(var(--teal-rgb) / 0.22);
}
.pin span {
  box-shadow:
    0 0 0 3px rgb(var(--ink-rgb) / 0.92),
    0 0 0 7px rgb(var(--teal-rgb) / 0.4);
}
html.is-mouse .pin-card:hover {
  box-shadow:
    0 24px 48px -28px rgb(var(--night-rgb) / 0.9),
    0 0 0 4px rgb(var(--teal-rgb) / 0.22);
}
.pin-card.is-pressed {
  box-shadow:
    0 24px 48px -28px rgb(var(--night-rgb) / 0.9),
    0 0 0 4px rgb(var(--teal-rgb) / 0.32);
}
.video-card__play {
  box-shadow: 0 0 0 12px rgb(var(--ink-rgb) / 0.22);
}
.video-panel__play {
  box-shadow: 0 0 0 20px rgb(var(--teal-rgb) / 0.1);
}
.wpin__dot {
  box-shadow: 0 0 0 3px rgb(var(--mist-rgb) / 0.45);
}
.wpin__brand {
  box-shadow:
    inset 0 0 0 1.5px var(--teal),
    0 24px 46px -18px #000000a6;
}
html.is-mouse .wpin--main .wpin__label:hover .wpin__brand,
.wpin--main .wpin__label.is-pressed .wpin__brand {
  box-shadow:
    inset 0 0 0 2.5px var(--teal),
    0 28px 50px -18px #000000b3;
}
/* pulsos: de brilho para anel sólido que abre e some */
@keyframes tour-pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(var(--teal-rgb) / 0.45);
  }
  70%,
  to {
    box-shadow: 0 0 0 12px rgb(var(--teal-rgb) / 0);
  }
}
@keyframes breathe {
  50% {
    box-shadow: 0 0 0 30px rgb(var(--teal-rgb) / 0.05);
  }
}

/* Contorno animado: a luz que corria pela borda vira um traço sólido.
   Fica só onde convida ao toque (botões principais e cartões do mapa);
   painéis e cartões de informação ficam com o contorno parado. */
.edge__ring {
  display: none;
}
.cta > .edge__ring,
.pin-card > .edge__ring {
  display: block;
  padding: 2px;
  opacity: 1;
}
.cta > .edge__ring i,
.pin-card > .edge__ring i {
  width: 58px;
  height: 58px;
  left: -29px;
  top: -29px;
  background: rgb(var(--teal-rgb));
}
.pin-card > .edge__ring i {
  width: 96px;
  height: 96px;
  left: -48px;
  top: -48px;
}
.tour-cta > .edge__ring i {
  background: rgb(var(--mist-rgb));
}
/* Botões redondos: o contorno é o "O" aberto da marca; fecha ao toque. */
.round,
.menu-toggle,
.video-panel__play,
.fullscreen-note__icon {
  border: 0;
}
.round > .edge__ring,
.menu-toggle > .edge__ring,
.video-panel__play > .edge__ring {
  display: block;
  padding: 1.6px;
  opacity: 1;
  background: conic-gradient(from 300deg, transparent 0 var(--gap), currentColor 0);
  transition: --gap 0.5s var(--ease);
}
.round.is-pressed > .edge__ring,
html.is-mouse .round:hover > .edge__ring,
.menu-toggle.is-pressed > .edge__ring {
  --gap: 0%;
}
.round > .edge__ring i,
.menu-toggle > .edge__ring i,
.video-panel__play > .edge__ring i {
  display: none;
}
.video-panel__play {
  animation: none;
  box-shadow: none;
}
/* carregando: o anel aberto girando, em vez do quarto de círculo */
.plan__canvas:after,
.street__frame:after {
  border: 0;
  background: conic-gradient(from 300deg, transparent 0 11%, currentColor 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
}
.plan__canvas:after {
  color: rgb(var(--petrol-rgb));
}
.street__frame:after {
  color: rgb(var(--teal-rgb));
}

/* --------------------------------------------------------------------------
   4. CORES DA OPEN (telas da construtora)
   Estas áreas ficam presas ao azul e ao verde do manual mesmo durante a
   transição para dentro de um empreendimento.
   -------------------------------------------------------------------------- */
.home,
.home-slides,
.rail,
.map,
.institutional,
.fullscreen-note,
.modal,
.menu-toggle {
  --teal-rgb: var(--o-verde);
  --mist-rgb: var(--o-verde-claro);
  --petrol-rgb: var(--o-azul);
  --night-rgb: var(--o-azul-55);
  --abyss-rgb: var(--o-azul-75);
  --deep-rgb: var(--o-azul);
  --ink-rgb: var(--o-branco);
  --teal: rgb(var(--o-verde));
  --mist: rgb(var(--o-verde-claro));
  --petrol: rgb(var(--o-azul));
  --night: rgb(var(--o-azul-55));
  --abyss: rgb(var(--o-azul-75));
  --deep: rgb(var(--o-azul));
  --ink: rgb(var(--o-branco));
  --azul: rgb(var(--o-azul));
  --verde: rgb(var(--o-verde));
  --cinza: rgb(var(--o-cinza));
  --white: #fff;
  --muted: rgb(255 255 255 / 0.82);
  --faint: rgb(255 255 255 / 0.62);
  --hair: rgb(255 255 255 / 0.3);
  color: #fff;
}

/* --------------------------------------------------------------------------
   5. COMPONENTES (telas da construtora)
   -------------------------------------------------------------------------- */

/* Pílulas de informação: brancas, texto azul */
.home .pill,
.map .pill,
.institutional .pill {
  background: #fff;
  color: var(--azul);
  border: 0;
}
.home .pill b,
.map .pill b,
.institutional .pill b {
  font-weight: 700;
}

/* Botão principal: pílula + círculo, como a barra de busca do manual */
.home .cta {
  background: #fff;
  color: var(--azul);
  border-color: #fff;
}
.home .cta b {
  font-weight: 700;
}
.home .cta__arrow,
.fullscreen-note .cta__arrow {
  background: var(--verde);
  color: var(--night);
}
.home .round {
  background: transparent;
  color: #fff;
}
html.is-mouse .home .round:hover,
.home .round.is-pressed {
  background: rgb(255 255 255 / 0.14);
}
.home__round-label {
  color: rgb(255 255 255 / 0.85);
}

/* Página inicial */
.home .eyebrow {
  color: rgb(255 255 255 / 0.85);
}
.home .eyebrow b {
  color: #fff;
}
.home__title {
  color: #fff;
}
.home__title em {
  color: var(--verde);
}
.home-slides {
  background: var(--azul);
}
.home-slides:after {
  background: linear-gradient(0deg, rgb(var(--o-azul-55) / 0.72), rgb(var(--o-azul-55) / 0) 30%);
}
.reel__item {
  color: rgb(255 255 255 / 0.7);
}
.reel__bar {
  height: 4px;
  border-radius: 4px;
  background: rgb(255 255 255 / 0.38);
}
.reel__bar i {
  background: var(--verde);
  border-radius: 4px;
}
.reel__item.is-done .reel__bar i {
  opacity: 0.7;
}

/* Menu lateral */
.rail__eyebrow {
  color: var(--mist);
}
.rail__item {
  border-radius: 999px;
  color: rgb(255 255 255 / 0.86);
}
html.is-mouse .rail__item:hover,
.rail__item.is-pressed {
  color: #fff;
  background: rgb(255 255 255 / 0.12);
}
.rail__item.is-on {
  color: var(--azul);
  font-weight: 700;
  background: #fff;
  box-shadow: none;
}
.rail__item.is-on:before {
  display: none;
}
.rail__subinner {
  border-left-color: rgb(255 255 255 / 0.28);
}
.rail__subitem {
  color: rgb(255 255 255 / 0.8);
}
.rail__subitem i {
  background: rgb(255 255 255 / 0.5);
}
.rail__subitem em {
  color: var(--mist);
}
.rail__subitem.is-on {
  font-weight: 700;
}
.rail__meta {
  color: rgb(255 255 255 / 0.62);
}
.rail__project {
  border-radius: 999px 20px 20px 999px;
}
.rail__project img {
  border-radius: 50%;
}

/* Mapa */
.map {
  background: var(--abyss);
}
.map__crumb {
  color: rgb(255 255 255 / 0.78);
}
.map__lines path {
  stroke: rgb(255 255 255 / 0.75);
}
.guide__anchor {
  background: #fff;
  border: 3px solid var(--verde);
  box-shadow: none;
}
.guide {
  background: #fff;
  color: var(--azul);
  border: 0;
  box-shadow: none;
}
.guide i {
  box-shadow: 0 0 0 3px rgb(var(--o-verde) / 0.28);
}
.guide span {
  color: rgb(var(--o-azul) / 0.72);
  font-weight: 500;
}
html.is-mouse .guide:hover,
.guide.is-hot,
.guide.is-pressed {
  background: var(--verde);
  color: var(--night);
  box-shadow: 0 0 0 5px rgb(255 255 255 / 0.3);
}
html.is-mouse .guide:hover i,
.guide.is-hot i,
.guide.is-pressed i {
  background: #fff;
  box-shadow: 0 0 0 3px rgb(255 255 255 / 0.4);
}
html.is-mouse .guide:hover span,
.guide.is-hot span,
.guide.is-pressed span {
  color: var(--night);
}
.map__hint > i {
  border-color: var(--verde);
}
.map__compass {
  background: #fff;
  border: 0;
}
.map__flat {
  background: var(--abyss);
}
.map__flat-land {
  fill: rgb(var(--o-azul));
  stroke: rgb(255 255 255 / 0.12);
}
.map__flat-zone {
  fill: #fff;
  stroke: rgb(var(--o-verde));
}
.map__flat-zone.is-hot {
  fill: rgb(var(--o-verde-claro));
}
.map__flat-zone.is-on {
  fill: rgb(var(--o-verde));
  stroke: #fff;
}

/* Institucional */
.institutional {
  background: var(--azul);
}
.inst__glow {
  display: none;
}
.inst-hero__lead {
  color: rgb(255 255 255 / 0.88);
}
.inst-hero__title em {
  color: var(--verde);
}
.institutional .eyebrow {
  color: rgb(255 255 255 / 0.85);
}
/* Abertura: a foto mora dentro do "O" da marca (manual, págs. 11, 12, 20 e 30).
   O contorno se desenha, a foto entra pela abertura do "O" e troca junto com a
   palavra da frase "Lugares para viver, descansar e celebrar". */
.inst-hero {
  position: relative;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}
.inst-hero__copy {
  position: relative;
  z-index: 2;
}
.inst-hero__title {
  max-width: 9.2em;
}
.inst-hero__title .line {
  text-wrap: balance;
}
.inst-hero__film {
  align-self: flex-start;
  margin-top: 6px;
}
.institutional .cta {
  background: #fff;
  color: var(--azul);
  border-color: #fff;
}
.institutional .cta b {
  font-weight: 700;
}
.institutional .cta__arrow {
  background: var(--verde);
  color: var(--night);
}
.inst-word {
  padding-bottom: 3px;
  background: linear-gradient(var(--verde), var(--verde)) no-repeat 0 100% / 0% 2px;
  transition: background-size 0.9s var(--ease);
}
.inst-word.is-on {
  background-size: 100% 2px;
}
.inst-o {
  position: relative;
  z-index: 1;
  margin: 0 -3% 0 0;
  justify-self: end;
  width: min(77%, 60vh, 880px);
  aspect-ratio: 1;
  transform: translate3d(0, calc(var(--inst-s, 0) * 0.14px), 0);
}
.inst-o__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 192.78%;
  height: 192.78%;
  transform: translate(-50%, -50%);
  overflow: visible;
  pointer-events: none;
}
.inst-o__body {
  fill: rgb(255 255 255 / 0.06);
}
.inst-o__line {
  fill: none;
  stroke: var(--verde);
  stroke-width: 0.0034;
  stroke-dasharray: 1000;
}
.inst-o__dash {
  fill: none;
  stroke: #fff;
  stroke-width: 0.0085;
  stroke-linecap: round;
  stroke-dasharray: 45 955;
  animation: inst-dash 25s linear infinite;
}
@keyframes inst-dash {
  to {
    stroke-dashoffset: -1000;
  }
}
.inst-o__photo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
}
.inst-o__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inst-o__tag {
  position: absolute;
  left: -5%;
  bottom: 13%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  height: 60px;
  padding: 0 28px 0 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--azul);
  font-size: 19px;
  white-space: nowrap;
}
.inst-o__tag i {
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--verde);
}
.inst-o__words {
  position: relative;
  display: inline-block;
  height: 1.3em;
  overflow: hidden;
  transition: width 0.7s var(--ease);
}
.inst-o__words b {
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.3;
  font-weight: 700;
  white-space: nowrap;
}

/* Títulos de seção: a pílula pequena do manual como marcador, que desliza ao entrar */
.institutional .section-title:before {
  content: "";
  display: block;
  width: 54px;
  height: 12px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: var(--verde);
  clip-path: inset(0 100% 0 0 round 999px);
  transition: clip-path 1s var(--ease) 0.2s;
}
.institutional .section-title.is-in:before {
  clip-path: inset(0 0 0 0 round 999px);
}
.inst-portfolio__head p {
  color: rgb(255 255 255 / 0.85);
}
.video-card {
  border: 0;
  background: var(--abyss);
  overflow: hidden;
}
.video-card img {
  filter: brightness(0.82);
}
html.is-mouse .video-card:hover img {
  filter: brightness(0.94);
}
.video-card__play {
  background: #fff;
  color: var(--azul);
  box-shadow: none;
}
/* botão de assistir: o anel é o "O" aberto, que fecha ao toque */
.video-card__play:before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: conic-gradient(from 300deg, transparent 0 var(--gap), #fff 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  transition: --gap 0.5s var(--ease);
}
html.is-mouse .video-card:hover .video-card__play:before,
.video-card.is-pressed .video-card__play:before {
  --gap: 0%;
}
.video-card__text small {
  color: #fff;
}
.folio {
  border: 0;
  background: var(--abyss);
  overflow: hidden;
}
.folio:before {
  background: linear-gradient(0deg, rgb(var(--o-azul-55) / 0.92) 6%, rgb(var(--o-azul-55) / 0) 56%);
}
.folio__status {
  background: #fff;
  color: var(--azul);
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.folio__status i,
.folio__status--em-construcao i {
  background: var(--verde);
}
.folio__status--concluido i {
  background: var(--azul);
}
.folio__body small {
  color: #fff;
}
.folio__go {
  color: #fff;
}
.inst-offer {
  border: 0;
  border-radius: 56px;
  padding-top: clamp(54px, 5vw, 86px);
  background: #fff;
  color: var(--azul);
}
.inst-offer h2 {
  color: var(--azul);
}
.inst-offer p {
  color: var(--cinza);
}
/* pílula grande + pílula pequena sobreposta (manual, pág. 13); a pequena é o botão */
.inst-offer-wrap {
  position: relative;
}
.inst-offer__go {
  position: absolute;
  right: -14px;
  top: -34px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  height: 68px;
  padding: 0 8px 0 30px;
  border-radius: 999px;
  background: var(--verde);
  color: var(--night);
  font-size: 17px;
  font-weight: 400;
}
.inst-offer__go b {
  font-weight: 700;
}
.inst-offer__go .cta__arrow {
  width: 52px;
  height: 52px;
  background: #fff;
  color: var(--azul);
}
html.is-mouse .inst-offer__go:hover .cta__arrow,
.inst-offer__go.is-pressed .cta__arrow {
  transform: translate(4px);
}

/* Fecho da página: o "O" em traço fino em volta do logo, como a última página do manual */
.inst-close {
  position: relative;
  height: min(64vh, 620px);
  border-radius: 56px;
  overflow: hidden;
  background: var(--abyss);
  display: grid;
  place-items: center;
}
.inst-close__o {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 166%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  overflow: visible;
}
.inst-close__o path {
  fill: none;
  stroke: #fff;
  stroke-width: 0.0022;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 3.2s var(--ease) 0.2s;
}
.inst-close.is-in .inst-close__o path {
  stroke-dashoffset: 0;
}
.inst-close__logo {
  position: relative;
  width: clamp(150px, 12.5vw, 240px);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 1.2s var(--ease) 0.9s,
    transform 1.4s var(--ease) 0.9s;
}
.inst-close.is-in .inst-close__logo {
  opacity: 1;
  transform: none;
}
.store {
  border: 0;
  background: #fff;
  color: var(--azul);
}
.store small {
  color: var(--cinza);
}
.store p {
  color: var(--cinza);
}
.store p .icon {
  color: var(--verde);
}
.store--relation {
  background: var(--verde);
  color: var(--night);
}
.store--relation small,
.store--relation p,
.store--relation p .icon {
  color: var(--night);
}
.channel {
  border: 0;
  background: #fff;
  color: var(--azul);
}
.channel__qr {
  background: rgb(var(--o-gelo));
  border: 0;
}
.channel__text .icon {
  color: var(--verde);
}
.channel__text small {
  color: var(--cinza);
}
.inst-footer {
  border-top-color: rgb(255 255 255 / 0.3);
  color: rgb(255 255 255 / 0.75);
}
.inst__hint {
  background: #fff;
  box-shadow: none;
}
.inst__hand {
  background: var(--verde);
  color: var(--night);
}
.inst__cue {
  border-color: var(--verde);
}

/* Aviso de tela cheia */
.fullscreen-note {
  background: rgb(var(--o-azul-55) / 0.78);
}
.fullscreen-note__card {
  background: #fff;
  border: 0;
  box-shadow: none;
  color: var(--azul);
}
.fullscreen-note__icon {
  color: var(--azul);
  background: rgb(var(--o-gelo));
  animation: none;
  box-shadow: inset 0 0 0 1.6px var(--verde);
}
.fullscreen-note__copy small {
  color: var(--cinza);
}
.fullscreen-note__copy p,
.fullscreen-note__skip {
  color: var(--cinza);
}
html.is-mouse .fullscreen-note__skip:hover {
  color: var(--azul);
}
.fullscreen-note .cta {
  background: var(--azul);
  color: #fff;
}
.fullscreen-note .cta > .edge__ring i {
  background: var(--verde);
}

/* Vídeo institucional */
.modal {
  background: rgb(var(--o-azul-55) / 0.92);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.modal__frame {
  box-shadow: none;
}
.modal .round {
  background: transparent;
}

/* Botão de menu (telas pequenas) */
.menu-toggle {
  background: #fff;
  color: var(--azul);
}

/* Ícones que continuam desenhados à mão (o "O" da marca e redes sociais): traço na espessura dos demais */
.rail__item .icon,
.channel__text .icon {
  stroke-width: 1.1;
}
.round .icon {
  stroke-width: 1.2;
}

/* Menu lateral: lista de empreendimentos (a cor de cada um fica no anel da foto) */
.rail__nav {
  padding-right: 28px;
}
.rail__subinner {
  margin-left: 28px;
}
.rail__project {
  gap: 10px;
  padding: 6px 8px 6px 10px;
}
.rail__project img {
  width: 42px;
  height: 42px;
}
.rail__project b {
  font-size: 13px;
}
.rail__project small {
  color: rgb(255 255 255 / 0.78);
}

/* Padrão do "O" (manual, pág. 14) como fundo de cartões enquanto a imagem não carrega */
.video-card,
.folio {
  background-color: rgb(var(--o-azul-75));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='76' viewBox='0 0 76 76'%3E%3Cg fill='%23fff' fill-opacity='.08'%3E%3Cpath transform='translate(7 7)' d='M15.18 20.63C14.87 20.74 14.55 20.84 14.23 20.93C9.32 22.20 4.29 19.23 3.02 14.31C2.55 12.52 2.64 10.66 3.25 8.92C3.65 7.80 4.88 7.21 6.01 7.61C7.13 8.01 7.72 9.24 7.32 10.37C6.99 11.29 6.95 12.28 7.19 13.23C7.87 15.84 10.54 17.42 13.15 16.74C14.41 16.41 15.47 15.61 16.13 14.49C16.80 13.36 16.98 12.04 16.65 10.77C15.98 8.16 13.31 6.58 10.70 7.26C10.30 7.36 9.91 7.52 9.55 7.71C8.51 8.29 7.20 7.91 6.62 6.87C6.04 5.82 6.42 4.51 7.47 3.93C8.14 3.56 8.87 3.27 9.62 3.07C14.53 1.80 19.56 4.77 20.83 9.69C21.45 12.07 21.10 14.56 19.85 16.68C18.77 18.51 17.14 19.89 15.18 20.63Z'/%3E%3Cpath transform='translate(45 45)' d='M15.18 20.63C14.87 20.74 14.55 20.84 14.23 20.93C9.32 22.20 4.29 19.23 3.02 14.31C2.55 12.52 2.64 10.66 3.25 8.92C3.65 7.80 4.88 7.21 6.01 7.61C7.13 8.01 7.72 9.24 7.32 10.37C6.99 11.29 6.95 12.28 7.19 13.23C7.87 15.84 10.54 17.42 13.15 16.74C14.41 16.41 15.47 15.61 16.13 14.49C16.80 13.36 16.98 12.04 16.65 10.77C15.98 8.16 13.31 6.58 10.70 7.26C10.30 7.36 9.91 7.52 9.55 7.71C8.51 8.29 7.20 7.91 6.62 6.87C6.04 5.82 6.42 4.51 7.47 3.93C8.14 3.56 8.87 3.27 9.62 3.07C14.53 1.80 19.56 4.77 20.83 9.69C21.45 12.07 21.10 14.56 19.85 16.68C18.77 18.51 17.14 19.89 15.18 20.63Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 76px 76px;
}
.folio__mark {
  background: none;
  color: rgb(255 255 255 / 0.5);
}

/* Se o aparelho pede menos movimento, o anel animado não é criado: o botão redondo fica com contorno fixo */
.round:not(:has(> .edge__ring)),
.menu-toggle:not(:has(> .edge__ring)),
.video-panel__play:not(:has(> .edge__ring)) {
  box-shadow: inset 0 0 0 1.6px currentColor;
}

/* --------------------------------------------------------------------------
   6. TELAS PEQUENAS
   -------------------------------------------------------------------------- */
@media (max-width: 899px) {
  .map__hint {
    left: 16px;
    right: 16px;
    width: fit-content;
    max-width: none;
    margin: 0 auto;
    transform: none;
    border-radius: 24px;
  }
  .inst__hint {
    white-space: nowrap;
  }
  .inst-offer {
    border-radius: 36px;
  }
  .inst-offer__go {
    right: 14px;
    top: -30px;
    height: 60px;
    font-size: 15px;
  }
  .inst-offer__go .cta__arrow {
    width: 44px;
    height: 44px;
  }
  .inst-close {
    height: 72vw;
    border-radius: 36px;
  }
  .inst-o__tag {
    height: 48px;
    padding: 0 20px 0 16px;
    font-size: 15px;
  }
}
/* tela em pé ou estreita: o texto vem primeiro e o "O" logo abaixo, com a abertura sempre à vista */
@media (max-width: 1100px) {
  .inst-hero {
    grid-template-columns: 1fr;
  }
  .inst-o {
    justify-self: center;
    width: min(50vw, 46vh);
    margin: min(25vw, 23vh) auto;
    transform: translate3d(11vw, calc(var(--inst-s, 0) * 0.14px), 0);
  }
  .inst-o__tag {
    left: -22%;
    bottom: 6%;
  }
}
@media (max-width: 899px) {
  .inst-o {
    width: 60vw;
    margin: 30vw auto 34vw;
    transform: translate3d(9vw, calc(var(--inst-s, 0) * 0.14px), 0);
  }
  .inst-o__tag {
    left: -30%;
    bottom: -4%;
  }
}
html.is-low .inst-o__dash {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .inst-o__dash {
    animation: none;
  }
  .institutional .section-title:before,
  .inst-close__o path,
  .inst-close__logo {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   7. AJUSTES DE 27/11 (pedido do cliente: sai a metragem, entram os dormitórios)
   Cartão do mapa: o bairro fica numa linha e os dormitórios na linha de baixo.
   Numa linha só o texto não cabia e era cortado com reticências.
   A foto acompanha a altura do cartão para não sobrar espaço embaixo dela.
   Faixa de números do empreendimento: o número nunca quebra de linha e, no
   celular, quando são três números o terceiro ocupa a linha inteira.
   As cores vêm das mesmas variáveis, então cada empreendimento mantém a sua.
   -------------------------------------------------------------------------- */
.pin-card__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  white-space: normal;
  overflow: visible;
  line-height: 1.25;
}

.pin-card__meta > span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pin-card__dorms {
  font-weight: 600;
  color: rgb(var(--ink-rgb) / 0.92);
}

.pin-card__photo {
  height: auto;
  align-self: stretch;
}

.pin-card__photo::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.pin-card__photo img,
.pin-card__photo video {
  position: absolute;
  inset: 0;
}

.project__facts .fact b {
  white-space: nowrap;
}

.project__facts .fact:nth-child(3):last-child {
  grid-column: 1 / -1;
}
