/* =====================================================================
   IMLOCCUS · home (direção Solithic, clara) · marca/DECISOES.md 03/11/2026
   Base areia, cartões brancos, azul do Potencial como única cor de ação.
   Padrão Apple: profundidade (sombras em camadas), peso, vidro só na barra.
   Modo escuro automático (prefers-color-scheme). Cores em variáveis:
   quando marca/identidade/ trouxer a paleta, troca-se só este bloco.
   ===================================================================== */
:root {
  --areia: #f3efe6; --areia-2: #ebe5d8; --papel: #fff; --papel-2: #faf8f3;
  --onix: #0e0f10; --tx: #16181a; --t2: #5f6166; --t3: #8e9095;
  --ln: rgba(14,15,16,.10); --ln-2: rgba(14,15,16,.18);
  --azul: #1d5fd6; --azul-2: #1750b8; --azul-s: rgba(29,95,214,.12);
  --sombra-1: 0 1px 1px rgba(14,15,16,.03), 0 2px 6px rgba(14,15,16,.04), 0 12px 32px -14px rgba(14,15,16,.14);
  --sombra-2: 0 2px 4px rgba(14,15,16,.05), 0 10px 24px rgba(14,15,16,.07), 0 32px 64px -24px rgba(14,15,16,.22);
  --brilho: inset 0 1px 0 rgba(255,255,255,.85);
  --vidro: rgba(243,239,230,.72); --vidro-ln: rgba(255,255,255,.5);
  --r: 20px; --r2: 28px;
  --ease: cubic-bezier(.25,.1,.25,1); --sai: cubic-bezier(.22,1,.36,1);
  --f: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --fd: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --logo-cor: var(--onix);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --areia: #111214; --areia-2: #17191c; --papel: #1b1d20; --papel-2: #202327;
    --tx: #f1efe9; --t2: #a7a9ad; --t3: #7b7e84;
    --ln: rgba(241,239,233,.10); --ln-2: rgba(241,239,233,.2);
    --azul: #4a86ec; --azul-2: #6a9cf0; --azul-s: rgba(74,134,236,.16);
    --sombra-1: 0 1px 1px rgba(0,0,0,.25), 0 12px 32px -14px rgba(0,0,0,.6);
    --sombra-2: 0 2px 6px rgba(0,0,0,.35), 0 32px 64px -24px rgba(0,0,0,.75);
    --brilho: inset 0 1px 0 rgba(255,255,255,.06);
    --vidro: rgba(17,18,20,.7); --vidro-ln: rgba(255,255,255,.08);
    --logo-cor: #f1efe9;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--areia); color: var(--tx); font: 400 17px/1.5 var(--f); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
h1, h2, h3 { font-family: var(--fd); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(36px, 5.2vw, 68px); letter-spacing: -.04em; }
h3 { font-size: 22px; letter-spacing: -.02em; }
p { margin: 0; }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--azul); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--t2); max-width: 60ch; line-height: 1.45; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- botões: ação principal em azul, demais neutras ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--ln-2); background: var(--papel); font-weight: 500; font-size: 15px; letter-spacing: -.005em; box-shadow: var(--sombra-1), var(--brilho); transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .18s var(--ease), border-color .18s var(--ease); cursor: pointer; }
.btn:hover { border-color: var(--t3); box-shadow: var(--sombra-2), var(--brilho); transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn.solid { background: var(--azul); color: #fff; border-color: var(--azul); box-shadow: 0 1px 2px rgba(29,95,214,.3), 0 8px 20px -8px rgba(29,95,214,.55); }
.btn.solid:hover { background: var(--azul-2); border-color: var(--azul-2); }
.btn .arrow { width: 16px; height: 16px; flex: none; }
.btn .arrow::before { content: "→"; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; }

/* ---------- cabeçalho em vidro ---------- */
header.site { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 14px 0; transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header.site.on { background: var(--vidro); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--ln); padding: 10px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .mk { width: 22px; height: 42px; color: var(--logo-cor); }
.brand .wmt { font-family: var(--fd); font-weight: 600; letter-spacing: .26em; font-size: 15px; text-transform: uppercase; }
.brand .wmt b { font-weight: 300; }
header nav { display: flex; align-items: center; gap: 4px; }
header nav .lnk { padding: 9px 13px; border-radius: 11px; font-size: 14px; font-weight: 500; color: var(--t2); transition: color .18s var(--ease), background .18s var(--ease); }
header nav .lnk:hover { color: var(--tx); background: rgba(14,15,16,.05); }
header nav .btn { min-height: 40px; padding: 0 16px; font-size: 14px; margin-left: 8px; }
header .menu { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ln-2); background: var(--papel); box-shadow: var(--sombra-1), var(--brilho); cursor: pointer; place-items: center; }
header .menu svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  header .menu { display: grid; margin-left: auto; }
  header nav { position: absolute; left: 24px; right: 24px; top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 2px; padding: 8px; border-radius: 18px; background: var(--papel); border: 1px solid var(--ln); box-shadow: var(--sombra-2), var(--brilho); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  header nav.aberto { opacity: 1; transform: none; pointer-events: auto; }
  header nav .lnk { padding: 12px 14px; }
  header nav .btn { margin: 6px 0 0; }
}

/* ---------- topo: bloco azul do Potencial. As linhas soltas (a ideia) viram
   o terreno e depois o prédio; no fim, um mosaico de pixels abre a página clara ---------- */
#topo { position: relative; height: 330vh; --hero: #1d5fd6; --hero-tx: #fff; }
@media (prefers-color-scheme: dark) { #topo { --hero: #1747a8; } }
#topo .fixo { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; align-content: center; background: var(--hero); color: var(--hero-tx); }
#topo #roda { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
#topo .copy { position: relative; z-index: 2; display: grid; gap: 24px; justify-items: start; text-align: left; padding-top: 64px; will-change: transform, opacity; }
#topo .eyebrow { color: rgba(255,255,255,.7); font-family: var(--mono); letter-spacing: .16em; }
#topo .eyebrow::before { content: "[ "; } #topo .eyebrow::after { content: " ]"; }
#topo .t { margin: 0; font-family: var(--fd); font-size: clamp(44px, 7.4vw, 112px); letter-spacing: -.045em; line-height: .98; font-weight: 600; max-width: 13ch; color: #fff; }
#topo .t em { font-style: normal; color: rgba(255,255,255,.55); }
#topo .lead { max-width: 46ch; color: rgba(255,255,255,.82); }
#topo .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
#topo .btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.32); color: #fff; box-shadow: none; }
#topo .btn:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.6); }
#topo .btn.solid { background: #fff; color: var(--hero); border-color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 14px 30px -12px rgba(0,0,0,.45); }
#topo .btn.solid:hover { background: #f3efe6; }
#topo .btn:focus-visible { outline-color: #fff; }
#topo .marcas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.62); }
#topo .marcas .name-sub { white-space: nowrap; }
#topo .marcas i { width: 28px; height: 1px; background: rgba(255,255,255,.35); }
#topo .mono, .mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }
#topo .canto { transition: opacity .4s var(--ease); position: absolute; z-index: 2; left: 0; right: 0; bottom: 26px; width: min(1180px, calc(100% - 48px)); margin: 0 auto; display: flex; justify-content: space-between; color: rgba(255,255,255,.6); pointer-events: none; }
#topo .etapas { position: absolute; z-index: 2; right: max(24px, calc((100% - 1180px) / 2)); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; color: rgba(255,255,255,.4); opacity: 0; transition: opacity .5s var(--ease); }
#topo .etapas.vis { opacity: 1; }
#topo .etapas li { display: flex; align-items: center; gap: 10px; transition: color .4s var(--ease); }
#topo .etapas li::before { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .4s var(--sai); }
#topo .etapas li.on { color: #fff; } #topo .etapas li.on::before { width: 36px; }
#topo .forma { position: absolute; z-index: 2; left: max(24px, calc((100% - 1180px) / 2)); top: 50%; transform: translateY(-50%); margin: 0; font-family: var(--fd); font-weight: 600; font-size: clamp(26px, 3vw, 42px); letter-spacing: -.03em; max-width: 9ch; line-height: 1.05; opacity: 0; transition: opacity .6s var(--ease); }
#topo .forma.vis { opacity: 1; }
#topo .hint { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.7); }
#topo .hint .scrollbar { width: 1px; height: 28px; background: linear-gradient(#fff, transparent); }
@media (max-width: 900px) {
  #topo { height: 270vh; }
  #topo .etapas { top: auto; bottom: 64px; right: 24px; transform: none; gap: 8px; }
  #topo .forma { top: 96px; transform: none; max-width: none; }
  #topo .canto span:last-child { display: none; }
}
/* celular: título menor, sem as linhas de apoio, nada sobrepondo */
@media (max-width: 600px) {
  #topo .copy { gap: 16px; padding-top: 76px; }
  #topo .t { font-size: clamp(34px, 10.2vw, 44px); letter-spacing: -.04em; }
  #topo .lead { font-size: 16.5px; line-height: 1.45; }
  #topo .ctas { width: 100%; }
  #topo .ctas .btn { flex: 1 1 100%; min-height: 50px; }
  #topo .marcas, #topo .canto { display: none; }
  #topo .hint { bottom: 16px; }
}
@media (max-width: 600px) and (max-height: 720px) {
  #topo .copy { padding-top: 68px; gap: 12px; }
  #topo .t { font-size: clamp(32px, 9.4vw, 40px); }
  #topo .lead { font-size: 15.5px; }
  #topo .btn { min-height: 46px; }
}
@media (prefers-reduced-motion: reduce) { #topo { height: auto; } #topo .fixo { min-height: 100svh; height: auto; padding: 120px 0 90px; } }

/* cabeçalho sobre o azul do topo */
header.site.sobre { color: #fff; }
header.site.sobre.on { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
header.site.sobre .brand .mk { color: #fff; }
header.site.sobre nav .lnk { color: rgba(255,255,255,.78); }
header.site.sobre nav .lnk:hover { color: #fff; background: rgba(255,255,255,.12); }
header.site.sobre nav .btn.solid { background: #fff; color: #1d5fd6; border-color: #fff; }
header.site.sobre .menu { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; box-shadow: none; }
@media (max-width: 900px) { header.site.sobre nav .lnk { color: var(--t2); } header.site.sobre nav .btn.solid { background: var(--azul); color: #fff; } }

.capa { padding-top: clamp(40px, 6vw, 80px); }

/* figura do topo: vídeo de drone da orla (próprio), num cartão com legenda em vidro */
.arte { position: relative; width: min(1180px, 100%); aspect-ratio: 16 / 8.2; border-radius: var(--r2); background: var(--papel-2); box-shadow: var(--sombra-2), var(--brilho); overflow: hidden; isolation: isolate; border: 1px solid var(--ln); }
.arte img, .arte video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arte .leg { position: absolute; left: 20px; bottom: 20px; max-width: 420px; display: flex; justify-content: space-between; align-items: end; gap: 18px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.6); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border: 1px solid rgba(255,255,255,.55); box-shadow: 0 8px 28px -12px rgba(14,15,16,.3); font-size: 13px; color: #3a3b3e; }
.arte .leg b { display: block; font-weight: 600; color: var(--onix); font-size: 14px; }
@media (max-width: 900px) { .arte { aspect-ratio: 4 / 3; } }

/* abertura: o símbolo se desenha e vai para o cabeçalho */
#abre { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: #1d5fd6; color: #fff; transition: opacity .5s var(--ease); }
#abre svg { width: 76px; height: 148px; color: #fff; }
#abre .tr { stroke-dasharray: 600; stroke-dashoffset: 600; animation: traco 1.1s var(--sai) forwards; }
#abre .tr:nth-child(2) { animation-delay: .12s; } #abre .tr:nth-child(3) { animation-delay: .24s; }
#abre .fc { opacity: 0; animation: surge .5s var(--ease) .75s forwards; }
@keyframes traco { to { stroke-dashoffset: 0; } }
@keyframes surge { to { opacity: 1; } }
#abre.sai { opacity: 0; pointer-events: none; }
html.aberto #abre { display: none; }

/* entrada das seções */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--sai), transform .7s var(--sai); }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  #abre { display: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- seções ---------- */
.block { padding: clamp(72px, 9vw, 128px) 0; }
.block .head { display: grid; gap: 16px; max-width: 760px; }
.card { background: var(--papel); border: 1px solid var(--ln); border-radius: var(--r); box-shadow: var(--sombra-1), var(--brilho); }
.card.flutua { box-shadow: var(--sombra-2), var(--brilho); }

/* plataforma */
#plataforma .grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 48px; }
#plataforma .card { padding: 10px 10px 26px; display: grid; gap: 12px; align-content: start; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
#plataforma .card:hover { transform: translateY(-3px); box-shadow: var(--sombra-2), var(--brilho); }
#plataforma .card .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--azul-s); color: var(--azul); }
#plataforma .card p { color: var(--t2); font-size: 15px; }
#plataforma .card > :not(.foto) { margin-inline: 16px; }
#plataforma .card .foto { margin: 0 0 10px; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: var(--areia-2); }
#plataforma .card .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--sai); }
#plataforma .card:hover .foto img { transform: scale(1.04); }
#plataforma .card .ic { margin-top: -38px; position: relative; background: var(--papel); box-shadow: var(--sombra-1); }
@media (max-width: 900px) { #plataforma .grid { grid-template-columns: 1fr; } }

/* recursos: abas */
#recursos .features { display: grid; grid-template-columns: 340px minmax(0,1fr); gap: 20px; margin-top: 44px; align-items: start; }
.flist { list-style: none; margin: 0; padding: 6px; display: grid; gap: 4px; }
.flist button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; border: 1px solid transparent; background: transparent; text-align: left; font-weight: 500; font-size: 15px; color: var(--t2); cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease); }
.flist button:hover { background: var(--papel-2); color: var(--tx); }
.flist button[aria-selected="true"] { background: var(--papel); color: var(--tx); border-color: var(--ln); box-shadow: var(--sombra-1), var(--brilho); }
.flist button .ic { width: 20px; height: 20px; color: var(--azul); flex: none; }
.flist button .n { margin-left: auto; font-size: 12px; color: var(--t3); font-variant-numeric: tabular-nums; }
.preview { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--papel); }
.preview .chrome { position: absolute; z-index: 2; inset: 0 0 auto 0; display: flex; justify-content: space-between; padding: 14px 18px; font-size: 12px; color: var(--t3); }
.preview .pane { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.preview .pane.on { opacity: 1; }
.preview .pane svg, .preview .pane img { width: 100%; height: 100%; object-fit: cover; }
.preview .pane img { position: absolute; inset: 0; }
.preview .pane .sobre { position: absolute; inset: 0; }
.preview .pane .tag { position: absolute; left: 18px; bottom: 18px; padding: 8px 12px; border-radius: 10px; background: rgba(14,15,16,.55); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.preview .pane .giro { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 10px; border-radius: 12px; background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--onix); font-weight: 600; font-size: 13px; }
.preview .pane .giro svg { width: 26px; height: 26px; }
.preview .pane .alto { object-position: 50% 20%; transform: scale(1.12); transform-origin: 50% 20%; }
.preview .regua { position: absolute; right: 26px; top: 18%; bottom: 18%; width: 14px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.preview .regua::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.7); }
.preview .regua i { display: block; width: 10px; height: 1px; background: #fff; }
.preview .regua i.on { width: 22px; height: 2px; background: #fff; box-shadow: 0 0 0 4px rgba(29,95,214,.45); position: relative; }
.preview .regua span { position: absolute; right: 30px; top: calc(50% - 4px); transform: translateY(-50%); white-space: nowrap; padding: 7px 11px; border-radius: 10px; background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--onix); font-size: 12px; font-weight: 600; }
.preview .sel { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: min(280px, 46%); display: grid; gap: 8px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.76); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--sombra-2); color: var(--onix); font-size: 13px; }
.preview .sel b { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.preview .sel span { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 11px; background: #fff; border: 1px solid rgba(14,15,16,.06); }
.preview .sel span i { width: 8px; height: 8px; border-radius: 50%; background: #2e9e5b; flex: none; } .preview .sel span i.r { background: #d9a43a; }
.preview .pane .fundo { filter: blur(18px) saturate(1.1); transform: scale(1.15); }
.preview .espelho { position: absolute; inset: 12% 14%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--sombra-2); }
.preview .espelho i { border-radius: 7px; background: #e9e5da; border: 1px solid rgba(14,15,16,.06); }
.preview .espelho i.v { background: #1d5fd6; } .preview .espelho i.r { background: #d9cfb4; }
.preview .chrome { color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.preview .barra { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--azul); width: 0; }
.preview .barra.anda { animation: anda 6.5s linear forwards; }
@keyframes anda { to { width: 100%; } }
#recursos .caption { margin-top: 14px; color: var(--t2); font-size: 15px; max-width: 70ch; }
@media (max-width: 900px) { #recursos .features { grid-template-columns: 1fr; } }

#viabilidade .head .ctas { margin-top: 6px; }

/* para quem */
.quem { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.quem li { display: grid; gap: 12px; align-content: start; padding: 28px 26px 30px; background: var(--papel); border: 1px solid var(--ln); border-radius: var(--r); box-shadow: var(--sombra-1), var(--brilho); }
.quem .k { color: var(--azul); }
.quem h3 { font-size: 24px; max-width: 14ch; }
.quem p { color: var(--t2); font-size: 15px; }
@media (max-width: 900px) { .quem { grid-template-columns: 1fr; } }

/* telas */
#telas .devices { margin-top: 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: center; }
.dv { position: relative; border-radius: var(--r); overflow: hidden; background: var(--onix); box-shadow: var(--sombra-2); padding: 10px; }
.dv .scrn { position: relative; aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; background: #15171a; }
.dv .scrn img, .dv .scrn svg { width: 100%; height: 100%; object-fit: cover; }
.dv .ui { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 6px; padding: 6px; border-radius: 14px; background: rgba(14,15,16,.45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 12px; color: rgba(255,255,255,.8); width: max-content; }
.dv .ui span { padding: 7px 12px; border-radius: 9px; } .dv .ui span.on { background: #fff; color: var(--onix); font-weight: 600; }
.dv .ui.fone { width: auto; flex-direction: column; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.72); color: var(--onix); }
.dv .ui.fone b { height: 10px; width: 60%; border-radius: 4px; background: rgba(14,15,16,.75); }
.dv .ui.fone i { height: 8px; width: 85%; border-radius: 4px; background: rgba(14,15,16,.18); }
.dv .ui.fone span.on { text-align: center; background: #1d5fd6; color: #fff; margin-top: 4px; }
.dv.phone { padding: 12px; border-radius: 34px; max-width: 280px; }
.dv.phone .scrn { aspect-ratio: 9/19; border-radius: 26px; }
#telas .lado { display: grid; gap: 16px; justify-items: center; align-content: start; }
.devnote { margin-top: 18px; font-size: 14px; color: var(--t3); display: flex; align-items: center; gap: 10px; }
.devnote .ic, #plataforma .card .ico { width: 20px; height: 20px; }
@media (max-width: 900px) { #telas .devices { grid-template-columns: 1fr; } }

/* empreendimentos: carrossel */
.rail-wrap { margin-top: 44px; overflow: hidden; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail .estudo { scroll-snap-align: start; position: relative; aspect-ratio: 16/10; border-radius: var(--r); overflow: hidden; background: var(--papel); box-shadow: var(--sombra-1); }
.rail .estudo video, .rail .estudo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rail .lab { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.62); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border: 1px solid rgba(255,255,255,.5); color: #2a2b2e; font-size: 13px; }
.rail .lab strong { display: block; font-weight: 600; color: var(--onix); font-size: 15px; }
.rail .lab > span:last-child { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #6b6c70; white-space: nowrap; }
.rail-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ln-2); background: var(--papel); box-shadow: var(--sombra-1), var(--brilho); cursor: pointer; display: grid; place-items: center; transition: transform .18s var(--ease), box-shadow .2s var(--ease); }
.rail-nav button:hover { box-shadow: var(--sombra-2), var(--brilho); }
.rail-nav button:active { transform: scale(.95); }
.rail-nav .dots { display: flex; gap: 6px; }
.rail-nav .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ln-2); transition: background .2s, width .2s; }
.rail-nav .dots i.on { background: var(--azul); width: 18px; border-radius: 3px; }
@media (min-width: 901px) { .rail { grid-auto-columns: calc(50% - 8px); } }

/* viabilidade */
#viabilidade .vb { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 24px; margin-top: 44px; align-items: center; }
#viabilidade .vb-fig { position: relative; aspect-ratio: 16/11; border-radius: var(--r); overflow: hidden; background: var(--papel); box-shadow: var(--sombra-2); }
#viabilidade .vb-fig video, #viabilidade .vb-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vb-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 16px 18px; background: var(--papel); border: 1px solid var(--ln); border-radius: 16px; box-shadow: var(--sombra-1), var(--brilho); }
.vb-list li .k { width: 34px; height: 34px; border-radius: 10px; background: var(--azul-s); color: var(--azul); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.vb-list li strong { display: block; font-weight: 600; font-size: 15px; }
.vb-list li span { color: var(--t2); font-size: 14px; }
@media (max-width: 900px) { #viabilidade .vb { grid-template-columns: 1fr; } }

/* acesso */
#acesso .dash { margin-top: 44px; display: grid; grid-template-columns: 1fr minmax(300px, 380px) 1fr; gap: 20px; align-items: center; perspective: 1400px; }
#acesso .side { aspect-ratio: 4/3.2; border-radius: var(--r); overflow: hidden; background: var(--papel); box-shadow: var(--sombra-1); transform: rotateY(var(--ry, 0)) translateX(var(--tx, 0)); transition: transform 1s var(--sai), opacity 1s var(--sai); opacity: .7; }
#acesso .side.l { --ry: 18deg; --tx: 14px; } #acesso .side.r { --ry: -18deg; --tx: -14px; }
#acesso .dash.on .side { --ry: 8deg; --tx: 0; opacity: 1; }
#acesso .dash.on .side.r { --ry: -8deg; }
#acesso .side svg { width: 100%; height: 100%; }
#acesso .login { padding: 28px 26px; display: grid; gap: 16px; }
#acesso .login .lh { display: grid; gap: 6px; }
#acesso .login .lh .mk { width: 20px; height: 38px; color: var(--logo-cor); margin-bottom: 10px; }
#acesso .login .lh .t { font-family: var(--fd); font-weight: 600; font-size: 24px; letter-spacing: -.02em; }
#acesso .login .lh small { color: var(--t2); font-size: 14px; }
#acesso .login p { color: var(--t2); font-size: 14px; }
#acesso .login .esq { font-size: 13px; color: var(--t3); text-align: center; }
#acesso .login .esq:hover { color: var(--azul); }
@media (max-width: 900px) { #acesso .dash { grid-template-columns: 1fr; } #acesso .side { display: none; } }

/* fechamento */
.final { padding-bottom: clamp(56px, 7vw, 96px); }
.final .card { position: relative; overflow: hidden; isolation: isolate; padding: clamp(48px, 7vw, 96px); display: grid; gap: 20px; text-align: left; background: #1d5fd6; color: #fff; border-color: transparent; box-shadow: 0 2px 6px rgba(29,95,214,.2), 0 40px 80px -30px rgba(29,95,214,.6); }
.final .raios { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.final .card .eyebrow { color: rgba(255,255,255,.65); font-family: var(--mono); letter-spacing: .16em; }
.final .card h2 { color: #fff; max-width: 14ch; }
.final .card p { color: rgba(255,255,255,.8); max-width: 56ch; font-size: 17px; }
.final .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.final .btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; box-shadow: none; }
.final .btn:hover { background: rgba(255,255,255,.12); }
.final .btn.solid { background: #fff; border-color: #fff; color: #1d5fd6; }

footer { padding: 18px 0 32px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 13px; color: var(--t3); }
footer .wrap .brand { margin-right: auto; }
footer .wrap .brand .mk { width: 16px; height: 30px; }
footer a:hover { color: var(--tx); }

/* barra do editor de textos (quem está logado como master) */
#edbar { position: fixed; left: 12px; bottom: 12px; z-index: 9990; display: flex; gap: 6px; align-items: center; font: 500 12px/1 var(--f); background: var(--vidro); color: var(--tx); border: 1px solid var(--ln-2); border-radius: 99px; padding: 6px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--sombra-2); }
#edbar button, #edbar a { font: inherit; color: inherit; background: none; border: 1px solid var(--ln-2); border-radius: 99px; padding: 9px 12px; cursor: pointer; text-decoration: none; }
#edbar .pr { background: var(--azul); color: #fff; border-color: var(--azul); }
#edbar .sec { opacity: .7; }
body.editando [data-k] { outline: 1px dashed rgba(29,95,214,.55); outline-offset: 3px; cursor: text; }
body.editando [data-k]:focus { outline: 1px solid var(--azul); background: var(--azul-s); }
body.editando [data-k].mud { outline-color: #2e9e5b; }
body.editando .reveal { opacity: 1 !important; transform: none !important; }
#edbar .inf { padding: 0 8px; opacity: .7; }
#edtoast { position: fixed; left: 50%; bottom: 72px; transform: translateX(-50%); z-index: 9991; background: var(--onix); color: #fff; font: 500 13px/1.3 var(--f); padding: 10px 16px; border-radius: 99px; box-shadow: var(--sombra-2); }
#edtoast.err { background: #b8402c; }
