/* Sir Tech Solutions — folha única do site. Sem dependências. */

@font-face { font-family: 'Bricolage'; src: url('../fonts/bricolage.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

@view-transition { navigation: auto; }

:root {
  color-scheme: dark;
  --bg: #0B0F14;
  --bg-alt: #0E131A;
  --surface: #121820;
  --surface-2: #18202A;
  --line: #222B35;
  --line-2: #323D4A;
  --ink: #E9EEF4;
  --muted: #AAB5C1;
  --dim: #8E99A6;
  --brand: #00C8FF;
  --brand-hi: #5ADCFF;
  --ok: #3DDC97;
  --warn: #FBBF24;
  --info: #7AB4FF;
  --p: var(--brand);            /* cor do produto em contexto */
  --wrap: 1160px;
  --r: 18px;
  --display: 'Bricolage', 'Outfit', system-ui, sans-serif;
  --body: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
.p-sirbarber { --p: #00C8FF; --p2: #0E7490; }
.p-sirpet    { --p: #2DD4BF; --p2: #0F766E; }
.p-sirgcm    { --p: #7AB4FF; --p2: #1D4ED8; }
.p-sirfood   { --p: #F6A93B; --p2: #B45309; }
.p-shardspire{ --p: #C4A1FF; --p2: #6D28D9; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, picture { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--brand); text-decoration: none; transition: color .2s, border-color .2s, background-color .2s; }
a:hover { color: var(--ink); }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; color: #fff; text-wrap: balance; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-hi); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #04121A;
  font-weight: 700; padding: 12px 18px; border-radius: 10px; transition: top .2s;
}
.skip:focus { top: 12px; color: #04121A; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.band { background: var(--bg-alt); border-block: 1px solid var(--line); }
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--p); margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.kicker::before { content: '>'; font-weight: 700; opacity: .9; }
.h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.06; font-weight: 700; margin-bottom: 16px; }
.h2-narrow { max-width: 20ch; }
.lede { font-size: 17.5px; line-height: 1.6; color: var(--muted); max-width: 60ch; }
.head { margin-bottom: clamp(36px, 5vw, 56px); }
.grad { background: linear-gradient(120deg, var(--p), #7CF3D0 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ─── Botões ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 24px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 15.5px; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--brand); color: #04121A; box-shadow: 0 8px 28px -12px rgba(0, 200, 255, .7); }
.btn-primary:hover { background: var(--brand-hi); color: #04121A; transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--p); color: #fff; transform: translateY(-2px); }
.btn-soon { border-color: var(--line-2); color: var(--muted); background: var(--surface); cursor: default; }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
a:hover .arrow, .btn:hover .arrow { transform: translateX(4px); }

/* ─── Tags ─── */
.tag {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px;
  color: var(--tc); border: 1px solid color-mix(in srgb, var(--tc) 35%, transparent);
  background: color-mix(in srgb, var(--tc) 12%, transparent);
}
.tag-ok { --tc: var(--ok); }
.tag-ok::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.8s ease-in-out infinite alternate; }
.tag-inpi { --tc: var(--info); }
.tag-wip { --tc: var(--warn); }
@keyframes pulse { from { opacity: .45; } to { opacity: 1; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: 12.5px; color: var(--muted); white-space: nowrap;
  border: 1px solid var(--line); background: var(--bg); padding: 5px 12px; border-radius: 99px;
}

/* ─── Barra de progresso de leitura (só onde há scroll-timeline) ─── */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; background: var(--p); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* ─── Header ─── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 20, .86); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; margin-right: auto; min-height: 44px; }
.brand img { width: 36px; height: 36px; }
.brand span { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.brand b { color: var(--brand); font-weight: 700; }
.nav { display: none; align-items: center; gap: 4px; }
.nav a { font-size: 14.5px; color: var(--muted); padding: 12px 14px; border-radius: 10px; line-height: 1; }
.nav a:hover, .nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .05); }
.wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 12px;
  background: #25D366; color: #04121A; font-weight: 700; font-size: 14.5px; line-height: 1;
}
.wa:hover { background: #4BE38A; color: #04121A; }
.wa svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.wa span { display: none; }
.menu { position: relative; }
.menu summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-2); display: grid; place-items: center;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; }
.menu summary .x { display: none; }
.menu[open] summary .x { display: block; }
.menu[open] summary .bars { display: none; }
.menu-panel {
  position: absolute; right: 0; top: 54px; width: min(280px, calc(100vw - 40px));
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; padding: 8px;
  box-shadow: 0 24px 60px -20px #000; display: grid;
}
.menu-panel a { color: var(--ink); padding: 14px 14px; border-radius: 10px; font-size: 16px; }
.menu-panel a:hover { background: rgba(255, 255, 255, .05); }

/* Sub-navegação (Shardspire, legal) */
.subnav { border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; color: var(--muted); font-size: 14px; padding: 14px 12px; border-bottom: 2px solid transparent; min-height: 44px; }
.subnav a:hover { color: #fff; }
.subnav a[aria-current] { color: #fff; border-bottom-color: var(--p); }
.subnav .sp { margin-left: auto; }

/* ─── Hero ─── */
.hero { position: relative; padding: clamp(36px, 6vw, 84px) 0 clamp(48px, 6vw, 80px); overflow: clip; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 12% 0%, color-mix(in srgb, var(--p) 16%, transparent), transparent 70%),
    radial-gradient(45% 45% at 96% 18%, rgba(124, 243, 208, .07), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 75%);
}
.hero-grid { display: grid; gap: clamp(36px, 5vw, 56px); align-items: center; }
.hero-grid > * { min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  border: 1px solid var(--line-2); background: var(--surface); border-radius: 99px; padding: 7px 14px 7px 12px;
  font-size: 13px; color: var(--muted);
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 1.8s ease-in-out infinite alternate; }
.hero h1 { font-size: clamp(38px, 6.2vw, 68px); line-height: .98; font-weight: 800; letter-spacing: -.035em; margin-bottom: 22px; }
.hero h1 .caret { display: inline-block; width: .5ch; height: .82em; margin-left: .08em; background: var(--p); vertical-align: -.06em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; font-weight: 500; color: var(--ink); max-width: 46ch; margin-bottom: 14px; text-wrap: pretty; }
.hero-sub { font-size: 16px; color: var(--muted); max-width: 50ch; margin-bottom: 30px; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 22px; font-size: 13.5px; color: var(--dim); }

/* ─── Mockup / vitrine ─── */
.showcase { position: relative; }
.frame {
  position: relative; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: var(--surface);
  box-shadow: 0 40px 80px -40px #000, 0 0 0 1px rgba(255, 255, 255, .02), 0 30px 90px -50px var(--p);
  transition: box-shadow .5s, transform .6s var(--ease);
}
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.frame-bar span {
  margin-left: 8px; flex: 1; min-width: 0; font-family: var(--mono); font-size: 11.5px; color: var(--dim);
  background: var(--bg); border-radius: 7px; padding: 5px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.frame-media { background: #fff; position: relative; overflow: hidden; }
.frame-media:has(.cover) { aspect-ratio: 16 / 9; background: var(--bg); }
.frame-media img, .frame-media video { width: 100%; height: auto; }
/* Vitrine da home: altura fixa para as abas não pularem; a mídia aparece inteira */
.panels .frame-media { aspect-ratio: 1280 / 670; }
.panels .frame-media img, .panels .frame-media video { height: 100%; object-fit: contain; }
.panels .frame-media.contain { background: #000; }
.panels { display: grid; }
.panels > * { grid-area: 1 / 1; min-width: 0; transition: opacity .45s var(--ease), transform .45s var(--ease); }
@starting-style { .panels > * { opacity: 0; transform: translateY(10px) scale(.985); } }
.sc-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 4px 0; font-size: 14.5px; color: var(--muted); }
.sc-cap a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: var(--p); }
.sc-cap a:hover { color: #fff; }
.tabs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin-inline: -4px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; cursor: pointer;
  min-height: 44px; padding: 6px 14px 6px 6px; border-radius: 99px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); font-size: 14px; font-weight: 600;
  transition: border-color .25s, color .25s, background-color .25s;
}
.tab img { width: 30px; height: 30px; border-radius: 50%; background: #E8EEF5; padding: 3px; }
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { color: #fff; border-color: var(--p); background: color-mix(in srgb, var(--p) 14%, var(--surface)); }

/* Capa de produto (usada enquanto não há tela/vídeo real) */
.cover {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 20px;
  background:
    radial-gradient(70% 90% at 20% 0%, color-mix(in srgb, var(--p) 34%, transparent), transparent 70%),
    radial-gradient(60% 80% at 100% 100%, color-mix(in srgb, var(--p2, var(--p)) 45%, transparent), transparent 70%),
    var(--surface);
}
.cover::before {
  content: ''; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: radial-gradient(closest-side, #000, transparent);
}
.cover > * { position: relative; }
.cover img { width: clamp(56px, 16%, 88px); height: auto; aspect-ratio: 1; border-radius: 22%; background: #EEF3F8; padding: 8px; box-shadow: 0 16px 40px -16px #000; }
.cover strong { font-family: var(--display); font-size: clamp(20px, 3vw, 30px); color: #fff; line-height: 1.1; }
.cover span { font-size: 14px; color: var(--ink); opacity: .85; max-width: 34ch; }

/* ─── Marquee da stack ─── */
.marquee { overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 0; animation: slide 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex-shrink: 0; }
.marquee li { font-family: var(--mono); font-size: 13.5px; color: var(--muted); white-space: nowrap; padding: 0 22px; display: flex; align-items: center; gap: 22px; }
.marquee li::after { content: '>'; color: var(--brand); opacity: .7; margin-left: 22px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ─── Cartões ─── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.card {
  position: relative; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 26px;
  transition: border-color .3s, transform .4s var(--ease);
}
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); }
.card .out { margin-top: 14px; color: var(--ink); font-size: 14.5px; display: flex; gap: 8px; }
.card .out::before { content: '>'; font-family: var(--mono); color: var(--p); font-weight: 700; }
.spot::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--p) 16%, transparent), transparent 60%);
}
.spot:hover::after { opacity: 1; }
.spot:hover { border-color: color-mix(in srgb, var(--p) 55%, var(--line)); }

/* ─── Bento do portfólio ─── */
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
.work {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); border-radius: 22px;
  transition: border-color .3s, transform .45s var(--ease), box-shadow .45s;
}
.work:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px var(--p); }
.work-body { position: relative; padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.work-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.work-head img { width: 44px; height: 44px; border-radius: 12px; background: #EEF3F8; padding: 5px; }
.work-head h3 { font-size: 22px; font-weight: 700; }
.work-head h3 a { color: inherit; }
.work-head h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.work .kind { font-size: 14.5px; font-weight: 600; color: var(--p); }
.work .desc { font-size: 15px; color: var(--muted); }
.work .more { margin-top: auto; font-weight: 600; font-size: 14.5px; color: var(--p); display: inline-flex; gap: 6px; padding-top: 4px; }

/* ─── Serviços ─── */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.services > li { background: var(--bg); padding: 30px; transition: background-color .3s; }
.services > li:hover { background: var(--surface); }
.services h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.services p { font-size: 15px; color: var(--muted); }
.services .n { font-family: var(--mono); font-size: 12px; color: var(--brand); margin-bottom: 14px; display: block; }

/* ─── Processo ─── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 24px; counter-reset: s; }
.step { border-top: 2px solid var(--line-2); padding-top: 22px; counter-increment: s; position: relative; }
.step::before { content: '0' counter(s); font-family: var(--mono); font-size: 13px; color: var(--brand); display: block; margin-bottom: 12px; }
.step::after { content: ''; position: absolute; top: -2px; left: 0; height: 2px; width: 100%; background: var(--brand); transform-origin: 0 50%; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* ─── Sobre ─── */
.about { display: grid; gap: clamp(36px, 5vw, 56px); align-items: center; }
.about-text p { font-size: 16.5px; line-height: 1.7; color: var(--muted); margin-bottom: 18px; }
.about-text strong { color: var(--ink); font-weight: 600; }
.about-side { display: grid; gap: 14px; }
.portrait { border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); }
.portrait img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.portrait figcaption { padding: 14px 18px; display: grid; gap: 2px; }
.portrait figcaption strong { font-family: var(--display); font-size: 17px; color: #fff; }
.portrait figcaption span { font-size: 14px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 22px; }
.stat b { display: block; font-family: var(--display); font-size: 34px; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 8px; }
.stat span { font-size: 14px; color: var(--muted); line-height: 1.45; display: block; }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.quote { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 26px; }
.quote blockquote { margin: 0 0 16px; font-size: 16.5px; color: var(--ink); }
.quote figcaption { font-size: 14px; color: var(--muted); }

/* ─── FAQ ─── */
.faq { max-width: 820px; margin-inline: auto; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; min-height: 44px; font-family: var(--display); font-size: 18px; font-weight: 600; color: #fff;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-family: var(--mono); font-size: 22px; color: var(--p); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 24px; font-size: 16px; color: var(--muted); max-width: 68ch; }
.faq-list details::details-content { opacity: 0; transition: opacity .35s, content-visibility .35s allow-discrete; }
.faq-list details[open]::details-content { opacity: 1; }

/* ─── Contato ─── */
.contact { position: relative; padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line); text-align: center; overflow: clip; }
.contact::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 100%, color-mix(in srgb, var(--p) 16%, transparent), transparent 65%); }
.contact .inner { max-width: 780px; margin: 0 auto; }
.contact h2 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.04; font-weight: 800; margin-bottom: 18px; }
.contact .inner > p { font-size: 17.5px; color: var(--muted); margin-bottom: 36px; }
.contact .actions { justify-content: center; margin-bottom: 44px; }
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; text-align: left; }
.channel { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 22px; display: block; }
.channel:hover { border-color: var(--p); }
.channel small { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); margin-bottom: 8px; }
.channel svg { width: 18px; height: 18px; flex-shrink: 0; }
.channel strong { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }

/* ─── Footer ─── */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--bg-alt); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; margin-bottom: 40px; }
.footer-grid h2 { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 500; margin-bottom: 10px; }
.footer-grid p { font-size: 14.5px; color: var(--muted); max-width: 34ch; margin-top: 14px; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 40px; font-size: 15px; color: var(--muted); }
.footer-grid li a:hover { color: #fff; }
.footer-base { border-top: 1px solid var(--line); padding-top: 22px; font-size: 13.5px; color: var(--dim); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ─── Páginas de produto ─── */
.crumbs { font-family: var(--mono); font-size: 12.5px; color: var(--dim); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.crumbs a:hover { color: #fff; }
.p-title { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.p-title img { width: 64px; height: 64px; border-radius: 18px; background: #EEF3F8; padding: 7px; }
.p-hero h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 0; }
.p-tagline { font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; font-weight: 600; color: #fff; margin-bottom: 16px; max-width: 24ch; text-wrap: balance; }
.versus { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.versus .card h3 { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--dim); margin-bottom: 16px; }
.versus .card.after { border-color: color-mix(in srgb, var(--p) 45%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--p) 8%, var(--surface)), var(--surface)); }
.versus .card.after h3 { color: var(--p); }
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--ink); }
.ticks li::before { content: '>'; position: absolute; left: 0; font-family: var(--mono); font-weight: 700; color: var(--p); }
.ticks.minus li { color: var(--muted); }
.ticks.minus li::before { content: '×'; color: var(--dim); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.gallery figure { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.gallery img { width: 100%; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.others { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.others a { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); font-weight: 600; min-height: 60px; }
.others a:hover { border-color: var(--p); }
.others img { width: 36px; height: 36px; border-radius: 10px; background: #EEF3F8; padding: 4px; }
.note { font-size: 14px; color: var(--dim); margin-top: 18px; }

/* ─── Shardspire ─── */
.game-hero { position: relative; isolation: isolate; padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 5vw, 64px); }
.game-art { border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 50px 100px -50px var(--p2); margin-bottom: 32px; }
.game-art img { width: 100%; }
.game-hero h1 { font-size: clamp(44px, 8vw, 88px); line-height: .95; font-weight: 800; margin-bottom: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.badges li { font-family: var(--mono); font-size: 12.5px; color: var(--ink); border: 1px solid var(--line-2); background: var(--surface); padding: 7px 12px; border-radius: 10px; }
.elements { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.elements li { padding: 8px 16px; border-radius: 99px; font-weight: 600; font-size: 14.5px; color: #0B0F14; background: var(--e); }
.reactions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.reactions li { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 18px; }
.reactions small { font-family: var(--mono); font-size: 12px; color: var(--p); display: block; margin-bottom: 6px; }
.reactions strong { display: block; font-family: var(--display); font-size: 18px; color: #fff; margin-bottom: 4px; }
.reactions span { font-size: 14.5px; color: var(--muted); }
.langs { display: flex; flex-wrap: wrap; gap: 10px; }
.langs a { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 18px; color: var(--ink); font-weight: 600; min-height: 44px; }
.langs a[aria-current] { border-color: var(--p); background: color-mix(in srgb, var(--p) 12%, transparent); }
.langs a:hover { border-color: var(--p); }

/* ─── Páginas legais ─── */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) 20px 80px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.08; margin: 10px 0 14px; }
.legal h2 { font-size: 21px; margin: 40px 0 12px; scroll-margin-top: 120px; }
.legal h3 { font-size: 17px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.75; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 8px 0 16px; padding-left: 1.4rem; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.legal .tag-line { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--p); }
.legal .meta { color: var(--dim); font-size: 14px; }
.legal .box { border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 18px 20px; margin: 18px 0; }

/* ─── Movimento ligado à rolagem (CSS puro; sem suporte = conteúdo simplesmente visível) ─── */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .reveal-stagger > * { animation: lift linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .showcase .frame { animation: settle linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes lift { from { transform: translateY(28px); } to { transform: none; } }
    @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
    @keyframes settle { to { transform: perspective(1400px) rotateX(5deg) scale(.97); opacity: .7; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee-track { width: auto; flex-wrap: wrap; }
  .marquee ul { flex-wrap: wrap; row-gap: 10px; }
  .marquee ul[aria-hidden] { display: none; }
  .marquee { mask-image: none; }
  @view-transition { navigation: none; }
}

/* ─── Breakpoints ─── */
@media (min-width: 600px) {
  .wa span { display: inline; }
  .wa { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu { display: none; }
  .hero-grid { grid-template-columns: 1fr 1.08fr; }
  .about { grid-template-columns: 1.15fr 1fr; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento .work { grid-column: span 2; }
  .bento .work.big { grid-column: span 3; }
  .p-hero .hero-grid { grid-template-columns: 1fr 1.1fr; }
}
@media (max-width: 599px) {
  .actions .btn { width: 100%; }
  .hero-note { display: none; }
  .stats { gap: 10px; }
  .stat { padding: 18px; }
  .stat b { font-size: 28px; }
}

/* Elementos do Shardspire e moldura na proporção do jogo */
.e-fogo { --e: #FF8A5B; } .e-gelo { --e: #7FD4FF; } .e-raio { --e: #FFD84D; } .e-veneno { --e: #7EE081; }
.e-terra { --e: #D2A679; } .e-vento { --e: #B9F0E4; } .e-solar { --e: #FFC46B; }
.frame-media.native { background: #000; }
.frame-media picture { display: block; height: 100%; }
@media (min-width: 900px) { .tabs { flex-wrap: wrap; overflow: visible; } }
.game-art video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }

/* Processo: as barras enchem uma depois da outra, como um carregamento.
   O estado "apagado" só existe quando o site.js marca a lista (sem JS ou com movimento reduzido, tudo aparece pronto). */
.step:nth-child(2) { --d: .8s; } .step:nth-child(3) { --d: 1.6s; } .step:nth-child(4) { --d: 2.4s; }
.steps[data-anim] .step::after { transform: scaleX(0); }
.steps[data-anim] .step::before { color: var(--dim); }
.steps[data-anim] .step h3 { color: var(--muted); }
.steps[data-run] .step::after { animation: load .8s cubic-bezier(.65, 0, .25, 1) var(--d, 0s) both; }
.steps[data-run] .step::before { animation: lit-n .5s ease calc(var(--d, 0s) + .55s) both; }
.steps[data-run] .step h3 { animation: lit-h .5s ease calc(var(--d, 0s) + .55s) both; }
@keyframes load {
  0% { transform: scaleX(0); box-shadow: 0 0 0 0 transparent; }
  85% { box-shadow: 0 0 14px 1px var(--brand); }
  100% { transform: scaleX(1); box-shadow: 0 0 0 0 transparent; }
}
@keyframes lit-n { from { color: var(--dim); } to { color: var(--brand); } }
@keyframes lit-h { from { color: var(--muted); transform: translateX(-4px); } to { color: #fff; transform: none; } }
