/* Site público do Orça (/vitrine.html): abas Home, Ferramenta, Sobre nós e Contato, no molde do site do DesignPlan.
   Mesmos tokens do app e do ripados-site (laranja das ripas como único destaque), palco noturno e cenas 3D.
   Sem fontes externas: a CSP do app só permite arquivos próprios. */
:root {
  --bg: #0b0f11; --bg-2: #0f1517; --surface: #131b1e; --surface-2: #192326; --surface-3: #202c2f;
  --stage: #111719; --ink: #efebe4; --muted: #a9b1b0; --faint: #7a8584;
  --line: rgba(239,235,228,.1); --line-2: rgba(239,235,228,.2);
  --accent: #e58900; --accent-ink: #1a1100; --luz: #ffc078; --wood: #b4825a;
  --ok: #4cc38a; --bad: #ef6b5e;
  --f-display: "Archivo Narrow", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --f-body: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
a { color: inherit; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.eyebrow { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--luz); margin-bottom: 12px; }

/* topo: marca, quatro abas e o botão de entrar */
.topo { position: sticky; top: 0; z-index: 30; background: rgba(11,15,17,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topo .wrap { display: flex; align-items: center; gap: 12px 24px; padding-block: 10px; flex-wrap: wrap; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marca img { width: 38px; height: 38px; }
.marca b { font: 800 20px/1 var(--f-display); display: block; }
.marca b span { color: var(--accent); }
.marca small { display: block; font: 500 10px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }
.abas { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.abas::-webkit-scrollbar { display: none; }
.abas a { flex: none; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); padding: 9px 14px; border-radius: 8px; transition: color .15s, background-color .15s; }
.abas a:hover { color: var(--ink); background: rgba(239,235,228,.06); }
.abas a[aria-current="page"] { color: var(--ink); background: rgba(239,235,228,.08); box-shadow: inset 0 -2px 0 var(--accent); }
.entrar { flex: none; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--accent-ink); background: var(--accent); border-radius: 10px; padding: 10px 16px; box-shadow: 0 0 0 0 rgba(229,137,0,.5), 0 8px 24px rgba(229,137,0,.25); transition: background-color .15s, transform .1s, box-shadow .2s; }
.entrar:hover { background: #f09a17; box-shadow: 0 0 0 4px rgba(229,137,0,.18), 0 8px 28px rgba(229,137,0,.35); }
.entrar:active { transform: scale(.98); }
.entrar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 820px) { .topo .wrap { padding-block: 8px 0; row-gap: 4px; } .marca { flex: 1; min-width: 0; } .marca small { display: none; } .entrar { order: 2; } .abas { order: 3; margin-left: 0; width: 100%; } .abas a { padding: 10px 12px; font-size: 14.5px; } }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: 600 15px/1 var(--f-body); text-decoration: none; height: 48px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, transform .1s; }
.btn:active { transform: scale(.98); }
.btn.prim { background: var(--accent); color: var(--accent-ink); }
.btn.prim:hover { background: #f09a17; }
.btn.sec { border-color: rgba(239,235,228,.28); color: var(--ink); background: rgba(17,23,25,.35); }
.btn.sec:hover { border-color: rgba(239,235,228,.5); }
.btn.claro { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.acoes { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* cabeçalho de seção */
section.wrap, .secao { padding-block: 72px; }
.cab { margin-bottom: 34px; max-width: 720px; }
.cab h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1; }
.cab p { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 56ch; }

/* ===== HOME: abertura com a cena 3D do DesignPlan ===== */
.palco { position: relative; background: var(--stage); overflow: hidden; }
.palco .v3 { position: relative; height: min(84vh, 760px); min-height: 460px; cursor: grab; }
.palco .v3.arrastando { cursor: grabbing; }
.palco .v3 canvas { display: block; width: 100%; height: 100%; }
.v3-cotas { position: absolute; inset: 0; pointer-events: none; }
.v3-cotas span { position: absolute; left: 0; top: 0; font: 500 12px/1 var(--f-mono); color: #ffb04a; background: rgba(17,23,25,.78); padding: 4px 7px; border-radius: 5px; white-space: nowrap; }
.palco .texto { position: absolute; left: 0; right: 0; bottom: 0; padding-block: 0 44px; pointer-events: none; background: linear-gradient(0deg, rgba(17,23,25,.94) 0%, rgba(17,23,25,.55) 45%, rgba(17,23,25,0) 100%); }
.palco .texto .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.chamado { max-width: 580px; pointer-events: auto; }
.palco h1 { font-size: clamp(40px, 5.4vw, 70px); line-height: .96; }
.palco .sub { color: var(--muted); font-size: 18px; line-height: 1.55; max-width: 48ch; margin-top: 18px; }
.ajustes { pointer-events: auto; display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: rgba(17,23,25,.72); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ajustes .linha { display: flex; align-items: center; gap: 10px; }
.ajustes .rot { font-size: 13px; color: var(--muted); width: 56px; flex: none; }
.seg { display: flex; gap: 4px; flex-wrap: wrap; }
.seg button { font: 500 13px/1 var(--f-body); color: var(--ink); background: rgba(239,235,228,.05); border: 1px solid rgba(239,235,228,.12); border-radius: 999px; padding: 7px 11px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: border-color .15s, background-color .15s; }
.seg button:hover { border-color: rgba(239,235,228,.3); }
.seg button[aria-pressed="true"] { border-color: var(--luz); background: rgba(255,192,120,.12); }
.seg i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dica { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); top: 16px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; pointer-events: none; }
.dica svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.sem3d-aviso { display: none; padding-block: 36px; color: var(--muted); }
.sem3d > .v3, .sem3d > .dica { display: none; }
.sem3d > .sem3d-aviso { display: block; }
.palco.sem3d .texto { position: static; background: none; padding-block: 24px 48px; }
@media (max-width: 820px) {
  .palco .v3 { height: 60vh; min-height: 340px; }
  .palco .texto { position: relative; background: var(--stage); padding-block: 24px 36px; }
  .palco .texto .wrap { flex-direction: column; align-items: stretch; }
  .palco .ajustes { position: absolute; left: 12px; right: 12px; bottom: calc(100% + 12px); padding: 10px; }
  .palco .ajustes .seg { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; }
  .palco .ajustes .seg::-webkit-scrollbar { display: none; }
  .palco .ajustes .seg button { flex: none; }
  .palco .ajustes .linha { min-width: 0; }
  .dica { top: 12px; }
}

/* home: três pilares e chamada */
.pilares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1100px; }
@media (max-width: 820px) { .pilares { grid-template-columns: minmax(0, 1fr); } }
.pilar { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px 26px; position: relative; overflow: hidden; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .2s ease-out, border-color .2s; }
.pilar::before { content: ""; position: absolute; left: 26px; top: 0; width: 40px; height: 3px; background: var(--accent); box-shadow: 0 0 16px 3px rgba(229,137,0,.4); }
.pilar:hover { border-color: rgba(255,192,120,.5); }
.pilar .n { font: 500 13px var(--f-mono); color: var(--luz); }
.pilar h3 { font-size: 28px; line-height: 1.05; margin-top: 8px; }
.pilar p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.chamada { background: var(--stage); border: 1px solid var(--line); border-radius: 18px; padding: 34px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 56px; position: relative; overflow: hidden; }
.chamada::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--luz); box-shadow: 0 0 18px 4px rgba(255,192,120,.5); }
.chamada h3 { font-size: clamp(26px, 3.4vw, 36px); }
.chamada p { color: var(--muted); margin-top: 4px; }
.chamada .acoes { margin-top: 0; }

/* ===== FERRAMENTA: um passo por vez ===== */
#sec-ferramenta { padding-block: 40px 56px; }
#sec-ferramenta .cab { margin-bottom: 20px; }
#sec-ferramenta .cab h2 { font-size: clamp(28px, 3.4vw, 40px); }
#sec-ferramenta .cab .eyebrow { margin-bottom: 8px; }
.trilha { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin-bottom: 26px; }
.trilha::-webkit-scrollbar { display: none; }
.trilha button { flex: none; display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--f-body); color: var(--muted); background: rgba(239,235,228,.04); border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; cursor: pointer; transition: color .15s, border-color .15s, background-color .15s; }
.trilha button b { font: 500 12px var(--f-mono); color: var(--faint); }
.trilha button:hover { color: var(--ink); border-color: var(--line-2); }
.trilha button[aria-selected="true"] { color: var(--ink); border-color: var(--luz); background: rgba(255,192,120,.12); }
.trilha button[aria-selected="true"] b { color: var(--luz); }
.passo-cena { display: none; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 44px; align-items: center; min-height: 520px; }
.passo-cena.on { display: grid; }
@media (max-width: 960px) { .passo-cena.on { grid-template-columns: minmax(0, 1fr); gap: 26px; min-height: 0; } }
.passo-cena.on .txt { animation: sobe .5s ease both; }
.passo-cena.on .cena .obj { animation: entra .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes sobe { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes entra { from { opacity: 0; transform: rotateX(8deg) rotateY(calc(var(--dir, 1) * 22deg)) translateZ(-80px); } to { opacity: 1; } }
.txt h3 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1; margin-bottom: 16px; }
.txt p { color: var(--muted); font-size: 17.5px; max-width: 44ch; }
.txt .nota { font-size: 14px; color: var(--faint); margin-top: 12px; }
.ctrl { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.ctrl .pos { font: 500 13px var(--f-mono); color: var(--muted); }
.ctrl .btn { height: 44px; }
.ctrl .btn[disabled] { opacity: .35; cursor: default; }

/* cena 3D com a captura do app */
.cena { perspective: 1300px; position: relative; padding: 26px 22px 30px; }
.cena::before { content: ""; position: absolute; inset: 0; border-radius: 26px; background: radial-gradient(60% 50% at 50% 30%, rgba(255,192,120,.13), transparent 70%), var(--bg-2); border: 1px solid var(--line); }
.cena::after { content: ""; position: absolute; left: 14%; right: 14%; top: 0; height: 3px; background: var(--luz); box-shadow: 0 0 36px 10px rgba(255,192,120,.28); border-radius: 3px; opacity: .7; }
.obj { position: relative; transform-style: preserve-3d; width: 100%; display: grid; justify-items: center;
  transform: rotateX(calc(4deg + var(--rx, 0deg))) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; }
.sem-mov .obj { transition: none; }

/* janela do app */
.tela { margin: 0; width: fit-content; max-width: 100%; border-radius: 12px; background: #0b0f11; border: 1px solid var(--line-2); box-shadow: 0 36px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.03); transform-style: preserve-3d; position: relative; }
.tela-barra { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #151d20; border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; }
.tela-barra i { width: 9px; height: 9px; border-radius: 50%; background: #2c3a3d; }
.tela-barra i:first-child { background: #ef6b5e; } .tela-barra i:nth-child(2) { background: #e5b000; } .tela-barra i:nth-child(3) { background: #4cc38a; }
.tela-barra span { margin-left: 8px; font: 500 11px var(--f-mono); color: var(--faint); background: #0f1517; padding: 3px 10px; border-radius: 6px; flex: 1; max-width: 320px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tela .vidro { position: relative; transform-style: preserve-3d; border-radius: 0 0 12px 12px; }
.tela .vidro img { width: auto; height: auto; max-width: 100%; max-height: min(60vh, 600px); border-radius: 0 0 12px 12px; }
.tela.papel { border-radius: 4px; background: #fff; }
.tela.papel .tela-barra { display: none; }
.tela.papel .vidro, .tela.papel .vidro img { border-radius: 3px; }
.tela[data-zoom] { cursor: zoom-in; }
.tela[data-zoom]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.dica-zoom { margin-top: 14px; text-align: center; font-size: 13px; color: var(--faint); position: relative; }

/* pinos de destaque sobre a tela */
.pin { position: absolute; left: var(--x); top: var(--y); transform: translateZ(46px); display: flex; align-items: center; gap: 8px; z-index: 3; pointer-events: none; }
.pin::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 2px solid #fff3df; animation: pulsa 2.2s infinite; }
.pin span { font: 600 12px/1.2 var(--f-body); color: var(--accent-ink); background: var(--luz); padding: 5px 9px; border-radius: 6px; white-space: nowrap; box-shadow: 0 8px 22px rgba(0,0,0,.45); }
.pin.esq { flex-direction: row-reverse; transform: translateZ(46px) translateX(-100%); }
@keyframes pulsa { 0% { box-shadow: 0 0 0 0 rgba(229,137,0,.65); } 70% { box-shadow: 0 0 0 12px rgba(229,137,0,0); } 100% { box-shadow: 0 0 0 0 rgba(229,137,0,0); } }
@media (max-width: 640px) { .pin span { display: none; } }

/* ampliar a captura */
.zoom { border: 0; padding: 0; background: transparent; width: min(1500px, 96vw); max-height: 94vh; color: var(--ink); overflow: visible; }
.zoom::backdrop { background: rgba(5,8,9,.86); backdrop-filter: blur(4px); }
.zoom-in { max-height: 94vh; overflow: auto; border-radius: 12px; border: 1px solid var(--line-2); background: #0b0f11; }
.zoom-in img { width: 100%; height: auto; display: block; }
.zoom-fechar { position: absolute; right: 10px; top: 10px; z-index: 2; font: 600 14px var(--f-body); color: var(--ink); background: rgba(17,23,25,.92); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 12px; cursor: pointer; }
.zoom-leg { position: absolute; left: 10px; top: 10px; z-index: 2; font: 500 12px var(--f-mono); color: var(--accent-ink); background: var(--luz); border-radius: 6px; padding: 6px 10px; }

/* passo 1: planilha */
.folha { background: #1d2628; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px; transform-style: preserve-3d; box-shadow: 0 30px 60px rgba(0,0,0,.45); width: min(520px, 100%); }
.cab-plan, .lin { display: grid; grid-template-columns: .9fr 1.6fr .5fr 1fr; gap: 1px; font-size: 12px; position: relative; transform-style: preserve-3d; }
.cab-plan span { background: #2b373a; color: var(--faint); text-align: center; padding: 5px; }
.lin span { background: #151c1e; padding: 8px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lin.erro { transform: translateZ(var(--z, 0px)); }
.lin.erro span { background: rgba(239,107,94,.14); color: #ffb3aa; outline: 1px solid rgba(239,107,94,.45); }
.lin.erro b { position: absolute; right: -6px; top: -11px; font: 600 10.5px var(--f-mono); color: #1b0b09; background: var(--bad); padding: 3px 7px; border-radius: 4px; transform: translateZ(14px); white-space: nowrap; }
.lin + .lin, .cab-plan + .lin { margin-top: 18px; }

/* demos curtas */
.demo { margin-top: 18px; display: grid; gap: 10px; max-width: 420px; }
.campo { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.campo input[type=text], .campo input[type=number], .campo input:not([type]) { height: 44px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 16px; width: 100%; }
.campo input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(229,137,0,.25); }
.campo input[type=range] { accent-color: var(--luz); width: 100%; }
.calc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.calc .larga { grid-column: 1 / -1; }
.resp { font-size: 15px; min-height: 24px; }
.resp.ok { color: var(--ok); } .resp.err { color: var(--bad); }
.resultado { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.resultado dt { color: var(--muted); font-size: 14px; }
.resultado dd { margin: 0; color: var(--luz); font-weight: 700; font-size: 20px; }
.seg2 { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); width: fit-content; }
.seg2 button { font: 600 14px/1 var(--f-body); color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer; transition: background-color .15s, color .15s; }
.seg2 button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

/* margem: cartão que flutua à frente do catálogo */
.flutua { position: absolute; right: 2%; bottom: 4%; width: min(300px, 70%); transform: translateZ(90px) rotateY(-6deg); }
.margem { background: rgba(25,35,38,.97); border: 1px solid var(--line-2); border-radius: 16px; padding: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.margem h4 { margin: 0 0 4px; font: 700 12px var(--f-mono); color: var(--luz); letter-spacing: .06em; text-transform: uppercase; }
.medidor { position: relative; padding-top: 20px; }
.barra { height: 14px; border-radius: 8px; background: var(--surface); overflow: hidden; border: 1px solid var(--line); }
.barra i { display: block; height: 100%; width: 40%; border-radius: 8px; background: var(--ok); transition: width .25s ease, background-color .25s; }
.linha-min { position: absolute; top: 0; bottom: -6px; left: 62.5%; width: 0; border-left: 2px dashed var(--luz); }
.linha-min span { position: absolute; top: -4px; left: 6px; font-size: 10.5px; color: var(--luz); white-space: nowrap; }
.mg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.mg div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.mg dt { font-size: 11px; color: var(--faint); }
.mg dd { font-size: 13px; font-weight: 600; margin-top: 2px; white-space: nowrap; }
.aviso { margin-top: 12px; font-size: 12.5px; color: var(--ok); font-weight: 600; }
.aviso.baixo { color: var(--bad); }
.so-com { display: none; margin-top: 12px; color: var(--muted); font-size: 13px; }
.margem.comercial .so-master { filter: blur(7px); opacity: .45; user-select: none; }
.margem.comercial .medidor, .margem.comercial .aviso { display: none; }
.margem.comercial .so-com { display: block; }
@media (max-width: 960px) { .flutua { position: relative; right: auto; bottom: auto; width: 100%; max-width: 340px; margin-top: 18px; transform: none; } }

/* ===== SOBRE NÓS e CONTATO ===== */
.faixa3d { position: relative; background: var(--stage); border-radius: 20px; overflow: hidden; margin-bottom: 38px; }
.faixa3d .v3 { height: clamp(320px, 42vw, 500px); cursor: grab; position: relative; }
.faixa3d .v3 canvas { display: block; width: 100%; height: 100%; }
.faixa3d .ajustes { border-radius: 0; border: 0; border-top: 1px solid var(--line); background: rgba(239,235,228,.04); backdrop-filter: none; -webkit-backdrop-filter: none; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.faixa3d.sem3d { display: none; }
.sobre { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 44px; align-items: start; }
@media (max-width: 820px) { .sobre { grid-template-columns: minmax(0, 1fr); } }
.sobre .texto p { font-size: 19px; max-width: 54ch; }
.sobre .texto p + p { margin-top: 14px; color: var(--muted); font-size: 16.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags span { font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.cartao-logo { background: var(--stage); border: 1px solid var(--line); border-radius: 18px; padding: 36px; display: grid; place-items: center; gap: 16px; color: var(--muted); text-align: center; position: relative; overflow: hidden; }
.cartao-logo img { width: min(190px, 60%); height: auto; position: relative; }
.cartao-logo::before { content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 3px; background: var(--luz); box-shadow: 0 0 40px 18px rgba(255,192,120,.22); }
.contatos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .contatos { grid-template-columns: minmax(0, 1fr); } }
.ct { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; color: inherit; transition: border-color .15s; }
.ct:hover { border-color: var(--accent); }
.ct .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--stage); display: grid; place-items: center; }
.ct .ic svg { width: 22px; height: 22px; stroke: var(--luz); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct b { display: block; font-size: 17px; }
.ct small { display: block; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.ct .seta { color: var(--muted); font-size: 22px; }
.regiao { margin-top: 20px; color: var(--muted); }

/* contato: onde estamos e como chegar */
.onde { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; margin-top: 56px; align-items: stretch; }
@media (max-width: 900px) { .onde { grid-template-columns: minmax(0, 1fr); } }
.onde-info { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.onde-info h3 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1; }
.onde-info address { font-style: normal; color: var(--muted); font-size: 17px; margin-top: 14px; line-height: 1.55; }
.rota { margin-top: 22px; display: grid; gap: 10px; }
.rota .acoes { margin-top: 8px; }
.rota .btn { height: 44px; font-size: 14.5px; }
.link-geo { justify-self: start; background: none; border: 0; padding: 0; font: 600 14px var(--f-body); color: var(--luz); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-geo:hover { color: #ffd9a8; }
.onde-mapa { position: relative; min-height: 380px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--stage); }
.onde-mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.mapa-reserva { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center; color: var(--muted);
  background: radial-gradient(60% 60% at 50% 40%, rgba(255,192,120,.12), transparent 70%), repeating-linear-gradient(90deg, rgba(239,235,228,.035) 0 1px, transparent 1px 44px), repeating-linear-gradient(0deg, rgba(239,235,228,.035) 0 1px, transparent 1px 44px), var(--stage); }
.mapa-reserva svg { width: 44px; height: 44px; fill: none; stroke: var(--luz); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 14px rgba(255,192,120,.55)); }
.mapa-reserva b { color: var(--ink); font: 800 22px var(--f-display); }
.mapa-reserva span { max-width: 34ch; font-size: 14px; }

/* WhatsApp flutuante (contato e orçamento) */
.wa-flutuante { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; gap: 0; text-decoration: none; }
.wa-rot { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; font: 600 14px var(--f-body); color: var(--ink); background: rgba(17,23,25,.95); border: 1px solid var(--line-2); border-radius: 999px 0 0 999px; padding: 14px 0; transition: max-width .3s ease, opacity .2s, padding .3s; margin-right: -26px; }
.wa-ic { position: relative; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,.55); animation: wa-pulsa 2.6s infinite; transition: transform .15s; }
.wa-ic svg { width: 34px; height: 34px; }
.wa-flutuante:hover .wa-ic, .wa-flutuante:focus-visible .wa-ic { transform: scale(1.06); }
.wa-flutuante:hover .wa-rot, .wa-flutuante:focus-visible .wa-rot { max-width: 300px; opacity: 1; padding: 14px 40px 14px 18px; }
@keyframes wa-pulsa { 0% { box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,0); } }
@media (max-width: 640px) { .wa-ic { width: 56px; height: 56px; } .wa-flutuante:hover .wa-rot { max-width: 0; opacity: 0; padding: 14px 0; } }
@media (prefers-reduced-motion: reduce) { .wa-ic { animation: none; } }

footer { background: var(--stage); color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 26px; }
footer a { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .passo-cena.on .txt, .passo-cena.on .cena .obj { animation: none; }
  .obj, .pilar { transition: none !important; }
  .pin::before { animation: none; }
}
