/* Ateneumi Imob - redesign v2
   Palette: midnight navy + champagne, warm ivory light sections.
   Type: Playfair Display (display) + Manrope (text). */

:root {
  --ink: #0d1724;
  --navy: #13213a;
  --navy-2: #1a2d4b;
  --navy-line: rgba(214, 181, 122, .22);
  --ivory: #f6f3ee;
  --stone: #ebe6dd;
  --card: #fffdf9;
  --text: #182131;
  --muted: #4b5566;
  --gold: #d6b57a;
  --gold-hi: #e7cc98;
  --gold-ink: #85642c;   /* champagne dark, for text on light (AA on ivory) */
  --on-dark: #f3eee5;
  --on-dark-2: rgba(243, 238, 229, .78);

  --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-1: 0 1px 2px rgba(19, 33, 58, .06), 0 8px 24px -8px rgba(19, 33, 58, .14);
  --shadow-2: 0 2px 6px rgba(19, 33, 58, .08), 0 28px 60px -18px rgba(19, 33, 58, .32);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --nav-h: 76px;

  --z-nav: 40;
  --z-dock: 30;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }

.ic { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }

.h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--navy);
}
.h2 em { font-style: italic; font-weight: 500; color: var(--gold-ink); }
.h2--light { color: var(--on-dark); }
.h2--light em { color: var(--gold); }

.lead { font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 58ch; }
.lead--light { color: var(--on-dark-2); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 16px; letter-spacing: .005em; white-space: nowrap;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, border-color .25s;
}
.btn .ic { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn--gold {
  --bg: linear-gradient(180deg, var(--gold-hi), var(--gold)); --fg: var(--ink);
  background: var(--bg);
  box-shadow: 0 10px 30px -10px rgba(214, 181, 122, .7), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn--gold:hover { box-shadow: 0 16px 36px -10px rgba(214, 181, 122, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--navy { box-shadow: 0 12px 28px -12px rgba(19, 33, 58, .6); }
.btn--navy:hover { background: var(--navy-2); }
.btn--glass {
  background: rgba(255, 255, 255, .1); color: #fff;
  border-color: rgba(255, 255, 255, .34);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
}
.btn--glass:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .55); }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; transition: gap .3s var(--ease); }
.link:hover { gap: 12px; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: var(--z-nav); transition: background-color .4s, box-shadow .4s, backdrop-filter .4s; }
.nav__in { height: var(--nav-h); display: flex; align-items: center; gap: 28px; width: min(1320px, 100% - 40px); margin-inline: auto; }
.nav::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 14, 24, .55), transparent); pointer-events: none; transition: opacity .4s; }
.nav.is-solid, .nav.is-open { background: rgba(13, 23, 36, .9); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); box-shadow: 0 1px 0 var(--navy-line); }
.nav.is-solid::before, .nav.is-open::before { opacity: 0; }
.nav > * { position: relative; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; margin-right: auto; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--ink);
  background: linear-gradient(145deg, var(--gold-hi), var(--gold));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 16px -6px rgba(214, 181, 122, .6);
}
.brand__name { font-family: var(--f-display); font-weight: 600; font-size: 23px; letter-spacing: -.01em; white-space: nowrap; }
.brand__name em { font-style: italic; font-weight: 500; color: var(--gold); }

.nav__links { display: flex; gap: 30px; }
.nav__links a { color: rgba(255, 255, 255, .86); font-weight: 600; font-size: 15.5px; position: relative; padding: 6px 0; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__phone {
  display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 15.5px;
  padding: 0 20px; min-height: 46px; border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .3s var(--ease);
}
.nav__phone:hover { transform: translateY(-1px); }
.nav__burger { display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; place-items: center; cursor: pointer; }
.nav__burger .ic { width: 26px; height: 26px; }
.menu { display: grid; gap: 4px; padding: 8px 20px 24px; width: min(1320px, 100% - 0px); margin-inline: auto; }
.menu[hidden] { display: none; }
.menu a:not(.btn) { color: #fff; font-family: var(--f-display); font-size: 26px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.menu .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; min-height: 100dvh;
  display: grid; align-items: end;
  color: #fff; overflow: hidden;
  background: var(--ink);
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg { z-index: -2; }
.hero__bg img { object-fit: cover; object-position: 58% 50%; animation: heroZoom 18s var(--ease) both; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 18, 30, .86) 0%, rgba(10, 18, 30, .55) 42%, rgba(10, 18, 30, .08) 75%),
    linear-gradient(0deg, rgba(10, 18, 30, .8) 0%, rgba(10, 18, 30, 0) 45%);
}
.hero__in { width: min(1320px, 100% - 40px); margin-inline: auto; padding: calc(var(--nav-h) + 40px) 0 clamp(120px, 15vh, 170px); max-width: 1320px; }
.hero__in > * { max-width: 720px; }
.hero__in > .hero__title { max-width: 980px; }
.hero__eyebrow { margin-bottom: 22px; }
.hero__title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2.7rem, 1.6rem + 4vw, 5rem);
  line-height: 1.04; letter-spacing: -.022em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--gold-hi); display: inline-block; padding-bottom: .06em; }
.hero__lead { margin-top: 24px; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: rgba(255, 255, 255, .88); max-width: 34ch; }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__eyebrow, .hero__title, .hero__lead, .hero__cta { animation: rise 1s var(--ease) both; }
.hero__title { animation-delay: .08s; }
.hero__lead { animation-delay: .18s; }
.hero__cta { animation-delay: .28s; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }

/* ---------- Quick bar (overlaps hero) ---------- */
.quick { position: relative; z-index: 2; margin-top: -74px; }
.quick__in {
  width: min(1320px, 100% - 40px); margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, 1fr) 1.25fr; align-items: stretch;
  background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-2);
  padding: 10px;
}
.quick__item {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r);
  transition: background-color .3s, transform .35s var(--ease);
}
.quick__item:hover { background: var(--ivory); }
.quick__item:hover .quick__ic { background: var(--navy); color: var(--gold); }
.quick__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--stone); color: var(--navy); transition: background-color .3s, color .3s; flex: none; }
.quick__ic .ic { width: 26px; height: 26px; }
.quick__item strong { display: block; font-family: var(--f-display); font-size: 21px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.quick__item small { display: block; font-size: 15px; color: var(--muted); }
.quick__note {
  display: flex; align-items: center; gap: 14px; margin: 0; padding: 18px 24px;
  background: var(--navy); color: var(--on-dark-2); border-radius: var(--r); font-size: 15px; line-height: 1.45;
}
.quick__note .ic { color: var(--gold); width: 28px; height: 28px; }

/* ---------- Sections ---------- */
.sec { padding: clamp(80px, 9vw, 130px) 0 clamp(88px, 10vw, 140px); }
.sec--light { background: var(--ivory); }
.sec--stone { background: var(--stone); }
.sec--navy { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.sec__head { display: grid; gap: 16px; margin-bottom: 48px; }

/* ---------- Properties ---------- */
.props { padding-top: clamp(84px, 9vw, 120px); }
.props__grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(12, 1fr);
}
.prop {
  grid-column: span 4;
  display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.prop:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.prop__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.prop__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.prop:hover .prop__media img { transform: scale(1.06); }
/* featured: large casa card spanning two rows */
.prop--casa { grid-column: span 7; grid-row: span 2; }
.prop--casa .prop__media { aspect-ratio: auto; flex: 1; min-height: 420px; }
.prop--casa .prop__media img { object-position: 50% 60%; }
.prop--casa .prop__title { font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.4rem); }
.prop--ap3, .prop--garso { grid-column: span 5; }
.prop--ap3 .prop__media, .prop--garso .prop__media { aspect-ratio: 16 / 9; }
.prop--ap2 .prop__media img { object-position: 50% 70%; }

.prop__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 4px; }
.prop__status { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.prop__title { font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; line-height: 1.15; color: var(--navy); margin-top: 2px; }
.prop__sub { color: var(--muted); font-size: 16px; }
.prop__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.prop__meta li { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--text); background: var(--ivory); padding: 6px 12px; border-radius: 999px; }
.prop__meta .ic { width: 17px; height: 17px; color: var(--gold-ink); }
.prop__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--stone); }
.prop__price { font-family: var(--f-display); font-weight: 700; font-size: 1.85rem; color: var(--navy); letter-spacing: -.01em; font-variant-numeric: lining-nums; white-space: nowrap; }
.prop__price small { font-family: var(--f-text); font-size: 15px; font-weight: 600; color: var(--muted); }
.prop__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--navy); padding: 10px 16px; border-radius: 999px; background: var(--stone); transition: background-color .25s, color .25s; white-space: nowrap; }
.prop__more .ic { width: 16px; height: 16px; }
.prop__more:hover { background: var(--navy); color: var(--gold-hi); }

.props__more { margin-top: 48px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; color: var(--muted); font-weight: 600; }

/* ---------- Sell (dark split) ---------- */
.sell { background: radial-gradient(120% 90% at 85% 10%, var(--navy-2), var(--ink) 70%); color: var(--on-dark); padding: clamp(90px, 10vw, 150px) 0; overflow: hidden; }
.sell__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.sell__media { position: relative; padding: 0 0 70px 0; }
.sell__img { width: 88%; border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); aspect-ratio: 1 / 1.02; object-fit: cover; }
.sell__img2 {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--r); border: 6px solid var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.sell__copy { display: grid; gap: 22px; justify-items: start; }
.ticks { display: grid; gap: 12px; margin: 4px 0 10px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; }
.ticks .ic { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: rgba(214, 181, 122, .16); color: var(--gold); }

/* ---------- Services ---------- */
.svcs__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.svcs__side { position: sticky; top: calc(var(--nav-h) + 30px); display: grid; gap: 20px; }
.svcs__fig { margin-top: 16px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 5 / 4; }
.svcs__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.svcs__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc {
  display: grid; gap: 18px; align-content: start;
  padding: 30px 28px; border-radius: var(--r-lg);
  background: var(--card); box-shadow: var(--shadow-1);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s;
}
.svc:nth-child(4n+1) { background: var(--navy); color: var(--on-dark); }
.svc:nth-child(4n+1) h3 { color: #fff; }
.svc:nth-child(4n+1) p { color: var(--on-dark-2); }
.svc:nth-child(4n+1) .svc__ic { background: rgba(214, 181, 122, .16); color: var(--gold); }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.svc__ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--stone); color: var(--navy); }
.svc__ic .ic { width: 30px; height: 30px; }
.svc h3 { font-family: var(--f-display); font-size: 1.45rem; font-weight: 600; color: var(--navy); line-height: 1.2; margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: 16.5px; }
.svc:nth-child(even) { transform: translateY(36px); }
.svc:nth-child(even):hover { transform: translateY(31px); }

/* ---------- Why (photo band) ---------- */
.why { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(100px, 12vw, 170px) 0; }
.why__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 50% 60%; }
.why__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 18, 30, .78), rgba(10, 18, 30, .6) 50%, rgba(10, 18, 30, .85)); }
.why__in { display: grid; gap: 52px; }
.why__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 22px; }
.why__card {
  padding: 34px 30px; border-radius: var(--r-lg);
  background: rgba(16, 28, 46, .42);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 60px -30px rgba(0, 0, 0, .6);
  display: grid; gap: 14px; align-content: start;
  transition: transform .45s var(--ease), border-color .3s;
}
.why__card:hover { transform: translateY(-6px); border-color: rgba(214, 181, 122, .5); }
.why__card:first-child { background: rgba(214, 181, 122, .16); border-color: rgba(214, 181, 122, .4); }
.why__ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); margin-bottom: 8px; }
.why__ic .ic { width: 28px; height: 28px; }
.why__card h3 { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; line-height: 1.2; }
.why__card p { color: rgba(255, 255, 255, .84); font-size: 17px; }

/* ---------- Agent ---------- */
.agent__in { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; }
.agent__card {
  position: relative; z-index: 1; margin-right: -80px;
  background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-2);
  padding: clamp(32px, 4vw, 56px); display: grid; gap: 22px;
}
.agent__id { display: flex; align-items: center; gap: 18px; }
.agent__mono {
  width: 72px; height: 72px; border-radius: 22px; flex: none; display: grid; place-items: center;
  font-family: var(--f-display); font-size: 28px; font-weight: 600; font-style: italic; color: var(--gold);
  background: var(--navy); box-shadow: inset 0 0 0 1px var(--navy-line);
}
.agent__name { font-family: var(--f-display); font-size: clamp(1.9rem, 1.5rem + 1vw, 2.5rem); font-weight: 600; color: var(--navy); line-height: 1.1; }
.agent__role { color: var(--gold-ink); font-weight: 700; font-size: 15px; letter-spacing: .02em; margin-top: 4px; }
.agent__quote p { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 1.15rem + .8vw, 1.85rem); line-height: 1.3; color: var(--navy); padding-left: 22px; border-left: 3px solid var(--gold); }
.agent__text { color: var(--muted); font-size: 17px; max-width: 60ch; }
.agent__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.agent__chips li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 9px 16px; border-radius: 999px; background: var(--ivory); color: var(--navy); }
.agent__chips .ic { width: 18px; height: 18px; color: var(--gold-ink); }
.agent__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 6px; }
.agent__media { border-radius: var(--r-lg); overflow: hidden; height: 100%; min-height: 560px; box-shadow: var(--shadow-1); }
.agent__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }

/* ---------- Steps ---------- */
.steps::before { content: ""; position: absolute; width: 700px; height: 700px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(214, 181, 122, .14), transparent 65%); pointer-events: none; }
.steps .h2 { margin-bottom: 64px; }
.steps__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: s; }
.steps__list::before { content: ""; position: absolute; left: 0; right: 0; top: 38px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(214, 181, 122, .1)); }
.step { position: relative; display: grid; gap: 14px; align-content: start; }
.step__n {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-display); font-size: 28px; font-weight: 600; color: var(--gold);
  background: var(--navy); border: 1px solid var(--gold); margin-bottom: 10px;
  box-shadow: 0 0 0 10px var(--navy);
  transition: background-color .3s, color .3s;
}
.step:hover .step__n { background: var(--gold); color: var(--ink); }
.step h3 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; color: #fff; line-height: 1.2; }
.step p { color: var(--on-dark-2); font-size: 16.5px; max-width: 30ch; }

/* ---------- Voices ---------- */
.voices__in { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto auto; gap: 24px; }
.voices .h2 { grid-column: 1 / -1; margin-bottom: 20px; }
.voice { background: var(--card); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-1); display: grid; gap: 18px; align-content: space-between; }
.voice blockquote p { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.4; color: var(--navy); }
.voice figcaption { font-weight: 800; color: var(--navy); display: grid; gap: 2px; }
.voice figcaption span { font-weight: 500; color: var(--muted); font-size: 15px; }
.voice--big { grid-row: span 2; background: var(--navy); padding: clamp(36px, 4vw, 56px); position: relative; overflow: hidden; }
.voice--big blockquote p { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); line-height: 1.25; font-style: italic; font-weight: 500; }
.voice--big figcaption { color: var(--gold); }
.voice--big figcaption span { color: var(--on-dark-2); }
.voice__q { width: 64px; height: 64px; color: var(--gold); opacity: .9; }

/* ---------- FAQ ---------- */
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq__side { display: grid; gap: 18px; }
.faq__list { display: grid; gap: 14px; }
.faq details { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow-1); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 24px 26px; font-weight: 700; font-size: 18px; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--ivory); color: var(--navy); transition: transform .35s var(--ease), background-color .3s; }
.faq details[open] summary .ic { transform: rotate(45deg); background: var(--gold); color: var(--ink); }
.faq details p { padding: 0 26px 24px; color: var(--muted); font-size: 17px; max-width: 62ch; }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(120% 100% at 0% 0%, var(--navy-2), var(--ink) 65%); color: var(--on-dark); padding: clamp(90px, 10vw, 140px) 0 clamp(100px, 11vw, 150px); }
.contact__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__copy { display: grid; gap: 22px; }
.contact__phone { font-family: var(--f-display); font-size: clamp(2.1rem, 1.5rem + 2vw, 3.2rem); font-weight: 600; color: var(--gold); letter-spacing: -.01em; white-space: nowrap; width: fit-content; border-bottom: 1px solid rgba(214, 181, 122, .4); transition: border-color .3s; }
.contact__phone:hover { border-color: var(--gold); }
.contact__list { display: grid; gap: 16px; margin-top: 6px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-size: 17px; color: var(--on-dark-2); }
.contact__list .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.contact__list a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.contact__list a:hover { border-color: var(--gold); }

.form {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-lg); padding: clamp(26px, 3.5vw, 44px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 80px -40px rgba(0, 0, 0, .7);
  display: grid; gap: 20px;
}
.form__title { font-family: var(--f-display); font-size: 1.7rem; font-weight: 600; color: #fff; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 15px; color: var(--on-dark); padding: 0; margin-bottom: 0; }
.field legend { margin-bottom: 8px; }
.opt { font-weight: 500; color: var(--on-dark-2); }
.field input, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; font-size: 17px; transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .12); box-shadow: 0 0 0 3px rgba(214, 181, 122, .25); }
.field input[aria-invalid="true"] { border-color: #f0a08a; }
.field__err { color: #ffb4a2; font-size: 15px; font-weight: 600; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); font-weight: 600; font-size: 15.5px; color: var(--on-dark); transition: all .2s; }
.seg input:checked + span { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--on-dark-2); padding: 64px 0 28px; border-top: 1px solid var(--navy-line); }
.foot__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; }
.brand--foot { margin: 0; }
.foot__tag { margin-top: 16px; font-family: var(--f-display); font-style: italic; font-size: 1.2rem; color: var(--on-dark); }
.foot__nav, .foot__contact { display: grid; gap: 10px; font-weight: 600; }
.foot__nav a, .foot__contact a { width: fit-content; transition: color .2s; }
.foot__nav a:hover, .foot__contact a:hover { color: var(--gold); }
.foot__copy { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 15px; }

/* ---------- Mobile dock ---------- */
.dock { display: none; }

/* ---------- Reveal ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.js-reveal .svc.reveal.is-in:nth-child(even) { transform: translateY(36px); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 22px; }
  .nav__links a { font-size: 15px; }
  .nav__phone span { display: none; }
  .nav__phone { width: 46px; padding: 0; justify-content: center; }
  .nav__phone .ic { width: 22px; height: 22px; }
}
@media (max-width: 1100px) {
  .quick__in { grid-template-columns: repeat(3, 1fr); }
  .quick__note { grid-column: 1 / -1; }
  .prop, .prop--ap3, .prop--garso { grid-column: span 6; }
  .prop--casa { grid-column: span 12; grid-row: auto; }
  .prop--casa .prop__media { aspect-ratio: 16 / 9; min-height: 0; flex: none; }
  .prop--comercial { grid-column: span 12; flex-direction: row; }
  .prop--comercial .prop__media { aspect-ratio: auto; flex: 0 0 50%; }
  .prop--comercial .prop__body { flex: 1; justify-content: center; }
  .why__grid { grid-template-columns: 1fr 1fr 1fr; }
  .agent__card { margin-right: -40px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  .sell__in, .svcs__in, .agent__in, .faq__in, .contact__in { grid-template-columns: 1fr; }
  .svcs__side { position: static; }
  .svcs__fig { aspect-ratio: 16 / 10; }
  .agent__card { margin: 0 12px -60px; order: 2; }
  .agent__media { order: 1; min-height: 0; aspect-ratio: 4 / 3; }
  .agent__in { gap: 0; }
  .agent { padding-bottom: clamp(88px, 10vw, 140px); }
  .why__grid { grid-template-columns: 1fr; }
  .steps__list { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps__list::before { display: none; }
  .voices__in { grid-template-columns: 1fr; }
  .voice--big { grid-row: auto; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__in > div:first-child { grid-column: 1 / -1; }
  .sell__media { max-width: 620px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; padding-bottom: 76px; }
  .wrap { width: calc(100% - 36px); }
  .nav__in { width: calc(100% - 32px); gap: 12px; }
  .brand__name { font-size: 21px; }
  .brand__mark { width: 38px; height: 38px; font-size: 20px; }
  .hero { align-items: end; }
  .hero__in { width: calc(100% - 40px); padding-bottom: 112px; padding-top: calc(var(--nav-h) + 24px); }
  .hero__bg img { object-position: 66% 50%; animation: none; height: 62%; }
  .hero { background: linear-gradient(180deg, #0f1c2e, var(--ink)); }
  .hero__shade { background: linear-gradient(0deg, var(--ink) 38%, rgba(13, 23, 36, .55) 55%, rgba(13, 23, 36, 0) 75%, rgba(13, 23, 36, .5) 100%); }
  .hero__title { font-size: clamp(2.45rem, 1.4rem + 5.4vw, 3.1rem); }
  .hero__lead { margin-top: 18px; font-size: 1.08rem; }
  .hero__cta { margin-top: 26px; flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__cta .btn { width: 100%; }
  .quick { margin-top: -64px; }
  .quick__in { width: calc(100% - 28px); grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 8px; border-radius: 24px; }
  .quick__item { flex-direction: column; text-align: center; gap: 8px; padding: 14px 4px; }
  .quick__item small { display: none; }
  .quick__item strong { font-size: 18px; }
  .quick__ic { width: 48px; height: 48px; border-radius: 14px; }
  .quick__note { padding: 14px 16px; font-size: 14.5px; }
  .props__grid { grid-template-columns: 1fr; gap: 22px; }
  .prop, .prop--ap3, .prop--garso, .prop--casa, .prop--comercial { grid-column: auto; }
  .prop--comercial { flex-direction: column; }
  .prop--comercial .prop__media { flex: none; }
  .prop--casa .prop__media, .prop__media, .prop--ap3 .prop__media, .prop--garso .prop__media { aspect-ratio: 4 / 3; }
  .prop__body { padding: 20px 20px 22px; }
  .svcs__list { grid-template-columns: 1fr; gap: 16px; }
  .svc, .svc:nth-child(even), .js-reveal .svc.reveal.is-in:nth-child(even) { transform: none; }
  .svc:nth-child(even):hover, .svc:hover { transform: translateY(-3px); }
  .svc { grid-template-columns: auto 1fr; gap: 18px; padding: 24px 22px; }
  .svc__ic { width: 52px; height: 52px; }
  .sell__img { width: 90%; }
  .sell__media { padding-bottom: 54px; }
  .steps__list { grid-template-columns: 1fr; row-gap: 36px; }
  .step { grid-template-columns: auto 1fr; column-gap: 20px; }
  .step__n { grid-row: span 2; width: 64px; height: 64px; font-size: 24px; margin: 0; box-shadow: none; }
  .form__row { grid-template-columns: 1fr; }
  .voice--big blockquote p { font-size: 1.55rem; }
  .voice { padding: 26px 24px; }
  .form__actions .btn { width: 100%; }
  .agent__card { margin: -50px 6px 0; }
  .agent__cta .btn { width: 100%; }
  .foot__in { grid-template-columns: 1fr; }

  .dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-dock);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(13, 23, 36, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 -1px 0 var(--navy-line), 0 -12px 30px -10px rgba(0, 0, 0, .4);
    transition: transform .45s var(--ease);
  }
  .dock.is-hidden { transform: translateY(110%); }
  .dock__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; font-weight: 800; font-size: 16px; }
  .dock__btn .ic { width: 20px; height: 20px; }
  .dock__btn--call { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--ink); }
  .dock__btn--wa { background: #1f8f55; color: #fff; }
}
@media (max-width: 380px) {
  .brand__name { font-size: 19px; }
  .hero__title { font-size: 2.3rem; }
  .prop__price { font-size: 1.6rem; }
  .prop__more { padding: 9px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* mobile pass 2026-10-14: call bar appears only after the hero (hero already has the same buttons) */
.mbar,.dock{transition:transform .35s ease,opacity .35s ease}
.mbar.bar-hidden,.dock.bar-hidden{transform:translateY(160%)!important;opacity:0!important;pointer-events:none}
@media (max-width:700px){
 .props__grid,.svcs__list,.why__grid,.voices__in{display:flex!important;grid-template-columns:none!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px!important;margin-left:-20px;margin-right:-20px;padding:4px 20px 14px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .props__grid::-webkit-scrollbar,.svcs__list::-webkit-scrollbar,.why__grid::-webkit-scrollbar,.voices__in::-webkit-scrollbar{display:none}
 .props__grid>.prop{flex:0 0 84%;scroll-snap-align:center;margin:0}
 .svcs__list>.svc,.why__grid>.why__card{flex:0 0 78%;scroll-snap-align:center;margin:0}
 .voices__in>*{flex:0 0 86%;scroll-snap-align:center;margin:0}
 .voices__h{margin-bottom:20px}
 .svcs__fig{display:none}
 .nav__links a,.nav__phone{min-height:44px;display:inline-flex;align-items:center}
}
