/* ================= TOKENS ================= */
:root {
  --bg: #050506;
  --bg-2: #08080a;
  --card: #0b0b0d;
  --card-2: #101013;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f5f5f6;
  --muted: rgba(255, 255, 255, 0.54);
  --dim: rgba(255, 255, 255, 0.38);

  --accent: #7b00ff;
  --accent-2: #a855f7;

  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --mono: var(--sans); /* labels agora em Geist (sans), não mais monospace */

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }

/* ================= PRELOADER ================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner {
  position: relative;
  display: grid;
  place-items: center;
  width: 240px;
  height: 240px;
}
.preloader__mark {
  position: relative;
  z-index: 2;
  width: 116px;
  height: auto;
  animation: preSpin 1.3s cubic-bezier(0.65, 0, 0.35, 1) infinite,
             preGlow 1s ease-in-out infinite;
}
/* anéis de radar expandindo ao redor da logo */
.preloader__ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  z-index: 1;
}
.preloader__ring::before,
.preloader__ring::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 134px; height: 134px;
  margin: -67px 0 0 -67px;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.5);
  animation: preRadar 1.05s ease-out infinite;
}
.preloader__ring::after { animation-delay: 0.52s; }
@keyframes preSpin { to { transform: rotate(360deg); } }
@keyframes preGlow {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(123, 0, 255, 0.4)); }
  50% { filter: drop-shadow(0 0 34px rgba(168, 85, 247, 0.8)); }
}
@keyframes preRadar {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.75); opacity: 0; }
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.section { padding-block: clamp(70px, 11vw, 150px); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
/* junção portfólio → sobre: os 150px de baixo + 150px de cima empilhavam
   um vão de 300px. Encosta as duas seções sem sufocar. */
#portfolio { padding-bottom: clamp(40px, 6vw, 84px); }
#sobre { padding-top: clamp(40px, 6vw, 84px); }
.center { text-align: center; }

/* ================= TYPE ================= */
.h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 16ch;
}
.lead {
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 17px);
  max-width: 52ch;
  line-height: 1.6;
}
.lead.center { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.eyebrow.center { display: block; text-align: center; }
.eyebrow--accent {
  color: var(--accent-2);
  border: 1px solid rgba(123, 0, 255, 0.4);
  background: rgba(123, 0, 255, 0.08);
  padding: 7px 14px;
  border-radius: 999px;
}
.tagmono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.section__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 54px; max-width: 720px; }
.section__head .eyebrow { margin-bottom: 4px; }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, opacity 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .chevron { transition: transform 0.25s var(--ease); }
.btn:hover .chevron { transform: translateX(3px); }

/* primário: degradê + brilho no topo + faixa de luz no hover.
   O fundo vai no ::before e a luz no ::after, ambos em z-index negativo,
   para o texto continuar por cima sem precisar de <span> em volta. */
.btn--primary {
  position: relative; overflow: hidden; isolation: isolate;
  background: transparent; color: #fff;
  border-color: rgba(190, 130, 255, 0.4);
  box-shadow: 0 14px 34px -12px rgba(123, 0, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(135deg, #7b00ff 0%, #9a2bff 55%, #6a00e0 100%);
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 24%, rgba(255, 255, 255, 0.32) 46%, transparent 66%);
  transform: translateX(-130%);
  transition: transform 0.75s var(--ease);
}
.btn--primary:hover {
  border-color: rgba(210, 165, 255, 0.6);
  box-shadow: 0 20px 44px -12px rgba(123, 0, 255, 1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn--primary:hover::after { transform: translateX(130%); }
/* a seta do primário vira um chip redondo, pra pesar mais que a do secundário */
.btn--primary:has(.chevron) { padding-right: 8px; }
.btn--primary .chevron {
  display: grid; place-items: center; width: 26px; height: 26px; flex: none;
  border-radius: 50%; font-size: 13px; line-height: 1;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: background 0.25s, transform 0.25s var(--ease);
}
.btn--primary:hover .chevron { background: rgba(255, 255, 255, 0.3); transform: translateX(3px); }
.btn--primary.btn--lg .chevron { width: 29px; height: 29px; font-size: 14px; }

/* secundário: vidro escuro que puxa pro roxo no hover */
.btn--ghost {
  background: rgba(255, 255, 255, 0.045); border-color: var(--line-2); color: #fff;
  backdrop-filter: blur(6px);
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn--ghost:hover {
  background: rgba(123, 0, 255, 0.13);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 0 4px rgba(123, 0, 255, 0.09);
}
.btn--pill { background: var(--card-2); border-color: var(--line); color: #fff; border-radius: 999px; }
.btn--pill:hover { background: #16161a; border-color: var(--line-2); }
.btn--nav { background: rgba(255, 255, 255, 0.06); border-color: var(--line); color: #fff; font-size: 13.5px; }
.btn--nav:hover { background: rgba(255, 255, 255, 0.12); }
.btn--lg { padding: 15px 30px; font-size: 15.5px; }

/* ================= NAV ================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 16px;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(5, 5, 6, 0.72); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav.is-menu { background: rgba(5, 5, 6, 0.86); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav__l { display: flex; align-items: center; gap: 15px; min-width: 0; }
.nav__r { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand__logo { height: 36px; width: auto; display: block; }
.brand__name { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }

/* gatilho do menu */
.mtrig {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  background: none; border: 0; padding: 6px 2px; cursor: pointer;
  color: var(--muted); font-family: var(--sans); transition: color 0.22s;
}
.mtrig:hover, .mtrig[aria-expanded="true"] { color: #fff; }
.mtrig__dots {
  width: 15px; height: 15px; flex: none; display: grid;
  grid-template-columns: 1fr 1fr; gap: 4px;
  transition: transform 0.42s var(--ease);
}
.mtrig__dots i { width: 100%; height: 100%; border-radius: 50%; background: currentColor; transition: transform 0.42s var(--ease), background 0.22s; }
.mtrig[aria-expanded="true"] .mtrig__dots { transform: rotate(135deg); }
.mtrig[aria-expanded="true"] .mtrig__dots i:nth-child(1) { transform: translate(1.5px, 1.5px); }
.mtrig[aria-expanded="true"] .mtrig__dots i:nth-child(2) { transform: translate(-1.5px, 1.5px); }
.mtrig[aria-expanded="true"] .mtrig__dots i:nth-child(3) { transform: translate(1.5px, -1.5px); }
.mtrig[aria-expanded="true"] .mtrig__dots i:nth-child(4) { transform: translate(-1.5px, -1.5px); }
.mtrig__lbl { font-size: 12.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }

/* seletor de idioma */
.langsw {
  display: inline-flex; align-items: center; gap: 3px; padding: 4px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(12, 12, 15, 0.7);
}
.lang {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 7px;
  border: 1px solid transparent; border-radius: 999px; background: none; cursor: pointer;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--muted); transition: color 0.22s, background 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.lang:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.lang.is-on {
  color: #fff; background: rgba(123, 0, 255, 0.16);
  border-color: rgba(168, 85, 247, 0.65);
  box-shadow: 0 0 14px rgba(123, 0, 255, 0.4), inset 0 0 12px rgba(123, 0, 255, 0.14);
}
.lang__flag { width: 20px; height: 14px; flex: none; border-radius: 3px; overflow: hidden; display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35); }
.lang__flag svg { width: 100%; height: 100%; display: block; }

/* botão de orçamento no WhatsApp — mesma lógica de pill do seletor de idioma */
.wabtn {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 17px 4px 4px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(12, 12, 15, 0.7);
  font-size: 13px; font-weight: 500; letter-spacing: -0.01em; color: #fff; white-space: nowrap;
  transition: border-color 0.22s, background 0.22s, transform 0.22s var(--ease);
}
.wabtn:hover { border-color: rgba(37, 211, 102, 0.45); background: rgba(37, 211, 102, 0.07); transform: translateY(-1px); }
.wabtn__ico {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%;
  color: #25d366; background: rgba(37, 211, 102, 0.13);
  border: 1px solid rgba(37, 211, 102, 0.4);
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}
.wabtn:hover .wabtn__ico { color: #fff; background: #25d366; box-shadow: 0 0 16px rgba(37, 211, 102, 0.45); }
.wabtn__t--short { display: none; }

/* painel do menu */
.mpanel { position: absolute; top: 100%; left: 0; right: 0; }
.mpanel[hidden] { display: block; pointer-events: none; }
/* rastro de brilho do cursor — fica acima do conteúdo mas abaixo do menu */
.cursorfx {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 80; pointer-events: none;
}

/* escurecimento do fundo — fora da .nav, senão o backdrop-filter dela vira
   containing block e prende o fixed na altura da barra */
.mscrim {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: rgba(3, 3, 4, 0.62); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity 0.34s var(--ease);
}
.mscrim.is-on { opacity: 1; }
.mp {
  width: min(618px, calc(100vw - 40px));
  margin-left: max(28px, calc((100vw - var(--maxw)) / 2 + 28px));
  display: grid; grid-template-columns: 250px 1fr;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: #08080a;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(123, 0, 255, 0.08);
  transform: translateY(-10px) scale(0.985); opacity: 0;
  transition: opacity 0.34s var(--ease), transform 0.42s var(--ease);
}
.mpanel.is-open .mp { transform: none; opacity: 1; }
.mp__l { padding: 24px 22px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.mp__links { display: flex; flex-direction: column; }
.mp__links a {
  position: relative; display: block; padding: 11px 0 11px 0;
  font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); transition: color 0.22s, padding-left 0.28s var(--ease);
}
.mp__links a::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-2); transform: translateY(-50%) scale(0);
  transition: transform 0.28s var(--ease);
}
.mp__links a:hover, .mp__links a.is-active { color: #fff; padding-left: 15px; }
.mp__links a:hover::before, .mp__links a.is-active::before { transform: translateY(-50%) scale(1); }
.mp__foot { display: none; } /* só existe no mobile */
.mp__card { margin-top: auto; padding-top: 30px; }
.mp__idrow { display: flex; align-items: center; gap: 12px; }
.mp__av {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px;
  background: rgba(123, 0, 255, 0.14); border: 1px solid var(--line);
}
.mp__av img { width: 22px; height: 22px; display: block; }
.mp__txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mp__name { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: #fff; }
.mp__name i { width: 6px; height: 6px; background: var(--accent); border-radius: 1px; flex: none; }
.mp__role { display: block; font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--dim); }
.mp__social { display: flex; gap: 8px; margin-top: 15px; }
.mp__social a {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  border: 1px solid var(--line); color: var(--muted);
  transition: color 0.22s, border-color 0.22s, background 0.22s;
}
.mp__social a:hover { color: #fff; border-color: rgba(123, 0, 255, 0.45); background: rgba(123, 0, 255, 0.12); }

/* projetos em destaque no painel */
.mp__r { display: grid; grid-template-rows: 1fr 1fr; }
.mpwork {
  position: relative; overflow: hidden; display: block; min-height: 150px;
  background: radial-gradient(120% 120% at 30% 20%, rgba(123, 0, 255, 0.32), transparent 62%), #0c0c10;
}
.mpwork + .mpwork { border-top: 1px solid var(--line); }
.mpwork img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.mpwork img.is-loaded { opacity: 0.82; }
.mpwork:hover img { opacity: 1; transform: scale(1.05); }
.mpwork__in {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(4, 4, 6, 0.86));
}
.mpwork__t { display: block; font-size: 13.5px; font-weight: 500; color: #fff; letter-spacing: -0.01em; }
.mpwork__c { display: block; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-top: 4px; }

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding-top: 90px;
}
.hero__title {
  font-size: clamp(42px, 7.6vw, 96px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.0;
}
.hero__text { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 60ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

.rings { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; pointer-events: none; }
.rings span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  aspect-ratio: 1;
}
.rings span:nth-child(1) { width: 460px; }
.rings span:nth-child(2) { width: 760px; }
.rings span:nth-child(3) { width: 1080px; }
.rings span:nth-child(4) { width: 1420px; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side at 50% 46%, rgba(123, 0, 255, 0.22), transparent 70%);
  z-index: 0;
  animation: heroBreath 11s ease-in-out infinite;
}
@keyframes heroBreath {
  0%, 100% { opacity: 0.82; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

/* Hero background container + mouse-reactive flowing lines (estilo Allgood) */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Hero status pill */
@property --pillang {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.statuspill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  padding: 9px 17px 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.22);
  background: linear-gradient(180deg, rgba(123, 0, 255, 0.14), rgba(123, 0, 255, 0.05));
  backdrop-filter: blur(8px);
  box-shadow: 0 0 28px rgba(123, 0, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
/* faixa de luz que dá uma volta na borda */
.statuspill::before {
  content: "";
  position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: conic-gradient(
    from var(--pillang),
    transparent 0turn, transparent 0.52turn,
    rgba(201, 162, 255, 0.9) 0.7turn, #7b00ff 0.79turn,
    transparent 0.92turn, transparent 1turn
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: pillRing 5s linear infinite;
  pointer-events: none;
}
@keyframes pillRing { to { --pillang: 360deg; } }

.statuspill i {
  position: relative;
  width: 8px; height: 8px; flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, #f0e2ff, #b47cff 55%, #7b00ff);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.9);
  animation: pulseDot 2.6s ease-out infinite;
}
/* anel que se expande, tipo radar */
.statuspill i::after {
  content: "";
  position: absolute; inset: -3px; border-radius: 50%;
  border: 1px solid rgba(180, 124, 255, 0.65);
  animation: pillPing 2.6s ease-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 8px rgba(168, 85, 247, 0.7); }
  50% { box-shadow: 0 0 15px rgba(190, 140, 255, 1); }
}
@keyframes pillPing {
  0% { transform: scale(0.65); opacity: 0.85; }
  75% { opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Hero title gradient highlight */
.hero__title .grad,
.hero__title .grad .rw {
  background: linear-gradient(180deg, #ffffff 18%, #cbabff 66%, #8f43ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Soft gradient across the whole title (no flat white) */
.hero__title,
.hero__title .rw {
  background: linear-gradient(180deg, #ffffff 34%, #cabfda 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
}

/* Editorial serif accent (Allgood-style type mix: bold sans + italic serif) */
.serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.hero__title .serif {
  font-size: 1.1em;
  letter-spacing: -0.005em;
  padding-right: 0.05em;
}
.hero__text .serif {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.14em;
  letter-spacing: 0.005em;
}

/* Hero scroll cue */
.scrollcue {
  position: absolute;
  left: 50%; bottom: 30px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dim);
  transition: color 0.3s var(--ease);
  animation: cueIn 1s var(--ease) 0.7s both;
}
.scrollcue:hover { color: rgba(255, 255, 255, 0.72); }
/* some quando a janela é baixa ou estreita — aí ele encostaria nos botões */
@media (max-height: 820px), (max-width: 900px) {
  .scrollcue { display: none; }
}
.scrollcue__txt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scrollcue__line {
  position: relative;
  width: 1px; height: 46px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
  overflow: hidden;
}
.scrollcue__line i {
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 42%;
  background: linear-gradient(180deg, transparent, var(--accent-2));
  animation: cueTravel 2.2s var(--ease) infinite;
}
@keyframes cueIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cueTravel {
  0% { transform: translateY(-110%); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateY(255%); opacity: 0; }
}

/* ================= LOGO GRID ================= */
.logogrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 30px;
}
.logogrid__cell {
  display: grid;
  place-items: center;
  min-height: 108px;
  padding: 20px;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--muted);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 0.25s, background 0.25s;
}
.logogrid__cell:hover { color: #fff; background: rgba(255, 255, 255, 0.02); }

/* ================= CASE STUDIES (sticky stack) ================= */
.cases { display: block; margin-bottom: 44px; }
/* botão "ver portfólio completo": sempre logo abaixo dos cards */
.pfmore { margin-top: 44px; }
.case {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.05), 0 30px 70px -36px rgba(0, 0, 0, 0.95);
  transition: border-color 0.3s;
}
.case + .case { margin-top: 26px; }
.case:hover { border-color: var(--line-2); }
.case:nth-child(even) .case__media { order: 2; }
.case__media {
  min-height: 420px;
  background: var(--ph, #101010);
  background-blend-mode: screen;
  display: grid;
  place-items: center;
  position: relative;
}
.case__media::after {
  content: attr(data-label);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.8);
  mix-blend-mode: overlay;
}
.case__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1; opacity: 0; transition: opacity 0.5s var(--ease);
}
.case__img.is-loaded { opacity: 1; }
.case__media.is-cover { background-blend-mode: normal; }
.case__media.is-cover::after { display: none; }
.case__body { padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.case__meta { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.case__meta .dot { color: var(--accent-2); }
.case__rule { height: 1px; background: var(--line); }
.case__title { font-size: clamp(24px, 2.4vw, 34px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; }
.case__desc { color: var(--muted); font-size: 15px; }
.case__body .btn { align-self: flex-start; }
.case__tags { display: flex; gap: 16px; }

/* ================= ABOUT ================= */
.about { display: grid; grid-template-columns: 0.9fr 1fr; gap: clamp(30px, 5vw, 68px); align-items: center; }
.about__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(123, 0, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #14141a, #070709);
  display: grid;
  place-items: end center;
  padding-bottom: 22px;
  position: relative;
}
.about__media { overflow: hidden; }
.about__photo {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  display: block;
}
/* véu roxo por cima da foto pra casar com a paleta + legibilidade da legenda */
.about__media::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, transparent 55%, rgba(5, 5, 6, 0.82) 100%),
    radial-gradient(120% 90% at 50% 0%, rgba(123, 0, 255, 0.16), transparent 60%);
}
.about__media::after {
  content: attr(data-label); position: relative; z-index: 3;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82);
}
.about__body { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }

/* Giant editorial stats — full width, no box */
.statsbig {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: clamp(56px, 8vw, 112px);
  padding-top: 52px;
  border-top: 1px solid var(--line);
}
.bignum { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.bignum__n {
  font-size: clamp(58px, 9.5vw, 148px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.84;
  background: linear-gradient(176deg, #ffffff 52%, #c9a6ff 88%, #a45cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
  transition: filter 0.4s;
}
.bignum:hover .bignum__n { filter: drop-shadow(0 0 26px rgba(123, 0, 255, 0.55)); }
.bignum__cap {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  max-width: 18ch;
  line-height: 1.5;
}

/* ================= CLIENTS (portrait cards) ================= */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ccard {
  position: relative;
  aspect-ratio: 1 / 1.14;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color 0.35s, transform 0.45s var(--ease), box-shadow 0.4s;
}
.ccard:hover { border-color: rgba(123, 0, 255, 0.5); transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(123, 0, 255, 0.5); }
.ccard__photo {
  position: absolute; inset: 0;
  background:
    radial-gradient(110% 70% at 50% 0%, rgba(123, 0, 255, 0.20), transparent 55%),
    linear-gradient(165deg, #191921, #0a0a0e);
  display: grid; place-items: center;
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.ccard__photo::before {
  content: attr(data-i);
  font-size: clamp(84px, 10vw, 132px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.06);
}
.ccard__img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  display: block;
}
.ccard:hover .ccard__photo { transform: scale(1.05); }
.ccard__grad {
  position: absolute; inset: 0; z-index: 2; /* acima da foto (z1) */
  background: linear-gradient(to top, rgba(5, 5, 6, 0.94) 12%, rgba(5, 5, 6, 0.4) 46%, transparent 72%);
  transition: background 0.45s;
}
.ccard:hover .ccard__grad { background: linear-gradient(to top, rgba(11, 5, 22, 0.96) 22%, rgba(13, 6, 26, 0.6) 60%, rgba(24, 10, 46, 0.12)); }
.ccard__info { position: absolute; inset: auto 0 0 0; z-index: 3; padding: 26px; display: flex; flex-direction: column; }
.ccard__head { display: flex; flex-direction: column; gap: 9px; }
.ccard__name { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.ccard__desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s ease, margin-top 0.5s var(--ease);
}
.ccard:hover .ccard__desc { max-height: 280px; opacity: 1; margin-top: 15px; }

/* ================= PROCESS (bento grid) ================= */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.ptile {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 2.6vw, 38px);
  transition: border-color 0.35s, transform 0.4s var(--ease);
}
.ptile:hover { border-color: rgba(123, 0, 255, 0.4); transform: translateY(-4px); }
.ptile__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(85% 65% at 82% 0%, rgba(123, 0, 255, 0.22), transparent 60%);
  opacity: 0.7;
}
.ptile__n {
  position: relative;
  font-size: clamp(64px, 7vw, 128px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.8;
  background: linear-gradient(176deg, #ffffff 44%, #c9a6ff 84%, #a45cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
  display: block;
  flex: none;
  transition: filter 0.4s;
}
.ptile:hover .ptile__n { filter: drop-shadow(0 0 26px rgba(123, 0, 255, 0.55)); }
.ptile__body { position: relative; display: flex; flex-direction: column; gap: 14px; }
.ptile__title { font-size: clamp(20px, 1.9vw, 26px); font-weight: 500; letter-spacing: -0.02em; }
.ptile__body p { color: var(--muted); font-size: 15px; max-width: 46ch; }
.ptile .monolist { margin-top: 4px; }

/* bento sizes — asymmetric: [ a | b ] on top, [ c full ] below */
.ptile--a {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ptile--b,
.ptile--c {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 3.4vw, 60px);
  align-items: center;
}
.ptile--b { grid-column: span 4; }
.ptile--c { grid-column: span 6; }

.monolist { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.monolist li, .monolist span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dim);
  list-style: none;
  padding: 11px 0;
}
.monolist--rules span { border-top: 1px solid var(--line); }
.monolist--rules span:last-child { border-bottom: 1px solid var(--line); }

/* ================= SERVICES (sticky) ================= */
.services { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.services__aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.services__aside .h2 { margin-top: 6px; }
.services__list { display: flex; flex-direction: column; gap: 20px; }
.service {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.service:hover { border-color: rgba(123, 0, 255, 0.4); transform: translateY(-4px); }
.service__n { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--accent-2); padding-top: 4px; }
.service__title { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.service__sub { color: var(--muted); font-size: 15px; margin-top: 6px; }
.service .monolist--rules { margin-top: 18px; }

/* ===== Gráficos dos cards de serviço (mockups modernos, roxo) ===== */
.service {
  grid-template-columns: auto 1fr;
  grid-template-areas: "num main" "viz viz";
  row-gap: 24px;
}
.service__n { grid-area: num; }
.service__main { grid-area: main; }
.service__viz { grid-area: viz; }
.vizm {
  position: relative; width: 100%; height: 198px;
  border: 1px solid var(--line); border-radius: 16px;
  background: radial-gradient(130% 130% at 12% -10%, rgba(123, 0, 255, 0.12), transparent 52%), var(--bg-2);
  overflow: hidden;
  font-family: var(--sans);
}

/* --- componentes compartilhados dos mockups --- */
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; line-height: 1; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.pill--accent { background: #7b00ff; color: #fff; box-shadow: 0 8px 20px -9px rgba(123, 0, 255, 0.95); }
.pill--soft { background: rgba(168, 85, 247, 0.16); color: #ceaaff; border: 1px solid rgba(168, 85, 247, 0.32); }
.pill--ghost { background: rgba(255, 255, 255, 0.03); color: var(--dim); border: 1px dashed var(--line-2); }
.bar { border-radius: 5px; background: rgba(255, 255, 255, 0.1); }
.win { border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, 0.018); height: 100%; display: flex; flex-direction: column; overflow: hidden; }

/* 02 — Sites e Landing Pages (browser / LP) */
.mkweb { height: 100%; display: flex; flex-direction: column; }
.mkweb__bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.mkweb__tl { display: flex; gap: 5px; }
.mkweb__tl i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.mkweb__tl i:nth-child(3) { background: rgba(168, 85, 247, 0.55); }
.mkweb__url { font-size: 11px; color: var(--muted); background: rgba(255, 255, 255, 0.05); padding: 4px 12px; border-radius: 7px; margin-inline: auto; }
.mkweb__grid { flex: 1; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 15px 18px; align-content: center; }
.mkweb__side { display: flex; flex-direction: column; gap: 9px; }
.mkweb__side .bar { height: 8px; }
.mkweb__side .bar--a { background: linear-gradient(90deg, #7b00ff, #a855f7); width: 70%; }
.mkweb__main { display: flex; flex-direction: column; gap: 12px; }
.mkweb__top { display: flex; align-items: center; gap: 12px; }
.mkweb__av { width: 30px; height: 30px; border-radius: 50%; flex: none; background: radial-gradient(circle at 34% 30%, #d4b8ff, #7b00ff); }
.mkweb__hero { height: 9px; width: 150px; border-radius: 5px; background: linear-gradient(90deg, rgba(255,255,255,.3), rgba(255,255,255,.06)); }
.mkweb__row { display: flex; align-items: center; gap: 9px; }
.mkweb__div { height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); margin: 2px 0; }
.mkweb__sw { width: 18px; height: 18px; border-radius: 6px; }
.mkweb__sw.s1 { background: #7b00ff; }
.mkweb__sw.s2 { background: #a855f7; }
.mkweb__sw.s3 { background: #c9a6ff; }
.mkweb { position: relative; }
.mkweb__cta { animation: mkGlow 2.8s var(--ease) infinite; }
.mkweb__sw { animation: mkRing 3.6s ease-in-out infinite; }
.mkweb__sw.s2 { animation-delay: .3s; } .mkweb__sw.s3 { animation-delay: .6s; }
.mkweb__cursor { position: absolute; left: 0; top: 0; width: 16px; height: 16px; z-index: 6; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 12 12'%3E%3Cpath d='M1 1l3.6 9.5 1.5-3.8L10 6.1z' fill='white' stroke='%23000' stroke-width='.7'/%3E%3C/svg%3E") no-repeat;
  animation: mkCursor 3.4s var(--ease) infinite; }
@keyframes mkGlow { 0%,100% { box-shadow: 0 8px 20px -9px rgba(123,0,255,.95); } 50% { box-shadow: 0 10px 26px -8px rgba(123,0,255,1), 0 0 0 3px rgba(123,0,255,.18); } }
@keyframes mkCursor { 0% { transform: translate(300px, 44px); opacity: 0; } 18% { opacity: 1; } 55%,64% { transform: translate(206px, 150px); } 60% { transform: translate(206px, 150px) scale(.82); } 100% { transform: translate(206px, 150px); opacity: 0; } }

/* --- componentes compartilhados --- */
.mktabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { font-size: 11px; color: var(--dim); background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.tab--on { background: #7b00ff; color: #fff; border-color: transparent; box-shadow: 0 6px 16px -9px rgba(123,0,255,.9); }
.swq { width: 22px; height: 22px; border-radius: 7px; }
.swq.s1 { background: #7b00ff; } .swq.s2 { background: #a855f7; } .swq.s3 { background: #c9a6ff; } .swq.s4 { background: #4a1f8f; border: 1px solid var(--line-2); }
.track { position: relative; height: 7px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.track b { position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: 999px; background: linear-gradient(90deg, #7b00ff, #a855f7); }
.mkav { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #d4b8ff, #7b00ff); flex: none; }
.mkbub { border-radius: 12px; padding: 9px 11px; display: flex; flex-direction: column; gap: 6px; }
.mkbub .bar { height: 6px; width: 100%; }
.mkbub--gray { width: 46%; background: rgba(255,255,255,.06); }
.mkbub--accent { width: 40%; background: #7b00ff; }
.mkbub--accent .bar { background: rgba(255,255,255,.5); }
@keyframes mkRing { 0%,100% { box-shadow: 0 0 0 0 transparent; } 12% { box-shadow: 0 0 0 3px rgba(255,255,255,.35); } 26% { box-shadow: 0 0 0 0 transparent; } }
@keyframes mkSpin { to { transform: rotate(360deg); } }

/* 01 — Identidade Visual (kit de marca) */
.mkbrand { height: 100%; padding: 18px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.mkbrand__head { display: flex; align-items: center; gap: 13px; }
.mkbrand__mark { width: 34px; height: 34px; border-radius: 50%; flex: none; background: conic-gradient(from 120deg, #7b00ff, #c9a6ff, #a855f7, #7b00ff); animation: mkSpin 8s linear infinite; }
.mkbrand__nm { display: flex; flex-direction: column; gap: 6px; }
.mkbrand__nm .bar { height: 7px; }
.mkbrand__pal { display: flex; align-items: center; gap: 9px; }
.mkbrand__pal .swq:nth-child(1) { animation: mkRing 3.6s ease-in-out infinite; }
.mkbrand__pal .swq:nth-child(2) { animation: mkRing 3.6s ease-in-out infinite .35s; }
.mkbrand__pal .swq:nth-child(3) { animation: mkRing 3.6s ease-in-out infinite .7s; }
.mkbrand__pal .swq:nth-child(4) { animation: mkRing 3.6s ease-in-out infinite 1.05s; }

/* 03 — Criativos (aprovação / versões) */
.mkapr { height: 100%; padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.mkapr__flow { position: relative; height: 30px; }
.mkapr__track { position: absolute; left: 4px; right: 4px; top: 50%; border-top: 1.5px dashed var(--line-2); }
.mkapr__dot { position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #c9a6ff; box-shadow: 0 0 10px 1px rgba(168,85,247,.6); animation: mkRun 3.6s var(--ease) infinite; }
.mkapr__badge { position: absolute; right: 0; top: 50%; transform: translateY(-50%); animation: mkBadge 3.6s ease-in-out infinite; }
@keyframes mkRun { 0% { left: 0; opacity: 0; } 14% { opacity: 1; } 60% { left: calc(100% - 96px); opacity: 1; } 70%,100% { left: calc(100% - 96px); opacity: 0; } }
@keyframes mkBadge { 0%,100% { transform: translateY(-50%) scale(1); } 66% { transform: translateY(-50%) scale(1); } 74% { transform: translateY(-50%) scale(1.09); } 82% { transform: translateY(-50%) scale(1); } }

/* 04 — Redes (chat) */
.mkchat { height: 100%; padding: 15px 18px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.mkmsg { display: flex; align-items: flex-end; gap: 9px; }
.mkmsg--out { justify-content: flex-end; }
.mktyping { width: auto; flex-direction: row; align-items: center; gap: 5px; padding: 12px 13px; }
.mktyping i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: mkType 1.3s ease-in-out infinite; }
.mktyping i:nth-child(2) { animation-delay: .18s; } .mktyping i:nth-child(3) { animation-delay: .36s; }
@keyframes mkType { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* 05 — Apresentações (slides) */
.mkpres { height: 100%; padding: 15px 18px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.mkslide { border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255,255,255,.02); padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.mkslide__t { height: 9px; width: 46%; border-radius: 5px; background: linear-gradient(90deg, #7b00ff, #a855f7); }
.mkslide__chart { display: flex; align-items: flex-end; gap: 8px; height: 30px; }
.mkslide__chart i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #a855f7, #7b00ff); transform-origin: bottom; animation: mkBar 2.6s var(--ease) infinite; }
.mkslide__chart i:nth-child(2) { animation-delay: .12s; } .mkslide__chart i:nth-child(3) { animation-delay: .24s; } .mkslide__chart i:nth-child(4) { animation-delay: .36s; } .mkslide__chart i:nth-child(5) { animation-delay: .48s; }
@keyframes mkBar { 0% { transform: scaleY(.28); } 50% { transform: scaleY(1); } 100% { transform: scaleY(.28); } }

/* 06 — Entrega (progresso + ok) */
.mkdel { height: 100%; padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; gap: 15px; }
.mkdel__files { display: flex; gap: 8px; }
.mkdel__prog { display: flex; align-items: center; gap: 13px; }
.mkdel__track { flex: 1; }
.mkdel__track b { animation: mkFill 3.4s var(--ease) infinite; }
.mkdel__done { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); }
.mkcheck { width: 20px; height: 20px; border-radius: 50%; flex: none; background: rgba(123,0,255,.16); border: 1px solid rgba(123,0,255,.42); position: relative; }
.mkcheck::after { content: ""; position: absolute; left: 7px; top: 4px; width: 4px; height: 8px; border: 2px solid #c9a6ff; border-top: 0; border-left: 0; transform: rotate(45deg); opacity: 0; animation: mkChk 3.4s ease-in-out infinite; }
@keyframes mkFill { 0% { width: 0; } 60%,100% { width: 100%; } }
@keyframes mkChk { 0%,56% { opacity: 0; } 68%,92% { opacity: 1; } 100% { opacity: 0; } }

/* ================= TESTIMONIALS (carousel) ================= */
.thead__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.thead__row .h2 { margin: 0; }
.tnav { display: flex; gap: 10px; flex: none; }
.tnav__btn {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--card-2);
  border: 1px solid var(--line);
  color: #fff;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, opacity 0.2s;
}
.tnav__btn:hover { background: #17171c; border-color: var(--line-2); }
.tnav__btn:active { transform: scale(0.94); }
.tnav__btn:disabled { opacity: 0.32; cursor: default; }

.tslider { overflow: hidden; }
.ttrack {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  /* o overflow-x:auto força overflow-y:auto e o carrossel vira container de
     rolagem vertical — a roda do mouse ficava presa nele. hidden resolve;
     overscroll-behavior fica em auto pra rolagem continuar passando pra página */
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
  scroll-padding-left: 0;
}
.ttrack::-webkit-scrollbar { display: none; }
.tcard {
  flex: 0 0 min(720px, 84vw);
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1.05fr 0.82fr;
  min-height: 440px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s;
}
.tcard:hover { border-color: var(--line-2); }
.tcard__body { padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.tcard__brand { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.92); }
.tcard blockquote { color: #ececed; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; flex: 1; }
.tcard__who { display: flex; flex-direction: column; gap: 5px; }
.tcard__who strong { font-size: 16px; font-weight: 500; }
.tcard__who .mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.tcard__photo {
  position: relative;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(123, 0, 255, 0.22), transparent 60%),
    linear-gradient(160deg, #17171f, #0a0a0e);
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
}
.tcard__img {
  position: absolute; inset: 0; z-index: 1; /* cobre a letra e a legenda placeholder */
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  display: block;
}
.tcard__photo::before {
  content: attr(data-i);
  font-size: clamp(90px, 12vw, 140px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: -0.04em;
}
.tcard__photo::after {
  content: attr(data-label);
  position: absolute;
  bottom: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ================= FAQ ================= */
.faqwrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.faqwrap__head { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; }
.faq { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--line); transition: border-color 0.3s; }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 24px 0;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 22px; color: var(--accent-2); transition: transform 0.3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); font-size: 15px; padding-bottom: 24px; max-width: 62ch; }

/* ================= CTA ================= */
.cta {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(123, 0, 255, 0.28);
  border-radius: 28px;
  background: linear-gradient(180deg, #0d0716, #070510);
  padding: clamp(40px, 4.4vw, 58px) clamp(28px, 4.4vw, 62px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(290px, 34vw, 462px);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.cta > * { position: relative; z-index: 2; }
/* precisa de mais peso que `.cta > *`, senão os anéis viram item do grid e
   roubam a primeira coluna */
.cta .rings { position: absolute; inset: 0; z-index: 1; }
.cta__text { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; }
.cta__text .lead { margin: 0; max-width: 46ch; }
.cta__text .btn { margin-top: 4px; }

/* lista de benefícios */
.perks { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 2px 0 0; }
.perks li { display: flex; align-items: center; gap: 13px; }
.perks__ico {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 11px; color: var(--accent-2);
  background: rgba(123, 0, 255, 0.12);
  border: 1px solid rgba(123, 0, 255, 0.3);
}
.perks__ico svg { width: 18px; height: 18px; }
.perks__t { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.perks__t strong { font-weight: 500; font-size: 14.5px; color: #fff; }

/* cartão de membro */
.cta__card {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 20px 0 66px;
  perspective: 1500px;
  perspective-origin: 55% 46%;
}
/* holofote roxo atrás — dá o brilho premium sem pintar tudo de roxo */
.cta__card::before {
  content: "";
  position: absolute; z-index: 0;
  left: 46%; top: 44%; transform: translate(-50%, -50%);
  width: 128%; aspect-ratio: 1.35;
  background: radial-gradient(closest-side, rgba(139, 60, 255, 0.5), rgba(123, 0, 255, 0.14) 58%, transparent 74%);
  filter: blur(14px);
  pointer-events: none;
  animation: clubHalo 6s ease-in-out infinite;
}
@keyframes clubHalo {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* deck 3D: a carta e o leque compartilham a mesma inclinação */
.clubdeck {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 1.586;
  transform-style: preserve-3d;
  transform: rotateX(9deg) rotateZ(-9deg);
  animation: clubFloat 8s ease-in-out infinite;
}
@keyframes clubFloat {
  0%, 100% { transform: rotateX(9deg) rotateZ(-9deg) translateY(0); }
  50% { transform: rotateX(7deg) rotateZ(-8deg) translateY(-12px); }
}

/* acabamento metálico anodizado — reaproveitado pela carta e pelo leque */
.clubcard, .clubfan {
  position: absolute; inset: 0;
  width: 100%; aspect-ratio: 1.586;
  border-radius: 3.7% / 5.9%;
  background:
    repeating-linear-gradient(122deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 4px),
    linear-gradient(133deg, transparent 40%, rgba(255, 255, 255, 0.42) 49%, rgba(255, 255, 255, 0.05) 53%, transparent 60%),
    linear-gradient(157deg, #cf9bff 0%, #a24dff 22%, #7b00ff 46%, #5a189e 70%, #360f6b 100%);
  border: 1px solid rgba(210, 170, 255, 0.55);
}
/* leque atrás: mesmo metal, escurecendo com a profundidade, girando do pivô.
   estado FECHADO (padrão): empilhado sobre a carta principal, invisível */
.clubfan {
  z-index: 0;
  transform-origin: 46% 88%;
  transform: rotate(0deg);
  opacity: 0;
  filter: brightness(calc(1 - var(--i) * 0.11)) saturate(0.9);
  box-shadow: 0 14px 26px -14px rgba(0, 0, 0, 0.85);
  transition: transform 0.9s cubic-bezier(0.34, 1.32, 0.5, 1), opacity 0.45s ease;
  /* uma carta atrás da outra vai encaixando: quanto mais fundo, mais tarde */
  transition-delay: calc(var(--i) * 0.09s);
}
/* estado ABERTO: dispara quando a seção entra na tela (.cta ganha .is-in) */
.cta.is-in .clubfan {
  transform: rotate(calc(var(--i) * 8deg));
  opacity: 1;
}
.clubcard {
  z-index: 10; overflow: hidden;
  padding: 24px;
  display: flex; flex-direction: column;
  box-shadow:
    0 44px 66px -28px rgba(0, 0, 0, 0.92),
    0 16px 28px -16px rgba(0, 0, 0, 0.78),
    0 0 52px -22px rgba(123, 0, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  /* a carta da frente chega primeiro, o leque abre a partir dela */
  transform: translateY(14px) scale(0.97);
  opacity: 0;
  transition: transform 0.75s var(--ease), opacity 0.5s ease;
}
.cta.is-in .clubcard { transform: none; opacity: 1; }

/* hover: o leque abre mais, a carta levanta e ganha brilho.
   afeta só carta e leque (o float fica no .clubdeck, que é pausado) */
.cta.is-in .clubdeck { cursor: pointer; }
.cta.is-in .clubdeck:hover { animation-play-state: paused; }
.cta.is-in .clubdeck:hover .clubfan {
  transform: rotate(calc(var(--i) * 11.5deg)) translateY(calc(var(--i) * -3px));
}
.cta.is-in .clubdeck:hover .clubcard {
  transform: translateY(-10px) scale(1.035);
  box-shadow:
    0 60px 80px -30px rgba(0, 0, 0, 0.95),
    0 20px 34px -16px rgba(0, 0, 0, 0.8),
    0 0 72px -18px rgba(123, 0, 255, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}
/* o brilho atravessa a carta a cada hover */
.cta.is-in .clubdeck:hover .clubcard__sheen { animation-duration: 1.1s; }
/* brilho que atravessa a carta da frente */
.clubcard__sheen {
  position: absolute; inset: -40%; z-index: 2;
  background: linear-gradient(112deg, transparent 40%, rgba(255, 255, 255, 0.22) 49%, transparent 58%);
  animation: clubSheen 6.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes clubSheen {
  0%, 60% { transform: translateX(-64%); }
  86%, 100% { transform: translateX(64%); }
}
.clubcard > *:not(.clubcard__sheen) { position: relative; z-index: 1; }
.clubcard__top { display: flex; align-items: center; gap: 9px; }
.clubcard__top img {
  width: 22px; height: 22px; filter: brightness(0) invert(1);
  filter: brightness(0) invert(1) drop-shadow(0 1px 0 rgba(0, 0, 0, 0.4)) drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.35));
}
.clubcard__top span {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35), 0 -1px 0 rgba(255, 255, 255, 0.3);
}
.clubcard__chip {
  width: 44px; height: 33px; flex: none; border-radius: 7px; margin-top: 18px;
  background: linear-gradient(138deg, #f8ecc4 0%, #d8b45f 34%, #b28a2e 58%, #f2e0a8 80%, #c49a45 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 1px 3px rgba(0, 0, 0, 0.55);
  position: relative;
}
.clubcard__chip::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background:
    linear-gradient(to right, transparent 29%, rgba(88, 60, 12, 0.6) 29%, rgba(88, 60, 12, 0.6) 31.5%, transparent 31.5%),
    linear-gradient(to right, transparent 68%, rgba(88, 60, 12, 0.6) 68%, rgba(88, 60, 12, 0.6) 70.5%, transparent 70.5%),
    linear-gradient(to bottom, transparent 30%, rgba(88, 60, 12, 0.6) 30%, rgba(88, 60, 12, 0.6) 33%, transparent 33%),
    linear-gradient(to bottom, transparent 64%, rgba(88, 60, 12, 0.6) 64%, rgba(88, 60, 12, 0.6) 67%, transparent 67%);
}
.clubcard__pct { margin-top: auto; display: flex; align-items: baseline; gap: 8px; }
.clubcard__pct strong { font-size: 50px; font-weight: 500; letter-spacing: -0.045em; color: #fff; line-height: 1; }
.clubcard__pct span {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.72);
}
.clubcard__bot {
  display: flex; justify-content: space-between; gap: 14px; margin-top: 18px;
  padding-top: 15px; border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.clubcard__bot span {
  display: flex; flex-direction: column; gap: 3px;
  font-size: 14px; color: #fff; white-space: nowrap;
}
.clubcard__bot i {
  font-style: normal; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6);
}
.cta::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(58% 86% at 50% 0%, rgba(123, 0, 255, 0.24), transparent 70%);
}
.cta__title { font-size: clamp(28px, 3.5vw, 44px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.06; text-wrap: balance; }
@media (max-width: 900px) {
  .cta { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cta__text { align-items: center; }
  .cta__text .lead { text-align: center; }
  .perks { align-items: flex-start; text-align: left; }
  .cta__card {
    order: -1; padding: 30px 0 46px; margin-right: 0;
    width: 100%; justify-self: stretch; justify-content: center;
  }
  /* o deck é que ganha largura; a carta e o leque preenchem ele */
  .clubdeck { width: min(320px, 100%); }
  .cta.is-in .clubfan { transform: rotate(calc(var(--i) * 6deg)); } /* leque mais fechado */
  .clubcard { padding: 18px; }
  .clubcard__top img { width: 20px; height: 20px; }
  .clubcard__top span { font-size: 10.5px; }
  .clubcard__chip { width: 36px; height: 27px; margin-top: 14px; }
  .clubcard__pct strong { font-size: 36px; }
  .clubcard__pct span { font-size: 10.5px; }
  .clubcard__bot { margin-top: 12px; padding-top: 11px; }
  .clubcard__bot span { font-size: 12px; }
  .clubcard__bot i { font-size: 8.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .clubdeck, .clubcard__sheen, .cta__card::before { animation: none; }
  /* sem movimento: já aparece montado, sem a abertura do leque */
  .clubfan, .clubcard { transition: none; opacity: 1; }
  .clubfan { transform: rotate(calc(var(--i) * 8deg)); }
  .clubcard { transform: none; }
}
.rings--cta span { border-color: rgba(168, 85, 247, 0.1); }
.rings--cta span:nth-child(1) { width: 380px; }
.rings--cta span:nth-child(2) { width: 640px; }
.rings--cta span:nth-child(3) { width: 920px; }

/* ================= FOOTER ================= */
.footer { border-top: 1px solid var(--line); padding-block: 64px 34px; background: var(--bg-2); }
.footer__inner { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer__brand .brand__name { font-size: 22px; font-weight: 600; }
/* logo do rodapé — toda branca */
.footer__logo { height: 26px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer__brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 34ch; }
.footer__made { color: var(--dim) !important; }
.footer__col { display: flex; flex-direction: column; gap: 13px; }
.footer__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.footer__col a { color: var(--muted); font-size: 14.5px; transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; color: var(--dim); font-size: 13px; font-family: var(--mono); letter-spacing: 0.03em; }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a:hover { color: #fff; }

/* ================= PROJECT PAGE ================= */
#project-root { display: block; }
.phero { padding-top: 150px; }
.pback {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 13.5px; color: var(--dim);
  margin-bottom: 34px; transition: color 0.2s;
}
.pback:hover { color: #fff; }
.phero .eyebrow { display: block; margin-bottom: 14px; }
.ptitle {
  font-size: clamp(38px, 6.4vw, 82px);
  font-weight: 400; letter-spacing: -0.04em; line-height: 1.02; max-width: 18ch;
}
.plead { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 62ch; margin-top: 22px; line-height: 1.6; }
.ptags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.ptags .tagmono { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.phero__cta { margin-top: 30px; }

.pmeta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin-top: 48px;
}
.pmeta__item { background: var(--card); padding: 20px 22px; display: flex; flex-direction: column; gap: 7px; }
.pmeta__k { font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.pmeta__v { font-size: 15.5px; color: #fff; }

.pimg {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 28% 18%, rgba(123, 0, 255, 0.3), transparent 60%),
    radial-gradient(120% 120% at 82% 92%, rgba(168, 85, 247, 0.22), transparent 60%),
    #0c0c10;
}
.pimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pcover { aspect-ratio: 16 / 9; margin-top: 48px; }

.pprose { max-width: 760px; margin-top: 58px; display: flex; flex-direction: column; gap: 20px; }
.pprose p { color: var(--muted); font-size: 17px; line-height: 1.7; }

.pblock { max-width: 760px; margin-top: 58px; }
.pblock .eyebrow--accent { display: inline-block; margin-bottom: 18px; }
.pblock__text { color: var(--muted); font-size: 17px; line-height: 1.7; margin-bottom: 14px; }
.psol { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 8px 0 18px; }
.psol li { position: relative; padding-left: 22px; color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.psol li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 2px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.psol li strong { color: #fff; font-weight: 500; }

.pgallery { margin-top: 58px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pshot { aspect-ratio: 16 / 10; }
.pshot:nth-child(3n+1) { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.pgallery--2 .pshot, .pgallery--2 .pshot:nth-child(3n+1) { grid-column: auto; aspect-ratio: 16 / 10; }

/* Página completa (Landing Page / Sites) — imagem grande + botão */
.pfull { margin-top: 58px; }
.pfull__frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); max-height: 660px;
  background: radial-gradient(120% 120% at 30% 20%, rgba(123, 0, 255, 0.28), transparent 60%), #0c0c10;
}
.pfull__frame[data-scroll] { cursor: pointer; }
.pfull__img { display: block; width: 100%; height: auto; transform: translateY(0); will-change: transform; }
.pfull__frame::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 240px; z-index: 1;
  background: linear-gradient(transparent, rgba(5, 5, 6, 0.92) 78%); pointer-events: none;
}
.pfull__hint {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82); background: rgba(10, 10, 14, 0.6); backdrop-filter: blur(6px);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px;
  pointer-events: none; opacity: 1; transition: opacity 0.35s;
}
.pfull__frame[data-scroll]:hover .pfull__hint { opacity: 0; }
.pfull__frame:not([data-scroll]) .pfull__hint { display: none; } /* sem hover (mobile) não mostra a dica */
/* centrado por margem (não por transform) — senão o translateY do hover
   apaga o translateX(-50%) e o botão "pula" pro lado */
.pfull__btn { position: absolute; left: 0; right: 0; bottom: 30px; margin: 0 auto; width: -moz-fit-content; width: fit-content; z-index: 3; }

.psection { margin-top: clamp(72px, 10vw, 120px); }
.pother { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.pcard { display: block; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); transition: border-color 0.25s, transform 0.25s var(--ease); }
.pcard:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pcard__media { aspect-ratio: 16 / 11; border: 0; border-radius: 0; }
.pcard__body { padding: 18px 20px 22px; }
.pcard__meta { font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.pcard__meta .dot { color: var(--accent-2); }
.pcard__title { font-size: 19px; font-weight: 500; }

.pcta {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: radial-gradient(120% 140% at 50% 0%, rgba(123, 0, 255, 0.16), transparent 70%), var(--card);
  padding: clamp(32px, 5vw, 54px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.pcta .lead { margin-top: 8px; }

/* ===================== PÁGINA DE PORTFÓLIO ===================== */
.pfhero { padding-top: 130px; padding-bottom: 8px; }
.pfhero .ptitle { max-width: 20ch; }
.pfhero .plead { max-width: 60ch; }
.pffilters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.pfchip {
  font-family: var(--sans); font-size: 13px; color: var(--muted);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; cursor: pointer; transition: color .2s, background .2s, border-color .2s;
}
.pfchip:hover { color: #fff; border-color: var(--line-2); }
.pfchip.is-on { color: #fff; background: rgba(123, 0, 255, 0.16); border-color: rgba(168, 85, 247, 0.55); }
.pfgrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 40px;
  /* o respiro abaixo da grade vem do padding da seção seguinte (Clube),
     então aqui fica só um respiro pequeno — vale pra qualquer nº de projetos */
  padding-bottom: 8px;
}
@media (max-width: 900px) { .pfgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .pfhero { padding-top: 100px; }
  .pfgrid { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .pffilters { margin-top: 24px; }
}

@media (max-width: 900px) {
  .pmeta { grid-template-columns: repeat(2, 1fr); }
  .pother { grid-template-columns: 1fr; }
  .pgallery { grid-template-columns: 1fr; }
  .pshot, .pshot:nth-child(3n+1) { grid-column: auto; aspect-ratio: 16 / 10; }
}
@media (max-width: 680px) {
  /* topo mais justo — a nav fixa já reserva espaço */
  .phero { padding-top: 104px; }
  .pback { margin-bottom: 24px; }
  .ptitle { font-size: clamp(30px, 8.6vw, 40px); letter-spacing: -0.03em; line-height: 1.08; max-width: none; }
  .plead { font-size: 15px; line-height: 1.6; margin-top: 18px; }
  .phero__cta { margin-top: 24px; }

  /* metadados: 2 colunas com respiro menor */
  .pmeta { margin-top: 34px; }
  .pmeta__item { padding: 15px 16px; }
  .pmeta__v { font-size: 14.5px; }

  /* capa e blocos de texto */
  .pcover { margin-top: 34px; aspect-ratio: 4 / 3; }
  .pprose, .pblock, .pgallery, .pfull { margin-top: 40px; }
  .pprose p, .pblock__text { font-size: 15.5px; line-height: 1.65; }
  .psol li { font-size: 15px; }
  .psection { margin-top: 60px; }

  /* imagem de página completa: frame menor, botão flutua sobre o gradiente
     (fica DENTRO do frame com overflow:hidden — não pode sair do fluxo) */
  .pfull__frame { max-height: 420px; }
  .pfull__frame::after { height: 170px; }
  .pfull__btn { bottom: 20px; font-size: 13px; padding: 12px 18px; }

  /* CTA final empilhado */
  .pcta { flex-direction: column; align-items: flex-start; gap: 20px; padding: 30px 24px; }
  .pcta .btn { width: 100%; justify-content: center; }
}

/* ================= REVEAL ================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* dentro do carrossel o deslocamento de 24px sobra da caixa e transforma o
   track num container rolável na vertical — ali a entrada é só de opacidade */
.ttrack .reveal { transform: none; }

/* Word-by-word scroll reveal (headings) */
.word-reveal { opacity: 1 !important; transform: none !important; }
.rw {
  display: inline-block;
  opacity: 0.08;
  will-change: opacity;
  transition: opacity 0.18s linear;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .rw { opacity: 1; transition: none; }
  html { scroll-behavior: auto; }
  .hero::after, .statuspill i, .statuspill i::after, .statuspill::before,
  .scrollcue, .scrollcue__line i,
  .preloader__mark, .preloader__ring::before, .preloader__ring::after { animation: none; }
  .hero::after { opacity: 1; }
  .preloader__mark { opacity: 1; filter: drop-shadow(0 0 18px rgba(123, 0, 255, 0.5)); }
  .vizm *, .vizm *::after, .vizm *::before { animation: none !important; }
  .mkweb__cursor, .mkapr__dot { display: none; }
  .mkdel__track b { width: 100% !important; }
  .mkcheck::after { opacity: 1 !important; }
  .mkapr__badge { transform: translateY(-50%) scale(1) !important; opacity: 1 !important; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1000px) {
  .clients { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .ptile--a, .ptile--b, .ptile--c { grid-column: auto; }
  .ptile--b, .ptile--c { grid-template-columns: 1fr; gap: 18px; }
  .about, .services, .faqwrap { grid-template-columns: 1fr; }
  .services__aside, .faqwrap__head { position: static; }
  .about__media { max-width: 420px; }
  .logogrid { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  /* barra: só MENU e o botão — o idioma vai pra dentro do painel */
  .nav__inner { display: flex; justify-content: space-between; gap: 12px; }
  .wabtn { padding: 3px 14px 3px 3px; gap: 8px; font-size: 12.5px; }
  .wabtn__ico { width: 32px; height: 32px; }
  .wabtn__t--full { display: none; }
  .wabtn__t--short { display: inline; }
  /* o indicador de rolagem colide com os botões da hero em telas baixas */
  .scrollcue { display: none; }

  /* ---- HERO ---- */
  .hero { min-height: auto; padding: 26px 0 48px; }
  .hero__inner { gap: 16px; padding-top: 74px; } /* o padding-top do desktop era 90 */
  .hero__title { font-size: clamp(32px, 9.6vw, 44px); letter-spacing: -0.035em; line-height: 1.05; }
  .hero__text { font-size: 15px; line-height: 1.6; max-width: 38ch; }
  .statuspill { font-size: 10.5px; letter-spacing: 0.07em; padding: 8px 14px 8px 12px; }
  /* os dois botões na mesma linha */
  .hero__actions { flex-wrap: nowrap; gap: 9px; margin-top: 6px; }
  .hero__actions .btn { flex: 0 1 auto; min-width: 0; justify-content: center; font-size: 12.5px; padding: 12px 15px; gap: 8px; }
  .hero__actions .btn--primary { padding-right: 6px; }
  .hero__actions .btn .chevron { flex: none; }
  .hero__actions .btn--primary .chevron { width: 23px; height: 23px; font-size: 12px; }
  .hbadge { display: none; } /* as etiquetas flutuantes atropelam o texto no mobile */

  /* ---- ritmo geral ---- */
  .section { padding-block: 54px; }
  .section--tight { padding-block: 34px; }
  .container { padding-inline: 22px; }
  .h2 { font-size: 27px; }
  .lead { font-size: 14.5px; }
  /* nomes do marquee estavam do tamanho de um título */
  .marquee__track span { font-size: 19px; }
  .marquee__track b { margin: 0 18px; } /* só aperta o espaço — mantém a bolinha redonda */
  .mp {
    grid-template-columns: 1fr; margin-inline: auto; width: calc(100vw - 32px);
    max-height: calc(100vh - 88px); max-height: calc(100dvh - 88px);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .mp__l { padding: 20px; }
  .mp__links a { padding: 12px 0; }
  .mp__card { padding-top: 26px; }
  /* rodapé só do mobile: idioma + WhatsApp, depois das capas */
  .mp__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 16px 20px; border-top: 1px solid var(--line);
  }
  .mp__foot .langsw { margin: 0; }
  .mp__wa {
    display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px;
    color: #25d366; background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.42);
  }
  .mp__l { border-right: 0; border-bottom: 1px solid var(--line); }
  .mp__r { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .mpwork + .mpwork { border-top: 0; border-left: 1px solid var(--line); }
  .case { grid-template-columns: 1fr; position: static; }
  .case + .case { margin-top: 20px; }
  .case:nth-child(even) .case__media { order: 0; }
  .case__media { min-height: 280px; }
  .clients { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 10px; }
  /* em 3 colunas o número fica miúdo; em linhas cheias ele ganha tamanho
     e o rótulo ocupa o espaço que sobrava à direita */
  .statsbig { grid-template-columns: 1fr; gap: 0; padding-top: 26px; margin-top: 44px; }
  .bignum {
    flex-direction: row; align-items: center; justify-content: space-between;
    gap: 18px; padding: 20px 0;
  }
  .bignum + .bignum { border-top: 1px solid var(--line); }
  .bignum__n { font-size: 58px; letter-spacing: -0.055em; line-height: 0.86; }
  .bignum__cap { font-size: 10.5px; text-align: right; max-width: 13ch; line-height: 1.5; }
  .thead__row { flex-direction: column; align-items: flex-start; gap: 20px; }
  /* as setas caíam entre o título e o texto; no celular o carrossel é de arrastar */
  .tnav { display: none; }
  /* o carrossel encostava na borda, desalinhado do texto da seção */
  .ttrack { padding-inline: 22px; scroll-padding-left: 22px; }
  .tcard { grid-template-columns: 1fr; }
  .tcard__photo { order: -1; min-height: 240px; border-left: 0; border-bottom: 1px solid var(--line); }
  .logogrid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   ENHANCEMENTS — diagramação editorial + efeitos
   ===================================================================== */

/* ---- Section index bar (editorial numbering) ---- */
.secbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-bottom: 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--dim);
}
.secbar__n { color: var(--accent-2); }
.secbar__line { flex: 1; height: 1px; background: var(--line); opacity: 0.6; }

/* ---- Hero floating badges (orbit + parallax) ---- */
.hero__badges { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hbadge {
  position: absolute;
  top: 50%; left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(18, 12, 28, 0.55);
  border: 1px solid rgba(168, 85, 247, 0.22);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  transform: translate(-50%, -50%) translate(var(--x), var(--y)) translateY(var(--py, 0px)) translate(var(--px, 0px), var(--pym, 0px));
  transition: transform 0.5s var(--ease), opacity 0.8s var(--ease);
  animation: floaty 7s ease-in-out infinite;
}
.hbadge i {
  width: 7px; height: 7px; border-radius: 2px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 10px -1px var(--accent);
}
.hbadge:nth-child(2) { animation-delay: -1.6s; }
.hbadge:nth-child(3) { animation-delay: -3.2s; }
.hbadge:nth-child(4) { animation-delay: -4.8s; }
@keyframes floaty {
  0%, 100% { --py: -8px; }
  50% { --py: 8px; }
}

/* ---- Marquee ---- */
.marqueesec { overflow: hidden; }
.marqueesec .eyebrow { margin-bottom: 34px; }
.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee + .marquee { margin-top: 6px; }
.marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
  flex: none;
  animation: marquee 42s linear infinite;
}
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 52s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-size: clamp(26px, 3.6vw, 46px);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.34);
  padding: 0 6px;
  transition: color 0.3s;
  white-space: nowrap;
}
.marquee__track span:hover { color: #fff; }
.marquee__track b { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin: 0 34px; flex: none; opacity: 0.7; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Card spotlight (mouse-follow glow) ---- */
.case, .service, .tcard, .ptile { position: relative; }
.case::before, .service::before, .tcard::before, .ptile::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  z-index: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(123, 0, 255, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.case:hover::before, .service:hover::before, .tcard:hover::before, .ptile:hover::before { opacity: 1; }
.case > *, .service > *, .ptile__body, .ptile__n { position: relative; z-index: 1; }
.ptile__glow { z-index: 0; }

/* ---- Magnetic buttons ---- */
.btn.is-magnetic { transition: transform 0.2s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s; }

/* ---- Nav CTA glow on scroll ---- */
.nav.is-scrolled .nav__cta { box-shadow: 0 0 0 1px rgba(123, 0, 255, 0.18); }

@media (prefers-reduced-motion: reduce) {
  .rw { opacity: 1; transition: none; }
  .hbadge, .marquee__track { animation: none; }
}
@media (max-width: 860px) {
  .hero__badges { display: none; }
}

/* Touch devices: show client descriptions without hover */
@media (hover: none) {
  .ccard { aspect-ratio: auto; }
  .ccard__photo { position: relative; aspect-ratio: 4 / 3; }
  .ccard__grad { display: none; }
  .ccard__info { position: relative; inset: auto; background: var(--card); }
  .ccard__desc { max-height: none; opacity: 1; margin-top: 14px; }
}

/* =====================================================================
   PROCESS — dense bento mosaic (Bentogrids-style, Ouder identity)
   ===================================================================== */
.bento {
  display: grid;
  grid-template-columns: 1.25fr 0.6fr 0.6fr 1.25fr;
  grid-auto-rows: minmax(120px, auto);
  grid-template-areas:
    "kick logo logo stat"
    "kick logo logo deli"
    "cria cria entr entr"
    "cta  cta  cta  cta";
  gap: 14px;
}
/* side boxes bleed DEEP under the logo; JS carves a real concave circle
   out of them (mask) so the grid gap flows around the orb = true hug.
   (.bento prefix wins over the base .bt padding shorthand) */
.bento .bt--kick { margin-right: -130px; padding-right: 164px; }
.bento .bt--stat, .bento .bt--deli { margin-left: -130px; padding-left: 164px; }
/* keep the carve aligned: no hover lift on hugged tiles */
.bento .bt--kick:hover, .bento .bt--stat:hover, .bento .bt--deli:hover { transform: none; }
.bt {
  position: relative;
  overflow: hidden;
  background: #100f18;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  transition: border-color 0.35s, transform 0.4s var(--ease), background 0.35s;
}
.bt:hover { border-color: rgba(123, 0, 255, 0.4); transform: translateY(-3px); }

.bt__icon {
  width: 36px; height: 36px; flex: none;
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--accent-2);
  background: rgba(123, 0, 255, 0.1);
  border: 1px solid rgba(123, 0, 255, 0.26);
}
.bt__icon svg { width: 17px; height: 17px; stroke-width: 1.35; }
.bt__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); }
.bt__title { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.bt__desc { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Kickoff — tall left */
.bt--kick { grid-area: kick; display: flex; flex-direction: column; gap: 14px; }
.bt--kick .bt__num { margin-top: 6px; }
.bt__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.bt__chips span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--dim); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px;
}

/* Central round logo (cosmic) — no tile, boxes contour it */
.bt--logo {
  grid-area: logo;
  background: transparent;
  border: 0;
  padding: 0;
  overflow: visible;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2; /* orb ring sits above the bleeding boxes and carves them */
}
.bt--logo::before { display: none; }
.bt--logo:hover { transform: none; border-color: transparent; }
.logoorb {
  position: relative;
  width: clamp(240px, 27vw, 356px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
/* border curves ONLY along each box's own cut (a circle clipped by the box) */
.bento .bt--kick::after,
.bento .bt--stat::after,
.bento .bt--deli::after,
.bento .bt--cria::after {
  content: "";
  position: absolute;
  left: var(--ox, -9999px);
  top: var(--oy, -9999px);
  width: calc(var(--r, 0px) * 2 + 2px);
  height: calc(var(--r, 0px) * 2 + 2px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--line-2);
  pointer-events: none;
  z-index: 3;
}
.logoorb { cursor: pointer; }
.logoorb__glow { display: none; }
/* particle logo — cursor repels the particles + glow follows the cursor */
.logoorb__canvas {
  grid-area: 1 / 1;
  position: relative; z-index: 2;
  width: 78%;
  aspect-ratio: 231 / 219;
}
/* soft round glow behind the particles that follows the cursor (no hard cut) */
.logoorb__cglow {
  /* absoluto e centrado: como item de grid com aspect-ratio ele esticava a
     altura do orb (não-quadrado → texto circular saía do centro) */
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 1;
  width: 104%;
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(circle 130px at var(--gx, -999px) var(--gy, -999px),
    rgba(198, 130, 255, 0.6) 0%, rgba(140, 60, 220, 0.34) 42%, rgba(123, 0, 255, 0) 72%);
  /* feather to a soft circle that fades BEFORE the square edges (no hard box) */
  -webkit-mask: radial-gradient(circle closest-side, #000 38%, transparent 76%);
  mask: radial-gradient(circle closest-side, #000 38%, transparent 76%);
}
.logoorb.is-hover .logoorb__cglow { opacity: 1; }
@keyframes logopulse { 0%, 100% { opacity: 0.85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes logofloat { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }

/* subtle rotating binary arc around the orb (numbers only, like the ref) */
.logoorb__arc { position: absolute; inset: -4%; z-index: 1; animation: cosmospin 60s linear infinite; }
.logoorb__arc text { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; fill: rgba(255, 255, 255, 0.22); }

/* circuit connectors: glowing dot near the orb + thin trace into the box */
.conn { position: absolute; top: 50%; left: 50%; width: 58px; height: 1px; transform-origin: 0 50%; z-index: 1; }
.conn::before { content: ""; position: absolute; left: 6px; top: 0; width: 100%; height: 1px; background: linear-gradient(90deg, var(--dot, #fa9b09), transparent); opacity: 0.5; }
.conn::after {
  content: ""; position: absolute; left: 0; top: -3.5px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--dot, #fa9b09);
  box-shadow: 0 0 12px 1px var(--dot, #fa9b09);
  animation: conndot 3s ease-in-out infinite;
}
.conn.c1 { transform: rotate(148deg) translateX(150px); --dot: #a855f7; }
.conn.c2 { transform: rotate(212deg) translateX(150px); --dot: #fa9b09; }
.conn.c3 { transform: rotate(32deg)  translateX(150px); --dot: #fa9b09; }
.conn.c4 { transform: rotate(-32deg) translateX(150px); --dot: #a855f7; }
.conn.c2::after, .conn.c4::after { animation-delay: -1.5s; }
@keyframes conndot { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) { .logoorb__glow, .logoorb__mark, .logoorb__arc, .conn::after { animation: none; } }

/* Hero — center */
.bt--hero {
  grid-area: hero;
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(0, 0, 0, 0.5), transparent 60%),
    linear-gradient(165deg, #8a2bff 0%, #6a13d6 45%, #3f0c86 100%);
  border-color: rgba(168, 85, 247, 0.4);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 14px; padding: 34px 28px 0;
}
.bt__eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.bt__htitle { font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; color: #fff; max-width: 15ch; }
.bt__binary { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: rgba(255, 255, 255, 0.45); margin-top: 2px; }
/* Cosmic orb — the "wow" brand effect. Swap the circle for the real logo shape
   later via -webkit-mask: url(logo.svg); mask-size: contain; on .bt__cosmos. */
.bt__cosmos {
  position: relative;
  margin-top: auto;
  transform: translateY(24%);
  width: clamp(160px, 20vw, 236px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 116%, #ffbe72 0%, #ff6a3d 10%, #ff3d9b 22%, #8b2fe0 42%, #2a1152 66%, #0a0420 100%);
  box-shadow:
    0 0 70px -4px rgba(190, 90, 255, 0.9),
    0 0 130px -18px rgba(255, 110, 80, 0.55),
    inset 0 -16px 44px rgba(0, 0, 0, 0.55),
    inset 0 12px 30px rgba(255, 255, 255, 0.07);
  animation: cosmospulse 5s ease-in-out infinite;
}
.bt__neb {
  position: absolute; inset: -35%;
  mix-blend-mode: screen;
  filter: blur(8px);
  background: conic-gradient(from 0deg,
    transparent 0 8%, rgba(255, 150, 70, 0.55) 18%, transparent 32%,
    rgba(255, 80, 170, 0.5) 46%, transparent 60%,
    rgba(150, 70, 255, 0.55) 74%, transparent 90%);
  animation: cosmospin 14s linear infinite;
}
.bt__neb--2 {
  inset: -20%;
  filter: blur(12px);
  background: conic-gradient(from 140deg,
    transparent 0 15%, rgba(120, 90, 255, 0.45) 30%, transparent 48%,
    rgba(255, 120, 90, 0.4) 66%, transparent 84%);
  animation: cosmospin 22s linear infinite reverse;
}
.bt__stars {
  position: absolute; inset: 0;
  opacity: 0.85;
  background-image:
    radial-gradient(1.4px 1.4px at 22% 26%, #fff, transparent 60%),
    radial-gradient(1px 1px at 68% 34%, #fff, transparent 60%),
    radial-gradient(1.6px 1.6px at 44% 66%, #ffe, transparent 60%),
    radial-gradient(1px 1px at 78% 60%, #fff, transparent 60%),
    radial-gradient(1.2px 1.2px at 34% 46%, #fff, transparent 60%),
    radial-gradient(1px 1px at 58% 74%, #fff, transparent 60%),
    radial-gradient(1.3px 1.3px at 30% 72%, #fff, transparent 60%),
    radial-gradient(1px 1px at 82% 28%, #fff, transparent 60%);
  animation: cosmostwinkle 3.6s ease-in-out infinite;
}
.bt__shine {
  position: absolute; inset: 0;
  mix-blend-mode: screen;
  background: radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.5), transparent 34%);
}
@keyframes cosmospin { to { transform: rotate(360deg); } }
@keyframes cosmostwinkle { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes cosmospulse {
  0%, 100% { box-shadow: 0 0 70px -4px rgba(190, 90, 255, 0.9), 0 0 130px -18px rgba(255, 110, 80, 0.5), inset 0 -16px 44px rgba(0, 0, 0, 0.55), inset 0 12px 30px rgba(255, 255, 255, 0.07); }
  50% { box-shadow: 0 0 94px 2px rgba(205, 115, 255, 1), 0 0 160px -12px rgba(255, 120, 90, 0.7), inset 0 -16px 44px rgba(0, 0, 0, 0.55), inset 0 12px 30px rgba(255, 255, 255, 0.09); }
}
@media (prefers-reduced-motion: reduce) {
  .bt__cosmos, .bt__neb, .bt__stars { animation: none; }
}

/* Stat + avatars */
.bt--stat { grid-area: stat; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.bt__statnum {
  display: block;
  font-size: clamp(38px, 3.6vw, 52px); font-weight: 600; letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(180deg, #ffffff 40%, #c9a6ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff;
}
.bt__statcap { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 0; }
.bt__avatars { display: flex; }
.bt__avatars span { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #100f18; margin-left: -11px; background: linear-gradient(135deg, var(--accent-2), #2a1050); }
.bt__avatars span:first-child { margin-left: 0; background: linear-gradient(135deg, #c9a6ff, #6a13d6); }
.bt__avatars span:nth-child(2) { background: linear-gradient(135deg, #8e6bd6, #3f0c86); }
.bt__avatars .bt__more { display: grid; place-items: center; color: #fff; font-size: 12px; background: rgba(123, 0, 255, 0.35); }

/* Deliverables tile */
.bt--deli { grid-area: deli; display: flex; flex-direction: column; gap: 16px; }
.bt__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.bt__pills span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted); background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px;
}

/* Criação + Entrega — wide row, icon left */
.bt--cria { grid-area: cria; }
.bt--entr { grid-area: entr; }
.bt--cria, .bt--entr { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.bt__ct { display: flex; flex-direction: column; gap: 7px; }
.bt__ct .bt__num { order: -1; }

/* CTA bar */
.bt--cta {
  grid-area: cta;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: radial-gradient(120% 200% at 100% 0%, rgba(123, 0, 255, 0.16), transparent 55%), #100f18;
}
.bt__ctatext h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.02em; }
.bt__ctatext p { color: var(--muted); font-size: 14px; margin-top: 5px; }

@media (max-width: 1000px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "logo logo"
      "kick stat"
      "kick deli"
      "cria entr"
      "cta  cta";
  }
  .bt--logo { min-height: 340px; }
  .bento .bt--kick { margin-right: 0; padding-right: 26px; }
  .bento .bt--stat, .bento .bt--deli { margin-left: 0; padding-left: 26px; }
  .logoorb { width: min(88%, 380px); }
  .conn { display: none; }
  .bento .bt--kick::after, .bento .bt--stat::after, .bento .bt--deli::after { display: none; }
}
@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
    /* no desktop a logo é o centro da composição; empilhada ela ia parar no
       topo, então mantemos ela no meio da sequência */
    grid-template-areas: "kick" "stat" "deli" "logo" "cria" "entr" "cta";
  }
  .bt--cria, .bt--entr { grid-template-columns: auto 1fr; }
  .bt--cta { flex-direction: column; align-items: flex-start; }
  /* o anel de texto do orb é ~26% maior que ele e estava sendo cortado pelo card */
  .bt--logo { min-height: 260px; }
  .logoorb { width: min(72%, 380px); }
  .bt { padding: 22px; border-radius: 18px; }

  /* mesmo abraço do desktop, só que na vertical: os cards de cima e de baixo
     avançam por trás da logo e o JS recorta o círculo neles */
  .bento .bt--deli { margin-bottom: -104px; padding-bottom: 126px; }
  .bento .bt--cria { margin-top: -104px; padding-top: 126px; }
  .bento .bt--deli:hover, .bento .bt--cria:hover { transform: none; }
  /* desfaz o recorte lateral do desktop, que aqui não se aplica */
  .bento .bt--kick { margin-right: 0; padding-right: 22px; }
  .bento .bt--stat { margin-left: 0; padding-left: 22px; }
}

/* Ajustes de mobile que precisam vir depois das regras base do arquivo */
@media (max-width: 680px) {
  .marquee__track span { font-size: 19px; letter-spacing: -0.02em; }
  .marquee__track b { margin: 0 16px; } /* aperta o espaço; bolinha continua 8×8 redonda */
  .marquee + .marquee { margin-top: 4px; }
}
