/* ============================================================
   TOKENS
   Paleta: azul egeu suave, areia off-white, palha/marrom claro
   Tipografia: Fraunces (display, uso comedido) + Manrope (corpo/utilitária)
   Assinatura visual: molduras em arco (janelas gregas) + divisores
   botânicos em linha (ecoando a floreira do imóvel)
   ============================================================ */
:root {
  --blue: #6D93AC;
  --blue-deep: #3E6478;
  --blue-ink: #26424F;
  --blue-pale: #E7F0F3;
  --sand: #F6F1E6;
  --sand-deep: #EBE0C9;
  --straw: #B08A63;
  --straw-deep: #8C6B49;
  --ink: #2E3538;
  --white: #FFFDF9;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, sans-serif;

  --radius-arch: 200px 200px 8px 8px;
  --shadow-soft: 0 20px 50px -25px rgba(38, 66, 79, 0.35);
  --ease: cubic-bezier(.4,0,.2,1);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--blue-deep);
  outline-offset: 3px;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--narrow { max-width: 720px; text-align: center; }

.wrap--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.wrap--reverse { direction: rtl; }
.wrap--reverse .col { direction: ltr; }

@media (max-width: 860px) {
  .wrap--split { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
}

.section { padding: 96px 0; }
.section--sand { background: var(--sand); }
.section--blue-pale { background: var(--blue-pale); }
.section--dark { background: var(--blue-ink); color: var(--sand); }
.section--cta {
  background: linear-gradient(180deg, var(--blue-ink) 0%, var(--blue-deep) 100%);
  color: var(--white);
  text-align: center;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--straw-deep);
  margin: 0 0 12px;
}
.eyebrow--light { color: #CDEAF5; }

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--blue-ink);
}
.section__title--light { color: var(--white); }
.section__title--light-body { color: #DCEAF0; max-width: 46ch; }

.lede { font-size: 1.05rem; max-width: 56ch; color: #4A5559; }
.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--blue-deep);
  border-left: 2px solid var(--straw);
  padding-left: 20px;
  margin: 0 0 16px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--blue-ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(38,66,79,.15) 0%, rgba(38,66,79,.15) 45%, rgba(28,47,56,.92) 100%);
}
.hero__top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px clamp(24px, 6vw, 96px) 0;
}
.hero__mark {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}
.hero__phone-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,.4);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background .2s var(--ease);
}
.hero__phone-link:hover { background: rgba(255,255,255,.12); }

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(24px, 6vw, 96px) 72px;
  max-width: 760px;
}

@media (min-width: 861px) {
  .hero {
    align-items: center;
  }
  .hero__content {
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.12;
  color: var(--white);
  margin: 0 0 20px;
}
.hero__subtitle {
  color: #E6EEF1;
  font-size: 1.05rem;
  max-width: 52ch;
  margin: 0 0 32px;
}

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--blue-deep); }
.btn--whatsapp {
  background: #25D366;
  color: #06340f;
  box-shadow: 0 16px 40px -20px rgba(37,211,102,.7);
}
.btn--whatsapp:hover { background: #1fb958; }
.btn--block { width: 100%; margin-top: 8px; }

/* ============ DIVISOR BOTÂNICO (assinatura) ============ */
.divider {
  color: var(--straw);
  display: flex;
  justify-content: center;
  padding: 28px 0;
}
.divider__svg { width: 220px; height: 16px; opacity: 0.8; }

/* ============ PILARES ============ */
.pilares {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 48px;
  margin-top: 40px;
}
@media (max-width: 700px) { .pilares { grid-template-columns: 1fr; } }
.pilar { border-top: 1px solid var(--sand-deep); padding-top: 20px; }
.pilar__icon { font-size: 1.6rem; }
.pilar h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--blue-ink);
  margin: 10px 0 8px;
}
.pilar p { margin: 0; color: #4A5559; font-size: 0.97rem; }

/* ============ REFORMA ============ */
.reforma-lista { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.reforma-item {
  background: var(--white);
  border-left: 3px solid var(--straw);
  padding: 20px 28px;
  border-radius: 4px;
}
.reforma-item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--blue-ink);
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.reforma-item p { margin: 0; color: #4A5559; }

/* ============ FOTO ÚNICA COM ARCO (assinatura — só fachada) ============ */
.foto { margin: 0; }
.foto--arch {
  overflow: hidden;
  border-radius: var(--radius-arch);
  box-shadow: var(--shadow-soft);
  background: var(--sand-deep);
}
.foto--tall img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: 100%; }
.foto figcaption {
  text-align: center;
  padding: 12px 8px 0;
  font-size: 0.85rem;
  color: var(--straw-deep);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.section--dark .foto figcaption { color: #CDEAF5; }
.carrossel-wrap { position: relative; margin-top: 40px; }
.carrossel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--straw) var(--sand-deep);
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}
.carrossel__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  margin: 0;
}
.carrossel__item img {
  height: 420px;
  width: auto;
  max-width: 72vw;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  display: block;
}
.carrossel__item .photo-placeholder { width: 280px; height: 420px; border-radius: 10px; }
.carrossel__item figcaption {
  text-align: left;
  padding: 12px 2px 0;
  font-size: 0.85rem;
  color: var(--straw-deep);
  font-weight: 600;
}
.section--dark .carrossel__item figcaption { color: #CDEAF5; }

.carrossel-nav {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: -8px;
  margin-bottom: 24px;
}
.carrossel-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--straw);
  background: var(--white);
  color: var(--straw-deep);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.carrossel-btn:hover { background: var(--straw); color: var(--white); }
@media (max-width: 700px) { .carrossel-nav { display: none; } }

@media (max-width: 700px) {
  .carrossel__item img { height: 300px; }
  .carrossel__item .photo-placeholder { width: 220px; height: 300px; }
}

/* ============ MOSAICO DA PRAIA (bento grid — conteúdo evocativo, ============
   deliberadamente assimétrico, diferente do carrossel uniforme do tour) ==== */
.mosaico-praia {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 20px;
  margin-top: 40px;
}
.mosaico-item { margin: 0; position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); }
.mosaico-item img { width: 100%; height: 100%; object-fit: cover; }
.mosaico-item--big { grid-column: span 2; grid-row: span 2; }
.mosaico-item--wide { grid-column: span 2; }
.mosaico-item--tall { grid-row: span 2; }
.mosaico-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 18px 14px;
  background: linear-gradient(180deg, rgba(38,66,79,0) 0%, rgba(38,66,79,.75) 100%);
  color: var(--white);
}
.mosaico-item figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.mosaico-item figcaption span { font-size: 0.85rem; color: #E6EEF1; }

@media (max-width: 860px) {
  .mosaico-praia { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .mosaico-item--big { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 560px) {
  .mosaico-praia { grid-template-columns: 1fr; }
  .mosaico-item, .mosaico-item--big, .mosaico-item--wide, .mosaico-item--tall {
    grid-column: span 1; grid-row: span 1; height: 260px;
  }
}
/* ============ CARD DE INVESTIMENTO (destaque de preço) ============ */
.investimento-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 36px 56px;
  border: 1.5px solid var(--blue);
  border-radius: 16px;
  background: var(--white);
}
.investimento-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--straw-deep);
}
.investimento-card__valor {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--blue-ink);
  margin: 6px 0;
}
.investimento-card__nota {
  font-size: 0.85rem;
  color: #4A5559;
}

/* ============ STAT ============ */
.stat { display: flex; align-items: baseline; gap: 16px; margin: 24px 0; }
.stat__number {
  font-family: var(--font-display);
  font-size: 4.2rem;
  line-height: 1;
  color: var(--straw);
}
.stat__label { max-width: 24ch; color: #DCEAF0; font-size: 0.95rem; }

/* ============ FICHA TÉCNICA ============ */
.ficha-list { list-style: none; padding: 0; margin: 16px 0 0; }
.ficha-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--sand-deep);
  font-size: 0.97rem;
}

/* ============ COMPARATIVO (semi-mobiliado) ============ */
.comparativo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 36px;
}
@media (max-width: 700px) { .comparativo { grid-template-columns: 1fr; } }
.comparativo__col {
  background: var(--white);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--sand-deep);
}
.comparativo__col--fica { border-color: var(--blue); background: #F0F5F7; }
.comparativo__col h3 {
  font-family: var(--font-display);
  color: var(--blue-ink);
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.comparativo__col p { margin: 0; color: #4A5559; }

/* ============ CTA FINAL / FORM ============ */
.form-intro { color: #CDEAF5; margin: 40px 0 20px; font-size: 0.95rem; }
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  background: rgba(255,255,255,.06);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.15);
}
.form__row { display: flex; flex-direction: column; gap: 6px; }
.form__row label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #CDEAF5;
}
.form__row input {
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.98rem;
}
.form__row input::placeholder { color: rgba(255,255,255,.45); }
.form__row input:focus { background: rgba(255,255,255,.14); }
.form__note { font-size: 0.8rem; color: rgba(255,255,255,.6); text-align: center; margin: 4px 0 0; }

.footer {
  background: var(--blue-ink);
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 28px 16px;
  font-size: 0.85rem;
}

/* ============ PLACEHOLDER DE FOTO (enquanto não há imagem real) ============ */
.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: repeating-linear-gradient(135deg, var(--sand-deep), var(--sand-deep) 10px, var(--sand) 10px, var(--sand) 20px);
  border: 2px dashed var(--straw);
  color: var(--straw-deep);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 16px;
}
.photo-placeholder svg { opacity: 0.6; }
.hero .photo-placeholder { min-height: 92vh; }
