/* Layout: fundo escuro com luz viva no início; secções em dois tons subtis; os mockups são os protagonistas.
   Tudo o que se move usa só transform e opacity. */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 60; padding: 10px 16px; border-radius: 10px; background: #fff; color: #1e0c3f; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }
:root {
  --alt: "Instrument Serif", Georgia, "Times New Roman", serif;
  --bg: #07050e; --bg2: #0e0a1a; --panel: #130e22; --panel-2: #1d1633; --line: rgba(255,255,255,.11); --radius: 22px;
  --grad-text: linear-gradient(100deg, #f4c8f4, #e49af0 50%, #c98bff);
  --gutter: clamp(20px, 5vw, 72px);
}
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; background: radial-gradient(90% 70% at 60% 0%, rgba(113,55,200,.5), transparent 70%); }
main, .foot { position: relative; z-index: 1; }
main img { color: transparent; }
.form-steps { font-family: var(--sans); font-size: clamp(.92rem, 1.1vw, 1.02rem); font-weight: 500; }
.form-steps b { width: 32px; height: 32px; }
main > section { position: relative; background: var(--bg); }
main > .hero, main > .sol, main > .contact { background: none; }
.inner { max-width: 1240px; }
.section { padding-block: clamp(72px, 8.5vw, 120px); }
/* Contraste subtil: as secções alternam de tom e fundem-se nas pontas */
main > .tone { background: linear-gradient(180deg, var(--bg), var(--bg2) 90px, var(--bg2) calc(100% - 90px), var(--bg)); }
main > .glow-r::before, main > .glow-l::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
main > .glow-r::before { background: radial-gradient(46% 42% at 92% 12%, rgba(113,55,200,.14), transparent 75%); }
main > .glow-l::before { background: radial-gradient(46% 42% at 6% 70%, rgba(163,79,232,.1), transparent 75%); }
main > section > .inner { position: relative; }

h1 em, h2 em { font-family: var(--alt); font-style: italic; font-weight: 400; letter-spacing: -.02em; font-size: 1.12em; padding-right: .06em; }
.eyebrow { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .16em; color: var(--v5); }
.btn { background: #fff; color: #1e0c3f; box-shadow: 0 10px 36px rgba(215,117,241,.26); }
.btn-ghost { background: rgba(255,255,255,.05); color: #fff; box-shadow: none; }
/* Menu dinâmico */
.nav { background: rgba(10,7,20,.86); transition: padding .5s var(--soft), background-color .5s, border-color .5s, box-shadow .5s, max-width .6s var(--soft); animation: navin .9s var(--soft) both; }
.nav.scrolled { max-width: 1040px; padding-block: 5px; background: rgba(10,7,20,.95); border-color: rgba(215,117,241,.3); box-shadow: 0 12px 44px rgba(0,0,0,.5), 0 0 26px rgba(163,79,232,.2); }
@keyframes navin { from { opacity: 0; transform: translateY(-16px); } }
.nav-links { position: relative; align-items: center; }
.nav-links > a, .nav-drop > a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding-block: 8px; }
.nav-ind { position: absolute; left: 0; top: 50%; height: 34px; margin-top: -17px; border-radius: 99px; background: rgba(215,117,241,.14); border: 1px solid rgba(215,117,241,.34); box-shadow: 0 0 18px rgba(215,117,241,.2); opacity: 0; pointer-events: none; transition: transform .45s var(--soft), width .45s var(--soft), opacity .3s; }
.nav-drop { position: relative; display: flex; }
.nav-drop svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--soft); }
.nav-drop:hover svg, .nav-drop:focus-within svg { transform: rotate(180deg); }
.nav-menu { position: absolute; left: 50%; top: 100%; width: 620px; margin-left: -310px; padding: 10px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px; border-radius: 20px; border: 1px solid rgba(215,117,241,.26); background: rgba(13,9,24,.98); box-shadow: 0 26px 70px rgba(0,0,0,.6), 0 0 34px rgba(163,79,232,.18); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, transform .4s var(--soft), visibility .3s; }
.nav-drop::after { content: ""; position: absolute; left: -20px; right: -20px; top: 100%; height: 18px; }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; transform: translateY(8px); }
.nav-menu a { display: grid; gap: 2px; padding: 11px 13px; border-radius: 12px; text-decoration: none; transition: background-color .25s; }
.nav-menu a:hover, .nav-menu a:focus-visible { background: rgba(215,117,241,.12); }
.nav-menu b { font-weight: 500; font-size: .88rem; color: #fff; }
.nav-menu small { font-size: .76rem; line-height: 1.4; color: var(--muted); }
/* Pedir proposta: contorno néon em movimento */
a.btn:not(.btn-ghost)[href="#proposta"], a.btn:not(.btn-ghost)[href="contactos.html"] { position: relative; isolation: isolate; overflow: hidden; background: transparent; color: #fff; box-shadow: 0 0 12px rgba(215,117,241,.6), 0 0 34px rgba(163,79,232,.45); transition: transform .5s var(--soft), box-shadow .4s; }
a.btn:not(.btn-ghost)[href="#proposta"]::before, a.btn:not(.btn-ghost)[href="contactos.html"]::before { content: ""; position: absolute; z-index: -2; left: 50%; top: 50%; width: 240%; aspect-ratio: 1; margin: -120% 0 0 -120%; background: conic-gradient(#ff7be8, #7137c8 22%, #f6c9ff 38%, #a34fe8 58%, #5a2bd8 78%, #ff7be8); animation: neonspin 3.4s linear infinite; }
a.btn:not(.btn-ghost)[href="#proposta"]::after, a.btn:not(.btn-ghost)[href="contactos.html"]::after { content: ""; position: absolute; z-index: -1; inset: 2px; border-radius: inherit; background: linear-gradient(135deg, #1c0f36, #120a24); transition: background-color .3s; }
a.btn:not(.btn-ghost)[href="#proposta"]:hover, a.btn:not(.btn-ghost)[href="contactos.html"]:hover { box-shadow: 0 0 18px rgba(255,123,232,.85), 0 0 56px rgba(163,79,232,.7); }
@keyframes neonspin { to { transform: rotate(360deg); } }
.nav-logo .wordmark { height: 27px; width: auto; display: block; }
.nav-logo .v-mark { display: none; }
.nav-links a[aria-current="page"] { color: #fff; }
.head { justify-items: center; text-align: center; max-width: 860px; margin-inline: auto; }
.lead { text-wrap: pretty; }

/* Início */
.hero { overflow: clip; min-height: min(100svh, 900px); display: grid; align-items: center; justify-items: center; text-align: center; padding-top: clamp(112px, 15vh, 150px); padding-bottom: clamp(96px, 14vh, 140px); }
.wall { position: absolute; inset: 0; z-index: 0; overflow: hidden; perspective: 1400px; }
.wall-in { position: absolute; inset: -34% -20%; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; opacity: .55; transform: rotateX(30deg) rotateZ(-10deg) scale(1.1); }
.col { display: grid; gap: 16px; align-content: start; will-change: transform; animation: wallup 110s linear infinite; }
.col:nth-child(even) { animation-direction: reverse; animation-duration: 130s; }
.col img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 12px; }
@keyframes wallup { to { transform: translate3d(0,-50%,0); } }
.paused .col { animation-play-state: paused; }
.wall::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 52% at 50% 44%, rgba(7,5,14,.86) 18%, rgba(7,5,14,.5) 62%, rgba(7,5,14,.1)); }
/* Transição para a secção seguinte: o fundo dissolve-se, sem linhas nem formas */
.hero::after { content: ""; position: absolute; inset: auto 0 0; z-index: 1; height: 42%; pointer-events: none; background: linear-gradient(180deg, rgba(7,5,14,0), rgba(7,5,14,.6) 52%, var(--bg)); }
.hero-in { position: relative; z-index: 3; display: grid; justify-items: center; }
h1 { font-size: clamp(3rem, 7.4vw, 7.2rem); max-width: 13ch; line-height: 1; }
.hero .lead { margin-top: 24px; color: rgba(255,255,255,.86); }
.cta-row, .trust { justify-content: center; }
.trust { color: rgba(255,255,255,.82); }
.hero-inner { min-height: 0; padding-top: clamp(124px, 15vh, 160px); padding-bottom: clamp(64px, 8vh, 96px); }
.hero-inner::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(7,5,14,.45), rgba(7,5,14,.2)); pointer-events: none; }
.hero-inner h1 { font-size: clamp(2.6rem, 5.4vw, 5.2rem); max-width: 17ch; line-height: 1.04; text-wrap: balance; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; margin-bottom: 18px; font-size: .8rem; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--faint); }

/* Marcas */
.brands { padding-block: clamp(36px, 4.5vw, 60px); text-align: center; }
.brands-label { font-family: var(--sans); text-align: center; margin-bottom: 26px; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px clamp(34px, 6vw, 84px); }
.logos li { display: grid; place-items: center; height: 64px; opacity: .8; transition: opacity .5s, transform .8s var(--soft); }
.logos a { display: block; }
.logos li:hover { opacity: 1; transform: translateY(-2px); }
.logos img { display: block; width: auto; max-width: 210px; }
.logo-case { height: 36px; } .logo-halo { height: 54px; } .logo-janine { height: 64px; } .logo-jp { height: 44px; } .logo-conffeti { height: 52px; }

/* Projetos: seletor interativo */
.show { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.65fr); gap: clamp(20px, 3vw, 44px); align-items: stretch; }
.show-list { display: grid; gap: 2px; align-content: center; }
.show-tab { position: relative; text-align: left; padding: 18px 20px; border: 0; border-radius: 16px; background: none; color: var(--muted); cursor: pointer; font: inherit; overflow: hidden; transition: color .4s, background-color .4s; }
.show-tab:hover { color: #fff; }
.show-tab b { display: block; font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -.03em; line-height: 1.15; }
.show-tab small { display: block; margin-top: 3px; font-size: .78rem; color: var(--faint); }
.show-tab[aria-selected="true"] { color: #fff; background: var(--panel); }
.show-tab i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad-text); transform: scaleX(0); transform-origin: 0 50%; }
.show-tab[aria-selected="true"] i { animation: fillbar 6.5s linear forwards; }
.show.hold .show-tab i { animation-play-state: paused; }
@keyframes fillbar { to { transform: scaleX(1); } }
.show-stage { position: relative; aspect-ratio: 3/2; perspective: 1600px; min-width: 0; }
.show-frame { position: absolute; inset: 0; transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); will-change: transform; }
.show-slide { position: absolute; inset: 0; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: scale(1.03); transition: opacity .9s var(--soft), transform 1.3s var(--soft), visibility 0s .9s; text-decoration: none; background: var(--panel); }
.show-slide.on { opacity: 1; visibility: visible; transform: none; transition: opacity .9s var(--soft), transform 1.3s var(--soft); }
.show-slide img { width: 100%; height: 100%; object-fit: cover; }
.show-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 56px clamp(16px, 2.2vw, 28px) clamp(14px, 2vw, 24px); background: linear-gradient(180deg, transparent, rgba(7,5,14,.92)); }
.show-cap p { color: rgba(255,255,255,.88); max-width: 46ch; font-size: .95rem; }
.show-cap span { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: #fff; color: #1e0c3f; font-size: .84rem; font-weight: 600; }
.show-cap svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.show-dots { display: none; }

/* Página de projetos: filtros e grelha */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(24px, 3vw, 40px); }
.filter { padding: 9px 18px; border-radius: 99px; border: 1px solid var(--line); background: none; color: var(--muted); font: 500 .88rem var(--sans); cursor: pointer; transition: color .3s, background-color .3s, border-color .3s; }
.filter:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.filter[aria-pressed="true"] { background: #fff; color: #1e0c3f; border-color: #fff; }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(14px, 1.8vw, 24px); }
.pcard { position: relative; display: block; aspect-ratio: 3/2; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; background: var(--panel); transition: border-color .4s; }
.pcard:hover { border-color: rgba(215,117,241,.6); }
.pcard[hidden] { display: none; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s var(--soft), transform 1.5s var(--soft); }
.pcard .alt { opacity: 0; }
.pcard:hover .alt { opacity: 1; }
.pcard:hover img { transform: scale(1.03); }
.pcard-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px clamp(16px, 2vw, 26px) clamp(14px, 1.8vw, 22px); background: linear-gradient(180deg, transparent, rgba(7,5,14,.93)); display: grid; gap: 4px; }
.pcard h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
.pcard p { color: var(--muted); font-size: .9rem; }

/* Bloco final */
.band { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); align-items: center; gap: clamp(20px, 3vw, 44px); padding: clamp(28px, 4.4vw, 60px); border-radius: 30px; background: radial-gradient(70% 110% at 92% 10%, rgba(163,79,232,.5), transparent 70%), radial-gradient(60% 90% at 0% 100%, rgba(113,55,200,.32), transparent 70%), var(--panel); border: 1px solid rgba(215,117,241,.24); }
.band-copy { position: relative; display: grid; justify-items: start; gap: 16px; min-width: 0; }
.band h2 { font-size: clamp(2.3rem, 4.8vw, 4.3rem); line-height: 1.02; }
.band p { color: rgba(255,255,255,.82); max-width: 44ch; }
.band .cta-row { justify-content: flex-start; margin-top: 8px; }
.band .trust { justify-content: flex-start; margin-top: 2px; }
.band-pic { position: relative; min-width: 0; margin: clamp(-60px, -3vw, -20px) clamp(-60px, -3vw, -20px) clamp(-60px, -3vw, -20px) 0; }
.band-pic img { width: 100%; border-radius: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%); mask-image: linear-gradient(90deg, transparent, #000 16%); transition: transform 1.4s var(--soft); }
.band:hover .band-pic img { transform: scale(1.03); }

/* Números */
.stats { text-align: center; border: 0; gap: clamp(10px, 1.2vw, 16px); }
.stat { position: relative; overflow: hidden; align-content: start; justify-items: center; padding: clamp(22px, 2.4vw, 32px) 16px clamp(24px, 2.8vw, 36px); display: grid; gap: 10px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); transition: transform .7s var(--soft), border-color .4s, box-shadow .5s; }
.stat::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 30%), rgba(215,117,241,.2), transparent 70%); transition: opacity .4s; }
.stat:hover { transform: translateY(-6px); border-color: rgba(215,117,241,.5); box-shadow: 0 18px 50px rgba(0,0,0,.45), 0 0 26px rgba(163,79,232,.25); }
.stat:hover::before { opacity: 1; }
.stat > * { position: relative; }
.stat-viz { display: block; width: 100%; max-width: 170px; height: 64px; margin-bottom: 4px; }
.stats:not(.in) .stat-viz, .stats:not(.in) .stat-viz * { animation-play-state: paused !important; }
/* anos: barras a crescer */
.viz-years { display: flex; align-items: flex-end; gap: 6px; }
.viz-years i { flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #e49af0, rgba(113,55,200,.5)); transform-origin: bottom; animation: statbar 1s var(--soft) calc(var(--i) * 90ms) both; }
@keyframes statbar { from { transform: scaleY(0); } }
/* rede: pontos a acender */
.viz-net line { stroke: rgba(215,117,241,.3); stroke-width: .6; }
.viz-net circle { fill: #d775f1; animation: statpulse 2.8s ease-in-out calc(var(--i, 0) * 260ms) infinite; }
.viz-net .hub { fill: #fff; animation: none; }
@keyframes statpulse { 50% { opacity: .22; } }
/* áreas: oito blocos, um de cada vez */
.viz-areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.viz-areas i { border-radius: 6px; background: rgba(215,117,241,.2); border: 1px solid rgba(215,117,241,.3); animation: statpop 4s linear calc(var(--i) * 500ms) infinite; }
@keyframes statpop { 0%, 12% { background: #d775f1; box-shadow: 0 0 14px rgba(215,117,241,.7); } 26%, 100% { background: rgba(215,117,241,.2); box-shadow: none; } }
/* resposta: relógio */
.viz-clock circle { fill: none; stroke-width: 3; }
.viz-clock .track { stroke: rgba(255,255,255,.1); }
.viz-clock .sweep { stroke: #d775f1; stroke-linecap: round; stroke-dasharray: 100; transform: rotate(-90deg); transform-origin: 50% 50%; animation: statsweep 2.2s var(--soft) both; }
@keyframes statsweep { from { stroke-dashoffset: 100; } }
.viz-clock .hand { stroke: #fff; stroke-width: 2; stroke-linecap: round; transform-origin: 30px 30px; animation: stathand 6s linear infinite; }
@keyframes stathand { to { transform: rotate(360deg); } }
.viz-clock .pin { fill: #fff; stroke: none; }
.stat b { font-family: var(--alt); font-style: italic; font-weight: 400; padding-right: .08em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(3.2rem, 5.6vw, 5.2rem); line-height: 1; letter-spacing: -.02em; }
.stat span { font-size: .9rem; color: var(--muted); }
.plats { text-align: center; margin-top: clamp(26px, 3.4vw, 44px); }
.plats p { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.plats-run { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.plats-run ul { flex: none; display: flex; gap: 10px; padding-right: 10px; animation: platsrun 34s linear infinite; }
.plats-run:hover ul { animation-play-state: paused; }
.plats-run li { padding: 9px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); font-size: .88rem; color: rgba(255,255,255,.82); white-space: nowrap; }
@keyframes platsrun { to { transform: translateX(-100%); } }
.res-note { text-align: center; }

/* Janela para a aurora e fusão com as secções vizinhas */
.sol::before, .sol::after, .contact::before, .contact::after { content: ""; position: absolute; left: 0; right: 0; height: 160px; pointer-events: none; }
.sol::before, .contact::before { top: 0; background: linear-gradient(180deg, var(--bg), transparent); }
.sol::after, .contact::after { bottom: 0; background: linear-gradient(0deg, var(--bg), transparent); }
.sol .inner, .contact .inner { z-index: 1; }

/* Objetivos */
.goals { grid-template-columns: minmax(0,1fr); max-width: none; }
.goal-tabs { grid-template-columns: repeat(5, minmax(0,1fr)); }
.goal-tab { display: grid; place-items: center; text-align: center; font-size: .92rem; padding: 14px; border-radius: 99px; background: rgba(12,8,24,.82); }
.goal-tab[aria-selected="true"] { background: #fff; color: #1e0c3f; border-color: #fff; }
.goal-panel { grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); column-gap: clamp(20px, 3vw, 44px); text-align: left; align-items: center; background: rgba(12,8,24,.86); min-height: 0; }
.goal-panel .goal-list { grid-column: 1; align-self: end; } .goal-panel #goal-cta { grid-column: 1; align-self: start; }
.goal-visuals { grid-column: 2; grid-row: 1 / span 2; position: relative; width: 100%; aspect-ratio: 3/2; border-radius: 16px; overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); }
.goal-visuals img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .8s var(--soft), transform 1.2s var(--soft); }
.goal-visuals img.on { opacity: 1; transform: none; }

/* Serviços em imagem */
.svc-bento { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: clamp(10px, 1.3vw, 16px); margin-top: clamp(28px, 3.6vw, 48px); }
.svc-tile { position: relative; display: block; grid-column: span 4; aspect-ratio: 4/3; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); text-decoration: none; background: var(--panel); transition: border-color .4s; }
.svc-tile:nth-child(1), .svc-tile:nth-child(7) { grid-column: span 7; aspect-ratio: auto; min-height: 340px; }
.svc-tile:nth-child(2), .svc-tile:nth-child(6) { grid-column: span 5; aspect-ratio: auto; min-height: 340px; }
.svc-tile:nth-child(8) { grid-column: 1 / -1; aspect-ratio: auto; min-height: 340px; }
.svc-tile:hover { border-color: rgba(215,117,241,.6); }
.svc-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--soft); }
.svc-tile:hover img { transform: scale(1.05); }
.svc-tile-body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 70px clamp(16px, 2vw, 26px) clamp(14px, 1.8vw, 22px); background: linear-gradient(180deg, transparent, rgba(7,5,14,.95) 62%); transition: transform .9s var(--soft); }
.svc-tile h3 { font-size: clamp(1.15rem, 1.7vw, 1.5rem); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.svc-tile h3 svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--v5); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--soft); }
.svc-tile:hover h3 svg { transform: translateX(4px); }
.svc-tile p { color: var(--muted); font-size: .88rem; }
.svc-tile small { color: var(--faint); font-size: .76rem; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .8s var(--soft), opacity .6s; }
.svc-tile:hover small { max-height: 80px; opacity: 1; }

/* Processo dinâmico */
.flow-nav { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); }
.flow-step { position: relative; display: grid; gap: 6px; justify-items: start; padding: 26px 12px 16px 0; border: 0; background: none; color: var(--muted); font: inherit; text-align: left; cursor: pointer; transition: color .4s; }
.flow-step::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.flow-step::after { content: ""; position: absolute; left: 0; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg2); border: 2px solid rgba(255,255,255,.3); transition: background-color .4s, border-color .4s, box-shadow .4s, transform .6s var(--soft); }
.flow-step i { position: absolute; z-index: 1; left: 0; right: 0; top: 7px; height: 2px; background: var(--grad-text); transform: scaleX(0); transform-origin: 0 50%; }
.flow-step.done i { transform: scaleX(1); }
.flow-step[aria-selected="true"] i { animation: fillbar 5s linear forwards; }
.flow.hold .flow-step i { animation-play-state: paused; }
.flow-step.done::after, .flow-step[aria-selected="true"]::after { z-index: 2; background: var(--v5); border-color: var(--v5); box-shadow: 0 0 14px var(--v4); }
.flow-step[aria-selected="true"]::after { transform: scale(1.3); }
.flow-step span { font-family: var(--alt); font-style: italic; font-size: 1.35rem; color: var(--v4); line-height: 1; }
.flow-step b { font-weight: 500; font-size: clamp(.9rem, 1.25vw, 1.08rem); letter-spacing: -.015em; }
.flow-step:hover, .flow-step[aria-selected="true"] { color: #fff; }
.flow-panels { position: relative; margin-top: clamp(16px, 2vw, 26px); }
.flow-panel { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: clamp(20px, 3.4vw, 52px); align-items: center; padding: clamp(18px, 2.6vw, 34px); border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); animation: panelin .8s var(--soft) both; }
@keyframes panelin { from { transform: translateY(12px); opacity: .3; } to { transform: none; opacity: 1; } }
.flow-num { font-family: var(--alt); font-style: italic; font-size: clamp(4rem, 9vw, 8rem); line-height: .86; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.flow-panel h3 { margin-top: 14px; font-size: clamp(1.6rem, 2.8vw, 2.5rem); letter-spacing: -.03em; line-height: 1.1; }
.flow-panel p { margin-top: 12px; color: var(--muted); max-width: 46ch; }
.flow-panel img { width: 100%; border-radius: 14px; border: 1px solid var(--line); }

.founder-copy blockquote { font-family: var(--alt); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 3.3rem); line-height: 1.12; letter-spacing: -.015em; }
.faq-grid { grid-template-columns: minmax(0,1fr); max-width: 860px; gap: 0; margin-inline: auto; }
.faq .head { margin-bottom: 28px; }
.lead-form { background: rgba(10,7,20,.94); }

/* Comum às páginas internas */
.two { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.two > * { min-width: 0; }
.label { display: block; margin-bottom: 14px; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--v5); }
.prose-big { font-family: var(--alt); font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.16; letter-spacing: -.012em; text-wrap: pretty; }
.benefits { display: grid; gap: 12px; margin-top: 22px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; }
.benefits li::before { content: ""; flex: none; width: 14px; height: 8px; margin-top: 8px; border-left: 2px solid var(--v4); border-bottom: 2px solid var(--v4); transform: rotate(-45deg) scale(.8); }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pills li, .pills a { padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); font-size: .9rem; text-decoration: none; transition: border-color .3s; }
.pills a:hover { border-color: var(--v4); }
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.mini-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.mini-grid.two-up { grid-template-columns: repeat(2, minmax(0,1fr)); }
.mini { display: grid; gap: 8px; align-content: start; padding: clamp(20px, 2.2vw, 28px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); text-decoration: none; transition: border-color .4s; }
a.mini:hover { border-color: var(--v4); }
.mini h3 { font-size: 1.12rem; }
.mini p { color: var(--muted); font-size: .92rem; }
.mini .num { font-size: 1.4rem; }
.mini-shot { padding: 0; overflow: hidden; }
.mini-shot img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.mini-shot div { display: grid; gap: 4px; padding: 16px 20px 20px; }
.fig { display: block; }
.fig img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.fig-cap { margin-top: 12px; text-align: center; font-size: .78rem; color: var(--faint); }
.figure-sec { padding-top: 0; }
.figure-sec .inner { max-width: 1120px; }
.meta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; margin-top: 24px; font-size: .92rem; color: var(--muted); }
.meta-row b { color: #fff; font-weight: 500; margin-right: 8px; }
.meta-row a { color: var(--v5); text-decoration: none; }
.meta-row a:hover { color: #fff; }

/* Galeria dos casos */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(12px, 1.6vw, 20px); }
.gallery figure { margin: 0; min-width: 0; }
.gallery figure.wide { grid-column: 1 / -1; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.gallery img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); transition: transform 1.4s var(--soft); }
.gallery button:hover img { transform: scale(1.02); }
.gallery figcaption { margin-top: 10px; font-size: .84rem; color: var(--muted); }
.strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.strip button { flex: 1 0 min(340px, 76vw); padding: 0; border: 0; background: none; cursor: zoom-in; scroll-snap-align: start; }
.strip img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; border-radius: 14px; border: 1px solid var(--line); }
.lightbox { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: rgba(5,3,10,.93); }
.lightbox:not([open]) { display: none; }
.lightbox img { max-width: min(1400px, 100%); max-height: 88vh; border-radius: 14px; animation: panelin .6s var(--soft) both; }
.lightbox button { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #1e0c3f; font-size: 1.3rem; cursor: pointer; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.res { display: grid; gap: 10px; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); text-align: center; }
.res b { font-family: var(--alt); font-style: italic; font-weight: 400; font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.12; }
.res span { font-size: .76rem; color: var(--v5); }
.mini-grid.one-up { grid-template-columns: minmax(0,1fr); max-width: 520px; margin-inline: auto; }
/* Página de projeto: fotografias reais */
.photos { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(10px, 1.4vw, 18px); }
.photos figure, .photos-two figure, .piece { margin: 0; min-width: 0; }
.photos .big { grid-column: 1 / -1; }
.photos button, .photos-two button, .piece button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.photos img, .photos-two img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); transition: transform 1.4s var(--soft); }
.photos .big img { aspect-ratio: 16/8; object-position: 50% 58%; }
.photos button:hover img, .photos-two button:hover img { transform: scale(1.02); }
.photos figcaption, .photos-two figcaption { margin-top: 10px; font-size: .84rem; color: var(--muted); }
.photos-two { display: grid; gap: clamp(10px, 1.4vw, 18px); }
/* Três sistemas */
.sys-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.sys { padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); min-width: 0; }
.sys > span { font-family: var(--alt); font-style: italic; font-size: 1.5rem; color: var(--v5); }
.sys h3 { margin: 10px 0 10px; font-size: 1.2rem; }
.sys p { color: var(--muted); }
.sys ul { display: grid; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.sys li { position: relative; padding-left: 18px; font-size: .92rem; }
.sys li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--v5); }
/* Backoffice ilustrado */
.bo-wrap { display: grid; grid-template-columns: minmax(0,.62fr) minmax(0,2fr); gap: clamp(24px, 3.4vw, 52px); align-items: start; margin-top: clamp(40px, 5vw, 68px); }
.bo-copy h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 10px; }
.bo-copy p { color: var(--muted); }
.bo { grid-column: 2; border-radius: var(--radius); border: 1px solid var(--line); background: #0c0917; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.bo-note { grid-column: 2; margin: -12px 0 0; }
.bo-bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: var(--panel); }
.bo-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.bo-bar span { margin-left: 10px; font-size: .78rem; color: var(--muted); }
.bo-body { display: grid; grid-template-columns: 186px minmax(0,1fr); min-height: 560px; }
.bo-nav { display: grid; align-content: start; gap: 2px; padding: 12px; border-right: 1px solid var(--line); }
.bo-group { display: block; padding: 12px 12px 4px; font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.bo-group:first-child { padding-top: 2px; }
.bo-tab { padding: 7px 12px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: inherit; font-size: .88rem; text-align: left; cursor: pointer; transition: background-color .3s, color .3s; }
.bo-tab:hover { color: #fff; }
.bo-tab[aria-selected="true"] { background: color-mix(in srgb, var(--bo) 18%, transparent); color: #fff; }
.bo-main { padding: clamp(18px, 2.2vw, 28px); min-width: 0; }
.bo-pane { animation: panelin .6s var(--soft) both; }
.bo-pane[hidden] { display: none; }
.bo-pane h4 { margin: 0 0 6px; font-size: 1.1rem; }
.bo-pane p { max-width: 54ch; margin-bottom: 20px; color: var(--muted); font-size: .94rem; }
.bo-tiles { display: grid; grid-template-columns: repeat(var(--n), minmax(0,1fr)); gap: 10px; }
.bo-tiles > div { display: grid; align-content: space-between; gap: 18px; min-height: 84px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.bo-tiles span { font-size: .78rem; color: var(--muted); }
.bo-tiles i { display: block; width: 58%; height: 10px; border-radius: 9px; background: rgba(255,255,255,.14); }
.bo-chart { margin-top: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); }
.bo-chart > span { font-size: .78rem; color: var(--muted); }
.bo-bars { display: flex; align-items: flex-end; gap: 4%; height: 112px; margin-top: 12px; }
.bo-bars i { flex: 1; height: 100%; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--bo), color-mix(in srgb, var(--bo) 25%, transparent)); }
.bo-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.bo-chips:first-of-type { margin-top: 0; }
.bo-chips li { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); font-size: .78rem; }
.bo-agenda { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.bo-agenda > div { display: grid; grid-template-rows: repeat(9, 20px); gap: 4px; padding: 6px; border-radius: 12px; border: 1px solid var(--line); }
.bo-agenda i { border-radius: 7px; background: color-mix(in srgb, var(--bo) 30%, transparent); border-left: 3px solid var(--bo); }
.bo-rows { display: grid; gap: 6px; margin-top: 12px; }
.bo-chips + .bo-rows { margin-top: 0; }
.bo-pane > p + .bo-rows { margin-top: 0; }
.bo-rows li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: .9rem; }
.bo-rows li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--bo); }
.bo-files li span { flex: 1; min-width: 0; }
.bo-files b { flex: none; padding: 3px 10px; border-radius: 99px; background: color-mix(in srgb, var(--bo) 18%, transparent); font-size: .72rem; font-weight: 500; }
/* Peças reais */
.pieces { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.piece button { position: relative; aspect-ratio: 4/5; border: 1px solid var(--line); background: var(--panel); transition: border-color .4s; }
.piece button:hover { border-color: rgba(255,255,255,.3); }
.piece img { position: absolute; inset: clamp(12px, 1.4vw, 20px); width: calc(100% - 2 * clamp(12px, 1.4vw, 20px)); height: calc(100% - 2 * clamp(12px, 1.4vw, 20px)); object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0,0,0,.45)); transition: transform 1.2s var(--soft); }
.piece button:hover img { transform: scale(1.03); }
.piece figcaption { display: grid; gap: 3px; margin-top: 12px; font-size: .86rem; color: var(--muted); }
.piece figcaption b { color: #fff; font-weight: 500; font-size: .95rem; }
/* Branding kit */
.kit-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(10px, 1.4vw, 18px); }
.kit-tile { margin: 0; min-width: 0; }
.kit-tile.wide { grid-column: 1 / -1; }
.kit-tile button { display: grid; place-items: center; width: 100%; height: clamp(170px, 18vw, 240px); padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: zoom-in; }
.kit-tile.wide button { height: clamp(220px, 26vw, 340px); }
.kit-tile:nth-child(2) button { background: #000; } .kit-tile:nth-child(3) button { background: #2a2a2a; }
.kit-tile img { display: block; max-width: 86%; max-height: 82%; width: auto; height: auto; object-fit: contain; transition: transform 1.2s var(--soft); }
.kit-tile button:hover img { transform: scale(1.04); }
.kit-tile figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); }
.kit-specs { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: clamp(10px, 1.4vw, 18px); margin-top: clamp(18px, 2.4vw, 30px); }
.kit-card { padding: clamp(20px, 2.4vw, 30px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); min-width: 0; }
.kit-swatches { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; }
.kit-swatch { display: grid; gap: 3px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: copy; }
.kit-swatch i { display: block; aspect-ratio: 1; border-radius: 14px; background: var(--c); border: 1px solid rgba(255,255,255,.14); transition: transform .5s var(--soft); margin-bottom: 7px; }
.kit-swatch:hover i { transform: translateY(-4px); }
.kit-swatch b { font-weight: 500; font-size: .84rem; }
.kit-swatch small { color: var(--muted); font-size: .74rem; }
.kit-hint { margin-top: 14px; font-size: .8rem; color: var(--muted); }
.kit-type { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.kit-type > b { font-size: clamp(3.8rem, 7vw, 6rem); font-weight: 600; line-height: 1; }
.kit-regular { font-weight: 400; font-size: 1.05rem; } .kit-bold { font-weight: 600; font-size: 1.05rem; }
.kit-apps { margin-top: clamp(26px, 3.4vw, 44px); }
.kit-apps-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(10px, 1.4vw, 18px); }
.kit-apps .kit-tile button { display: block; height: auto; border: 1px solid var(--line); background: none; }
.kit-apps .kit-tile img { width: 100%; max-width: none; max-height: none; aspect-ratio: 4/5; object-fit: cover; }
.prev-next { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.prev-next a { position: relative; display: block; aspect-ratio: 16/7; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; }
.prev-next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--soft); }
.prev-next a:hover img { transform: scale(1.04); }
.prev-next div { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 40px 20px 16px; background: linear-gradient(180deg, transparent, rgba(7,5,14,.94)); }
.prev-next a:last-child div { text-align: right; }
.prev-next span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--v5); }
.prev-next b { font-weight: 500; font-size: 1.15rem; }

/* Contactos e legal */
.info { display: grid; gap: 18px; width: 100%; }
.info li { display: grid; gap: 2px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.info span { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--v5); }
.info b { font-weight: 500; font-size: 1.12rem; overflow-wrap: anywhere; }
.contact-only { align-items: start; }
.legal { max-width: 760px; margin-inline: auto; }
.legal h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.02em; margin: 34px 0 8px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); }
.legal .upd { margin-top: 32px; font-size: .85rem; color: var(--faint); }

/* Rodapé */
.foot { position: relative; overflow: clip; padding-block: 0 0; border: 0; background: linear-gradient(180deg, var(--bg), #120c22); }
.foot-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: clamp(44px, 6vw, 76px); border-bottom: 1px solid var(--line); }
.foot-cta h2 { max-width: 18ch; }
.foot-grid { display: grid; grid-template-columns: minmax(0,1.5fr) repeat(3, minmax(0,1fr)); gap: 36px clamp(24px, 4vw, 60px); padding-block: clamp(36px, 5vw, 60px); }
.foot-logo { width: 150px; height: auto; margin-bottom: 16px; }
.foot p { color: var(--muted); font-size: .92rem; }
.foot h3 { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.foot-grid a { display: block; width: fit-content; padding-block: 4px; text-decoration: none; color: var(--muted); font-size: .92rem; transition: color .3s, transform .6s var(--soft); }
.foot-grid a:hover { color: #fff; transform: translateX(3px); }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.foot-grid .socials a { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid var(--line); transition: border-color .3s, background-color .3s, transform .6s var(--soft); }
.foot-grid .socials a:hover { transform: translateY(-2px); background: #fff; color: #1e0c3f; border-color: #fff; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.news { margin-top: 14px; display: flex; gap: 6px; padding: 5px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.news input { flex: 1 1 100px; min-width: 0; border: 0; background: none; padding: 8px 12px; border-radius: 99px; font-size: .9rem; }
.news .btn { min-height: 38px; padding: 0 16px; box-shadow: none; font-size: .8rem; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: 0; padding-block: 18px 22px; border-top: 1px solid var(--line); }
.foot-bottom p { font-size: .8rem; color: var(--faint); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-legal a { text-decoration: none; color: inherit; transition: color .3s; }
.foot-legal a:hover { color: #fff; }

/* Botão de mensagens */
.to-top { position: fixed; z-index: 26; right: calc(28px + env(safe-area-inset-right, 0px)); bottom: calc(92px + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: rgba(19,14,34,.92); border: 1px solid rgba(215,117,241,.5); box-shadow: 0 0 16px rgba(163,79,232,.4); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, transform .5s var(--soft), visibility .35s, box-shadow .3s; }
.to-top.on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 0 24px rgba(215,117,241,.7); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat.open ~ .to-top { opacity: 0; visibility: hidden; }
.chat { pointer-events: none; }
.chat-btn, .chat.open .chat-panel { pointer-events: auto; }
.chat { position: fixed; z-index: 25; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: end; gap: 10px; }
.chat-btn { position: relative; width: 60px; height: 60px; border: 0; border-radius: 50%; cursor: pointer; background: linear-gradient(145deg, #4a2387, #170c2d); color: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.55), 0 0 22px rgba(215,117,241,.45), inset 0 0 0 1px rgba(215,117,241,.55); transition: transform .6s var(--soft); }
.chat-btn:hover { transform: scale(1.07); }
.chat-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #d775f1; animation: ping 3.6s var(--soft) infinite; }
.chat.open .chat-btn::before { animation: none; opacity: 0; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 45%, 100% { transform: scale(1.65); opacity: 0; } }
.chat-btn svg { position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--soft), opacity .3s; }
.chat-btn .ico-x { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chat.open .ico-x { opacity: 1; transform: none; }
.chat.open .ico-msg { opacity: 0; transform: rotate(90deg) scale(.6); }

@media (max-width: 1099px) { .goal-tab { font-size: .84rem; } .flow-step b { font-size: .84rem; } }
@media (max-width: 899px) {
  .nav-menu, .nav-drop svg, .nav-ind { display: none; }
  .nav-logo .wordmark { display: none; }
  .nav-logo .v-mark { display: block; }
  .hero { min-height: 0; padding-top: 100px; padding-bottom: 72px; }
  h1 { font-size: clamp(2.9rem, 13.6vw, 5rem); }
  .hero-inner { padding-top: 96px; padding-bottom: 48px; }
  .hero-inner h1 { font-size: clamp(2.3rem, 10.6vw, 4rem); }
  .hero .btn-ghost { display: none; }
  .wall-in { grid-template-columns: repeat(3, minmax(0,1fr)); inset: -20% -30%; }
  .col.c3, .col.c4 { display: none; }
  .logos { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 18px; } .logos li { height: 56px; }
  .logo-case { height: 30px; } .logo-halo { height: 48px; } .logo-janine { height: 56px; } .logo-jp { height: 36px; } .logo-conffeti { height: 44px; }
  .logos li:last-child { grid-column: 1 / -1; }

  .show { grid-template-columns: minmax(0,1fr); }
  .show-list { display: none; }
  .show-stage { aspect-ratio: auto; perspective: none; }
  .show-frame { position: static; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); transform: none !important; }
  .show-frame::-webkit-scrollbar { display: none; }
  .show-slide { position: relative; inset: auto; flex: 0 0 86%; aspect-ratio: 3/3.1; opacity: 1; visibility: visible; transform: none; scroll-snap-align: center; }
  .show-cap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .show-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .show-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); transition: background-color .3s, transform .4s; }
  .show-dots i.on { background: #fff; transform: scale(1.25); }

  .pgrid, .two, .mini-grid, .mini-grid.four, .mini-grid.two-up, .prev-next, .gallery, .sys-grid, .bo-wrap { grid-template-columns: minmax(0,1fr); }
  .photos, .pieces, .kit-grid, .kit-apps-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kit-specs { grid-template-columns: minmax(0,1fr); }
  .photos .big img { aspect-ratio: 4/3; }
  .photos figure:last-child { grid-column: 1 / -1; }
  .bo, .bo-note { grid-column: 1; }
  .bo-body { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .bo-nav { display: flex; gap: 6px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .bo-nav::-webkit-scrollbar { display: none; }
  .bo-tab { flex: none; white-space: nowrap; }
  .bo-group { display: none; }
  .bo-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bo-note { margin-top: -8px; }
  .pcard { aspect-ratio: 4/3.4; }
  .band { grid-template-columns: minmax(0,1fr); padding-bottom: 0; }
  .band-pic { margin: 8px -20px 0; }
  .band:hover .band-pic img { transform: none; }
  .goal-tabs { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .goal-tab:last-child { grid-column: 1 / -1; }
  .goal-tab { border-radius: 16px; }
  .goal-panel { grid-template-columns: minmax(0,1fr); }
  .goal-visuals { grid-column: 1; grid-row: 1; }
  .goal-panel .goal-list { grid-row: 2; } .goal-panel #goal-cta { grid-row: 3; }
  .svc-tile, .svc-tile:nth-child(n) { grid-column: 1 / -1; aspect-ratio: 4/3; min-height: 0; }
  .svc-tile small { max-height: 80px; opacity: 1; }

  .flow-nav { display: none; }
  .flow-panels { display: grid; gap: 12px; margin-top: 0; }
  .flow-panel[hidden] { display: grid !important; }
  .flow-panel { grid-template-columns: minmax(0,1fr); animation: none; }
  .flow-num { font-size: 3.4rem; }
  .prev-next a:last-child div { text-align: left; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .foot-brand, .foot-news { grid-column: 1 / -1; }
  .foot { padding-bottom: 88px; }
  .mobile-bar { grid-template-columns: minmax(0,1fr); padding-right: 92px; background: none; border: 0; }
  .mobile-bar .btn { min-height: 54px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
  .chat { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); right: 16px; }
  .chat-btn { width: 56px; height: 56px; }
  .to-top { right: 22px; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .stat-viz, .stat-viz *, .plats-run ul { animation: none !important; } .nav { animation: none; } a.btn::before { animation: none !important; } .col { animation: none; } .chat-btn::before { animation: none; } }

/* ---------- Dinamismo: títulos, imagens, transições ---------- */
.w { display: inline-block; clip-path: inset(-.14em -.22em -.24em -.14em); }
.wi { display: inline-block; }
.js .split .wi { transform: translateY(135%); transition: transform 1.15s var(--soft) calc(var(--i, 0) * 48ms); }
.js .split.in .wi { transform: none; }
h1 em.split-em, h2 em.split-em { background: none; color: inherit; padding-right: 0; }
em.split-em .wi { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }

.js img.reveal, .js figure.reveal img, .js .mini-shot.reveal img, .js .pcard.reveal img, .js .svc-tile.reveal img, .js .band.reveal .band-pic img { clip-path: inset(7% 7% 7% 7% round 18px); transition: clip-path 1.5s var(--soft) var(--d, 0ms), opacity .9s var(--soft), transform 1.5s var(--soft); }
.js img.reveal.in, .js figure.reveal.in img, .js .mini-shot.reveal.in img, .js .pcard.reveal.in img, .js .svc-tile.reveal.in img, .js .band.reveal.in .band-pic img { clip-path: inset(0 round 0); }

a.btn { transition: transform .6s var(--soft), translate .5s var(--soft); }
.founder-copy blockquote span { transition: opacity .35s linear; }
.pills-run li { transition: border-color .3s, background-color .3s, opacity .7s var(--soft) calc(var(--i, 0) * 60ms), transform .7s var(--soft) calc(var(--i, 0) * 60ms); }
.js .pills-run.reveal:not(.in) li { opacity: 0; transform: translateY(10px); }
.pills-run li:hover { border-color: var(--v4); background: rgba(215,117,241,.1); }

/* Transição entre páginas (só em navegadores que a suportam) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .page-hero { view-transition-name: page-hero; }
  .nav { view-transition-name: site-nav; }
  ::view-transition-group(page-hero) { animation-duration: .65s; animation-timing-function: cubic-bezier(.2,.8,.2,1); z-index: 5; }
  ::view-transition-old(root) { animation: vt-out .28s ease both; }
  ::view-transition-new(root) { animation: vt-in .5s cubic-bezier(.2,.8,.2,1) .06s both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
html[data-nav-seen] .nav { animation: none; }

/* Logótipos: cor da marca e o que foi feito */
.logos-run { position: relative; }
.brands .logos-dup { display: none; }
.logos li { position: relative; }
.logos a { display: grid; justify-items: center; text-decoration: none; }
.logo-box { position: relative; display: block; line-height: 0; }
.logo-tint { position: absolute; inset: 0; opacity: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; transition: opacity .45s var(--soft); }
.logos img { transition: opacity .45s var(--soft); }
.logos a:hover .logo-tint, .logos a:focus-visible .logo-tint { opacity: 1; }
.logos a:hover img, .logos a:focus-visible img { opacity: 0; }
.logo-tip { position: absolute; top: calc(100% + 6px); left: 50%; width: max-content; max-width: 240px; font-size: .72rem; color: var(--muted); opacity: 0; transform: translate(-50%, 6px); transition: opacity .35s, transform .5s var(--soft); pointer-events: none; }
.logos a:hover .logo-tip, .logos a:focus-visible .logo-tip { opacity: 1; transform: translate(-50%, 0); }
.brands { padding-bottom: clamp(48px, 5.5vw, 72px); }
@media (max-width: 760px) {
  .logos-run { display: flex; overflow: hidden; margin-inline: calc(var(--gutter) * -1); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .brands .logos, .brands .logos-dup { display: flex; flex: none; flex-wrap: nowrap; gap: 44px; padding-right: 44px; animation: logos-run 26s linear infinite; }
  .logo-tip { display: none; }
}
@keyframes logos-run { to { transform: translateX(-100%); } }

/* Rodapé sem o segundo apelo */
.foot-plain .foot-grid { padding-top: clamp(40px, 5vw, 64px); }

/* Filtros com contagem */
.filter small { margin-left: 7px; font-size: .72em; opacity: .6; }

/* Sistemas: cartões que se expandem */
.sys-live { display: flex; align-items: stretch; }
.sys-live .sys { flex: 1 1 0; cursor: pointer; transition: flex-grow .75s var(--soft), border-color .4s, background-color .4s, transform 1.3s var(--soft) var(--d, 0ms), opacity 1.3s var(--soft) var(--d, 0ms); }
.sys-live .sys.on { flex-grow: 2.3; border-color: rgba(215,117,241,.5); background: linear-gradient(160deg, rgba(113,55,200,.2), var(--panel) 60%); cursor: default; }
.sys-live .sys:not(.on):hover { border-color: rgba(215,117,241,.35); }
.sys-live .sys:focus-visible { outline: 2px solid var(--v5); outline-offset: 3px; }
.sys-live .sys:not(.on) ul { display: none; }
.sys-live .sys.on ul { animation: sysin .7s var(--soft) .18s both; }
.sys-live.no-anim .sys, .sys-live.no-anim .sys ul { transition: none !important; animation: none !important; }
@keyframes sysin { from { opacity: 0; transform: translateY(10px); } }

/* Casos: progresso e índice */
.read-bar { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 2px; background: var(--grad-text); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.toc { position: fixed; z-index: 24; right: 18px; top: 50%; width: 40px; display: grid; gap: 2px; justify-items: end; transform: translateY(-50%); opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.toc.on { opacity: 1; visibility: visible; transition: opacity .5s; }
.toc a { position: relative; display: flex; align-items: center; justify-content: flex-end; width: 40px; padding: 7px 0; text-decoration: none; }
.toc i { flex: none; width: 10px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.28); transition: width .5s var(--soft), background-color .3s; }
.toc span { position: absolute; right: calc(100% + 6px); top: 50%; margin-top: -14px; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line); background: rgba(12,8,24,.92); color: #fff; font-size: .76rem; white-space: nowrap; opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .4s var(--soft); pointer-events: none; }
.toc a:hover span, .toc a:focus-visible span { opacity: 1; transform: none; }
.toc a:hover i { background: #fff; }
.toc a.on i { width: 24px; background: var(--v5); }
@media (max-width: 1359px) { .toc { display: none; } }

/* Próximo projeto */
.next-case { position: relative; display: block; aspect-ratio: 21/9; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; transition: border-color .4s; }
.next-case:hover { border-color: rgba(215,117,241,.6); }
.next-case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--soft); }
.next-case:hover img { transform: scale(1.04); }
.next-case::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,5,14,.94) 12%, rgba(7,5,14,.45) 60%, rgba(7,5,14,.1)); }
.next-copy { position: absolute; z-index: 1; left: clamp(20px, 4vw, 56px); bottom: clamp(20px, 3.4vw, 48px); max-width: min(52%, 560px); display: grid; gap: 8px; }
.next-copy span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--v5); }
.next-copy b { font-weight: 500; font-size: clamp(2.3rem, 5.6vw, 5rem); line-height: 1.02; letter-spacing: -.04em; color: #fff; }
.next-copy p { color: rgba(255,255,255,.78); font-size: .95rem; }
.next-go { position: absolute; z-index: 1; right: clamp(20px, 3.4vw, 48px); bottom: clamp(20px, 3.4vw, 48px); display: grid; place-items: center; width: clamp(52px, 5.4vw, 76px); height: clamp(52px, 5.4vw, 76px); border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(7,5,14,.6); color: #fff; transition: background-color .4s, color .4s, transform .7s var(--soft); }
.next-go svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.next-case:hover .next-go { background: #fff; color: #1e0c3f; transform: translateX(4px); }
.prev-case { margin-top: 18px; text-align: right; }
@media (max-width: 760px) {
  .next-case { aspect-ratio: 4/4.4; }
  .next-case::after { background: linear-gradient(180deg, rgba(7,5,14,.2), rgba(7,5,14,.94) 72%); }
  .next-copy { max-width: none; right: 20px; }
  .next-go { top: 20px; bottom: auto; }
  .prev-case { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .js img.reveal, .js figure.reveal img, .js .mini-shot.reveal img, .js .pcard.reveal img, .js .svc-tile.reveal img, .js .band.reveal .band-pic img { clip-path: none; }
  .brands .logos, .brands .logos-dup { animation: none; }
  .js .pills-run.reveal:not(.in) li { opacity: 1; transform: none; }
}


/* ---------- Assistente ---------- */
.chat { z-index: 30; }
.chat-panel { display: grid; grid-template-rows: auto minmax(0,1fr) auto auto auto auto; width: min(392px, calc(100vw - 40px)); height: min(620px, calc(100dvh - 120px)); border-radius: 24px; border: 1px solid rgba(215,117,241,.28); background: linear-gradient(165deg, rgba(34,18,64,.985), rgba(10,7,20,.99)); box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 38px rgba(163,79,232,.22), inset 0 1px 0 rgba(255,255,255,.08); overflow: hidden; visibility: hidden; opacity: 0; transform: translateY(14px) scale(.97); transform-origin: 100% 100%; transition: opacity .3s, transform .5s var(--soft), visibility 0s .4s; }
.chat.open .chat-panel { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .5s var(--soft); }
.chat-head { display: flex; align-items: center; gap: 11px; padding: 13px 12px 13px 15px; border-bottom: 1px solid var(--line); }
.chat-av { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; background: rgba(215,117,241,.13); border: 1px solid rgba(215,117,241,.3); }
.chat-av svg { width: 22px; height: 22px; }
.chat-head p { flex: 1; min-width: 0; display: grid; gap: 1px; margin: 0; }
.chat-head b { font-weight: 500; font-size: .95rem; color: #fff; }
.chat-head small { font-size: .74rem; color: var(--muted); }
.chat-x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; transition: background-color .25s, color .25s; }
.chat-x:hover { background: rgba(255,255,255,.08); color: #fff; }
.chat-x svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.chat-log { display: flex; flex-direction: column; gap: 9px; padding: 15px 14px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(215,117,241,.3) transparent; -webkit-user-select: text; user-select: text; }
.msg { display: grid; justify-items: start; gap: 7px; max-width: 88%; }
.msg p { margin: 0; padding: 9px 13px; border-radius: 16px 16px 16px 5px; font-size: .88rem; line-height: 1.5; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.07); overflow-wrap: anywhere; }
.msg-u { align-self: flex-end; justify-items: end; }
.msg-u p { border-radius: 16px 16px 5px 16px; background: linear-gradient(145deg, #5c2ba6, #3b1c73); border-color: rgba(215,117,241,.3); }
.msg-act { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 13px; border-radius: 99px; font-size: .8rem; font-weight: 500; color: #fff; text-decoration: none; border: 1px solid rgba(215,117,241,.38); background: rgba(215,117,241,.1); transition: background-color .25s; }
.msg-act:hover { background: rgba(215,117,241,.22); }
.msg-act-wa { background: #1fa855; border-color: transparent; }
.msg-act-wa:hover { background: #25c364; }
.msg-wait p { display: flex; gap: 4px; padding-block: 13px; }
.msg-wait i { width: 6px; height: 6px; border-radius: 50%; background: var(--v5); animation: msg-dot 1.2s infinite ease-in-out; }
.msg-wait i:nth-child(2) { animation-delay: .15s; } .msg-wait i:nth-child(3) { animation-delay: .3s; }
@keyframes msg-dot { 0%, 70%, 100% { opacity: .3; transform: none; } 35% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 11px; }
.chat-chips[hidden] { display: none; }
.chat-chips button { min-height: 36px; padding: 5px 12px; border-radius: 99px; border: 1px solid rgba(215,117,241,.3); background: rgba(215,117,241,.08); color: #fff; font: inherit; font-size: .78rem; cursor: pointer; transition: background-color .25s; }
.chat-chips button:hover { background: rgba(215,117,241,.2); }
.chat-form { display: flex; gap: 7px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; height: 44px; padding: 0 15px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: .9rem; outline: 0; transition: border-color .25s; }
.chat-form input:focus { border-color: var(--v5); }
.chat-form input::placeholder { color: var(--muted); }
.chat-form button { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #1e0c3f; cursor: pointer; transition: transform .4s var(--soft); }
.chat-form button:hover { transform: scale(1.06); }
.chat-form svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chat-foot { display: flex; align-items: center; gap: 6px; padding: 0 12px 6px; }
.chat-wa { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 4px 11px 4px 5px; border-radius: 13px; color: #fff; font-size: .8rem; font-weight: 500; line-height: 1.25; text-decoration: none; background: rgba(37,211,102,.1); border: 1px solid rgba(37,211,102,.28); transition: background-color .25s; }
.chat-wa:hover { background: rgba(37,211,102,.2); }
.chat-wa i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: #1fa855; }
.chat-wa svg { width: 17px; height: 17px; fill: #fff; }
.chat-alt { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: #fff; border: 1px solid var(--line); background: rgba(255,255,255,.05); transition: background-color .25s; }
.chat-alt:hover { background: rgba(255,255,255,.12); }
.chat-alt svg { width: 17px; height: 17px; fill: currentColor; }
.chat-note { margin: 0; padding: 0 14px 10px; font-size: .68rem; line-height: 1.4; color: var(--faint); }
.chat-note a { color: inherit; }
.chat.open ~ .to-top { opacity: 0; visibility: hidden; }

/* ---------- Barra de cookies ---------- */
.ck { position: fixed; z-index: 40; left: calc(20px + env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: min(480px, calc(100vw - 40px)); max-height: calc(100dvh - 40px); overflow-y: auto; display: grid; gap: 13px; padding: 19px 20px; border-radius: 22px; border: 1px solid rgba(215,117,241,.28); background: linear-gradient(165deg, rgba(34,18,64,.985), rgba(10,7,20,.99)); box-shadow: 0 26px 70px rgba(0,0,0,.65), 0 0 30px rgba(163,79,232,.2); }
.ck[hidden] { display: none; }
.ck p { margin: 0; font-size: .84rem; line-height: 1.5; color: var(--muted); }
.ck .ck-t { margin-bottom: 4px; font-size: .98rem; font-weight: 500; color: #fff; }
.ck a { color: #fff; }
.ck-prefs { display: grid; gap: 4px; }
.ck-prefs[hidden] { display: none; }
.ck-prefs label { display: flex; align-items: flex-start; gap: 11px; padding: 9px 10px; border-radius: 13px; background: rgba(255,255,255,.04); cursor: pointer; }
.ck-prefs input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: #a34fe8; }
.ck-prefs span { display: grid; gap: 1px; }
.ck-prefs b { font-weight: 500; font-size: .86rem; color: #fff; }
.ck-prefs small { font-size: .76rem; line-height: 1.4; color: var(--muted); }
.ck-btns { display: flex; flex-wrap: wrap; gap: 7px; }
.ck-btns .btn { flex: 1 1 auto; justify-content: center; min-height: 42px; }
.ck-btns [hidden] { display: none; }
.ck-open { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; transition: color .3s; }
.ck-open:hover { color: #fff; }

/* ---------- Proteção de conteúdo ---------- */
html { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, .selectable, .selectable * { -webkit-user-select: text; user-select: text; }
img { -webkit-user-drag: none; }
@media print { html:not(.pdf):not(:has(.legal)) body { display: none !important; } }
.legal, .legal * { -webkit-user-select: text; user-select: text; }
.legal a { color: #fff; }

/* ---------- Seletor de línguas ---------- */
.nav-end { display: flex; align-items: center; gap: 8px; }
.nav-end .btn { flex: none; }
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 11px; border-radius: 99px; border: 1px solid transparent; background: none; color: var(--muted); font: inherit; font-size: .8rem; font-weight: 500; cursor: pointer; transition: color .25s, border-color .25s, background-color .25s; }
.lang-btn:hover, .lang.open .lang-btn { color: #fff; border-color: rgba(215,117,241,.3); background: rgba(215,117,241,.08); }
.lang-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 12px); display: grid; gap: 2px; min-width: 164px; padding: 7px; border-radius: 16px; border: 1px solid rgba(215,117,241,.26); background: rgba(14,9,28,.98); box-shadow: 0 22px 60px rgba(0,0,0,.6); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .35s var(--soft), visibility 0s .3s; }
.lang.open .lang-menu { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .35s var(--soft); }
.lang-menu a { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 40px; padding: 7px 11px; border-radius: 10px; font-size: .86rem; color: var(--muted); text-decoration: none; transition: background-color .2s, color .2s; }
.lang-menu a small { font-size: .7rem; color: var(--faint); }
.lang-menu a:hover, .lang-menu a:focus-visible { background: rgba(215,117,241,.12); color: #fff; }
.lang-menu a[aria-current] { color: #fff; }
html[lang="de"] .nav-links, html[lang="fr"] .nav-links { gap: clamp(12px, 1.8vw, 26px); }

/* ---------- Menu de telemóvel ---------- */
.nav-burger { display: none; position: relative; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.nav-burger i { position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: currentColor; transition: transform .45s var(--soft); }
.nav-burger i:nth-child(1) { transform: translateY(-4px); }
.nav-burger i:nth-child(2) { transform: translateY(4px); }
.m-open .nav-burger i:nth-child(1) { transform: rotate(45deg); }
.m-open .nav-burger i:nth-child(2) { transform: rotate(-45deg); }
.m-nav { position: fixed; z-index: 19; inset: 0; display: flex; flex-direction: column; gap: 18px; padding: calc(84px + env(safe-area-inset-top, 0px)) 22px calc(24px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; background: rgba(7,5,14,.985); animation: m-in .35s ease both; }
.m-nav[hidden] { display: none; }
@keyframes m-in { from { opacity: 0; } }
.m-nav nav { display: grid; }
.m-nav nav > a, .m-svc summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); font-size: 1.32rem; font-weight: 500; letter-spacing: -.02em; color: #fff; text-decoration: none; cursor: pointer; list-style: none; }
.m-svc summary::-webkit-details-marker { display: none; }
.m-svc summary::after { content: "+"; font-weight: 400; color: var(--v5); transition: transform .35s var(--soft); }
.m-svc[open] summary::after { transform: rotate(45deg); }
.m-svc div { display: grid; padding: 6px 0 10px; border-bottom: 1px solid var(--line); }
.m-svc div a { display: flex; align-items: center; min-height: 44px; font-size: .96rem; color: var(--muted); text-decoration: none; }
.m-nav > .btn { justify-content: center; min-height: 54px; }

/* ---------- Telemóvel ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary, label { -webkit-tap-highlight-color: rgba(215,117,241,.18); touch-action: manipulation; }
.info a, .foot-news a { color: inherit; text-decoration: none; }
.foot-news a { display: inline-block; }
h1, h2, h3, .btn { overflow-wrap: break-word; }
@media (max-width: 899px) {
  input, textarea, select { font-size: 16px !important; }
  .nav { padding: 5px 5px 5px 12px; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-end { gap: 2px; }
  .m-open { overflow: hidden; }
  .m-open .chat, .m-open .mobile-bar, .m-open .to-top { visibility: hidden; opacity: 0; }
  h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; }
  .foot-legal a, .foot-legal button { display: inline-flex; align-items: center; min-height: 36px; }
  .foot-grid a { min-height: 34px; display: flex; align-items: center; }
  .socials a { display: grid; }
}
@media (max-width: 559px) {
  .nav-end .btn { display: none; }
  /* Assistente em folha, a ocupar a largura do ecrã */
  .chat-panel { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); width: auto; height: min(78dvh, calc(100dvh - 24px)); transform-origin: 50% 100%; }
  .chat.open .chat-btn { visibility: hidden; opacity: 0; }
  .chat-on .mobile-bar { visibility: hidden; opacity: 0; }
  /* Barra de cookies acima de tudo e sem disputar com os botões */
  .ck { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); width: auto; padding: 16px; }
  .ck-on .chat, .ck-on .mobile-bar, .ck-on .to-top { visibility: hidden; opacity: 0; }
}

/* Formulário e zonas de toque no telemóvel */
.fstep { min-width: 0; }
.lead-form { min-width: 0; max-width: 100%; }
@media (max-width: 899px) {
  .form-steps { gap: 6px; }
  .form-steps li { min-width: 0; font-size: .74rem; white-space: normal; }
  .chips { min-width: 0; flex-wrap: wrap; }
  .chip span { min-height: 42px; display: inline-flex; align-items: center; }
  .nav-logo { min-width: 40px; min-height: 44px; justify-content: center; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 36px; }
  a.link, .case-site a, .info a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-grid a { min-height: 40px; }
  .logos a { min-height: 44px; display: inline-flex; align-items: center; }
  .filter small { font-size: .74rem; }
}
@media (max-width: 760px) {
  /* Projetos: o texto fica por baixo da imagem, sem competir com ela */
  .show-slide { display: flex; flex-direction: column; height: auto; aspect-ratio: auto; background: rgba(255,255,255,.04); }
  .show-slide img { position: static; flex: none; height: auto; aspect-ratio: 3/2; object-fit: cover; }
  .show-cap { position: static; flex: 1; justify-content: space-between; padding: 14px 16px 16px; background: none; }
  .show-frame { aspect-ratio: auto; height: auto; }
}
@media (max-width: 559px) {
  .to-top { display: none; }
}
@media (max-width: 899px) { .case-meta a, .meta a { display: inline-flex; align-items: center; min-height: 40px; } }
@media (max-width: 899px) { main a[target="_blank"]:not(.btn):not(.link) { display: inline-flex; align-items: center; min-height: 40px; } }

/* ---------- Telemóvel: site mais curto. O que era uma coluna interminável passa a filas de deslizar ---------- */
.svc-tile { background: linear-gradient(150deg, #2a1650, #120a24); }
.faq-more { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin-top: 10px; border: 1px solid rgba(215,117,241,.3); border-radius: 99px; background: rgba(215,117,241,.07); color: #fff; font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer; }
@media (min-width: 761px) { .faq-more, .swipe-dots { display: none !important; } }
@media (max-width: 899px) {
  .lang-btn { height: 44px; padding: 0 9px; }
}
@media (max-width: 760px) {
  .section { padding-block: 52px; }
  .svc-bento, .flow-panels, .mini-grid, .mini-grid.four, .mini-grid.two-up, .sys-grid, .res-grid, .gallery, .photos, .kit-apps-grid { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .svc-bento::-webkit-scrollbar, .flow-panels::-webkit-scrollbar, .mini-grid::-webkit-scrollbar, .sys-grid::-webkit-scrollbar, .res-grid::-webkit-scrollbar, .gallery::-webkit-scrollbar, .photos::-webkit-scrollbar, .kit-apps-grid::-webkit-scrollbar { display: none; }
  .svc-bento > *, .svc-tile:nth-child(n), .flow-panels > *, .mini-grid > *, .sys-grid > *, .res-grid > *, .gallery > *, .photos > *, .kit-apps-grid > * { flex: 0 0 82%; min-width: 0; scroll-snap-align: start; grid-column: auto; }
  .js .svc-bento > .reveal, .js .mini-grid > .reveal, .js .sys-grid > .reveal, .js .res-grid > .reveal, .js .gallery > .reveal, .js .photos > .reveal, .js .kit-apps-grid > .reveal { opacity: 1; transform: none; }
  .js .svc-tile.reveal img { clip-path: none; }
  .swipe-dots { position: static; display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
  /* Serviços */
  .svc-tile, .svc-tile:nth-child(n) { aspect-ratio: 4/3.3; }
  .svc-tile small { display: none; }
  /* Processo: cartões de deslizar com a imagem em cima */
  .flow-panel, .flow-panel[hidden] { display: flex !important; flex-direction: column; gap: 12px; }
  .flow-panel img { order: -1; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
  /* Objetivos, números, fundador e faixa: sem repetir imagens nem decoração */
  .goal-visuals { display: none; }
  .stat-viz { display: none; }
  .stat { padding: 16px 12px; }
  .founder-img img { aspect-ratio: 4/3; object-fit: cover; object-position: 50% 18%; }
  .band-pic { display: none; }
  .band { padding-bottom: 24px; }
  .contact-copy .checks { display: none; }
  /* Rodapé */
  .foot-grid > :nth-child(3) { display: none; }
  .foot-brand, .foot-news { grid-column: 1 / -1; }
  .foot-grid > :nth-child(2) { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 12px; }
  .foot-grid > :nth-child(2) h3 { grid-column: 1 / -1; }
  .foot-grid a { min-height: 38px; }
  /* Projetos: dois por linha */
  .pgrid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .pgrid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pcard p { display: none; }
}

.msg-sug { display: grid; gap: 5px; justify-items: start; }
.msg-sug button { min-height: 36px; padding: 6px 12px; border-radius: 14px; border: 1px solid rgba(215,117,241,.26); background: rgba(215,117,241,.06); color: #fff; font: inherit; font-size: .78rem; line-height: 1.3; text-align: left; cursor: pointer; transition: background-color .25s; }
.msg-sug button:hover { background: rgba(215,117,241,.18); }

/* Envio do formulário e informação legal */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-form.sent > :not(.form-done) { display: none; }
.news-legal { margin-top: 8px; font-size: .74rem; line-height: 1.45; color: var(--faint); }
.news-legal a { color: inherit; }
.foot-id { margin: 0; padding-block: 0 16px; font-size: .78rem; line-height: 1.5; color: var(--faint); }
