/* ===================================================================
   Mago do Crédito — site
   Paleta oficial (do site original):
   azul-marinho #0B3D91 · verde #16A34A · dourado #c69635 · claro
   =================================================================== */

:root {
  --blue:       #0b3d91;
  --blue-2:     #062b65;
  --navy:       #071a3b;
  --ink:        #0f172a;
  --muted:      #5d6677;
  --muted-2:    #8a93a3;
  --line:       #e5e9f0;
  --soft:       #f6f8fb;
  --green:      #16a34a;
  --green-deep: #138a3e;
  --gold:       #c69635;
  --gold-soft:  #f7eedd;
  --white:      #ffffff;

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1140px;
  --radius: 14px;
  --shadow-card: 0 12px 32px rgba(15, 23, 42, 0.06);
  --shadow-lg:   0 26px 70px rgba(7, 26, 59, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

.accent-green { color: var(--green); }
.accent-gold  { color: var(--gold); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-green { background: var(--green); color: #fff; box-shadow: 0 12px 28px rgba(22, 163, 74, 0.28); }
.btn-green:hover { background: var(--green-deep); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-2); }
.btn-light { background: #fff; color: var(--blue); border-color: #c8d5e8; }
.btn-light:hover { border-color: var(--blue); }
.btn-ghost-light { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.32); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 36px; font-size: 16px; }
.wpp-ico { width: 8px; height: 8px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 3px rgba(37,211,102,.25); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; font-family: var(--font-serif); font-weight: 700; font-size: 21px; color: #fff; background: var(--blue); border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15); }
.brand-text { font-family: var(--font-serif); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: var(--blue); }
.brand-text small { display: block; font-family: var(--font-sans); font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; margin-top: 2px; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 15px; color: var(--ink); font-weight: 600; transition: color .2s ease; }
.nav a:hover { color: var(--blue); }

/* Botão do menu mobile (hambúrguer) */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; padding: 84px 0 76px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr); gap: 50px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #eef5ff; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-title { font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin: 22px 0 22px; color: #fff; }
.hero-title .accent-gold { color: var(--gold); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #dce9ff; max-width: 600px; margin: 0 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-note { margin-top: 20px; color: #bfd3f8; font-size: 14px; font-weight: 600; }

/* vídeo */
.video-shell { position: relative; border-radius: var(--radius); overflow: hidden; background: #081225; border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: var(--shadow-lg); }
.video-shell video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
/* vídeo vertical (hero) — frame retrato estilo reels */
.hero-media { display: flex; justify-content: center; }
.video-shell.is-portrait { width: min(300px, 78%); }
.video-shell.is-portrait video { aspect-ratio: 9 / 16; }
.video-caption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 11px 14px; border-radius: 8px; background: rgba(6, 31, 74, 0.82); color: #fff; font-size: 14px; font-weight: 600; backdrop-filter: blur(4px); }

/* ---------- Stats ---------- */
.stats { background: var(--soft); border-bottom: 1px solid var(--line); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-card); }
.stat-num { display: block; font-family: var(--font-serif); font-size: clamp(2.2rem, 3.6vw, 2.9rem); font-weight: 600; color: var(--blue); line-height: 1; margin-bottom: 12px; }
.stat-num::after { content: ""; display: block; width: 30px; height: 3px; background: var(--gold); border-radius: 2px; margin-top: 12px; }
.stat h3 { font-family: var(--font-sans); font-size: 1rem; color: var(--ink); margin: 0 0 6px; }
.stat p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Section helpers ---------- */
.section { padding: 92px 0; }
.section.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.navy { background: linear-gradient(135deg, var(--navy), var(--blue-2)); color: #fff; }
.kicker { display: inline-block; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12.5px; font-weight: 800; color: var(--blue); margin-bottom: 14px; }
.section.navy .kicker { color: var(--gold); }
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section.navy .section-head h2 { color: #fff; }
.section-lead { color: var(--muted); font-size: 1.1rem; margin: 16px 0 0; }
.section.navy .section-lead { color: #dce9ff; }

/* ---------- Institucional ---------- */
.institucional-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 60px; align-items: center; }
.institucional-media { position: relative; }
.institucional-media img { border-radius: var(--radius); border: 1px solid var(--line); object-fit: cover; width: 100%; aspect-ratio: 4 / 5; box-shadow: var(--shadow-card); }
.institucional-media-2 { position: absolute; width: 52% !important; bottom: -30px; right: -24px; aspect-ratio: 1 / 1 !important; box-shadow: var(--shadow-lg); border: 4px solid #fff !important; }
.institucional-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 22px; }
.institucional-text p { color: var(--muted); margin: 0 0 18px; }
.institucional-text strong { color: var(--ink); }
.link-arrow { display: inline-block; margin-top: 8px; color: var(--green); font-weight: 700; }
.link-arrow:hover { color: var(--green-deep); }

/* ---------- Cards (serviços) — clicáveis ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { text-align: left; width: 100%; font-family: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 26px; box-shadow: var(--shadow-card); cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); border-color: #c8d5e8; box-shadow: var(--shadow-lg); }
.card:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.card-num { font-family: var(--font-serif); font-size: 14px; color: var(--gold); font-weight: 700; letter-spacing: 0.05em; }
.card h3 { font-size: 1.16rem; margin: 14px 0 10px; color: var(--ink); }
.card p { font-size: 14.5px; color: var(--muted); margin: 0 0 16px; }
.card-more { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--blue); }

/* ---------- Método ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { padding-top: 22px; border-top: 2px solid var(--line); transition: border-color .2s ease; }
.step:hover { border-color: var(--green); }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(22, 163, 74, 0.12); color: var(--green); font-family: var(--font-serif); font-weight: 700; font-size: 20px; margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Provas + vídeo ---------- */
.provas-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.provas-video .video-shell { border-color: var(--line); box-shadow: var(--shadow-lg); }
.provas-video video { aspect-ratio: 16 / 9; }
.story-list { display: grid; gap: 16px; }
.story { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 10px; padding: 22px 24px; box-shadow: var(--shadow-card); }
.story h3 { font-family: var(--font-sans); font-size: 1.1rem; margin: 0 0 6px; color: var(--ink); }
.story p { margin: 0; color: var(--muted); font-size: 15px; }
.depoimentos-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; max-width: 760px; }
.depoimento-print { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease; }
.depoimento-print:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.depoimento-print img { width: 100%; height: auto; display: block; }

/* ---------- Empreendimentos / Hub ---------- */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hub-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c8d5e8; }
.hub-tag { align-self: flex-start; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); background: var(--gold-soft); padding: 5px 11px; border-radius: 999px; margin-bottom: 16px; }
.hub-card h3 { font-size: 1.25rem; margin: 0 0 8px; }
.hub-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; }
.hub-card .link-arrow { margin-top: auto; }

/* ---------- Pra quem é (navy) ---------- */
.quem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.quem-text h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 20px; }
.quem-text p { color: #dce9ff; margin: 0; }
.quem-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.quem-list li { padding-left: 30px; position: relative; color: #fff; font-size: 16px; }
.quem-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 3px; background: var(--gold); border-radius: 2px; }

/* ---------- Quote ---------- */
.quote { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.34; color: var(--ink); margin: 0; padding-left: 32px; border-left: 3px solid var(--gold); max-width: 900px; }
.quote cite { display: block; margin-top: 22px; font-family: var(--font-sans); font-size: 15px; font-style: normal; color: var(--muted); }

/* ---------- CTA Final ---------- */
.cta-final { text-align: center; }
.cta-final h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.3rem); margin-bottom: 16px; }
.cta-final p { color: #dce9ff; font-size: 1.15rem; margin: 0 auto 34px; max-width: 540px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cdd5e2; padding: 60px 0 36px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { max-width: 360px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text small { color: var(--muted-2); }
.footer-brand p { color: var(--muted-2); font-size: 14.5px; margin: 14px 0 0; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: #cdd5e2; font-size: 15px; transition: color .2s ease; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; color: var(--muted-2); font-size: 13.5px; }

/* ---------- WhatsApp flutuante ---------- */
.wpp-float { position: fixed; bottom: 24px; right: 24px; z-index: 60; background: #25d366; color: #06351c; font-weight: 800; font-size: 14px; padding: 14px 22px; border-radius: 999px; box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.7); transition: transform .2s ease; }
.wpp-float:hover { transform: translateY(-3px) scale(1.03); }

/* ===================================================================
   MODAL (conteúdo dos serviços)
   =================================================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: flex-start; justify-content: center;
  padding: 40px 20px;
  background: rgba(7, 26, 59, 0.55);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
  position: relative;
  width: 100%; max-width: 720px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 44px 48px 40px;
  animation: modalIn .22s ease both;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 20px; line-height: 1; cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.modal-close:hover { background: var(--soft); border-color: #c8d5e8; }
.modal-tag { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); background: var(--gold-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.modal h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 10px; }
.modal .modal-lead { color: var(--muted); font-size: 1.05rem; margin: 0 0 26px; }
.modal h3 { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 700; color: var(--blue); margin: 26px 0 12px; }
.modal ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.modal ul li { position: relative; padding-left: 26px; color: var(--ink); font-size: 15.5px; }
.modal ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 3px; border-radius: 2px; background: var(--green); }
.modal .modal-cta { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.modal .modal-cta p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1 1 180px; }

/* ===================================================================
   IMÓVEIS — listagem + landing pages
   =================================================================== */

/* sub-hero (banner de página interna) */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; padding: 64px 0 56px; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; margin-bottom: 16px; }
.page-hero p { color: #dce9ff; font-size: 1.15rem; max-width: 640px; margin: 0; }
.breadcrumb { font-size: 13.5px; color: #bfd3f8; margin-bottom: 22px; font-weight: 600; }
.breadcrumb a { color: #fff; } .breadcrumb a:hover { color: var(--gold); }

/* grade de imóveis */
.imoveis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prop-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease; }
.prop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.prop-card-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.prop-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prop-card:hover .prop-card-media img { transform: scale(1.05); }
.prop-badge { position: absolute; top: 14px; left: 14px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: #fff; background: rgba(11, 61, 145, 0.92); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(3px); }
.prop-badge.gold { background: var(--gold); color: #3a2a06; }
.prop-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.prop-loc { font-size: 13px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.prop-card-body h3 { font-size: 1.4rem; margin: 0 0 10px; }
.prop-facts { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.prop-facts span { display: inline-flex; align-items: center; gap: 6px; }
.prop-facts b { color: var(--ink); font-weight: 700; }
.prop-card .btn { margin-top: auto; }

/* landing de imóvel */
.prop-hero { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; padding: 56px 0 0; }
.prop-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-bottom: 56px; }
.prop-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); color: #fff; margin: 14px 0 16px; }
.prop-hero .prop-loc { color: var(--gold); }
.prop-hero p { color: #dce9ff; font-size: 1.1rem; margin: 0 0 26px; }
.prop-hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.18); aspect-ratio: 4 / 3; }
.prop-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.prop-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.prop-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.16); border-radius: var(--radius); overflow: hidden; margin-bottom: -36px; position: relative; z-index: 2; box-shadow: var(--shadow-lg); }
.prop-meta div { background: #fff; padding: 22px 20px; }
.prop-meta b { display: block; font-family: var(--font-serif); font-size: 1.5rem; color: var(--blue); line-height: 1; margin-bottom: 6px; }
.prop-meta span { font-size: 13px; color: var(--muted); }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature-list li { position: relative; padding-left: 28px; color: var(--ink); font-size: 16px; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 3px; background: var(--gold); border-radius: 2px; }

.prop-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prop-gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); aspect-ratio: 4 / 3; }
.prop-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prop-gallery figure:hover img { transform: scale(1.06); }
.prop-gallery.plantas figure { aspect-ratio: auto; background: var(--soft); }
.prop-gallery.plantas img { object-fit: contain; padding: 14px; }

.prop-note { background: var(--soft); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; padding: 22px 26px; color: var(--muted); font-size: 15px; }

/* ===================================================================
   CINEMATIC — home alto padrão
   =================================================================== */

/* header transparente sobre o hero, solidifica no scroll */
.home-header { position: fixed; top: 0; left: 0; right: 0; background: transparent; border-bottom-color: transparent; transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.home-header .brand-text { color: #fff; }
.home-header .brand-text small { color: rgba(255,255,255,0.66); }
.home-header .brand-mark { background: rgba(255,255,255,0.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); }
.home-header .nav a { color: rgba(255,255,255,0.86); }
.home-header .nav a:hover { color: #fff; }
.home-header .nav-toggle span { background: #fff; }
.home-header.scrolled .nav-toggle span { background: var(--ink); }
.home-header.scrolled { background: rgba(255,255,255,0.92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); box-shadow: 0 6px 26px rgba(7,26,59,0.07); }
.home-header.scrolled .brand-text { color: var(--blue); }
.home-header.scrolled .brand-text small { color: var(--muted); }
.home-header.scrolled .brand-mark { background: var(--blue); }
.home-header.scrolled .nav a { color: var(--ink); }
.home-header.scrolled .nav a:hover { color: var(--blue); }

/* hero em tela cheia, com mídia de fundo e gradiente cinematográfico */
.hero.cinematic { min-height: 100svh; display: flex; align-items: center; padding: 132px 0 90px; }
.hero .hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transform: scale(1.06); animation: kenburns 22s ease-out infinite alternate; }
.hero .hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(112deg, rgba(5,12,24,0.94) 0%, rgba(6,20,42,0.80) 42%, rgba(6,43,101,0.52) 100%); }
.hero .hero-overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,12,24,0.85), transparent 38%); }
.hero.cinematic .hero-grid { position: relative; z-index: 2; }
.hero.cinematic .hero-title { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -0.02em; text-shadow: 0 2px 40px rgba(0,0,0,0.35); }
.hero.cinematic .eyebrow { background: rgba(255,255,255,0.06); backdrop-filter: blur(6px); }
.hero.cinematic .video-shell { box-shadow: 0 40px 90px rgba(0,0,0,0.55); }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.2); } }

/* indicador de scroll */
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.6); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.scroll-cue span { width: 1px; height: 42px; background: linear-gradient(rgba(255,255,255,0.7), transparent); animation: cueline 2.2s ease-in-out infinite; }
@keyframes cueline { 0%,100% { opacity: .3; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* revelação ao rolar */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* refinamentos alto padrão */
.section .kicker::before { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 10px; margin-bottom: 3px; }
.section.navy .kicker::before { background: var(--gold); }
.card { transition: transform .3s cubic-bezier(.2,.6,.2,1), border-color .3s ease, box-shadow .3s ease; }
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); border-radius: var(--radius) var(--radius) 0 0; opacity: 0; transition: opacity .3s ease; }
.card { position: relative; overflow: hidden; }
.card:hover::after { opacity: 1; }
.hub-card, .stat, .prop-card { transition: transform .3s cubic-bezier(.2,.6,.2,1), box-shadow .3s ease, border-color .3s ease; }

/* faixa cinematográfica (citação) */
.cine-band { position: relative; padding: 132px 0; color: #fff; overflow: hidden; }
.cine-band .cine-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); animation: kenburns 26s ease-out infinite alternate; }
.cine-band .cine-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,12,24,0.88), rgba(6,20,42,0.82)); }
.cine-band .container { position: relative; z-index: 2; }
.cine-band .kicker { color: var(--gold); }
.cine-band .quote { color: #fff; border-left-color: var(--gold); max-width: 940px; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.cine-band .quote cite { color: #cfd9ea; }

@media (max-width: 980px) {
  .hero.cinematic { min-height: auto; padding: 116px 0 70px; }
  .scroll-cue { display: none; }
  .cine-band { padding: 90px 0; }
}

/* ===================================================================
   CONTEÚDO / BLOG — artigos SEO
   =================================================================== */
.article-wrap { max-width: 768px; margin: 0 auto; }
.prose { font-size: 1.08rem; color: #33404f; line-height: 1.75; }
.prose > p:first-of-type { font-size: 1.2rem; color: var(--ink); }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 44px 0 16px; }
.prose h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.2rem; color: var(--blue); margin: 30px 0 12px; }
.prose p { margin: 0 0 18px; }
.prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 4px; list-style: none; }
.prose ul li, .prose ol li { position: relative; padding-left: 28px; margin-bottom: 11px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 13px; height: 3px; border-radius: 2px; background: var(--green); }
.prose ol { counter-reset: n; }
.prose ol li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: 1px; width: 20px; height: 20px; font-size: 12px; font-weight: 800; color: #fff; background: var(--blue); border-radius: 50%; display: grid; place-items: center; }
.prose blockquote { margin: 26px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold); font-family: var(--font-serif); font-size: 1.35rem; color: var(--ink); }
.prose .destaque { background: var(--soft); border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 10px; padding: 20px 24px; margin: 26px 0; font-size: 1rem; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 14px; margin-top: 14px; }
.article-cta { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item h3 { margin: 0 0 8px; color: var(--ink); }
.faq-item p { margin: 0; color: var(--muted); }

/* card de artigo na listagem (reaproveita prop-card/hub) */
.artigo-card .prop-card-media { aspect-ratio: 16 / 9; }
.artigo-card .prop-loc { color: var(--gold); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); background: var(--soft); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ===================================================================
   PAINEL ADMIN
   =================================================================== */
.painel-body { background: var(--soft); }
.painel-top { background: var(--ink); color: #fff; padding: 20px 0; }
.painel-top .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.painel-top h1 { color: #fff; font-size: 1.3rem; }
.painel-top .brand-text { color: #fff; }
.painel-wrap { padding: 40px 0 80px; }
.painel-filtros { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.filtro-btn { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; }
.filtro-btn.ativo { background: var(--blue); color: #fff; border-color: var(--blue); }
.painel-lista { display: grid; gap: 14px; }
.painel-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-card); display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.painel-item h3 { font-family: var(--font-sans); font-size: 1.1rem; margin: 0 0 6px; }
.painel-item .meta { color: var(--muted); font-size: 13.5px; }
.status-tag { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.status-tag.draft { background: var(--gold-soft); color: #8a6b1e; }
.status-tag.published { background: rgba(22,163,74,.12); color: var(--green-deep); }
.painel-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.painel-cmd { margin-top: 10px; font-family: monospace; font-size: 12.5px; background: var(--ink); color: #d7f7e2; padding: 8px 12px; border-radius: 7px; display: none; word-break: break-all; }
.painel-cmd.show { display: block; }

@media (max-width: 620px) { .painel-item { grid-template-columns: 1fr; } }

/* ===================================================================
   Responsivo
   =================================================================== */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 6px 24px 16px;
    box-shadow: 0 24px 44px rgba(7, 26, 59, 0.12);
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a, .home-header .nav a { color: var(--ink); font-size: 16px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid, .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .institucional-grid, .quem-grid, .provas-grid { grid-template-columns: 1fr; gap: 40px; }
  .institucional-media-2 { width: 44% !important; right: 0; bottom: -22px; }
  .imoveis-grid { grid-template-columns: repeat(2, 1fr); }
  .prop-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .prop-meta { grid-template-columns: repeat(2, 1fr); }
  .prop-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 60px 0 56px; }
  .section { padding: 64px 0; }
  .stats-grid, .cards-grid, .steps, .hub-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .wpp-float { padding: 12px 18px; font-size: 13px; }
  .modal { padding: 40px 24px 32px; }
  .imoveis-grid, .feature-list, .prop-gallery { grid-template-columns: 1fr; }
  .header-inner > .btn { display: none; }   /* o botão flutuante de WhatsApp cobre o CTA */
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ===================================================================
   Ajustes específicos do WordPress
   =================================================================== */
.prop-card-media img, .prop-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prose img { border-radius: 14px; height: auto; }
.prose .wp-block-image { margin: 26px 0; }
.nav .current-menu-item > a, .nav .current_page_item > a { color: var(--blue); }
.pagination, .nav-links { display: flex; gap: 10px; justify-content: center; margin-top: 40px; font-weight: 700; }
.nav-links .page-numbers { padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; }
.nav-links .page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#wpadminbar ~ * .site-header, body.admin-bar .site-header { top: 32px; }
