/* Seu Site On — conceito "interruptor": o símbolo da logo liga o site. */

@font-face { font-family: "League Spartan"; src: url("../fonts/league-spartan.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --azul: #0A82DA;
  --fs-display: "League Spartan", "Arial Black", system-ui, sans-serif;
  --fs-texto: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --raio-g: 28px;
  --raio-m: 18px;
  --raio-p: 10px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --topo-h: 72px;

  /* claro: "ligado" */
  --bg: #EEF3F9;
  --bg-2: #FFFFFF;
  --bg-3: #E2EAF4;
  --tinta: #0A1628;
  --suave: #44556C;
  --linha: rgba(10, 22, 40, .12);
  --marca: #0A82DA;
  --marca-tx: #0862A8;
  --btn-bg: #0870C0;
  --btn-tx: #FFFFFF;
  --brilho: rgba(10, 130, 218, .28);
  --sombra: 0 30px 60px -30px rgba(10, 40, 80, .35);
  color-scheme: light;
}

/* escuro: "desligado" */
[data-theme="dark"], .escuro {
  --bg: #060A12;
  --bg-2: #0D1522;
  --bg-3: #131E2F;
  --tinta: #E8EEF6;
  --suave: #97A7BC;
  --linha: rgba(232, 238, 246, .12);
  --marca: #2E9BF0;
  --marca-tx: #6BBBF7;
  --btn-bg: #2E9BF0;
  --btn-tx: #04111F;
  --brilho: rgba(46, 155, 240, .45);
  --sombra: 0 30px 70px -30px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* sem JavaScript, segue o sistema */
@media (prefers-color-scheme: dark) {
  html:not(.js) {
    --bg: #060A12; --bg-2: #0D1522; --bg-3: #131E2F; --tinta: #E8EEF6; --suave: #97A7BC;
    --linha: rgba(232, 238, 246, .12); --marca: #2E9BF0; --marca-tx: #6BBBF7; --btn-bg: #2E9BF0; --btn-tx: #04111F;
    --brilho: rgba(46, 155, 240, .45); color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--topo-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tinta);
  font-family: var(--fs-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fs-display); line-height: 1.02; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; text-wrap: balance; }
h3 { font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--marca); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.pular { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn-bg); color: var(--btn-tx); padding: 10px 16px; border-radius: 8px; }
.pular:focus { top: 12px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--fs-texto); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--btn-bg); color: var(--btn-tx); box-shadow: 0 12px 30px -12px var(--brilho); }
.btn-wa:hover { box-shadow: 0 18px 40px -12px var(--brilho); }
.btn-linha { border-color: var(--linha); color: var(--tinta); background: transparent; }
.btn-linha:hover { border-color: var(--marca); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn-sm svg { width: 18px; height: 18px; }

/* ---------- topo ---------- */
.topo { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--topo-h); }
.topo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--linha);
  opacity: 0; transition: opacity .3s;
}
.topo.rolou::before { opacity: 1; }
.topo-in { height: 100%; width: min(1280px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.marca { display: block; color: var(--tinta); flex: none; }
.topo .logo { height: 34px; width: auto; aspect-ratio: 698 / 114; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--suave); transition: color .2s, background-color .2s; }
.menu a:hover { color: var(--tinta); background: var(--bg-3); }
.topo-acoes { display: flex; align-items: center; gap: 12px; }
.tema { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--linha); }
.tema button { width: 32px; height: 32px; border: 0; border-radius: 999px; background: transparent; color: var(--suave); display: grid; place-items: center; cursor: pointer; padding: 0; }
.tema svg { width: 17px; height: 17px; }
.tema button[aria-pressed="true"] { background: var(--bg-3); color: var(--tinta); }
.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: center;
  padding: calc(var(--topo-h) + 24px) 0 48px;
  overflow: clip;
  isolation: isolate;
}
.hero::before {
  /* halo de luz que acompanha o interruptor */
  content: ""; position: absolute; z-index: -2;
  width: 900px; height: 900px; right: -180px; top: 50%; translate: 0 -50%;
  background: radial-gradient(closest-side, var(--brilho), transparent 70%);
  opacity: calc(.35 + var(--luz, 1) * .65);
  pointer-events: none;
}
.hero-chao {
  position: absolute; z-index: -1; left: -50%; right: -50%; bottom: -10%; height: 70%;
  background-image:
    linear-gradient(var(--linha) 1px, transparent 1px),
    linear-gradient(90deg, var(--linha) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: calc(var(--mx, 0) * 40px) calc(var(--sy, 0) * 64px);
  transform: perspective(700px) rotateX(72deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 75%);
  mask-image: linear-gradient(to top, #000 10%, transparent 75%);
  pointer-events: none;
}
.hero-in { width: min(1280px, 100% - 48px); margin-inline: auto; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 32px; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); font-weight: 800; letter-spacing: -.035em; line-height: .95; text-wrap: balance; }
.on-word { color: var(--marca-tx); text-shadow: 0 0 calc(var(--luz, 1) * 28px) var(--brilho); transition: text-shadow .6s; }
.lead { margin-top: 26px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--suave); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-nota { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-size: .95rem; color: var(--suave); text-decoration: none; }
.hero-nota strong { color: var(--tinta); }
.hero-nota:hover { color: var(--tinta); }
.estrelas { display: inline-flex; gap: 2px; color: #F5B301; }
.estrelas svg { width: 16px; height: 16px; }

/* palco 3D */
.hero-palco { position: relative; display: grid; place-items: center; }
.interruptor {
  --rx: 14deg; --ry: -24deg; --e: 1; --luz: 1;
  position: relative; display: block;
  width: min(560px, 44vw, 62svh); aspect-ratio: 1;
  border: 0; padding: 0; background: none; cursor: pointer; color: var(--marca);
  perspective: 1100px;
  -webkit-tap-highlight-color: transparent;
}
.interruptor:focus-visible { outline-offset: -20px; border-radius: 50%; }
.obj {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
}
.cam, .corpo { position: absolute; inset: 8% 4%; display: block; transform-style: preserve-3d; pointer-events: none; }
.cam { transform: translateZ(calc(var(--z) * var(--e) * 58px)); }
.cam svg { width: 100%; height: 100%; overflow: visible; }
.cam-grade { color: var(--marca); opacity: calc(var(--e) * .55); }
.cam-codigo {
  inset: auto auto 6% 6%; width: max-content;
  font: 500 .82rem/1 var(--fs-texto); letter-spacing: .04em;
  color: var(--suave); opacity: calc(var(--e) * .9);
  padding: 8px 12px; border: 1px solid var(--linha); border-radius: 8px;
  background: color-mix(in srgb, var(--bg-2) 70%, transparent);
}
.corpo .fatia { position: absolute; inset: 0; transform: translateZ(calc(var(--i) * -2.2px)); color: #064A86; }
.corpo .fatia svg { width: 100%; height: 100%; }
[data-theme="dark"] .corpo .fatia { color: #053A6A; }
.cam-face svg { filter: drop-shadow(0 30px 40px rgba(6, 50, 100, .35)); }
.cam-escudo { color: var(--marca-tx); opacity: calc(var(--e) * .75); }
.cam-ponto svg { filter: drop-shadow(0 0 calc(var(--luz) * 26px) rgba(92, 184, 255, calc(var(--luz) * .95))); transition: filter .5s; }
.cam-ponto path { transition: opacity .4s; opacity: calc(.35 + var(--luz) * .65); }
.cam-orbita { color: var(--marca-tx); opacity: calc(var(--e) * .8); }
.palco-legenda { margin-top: 6px; font-size: .85rem; color: var(--suave); }

/* ---------- seções ---------- */
.sec { padding: clamp(88px, 12vw, 150px) 0; }
.sec-cab { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 48px; }
.sec-cab p { color: var(--suave); font-size: 1.1rem; max-width: 30em; }

/* serviços: bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 16px; perspective: 1400px; }
.card {
  --tx: 0deg; --ty: 0deg; --px: 50%; --py: 50%;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: var(--raio-m);
  background: var(--bg-2); color: var(--tinta);
  border: 1px solid var(--linha);
  transform: rotateX(var(--tx)) rotateY(var(--ty));
  transition: transform .5s var(--ease), border-color .3s;
  transform-style: preserve-3d;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(380px circle at var(--px) var(--py), var(--brilho), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.card.ativo::after { opacity: .55; }
.card.ativo { transition: transform .12s linear, border-color .3s; border-color: color-mix(in srgb, var(--marca) 40%, var(--linha)); }
.card .ico { width: 34px; height: 34px; color: var(--marca-tx); transform: translateZ(30px); }
.card h3 { transform: translateZ(24px); }
.card p { color: var(--suave); font-size: 1rem; }
.link-wa { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .97rem; color: var(--marca-tx); text-decoration: none; position: relative; z-index: 1; }
.link-wa svg { width: 18px; height: 18px; }
.link-wa:hover { text-decoration: underline; text-underline-offset: 4px; }

.card-web { grid-column: span 2; grid-row: span 2; padding: 36px; justify-content: flex-end; }
.card-web h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; }
.card-web p { font-size: 1.08rem; max-width: 30em; }
.card-sec { background: linear-gradient(140deg, #0D1A2D, #060A12 70%); }
.card-largo { grid-column: span 2; }
.card-trafego {
  grid-column: span 2;
  --tinta: #FFFFFF; --suave: rgba(255, 255, 255, .82); --marca-tx: #FFFFFF; --linha: rgba(255, 255, 255, .22); --brilho: rgba(255, 255, 255, .25);
  background: radial-gradient(120% 140% at 100% 0%, #2E9BF0 0%, #0A82DA 38%, #064A86 100%);
  border-color: transparent;
}
.card-trafego h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 800; max-width: 12em; }
.card-trafego p { font-size: 1.05rem; max-width: 32em; }
.card-acoes { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.card-acoes .link-wa { margin-top: 0; }

/* ---------- tráfego pago ---------- */
.trafego { background: var(--bg-3); overflow: clip; }
.trafego-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.trafego .lead { margin-top: 22px; }
.canais { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.canal { padding: 24px; border-radius: var(--raio-m); background: var(--bg-2); border: 1px solid var(--linha); display: flex; flex-direction: column; gap: 10px; }
.canal h3 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; }
.canal-ico { width: 24px; height: 24px; color: var(--marca-tx); flex: none; }
.canal p { color: var(--suave); font-size: .98rem; }
.trafego-dif { margin-top: 26px; padding-left: 14px; border-left: 2px solid var(--marca); color: var(--tinta); max-width: 36em; }

.rota { --p: 1; position: relative; aspect-ratio: 1 / .95; perspective: 1300px; }
.rota-obj { --rx: 16deg; --ry: -20deg; position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.rota-linhas { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: translateZ(80px); }
.rota-linhas path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.rota-base { stroke: var(--linha); stroke-width: 2; stroke-dasharray: 2 6; }
.rota-luz { stroke: var(--marca); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p)); filter: drop-shadow(0 0 6px var(--brilho)); }
.peca {
  position: absolute; display: block; padding: 12px;
  border-radius: 14px; background: var(--bg-2); border: 1px solid var(--linha);
  box-shadow: var(--sombra);
  transform: translateZ(calc(var(--z) * 1px));
  opacity: .5; transition: opacity .5s, border-color .5s, box-shadow .5s;
  font-size: .78rem; line-height: 1.3;
}
.peca.aceso { opacity: 1; border-color: color-mix(in srgb, var(--marca) 55%, transparent); box-shadow: var(--sombra), 0 0 0 4px color-mix(in srgb, var(--marca) 12%, transparent), 0 20px 60px -20px var(--brilho); }
.peca-rot { position: absolute; top: -26px; left: 2px; font-weight: 600; font-size: .78rem; color: var(--suave); white-space: nowrap; }
.peca span:not(.peca-rot) { display: block; }

.peca-google { left: 0; top: 6%; width: 40%; }
.busca { display: flex !important; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--linha); color: var(--suave); margin-bottom: 12px; }
.busca i { width: 10px; height: 10px; border: 1.5px solid currentColor; border-radius: 50%; flex: none; }
.ad-tag { font-weight: 700; font-size: .7rem; color: var(--tinta); }
.ad-url { color: var(--suave); font-size: .72rem; margin: 2px 0 4px; }
.ad-tit { color: var(--marca-tx); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.ad-txt { height: 6px; border-radius: 4px; background: var(--bg-3); margin-top: 6px; }
.ad-txt.l2 { width: 70%; }

.peca-meta { left: 4%; top: 52%; width: 34%; }
.post-topo { display: flex !important; align-items: center; gap: 8px; margin-bottom: 10px; }
.post-topo i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(140deg, var(--marca), #064A86); flex: none; }
.post-topo b { height: 6px; width: 40%; border-radius: 4px; background: var(--bg-3); }
.post-topo em { margin-left: auto; font-style: normal; font-size: .68rem; color: var(--suave); }
.post-img { aspect-ratio: 4 / 3; border-radius: 8px; background: radial-gradient(circle at 70% 30%, #5CB8FF, #0A82DA 45%, #064A86); }
.post-btn { margin-top: 10px; padding: 7px 10px; border-radius: 8px; background: var(--bg-3); font-weight: 600; text-align: center; }

.peca-site { left: 52%; top: 18%; width: 46%; height: 42%; padding: 0; overflow: hidden; }
.peca-site .peca-rot { position: absolute; }
.peca-site .mini-barra { position: static; height: 22px; padding-left: 10px; border-bottom: 1px solid var(--linha); display: flex !important; align-items: center; gap: 5px; }
.peca-site .mini-barra i { width: 7px; height: 7px; border-radius: 50%; background: var(--linha); }
.site-tit { margin: 16px 0 0 12px; height: 12px; width: 55%; border-radius: 4px; background: var(--tinta); opacity: .85; }
.site-sub { margin: 8px 0 0 12px; height: 6px; width: 40%; border-radius: 4px; background: var(--bg-3); }
.site-btn { margin: 12px 0 0 12px; height: 20px; width: 34%; border-radius: 999px; background: #1FAF55; }
.site-img { position: absolute !important; right: 10px; bottom: 10px; width: 36%; height: 46%; border-radius: 8px; background: linear-gradient(140deg, var(--marca), #064A86); }
.peca-site { overflow: visible; }
.peca-site > .mini-barra, .peca-site > .site-img { overflow: hidden; }

.peca-whats { left: 56%; top: 72%; width: 42%; display: grid !important; gap: 6px; background: color-mix(in srgb, #1FAF55 10%, var(--bg-2)); }
.balao { padding: 7px 10px; border-radius: 10px; max-width: 88%; font-size: .78rem; }
.b-in { background: var(--bg-2); border: 1px solid var(--linha); }
.b-out { justify-self: end; background: #1FAF55; color: #fff; }

/* mini site dentro do card de webdesign */
.card-mini {
  position: relative; flex: 1; min-height: 200px; margin-bottom: 18px;
  border-radius: 12px; border: 1px solid var(--linha); background: var(--bg);
  transform: translateZ(50px); transform-style: preserve-3d;
  overflow: hidden;
}
.mini-barra { position: absolute; inset: 0 0 auto; height: 26px; border-bottom: 1px solid var(--linha); display: flex; align-items: center; gap: 6px; padding-left: 12px; }
.mini-barra i { width: 8px; height: 8px; border-radius: 50%; background: var(--linha); }
.mini-l, .mini-bloco { position: absolute; border-radius: 6px; background: var(--bg-3); transition: transform .6s var(--ease); }
.mini-l.l1 { left: 8%; top: 22%; width: 46%; height: 14%; background: var(--tinta); opacity: .85; }
.mini-l.l2 { left: 8%; top: 41%; width: 36%; height: 5%; }
.mini-l.l3 { left: 8%; top: 51%; width: 18%; height: 9%; background: var(--marca); border-radius: 999px; }
.mini-bloco.b1 { right: 8%; top: 20%; width: 32%; height: 44%; background: linear-gradient(140deg, var(--marca), #064A86); }
.mini-bloco.b2 { left: 8%; bottom: 8%; width: 40%; height: 16%; }
.mini-bloco.b3 { right: 8%; bottom: 8%; width: 40%; height: 16%; }
.card-web.ativo .mini-bloco.b1 { transform: translate3d(-6px, -6px, 0) scale(1.04); }
.card-web.ativo .mini-l.l3 { transform: scale(1.12); }

/* ---------- projetos: corredor 3D ---------- */
.projetos { position: relative; background: var(--bg); color: var(--tinta); }
.corredor-palco { position: relative; }
.corredor-cab { padding-top: clamp(80px, 10vw, 120px); display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: end; }
.corredor-cab h2 { grid-column: 1; }
.corredor-dica { grid-column: 1; color: var(--suave); }
.corredor-cont { grid-column: 2; grid-row: 1 / span 2; font-family: var(--fs-display); font-weight: 700; font-size: 1.1rem; color: var(--suave); display: none; }
.dica-3d { display: none; }
.corredor-3d .dica-3d { display: inline; }
.corredor-3d .dica-lista { display: none; }
.corredor { list-style: none; margin: 40px 0 0; padding: 10px 12vw 90px; display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; perspective: 900px; }
.corredor::-webkit-scrollbar { display: none; }
.proj { position: relative; flex: 0 0 min(76vw, 560px); scroll-snap-align: center; transform-style: preserve-3d; }
.proj-link { display: block; text-decoration: none; color: var(--tinta); border-radius: var(--raio-m); background: var(--bg-2); border: 1px solid var(--linha); overflow: hidden; box-shadow: var(--sombra); }
.nav-falsa { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--linha); background: var(--bg-3); }
.nav-falsa i { width: 9px; height: 9px; border-radius: 50%; background: var(--linha); }
.nav-falsa b { margin-left: 10px; font-weight: 500; font-size: .78rem; color: var(--suave); padding: 3px 12px; border-radius: 999px; background: var(--bg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tela { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; container-type: size; background: #fff; }
.tela img { position: absolute; top: 0; left: 0; width: 100%; height: auto; transition: transform 6s cubic-bezier(.45, 0, .2, 1); }
.proj-link:hover .tela img, .proj-link:focus-visible .tela img { transform: translateY(calc(-100% + 100cqh)); }
.proj-info { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 18px; align-items: center; }
.proj-info strong { font-family: var(--fs-display); font-size: 1.3rem; font-weight: 700; }
.proj-info span { grid-column: 1; color: var(--suave); font-size: .95rem; }
.proj-info em { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-weight: 600; font-size: .95rem; color: var(--marca-tx); }

/* modo corredor (ativado pelo JS em telas largas) */
.corredor-3d .projetos { height: calc(var(--n, 10) * 62vh + 100vh); }
.corredor-3d .corredor-palco { position: sticky; top: 0; height: 100svh; overflow: hidden; perspective: 1200px; perspective-origin: 50% 46%; }
.corredor-3d .corredor-cab { position: absolute; inset: 0 0 auto; z-index: 5; margin-inline: auto; left: 0; right: 0; padding-top: calc(var(--topo-h) + 28px); pointer-events: none; }
.corredor-3d .corredor-cont { display: block; }
.corredor-3d .corredor { position: absolute; inset: 0; margin: 0; padding: 0; overflow: visible; display: block; transform-style: preserve-3d; }
.corredor-3d .proj { position: absolute; left: 50%; top: calc(50% + 70px); width: min(40vw, 620px, (100svh - 300px) * 1.35); margin: 0; transform-style: preserve-3d; will-change: transform, opacity; }
.corredor-3d .corredor-palco::before {
  content: ""; position: absolute; left: -50%; right: -50%; bottom: -5%; height: 60%; pointer-events: none;
  background-image: linear-gradient(var(--linha) 1px, transparent 1px), linear-gradient(90deg, var(--linha) 1px, transparent 1px);
  background-size: 80px 80px; background-position: 0 calc(var(--cam, 0) * 1px);
  transform: perspective(700px) rotateX(74deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 5%, transparent 80%); mask-image: linear-gradient(to top, #000 5%, transparent 80%);
}
.corredor-3d .proj-link { transform: translate(-50%, -50%); }

/* ---------- sobre ---------- */
.sobre-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.sobre-frase { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; letter-spacing: -.035em; line-height: .95; position: sticky; top: calc(var(--topo-h) + 40px); }
.sobre-itens { display: grid; gap: 0; }
.sobre-itens > div { padding: 32px 0; border-top: 1px solid var(--linha); }
.sobre-itens > div:last-child { border-bottom: 1px solid var(--linha); }
.sobre-itens h3 { margin-bottom: 10px; color: var(--marca-tx); }
.sobre-itens p { color: var(--suave); font-size: 1.1rem; }

/* ---------- avaliações ---------- */
.avaliacoes { background: var(--bg-3); }
.aval-cab { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; margin-bottom: 40px; }
.aval-cab h2 { margin-bottom: 20px; max-width: 14em; }
.aval-nota { display: grid; justify-items: start; gap: 8px; }
.aval-num { font-family: var(--fs-display); font-weight: 800; font-size: clamp(5rem, 11vw, 9rem); line-height: .8; letter-spacing: -.05em; }
.aval-nota .estrelas svg { width: 24px; height: 24px; }
.aval-total { color: var(--suave); font-size: .95rem; max-width: 14em; }

.carrossel-palco { position: relative; }
.anel { list-style: none; margin: 0; padding: 4px 0 24px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.depo {
  flex: 0 0 min(82vw, 380px); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 18px; justify-content: space-between;
  padding: 28px; border-radius: var(--raio-m); background: var(--bg-2); border: 1px solid var(--linha);
}
.depo p { font-size: 1.05rem; line-height: 1.55; }
.depo-autor { font-family: var(--fs-display); font-weight: 700; font-size: 1.05rem; color: var(--marca-tx); }
.carrossel-ctrl { display: none; gap: 10px; justify-content: center; margin-top: 8px; }
.ctrl { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--linha); background: var(--bg-2); color: var(--tinta); cursor: pointer; display: grid; place-items: center; }
.ctrl svg { width: 22px; height: 22px; }
.ctrl:hover { border-color: var(--marca); }

/* anel 3D (ativado pelo JS em telas largas) */
.anel-3d .carrossel-palco { height: 420px; perspective: 1400px; cursor: grab; touch-action: pan-y; user-select: none; }
.anel-3d .carrossel-palco.arrastando { cursor: grabbing; }
.anel-3d .anel { position: absolute; left: 50%; top: 50%; width: 0; height: 0; padding: 0; overflow: visible; display: block; transform-style: preserve-3d; transform: translateZ(calc(var(--r) * -1px)) rotateY(var(--a, 0deg)); transition: transform .9s var(--ease); }
.anel-3d .carrossel-palco.arrastando .anel { transition: none; }
.anel-3d .depo { position: absolute; width: 360px; min-height: 300px; left: -180px; top: -160px; transform: rotateY(var(--ang)) translateZ(calc(var(--r) * 1px)); backface-visibility: hidden; transition: opacity .6s; }
.anel-3d .carrossel-ctrl { display: flex; }

/* ---------- contato ---------- */
.contato { background: var(--bg); color: var(--tinta); padding: clamp(96px, 12vw, 160px) 0; position: relative; overflow: clip; isolation: isolate; }
.contato::before {
  content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; left: -260px; bottom: -380px;
  border-radius: 50%; border: 90px solid color-mix(in srgb, var(--marca) 14%, transparent);
  box-shadow: 0 0 0 150px color-mix(in srgb, var(--marca) 5%, transparent);
}
.contato-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contato h2 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.035em; line-height: .95; }
.contato-txt > p { margin-top: 22px; color: var(--suave); font-size: 1.12rem; max-width: 32em; }
.desconto { margin-top: 26px !important; font-size: 1rem !important; color: var(--tinta) !important; padding-left: 14px; border-left: 2px solid var(--marca); }
.contato-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contato-lista a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--raio-m); border: 1px solid var(--linha); background: var(--bg-2); text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.contato-lista a:hover { border-color: var(--marca); transform: translateX(4px); }
.contato-lista svg { width: 26px; height: 26px; flex: none; color: var(--marca-tx); }
.contato-lista span { display: grid; font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.contato-lista small { font-weight: 400; font-size: .85rem; color: var(--suave); }

/* ---------- rodapé ---------- */
.rodape { background: var(--bg-2); color: var(--tinta); border-top: 1px solid var(--linha); padding: 48px 0 40px; }
.rodape-in { display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center; }
.rodape .logo { height: 40px; width: auto; aspect-ratio: 698 / 114; }
.rodape-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; }
.rodape-nav a { color: var(--suave); text-decoration: none; }
.rodape-nav a:hover { color: var(--tinta); }
.rodape-copy { grid-column: 1 / -1; color: var(--suave); font-size: .9rem; padding-top: 22px; border-top: 1px solid var(--linha); }

/* ---------- WhatsApp flutuante ---------- */
.wa-flutuante {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1FAF55; color: #fff;
  box-shadow: 0 14px 34px -10px rgba(10, 80, 40, .6);
  transition: transform .35s var(--ease), opacity .35s;
}
.wa-flutuante svg { width: 30px; height: 30px; }
.wa-flutuante:hover { transform: scale(1.06); }
.wa-flutuante.oculto { opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .menu { display: none; }
  .menu-btn { display: grid; gap: 6px; place-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linha); background: transparent; cursor: pointer; padding: 0; }
  .menu-btn span { display: block; width: 18px; height: 1.6px; background: var(--tinta); transition: transform .3s var(--ease); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
  .menu.aberto {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; top: var(--topo-h); left: 0; right: 0; margin: 0;
    padding: 16px 20px 28px; background: var(--bg); border-bottom: 1px solid var(--linha);
  }
  .menu.aberto a { font-size: 1.3rem; font-family: var(--fs-display); font-weight: 700; color: var(--tinta); padding: 12px 8px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-web { grid-row: auto; }
}

@media (max-width: 860px) {
  .hero { min-height: auto; padding-top: calc(var(--topo-h) + 8px); }
  .hero-in { grid-template-columns: 1fr; gap: 8px; }
  .hero-palco { order: -1; }
  .interruptor { width: min(300px, 70vw, 34svh); }
  .palco-legenda { display: none; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3.4rem); }
  .lead { margin-top: 18px; }
  .hero-cta { margin-top: 24px; }
  .sec-cab, .sobre-grid, .aval-cab, .contato-grid, .trafego-grid { grid-template-columns: 1fr; }
  .rota { max-width: 560px; width: 100%; margin: 20px auto 0; }
  .sobre-frase { position: static; }
  .rodape-in { grid-template-columns: 1fr; }
  .rodape-nav { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .wrap { width: min(1200px, 100% - 36px); }
  .topo-in { width: calc(100% - 28px); gap: 10px; }
  .topo .logo { height: 26px; }
  .topo-wa { display: none; }
  .tema button { width: 28px; height: 28px; }
  .bento { grid-template-columns: 1fr; }
  .card-web, .card-sec, .card-largo, .card-trafego { grid-column: auto; }
  .canais { grid-template-columns: 1fr; }
  /* no celular o fluxo vira uma grade em degraus, ainda inclinada em 3D */
  .rota { aspect-ratio: auto; perspective: 900px; margin-top: 36px; }
  .rota-obj { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 12px; padding-top: 26px; }
  .peca { position: relative; left: auto; top: auto; width: auto; height: auto; font-size: .74rem; padding: 10px; }
  .peca-google { grid-column: 1 / -1; width: 86%; }
  .peca-site { min-height: 180px; }
  .peca-whats { grid-column: 1 / -1; width: 86%; justify-self: end; }
  .rota-linhas { display: none; }
  .card { padding: 24px; }
  .card-web { padding: 24px; }
  .card-mini { min-height: 160px; }
  .btn { width: 100%; justify-content: center; }
  .hero-cta { gap: 10px; }
  .aval-cab h2 { font-size: 2rem; }
}

/* janelas baixas */
@media (min-width: 861px) and (max-height: 760px) {
  .hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
  .lead { margin-top: 16px; }
  .hero-cta { margin-top: 22px; }
  .hero-nota { margin-top: 18px; }
  .palco-legenda { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .tela img { transition: none; }
}
