/* ImoBenfica — design baseado nas Apple Human Interface Guidelines:
   Montserrat (letra do logo) + Marck Script só na assinatura, cor de destaque só em ações,
   botões cápsula ≥ 44px, contraste ≥ 4.5:1, claro/escuro automático. */

:root {
  --brand: #83163a;
  --brand-hover: #9e1d48;
  --brand-tint: rgba(131, 22, 58, .28);
  --on-brand: #ffffff;
  --bg: #000000;
  --bg-2: #111113;
  --label: #f5f5f7;
  --label-2: #d1d1d6;   /* 13:1 em preto */
  --label-3: #a1a1a6;   /* 8:1 em preto */
  --separator: rgba(255, 255, 255, .14);
  --card: #1a1a1c;
  --shadow: none;
  --radius: 22px;
  --radius-sm: 12px;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Marck Script", "Segoe Script", cursive;
  --wrap: 1200px;
  /* motion: um só sistema para o site todo */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-pop: cubic-bezier(.3, 1.6, .5, 1);
  --t-s: .25s; --t-m: .6s; --t-l: 1.2s;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--label);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
h1, h2, h3 { color: var(--brand); }
.section--dark h2, .section--dark h3, .services h3, .footer h4, .stage__name strong { color: #fff; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); line-height: 1.1; margin-bottom: .4em; }
h3 { font-size: 1.2rem; font-weight: 600; }
.h3-lg { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: 14px; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.center { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 48px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--label); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.eyebrow { font-size: .95rem; font-weight: 600; color: var(--brand); margin-bottom: .6em; }
.eyebrow--light { color: #fff; opacity: .85; }
.lead { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.3rem); color: var(--label-2); line-height: 1.55; }
.body-2 { color: var(--label-2); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: 0;
  font: 600 1.02rem/1 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .1s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn--ghost:hover { background: var(--brand); }
.btn--quiet { background: transparent; color: var(--label); box-shadow: inset 0 0 0 1.5px var(--separator); margin-top: 10px; }
.btn--quiet:hover { background: var(--bg-2); }

/* ---------- Navegação (material translúcido) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(1.8); backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: 0 1px 0 var(--separator);
}
.nav__inner { width: min(100% - 32px, var(--wrap)); margin-inline: auto; height: 72px; display: flex; align-items: center; gap: 20px; }
.nav__brand { flex: none; display: block; }
.logo { height: 50px; width: auto; }
nav { margin-left: auto; }
.nav__links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: flex; align-items: center; min-height: 44px; padding: 0 13px; border-radius: 999px; color: #fff; text-decoration: none; font-size: .98rem; font-weight: 500; }
.nav__links a:hover { background: var(--brand); color: #fff; }
.nav__toggle { display: none; }

@media (max-width: 1060px) {
  .nav__cta { display: none; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 44px; height: 44px; border: 0; border-radius: 999px; cursor: pointer; background: var(--bg-2);
  }
  .nav__toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  nav { margin: 0; }
  .nav__links {
    position: fixed; top: 80px; left: 16px; right: 16px;
    flex-direction: column; gap: 0; padding: 8px;
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8);
    border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.25), inset 0 0 0 1px var(--separator);
    opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { min-height: 52px; font-size: 1.1rem; padding: 0 16px; border-radius: var(--radius-sm); }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  font-size: clamp(2.7rem, 1.5rem + 4.6vw, 5.2rem); line-height: 1.04; margin-bottom: .36em; letter-spacing: -0.045em;
  /* iluminação: brilho bordô + feixe de luz que atravessa as letras */
  background: linear-gradient(105deg, #83163a 0%, #83163a 45%, #c74f78 48%, #ffe3ec 50%, #c74f78 52%, #83163a 55%, #83163a 100%);
  background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(131, 22, 58, .55));
  animation: sheen 7s var(--ease-io) .8s infinite;
}
.hero h1 em { font-style: normal; color: transparent; }
/* a faixa de luz entra pela esquerda, atravessa o título e sai pela direita; depois pausa */
@keyframes sheen { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0% 0; } }
.hero__text { position: relative; isolation: isolate; }
.hero__text::before { content: ""; position: absolute; z-index: -1; left: -12%; top: 4%; width: 90%; height: 46%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(131, 22, 58, .5), transparent); filter: blur(40px); }
.stage { transform-origin: 50% 0; will-change: transform, opacity; }
.hero .lead { max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__facts { list-style: none; padding: 28px 0 0; margin: 40px 0 0; border-top: 1px solid var(--separator); display: flex; flex-wrap: wrap; gap: 14px 40px; color: var(--label-2); font-size: 1rem; }
.hero__facts strong { display: block; font-family: var(--display); font-weight: 700; font-size: 2.3rem; line-height: 1.05; color: var(--brand); }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  }

/* ---------- Secções ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--tint { background: #0b0b0c; }
.section--dark { background: #83163a; color: #fff; }
/* Secções brancas: as variáveis mudam só dentro da secção */
.section--light {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --card: #ffffff;
  --label: #1d1d1f;
  --label-2: #3a3a3c;   /* 11:1 em branco */
  --label-3: #6e6e73;   /* 5:1 em branco */
  --separator: rgba(0, 0, 0, .12);
  --brand-tint: #faebf0;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  background: var(--bg); color: var(--label); color-scheme: light;
}
.section--light .card { box-shadow: var(--shadow), inset 0 0 0 1px var(--separator); }
.section--light .person a, .section--light .details a:not(.sicon) { color: var(--label); }
.section--light .person a:hover, .section--light .details a:not(.sicon):hover { color: var(--brand); }
.section--light .btn--ghost { color: var(--brand); }
.section--light .btn--ghost:hover { color: #fff; }
.section--light .form__error { color: #c4002b; }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }

/* ---------- Cards de imóveis ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .cards--4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cards--4 .card__body { padding: 12px 14px 14px; }
  .cards--4 .card h3 { font-size: .92rem; }
  .cards--4 .card__place, .cards--4 .card__price--muted { display: none; }
  .cards--4 .badge { top: 8px; left: 8px; font-size: .75rem; padding: 4px 9px; }
}
.card { position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card { box-shadow: inset 0 0 0 1px var(--separator); }
.card__img { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.035); }
.badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: rgba(255,255,255,.88); color: #1d1d1f; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.badge--sold { background: #83163a; color: #fff; }
.card__photos {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 .85rem var(--sans); color: #fff; background: rgba(0,0,0,.5);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.card__photos:hover { background: rgba(0,0,0,.7); }
.card__body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card__price { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 4px; color: var(--brand); }
.card__price--muted { font-size: .9rem; font-weight: 600; color: var(--brand); }
.card h3 { font-size: 1.08rem; line-height: 1.35; margin-bottom: 8px; }
.card h3 a { color: var(--label); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card__meta { font-weight: 600; margin: auto 0 2px; font-size: 1rem; }
.card__place { color: var(--label-3); font-size: .92rem; margin: 0; }
.cards--4 .card h3 { font-size: 1rem; }

/* ---------- Método ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--card); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.step__n { display: grid; place-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--brand-tint); color: var(--brand); font-weight: 700; margin-bottom: 20px; }
.step h3 { font-family: var(--display); font-weight: 600; font-size: 1.65rem; margin-bottom: 10px; }
.step p { color: var(--label-2); font-size: 1rem; margin: 0; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.split--inset { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 64px; }
@media (max-width: 860px) { .split--inset { grid-template-columns: 1fr; } }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/2; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .18em; width: 24px; height: 24px; border-radius: 999px; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23fff'/%3E%3C/svg%3E") center/15px no-repeat; }

/* ---------- Equipa ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .team { grid-template-columns: 1fr 1fr; } .services { grid-column: span 2; } }
@media (max-width: 600px) { .team { grid-template-columns: 1fr; } .services { grid-column: auto; } }
.person { background: var(--bg-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.person img { aspect-ratio: 4/4.3; width: 100%; object-fit: cover; object-position: center top; }
.person__body { padding: 20px 22px 24px; display: grid; gap: 2px; }
.person h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; }
.person__role { color: var(--label-3); margin: 0 0 8px; }
.person a { color: #fff; text-decoration: none; font-weight: 500; min-height: 32px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.person a:hover { color: var(--brand); }
.services { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 30px 28px; }
.services h3 { font-family: var(--display); font-weight: 700; font-size: 1.9rem; margin-bottom: 18px; }
.services ul { list-style: none; margin: 0; padding: 0; }
.services li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.22); }
.services li strong { display: block; font-weight: 600; }
.services li span { display: block; color: rgba(255,255,255,.85); font-size: .95rem; }

.timeline { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.timeline li { border-top: 2px solid var(--brand); padding-top: 16px; }
.timeline time { display: block; font-weight: 700; color: var(--brand); margin-bottom: 6px; }
.timeline p { color: var(--label-2); font-size: 1rem; margin: 0; }
.timeline p strong { color: var(--label); }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- Testemunhos ---------- */
.section--dark .section__head h2 { color: #fff; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote { margin: 0; padding: 34px; border-radius: var(--radius); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: 1.3rem; line-height: 1.5; color: #fff; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #fff; }
.avatar { display: grid; place-content: center; width: 44px; height: 44px; border-radius: 999px; background: #fff; color: #83163a; font-size: .9rem; font-weight: 700; }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Eventos ---------- */
.event { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.event + .event { margin-top: 80px; }
.event--reverse .mosaic { order: 2; }
.event__text p { color: var(--label-2); }
.event__text a { font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.event__text a::after { content: "›"; margin-left: 6px; font-size: 1.3em; line-height: 1; }
.mosaic { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 16/10.5; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; min-height: 0; }
.mosaic__a { grid-row: span 2; }
@media (max-width: 860px) { .event { grid-template-columns: 1fr; } .event--reverse .mosaic { order: 0; } }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: inherit; text-decoration: none; }
.post img { aspect-ratio: 16/9; width: 100%; object-fit: cover; }
.post div { padding: 20px 22px 24px; }
.post__cat { font-size: .88rem; font-weight: 600; color: var(--brand); margin-bottom: 8px; }
.post h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 10px; }
.post p:last-child { color: var(--label-2); font-size: 1rem; margin: 0; }
.post:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .post { flex-direction: row; } .post img { width: 38%; aspect-ratio: auto; } }
@media (max-width: 560px) { .post { flex-direction: column; } .post img { width: 100%; aspect-ratio: 16/9; } }

/* ---------- Contactos ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.details { margin: 28px 0; display: grid; gap: 18px; }
.details div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; }
.details dt { color: var(--label-3); }
.details dd { margin: 0; }
.details a { color: #fff; font-weight: 600; text-decoration: none; }
.details a:hover { color: var(--brand); }
.details small { color: var(--label-3); font-size: .85rem; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; }

.form { background: var(--bg-2); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); }
@media (min-width: 901px) { .form { position: sticky; top: 100px; } }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: .95rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1px solid var(--separator); border-radius: var(--radius-sm);
  background: var(--card); color: var(--label);
  font: 400 1.02rem/1.4 var(--sans);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--label-2); margin: 4px 0 20px; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.form__error { color: #ff6b81; font-weight: 600; font-size: .95rem; }
.form__ok { text-align: center; padding: 40px 10px; }
.form__ok h3 { font-family: var(--display); font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }

/* Segmented control */
.segmented { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: color-mix(in srgb, var(--label) 8%, transparent); border: 0; margin: 0; }
.segmented label { flex: 1; position: relative; }
.segmented label span { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 999px; font: 500 .98rem var(--sans); cursor: pointer; transition: background-color .2s var(--ease); }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented input:checked + span { background: var(--brand); color: #fff; font-weight: 600; }
.segmented input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 1px; }
.segmented--full { display: flex; width: 100%; margin-bottom: 20px; }

/* ---------- Rodapé ---------- */
.footer { background: #83163a; color: rgba(255,255,255,.88); padding: 64px 0 32px; font-size: 1rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; }
.footer img { height: 76px; width: auto; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer a { color: #fff; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); font-size: .9rem; color: rgba(255,255,255,.8); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- WhatsApp flutuante ---------- */
.fab { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40; width: 56px; height: 56px; border-radius: 999px; display: grid; place-content: center; background: #25d366; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Galeria ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0,0,0,.94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 82dvh; object-fit: contain; border-radius: 12px; }
.lightbox button { position: absolute; display: grid; place-content: center; width: 48px; height: 48px; border: 0; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; font-size: 1.6rem; cursor: pointer; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 20px; right: 20px; font-size: 1.1rem !important; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; margin: 0; color: #d1d1d6; font-size: .95rem; }
@media (max-width: 600px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; } .lightbox__count { bottom: 26px; } }

/* ---------- Revelar ao fazer scroll (subtil) ---------- */
/* ---------- Palco do hero ---------- */
.stage { position: relative; aspect-ratio: 4/5; isolation: isolate; }
.stage__panel { position: absolute; inset: 16% 0 0 0; border-radius: 32px; overflow: hidden; background: radial-gradient(90% 70% at 30% 10%, #e8b0c2 0%, transparent 60%), linear-gradient(165deg, #c46484 0%, #a63057 45%, #83163a 100%); }
.stage__panel::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -30%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.16), transparent); }
.stage__marta { position: absolute; z-index: 2; bottom: 0; right: 4%; height: 100%; width: auto; filter: drop-shadow(0 0 1.5px rgba(255,255,255,.55)) drop-shadow(0 30px 40px rgba(60,8,24,.35)); }
.stage__chip {
  position: absolute; z-index: 3; top: 27%; left: -18px; margin: 0;
  display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  color: #1d1d1f; font-size: .98rem; box-shadow: 0 12px 30px rgba(0,0,0,.14);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.stage__chip.is-swapping { opacity: 0; transform: translateY(6px); }
.stage__chip b { color: #83163a; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #248a3d; box-shadow: 0 0 0 4px rgba(36,138,61,.18); }
.stage__name { position: absolute; z-index: 3; left: 26px; bottom: 24px; margin: 0; display: grid; color: #fff; line-height: 1.3; }
.stage__name strong { font-family: var(--script); font-weight: 400; font-size: 2.6rem; line-height: 1; letter-spacing: 0; }
.stage__name span { color: rgba(255,255,255,.88); font-size: .95rem; }
@media (max-width: 860px) { .stage { max-width: 520px; aspect-ratio: 1/1.08; } .stage__chip { left: 12px; top: 20%; } }

/* ---------- Faixa em movimento ---------- */
.strip { overflow: hidden; padding: 8px 0 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip__track { display: flex; gap: 16px; width: max-content; margin: 0; padding: 0; list-style: none; animation: strip 80s linear infinite reverse; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip li { width: 280px; flex: none; }
.strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }
.strip span { display: block; margin-top: 10px; font-size: .95rem; color: var(--label-2); }
.strip b { color: var(--brand); margin-right: 4px; }
@keyframes strip { to { transform: translateX(-50%); } }

/* ---------- Mapa ---------- */
.atlas { display: grid; grid-template-columns: 1.65fr 1fr; gap: 20px; align-items: stretch; }
.atlas__map { min-height: 600px; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); z-index: 0; }
.atlas__panel { display: flex; flex-direction: column; gap: 16px; }
.atlas__note { color: var(--label-3); font-size: .9rem; margin: auto 0 0; }
@media (max-width: 960px) { .atlas { grid-template-columns: 1fr; } .atlas__map { min-height: 440px; } }
.timeline-ctrl { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--radius); background: var(--bg-2); }
.play { flex: none; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--brand); cursor: pointer; display: grid; place-content: center; }
.play span { width: 0; height: 0; border-left: 15px solid var(--on-brand); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.play.is-playing span { width: 14px; height: 16px; border: 0; margin: 0; background: linear-gradient(90deg, var(--on-brand) 0 35%, transparent 35% 65%, var(--on-brand) 65%); }
.timeline-ctrl__track { flex: 1; }
.timeline-ctrl__label { display: block; font-weight: 600; margin-bottom: 2px; }
.timeline-ctrl__label output { font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--brand); }
.timeline-ctrl input { width: 100%; accent-color: var(--brand); height: 28px; }
.timeline-ctrl__ticks { display: flex; justify-content: space-between; font-size: .8rem; color: var(--label-3); }
.legend { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer; font: 500 .95rem var(--sans); color: var(--label); background: var(--bg-2); transition: opacity .2s var(--ease), background-color .2s var(--ease); }
.chip b { font-weight: 700; }
.chip[aria-pressed="false"] { opacity: .45; }
.pin { width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); display: inline-block; flex: none; }
.pin--vendido { background: #83163a; }
.pin--arrendado { background: #0066cc; }
.pin--disponivel { background: #248a3d; }
.map-pin .pin { width: 18px; height: 18px; animation: pop .5s var(--ease-pop) both; transition: transform .15s var(--ease); }
.map-pin:hover .pin, .map-pin.is-active .pin { transform: scale(1.5); }
.map-pin.is-active { z-index: 1000 !important; }
@keyframes pop { from { transform: scale(0); opacity: 0; } }
.leaflet-container { font: inherit; background: var(--bg-2); }
.leaflet-control-attribution { font-size: 10px; }
.peek { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--separator); color: inherit; text-decoration: none; align-items: center; min-height: 116px; }
.peek img { width: 120px; height: 92px; object-fit: cover; border-radius: 12px; background: var(--bg-2); }
.peek img:not([src]), .peek img[src=""] { visibility: hidden; }
.peek__body { display: grid; gap: 2px; }
.peek__state { font-size: .85rem; font-weight: 700; color: var(--brand); }
.peek strong { font-size: 1rem; line-height: 1.3; }
.peek__body > span:last-child { color: var(--label-3); font-size: .92rem; }
.peek:hover strong { text-decoration: underline; }

/* ---------- Método (história com scroll) ---------- */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.story__sticky { position: sticky; top: 120px; align-self: start; }
.story__big { font-family: var(--display); font-weight: 700; font-size: clamp(6rem, 4rem + 8vw, 11rem); line-height: .85; margin: 0; color: var(--brand); letter-spacing: -0.03em; }
.story__big small { font-size: .3em; color: var(--label-3); letter-spacing: 0; margin-left: 6px; }
.story__bar { height: 4px; border-radius: 4px; background: var(--separator); margin: 28px 0 18px; overflow: hidden; }
.story__bar i { display: block; height: 100%; width: 25%; background: var(--brand); border-radius: 4px; transition: width .5s var(--ease); }
.story__word { font-family: var(--display); font-size: 2.4rem; margin: 0; color: var(--brand); font-weight: 600; }
.story__steps { list-style: none; margin: 0; padding: 0; }
.story__step { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; border-top: 1px solid var(--separator); opacity: .3; transition: opacity .5s var(--ease); }
.story__step.is-active { opacity: 1; }
.story__n { font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.story__step h3 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); margin-bottom: 14px; }
.story__step p { font-size: 1.2rem; color: var(--label-2); max-width: 46ch; margin: 0; }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story__sticky { display: none; }
  .story__step { min-height: 0; opacity: 1; padding: 28px 0; }
}

/* ---------- Vídeos ---------- */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .videos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .videos { grid-template-columns: 1fr; } }
.video { margin: 0; }
.video__play, .video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; border-radius: 18px; overflow: hidden; cursor: pointer; background: #000; }
.video__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.video__play:hover img { transform: scale(1.04); }
.video__icon { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .2s var(--ease); }
.video__icon::after { content: ""; position: absolute; left: 27px; top: 22px; border-left: 20px solid #83163a; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.video__play:hover .video__icon { transform: scale(1.08); }
.video figcaption { margin-top: 12px; font-size: 1rem; line-height: 1.4; }
.video figcaption b { color: var(--brand); margin-right: 4px; }

/* ---------- Redes sociais ---------- */
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.sicon { width: 44px; height: 44px; min-height: 44px; border-radius: 50%; display: inline-grid !important; place-content: center; color: #fff; background: var(--brand); transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.sicon svg { width: 21px; height: 21px; }
.sicon:hover { transform: translateY(-2px); color: #fff; text-decoration: none !important; background: var(--brand-hover); }
.sicon--ig:hover { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); }
.sicon--fb:hover { background: #1877f2; }
.sicon--yt:hover { background: #ff0000; }
.sicon--yt svg path { fill: var(--brand); }
.sicon--yt:hover svg path { fill: #ff0000; }
.sicon--li:hover { background: #0a66c2; }
.footer .sicon { background: rgba(255,255,255,.14); color: #fff; }
.footer .sicon:hover { background: #fff; color: #83163a; }
.social__links .sicon { width: 52px; height: 52px; }
.hero__social { display: flex; align-items: center; gap: 14px; margin-top: 24px; color: var(--label-3); font-size: .95rem; font-weight: 500; }

.ig { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 960px) { .ig { grid-template-columns: 1fr; } }
.ig__profile { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--bg-2); }
.ig__avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; padding: 3px; background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); }
.ig__handle { font-weight: 700; margin: 6px 0 4px; line-height: 1.25; }
.ig__stats { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; color: var(--label-2); font-size: .95rem; }
.ig__stats b { color: var(--label); }
.ig__bio { grid-column: 1 / -1; margin: 4px 0 6px; color: var(--label-2); font-size: 1rem; line-height: 1.55; }
.ig__profile .btn { grid-column: 1 / -1; }
.btn--ig { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); color: #fff; }
.btn--ig svg { width: 20px; height: 20px; }
.btn--ig:hover { filter: brightness(1.08); }

.ig__feed { position: relative; min-width: 0; }
.ig__track { display: flex; gap: 14px; margin: 0; padding: 0 0 6px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ig__track::-webkit-scrollbar { display: none; }
.ig__track li { flex: none; width: clamp(200px, 18.5vw, 236px); scroll-snap-align: start; }
.ig__post { position: relative; display: block; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; background: var(--bg-2); color: #fff; text-decoration: none; }
.ig__post img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig__reel { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-content: center; background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ig__reel svg { width: 16px; height: 16px; }
.ig__cap { position: absolute; inset: auto 0 0 0; padding: 48px 16px 16px; font-size: .92rem; line-height: 1.4; background: linear-gradient(transparent, rgba(0,0,0,.82)); opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.ig__post:hover img, .ig__post:focus-visible img { transform: scale(1.05); }
.ig__post:hover .ig__cap, .ig__post:focus-visible .ig__cap { opacity: 1; transform: none; }
@media (hover: none) { .ig__cap { opacity: 1; transform: none; font-size: .85rem; } }
.ig__nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.ig__btn { width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; background: var(--brand); color: #fff; font-size: 1.5rem; line-height: 1; }
.ig__btn:hover { background: var(--brand); color: var(--on-brand); }

.nets { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-top: 24px; }
.net--yt { grid-row: span 2; }
@media (max-width: 960px) { .nets { grid-template-columns: 1fr; } .net--yt { grid-row: auto; } }
.net { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); color: inherit; text-decoration: none; transition: transform .25s var(--ease); }
.net:hover { transform: translateY(-3px); }
.net__media { position: relative; display: block; aspect-ratio: 16/8; overflow: hidden; }
.net__media img { width: 100%; height: 100%; object-fit: cover; }
.net__play { position: absolute; inset: 0; margin: auto; width: 60px; height: 42px; border-radius: 12px; background: #ff0000; color: #fff; display: grid; place-content: center; }
.net__play svg { width: 22px; height: 22px; }
.net__body { display: grid; gap: 4px; padding: 22px 24px 24px; align-content: start; flex: 1; }
.net__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; color: #fff; margin-bottom: 8px; }
.net__icon svg { width: 24px; height: 24px; }
.net--yt .net__icon { background: #ff0000; }
.net--yt .net__icon svg path { fill: #ff0000; }
.net--yt .net__icon svg rect { fill: #fff; }
.net--fb .net__icon { background: #1877f2; }
.net--li .net__icon { background: #0a66c2; }
.net__label { font-size: .88rem; font-weight: 600; color: var(--label-3); }
.net strong { font-size: 1.1rem; line-height: 1.35; }
.net__body > span:not([class]) { color: var(--label-2); font-size: 1rem; }
.net__cta { margin-top: 10px; font-weight: 600; color: var(--brand); }
.net__cta::after { content: " ›"; }
.net:hover .net__cta { text-decoration: underline; text-underline-offset: 3px; }

.signature { font-family: var(--script); font-weight: 400; letter-spacing: 0; }
.quote figcaption .signature { font-size: 1.6rem; color: #fff; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in, .no-js .reveal { opacity: 1; transform: none; }

/* =====================================================================
   v4 — técnicas premium (Forge, Spyker, PSP, Room & Pillar, Stéfano G.)
   Tudo com o mesmo token de motion (--ease / --ease-io).
   ===================================================================== */

/* Texto pequeno sobre o preto vai a branco (o bordô não tem contraste) */
.eyebrow, .post__cat, .net__cta, .strip b, .video figcaption b, .peek__state { color: #fff; }
.section--light .eyebrow, .section--light .post__cat, .section--light .peek__state { color: var(--brand); }
.reveal { transition-delay: var(--d, 0s); }

/* Grão subtil por cima das zonas pretas (ficheiro PNG, sem data:) */
body, main { background: #000 url("assets/img/noise.png") repeat; background-size: 200px 200px; }
.section--tint { background-color: #0b0b0c; background-image: url("assets/img/noise.png"); background-size: 200px 200px; }
.section--dark, .footer { background-image: url("assets/img/noise.png"); background-size: 200px 200px; }
.section--light { background-image: none; }

/* Barra de progresso do scroll */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none;
  background: var(--brand); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Cabeçalho que se esconde ao descer e volta ao subir */
.nav { transition: transform .7s var(--ease), box-shadow .3s var(--ease); }
.nav.is-hidden { transform: translateY(calc(-100% - 48px)); }

/* Títulos: linhas a subir de uma máscara + barra bordô a varrer */
.lines .w { display: inline; }
.ln { position: relative; display: block; width: fit-content; max-width: 100%; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.ln__in { display: block; transform: translateY(112%); transition: transform var(--t-l) var(--ease) calc(var(--i, 0) * 75ms + .22s); }
.lines.is-in .ln__in { transform: none; }
.ln::after { content: ""; position: absolute; left: 0; right: 0; top: .06em; bottom: .14em; background: var(--brand); transform: scaleX(0); pointer-events: none; }
.section--dark .ln::after { background: #fff; }
.lines.is-in .ln::after { animation: wipe .95s var(--ease-io) calc(var(--i, 0) * 75ms) both; }
@keyframes wipe {
  0% { transform: scaleX(0); transform-origin: 0 50%; }
  48% { transform: scaleX(1); transform-origin: 0 50%; }
  52% { transform: scaleX(1); transform-origin: 100% 50%; }
  100% { transform: scaleX(0); transform-origin: 100% 50%; }
}

/* Imagens e cartões: revelação por clip-path + scale ligeiro */
.card.reveal .card__img, .split--inset.reveal .photo, .event.reveal .mosaic img, .person.reveal img,
.video.reveal .video__play, .post.reveal img, .net.reveal .net__media {
  clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease) calc(var(--d, 0s) + .1s);
}
.card.reveal.is-in .card__img, .split--inset.reveal.is-in .photo, .event.reveal.is-in .mosaic img, .person.reveal.is-in img,
.video.reveal.is-in .video__play, .post.reveal.is-in img, .net.reveal.is-in .net__media { clip-path: inset(0 0 0 0); }
.event.reveal .mosaic img:nth-child(2) { transition-delay: .22s; }
.event.reveal .mosaic img:nth-child(3) { transition-delay: .34s; }
.card.reveal .card__img img, .split--inset.reveal .photo img, .video.reveal .video__play img, .net.reveal .net__media img { scale: 1.18; transition: scale 1.8s var(--ease) calc(var(--d, 0s) + .1s), transform .6s var(--ease); }
.card.reveal.is-in .card__img img, .split--inset.reveal.is-in .photo img, .video.reveal.is-in .video__play img, .net.reveal.is-in .net__media img { scale: 1; }

/* Frase do Método que "enche" palavra a palavra com o scroll */
.lead--fill { font-size: clamp(1.35rem, 1.05rem + 1.1vw, 1.95rem); line-height: 1.38; font-weight: 600; letter-spacing: -0.015em; color: var(--label); max-width: 32ch; }
[data-fill] .w { opacity: var(--o, .15); transition: opacity .25s linear; }

/* Faixa de vendidos: a velocidade vem do JS (acelera com o scroll) */
.strip__track { will-change: transform; }

/* Botão principal com luz a correr na borda */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.btn--lux { position: relative; isolation: isolate; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 30px -10px rgba(131, 22, 58, .9); }
.btn--lux::before {
  content: ""; position: absolute; inset: -2px; padding: 2px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0 60%, rgba(255, 214, 228, .25) 68%, #ffd6e4 77%, #fff 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: lux 3.6s linear infinite;
}
@keyframes lux { to { --a: 360deg; } }

/* Cursor-bolha "Ver" nos cartões de imóveis (só com rato) */
.cursor { position: fixed; left: 0; top: 0; z-index: 70; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  display: grid; place-items: center; pointer-events: none; background: var(--brand); color: #fff;
  font: 700 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(131, 22, 58, .35); scale: 0; transition: scale .55s var(--ease); will-change: transform; }
.cursor.is-on { scale: 1; }
.has-cursor .card__img { cursor: none; }

/* Chip fixo "Avaliar a minha casa" */
.dock { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 45;
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px 0 18px; border-radius: 999px;
  background: rgba(17, 17, 19, .84); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  color: #fff; font: 600 .98rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 14px 34px rgba(0, 0, 0, .4);
  transform: translate(-50%, 160%); opacity: 0; pointer-events: none;
  transition: transform .8s var(--ease), opacity .4s var(--ease), background-color .25s var(--ease); }
.dock.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.dock:hover { background: var(--brand); }
.dock__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); animation: ping 2.4s var(--ease) infinite; }
.dock__arrow { transition: transform .4s var(--ease); }
.dock:hover .dock__arrow { transform: translateX(4px); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } }
@media (max-width: 600px) {
  .dock { left: 16px; transform: translateY(160%); }
  .dock.is-on { transform: none; }
}

/* Footer em cortina: o conteúdo sobe e destapa o rodapé */
main { position: relative; z-index: 1; box-shadow: 0 40px 80px rgba(0, 0, 0, .55); }
.footer { position: sticky; bottom: 0; z-index: 0; overflow: hidden; }
.footer__word { width: fit-content; max-width: none; margin: 40px auto 0; padding: 0; font: 700 14vw/.8 var(--display); letter-spacing: -0.055em;
  color: #fff; white-space: nowrap; text-align: center; user-select: none;
  transform: translateY(calc((1 - var(--fp, 1)) * 45%)); opacity: calc(.25 + var(--fp, 1) * .75); }
.footer__legal { margin-top: 28px; }

/* =====================================================================
   v5 — técnicas da Leverage Revenue (11/11/2026)
   Sempre animado: nada aqui depende de prefers-reduced-motion.
   ===================================================================== */

/* 1. Luz bordô a derivar no preto + grão nas secções brancas */
.hero, .section:not(.section--light):not(.section--dark) { position: relative; isolation: isolate; }
.hero::before, .section:not(.section--light):not(.section--dark)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 55% at 12% -8%, rgba(131, 22, 58, .34) 0%, rgba(131, 22, 58, .12) 40%, transparent 72%),
    radial-gradient(55% 50% at 94% 22%, rgba(199, 79, 120, .14) 0%, transparent 70%),
    radial-gradient(80% 70% at 70% 118%, rgba(131, 22, 58, .26) 0%, transparent 70%);
  background-repeat: no-repeat;
  background-size: 168% 148%, 152% 138%, 176% 156%;
  background-position: 0 0, 100% 0, 100% 100%;
  animation: deriva 26s cubic-bezier(.4, 0, .2, 1) infinite alternate;
}
@keyframes deriva { to { background-position: 18% 8%, 82% 14%, 84% 92%; } }
/* foco de luz no topo de cada secção preta */
.section:not(.section--light):not(.section--dark)::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 60%; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 70% at 50% -20%, rgba(255, 227, 236, .06), transparent 70%);
}
.section--light { background-image: url("assets/img/grao.svg"); background-size: 240px 240px; }

/* 2. Painel "Estado da sua venda" */
.estado { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: 80px; }
.estado__text p { color: var(--label-2); max-width: 40ch; }
@media (max-width: 860px) { .estado { grid-template-columns: 1fr; margin-top: 56px; } }
.painel {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: #0d0d0f; border-radius: var(--radius); padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 6px rgba(0,0,0,.08), 0 40px 80px -40px rgba(131, 22, 58, .65);
}
.painel::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(80% 60% at 10% 0%, rgba(131, 22, 58, .45), transparent 70%), radial-gradient(60% 60% at 100% 100%, rgba(131, 22, 58, .25), transparent 70%);
  background-size: 160% 160%, 160% 160%; background-repeat: no-repeat;
  animation: deriva 18s ease-in-out infinite alternate; }
.painel__top { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: .95rem; padding: 2px 4px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.painel__live { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: #fff; }
.painel__live i { width: 8px; height: 8px; border-radius: 50%; background: #34c759; animation: ping 2.4s var(--ease) infinite; }
.painel__rows { list-style: none; margin: 0; padding: 0; }
.painel__rows li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); transition: opacity .5s var(--ease); opacity: .5; }
.painel__rows li.is-now, .painel__rows li.is-done { opacity: 1; }
.painel__n { font-weight: 700; font-size: .85rem; color: rgba(255,255,255,.6); }
.painel__name { font-weight: 600; line-height: 1.3; }
.painel__name small { display: block; font-weight: 400; font-size: .85rem; color: rgba(255,255,255,.7); }
.painel__state { font-size: .8rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); min-width: 86px; text-align: center; transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease-pop); }
.painel__state::before { content: "A seguir"; }
.is-now .painel__state { background: rgba(255,255,255,.14); color: #fff; animation: respira 1.4s ease-in-out infinite; }
.is-now .painel__state::before { content: "Em curso"; }
.is-done .painel__state { background: #83163a; color: #fff; transform: scale(1.04); }
.is-done .painel__state::before { content: "✓ Feito"; }
.is-done .painel__n { color: #ec799f; }
@keyframes respira { 50% { box-shadow: 0 0 0 5px rgba(255,255,255,.08); } }
.painel__bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); margin: 18px 4px 4px; overflow: hidden; }
.painel__bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #83163a, #ec799f); transition: width .9s var(--ease); }
@media (max-width: 480px) { .painel__name small { display: none; } .painel__state { min-width: 0; } }

/* 3. Sozinho vs com a ImoBenfica */
.vs { border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); background: rgba(255,255,255,.025); }
.vs__head, .vs__row { display: grid; grid-template-columns: .7fr 1fr 1.25fr; }
.vs__head > span, .vs__row > span { padding: 18px 22px; }
.vs__head { font-weight: 700; font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.vs__head .vs__topic { color: rgba(255,255,255,.7); }
.vs__col--a { color: rgba(255,255,255,.7); }
.vs__col--b, .vs__b { background: rgba(131, 22, 58, .32); }
.vs__col--b { color: #fff; }
.vs__row { border-bottom: 1px solid rgba(255,255,255,.08); }
.vs__row:last-child { border-bottom: 0; }
.vs__topic { font-weight: 600; color: #fff; }
.vs__a { color: rgba(255,255,255,.66); position: relative; padding-left: 52px !important; }
.vs__b { color: #fff; font-weight: 500; position: relative; padding-left: 56px !important; }
.vs__a::before, .vs__b::before { content: ""; position: absolute; left: 20px; top: 19px; width: 22px; height: 22px; border-radius: 50%; }
.vs__a::before { background: rgba(255,255,255,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7 7 17' stroke='%23aaa' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.vs__b::before { left: 22px; background: #83163a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23fff'/%3E%3C/svg%3E") center/14px no-repeat; box-shadow: 0 0 0 1.5px rgba(255,255,255,.5); }
.vs__row.reveal { transform: translateY(10px); }
.vs__row.reveal .vs__b::before { scale: 0; transition: scale .6s var(--ease-pop) calc(var(--d, 0s) + .35s); }
.vs__row.reveal.is-in .vs__b::before { scale: 1; }
.vs__row.reveal .vs__a { text-decoration: line-through; text-decoration-color: transparent; text-decoration-thickness: 1px; transition: text-decoration-color .8s var(--ease) calc(var(--d, 0s) + .6s); }
.vs__row.reveal.is-in .vs__a { text-decoration-color: rgba(255,255,255,.35); }
.vs__end { margin: 36px auto 0; text-align: center; font: 600 clamp(1.25rem, 1rem + 1vw, 1.7rem)/1.3 var(--display); color: #fff; max-width: 30ch; letter-spacing: -0.015em; }
@media (max-width: 760px) {
  .vs__head { display: none; }
  .vs__row { grid-template-columns: 1fr; padding: 6px 0; }
  .vs__row > span { padding: 8px 18px; }
  .vs__topic { padding-top: 14px !important; font-size: .85rem; color: rgba(255,255,255,.7) !important; }
  .vs__b { margin: 4px 10px 10px; border-radius: 12px; padding: 12px 14px 12px 52px !important; }
  .vs__a::before { left: 18px; top: 9px; }
  .vs__b::before { left: 16px; top: 12px; }
}

/* 4. Quiz de avaliação */
.avaliar { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.avaliar__head .lead { margin-bottom: 26px; }
@media (max-width: 900px) { .avaliar { grid-template-columns: 1fr; } }
.quiz { position: relative; background: #fff; border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); min-height: 460px; display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 30px 60px -30px rgba(131, 22, 58, .35), inset 0 0 0 1px rgba(0,0,0,.08); }
.quiz__top { display: flex; align-items: center; gap: 14px; font-size: .9rem; font-weight: 600; color: var(--label-3); }
.quiz__prog { flex: 1; height: 4px; border-radius: 4px; background: rgba(0,0,0,.08); overflow: hidden; }
.quiz__prog i { display: block; height: 100%; width: 25%; background: var(--brand); border-radius: 4px; transition: width .6s var(--ease); }
.quiz__step { border: 0; padding: 0; margin: 26px 0 0; min-width: 0; display: none; }
.quiz__step.is-on { display: block; animation: passo .6s var(--ease) both; }
@keyframes passo { from { opacity: 0; transform: translateX(18px); } }
.quiz__step legend { padding: 0; margin-bottom: 18px; font: 700 clamp(1.4rem, 1.2rem + .8vw, 1.8rem)/1.2 var(--display); color: var(--brand); letter-spacing: -0.02em; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opts label { position: relative; display: block; cursor: pointer; }
.quiz__opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.quiz__opts span { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 54px; padding: 10px 18px 10px 48px; border-radius: 14px; font-weight: 600; color: var(--label);
  box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.14); transition: box-shadow .2s var(--ease), background-color .2s var(--ease); }
.quiz__opts span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(0,0,0,.3); transition: box-shadow .2s var(--ease), background-color .2s var(--ease); }
.quiz__opts small { font-weight: 400; color: var(--label-3); font-size: .88rem; }
.quiz__opts label:hover span { box-shadow: inset 0 0 0 1.5px var(--brand); }
.quiz__opts input:checked + span { background: #faebf0; box-shadow: inset 0 0 0 2px var(--brand); }
.quiz__opts input:checked + span::before { background: var(--brand); box-shadow: inset 0 0 0 5px #faebf0, 0 0 0 2px var(--brand); }
.quiz__opts input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.quiz__erro { color: #c4002b; font-weight: 600; font-size: .95rem; margin: 14px 0 0; min-height: 1.4em; }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; }
.quiz__nav .btn { margin-left: auto; }
.quiz__back { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--label-2); font: 600 .98rem var(--sans); cursor: pointer; }
.quiz__back:hover { color: var(--brand); }
.quiz__fim h3 { font: 700 1.7rem/1.2 var(--display); color: var(--brand); margin-bottom: 10px; letter-spacing: -0.02em; }
.quiz__fim p { color: var(--label-2); }
.quiz__resumo { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 8px; }
.quiz__resumo li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; border-radius: 12px; background: #f5f5f7; font-size: .98rem; }
.quiz__resumo li span { color: var(--label-3); }
.quiz__resumo li b { color: var(--label); text-align: right; }

/* 5. Cartão da Marta encolhe com o scroll, em CSS nativo (o JS só corre sem suporte) */
@keyframes encolhe { to { transform: translateY(60px) scale(.7); opacity: .45; } }
@supports (animation-timeline: scroll()) {
  .stage { animation: encolhe linear both; animation-timeline: scroll(root); animation-range: 0 75vh; }
}

/* 6. Índice lateral numerado (só desktop largo) */
.rail { display: none; }
@media (min-width: 1360px) {
  .rail { display: block; position: fixed; left: 18px; top: 50%; z-index: 44; transform: translate(-12px, -50%); opacity: 0; pointer-events: none;
    transition: opacity .5s var(--ease), transform .7s var(--ease); }
  .rail.is-on { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
  .rail ol { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; border-radius: 22px;
    background: rgba(17, 17, 19, .72); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 14px 34px rgba(0,0,0,.3); }
  .rail a { position: relative; display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 14px; color: #fff; text-decoration: none; font-size: .85rem; }
  .rail b { font-weight: 700; font-size: .8rem; opacity: .6; transition: opacity .3s var(--ease); font-variant-numeric: tabular-nums; }
  .rail span { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .5s var(--ease), opacity .3s var(--ease); font-weight: 600; }
  .rail:hover span, .rail:focus-within span { max-width: 180px; opacity: 1; }
  .rail a:hover { background: rgba(255,255,255,.08); }
  .rail a.is-active { background: var(--brand); }
  .rail a.is-active b { opacity: 1; }
}
