/* ── HERO ────────────────────────────────────────────── */
.hero-section {
  height: 100vh;
  min-height: 600px;
}
/* Foto do hero */
.hero-bg-photo {
  background: url('../images/IMG_RITMO_13.png') center center / cover no-repeat;
}
.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 40px;
}
.hero-logo {
  width: min(967px, 90vw);
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 2px 24px rgba(0,0,0,0.35));
}
.hero-divider {
  width: min(140px, 40vw);
  height: 0.5px;
  background: rgba(246,241,232,0.5);
  margin: 32px auto 36px;
}
.hero-btn {
  display: inline-block;
  border: 0.5px solid rgba(246,241,232,0.7);
  color: #F6F1E8;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
  padding: 14px 44px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  text-decoration: none;
}
.hero-btn:hover {
  background: rgba(246,241,232,0.12);
  border-color: rgba(246,241,232,0.95);
}

/* ── Placeholders de imagem ─────────────────────────── */
.img-hero {
  background: linear-gradient(160deg, #6b5a47 0%, #4a3728 40%, #2c1f14 100%);
}
.img-city {
  background: linear-gradient(135deg, #8b7b6b 0%, #6b5a47 50%, #4a3728 100%);
}
.img-sea {
  background: linear-gradient(180deg, #7a8fa0 0%, #5a7a8f 40%, #4a6478 100%);
}
.img-building {
  background: linear-gradient(135deg, #a09080 0%, #7a6a56 60%, #5a4a38 100%);
}
.img-interior {
  background: linear-gradient(160deg, #c4b49a 0%, #a09070 50%, #7a6a50 100%);
}
.img-lifestyle {
  background: linear-gradient(160deg, #8fa0a8 0%, #6a8090 50%, #4a6070 100%);
}
.img-arch {
  background: linear-gradient(135deg, #b0a090 0%, #8a7a68 60%, #6a5a48 100%);
}
.img-cubo {
  background: linear-gradient(135deg, #6a7a8a 0%, #4a5a6a 60%, #2a3a4a 100%);
}

/* ── Fonte global ───────────────────────────────────── */
html, body, * { font-family: 'Albert Sans', sans-serif; }

/* ── Scrollbar oculta ────────────────────────────────── */
html { scroll-behavior: smooth; overflow-x: hidden; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: #81755F; }

/* ── Nav ─────────────────────────────────────────────── */
.nav-link {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F6F1E8;
  transition: opacity 0.2s;
}
.nav-link:hover { opacity: 0.6; }

/* ── Botões ──────────────────────────────────────────── */
.btn-outline-cream {
  border: 0.5px solid #F6F1E8;
  color: #F6F1E8;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.04em;
  padding: 10px 28px;
  border-radius: 4px;
  transition: background 0.25s, color 0.25s;
}
.btn-outline-cream:hover {
  background: #F6F1E8;
  color: #2A313B;
}
.btn-outline-brown {
  border: 0.5px solid #81755F;
  color: #81755F;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.04em;
  padding: 10px 28px;
  border-radius: 4px;
  transition: background 0.25s, color 0.25s;
}
.btn-outline-brown:hover {
  background: #81755F;
  color: #F6F1E8;
}
.btn-solid-cream {
  background: #F6F1E8;
  color: #2A313B;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 32px;
  border-radius: 4px;
  transition: opacity 0.2s;
}
.btn-solid-cream:hover { opacity: 0.85; }
.btn-solid-brown {
  background: #81755F;
  color: #F6F1E8;
  font-size: 14px;
  font-weight: 400;
  padding: 18px 36px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s;
}
.btn-solid-brown:hover { opacity: 0.85; }

/* ── Input ──────────────────────────────────────────── */
.field-line {
  background: transparent;
  border: none;
  border-bottom: 0.5px solid #F6F1E8;
  color: #F6F1E8;
  font-size: 11.5px;
  font-weight: 300;
  width: 100%;
  padding: 8px 0;
  outline: none;
}
.field-line::placeholder { color: #F6F1E8; opacity: 0.7; }
select.field-line { background: transparent; color: #F6F1E8; appearance: none; cursor: pointer; }
select.field-line option { background: #2A313B; color: #F6F1E8; }
select.field-line option:disabled { opacity: 0.7; }

/* ── Divisor tipográfico ─────────────────────────────── */
.section-rule { border-color: #81755F; border-width: 0.5px; }
.section-rule-cream { border-color: #F6F1E8; border-width: 0.5px; }

/* ── Número grande ──────────────────────────────────── */
.num-huge {
  font-weight: 100;
  font-size: 120px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #F6F1E8;
}

/* ── Headline hero ──────────────────────────────────── */
.headline-hero {
  font-weight: 200;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F6F1E8;
}

/* ── Italic serif (PP Eiko) ─────────────────────────── */
.serif-italic {
  font-style: italic;
  font-weight: 300;
}

/* ── Stat row ────────────────────────────────────────── */
.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 0.5px solid #F6F1E8;
  font-weight: 200;
  font-size: 18px;
  color: #F6F1E8;
}

/* ── Feature row ────────────────────────────────────── */
.feature-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 0.5px solid #81755F;
  font-size: 15px;
  color: #81755F;
}

/* ── Amenity row ────────────────────────────────────── */
.amenity-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #81755F;
  font-size: 15px;
  color: #81755F;
}

/* ── Hamburguer ─────────────────────────────────────── */
.hamburger span {
  display: block;
  width: 28px;
  height: 1px;
  background: #F6F1E8;
  margin: 6px 0;
  transition: all 0.3s;
}

/* ── Fade-up animation ──────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fadeup { animation: fadeUp 0.9s ease both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

/* ── Conceito section layout ─────────────────────── */
#conceito {
  background: #81755F;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.conceito-cols {
  display: flex;
  flex: 1;
}
/* Coluna esquerda: imagem full-bleed + título sobreposto */
.conceito-col-l {
  width: 55%;
  position: relative;
}
.conceito-col-l::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22%;
  background: linear-gradient(to bottom, #81755F 0%, transparent 100%);
  z-index: 2;
}
.conceito-col-l::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 40%, transparent 65%);
  z-index: 1;
}
.conceito-title {
  position: absolute;
  top: 4%;
  left: 6%;
  z-index: 10;
  font-weight: 200;
  font-style: italic;
  text-transform: uppercase;
  font-size: 40px;
  line-height: 1.02;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: #F6F1E8;
  margin: 0;
  padding: 0;
}
.conceito-img-l {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.conceito-img-l img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
/* Coluna direita: IMG_RITMO_14 + texto */
.conceito-col-r {
  width: 45%;
  display: flex;
  flex-direction: column;
  padding-top: 0;
  margin-right: 0;
}
.conceito-right-wrap {
  width: 100%;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.conceito-img-r {
  flex: 2.4;
  overflow: hidden;
  min-height: 180px;
}
.conceito-text {
  flex: none;
  padding: 10% 8% 8% 8%;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.85;
  color: #F6F1E8;
  opacity: 0.80;
  letter-spacing: 0.02em;
}
.conceito-foot {
  display: flex;
  justify-content: center;
  padding: 3% 0 5%;
}
/* Bloco IMG_RITMO_1: imagem centralizada com textos sobre as bordas */
.conceito-imgblock {
  padding: 0 5% 7%;
}
.conceito-imgblock-img {
  position: relative;
  width: 72%;
  margin: 0 auto;
  line-height: 0;
  overflow: visible;
}
.conceito-imgblock-img img {
  width: 100%;
  height: auto;
  display: block;
}
.conceito-imgblock-left,
.conceito-imgblock-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.conceito-imgblock-left  { left: -132px; text-align: left; }
.conceito-imgblock-right { right: -132px; text-align: right; }

/* Esquerda: hierarquia conforme Frame 5.svg */
.conceito-left-num {
  font-weight: 200;
  font-style: italic;
  font-size: 72px;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: #F6F1E8;
}
.conceito-left-label {
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #F6F1E8;
  margin-top: 10px;
  text-align: center;
}
.conceito-left-rule {
  width: 52%;
  height: 0.5px;
  background: rgba(246,241,232,0.55);
  margin: 28px auto;
}
.conceito-left-desc {
  font-weight: 200;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F6F1E8;
  line-height: 1.65;
  text-align: center;
}

/* Direita: texto grande */
.conceito-imgblock-text {
  font-weight: 200;
  font-style: italic;
  font-size: 18px;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #F6F1E8;
  margin: 0;
}
.conceito-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(246,241,232,.52);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Mobile layout alternativo */
.conceito-mobile { display: none; }

@media (max-width: 767px) {
  #conceito { min-height: unset; }
  /* Oculta layout desktop */
  .conceito-cols,
  .conceito-foot { display: none !important; }
  /* Exibe layout mobile */
  .conceito-mobile { display: flex; flex-direction: column; }
  .conceito-mobile-title {
    font-weight: 200;
    font-style: italic;
    text-transform: uppercase;
    font-size: 40px;
    line-height: 1.05;
    letter-spacing: 0.02em;
    color: #F6F1E8;
    text-align: center;
    margin: 0 0 -24px;
    padding: 40px 24px 0;
    position: relative;
    z-index: 10;
  }
  .conceito-mobile-text {
    padding: 32px 24px 40px;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.75;
    color: rgba(246,241,232,0.85);
    text-align: center;
  }
  .localizacao-imagem { display: none; }
  .conceito-imgblock-mobile { display: flex !important; flex-direction: column; align-items: center; }
  .conceito-imgblock-left, .conceito-imgblock-right { display: none; }
  .conceito-imgblock-img { width: 100%; }
  .conceito-imgblock-img > img { display: none; }

  /* ── Contato mobile ── */
  #contato h2 { text-align: center; }
  #contato .mb-6 { display: flex; justify-content: center; }

  /* ── LAYERS mobile ── */
  .layers-desktop-polygon,
  .layers-desktop-methafora,
  .layers-tagline { display: none !important; }
  .layers-mobile { display: flex !important; }
}

/* ── Responsive: substitui clamp() ─────────────────── */
@media (min-width: 640px) {
  .conceito-mobile-title { font-size: 32px; margin-bottom: -50px; }
}
@media (min-width: 768px) {
  .num-huge { font-size: 160px; }
  .conceito-title { font-size: 60px; }
  .conceito-left-num { font-size: 110px; }
  .conceito-left-label { font-size: 12px; }
  .conceito-left-desc { font-size: 12px; }
  .conceito-imgblock-text { font-size: 42px; }
}
@media (min-width: 1024px) {
  .num-huge { font-size: 200px; }
  .conceito-title { font-size: 80px; }
  .conceito-left-num { font-size: 150px; }
  .conceito-imgblock-text { font-size: 50px; }
  .conceito-text { font-size: 15px; }
}
@media (min-width: 1280px) {
  .conceito-title { font-size: 110px; }
  .conceito-left-num { font-size: 194px; }
  .conceito-left-label { font-size: 14px; }
  .conceito-left-desc { font-size: 14px; }
  .conceito-imgblock-text { font-size: 70px; }
  .conceito-text { font-size: 18px; }
}

/* ── Gradientes hero ────────────────────────────────── */
.hero-overlay {
  background: linear-gradient(to bottom, rgba(28,22,15,0.28) 0%, rgba(28,22,15,0.15) 45%, rgba(28,22,15,0.45) 100%);
}
.hero-fade-brown {
  background: linear-gradient(to bottom, transparent 0%, rgba(129,117,95,0.6) 40%, #81755F 100%);
}

/* ── Localização foto ───────────────────────────────── */
.localizacao-photo {
  top: -65%;
  height: calc(100% + 120px);
}

/* ── Time section ───────────────────────────────────── */
#time {
  padding-top: 280px;
}

/* ── Card flutuante (LAYERS) ────────────────────────── */
.card-float {
  transform: translate(-50%, -30%);
}

/* ── Polígono clip-path ─────────────────────────────── */
.polygon-clip {
  clip-path: polygon(9.5% 0%, 100% 0%, 100% 70%, 90.5% 100%, 0% 100%, 0% 30%);
}

/* ── Grid 3 colunas com divisores ───────────────────── */
.grid-3cols {
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
}

/* ── Divisor vertical fino ──────────────────────────── */
.divider-v {
  width: 0.5px;
  height: 18px;
  background: rgba(246,241,232,0.4);
}

/* ── Divisor horizontal fino ────────────────────────── */
.divider-h {
  height: 0.5px;
  background: rgba(246,241,232,0.22);
}

/* ── Borda inferior sutil ────────────────────────────── */
.stat-border {
  border-bottom: 0.5px solid rgba(246,241,232,0.3);
}

/* ── Marina section ──────────────────────────────────── */
.marina-cols {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 80px;
  align-items: center;
}
.marina-title {
  font-weight: 200;
  font-size: 50px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #81755F;
  text-transform: uppercase;
  font-style: normal;
  margin: 0;
}
.marina-title em {
  font-style: italic;
  font-weight: 200;
}
.marina-text {
  font-weight: 300;
  font-size: 13px;
  line-height: 1.8;
  color: #81755F;
  opacity: 0.75;
  margin: 0 0 14px;
}
.marina-text:last-child { margin-bottom: 0; }
@media (min-width: 1024px) {
  .marina-text { font-size: 14px; }
}
.marina-title-mobile { display: none; }

@media (max-width: 767px) {
  .marina-cols { grid-template-columns: 1fr; }
  .marina-col-r { display: none; }
  .marina-title-desktop { display: none; }
  .marina-title-mobile { display: block; text-align: center; font-size: 34px; }
}

/* ── Lifestyle section ───────────────────────────────── */
.lifestyle-img-wrap {
  line-height: 0;
}
.lifestyle-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.lifestyle-headline {
  font-size: 40px;
  line-height: 1.0;
  margin-top: -1em;
}
.lifestyle-line1,
.lifestyle-line2 {
  font-size: inherit;
  line-height: inherit;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #81755F;
  text-align: center;
  margin: 0;
}
.lifestyle-line1 em,
.lifestyle-line2 em { font-style: italic; font-weight: 200; }
.lifestyle-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 72px;
}
.lifestyle-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.lifestyle-time {
  display: block;
  font-size: 13px;
  letter-spacing: 0.2em;
  font-weight: 300;
  color: #81755F;
  opacity: 0.6;
  margin-top: 12px;
  text-transform: uppercase;
  max-width: 50%;
}
.lifestyle-desc {
  font-size: 15px;
  font-weight: 300;
  color: #81755F;
  max-width: 50%;
  line-height: 1.55;
  margin-top: 4px;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .lifestyle-headline { font-size: 60px; }
}
@media (min-width: 1024px) {
  .lifestyle-headline { font-size: 80px; }
}
@media (min-width: 1280px) {
  .lifestyle-headline { font-size: 105px; }
}
/* ── Lifestyle mobile ─────────────────────────────────── */
.lifestyle-mobile { display: none; }

@media (max-width: 767px) {
  #time { padding-top: 180px; }
  .lifestyle-desktop { display: none; }
  .lifestyle-mobile {
    display: flex;
    flex-direction: column;
  }
  .lifestyle-m-title {
    font-size: 30px;
    line-height: 1.0;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: #81755F;
    text-align: center;
    padding: 70px 24px 30px;
  }
  .lifestyle-m-title em { font-style: italic; font-weight: 200; }
  .lifestyle-m-title p { margin: 0; }
  .lifestyle-m-outer {
    overflow: hidden;
    margin-top: 40px;
    padding-left: 5%;
    cursor: grab;
  }
  .lifestyle-m-outer:active { cursor: grabbing; }
  .lifestyle-m-track {
    display: flex;
    gap: 12px;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    user-select: none;
  }
  .lifestyle-m-card {
    flex: 0 0 82%;
    flex-shrink: 0;
  }
  .lifestyle-m-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
  }
  .lifestyle-m-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 24px 0;
  }
}

/* ── Galeria / Carrossel ────────────────────────────── */
.galeria-outer {
  overflow: hidden;
}
@media (min-width: 768px) {
  .galeria-outer {
    padding-left: max(16px, calc((100vw - 1200px) / 2));
  }
}
.galeria-track {
  display: flex;
  gap: 16px;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.galeria-slide {
  flex: 0 0 min(1200px, 92vw);
  overflow: hidden;
  flex-shrink: 0;
}
.galeria-slide img {
  width: 100%;
  height: 80vh;
  min-height: 400px;
  object-fit: cover;
  display: block;
}
.galeria-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding-top: 40px;
}
.galeria-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  opacity: 1;
  transition: opacity 0.25s;
  line-height: 0;
}
.galeria-arrow:hover { opacity: 0.6; }
.galeria-arrow:disabled { opacity: 0.2; cursor: default; }
.galeria-arrow img {
  height: 18px;
  width: auto;
}
.galeria-marina-mobile { display: none; }

@media (max-width: 767px) {
  .galeria-slide { flex: 0 0 calc(88% - 8px); }
  .galeria-slide img { height: 100vw; min-height: 200px; }
  .galeria-controls { gap: 32px; padding-top: 28px; }
  .galeria-marina-mobile {
    display: block;
    padding: 32px 24px 0;
  }
  .galeria-marina-mobile .marina-text {
    text-align: center;
  }
}
