/* O Agenciador — app (protótipo de telas, 19/11/2026)
   Paletas e estilos ficam em variáveis: ?tema=oceano|negocio|parceria|violeta  ?estilo=cabecalho|degrade
   ?moldura=ios|android ajusta o espaço da barra de status (a moldura é desenhada pela página de prévia). */
:root {
  --pri: #0B2545; --pri2: #134074; --dest: #13A89E; --dest-esc: #0E7F77;
  --fundo: #EEF2F5; --card: #ffffff; --txt: #14212B; --sub: #6B7A86; --linha: #E2E8EE;
  --ok: #0E9F6E; --ok-fundo: #E3F6EE;
  --topo: 44px; --base: 20px;
  --raio: 18px;
}
[data-tema="negocio"]  { --pri: #1F2933; --pri2: #323F4B; --dest: #F26B1D; --dest-esc: #C9520F; --fundo: #F6F4F1; }
[data-tema="parceria"] { --pri: #0F3D3E; --pri2: #165A5B; --dest: #D4A72C; --dest-esc: #A9831C; --fundo: #F3F4EF; }
[data-tema="violeta"]  { --pri: #3B1E8C; --pri2: #5A2FC2; --dest: #18C3E6; --dest-esc: #0E97B3; --fundo: #F1EFF8; }
[data-moldura="ios"]     { --topo: 50px; --base: 26px; }
[data-moldura="android"] { --topo: 34px; --base: 8px; }

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--fundo); color: var(--txt);
  -webkit-font-smoothing: antialiased; overflow: hidden; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.tela { position: absolute; inset: 0; display: flex; flex-direction: column; }
.rolagem { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; padding-bottom: 16px; }
.rolagem::-webkit-scrollbar { display: none; }

/* ------------------------------------------------ estilo 1: cabeçalho colorido */
.cab { background: linear-gradient(160deg, var(--pri2), var(--pri)); color: #fff; padding: calc(var(--topo) + 10px) 16px 18px;
  border-radius: 0 0 26px 26px; }
.cab-top { display: flex; align-items: center; gap: 10px; }
.logo-box { width: 40px; height: 40px; border-radius: 12px; background: #ffffff1f; display: grid; place-items: center; }
.logo-box svg { width: 26px; height: 26px; }
.ola small { display: block; font-size: 11px; opacity: .75; }
.ola b { font-size: 17px; font-weight: 700; letter-spacing: -.2px; }
.cab-acoes { margin-left: auto; display: flex; gap: 6px; }
.btn-ic { width: 34px; height: 34px; border-radius: 10px; background: #ffffff1f; display: grid; place-items: center; position: relative; }
.btn-ic svg.i { width: 17px; height: 17px; }
.btn-ic .ponto { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--dest); box-shadow: 0 0 0 2px var(--pri); }

.destaque { margin-top: 18px; background: var(--card); color: var(--txt); border-radius: var(--raio); padding: 16px; box-shadow: 0 10px 24px #0000002e; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  color: var(--dest-esc); background: color-mix(in srgb, var(--dest) 14%, #fff); padding: 4px 9px; border-radius: 99px; }
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.destaque h2 { font-size: 18px; font-weight: 800; margin-top: 10px; letter-spacing: -.3px; }
.destaque p { font-size: 12px; color: var(--sub); margin-top: 3px; }
.btn-pri { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px; height: 44px; border-radius: 12px;
  background: var(--pri); color: #fff; font-weight: 600; font-size: 14px; }
[data-tema="negocio"] .btn-pri, [data-tema="parceria"] .btn-pri { background: var(--dest); color: #1b1b1b; }
[data-tema="negocio"] .btn-pri { color: #fff; }

.sec { display: flex; align-items: center; justify-content: space-between; margin: 20px 16px 10px; }
.sec h3 { font-size: 15px; font-weight: 700; border-left: 3px solid var(--dest); padding-left: 8px; }
.sec a { font-size: 12px; color: var(--dest-esc); font-weight: 600; text-decoration: none; }

.acoes { display: flex; gap: 10px; overflow-x: auto; padding: 2px 16px 6px; scrollbar-width: none; }
.acoes::-webkit-scrollbar { display: none; }
.acao { flex: none; width: 104px; height: 92px; background: var(--card); border-radius: 14px; padding: 12px; display: flex; flex-direction: column;
  justify-content: space-between; text-align: left; box-shadow: 0 2px 8px #0b25450f; border: 1px solid var(--linha); }
.acao .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--pri2);
  background: color-mix(in srgb, var(--pri2) 10%, #fff); }
.acao .ic svg.i { width: 17px; height: 17px; }
.acao span { font-size: 11.5px; font-weight: 600; line-height: 1.25; }

.btn-cliente { margin: 14px 16px 0; width: calc(100% - 32px); background: var(--card); border: 1px solid var(--linha); border-radius: 14px;
  padding: 14px; display: flex; align-items: center; gap: 12px; text-align: left; box-shadow: 0 2px 8px #0b25450f; }
.btn-cliente .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--dest); color: #fff; display: grid; place-items: center; }
.btn-cliente b { font-size: 14px; display: block; }
.btn-cliente small { font-size: 11.5px; color: var(--sub); }
.btn-cliente > svg.i:last-child { margin-left: auto; color: var(--sub); }

.vitrine { display: flex; gap: 12px; overflow-x: auto; padding: 2px 16px 6px; scrollbar-width: none; }
.vitrine::-webkit-scrollbar { display: none; }
.imovel { flex: none; width: 220px; background: var(--card); border-radius: 16px; overflow: hidden; border: 1px solid var(--linha); box-shadow: 0 2px 8px #0b25450f; }
.imovel .foto { height: 120px; background: #ccd center/cover; position: relative; }
.imovel .foto .pct { position: absolute; left: 8px; top: 8px; background: #000000a6; color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 99px; }
.imovel .info { padding: 10px 12px 12px; }
.imovel .preco { font-size: 16px; font-weight: 800; letter-spacing: -.3px; }
.imovel .tipo { font-size: 12px; font-weight: 600; margin-top: 2px; }
.imovel .local { font-size: 11px; color: var(--sub); display: flex; align-items: center; gap: 3px; margin-top: 2px; }
.imovel .local svg.i { width: 12px; height: 12px; }
.ganho { margin-top: 8px; background: var(--ok-fundo); color: var(--ok); font-size: 11px; font-weight: 700; padding: 6px 8px; border-radius: 8px; }
.ganho small { display: block; font-weight: 500; font-size: 9.5px; opacity: .85; }

.nav { display: flex; background: var(--card); border-top: 1px solid var(--linha); padding: 8px 6px var(--base); }
.nav button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; color: var(--sub); font-weight: 500; }
.nav button.ativo { color: var(--pri2); font-weight: 700; }
[data-tema="negocio"] .nav button.ativo, [data-tema="parceria"] .nav button.ativo { color: var(--dest-esc); }
.nav button.ativo::after { content: ""; width: 18px; height: 3px; border-radius: 2px; background: currentColor; margin-top: 1px; }

/* ------------------------------------------------ estilo 2: degradê em tela cheia */
.degrade { background: linear-gradient(170deg, var(--pri2) 0%, var(--pri) 30%, color-mix(in srgb, var(--dest) 70%, var(--pri)) 100%); color: #fff; }
.dg-top { padding: calc(var(--topo) + 8px) 18px 0; display: flex; align-items: center; gap: 10px; }
.dg-top .marca { font-weight: 800; letter-spacing: 1.2px; font-size: 14px; text-transform: uppercase; }
.dg-top .marca small { display: block; font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 11px; opacity: .75; }
.dg-top .btn-ic { margin-left: auto; }
.dg-ola { padding: 18px 18px 0; }
.dg-ola h1 { font-size: 24px; font-weight: 800; letter-spacing: -.5px; line-height: 1.15; }
.dg-ola p { font-size: 13px; opacity: .8; margin-top: 4px; }
.busca { margin: 16px 18px 0; background: #fff; color: var(--sub); border-radius: 99px; height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 6px 0 16px;
  font-size: 13px; box-shadow: 0 8px 20px #0000002e; }
.busca .filtro { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; background: var(--dest); color: #fff; display: grid; place-items: center; }
.circulos { display: flex; justify-content: space-between; padding: 22px 22px 0; }
.circulo { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; }
.circulo .bola { width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--pri2); display: grid; place-items: center; box-shadow: 0 6px 14px #00000033; }
.circulo .bola svg.i { width: 22px; height: 22px; }
.dg-sec { display: flex; justify-content: space-between; align-items: center; margin: 24px 18px 10px; }
.dg-sec h3 { font-size: 15px; font-weight: 700; }
.dg-sec a { font-size: 12px; color: #fff; opacity: .8; text-decoration: none; }
.dg-cliente { margin: 0 18px; background: #ffffff26; border: 1px solid #ffffff40; border-radius: 16px; padding: 14px; display: flex; gap: 12px; align-items: center;
  backdrop-filter: blur(8px); width: calc(100% - 36px); text-align: left; color: #fff; }
.dg-cliente .ic { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--pri2); display: grid; place-items: center; }
.dg-cliente b { display: block; font-size: 14px; }
.dg-cliente small { font-size: 11.5px; opacity: .8; }
.dg-lista { margin: 0 18px; display: flex; flex-direction: column; gap: 10px; }
.dg-item { display: flex; gap: 12px; background: #ffffffeb; color: var(--txt); border-radius: 16px; padding: 8px; align-items: center; box-shadow: 0 6px 16px #00000026; }
.dg-item .foto { width: 76px; height: 76px; border-radius: 12px; background: #ccd center/cover; flex: none; }
.dg-item .preco { font-size: 15px; font-weight: 800; }
.dg-item .tipo { font-size: 12px; font-weight: 600; }
.dg-item .local { font-size: 11px; color: var(--sub); }
.dg-item .ganho { margin-top: 5px; display: inline-block; padding: 3px 8px; font-size: 10.5px; }
.nav.escura { background: #00000040; border-top: 1px solid #ffffff1f; backdrop-filter: blur(10px); }
.nav.escura button { color: #ffffffa6; }
.nav.escura button.ativo { color: #fff; }

/* ------------------------------------------------ paletas extras (vindas das referências do Marcio) */
[data-tema="vermelho"] { --pri: #E53935; --pri2: #F0524E; --dest: #E53935; --dest-esc: #C62828; --fundo: #F2F2F2; }
[data-tema="agua"]     { --pri: #0B7A80; --pri2: #19A7A8; --dest: #FF6F59; --dest-esc: #E0533E; --fundo: #EFF7F7; }
[data-tema="neon"]     { --pri: #111417; --pri2: #1C2126; --dest: #22D3C5; --dest-esc: #22D3C5; --fundo: #111417; --card: #1C2126;
  --txt: #EEF3F5; --sub: #8A98A3; --linha: #2A3138; --ok: #22D3C5; --ok-fundo: #22d3c51f; }
[data-tema="petroleo"] { --pri: #0F5F7A; --pri2: #1C86A6; --dest: #F6C344; --dest-esc: #C99A1C; --fundo: #EEF4F6; }

/* ------------------------------------------------ estilo 3: grade de ícones + abas + botão central */
.gr-cab { background: linear-gradient(160deg, var(--pri2), var(--pri)); color: #fff; padding: calc(var(--topo) + 8px) 16px 46px; text-align: center; position: relative;
  border-radius: 0 0 28px 28px; }
.gr-cab .volta { position: absolute; left: 14px; top: calc(var(--topo) + 8px); }
.gr-cab .sino { position: absolute; right: 14px; top: calc(var(--topo) + 4px); }
.gr-cab h1 { font-size: 18px; font-weight: 700; }
.gr-cab p { font-size: 11.5px; opacity: .8; margin-top: 2px; }
.gr-folha { margin: -30px 14px 0; background: var(--card); border-radius: 20px; box-shadow: 0 10px 26px #00000024; overflow: hidden; }
.abas { display: flex; justify-content: center; gap: 6px; padding: 14px 0 10px; }
.abas button { font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; padding: 8px 18px; border-radius: 99px; color: var(--sub); }
.abas button.ativo { background: var(--dest); color: #fff; box-shadow: 0 4px 10px color-mix(in srgb, var(--dest) 45%, transparent); }
.grade { display: grid; grid-template-columns: 1fr 1fr; }
.grade button { padding: 16px 6px 14px; display: flex; flex-direction: column; align-items: center; gap: 5px; border-top: 1px solid var(--linha); }
.grade button:nth-child(odd) { border-right: 1px solid var(--linha); }
.grade button svg.i { width: 26px; height: 26px; stroke-width: 1.6; color: var(--txt); }
.grade b { font-size: 12.5px; font-weight: 700; }
.grade small { font-size: 10px; color: var(--sub); }
.gr-ganho { margin: 14px 14px 0; background: var(--card); border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 4px 12px #0000000f; }
.gr-ganho .ic { width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--dest) 14%, #fff); color: var(--dest-esc); display: grid; place-items: center; }
.gr-ganho b { font-size: 13px; display: block; } .gr-ganho small { font-size: 11px; color: var(--sub); }
.barra-fab { position: relative; display: flex; align-items: center; justify-content: space-between; background: #24272B; color: #fff; padding: 14px 22px var(--base); }
[data-tema="oceano"] .barra-fab, [data-tema="petroleo"] .barra-fab { background: var(--pri); }
.barra-fab .lado { display: flex; gap: 22px; opacity: .85; }
.barra-fab .fab { position: absolute; left: 50%; top: -26px; transform: translateX(-50%); width: 58px; height: 58px; border-radius: 50%; background: var(--dest); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 18px color-mix(in srgb, var(--dest) 55%, transparent); border: 4px solid var(--fundo); }
.barra-fab .fab svg.i { width: 24px; height: 24px; }
.barra-fab .ponto { position: absolute; top: -3px; right: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--dest); }

/* ------------------------------------------------ estilo 4: escuro com destaque neon */
.escuro { background: #111417; color: var(--txt); }
.es-top { padding: calc(var(--topo) + 8px) 16px 0; display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--dest); background: #1C2126; display: grid; place-items: center; color: var(--dest); font-weight: 800; }
.es-top b { font-size: 16px; display: block; } .es-top small { font-size: 11px; color: var(--sub); }
.es-top .btn-ic { margin-left: auto; background: #1C2126; color: var(--txt); }
.es-busca { margin: 16px 16px 0; height: 46px; border-radius: 14px; background: #1C2126; border: 1px solid #2A3138; display: flex; align-items: center; gap: 10px; padding: 0 14px;
  color: var(--sub); font-size: 13px; }
.es-busca svg.i:last-child { margin-left: auto; color: var(--dest); }
.es-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px; }
.es-grade button { background: #1C2126; border: 1px solid #2A3138; border-radius: 14px; padding: 14px 4px 10px; display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 600; color: var(--txt); }
.es-grade button svg.i { width: 24px; height: 24px; color: var(--dest); stroke-width: 1.7; }
.es-card { margin: 0 16px; border-radius: 18px; overflow: hidden; background: #1C2126; border: 1px solid #2A3138; }
.es-card .foto { height: 132px; background: #333 center/cover; position: relative; }
.es-card .foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, #1C2126); }
.es-card .info { padding: 0 14px 14px; margin-top: -26px; position: relative; z-index: 1; }
.es-card .preco { font-size: 20px; font-weight: 800; }
.es-card .tipo { font-size: 12px; color: var(--sub); }
.btn-neon { margin-top: 12px; width: 100%; height: 42px; border-radius: 99px; background: var(--dest); color: #062B28; font-weight: 800; font-size: 12.5px; letter-spacing: .6px; text-transform: uppercase; }
.escuro .sec h3 { border-left-color: var(--dest); }
.escuro .sec a { color: var(--dest); }
.nav.neon { background: #181C20; border-top: 1px solid #2A3138; }
.nav.neon button.ativo { color: var(--dest); }

/* ------------------------------------------------ estilo 5: vidro (glassmorphism) sobre azul escuro */
[data-tema="vidro"] { --pri: #0E1626; --pri2: #1A2A4A; --dest: #3B82F6; --dest-esc: #60A5FA; --fundo: #0E1626; --card: #ffffff12;
  --txt: #EEF2FA; --sub: #93A1BC; --linha: #ffffff1f; --ok: #6EE7B7; --ok-fundo: #10b98126; }
.vidro { background: radial-gradient(120% 60% at 100% 0%, #2F5BD8 0%, transparent 60%), radial-gradient(90% 50% at 0% 70%, #1D3A8A 0%, transparent 65%), #0E1626; color: var(--txt); }
.vd-top { padding: calc(var(--topo) + 8px) 18px 0; display: flex; align-items: center; gap: 10px; }
.vd-top .btn-ic { margin-left: auto; background: #ffffff14; border: 1px solid #ffffff22; }
.vd-saldo { margin: 16px 18px 0; padding: 16px; border-radius: 22px; background: #ffffff14; border: 1px solid #ffffff26; backdrop-filter: blur(16px); }
.vd-saldo small { font-size: 11px; color: var(--sub); }
.vd-saldo b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.5px; margin-top: 2px; }
.vd-saldo .linha2 { display: flex; gap: 8px; margin-top: 12px; }
.vd-saldo .linha2 span { flex: 1; background: #ffffff10; border-radius: 12px; padding: 8px 10px; font-size: 10.5px; color: var(--sub); }
.vd-saldo .linha2 span b { font-size: 15px; color: var(--txt); }
.vd-chips { display: flex; gap: 10px; padding: 0 18px; overflow-x: auto; scrollbar-width: none; }
.vd-chips button { flex: none; width: 56px; height: 56px; border-radius: 18px; background: #ffffff12; border: 1px solid #ffffff22; display: grid; place-items: center; color: var(--txt); }
.vd-chips button.ativo { background: linear-gradient(140deg, #60A5FA, #2563EB); border: 0; box-shadow: 0 8px 18px #2563eb66; }
.vd-chips button svg.i { width: 22px; height: 22px; }
.vd-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 18px; }
.vd-card { border-radius: 20px; background: #ffffff12; border: 1px solid #ffffff22; backdrop-filter: blur(14px); overflow: hidden; }
.vd-card .foto { height: 92px; background: #333 center/cover; margin: 6px; border-radius: 15px; }
.vd-card .info { padding: 2px 10px 10px; }
.vd-card .preco { font-size: 14px; font-weight: 800; }
.vd-card .tipo { font-size: 10.5px; color: var(--sub); line-height: 1.3; }
.vd-card .ganho { padding: 4px 7px; font-size: 10px; margin-top: 6px; }
.vidro .sec h3 { border-left-color: var(--dest); }
.vidro .sec a { color: var(--dest-esc); }
.nav.vd { margin: 0 14px calc(var(--base) + 4px); border-radius: 22px; background: #ffffff14; border: 1px solid #ffffff22; backdrop-filter: blur(16px); padding-bottom: 8px; }
.nav.vd button { color: var(--sub); } .nav.vd button.ativo { color: #fff; }

/* vidro roxo (referência fintech roxa) */
[data-tema="roxo"] { --pri: #17121F; --pri2: #2A1F3D; --dest: #8B5CF6; --dest-esc: #A78BFA; --fundo: #17121F; --card: #ffffff12;
  --txt: #F1EEF8; --sub: #A59BB8; --linha: #ffffff1f; --ok: #C4B5FD; --ok-fundo: #8b5cf62e; }
[data-tema="roxo"] .vidro { background: radial-gradient(120% 60% at 100% 0%, #6D28D9 0%, transparent 60%), radial-gradient(90% 50% at 0% 75%, #4C1D95 0%, transparent 65%), #17121F; }
[data-tema="roxo"] .vd-chips button.ativo { background: linear-gradient(140deg, #A78BFA, #7C3AED); box-shadow: 0 8px 18px #7c3aed66; }
/* paletas extras */
[data-tema="royal"]  { --pri: #2F5BEA; --pri2: #4A74F5; --dest: #FF8A3D; --dest-esc: #E56F22; --fundo: #F3F6FD; }
[data-tema="rosa"]   { --pri: #2B2F8F; --pri2: #3C42B5; --dest: #F0457B; --dest-esc: #D12E62; --fundo: #F2F3FA; }

/* ------------------------------------------------ estilo 6: lista do dia (azul royal + folha branca) */
.ls-cab { background: var(--pri); color: #fff; padding: calc(var(--topo) + 6px) 18px 54px; }
.ls-cab .linha { display: flex; justify-content: space-between; align-items: center; }
.ls-cab .pessoa { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.ls-cab .pessoa .avatar { border-color: #fff; background: #ffffff26; color: #fff; }
.ls-cab .pessoa small { font-size: 11px; opacity: .8; display: block; } .ls-cab .pessoa b { font-size: 18px; }
.ls-busca { margin-top: 14px; height: 42px; border-radius: 12px; background: #ffffff26; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 12.5px; color: #ffffffcc; }
.ls-folha { background: var(--card); border-radius: 26px 26px 0 0; margin-top: -34px; padding: 18px 18px 8px; position: relative; }
.ls-folha .tit { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ls-folha .tit h3 { font-size: 16px; } .ls-folha .tit span { background: color-mix(in srgb, var(--dest) 16%, #fff); color: var(--dest-esc); font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.ls-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linha); }
.ls-item .q { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none; }
.ls-item b { font-size: 13px; display: block; } .ls-item small { font-size: 11px; color: var(--sub); }
.ls-item .st { margin-left: auto; font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 99px; white-space: nowrap; }
.ls-escuro { background: #141826; color: #fff; margin: 0; padding: 16px 18px 12px; border-radius: 26px 26px 0 0; margin-top: 10px; }
.ls-escuro .tit { display: flex; justify-content: space-between; align-items: center; } .ls-escuro h3 { font-size: 15px; }
.ls-escuro .mini { display: flex; gap: 10px; margin-top: 12px; }
.ls-escuro .mini div { flex: 1; height: 70px; border-radius: 14px; background: #333 center/cover; position: relative; overflow: hidden; }
.ls-escuro .mini div span { position: absolute; left: 6px; bottom: 6px; background: #000000a0; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 6px; }

/* ------------------------------------------------ estilo 7: foto grande + branco e laranja + barra flutuante (referências imobiliárias brancas/laranja) */
[data-tema="laranja"] { --pri: #1C1C1E; --pri2: #2C2C2E; --dest: #FF6A1A; --dest-esc: #E2540A; --fundo: #F7F7F7; }
.ft-hero { height: 300px; background: #333 center/cover; position: relative; color: #fff; border-radius: 0 0 30px 30px; overflow: hidden; }
.ft-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(#00000080 0%, transparent 35%, transparent 50%, #000000b3 100%); }
.ft-hero > * { position: relative; }
.ft-top { padding: calc(var(--topo) + 6px) 16px 0; display: flex; align-items: center; gap: 10px; }
.ft-top .marca { font-weight: 800; font-size: 15px; } .ft-top .btn-ic { margin-left: auto; background: #ffffff2e; backdrop-filter: blur(8px); }
.ft-hero h1 { position: absolute; left: 18px; right: 18px; bottom: 66px; font-size: 25px; line-height: 1.15; font-weight: 800; letter-spacing: -.5px; }
.ft-busca { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 44px; border-radius: 14px; background: #fff; color: var(--sub); display: flex; align-items: center; gap: 8px; padding: 0 6px 0 14px; font-size: 12.5px; }
.ft-busca .filtro { margin-left: auto; width: 34px; height: 34px; border-radius: 10px; background: var(--dest); color: #fff; display: grid; place-items: center; }
.ft-chips { display: flex; gap: 8px; padding: 16px 16px 0; overflow-x: auto; scrollbar-width: none; }
.ft-chips button { flex: none; display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--linha); background: #fff; font-size: 12px; font-weight: 600; }
.ft-chips button svg.i { width: 16px; height: 16px; color: var(--dest); }
.ft-chips button.ativo { background: var(--dest); color: #fff; border-color: var(--dest); } .ft-chips button.ativo svg.i { color: #fff; }
.ft-cidades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 16px; }
.ft-cidades div { height: 74px; border-radius: 14px; background: #333 center/cover; position: relative; overflow: hidden; color: #fff; font-size: 11px; font-weight: 700; }
.ft-cidades div::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, #000000b0); }
.ft-cidades div span { position: absolute; left: 8px; bottom: 6px; } .ft-cidades div small { display: block; font-weight: 500; font-size: 9.5px; opacity: .85; }
.ft-pilula { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(var(--base) + 6px); display: flex; gap: 6px; padding: 6px; border-radius: 99px; background: #1C1C1E; box-shadow: 0 10px 24px #00000040; }
.ft-pilula button { width: 44px; height: 44px; border-radius: 50%; color: #ffffffb0; display: grid; place-items: center; }
.ft-pilula button.ativo { width: auto; padding: 0 16px; gap: 6px; display: flex; align-items: center; background: var(--dest); color: #fff; border-radius: 99px; font-size: 12px; font-weight: 700; }
.tela.foto .rolagem { padding-bottom: 90px; }

/* ------------------------------------------------ estilo 8: mapa interativo + folha de recomendados (referência "Search your house") */
[data-tema="lavanda"] { --pri: #2B2540; --pri2: #3D3560; --dest: #8B6CF6; --dest-esc: #7451E8; --fundo: #F5F3FB; }
.tela.mapa-tela { background: var(--fundo); }
#mapa { position: absolute; inset: 0 0 38% 0; background: #e9e6f2; }
.mp-busca { position: absolute; left: 14px; right: 14px; top: calc(var(--topo) + 8px); height: 46px; border-radius: 16px; background: #ffffffee; backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 8px; padding: 0 6px 0 14px; font-size: 12.5px; color: var(--sub); box-shadow: 0 8px 20px #2b25401f; z-index: 2; }
.mp-busca .filtro { margin-left: auto; width: 34px; height: 34px; border-radius: 12px; background: var(--dest); color: #fff; display: grid; place-items: center; }
.mp-chips { position: absolute; left: 0; right: 0; top: calc(var(--topo) + 62px); display: flex; gap: 6px; padding: 0 14px; z-index: 2; overflow-x: auto; scrollbar-width: none; }
.mp-chips button { flex: none; height: 32px; padding: 0 12px; border-radius: 99px; background: #ffffffee; font-size: 11.5px; font-weight: 600; box-shadow: 0 4px 10px #2b25401a; }
.mp-chips button.ativo { background: var(--dest); color: #fff; }
.pino { background: #fff; color: var(--pri); font-size: 11px; font-weight: 800; padding: 5px 9px; border-radius: 99px; box-shadow: 0 4px 12px #2b254040; white-space: nowrap; position: relative; cursor: pointer; }
.pino::after { content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); border: 5px solid transparent; border-top-color: #fff; border-bottom: 0; }
.pino.ativo { background: var(--dest); color: #fff; } .pino.ativo::after { border-top-color: var(--dest); }
.mp-folha { position: absolute; left: 0; right: 0; bottom: 0; height: 44%; background: var(--fundo); border-radius: 26px 26px 0 0; box-shadow: 0 -10px 30px #2b25401f; z-index: 3;
  display: flex; flex-direction: column; }
.mp-folha .alca { width: 40px; height: 4px; border-radius: 2px; background: #cfc9df; margin: 8px auto 4px; }
.mp-folha .sec { margin-top: 6px; }
.mp-folha .rolagem { padding-bottom: 80px; }
.mp-card { margin: 0 14px 12px; background: #fff; border-radius: 22px; padding: 8px; box-shadow: 0 6px 16px #2b254014; }
.mp-card .foto { height: 120px; border-radius: 16px; background: #ccc center/cover; position: relative; }
.mp-card .foto .selo { position: absolute; left: 8px; top: 8px; background: #fff; font-size: 10px; font-weight: 700; padding: 5px 10px; border-radius: 99px; }
.mp-card .foto .fav { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; background: #ffffffd9; display: grid; place-items: center; }
.mp-card .foto .fav svg.i { width: 15px; height: 15px; }
.mp-card .lin { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 6px 0; }
.mp-card .lin b { font-size: 14px; } .mp-card .lin .preco { font-size: 15px; font-weight: 800; color: var(--pri); }
.mp-card .det { display: flex; gap: 10px; font-size: 10.5px; color: var(--sub); padding: 4px 6px 2px; }
.mp-card .ganho { margin: 6px 6px 2px; }
.pilula-clara { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(var(--base) + 6px); display: flex; gap: 4px; padding: 5px; border-radius: 99px;
  background: #ffffffcc; backdrop-filter: blur(14px); box-shadow: 0 10px 24px #2b254026; z-index: 4; }
.pilula-clara button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--pri2); background: #ffffff99; }
.pilula-clara button.ativo { background: var(--dest); color: #fff; box-shadow: 0 6px 14px color-mix(in srgb, var(--dest) 50%, transparent); }
.maplibregl-ctrl-attrib { font-size: 9px !important; }

/* ajustes 19/11 após os primeiros prints */
.gr-folha { position: relative; z-index: 1; }                       /* a folha fica por cima do cabeçalho (abas visíveis) */
.ft-hero { height: 340px; }
.ft-hero h1 { font-size: 21px; bottom: 70px; text-shadow: 0 2px 12px #0008; }
.maplibregl-ctrl-top-right { top: calc(var(--topo) + 108px) !important; }   /* "i" do crédito do mapa abaixo da busca */
