/* ============================================================
   MELACHIM IMÓVEIS — melachim.com.br
   Design system: deep-sea green / sand / gold, calçadão wave motif
   Fonts: Fraunces (display, variable) + Archivo (text, variable)
   ============================================================ */

/* ---------- Fonts (self-hosted, latin subset, variable) ---------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/archivo-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* color — deep Atlantic green, Rio sand, gold of kings */
  --mar:        oklch(30.5% 0.052 185);   /* #0E3B36 */
  --mar-deep:   oklch(25%   0.048 185);   /* #092D28 */
  --mar-mid:    oklch(38%   0.06  180);   /* #175A50 */
  --ink:        oklch(24%   0.02  180);   /* near-black green, text on light */
  --ink-soft:   oklch(40%   0.02  180);
  --areia:      oklch(95.5% 0.018 90);    /* #F4EFE3 sand */
  --areia-2:    oklch(91%   0.025 92);    /* deeper sand, cards */
  --branco:     oklch(98.5% 0.006 95);    /* warm white */
  --ouro:       oklch(72%   0.105 85);    /* #C8A24B gold */
  --ouro-vivid: oklch(78%   0.12  88);    /* gold on dark */
  --ouro-pale:  oklch(88%   0.06  90);    /* pale gold decorative on dark */
  --wa:         oklch(65%   0.17  150);   /* whatsapp green, chips only */

  /* type */
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-text: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --fs-hero: clamp(2.5rem, 5.6vw + 1rem, 4.75rem);
  --fs-h2:   clamp(1.85rem, 2.6vw + .9rem, 3rem);
  --fs-h3:   clamp(1.2rem, .6vw + 1rem, 1.45rem);
  --fs-body: 1.0625rem;
  --fs-small:.9rem;
  --fs-eyebrow:.8125rem;

  /* space & shape */
  --sect: clamp(4.5rem, 8vw, 7.5rem);
  --gap: clamp(1.25rem, 2.5vw, 2rem);
  --container: 74rem;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  /* motion */
  --ease: cubic-bezier(.22,.8,.36,1);
  --t-fast: 180ms;
  --t-med: 420ms;
}

/* fallbacks for browsers without oklch */
@supports not (color: oklch(50% 0 0)) {
  :root {
    --mar: #0E3B36; --mar-deep: #092D28; --mar-mid: #175A50;
    --ink: #16221F; --ink-soft: #47554F;
    --areia: #F4EFE3; --areia-2: #E9E0C9; --branco: #FCFBF6;
    --ouro: #C8A24B; --ouro-vivid: #D9B45C; --ouro-pale: #E9D9A8;
    --wa: #2BB55A;
  }
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .6em; font-family: var(--f-display); font-weight: 480; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--branco), 0 0 0 6px var(--ouro); border-radius: 2px; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ouro); color: var(--mar-deep); padding: .7rem 1.2rem;
  font-weight: 600; text-decoration: none; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

/* ---------- Eyebrow / wave motif ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mar-mid); margin-bottom: 1.1rem;
}
.on-dark .eyebrow { color: var(--ouro-vivid); }
.eyebrow::before {
  content: ''; width: 34px; height: 10px; flex: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 20'%3E%3Cpath d='M0 14 Q8.5 4 17 14 T34 14 T51 14 T68 14' fill='none' stroke='%23C8A24B' stroke-width='3.2'/%3E%3C/svg%3E");
}

.wave-rule {
  border: 0; height: 14px; margin: 0 auto; width: 132px;
  background: repeat-x left center / 44px 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 14' %3E%3Cpath d='M0 9.5 Q5.5 2 11 9.5 T22 9.5 T33 9.5 T44 9.5' fill='none' stroke='%23C8A24B' stroke-width='2.4'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--f-text); font-weight: 600; font-size: 1rem;
  padding: .95rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }
.btn-gold { background: var(--ouro); color: var(--mar-deep); }
.btn-gold:hover { background: var(--ouro-vivid); }
.btn-ghost { border-color: color-mix(in oklab, var(--ouro) 55%, transparent); color: var(--areia); }
.btn-ghost:hover { border-color: var(--ouro); color: var(--ouro-pale); }
.btn-dark { background: var(--mar); color: var(--areia); }
.btn-dark:hover { background: var(--mar-mid); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  transition: background var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  color: var(--areia);
}
.site-header.scrolled { background: color-mix(in oklab, var(--mar-deep) 92%, transparent); box-shadow: 0 1px 0 rgb(0 0 0 / .25); backdrop-filter: blur(10px); }
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; margin-right: auto; }
.brand svg { flex: none; }
.brand-mark { flex: none; height: 42px; width: auto; }
.footer-logo { width: min(260px, 70vw); height: auto; margin-bottom: .4rem; }
.brand-name { font-family: var(--f-display); font-weight: 520; font-size: 1.35rem; letter-spacing: .04em; }
.brand-name small { display: block; font-family: var(--f-text); font-weight: 500; font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ouro-pale); margin-top: .1rem; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a { font-size: .95rem; font-weight: 500; text-decoration: none; opacity: .92; padding: .35rem 0; border-bottom: 2px solid transparent; transition: border-color var(--t-fast), opacity var(--t-fast); }
.main-nav a:hover { opacity: 1; border-bottom-color: var(--ouro); }

.lang-switch { display: flex; align-items: center; gap: .15rem; margin-inline: .4rem; font-size: .82rem; font-weight: 600; letter-spacing: .05em; }
.lang-switch a, .lang-switch span[aria-current] { padding: .3rem .45rem; border-radius: var(--r-sm); text-decoration: none; opacity: .75; }
.lang-switch a:hover { opacity: 1; background: rgb(255 255 255 / .1); }
.lang-switch span[aria-current] { opacity: 1; color: var(--ouro-vivid); }
.lang-switch .sep { opacity: .35; }

.nav-toggle { display: none; }

.header-cta { white-space: nowrap; padding: .7rem 1.25rem; min-height: 42px; font-size: .92rem; }

@media (max-width: 60em) {
  .main-nav {
    position: fixed; inset: 0; z-index: 49; flex-direction: column; justify-content: center; gap: 2rem;
    background: var(--mar-deep); font-size: 1.3rem;
    transform: translateY(-102%); transition: transform var(--t-med) var(--ease);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { font-size: 1.25rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    z-index: 51; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: inherit;
  }
  .header-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(94svh, 60rem); display: flex; flex-direction: column;
  color: var(--areia); background: var(--mar-deep);
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 42%; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(78deg, oklch(25% .048 185 / .96) 0%, oklch(25% .048 185 / .82) 34%, oklch(28% .05 185 / .38) 62%, oklch(30% .05 185 / .18) 100%),
    linear-gradient(to top, oklch(25% .048 185 / .9) 0%, transparent 34%);
}
@supports not (color: oklch(50% 0 0)) {
  .hero::before {
    background:
      linear-gradient(78deg, rgba(9,45,40,.96) 0%, rgba(9,45,40,.82) 34%, rgba(11,52,46,.38) 62%, rgba(14,59,54,.18) 100%),
      linear-gradient(to top, rgba(9,45,40,.9) 0%, transparent 34%);
  }
}
.hero-inner {
  display: grid; align-content: center; flex: 1;
  padding-top: clamp(6.5rem, 12vh, 9rem); padding-bottom: clamp(2.5rem, 5vh, 4rem);
  max-width: var(--container); width: 100%; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.hero-copy { max-width: 36rem; }
.hero h1 {
  font-size: var(--fs-hero); font-weight: 440; color: var(--branco);
  margin-bottom: .45em;
}
.hero h1 em { font-style: italic; font-weight: 380; color: var(--ouro-pale); }
.hero-sub { font-size: clamp(1.05rem, 1.1vw + .8rem, 1.25rem); max-width: 32rem; color: color-mix(in oklab, var(--areia) 88%, transparent); margin-bottom: 1.8rem; }
.hero-wave { margin: 1.4rem 0 0; width: 132px; margin-left: 2px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.hero-trust {
  border-top: 1px solid rgb(255 255 255 / .14);
  background: color-mix(in oklab, var(--mar-deep) 55%, transparent);
  backdrop-filter: blur(6px);
}
.trust-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem;
  padding-block: 1.1rem; font-size: .88rem;
}
.trust-strip > div { display: flex; align-items: center; gap: .6rem; }
.trust-strip svg { flex: none; color: var(--ouro-vivid); }
.trust-strip strong { font-weight: 600; color: var(--branco); display: block; }
.trust-strip span { color: color-mix(in oklab, var(--areia) 75%, transparent); }

/* ---------- Sections ---------- */
.section { padding-block: var(--sect); }
.section-dark { background: var(--mar); color: var(--areia); }
.section-sand { background: var(--areia); }
.section-head { max-width: 44rem; margin-bottom: clamp(2.2rem, 4.5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); color: var(--ink); }
.on-dark .section-head h2, .section-dark .section-head h2 { color: var(--branco); }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.section-dark .section-head p { color: color-mix(in oklab, var(--areia) 80%, transparent); }

/* ---------- Meaning band (brand story) ---------- */
.meaning {
  background: var(--mar-deep); color: var(--areia);
  padding-block: clamp(2.8rem, 5vw, 4.2rem);
}
.meaning-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.meaning-mark { font-family: var(--f-display); font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 380; color: var(--ouro-vivid); line-height: 1; white-space: nowrap; }
.meaning-text { font-size: clamp(1.05rem, 1.2vw + .8rem, 1.3rem); font-family: var(--f-display); font-weight: 380; line-height: 1.5; color: color-mix(in oklab, var(--areia) 92%, transparent); max-width: 46rem; margin: 0; text-wrap: pretty; }
.meaning-text strong { color: var(--ouro-pale); font-weight: 520; }
@media (max-width: 46em) { .meaning-inner { grid-template-columns: 1fr; } }

/* ---------- Services (bento) ---------- */
.services-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(12, 1fr);
}
.svc {
  border-radius: var(--r-lg); padding: clamp(1.5rem, 2.5vw, 2.2rem);
  display: flex; flex-direction: column; gap: .5rem; position: relative; overflow: hidden;
  background: var(--branco); border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
}
.svc h3 { font-size: var(--fs-h3); font-family: var(--f-text); font-weight: 650; letter-spacing: 0; margin-bottom: .1rem; color: var(--ink); }
.svc p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.svc-tag { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mar-mid); margin-bottom: .4rem; }
.svc-feature {
  grid-column: span 7; grid-row: span 2; justify-content: flex-end; min-height: 26rem;
  color: var(--areia); border: 0; isolation: isolate; background: var(--mar-deep);
}
.svc-feature .svc-tag { color: var(--ouro-vivid); }
.svc-feature h3 { color: var(--branco); font-family: var(--f-display); font-weight: 460; font-size: clamp(1.6rem, 2vw, 2.1rem); }
.svc-feature p { color: color-mix(in oklab, var(--areia) 85%, transparent); max-width: 30rem; }
.svc-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.svc-feature::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(9,45,40,.92) 8%, rgba(9,45,40,.45) 55%, rgba(9,45,40,.08) 100%);
}
.svc-side { grid-column: span 5; }
.svc-wide { grid-column: span 12; flex-direction: row; align-items: center; gap: 2rem; }
.svc-wide > div { max-width: 52rem; }
@media (max-width: 56em) { .svc-wide { flex-direction: column; align-items: flex-start; gap: .5rem; } }
.svc-link { margin-top: auto; padding-top: 1rem; }
.svc-link a { font-weight: 600; font-size: .95rem; color: var(--mar-mid); text-decoration: none; border-bottom: 2px solid var(--ouro); padding-bottom: .1rem; }
.svc-feature .svc-link a { color: var(--ouro-pale); }
@media (max-width: 56em) {
  .svc-feature, .svc-side { grid-column: span 12; }
  .svc-feature { min-height: 20rem; }
}

/* ---------- Neighborhoods ---------- */
.hoods-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(12, 1fr); }
.hood {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 21rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--branco); text-decoration: none; isolation: isolate;
}
.hood img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 600ms var(--ease); }
.hood::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(9,45,40,.9) 0%, rgba(9,45,40,.35) 45%, rgba(9,45,40,.05) 75%);
  transition: background var(--t-med);
}
@media (hover: hover) { .hood:hover img { transform: scale(1.045); } }
.hood-body { padding: 1.4rem 1.5rem; }
.hood h3 { font-size: 1.45rem; font-weight: 460; margin-bottom: .15rem; color: var(--branco); }
.hood p { font-size: .9rem; color: color-mix(in oklab, var(--areia) 82%, transparent); margin: 0; max-width: 28rem; }
.hood-loc {
  font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ouro-pale); margin: 0 0 .3rem;
}
.hood-price {
  display: inline-block; margin-top: .8rem !important;
  background: var(--ouro); color: var(--mar-deep);
  font-weight: 650; font-size: .92rem; letter-spacing: .01em;
  padding: .42rem .95rem; border-radius: 999px;
}
.opp-note { margin: 2.2rem 0 0; font-size: 1rem; color: var(--ink-soft); }
.opp-note a { color: var(--mar-mid); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--ouro); }
.hood-1 { grid-column: span 7; min-height: 24rem; }
.hood-2 { grid-column: span 5; min-height: 24rem; }
.hood-3 { grid-column: span 5; }
.hood-4 { grid-column: span 7; }
@media (max-width: 56em) {
  .hood-1, .hood-2, .hood-3, .hood-4 { grid-column: span 12; min-height: 17rem; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); counter-reset: step; }
.step { position: relative; padding-top: .4rem; }
.step-num {
  font-family: var(--f-display); font-size: clamp(2.8rem, 4vw, 3.8rem); font-weight: 350;
  color: var(--ouro); line-height: 1; margin-bottom: .8rem;
}
.step h3 { font-family: var(--f-text); font-weight: 650; font-size: 1.15rem; letter-spacing: 0; color: var(--branco); margin-bottom: .4rem; }
.step p { font-size: .97rem; color: color-mix(in oklab, var(--areia) 78%, transparent); margin: 0; }
@media (max-width: 46em) { .steps { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.founder-photo { position: relative; }
.founder-photo img { border-radius: var(--r-lg); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.founder-photo::after {
  content: ''; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; z-index: -1;
  border: 2px solid var(--ouro); border-radius: var(--r-lg); opacity: .55;
}
.founder-body h2 { font-size: var(--fs-h2); }
.founder-body .lead { font-size: 1.15rem; color: var(--ink); }
.founder-body p { color: var(--ink-soft); }
.founder-langs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; padding: 0; list-style: none; }
.founder-langs li {
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  background: var(--areia-2); color: var(--ink); border-radius: 999px; padding: .42rem .9rem;
}
@media (max-width: 56em) {
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 24rem; }
  .founder-photo::after { inset: 1rem -1rem -1rem 1rem; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 50rem; }
.faq-item {
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 14%, transparent);
}
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  font-weight: 600; font-size: 1.06rem; padding: 1.15rem 0; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; flex: none; width: 22px; height: 22px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23175A50' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform var(--t-fast) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 1.3rem; color: var(--ink-soft); max-width: 46rem; }
.faq-item .faq-a p { margin-bottom: .6em; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Contact / lead ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 4.5rem); }
.contact-info h2 { color: var(--branco); font-size: var(--fs-h2); }
.contact-info p { color: color-mix(in oklab, var(--areia) 80%, transparent); max-width: 26rem; }
.contact-ways { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-ways a { display: inline-flex; align-items: center; gap: .8rem; color: var(--areia); text-decoration: none; font-weight: 500; }
.contact-ways a:hover { color: var(--ouro-pale); }
.contact-ways svg { color: var(--ouro-vivid); flex: none; }

.lead-form {
  background: var(--branco); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--ink); box-shadow: 0 24px 60px -30px rgb(0 0 0 / .45);
}
.lead-form h3 { font-family: var(--f-text); font-weight: 650; font-size: 1.2rem; letter-spacing: 0; margin-bottom: 1.2rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border-radius: var(--r-md);
  border: 1.5px solid color-mix(in oklab, var(--ink) 22%, transparent);
  background: var(--branco); min-height: 48px;
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  box-shadow: none; outline: 3px solid color-mix(in oklab, var(--ouro) 70%, transparent); outline-offset: 1px; border-color: var(--ouro);
}
.lead-form .btn { width: 100%; margin-top: .4rem; }
.lead-form .form-note { font-size: .82rem; color: var(--ink-soft); margin: .8rem 0 0; text-align: center; }
@media (max-width: 56em) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Final CTA band ---------- */
.cta-band { position: relative; isolation: isolate; color: var(--branco); text-align: center; padding-block: clamp(5rem, 10vw, 8.5rem); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: center 30%; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(9,45,40,.78); }
.cta-band h2 { font-size: var(--fs-h2); color: var(--branco); max-width: 30ch; margin-inline: auto; }
.cta-band p { color: color-mix(in oklab, var(--areia) 85%, transparent); max-width: 44ch; margin: 0 auto 2rem; }
.cta-band .wave-rule { margin-bottom: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--mar-deep); color: color-mix(in oklab, var(--areia) 72%, transparent); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
.site-footer h4 { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ouro-vivid); margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--areia); }
.footer-brand .brand-name { color: var(--areia); }
.footer-brand p { margin-top: 1rem; max-width: 22rem; }
.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / .1);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  padding-block: 1.4rem; font-size: .82rem;
}
@media (max-width: 56em) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36em) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp floating ---------- */
.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--wa); color: #fff; box-shadow: 0 10px 30px -8px rgb(0 0 0 / .5);
  transition: transform var(--t-fast) var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
@media (max-width: 60em) { .wa-float { right: .9rem; bottom: .9rem; } }

/* ---------- Sub-pages (annonces, guide, legal) ---------- */
.page-hero {
  background: var(--mar); color: var(--areia);
  padding: calc(72px + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2.5rem, 5vw, 3.5rem);
}
.page-hero h1 { color: var(--branco); font-size: clamp(2rem, 3.6vw + .8rem, 3.4rem); font-weight: 460; max-width: 24ch; }
.page-hero .hood-loc { color: var(--ouro-vivid); margin-bottom: .6rem; }
.page-hero .hood-price { margin-top: 1rem !important; font-size: 1.05rem; }
.page-hero .page-sub { color: color-mix(in oklab, var(--areia) 85%, transparent); max-width: 40rem; font-size: 1.1rem; margin: 1rem 0 0; }

.breadcrumb { font-size: .85rem; margin: 0 0 1.2rem; color: color-mix(in oklab, var(--areia) 70%, transparent); }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--ouro-pale); }
.breadcrumb .sep { margin-inline: .45rem; opacity: .5; }

.listing-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 56em) { .listing-grid { grid-template-columns: 1fr; } }
.listing-photo img { border-radius: var(--r-lg); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.listing-photo figcaption { font-size: .8rem; color: var(--ink-soft); margin-top: .5rem; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: color-mix(in oklab, var(--ink) 12%, transparent); border: 1px solid color-mix(in oklab, var(--ink) 12%, transparent); border-radius: var(--r-md); overflow: hidden; margin: 0 0 1.6rem; }
.facts > div { background: var(--branco); padding: .9rem 1.1rem; }
.facts dt { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mar-mid); margin: 0 0 .15rem; }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }

.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.45rem, 1.6vw + .9rem, 1.9rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; color: var(--ink-soft); }
.prose li { margin-bottom: .45em; }
.prose p { color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.prose .note { background: var(--areia); border-left: 3px solid var(--ouro); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: .9rem 1.1rem; font-size: .95rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0 1.5rem; }
.prose th { text-align: left; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mar-mid); padding: .6rem .8rem; border-bottom: 2px solid var(--ouro); }
.prose td { padding: .65rem .8rem; border-bottom: 1px solid color-mix(in oklab, var(--ink) 12%, transparent); color: var(--ink-soft); vertical-align: top; }
.prose td:first-child { color: var(--ink); font-weight: 600; }

.footer-lite { background: var(--mar-deep); color: color-mix(in oklab, var(--areia) 72%, transparent); font-size: .85rem; }
.footer-lite .inner { display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; align-items: center; padding-block: 1.6rem; }
.footer-lite a { color: inherit; }
.footer-lite a:hover { color: var(--areia); }

/* print (PDF du guide) */
@media print {
  .site-header, .wa-float, .cta-band, .footer-lite, .breadcrumb, .no-print { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0 0 1rem; }
  .page-hero h1 { color: #000; }
  .page-hero .page-sub { color: #333; }
  body { background: #fff; color: #111; }
  .prose p, .prose ul, .prose ol { color: #222; }
  a { text-decoration: none; color: inherit; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 650ms var(--ease), transform 650ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
