/* =========================================================================
   Adolfo Cyrela — estilos
   Mobile-first. Sem dependências. Dourado apenas como detalhe.
   ========================================================================= */

:root {
  --bg: #0a1628;
  --bg-2: #0e1c33;
  --bg-3: #15253f;
  --line: rgba(233, 228, 218, 0.1);
  --line-2: rgba(233, 228, 218, 0.18);
  --text: #e9e4da;
  --muted: #a3a6ad;
  --faint: #6c7486;
  /* Azul-marinho "metálico": brilho frio e sutil sobre o fundo (--bg #0a1628) */
  --sheen: radial-gradient(90% 55% at 85% -5%, rgba(150, 178, 220, .11), transparent 62%),
           radial-gradient(70% 45% at -5% 105%, rgba(96, 128, 180, .08), transparent 60%);
  --gold: #b89a5e;
  --gold-2: #d6bd86;
  --error: #d88a7a;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gut: 20px;
  --max: 1320px;
  --hh: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 768px) { :root { --gut: 40px; --hh: 84px; } }
@media (min-width: 1200px) { :root { --gut: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 1px solid var(--gold-2); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; }
.skip:focus { left: 16px; top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: 96px 0; }
@media (min-width: 1024px) { .section { padding: 160px 0; } }
.section--tight { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line); }
.bg-2 { background: var(--bg-2); }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.display {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 9vw, 6.4rem);
  line-height: 1.02; letter-spacing: -0.01em;
}
.display em, .h2 em { font-style: italic; color: var(--gold-2); }
.h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.1rem, 5.6vw, 4rem);
  line-height: 1.06; letter-spacing: -0.005em;
}
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 40ch; line-height: 1.7; }
.muted { color: var(--muted); }
.prose p + p { margin-top: 1.1em; }
.prose { color: var(--muted); max-width: 58ch; }
.prose strong { color: var(--text); font-weight: 500; }

.section-head { display: grid; gap: 20px; margin-bottom: 56px; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 5fr 4fr; align-items: end; gap: 64px; margin-bottom: 88px; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 1px solid var(--line-2); border-radius: 0;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  background: transparent; cursor: pointer; white-space: nowrap;
  transition: border-color .35s var(--ease), color .35s var(--ease), background-color .35s var(--ease);
}
.btn:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--solid { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--solid:hover { background: transparent; color: var(--gold-2); border-color: var(--gold); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 11px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  padding: 6px 0; border-bottom: 1px solid var(--line-2);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
button.link { border-top: 0; border-left: 0; border-right: 0; background-color: transparent; color: inherit; cursor: pointer; border-radius: 0; }
.link::after { content: "→"; letter-spacing: 0; transition: transform .3s var(--ease); }
.link:hover { color: var(--gold-2); border-color: var(--gold); }
.link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hh);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .menu-open .site-header {
  background: rgba(10, 22, 40, 0.95);
  border-bottom-color: var(--line);
}
/* Barra mais presente: fundo escuro translúcido desde o topo, filete dourado na base,
   marca maior, links mais claros e botão do WhatsApp em dourado */
.site-header { background: linear-gradient(180deg, rgba(10, 22, 40, .86), rgba(10, 22, 40, .66)); } /* sem desfoque de fundo: pesa na rolagem em máquinas modestas */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(184, 154, 94, .7) 20%, rgba(214, 189, 134, .9) 50%, rgba(184, 154, 94, .7) 80%, transparent);
}
.site-header.is-scrolled { background: rgba(10, 22, 40, .94); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.site-header .brand__name { font-size: 30px; }
.site-header .brand__tag { color: var(--gold-2); font-size: 11px; }
.site-header .header-wa { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.site-header .header-wa:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--bg); }
.site-header .container { display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: baseline; gap: 8px; margin-right: auto; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: 0.01em; }
.brand__tag { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a {
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(233, 228, 218, .82); font-weight: 500;
  transition: color .3s var(--ease); position: relative;
}
.nav a:hover { color: var(--gold-2); }
.nav a[aria-current="page"] { color: var(--gold-2); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-wa { min-height: 40px; padding: 0 14px; font-size: 11px; }
.header-wa span { display: none; }
@media (min-width: 360px) { .header-wa span { display: inline; } }

.menu-toggle {
  width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; padding: 0;
  display: grid; place-content: center; gap: 7px;
}
.menu-toggle span { display: block; width: 22px; height: 1px; background: var(--text); transition: transform .35s var(--ease); }
.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav {
    display: block; position: fixed; inset: var(--hh) 0 0 0; background: var(--bg);
    padding: 48px var(--gut); opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a {
    display: flex; justify-content: space-between; padding: 20px 0;
    font-family: var(--serif); font-size: 32px; letter-spacing: 0; text-transform: none; color: var(--text);
  }
  .nav a[aria-current="page"] { color: var(--gold-2); }
  .nav a { font-weight: 400; }
  .nav a::after, .nav a[aria-current="page"]::after { display: none; }
}
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .nav { display: block; }
  .nav ul { display: flex; gap: clamp(22px, 2.6vw, 38px); }
  .header-wa { padding: 0 20px; }
}

/* ---------- Placeholders de imagem (sem layout shift) ---------- */
.ph {
  position: relative; width: 100%; aspect-ratio: var(--ar, 4 / 5);
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(184, 154, 94, 0.10), transparent 60%),
    linear-gradient(160deg, #1a2b47 0%, #0f1d34 55%, #0b172b 100%);
  overflow: hidden;
}
.ph::before {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(233, 228, 218, 0.06);
}
.ph span {
  position: absolute; left: 22px; bottom: 20px; right: 22px;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint);
}
.media { position: relative; overflow: hidden; background: var(--bg-3); }
.media img, .media .ph { width: 100%; height: 100%; object-fit: cover; }
.media > img { aspect-ratio: var(--ar, 4 / 5); }
.product .media > img { --ar: 3 / 4; }
@media (min-width: 900px) { .feature__media > img, .split .media > img { --ar: 5 / 6; } }

/* Hero com foto */
.hero__bg picture, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__video.is-playing { opacity: 1; }

/* ---------- Galeria horizontal ---------- */
.gallery {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0 var(--gut) 12px; scroll-padding: 0 var(--gut);
  padding-left: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut)));
  scroll-padding-left: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut)));
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.gallery:focus-visible { outline-offset: -1px; }
.gallery figure { flex: 0 0 86%; margin: 0; scroll-snap-align: start; display: grid; gap: 12px; }
@media (min-width: 640px) { .gallery figure { flex-basis: 64%; } }
@media (min-width: 1024px) { .gallery { gap: 20px; } .gallery figure { flex-basis: 42%; } }
@media (min-width: 1600px) { .gallery figure { flex-basis: 34%; } }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg-3); }
.gallery figcaption { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.gallery-nav { display: grid; gap: 20px; }
.gallery-nav__btns { display: none; gap: 8px; }
@media (min-width: 1024px) { .gallery-nav__btns { display: flex; } }
.gallery-btn {
  width: 48px; height: 48px; background: transparent; border: 1px solid var(--line-2); cursor: pointer; font-size: 16px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.gallery-btn:hover { border-color: var(--gold); color: var(--gold-2); }

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-start;
  padding: calc(var(--hh) + 36px) 0 48px;
  overflow: hidden;
}
@media (min-height: 760px) and (max-width: 767px) { .hero { padding-top: calc(var(--hh) + 64px); } }
@media (min-width: 768px) { .hero { align-items: flex-end; padding-bottom: 88px; } }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg .ph { height: 100%; aspect-ratio: auto; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40,.55) 0%, rgba(10, 22, 40,.25) 40%, rgba(10, 22, 40,.92) 100%);
}
@media (min-width: 768px) {
  /* A foto tem espreguiçadeiras na faixa do subtítulo: escurece a base e o lado do texto */
  .hero .hero__bg::after { background: linear-gradient(180deg, rgba(10, 22, 40,.5) 0%, rgba(10, 22, 40,.15) 30%, rgba(10, 22, 40,.5) 60%, rgba(10, 22, 40,.95) 100%), linear-gradient(90deg, rgba(10, 22, 40,.55) 0%, rgba(10, 22, 40,0) 60%); }
}
/* Capa da Home: painéis inclinados para a direita com os projetos em destaque.
   Um painel fica aberto (.is-active) e eles se revezam quando a barra dourada termina (main.js).
   Celular/tablet: painéis atrás do texto. Desktop (1024+): painéis no lado direito, texto livre à esquerda. */
.hero__bg--panels { background: radial-gradient(80% 60% at 12% 100%, rgba(184, 154, 94, .10), transparent 65%), var(--bg); }
.hero .hero__bg--panels::after { content: none; }
.hero-panels {
  --sk: 10deg;
  position: absolute; top: 0; bottom: 0; left: -14vw; right: -14vw; z-index: 0;
  display: flex; gap: 6px;
  transform: skewX(calc(var(--sk) * -1)); transform-origin: 50% 100%;
}
.hero-panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--bg-3);
  transition: flex-grow 1.1s cubic-bezier(.7, 0, .2, 1);
  outline-offset: -4px;
}
.hero-panel.is-active { flex-grow: 3.4; }
.hero-panel img {
  /* sobra de 120px de cada lado: a foto é "desinclinada" e ainda cobre o painel inteiro */
  position: absolute; top: 0; left: -120px; width: calc(100% + 240px); max-width: none; height: 100%;
  object-fit: cover; object-position: var(--pos, 50% 50%);
  transform: skewX(var(--sk)) scale(1.02);
  transition: transform 8s linear;
}
.hero-panel.is-active img { transform: skewX(var(--sk)) scale(1.12); }
/* Painéis fechados escurecidos por uma camada por cima (e não por filtro na foto, que pesa
   em máquinas modestas: o filtro é recalculado a cada quadro durante a troca e o zoom) */
.hero-panel::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 30, 54, .62), rgba(10, 22, 40, .74));
  transition: opacity 1.1s var(--ease);
}
.hero-panel.is-active::before { opacity: 0; }
.hero-panel__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: grid; justify-items: start; gap: 10px;
  padding: 140px 28px clamp(32px, 7vh, 64px) 36px;
  transform: skewX(var(--sk)); transform-origin: 0 100%;
  background: linear-gradient(0deg, rgba(10, 22, 40, .82) 0%, rgba(10, 22, 40, .4) 55%, transparent 100%);
  color: var(--text); white-space: nowrap;
}
.hero-panel__n { font-size: 11px; letter-spacing: .24em; color: var(--gold-2); }
.hero-panel__k, .hero-panel__cap strong {
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.hero-panel__k { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(233, 228, 218, .72); }
.hero-panel__cap strong { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 2.5vw, 2.6rem); line-height: 1; }
.hero-panel.is-active .hero-panel__k, .hero-panel.is-active .hero-panel__cap strong { opacity: 1; transform: none; transition-delay: .45s; }
.hero-panel.is-active .hero-panel__cap strong { transition-delay: .55s; }
.hero-panel__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: 0 50%;
}
.hero-panels.is-auto .hero-panel.is-active .hero-panel__bar { animation: hp-bar 6.5s linear forwards; }
.hero-panels.is-paused .hero-panel__bar, .hero-panels.is-offscreen .hero-panel__bar { animation-play-state: paused !important; }
@keyframes hp-bar { to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-panel { animation: hp-in 1.4s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-panel:nth-child(2) { animation-delay: .08s; } .hero-panel:nth-child(3) { animation-delay: .16s; }
  .hero-panel:nth-child(4) { animation-delay: .24s; } .hero-panel:nth-child(5) { animation-delay: .32s; }
  @keyframes hp-in { from { clip-path: inset(100% 0 0 0); } }
}
/* escurece por cima dos painéis onde fica o texto (não recebe cliques) */
.hero__shade {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 22, 40, .6) 0%, rgba(10, 22, 40, .35) 30%, rgba(10, 22, 40, .88) 72%, rgba(10, 22, 40, .95) 100%);
}
.hero__inner { position: relative; z-index: 1; pointer-events: none; }
.hero__inner > * { pointer-events: auto; }
@media (max-width: 1023px) {
  .hero-panel__cap { display: none; } /* ficariam atrás do texto */
}
@media (min-width: 1024px) {
  .hero-panels { left: 50%; right: -2vw; gap: 8px; }
  .hero__shade {
    background: linear-gradient(90deg, var(--bg) 0%, rgba(10, 22, 40, .9) 38%, rgba(10, 22, 40, .35) 50%, transparent 60%),
                linear-gradient(180deg, rgba(10, 22, 40, .55) 0%, transparent 18%);
  }
  /* a capa cabe inteira na altura da tela: o título e os espaços encolhem em telas baixas (notebooks) */
  .hero { height: 100svh; min-height: 540px; padding-top: calc(var(--hh) + clamp(12px, 3vh, 36px)); padding-bottom: clamp(28px, 6vh, 88px); }
  .hero .hero__inner { row-gap: clamp(10px, 2.2vh, 24px); }
  .hero .hero__inner .display { font-size: clamp(2.8rem, min(7vw, 10.5vh), 7.4rem); }
  .hero .hero__inner .hero__ctas { margin-top: 0; }
  .hero .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero .hero__inner > * { max-width: 42vw; }
  .hero .hero__inner > .display { max-width: 9.5ch; }
  .hero .hero__ctas .link { margin: 6px 0 0; flex-basis: 100%; justify-self: start; }
  .scroll-cue { left: 32px; }
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.seal {
  display: inline-flex; align-items: center; gap: 10px; align-self: start; justify-self: start;
  padding: 8px 14px; border: 1px solid rgba(184, 154, 94, 0.45);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); white-space: nowrap;
}
@media (min-width: 768px) { .seal { letter-spacing: 0.24em; } }
.seal::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero .display { max-width: 12ch; }
.hero__sub { color: var(--muted); max-width: 44ch; font-size: 1rem; }
.hero__sub strong { color: var(--text); font-weight: 400; }
.hero__ctas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 8px; max-width: 520px; }
.hero__ctas .btn { padding: 8px 12px; white-space: normal; text-align: center; line-height: 1.35; }
.hero__ctas .link { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
@media (min-width: 768px) {
  .hero__inner { grid-template-columns: 7fr 4fr; align-items: end; column-gap: 64px; }
  .hero__inner > * { grid-column: 1; }
  .hero__ctas { display: flex; flex-wrap: wrap; align-items: center; max-width: none; gap: 14px; }
  .hero__ctas .btn { padding: 0 26px; }
  .hero__ctas .link { margin: 0 0 0 12px; }
}
.scroll-cue {
  display: none; position: absolute; left: 50%; bottom: 24px; width: 1px; height: 48px;
  background: linear-gradient(var(--gold), transparent);
}
@media (min-width: 768px) { .scroll-cue { display: block; } }

/* ---------- Destaque Heritage (Home) ---------- */
.feature { display: grid; gap: 40px; }
.feature__media { --ar: 4 / 5; }
.feature__media .ph { --ar: 4 / 5; }
.feature__label {
  position: absolute; top: 20px; left: 20px; z-index: 1;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-2);
}
.feature__body { display: grid; gap: 24px; align-content: center; }
.feature__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 8px 0; }
.feature__facts div { background: var(--bg); padding: 18px 16px; }
.feature__facts dt { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.feature__facts dd { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; }
.feature__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 7fr 5fr; gap: 80px; align-items: center; }
  .feature__media .ph { --ar: 5 / 6; }
}
@media (min-width: 1200px) {
  .feature { margin-right: calc(-1 * var(--gut)); }
}

/* ---------- Cards ---------- */
.grid-cards { display: grid; gap: 56px; } /* acima de 640px: fotos de mesma altura lado a lado (ver .card__media) */

.card { display: grid; gap: 22px; align-content: start; }
.card__media { position: relative; overflow: hidden; background: var(--bg-3); }
/* Fotos inteiras (sem corte) e com a mesma altura na linha: cada card tem largura
   proporcional à foto (--r = largura/altura, definido em main.js). */
.card__media .ph { width: 100%; aspect-ratio: var(--r, .75); }
.card__media > img { width: 100%; height: auto; }

/* Todas as fotos com a MESMA altura (--row-h) e inteiras: a largura de cada card
   é altura × proporção da foto. Os cards seguem lado a lado e quebram linha. */
@media (min-width: 640px) {
  .grid-cards, .grid-featured {
    display: flex; flex-wrap: wrap; align-items: flex-start;
    --row-h: 340px; column-gap: 28px; row-gap: 64px;
  }
  .grid-cards .card, .grid-featured .card { flex: 0 0 calc(var(--r) * var(--row-h)); max-width: 100%; }
}
@media (min-width: 1100px) { .grid-cards, .grid-featured { --row-h: 400px; column-gap: 32px; row-gap: 80px; } }
/* Selo de status no canto da foto */
.card__media .card__status { position: absolute; top: 14px; left: 14px; z-index: 2; }
.card__status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; line-height: 1;
  background: rgba(10, 22, 40, .82); color: var(--text); border: 1px solid rgba(233, 228, 218, .18);
}
.card__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.card__status--lancamento { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.card__status--obras::before { background: #d9a24e; }
.card__status--pronto::before { background: #86b98f; }
.card__status--breve { color: var(--gold-2); border-color: rgba(184, 154, 94, .5); }
.card__body { display: grid; gap: 10px; }
/* Logo do projeto sobre a foto: canto inferior esquerdo, sobre um degradê escuro.
   Tamanhos (logoH em data.js) equilibrados pela área, não pela altura. */
.card__media--logo::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0) 0%, rgba(10, 22, 40, .55) 55%, rgba(10, 22, 40, .85) 100%);
}
.card__logo {
  position: absolute; left: clamp(16px, 5%, 28px); bottom: clamp(16px, 5%, 28px); z-index: 2;
  display: flex; align-items: center; gap: 16px; max-width: calc(100% - 32px); pointer-events: none;
}
.card__logo img { width: auto; max-width: 100%; filter: drop-shadow(0 1px 8px rgba(0, 0, 0, .35)); }
.card__logo-sep { width: 1px; align-self: stretch; margin: 6px 0; background: rgba(233, 228, 218, .45); }
@media (max-width: 480px) { .card__logo { transform: scale(.85); transform-origin: left bottom; } }
.card__title { font-family: var(--serif); font-size: 1.75rem; line-height: 1.12; font-weight: 400; }
.card__local { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.card__specs { display: grid; gap: 6px; margin: 8px 0 4px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; }
.card__specs div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; }
.card__specs dt { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
.card__specs dd { margin: 0; }
.card__text { color: var(--muted); font-size: 15px; }
.card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 10px; }
.card.is-placeholder .card__title { color: var(--muted); }

/* Grid da Home (7 cards): mesmo layout da página Projetos (ver .card__media).
   No celular, uma coluna. */
@media (max-width: 639px) { .grid-featured { display: grid; gap: 56px; } }

/* ---------- Newsletter ---------- */
.newsletter { display: grid; gap: 28px; }
.newsletter form { display: grid; gap: 14px; }
.newsletter .inline { display: grid; gap: 12px; }
@media (min-width: 640px) { .newsletter .inline { grid-template-columns: 1fr auto; align-items: end; } }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; } }
.fineprint { font-size: 12px; color: var(--faint); letter-spacing: 0.02em; }

/* ---------- Depoimentos ---------- */
.quotes { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { background: var(--bg); padding: 36px 28px; display: grid; gap: 28px; align-content: space-between; }
@media (min-width: 1024px) { .quote { padding: 56px 48px; } }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.4; font-weight: 300; }
.quote blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--gold); margin-bottom: 12px; }
.quote figcaption { font-size: 13px; }
.quote figcaption strong { display: block; font-weight: 500; }
.quote figcaption span { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* ---------- Formulários ---------- */
.contact { display: grid; gap: 56px; }
@media (min-width: 960px) { .contact { grid-template-columns: 4fr 6fr; gap: 96px; } }
.contact__aside { display: grid; gap: 28px; align-content: start; }
.contact__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact__list li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__list small { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.contact__list a:hover { color: var(--gold-2); }

.form { display: grid; gap: 26px; position: relative; align-content: start; }
.form__row { display: grid; gap: 26px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field .label {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.field label .opt { color: var(--faint); letter-spacing: 0.1em; text-transform: none; }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  font-size: 16px; /* evita zoom no iOS */
  transition: border-color .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.field select {
  padding-right: 28px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 10px) 50%, calc(100% - 5px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field select option, .field select optgroup { background: var(--bg-2); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: var(--error); }
.field__error { font-size: 12px; color: var(--error); min-height: 0; }
.phone { display: grid; grid-template-columns: 104px 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }

.form__foot { display: grid; gap: 14px; }
@media (min-width: 640px) { .form__foot { grid-template-columns: auto 1fr; align-items: center; gap: 24px; } }
.form__success {
  display: none; padding: 28px; border: 1px solid rgba(184, 154, 94, 0.4);
}
.form__success h3 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 8px; }
.form.is-sent > :not(.form__success) { display: none; }
.form.is-sent .form__success { display: block; }
.form__success:focus { outline: none; }

/* ---------- Pré-lançamentos ---------- */
/* Card sem foto: teaser tipográfico */
.ph--teaser {
  display: grid; align-content: space-between; padding: 22px 22px 20px;
  background:
    radial-gradient(90% 70% at 80% 10%, rgba(184, 154, 94, .22), transparent 60%),
    linear-gradient(160deg, #172742 0%, #0e1b31 60%, #0a1628 100%);
}
.ph--teaser::before { border-color: rgba(184, 154, 94, .22); }
.ph--teaser span, .ph--teaser strong { position: static; }
.ph--teaser .ph__kicker { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); padding-top: 34px; }
.ph--teaser strong { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: .98; color: var(--text); letter-spacing: -.01em; }
.ph--teaser .ph__when { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-2); letter-spacing: 0; text-transform: none; }

/* Página Em breve */
.page-hero--breve { background: radial-gradient(60% 90% at 85% 0%, rgba(184, 154, 94, .12), transparent 70%); }
.teasers { display: grid; gap: 72px; }
@media (min-width: 1000px) { .teasers { grid-template-columns: 1fr 1fr; gap: 48px; } .teaser:nth-child(2) { margin-top: 140px; } }
.teaser { display: grid; gap: 28px; align-content: start; scroll-margin-top: calc(var(--hh) + 24px); }
.teaser__art {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: grid; align-content: space-between; padding: 28px;
  border: 1px solid rgba(184, 154, 94, .28);
  background:
    radial-gradient(80% 60% at 75% 15%, rgba(184, 154, 94, .26), transparent 60%),
    radial-gradient(60% 50% at 10% 100%, rgba(233, 228, 218, .06), transparent 70%),
    linear-gradient(165deg, #1a2a46 0%, #0f1c33 55%, #081221 100%);
}
.teaser__art--2 {
  background:
    radial-gradient(80% 60% at 20% 20%, rgba(184, 154, 94, .2), transparent 60%),
    radial-gradient(60% 50% at 95% 95%, rgba(233, 228, 218, .06), transparent 70%),
    linear-gradient(200deg, #172641 0%, #0e1b31 55%, #081221 100%);
}
.teaser__art::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(233, 228, 218, .06); pointer-events: none; }
.teaser__n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.3rem; }
.teaser__word {
  font-family: var(--serif); font-weight: 300; line-height: .92; letter-spacing: -.02em;
  font-size: clamp(3.6rem, 11vw, 7.2rem); color: transparent; -webkit-text-stroke: 1px rgba(214, 189, 134, .7);
}
.teaser__when { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); }
@media (prefers-reduced-motion: no-preference) {
  .teaser__art::before {
    content: ""; position: absolute; inset: -20% -60%; pointer-events: none;
    background: linear-gradient(100deg, transparent 40%, rgba(214, 189, 134, .14) 50%, transparent 60%);
    animation: teaser-sheen 7s cubic-bezier(.6, 0, .2, 1) infinite;
  }
  .teaser__art--2::before { animation-delay: 3.5s; }
  @keyframes teaser-sheen { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
}
.teaser__body { display: grid; gap: 16px; }
.teaser__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.teaser__name { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.02; }

/* Faixa de pré-lançamento na Home */
.prelaunch { position: relative; border-top: 1px solid rgba(184, 154, 94, .35); background: radial-gradient(50% 120% at 90% 50%, rgba(184, 154, 94, .12), transparent 70%), var(--bg-2); padding: 44px 0; overflow: hidden; }
.prelaunch__inner { display: grid; gap: 18px; }
@media (min-width: 1000px) {
  .prelaunch__inner { grid-template-columns: auto 1fr auto; grid-template-areas: "kicker kicker kicker" "name text ctas"; align-items: center; column-gap: 48px; row-gap: 10px; }
  .prelaunch__kicker { grid-area: kicker; } .prelaunch__name { grid-area: name; } .prelaunch__text { grid-area: text; } .prelaunch__ctas { grid-area: ctas; }
}
.prelaunch__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.prelaunch__name { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -.01em; }
.prelaunch__text { color: var(--muted); max-width: 44ch; font-size: 15px; }
.prelaunch__text a { color: var(--gold-2); border-bottom: 1px solid rgba(184, 154, 94, .5); }
.prelaunch__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* ---------- Janela "Agendar visita" ---------- */
.visit {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
  padding: 40px 28px 32px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text);
}
@media (min-width: 640px) { .visit { padding: 48px 44px 40px; } }
.visit::backdrop { background: rgba(5, 11, 22, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.visit[open] { animation: visit-in .45s var(--ease) both; }
@keyframes visit-in { from { opacity: 0; transform: translateY(14px); } }
.visit .h3 { margin: 14px 0 10px; }
.visit__lead { margin-bottom: 28px; font-size: 15px; }
.visit__close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  color: var(--muted); font-size: 26px; line-height: 1; transition: color .3s var(--ease);
}
.visit__close:hover { color: var(--gold-2); }
.visit__opts { display: flex; gap: 10px; flex-wrap: wrap; }
.visit__opts label { position: relative; cursor: pointer; }
.visit__opts input { position: absolute; opacity: 0; pointer-events: none; }
.visit__opts span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: border-color .3s var(--ease), color .3s var(--ease);
}
.visit__opts input:checked + span { border-color: var(--gold); color: var(--gold-2); }
.visit__opts input:focus-visible + span { outline: 1px solid var(--gold-2); outline-offset: 3px; }
.field input[type="date"] { color-scheme: dark; }
/* Dias e horários da visita */
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots--days { flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; scroll-snap-type: x proximity; }
.slot { position: relative; cursor: pointer; flex: none; scroll-snap-align: start; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 72px; padding: 0 12px;
  border: 1px solid var(--line-2); font-size: 13px; letter-spacing: .06em; color: var(--muted);
  transition: border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease);
}
.slot--day span { flex-direction: column; min-width: 60px; padding: 8px 6px; line-height: 1.1; gap: 3px; }
.slot--day small { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.slot--day strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--text); }
.slot:hover span { border-color: var(--gold); }
.slot input:checked + span { border-color: var(--gold); color: var(--gold-2); background: rgba(184, 154, 94, .1); }
.slot input:checked + span strong { color: var(--gold-2); }
.slot input:focus-visible + span { outline: 1px solid var(--gold-2); outline-offset: 3px; }
.slots__hint { font-size: 13px; color: var(--faint); padding: 8px 0; }
.visit__done-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- Page hero (páginas internas) ---------- */
.page-hero { padding: calc(var(--hh) + 64px) 0 64px; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .page-hero { padding: calc(var(--hh) + 120px) 0 96px; } }
.page-hero__inner { display: grid; gap: 24px; }
@media (min-width: 900px) { .page-hero__inner { grid-template-columns: 7fr 4fr; align-items: end; gap: 64px; } }
.page-hero .display { font-size: clamp(2.6rem, 8vw, 5.6rem); }

/* ---------- Página Projetos ---------- */
.toolbar {
  position: sticky; top: var(--hh); z-index: 20; background: rgba(10, 22, 40, 0.97);
  border-bottom: 1px solid var(--line); padding: 12px 0;
}
/* Linha única: filtros compactos · lupa · Lista/Mapa */
.toolbar__row { display: flex; align-items: flex-end; gap: 12px 16px; flex-wrap: wrap; }
.toolbar__row .filters { flex: 0 0 auto; min-width: 0; }
@media (max-width: 1023px) {
  .toolbar__row { align-items: center; gap: 10px 8px; }
  .toolbar__row .filters__toggle { padding: 0 12px; gap: 8px; }
  .view-switch button { padding: 0 10px; gap: 6px; letter-spacing: .1em; }
}
/* computador: tudo numa linha; os filtros encolhem quando a busca abre */
@media (min-width: 1024px) { .toolbar__row { flex-wrap: nowrap; } .toolbar__row .filters { flex: 1 1 0; } }

/* Busca: só a lupa; abre o campo ao clicar */
.search { position: relative; display: flex; align-items: center; }
.search__btn {
  width: 40px; height: 40px; display: grid; place-items: center; flex: none; cursor: pointer;
  background: transparent; border: 1px solid var(--line-2); color: var(--muted); transition: color .3s var(--ease), border-color .3s var(--ease);
}
.search__btn svg { width: 17px; height: 17px; }
.search__btn:hover, .search.is-open .search__btn { color: var(--gold-2); border-color: var(--gold); }
.search input {
  width: 0; min-height: 40px; padding: 8px 0; border: 0; border-bottom: 1px solid transparent; opacity: 0; pointer-events: none;
  transition: width .35s var(--ease), padding .35s var(--ease), opacity .25s var(--ease), border-color .3s var(--ease);
}
.search.is-open input { width: 180px; padding: 8px 12px; opacity: 1; pointer-events: auto; border-bottom-color: var(--gold); }
/* celular: a busca aberta ocupa a linha de baixo inteira */
@media (max-width: 1023px) {
  .search.is-open { order: 4; flex-basis: 100%; }
  .search.is-open input { flex: 1; width: auto; }
}

/* Lista / Mapa */
.view-switch { display: inline-flex; flex: none; border: 1px solid var(--line-2); margin-left: auto; }
.view-switch button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; cursor: pointer;
  background: transparent; border: 0; color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.view-switch button + button { border-left: 1px solid var(--line-2); }
.view-switch svg { width: 15px; height: 15px; }
.view-switch button[aria-pressed="true"] { color: var(--bg); background: var(--gold); }

/* Bairros na lateral esquerda (seleção múltipla) + conteúdo à direita */
.catalog-layout { display: grid; gap: 20px; padding-top: 24px; }
@media (min-width: 1024px) { .catalog-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding-top: 32px; } }
.zones { display: grid; gap: 12px; align-content: start; }
@media (min-width: 1024px) { .zones { position: sticky; top: calc(var(--hh) + 96px); } }
.zones__label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.zones__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); }
.zones__list::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .zones__list { display: grid; gap: 6px; margin: 0; padding: 0; overflow: visible; } }
.chip {
  flex: none; display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 12px; background: transparent; text-align: left;
  border: 1px solid var(--line); cursor: pointer;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  transition: color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.is-active { color: var(--gold-2); border-color: var(--gold); background: rgba(184, 154, 94, .08); }
.chip__box { width: 12px; height: 12px; flex: none; border: 1px solid var(--line-2); position: relative; }
.chip.is-active .chip__box { background: var(--gold); border-color: var(--gold); }
.chip.is-active .chip__box::after { content: ""; position: absolute; left: 3px; top: 0; width: 4px; height: 8px; border: solid var(--bg); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.chip__n { margin-left: auto; font-family: var(--serif); font-style: italic; font-size: 1rem; letter-spacing: 0; color: var(--faint); text-transform: none; }
.zones__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding-top: 6px; }
@media (min-width: 1024px) { .zones__foot { display: grid; justify-items: start; } }
.catalog-main { min-width: 0; }
.catalog-main .zone:first-child { padding-top: 0; }
/* Mapa dos projetos (Leaflet) */
.projects-map { padding-bottom: 72px; }
.projects-map[hidden] { display: none; }
/* página Projetos começa no filtro, logo abaixo do cabeçalho fixo */
.toolbar--top { margin-top: var(--hh); }
@media (min-width: 1024px) { .toolbar--top > .container { max-width: 1680px; } }
/* isolation: as camadas internas do Leaflet (z-index 400+) ficam contidas e não passam por cima do filtro fixo */
#projects-map { position: relative; z-index: 0; isolation: isolate; height: min(72vh, 680px); min-height: 380px; background: #132239; border: 1px solid var(--line-2); }
/* Computador: mapa sempre na tela, numa coluna fixa à direita da lista (o botão Lista/Mapa some) */
@media (min-width: 1024px) {
  .catalog-layout { max-width: 1680px; grid-template-columns: 190px minmax(0, 1fr) minmax(340px, 34%); gap: 32px; }
  .zones { align-self: start; }
  .view-switch { display: none; }
  .projects-map, .projects-map[hidden] {
    display: flex; flex-direction: column; gap: 10px; padding-bottom: 0;
    position: sticky; top: calc(var(--hh) + 96px); align-self: start;
    height: calc(100vh - var(--hh) - 96px - 20px); height: calc(100dvh - var(--hh) - 96px - 20px);
  }
  #projects-map { flex: 1 1 auto; height: auto; min-height: 240px; }
  .projects-map .fineprint { margin-top: 0; flex: none; }
  .projects-map .around { margin-top: 0; flex: none; max-height: 48%; overflow: auto; padding: 16px 18px 14px; }
  .projects-map .around__grid { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  /* lista mais estreita: fotos um pouco mais baixas para caberem duas por linha */
  .catalog-main .grid-cards { --row-h: 260px; column-gap: 24px; row-gap: 56px; }
}
@media (min-width: 1440px) { .catalog-main .grid-cards { --row-h: 300px; } }
/* pino do card sob o mouse */
.map-pin span { transition: transform .25s var(--ease), background-color .25s var(--ease); }
.map-pin.is-hot span { transform: scale(1.4); background: var(--gold-2); }
.map-regions { display: flex; box-shadow: 0 4px 14px rgba(0, 0, 0, .45); }
.map-regions button {
  min-height: 34px; padding: 0 12px; cursor: pointer; background: var(--bg-2); color: var(--muted); border: 1px solid var(--line-2);
  font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
}
.map-regions button + button { border-left: 0; }
.map-regions button[aria-pressed="true"] { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.map-pop__img { display: block; width: calc(100% + 36px); max-width: none; margin: -16px -18px 8px; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; background: var(--bg-3); }
/* mapa claro do OpenStreetMap convertido para um tom escuro e dessaturado */
#projects-map .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.78) contrast(.92) sepia(.18); }
.projects-map .fineprint { margin-top: 12px; }
.map-pin span {
  display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}
.map-pin--new span { background: #d8392f; }
.map-pin--approx span { border-style: dashed; }
.map-popup .leaflet-popup-content-wrapper, .map-popup .leaflet-popup-tip { background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.map-popup .leaflet-popup-content { margin: 16px 18px; font-family: var(--sans); }
.map-popup a.leaflet-popup-close-button { color: var(--muted); }
.map-pop { display: grid; gap: 6px; justify-items: start; }
.map-pop .card__status { margin-bottom: 4px; }
.map-pop strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.15; }
.map-pop > span:not(.card__status) { font-size: 12px; color: var(--muted); }
.map-pop em { font-size: 11px; font-style: normal; letter-spacing: .06em; color: var(--gold-2); }
.map-pop .map-pop__area { font-size: 12px; color: var(--text); }
.map-pop .link { margin-top: 6px; color: var(--text); }
.map-pop .map-pop__links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.map-pop button.link { font-size: 12px; padding: 6px 0; }

/* Entorno do projeto (painel abaixo do mapa) */
.around { margin-top: 12px; padding: 22px 22px 18px; border: 1px solid var(--line-2); background: var(--bg-2); }
.around[hidden] { display: none; }
.around__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.around__title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; }
.around__close { width: 40px; height: 40px; border: 0; background: none; color: var(--muted); font-size: 24px; cursor: pointer; }
.around__close:hover { color: var(--gold-2); }
.around__note { margin-top: 4px; font-size: 13px; color: var(--faint); }
.around__grid { display: grid; gap: 24px 28px; margin-top: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.around__cat > p { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.around__cat > p i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.around__cat > p b { margin-left: auto; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; letter-spacing: 0; color: var(--text); }
.around__cat ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.around__cat li { display: flex; justify-content: space-between; gap: 12px; color: var(--text); }
.around__cat li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.around__cat li small, .around__marks strong { flex: none; color: var(--faint); font-size: 12px; font-weight: 400; }
.around__src { margin-top: 18px; font-size: 11px; color: var(--faint); }
.around-tip { background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 0; box-shadow: none; font-family: var(--sans); font-size: 12px; }
.around-tip::before { display: none; }
.leaflet-container .leaflet-control-attribution { background: rgba(10, 22, 40, .75); color: var(--faint); }
.leaflet-container .leaflet-control-attribution a { color: var(--muted); }
.leaflet-bar a { background: var(--bg-2); color: var(--text); border-color: var(--line-2); }
.leaflet-bar a:hover { background: var(--bg-3); color: var(--gold-2); }

/* Filtros (status, metragem, dormitórios, tipo, assinatura) — compactos, numa linha */
.filters { display: grid; gap: 12px; }
.filters__toggle {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start; min-height: 40px; padding: 0 14px;
  background: transparent; border: 1px solid var(--line-2); cursor: pointer;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text);
}
.filters__toggle svg { width: 16px; height: 16px; }
.filters__toggle[aria-expanded="true"] { border-color: var(--gold); color: var(--gold-2); }
.filters__n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: var(--bg); font-size: 10px; letter-spacing: 0; }
.filters__n[hidden] { display: none; }
.filters__panel { display: none; gap: 14px 20px; grid-template-columns: 1fr 1fr; padding: 6px 0 4px; }
.filters.is-open .filters__panel { display: grid; }
@media (max-width: 1023px) { .filters.is-open { flex-basis: 100%; order: 3; } }
@media (min-width: 1024px) {
  .filters__toggle { display: none; }
  .filters__panel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 16px; padding: 0; }
}
.filter { display: grid; gap: 2px; min-width: 0; }
.filter > span { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.filter select {
  width: 100%; min-height: 36px; padding: 4px 22px 4px 0; cursor: pointer;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  font-size: 13px; color: var(--muted); -webkit-appearance: none; appearance: none; text-overflow: ellipsis;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 10px) 50%, calc(100% - 5px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.filter select option { background: var(--bg-2); color: var(--text); }
.filter select:focus { outline: none; border-bottom-color: var(--gold); }
.filter.is-set select { color: var(--gold-2); border-bottom-color: var(--gold); }.filters__count { font-size: 12px; color: var(--muted); }
.filters__reset {
  background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--gold-2);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid rgba(184, 154, 94, .5);
}
.filters__reset[hidden] { display: none; }
#catalog { min-height: 60vh; }
.zone { padding: 72px 0 24px; }
.zone + .zone { border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .zone { padding: 112px 0 40px; } }
.zone__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 48px; }
.zone__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; }
.zone__count { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.3rem; }
.empty { padding: 96px 0; text-align: center; color: var(--muted); }

/* ---------- Heritage Riviera ---------- */
.hr-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--hh) + 48px) 0 56px; overflow: hidden; }
.hr-hero .hero__bg::after { background: linear-gradient(180deg, rgba(10, 22, 40,.55) 0%, rgba(10, 22, 40,.2) 25%, rgba(10, 22, 40,.55) 50%, rgba(10, 22, 40,.92) 78%, rgba(10, 22, 40,.98) 100%); }
@media (min-width: 768px) {
  .hr-hero .hero__bg::after { background: linear-gradient(180deg, rgba(10, 22, 40,.5) 0%, rgba(10, 22, 40,.1) 30%, rgba(10, 22, 40,.45) 60%, rgba(10, 22, 40,.95) 100%), linear-gradient(90deg, rgba(10, 22, 40,.55) 0%, rgba(10, 22, 40,0) 60%); }
}
.hr-hero .seal { background: rgba(10, 22, 40, .45); }
.hr-hero .display { max-width: 14ch; }
.hr-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

.intro { display: grid; gap: 40px; }
@media (min-width: 900px) { .intro { grid-template-columns: 5fr 6fr; gap: 96px; } }
.intro .h2 { position: sticky; top: calc(var(--hh) + 40px); align-self: start; }

.pillars { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(3, 1fr); } .pillars--4 { grid-template-columns: repeat(4, 1fr); } .pillars--4 .pillar { padding: 44px 28px; } .pillars--4 .pillar h3 { font-size: 1.6rem; } }
.pillar { background: var(--bg); padding: 40px 0; display: grid; gap: 14px; }
@media (min-width: 700px) { .pillar { padding: 48px 36px; } }
.pillar__n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.pillar h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; line-height: 1.1; }
.pillar p { color: var(--muted); font-size: 15px; }

/* ---------- Masterplan interativo (Heritage) ---------- */
.mp { display: grid; gap: 32px; }
@media (min-width: 1100px) { .mp { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: start; } }
.mp__map { margin: 0; display: grid; gap: 14px; }
.mp__canvas { position: relative; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.mp__canvas img { width: 100%; height: auto; }
/* O pino tem o tamanho do número impresso na planta (≈2,3% da largura), para
   não cobrir os números vizinhos. Anel/brilho usam box-shadow, que fica fora
   da área clicável. */
.mp__canvas { container-type: inline-size; }
.mp__pin {
  position: absolute; left: var(--x); top: var(--y); width: max(2.3%, 11px); aspect-ratio: 1; height: auto; padding: 0;
  transform: translate(-50%, -50%); border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  display: grid; place-items: center; color: transparent; font: 500 max(.95cqi, 6px)/1 var(--sans); letter-spacing: 0;
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.mp__pin::before { content: attr(data-a); }
/* Hover = anel fino claro em volta do número */
.mp__pin:hover, .mp__pin.is-hover { box-shadow: 0 0 0 2px rgba(233, 228, 218, .85); }
/* Clicado = o próprio número fica vermelho e pulsa */
.mp__pin.is-active { background: #c8322a; color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .6); }
@media (prefers-reduced-motion: no-preference) {
  .mp__pin.is-active { animation: mp-red 1.1s ease-in-out infinite alternate; }
  @keyframes mp-red {
    from { background-color: #b3261f; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 0 0 rgba(226, 60, 50, .7); }
    to { background-color: #ef4a3c; box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), 0 0 0 5px rgba(226, 60, 50, 0); }
  }
}
.mp__cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.mp__open {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-2); color: var(--text);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; transition: border-color .3s var(--ease), color .3s var(--ease);
}
.mp__open:hover { border-color: var(--gold); color: var(--gold-2); }
.mp__open svg { width: 16px; height: 16px; }

.mp__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mp__item { border-bottom: 1px solid var(--line); }
.mp__head {
  display: flex; align-items: baseline; gap: 16px; width: 100%; padding: 16px 0; cursor: pointer; text-align: left;
  background: none; border: 0; color: var(--muted); transition: color .3s var(--ease);
}
.mp__n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.05rem; min-width: 22px; }
.mp__name { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; }
.mp__head { position: relative; }
.mp__name { transition: transform .45s var(--ease), color .3s var(--ease); }
/* Hover na lista: texto clareia e desliza um pouco */
.mp__head:hover, .mp__item.is-hover .mp__head { color: var(--text); }
.mp__head:hover .mp__name, .mp__item.is-hover .mp__name { transform: translateX(4px); }
/* Selecionado: nome dourado + barra dourada que se desenha à esquerda */
.mp__item.is-active .mp__head { color: var(--text); }
.mp__item.is-active .mp__name { color: var(--gold-2); transform: none; }
.mp__head::before { content: ""; position: absolute; left: -14px; top: 14px; bottom: 14px; width: 2px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.mp__item.is-active .mp__head::before { transform: scaleY(1); }
@media (max-width: 1099px) { .mp__head::before { left: -10px; } }
.mp__body { display: none; gap: 14px; padding: 0 0 22px 38px; }
.mp__item.is-active .mp__body { display: grid; animation: mp-in .5s var(--ease) both; }
@keyframes mp-in { from { opacity: 0; transform: translateY(6px); } }
.mp__body img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mp__body p { color: var(--muted); font-size: 15px; }

/* Visualizador ampliado */
.mp-zoom { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #081221; color: var(--text); overflow: hidden; }
.mp-zoom::backdrop { background: rgba(0, 0, 0, .85); }
.mp-zoom__stage { position: absolute; inset: 0; overflow: hidden; cursor: grab; touch-action: none; }
.mp-zoom__stage.is-dragging { cursor: grabbing; }
.mp-zoom__stage img { position: absolute; left: 0; top: 0; max-width: none; width: auto; height: auto; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; }
.mp-zoom__bar {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  padding: 14px var(--gut) calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(11, 11, 10, .9) 40%);
}
.mp-zoom__hint { font-size: 12px; color: var(--muted); }
.mp-zoom__btns { display: flex; gap: 8px; }
.mp-zoom__btns button {
  min-width: 44px; min-height: 44px; padding: 0 14px; cursor: pointer; background: rgba(10, 22, 40, .7); border: 1px solid var(--line-2); color: var(--text);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.mp-zoom__btns button:hover { border-color: var(--gold); color: var(--gold-2); }
.mp-zoom__btns [data-mp-zoom="in"], .mp-zoom__btns [data-mp-zoom="out"] { font-size: 20px; letter-spacing: 0; }
/* Legenda do masterplan na faixa escura da direita (o mapa se centraliza no espaço que sobra) */
.mp-zoom__legend { display: none; }
@media (min-width: 900px) {
  .mp-zoom.is-mp .mp-zoom__stage { right: 300px; }
  .mp-zoom.is-mp .mp-zoom__legend {
    display: flex; flex-direction: column; justify-content: center; gap: 18px;
    position: absolute; top: 0; right: 0; bottom: 0; width: 300px; padding: 32px 32px 96px;
    border-left: 1px solid var(--line); background: #081221;
  }
}
.mp-zoom__legend-title { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.mp-zoom__legend ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mp-zoom__legend button {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 9px 0; cursor: pointer; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--text);
  font-family: var(--serif); font-size: 1.12rem; line-height: 1.2; transition: color .25s var(--ease);
}
.mp-zoom__legend button span {
  flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-2); font: 500 11px/1 var(--sans); letter-spacing: .04em;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.mp-zoom__legend button:hover, .mp-zoom__legend button.is-on { color: var(--gold-2); }
.mp-zoom__legend button.is-on span { background: var(--gold); color: var(--bg); }
.mp-zoom__legend-note { font-size: 12px; color: var(--faint); }
.mp-zoom__mark {
  position: absolute; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; pointer-events: none;
  border: 2px solid var(--gold-2); box-shadow: 0 0 0 2px rgba(10, 22, 40, .6);
}
.mp-zoom__mark[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .mp-zoom__mark { animation: mp-mark 1.6s ease-out infinite; }
  @keyframes mp-mark { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
}

/* ---------- Capítulos (Heritage): Amenities e Real Estate ---------- */
.chapter { border-top: 1px solid var(--line); }
.chapter__bar {
  position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px);
  background: radial-gradient(70% 140% at 100% 0%, rgba(184, 154, 94, .12), transparent 60%), var(--bg-2);
  border-bottom: 1px solid rgba(184, 154, 94, .3);
}
.chapter__bar-inner { display: grid; gap: 20px; align-items: end; }
@media (min-width: 900px) { .chapter__bar-inner { grid-template-columns: auto 1fr auto; gap: 56px; } }
.chapter__n { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold); }
.chapter__title { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 8vw, 6rem); line-height: .95; letter-spacing: -.02em; margin-top: 6px; }
.chapter__lead { color: var(--muted); max-width: 46ch; }
.chapter__toggle {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-2); color: var(--text);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; transition: border-color .3s var(--ease), color .3s var(--ease);
}
.chapter__toggle::after { content: ""; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(2px) rotate(-135deg); transition: transform .3s var(--ease); }
.chapter.is-collapsed .chapter__toggle::after { transform: translateY(-2px) rotate(45deg); }
.chapter__toggle:hover { border-color: var(--gold); color: var(--gold-2); }
.chapter__summary { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 28px; padding-bottom: 56px; }
.chapter__summary[hidden] { display: none; }
.chapter__summary a {
  display: inline-flex; align-items: baseline; gap: 10px; padding: 12px 16px; border: 1px solid var(--line-2);
  font-size: 12px; letter-spacing: .08em; color: var(--muted); transition: border-color .3s var(--ease), color .3s var(--ease);
}
.chapter__summary a span { font-family: var(--serif); font-style: italic; font-size: 1.05rem; letter-spacing: 0; color: var(--gold-2); }
.chapter__summary a:hover { border-color: var(--gold); color: var(--text); }

/* Galeria horizontal dos produtos: fotos inteiras, mesma altura */
.re-gallery {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  padding: 0 var(--gut) 14px; margin-top: clamp(40px, 6vw, 72px);
  padding-left: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut)));
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.re-gallery__item { flex: none; padding: 0; border: 0; background: var(--bg-3); cursor: zoom-in; scroll-snap-align: start; }
.re-gallery__item img { display: block; height: clamp(220px, 34vw, 420px); width: auto; max-width: none; transition: filter .4s var(--ease); filter: saturate(.92); }
.re-gallery__item:hover img { filter: saturate(1.05); }

/* Plantas */
.plans { margin-top: clamp(56px, 7vw, 96px); }
.plans__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.plans__hint { font-size: 12px; color: var(--faint); }
.plans__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.plans__tabs button {
  min-height: 38px; padding: 0 14px; background: transparent; border: 1px solid var(--line); cursor: pointer;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .3s var(--ease), border-color .3s var(--ease);
}
.plans__tabs button[aria-selected="true"] { color: var(--gold-2); border-color: var(--gold); }
.plans__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.plans__grid[hidden] { display: none; }
.plan {
  width: 100%; display: grid; gap: 6px; padding: 0 0 14px; text-align: left; cursor: zoom-in;
  background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--text);
}
.plan img { width: 100%; height: auto; background: #f5efe6; border: 1px solid var(--line); transition: opacity .3s var(--ease); }
.plan:hover img { opacity: .88; }
.plan__area { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; margin-top: 8px; }
.plan:hover .plan__area { color: var(--gold-2); }
.plan__name { font-size: 13px; color: var(--muted); }

/* ---------- Mini-masterplan fixo (Heritage) ----------
   Aparece no canto enquanto a pessoa percorre os capítulos dos amenities;
   o marcador vermelho se desloca de um amenity ao próximo com o scroll. */
.minimap {
  position: fixed; left: 20px; bottom: 20px; z-index: 40; width: 232px; display: grid; gap: 0;
  background: rgba(10, 22, 40, .95); border: 1px solid rgba(184, 154, 94, .45);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s, border-color .3s var(--ease);
}
.minimap.is-on { opacity: 1; visibility: visible; transform: none; }
.minimap.is-overview .minimap__dot { opacity: 0; }
.minimap__link { display: grid; color: inherit; }
/* Minimizar / maximizar: botões no canto do mapa */
.minimap__tools { position: absolute; top: 6px; right: 6px; z-index: 2; display: flex; gap: 4px; }
.minimap__tools button, .minimap__restore {
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(10, 22, 40, .88); color: var(--text); border: 1px solid rgba(184, 154, 94, .45);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.minimap__tools button { width: 28px; height: 28px; padding: 0; }
.minimap__tools button:hover, .minimap__restore:hover { color: var(--gold-2); border-color: var(--gold-2); }
.minimap__tools svg { width: 14px; height: 14px; }
.minimap__restore { display: none; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; background: none; font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.minimap__restore svg { width: 16px; height: 16px; color: var(--gold-2); }
.minimap.is-min { width: auto; }
.minimap.is-min .minimap__link, .minimap.is-min .minimap__tools { display: none; }
.minimap.is-min .minimap__restore { display: inline-flex; }
.minimap:hover { border-color: var(--gold-2); }
.minimap__map { position: relative; display: block; overflow: hidden; aspect-ratio: 1400 / 1094; }
.minimap__inner { position: absolute; inset: 0; transform-origin: 0 0; }
.minimap__inner img { display: block; width: 100%; height: auto; filter: saturate(.9) brightness(.92); }
/* o ponto fica do mesmo tamanho na tela, qualquer que seja o zoom (--s) */
.minimap__dot {
  position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: #d8392f; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); transform: scale(calc(1 / var(--s, 1)));
}
@media (prefers-reduced-motion: no-preference) {
  .minimap__inner { transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
  .minimap__dot { transition: left .25s linear, top .25s linear; animation: mini-pulse 1.4s ease-out infinite; }
  @keyframes mini-pulse {
    0% { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 0 0 0 rgba(216, 57, 47, .7); }
    100% { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 0 0 14px rgba(216, 57, 47, 0); }
  }
}
.minimap__label { display: grid; gap: 2px; padding: 10px 12px 11px; border-top: 1px solid var(--line); }
.minimap__label small { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.minimap__label strong { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; line-height: 1.2; color: var(--gold-2); }
@media (max-width: 699px) {
  .minimap { left: 12px; bottom: 12px; width: 132px; }
  .minimap__dot { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
  .minimap__label { padding: 6px 8px 7px; }
  .minimap__label small { display: none; }
  .minimap__label strong { font-size: .82rem; }
}
.mtc__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.mtc__brand--armani { height: 1.5em; }

/* ---------- Mouratoglou Tennis Center (Heritage) ---------- */
.mtc { border-top: 1px solid var(--line); }
.mtc__hero { position: relative; margin: 0; overflow: hidden; background: var(--bg-3); }
.mtc__hero > img { width: 100%; height: auto; object-fit: cover; } /* proporção pelos atributos width/height */
@media (max-width: 699px) { .mtc__hero > img { aspect-ratio: 4 / 3; object-position: 40% 50%; } }
.mtc__brand { display: inline-block; height: 1.9em; width: auto; vertical-align: middle; margin-left: 4px; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .4)); }
.mtc + .mtc { border-top: 0; }
.mtc__hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10, 22, 40, .35) 0%, transparent 30%, transparent 60%, rgba(10, 22, 40, .85) 100%); }
.mtc__tag {
  position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(18px, 3vw, 36px); z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--text);
}
.mtc__tag span { font-family: var(--serif); font-style: italic; font-size: 1.4rem; letter-spacing: 0; color: var(--gold-2); }
.mtc__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .mtc__grid { grid-template-columns: 5fr 6fr; gap: 96px; align-items: start; } .mtc__head { position: sticky; top: calc(var(--hh) + 40px); } }
.mtc__body { display: grid; gap: 32px; }
.mtc__facts { margin: 0; }
.mtc__facts div { background: var(--bg); }

.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } .split--rev > :first-child { order: 2; } }
.split .ph { --ar: 4 / 5; }
@media (min-width: 900px) { .split .ph { --ar: 5 / 6; } }

.products { display: grid; gap: 48px; }
@media (min-width: 900px) { .products { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.product { display: grid; gap: 18px; align-content: start; }
.product .ph { --ar: 3 / 4; }
.product__kicker { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2); }
.product h3 { font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1.1; }
.product p { color: var(--muted); font-size: 15px; }

.phases { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.phase { display: grid; grid-template-columns: 64px 1fr; gap: 8px 20px; padding: 32px 0; border-bottom: 1px solid var(--line); transition: background-color .4s var(--ease); }
@media (min-width: 900px) { .phase { grid-template-columns: 140px 1.2fr 1fr auto; align-items: baseline; gap: 40px; padding: 40px 24px; } .phase:hover { background: var(--bg-2); } }
.phase__n { font-family: var(--serif); font-size: 2.6rem; font-weight: 300; line-height: 1; color: var(--gold); grid-row: span 2; }
@media (min-width: 900px) { .phase__n { grid-row: auto; font-size: 3.4rem; } }
.phase h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; line-height: 1.15; }
.phase p { color: var(--muted); font-size: 15px; }
.phase__dev { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.phase__cta { grid-column: 2; }
@media (min-width: 900px) { .phase__cta { grid-column: auto; } }

.espelho {
  display: grid; gap: 28px; padding: 48px 28px; border: 1px solid var(--line-2); position: relative;
}
.espelho::before { content: ""; position: absolute; top: -1px; left: 28px; width: 64px; height: 1px; background: var(--gold); }
@media (min-width: 900px) { .espelho { grid-template-columns: 1.3fr 1fr; align-items: center; padding: 72px 64px; gap: 64px; } .espelho::before { left: 64px; } }
.espelho__actions { display: grid; gap: 12px; justify-items: start; }
@media (min-width: 900px) { .espelho__actions { justify-items: end; } }

/* ---------- Sobre ---------- */
.about { display: grid; gap: 48px; }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 6fr; gap: 96px; align-items: start; } .about__photo { position: sticky; top: calc(var(--hh) + 40px); } }
.about__photo .ph { --ar: 4 / 5; }
.timeline { list-style: none; margin: 40px 0 0; padding: 0; border-left: 1px solid var(--line-2); }
.timeline li { position: relative; padding: 0 0 40px 28px; }
.timeline li::before { content: ""; position: absolute; left: -4px; top: 10px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.timeline small { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2); }
.timeline h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; margin: 6px 0 8px; line-height: 1.15; }
.timeline p { color: var(--muted); font-size: 15px; }
.signatures { display: flex; flex-wrap: wrap; gap: 10px 32px; font-family: var(--serif); font-size: clamp(1.4rem, 3.4vw, 2.1rem); font-style: italic; color: var(--text); }
.signatures span:not(:last-child)::after { content: "·"; margin-left: 32px; color: var(--gold); font-style: normal; }

/* ---------- CTA band ---------- */
.band { display: grid; gap: 28px; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr auto; align-items: end; gap: 64px; } }
.band__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 40px; font-size: 14px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; } .footer-grid > :first-child { grid-column: auto; } }
.footer-grid h4 { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; font-weight: 500; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); transition: color .3s var(--ease); }
.footer-grid a:hover { color: var(--gold-2); }
.footer-ico { display: inline-flex; align-items: center; gap: 10px; }
.footer-ico .ico { width: 17px; height: 17px; flex: none; color: var(--gold); transition: color .3s var(--ease); }
.footer-ico:hover .ico { color: var(--gold-2); }
.footer-legal { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 12px; color: var(--faint); }
@media (min-width: 900px) { .footer-legal { grid-template-columns: 1fr auto; } }

/* ---------- Revelação no scroll (só com JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* =========================================================================
   Ferramentas (tools.js): comparador, Encontre seu imóvel, simulador, conteúdo
   ========================================================================= */
/* Botão "Comparar" nos cards */
.cmp-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; background: none; border: 0; cursor: pointer;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--muted); transition: color .3s var(--ease);
}
.cmp-btn:hover, .cmp-btn.is-on { color: var(--gold-2); }
.cmp-btn__box { width: 12px; height: 12px; flex: none; border: 1px solid var(--line-2); position: relative; }
.cmp-btn.is-on .cmp-btn__box { background: var(--gold); border-color: var(--gold); }
.cmp-btn.is-on .cmp-btn__box::after { content: ""; position: absolute; left: 3px; top: 0; width: 4px; height: 8px; border: solid var(--bg); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }

/* Bandeja no rodapé da tela */
.cmp-tray {
  position: fixed; left: 50%; bottom: 16px; z-index: 60; transform: translateX(-50%);
  width: min(820px, calc(100vw - 24px)); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 12px;
  background: rgba(14, 28, 51, .97);
  border: 1px solid rgba(184, 154, 94, .45); box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
  animation: tray-in .45s var(--ease) both;
}
.cmp-tray[hidden] { display: none; }
@keyframes tray-in { from { opacity: 0; transform: translate(-50%, 20px); } }
.cmp-tray__items { display: flex; gap: 8px; flex: 1 1 320px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.cmp-chip { display: inline-flex; align-items: center; gap: 10px; height: 44px; border: 1px solid var(--line); font-size: 12px; white-space: nowrap; flex: none; max-width: 230px; }
.cmp-chip img, .cmp-chip .thumb-ph { width: 44px; height: 42px; object-fit: cover; flex: none; }
.cmp-chip > span:not(.thumb-ph) { overflow: hidden; text-overflow: ellipsis; }
.cmp-chip button { width: 30px; height: 30px; flex: none; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 18px; }
.cmp-chip button:hover { color: var(--gold-2); }
.cmp-chip--empty { padding: 0 14px; border-style: dashed; color: var(--faint); }
.cmp-tray__msg { order: 3; flex-basis: 100%; font-size: 12px; color: var(--gold-2); }
.cmp-tray__msg:empty { display: none; }
.cmp-tray__ctas { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.cmp-tray__ctas .btn[disabled] { opacity: .45; }
body.has-cmp-tray .site-footer { padding-bottom: 120px; }
.thumb-ph {
  display: grid; place-items: center; padding: 4px; overflow: hidden; text-align: center; line-height: 1.1;
  background: linear-gradient(160deg, #172742, #0a1628); color: var(--faint); font-family: var(--serif); font-size: 11px;
}

/* Janela do comparador */
.visit.cmp-dlg { width: min(1120px, calc(100vw - 24px)); }
.cmp-table-wrap { overflow-x: auto; margin-top: 20px; }
.cmp-table { width: 100%; min-width: calc(var(--cols) * 230px + 130px); border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 1.55; }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); }
.cmp-table tr > :first-child { width: 130px; }
.cmp-table tbody th { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); font-weight: 500; padding-top: 17px; }
.cmp-table thead th { border-bottom-color: var(--line-2); font-weight: 400; }
.cmp-table thead strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.1; margin: 14px 0 6px; }
.cmp-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.cmp-media img, .cmp-media .thumb-ph { width: 100%; height: 100%; object-fit: cover; }
.cmp-table td { color: var(--muted); }
.cmp-table td small { display: block; color: var(--faint); font-size: 12px; }
.cmp-table td .link { font-size: 11px; margin-bottom: 8px; }
.cmp-table .cmp-remove { font-size: 10px; color: var(--faint); border-bottom-color: transparent; }
.cmp-table .cmp-remove::after { content: none; }
.cmp-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }

/* Blocos de ferramentas e de artigos (Home, Conteúdo) */
.tiles { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { display: grid; gap: 14px; align-content: start; padding: 36px 30px 32px; background: var(--bg); transition: background-color .4s var(--ease); }
.bg-2 .tile { background: var(--bg-2); }
.tile:hover, .bg-2 .tile:hover { background: var(--bg-3); }
.tile__n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.2rem; }
.tile__meta { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.tile h2, .tile h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.08; }
.tile p { color: var(--muted); font-size: 15px; }
.tile .link { justify-self: start; margin-top: 8px; }

/* Encontre seu imóvel */
.quiz-wrap { max-width: 900px; }
.quiz__top { display: flex; align-items: center; gap: 16px; margin-bottom: 44px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.quiz__track { position: relative; flex: 1; height: 1px; background: var(--line-2); overflow: hidden; }
.quiz__track i { position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(.25); transition: transform .6s var(--ease); }
.quiz__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz__step legend { padding: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; }
.quiz__hint { color: var(--muted); margin: 12px 0 28px; }
.quiz__opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 18px; border: 1px solid var(--line-2); color: var(--muted);
  transition: border-color .3s var(--ease), color .3s var(--ease), background-color .3s var(--ease);
}
.opt span::before { content: ""; width: 14px; height: 14px; flex: none; border: 1px solid var(--line-2); transition: background-color .3s var(--ease); }
.opt input[type="radio"] + span::before { border-radius: 50%; }
.opt:hover span { border-color: var(--gold); color: var(--text); }
.opt input:checked + span { border-color: var(--gold); color: var(--gold-2); background: rgba(184, 154, 94, .08); }
.opt input:checked + span::before { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 3px var(--bg); }
.opt input:focus-visible + span { outline: 1px solid var(--gold-2); outline-offset: 3px; }
.quiz__nav { display: flex; align-items: center; gap: 12px; margin-top: 44px; }
.quiz__nav [data-quiz-next] { margin-left: auto; }
.quiz-result:focus { outline: none; }
.matches { display: grid; gap: 24px; margin: 44px 0; }
@media (min-width: 900px) { .matches { grid-template-columns: repeat(3, 1fr); } }
.match { display: grid; align-content: start; border: 1px solid var(--line); background: var(--bg-2); }
.match__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); }
.match__media img, .match__media .thumb-ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.match:hover .match__media img { transform: scale(1.04); }
.match__media::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(0deg, rgba(10, 22, 40, .88), transparent); }
.match__pct { position: absolute; left: 20px; bottom: 16px; z-index: 1; font-family: var(--serif); font-weight: 300; font-size: 3rem; line-height: 1; }
.match__pct small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.match__body { display: grid; gap: 10px; padding: 24px 22px 26px; }
.match__why { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.match__why li::before { content: "✓"; color: var(--gold); margin-right: 10px; }
.match__ctas { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 8px; }

/* Simulador */
.sim-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.sim-tabs button {
  min-height: 44px; padding: 0 18px; background: transparent; border: 1px solid var(--line-2); cursor: pointer;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .3s var(--ease), border-color .3s var(--ease);
}
.sim-tabs button[aria-selected="true"] { color: var(--gold-2); border-color: var(--gold); background: rgba(184, 154, 94, .08); }
.sim-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .sim-grid { grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; } }
.sim-grid[hidden] { display: none; }
.sim-form { display: grid; gap: 34px; align-content: start; }
.sim-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.range { display: grid; gap: 14px; }
.range__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.range__top label, .range__top .label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.range__top output, .range__top [data-pct] { font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--text); }
.range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; margin: 8px 0; background: var(--line-2); cursor: pointer; }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-2); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--gold); }
.range input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--gold-2); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--gold); }
.range input[type="range"]:focus-visible { outline: 1px solid var(--gold-2); outline-offset: 8px; }
.sim-result {
  padding: 36px 30px 32px; border: 1px solid rgba(184, 154, 94, .35);
  background: radial-gradient(70% 60% at 90% 0%, rgba(184, 154, 94, .12), transparent 70%), var(--bg-2);
}
@media (min-width: 1000px) { .sim-result { position: sticky; top: calc(var(--hh) + 24px); } }
.sim-result__label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.sim-big { margin-top: 10px; font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1; }
.sim-rows { margin: 26px 0; }
.sim-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.sim-rows dt { margin: 0; }
.sim-rows dd { margin: 0; color: var(--text); text-align: right; }
.sim-rows div[hidden] { display: none; }
.sim-chart svg { display: block; width: 100%; height: auto; }
.sim-a { fill: var(--gold); }
.sim-j { fill: rgba(233, 228, 218, .16); }
.sim-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin-top: 10px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.sim-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.sim-note { margin-top: 20px; font-size: 12px; line-height: 1.6; color: var(--faint); }
.sim-error { font-size: 13px; color: var(--error); }
.sim-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Artigos (Conteúdo) */
.article { max-width: 720px; }
.article > p:first-child { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.4; color: var(--text); }
.article h2 { margin: 56px 0 16px; font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; }
.article p, .article li { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.article p + p { margin-top: 1.1em; }
.article ul, .article ol { display: grid; gap: 10px; margin: 18px 0; padding-left: 1.2em; }
.article li::marker { color: var(--gold); }
.article strong { color: var(--text); font-weight: 500; }
.article a:not(.btn):not(.link) { color: var(--gold-2); border-bottom: 1px solid rgba(184, 154, 94, .5); }
.article__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.article__meta { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }

/* =========================================================================
   Página de empreendimento (projeto.js)
   ========================================================================= */
.proj-hero { padding: calc(var(--hh) + 40px) 0 56px; border-bottom: 1px solid var(--line); }
.proj-hero__inner { display: grid; gap: 36px; }
@media (min-width: 960px) {
  .proj-hero { padding: calc(var(--hh) + 64px) 0 80px; }
  .proj-hero__inner { grid-template-columns: 6fr 5fr; gap: 72px; align-items: center; }
}
.proj-hero__text { display: grid; gap: 18px; justify-items: start; align-content: center; }
.proj-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.proj-crumb a { color: var(--muted); transition: color .3s var(--ease); }
.proj-crumb a:hover { color: var(--gold-2); }
.proj-title { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1; }
.proj-local { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.proj-local em { font-style: normal; color: var(--gold-2); }
.proj-hero .lead { max-width: 46ch; }
.proj-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 10px; }
.proj-hero__media { justify-self: stretch; }
.proj-hero__media > img { width: 100%; height: auto; max-height: min(78vh, 820px); object-fit: cover; }
@media (min-width: 960px) { .proj-hero__media { order: 0; } }
@media (max-width: 959px) { .proj-hero__media { order: -1; } .proj-hero__media > img { max-height: 70vh; } }
.proj-hero__media .ph { aspect-ratio: 4 / 5; }

.proj-specs { display: grid; gap: 0 48px; margin: 24px 0 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.proj-specs div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.proj-specs dt { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.proj-specs dd { margin: 8px 0 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }
.tbd { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); opacity: .75; }

.proj-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: 36px; }
.proj-src { margin-top: 18px; }

/* Galeria: faixa com rolagem lateral, fotos inteiras na mesma altura */
.proj-strip {
  display: flex; gap: 12px; overflow-x: auto; padding: 0 var(--gut) 12px; scroll-snap-type: x proximity; scroll-padding-inline: var(--gut);
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
@media (min-width: 1320px) { .proj-strip { padding-left: calc((100vw - var(--max)) / 2 + var(--gut)); } }
.proj-strip figure { margin: 0; flex: none; scroll-snap-align: start; }
.proj-strip button { display: block; padding: 0; border: 0; background: var(--bg-3); cursor: zoom-in; }
.proj-strip img { height: clamp(260px, 42vw, 460px); width: auto; max-width: none; transition: opacity .3s var(--ease); }
.proj-strip button:hover img { opacity: .85; }
.proj-strip figcaption { max-width: 36ch; margin-top: 10px; font-size: 12px; color: var(--faint); }

/* Obra: grade por mês */
.proj-obra { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.proj-obra[hidden] { display: none; }
.proj-obra button { display: block; padding: 0; border: 0; background: var(--bg-3); cursor: zoom-in; overflow: hidden; }
.proj-obra img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.proj-obra button:hover img { transform: scale(1.03); }

/* Localização */
.proj-loc { display: grid; gap: 32px; }
@media (min-width: 960px) { .proj-loc { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.proj-map { height: clamp(300px, 44vw, 460px); border: 1px solid var(--line-2); background: #132239; isolation: isolate; }
.proj-map .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.78) contrast(.92) sepia(.18); }
.proj-around { list-style: none; margin: 22px 0 0; padding: 0; display: grid; }
.proj-around li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.proj-around span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.proj-around small { letter-spacing: .08em; text-transform: none; font-size: 11px; margin-left: 6px; }
.proj-around strong { font-weight: 400; color: var(--text); }

/* Outros projetos */
.proj-rel { display: grid; gap: 24px; }
@media (min-width: 760px) { .proj-rel { grid-template-columns: repeat(3, 1fr); } }
.proj-rel__item { display: grid; gap: 8px; }
.proj-rel__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); margin-bottom: 8px; }
.proj-rel__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.proj-rel__item:hover img { transform: scale(1.04); }
.proj-rel__item strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.proj-rel__item > span:last-child { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }

/* Foto ampliada */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 11, 22, .96); color: var(--text); }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(5, 11, 22, .9); }
.lb figure { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 56px 16px 24px; }
.lb img { max-width: min(92vw, 1400px); max-height: calc(100dvh - 140px); width: auto; height: auto; }
.lb figcaption { font-size: 12px; letter-spacing: .08em; color: var(--muted); text-align: center; }
.lb__close { position: absolute; top: 10px; right: 12px; width: 48px; height: 48px; border: 0; background: none; color: var(--muted); font-size: 30px; cursor: pointer; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 72px; border: 0; background: rgba(10, 22, 40, .5); color: var(--text); font-size: 40px; line-height: 1; cursor: pointer; }
.lb__prev { left: 8px; } .lb__next { right: 8px; }
.lb__close:hover, .lb__nav:hover { color: var(--gold-2); }

.proj-aka { margin-top: -6px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--muted); }

/* Cards em bloco (página Projetos): o card inteiro leva à página do projeto */
.card--block { position: relative; cursor: pointer; }
.card__link { position: absolute; inset: 0; z-index: 3; }
.card__link:focus-visible { outline: 1px solid var(--gold-2); outline-offset: 6px; }
.card--block .card__actions:empty { display: none; }
.card--block .cmp-btn { position: relative; z-index: 4; } /* "Comparar" continua clicável por cima do link *//* "Conheça o projeto!" no canto inferior esquerdo da foto (página Projetos); o logo sobe para dar lugar */
.card__cta {
  position: absolute; left: clamp(12px, 4%, 20px); bottom: clamp(12px, 4%, 20px); z-index: 2; pointer-events: none;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; line-height: 1;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2);
  background: rgba(10, 22, 40, .82); border: 1px solid rgba(184, 154, 94, .6);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.card__cta::after { content: "→"; letter-spacing: 0; transition: transform .3s var(--ease); }
.card--block:hover .card__cta { background: var(--gold); color: var(--bg); }
.card--block:hover .card__cta::after { transform: translateX(3px); }
.card--block .card__logo { bottom: calc(clamp(12px, 4%, 20px) + 42px); }.card--block .card__media .ph > span { bottom: calc(clamp(12px, 4%, 20px) + 44px); } /* nome do card sem foto acima do selo */

/* Home: prévia borrada da lista de projetos, logo abaixo do Heritage, com convite para a página Projetos */
.peek { position: relative; display: block; margin-top: clamp(64px, 8vw, 112px); height: clamp(220px, 24vw, 320px); overflow: hidden; }
.peek__row {
  position: absolute; left: 0; top: 0; display: flex; gap: 28px; align-items: flex-start;
  filter: blur(6px) brightness(.72) saturate(.85); transform: scale(1.02); transform-origin: 50% 0;
  transition: filter .6s var(--ease);
}
.peek__item { flex: none; display: grid; gap: 14px; width: calc(var(--r) * 400px); }
.peek__item img { width: 100%; height: 400px; object-fit: cover; }
.peek__item b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--muted); }
/* esmaece até o fundo, como se a lista continuasse */
.peek::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 22, 40, .15) 0%, rgba(10, 22, 40, .55) 45%, var(--bg) 100%),
              linear-gradient(90deg, transparent 70%, var(--bg) 100%);
}
.peek__cta { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; }
.peek__cta small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.peek:hover .peek__row { filter: blur(4px) brightness(.8) saturate(.9); }
.peek:hover .btn--solid { background: transparent; color: var(--gold-2); border-color: var(--gold); }
.peek:focus-visible { outline: 1px solid var(--gold-2); outline-offset: 6px; }
@media (max-width: 639px) {
  .peek { height: 240px; }
  .peek__row { gap: 16px; }
  .peek__item { width: calc(var(--r) * 300px); }
  .peek__item img { height: 300px; }
}
/* =========================================================================
   Capa editorial da Home (.hx): título grande + índice de 5 projetos em painéis retos.
   Sem troca automática; o mouse destaca um painel e os outros ficam em segundo plano.
   ========================================================================= */
.hx {
  min-height: 100svh; display: flex; flex-direction: column;
  padding: calc(var(--hh) + clamp(18px, 3.5vh, 44px)) 0 clamp(22px, 4vh, 48px);
  background: radial-gradient(70% 55% at 85% 0%, rgba(184, 154, 94, .09), transparent 70%), var(--bg);
}
.hx__inner { display: grid; gap: clamp(14px, 2.6vh, 30px); }
.hx__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.hx__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hx__head { position: relative; }
.hx__title {
  font-family: var(--serif); font-weight: 300; letter-spacing: -.02em; line-height: .96;
  font-size: clamp(2.7rem, min(7.4vw, 12.5vh), 8.2rem);
}
.hx__title em { font-style: italic; color: var(--gold-2); }
.hx__l2 { display: block; }
.hx__aside { display: grid; gap: 16px; justify-items: start; margin-top: 20px; }
.hx__sub { max-width: 46ch; color: var(--muted); font-size: 15px; }
.hx__sub strong { color: var(--text); font-weight: 400; }
@media (min-width: 1000px) {
  /* selo e botões à direita da segunda linha do título (o texto de apoio fica só no celular: as grifes já aparecem nas legendas) */
  .hx__aside { position: absolute; right: 0; bottom: .3em; margin: 0; display: flex; align-items: center; gap: 18px; }
  .hx__aside .hx__sub { display: none; }
}
.hx__panels {
  flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
  margin-top: clamp(20px, 3.4vh, 40px); min-height: 280px;
}
.hx__p { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.hx__img { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--bg-3); }
.hx__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .5s var(--ease); }
.hx__p:hover .hx__img img, .hx__p:focus-visible .hx__img img { transform: scale(1.04); }
.hx__panels:hover .hx__p:not(:hover) .hx__img img { opacity: .5; }
.hx__p:focus-visible { outline: 1px solid var(--gold-2); outline-offset: 4px; }
.hx__cap { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 3px; align-items: baseline; }
.hx__cap i { grid-row: span 2; font-style: normal; font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.hx__cap strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.15rem, 1.5vw, 1.45rem); line-height: 1.1; transition: color .3s var(--ease); }
.hx__cap small { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx__p:hover .hx__cap strong { color: var(--gold-2); }
@media (prefers-reduced-motion: no-preference) {
  .hx__title, .hx__sub, .hx__top { animation: hx-fade .9s var(--ease) both; }
  .hx__p { animation: hx-fade .9s var(--ease) both; }
  .hx__p:nth-child(2) { animation-delay: .06s; } .hx__p:nth-child(3) { animation-delay: .12s; }
  .hx__p:nth-child(4) { animation-delay: .18s; } .hx__p:nth-child(5) { animation-delay: .24s; }
  @keyframes hx-fade { from { opacity: 0; } }
}
@media (max-width: 767px) {
  .hx { min-height: 0; }
  .hx__panels {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); gap: 10px; min-height: 0;
    padding-bottom: 8px; scrollbar-width: none;
  }
  .hx__p { flex: 0 0 68vw; scroll-snap-align: start; }
  .hx__img { flex: none; height: 58vh; max-height: 460px; }
  .hx__panels:hover .hx__p:not(:hover) .hx__img img { opacity: 1; }
}
/* ---------- Azul-marinho metálico ----------
   O fundo ganha um brilho frio (--sheen) e um leve degradê, como uma superfície escovada.
   Tudo em gradientes estáticos: nada é recalculado na rolagem. */
/* o degradê fica no <html> (e o <body> transparente): com fundo no body, as capas com z-index -1
   (vídeo/foto do Heritage) ficavam escondidas atrás dele */
html { background: linear-gradient(180deg, #0b1830 0%, #0a1628 35%, #091424 100%) #0a1628; }
body { background: transparent; }
.hx { background: var(--sheen), linear-gradient(165deg, #0d1c35 0%, #0a1628 55%, #091425 100%); }
.bg-2 { background: radial-gradient(80% 60% at 100% 0%, rgba(150, 178, 220, .07), transparent 60%), linear-gradient(160deg, #10203a 0%, #0e1c33 60%, #0c1930 100%); }
.page-hero, .proj-hero { background-image: var(--sheen); }
.site-footer { background: linear-gradient(180deg, #0a1628, #081221); }
/* ---------- Logo da Cyrela (assets/img/marcas/cyrela.png, fundo transparente) ---------- */
.seal--logo { gap: 8px; }
.seal__logo { height: 17px; width: auto; display: inline-block; }
.seal--logo span { color: var(--gold-2); }
.footer-cred { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.footer-cred span { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.footer-cred img { height: 22px; width: auto; }
.by-cyrela { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.by-cyrela img { height: 18px; width: auto; }
.proj-ficha-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.hr-hero__meta .by-cyrela img { height: 16px; }
.with-logo .inline-logo { display: inline-block; height: .95em; width: auto; vertical-align: -.08em; margin-left: .15em; }/* Rodapé: Cyrela e Seller, um abaixo do outro, com as legendas alinhadas */
.footer-cred { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: center; gap: 14px 14px; margin-top: 24px; }
.footer-cred img { height: 22px; width: auto; }
.footer-cred .footer-cred__seller { height: 17px; opacity: .92; }
/* Topo simples (Contato): só o título, mais baixo */
.page-hero--compact { padding: calc(var(--hh) + 48px) 0 40px; }
@media (min-width: 1024px) { .page-hero--compact { padding: calc(var(--hh) + 72px) 0 56px; } }
.page-hero--compact .display { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
.page-hero--compact + .section { padding-top: clamp(48px, 7vw, 96px); }

/* Primeira seção da página, sem topo de título (Sobre): começa logo abaixo do cabeçalho */
.section--first { padding-top: calc(var(--hh) + clamp(32px, 5vw, 64px)); }

/* Faixa simples (Sobre › Acompanhe): título curto e botões na mesma linha */
.band--simple { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.band--simple .h3 em { font-style: italic; color: var(--gold-2); }

/* Guias relacionados nas páginas de projeto: 1 ou 2 guias ocupam a largura sem sobrar coluna vazia */
@media (min-width: 900px) { .tiles--1 { grid-template-columns: 1fr; } .tiles--2 { grid-template-columns: 1fr 1fr; } }
/* Botão do Instagram (Sobre, abaixo da foto): ícone em moldura dourada, @ e seta; no hover o ícone ganha as cores do Instagram */
.ig-btn {
  display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 14px 18px 14px 14px;
  border: 1px solid rgba(184, 154, 94, .45); background: rgba(14, 28, 51, .6);
  transition: border-color .35s var(--ease), background-color .35s var(--ease);
}
.ig-btn__icon {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px;
  color: var(--gold-2); border: 1px solid rgba(184, 154, 94, .55); position: relative; overflow: hidden;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.ig-btn__icon::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease);
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.ig-btn__icon svg { position: relative; width: 24px; height: 24px; }
.ig-btn__text { display: grid; gap: 2px; min-width: 0; }
.ig-btn__text small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ig-btn__text strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.15; color: var(--text); }
.ig-btn__arrow { margin-left: auto; color: var(--gold-2); font-size: 18px; transition: transform .35s var(--ease); }
.ig-btn:hover { border-color: var(--gold); background: rgba(21, 37, 63, .85); }
.ig-btn:hover .ig-btn__icon { color: #fff; border-color: transparent; }
.ig-btn:hover .ig-btn__icon::before { opacity: 1; }
.ig-btn:hover .ig-btn__arrow { transform: translateX(4px); }
.ig-btn:focus-visible { outline: 1px solid var(--gold-2); outline-offset: 4px; }
/* Desenho de prédio (traço marfim) nos pré-lançamentos: página Em breve, cards e página do projeto */
.teaser__building { justify-self: center; align-self: end; width: 48%; height: auto; max-width: 260px; opacity: .92; }
.ph--teaser .ph__building { position: static; justify-self: center; width: 46%; max-width: 200px; height: auto; margin: 6px 0 4px; opacity: .9; }/* nos cards e no topo da página do projeto, o nome e a data já aparecem fora da imagem: fica só o desenho */
.card__media .ph--teaser strong, .card__media .ph--teaser .ph__when { display: none; }
.card__media .ph--teaser { align-content: start; justify-items: center; }
.card__media .ph--teaser .ph__kicker { justify-self: start; }
.card__media .ph--teaser .ph__building { width: 58%; max-width: 230px; margin-top: 8%; }
/* croqui com cotas e papel milimetrado: maior, para os números ficarem legíveis */
.teaser__building { width: 70%; max-width: 380px; }
.ph--teaser .ph__building, .card__media .ph--teaser .ph__building { width: 72%; max-width: 300px; }

/* ---------- Primeira tela inteira sem rolar (Em breve, Conteúdo) ---------- */
@media (min-width: 1024px) {
  .page-hero--compact { padding: calc(var(--hh) + clamp(20px, 4vh, 40px)) 0 clamp(16px, 3vh, 28px); }
  .page-hero--compact + .section { padding-top: clamp(20px, 3.5vh, 36px); }
  /* Em breve: dois cards lado a lado, cada um com o desenho à esquerda e o texto à direita;
     a altura do desenho acompanha a altura da janela para tudo caber na primeira tela */
  .teasers { grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
  .teaser:nth-child(2) { margin-top: 0; }
  .teaser { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: end; gap: 24px; }
  .teaser__art { aspect-ratio: auto; height: clamp(260px, calc(100svh - var(--hh) - 190px), 600px); padding: 20px; }
  .teaser__building { width: auto; height: 78%; max-width: 100%; }
  .teaser__body { gap: 12px; }
  .teaser__name { font-size: clamp(1.8rem, 2.4vw, 2.6rem); }
  .teaser__body .muted { font-size: 14px; }
}
/* Telas baixas (notebooks com até ~700 px de altura útil): capa do Heritage e Contato mais justos para caber sem rolar */
@media (min-width: 1024px) and (max-height: 700px) {
  .hr-hero { padding: calc(var(--hh) + 20px) 0 26px; }
  .hr-hero .display { font-size: clamp(2.6rem, 7.6vh, 5.4rem); }
  .hr-hero .hero__inner { gap: 12px; }
  .hr-hero .hero__inner .display { max-width: 22ch; }
  .hr-hero .hero__inner .hero__sub { max-width: 66ch; }
  .section--first { padding-top: calc(var(--hh) + 20px); }
  .contact .form { gap: 16px; }
  .contact .form__row { gap: 16px; }
  .contact .field input, .contact .field select { min-height: 42px; padding: 8px 0; }
  .contact .field textarea { min-height: 64px; }
  .contact__aside { gap: 14px; }
}
/* Em breve: o croqui ocupa o card inteiro (sem numeração); a data fica no rodapé do card */
.teaser__art { grid-template-rows: minmax(0, 1fr) auto; align-content: stretch; }
.teaser__art .teaser__building { width: 100%; height: 100%; max-width: none; min-height: 0; object-fit: contain; justify-self: stretch; align-self: stretch; }
@media (min-width: 1024px) { .teaser__art { padding: 14px 14px 16px; } }
/* Em breve: sem moldura; o croqui (com o papel milimetrado) vai até a borda do espaço do card */
.teaser__art, .teaser__art--2 { border: 0; background: none; padding: 0 !important; display: block; overflow: visible; }
.teaser__art::after, .teaser__art::before { content: none !important; }
.teaser__art .teaser__building { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }
.proj-head .h3 em { font-style: italic; color: var(--gold-2); }.teaser__art { aspect-ratio: 268 / 416; height: auto; width: 100%; }
@media (min-width: 1024px) { .teaser__art { height: clamp(260px, calc(100svh - var(--hh) - 190px), 600px); width: auto; justify-self: start; } }

/* Conteúdo: faixa de ferramentas logo abaixo dos 3 textos (mesma primeira tela) */
.tools-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: clamp(16px, 3vh, 28px); padding: 14px 18px; border: 1px solid var(--line); background: rgba(14, 28, 51, .55); }
.tools-row__label { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
.tools-row__label em { font-style: italic; color: var(--gold-2); }
.tools-row__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 1024px) and (max-height: 700px) {
  .tiles .tile { padding: 22px 24px 20px; gap: 10px; }
}@media (min-width: 1024px) and (max-height: 640px) { .tools-row { margin-top: 10px; padding: 8px 14px; } .tiles .tile { padding: 18px 22px 16px; } }

/* Botão flutuante "Minimizar capítulo" (Heritage): centro da lateral direita */
.chapter-float {
  position: fixed; right: 18px; top: 50%; z-index: 45;
  display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px;
  background: rgba(14, 28, 51, .96); border: 1px solid rgba(184, 154, 94, .55); color: var(--text);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .45); cursor: pointer; text-align: left;
  opacity: 0; visibility: hidden; transform: translate(14px, -50%);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, border-color .3s var(--ease), background-color .3s var(--ease);
}
.chapter-float.is-visible { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.chapter-float__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 1px solid rgba(184, 154, 94, .5); color: var(--gold-2); }
.chapter-float__icon svg { width: 18px; height: 18px; }
.chapter-float__text { display: grid; gap: 1px; }
.chapter-float__text small { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.chapter-float__text strong { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; line-height: 1.1; }
.chapter-float:hover { border-color: var(--gold); background: rgba(21, 37, 63, .98); }
.chapter-float:hover .chapter-float__icon { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.chapter-float:focus-visible { outline: 1px solid var(--gold-2); outline-offset: 3px; }
/* celular: só o ícone, colado à borda */
@media (max-width: 767px) {
  .chapter-float { right: 10px; padding: 6px; gap: 0; }
  .chapter-float__text { display: none; }
}
/* Cabeçalho transparente: no topo só um leve escurecimento (legibilidade sobre fotos/vídeo);
   ao rolar, azul translúcido com desfoque do que passa por trás */
.site-header { background: linear-gradient(180deg, rgba(10, 22, 40, .5) 0%, rgba(10, 22, 40, 0) 100%); box-shadow: none; }
.site-header.is-scrolled {
  background: rgba(10, 22, 40, .55); box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
  -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
}
.menu-open .site-header { background: rgba(10, 22, 40, .97); }
.lite .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10, 22, 40, .9); } /* modo leve: sem desfoque */
/* Home: selo "Corretor exclusivo Cyrela" logo abaixo do botão do WhatsApp (canto superior direito da capa) */
.hx { position: relative; padding-top: calc(var(--hh) + clamp(48px, 7vh, 64px)); }
.hx__sealbar { position: absolute; left: 0; right: 0; top: calc(var(--hh) + 10px); z-index: 2; display: flex; justify-content: flex-end; pointer-events: none; }
.hx__seal { pointer-events: auto; margin: 0; }.hx { padding-top: calc(var(--hh) + clamp(64px, 9.5vh, 84px)); }
/* Contato com a mesma distância entre a linha do cabeçalho e o conteúdo que a página Sobre (telas baixas) */
@media (min-width: 1024px) and (max-height: 700px) { .section--first .contact { padding-top: 20px; } }
.slots__hint--eve { flex-basis: 100%; padding: 4px 0 0; color: var(--gold-2); font-size: 12px; }

/* =========================================================================
   VERSÃO 2 (01/10/2026) — capa da Home, páginas de projeto, logo e Em breve.
   Aprovada pelo Adolfo em 02/10/2026.
   ========================================================================= */

/* ---------- Capa: índice de endereços ---------- */
.hx2 { position: relative; display: flex; flex-direction: column; min-height: 100svh; overflow: hidden; background: var(--bg); }
.hx2__media { position: absolute; inset: 0 0 auto 0; height: 64svh; z-index: 0; }
.hx2__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  opacity: 0; transition: opacity .8s var(--ease);
}
.hx2__media img.is-on { opacity: 1; }
/* a foto se dissolve no azul por baixo do texto */
.hx2__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 22, 40, .55) 0%, rgba(10, 22, 40, .1) 30%, rgba(10, 22, 40, .7) 70%, var(--bg) 100%);
}
.hx2__text { position: relative; z-index: 1; display: flex; flex-direction: column; padding-top: 40svh; padding-bottom: 36px; }
.hx2__title {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.3rem, 9vw, 3.4rem); line-height: 1.02;
  letter-spacing: -.012em; max-width: 13ch; text-wrap: balance;
}
.hx2__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hx2__index { list-style: none; margin: 40px 0 0; padding: 0; order: 3; }
.hx2__index li { border-top: 1px solid var(--line); }
.hx2__index li:last-child { border-bottom: 1px solid var(--line); }
.hx2__index a { position: relative; display: grid; gap: 2px; padding: 12px 0 13px; transition: padding-left .45s var(--ease); }
.hx2__name { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.15; color: rgba(233, 228, 218, .62); transition: color .35s var(--ease); }
.hx2__where { font-size: 12.5px; line-height: 1.45; color: var(--faint); transition: color .35s var(--ease); }
/* endereço ativo: fica claro e ganha um fio dourado à esquerda */
.hx2__index a::before {
  content: ""; position: absolute; left: 0; top: calc(12px + .6em); width: 0; height: 1px; background: var(--gold);
  transition: width .45s var(--ease);
}
.hx2__index a.is-on { padding-left: 36px; }
.hx2__index a.is-on::before { width: 24px; }
.hx2__index a.is-on .hx2__name { color: var(--text); }
.hx2__index a.is-on .hx2__where { color: var(--muted); }
.hx2__index a:focus-visible { outline-offset: 2px; }

@media (min-width: 1024px) {
  .hx2 { justify-content: center; }
  /* coluna da foto: 40% da tela, de cima a baixo, encostada na borda direita */
  .hx2__media { inset: 0 0 0 auto; width: 40vw; height: auto; }
  .hx2__media::after { background: linear-gradient(90deg, var(--bg) 0%, rgba(10, 22, 40, .35) 22%, rgba(10, 22, 40, 0) 45%), linear-gradient(180deg, rgba(10, 22, 40, .6) 0%, rgba(10, 22, 40, 0) 22%); }
  .hx2__text { padding-top: calc(var(--hh) + clamp(28px, 6vh, 64px)); padding-bottom: clamp(28px, 6vh, 56px); }
  .hx2__text > * { max-width: calc(60vw - 64px - max(var(--gut), (100vw - var(--max)) / 2 + var(--gut))); }
  .hx2__title { font-size: clamp(2.4rem, 3.5vw, 3.5rem); max-width: 16ch; }
  .hx2__index { order: 0; margin-top: clamp(24px, 4.5vh, 44px); }
  .hx2__index a { padding: clamp(9px, 1.6vh, 14px) 0 clamp(10px, 1.7vh, 15px); grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 24px; }
  .hx2__index a::before { top: calc(clamp(9px, 1.6vh, 14px) + .62em); }
  .hx2__name { font-size: clamp(1.45rem, 2.15vw, 2.15rem); }
  .hx2__where { max-width: 30ch; text-align: right; }
  .hx2__ctas { order: 1; margin-top: clamp(22px, 4vh, 36px); }
}
@media (min-width: 1024px) and (max-height: 700px) {
  .hx2__title { font-size: 2.3rem; }
  .hx2__name { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .hx2__media img { transition: none; } }
@media (min-width: 1024px) {
  .hx2__title { max-width: 21ch; font-size: clamp(2.3rem, 3.2vw, 3.2rem); }
  .hx2__index a { grid-template-columns: 1fr; padding: clamp(7px, 1.25vh, 12px) 0 clamp(8px, 1.35vh, 13px); }
  .hx2__index a::before { top: calc(clamp(7px, 1.25vh, 12px) + .6em); }
  .hx2__name { font-size: clamp(1.4rem, 1.9vw, 1.95rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hx2__where { max-width: none; text-align: left; }
}
.hx2 .hx__seal { background: rgba(10, 22, 40, .62); }


/* ---------- Página de projeto: topo (versão 2) ----------
   Mesmo sistema da capa: foto em coluna de altura total à direita, texto à esquerda.
   --grife: tom de cada assinatura, usado só no fio e na linha da assinatura. */
.ph2 { --grife: var(--gold-2); position: relative; display: flex; flex-direction: column; min-height: 100svh; overflow: hidden; background: var(--bg) var(--sheen); }
.ph2[data-grife="armani"] { --grife: #cbbfa8; }       /* greige Armani/Casa */
.ph2[data-grife="dg"] { --grife: #d0624f; }           /* vermelho Dolce&Gabbana Casa */
.ph2[data-grife="pininfarina"] { --grife: #aebdcc; }  /* aço Pininfarina */
.ph2[data-grife="versace"] { --grife: #e2b648; }      /* ouro Versace */
.ph2[data-grife="eliesaab"] { --grife: #dcb5a5; }     /* rosado Elie Saab */
.ph2[data-grife="yoo"] { --grife: #b9c8b4; }          /* sálvia YOO */
.ph2[data-grife="wanders"] { --grife: #e6dccb; }      /* marfim Wanders & YOO */
.ph2__media { position: absolute; inset: 0 0 auto 0; height: 62svh; z-index: 0; background: var(--bg-3); }
.ph2__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ph2__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 22, 40, .55) 0%, rgba(10, 22, 40, 0) 26%, rgba(10, 22, 40, .55) 68%, var(--bg) 100%);
}
.ph2__media .card__logo { z-index: 2; bottom: auto; top: calc(var(--hh) + 20px); }
/* croqui dos pré-lançamentos: desenho sobre papel quadriculado, sem degradê */
.ph2__media--croqui { display: grid; place-items: center; background: #0d1b31; background-image: linear-gradient(rgba(233, 228, 218, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(233, 228, 218, .045) 1px, transparent 1px); background-size: 24px 24px; }
.ph2__media--croqui img { position: relative; width: auto; height: 74%; max-height: 520px; opacity: .92; }
.ph2__text { position: relative; z-index: 1; display: grid; justify-items: start; gap: 16px; padding-top: 52svh; padding-bottom: 48px; }
.ph2--nomedia .ph2__text { padding-top: calc(var(--hh) + 48px); }
.ph2__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 11vw, 4rem); line-height: .98; letter-spacing: -.015em; max-width: 14ch; text-wrap: balance; }
.ph2__sig { display: flex; align-items: center; gap: 14px; margin-top: -2px; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 4.6vw, 1.6rem); line-height: 1.2; color: var(--grife); }
.ph2__sig::before { content: ""; width: 32px; height: 1px; background: var(--grife); flex: none; }
.ph2__where { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--muted); }
.ph2__status { color: var(--text); }
.ph2__status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--grife); }
.ph2__lead { max-width: 44ch; font-size: 1.05rem; line-height: 1.7; color: var(--text); opacity: .86; }
.ph2 .proj-aka { margin: -6px 0 0; font-size: 1.05rem; }
.ph2 .proj-ctas { margin-top: 8px; }

@media (min-width: 1024px) {
  .ph2 { justify-content: center; }
  .ph2__media { inset: 0 0 0 auto; width: 42vw; height: auto; }
  .ph2__media::after { background: linear-gradient(90deg, var(--bg) 0%, rgba(10, 22, 40, .3) 20%, rgba(10, 22, 40, 0) 42%), linear-gradient(180deg, rgba(10, 22, 40, .6) 0%, rgba(10, 22, 40, 0) 24%); }
  .ph2__media--croqui::after { background: linear-gradient(90deg, var(--bg) 0%, rgba(10, 22, 40, 0) 30%); }
  .ph2__media .card__logo { top: auto; bottom: 36px; left: 36px; }
  .ph2__media--logo::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0), rgba(10, 22, 40, .8));
  }
  .ph2__text { padding-top: calc(var(--hh) + 40px); padding-bottom: 56px; }
  .ph2:not(.ph2--nomedia) .ph2__text > * { max-width: calc(58vw - 72px - max(var(--gut), (100vw - var(--max)) / 2 + var(--gut))); }
  .ph2__title { font-size: clamp(3.2rem, 5.4vw, 5.6rem); }
  .ph2__sig { font-size: clamp(1.4rem, 1.8vw, 1.85rem); }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .ph2__title { font-size: clamp(3rem, 4.6vw, 4.4rem); }
  .ph2__text { gap: 12px; }
}
.ph2--nomedia { min-height: 0; border-bottom: 1px solid var(--line); }
.ph2--nomedia .ph2__title { max-width: 20ch; }
@media (min-width: 1024px) { .ph2--nomedia .ph2__text { padding-top: calc(var(--hh) + 72px); padding-bottom: 72px; } }

/* ---------- Em breve (versão 2): placa de rua de São Paulo ----------
   O terreno leva o nome da rua até o lançamento; a placa azul é a "identidade" provisória. */
.placa {
  display: inline-grid; justify-items: start; gap: 2px; align-self: start; justify-self: start;
  padding: 12px 22px 13px 18px; border-radius: 6px; background: #1f4f97; color: #fff;
  box-shadow: inset 0 0 0 2px #1f4f97, inset 0 0 0 3.5px rgba(255, 255, 255, .92), 0 14px 30px rgba(0, 0, 0, .35);
  font-family: var(--sans); line-height: 1.05;
}
.placa__tipo { font-size: 12px; font-weight: 500; letter-spacing: .04em; opacity: .9; }
.placa__nome { font-size: clamp(1.45rem, 2.3vw, 1.95rem); font-weight: 700; letter-spacing: -.012em; }
.placa__bairro { margin-top: 5px; padding-top: 5px; border-top: 1px solid rgba(255, 255, 255, .55); font-size: 12.5px; font-weight: 500; letter-spacing: .02em; }
.placa__nome { white-space: nowrap; font-size: clamp(1.2rem, 1.75vw, 1.95rem); }
@media (max-width: 400px) { .placa__nome { font-size: 1.15rem; } }
.prelaunch .placa { margin: 2px 0; }
.prelaunch .placa__nome { font-size: clamp(1.3rem, 1.9vw, 1.7rem); }
@media (min-width: 1024px) { .hx2__text { padding-bottom: clamp(20px, 3.5vh, 48px); } .hx2__index { margin-top: clamp(20px, 3.8vh, 44px); } }
/* placas como imagem (SVG no padrão da Prefeitura de SP) */
.placa { padding: 0; background: none; box-shadow: none; border-radius: 0; display: block; }
.placa img { width: clamp(240px, 24vw, 340px); height: auto; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .4)); }
.prelaunch .placa img { width: clamp(220px, 19vw, 290px); }

/* ---------- Paletas por grife (páginas de projeto assinadas) ----------
   projeto.js marca <html data-grife="…">; a página inteira troca o azul-marinho e o dourado
   pelas cores da grife. --bg-rgb repete --bg em números, para os degradês. */
html[data-grife="armani"] {      /* Armani/Casa: greige e grafite quente */
  --bg: #1b1a18; --bg-2: #22201d; --bg-3: #2c2925; --bg-rgb: 27, 26, 24; --gold: #a89a82; --gold-2: #cbbfa8;
}
html[data-grife="dg"] {          /* Dolce&Gabbana Casa: azul mediterrâneo da maiólica e amarelo-limão */
  --bg: #0c2550; --bg-2: #0f2c5e; --bg-3: #163a74; --bg-rgb: 12, 37, 80; --gold: #d9b53f; --gold-2: #f0d36a;
}
html[data-grife="pininfarina"] { /* Pininfarina: grafite e aço escovado */
  --bg: #121519; --bg-2: #181c21; --bg-3: #20262d; --bg-rgb: 18, 21, 25; --gold: #8d9cab; --gold-2: #c3cfdb;
}
html[data-grife="versace"] {     /* Versace: preto e ouro */
  --bg: #0d0c0a; --bg-2: #15130f; --bg-3: #1e1b15; --bg-rgb: 13, 12, 10; --gold: #c99a2e; --gold-2: #e8bf55;
}
html[data-grife="eliesaab"] {    /* Elie Saab: ameixa e rosado */
  --bg: #221519; --bg-2: #2a1a1f; --bg-3: #352229; --bg-rgb: 34, 21, 25; --gold: #c4998a; --gold-2: #e3bfb1;
}
html[data-grife="yoo"] {         /* YOO: verde-floresta e sálvia */
  --bg: #111a16; --bg-2: #16211c; --bg-3: #1e2b25; --bg-rgb: 17, 26, 22; --gold: #93a68d; --gold-2: #c3d2bd;
}
html[data-grife="wanders"] {     /* Wanders & YOO: preto-tinta e marfim */
  --bg: #121212; --bg-2: #191919; --bg-3: #222; --bg-rgb: 18, 18, 18; --gold: #bfb4a1; --gold-2: #ece3d3;
}
/* ---------- Paletas por projeto (03/10/2026) ----------
   Tiradas da identidade visual dos books oficiais (Drive "produtoscyrela"), na versão escura do site.
   projeto.js (PALETA) usa estas no lugar da paleta da grife. */
html[data-grife="p-casa-eden"] {       /* Casa Eden by YOO: petróleo profundo e folha de ouro do ginkgo */
  --bg: #143640; --bg-2: #183e49; --bg-3: #1f4b57; --bg-rgb: 20, 54, 64; --gold: #c9a24a; --gold-2: #e4c57e;
}
html[data-grife="p-casa-ibirapuera"] { /* Casa Ibirapuera: chocolate das listras da capa e areia do logo */
  --bg: #2a211b; --bg-2: #32281f; --bg-3: #3e3228; --bg-rgb: 42, 33, 27; --gold: #b5a48c; --gold-2: #d9ccb6;
}
html[data-grife="p-lis"] {             /* LIS Moema: couro claro e folha de ouro (aqui, na versão escura) */
  --bg: #1d1a16; --bg-2: #24201b; --bg-3: #2e2922; --bg-rgb: 29, 26, 22; --gold: #c29b52; --gold-2: #e5c88c;
}
html[data-grife="p-mandarim"] {        /* Mandarim The Legend: céu noturno, estrelas e prata lavanda */
  --bg: #0c0b12; --bg-2: #121019; --bg-3: #1a1724; --bg-rgb: 12, 11, 18; --gold: #9e9bc0; --gold-2: #d6d4ee;
}
html[data-grife="p-moema-yoo"] {       /* Moema by YOO: azul-real da lua e branco-gelo */
  --bg: #0b1a3d; --bg-2: #0f2149; --bg-3: #152b5a; --bg-rgb: 11, 26, 61; --gold: #9dbbe0; --gold-2: #d6e5f7;
}
html[data-grife="p-nau-klabin"] {      /* N.A.U. Klabin: azul-noite náutico e o azul-petróleo do mar */
  --bg: #171c2b; --bg-2: #1d2335; --bg-3: #252c41; --bg-rgb: 23, 28, 43; --gold: #6fa3b8; --gold-2: #b6d6e0;
}
html[data-grife="p-nau-vm"] {          /* N.A.U. Vila Mariana: preto e o vermelho da Cyrela, como no book */
  --bg: #121212; --bg-2: #191919; --bg-3: #222; --bg-rgb: 18, 18, 18; --gold: #c8323a; --gold-2: #e0565d;
}
html[data-grife="p-le-jardin"] {       /* Le Jardin by YOO: jardim ao entardecer, verde profundo e luz dourada */
  --bg: #0e1d1a; --bg-2: #132521; --bg-3: #1a302b; --bg-rgb: 14, 29, 26; --gold: #d4b37a; --gold-2: #eed7a8;
}
html[data-grife] { background: var(--bg); }
html[data-grife] ::view-transition { background: var(--bg); }
html[data-grife] .ph2 { --grife: var(--gold-2); background: var(--bg); }
html[data-grife] .site-header { background: linear-gradient(180deg, rgba(var(--bg-rgb), .55) 0%, rgba(var(--bg-rgb), 0) 100%); }
html[data-grife] .site-header.is-scrolled, html[data-grife].menu-open .site-header { background: rgba(var(--bg-rgb), .95); }
html[data-grife] .site-header::after { background: rgba(255, 255, 255, .08); }
html[data-grife] .ph2__media::after { background: linear-gradient(180deg, rgba(var(--bg-rgb), .55) 0%, rgba(var(--bg-rgb), 0) 26%, rgba(var(--bg-rgb), .55) 68%, var(--bg) 100%); }
@media (min-width: 1024px) {
  html[data-grife] .ph2__media::after { background: linear-gradient(90deg, var(--bg) 0%, rgba(var(--bg-rgb), .3) 20%, rgba(var(--bg-rgb), 0) 42%), linear-gradient(180deg, rgba(var(--bg-rgb), .6) 0%, rgba(var(--bg-rgb), 0) 24%); }
  html[data-grife] .ph2__media--logo::before { background: linear-gradient(180deg, rgba(var(--bg-rgb), 0), rgba(var(--bg-rgb), .8)); }
}
html[data-grife] .card__media--logo::before { background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 0%, rgba(var(--bg-rgb), .55) 55%, rgba(var(--bg-rgb), .85) 100%); }
html[data-grife] .site-footer { background: var(--bg-2); }
/* botão principal na cor da grife */
html[data-grife] .ph2 .btn--solid { background: var(--gold-2); border-color: var(--gold-2); color: var(--bg); }
html[data-grife] .ph2 .btn--solid:hover { background: var(--text); border-color: var(--text); }
html[data-grife] { --sheen: none; }
html[data-grife] body { background: transparent; }
html[data-grife] .bg-2 { background: var(--bg-2); }
html[data-grife] .proj-map { background: var(--bg-3); }

/* ---------- Capri Lifestyle by Dolce&Gabbana Casa: tema Majolica Blue ----------
   Página clara: cerâmica branca, cobalto e faixas de azulejo (assets/img/ilustracoes/majolica.svg).
   Substitui a paleta escura "dg" acima. O rodapé fica em cobalto (os logos Cyrela/Seller são brancos). */
html[data-grife="dg"] {
  --bg: #f8f5ee; --bg-2: #eef1f7; --bg-3: #e2e8f3; --bg-rgb: 248, 245, 238;
  --text: #11295a; --muted: #3c5386; --faint: #6d7ea4;
  --line: rgba(17, 41, 90, .13); --line-2: rgba(17, 41, 90, .24);
  --gold: #1f4fa3; --gold-2: #1c4b9c;
  --majolica: url("../img/ilustracoes/majolica.svg");
  color-scheme: light;
}
html[data-grife="dg"] body { color: var(--text); }
html[data-grife="dg"] ::selection { background: var(--gold); color: #fff; }
/* cabeçalho claro */
html[data-grife="dg"] .site-header { background: linear-gradient(180deg, rgba(248, 245, 238, .92) 0%, rgba(248, 245, 238, 0) 100%); }
html[data-grife="dg"] .site-header.is-scrolled, html[data-grife="dg"].menu-open .site-header { background: rgba(248, 245, 238, .97); box-shadow: 0 8px 24px rgba(17, 41, 90, .1); }
html[data-grife="dg"] .site-header::after { background: rgba(17, 41, 90, .14); }
html[data-grife="dg"] .site-header .header-wa { background: var(--gold); border-color: var(--gold); color: #fff; }
html[data-grife="dg"] .site-header .header-wa:hover { background: var(--text); border-color: var(--text); color: #fff; }
html[data-grife="dg"] .menu-toggle span { background: var(--text); }
/* botões */
html[data-grife="dg"] .btn--solid, html[data-grife="dg"] .ph2 .btn--solid { background: var(--gold); border-color: var(--gold); color: #fff; }
html[data-grife="dg"] .btn--solid:hover, html[data-grife="dg"] .ph2 .btn--solid:hover { background: var(--text); border-color: var(--text); color: #fff; }
html[data-grife="dg"] .btn:not(.btn--solid) { border-color: var(--line-2); color: var(--text); }
html[data-grife="dg"] .btn:not(.btn--solid):hover { border-color: var(--gold); color: var(--gold); }
/* topo: a foto ganha uma moldura de azulejo à esquerda (computador) ou embaixo (celular) */
html[data-grife="dg"] .ph2 { background: var(--bg); }
html[data-grife="dg"] .ph2__media { background: var(--bg-3); }
html[data-grife="dg"] .ph2__media::after { background: linear-gradient(180deg, rgba(248, 245, 238, .7) 0%, rgba(248, 245, 238, 0) 24%); }
html[data-grife="dg"] .ph2__media::before {
  content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 40px;
  background: var(--majolica) 0 0 / 40px 40px;
}
html[data-grife="dg"] .ph2__media .card__logo { filter: drop-shadow(0 2px 12px rgba(17, 41, 90, .45)); }
html[data-grife="dg"] .ph2__media--logo::before { height: 40px; background: var(--majolica) 0 0 / 40px 40px; }
html[data-grife="dg"] .ph2__text { padding-top: calc(62svh + 32px); }
html[data-grife="dg"] .ph2__lead { opacity: 1; color: var(--muted); }
@media (min-width: 1024px) {
  html[data-grife="dg"] .ph2__media::after { background: linear-gradient(180deg, rgba(248, 245, 238, .75) 0%, rgba(248, 245, 238, 0) 20%); }
  html[data-grife="dg"] .ph2__media::before { top: 0; bottom: 0; right: auto; width: 56px; height: auto; background-size: 56px 56px; }
  html[data-grife="dg"] .ph2__media .card__logo { left: 92px; }
  html[data-grife="dg"] .ph2__text { padding-top: calc(var(--hh) + 40px); }
}
/* faixa de azulejo entre o topo e o resto da página */
html[data-grife="dg"] .ph2 + .section { border-top: 0; }
html[data-grife="dg"] .ph2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--gold); z-index: 2; }
html[data-grife="dg"] .bg-2 { background: var(--bg-2); }
html[data-grife="dg"] .proj-map { background: var(--bg-3); }
html[data-grife="dg"] .proj-map .leaflet-tile-pane, html[data-grife="dg"] #proj-map .leaflet-tile-pane { filter: saturate(.35) hue-rotate(10deg); }
html[data-grife="dg"] .tbd { color: var(--faint); }
/* rodapé em cobalto */
html[data-grife="dg"] .site-footer {
  --text: #f8f5ee; --muted: #c9d4ea; --faint: #9fb1d6; --line: rgba(248, 245, 238, .16); --line-2: rgba(248, 245, 238, .26); --gold: #f8f5ee; --gold-2: #ffffff;
  background: #12306b; color: var(--text); position: relative; padding-top: calc(48px + 40px);
}
html[data-grife="dg"] .site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40px; background: var(--majolica) 0 0 / 40px 40px; }
@media (min-width: 1024px) {
  html[data-grife="dg"] .ph2__media--logo::before { top: 0; bottom: 0; right: auto; width: 56px; height: auto; background-size: 56px 56px; }
  html[data-grife="dg"] .nav a { color: var(--muted); }
  html[data-grife="dg"] .nav a:hover, html[data-grife="dg"] .nav a[aria-current="page"] { color: var(--gold); }
}
/* Majolica Blue mais presente: faixa larga ao lado da torre e painel de azulejos com a foto da marca */
html[data-grife="dg"] .ph2__media::before, html[data-grife="dg"] .ph2__media--logo::before { height: 72px; background-size: 72px 72px; }
@media (min-width: 1024px) {
  html[data-grife="dg"] .ph2__media::before, html[data-grife="dg"] .ph2__media--logo::before { width: 120px; height: auto; background-size: 120px 120px; }
  html[data-grife="dg"] .ph2__media .card__logo { left: 156px; }
}
html[data-grife="dg"] .ph2__text { padding-top: calc(62svh + 64px); }
@media (min-width: 1024px) { html[data-grife="dg"] .ph2__text { padding-top: calc(var(--hh) + 40px); } }
.majolica { padding: clamp(40px, 7vw, 96px) 0; background: url("../img/ilustracoes/majolica.svg") 0 0 / clamp(120px, 12vw, 180px); }
.majolica__fig { margin: 0 auto; max-width: 1080px; }
.majolica__fig img { width: 100%; height: auto; border: clamp(8px, 1.2vw, 14px) solid #fbfaf7; box-shadow: 0 24px 60px rgba(17, 41, 90, .35); }
.majolica__fig figcaption {
  display: grid; gap: 6px; max-width: 560px; margin: 0 auto; padding: 18px 24px 20px; text-align: center;
  background: #fbfaf7; color: #11295a; font-family: var(--serif); font-size: 1.3rem; line-height: 1.35;
  box-shadow: 0 16px 40px rgba(17, 41, 90, .25);
}
.majolica__fig figcaption strong { font-weight: 500; }
.majolica__fig figcaption small { font-family: var(--sans); font-size: 12px; color: #6d7ea4; }
.majolica__fig figcaption { display: block; }
.majolica__fig figcaption small { display: block; margin-top: 6px; }
/* logos brancos (Cyrela) ficam em cobalto escuro sobre o fundo claro do Capri */
html[data-grife="dg"] main .by-cyrela img { filter: brightness(0) invert(13%) sepia(52%) saturate(2400%) hue-rotate(212deg) brightness(.9); }
/* azulejo das faixas = amostra oficial Blu Mediterraneo (site do Capri), no lugar do desenho próprio */
html[data-grife="dg"] { --majolica: url("../img/projetos/dg/blu-mediterraneo.jpg"); }
.majolica { background-image: url("../img/projetos/dg/blu-mediterraneo.jpg"); }

/* Capri: seção Dolce&Gabbana Casa e as estampas */
.dgcasa { background: var(--bg); padding-bottom: clamp(56px, 8vw, 112px); }
.dgcasa__hero { position: relative; margin: 0; }
.dgcasa__hero img { width: 100%; height: clamp(360px, 62vh, 640px); object-fit: cover; object-position: 50% 45%; }
.dgcasa__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 24, 56, 0) 35%, rgba(8, 24, 56, .78) 100%); }
.dgcasa__hero figcaption { position: absolute; left: 0; right: 0; bottom: clamp(24px, 5vh, 56px); z-index: 1; color: #fff; }
.dgcasa__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; }
.dgcasa__hero p { max-width: 52ch; margin-top: 12px; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; color: rgba(255, 255, 255, .9); }
.dgcasa__sub { margin: clamp(48px, 7vw, 88px) 0 clamp(24px, 3vw, 36px); font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--text); }
.dgcasa__prints { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .dgcasa__prints { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.dgcasa__prints img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; box-shadow: 0 18px 40px rgba(17, 41, 90, .18); }
.dgcasa__prints h4 { margin: 18px 0 6px; font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 1.8vw, 1.6rem); color: var(--text); }
.dgcasa__prints p { font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 34ch; }
.dgcasa__src { margin-top: 28px; }
@media (max-width: 480px) { .dgcasa__prints p { font-size: 13px; } }
/* Capri: studios e 1 dormitório do nº 372 */
.capri372__lead { max-width: 40ch; color: var(--muted); }
.capri372__units { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 768px) { .capri372__units { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.capri372__units li { display: grid; gap: 6px; padding: 24px 24px 26px; background: var(--bg); }
.capri372__units strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; color: var(--text); }
.capri372__units span { font-size: 14px; color: var(--muted); }

/* Capri: tipografia do logo do projeto (Jost, geométrica no estilo Futura do "CAPRI LIFESTYLE").
   Títulos em caixa-alta como o logo; rótulos com o espaçamento largo do "LIFESTYLE". */
html[data-grife="dg"] { --serif: "Jost", "Futura", "Century Gothic", sans-serif; --sans: "Jost", "Futura", "Century Gothic", sans-serif; }
html[data-grife="dg"] body { font-weight: 300; letter-spacing: .01em; }
html[data-grife="dg"] .ph2__title, html[data-grife="dg"] main .h2, html[data-grife="dg"] main .h3,
html[data-grife="dg"] .dgcasa__title, html[data-grife="dg"] .dgcasa__sub, html[data-grife="dg"] .dgcasa__prints h4 {
  font-weight: 400; text-transform: uppercase; letter-spacing: .04em; line-height: 1.06;
}
html[data-grife="dg"] .ph2__title { font-size: clamp(2.2rem, 8.6vw, 3.4rem); letter-spacing: .03em; max-width: 16ch; }
@media (min-width: 1024px) { html[data-grife="dg"] .ph2__title { font-size: clamp(2.6rem, 3.9vw, 4.1rem); } }
html[data-grife="dg"] main .h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
html[data-grife="dg"] main .h2 em, html[data-grife="dg"] .ph2__title em { font-style: normal; color: var(--gold); }
html[data-grife="dg"] .dgcasa__title { font-size: clamp(2rem, 5vw, 3.8rem); letter-spacing: .06em; }
html[data-grife="dg"] .dgcasa__sub { font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: .08em; }
html[data-grife="dg"] .dgcasa__prints h4 { font-size: clamp(1rem, 1.4vw, 1.2rem); letter-spacing: .12em; }
html[data-grife="dg"] .ph2__sig, html[data-grife="dg"] .proj-aka { font-style: normal; text-transform: uppercase; letter-spacing: .28em; font-size: .95rem; }
html[data-grife="dg"] .eyebrow, html[data-grife="dg"] .proj-crumb { letter-spacing: .3em; }
html[data-grife="dg"] .proj-specs dd, html[data-grife="dg"] .capri372__units strong { font-weight: 400; }
html[data-grife="dg"] .capri372__units strong { letter-spacing: .02em; }
html[data-grife="dg"] .majolica__fig figcaption { font-size: 1.1rem; font-weight: 300; }
html[data-grife="dg"] .majolica__fig figcaption strong { text-transform: uppercase; letter-spacing: .12em; font-weight: 500; }
/* a marca do Adolfo não muda de fonte nas páginas temáticas */
html[data-grife] .brand__name { font-family: "Cormorant Garamond", "Cormorant", Georgia, serif; letter-spacing: .01em; text-transform: none; }
html[data-grife] .brand__tag { font-family: "Manrope", system-ui, sans-serif; }

/* ---------- Plantas oficiais (site da Cyrela) ---------- */
.cy-tours { display: flex; flex-wrap: wrap; gap: 10px; }
#plantas .plans__tabs { margin: 0 0 24px; }
.cy-plans[hidden] { display: none; }
.cy-plans__info { margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.cy-plans__grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.cy-plans__grid figure { margin: 0; display: grid; gap: 10px; }
.cy-plans__grid button { display: block; padding: 0; border: 1px solid var(--line); background: #fff; cursor: zoom-in; }
.cy-plans__grid img { width: 100%; height: 240px; object-fit: contain; padding: 10px; }
.cy-plans__grid figcaption { font-size: 13.5px; color: var(--muted); }

/* Como chegar (Google Maps e Waze) */
.proj-route { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* Carta de lançamentos: nome e telefone lado a lado */
.nl-pair { display: grid; gap: 12px; }
@media (min-width: 640px) { .nl-pair { grid-template-columns: 1fr 1fr; } }

/* ---------- Tipografia de cada projeto (fontes livres, hospedadas em assets/fonts) ----------
   Equivalentes gratuitos das fontes dos sites oficiais. size-adjust deixa as letras na mesma
   escala da Cormorant, para os títulos não ficarem maiores que no resto do site.
   Heritage = Tenor Sans (a oficial) · Portrait = Libre Caslon (Athelas) · La Galerie = Archivo (Acumin) · Epic = Outfit (Graphie).
   O Capri usa Jost (Futura), carregada por projeto.js. A página escolhe a fonte por <html data-fonte="…">. */
@font-face { font-family: "Tenor Sans Site"; src: url("../fonts/tenor-sans.woff2") format("woff2"); font-weight: 400; font-display: swap; size-adjust: 76%; }
@font-face { font-family: "Libre Caslon Site"; src: url("../fonts/libre-caslon.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; size-adjust: 84%; }
@font-face { font-family: "Libre Caslon Site"; src: url("../fonts/libre-caslon-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; size-adjust: 84%; }
@font-face { font-family: "Libre Caslon Site"; src: url("../fonts/libre-caslon-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; size-adjust: 84%; }
@font-face { font-family: "Archivo Site"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 300 600; font-display: swap; size-adjust: 78%; }
@font-face { font-family: "Outfit Site"; src: url("../fonts/outfit.woff2") format("woff2"); font-weight: 300 600; font-display: swap; size-adjust: 80%; }
html[data-fonte="heritage"] { --serif: "Tenor Sans Site", "Tenor Sans", sans-serif; }
html[data-fonte="portrait"] { --serif: "Libre Caslon Site", "Libre Caslon Text", Georgia, serif; }
html[data-fonte="lagalerie"] { --serif: "Archivo Site", "Archivo", sans-serif; }
html[data-fonte="epic"] { --serif: "Outfit Site", "Outfit", sans-serif; }
/* fontes sem itálico de verdade: o destaque fica só na cor */
html[data-fonte="heritage"] em, html[data-fonte="lagalerie"] em, html[data-fonte="epic"] em { font-style: normal; }
html[data-fonte="heritage"] :is(h1, h2, h3, .display, .h2, .h3) { letter-spacing: .01em; }
html[data-fonte="lagalerie"] :is(h1, h2, h3, .display, .h2, .h3, .ph2__title) { font-weight: 300; letter-spacing: -.01em; }
html[data-fonte="epic"] :is(h1, h2, h3, .display, .h2, .h3, .ph2__title) { font-weight: 300; letter-spacing: -.005em; }
html[data-fonte="portrait"] :is(h1, h2, h3, .display, .h2, .h3, .ph2__title) { font-weight: 400; letter-spacing: -.005em; }
/* a marca do Adolfo não muda de fonte */
html[data-fonte] .brand__name { font-family: "Cormorant Garamond", "Cormorant", Georgia, serif; letter-spacing: .01em; }
html[data-fonte="lagalerie"] .ph2__sig, html[data-fonte="epic"] .ph2__sig { font-style: normal; letter-spacing: .02em; }

/* Mapbox ligado: o mapa já vem nas cores certas, sem filtro */
.is-mapbox .leaflet-tile-pane { filter: none !important; }

/* Falha no envio de formulário */
.form__fail { margin-top: 12px; font-size: 13.5px; color: var(--error); }
.form__fail .link { color: var(--text); }

/* ---------- Logo ADOLFO (opção 1, aprovada em 02/10/2026) ----------
   Desenho em curvas (assets/img/marca, gerado por .claude/logo/gera-logo.ps1). Aplicado como máscara:
   a cor segue o texto da página (marfim no azul-marinho, cobalto no Capri). Proporção 4,73 : 1. */
.brand { color: var(--text); align-items: center; }
.brand__logo {
  display: block; height: var(--logo-h, 22px); aspect-ratio: 3666 / 775; background-color: currentColor;
  -webkit-mask: url("../img/marca/adolfo-marfim-p.svg") no-repeat center / contain;
          mask: url("../img/marca/adolfo-marfim-p.svg") no-repeat center / contain;
}
.site-header .brand { --logo-h: 20px; }
@media (min-width: 768px) { .site-header .brand { --logo-h: 23px; } }
.brand--footer { --logo-h: 30px; display: inline-flex; }
.brand:hover { color: var(--gold-2); }

/* ---------- Selo "Corretor exclusivo Cyrela" no cabeçalho, centralizado entre o logo e o menu ----------
   Só no computador (no celular não cabe: lá ele continua na capa da Home, logo abaixo do cabeçalho). */
.header-seal { display: none; margin: 0 auto; }
@media (min-width: 1024px) {
  .site-header .brand { margin-right: 0; }
  .header-seal { display: inline-flex; padding: 6px 12px; }
  .header-seal .seal__logo { height: 15px; }
  .hx__sealbar { display: none; }
}
@media (min-width: 1024px) and (max-width: 1180px) { .header-seal { font-size: 9px; letter-spacing: .1em; padding: 5px 9px; } }
html[data-grife="dg"] .header-seal { border-color: rgba(31, 79, 163, .35); color: var(--gold); }
html[data-grife="dg"] .header-seal .seal__logo { filter: brightness(0) invert(13%) sepia(52%) saturate(2400%) hue-rotate(212deg) brightness(.9); }
/* CRECI no selo, separado por um fio */
.seal__creci { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); letter-spacing: .1em; }
.seal__creci::before { content: ""; width: 1px; height: 12px; background: rgba(184, 154, 94, .45); }
@media (min-width: 1024px) and (max-width: 1240px) { .header-seal .seal__creci { display: none; } }
@media (min-width: 1024px) {
  .header-seal { font-size: 9px; letter-spacing: .1em; gap: 7px; padding: 6px 10px; }
  .header-seal .seal__logo { height: 13px; }
  .header-seal .seal__creci { gap: 7px; letter-spacing: .06em; }
  .header-seal::before { display: none; } /* sem a bolinha dourada: o selo fica mais curto */
}
/* cabeçalho: logo, selo, menu e WhatsApp no mesmo eixo vertical */
.site-header .header-seal { align-self: center; line-height: 1; }
@media (min-width: 1024px) { .site-header .nav a { display: inline-block; line-height: 1; } }
@media (min-width: 1024px) { .site-header .nav ul { align-items: center; } .site-header .nav li { display: flex; align-items: center; } }
/* Capa: foto mais larga (pedido do Adolfo em 02/10/2026) — começa logo depois do texto */
@media (min-width: 1024px) {
  .hx2__media { width: 53vw; }
  .hx2__text > * { max-width: calc(47vw - 40px - max(var(--gut), (100vw - var(--max)) / 2 + var(--gut))); }
  .hx2__index li { margin-right: 0; }
}

/* ---------- Pré-lançamento: fita diagonal no canto (Home) ----------
   Placa de rua de SP (azul, filete branco) cortando o canto superior direito. Fica fixa no canto;
   em telas largas cobre o canto do cabeçalho, nas demais fica logo abaixo dele. */
.fita-canto { position: fixed; top: var(--hh); right: 0; z-index: 60; width: 116px; height: 116px; overflow: hidden; pointer-events: none; }
.fita-canto__placa {
  position: absolute; top: 24px; right: -54px; width: 200px; transform: rotate(45deg);
  display: grid; gap: 2px; justify-items: center; padding: 6px 0 7px; pointer-events: auto;
  background: #1f4f97; color: #fff; font-family: Arial, Helvetica, sans-serif; text-transform: uppercase; line-height: 1;
  box-shadow: inset 0 0 0 2px #1f4f97, inset 0 0 0 3.5px rgba(255, 255, 255, .92), 0 10px 22px rgba(0, 0, 0, .4);
  transition: background-color .3s var(--ease);
}
.fita-canto__placa small { font-size: 7.5px; font-weight: 700; letter-spacing: .14em; opacity: .9; }
.fita-canto__placa strong { font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.fita-canto:hover .fita-canto__placa, .fita-canto:focus-visible .fita-canto__placa { background: #2459a6; }
.fita-canto:focus-visible { outline: none; }
.menu-open .fita-canto { display: none; }
@media (min-width: 1024px) {
  .fita-canto { width: 150px; height: 150px; }
  .fita-canto__placa { top: 34px; right: -62px; width: 250px; padding: 8px 0 9px; }
  .fita-canto__placa small { font-size: 8.5px; }
  .fita-canto__placa strong { font-size: 14px; }
}
/* tela larga: sobra espaço à direita do botão do WhatsApp, então a fita sobe e corta o canto da tela */
@media (min-width: 1560px) { .fita-canto { top: 0; width: 170px; height: 170px; } .fita-canto__placa { top: 40px; right: -66px; width: 280px; } }
@media (prefers-reduced-motion: no-preference) {
  .fita-canto__placa { animation: fita-entra .9s .6s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes fita-entra { from { transform: rotate(45deg) translateY(-120%); } to { transform: rotate(45deg) translateY(0); } }
}
@media (min-width: 1500px) { .fita-canto { top: 0; } }
/* celular: selo da capa compacto (cabe com o CRECI) e a fita logo abaixo dele */
@media (max-width: 1023px) {
  .hx2 .hx__seal { font-size: 8.5px; letter-spacing: .08em; gap: 6px; padding: 6px 9px; max-width: 100%; }
  .hx2 .hx__seal::before { display: none; }
  .hx2 .hx__seal .seal__logo { height: 12px; }
  .hx2 .hx__seal .seal__creci { gap: 6px; letter-spacing: .04em; }
  .fita-canto { top: calc(var(--hh) + 46px); }
}

/* =========================================================================
   CAPA VERSÃO 3 (02/10/2026) — foto em tela cheia, título em caixa-alta com pílula e cartões de vidro.
   Anterior: _capa-anterior.html (estilos .hx2 continuam acima).
   ========================================================================= */
.hx3 { position: relative; overflow: hidden; background: var(--bg); color: #fff; }
.hx3__bg { position: absolute; inset: 0 0 auto 0; width: 100%; height: 58svh; object-fit: cover; object-position: 50% 60%; }
.hx3::before { /* leitura do texto sobre a foto */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 58svh; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 22, 40, .55) 0%, rgba(10, 22, 40, .05) 40%, rgba(10, 22, 40, .6) 80%, var(--bg) 100%);
}
.hx3__grid { position: relative; z-index: 1; display: grid; gap: 14px; padding-top: calc(var(--hh) + 60px); padding-bottom: 32px; }
.hx3__head { display: grid; gap: 18px; justify-items: start; min-height: calc(58svh - var(--hh) - 76px); align-content: end; padding-bottom: 6px; }
.hx3__title { font-family: var(--sans); font-weight: 500; text-transform: uppercase; font-size: clamp(2rem, 9vw, 3rem); line-height: .98; letter-spacing: -.025em; max-width: 12ch; text-wrap: balance; }
.hx3__pill {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 26px; border-radius: 999px;
  background: #fff; color: var(--bg); font-size: 13px; font-weight: 500; letter-spacing: .02em;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.hx3__pill:hover { background: var(--gold-2); }
/* cartões: vidro (computador) e sólido no celular */
.hx3__card, .hx3__stat, .hx3__note { border-radius: 22px; }
.hx3__card { display: grid; gap: 14px; padding: 16px; background: var(--bg-2); border: 1px solid rgba(255, 255, 255, .12); color: #fff; }
.hx3__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hx3__tags span { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); font-size: 11px; color: rgba(255, 255, 255, .88); }
.hx3__top-body { display: grid; grid-template-columns: 1fr 112px; gap: 14px; align-items: start; }
.hx3__top-text { font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.hx3__top-text strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: #fff; }
.hx3__thumb { width: 112px; height: 112px; object-fit: cover; border-radius: 16px; }
.hx3__card--top:hover .hx3__top-text strong { color: var(--gold-2); }
.hx3__slides { position: relative; }
.hx3__slide { display: none; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; color: #fff; }
.hx3__slide.is-on { display: grid; }
.hx3__slide img { width: 92px; height: 116px; object-fit: cover; border-radius: 14px; }
.hx3__slide span { font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .8); }
.hx3__slide strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.15; color: #fff; }
.hx3__nav { display: flex; align-items: center; gap: 12px; }
.hx3__nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.hx3__nav button:hover { background: rgba(255, 255, 255, .14); }
.hx3__count { font-size: 12px; letter-spacing: .08em; color: rgba(255, 255, 255, .7); }
.hx3__stat { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: center; gap: 4px 12px; padding: 14px 4px; color: #fff; }
.hx3__faces { grid-row: span 2; display: flex; }
.hx3__faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); margin-left: -12px; }
.hx3__faces img:first-child { margin-left: 0; }
.hx3__stat strong { font-family: var(--sans); font-weight: 500; font-size: 2.2rem; line-height: 1; }
.hx3__stat span:last-child { font-size: 12.5px; line-height: 1.4; color: rgba(255, 255, 255, .75); max-width: 24ch; }
.hx3__note { display: grid; gap: 10px; padding: 4px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.hx3__link { justify-self: start; font-size: 13px; font-weight: 500; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 2px; }
.hx3__link:hover { color: var(--gold-2); border-color: var(--gold-2); }

@media (min-width: 1024px) {
  .hx3 { min-height: 100svh; }
  .hx3__bg, .hx3::before { height: 100%; }
  .hx3::before { background: linear-gradient(100deg, rgba(10, 22, 40, .62) 0%, rgba(10, 22, 40, .18) 45%, rgba(10, 22, 40, .05) 70%), linear-gradient(0deg, rgba(10, 22, 40, .75) 0%, rgba(10, 22, 40, 0) 38%), linear-gradient(180deg, rgba(10, 22, 40, .5) 0%, rgba(10, 22, 40, 0) 22%); }
  .hx3__grid {
    min-height: 100svh; padding-top: calc(var(--hh) + clamp(28px, 6vh, 60px)); padding-bottom: clamp(24px, 4vh, 40px);
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto;
    grid-template-areas: "head head top" ". . ." "proj stat note"; column-gap: 24px;
  }
  .hx3__head { grid-area: head; min-height: 0; align-content: start; grid-template-columns: auto auto; align-items: end; justify-content: start; column-gap: 28px; }
  .hx3__title { font-size: clamp(2.8rem, 5.2vw, 5.4rem); max-width: 13ch; }
  .hx3__pill { margin-bottom: .6em; }
  .hx3__card, .hx3__stat { background: rgba(10, 22, 40, .32); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-color: rgba(255, 255, 255, .18); }
  .hx3__card--top { grid-area: top; align-self: start; padding: 18px; }
  .hx3__card--proj { grid-area: proj; align-self: end; background: rgba(184, 154, 94, .26); max-width: 420px; }
  .hx3__stat { grid-area: stat; align-self: end; justify-self: center; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; }
  .hx3__note { grid-area: note; align-self: end; justify-self: end; max-width: 330px; }
}
@media (min-width: 1024px) and (max-height: 720px) { .hx3__title { font-size: clamp(2.6rem, 4.6vw, 4.4rem); } .hx3__slide img { height: 96px; } }
/* máquinas modestas (classe .lite): sem desfoque, vidro vira tom sólido */
.lite .hx3__card { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10, 22, 40, .78); }
.lite .hx3__card--proj { background: rgba(60, 52, 34, .85); }
@media (min-width: 1024px) { .hx3__title { font-size: clamp(2.6rem, 4.3vw, 4.6rem); max-width: 15ch; } }
@media (min-width: 1024px) and (max-height: 720px) { .hx3__title { font-size: clamp(2.4rem, 3.9vw, 3.9rem); } }
@media (min-width: 1024px) {
  .hx3::before { background:
    radial-gradient(70% 70% at 18% 28%, rgba(10, 22, 40, .62) 0%, rgba(10, 22, 40, 0) 70%),
    linear-gradient(0deg, rgba(10, 22, 40, .78) 0%, rgba(10, 22, 40, 0) 40%),
    linear-gradient(180deg, rgba(10, 22, 40, .55) 0%, rgba(10, 22, 40, 0) 24%); }
  .hx3__title { text-shadow: 0 2px 30px rgba(10, 22, 40, .35); }
}
.hx3__bg { z-index: 0; }
.hx3::before { z-index: 1; }
.hx3__grid, .hx3 .hx__sealbar { z-index: 2; }


/* =========================================================================
   TEMA v3 (02/10/2026) — o site inteiro na linguagem da capa nova:
   fotos amplas, títulos em caixa-alta sem serifa, botões em pílula, cartões de vidro, cantos arredondados.
   Incorporado ao style.css em 03/10/2026 (antes era tema.css separado).
   Visual anterior completo: backup em .claude/backup-tema-v2 (guardar até publicar).
   As páginas de grife com fonte própria (html[data-fonte], Capri = data-grife="dg") mantêm a sua tipografia.
   ========================================================================= */
:root {
  --r-lg: 26px; --r-md: 18px; --r-sm: 12px;
  --glass: rgba(255, 255, 255, .055);
  --glass-strong: rgba(10, 22, 40, .38);
  --glass-line: rgba(255, 255, 255, .14);
  --blur: blur(16px) saturate(1.2);
}

/* ---------- Tipografia: títulos grandes em caixa-alta, sem serifa ---------- */
:root:not([data-fonte]):not([data-grife="dg"]) { --serif: var(--sans); }
:root:not([data-fonte]):not([data-grife="dg"]) :is(h1, h2, h3) em { font-style: normal; color: var(--gold-2); }
:root:not([data-fonte]):not([data-grife="dg"]) h2.h3 { text-transform: uppercase; font-weight: 500; letter-spacing: -.015em; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.02; }
:root:not([data-fonte]):not([data-grife="dg"]) :is(.display, .h2, .zone__title, .ph2__title, .proj-head .h2, .dgcasa__title) {
  font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: -.025em; line-height: .98;
}
:root:not([data-fonte]):not([data-grife="dg"]) .display { font-size: clamp(2.2rem, 6.4vw, 4.6rem); }
:root:not([data-fonte]):not([data-grife="dg"]) .h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
:root:not([data-fonte]):not([data-grife="dg"]) .zone__title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
:root:not([data-fonte]):not([data-grife="dg"]) :is(.display, .h2, .zone__title) em { font-style: normal; color: var(--gold-2); }
:root:not([data-fonte]):not([data-grife="dg"]) :is(.h3, .tile h2, .tile h3, .teaser__name, .hx3__top-text strong, .hx3__slide strong) {
  font-family: var(--sans); font-weight: 500; letter-spacing: -.01em;
}

/* ---------- Rótulos em pílula ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--glass-line); border-radius: 999px; background: var(--glass); }
.eyebrow::before { width: 6px; height: 6px; border-radius: 50%; }
.card__status { border-radius: 999px; background: rgba(10, 22, 40, .55); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-color: var(--glass-line); }
.card__status--lancamento { background: var(--gold); }
.chip, .seal, .filters__toggle, .view-switch, .view-switch button, .map-regions, .map-regions button:first-child, .map-regions button:last-child, .plans__tabs button, .tabs button { border-radius: 999px; }
.map-regions { overflow: hidden; }
.seal { background: rgba(10, 22, 40, .4); }

/* ---------- Botões em pílula ---------- */
.btn { border-radius: 999px; }
.btn--solid { background: #fff; color: var(--bg); border-color: #fff; }
.btn--solid:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--bg); }
.btn:not(.btn--solid) { border-color: var(--glass-line); background: var(--glass); }
.btn:not(.btn--solid):hover { border-color: var(--gold-2); }
.site-header .header-wa { border-radius: 999px; }
.cmp-btn { border-radius: 999px; }

/* ---------- Cabeçalho: vidro ao rolar ---------- */
.site-header.is-scrolled { background: rgba(10, 22, 40, .72); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.lite .site-header.is-scrolled { background: rgba(10, 22, 40, .94); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- Cartões e blocos de vidro ---------- */
.tiles { gap: 14px; background: none; border: 0; }
.tile, .bg-2 .tile { border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-line); }
.tile:hover, .bg-2 .tile:hover { background: rgba(255, 255, 255, .09); }
.teaser { padding: 18px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-line); }
.proj-specs { gap: 12px; }
.proj-specs div { padding: 16px 18px; border: 1px solid var(--glass-line); border-radius: var(--r-md); background: var(--glass); }
.capri372__units { gap: 12px; background: none; border: 0; }
.capri372__units li { border-radius: var(--r-md); border: 1px solid var(--line-2); }
.around, .zones, .filters__panel { border-radius: var(--r-lg); }
.around { background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.toolbar { background: rgba(10, 22, 40, .78); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.lite .toolbar { background: rgba(10, 22, 40, .97); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- Fotos, mapas e plantas com cantos arredondados ---------- */
.card__media, .feature__media, .media, .peek__item, .proj-rel__img, .proj-strip figure button, .proj-obra button,
.cy-plans__grid button, .gallery figure, .mtc__photo, .about__photo, .about__media, .hr-gal figure {
  border-radius: var(--r-lg); overflow: hidden;
}
.card__media img, .feature__media img, .proj-strip img, .proj-obra img, .dgcasa__prints img, .majolica__fig img, .hx3__thumb { border-radius: inherit; }
.dgcasa__prints img { border-radius: var(--r-md); }
.majolica__fig img { border-radius: var(--r-lg); }
#projects-map, .proj-map, .mp__canvas, .mp__map { border-radius: var(--r-lg); overflow: hidden; }
.minimap { border-radius: var(--r-md); overflow: hidden; }
.chapter-float { border-radius: 999px; }
.fineprint { opacity: .85; }

/* ---------- Formulários: campos em cápsula ---------- */
.input, .field input, .field select, .field textarea {
  border: 1px solid var(--glass-line); border-radius: var(--r-sm); background: var(--glass); padding-left: 14px; padding-right: 14px;
}
.field select { padding-right: 32px; background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.filter select { border: 1px solid var(--glass-line); border-radius: 999px; padding: 4px 30px 4px 14px; background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; }
.newsletter, .lista, .hr-form { border-radius: var(--r-lg); }

/* ---------- Diálogos (agendar visita, foto ampliada, comparador) ---------- */
dialog { border-radius: var(--r-lg); }
dialog.lb, dialog.mp-zoom { border-radius: 0; }

/* ---------- Topo das páginas de projeto: foto em tela cheia + cartão de vidro ---------- */
@media (min-width: 1024px) {
  .ph2:not(.ph2--nomedia) { min-height: 100svh; justify-content: flex-end; }
  .ph2:not(.ph2--nomedia) .ph2__media { inset: 0; width: auto; }
  .ph2:not(.ph2--nomedia) .ph2__media > img { object-position: 50% 40%; }
  .ph2:not(.ph2--nomedia) .ph2__media::after {
    background: linear-gradient(90deg, rgba(var(--bg-rgb, 10, 22, 40), .55) 0%, rgba(var(--bg-rgb, 10, 22, 40), .1) 55%, rgba(var(--bg-rgb, 10, 22, 40), 0) 75%),
                linear-gradient(0deg, rgba(var(--bg-rgb, 10, 22, 40), .55) 0%, rgba(var(--bg-rgb, 10, 22, 40), 0) 40%),
                linear-gradient(180deg, rgba(var(--bg-rgb, 10, 22, 40), .55) 0%, rgba(var(--bg-rgb, 10, 22, 40), 0) 22%);
  }
  .ph2:not(.ph2--nomedia) .ph2__text {
    width: min(620px, calc(100% - 2 * var(--gut))); margin: calc(var(--hh) + 40px) 0 clamp(28px, 5vh, 56px) max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut)));
    padding: 30px 32px 32px; border-radius: 28px; gap: 14px;
    background: rgba(var(--bg-rgb, 10, 22, 40), .42); border: 1px solid var(--glass-line);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  }
  .ph2:not(.ph2--nomedia) .ph2__text > * { max-width: 100%; }
  .ph2:not(.ph2--nomedia) .ph2__title { font-size: clamp(2.2rem, 3.6vw, 3.6rem); max-width: 18ch; }
  .ph2:not(.ph2--nomedia) .ph2__media .card__logo { left: auto; right: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); bottom: clamp(28px, 5vh, 56px); }
  .ph2__media--croqui img { height: 80%; }
  .lite .ph2:not(.ph2--nomedia) .ph2__text { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(var(--bg-rgb, 10, 22, 40), .86); }
  /* Capri (tema claro): o cartão vira cerâmica translúcida; a faixa de azulejo fica na borda da foto */
  html[data-grife="dg"] .ph2:not(.ph2--nomedia) .ph2__text { background: rgba(248, 245, 238, .84); border-color: rgba(17, 41, 90, .14); }
  html[data-grife="dg"] .ph2:not(.ph2--nomedia) .ph2__media::after { background: linear-gradient(180deg, rgba(248, 245, 238, .7) 0%, rgba(248, 245, 238, 0) 20%); }
  html[data-grife="dg"] .ph2:not(.ph2--nomedia) .ph2__text { margin-left: max(calc(var(--gut) + 120px), calc((100vw - var(--max)) / 2 + var(--gut) + 80px)); }
}

/* ---------- Topos das páginas internas ---------- */
.page-hero { border-bottom: 0; }

/* ---------- Heritage ---------- */
.hr-hero__meta span { padding: 6px 12px; border: 1px solid var(--glass-line); border-radius: 999px; background: rgba(10, 22, 40, .35); }

/* ---------- Rodapé ---------- */
.site-footer { border-radius: 32px 32px 0 0; }
.footer-cred img { border-radius: 0; }

/* ---------- Mapa: balão e controles ---------- */
.map-popup .leaflet-popup-content-wrapper, .map-popup .leaflet-popup-tip { border-radius: var(--r-md); }
.map-pop__img { border-radius: var(--r-sm) var(--r-sm) 0 0; }
.leaflet-bar { border-radius: var(--r-sm); overflow: hidden; }

/* ---------- Capri (tema claro Majolica): selo e vidros em versão clara ---------- */
html[data-grife="dg"] .seal { background: rgba(248, 245, 238, .78); border-color: rgba(17, 41, 90, .18); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
html[data-grife="dg"] :is(.eyebrow, .proj-specs div, .tile, .teaser, .btn:not(.btn--solid)) { background: rgba(17, 41, 90, .04); border-color: rgba(17, 41, 90, .16); }
html[data-grife="dg"] .btn--solid { background: var(--gold); border-color: var(--gold); color: #fff; }
html[data-grife="dg"] .site-header.is-scrolled { background: rgba(248, 245, 238, .82); }

/* selo da capa no celular: cabe inteiro com o CRECI */
@media (max-width: 480px) { .hx__sealbar .seal { letter-spacing: .1em; gap: 8px; padding-left: 14px; padding-right: 14px; } }

/* ---------- Topo das páginas de projeto no celular: foto como antes + cartão de vidro subindo sobre a base dela ---------- */
@media (max-width: 1023px) {
  .ph2:not(.ph2--nomedia) .ph2__text {
    margin: calc(62svh - 150px) 12px 24px; width: auto; padding: 22px 20px; gap: 10px; border-radius: 24px;
    background: rgba(var(--bg-rgb, 10, 22, 40), .5); border: 1px solid rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  }
  .ph2:not(.ph2--nomedia) .ph2__title { font-size: 2.1rem; }
  .lite .ph2:not(.ph2--nomedia) .ph2__text { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(var(--bg-rgb, 10, 22, 40), .9); }
  html[data-grife="dg"] .ph2:not(.ph2--nomedia) .ph2__text { background: rgba(248, 245, 238, .86); border-color: rgba(17, 41, 90, .14); }
}

/* ---------- Destaque do "Em breve" no menu (substitui a fita do canto da Home, 03/10/2026) ---------- */
.nav a.nav-breve { display: inline-flex; align-items: center; gap: 7px; }
.nav-breve__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); flex: none; }
.nav-breve__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--gold-2); animation: navBreve 2.2s var(--ease) infinite; }
@keyframes navBreve { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.nav-breve__tag {
  position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%); white-space: nowrap;
  padding: 4px 10px; border-radius: 999px; background: var(--gold); color: var(--bg);
  font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; pointer-events: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.nav-breve__tag::before { content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; background: inherit; transform: rotate(45deg); border-radius: 1px; }
.nav a.nav-breve::after { display: none; }
@media (prefers-reduced-motion: reduce) { .nav-breve__dot::after { animation: none; } }
/* menu do celular: a etiqueta vira uma pílula ao lado do texto */
@media (max-width: 1023px) {
  .nav a.nav-breve { display: flex; justify-content: flex-start; }
  .nav-breve__tag { position: static; transform: none; margin-left: 10px; font-size: 8.5px; }
  .nav-breve__tag::before { display: none; }
}

/* =========================================================================
   CAPA v4 (03/10/2026): ÍNDICE DOS PROJETOS
   Os nomes dos projetos em Bodoni Moda (a letra do logo) formam a capa. O nome ativo acende
   e troca a foto da prancha vertical (as fotos das torres são verticais; a prancha respeita isso).
   Único momento de movimento da Home: a foto nova sobe por cima da anterior.
   ========================================================================= */
.home-v4 { --display: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif; }
.idx { position: relative; min-height: 100svh; padding: calc(var(--hh) + 76px) 0 40px; background: var(--bg); overflow: hidden; }
.idx .hx__sealbar { z-index: 3; }
.idx__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "plate" "list" "caption" "more"; gap: 28px; }
.idx__intro { grid-area: intro; max-width: 34rem; }
.idx__title { margin: 0; font-family: var(--display); font-optical-sizing: auto; font-weight: 400; font-style: italic; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: 0; color: var(--text); }
.idx__lead { margin: 12px 0 0; max-width: 46ch; font-size: .95rem; line-height: 1.65; color: var(--muted); }

.idx__list { grid-area: list; list-style: none; margin: 0; padding: 0; }
.idx__item {
  display: block; padding: .06em 0; font-family: var(--display); font-optical-sizing: auto; font-weight: 400;
  font-size: clamp(2.3rem, 9.5vw, 3.2rem); line-height: 1.04; letter-spacing: -.01em; color: var(--text);
  opacity: .28; transition: opacity .45s var(--ease), color .45s var(--ease);
  text-wrap: balance;
}
.idx__item.is-on { opacity: 1; }
.idx__item:focus-visible { outline: 1px solid var(--gold-2); outline-offset: 6px; opacity: 1; }

.idx__plate { grid-area: plate; position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); }
.idx__plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease); }
.idx__plate img.is-on { clip-path: inset(0 0 0 0); z-index: 1; }
.idx__plate img.was-on { clip-path: inset(0 0 0 0); z-index: 0; }

.idx__caption { grid-area: caption; display: grid; gap: 4px; margin: 0; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.idx__caption [data-idx="sig"] { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--text); }
.idx__caption [data-idx="status"] { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.idx__caption [data-idx="status"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); }

.idx__more { grid-area: more; justify-self: start; padding-bottom: 4px; border-bottom: 1px solid var(--gold); font-size: .95rem; color: var(--text); transition: color .3s var(--ease); }
.idx__more:hover { color: var(--gold-2); }

/* celular: a prancha fica presa no alto e os nomes rolam por baixo dela; o nome que passa pela faixa de leitura acende */
@media (max-width: 1023px) {
  .idx { padding-top: calc(var(--hh) + 72px); overflow: visible; }
  .idx__plate { position: sticky; top: calc(var(--hh) + 10px); z-index: 2; aspect-ratio: auto; height: 42svh; border-radius: 0; box-shadow: 0 18px 30px -10px var(--bg); }
  .idx__list { padding-bottom: 12svh; }
  .idx__item { padding: .14em 0; }
}

/* computador: índice à esquerda, prancha vertical à direita, legenda sob a prancha */
@media (min-width: 1024px) {
  .idx { display: flex; align-items: stretch; min-height: min(100svh, 1000px); padding: calc(var(--hh) + 32px) 0 28px; }
  .idx > .idx__grid { flex: 1; }
  .idx__grid {
    grid-template-columns: minmax(0, 1fr) clamp(300px, 30vw, 440px);
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "intro plate" "list plate" "more caption";
    column-gap: clamp(40px, 6vw, 110px); row-gap: 0;
  }
  .idx__intro { padding-bottom: clamp(16px, 3svh, 40px); }
  .idx__list { align-self: center; }
  .idx__item { font-size: clamp(2.2rem, min(4.4vw, 6.6svh), 5rem); line-height: 1.02; padding: .03em 0; }
  .idx__plate { align-self: stretch; aspect-ratio: auto; min-height: 380px; }
  .idx__caption { align-self: end; padding-top: 14px; grid-template-columns: 1fr auto; column-gap: 16px; }
  .idx__caption [data-idx="sig"] { grid-column: 1 / -1; }
  .idx__more { align-self: end; margin-top: clamp(16px, 2.5svh, 32px); }
  .idx .hx__sealbar { display: none; }
}
@media (prefers-reduced-motion: reduce) { .idx__plate img { transition: none; } }

/* Home v4: títulos de seção na Bodoni, em caixa normal (a capa já dá o tom; o resto fica sereno) */
.home-v4 :is(.h2, h2.h3) { font-family: var(--display); font-optical-sizing: auto; font-weight: 400; text-transform: none; letter-spacing: -.01em; line-height: 1.08; }
.home-v4 .h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.home-v4 h2.h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.home-v4 .tile h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: 0; }

/* =========================================================================
   HOME v5 (03/10/2026): ESCURO, LIMPO E COM LUZ
   Referência escolhida pelo Adolfo: ovo-redsun.webflow.io (a luz como protagonista, clima escuro e limpo).
   Fundo quase preto; uma luz quente de fim de tarde nasce atrás da foto do Heritage (a "vitrine")
   e reaparece só no contorno dos botões e das molduras. Único movimento: a luz acende ao abrir a página.
   ========================================================================= */
.home-v5 {
  --night: #060b16; --night-2: #0a1222;
  --sun: 242, 158, 82;          /* âmbar do pôr do sol (rgb) */
  --sun-hi: 255, 214, 160;      /* reflexo claro (rgb) */
  --edge: rgba(var(--sun-hi), .14);
  background: var(--night);
}
.home-v5 .site-header.is-scrolled { background: rgba(6, 11, 22, .82); }
.home-v5 .bg-2 { background: var(--night-2); }

.hx5 { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--hh) + 60px) 0 clamp(56px, 8vw, 104px); background: var(--night); text-align: center; }
.hx5__glow { position: absolute; z-index: -1; left: 50%; top: calc(var(--hh) + 40px); width: min(900px, 120vw); height: 420px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(var(--sun), .13), rgba(var(--sun), 0) 70%); pointer-events: none; }
.hx5 .hx__sealbar { justify-content: center; }
.hx5__head { position: relative; z-index: 2; display: grid; justify-items: center; gap: 22px; }
.hx5__title {
  margin: 0; max-width: 21ch; font-family: var(--sans); font-weight: 500; text-transform: uppercase;
  font-size: clamp(2.3rem, 5.4vw, 5rem); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; padding-top: .06em;
  background: linear-gradient(180deg, #fff 35%, #f4dcc0 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hx5__lead { margin: 0; max-width: 62ch; font-size: clamp(.98rem, 1.2vw, 1.1rem); line-height: 1.65; color: var(--muted); }
.hx5__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.hx5__btn {
  display: inline-flex; align-items: center; min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-size: .95rem; font-weight: 500; color: var(--text);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(var(--sun-hi), .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.hx5__btn:hover { border-color: rgba(var(--sun-hi), .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 28px -6px rgba(var(--sun), .45); }
.hx5__btn--solid { color: #0a1628; background: #fff; border-color: #fff; box-shadow: 0 12px 40px -10px rgba(var(--sun), .7); }
.hx5__btn--solid:hover { background: #fff1de; border-color: #fff1de; box-shadow: 0 14px 48px -8px rgba(var(--sun), .85); }
.hx5__btn:focus-visible { outline: 2px solid rgba(var(--sun-hi), .9); outline-offset: 3px; }

/* a vitrine: a foto do Heritage com o sol nascendo atrás dela */
.hx5__stage { position: relative; margin-top: clamp(48px, 6vw, 72px); }
.hx5__stage::before {
  content: ""; position: absolute; z-index: 0; left: 50%; top: 0; width: min(1200px, 140%); aspect-ratio: 2.2 / 1;
  transform: translate(-50%, -46%);
  background: radial-gradient(50% 50% at 50% 55%, rgba(var(--sun-hi), .7) 0%, rgba(var(--sun), .42) 32%, rgba(var(--sun), .12) 55%, rgba(var(--sun), 0) 72%);
  filter: blur(28px); pointer-events: none;
}
.hx5__vitrine {
  position: relative; z-index: 1; display: block; overflow: hidden; border-radius: 28px;
  border: 1px solid rgba(var(--sun-hi), .22);
  box-shadow: 0 -10px 60px -24px rgba(var(--sun), .55), 0 50px 90px -30px rgba(0, 0, 0, .85);
}
.hx5__vitrine::before { content: ""; position: absolute; z-index: 2; top: 0; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--sun-hi), .95), transparent); }
.hx5__vitrine::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, rgba(6, 11, 22, 0), rgba(6, 11, 22, .75)); pointer-events: none; }
.hx5__vitrine img { display: block; width: 100%; aspect-ratio: 16 / 7.4; object-fit: cover; object-position: 50% 62%; transition: transform 1.2s var(--ease); }
.hx5__vitrine:hover img { transform: scale(1.02); }
.hx5__caption { position: absolute; z-index: 2; left: clamp(20px, 3vw, 36px); bottom: clamp(18px, 2.6vw, 32px); display: grid; gap: 4px; text-align: left; }
.hx5__caption strong { font-weight: 500; font-size: clamp(1.15rem, 1.8vw, 1.6rem); letter-spacing: -.01em; color: #fff; }
.hx5__caption span { font-size: .9rem; color: rgba(233, 228, 218, .8); }

/* a luz acende uma vez ao abrir a página */
@keyframes hx5Sun { from { opacity: 0; transform: translate(-50%, -20%) scale(.7); } to { opacity: 1; transform: translate(-50%, -46%) scale(1); } }
@keyframes hx5Up { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
.js .hx5__stage::before { animation: hx5Sun 2.6s cubic-bezier(.16, .8, .24, 1) .15s both; }
.js .hx5__vitrine { animation: hx5Up 1.3s var(--ease) .1s both; }
@media (prefers-reduced-motion: reduce) { .js .hx5__stage::before, .js .hx5__vitrine { animation: none; } }

@media (max-width: 767px) {
  .hx5 { padding-top: calc(var(--hh) + 88px); }
  .hx5__vitrine { border-radius: 20px; }
  .hx5__vitrine img { aspect-ratio: 4 / 5; object-position: 46% 60%; }
  .hx5__stage::before { width: 190%; }
}
@media (min-width: 1024px) { .hx5 .hx__sealbar { display: none; } }

/* projetos em destaque: fotos verticais em molduras iluminadas */
.dst { background: var(--night); }
.dst__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, 3vw, 36px); }
.dst__head .h3 { margin: 0; white-space: nowrap; }
.dst__all { padding-bottom: 3px; border-bottom: 1px solid rgba(var(--sun-hi), .5); font-size: .95rem; color: var(--text); white-space: nowrap; transition: color .3s var(--ease), border-color .3s var(--ease); }
.dst__all:hover { color: #fff1de; border-color: rgba(var(--sun-hi), .9); }
.dst__row { display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 8px; scrollbar-width: none; }
.dst__row::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .dst__row { grid-auto-columns: 38%; } }
@media (min-width: 1024px) { .dst__row { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 0; padding: 0; overflow: visible; } }
.dst__card { display: grid; gap: 4px; align-content: start; scroll-snap-align: start; color: var(--text); }
.dst__ph { display: block; overflow: hidden; aspect-ratio: 3 / 4; margin-bottom: 12px; border-radius: 20px; border: 1px solid var(--edge); background: var(--bg-3); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .9); transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.dst__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.dst__card:hover .dst__ph, .dst__card:focus-visible .dst__ph { border-color: rgba(var(--sun-hi), .45); box-shadow: 0 0 44px -12px rgba(var(--sun), .5), 0 30px 60px -34px rgba(0, 0, 0, .9); }
.dst__card:hover .dst__ph img { transform: scale(1.035); }
.dst__card:focus-visible { outline: none; }
.dst__card strong { font-weight: 500; font-size: 1.05rem; letter-spacing: -.01em; }
.dst__card > span:last-child { font-size: .875rem; color: var(--muted); }

/* demais blocos da Home na mesma luz: molduras com borda clara e brilho só ao passar o mouse */
.home-v5 .feature__media { border: 1px solid var(--edge); }
.home-v5 .tile, .home-v5 .bg-2 .tile { background: rgba(255, 255, 255, .025); border-color: var(--edge); transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.home-v5 .tile:hover, .home-v5 .bg-2 .tile:hover { background: rgba(255, 255, 255, .04); border-color: rgba(var(--sun-hi), .4); box-shadow: 0 0 40px -14px rgba(var(--sun), .45); }
.home-v5 .btn--solid { box-shadow: 0 10px 34px -12px rgba(var(--sun), .6); }

/* ---------- Publicação (03/10/2026): aviso de cookies, links legais do rodapé, política de privacidade e página 404 ---------- */
.cookies {
  position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto;
  display: grid; gap: 14px; padding: 18px 20px; border-radius: 18px;
  background: rgba(10, 22, 40, .94); border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-size: .9rem; line-height: 1.55; color: var(--text);
}
.cookies p { margin: 0; }
.cookies a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.cookies__ctas { display: flex; justify-content: flex-end; gap: 10px; }
html[data-grife="dg"] .cookies { background: rgba(248, 245, 238, .96); border-color: rgba(17, 41, 90, .16); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a, .footer-cookies { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-cookies { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.fineprint a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 760px; padding-top: calc(var(--hh) + 24px); }
.legal .h2 { margin: 0 0 8px; }
.legal__date { margin: 0 0 32px; color: var(--muted); font-size: .9rem; }
.legal .prose h2 { margin: 40px 0 12px; }
.legal .prose ul { padding-left: 1.2em; }
.legal .prose li { margin-bottom: 8px; }
.legal .prose a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.legal--404 { min-height: 50svh; }
.legal__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* =========================================================================
   COMPARTILHAR E MODO APRESENTAÇÃO (03/10/2026)
   Botões discretos abaixo dos botões principais nas páginas de projeto e no Heritage.
   O visor da apresentação usa as cores da página (paleta de cada grife).
   ========================================================================= */
.proj-tools { position: relative; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; }
.proj-tool { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border: 0; background: none; font: inherit; font-size: .875rem; color: var(--muted); cursor: pointer; transition: color .25s var(--ease); }
.proj-tool svg { width: 17px; height: 17px; flex: none; }
.proj-tool:hover, .proj-tool:focus-visible { color: var(--text); }
.proj-tool:focus-visible { outline: 1px solid var(--gold-2); outline-offset: 4px; border-radius: 4px; }
.share-menu {
  position: absolute; z-index: 30; bottom: calc(100% + 6px); left: 0; display: grid; min-width: 220px; padding: 6px;
  border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2, #0e1c33); box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
}
.share-menu a, .share-menu button { display: block; width: 100%; padding: 10px 14px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: .9rem; text-align: left; color: var(--text); cursor: pointer; }
.share-menu a:hover, .share-menu button:hover, .share-menu a:focus-visible, .share-menu button:focus-visible { background: rgba(255, 255, 255, .06); outline: none; }
.share-menu__msg { margin: 0; padding: 0 14px; font-size: .8rem; color: var(--gold-2); }
.share-menu__msg:not(:empty) { padding: 6px 14px 8px; }
html[data-grife="dg"] .share-menu { background: #fff; box-shadow: 0 18px 40px rgba(17, 41, 90, .18); }
html[data-grife="dg"] .share-menu a:hover, html[data-grife="dg"] .share-menu button:hover { background: rgba(17, 41, 90, .06); }

.apr-open, .apr-open body { overflow: hidden; }
.apr { position: fixed; inset: 0; z-index: 300; background: var(--bg); color: var(--text); }
.apr.is-idle { cursor: none; }
.apr__top {
  position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 20px; padding: 18px 28px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0)); color: #fff; transition: opacity .5s var(--ease);
}
.apr__title { flex: 1; font-size: .9rem; letter-spacing: .02em; opacity: .9; }
.apr__count { font-size: .85rem; font-variant-numeric: tabular-nums; opacity: .8; }
.apr__close { padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(0, 0, 0, .25); font: inherit; font-size: .85rem; color: #fff; cursor: pointer; }
.apr__close:hover { background: rgba(0, 0, 0, .45); }
.apr__nav {
  position: absolute; z-index: 3; top: 0; bottom: 0; width: 14%; min-width: 64px; border: 0; background: none; color: #fff; cursor: pointer;
  font-size: 3rem; line-height: 1; opacity: 0; transition: opacity .3s var(--ease);
}
.apr__nav span { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(0, 0, 0, .35); }
.apr__nav--prev { left: 0; }
.apr__nav--next { right: 0; }
.apr__nav:hover, .apr__nav:focus-visible { opacity: 1; outline: none; }
.apr.is-idle .apr__top, .apr.is-idle .apr__nav { opacity: 0; pointer-events: none; }
.apr__bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .08); }
.apr__bar span { display: block; height: 100%; background: var(--gold-2); transition: width .5s var(--ease); }
.apr__stage, .apr__slide { position: absolute; inset: 0; }
.apr__slide { animation: aprIn .6s var(--ease) both; }
@keyframes aprIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .apr__slide { animation: none; } }

/* capa */
.apr__cover, .apr__cover img { position: absolute; inset: 0; width: 100%; height: 100%; }
.apr__cover img { object-fit: cover; }
.apr__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 55%); }
.apr__covertext { position: absolute; z-index: 1; left: 6vw; right: 6vw; bottom: 9vh; color: #fff; }
.apr__covertext h2 { margin: 0; max-width: 18ch; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6.5vw, 6.5rem); line-height: 1; letter-spacing: -.02em; }
.apr__kicker { margin: 0 0 14px; font-size: clamp(1rem, 1.4vw, 1.3rem); opacity: .9; }
.apr__covertext h2 + p { margin: 18px 0 0; font-size: clamp(1rem, 1.5vw, 1.35rem); opacity: .85; }

/* ficha */
.apr__ficha { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.apr__ficha > img { width: 100%; height: 100%; object-fit: cover; }
.apr__ficha > div { align-self: center; padding: 8vh 6vw; }
.apr__ficha h2 { margin: 0 0 4vh; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1.02; }
.apr__ficha dl { display: grid; gap: 2.6vh; margin: 0; }
.apr__ficha dt { font-size: clamp(.8rem, 1vw, .95rem); color: var(--muted); }
.apr__ficha dd { margin: 4px 0 0; font-size: clamp(1.15rem, 1.8vw, 1.7rem); line-height: 1.3; }

/* fotos e plantas */
.apr__photo { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; padding: 64px 6vw 72px; }
.apr__photo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.apr__photo figcaption { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: .95rem; color: var(--muted); }
.apr__photo--plan img { padding: 3vh 3vw; border-radius: 6px; background: #fff; }

/* contato final */
.apr__end { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 20px; text-align: center; }
.apr__end .brand__logo { height: clamp(48px, 8vw, 96px); color: var(--text); }
.apr__end p { margin: 0; font-size: clamp(1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--muted); }
.apr__phone { font-size: clamp(1.6rem, 3vw, 2.6rem) !important; color: var(--gold-2) !important; letter-spacing: .02em; }

@media (max-width: 767px) {
  .apr__top { padding: 12px 16px; }
  .apr__ficha { grid-template-columns: 1fr; grid-template-rows: 38% 1fr; }
  .apr__ficha > div { align-self: start; padding: 4vh 6vw; }
  .apr__photo { padding: 56px 12px 64px; }
  .apr__nav { display: none; }
}

/* ---------- Vitrine rotativa da capa (03/10/2026): uma foto horizontal por projeto em destaque ----------
   As fotos trocam com um esmaecimento; setas de vidro nas laterais e indicador em pílula embaixo. */
.hx5__vitrine { aspect-ratio: 16 / 7.4; }
.hx5__vitrine::after { content: none; }
.hx5__slides { position: absolute; inset: 0; z-index: 0; isolation: isolate; }
.hx5__slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s linear .9s; }
.hx5__slide.is-on { opacity: 1; visibility: visible; transition: opacity .9s var(--ease); }
.hx5__slide::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, rgba(6, 11, 22, 0), rgba(6, 11, 22, .75)); pointer-events: none; }
.hx5__vitrine .hx5__slide img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 55%; }
.hx5__slide .hx5__caption { z-index: 2; }
.hx5__slide:focus-visible { outline: 2px solid rgba(var(--sun-hi), .9); outline-offset: -4px; border-radius: 28px; }

.hx5__arrow {
  position: absolute; z-index: 3; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 24px rgba(0, 0, 0, .18);
  transform: translateY(-50%); transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.hx5__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hx5__arrow--prev { left: 20px; }
.hx5__arrow--next { right: 20px; }
.hx5__arrow:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .5); }
.hx5__arrow--prev:hover { transform: translate(-2px, -50%); }
.hx5__arrow--next:hover { transform: translate(2px, -50%); }
.hx5__arrow:focus-visible { outline: 2px solid rgba(var(--sun-hi), .9); outline-offset: 3px; }

.hx5__dots {
  position: absolute; z-index: 3; left: 50%; bottom: 22px; display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(10, 16, 28, .22);
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
  transform: translateX(-50%);
}
.hx5__dots:empty { display: none; }
.hx5__dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .4s var(--ease), background .4s var(--ease); }
.hx5__dots button:hover { background: rgba(255, 255, 255, .8); }
.hx5__dots button[aria-current="true"] { width: 24px; background: #fff; }
.hx5__dots button:focus-visible { outline: 2px solid rgba(var(--sun-hi), .9); outline-offset: 3px; }
.lite .hx5__arrow, .lite .hx5__dots { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10, 16, 28, .55); }
@media (prefers-reduced-motion: reduce) { .hx5__slide, .hx5__slide.is-on { transition: none; } }

@media (max-width: 767px) {
  .hx5__vitrine { aspect-ratio: 4 / 5; }
  .hx5__arrow { width: 40px; height: 40px; }
  .hx5__arrow svg { width: 18px; height: 18px; }
  .hx5__arrow--prev { left: 10px; }
  .hx5__arrow--next { right: 10px; }
  .hx5__slide .hx5__caption { bottom: 62px; }
  .hx5__dots { bottom: 18px; }
}

/* ---------- Heritage (03/10/2026): foto na introdução e faixas de capítulo mais baixas ---------- */
.intro .intro__side { display: grid; gap: clamp(28px, 4vw, 48px); align-content: start; }
.intro .intro__side .h2 { position: static; }
@media (min-width: 900px) { .intro .intro__side { position: sticky; top: calc(var(--hh) + 40px); align-self: start; } }
.intro__photo { margin: 0; overflow: hidden; border-radius: var(--r-lg, 26px); border: 1px solid var(--line); aspect-ratio: 4 / 5; max-height: 62svh; }
.intro__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
@media (max-width: 899px) { .intro__photo { aspect-ratio: 4 / 3; } }
/* faixas dos capítulos: mais baixas, para o Capítulo II aparecer junto na tela */
.chapter__bar { padding: clamp(24px, 3vw, 40px) 0 clamp(20px, 2.6vw, 32px); }
.chapter__bar-inner { align-items: center; }
.chapter__title { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.chapter__n { font-size: 1.1rem; }
.chapter__summary { padding-top: 20px; padding-bottom: 32px; }

/* =========================================================================
   ROLAGEM EM PÁGINAS (03/10/2026)
   O scroll "assenta" no início de cada bloco (snap por proximidade): perto de uma divisa, a tela
   se encaixa no bloco seguinte, sem cortar o conteúdo; blocos maiores que a tela rolam livres.
   Proximidade (e não "mandatory") para nunca prender o cliente num bloco longo.
   ========================================================================= */
html { scroll-snap-type: y proximity; scroll-padding-top: var(--hh); }
main > section, main > .marquee + section, .chapter__bar, .chapter__body > section, .chapter__body > .mtc,
.hx5__stage, .site-footer { scroll-snap-align: start; }
.hx5__stage { scroll-snap-align: center; }
/* página Projetos (mapa fixo ao lado da lista): sem encaixe */
html:has(#projects-map) { scroll-snap-type: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-snap-type: none; } }

/* Heritage · "A Riviera, no campo": a seção inteira cabe numa tela */
@media (min-width: 900px) {
  .hr-intro { min-height: calc(100svh - var(--hh)); display: flex; align-items: center; padding: clamp(28px, 5vh, 64px) 0; }
  .hr-intro .intro { width: 100%; align-items: center; }
  .hr-intro .intro .intro__side { position: static; gap: clamp(20px, 3vh, 36px); }
  .hr-intro .intro__photo { aspect-ratio: auto; height: clamp(200px, calc(100svh - var(--hh) - 330px), 460px); max-height: none; }
  .hr-intro .intro__photo img { object-position: 50% 62%; }
  .hr-intro .h2 { font-size: clamp(2.4rem, min(4.2vw, 7.4svh), 4.4rem); }
}

/* =========================================================================
   AJUSTES 03/10/2026 (2): masterplan do Heritage, formulários, página Projetos e busca
   ========================================================================= */
/* Masterplan: no computador o mapa fica preso na tela enquanto a lista rola, para o amenity clicado
   sempre aparecer marcado; o mapa nunca passa da altura da tela e a lista ficou mais compacta. */
@media (min-width: 1100px) {
  .mp__map { position: sticky; top: calc(var(--hh) + 20px); }
  .mp__canvas { width: min(100%, calc((100svh - var(--hh) - 110px) * 1400 / 1094)); justify-self: center; }
  .mp__head { padding: 12px 0; }
  .mp__name { font-size: 1.3rem; }
  .mp__body { gap: 10px; padding-bottom: 16px; }
  .mp__body img { aspect-ratio: 2 / 1; border-radius: var(--r-md, 18px); }
  .mp__body p { font-size: 14px; line-height: 1.55; }
}

/* Formulários: todos os campos (inclusive DDI e listas) com o mesmo recuo interno, alinhados */
.form .field input, .form .field select, .form .field textarea { padding-left: 14px; padding-right: 14px; }
.form .field select { padding-right: 34px; }
.phone { align-items: stretch; }
.phone select, .phone input { height: 100%; }

/* Página Projetos: grade regular (colunas iguais, fotos no mesmo formato) — sem vãos */
.catalog-main .grid-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 48px 28px; align-items: stretch;
}
.catalog-main .grid-cards .card { flex: none; max-width: none; align-content: start; }
.catalog-main .card__media { aspect-ratio: 4 / 5; border-radius: var(--r-lg, 26px); }
.catalog-main .card__media > img, .catalog-main .card__media .ph { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 40%; }
.catalog-main .card__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.catalog-main .card__specs div { grid-template-columns: 84px 1fr; }

/* Mapa: não fica mais fixo ao lado; abre pelo botão "Ver mapa" (no lugar da lista) */
@media (min-width: 1024px) {
  .catalog-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
  .view-switch { display: inline-flex; }
  .projects-map, .projects-map[hidden] {
    grid-column: 2; grid-row: 1; position: static; height: auto; display: flex; flex-direction: column; gap: 10px; padding-bottom: 72px;
  }
  .projects-map[hidden] { display: none; }
  #projects-map { flex: none; height: calc(100svh - var(--hh) - 190px); min-height: 440px; }
}
.catalog-layout.is-map .catalog-main { display: none; }
.view-switch { border-radius: 999px; overflow: hidden; }

/* Busca sempre aberta: lupa dentro do campo */
.search { position: relative; }
.search__btn { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: none; color: var(--muted); pointer-events: none; }
.search input, .search.is-open input {
  width: 270px; min-height: 42px; padding: 8px 16px 8px 42px; opacity: 1; pointer-events: auto;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .04); font-size: 14px;
}
.search input::placeholder { color: var(--faint); }
.search input:focus { outline: none; border-color: var(--gold); }
@media (max-width: 1023px) {
  .search { order: 4; flex-basis: 100%; }
  .search input, .search.is-open input { flex: 1; width: 100%; }
}
/* mini-masterplan fora do percurso 01–08: só um atalho compacto, sem a planta, para não cobrir o conteúdo */
.minimap.is-overview:not(.is-min) { width: auto; }
.minimap.is-overview .minimap__map, .minimap.is-overview .minimap__tools { display: none; }
.minimap.is-overview .minimap__label { border-top: 0; padding: 10px 16px; }
/* Página Projetos: grade sem vãos — 3 por linha; última linha com 2 = meia linha cada; com 1 = cartão horizontal inteiro */
@media (min-width: 900px) {
  .catalog-main .grid-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .catalog-main .grid-cards .card { grid-column: span 2; }
  .catalog-main .grid-cards .card--half { grid-column: span 3; }
  .catalog-main .grid-cards .card--half .card__media { aspect-ratio: 4 / 3; }
  .catalog-main .grid-cards .card--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 40px; align-items: center; }
  .catalog-main .grid-cards .card--wide .card__media { aspect-ratio: 16 / 10; }
  .catalog-main .grid-cards .card--wide .card__text { -webkit-line-clamp: 5; }
}
/* masterplan: ponto de encaixe próprio, para mapa + lista caberem juntos na tela */
@media (min-width: 1100px) { .mp { scroll-snap-align: start; scroll-margin-top: 20px; } }

/* ---------- Projetos (04/10/2026): fotos inteiras, contagem do bairro, botões do mapa e filtros responsivos ---------- */
/* foto inteira sobre fundo desfocado da própria foto (quando o formato não combina com o quadro) */
.catalog-main .card--fit .card__media::before {
  content: ""; position: absolute; inset: -30px; z-index: 0;
  background: var(--img) center / cover no-repeat; filter: blur(28px) brightness(.55) saturate(1.1);
}
.catalog-main .card--fit .card__media > img { position: relative; z-index: 1; object-fit: contain; object-position: 50% 50%; }
.catalog-main .card--fit .card__media > .card__status, .catalog-main .card--fit .card__media > .card__logo, .catalog-main .card--fit .card__media > .card__cta { z-index: 3; }

/* "IBIRAPUERA / PARAÍSO  2 projetos" */
.zone__head { justify-content: flex-start; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.zone__count, :root:not([data-fonte]):not([data-grife="dg"]) .zone__count {
  font-family: var(--sans); font-style: normal; font-size: .95rem; letter-spacing: .02em; color: var(--muted);
}

/* botões São Paulo / Interior / Todos do mapa: uma pílula de vidro só */
.leaflet-container .map-regions {
  display: flex; gap: 2px; padding: 4px; border-radius: 999px; overflow: visible;
  background: rgba(10, 16, 28, .62); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}
.leaflet-container .map-regions button, .leaflet-container .map-regions button + button,
.leaflet-container .map-regions button:first-child, .leaflet-container .map-regions button:last-child {
  min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: rgba(233, 228, 218, .78);
  font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; transition: background .25s var(--ease), color .25s var(--ease);
}
.leaflet-container .map-regions button:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.leaflet-container .map-regions button[aria-pressed="true"] { background: var(--gold); color: var(--bg); }
.leaflet-container .leaflet-bar { border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; }
.leaflet-container .leaflet-bar a { background: rgba(10, 16, 28, .75); color: var(--text); border-color: rgba(255, 255, 255, .12); }

/* Filtros responsivos: a linha completa (5 listas + busca + Lista/Ver mapa) só a partir de 1400 px;
   abaixo disso, botão "Filtros" que abre as listas numa faixa embaixo */
.filters__toggle { border-radius: 999px; }
@media (max-width: 1399px) {
  .toolbar__row { flex-wrap: wrap; align-items: center; gap: 10px 12px; }
  .toolbar__row .filters { flex: 0 0 auto; display: contents; }
  .filters__toggle { display: inline-flex; order: 1; }
  .filters__panel, .filters.is-open .filters__panel { display: none; }
  .filters.is-open .filters__panel {
    display: grid; order: 4; flex: 1 1 100%; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px 16px; padding: 8px 0 4px;
  }
  .search { order: 2; flex: 1 1 220px; min-width: 0; }
  .search input, .search.is-open input { width: 100%; }
  .view-switch { order: 3; margin-left: 0; }
}
@media (max-width: 560px) {
  .search { order: 5; flex-basis: 100%; }
  .view-switch { margin-left: auto; }
  .filters.is-open .filters__panel { grid-template-columns: 1fr 1fr; }
}
/* cabeçalho entre 1024 e 1279 px: sem o selo (que volta na capa) e itens do menu sem quebrar linha */
.nav a { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header .header-seal { display: none; }
  .site-header .nav { margin-left: auto; }
  .nav ul { gap: clamp(14px, 2vw, 28px); }
}

/* Elemento marcado como escondido some sempre (a grade nova dava display aos cards e anulava o filtro) */
[hidden] { display: none !important; }

/* Home: fundo no mesmo azul das outras páginas; a luz de fim de tarde e o resto continuam iguais */
.home-v5 { --night: var(--bg); --night-2: var(--bg-2); }
.home-v5 .site-header.is-scrolled { background: rgba(10, 22, 40, .82); }
