/* ==========================================================================
   Alleimob Signature — página inicial, entrar e minha conta (mobile first)
   ========================================================================== */
/* Fontes no próprio site (antes vinham do Google Fonts e travavam a página).
   As "Fallback" imitam o tamanho das fontes finais para o texto não pular na troca. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("fonts/cormorant-garamond.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"); size-adjust: 114.04%; ascent-override: 92.08%; descent-override: 30.69%; line-gap-override: 8.77%; }
@font-face { font-family: "Cormorant Fallback"; src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Times"), local("Liberation Serif"); size-adjust: 97.1%; ascent-override: 95.16%; descent-override: 29.56%; line-gap-override: 0%; }

:root {
  --ink: #0B0B0A;
  --ink-2: #1A1A18;
  --paper: #FFFFFF;
  --soft: #F6F3EE;
  --line: #E6E0D5;
  --muted: #6E6A62;
  --gold: #C9A24E;
  --gold-deep: #846524;
  --gold-soft: #F3EAD6;
  --danger: #B3261E;
  --ok: #2E7D4F;
  --serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --hd-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 15px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.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; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; margin-top: 36px; }

.eyebrow { margin: 0 0 14px; font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.eyebrow-dark { color: var(--gold-deep); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
h1 em, h2 em { font-style: italic; color: var(--gold); }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-size: 14px; font-weight: 500; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-full { width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #D8B566; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A2A27; }
.btn-line { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-line:hover { background: #fff; color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.3); color: #fff; background: transparent; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: #fff; white-space: nowrap; }
.brand-name { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: .02em; }
.brand-div { color: var(--gold); font-weight: 300; }
.brand-sig { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.brand-light { color: #fff; }

/* ---------- Cabeçalho ---------- */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; padding-top: env(safe-area-inset-top); }
.hd-in { height: var(--hd-h); max-width: 1320px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 20px; }
.hd.is-solid, body.nav-open .hd { background: rgba(11,11,10,.92); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.hd-nav { display: none; }
.hd-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hd-cta { display: none; min-height: 42px; padding: 0 20px; font-size: 13px; }
.hd-login { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 13px; cursor: pointer; }
.hd-login:hover { background: rgba(255,255,255,.18); }
.hd-login svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hd-login span { display: none; }
.burger { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); display: grid; place-content: center; gap: 6px; cursor: pointer; padding: 0; }
.burger span { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform .25s; }
body.nav-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
body.nav-open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
body.nav-open { overflow: hidden; }
body.nav-open .hd-nav { display: flex; position: fixed; inset: calc(var(--hd-h) + env(safe-area-inset-top)) 0 0 0; background: var(--ink); flex-direction: column; padding: 28px 24px 40px; gap: 4px; overflow-y: auto; }
.hd-nav a { color: #fff; text-decoration: none; }
body.nav-open .hd-nav > a { font-family: var(--serif); font-size: 32px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.hd-nav-mobile { margin-top: auto; display: grid; gap: 10px; padding-top: 28px; }

/* Conta logada */
.acct { position: relative; }
.acct-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; cursor: pointer; font-size: 13px; }
.acct-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-weight: 600; font-size: 13px; }
.acct-name { display: none; padding-right: 8px; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.18); padding: 6px; display: none; }
.acct.is-open .acct-menu { display: block; }
.acct-menu a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: 14px; color: var(--ink); }
.acct-menu a:hover { background: var(--soft); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,10,.55) 0%, rgba(11,11,10,.15) 30%, rgba(11,11,10,.55) 62%, rgba(11,11,10,.92) 100%); }
.hero-in { position: relative; padding-top: calc(var(--hd-h) + 60px); padding-bottom: 44px; }
.hero h1 { font-size: clamp(42px, 11vw, 84px); max-width: 18ch; }
.hero-sub { max-width: 560px; margin: 18px 0 28px; color: rgba(255,255,255,.82); font-size: 15px; font-weight: 300; }
.hero-scroll { display: none; }

/* No celular sem desfoque (backdrop-filter) nem zoom animado: pesavam muito no carregamento. */
.search { display: grid; gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; overflow: hidden; }
.search-f { display: flex; flex-direction: column; padding: 10px 16px; background: rgba(11,11,10,.62); }
.search-f span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.search-f select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: #fff; font-size: 15px; padding: 2px 22px 2px 0; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9A24E' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; }
.search-f select option { color: var(--ink); }
.search-go { border-radius: 0; min-height: 54px; }

/* ---------- Pilares ---------- */
.pillars { background: var(--ink); color: #fff; position: relative; }
.pillars-in { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 28px; padding-bottom: 36px; }
.pillar { position: relative; background: linear-gradient(160deg, #1C1B18 0%, #121210 100%); border: 1px solid rgba(201,162,78,.18); border-radius: 16px; padding: 20px 16px 18px; overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.pillar::after { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,162,78,.7), transparent); }
.pillar:hover { transform: translateY(-4px); border-color: rgba(201,162,78,.45); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.pillar-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(201,162,78,.12); color: var(--gold); margin-bottom: 14px; }
.pillar-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pillar-n { position: absolute; right: 16px; top: 18px; font-family: var(--serif); font-size: 22px; color: rgba(201,162,78,.35); }
.pillar h3 { font-size: 21px; font-weight: 500; color: #fff; line-height: 1.15; margin-bottom: 8px; }
.pillar p { margin: 0; font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.66); }
@media (max-width: 420px) { .pillars-in { grid-template-columns: 1fr; } .pillar-n { display: none; } .pillar { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; } .pillar-ic { grid-row: span 2; margin: 0; } }

/* ---------- Seções ---------- */
.sec { padding: 72px 0; }
.sec-soft { background: var(--soft); }
.sec-head { max-width: 640px; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(34px, 7vw, 54px); }
.sec-head p:not(.eyebrow) { color: var(--muted); margin: 12px 0 0; }
.sec-head-row { max-width: none; display: flex; flex-direction: column; gap: 18px; }

/* Lançamentos */
.launch-grid { display: grid; gap: 16px; }
.launch { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 440px; color: #fff; text-decoration: none; background: var(--ink); isolation: isolate; }
.launch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.launch:hover img { transform: scale(1.05); }
.launch-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,10,0) 30%, rgba(11,11,10,.88) 100%); z-index: -1; }
.launch-tag { position: absolute; top: 16px; left: 16px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; background: rgba(11,11,10,.55); border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.launch-body { position: absolute; inset: auto 0 0 0; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.launch-body small { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.launch-body strong { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.05; }
.launch-text { font-size: 13.5px; color: rgba(255,255,255,.78); max-width: 46ch; }
.launch-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; }
.launch-foot b { font-weight: 500; font-size: 15px; }
.launch-more { color: var(--gold); margin-left: auto; }

/* Filtros de tipo */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; font-size: 13px; cursor: pointer; transition: all .2s; }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Cards de imóvel */
.prop-grid { display: grid; gap: 22px; }
.prop { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s, transform .3s; }
.prop:hover { box-shadow: 0 20px 40px rgba(11,11,10,.10); transform: translateY(-3px); }
.prop-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.prop:hover .prop-img img { transform: scale(1.05); }
.prop-noimg { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 22px; color: var(--gold); }
.prop-badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; }
.badge { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.92); color: var(--ink); padding: 5px 10px; border-radius: 999px; }
.badge-gold { background: var(--gold); }
.fav { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; transition: transform .2s; }
.fav:hover { transform: scale(1.08); }
.fav svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.fav.is-on svg { fill: #C0392B; stroke: #C0392B; }
.prop-body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; text-decoration: none; }
.prop-body small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.prop-body strong { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.15; }
.prop-specs { font-size: 13px; color: var(--muted); }
.prop-price { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 500; font-size: 15px; }
.prop-none, .empty { text-align: center; color: var(--muted); padding: 30px 0; }
.empty .btn { margin-top: 10px; }

/* Sobre */
.about-in { display: grid; gap: 40px; }
.about-img { position: relative; }
.about-img > img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-card { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-radius: 12px; padding: 10px 14px; }
.about-card img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.about-card strong { display: block; font-size: 14px; font-weight: 600; }
.about-card small { font-size: 12px; color: var(--muted); }
.about-text h2 { font-size: clamp(34px, 7vw, 52px); margin-bottom: 18px; }
.about-text p:not(.eyebrow) { color: #3D3A35; }
.about-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.about-list li { position: relative; padding-left: 26px; font-size: 14.5px; }
.about-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 14px; height: 1px; background: var(--gold); }

/* Faixa */
.band { position: relative; color: #fff; overflow: hidden; min-height: 460px; display: flex; align-items: center; text-align: center; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-scrim { position: absolute; inset: 0; background: rgba(11,11,10,.55); }
.band-in { position: relative; padding-top: 70px; padding-bottom: 70px; }
.band-quote { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 6vw, 48px); line-height: 1.2; margin: 0 auto 28px; max-width: 22ch; }

/* Contato */
.contact { background: var(--ink); color: #fff; }
.contact-in { display: grid; gap: 36px; }
.contact-text h2 { font-size: clamp(34px, 7vw, 52px); margin-bottom: 14px; }
.contact-text p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.contact .eyebrow-dark { color: var(--gold); }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; flex-direction: column; font-size: 15px; }
.contact-list span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.contact-list a { text-decoration: none; }
.cform { background: #fff; color: var(--ink); border-radius: 18px; padding: 22px; }
.cform-grid { display: grid; gap: 14px; margin-bottom: 14px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld > span { font-size: 12px; font-weight: 500; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.fld.is-bad input, .fld.is-bad select { border-color: var(--danger); }
.cform-msg { min-height: 0; margin: 0 0 12px; font-size: 13.5px; }
.cform-msg:empty { display: none; }
.cform-msg.is-ok { color: var(--ok); }
.cform-msg.is-err { color: var(--danger); }
.cform-note { display: block; margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }

/* Rodapé */
.ft { background: #050505; color: rgba(255,255,255,.7); padding: 48px 0 calc(90px + env(safe-area-inset-bottom)); font-size: 13.5px; }
.ft-in { display: grid; gap: 26px; }
.ft-in p { margin: 10px 0 0; max-width: 36ch; }
.ft nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.ft nav a { text-decoration: none; }
.ft nav a:hover { color: var(--gold); }
.ft-bottom { display: flex; flex-direction: column; gap: 6px; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: rgba(255,255,255,.5); }
.ft-bottom a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* Barra fixa no celular */
.mbar { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40; opacity: 0; pointer-events: none; transform: translateY(24px); transition: opacity .3s, transform .3s; }
.mbar.is-on { opacity: 1; pointer-events: auto; transform: none; }
.mbar-wa { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .01em; box-shadow: 0 12px 30px -12px rgba(11,11,10,.6), 0 0 0 1px rgba(255,255,255,.12); }
.mbar-wa:active { transform: scale(.98); }
.mbar-wa svg { flex: 0 0 auto; width: 20px; height: 20px; fill: currentColor; }

/* ---------- Login (janela) ---------- */
.lmodal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-end; justify-content: center; }
.lmodal.is-open { display: flex; }
.lmodal-bg { position: absolute; inset: 0; background: rgba(11,11,10,.6); backdrop-filter: blur(4px); }
.lmodal-box { position: relative; width: 100%; max-width: 440px; max-height: 92svh; overflow-y: auto; background: #fff; border-radius: 22px 22px 0 0; padding: 28px 22px calc(26px + env(safe-area-inset-bottom)); animation: lmodalIn .3s cubic-bezier(.2,.8,.2,1); }
@keyframes lmodalIn { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.lmodal-x { position: absolute; right: 14px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--soft); font-size: 22px; line-height: 1; cursor: pointer; }
.lmodal-box h2 { font-size: 32px; }
.lmodal-sub { color: var(--muted); font-size: 13.5px; margin: 8px 0 20px; }
.lmodal-err { background: #FDECEA; color: var(--danger); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; margin: 0 0 14px; }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 14.5px; color: var(--ink); background: #fff; transition: background .2s; }
.gbtn:hover { background: var(--soft); }
.gbtn svg { width: 20px; height: 20px; }
.lmodal-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 12px; }
.lmodal-or::before, .lmodal-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ltabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.ltab { border: 0; background: transparent; border-radius: 999px; padding: 9px; font-size: 13.5px; font-weight: 500; cursor: pointer; color: var(--muted); }
.ltab.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.lform { display: grid; gap: 14px; }

/* ---------- Páginas internas (entrar / minha conta) ---------- */
.page { background: var(--soft); min-height: 100svh; }
.page .hd { background: var(--ink); }
/* Cabeçalho fixo nas páginas internas: o corpo reserva a altura dele, assim
   nada do conteúdo começa escondido atrás (inclusive no Safari/iPhone). */
body.page, body.inner { padding-top: calc(var(--hd-h) + env(safe-area-inset-top)); }
.page-main { padding: 36px 0 80px; }
.auth-card { max-width: 440px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 28px 22px; box-shadow: 0 10px 30px rgba(11,11,10,.06); }
.auth-card h1 { font-size: 34px; }
.acc-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 26px; }
.acc-head h1 { font-size: clamp(34px, 7vw, 48px); }
.acc-head p { margin: 0; color: var(--muted); }
.acc-grid { display: grid; gap: 22px; }
.acc-card { background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 1px 0 var(--line); }
.acc-card h2 { font-size: 26px; margin-bottom: 14px; }
.acc-card form { display: grid; gap: 14px; }
.alert { border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-bottom: 18px; }
.alert-ok { background: #E7F4EC; color: var(--ok); }
.alert-err { background: #FDECEA; color: var(--danger); }
.muted { color: var(--muted); }

/* ===================== Telas maiores ===================== */
@media (min-width: 600px) {
  .wrap { padding: 0 28px; }
  .search { grid-template-columns: 1fr 1fr 1fr; }
  .search-go { grid-column: 1 / -1; }
  .pillars-in { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .prop-grid { grid-template-columns: 1fr 1fr; }
  .cform { padding: 30px; }
  .cform-grid { grid-template-columns: 1fr 1fr; }
  .fld-full { grid-column: 1 / -1; }
  .ft-bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
  .lmodal { align-items: center; padding: 20px; }
  .lmodal-box { border-radius: 22px; padding: 34px 32px; }
  .hd-login span, .acct-name { display: inline; }
  .hd-login { padding: 0 16px 0 12px; }
  .chips { margin: 0; padding-left: 0; padding-right: 0; }
}
@media (min-width: 900px) {
  :root { --hd-h: 78px; }
  .hd-in { padding: 0 36px; }
  .hd-nav { display: flex; gap: 30px; margin-left: 36px; }
  .hd-nav a { font-size: 13.5px; letter-spacing: .04em; color: rgba(255,255,255,.85); position: relative; }
  .hd-nav a:hover { color: #fff; }
  .hd-nav > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--gold); transition: right .3s; }
  .hd-nav > a:hover::after { right: 0; }
  .hd-nav-mobile, .burger { display: none; }
  body.nav-open { overflow: auto; }
  .hd-cta { display: inline-flex; }
  .hero { align-items: center; }
  .hero-bg img { animation: heroZoom 18s ease-out both; }
  .search { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .search-f { background: rgba(11,11,10,.42); }
  .hero-in { padding-top: 140px; padding-bottom: 170px; }
  .pillars { background: linear-gradient(180deg, transparent 0, transparent 70px, var(--ink) 70px); margin-top: -70px; z-index: 2; }
  .pillars-in { grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 0; padding-bottom: 56px; }
  .pillar { padding: 26px 24px 24px; background: rgba(20,20,18,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .pillar h3 { font-size: 24px; }
  .pillar p { font-size: 13.5px; }
  .hero-sub { font-size: 17px; }
  .search { grid-template-columns: 1fr 1fr 1fr auto; border-radius: 999px; max-width: 980px; }
  .search-f { padding: 14px 26px; }
  .search-go { grid-column: auto; min-height: 0; padding: 0 30px; }
  .hero-scroll { display: block; position: absolute; left: 50%; bottom: 100px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(255,255,255,.5); border-radius: 20px; }
  .hero-scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: #fff; border-radius: 2px; animation: scrollDot 1.8s infinite; }
  @keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
  .sec { padding: 110px 0; }
  .sec-head { margin-bottom: 48px; }
  .sec-head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .launch-grid { grid-template-columns: 1.4fr 1fr; grid-auto-rows: 300px; }
  .launch-grid.launch-1 { grid-template-columns: 1fr; }
  .launch-grid.launch-2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 520px; }
  .launch { min-height: 0; }
  .launch-3 .launch-main { grid-row: span 2; }
  .launch-main .launch-body strong { font-size: 46px; }
  .prop-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .about-in { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .contact-in { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
  .mbar { display: none; }
  .ft { padding-bottom: 40px; }
  .ft-in { grid-template-columns: 1fr auto; align-items: start; }
  .ft nav { grid-template-columns: repeat(3, auto); gap: 10px 36px; }
  .acc-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .acc-grid .acc-wide { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
section[id] { scroll-margin-top: calc(var(--hd-h) - 1px); }
/* Menu aberto no celular: sem desfoque no cabeçalho (o desfoque prende o painel fixo dentro dele) */
body.nav-open .hd, body.nav-open .hd.is-solid { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
.ft-addr a { color: inherit; white-space: nowrap; }
