/* =========================================================
   CROOMA Design Studio — V2 Galáxia
   Tokens, base, componentes e animações
   ========================================================= */

@font-face { font-family: "Caviar Dreams"; src: url("../fonts/CaviarDreams.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Caviar Dreams"; src: url("../fonts/Caviar_Dreams_Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --space: #0B0C1F;
  --surface: #17183A;
  --ink: #202146;
  --violet: #615AA4;
  --lavender: #BEBEDC;
  --mist: #EEEDF6;
  --star: #F4F3FB;     /* 17.5:1 */
  --moon: #DCDAF5;     /* 14.2:1 */
  --glow: #A49EE8;     /*  7.9:1 */
  --dust: #9C97C8;     /*  7.1:1 */
  --line: rgba(190, 190, 220, .16);
  --glass: rgba(23, 24, 58, .72);
  --ease-orbit: cubic-bezier(.22, 1, .36, 1);
  --ease-glide: cubic-bezier(.65, 0, .35, 1);
  --display: "Caviar Dreams", "Century Gothic", sans-serif;
  --mono: "Anonymous Pro", ui-monospace, monospace;
  --wrap: 1240px;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--space); color: var(--star); font-family: var(--mono); letter-spacing: -.01em; line-height: 1.5; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--glow); }
a:hover { color: var(--star); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 4px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--mist); color: var(--space); font-weight: 700; text-decoration: none; transition: top .3s; }
.skip:focus { top: 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 30px; padding-right: 30px; }
.rel { position: relative; z-index: 1; }

/* ---------- céu ---------- */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.star { position: absolute; background: var(--star); border-radius: 50%; animation: twinkle 4s ease-in-out infinite; }
.star4 { position: absolute; background: var(--moon); clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); animation: twinkle 5s ease-in-out infinite; filter: drop-shadow(0 0 4px var(--glow)); }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.7); } 50% { opacity: 1; transform: scale(1); } }
.aurora { position: absolute; border-radius: 50%; filter: blur(80px); animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, -40px) scale(1.15); } 100% { transform: translate(-40px, 30px) scale(.95); } }
.shoot { position: absolute; width: 140px; height: 1px; background: linear-gradient(to right, rgba(244, 243, 251, 0), var(--star)); transform: rotate(-24deg); opacity: 0; animation: shoot 11s ease-in 2s infinite; }
@keyframes shoot { 0% { opacity: 0; translate: 0 0; } 1% { opacity: 1; } 7% { opacity: 0; translate: -520px 230px; } 100% { opacity: 0; translate: -520px 230px; } }
.spot { position: fixed; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity .4s; }

/* ---------- animações utilitárias ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes breathe { 0%, 100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes pulse { 0%, 100% { transform: scale(.82); opacity: .75; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes phase { 0% { transform: translateX(-24px); } 50% { transform: translateX(0); } 100% { transform: translateX(24px); } }
@keyframes dot { to { offset-distance: 100%; } }
@keyframes pop { from { opacity: 0; transform: translateY(26px) scale(.96); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.fade { animation: rise .9s var(--ease-orbit) both; }
.d1 { animation-delay: .3s; } .d2 { animation-delay: .45s; } .d3 { animation-delay: .6s; } .d4 { animation-delay: .75s; }
.lit { background: linear-gradient(100deg, #BEBEDC 20%, #ffffff 45%, #A49EE8 60%, #BEBEDC 80%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s ease-in-out infinite; }
.breathe { animation: breathe 7s ease-in-out infinite; }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.4s ease-in-out infinite; }
.moonshade { animation: phase 8s ease-in-out infinite; }
.word { display: inline-block; animation: rise .9s var(--ease-orbit) both; }
.kin-lit { display: inline-block; animation: rise .9s var(--ease-orbit) both, sheen 6s ease-in-out 1.2s infinite; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; font-size: 16px; text-decoration: none; cursor: pointer; border: 0; }
.btn-light { position: relative; overflow: hidden; background: var(--mist); color: var(--space); font-weight: 700; transition: box-shadow .35s, transform .35s var(--ease-orbit); }
.btn-light::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease-orbit); }
.btn-light:hover { color: var(--space); box-shadow: 0 0 0 6px rgba(164, 158, 232, .16), 0 0 48px rgba(164, 158, 232, .55); transform: translateY(-2px); }
.btn-light:hover::after { transform: translateX(120%); }
.btn-ghost { background: transparent; color: var(--star); border: 1px solid rgba(190, 190, 220, .4); transition: background-color .3s, border-color .3s, box-shadow .3s; }
.btn-ghost:hover { color: var(--star); background-color: rgba(164, 158, 232, .1); border-color: var(--glow); box-shadow: 0 0 24px rgba(164, 158, 232, .25); }
.btn small { font-size: 13px; color: var(--dust); }
.round { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(190, 190, 220, .3); background: transparent; color: var(--star); font-size: 16px; cursor: pointer; text-decoration: none; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.round:hover { color: var(--star); border-color: var(--glow); background-color: rgba(164, 158, 232, .1); box-shadow: 0 0 18px rgba(164, 158, 232, .35); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(11, 12, 31, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(190, 190, 220, .12); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand img { width: 160px; height: auto; }
.desk-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; font-size: 15px; }
.nav { position: relative; color: var(--moon); text-decoration: none; padding: 12px 2px; }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--star); box-shadow: 0 0 8px var(--glow); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-orbit); }
.nav:hover { color: var(--star); }
.nav:hover::after, .nav[aria-current="page"]::after { transform: scaleX(1); }
.lang { display: inline-flex; padding: 3px; border: 1px solid rgba(190, 190, 220, .3); border-radius: 999px; }
.lang button { min-height: 38px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 999px; font-size: 14px; cursor: pointer; background: transparent; color: var(--moon); transition: background-color .3s, color .3s; }
.lang button[aria-pressed="true"] { background: var(--mist); color: var(--space); font-weight: 700; }
.crumb { font-size: 14px; color: var(--dust); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumb a { color: var(--lavender); text-decoration: none; }
.crumb a:hover { color: var(--star); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--star); box-shadow: 0 0 12px var(--glow), 0 0 4px var(--glow); }

/* hambúrguer galáctico */
.burger { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(190, 190, 220, .3); background: rgba(23, 24, 58, .6); cursor: pointer; padding: 0; transition: border-color .3s, box-shadow .3s; }
.burger:hover, .burger[aria-expanded="true"] { border-color: var(--glow); box-shadow: 0 0 20px rgba(164, 158, 232, .35); }
.burger .b1, .burger .b2, .burger .b3, .burger circle { transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease-glide), opacity .35s; }
.burger .bp { animation: ride 3.2s ease-in-out infinite alternate; }
@keyframes ride { from { transform: translateX(0); } to { transform: translateX(12px); } }
.burger .x1, .burger .x2 { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .45s var(--ease-glide) .1s; }
.burger[aria-expanded="true"] .b1, .burger[aria-expanded="true"] .b2, .burger[aria-expanded="true"] .b3 { transform: scaleX(.2); opacity: 0; }
.burger[aria-expanded="true"] .bp { opacity: 0; animation: none; }
.burger[aria-expanded="true"] .x1, .burger[aria-expanded="true"] .x2 { stroke-dashoffset: 0; }
.mpanel { position: fixed; inset: 0; z-index: 15; padding: 110px 30px 40px; background: rgba(11, 12, 31, .95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); display: flex; flex-direction: column; gap: 28px; overflow: auto; }
.mpanel[hidden] { display: none; }
.mpanel.is-open { animation: panel .5s var(--ease-orbit) both; }
@keyframes panel { from { opacity: 0; clip-path: circle(0% at calc(100% - 54px) 40px); } to { opacity: 1; clip-path: circle(150% at calc(100% - 54px) 40px); } }
.mpanel nav { display: flex; flex-direction: column; }
.mpanel .lang, .mpanel .btn, .mpanel .round-row { align-self: flex-start; }
.mlink { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; border-bottom: 1px solid rgba(190, 190, 220, .14); font-family: var(--display); font-weight: 700; font-size: 32px; color: var(--star); text-decoration: none; }
.mpanel.is-open .mlink { animation: rise .7s var(--ease-orbit) both; }
.mlink span { font-family: var(--mono); font-size: 16px; color: var(--glow); }

/* ---------- tipografia ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--glow); font-weight: 400; }
.moon-ico { overflow: hidden; border-radius: 50%; filter: drop-shadow(0 0 6px rgba(164, 158, 232, .8)); flex: none; }
.h-hero { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(46px, 7vw, 92px); line-height: .98; letter-spacing: -.05em; }
.h-sec { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5.5vw, 64px); letter-spacing: -.03em; line-height: 1.05; }
.h-statement { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.15; max-width: 22ch; }
.lead { margin: 0; font-size: clamp(18px, 2vw, 21px); line-height: 1.6; color: var(--lavender); max-width: 56ch; }
.muted { color: var(--lavender); }

/* ---------- hero ---------- */
.hero .wrap { padding-top: 80px; padding-bottom: 60px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 2; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-art { flex: 1 1 520px; display: flex; justify-content: center; }
.sys { position: relative; width: 520px; height: 520px; flex: none; }
.sys .halo { position: absolute; left: 110px; top: 110px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(164, 158, 232, .55), rgba(97, 90, 164, .18) 45%, transparent 70%); }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(190, 190, 220, .18); }
.planet { position: absolute; left: 0; top: 0; border-radius: 50%; offset-anchor: center; offset-rotate: 0deg; animation: orbit linear infinite; }
@keyframes orbit {
  0% { offset-distance: 0%; transform: scale(1.25); filter: brightness(1.25); }
  24.9% { z-index: 5; }
  25% { offset-distance: 25%; transform: scale(.9); z-index: 1; }
  50% { offset-distance: 50%; transform: scale(.55); filter: brightness(.55); }
  74.9% { z-index: 1; }
  75% { offset-distance: 75%; transform: scale(.9); z-index: 5; }
  100% { offset-distance: 100%; transform: scale(1.25); filter: brightness(1.25); }
}
.sys .logo-svg { position: absolute; left: 150px; top: 150px; z-index: 3; filter: drop-shadow(0 0 22px rgba(164, 158, 232, .45)); }

/* ---------- órbita de cards (arrastável) ---------- */
.orbit-sec .wrap { padding-top: 40px; padding-bottom: 20px; }
.ostage { position: relative; display: flex; flex-direction: column; gap: 16px; margin-top: 10px; }
.js .ostage { display: block; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.js .ostage:active { cursor: grabbing; }
.js .ostage-svc { height: 440px; }
.js .ostage-about { height: 560px; }
.ocard { box-sizing: border-box; border-radius: 24px; background: rgba(23, 24, 58, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); text-decoration: none; color: var(--star); }
.js .ocard { position: absolute; left: 50%; top: 0; will-change: transform, opacity, filter; -webkit-user-drag: none; }
.ocard img, .ocard a { -webkit-user-drag: none; }
.ocenter { display: none; }
.js .ocenter { display: block; }
.svc-card { display: flex; flex-direction: column; gap: 12px; width: 380px; max-width: 100%; padding: 26px 28px; }
.svc-card h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--star); }
.svc-card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--lavender); }
.svc-card .count { font-size: 13px; color: var(--glow); }
.svc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.arrow-dot { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(190, 190, 220, .35); color: var(--star); flex: none; }
.planet-core { position: absolute; left: 50%; top: 50%; width: 140px; height: 140px; margin: -70px 0 0 -70px; z-index: 2; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #A49EE8, #615AA4 45%, #202146 80%); box-shadow: 0 0 60px rgba(164, 158, 232, .45), inset -18px -18px 40px rgba(11, 12, 31, .7); }
.about-card { display: flex; flex-direction: column; gap: 18px; width: 470px; max-width: 100%; padding: 36px 38px; }
.about-card h3 { margin: 0; display: flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 700; font-size: 30px; }
.about-card p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--moon); }
.about-card .tags { font-size: 14px; color: var(--glow); }
.orbit-ico { position: relative; display: inline-block; width: 40px; height: 30px; flex: none; }
.orbit-ico .o-ring { position: absolute; left: 2px; top: 8px; width: 36px; height: 14px; border-radius: 50%; border: 1.5px solid var(--lavender); }
.orbit-ico .o-core { position: absolute; left: 15px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); }
.orbit-ico .o-dot { position: absolute; left: 0; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--star); box-shadow: 0 0 8px var(--glow); offset-anchor: center; offset-path: path("M 20 22 A 18 7 0 1 1 20 8 A 18 7 0 1 1 20 22"); animation: dot 3s linear infinite; }
.odots { display: none; justify-content: center; align-items: center; gap: 2px; }
.js .odots { display: flex; }
.odot { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.odot span { display: block; width: 8px; height: 8px; border-radius: 999px; background: rgba(190, 190, 220, .35); transition: width .5s var(--ease-orbit), background-color .5s, box-shadow .5s; }
.odot[aria-current="true"] span { width: 28px; background: var(--star); box-shadow: 0 0 12px var(--glow); }
.odot:hover span { background: var(--moon); }
.odiv { width: 1px; height: 18px; margin: 0 10px; background: rgba(190, 190, 220, .25); }
.opause { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(190, 190, 220, .3); background: transparent; color: var(--lavender); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; transition: border-color .3s, color .3s; }
.opause:hover { border-color: var(--glow); color: var(--star); }
.opause .i-play { display: none; }
.opause[aria-pressed="true"] .i-play { display: block; }
.opause[aria-pressed="true"] .i-pause { display: none; }
.hint { margin: 6px 0 0; text-align: center; font-size: 13px; color: var(--dust); }

/* ---------- portfólio ---------- */
.portfolio .wrap { padding-top: 60px; padding-bottom: 60px; }
.pf-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.pf-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
/* filtro: controle segmentado compacto, com indicador de luz que desliza */
.filterbar { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.filter { display: flex; align-items: center; gap: 12px; min-width: 0; max-width: 100%; }
.filter-label { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--dust); }
.seg { position: relative; display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(23, 24, 58, .7); border: 1px solid rgba(190, 190, 220, .18); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.seg::-webkit-scrollbar { display: none; }
.seg-ind { position: absolute; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 999px; background: var(--mist); box-shadow: 0 0 18px rgba(164, 158, 232, .45); transition: transform .45s var(--ease-orbit), width .45s var(--ease-orbit); pointer-events: none; }
.seg-btn { position: relative; z-index: 1; flex: none; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--moon); font-size: 13px; white-space: nowrap; cursor: pointer; transition: color .3s; }
.seg-btn:hover { color: var(--star); }
.seg-btn[aria-pressed="true"] { color: var(--space); font-weight: 700; }
.seg:not(.has-ind) .seg-btn[aria-pressed="true"] { background: var(--mist); }
.result { font-size: 13px; color: var(--dust); min-height: 20px; }
.grid { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; transition: opacity .24s ease, transform .24s ease, filter .24s ease; }
.grid.is-leaving { opacity: 0; transform: translateY(12px) scale(.985); filter: blur(4px); }
.work { display: flex; flex-direction: column; padding: 12px; border-radius: 26px; text-decoration: none; color: inherit; border: 1px solid rgba(190, 190, 220, .14); background: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(164, 158, 232, .22), transparent 60%), rgba(255, 255, 255, .03); transition: border-color .3s, transform .5s var(--ease-orbit); }
.work:hover { color: inherit; border-color: rgba(164, 158, 232, .5); transform: translateY(-4px); }
.work[hidden] { display: none; }
.work.is-feat { grid-column: 1 / -1; }
.work .media { overflow: hidden; border-radius: 18px; background: var(--surface); }
.work img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease-orbit), filter .5s; }
.work.is-feat img { aspect-ratio: 21 / 9; }
.work:hover img { transform: scale(1.04); filter: brightness(1.08); }
.work .cap { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 6px 4px; }
.work .cap div { display: flex; flex-direction: column; gap: 6px; }
.work .name { font-family: var(--display); font-weight: 700; font-size: 23px; color: var(--star); }
.work .sub { font-size: 14px; line-height: 1.45; color: var(--lavender); }
.work .num { flex: none; font-size: 13px; color: var(--dust); }
.work.is-pop { animation: pop .7s var(--ease-orbit) both; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 60px 20px; border-radius: 26px; border: 1px dashed rgba(190, 190, 220, .3); text-align: center; margin-top: 26px; animation: pop .7s var(--ease-orbit) both; }
.empty[hidden] { display: none; }
.empty strong { font-family: var(--display); font-size: 24px; font-weight: 400; }

/* ---------- about ---------- */
.about .wrap { padding-top: 80px; padding-bottom: 40px; }
.about-logo { position: absolute; left: 50%; top: 50%; width: 150px; margin: -16px 0 0 -75px; z-index: 2; opacity: .9; }
.about-halo { position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; margin: -130px 0 0 -130px; z-index: 2; border-radius: 50%; background: radial-gradient(circle, rgba(164, 158, 232, .5), transparent 65%); }

/* ---------- contato ---------- */
.contact .wrap { padding-top: 0; padding-bottom: 40px; margin-top: 40px; }
.panel { position: relative; overflow: hidden; border-radius: 32px; border: 1px solid var(--line); background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px; }
.panel .halo { position: absolute; right: -160px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(164, 158, 232, .35), transparent 65%); pointer-events: none; }
.contact-copy { position: relative; flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-copy p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--lavender); }
.contact-copy strong { color: var(--star); }
.contact-copy .begin { color: var(--star); font-weight: 700; }
.clinks { display: flex; flex-direction: column; gap: 10px; }
.clink { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 20px; border-radius: 16px; border: 1px solid rgba(190, 190, 220, .22); color: var(--star); text-decoration: none; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.clink:hover { color: var(--star); background: rgba(164, 158, 232, .1); border-color: var(--glow); box-shadow: 0 0 24px rgba(164, 158, 232, .25); }
.clink .go { margin-left: auto; color: var(--dust); }
.cform { position: relative; flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cform .legend { font-family: var(--display); font-size: 26px; }
.field-wrap { display: flex; flex-direction: column; gap: 8px; }
.field-wrap label { font-size: 15px; color: var(--moon); }
.field { min-height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid rgba(190, 190, 220, .25); background: var(--surface); color: var(--star); font-family: inherit; font-size: 16px; transition: border-color .3s, box-shadow .3s; }
textarea.field { padding: 14px 18px; resize: vertical; min-height: 130px; }
.field:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 4px rgba(164, 158, 232, .18), 0 0 24px rgba(164, 158, 232, .25); }
.field::placeholder { color: var(--dust); font-style: italic; opacity: 1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform .btn { align-self: flex-start; font-family: var(--display); font-size: 17px; }
.cform .btn[disabled] { opacity: .7; cursor: progress; }
.notice { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 28px; border-radius: 20px; border: 1px solid rgba(164, 158, 232, .5); background: rgba(164, 158, 232, .08); box-shadow: 0 0 40px rgba(164, 158, 232, .2); animation: pop .7s var(--ease-orbit) both; }
.notice[hidden] { display: none; }
.notice strong { font-size: 19px; }
.notice span { font-size: 15px; line-height: 1.5; color: var(--lavender); }
.notice.is-error { border-color: rgba(255, 180, 168, .6); background: rgba(255, 180, 168, .08); box-shadow: none; padding: 16px 20px; }
.notice.is-error strong { font-size: 16px; color: #FFD3CC; }
.cta-mini { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-mini h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 46px); }
.cta-mini p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--lavender); }
.cta-mini .btns { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.site-footer .wrap { padding-top: 32px; padding-bottom: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(190, 190, 220, .12); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; }
.site-footer .copy { font-size: 14px; color: var(--dust); }

/* ---------- página de projeto ---------- */
.case-hero .wrap { padding-top: 72px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; }
.case-hero .copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.case-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(44px, 6.4vw, 86px); line-height: 1; letter-spacing: -.04em; animation: rise .9s var(--ease-orbit) .12s both, sheen 6s ease-in-out 1.4s infinite; }
.meta { flex: 1 1 340px; margin: 0; display: flex; flex-direction: column; padding: 8px 24px; border-radius: 24px; border: 1px solid var(--line); background: rgba(23, 24, 58, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.meta div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; line-height: 1.4; }
.meta div + div { border-top: 1px solid rgba(164, 158, 232, .35); }
.meta dt { color: var(--glow); }
.meta dd { margin: 0; text-align: right; }
.case-cover { position: relative; max-width: 1300px; margin: 0 auto; padding: 0 30px; }
.case-cover .glowbg { position: absolute; left: 10%; right: 10%; top: 10%; bottom: -6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(97, 90, 164, .55), transparent); filter: blur(40px); }
.curtain { animation: curtain 1.3s var(--ease-glide) .35s both; }
@keyframes curtain { from { clip-path: inset(18% 8% 18% 8% round 40px); opacity: 0; transform: scale(1.04); } to { clip-path: inset(0 0 0 0 round 28px); opacity: 1; transform: none; } }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 24px; overflow: hidden; background: var(--surface); cursor: zoom-in; }
.shot img, .shot video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-orbit), filter .5s; }
.shot:hover img { transform: scale(1.035); filter: brightness(1.08); }
.shot::after { content: ""; position: absolute; inset: 0; border-radius: 24px; border: 1px solid rgba(190, 190, 220, .14); background: radial-gradient(380px circle at var(--mx, -999px) var(--my, -999px), rgba(164, 158, 232, .22), transparent 60%); pointer-events: none; transition: border-color .3s; }
.shot:hover::after { border-color: rgba(164, 158, 232, .5); }
.shot.is-video { cursor: default; }
.zoomhint { position: absolute; right: 16px; bottom: 16px; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(11, 12, 31, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(190, 190, 220, .3); color: var(--star); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.shot:hover .zoomhint, .shot:focus-visible .zoomhint { opacity: 1; transform: none; }
.cover-shot { aspect-ratio: 16 / 8.5; }
.case-about { position: relative; margin-top: 100px; overflow: hidden; }
.case-about .orb { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; pointer-events: none; }
.case-about .orb .ring { left: 50px; top: 300px; width: 800px; height: 300px; transform: rotate(-8deg); border-color: rgba(190, 190, 220, .14); }
.case-about .moon { position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 32% 30%, #ffffff, #BEBEDC 35%, #615AA4 80%); box-shadow: 0 0 18px rgba(190, 190, 220, .8); offset-anchor: center; offset-rotate: 0deg; offset-path: path("M 471 599 A 400 150 -8 1 1 429 301 A 400 150 -8 1 1 471 599"); animation: orbit2 22s linear infinite; }
@keyframes orbit2 { 0% { offset-distance: 0%; transform: scale(1.2); } 25% { transform: scale(.9); } 50% { offset-distance: 50%; transform: scale(.55); opacity: .5; } 75% { transform: scale(.9); } 100% { offset-distance: 100%; transform: scale(1.2); } }
.case-about .orb .halo { position: absolute; left: 300px; top: 300px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(164, 158, 232, .3), transparent 65%); }
.case-about .inner { position: relative; max-width: 900px; margin: 0 auto; padding: 90px 30px; display: flex; flex-direction: column; gap: 22px; text-align: center; }
.case-about h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 58px); }
.case-about p { margin: 0; font-size: clamp(17px, 2vw, 21px); line-height: 1.7; color: var(--moon); }
.gallery { max-width: 1300px; margin: 0 auto; padding: 20px 30px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; }
.gallery .g-wide { grid-column: 1 / -1; }
.gallery .g-wide .shot { aspect-ratio: 16 / 8; }
.gallery .g-item .shot { aspect-ratio: 4 / 3; }
.gallery .g-video .shot { aspect-ratio: 9 / 16; max-height: 80vh; }
.js .rv { opacity: 0; transform: translateY(40px); clip-path: inset(10% 4% 0 4% round 28px); transition: opacity .9s var(--ease-orbit), transform .9s var(--ease-orbit), clip-path 1.1s var(--ease-glide); }
.js .rv.in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 24px); }
.more .wrap { padding-top: 60px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 22px; }
.more-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.pdots { display: flex; align-items: center; gap: 0; }
.pdots a { width: 26px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.pdots a span { display: block; width: 8px; height: 8px; border-radius: 999px; background: rgba(190, 190, 220, .35); transition: width .5s var(--ease-orbit), background-color .4s, box-shadow .4s; }
.pdots a:hover span { background: var(--moon); }
.pdots a[aria-current="page"] span { width: 24px; background: var(--star); box-shadow: 0 0 12px var(--glow); }
.nextcard { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; border-radius: 32px; border: 1px solid var(--line); background: radial-gradient(520px circle at var(--mx, -999px) var(--my, -999px), rgba(164, 158, 232, .2), transparent 60%), var(--glass); text-decoration: none; color: var(--star); transition: border-color .4s, box-shadow .4s; }
.nextcard:hover { color: var(--star); border-color: rgba(164, 158, 232, .55); box-shadow: 0 0 60px rgba(164, 158, 232, .2); }
.nextcard .nimg { overflow: hidden; min-height: 280px; }
.nextcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-orbit); }
.nextcard:hover img { transform: scale(1.05); }
.nextcard .ncopy { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(24px, 4vw, 48px); }
.nextcard .ncopy > div { display: flex; flex-direction: column; gap: 12px; }
.nextcard .nlabel { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--glow); }
.nextcard .nname { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; }
.nextcard .nsub { font-size: 16px; line-height: 1.5; color: var(--lavender); }
.nextcard .arrow { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--mist); color: var(--space); font-size: 22px; box-shadow: 0 0 30px rgba(164, 158, 232, .5); transition: transform .5s var(--ease-orbit); }
.nextcard:hover .arrow { transform: translateX(8px) rotate(-45deg); }
.prevlink { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(190, 190, 220, .25); color: var(--moon); text-decoration: none; font-size: 15px; transition: background-color .3s, border-color .3s; }
.prevlink:hover { color: var(--moon); background: rgba(164, 158, 232, .1); border-color: var(--glow); }
.prevlink strong { color: var(--star); }

/* site ao vivo (moldura de navegador) */
.live .wrap { padding-top: 40px; padding-bottom: 60px; display: flex; flex-direction: column; gap: 28px; }
.live-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.live-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #7CE3A6; box-shadow: 0 0 0 0 rgba(124, 227, 166, .6); animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(124, 227, 166, .6); } 100% { box-shadow: 0 0 0 10px rgba(124, 227, 166, 0); } }
.browser { display: block; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: radial-gradient(520px circle at var(--mx, -999px) var(--my, -999px), rgba(164, 158, 232, .2), transparent 60%), var(--glass); text-decoration: none; color: var(--moon); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); transition: border-color .4s, box-shadow .4s, transform .6s var(--ease-orbit); }
.browser:hover { color: var(--moon); border-color: rgba(164, 158, 232, .55); box-shadow: 0 0 60px rgba(164, 158, 232, .25); transform: translateY(-4px); }
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.bdots { display: flex; gap: 6px; }
.bdots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(190, 190, 220, .3); }
.burl { flex: 1; min-width: 0; padding: 6px 14px; border-radius: 999px; background: rgba(11, 12, 31, .6); color: var(--lavender); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bgo { color: var(--glow); }
.browser-view { position: relative; display: block; height: 560px; overflow: hidden; background: #fff; pointer-events: none; }
.browser-view iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; }

/* demo em celular + telas */
.demo { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.demo-copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; }
.demo-phone { position: relative; flex: 0 1 340px; display: flex; justify-content: center; margin: 0 auto; }
.demo-glow { position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(164, 158, 232, .45), transparent); filter: blur(30px); pointer-events: none; }
.phone-frame { position: relative; display: block; width: 320px; max-width: 100%; padding: 10px; border-radius: 48px; background: #05060f; border: 1px solid rgba(190, 190, 220, .3); box-shadow: 0 0 0 2px rgba(11, 12, 31, .9), 0 30px 80px rgba(0, 0, 0, .45), 0 0 60px rgba(164, 158, 232, .25); }
.phone-screen { position: relative; display: block; overflow: hidden; border-radius: 38px; background: #10151b; height: 650px; }
.phone-screen iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; }
.phones .wrap { padding-top: 30px; padding-bottom: 30px; display: flex; flex-direction: column; gap: 26px; }
.phones-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.phone-shot { width: 250px; padding: 8px; border-radius: 40px; cursor: zoom-in; transition: transform .6s var(--ease-orbit), box-shadow .4s; }
.phone-shot img { width: 100%; height: auto; border-radius: 32px; }
.phone-shot:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 0 0 2px rgba(11, 12, 31, .9), 0 30px 80px rgba(0, 0, 0, .45), 0 0 80px rgba(164, 158, 232, .45); }
@media (min-width: 1100px) { .phones-row .phone-shot:nth-child(even) { margin-top: 60px; } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; background: rgba(7, 8, 22, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: lbin .4s ease both; touch-action: pan-y; }
.lb[hidden] { display: none; }
@keyframes lbin { from { opacity: 0; } to { opacity: 1; } }
.lb img { max-width: min(1400px, 100%); max-height: 78vh; object-fit: contain; border-radius: 18px; box-shadow: 0 0 80px rgba(164, 158, 232, .2); user-select: none; -webkit-user-drag: none; }
.lb img.is-in { animation: pop .5s var(--ease-orbit) both; }
.lb-bar { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--moon); }
.lb-bar .btn { min-height: 44px; padding: 0 20px; margin-left: 8px; font-size: 15px; }
.lb .hint { margin: 0; }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .desk-nav, .desk { display: none !important; }
  .burger { display: inline-flex; }
  .sys { transform: scale(.64); transform-origin: top center; margin-bottom: -187px; }
  .js .ostage-about { height: 640px; }
  .nextcard { grid-template-columns: 1fr; }
  .brand img { width: 140px; }
}
@media (min-width: 901px) { .mpanel { display: none !important; } }
@media (max-width: 560px) {
  .wrap, .case-cover, .gallery { padding-left: 16px; padding-right: 16px; }
  .hero .wrap { padding-top: 48px; }
  .mlink { font-size: 28px; }
  .about-card { padding: 28px 24px; }
  .filterbar { align-items: flex-start; }
  .filter { flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; }
  .seg-btn { padding: 0 10px; font-size: 12.5px; }
}
@media (max-width: 400px) { .seg { gap: 0; } .seg-btn { padding: 0 7px; font-size: 12px; } }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; clip-path: none; }
  .planet, .case-about .moon, .orbit-ico .o-dot { display: none; }
}
