/* ============================================================
   RESET CSS
============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  overflow-x: clip;
}

body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--carvao);
  background-color: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#dot-pattern {
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: radial-gradient(circle, #0B0B0B 1px, transparent 1px);
  background-size: 24px 24px;
  will-change: transform;
}

/* Garantir que as seções fiquem acima da textura */
main, header, #loader, #custom-cursor {
  position: relative;
  z-index: 1;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

input, textarea, select {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  line-height: 1.2;
}


/* ============================================================
   DESIGN TOKENS — CSS CUSTOM PROPERTIES
============================================================ */

:root {
  /* Cores */
  --verde-marmore:  #0F5A45;
  --verde-escuro:   #123B31;
  --dourado:        #C9A35A;
  --bege:           #D9CBBF;
  --cinza-concreto: #9E9A95;
  --off-white:      #F5F3EE;
  --carvao:         #0B0B0B;
  --texto-corpo:    #5C5856; /* corpo de texto — contraste WCAG AA */

  /* Layout */
  --container-max:        1250px;
  --padding-desktop:      48px;
  --padding-mobile:       24px;
  --section-gap-desktop:  88px;
  --section-gap-mobile:   56px;
  --border-radius:        20px;
}


/* ============================================================
   CLASSES GLOBAIS
============================================================ */

/* Container fluido proporcional */
.container {
  width: 92%;
  max-width: 1500px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .container { width: 88%; }
}

@media (min-width: 1024px) {
  .container { width: 85%; }
}

@media (min-width: 1440px) {
  .container { width: 82%; }
}

@media (min-width: 1920px) {
  .container {
    width: 82%;
    max-width: 1500px;
  }
}

/* Eyebrow — label acima de headlines */
.eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--cinza-concreto);
  line-height: 1;
}

/* Botão CTA principal */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--verde-marmore);
  color: var(--off-white);
  border-radius: 999px;
  padding: 14px 32px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.7s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.14) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 1.4s ease-in-out;
  pointer-events: none;
  z-index: 1;
}

.btn-primary span {
  position: relative;
  z-index: 2;
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}

.btn-primary:hover {
  background: var(--verde-escuro);
}

.btn-primary:hover::before {
  left: 160%;
}

.btn-primary:hover span {
  transform: scale(1.08);
}

/* Botão outlined */
.btn-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--carvao);
  border: 1px solid var(--carvao);
  border-radius: 999px;
  padding: 12px 28px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.7s ease;
}

.btn-outlined::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(11,11,11,0.06) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 1.4s ease-in-out;
  pointer-events: none;
  z-index: 1;
}

.btn-outlined span {
  position: relative;
  z-index: 2;
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}

.btn-outlined:hover {
  background: rgba(11, 11, 11, 0.05);
}

.btn-outlined:hover::before {
  left: 160%;
}

.btn-outlined:hover span {
  transform: scale(1.08);
}

/* Card de imagem */
.img-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
}

/* Animação de entrada — reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   LOADER
============================================================ */

#loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('assets/images/green-marble-bg.webp') center center / cover no-repeat;
  overflow: hidden;
}

#loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 26, 20, 0.55);
  z-index: 0;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.loader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo-img {
  height: 48px;
  width: auto;
  opacity: 0.92;
  filter: brightness(0) invert(1);
}

.loader-bar-track {
  width: clamp(120px, 20vw, 200px);
  height: 1px;
  background: rgba(246, 244, 242, 0.15);
  position: relative;
  overflow: hidden;
  border-radius: 999px;
}

.loader-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--dourado);
  border-radius: 999px;
}




/* Custom Cursor */
#custom-cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--verde-marmore);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease,
              background 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

#custom-cursor.visible {
  opacity: 1;
}

#custom-cursor.hovering {
  width: 36px;
  height: 36px;
  background: rgba(15, 90, 69, 0.12);
  border: 1.5px solid var(--verde-marmore);
}

#custom-cursor-ring {
  display: none;
}

/* Section Ruler */
#section-ruler {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#section-ruler.visible {
  opacity: 1;
}

.ruler-track {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.ruler-tick {
  width: 16px;
  height: 2px;
  background: var(--bege);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.34,1.56,0.64,1), background 0.4s ease, height 0.4s ease;
  cursor: pointer;
}

.ruler-tick:hover {
  width: 24px;
  background: var(--cinza-concreto);
}

.ruler-tick.active {
  width: 32px;
  height: 2px;
  background: var(--dourado);
}

@media (max-width: 768px) {
  #section-ruler { display: none; }
  #custom-cursor, #custom-cursor-ring { display: none !important; }
}


/* ============================================================
   NAVBAR — Hamburger fullscreen overlay
============================================================ */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* navbar.scrolled em seção clara → fundo off-white */
#navbar.scrolled:not(.nav-light) {
  background: var(--off-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* navbar.scrolled em seção escura → fundo escuro translúcido */
#navbar.scrolled.nav-light {
  background: rgba(11, 11, 11, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
}

/* navbar sobre formulário fullscreen */
#navbar.contato-ativo {
  background: transparent !important;
  box-shadow: none !important;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  width: 100%;
  max-width: 100%;
  padding: 0 clamp(24px, 4vw, 48px);
  box-sizing: border-box;
}

.navbar-logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1100;
}

.navbar-logo-img {
  width: 120px;
  height: auto;
  display: block;
  transition: opacity 0.4s ease;
}

/* Estado padrão: fundo claro → logo escura visível */
.navbar-logo-dark {
  opacity: 1;
  position: relative;
}

.navbar-logo-light {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* Fundo escuro → logo clara */
#navbar.nav-light .navbar-logo-dark { opacity: 0; }
#navbar.nav-light .navbar-logo-light { opacity: 1; }

/* Menu toggle icon — claro em fundo escuro */
#navbar.nav-light .nav-icon-open,
#navbar.nav-light .nav-icon-close {
  color: var(--off-white);
}

/* Nav overlay logo */
.nav-overlay-logo {
  position: absolute;
  top: clamp(24px, 4vh, 40px);
  left: clamp(24px, 4vw, 60px);
}

.nav-overlay-logo-img {
  height: 28px;
  width: auto;
  opacity: 0.85;
}

/* Footer logo */
.contato-footer-logo-img {
  height: 22px;
  width: auto;
  opacity: 0.8;
  filter: brightness(0) invert(1);
}

/* Hamburguer — Phosphor Icons */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 1100;
  mix-blend-mode: difference;
}

.nav-toggle .ph {
  font-size: 28px;
  color: var(--off-white);
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-icon-open  { opacity: 1; transform: rotate(0deg); }
.nav-icon-close { opacity: 0; transform: rotate(-90deg); }

.nav-toggle.open .nav-icon-open  { opacity: 0; transform: rotate(90deg); }
.nav-toggle.open .nav-icon-close { opacity: 1; transform: rotate(0deg); }

/* Overlay fullscreen */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--verde-escuro);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 10vw;
  visibility: hidden;
  pointer-events: none;
}

.nav-overlay-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* Logo do navbar oculta quando menu está aberto */
.navbar-logo {
  transition: opacity 0.25s ease;
}

#navbar.menu-aberto .navbar-logo {
  opacity: 0;
  pointer-events: none;
}

.nav-overlay.open {
  visibility: visible;
  pointer-events: all;
}

/* Links do overlay com hover elegante */
.nav-overlay-link {
  display: block;
  font-family: 'Noto Serif', serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  color: var(--off-white);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: clamp(20px, 2.5vw, 36px);
  opacity: 0;
  transform: translateY(40px);
  position: relative;
  display: inline-block;
  padding: 4px 16px 4px 0;
  transition: color 0.3s ease, padding-left 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.nav-overlay-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  width: 100%;
  height: 100%;
  background: rgba(246,244,242,0.06);
  border-radius: 8px;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}

.nav-overlay-link:hover {
  color: var(--off-white);
  padding-left: 20px;
}

.nav-overlay-link:hover::before {
  transform: translateY(-50%) scaleX(1);
}

/* Linha dourada aparece no hover */
.nav-overlay-link::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 2px;
  height: 60%;
  background: var(--dourado);
  border-radius: 999px;
  transition: transform 0.3s ease 0.05s;
}

.nav-overlay-link:hover::after {
  transform: translateY(-50%) scaleY(1);
}


/* ============================================================
   HERO
============================================================ */

section#hero {
  position: relative;
  height: 130vh;
  /* sem padding — hero-bg deve cobrir 100% do viewport */
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  /* sem padding lateral nem top — hero-bg usa inset:0 */
}

/* hero-bg é a máscara animada — começa fullscreen */
.hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform, border-radius;
  overflow: hidden;
  transform-origin: center top;
  border-radius: 0;
}

/* Imagem maior que o container para parallax sem borda */
.hero-bg img,
.hero-bg picture,
.hero-bg picture img {
  position: absolute;
  top: -5%;
  left: 0;
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center center;
  will-change: transform;
  display: block;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  bottom: clamp(48px, 7vh, 110px);
  right: clamp(40px, 6vw, 100px);
  width: min(720px, 52vw);
  text-align: right;
  z-index: 2;
}

.hero-content h1 {
  font-family: 'Noto Serif', serif;
  font-size: clamp(40px, 5.5vw, 88px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--off-white);
  letter-spacing: -0.02em;
}

.hero-content p {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(246,244,242,0.82);
  margin-top: clamp(14px, 1.5vw, 22px);
  white-space: normal;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  cursor: default;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.scroll-cue svg {
  width: 60px;
  height: 60px;
}

.scroll-cue.hidden {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .hero-content p { white-space: normal; }
}

@media (max-width: 768px) {
  section#hero {
    height: 110vh;
    overflow: hidden;
  }

  .hero-sticky {
    top: 0;
    height: 100vh;
    overflow: hidden;
  }

  .hero-content {
    left: 4%;
    right: 4%;
    width: 92%;
    bottom: 100px;
    text-align: left;
  }

  .hero-content h1 {
    font-size: clamp(42px, 10vw, 60px);
    line-height: 1.08;
  }

  .hero-content p {
    white-space: normal;
    font-size: clamp(14px, 3.5vw, 16px);
  }

  .scroll-cue {
    bottom: 28px;
  }
}


/* ============================================================
   SEÇÃO 5.2 — CONCEITO
============================================================ */

section#conceito {
  padding: var(--section-gap-desktop) 0;
  min-height: 100vh; /* garante altura mínima de viewport completo */
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(11, 26, 20, 0.55), rgba(11, 26, 20, 0.55)),
    url('assets/images/green-marble-bg.webp') center center / cover no-repeat;
  background-attachment: fixed;
}

/* Textos do conceito ficam claros — ver definição completa abaixo */

/* Eyebrow e acento */
.conceito-eyebrow .eyebrow {
  color: #9E9A95;
}

/* Imagens do conceito ganham leve borda */
.conceito-img-card {
  border: 1px solid rgba(255,255,255,0.06);
}

/* Linha de separação sutil entre conceito e apartamento */
section#conceito::after {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(201,163,90,0.3) 30%,
    rgba(201,163,90,0.3) 70%,
    transparent 100%
  );
  margin-top: 0;
}

.conceito-topo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 40px;
}

.conceito-topo-esq {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.conceito-eyebrow {
  display: flex;
  align-items: center;
  gap: 0;
}

.acento-linha {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--dourado);
  margin-right: 12px;
  flex-shrink: 0;
}

.conceito-headline {
  font-family: 'Noto Serif', serif;
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  color: #F5F3EE;
  letter-spacing: -0.01em;
}

.conceito-topo-dir {
  display: flex;
  align-items: center;
  padding-top: 32px;
}

.conceito-corpo {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 400;
  line-height: 1.8;
  color: #C8C4BE;
}

.conceito-imagens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.conceito-img-card {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.conceito-img-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}


/* ============================================================
   SEÇÃO 5.3 — APARTAMENTO
============================================================ */

section#apartamento {
  padding: var(--section-gap-desktop) 0;
  background: #F0EBE4;  /* um grau mais quente que off-white */
  position: relative;
}

.apart-grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 64px;
  align-items: start;
}

.apart-conteudo {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: clamp(16px, 3vh, 48px);
  position: relative;
  z-index: 2;
}

.apart-eyebrow {
  display: flex;
  align-items: center;
}

.apart-headline {
  font-family: 'Noto Serif', serif;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--carvao);
  letter-spacing: -0.01em;
}

.apart-corpo {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 400;
  line-height: 1.8;
  color: var(--texto-corpo);
}

.apart-specs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--bege);
}

.apart-spec-item,
.duplex-spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--bege);
}

.apart-spec-esq {
  display: flex;
  align-items: center;
  gap: 10px;
}

.apart-spec-icon,
.duplex-spec-icon {
  font-size: 24px;
  color: var(--cinza-concreto);
}

.apart-spec-label,
.duplex-spec-label {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cinza-concreto);
}

.apart-spec-valor,
.duplex-spec-valor {
  font-family: 'Noto Serif', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--carvao);
}

.apart-cta {
  width: 100%;
  text-align: center;
  background: var(--verde-escuro);
  margin-top: 8px;
}

.apart-img-card {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.apart-img-card img {
  width: 100%;
  height: clamp(480px, 72vh, 760px);
  object-fit: cover;
  display: block;
}


/* ============================================================
   SEÇÃO 5.4 — DUPLEX
============================================================ */

section#duplex {
  position: relative;
  height: 220vh;
}

.duplex-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--off-white);
}

.duplex-mask {
  /* width e height controlados pelo JS */
  height: 85vh;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  max-width: 100vw;
}

/* Estado fullscreen: classe adicionada via JS quando expandT === 1 */
.duplex-mask.fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  border-radius: 0 !important;
}

.duplex-bg {
  position: absolute;
  inset: -15% 0;
  will-change: transform;
}

.duplex-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.duplex-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(12, 28, 23, 0.92) 30%,
    rgba(12, 28, 23, 0.4) 65%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.duplex-card {
  position: absolute;
  right: clamp(52px, 6vw, 92px); /* +12px de margem interna em relação à borda do mask */
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: min(460px, 42%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(8, 8, 8, 0.42);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: clamp(28px, 3.5vw, 48px);
}

.duplex-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.duplex-eyebrow-text {
  color: rgba(246,244,242,0.6);
}

.duplex-eyebrow .acento-linha {
  background: var(--dourado);
}

/* Imagem no topo do card — oculta no desktop */
.duplex-card-img-mobile {
  display: none;
}

/* Eyebrow no duplex — mesmo tamanho base */
.duplex-card .eyebrow {
  font-size: 16px;
  letter-spacing: 0.12em;
  line-height: 1.3;
  white-space: nowrap;
}

.duplex-headline {
  font-family: 'Noto Serif', serif;
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--off-white);
  letter-spacing: -0.01em;
}

.duplex-corpo {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 400;
  line-height: 1.8;
  color: rgba(246, 244, 242, 0.75);
}

.duplex-specs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(246, 244, 242, 0.15);
}

.duplex-spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(246, 244, 242, 0.15);
}

.duplex-spec-esq {
  display: flex;
  align-items: center;
  gap: 10px;
}

.duplex-spec-icon {
  font-size: 22px;
  color: rgba(246, 244, 242, 0.65);
}

.duplex-spec-label {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 244, 242, 0.45);
}

.duplex-spec-valor {
  font-family: 'Noto Serif', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--off-white);
}

.duplex-cta {
  align-self: stretch;
  width: 100%;
  text-align: center;
  border-color: rgba(246, 244, 242, 0.35);
  color: var(--off-white);
  margin-top: 4px;
}


/* ============================================================
   SEÇÃO 5.5 — WORK OFFICE
============================================================ */

section#work-office {
  padding: var(--section-gap-desktop) 0;
  min-height: 100vh; /* garante altura mínima de viewport completo */
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(11, 26, 20, 0.60), rgba(11, 26, 20, 0.60)),
    url('assets/images/green-marble-bg.webp') center center / cover no-repeat;
  background-attachment: fixed;
  position: relative;
}

/* office text colors — ver definição completa abaixo */

.office-eyebrow .eyebrow {
  color: #9E9A95;
}

/* Ícones do office em tom claro */
.office-icone {
  color: rgba(246,244,242,0.6);
}

.office-tooltip {
  color: #F5F3EE;
  background: rgba(11, 26, 20, 0.95);
  border: 1px solid rgba(201,163,90,0.3);
}

.office-grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 80px;
  align-items: center;
}

.office-conteudo {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.office-eyebrow {
  display: flex;
  align-items: center;
}

.office-headline {
  font-family: 'Noto Serif', serif;
  font-size: clamp(26px, 2.8vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  color: #F5F3EE;
  letter-spacing: -0.01em;
}

.office-corpo {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 400;
  line-height: 1.8;
  color: #C8C4BE;
}

.office-icones {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.office-icone-item {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--bege);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.office-icone-item:hover {
  background: var(--bege);
  border-color: var(--bege);
}

.office-icone {
  font-size: 24px;
  color: var(--cinza-concreto);
}

.office-icone-item {
  position: relative; /* necessário para o tooltip */
}

/* Tooltip redesenhado — linha dourada + fundo escuro transparente */
.office-tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--off-white);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 4px;
  border-bottom: 1px solid var(--dourado);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

/* Sem seta — linha dourada é o elemento de ancoragem */
.office-tooltip::after {
  display: none;
}

.office-icone-item:hover .office-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Ícone fica dourado no hover */
.office-icone-item:hover .office-icone {
  color: var(--dourado);
  transition: color 0.3s ease;
}

.office-img-card {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.office-img-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

/* ============================================================
   SEÇÃO 5.6 — ASSINATURAS
============================================================ */

section#assinaturas {
  padding: var(--section-gap-desktop) 0;
  background: #EDEAE4;
  position: relative;
}

.assin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.assin-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: default;
}

.assin-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.assin-card:hover img {
  transform: scale(1.04);
}

.assin-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 59, 49, 0.6);
  transition: background 0.4s ease;
  pointer-events: none;
}

.assin-card:hover .assin-overlay {
  background: rgba(18, 59, 49, 0.45);
}

.assin-info {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.assin-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(246, 244, 242, 0.6);
}

.assin-nome {
  font-family: 'Noto Serif', serif;
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 400;
  color: var(--off-white);
  line-height: 1.2;
}

/* ============================================================
   BREAKPOINTS
============================================================ */

/* ============================================================
   SEÇÃO 5.7 — LAZER
============================================================ */

section#lazer {
  padding: var(--section-gap-desktop) 0;
  background: var(--off-white);
}

/* Intro vira grid 2 colunas: eyebrow+título | corpo */
.lazer-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.lazer-intro-esq {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lazer-intro-dir {
  display: flex;
  align-items: flex-end;
  padding-bottom: 4px;
}

.lazer-eyebrow {
  display: flex;
  align-items: center;
}

.lazer-eyebrow {
  display: flex;
  align-items: center;
}

.lazer-headline {
  font-family: 'Noto Serif', serif;
  font-size: clamp(26px, 2.8vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--carvao);
  letter-spacing: -0.01em;
}

.lazer-corpo {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 400;
  line-height: 1.8;
  color: var(--texto-corpo);
}

/* Mobile: volta para coluna única */
@media (max-width: 768px) {
  .lazer-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 36px;
  }
  .lazer-intro-dir {
    padding-bottom: 0;
    align-items: flex-start;
  }
}

/* Container global do stories */
/* Grid 2x2 */
.lazer-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

.lazer-card--grande:nth-child(1) { grid-column: 1; grid-row: 1; }
.lazer-card--pequeno:nth-child(2) { grid-column: 2; grid-row: 1; }
.lazer-card--pequeno:nth-child(3) { grid-column: 1; grid-row: 2; }
.lazer-card--grande:nth-child(4)  { grid-column: 2; grid-row: 2; }

.lazer-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: default;
  min-height: 550px;
}

.lazer-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.lazer-card:hover .lazer-card-bg {
  transform: scale(1.04);
}

.lazer-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.58) 0%,
    transparent 55%
  );
  z-index: 1;
  pointer-events: none;
}

.lazer-card-info {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.lazer-card-icon {
  font-size: 32px;
  color: var(--off-white);
  opacity: 0.9;
}

.lazer-card-label {
  font-family: 'Noto Serif', serif;
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 400;
  color: var(--off-white);
  letter-spacing: -0.01em;
  line-height: 1.1;
}



/* ============================================================
   SEÇÃO 5.8 — LOCALIZAÇÃO
============================================================ */

section#localizacao {
  padding: var(--section-gap-desktop) 0 0 0;
  background: transparent;
}

/* Fundo diferenciado com border-radius */
.loc-inner {
  background: #EDEAE4;
  border-radius: 32px;
  padding: var(--section-gap-desktop) 0 0 0;
  margin: 0 clamp(16px, 3vw, 48px);
  overflow: hidden; /* garante que o mapa respeite o border-radius */
}

/* Linha 1: texto + foto */
.loc-topo {
  display: grid;
  grid-template-columns: 42fr 58fr;
  gap: 64px;
  align-items: stretch;
  margin-bottom: 48px;
}

.loc-conteudo {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.loc-eyebrow {
  display: flex;
  align-items: center;
}

.loc-headline {
  font-family: 'Noto Serif', serif;
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--carvao);
  letter-spacing: -0.01em;
}

.loc-corpo {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 400;
  line-height: 1.8;
  color: var(--texto-corpo);
}

/* Card de endereço */
.loc-endereco {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--off-white);
  border-radius: 16px;
  margin-top: 8px;
}

.loc-endereco-icon {
  width: 44px;
  height: 44px;
  background: var(--verde-marmore);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loc-endereco-icon i {
  font-size: 24px;
  color: var(--off-white);
}

.loc-endereco-texto {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.loc-endereco-rua {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--carvao);
}

.loc-endereco-bairro {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--texto-corpo);
}

/* Foto aérea */
.loc-foto {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.loc-foto img {
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 38vh, 460px);
  object-fit: cover;
  display: block;
}

/* Mapa fullwidth */
.loc-mapa-wrap {
  position: relative;
  width: 100%;
  margin-top: 48px;
}

.loc-mapa-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 110px;
  background: linear-gradient(to bottom, #EDEAE4 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

#map {
  width: 100%;
  height: clamp(420px, 54vh, 600px);
  border-radius: 0 0 32px 32px;
  display: block;
}

/* Controles de zoom do Mapbox — estilo discreto */
.mapboxgl-ctrl-group {
  background: var(--off-white) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  border: none !important;
  margin-bottom: 16px !important;
  margin-right: 16px !important;
}

.mapboxgl-ctrl-group button {
  border-radius: 8px !important;
  color: var(--cinza-concreto) !important;
}

.mapboxgl-ctrl-logo,
.mapboxgl-ctrl-attrib { display: none !important; }

.mapboxgl-popup-content {
  background: var(--off-white) !important;
  border-radius: 999px !important;
  padding: 5px 14px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1) !important;
}

.mapboxgl-popup-tip { display: none !important; }

@media (max-width: 768px) {
  section#localizacao {
    padding: var(--section-gap-mobile) 0;
  }

  .loc-inner {
    border-radius: 20px;
    padding: 48px 0 0;
    margin: 0 12px;
  }

  /* Ordem mobile: foto → texto → mapa */
  .loc-topo {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }

  /* Foto vem primeiro */
  .loc-foto {
    order: -1;
    margin-bottom: 32px;
    border-radius: var(--border-radius);
    overflow: hidden;
  }

  .loc-foto img {
    height: 52vw;
    min-height: 220px;
    border-radius: var(--border-radius);
  }

  /* Texto no meio */
  .loc-conteudo {
    order: 0;
    padding: 0;
    margin-bottom: 36px;
    gap: 14px;
  }

  .loc-headline {
    font-size: clamp(26px, 7vw, 36px);
  }

  .loc-corpo {
    font-size: 15px;
    line-height: 1.8;
  }

  .loc-endereco {
    border-radius: 14px;
  }

  .loc-endereco-rua {
    font-size: 14px;
  }

  /* Mapa por último, ocupa boa parte do viewport */
  .loc-mapa-wrap {
    order: 1;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    margin-top: 0;
    border-radius: 0 0 20px 20px;
  }

  .loc-mapa-fade {
    height: 80px;
    background: linear-gradient(
      to bottom,
      #EDEAE4 0%,
      transparent 100%
    );
  }

  #map {
    height: 65vh;
    min-height: 320px;
    border-radius: 0 0 20px 20px;
  }
}

@media (min-width: 1920px) {
  .loc-inner { margin: 0 auto; max-width: 1600px; }
}

/* Mobile */
@media (max-width: 768px) {

  /* Container mobile */
  .container {
    width: 92%;
    padding-left: 0;
    padding-right: 0;
  }



  /* Conceito mobile */
  section#conceito {
    padding: var(--section-gap-mobile) 0;
    background-attachment: scroll;
  }

  section#conceito .container {
    display: flex;
    flex-direction: column;
  }

  .conceito-topo {
    display: flex;
    flex-direction: column;
    gap: 24px;
    order: 2;
  }

  .conceito-topo-dir {
    padding-top: 0;
  }

  .conceito-imagens {
    grid-template-columns: 1fr;
    order: 1;
    margin-bottom: 32px;
  }

  .conceito-img-card img {
    height: 260px;
  }

  /* Apartamento mobile */
  section#apartamento {
    padding: var(--section-gap-mobile) 0;
  }

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

  .apart-img-card img {
    height: clamp(280px, 45vh, 420px);
  }

  .apart-imagem {
    order: -1;
  }

  .apart-conteudo {
    padding-top: 0;
  }

  /* Duplex mobile */
  section#duplex { height: 220vh; }

  .duplex-sticky {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
  }

  .duplex-mask {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
  }

  .duplex-card {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    top: auto;
    width: auto;
    transform: none;
    background: rgba(8, 8, 8, 0.52);
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    overflow: hidden;
    max-height: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .duplex-card .eyebrow {
    font-size: 11px;
    letter-spacing: 0.10em;
    white-space: nowrap;
  }

  .duplex-headline {
    font-size: clamp(20px, 5.5vw, 28px);
    line-height: 1.2;
  }

  .duplex-corpo {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(246, 244, 242, 0.7);
  }

  .duplex-specs {
    gap: 0;
  }

  .duplex-spec-item {
    padding: 8px 0;
  }

  .duplex-card .deco-number {
    display: none;
  }

  .duplex-card-img-mobile {
    display: block;
    width: calc(100% + 40px);
    margin: -20px -20px 0 -20px;
    height: 240px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
  }

  .duplex-card-img-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
  }

  /* Imagem de fundo centralizada no mobile */
  .duplex-bg {
    position: absolute;
    inset: 0;           /* sem o -15% que causa deslocamento */
    will-change: transform;
  }

  .duplex-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* centralizado, não left */
    display: block;
  }

  /* Work Office mobile */
  section#work-office { padding: var(--section-gap-mobile) 0; background-attachment: scroll; }
  .office-grid { grid-template-columns: 1fr; gap: 36px; }
  .office-img-card img { height: 300px; }
  .office-imagem { order: -1; }

  /* Assinaturas mobile */
  section#assinaturas { padding: var(--section-gap-mobile) 0; }
  .assin-grid { grid-template-columns: 1fr; gap: 12px; }
  .assin-card img { height: 220px; }

  /* Lazer mobile */
  section#lazer {
    padding: var(--section-gap-mobile) 0;
  }

  .lazer-intro {
    margin-bottom: 36px;
  }

  .lazer-intro .lazer-headline {
    font-size: clamp(28px, 8vw, 38px);
  }

  .lazer-intro .lazer-corpo {
    font-size: 15px;
    line-height: 1.75;
  }

  /* Grid vira coluna única */
  .lazer-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Todos os cards ocupam 100% */
  .lazer-card--grande,
  .lazer-card--pequeno {
    width: 100%;
    min-height: 78vh;
    width: 100%;
    grid-column: unset !important;
    grid-row: unset !important;
  }

  /* Ícone e label maiores no mobile */
  .lazer-card-icon {
    font-size: 32px;
  }

  .lazer-card-label {
    font-size: 22px;
  }

  .lazer-card-info {
    bottom: 28px;
    left: 24px;
    gap: 10px;
  }

  /* Barras mais visíveis */
  .lazer-bars {
    top: 18px;
    left: 18px;
    right: 18px;
  }

  .lazer-bar {
    height: 4px;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-content p {
    white-space: normal;
  }

  .conceito-corpo,
  .apart-corpo,
  .duplex-corpo {
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.8;
  }
}



/* Ultrawide handled in main container blocks */

/* ============================================================
   SEÇÃO 5.9 — FORMULÁRIO + FOOTER
============================================================ */

section#contato {
  position: relative;
  height: 180vh;
  background: var(--off-white); /* consistente com o tom geral do site */
}



.contato-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Estado inicial definido pelo JS — CSS não deve sobrescrever */
.contato-mask {
  /* width e height controlados pelo JS */
  height: 85vh;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contato-bg {
  position: absolute;
  inset: -15% 0;
  will-change: transform;
}

.contato-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.contato-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 11, 0.58);
  z-index: 1;
  pointer-events: none;
}

.contato-conteudo {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(480px, 88%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.contato-headline {
  font-family: 'Noto Serif', serif;
  font-size: clamp(28px, 3.5vw, 56px);
  font-weight: 400;
  color: var(--off-white);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.contato-subcopy {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 400;
  color: rgba(246,244,242,0.78);
  line-height: 1.7;
}

.contato-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contato-input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 14px 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--off-white);
  outline: none;
  transition: border-color 0.3s ease;
}

.contato-input::placeholder {
  color: rgba(246,244,242,0.45);
}

.contato-input:focus {
  border-color: rgba(255,255,255,0.4);
}

.contato-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  color: var(--carvao);
  border: none;
  border-radius: 999px;
  padding: 16px 32px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 4px;
  position: relative;
  overflow: hidden;
  transition: background 0.7s ease;
}

.contato-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(11,11,11,0.06) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 1.4s ease-in-out;
  pointer-events: none;
  z-index: 1;
}

.contato-btn span {
  position: relative;
  z-index: 2;
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contato-btn:hover { background: var(--bege); }
.contato-btn:hover::before { left: 160%; }
.contato-btn:hover span { transform: scale(1.08); }

/* Footer embutido no formulário */
.contato-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(24px, 4vw, 48px) 48px; /* padding-bottom 48px evita corte dos ícones */
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contato-footer-logo {
  font-family: 'Noto Serif', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--off-white);
  opacity: 0.85;
}

.contato-footer-legal {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(246,244,242,0.55);
  text-align: center;
  line-height: 1.5;
}

.contato-footer-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contato-footer-icons a {
  width: 44px;
  height: 44px;
  background: rgba(246,244,242,0.08);
  border: 1px solid rgba(246,244,242,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.contato-footer-icons a:hover {
  background: rgba(246,244,242,0.18);
  border-color: rgba(246,244,242,0.3);
}

.contato-footer-icons i {
  font-size: 24px;
  color: var(--off-white);
  opacity: 0.75;
}

@media (max-width: 768px) {
  section#contato {
    height: 140vh;
  }

  .contato-sticky {
    height: 100vh;
    top: 0;
    align-items: center;
  }

  .contato-mask {
    width: 90vw;
    height: 80vh;
    border-radius: 20px;
    margin-top: 0;
  }

  /* Footer oculto por padrão no mobile — só aparece quando fullscreen */
  .contato-footer {
    opacity: 0;
    transition: opacity 0.4s ease;
    flex-direction: column;
    gap: 8px;
    padding: 16px 16px 40px; /* padding-bottom amplo para não cortar ícones */
    text-align: center;
  }

  /* Classe adicionada via JS quando expandido */
  .contato-mask.fullscreen .contato-footer {
    opacity: 1;
  }

  .contato-footer-legal { font-size: 10px; }
}

/* Todos os h2 com tamanho minimo consistente no mobile */
@media (max-width: 768px) {
  .conceito-headline,
  .apart-headline,
  .duplex-headline,
  .office-headline,
  .lazer-headline,
  .loc-headline,
  .contato-headline {
    font-size: clamp(28px, 7.5vw, 40px);
    line-height: 1.15;
  }
}

@media (max-width: 768px) {
  .eyebrow {
    font-size: 13px;
    letter-spacing: 0.10em;
  }
}

@media (max-width: 768px) {
  .duplex-cta {
    width: 100%;
    text-align: center;
    align-self: stretch;
  }
}

/* hero-bg picture — layout herdado da regra principal */
.hero-bg picture {
  position: absolute;
  top: -5%;
  left: 0;
  width: 100%;
  height: 115%;
}

/* ============================================================
   GOLDEN SECTION SEPARATORS
============================================================ */

section#conceito,
section#apartamento,
section#work-office,
section#assinaturas,
section#lazer {
  position: relative;
}

section#conceito::after,
section#apartamento::after,
section#work-office::after,
section#assinaturas::after,
section#lazer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(200px, 30%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dourado), transparent);
  opacity: 0.6;
}


/* ============================================================
   DECORATIVE NUMBERS
============================================================ */

.deco-number {
  position: absolute;
  right: -5%;
  bottom: -15%;
  font-family: 'Noto Serif', serif;
  font-style: italic;
  font-size: clamp(100px, 14vw, 180px);
  font-weight: 400;
  color: var(--carvao);
  opacity: 0.04;
  line-height: 1;
  letter-spacing: -0.03em;
  pointer-events: none;
  user-select: none;
  z-index: -1;
  margin: 0;
}

.deco-number-unit {
  font-size: 0.52em;
  font-family: 'Noto Serif', serif;
  font-style: italic;
  font-weight: 400;
  margin-left: 2px;
  vertical-align: baseline;
}

.deco-number--light {
  color: var(--off-white);
  opacity: 0.06;
  margin-top: -10px;
}


/* ============================================================
   LOADER LOGO — premium italic treatment
============================================================ */

.loader-logo {
  font-family: 'Noto Serif', serif;
  font-style: italic;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--off-white);
}

/* ============================================================
   MODAL PLANTA BAIXA
============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  padding: 24px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

.modal-container {
  position: relative;
  background: var(--off-white);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 24px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  overflow-y: auto;
}

.modal-overlay.open .modal-container {
  transform: translateY(0) scale(1);
  opacity: 1;
  transition-delay: 0.1s;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(11, 11, 11, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--carvao);
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(11, 11, 11, 0.1);
  transform: rotate(90deg) scale(1.05);
}

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.modal-title {
  font-family: 'Noto Serif', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  color: var(--carvao);
  line-height: 1.2;
  margin: 0;
}

.modal-subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--texto-corpo);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 8px;
  margin-bottom: 32px;
}

.modal-img-box {
  width: 100%;
  aspect-ratio: 4/3;
  background: #E8E6E1;
  border-radius: 16px;
  border: 1px dashed rgba(11,11,11,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.modal-placeholder {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--cinza-concreto);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .modal-container {
    padding: 32px 20px;
    border-radius: 20px;
  }
  .modal-close {
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}


@media (max-width: 768px) {
  .deco-number {
    font-size: clamp(60px, 16vw, 100px);
  }
}
