/* =========================================================
   InvestCon Kairós · Landing page
   Mobile-first · sem dependências
   O RODAPÉ (.site-footer, .footer-*, .copyright) está aprovado: não altere
   essas regras nem os tokens/base que ele usa (cores, --gutter, .container).
   ========================================================= */

/* Fontes locais (OFL) — ver /fonts */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/bodoni-moda-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/bodoni-moda-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/bodoni-moda-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Paleta · identidade InvestCon Kairós: azul-marinho + dourado + prata */
  --ink: #070E16;
  --navy-900: #0C1723;        /* marinho InvestCon */
  --navy-800: #132235;
  --navy-700: #1C3049;
  --navy-line: rgba(211, 176, 110, .2);
  --gold: #D3B06E;            /* dourado InvestCon */
  --gold-light: #DDBF86;      /* texto dourado sobre escuro */
  --gold-dark: #7A5C1C;       /* texto dourado sobre claro (contraste AA) */
  --silver: #C5C9D0;          /* prata InvestCon (detalhes sobre escuro) */
  --silver-dark: #8A919C;
  --cream: #F6F1E7;
  --cream-2: #EDE5D4;
  --white: #FFFFFF;
  --text: #1B2130;
  --text-soft: #4A5162;
  --text-on-dark: #E9EBF0;
  --text-on-dark-soft: #B9BFCC;
  --offer: #F4C430;           /* amarelo só em ofertas */
  --wa: #25D366;
  /* Redesign: superfícies claras puxadas ao prata da marca + filetes */
  --porcelain: #F3F4F6;
  --hairline: rgba(12, 23, 35, .1);
  --hairline-dark: rgba(197, 201, 208, .18);

  /* Tipografia */
  --serif: "Bodoni Moda", "Didot", "Times New Roman", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Espaços */
  --gutter: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --section-y: 72px;
  --shadow: 0 10px 30px -12px rgba(12, 23, 35, .25);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 64px;
  --radius-card: 12px;
  --container-wide: 1280px;
  --shadow-soft: 0 1px 2px rgba(12, 23, 35, .04), 0 24px 48px -28px rgba(12, 23, 35, .35);
}

/* ---------- Reset leve ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 600; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
.section-light :focus-visible, .section-white :focus-visible, .partners :focus-visible, .lead-form :focus-visible { outline-color: var(--navy-900); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 12px 24px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: .96rem; line-height: 1.2; letter-spacing: .01em; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-gold {
  background: linear-gradient(180deg, #DEC08A 0%, var(--gold) 100%);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 24px -14px rgba(211, 176, 110, .9);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 16px 30px -14px rgba(211, 176, 110, .95); }
.btn-outline { border-color: var(--gold); color: var(--gold-light); background: transparent; }
.btn-outline:hover { background: rgba(211, 176, 110, .12); }
.btn-ghost { border-color: var(--hairline-dark); color: var(--white); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 1rem; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Tipos comuns ---------- */
.eyebrow { /* usado na página 404 */
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-dark); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-light); }

.container-wide { width: 100%; max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: var(--section-y) 0; position: relative; }
.section-tight { padding: calc(var(--section-y) * .7) 0; }
.section-light { background: var(--porcelain); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy-900); color: var(--text-on-dark); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section h2 {
  font-weight: 500; font-size: clamp(2rem, 5.6vw, 3.2rem); line-height: 1.06; letter-spacing: -.018em;
  color: var(--navy-900); text-wrap: balance;
}
.section-navy h2, .cta-final h2 { color: var(--white); }
.section-lead { margin-top: 16px; color: var(--text-soft); font-size: 1.06rem; line-height: 1.65; max-width: 36em; }
.section-navy .section-lead { color: var(--text-on-dark-soft); }
.sub-title { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 8px 0 20px; color: var(--navy-900); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(12, 23, 35, .0);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, background-color .4s, backdrop-filter .4s;
}
.site-header.is-scrolled, .site-header:has(.is-open) {
  background: rgba(12, 23, 35, .97); border-bottom-color: var(--hairline-dark);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand-logo { width: 40px; height: auto; flex: none; } /* símbolo original InvestCon (proporção preservada) */
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.16rem; font-weight: 600; letter-spacing: .01em; }
.brand-sub { font-size: .72rem; letter-spacing: .04em; color: var(--silver); margin-top: 4px; }

.menu-toggle {
  width: 46px; height: 46px; border: 1px solid var(--hairline-dark); border-radius: 50%;
  background: transparent; cursor: pointer; display: grid; place-items: center;
  transition: border-color .3s;
}
.menu-toggle:hover { border-color: var(--gold); }
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 18px; height: 1.5px; background: var(--gold-light); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s, background-color .2s;
}
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Menu do celular: painel em tela cheia */
.main-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  background: var(--navy-900); border-top: 1px solid var(--hairline-dark);
  padding: 24px var(--gutter) 32px; overflow-y: auto;
  display: flex; flex-direction: column;
  visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.main-nav ul { display: flex; flex-direction: column; }
.main-nav li a {
  display: block; padding: 16px 2px; color: var(--white); text-decoration: none;
  font-family: var(--serif); font-size: 1.75rem; font-weight: 500;
  border-bottom: 1px solid var(--hairline-dark); transition: color .25s, padding-left .3s var(--ease);
}
.main-nav li a:hover { color: var(--gold-light); padding-left: 8px; }
.nav-cta { margin-top: 28px; width: 100%; min-height: 54px; }
html:not(.js) .menu-toggle { display: none; }

/* ---------- Hero (imagem em tela cheia) ----------
   Celular/tablet: a imagem ocupa a largura toda no alto e o texto entra por baixo
   (assim o texto não cobre o carro e a carta de crédito).
   Desktop (≥960px): a imagem cobre a seção inteira e o texto fica por cima, à esquerda. */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 0 0 64px;
  color: var(--text-on-dark); background: var(--navy-900);
}
.hero-bg {
  position: relative; z-index: -2; display: block;
  width: 100%; height: auto; aspect-ratio: 1 / 1.05;
  object-fit: cover; object-position: 82% 50%;
  background: var(--navy-800);
}
.hero::before { /* degradê de leitura: escurece o alto (menu) e funde a imagem ao marinho */
  content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: -1;
  height: calc(100vw * 1.05);
  background:
    linear-gradient(180deg, rgba(12,23,35,.78) 0%, rgba(12,23,35,0) 26%),
    linear-gradient(180deg, rgba(12,23,35,0) 66%, rgba(12,23,35,.8) 90%, var(--navy-900) 100%);
}
.hero-grid { position: relative; margin-top: -56px; }
.hero-copy { max-width: 680px; }
.hero-kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: .92rem; color: var(--silver); margin-bottom: 20px;
}
.hero-kicker::before { content: ""; width: 32px; height: 1px; background: var(--gold); flex: none; }
.hero h1 {
  font-weight: 500; color: var(--white);
  font-size: clamp(2.6rem, 10.5vw, 4.75rem); line-height: 1; letter-spacing: -.025em;
  max-width: 12ch; text-wrap: balance;
  text-shadow: 0 2px 30px rgba(7, 14, 22, .35);
}
.hero-lead { margin-top: 24px; font-size: 1.1rem; line-height: 1.65; color: #D3D7DE; max-width: 31em; }
.hero-actions { margin-top: 34px; display: flex; flex-direction: column; gap: 12px; }
.hero-actions .btn { width: 100%; }
.btn-ghost { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-points { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--silver); font-size: .92rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--gold); width: 1.15em; height: 1.15em; }
.hero-scroll { display: none; }

/* Entrada do hero: o único momento coreografado da página */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-bg { animation: heroBg 2.4s var(--ease) both; }
  .js .hero-copy > * { animation: heroUp .9s var(--ease) .15s both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .23s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .31s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .39s; }
  .js .hero-copy > :nth-child(5) { animation-delay: .47s; }
  .js .hero-scroll { animation: heroUp .9s var(--ease) .8s both; }
  @keyframes heroUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  @keyframes heroBg { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
}

/* ---------- Soluções ---------- */
.pillars { display: grid; gap: 18px; }
.pillar {
  position: relative; overflow: hidden;
  background: var(--white); border-radius: var(--radius-card); padding: 32px 28px 28px;
  border: 1px solid var(--hairline);
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.pillar::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: rgba(211, 176, 110, .5); }
.pillar:hover::before { transform: scaleX(1); }
.pillar-icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold-dark); margin-bottom: 26px;
  transition: background-color .4s, color .4s;
}
.pillar:hover .pillar-icon { background: var(--navy-900); color: var(--gold-light); border-color: var(--navy-900); }
.pillar-icon svg { width: 26px; height: 26px; }
.pillar h3 { font-family: var(--serif); font-weight: 500; font-size: 1.65rem; color: var(--navy-900); }
.pillar-tag { font-size: .88rem; font-weight: 500; color: var(--gold-dark); margin: 6px 0 14px; }
.pillar-text { color: var(--text-soft); line-height: 1.65; }
.pillar-link {
  margin-top: auto; padding-top: 22px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; font-size: .95rem; color: var(--navy-900); text-decoration: none;
}
.pillar-link span { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); padding-bottom: 2px; }
.pillar-link .icon { color: var(--gold-dark); transition: transform .35s var(--ease); }
.pillar-link:hover span { background-size: 100% 1px; }
.pillar-link:hover .icon { transform: translateX(4px); }

/* ---------- Sobre ---------- */
/* Três colunas: texto · foto com moldura listrada · citação + assinatura */
.about-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.about-head .eyebrow { justify-content: center; }
.about-head h2 { text-wrap: balance; }
.about-trio { display: grid; gap: 36px; align-items: center; }
.about-text { display: grid; gap: 14px; color: var(--text-soft); font-size: 1.02rem; line-height: 1.75; }
.about-frame {
  order: -1; justify-self: center; width: min(82vw, 400px); padding: 14px;
  background: repeating-linear-gradient(135deg, rgba(12, 23, 35, .09) 0 1.5px, transparent 1.5px 7px);
}
.about-frame img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  background: var(--navy-800); box-shadow: 0 18px 40px -24px rgba(12, 23, 35, .55);
}
.about-quote { display: grid; justify-items: center; text-align: center; gap: 22px; }
.about-quote blockquote { margin: 0; }
.about-quote blockquote p {
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.22rem; line-height: 1.55; color: var(--navy-900);
}
.about-quote blockquote p::before { content: "“"; }
.about-quote blockquote p::after { content: "”"; }
.about-sign { display: grid; gap: 4px; }
.about-sign strong { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.1; color: var(--navy-900); }
.about-sign span { font-size: .95rem; color: var(--text-soft); }
.about-sign .about-creci { font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--gold-dark); }
.about-more-link .icon { width: 18px; height: 18px; margin-left: 4px; }

.about-slogan {
  margin: 28px 0 0; padding-left: 20px; border-left: 2px solid var(--gold);
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.35rem; line-height: 1.35; color: var(--navy-900);
}
.credentials { margin-top: 28px; display: grid; border-top: 1px solid var(--hairline); }
.credentials li { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.credentials li > .icon {
  width: 42px; height: 42px; padding: 10px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-dark); flex: none;
}
.credentials strong { display: block; font-size: 1rem; color: var(--navy-900); }
.credentials span { font-size: .9rem; color: var(--text-soft); }

/* Trecho JC Corretor de Imóveis (dentro do "Sobre") */
.jc-card {
  margin-top: 32px; display: grid; gap: 18px; padding: 24px 22px;
  border-radius: var(--radius-card); color: var(--text-on-dark);
  background: var(--navy-900); border: 1px solid var(--navy-line);
}
.jc-logo {
  width: 100%; max-width: 220px; height: auto; aspect-ratio: 5 / 4; object-fit: contain;
  background: #fff; border-radius: 12px; padding: 6px; border: 1px solid rgba(211,176,110,.35);
}
.jc-kicker { font-size: .85rem; font-weight: 500; color: var(--silver); }
.jc-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; color: var(--white); margin-top: 4px; }
.jc-creci { margin-top: 4px; font-size: .88rem; font-weight: 600; color: var(--gold-light); letter-spacing: .03em; }
.jc-text { margin-top: 10px; font-size: .95rem; line-height: 1.6; color: var(--text-on-dark-soft); }
.jc-slogan { margin-top: 8px; font-family: var(--serif); font-style: italic; color: var(--gold-light); }
.jc-actions { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.jc-card :focus-visible { outline-color: var(--gold); }
.jc-insta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--silver); text-decoration: none; font-size: .92rem; overflow-wrap: anywhere; }
.jc-insta:hover { color: var(--gold-light); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Imóveis ---------- */
.property-grid { display: grid; gap: 22px; }
.property {
  background: var(--white); border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid var(--hairline);
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.property:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.property-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); }
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.property:hover .property-media img { transform: scale(1.04); }
.property-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px;
  color: var(--text-on-dark-soft); font-size: .88rem;
  background:
    repeating-linear-gradient(135deg, rgba(211,176,110,.05) 0 1px, transparent 1px 14px),
    var(--navy-900);
}
.property-placeholder svg { width: 40px; height: 40px; color: var(--gold); margin: 0 auto 8px; }
.badge-example {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: #A12A17; color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .1em;
  padding: 5px 10px; border-radius: 6px;
}
.property-price {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: rgba(12, 23, 35, .86); color: var(--white); border: 1px solid rgba(211,176,110,.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: 1.12rem; line-height: 1.15;
}
.property-price small { display: block; font-size: .7rem; font-weight: 500; color: var(--gold-light); letter-spacing: .04em; }
.property-body { padding: 22px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.property-loc { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--text-soft); }
.property-loc svg { width: 16px; height: 16px; color: var(--gold-dark); flex: none; }
.property-title { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; line-height: 1.12; color: var(--navy-900); }
.property-title mark { background: none; color: var(--gold-dark); padding: 0; }
.property-specs { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 12px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.property-specs li { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; color: var(--navy-900); font-weight: 500; }
.property-specs svg { width: 17px; height: 17px; color: var(--gold-dark); }
.property-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.property-tags li { font-size: .8rem; color: var(--text-soft); background: var(--porcelain); border-radius: 999px; padding: 5px 11px; }
.property-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.property-ref { font-size: .8rem; color: var(--text-soft); }
.grid-note { margin-top: 36px; text-align: center; color: var(--text-soft); }
.grid-note a { color: var(--navy-900); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* Cartão de imóvel: link para os detalhes + ações (usado no início e em imoveis.html) */
.property-media { display: block; text-decoration: none; color: inherit; }
.property-title a { color: inherit; text-decoration: none; }
.property-title a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.property-photos {
  position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(12, 23, 35, .78); color: var(--white); font-size: .78rem; font-weight: 600;
  padding: 5px 10px; border-radius: 999px;
}
.property-photos svg { width: 15px; height: 15px; }
.property-foot { flex-direction: column; align-items: stretch; gap: 12px; }
.property-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.property-actions .btn { flex: 1 1 auto; padding-left: 14px; padding-right: 14px; white-space: nowrap; }
.btn-line { border-color: rgba(12, 23, 35, .28); color: var(--navy-900); background: transparent; }
.btn-line:hover { border-color: var(--navy-900); background: var(--white); }
.btn-link {
  background: none; border: 0; padding: 0 4px; min-height: 44px; cursor: pointer;
  color: var(--navy-900); font-weight: 600; font-size: .92rem;
  text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px;
}
.grid-more { margin-top: 40px; display: flex; justify-content: center; }

/* ---------- Página de imóveis (imoveis.html) ---------- */
.page-hero { padding: calc(var(--header-h) + 36px) 0 52px; border-bottom: 1px solid var(--hairline-dark); }
.page-hero h1 {
  margin-top: 18px; max-width: 16ch; color: var(--white); text-wrap: balance;
  font-weight: 500; font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1.04; letter-spacing: -.018em;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--silver); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.breadcrumb a { color: var(--silver); text-underline-offset: 4px; }
.breadcrumb a:hover { color: var(--gold-light); }
.main-nav li a[aria-current="page"] { color: var(--gold-light); }

.catalog { padding-top: 32px; }
.catalog-filters {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; align-items: end;
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 18px;
}
.catalog-filters .field label, .field-inline label { font-size: .82rem; color: var(--text-soft); font-weight: 600; }
.field select {
  width: 100%; min-height: 48px; padding: 10px 40px 10px 13px;
  border: 1px solid #C9CCD4; border-radius: 10px; font-size: .95rem; cursor: pointer;
  background: #FAFBFC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230C1723' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 13px center / 16px;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field select:hover { border-color: #AEB3BD; }
.field select:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 3px rgba(211,176,110,.45); }
.filters-clear { grid-column: 1 / -1; justify-self: start; }
.catalog-filters .field:nth-child(5) { grid-column: 1 / -1; }
.catalog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 26px 0 22px; }
.catalog-count { color: var(--text-soft); font-size: .95rem; }
.catalog-count strong { color: var(--navy-900); }
.field.field-inline { display: flex; align-items: center; gap: 10px; }
.field-inline select { width: auto; min-width: 170px; }
.catalog-empty {
  display: grid; justify-items: center; gap: 16px; text-align: center; padding: 48px 20px;
  background: var(--white); border: 1px dashed rgba(12, 23, 35, .2); border-radius: var(--radius-card); color: var(--text-soft);
}
.catalog-empty[hidden] { display: none; }
.catalog-empty > svg { width: 40px; height: 40px; color: var(--gold-dark); }
.catalog-empty strong { color: var(--navy-900); font-size: 1.05rem; }
.catalog-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.catalog-cta { display: grid; gap: 28px; align-items: center; }
.catalog-cta h2 { font-size: clamp(1.8rem, 4.6vw, 2.6rem); }

/* Janela de detalhes do imóvel */
html:has(.imovel-dialog[open]) { overflow: hidden; }
.imovel-dialog {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  background: var(--white); color: var(--text); overflow-y: auto; overscroll-behavior: contain;
}
.imovel-dialog::backdrop { background: rgba(7, 14, 22, .8); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.det-shell { position: relative; min-height: 100%; }
.det-close {
  position: fixed; top: 12px; right: 12px; z-index: 5; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(12, 23, 35, .82); color: var(--white); border: 1px solid rgba(255,255,255,.18);
}
.det-close svg { width: 22px; height: 22px; }
.det-close:hover { background: var(--navy-900); border-color: var(--gold); }
.det-gallery { background: var(--ink); }
.det-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-900); }
.det-main { width: 100%; height: 100%; object-fit: cover; }
.det-placeholder { position: absolute; }
.det-nav {
  position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: var(--navy-900); border: 0; box-shadow: 0 6px 18px -8px rgba(0,0,0,.5);
}
.det-nav svg { width: 22px; height: 22px; }
.det-prev { left: 12px; }
.det-prev svg { transform: rotate(180deg); }
.det-next { right: 12px; }
.det-nav:hover { background: var(--white); }
.det-counter {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px;
  background: rgba(12, 23, 35, .78); color: var(--white); font-size: .8rem; font-weight: 600;
}
.det-thumbs { display: flex; gap: 8px; padding: 10px 12px; overflow-x: auto; scrollbar-width: thin; }
.det-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; opacity: .65; transition: opacity .2s, border-color .2s; }
.det-thumbs button:hover { opacity: 1; }
.det-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--gold); }
.det-thumbs img { width: 84px; height: 63px; object-fit: cover; }
.det-body { padding: 26px var(--gutter) 0; display: grid; gap: 16px; align-content: start; }
.det-kicker { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); padding-right: 52px; }
.det-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 1.08; color: var(--navy-900); }
.det-title mark { background: none; color: var(--gold-dark); padding: 0; }
.det-price { font-size: 1.7rem; font-weight: 600; line-height: 1.1; color: var(--navy-900); }
.det-price small { display: block; margin-bottom: 4px; font-size: .74rem; font-weight: 500; letter-spacing: .04em; color: var(--gold-dark); }
.det-desc { padding-top: 6px; }
.det-desc h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: var(--navy-900); margin-bottom: 8px; }
.det-desc p { color: var(--text-soft); line-height: 1.7; }
.det-desc p + p { margin-top: 12px; }
.det-note { font-size: .8rem; color: var(--text-soft); }
.det-actions {
  position: sticky; bottom: 0; z-index: 3; display: flex; flex-wrap: wrap; gap: 10px;
  margin: 4px calc(var(--gutter) * -1) 0; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--hairline);
}
.det-actions { flex-wrap: nowrap; }
.det-actions .btn-lg { flex: 1 1 auto; white-space: nowrap; }
.det-actions .btn-line { flex: 0 0 auto; padding-left: 18px; padding-right: 18px; }
@media (max-width: 419px) {
  .det-actions [data-compartilhar] { width: 56px; padding: 0; }
  .det-actions [data-compartilhar] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
.imovel-dialog :focus-visible { outline-color: var(--navy-900); }
.det-gallery :focus-visible { outline-color: var(--gold); }

@media (min-width: 600px) {
  .catalog-filters { grid-template-columns: repeat(3, 1fr); padding: 20px 22px; }
  .filters-clear { grid-column: auto; }
  .catalog-filters .field:nth-child(5) { grid-column: auto; }
  .catalog-cta { grid-template-columns: 1fr auto; gap: 40px; }
}
@media (min-width: 960px) {
  .page-hero { padding: calc(var(--header-h) + 56px) 0 72px; }
  .catalog-filters { grid-template-columns: repeat(5, 1fr) auto; }
  .catalog-filters .field:nth-child(5) { grid-column: auto; }
  .catalog { padding-top: 48px; }
  .imovel-dialog {
    width: min(1180px, calc(100% - 64px)); height: min(760px, calc(100dvh - 64px)); margin: auto;
    border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0,0,0,.7);
  }
  .det-shell { display: grid; grid-template-columns: 1.35fr 1fr; height: 100%; }
  .det-close { position: absolute; top: 16px; right: 16px; }
  .det-gallery { display: flex; flex-direction: column; justify-content: center; min-height: 0; }
  .det-stage { flex: 1 1 auto; aspect-ratio: auto; min-height: 0; }
  .det-body { padding: 40px 40px 0; overflow-y: auto; }
  .det-actions { margin: 4px -40px 0; padding: 18px 40px; }
}

/* ---------- Consórcio ---------- */
.cons-sub { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; color: var(--white); margin-bottom: 22px; }
.cons-uses { display: grid; gap: 14px; margin-bottom: 64px; }
.cons-use {
  display: grid; gap: 8px; align-content: start; padding: 28px 26px; border-radius: var(--radius-card);
  border: 1px solid var(--hairline-dark); background: rgba(255,255,255,.025);
  transition: border-color .45s, transform .45s var(--ease), background-color .45s;
}
.cons-use:hover { border-color: rgba(211, 176, 110, .55); transform: translateY(-3px); background: rgba(255,255,255,.04); }
.cons-icon { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-light); display: grid; place-items: center; margin-bottom: 12px; }
.cons-icon svg { width: 26px; height: 26px; }
.cons-use strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--white); }
.cons-use > span:last-child { color: var(--text-on-dark-soft); line-height: 1.6; }

.cons-grid { display: grid; gap: 56px; }
.mini-steps { display: grid; gap: 18px; margin-bottom: 48px; counter-reset: s; }
.mini-steps li { display: flex; gap: 16px; align-items: flex-start; color: var(--text-on-dark); line-height: 1.6; }
.mini-steps span {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold-light); font-family: var(--serif); font-weight: 600;
}
.cons-benefits { display: grid; gap: 16px; }
.cons-benefits li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-on-dark-soft); line-height: 1.6; }
.cons-benefits .icon { color: var(--gold); margin-top: 2px; }
.cons-benefits strong { color: var(--white); font-weight: 600; }

.faq-item { border-bottom: 1px solid var(--hairline-dark); }
.faq-item:first-of-type { border-top: 1px solid var(--hairline-dark); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 48px 22px 0; font-weight: 500; font-size: 1.04rem; color: var(--white); line-height: 1.45;
  transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 26px; height: 26px; margin-top: -13px;
  border: 1px solid var(--hairline-dark); border-radius: 50%;
  background:
    linear-gradient(var(--gold-light), var(--gold-light)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--gold-light), var(--gold-light)) center / 1.5px 10px no-repeat;
  transition: transform .35s var(--ease), border-color .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); border-color: var(--gold); }
.faq-item summary:hover { color: var(--gold-light); }
.faq-body { padding: 0 0 24px; display: grid; gap: 12px; color: var(--text-on-dark-soft); line-height: 1.65; }
.faq-body strong { color: var(--text-on-dark); }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-body { animation: faqIn .4s var(--ease); }
  @keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

.cons-cta {
  margin-top: 72px; padding: 36px 0; display: grid; gap: 24px; align-items: center;
  border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line);
}
.cons-cta h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.15; color: var(--white); }
.cons-cta p { margin-top: 10px; color: var(--text-on-dark-soft); max-width: 36em; }
.disclaimer {
  margin-top: 28px; display: flex; gap: 12px; align-items: flex-start;
  color: var(--text-on-dark-soft); font-size: .88rem; line-height: 1.55;
}
.disclaimer .icon { color: var(--gold); margin-top: 1px; }

/* ---------- Etapas do atendimento (sequência real: 01 → 04) ---------- */
.steps { display: grid; gap: 0; }
.step { position: relative; padding: 0 0 36px 64px; }
.step::before { /* linha do tempo vertical */
  content: ""; position: absolute; left: 22px; top: 48px; bottom: 0; width: 1px; background: var(--hairline);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }
.step-num {
  position: absolute; left: 0; top: 0; width: 45px; height: 45px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--gold);
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--gold-dark); background: var(--white);
}
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; color: var(--navy-900); margin: 8px 0 8px; }
.step p { color: var(--text-soft); line-height: 1.65; }

/* ---------- Parceiros ---------- */
.partners { background: var(--white); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 36px 0; }
.partners-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.partners-title { font-family: var(--sans); font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--text-soft); }
.partners-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 48px; }
.partners-list img { height: 46px; width: auto; }

/* ---------- Resultados: carrossel de vendidos ---------- */
.sold-carousel { position: relative; }
.sold-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 2px;
}
.sold-track::-webkit-scrollbar { display: none; }
.sold-track:focus-visible { outline: 2px solid var(--navy-900); outline-offset: 4px; border-radius: var(--radius-sm); }
.sold-slide { scroll-snap-align: start; }
.sold-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.sold-nav[hidden] { display: none; }
.sold-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(12, 23, 35, .2); background: var(--white);
  color: var(--navy-900); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, transform .2s var(--ease);
}
.sold-btn:hover { border-color: var(--navy-900); }
.sold-btn:active { transform: scale(.96); }
.sold-btn svg { width: 20px; height: 20px; }
.sold-btn[data-carrossel="-1"] svg { transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) { .sold-track { scroll-behavior: auto; } }
.sold-card { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; background: var(--navy-800); }
.sold-card img { width: 100%; height: 100%; object-fit: cover; }
.sold-card .sold-tag {
  position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--ink);
  font-size: .72rem; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 6px;
}
.sold-card .sold-info {
  position: absolute; inset: auto 0 0 0; padding: 28px 12px 10px;
  background: linear-gradient(transparent, rgba(7,14,22,.88)); color: #fff; font-size: .82rem; line-height: 1.3;
}

.todo-card {
  border: 2px dashed #A12A17 !important; background: #FFF8F5 !important;
  color: #7A1F10 !important; box-shadow: none !important;
}
.todo-card .todo-label {
  display: inline-block; font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  background: #A12A17; color: #fff; padding: 3px 8px; border-radius: 5px; margin-bottom: 8px;
}
.sold-card.todo-card { display: grid; place-items: center; text-align: center; padding: 12px; font-size: .82rem; }
.about-text .todo-text {
  border-left: 3px solid #A12A17; background: #FFF8F5; color: #7A1F10; padding: 10px 14px; border-radius: 0 8px 8px 0;
}

/* ---------- Instagram ---------- */
.insta-band { display: grid; gap: 28px; align-items: center; }
.insta-head h2 { font-size: clamp(1.7rem, 4.4vw, 2.4rem); }
.insta-list { display: grid; gap: 12px; }
.insta-link {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  padding: 18px 20px; border-radius: var(--radius-card);
  background: var(--navy-900); color: var(--white);
  transition: transform .4s var(--ease), background-color .4s;
}
.insta-link:hover { transform: translateY(-3px); background: var(--navy-700); }
.insta-icon {
  flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold-light);
}
.insta-icon svg { width: 22px; height: 22px; }
.insta-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.insta-handle { font-weight: 600; overflow-wrap: anywhere; }
.insta-desc { font-size: .86rem; color: var(--text-on-dark-soft); }
.insta-link::after { content: "↗"; margin-left: auto; color: var(--gold-light); transition: transform .3s var(--ease); }
.insta-link:hover::after { transform: translate(2px, -2px); }

/* ---------- Contato + formulário ---------- */
.cta-final {
  color: var(--text-on-dark);
  background:
    linear-gradient(180deg, rgba(12,23,35,.94), rgba(12,23,35,.9)),
    url("../img/hero-patrimonio-960.webp?v=b6f28f81a5") 70% 50% / cover no-repeat,
    var(--navy-900);
}
.cta-grid { display: grid; gap: 44px; align-items: start; }
.cta-copy h2 { max-width: 14ch; }
.cta-copy > p { margin: 20px 0 28px; color: var(--text-on-dark-soft); font-size: 1.06rem; line-height: 1.65; max-width: 30em; }
.cta-info { margin-top: 36px; display: grid; gap: 18px; padding-top: 28px; border-top: 1px solid var(--hairline-dark); }
.cta-info li { display: flex; gap: 14px; align-items: center; }
.cta-info li > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-light); }
.cta-info small { display: block; font-size: .8rem; color: var(--silver-dark); }
.cta-info span > span { color: var(--white); font-weight: 500; }

/* Formulário com a moldura de filete duplo (assinatura do site) */
.lead-form {
  position: relative;
  background: var(--white); color: var(--text); border-radius: 8px; padding: 30px 22px;
  outline: 1px solid rgba(211, 176, 110, .5); outline-offset: 10px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
  display: grid; gap: 18px;
}
.form-title { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--navy-900); }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .9rem; padding: 0; margin-bottom: 2px; color: var(--navy-900); }
.field input[type="text"], .field input[type="tel"] {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1px solid #C9CCD4; border-radius: 10px; background: #FAFBFC; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input:hover { border-color: #AEB3BD; }
.field input::placeholder { color: #6E7482; }
.field input:focus { outline: none; border-color: var(--navy-900); background: var(--white); box-shadow: 0 0 0 3px rgba(211,176,110,.45); }
.field input[aria-invalid="true"] { border-color: #B3261E; }
.field-error { color: #B3261E; font-size: .85rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
  border: 1px solid #C9CCD4; border-radius: 999px; font-size: .92rem; cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s;
}
.chip:hover span { border-color: var(--navy-900); }
.chip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-note { font-size: .8rem; color: var(--text-soft); line-height: 1.5; }
.form-note a { color: var(--navy-900); }
.form-status { border-radius: 10px; padding: 12px 14px; font-size: .92rem; line-height: 1.5; background: #E7F4EC; color: #14532D; border: 1px solid #A7D7B8; }
.form-status.is-error { background: #FCEBEA; color: #8C1D18; border-color: #F0B7B3; }
.form-status a { color: inherit; font-weight: 600; }

/* Sprite de ícones (fora do fluxo) */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Página 404 ---------- */
.page-404 { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 48px 0; }
.page-404 .container { max-width: 640px; }
.page-404 h1 { color: var(--white); font-size: clamp(2rem, 6vw, 3rem); margin: 10px 0 16px; }
.page-404-text { color: var(--text-on-dark-soft); font-size: 1.05rem; }
.page-404-mono { display: table; margin: 0 auto 20px; }
.page-404-mono img { width: 170px; height: auto; }
.page-404-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: var(--text-on-dark-soft); padding: 56px 0 96px; font-size: .92rem; }
.footer-grid { display: grid; gap: 34px; }
.footer-brand img { width: 160px; height: auto; margin-bottom: 14px; }
.footer-title { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { text-decoration: none; display: inline-flex; flex-direction: column; min-height: 24px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col strong { color: var(--text-on-dark); }
.footer-label { display: block; font-size: .76rem; color: var(--silver-dark); }
.footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: 10px; }
.footer-legal summary { cursor: pointer; color: var(--text-on-dark); font-weight: 500; padding: 8px 0; min-height: 44px; display: flex; align-items: center; }
.footer-legal details p { margin: 6px 0 10px; font-size: .86rem; line-height: 1.6; }
.copyright { margin-top: 12px; font-size: .8rem; color: var(--silver-dark); }

/* ---------- Botão flutuante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,.45), 0 0 0 4px rgba(37,211,102,.18);
  transition: transform .3s var(--ease), opacity .3s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); }
.wa-float:focus-visible { outline-color: var(--white); }
.js .wa-float.is-hidden { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; }

/* ---------- Revelar ao rolar ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .pillars > .reveal:nth-child(2), .js .property-grid > .reveal:nth-child(2), .js .steps > .reveal:nth-child(2) { transition-delay: .08s; }
  .js .pillars > .reveal:nth-child(3), .js .property-grid > .reveal:nth-child(3), .js .steps > .reveal:nth-child(3) { transition-delay: .16s; }
  .js .steps > .reveal:nth-child(4) { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================
   ≥ 600px
   ========================================================= */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .hero-bg { aspect-ratio: 16 / 11; }
  .hero::before { height: calc(100vw * 11 / 16); }
  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .hero-actions .btn { width: auto; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .cons-uses { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .pillars > .pillar:nth-child(3):last-child { grid-column: 1 / -1; }
  .sold-track { grid-auto-columns: calc((100% - 24px) / 3); }
  .jc-card { grid-template-columns: 170px 1fr; align-items: center; gap: 26px; padding: 28px; }
  .lead-form { padding: 36px 32px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   ≥ 960px (notebook e desktop)
   ========================================================= */
@media (min-width: 960px) {
  :root { --section-y: 128px; --header-h: 80px; }
  .menu-toggle { display: none; }
  .main-nav {
    position: static; display: flex !important; flex-direction: row; align-items: center; gap: 32px;
    height: auto; background: none; border: 0; padding: 0; overflow: visible;
    visibility: visible; opacity: 1; transform: none; transition: none;
  }
  .main-nav ul { flex-direction: row; gap: 30px; }
  .main-nav li a {
    padding: 6px 0; border: 0; position: relative;
    font-family: var(--sans); font-size: .93rem; font-weight: 500; color: var(--text-on-dark);
  }
  .main-nav li a:hover { padding-left: 0; color: var(--white); }
  .main-nav li a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .main-nav li a:hover::after { transform: scaleX(1); }
  .nav-cta { margin: 0; width: auto; min-height: 42px; }
  .brand-logo { width: 46px; }

  .hero {
    display: flex; align-items: center;
    min-height: 100vh; min-height: 100svh;
    padding: calc(var(--header-h) + 32px) 0 clamp(84px, 11vh, 112px);
  }
  .hero-bg { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 72% 50%; }
  .hero::before {
    height: auto; bottom: 0;
    background:
      linear-gradient(180deg, rgba(12,23,35,.7) 0%, rgba(12,23,35,0) 20%),
      linear-gradient(90deg, rgba(12,23,35,.95) 0%, rgba(12,23,35,.82) 30%, rgba(12,23,35,.35) 55%, rgba(12,23,35,0) 74%),
      linear-gradient(0deg, rgba(12,23,35,.85) 0%, rgba(12,23,35,0) 14%);
  }
  .hero-grid { margin-top: 0; }
  .hero h1 { font-size: clamp(3rem, min(6.2vw, 9.4vh), 6.25rem); line-height: .98; }
  .hero-kicker { margin-bottom: min(20px, 2.2vh); }
  .hero-lead { margin-top: min(24px, 2.8vh); }
  .hero-actions { margin-top: min(34px, 3.6vh); }
  .hero-points { margin-top: min(30px, 3vh); }
  .hero-lead { font-size: 1.16rem; }
  .hero-scroll {
    display: flex; align-items: center; gap: 14px; min-height: 44px;
    position: absolute; left: max(var(--gutter), calc((100vw - var(--container-wide)) / 2 + var(--gutter))); bottom: 28px;
    color: var(--silver); text-decoration: none; font-size: .74rem; letter-spacing: .2em;
  }
  .hero-scroll::before { content: ""; width: 48px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(197, 201, 208, .2)); }
  .hero-scroll:hover { color: var(--gold-light); }

  .section-head-split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: end; margin-bottom: 64px; }
  .section-head-split .section-lead { margin-top: 0; }

  .pillars { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .pillars > .pillar:nth-child(3):last-child { grid-column: auto; }
  .pillar { padding: 40px 36px 32px; }
  .about-head { margin-bottom: 72px; }
  .about-trio { grid-template-columns: 1fr minmax(300px, 380px) 1fr; gap: 56px; }
  .about-frame { order: 0; width: 100%; padding: 16px; }
  .about-quote blockquote p { font-size: 1.3rem; }
  .property-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .cons-uses { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 88px; }
  .cons-use { padding: 34px 32px; }
  .cons-grid { grid-template-columns: 1fr 1.1fr; gap: 88px; align-items: start; }
  .cons-cta { grid-template-columns: 1fr auto; gap: 48px; padding: 44px 0; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 36px; }
  .step { padding: 76px 0 0; }
  .step::before { left: 56px; right: -36px; top: 22px; bottom: auto; width: auto; height: 1px; }
  .sold-track { grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; }
  .insta-band { grid-template-columns: 1fr 1fr; gap: 72px; }
  .cta-grid { grid-template-columns: 1fr 1fr; gap: 104px; align-items: center; }
  .lead-form { padding: 42px 40px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .wa-float { right: 24px; bottom: 24px; width: 62px; height: 62px; }
}

/* ---------- Ajustes pós-revisão ---------- */
figure { margin: 0; }
.footer-legal summary { justify-content: space-between; gap: 12px; list-style: none; }
.footer-legal summary::-webkit-details-marker { display: none; }
.footer-legal summary::after { content: "+"; font-size: 1.3rem; color: var(--gold-light); transition: transform .3s var(--ease); }
.footer-legal details[open] summary::after { transform: rotate(45deg); }
.footer-legal details { border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-disclaimer { margin-top: 14px; font-size: .84rem; color: var(--text-on-dark-soft); }
@media (min-width: 960px) { .footer-legal { max-width: 1160px; } .footer-legal details, .footer-disclaimer { max-width: 760px; } }

/* ---------- Imóveis vindos do Supabase: carregando / sem imóveis / erro ----------
   (acréscimo; não altera nenhuma regra acima) */
.property-skeleton { pointer-events: none; }
.property-skeleton:hover { transform: none; box-shadow: none; }
.property-skeleton .property-media,
.property-skeleton .sk-line { position: relative; overflow: hidden; background: var(--porcelain); }
.sk-line { display: block; height: 14px; border-radius: 6px; width: 100%; }
.sk-line.sk-short { width: 45%; }
.sk-line.sk-title { height: 26px; width: 80%; }
/* Brilho do "carregando": só transform (animação composta pela GPU) */
.property-skeleton .property-media::after,
.property-skeleton .sk-line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: translateX(-100%);
}
@media (prefers-reduced-motion: no-preference) {
  .property-skeleton .property-media::after,
  .property-skeleton .sk-line::after { animation: sk-brilho 1.4s ease-in-out infinite; will-change: transform; }
}
@keyframes sk-brilho { to { transform: translateX(100%); } }

/* Foto do cartão: prévia borrada (24 px) por trás enquanto a foto carrega,
   depois a foto entra com fade (só opacity: animação composta) */
.property-media { isolation: isolate; }
.property-lqip {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  object-fit: cover; filter: blur(14px); transform: scale(1.15);
}
.js .property-media .foto-carrega { opacity: 0; transition: opacity .45s var(--ease), transform 1.2s var(--ease); }
.js .property-media .foto-carrega.is-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .property-media .foto-carrega { transition: none; } }

/* Cartão: resumo da descrição em 2 linhas e etiquetas em no máx. 2 linhas ("+N") */
.property-resumo {
  font-size: .9rem; line-height: 1.5; color: var(--text-soft);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.property-tags li.tags-mais { background: none; border: 1px solid var(--hairline); color: var(--text-soft); }
.property-tags li[hidden] { display: none; }
.imoveis-aviso {
  grid-column: 1 / -1;
  display: grid; justify-items: center; gap: 14px; text-align: center; padding: 44px 20px;
  background: var(--white); border: 1px dashed rgba(12, 23, 35, .2); border-radius: var(--radius-card); color: var(--text-soft);
}
.imoveis-aviso > svg { width: 40px; height: 40px; color: var(--gold-dark); }
.imoveis-aviso strong { color: var(--navy-900); font-size: 1.05rem; }

/* ---------- Promoção "De / Por" (ex.: Black Friday) ----------
   Cadastrada no painel /admin (Tipo de preço → Promoção). Acréscimo; não altera regras acima. */
.property-offer { border-color: rgba(211, 176, 110, .7); box-shadow: 0 0 0 1px rgba(211, 176, 110, .35); }
.offer-ribbon {
  position: absolute; top: 14px; left: 14px; z-index: 3; display: inline-flex; align-items: stretch;
  border-radius: 8px; overflow: hidden; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
}
.offer-name { background: var(--ink); color: var(--gold-light); padding: 8px 10px; }
.offer-off { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: var(--ink); padding: 8px 9px; letter-spacing: .02em; }
.property-price.is-offer { border-color: var(--gold); background: rgba(7, 14, 22, .9); }
.property-price.is-offer small { color: var(--silver); letter-spacing: 0; }
.property-price s, .det-price s { text-decoration-thickness: 1px; text-decoration-color: rgba(221, 191, 134, .8); }
.price-por { font-size: .74rem; font-weight: 500; color: var(--gold-light); text-transform: uppercase; letter-spacing: .06em; }
.det-stage .offer-ribbon { top: 16px; left: 16px; font-size: .8rem; }
.det-offer {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start; flex-wrap: wrap;
  font-size: .9rem; font-weight: 600; color: var(--gold-dark);
}
.det-offer .offer-name { border-radius: 6px; padding: 6px 10px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.det-price.is-offer small { color: var(--text-soft); letter-spacing: 0; }
.det-price.is-offer s { text-decoration-color: rgba(122, 92, 28, .7); }
.det-price.is-offer .price-por { color: var(--gold-dark); }

/* Soluções com 4 cartões (Consórcios, Crédito, Imóveis, Planejamento) */
@media (min-width: 600px) { .pillars > .pillar:nth-child(3):not(:last-child) { grid-column: auto; } }
@media (min-width: 1100px) { .pillars:has(> .pillar:nth-child(4)) { grid-template-columns: repeat(4, 1fr); gap: 20px; } .pillars:has(> .pillar:nth-child(4)) .pillar { padding: 34px 26px 28px; } .pillars:has(> .pillar:nth-child(4)) .pillar h3 { font-size: 1.45rem; } }
@media (min-width: 960px) and (max-width: 1099px) { .pillars:has(> .pillar:nth-child(4)) { grid-template-columns: repeat(2, 1fr); } }

/* ---------- sobre.html: ecossistema e fundador ---------- */
.eco-tagline {
  margin-top: 48px; text-align: center; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.5rem, 3.6vw, 2.2rem); line-height: 1.2; color: var(--navy-900); text-wrap: balance;
}
.eco-tagline em { color: var(--gold-dark); }
.founder-grid { display: grid; gap: 36px; align-items: center; max-width: 1040px; }
.founder-photo { justify-self: center; width: min(70vw, 340px); padding: 12px; background: repeating-linear-gradient(135deg, rgba(12, 23, 35, .09) 0 1.5px, transparent 1.5px 7px); }
.founder-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; background: var(--navy-800); }
.founder-text { margin-top: 20px; display: grid; gap: 14px; color: var(--text-soft); font-size: 1.02rem; line-height: 1.75; }
@media (min-width: 960px) {
  .founder-grid { grid-template-columns: 340px 1fr; gap: 72px; }
  .founder-photo { width: 100%; }
}
.founder-text strong { color: var(--navy-900); font-weight: 600; }
.founder-cta { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.founder-cta .btn { flex: 0 1 auto; }
@media (max-width: 599px) { .founder-cta .btn { width: 100%; } }
.cta-slogan { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold-light); }

/* Logo nova no rodapé (quadrada, com fundo próprio) */
.footer-brand img.footer-logo { width: 200px; height: auto; border-radius: 14px; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .8); }
/* Identificação: corretora de consórcios da Serello Consórcios */
.cons-corretora { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: .88rem; font-weight: 600; color: var(--gold-light); }
.cons-corretora .icon { width: 18px; height: 18px; flex: none; }
