/* Soho Duplex — a rotina como protagonista
   Abre pela pergunta "onde você trabalha?", com mapa e tempos; o duplex vem como resposta, em formato de anúncio claro.
   Acento: o lilás da Linha 5 do metrô, chapado (sem degradê). */
:root {
  --fundo: #FAFAF7;
  --apoio: #F4F5F3;
  --tinta: #17181C;
  --tinta-2: #59616A;
  --linha: #E2E4E0;
  --verde: #6E3FA3;       /* lilás da Linha 5 */
  --verde-escuro: #58318A;
  --verde-claro: #EFE8F7;
  --raio: 12px;
  --sombra: 0 10px 30px -12px rgba(28, 33, 38, .22), 0 1px 3px rgba(28, 33, 38, .08);
  --largura: 1180px;
  --margem: clamp(16px, 4vw, 40px);
  --texto: 'Schibsted Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--fundo); color: var(--tinta); font: 400 17px/1.6 var(--texto); -webkit-font-smoothing: antialiased; caret-color: var(--verde); }
::selection { background: var(--verde); color: #fff; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.6rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.obs { color: var(--tinta-2); font-size: .86rem; margin-top: .8rem; }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; border-radius: 4px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.2rem; border-radius: 10px; border: 1px solid transparent;
  font: 600 .96rem/1.2 var(--texto); text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn-cheio { background: var(--verde); color: #fff; }
.btn-cheio:hover { background: var(--verde-escuro); }
.btn-claro { background: #fff; color: var(--tinta); border-color: var(--tinta); }
.btn-claro:hover { background: var(--apoio); }
.btn-largo { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- topo ---------- */
.topo { position: sticky; top: 0; z-index: 1100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--linha); }
.topo-dentro { padding: 0 var(--margem); height: 68px; display: flex; align-items: center; gap: 2rem; }
.marca { font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: -.01em; }
.marca span { font-weight: 500; color: var(--tinta-2); margin-left: .45rem; }
.btn-tinta { background: var(--tinta); color: #fff; }
.btn-tinta:hover { background: #000; }
.menu { display: flex; gap: 1.6rem; margin-left: auto; }
.menu a { text-decoration: none; color: var(--tinta-2); font-weight: 500; font-size: .95rem; }
.menu a:hover { color: var(--tinta); }
.btn-topo { padding: .6rem 1rem; font-size: .9rem; }

/* ---------- hero em vídeo ---------- */
.hero { position: relative; height: calc(100svh - 68px); min-height: 560px; max-height: 980px; overflow: hidden; background: #111; color: #fff; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 12, 16, .5) 0%, rgba(12, 12, 16, .22) 24%, rgba(12, 12, 16, 0) 42%); pointer-events: none; }
/* véu leve só no pé do vídeo; a leitura do título vem da sombra no próprio texto */
.hero h1, .hero-sub { text-shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 4px 22px rgba(0, 0, 0, .5); }
.hero-texto { position: absolute; z-index: 2; left: var(--margem); right: var(--margem); bottom: clamp(32px, 7vh, 72px); max-width: 820px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 1.3rem + 3vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero-sub { margin-top: .9rem; font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); color: #EDEDF0; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.btn-play { background: #fff; color: var(--tinta); border-radius: 999px; padding: .45rem 1.3rem .45rem .45rem; font-size: 1rem; }
.btn-play:hover { background: #F1ECF7; }
.play-circulo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--verde); color: #fff; flex: none; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.play-circulo .ico { width: 20px; height: 20px; margin-left: 2px; }
.btn-play:hover .play-circulo { transform: scale(1.08); }
.hero .btn-cheio { border-radius: 999px; padding: .85rem 1.4rem; }
.hero-pausa { position: absolute; z-index: 2; right: calc(var(--margem) + 72px); bottom: clamp(32px, 7vh, 72px); width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer; backdrop-filter: blur(6px); }
.hero-pausa:hover { background: rgba(255, 255, 255, .3); }
.hero-pausa .i-play, .hero-pausa.parado .i-pausa { display: none; }
.hero-pausa.parado .i-play { display: block; }

/* ---------- capa e tela do tour ---------- */
.tour-capa { position: relative; display: block; width: 100%; margin-top: 1.2rem; padding: 0; border: 0; aspect-ratio: 16 / 9; border-radius: var(--raio); overflow: hidden; cursor: pointer; background: #2A2B30; color: #fff; text-align: left; }
.tour-capa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.tour-capa::after { content: ""; position: absolute; inset: 0; background: rgba(12, 12, 16, .32); transition: background-color .3s; }
.tour-capa:hover img { transform: scale(1.03); }
.tour-capa:hover::after { background: rgba(12, 12, 16, .42); }
.tour-play { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; }
.play-grande { width: 92px; height: 92px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 10px rgba(255, 255, 255, .22); }
.play-grande .ico { width: 40px; height: 40px; margin-left: 5px; }
.tour-capa:hover .play-grande { transform: scale(1.07); }
.tour-chamada { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; text-shadow: 0 2px 16px rgba(0, 0, 0, .4); }
.tour-chamada small { display: block; font-size: .95rem; font-weight: 500; letter-spacing: 0; opacity: .92; margin-top: .2rem; }
.tela-tour { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #111; }
.tela-tour::backdrop { background: #111; }
.tela-tour-quadro, .tela-tour-quadro iframe { width: 100%; height: 100%; border: 0; display: block; }
.tela-tour-fechar { position: absolute; z-index: 2; top: 14px; right: 14px; background: rgba(17, 17, 20, .7); }

/* ---------- condomínio em faixa larga ---------- */
/* ---------- seção da fachada: torre, gradil, entrada e jardins ---------- */
.fachada { padding: clamp(48px, 6vw, 88px) 0 0; }
.fachada-grade { max-width: var(--largura); margin: 0 auto; padding: 0 var(--margem); display: grid; gap: 10px; grid-template-columns: 5fr 3fr 4fr; grid-template-rows: auto clamp(260px, 26vw, 360px) clamp(200px, 19vw, 270px);
  grid-template-areas: "torre texto texto" "torre gradil entrada" "jard1 jard2 jard3"; }
.fachada-texto { grid-area: texto; align-self: end; padding: 0 0 18px 18px; }
.fachada-texto h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; max-width: 16ch; }
.fachada-texto p { margin-top: .8rem; color: #333A41; font-size: 1.08rem; max-width: 34rem; }
.fachada-grade button { padding: 0; border: 0; border-radius: var(--raio); overflow: hidden; cursor: zoom-in; background: var(--apoio); min-height: 0; }
.fachada-grade img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.fachada-grade button:hover img { transform: scale(1.03); }
.fachada-1 { grid-area: torre; }
.fachada-1 img { object-position: 50% 35%; }
.fachada-2 { grid-area: gradil; }
.fachada-3 { grid-area: entrada; }
.fachada-4 { grid-area: jard1; }
.fachada-5 { grid-area: jard2; }
.fachada-6 { grid-area: jard3; }
@media (max-width: 800px) {
  .fachada-grade { grid-template-columns: 1fr 1fr; grid-template-rows: auto 120vw 46vw 46vw 46vw; grid-template-areas: "texto texto" "torre torre" "gradil entrada" "jard1 jard2" "jard3 jard3"; gap: 8px; }
  .fachada-texto { padding: 0 0 8px; }
}
.condominio { background: #fff; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); padding: clamp(48px, 6vw, 88px) 0; }
.cond-cabeca, .cond-listas { max-width: var(--largura); margin: 0 auto; padding: 0 var(--margem); }
.cond-cabeca h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; }
.cond-cabeca p { margin-top: .8rem; color: #333A41; max-width: 42rem; font-size: 1.08rem; }
.cond-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: var(--largura); margin: 2rem auto 0; padding: 0 var(--margem); }
.cond-fotos button { position: relative; padding: 0; border: 0; border-radius: var(--raio); overflow: hidden; cursor: zoom-in; background: var(--apoio); }
.cond-larga { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.cond-metade { aspect-ratio: 4 / 3; }
.cond-fotos img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.cond-fotos button:hover img { transform: scale(1.03); }
.cond-legenda { position: absolute; left: 16px; bottom: 16px; background: #fff; color: var(--tinta); font-weight: 700; font-size: .95rem; padding: .4rem .85rem; border-radius: 999px; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.cond-listas .duas-listas { margin-top: .6rem; }
.pagina-final { padding-bottom: 3rem; }
.pagina-final > .bloco { max-width: 900px; }

/* ---------- abertura: a rotina ---------- */
.rotina { display: grid; grid-template-columns: minmax(420px, 520px) 1fr; border-bottom: 1px solid var(--linha); }
.rotina-texto { display: flex; flex-direction: column; padding: clamp(32px, 6vh, 64px) 44px 32px var(--margem); background: #fff; border-right: 1px solid var(--linha); }
.rotina h2 { font-size: clamp(2.6rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1; letter-spacing: -.035em; font-weight: 800; }
.rotina-sub { font-size: 1.1rem; color: var(--tinta-2); margin-top: 1rem; max-width: 27rem; }
.pergunta { margin-top: 1.8rem; }
.pergunta label { font-weight: 600; font-size: .95rem; }
.campo-busca { display: flex; margin-top: .5rem; border: 1.5px solid var(--tinta); border-radius: 12px; overflow: hidden; background: #fff; }
.campo-busca:focus-within { box-shadow: 0 0 0 3px var(--verde-claro); }
.campo-busca input { flex: 1; min-width: 0; border: 0; padding: .95rem 1rem; font: 500 1.02rem var(--texto); color: var(--tinta); outline: none; }
.campo-busca input::placeholder { color: #686C74; }
.campo-busca .btn { border-radius: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.chips button { border: 1px solid var(--linha); background: #fff; border-radius: 999px; padding: .42rem .85rem; font: 500 .9rem var(--texto); color: var(--tinta); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chips button:hover { border-color: var(--tinta); }
.chips button[aria-pressed=true] { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.resposta { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: 14px; background: var(--verde-claro); transition: opacity .2s; }
.resposta-min { font-size: 2.5rem; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--verde); font-variant-numeric: tabular-nums; }
.resposta-texto { color: #3D3550; margin-top: .45rem; font-size: .95rem; }
.resposta-modos { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin-top: .65rem; font-size: .92rem; font-weight: 600; }
.resposta.carregando { opacity: .55; }
.previa { margin-top: auto; display: flex; align-items: center; gap: 1rem; padding-top: 1.3rem; border-top: 1px solid var(--linha); }
.previa img { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.previa p { flex: 1; font-size: .9rem; color: var(--tinta-2); line-height: 1.35; }
.previa strong { display: block; color: var(--tinta); font-size: 1.02rem; }
.rotina-mapa { position: relative; min-height: 600px; overflow: hidden; }
#mapa-rotina { position: absolute; inset: 0; background: var(--apoio); }
.mapa-nota { position: absolute; z-index: 500; left: 16px; bottom: 16px; background: rgba(255, 255, 255, .95); border-radius: 8px; padding: .45rem .75rem; font-size: .8rem; color: var(--tinta-2); }
.tiles-claro { filter: saturate(.25) brightness(1.05) contrast(.92); }
/* abas do mapa da abertura (só desktop): troca automática com transição; pausa com o cursor em cima */
.mapa-abas { position: absolute; z-index: 600; top: 16px; left: 16px; display: flex; gap: 4px; padding: 4px; background: rgba(255, 255, 255, .96); border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 0, 0, .14); }
.mapa-abas[hidden] { display: none; }
.mapa-abas button { position: relative; overflow: hidden; border: 0; background: none; cursor: pointer; padding: .72rem 1.15rem; border-radius: 8px; white-space: nowrap; font: 700 .95rem/1 var(--texto); color: var(--tinta-2); transition: background-color .3s, color .3s; }
.mapa-abas button:hover { color: var(--tinta); }
.mapa-abas button[aria-selected="true"] { background: var(--tinta); color: #fff; }
.mapa-abas i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: rgba(255, 255, 255, .75); }
.girando .mapa-abas [aria-selected="true"] i { animation: aba-avanco 9s linear forwards; }
.girando:hover .mapa-abas i, .girando:focus-within .mapa-abas i { animation-play-state: paused; }
@keyframes aba-avanco { to { width: 100%; } }
#mapa-arredores { position: absolute; inset: 0; background: var(--apoio); }
/* aba "Metrô": mapa das linhas à esquerda e painel de destinos sem troca à direita */
#mapa-metro { position: absolute; inset: 0; background: var(--apoio); overflow: hidden; }
#mapa-metro[hidden] { display: none; }
.metro-mapa { position: absolute; inset: 0; }
.metro-painel { position: absolute; z-index: 560; top: 76px; right: 14px; bottom: 50px; width: 300px; overflow-y: auto; background: rgba(255, 255, 255, .97); border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .16); padding: 16px 14px 14px; scrollbar-width: thin; }
.metro-painel h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; }
.metro-sub { margin: 14px 0 6px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tinta-2); }
.metro-painel ul { list-style: none; display: grid; gap: 4px; }
.metro-painel button { width: 100%; display: grid; grid-template-columns: 14px 1fr auto; column-gap: 9px; align-items: center; text-align: left; border: 0; background: none; padding: 7px 8px; border-radius: 9px; cursor: pointer; font: inherit; color: var(--tinta); transition: background-color .2s; }
.metro-painel button:hover, .metro-painel button.on { background: color-mix(in srgb, var(--cor) 12%, #fff); }
.metro-bola { grid-row: 1 / 3; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--cor); background: #fff; }
.metro-painel b { font-size: .9rem; line-height: 1.2; }
.metro-painel small { grid-column: 2; font-size: .76rem; color: var(--tinta-2); line-height: 1.25; }
.metro-painel em { grid-column: 3; grid-row: 1 / 3; font-style: normal; font-size: .76rem; font-weight: 700; color: var(--cor); text-align: right; max-width: 92px; line-height: 1.2; }
.metro-pe em { font-size: .85rem; }
.metro-destinos em { color: var(--tinta-2); font-weight: 600; }
.metro-destinos button { grid-template-columns: 14px 1fr; }
.metro-destinos em { grid-column: 2; grid-row: auto; text-align: left; max-width: none; margin-top: 2px; color: color-mix(in srgb, var(--cor) 75%, #17181C); }
.metro-aviso { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--linha); font-size: .74rem; color: var(--tinta-2); line-height: 1.4; }
.metro-rot { font: 600 .72rem/1 var(--texto); padding: .28rem .45rem; border-radius: 6px; }
.metro-rot-pe { font-weight: 800; font-size: .78rem; }
/* aba "Vizinhança": pontos por família, filtros e cards que sobem em leque */
#mapa-viz { position: absolute; inset: 0; background: var(--apoio); overflow: hidden; }
#mapa-viz[hidden] { display: none; }
.viz-mapa { position: absolute; inset: 0; }
.viz-filtros { position: absolute; z-index: 750; top: 74px; left: 14px; right: 60px; display: flex; flex-wrap: wrap; gap: 7px; pointer-events: none; }
/* categorias em destaque: pílulas maiores, com a cor da família; a ativa fica preenchida */
.viz-filtros button { pointer-events: auto; display: inline-flex; align-items: center; gap: 7px; border: 2px solid color-mix(in srgb, var(--cor) 55%, #fff); background: #fff; color: var(--tinta); font: 700 .86rem/1 var(--texto); padding: .55rem .85rem .55rem .6rem; border-radius: 999px; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); cursor: pointer; transition: transform .2s, background-color .25s, color .25s, border-color .25s; }
.viz-filtros button:hover { transform: translateY(-2px); border-color: var(--cor); }
.viz-filtros i { width: 14px; height: 14px; border-radius: 50%; background: var(--cor); box-shadow: 0 0 0 2px #fff; }
.viz-filtros span { color: var(--tinta-2); font-weight: 600; font-size: .78rem; background: #F1F2F4; border-radius: 999px; padding: .18rem .42rem; }
.viz-filtros button[aria-pressed="true"] { background: var(--cor); border-color: var(--cor); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .28); }
.viz-filtros button[aria-pressed="true"] span { background: rgba(255, 255, 255, .25); color: #fff; }
.viz-ponto { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--cor); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); cursor: pointer; transition: transform .2s, opacity .3s; }
.viz-ponto:hover { transform: scale(1.35); }
#mapa-viz[data-f] .viz-ponto { opacity: .18; }
#mapa-viz[data-f="comer"] .viz-ponto[data-f="comer"], #mapa-viz[data-f="cafe"] .viz-ponto[data-f="cafe"], #mapa-viz[data-f="mercado"] .viz-ponto[data-f="mercado"], #mapa-viz[data-f="farmacia"] .viz-ponto[data-f="farmacia"], #mapa-viz[data-f="academia"] .viz-ponto[data-f="academia"], #mapa-viz[data-f="beleza"] .viz-ponto[data-f="beleza"], #mapa-viz[data-f="pet"] .viz-ponto[data-f="pet"], #mapa-viz[data-f="lavanderia"] .viz-ponto[data-f="lavanderia"], #mapa-viz[data-f="banco"] .viz-ponto[data-f="banco"] { opacity: 1; transform: scale(1.25); }
.viz-cards { position: absolute; inset: 0; z-index: 700; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, rgba(14, 16, 19, .15), rgba(14, 16, 19, .72) 55%); opacity: 0; transition: opacity .3s ease; }
.viz-cards[hidden] { display: none; }
.viz-cards.aberto { opacity: 1; }
.viz-cabeca { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 20px 12px; color: #fff; }
.viz-cabeca strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.viz-cabeca span { color: #D7DAE0; font-size: .9rem; }
.viz-trilho { display: flex; gap: 16px; overflow-x: auto; padding: 4px 20px 24px; scroll-snap-type: x proximity; scroll-padding: 0 20px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .4) transparent; }
.viz-trilho-caixa { position: relative; }
.viz-seta { position: absolute; z-index: 2; top: calc(50% - 12px); transform: translateY(-50%); background: rgba(255, 255, 255, .94); color: var(--tinta); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.viz-seta:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.viz-ant { left: 10px; }
.viz-prox { right: 10px; }
.viz-card { display: block; flex: 0 0 clamp(290px, 40%, 360px); width: clamp(290px, 40%, 360px); min-width: 0; scroll-snap-align: center; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); cursor: pointer;
  opacity: 0; transform: translateY(46px) rotate(-3deg) scale(.94); transition: opacity .45s ease, transform .6s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--k) * 55ms); }
.aberto .viz-card { opacity: 1; transform: none; }
.viz-card.destaque { outline: 3px solid var(--cor); outline-offset: -3px; }
.viz-foto { position: relative; }
.viz-card img, .viz-semfoto { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: #E7E8EB; }
/* distância em destaque: selo sobre a foto */
.viz-selo { position: absolute; left: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; padding: .5rem .75rem .55rem; border-radius: 10px; background: rgba(14, 16, 19, .84); color: #E7E9ED; font-size: .74rem; line-height: 1; backdrop-filter: blur(4px); box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.viz-selo b { color: #fff; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.viz-info { padding: 11px 13px 13px; border-top: 4px solid var(--cor); }
.viz-info h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.viz-cat { color: var(--tinta-2); font-size: .8rem; margin-top: 2px; }
.viz-nota { margin-top: 6px; font-size: .82rem; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.viz-nota span { color: var(--tinta-2); }
.viz-estrelas { font-size: .9rem; letter-spacing: 1px; background: linear-gradient(90deg, #F2A516 calc(var(--n) / 5 * 100%), #D3D5DA 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.viz-end { color: var(--tinta-2); font-size: .8rem; margin-top: 6px; line-height: 1.3; }
.viz-dist { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--linha); display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--tinta); }
.viz-dist .ico { width: 17px; height: 17px; color: var(--verde); flex: none; }
.viz-dist strong { color: var(--verde); font-size: 1rem; font-weight: 800; }
.parado .mapa-abas i { animation-play-state: paused !important; }
/* aba "Do alto": vídeo do Google Earth girando em volta do prédio, com o rótulo fixo no centro (o alvo da câmera) */
#mapa-giro { position: absolute; inset: 0; background: #1d2228; overflow: hidden; }
#mapa-giro[hidden] { display: none; }
#mapa-giro video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* o alvo da câmera é o meio da torre (centro do quadro); o topo dela fica a ~27% da altura acima do centro */
.giro-alvo { position: absolute; left: 50%; top: 22%; transform: translate(-50%, calc(-100% - 10px)); pointer-events: none; }
.giro-alvo b { display: block; background: var(--verde); color: #fff; font: 700 .82rem/1 var(--texto); padding: .4rem .65rem; border-radius: 6px; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); white-space: nowrap; }
.giro-alvo::after { content: ''; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); border: 6px solid transparent; border-top: 8px solid var(--verde); border-bottom: 0; }
#mapa-rotina, #mapa-arredores, #mapa-giro, #mapa-viz, #mapa-metro { transition: opacity .9s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
.rotina-mapa[data-aba]:not([data-aba="arredores"]) #mapa-arredores, .rotina-mapa[data-aba]:not([data-aba="trabalho"]) #mapa-rotina, .rotina-mapa[data-aba]:not([data-aba="giro"]) #mapa-giro, .rotina-mapa[data-aba]:not([data-aba="vizinhanca"]) #mapa-viz, .rotina-mapa[data-aba]:not([data-aba="metro"]) #mapa-metro { opacity: 0; transform: scale(1.04); visibility: hidden; pointer-events: none; transition: opacity .9s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1), visibility 0s .9s; }
.tempo-rotulo { display: inline-block; background: #fff; border: 1.5px solid var(--tinta); border-radius: 999px; padding: .22rem .65rem; font: 700 .84rem var(--texto); white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); cursor: pointer; transform: translate(-50%, -50%); }
.tempo-rotulo.on { background: var(--verde); border-color: var(--verde); color: #fff; font-size: 1rem; padding: .32rem .85rem; }
.casa-rotulo { display: flex; align-items: center; gap: .6rem; background: #fff; border-radius: 14px; padding: 6px 14px 6px 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); white-space: nowrap; width: max-content; }
.casa-rotulo img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.casa-rotulo b { display: block; font-size: .92rem; }
.casa-rotulo span { font-size: .78rem; color: var(--tinta-2); }

.polos { width: 100%; border-collapse: collapse; margin-top: 1rem; font-variant-numeric: tabular-nums; }
.polos th { text-align: left; font-weight: 500; font-size: .85rem; color: var(--tinta-2); padding: .5rem 0; border-bottom: 1px solid var(--linha); }
.polos td { padding: .7rem 0; border-bottom: 1px solid var(--linha); }
.polos th:not(:first-child), .polos td:not(:first-child) { width: 30%; }
.polos tr.on td { color: var(--verde); font-weight: 700; }
.polos tbody tr { cursor: pointer; }
.polos tbody tr:hover td:first-child { text-decoration: underline; text-underline-offset: .2em; }
.resposta-titulo { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.resposta-titulo em { font-style: normal; color: var(--verde); }

/* ---------- cabeçalho do anúncio ---------- */
.pagina { max-width: var(--largura); margin: 0 auto; padding: 0 var(--margem); }
.cabeca { padding: 0 0 1.2rem; }
.trilha { color: var(--tinta-2); font-size: .88rem; margin-bottom: .4rem; }
.endereco { display: flex; align-items: center; gap: .4rem; color: var(--tinta-2); margin-top: .5rem; }

/* ---------- galeria ---------- */
.galeria { position: relative; }
.galeria-grade { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; height: clamp(320px, 34vw, 440px); border-radius: var(--raio); overflow: hidden; }
.galeria-grade button { padding: 0; border: 0; background: var(--apoio); cursor: zoom-in; overflow: hidden; min-height: 0; }
.galeria-grade button:first-child { grid-row: 1 / 3; }
.galeria-grade img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16, 1, .3, 1), filter .3s; }
.galeria-grade button:hover img { transform: scale(1.03); filter: brightness(.94); }
.galeria-acoes { position: absolute; right: 16px; bottom: 16px; display: flex; gap: .5rem; }
.galeria-acoes .btn { padding: .55rem .9rem; font-size: .9rem; border-color: var(--tinta); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.galeria-contador { display: none; }

/* ---------- corpo: conteúdo + cartão ---------- */
.corpo { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); padding: 3.2rem 0 5rem; align-items: start; }
.fatos { list-style: none; margin: 1.8rem 0 0; padding: 0 0 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem 1.5rem; border-bottom: 1px solid var(--linha); }
.fatos li { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; }
.fatos .ico { grid-row: 1 / 3; width: 28px; height: 28px; color: var(--verde); }
.fatos strong { font-weight: 600; }
.fatos span { color: var(--tinta-2); font-size: .88rem; line-height: 1.3; }

.bloco { padding: 2.4rem 0; border-bottom: 1px solid var(--linha); }
.bloco:last-child { border-bottom: 0; }
.bloco > p { margin-top: .9rem; max-width: 42rem; color: #333A41; }
.bloco h3 { margin-top: 1.8rem; }
.itens { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1.5rem; }
.itens-uma { grid-template-columns: 1fr; }
.itens li { display: flex; gap: .6rem; align-items: flex-start; }
.itens .ico { color: var(--verde); margin-top: .15rem; width: 1.1em; height: 1.1em; }
.duas-listas { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }



.mapa { height: 380px; margin-top: 1.2rem; border-radius: var(--raio); overflow: hidden; background: var(--apoio); z-index: 0; }
.pontos { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
.pontos li { display: grid; grid-template-columns: 1fr auto; gap: 0 1rem; padding: .75rem 0; border-bottom: 1px solid var(--linha); cursor: pointer; }
.pontos li:hover .ponto-nome { color: var(--verde); }
.ponto-nome { font-weight: 600; }
.ponto-tipo { color: var(--tinta-2); font-size: .85rem; grid-column: 1; }
.ponto-tempo { grid-column: 2; grid-row: 1 / 3; text-align: right; align-self: center; font-variant-numeric: tabular-nums; }
.ponto-tempo strong { display: block; font-weight: 600; }
.ponto-tempo span { color: var(--tinta-2); font-size: .8rem; }
.marcador-soho { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--verde); border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.marcador-ponto { width: 14px; height: 14px; border-radius: 50%; background: var(--tinta); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.marcador-ponto.perto { background: var(--verde); }
.soho-nome { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); white-space: nowrap; background: var(--verde); color: #fff; font: 700 .8rem/1 var(--texto); padding: .35rem .6rem; border-radius: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
/* destaques do bairro: ícone no ponto exato e o nome escrito ao lado */
.destaque { position: absolute; display: flex; align-items: center; gap: 6px; transform: translateY(-50%); white-space: nowrap; pointer-events: auto; }
.destaque-direita { left: -14px; }
.destaque-esquerda { right: -14px; flex-direction: row-reverse; }
.destaque-icone { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tinta); color: #fff; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); flex: none; }
.destaque-icone svg { width: 15px; height: 15px; }
.destaque-metro .destaque-icone { background: var(--verde); }
.destaque-monotrilho .destaque-icone { background: #B8860B; }
.destaque-aviao .destaque-icone { background: #1F4E8C; }
.destaque-saude .destaque-icone { background: #C0392B; }
.destaque-parque .destaque-icone { background: #2E7D4F; }
.destaque-marco .destaque-icone { background: #B4532A; }
.destaque-nome { background: rgba(255, 255, 255, .95); color: var(--tinta); font: 600 .78rem/1 var(--texto); padding: .32rem .5rem; border-radius: 6px; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.leaflet-container { font-family: var(--texto); }
.leaflet-popup-content-wrapper { border-radius: 10px; }

.perguntas { margin-top: 1rem; }
.perguntas details { border-bottom: 1px solid var(--linha); }
.perguntas summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; cursor: pointer; font-weight: 600; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary .ico { color: var(--verde); transition: transform .25s; }
.perguntas details[open] summary .ico { transform: rotate(45deg); }
.perguntas details p { padding-bottom: 1rem; color: var(--tinta-2); max-width: 42rem; }

/* ---------- cartão de preço ---------- */
.lateral { position: sticky; top: 92px; }
.cartao { border: 1px solid var(--linha); border-radius: 16px; padding: 1.6rem; box-shadow: var(--sombra); background: #fff; }
.preco { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
.preco small { font-size: 1rem; font-weight: 500; color: var(--tinta-2); margin-left: .2rem; }
.valores { margin: 1rem 0 0; }
.valores div { display: flex; justify-content: space-between; padding: .5rem 0; }
.valores dt { color: var(--tinta-2); }
.valores dd { margin: 0; font-weight: 500; }
.valores .total { border-top: 1px solid var(--linha); margin-top: .3rem; padding-top: .8rem; }
.valores .total dt { color: var(--tinta); font-weight: 600; }
.valores .total dd { font-weight: 700; }
#form-visita { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--linha); }
#form-visita h3 { margin: 0 0 .9rem; }
.campo + .campo { margin-top: .8rem; }
.campo label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: .3rem; }
.campo input, .campo select { width: 100%; padding: .7rem .8rem; border: 1px solid #C9CDC7; border-radius: 10px; font: 400 1rem var(--texto); color: var(--tinta); background: #fff; }
.campo select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231C2126' stroke-width='2'/%3E%3C/svg%3E") right 12px center no-repeat; padding-right: 36px; }
.campo input:focus, .campo select:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px var(--verde-claro); }
#form-visita .btn-largo { margin-top: 1.1rem; }
.aviso { color: var(--tinta-2); font-size: .85rem; margin-top: .6rem; text-align: center; }
.aviso:empty { display: none; }

.barra-celular { display: none; }

.rodape { border-top: 1px solid var(--linha); background: var(--apoio); padding: 2rem var(--margem) 2.4rem; font-size: .9rem; }
.rodape > * { max-width: var(--largura); margin-left: auto; margin-right: auto; }

/* ---------- visor de fotos (lightbox) ---------- */
.visor { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: #0E1013; color: #fff; }
.visor::backdrop { background: #0E1013; }
.visor[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: visor-entra .35s ease; }
@keyframes visor-entra { from { opacity: 0; } }
.visor-topo { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 14px 18px; }
.visor-grupos { display: flex; gap: 4px; padding: 4px; background: rgba(255, 255, 255, .08); border-radius: 999px; justify-self: start; }
.visor-grupos button { border: 0; background: none; color: #C9CED3; font: 600 .88rem/1 var(--texto); padding: .55rem 1rem; border-radius: 999px; cursor: pointer; transition: background-color .25s, color .25s; }
.visor-grupos button span { font-weight: 400; opacity: .7; margin-left: .2rem; }
.visor-grupos button[aria-selected="true"] { background: #fff; color: var(--tinta); }
.visor-contador { font-size: .92rem; color: #C9CED3; font-variant-numeric: tabular-nums; }
#visor-fechar { justify-self: end; }
.visor-palco { position: relative; margin: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 0 84px; }
.visor-quadro { position: relative; min-height: 0; }
.visor-quadro img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); touch-action: pan-y; user-select: none; transition: opacity .35s ease, transform .5s cubic-bezier(.16, 1, .3, 1); }
.visor-quadro img.trocando { opacity: 0; transform: scale(.985); }
.visor-palco figcaption { text-align: center; color: #C9CED3; font-size: .92rem; padding: .8rem 0 .2rem; min-height: 2.6em; }
.visor-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background-color .2s, transform .2s; }
.visor-btn:hover { background: rgba(255, 255, 255, .22); }
.visor-btn:focus-visible { outline-color: #fff; }
.visor-ant, .visor-prox { position: absolute; top: calc(50% - 1.3em); transform: translateY(-50%); }
.visor-ant { left: 18px; }
.visor-prox { right: 18px; }
.visor-tira { display: flex; gap: 8px; overflow-x: auto; padding: 12px 18px 18px; scrollbar-width: none; justify-content: safe center; }
.visor-tira::-webkit-scrollbar { display: none; }
.visor-tira button { flex: none; width: 96px; aspect-ratio: 3 / 2; padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: pointer; background: #22262b; opacity: .45; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .25s, outline-color .25s; }
.visor-tira button:hover { opacity: .8; }
.visor-tira button.on { opacity: 1; outline-color: #fff; }
.visor-tira img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* miniaturas do condomínio, abaixo do mosaico grande */
.cond-mais { max-width: var(--largura); margin: 1.6rem auto 0; padding: 0 var(--margem); }
.cond-mais h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .7rem; }
.cond-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.cond-mini button { padding: 0; border: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--apoio); }
.cond-mini img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.16, 1, .3, 1), filter .3s; }
.cond-mini button:hover img { transform: scale(1.05); filter: brightness(.95); }

/* desktop: a seção da rotina ocupa exatamente a segunda dobra (tela menos o cabeçalho fixo) */
@media (min-width: 1001px) {
  #trajeto { scroll-margin-top: -16px; } /* o html já reserva 84px; aqui fica rente ao cabeçalho de 68px */
  .rotina { height: calc(100svh - 68px); min-height: 600px; max-height: 1100px; }
  .rotina-texto { overflow: hidden; }
  .rotina-mapa { min-height: 0; }
}
/* telas baixas (notebooks 768–860 px de altura): aperta a coluna de texto para tudo caber */
@media (min-width: 1001px) and (max-height: 900px) {
  .rotina-texto { padding-top: clamp(20px, 3.5vh, 40px); padding-bottom: 20px; }
  .rotina h2 { font-size: clamp(2.2rem, 6.2vh, 3.4rem); }
  .rotina-sub { font-size: 1rem; margin-top: .6rem; }
  .pergunta { margin-top: clamp(.9rem, 2.4vh, 1.6rem); }
  .campo-busca input { padding: .8rem 1rem; }
  .chips { margin-top: .6rem; }
  .resposta { margin-top: clamp(.8rem, 2vh, 1.4rem); padding: .85rem 1.1rem; }
  .resposta-min { font-size: 2.1rem; }
  .resposta-texto { margin-top: .3rem; }
  .resposta-modos { margin-top: .45rem; }
  .previa { padding-top: .9rem; }
  .previa img { width: 72px; height: 54px; }
}

/* ---------- telas médias ---------- */
@media (max-width: 1000px) {
  .rotina { grid-template-columns: minmax(0, 1fr); height: auto; max-height: none; min-height: 0; }
  .rotina-texto { border-right: 0; padding: 28px var(--margem); }
  .rotina-mapa { height: 380px; min-height: 0; }
  .previa { display: none; }
  .corpo { grid-template-columns: 1fr; }
  .lateral { position: static; }
  .menu { display: none; }
  .btn-topo { margin-left: auto; }
}

/* ---------- celular ---------- */
@media (max-width: 700px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .topo-dentro { height: 60px; }
  .marca span { display: none; }
  .btn-topo { white-space: nowrap; }
  html { scroll-padding-top: 70px; }
  .cabeca { padding: 1.2rem 0 1rem; }
  .galeria { margin: 0 calc(-1 * var(--margem)); }
  .hero { height: 78svh; min-height: 480px; }
  .hero::after { background: linear-gradient(to top, rgba(12, 12, 16, .6) 0%, rgba(12, 12, 16, .3) 30%, rgba(12, 12, 16, 0) 52%); }
  .hero-pausa { top: 14px; bottom: auto; width: 38px; height: 38px; }
  .cond-fotos { grid-template-columns: 1fr; gap: 8px; }
  .cond-larga { aspect-ratio: 4 / 3; }
  .cond-legenda { left: 10px; bottom: 10px; font-size: .85rem; }
  .play-grande { width: 72px; height: 72px; }
  .tour-chamada { font-size: 1.2rem; }
  .rotina h2 { font-size: 2.2rem; }
  .rotina-mapa { height: 330px; }
  .mapa-nota { left: 8px; right: 8px; bottom: 8px; font-size: .75rem; }
  .casa-rotulo img { width: 40px; height: 40px; }
  .resposta-min { font-size: 2.1rem; }
  .galeria-grade { display: flex; height: auto; border-radius: 0; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; }
  .galeria-grade::-webkit-scrollbar { display: none; }
  .galeria-grade button { flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
  .galeria-acoes { right: 12px; bottom: 12px; }
  .galeria-contador { display: block; position: absolute; left: 12px; bottom: 12px; background: rgba(28, 33, 38, .7); color: #fff; font-size: .82rem; font-weight: 600; padding: .3rem .6rem; border-radius: 6px; font-variant-numeric: tabular-nums; }
  .fatos { grid-template-columns: 1fr 1fr; }
  .itens, .duas-listas, .pontos { grid-template-columns: 1fr; }
  .mapa { height: 340px; }
  .destaque-nome { font-size: .7rem; padding: .28rem .4rem; }
  .destaque-icone { width: 24px; height: 24px; }
  .soho-nome { top: 38px; transform: translateX(-12%); }
  .visor-topo { grid-template-columns: 1fr auto; }
  .visor-contador { display: none; }
  .visor-palco { padding: 0 8px; }
  .visor-ant, .visor-prox { display: none; }
  .visor-tira button { width: 64px; }
  .cond-mini { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .barra-celular {
    display: flex; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 12px var(--margem) calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--linha); box-shadow: 0 -6px 20px rgba(28, 33, 38, .08);
  }
  .barra-celular p { display: flex; flex-direction: column; line-height: 1.25; }
  .barra-celular span { color: var(--tinta-2); font-size: .82rem; }
  /* o preço não aparece na primeira dobra: a barra só sobe depois que o vídeo de abertura sai da tela */
  .barra-celular { transition: transform .35s ease; }
  .barra-celular.escondida { transform: translateY(110%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
/* caminho a pé na aba Vizinhança: bolinha que anda e rótulo final */
.viz-andante { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--cor); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.viz-rota-rotulo { font: 600 .82rem/1.3 var(--texto); padding: .45rem .65rem; border-radius: 8px; }
/* botão flutuante de WhatsApp: em todo o site, no canto inferior direito; no celular sobe junto com a barra de preço */
.zap { position: fixed; z-index: 1050; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 0; height: 60px; padding: 0 15px; border-radius: 999px; background: #25D366; color: #fff; text-decoration: none; box-shadow: 0 8px 22px rgba(0, 0, 0, .22), 0 2px 6px rgba(0, 0, 0, .15); transition: gap .3s ease, padding .3s ease, transform .2s ease, bottom .35s ease; }
.zap svg { width: 30px; height: 30px; flex: none; }
.zap span { max-width: 0; overflow: hidden; white-space: nowrap; color: #06331B; font: 700 .95rem/1 var(--texto); transition: max-width .35s ease; }
.zap:hover, .zap:focus-visible { gap: 10px; padding: 0 20px 0 16px; transform: translateY(-2px); }
.zap:hover span, .zap:focus-visible span { max-width: 180px; }
.zap:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 700px) {
  .zap { right: 14px; bottom: 16px; height: 54px; padding: 0 12px; }
  .zap svg { width: 28px; height: 28px; }
  body:has(.barra-celular:not(.escondida)) .zap { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
/* aba "Centro-Sul": nomes dos bairros-polo escritos no mapa e o cartão com o resumo da região */
.polo { position: absolute; transform: translate(-50%, -50%); text-align: center; white-space: nowrap; pointer-events: none; text-shadow: 0 0 3px #fff, 0 0 6px #fff, 0 0 10px #fff; }
.polo b { display: block; font: 800 1.05rem/1.05 var(--texto); letter-spacing: .04em; text-transform: uppercase; color: #2A2F38; }
.polo span { display: block; margin-top: 3px; font: 600 .74rem/1.2 var(--texto); color: #4A5160; }
.polo-casa b { color: var(--verde); }
.regiao-cartao { position: absolute; z-index: 560; left: 16px; top: 78px; width: 340px; padding: 16px 18px 17px; background: #4E2A7A; border-radius: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .28); font-size: 1.02rem; font-weight: 600; line-height: 1.38; letter-spacing: -.01em; color: #fff; }
.regiao-titulo { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #D9C4F5; margin-bottom: 5px; }
/* abas do mapa no celular e no tablet: mapa mais alto, abas e categorias roláveis numa linha, painéis embaixo */
@media (max-width: 1000px) {
  .rotina-mapa { height: 600px; }
  .mapa-abas { left: 8px; right: 8px; top: 8px; overflow-x: auto; scrollbar-width: none; }
  .mapa-abas::-webkit-scrollbar { display: none; }
  .mapa-abas button { flex: none; padding: .62rem .85rem; font-size: .86rem; }
  .viz-filtros { top: 64px; left: 8px; right: 8px; flex-wrap: nowrap; overflow-x: auto; pointer-events: auto; padding-bottom: 6px; scrollbar-width: none; }
  .viz-filtros::-webkit-scrollbar { display: none; }
  .viz-filtros button { flex: none; font-size: .8rem; padding: .48rem .7rem .48rem .5rem; }
  .viz-card { flex-basis: 270px; width: 270px; }
  .viz-cabeca { padding: 0 14px 10px; }
  .viz-cabeca strong { font-size: 1.08rem; }
  .viz-cabeca span { display: none; }
  .viz-trilho { padding: 4px 14px 18px; }
  .metro-painel { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 48%; padding: 12px 12px 10px; }
  .regiao-cartao { top: 62px; left: 8px; right: 8px; width: auto; padding: 11px 13px 12px; font-size: .86rem; }
  .polo b { font-size: .86rem; }
  .polo span { font-size: .66rem; }
  .giro-alvo b { font-size: .74rem; }
  .rotina-mapa .leaflet-control-zoom { display: none; }   /* no toque o zoom é com dois dedos */
}
@media (max-width: 700px) {
  .rotina-mapa { height: 560px; }
}
/* ---------- cabeçalho: menu completo e cor ao rolar ----------
   No topo da página ele é branco; quando a pessoa começa a rolar, ganha o fundo escuro do site,
   com a seção atual marcada em lilás. No celular e no tablet o menu abre num painel. */
.topo { transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease; }
.topo-dentro { gap: 1.6rem; }
.menu { gap: 1.35rem; }
.menu a { position: relative; padding: .35rem 0; transition: color .25s; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--verde); transform: scaleX(0); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.menu a.ativo { color: var(--tinta); }
.menu a.ativo::after, .menu a:hover::after { transform: scaleX(1); }
.topo.rolou { background: rgba(23, 24, 28, .96); border-bottom-color: transparent; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); backdrop-filter: blur(8px); }
.topo.rolou .marca { color: #fff; }
.topo.rolou .marca span { color: #B9BCC4; }
.topo.rolou .menu a { color: #C9CCD3; }
.topo.rolou .menu a:hover, .topo.rolou .menu a.ativo { color: #fff; }
.topo.rolou .menu a::after { background: #B994E6; }
.menu-botao { display: none; }
@media (max-width: 1180px) and (min-width: 1001px) {
  .menu { gap: 1rem; }
  .menu a { font-size: .9rem; }
}
@media (max-width: 1000px) {
  .menu-botao { display: grid; gap: 5px; place-content: center; width: 44px; height: 44px; margin-left: 4px; border: 0; border-radius: 10px; background: none; cursor: pointer; }
  .menu-botao span { width: 22px; height: 2px; border-radius: 2px; background: var(--tinta); transition: transform .3s, opacity .2s, background-color .3s; }
  .topo.rolou .menu-botao span { background: #fff; }
  .topo.menu-aberto .menu-botao span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .topo.menu-aberto .menu-botao span:nth-child(2) { opacity: 0; }
  .topo.menu-aberto .menu-botao span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 6px var(--margem) 14px; background: rgba(23, 24, 28, .97); box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s, visibility 0s .3s; }
  .topo.menu-aberto .menu { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s; }
  .menu a, .topo.rolou .menu a { color: #E4E6EA; font-size: 1.05rem; font-weight: 600; padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .menu a::after { display: none; }
  .menu a.ativo, .topo.rolou .menu a.ativo { color: #C9A9F0; }
  .topo.menu-aberto { background: rgba(23, 24, 28, .97); }
  .topo.menu-aberto .marca { color: #fff; }
  .topo.menu-aberto .menu-botao span { background: #fff; }
}
@media (max-width: 700px) {
  .marca { white-space: nowrap; font-size: 1.05rem; }
  .topo-dentro { gap: .6rem; }
  .btn-topo { padding: .55rem .8rem; font-size: .85rem; }
}
