/* ==========================================================================
   Residencial Morada do Sol — Landing Page
   Reproduz com fidelidade a apresentação em PDF (FAJ Realiza)
   ========================================================================== */

/* ---------- Fontes locais ---------- */
@font-face {
  font-family: 'Just Sans';
  src: url('../assets/fonts/JUSTSans-ExLt.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Just Sans';
  src: url('../assets/fonts/JUSTSans-Lt.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Just Sans';
  src: url('../assets/fonts/JUSTSans-Rg.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Just Sans';
  src: url('../assets/fonts/JUSTSans-Md.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Just Sans';
  src: url('../assets/fonts/JUSTSans-SmBd.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Amithen';
  src: url('../assets/fonts/amithen-webfont.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens de design ---------- */
:root {
  --red: #B7241B;
  --red-dark: #961C14;
  --pink: #F8C5C7;
  --sun: #E06768;
  --ink: #1D1D1B;
  --ink-soft: #2A2A28;
  --white: #FFFFFF;
  --cream: #FFF9F4;

  --max-w: 1200px;
  --radius-pill: 999px;
  --radius-img: 32px;
  --radius-img-lg: 48px;

  --font-sans: 'Just Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-script: 'Amithen', 'Just Sans', cursive;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset mínimo ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -.04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  background: var(--red);
  color: var(--white);
  padding-top: clamp(20px, 3vw, 36px);
  padding-bottom: clamp(80px, 10vw, 160px);
  overflow: hidden;
}

.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: clamp(14px, 1.6vw, 22px);
  border-bottom: 1px solid rgba(255, 255, 255, .55);
}

.hero__logo-faj {
  height: clamp(28px, 3.2vw, 42px);
  width: auto;
}

.hero__tag {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: clamp(10px, 1vw, 13px);
  white-space: nowrap;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(18px, 2.2vw, 32px);
  padding-top: clamp(40px, 7vw, 100px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(9px, 1vw, 14px) clamp(22px, 2.8vw, 34px);
  border: 1.5px solid var(--white);
  border-radius: var(--radius-pill);
  font-size: clamp(12px, 1.15vw, 16px);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.025em;
}
.hero__badge strong { font-weight: 600; }

.hero__logo-wrap {
  margin: 0;
  width: 100%;
  max-width: 880px;
  display: block;
  text-align: center;
}
.hero__logo-main {
  width: 84%;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.hero__tagline {
  font-size: clamp(22px, 3.2vw, 44px);
  font-weight: 300;
  letter-spacing: -.03em;
  margin-top: clamp(-10px, -1vw, -4px);
}
.hero__tagline .script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.35em;
  letter-spacing: 0;
  margin-left: .12em;
  vertical-align: -0.1em;
}

/* Curva orgânica inferior do hero → branco */
.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(60px, 7vw, 110px);
  color: var(--white);
  display: block;
}

/* ===========================================================
   INTRO (texto + foto do casal)
   =========================================================== */
.intro {
  background: var(--white);
  padding-block: clamp(60px, 8vw, 110px);
}

.intro__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.intro__title {
  font-size: clamp(32px, 4.6vw, 62px);
  line-height: 1.02;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 clamp(14px, 1.8vw, 24px);
  letter-spacing: -.055em;
}
.intro__title b { font-weight: 600; color: var(--red); }

.intro__divider {
  width: 68px;
  height: 4px;
  background: var(--red);
  border: 0;
  margin: clamp(20px, 2.6vw, 36px) 0 clamp(18px, 2vw, 28px);
}

.intro__text {
  font-size: clamp(18px, 1.75vw, 27px);
  color: var(--ink);
  margin-bottom: clamp(18px, 2vw, 28px);
  max-width: none;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -.025em;
}
.intro__text .line { display: block; }
.intro__text .hl-red { font-weight: 600; color: var(--red); }
.intro__text .hl-dark { font-weight: 600; color: var(--ink); }

@media (max-width: 820px) {
  .intro__text .line { display: inline; }
}

.intro__stats {
  margin-top: clamp(26px, 3.4vw, 44px);
  padding-inline-start: 0;
  margin-inline-start: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(4px, .5vw, 8px);
}
.intro__stats li {
  list-style: none;
  font-size: clamp(26px, 3.5vw, 46px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.04em;
}
.intro__stats li b { font-weight: 600; color: var(--red); }

.intro__photo {
  position: relative;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.intro__photo img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

/* ===========================================================
   CASAS / AMENIDADES / LOCALIZAÇÃO (bloco vermelho)
   =========================================================== */
.casas {
  position: relative;
  background: var(--red);
  color: var(--white);
  padding-top: clamp(100px, 12vw, 180px);
  padding-bottom: clamp(90px, 11vw, 160px);
  overflow: hidden;
}

/* curva branca entrando do topo (desenho em svg abaixo) */
.casas__wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  width: 100%;
  height: clamp(50px, 6vw, 90px);
  color: var(--white);
  display: block;
}

.casas__sun {
  position: absolute;
  left: -4%;
  top: 4%;
  width: clamp(140px, 18vw, 300px);
  height: auto;
  opacity: .95;
  pointer-events: none;
  z-index: 1;
}
.casas__sun svg { width: 100%; height: auto; display: block; }

.casas__head {
  text-align: center;
  position: relative;
  z-index: 2;
  padding-inline: 10%;
}

.casas__title {
  font-size: clamp(38px, 5.6vw, 78px);
  font-weight: 400;
  line-height: .95;
  margin: 0;
  color: var(--white);
  letter-spacing: -.05em;
}
.casas__title b { font-weight: 600; }
.casas__title .script {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--pink);
  font-size: 2.1em;
  line-height: .95;
  margin-top: -.15em;
  letter-spacing: .01em;
}

/* ---- Grade editorial de amenidades ---- */
.amenities {
  position: relative;
  z-index: 2;
  list-style: none;
  padding: 0;
  margin: clamp(32px, 4vw, 56px) 0 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--white);
}
.amenity {
  position: relative;
  padding: clamp(26px, 3vw, 40px) clamp(18px, 2vw, 30px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 1vw, 14px);
  border-right: 1px solid rgba(255, 255, 255, .22);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.amenity:nth-child(3n) { border-right: 0; }
.amenity:nth-last-child(-n+3) { border-bottom: 0; }
.amenity:last-child { border-right: 0; }

.amenity__icon {
  width: clamp(30px, 2.4vw, 38px);
  height: clamp(30px, 2.4vw, 38px);
  color: var(--white);
  display: block;
}
.amenity__name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.015em;
}

/* Mapa / aerial (imagem já com pins) */
.map {
  position: relative;
  margin-top: clamp(30px, 4vw, 56px);
  overflow: visible;
}
.map__img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .3));
}

/* Endereço (pill branco) — posicionado sobre a borda map/vermelho */
.address {
  position: relative;
  margin: clamp(-28px, -2.4vw, -20px) auto 0;
  background: var(--white);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 14px);
  padding: clamp(12px, 1.4vw, 18px) clamp(20px, 2.4vw, 32px);
  border-radius: 10px;
  font-size: clamp(14px, 1.3vw, 19px);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  width: fit-content;
  max-width: 90%;
  z-index: 3;
  text-align: center;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.address:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
}
.address:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.address__pin {
  color: var(--red);
  width: clamp(16px, 1.4vw, 20px);
  height: auto;
  flex-shrink: 0;
}


/* ===========================================================
   AMBIENTES (fechamento branco)
   =========================================================== */
.ambientes {
  background: var(--white);
  padding-top: clamp(110px, 12vw, 190px);
  padding-bottom: clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}

/* Divisor orgânico — desktop assimétrico, mobile simétrico suave */
.ambientes__divider {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  width: 100%;
  height: clamp(200px, 22vw, 300px);
  z-index: 0;
  pointer-events: none;
  display: block;
}
.ambientes__divider--mobile { display: none; }

.ambientes .container {
  position: relative;
  z-index: 1;
}

.ambientes__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* wrapper que agrupa texto + blocos destacados */
.ambientes__info {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ambientes__text {
  font-size: clamp(26px, 2.8vw, 44px);
  line-height: 1.08;
  font-weight: 400;
  color: var(--ink);
  max-width: 18ch;
  letter-spacing: -.045em;
  text-align: left;
  margin: 0;
}

/* 3 blocos destacados abaixo do texto */
.ambientes__stats {
  list-style: none;
  padding: 0;
  margin: clamp(28px, 3.4vw, 48px) 0 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.1vw, 16px);
}
.ambientes__stat {
  border: 1.5px solid var(--red);
  border-radius: 6px;
  padding: clamp(12px, 1.4vw, 18px) clamp(10px, 1.2vw, 18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, .6vw, 8px);
  text-align: center;
  background: var(--white);
  min-height: clamp(80px, 8vw, 110px);
}
.ambientes__stat-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(15px, 1.3vw, 19px);
  color: var(--red);
  letter-spacing: -.03em;
  line-height: 1.2;
}
.ambientes__stat-label-sub {
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.03em;
}
.ambientes__stat-value {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 44px);
  color: var(--red);
  letter-spacing: -.06em;
  line-height: 1;
}
.ambientes__stat-value--big {
  font-size: clamp(32px, 4vw, 58px);
  letter-spacing: -.06em;
}
.ambientes__stat-value small {
  font-size: .62em;
  font-weight: 600;
  letter-spacing: -.02em;
}
.ambientes__text .line { display: block; }
.ambientes__text b { font-weight: 600; color: var(--ink); }
.ambientes__text .script {
  font-family: var(--font-script);
  color: var(--red);
  font-weight: 400;
  font-size: 2.5em;
  line-height: 0.85;
  letter-spacing: 0;
  display: inline-block;
  vertical-align: -0.28em;
  margin-left: .04em;
  transform: translateY(-.12em);
}

.ambientes__carousel {
  position: relative;
}
.ambientes__photo {
  position: relative;
  border-radius: clamp(28px, 4vw, 52px);
  overflow: hidden;
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .25);
  background: #ecebe9;
  margin: 0;
  width: 100%;
  padding-top: 75%; /* 4:3 */
}
.ambientes__photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity .45s var(--ease);
}
.ambientes__photo img.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.ambientes__photo img { cursor: zoom-in; }

.ambientes__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--red);
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s var(--ease);
  z-index: 3;
}
.ambientes__arrow:hover { transform: translateY(-50%) scale(1.15); }
.ambientes__arrow:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 50%; }
.ambientes__arrow svg { width: clamp(28px, 2.4vw, 38px); height: auto; }
.ambientes__arrow--prev { left: clamp(-70px, -5vw, -40px); }
.ambientes__arrow--next { right: clamp(-70px, -5vw, -40px); }

/* ===========================================================
   AVISO LEGAL (antes do rodapé)
   =========================================================== */
.legal-notice {
  background: var(--white);
  padding-block: clamp(28px, 3.5vw, 48px);
  padding-inline: clamp(20px, 4vw, 48px);
}
.legal-notice__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 14px);
}
.legal-notice__text {
  margin: 0;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(11px, .9vw, 13px);
  line-height: 1.6;
  letter-spacing: -.005em;
  color: rgba(29, 29, 27, .62);
}
.legal-notice__text strong {
  font-weight: 600;
  color: rgba(29, 29, 27, .78);
}

/* ===========================================================
   LIGHTBOX (zoom das imagens do carrossel)
   =========================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .88);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 60px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
  cursor: zoom-out;
}
.lightbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  cursor: default;
}
.lightbox__close {
  position: absolute;
  top: clamp(16px, 2vw, 28px);
  right: clamp(16px, 2vw, 28px);
  width: clamp(40px, 3vw, 48px);
  height: clamp(40px, 3vw, 48px);
  background: rgba(255, 255, 255, .15);
  border: 0;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s var(--ease);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.lightbox__close svg { width: 48%; height: 48%; display: block; }

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(44px, 3.4vw, 56px);
  height: clamp(44px, 3.4vw, 56px);
  background: rgba(255, 255, 255, .15);
  border: 0;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
  z-index: 2;
}
.lightbox__arrow:hover {
  background: rgba(255, 255, 255, .28);
  transform: translateY(-50%) scale(1.05);
}
.lightbox__arrow:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.lightbox__arrow svg { width: 48%; height: 48%; display: block; }
.lightbox__arrow--prev { left: clamp(14px, 2vw, 32px); }
.lightbox__arrow--next { right: clamp(14px, 2vw, 32px); }

@media (max-width: 540px) {
  .lightbox__arrow {
    width: 40px;
    height: 40px;
  }
}

/* ===========================================================
   BOTÃO VOLTAR AO TOPO
   =========================================================== */
.back-to-top {
  position: fixed;
  bottom: clamp(20px, 2.4vw, 32px);
  right: clamp(20px, 2.4vw, 32px);
  width: clamp(44px, 3.6vw, 52px);
  height: clamp(44px, 3.6vw, 52px);
  background: var(--red);
  color: var(--white);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(183, 36, 27, .35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background-color .2s var(--ease);
  z-index: 50;
}
.back-to-top[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--red-dark); }
.back-to-top:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.back-to-top svg { width: 48%; height: 48%; display: block; }

/* Em seções de fundo vermelho — inverte as cores */
.back-to-top[data-on-red="true"] {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}
.back-to-top[data-on-red="true"]:hover {
  background: var(--pink);
}

/* ===========================================================
   FOOTER
   =========================================================== */
.footer {
  position: relative;
  background: var(--red);
  color: var(--white);
  padding-top: clamp(90px, 10vw, 150px);
  padding-bottom: clamp(32px, 4vw, 56px);
  overflow: hidden;
}
.footer__wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  width: 100%;
  height: clamp(50px, 6vw, 90px);
  color: var(--white);
  display: block;
}
.footer__container {
  position: relative;
  z-index: 1;
}

/* 4 colunas de links */
.footer__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3.6vw, 56px);
}
.footer__title {
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 600;
  margin: 0 0 clamp(14px, 1.6vw, 22px);
  color: var(--white);
  letter-spacing: -.01em;
}
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, .9vw, 12px);
}
.footer__links a {
  color: rgba(255, 255, 255, .88);
  font-weight: 400;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.45;
  letter-spacing: -.01em;
  transition: color .2s var(--ease);
}
.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--pink);
  outline: none;
}
.footer__address {
  display: inline-block;
  line-height: 1.55;
}

/* linha de marca + redes — tudo centralizado em coluna */
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(40px, 5vw, 70px);
  text-align: center;
}
.footer__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 36px);
  flex-wrap: wrap;
}
.footer__logo {
  display: block;
  height: auto;
  width: auto;
}
.footer__logo--faj { max-height: clamp(30px, 3.2vw, 46px); }
.footer__logo--realiza { max-height: clamp(24px, 2.6vw, 36px); }
.footer__linha-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(13px, 1vw, 15px);
  color: rgba(255, 255, 255, .88);
  letter-spacing: -.01em;
}

.footer__social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: clamp(10px, 1vw, 16px);
}
.footer__social a {
  color: var(--white);
  display: inline-flex;
  padding: 6px;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.footer__social a:hover,
.footer__social a:focus-visible {
  color: var(--pink);
  transform: translateY(-2px);
  outline: none;
}
.footer__social svg {
  width: clamp(20px, 1.8vw, 24px);
  height: auto;
  display: block;
}

/* copyright */
.footer__legal {
  text-align: center;
  font-size: clamp(12px, .95vw, 14px);
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
  margin-top: clamp(32px, 4vw, 56px);
}
.footer__legal p { margin: 0; }

/* responsivo */
@media (max-width: 820px) {
  .footer__columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}
@media (max-width: 540px) {
  .footer__columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__logos {
    justify-content: center;
    gap: 20px;
  }
}

/* ===========================================================
   RESPONSIVIDADE
   =========================================================== */

/* Tablet horizontal (até 1024px) */
@media (max-width: 1024px) {
  .intro__grid { gap: 40px; }
  .map { aspect-ratio: 16 / 9; }
}

/* Tablet vertical (até 820px) — tudo centralizado */
@media (max-width: 820px) {
  .intro__grid,
  .ambientes__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
    text-align: center;
  }

  .intro__copy { width: 100%; }
  .intro__title { text-align: center; }
  .intro__text { text-align: center; }
  .intro__divider { margin-inline: auto; }
  .intro__stats { align-items: center; text-align: center; }

  .intro__photo {
    max-width: 480px;
    margin-inline: auto;
  }

  .ambientes__info {
    width: 100%;
    max-width: 620px;
    align-items: center;
    margin-inline: auto;
  }
  .ambientes__text {
    max-width: none;
    text-align: center;
    margin-inline: auto;
    padding-top: clamp(40px, 7vw, 70px);
  }
  .ambientes__text .line { display: inline; }
  .ambientes__stats { max-width: 100%; }
  .ambientes__carousel {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
  }
  .ambientes__photo { max-width: 640px; margin-inline: auto; }

  /* No mobile/tablet o grid vira 1 coluna — usar divisor simples (uma única curva) */
  .ambientes { padding-top: clamp(110px, 17vw, 170px); }
  .ambientes__divider--desktop { display: none; }
  .ambientes__divider--mobile {
    display: block;
    height: clamp(100px, 15vw, 160px);
  }

  .casas__sun {
    width: 100px;
    opacity: .75;
    top: 1%;
  }

  .casas__head { padding-inline: 4%; }

  .amenities { grid-template-columns: repeat(2, 1fr); }
  .amenity {
    border-right: 1px solid rgba(255, 255, 255, .22);
    border-bottom: 1px solid rgba(255, 255, 255, .22);
    align-items: center;
    text-align: center;
  }
  .amenity:nth-child(3n) { border-right: 1px solid rgba(255, 255, 255, .22); }
  .amenity:nth-last-child(-n+3) { border-bottom: 1px solid rgba(255, 255, 255, .22); }
  .amenity:nth-child(2n) { border-right: 0; }
  .amenity:nth-last-child(-n+2) { border-bottom: 0; }
  .amenity:last-child { border-right: 0; border-bottom: 0; }

  .map { aspect-ratio: 16 / 10; }
}

/* Mobile (até 640px) */
@media (max-width: 640px) {
  .hero { padding-bottom: 70px; }
  .hero__content { padding-top: 44px; gap: 22px; }
  .hero__tag { font-size: 9px; letter-spacing: .1em; }
  .hero__badge { font-size: 11px; padding: 8px 14px; }
  .hero__tagline .script { font-size: 1.4em; }
  .hero__logo-main { width: 92%; }

  .intro { padding-block: 56px; }
  .intro__text { font-size: 16px; line-height: 1.5; }
  .intro__stats li { font-size: 20px; }

  .casas { padding-top: 56px; padding-bottom: 50px; }
  .casas__sun {
    position: absolute;
    width: 70px;
    opacity: .7;
    top: 10%;
    left: -4%;
  }
  .amenity { padding: 20px 14px; gap: 8px; }
  .amenity__name { font-size: 15px; }
  .amenity__icon { width: 28px; height: 28px; }

  .map { aspect-ratio: 4 / 3; border-radius: 22px; }

  .address {
    width: calc(100% - 32px);
    justify-content: center;
    font-size: 13px;
    padding: 11px 14px;
    text-align: center;
    margin-top: -28px;
  }

  .ambientes { padding-block: 56px; }
  .ambientes__arrow--prev { left: 4px; }
  .ambientes__arrow--next { right: 4px; }
  .ambientes__arrow { background: rgba(255,255,255,.65); border-radius: 50%; }
}

/* Mobile pequeno (até 400px) */
@media (max-width: 400px) {
  .hero__top { gap: 8px; }
  .hero__tag { font-size: 7.5px; letter-spacing: .06em; }
  .hero__kicker { font-size: 13px; letter-spacing: .25em; }
  .intro__title { font-size: 30px; }
  .casas__title { font-size: 30px; }
}

/* Monitores muito largos — não esticar o conteúdo */
@media (min-width: 1600px) {
  :root { --max-w: 1320px; }
}
@media (min-width: 1920px) {
  :root { --max-w: 1440px; }
}

/* ---------- Reveal (desabilitado — elementos sempre visíveis) ---------- */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambientes__photo img { transition: none; }
}
