/* =========================================================
   CasaBlanca Studio — Design System
   Palette: Branco / Vermelho / Preto  ·  Fonte: Montserrat
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --white: #ffffff;
  --black: #0a0a0a;
  --black-800: #141414;
  --black-700: #1e1e1e;
  --black-600: #2b2b2b;
  --red: #e01b24;
  --red-bright: #ff2f3c;
  /* hover: escurece sem perder contraste com o texto branco */
  --red-hover: #d01019;
  --red-deep: #8e0b14;
  /* vermelho escurecido para texto pequeno sobre fundo claro (contraste AA) */
  --red-text: #c1121f;
  --red-tint: #fff1f1;
  --cream: #fff8f8;

  /* Ink */
  --ink: #0a0a0a;
  --ink-soft: #3d3d3d;
  --muted: #6f6f6f;
  --line: rgba(10, 10, 10, 0.1);
  --line-strong: rgba(10, 10, 10, 0.18);

  /* Radii */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Layout */
  --container: 1160px;
  --gutter: 24px;
  --section-y: clamp(72px, 9vw, 128px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--red);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-pill);
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 16px;
}

/* ---------- Typography ---------- */
.display {
  font-size: clamp(2.6rem, 7.4vw, 5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.h4 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 500;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--red-tint);
  color: var(--red-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.eyebrow--dark {
  background: rgba(224, 27, 36, 0.18);
  color: #ff8b92;
}

.accent {
  color: var(--red);
}

/* ---------- Section shell ---------- */
.section {
  padding-block: var(--section-y);
}
.section--tight {
  padding-block: clamp(56px, 6vw, 84px);
}
.section--dark {
  background: var(--black);
  color: var(--white);
}
.section--dark .lead,
.section--dark .muted {
  color: rgba(255, 255, 255, 0.66);
}
.section--cream {
  background: var(--cream);
}
.section--border {
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head .h2 {
  margin-top: 18px;
}
.section-head .lead {
  margin-top: 18px;
}

.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: end;
}
@media (max-width: 860px) {
  .section-head--split {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding-inline: 30px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn .arrow {
  transition: transform 0.3s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 28px -10px rgba(224, 27, 36, 0.75);
}
.btn--primary:hover {
  background: var(--red-hover);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--black-700);
}

/* dentro do cabeçalho escuro, o botão inverte */
.header .btn--dark {
  background: var(--white);
  color: var(--black);
}
.header .btn--dark:hover {
  background: var(--red);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--black);
}
.btn--light:hover {
  background: var(--red-tint);
  color: var(--red);
}

.btn--outline {
  border: 1.5px solid var(--line-strong);
  color: var(--black);
}
.btn--outline:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.section--dark .btn--outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}
.section--dark .btn--outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn--sm {
  height: 46px;
  padding-inline: 22px;
  font-size: 0.9rem;
}
.btn--lg {
  height: 60px;
  padding-inline: 36px;
  font-size: 1.02rem;
}

/* botão fantasma: só a borda, para fundos escuros */
.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
}
.btn--ghost:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

/* Link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--red-text);
}
.link-arrow svg {
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover svg {
  transform: translateX(5px);
}

/* ---------- Pills / tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
}
.section--dark .tag {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* opaco o bastante para manter o contraste sobre as seções claras */
  background: rgba(10, 10, 10, 0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header.is-stuck {
  background: rgba(10, 10, 10, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 80px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--white);
}
.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: -0.05em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}
.logo:hover .logo__mark {
  transform: rotate(-8deg);
  background: var(--white);
  color: var(--black);
}
.logo__mark span {
  color: #fff;
}
.logo:hover .logo__mark span {
  color: var(--red);
}
.logo__text b {
  font-weight: 800;
}
.logo__text i {
  font-style: normal;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 9px 15px;
  border-radius: var(--r-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}
.nav a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language switch */
.lang {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.lang button {
  padding: 6px 13px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.58);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.lang button:hover {
  color: var(--white);
}
.lang button.is-active {
  background: var(--white);
  color: var(--black);
}

.burger {
  display: none;
  flex-direction: column;
  width: 46px;
  height: 46px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger span + span {
  margin-top: 4px;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1080px) {
  .nav a {
    padding: 9px 11px;
    font-size: 0.86rem;
  }
  /* o CTA do header some para dar espaço à navegação + burger */
  .header__actions > .btn {
    display: none;
  }
}
@media (max-width: 900px) {
  .burger {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    inset: 80px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px var(--gutter) 28px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.8);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  }
  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--r-md);
  }
}

/* Telas muito estreitas: aperta o cabeçalho para não estourar */
@media (max-width: 560px) {
  .header__inner {
    gap: 12px;
  }
  .logo {
    gap: 9px;
    font-size: 0.98rem;
  }
  .logo__mark {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }
  .header__actions {
    gap: 8px;
  }
  .lang button {
    padding: 6px 10px;
    font-size: 0.74rem;
  }
  .burger {
    width: 42px;
    height: 42px;
  }
}

/* =========================================================
   Intro / Hero — estilo "capa cinematográfica"
   Fundo preto com campo de estrelas, título em duas linhas
   ( leve + pesado em vermelho ) e carrossel 3D de exemplos.
   ========================================================= */

.intro {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vh, 28px);
  padding: clamp(86px, 10.5vh, 110px) var(--gutter) clamp(20px, 3vh, 34px);
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

/* brilho vermelho na base */
.intro__glow {
  position: absolute;
  inset: auto 0 0;
  height: 62%;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 108%, rgba(224, 27, 36, 0.28), transparent 66%);
}

/* campo de estrelas (gerado por JS) */
.intro__stars {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}
.intro__stars i {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: twinkle var(--dur, 4s) ease-in-out var(--delay, 0s) infinite;
}
.intro__stars i.red {
  background: var(--red-bright);
}
.intro__stars i.warm {
  background: #ffd9b3;
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 0.14;
    transform: scale(0.75);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.2);
  }
}

 /* --- conteúdo central --- */
.intro__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 940px;
  text-align: center;
}

.intro__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  margin-bottom: clamp(22px, 3.4vh, 34px);
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.intro__kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(224, 27, 36, 0.18);
}

.intro__title {
  font-size: clamp(2.7rem, 9.4vw, 6.7rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-bottom: clamp(18px, 2.5vh, 26px);
}
.intro__title .light {
  display: block;
  font-weight: 200;
  font-style: italic;
  letter-spacing: -0.035em;
  color: rgba(255, 255, 255, 0.94);
}
.intro__title .bold {
  display: block;
  color: var(--red);
}

.intro__lead {
  max-width: 54ch;
  margin: 0 auto clamp(22px, 3vh, 32px);
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.intro__cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

 /* --- barra inferior: dica + selo giratório --- */
.intro__bar {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 0;
}

.intro__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}
.intro__hint b {
  display: inline-flex;
  gap: 3px;
}
.intro__hint b i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 1.6s ease-in-out infinite;
}
.intro__hint b i:nth-child(2) {
  animation-delay: 0.2s;
}
.intro__hint b i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes blink {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

 /* selo circular giratório com botão de play */
.spin {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: clamp(88px, 10vw, 116px);
  height: clamp(88px, 10vw, 116px);
  border-radius: 50%;
  background: rgba(224, 27, 36, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: background-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.spin:hover {
  background: rgba(224, 27, 36, 0.24);
  transform: scale(1.05);
}
.spin__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 20s linear infinite;
}
.spin__ring text {
  font-family: "Montserrat", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  fill: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
}
.spin__play {
  position: relative;
  display: grid;
  place-items: center;
  width: 46%;
  height: 46%;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(224, 27, 36, 0.9);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   Carrossel 3D de exemplos
   ========================================================= */
/* =========================================================
   Carrossel 3D de exemplos
   Fica no fluxo normal (logo abaixo do texto) para nunca
   passar por cima das escritas da capa.
   ========================================================= */
.stage3d {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  /* a altura segue a largura do card (5:7), então nunca sobra nem falta espaço */
  --card-w: clamp(158px, 21vw, 288px);
  height: calc(var(--card-w) * 1.4 + 54px);
  perspective: 1500px;
  perspective-origin: 50% 50%;
  z-index: 1;
  pointer-events: none;
  /* --gap é definido em JS (valor já resolvido em px) */
  --gap: 300px;
}

/* esmaece as pontas do carrossel */
.stage3d::before,
.stage3d::after {
  content: "";
  position: absolute;
  top: -8%;
  bottom: -8%;
  width: 19%;
  z-index: 3;
  pointer-events: none;
}
.stage3d::before {
  left: 0;
  background: linear-gradient(to right, var(--black), rgba(10, 10, 10, 0));
}
.stage3d::after {
  right: 0;
  background: linear-gradient(to left, var(--black), rgba(10, 10, 10, 0));
}

.card3d {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--card-w);
  /* centraliza nos dois eixos (altura = largura × 7/5 por causa do aspect-ratio) */
  margin-left: calc(var(--card-w) / -2);
  margin-top: calc(var(--card-w) * -0.7);
  aspect-ratio: 5 / 7;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform-style: preserve-3d;
  will-change: transform, opacity;
  pointer-events: auto;
  cursor: grab;
}
.card3d:active {
  cursor: grabbing;
}

.card3d__bg {
  position: absolute;
  inset: 0;
}
.card3d__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.3), transparent 46%),
    /* scrim forte embaixo: garante contraste do texto em qualquer card */
    linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.72) 30%, rgba(0, 0, 0, 0.1) 70%);
}
.card3d--r1 .card3d__bg {
  background: linear-gradient(150deg, #ff2f3c 0%, #8e0b14 58%, #0a0a0a 100%);
}
.card3d--r2 .card3d__bg {
  background: linear-gradient(150deg, #0a0a0a 0%, #2b2b2b 46%, #e01b24 100%);
}
.card3d--r3 .card3d__bg {
  background: linear-gradient(150deg, #e01b24 0%, #0a0a0a 68%, #141414 100%);
}
.card3d--r4 .card3d__bg {
  background: linear-gradient(150deg, #fff1f1 0%, #e01b24 46%, #0a0a0a 100%);
}
.card3d--r5 .card3d__bg {
  background: linear-gradient(150deg, #8e0b14 0%, #0a0a0a 60%, #2b2b2b 100%);
}
.card3d--r6 .card3d__bg {
  background: linear-gradient(150deg, #0a0a0a 0%, #e01b24 54%, #ff2f3c 100%);
}
.card3d--r7 .card3d__bg {
  background: linear-gradient(150deg, #2b2b2b 0%, #8e0b14 52%, #0a0a0a 100%);
}
.card3d--r8 .card3d__bg {
  background: linear-gradient(150deg, #ff8a90 0%, #c1121f 48%, #0a0a0a 100%);
}

.card3d__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: background-color 0.35s var(--ease);
}
.card3d:hover .card3d__play {
  background: var(--red);
}

.card3d__foot {
  position: absolute;
  inset: auto 0 0;
  padding: 20px 17px;
  color: #fff;
}
.card3d__cat {
  display: inline-block;
  margin-bottom: 9px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card3d__title {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin: 0;
}

/* =========================================================
   Transição capa → seção clara
   Sem isto, o preto da capa corta seco no branco do portfólio.
   O degradê termina exatamente na cor da seção seguinte,
   então a emenda some.
   ========================================================= */
.intro__haze {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /* rente ao rodapé da capa: o fade começa bem depois dos cards */
  height: clamp(110px, 16vh, 170px);
  z-index: 4;
  pointer-events: none;
  /* curva deslocada para baixo: quase invisível no topo do degradê */
  background: linear-gradient(
    to bottom,
    rgba(255, 248, 248, 0) 0%,
    rgba(255, 248, 248, 0.02) 24%,
    rgba(255, 248, 248, 0.1) 50%,
    rgba(255, 248, 248, 0.34) 70%,
    rgba(255, 248, 248, 0.7) 86%,
    rgba(255, 248, 248, 0.93) 95%,
    var(--cream) 100%
  );
}

@media (max-width: 760px) {
  .intro {
    min-height: 88svh;
  }
  .intro__bar {
    justify-content: center;
  }
  .intro__hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro__stars i,
  .spin__ring,
  .intro__hint b i {
    animation: none !important;
  }
  .spin__ring {
    animation: spin 20s linear infinite !important;
  }
}
/* =========================================================
   Vitrine / Portfólio — o que mais a gente produz
   ========================================================= */
.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .showcase {
    grid-template-columns: 1fr;
  }
}

.card3d-demo {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card3d-demo:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 54px -32px rgba(10, 10, 10, 0.42);
}
.card3d-demo .vis {
  position: relative;
  inset: auto;
  height: clamp(196px, 25vw, 262px);
  flex-shrink: 0;
  overflow: hidden;
}

.showcase__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.showcase__cat {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--red-tint);
  color: var(--red-text);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.showcase__title {
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.24;
  margin-bottom: 9px;
}
.showcase__desc {
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--muted);
}

/* --- mockup: cardápio / menu --- */
.vis-menu {
  background: linear-gradient(140deg, #1a1a1a 0%, #3a3a3a 100%);
}
.vis-menu .menu {
  height: 84%;
  width: auto;
  max-width: 82%;
  aspect-ratio: 3 / 4;
  padding: 16px 14px;
  border-radius: 8px;
  background: #f7f3ec;
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.vis-menu .menu__head {
  text-align: center;
  padding-bottom: 8px;
  margin-bottom: 3px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.vis-menu .menu__head b {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--black);
}
.vis-menu .menu__head span {
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-text);
}
.vis-menu .menu__row {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.vis-menu .menu__row i {
  height: 4px;
  border-radius: var(--r-pill);
  background: rgba(10, 10, 10, 0.3);
}
.vis-menu .menu__row i:first-child {
  width: 34%;
}
.vis-menu .menu__row i.d {
  flex: 1;
  border-bottom: 1px dotted rgba(10, 10, 10, 0.25);
  background: none;
  height: 0;
}
.vis-menu .menu__row b {
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--black);
}
.vis-menu .menu__foot {
  margin-top: auto;
  height: 12px;
  border-radius: 4px;
  background: var(--red);
}

/* --- mockup: automação / fluxo --- */
.vis-auto {
  background: linear-gradient(140deg, #e01b24 0%, #8e0b14 100%);
}
.vis-auto .flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  flex-wrap: wrap;
}
.vis-auto .node {
  display: grid;
  place-items: center;
  padding: 9px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.6);
}
.vis-auto .node.on {
  background: var(--black);
  color: #fff;
}
.vis-auto .link {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.65);
  position: relative;
}
.vis-auto .link::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -2.5px;
  border-left: 5px solid rgba(255, 255, 255, 0.85);
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
}

/* =========================================================
   Arte — exemplos de arte em caixas maiores e mais juntas
   ========================================================= */
.arte {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 980px) {
  .arte {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .arte {
    grid-template-columns: 1fr;
  }
}

.arte-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.arte-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(224, 27, 36, 0.55);
}

.arte-card__body {
  padding: 20px 20px 24px;
}
.arte-card__cat {
  display: inline-block;
  margin-bottom: 11px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(224, 27, 36, 0.22);
  color: #ffa3a9;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.arte-card__title {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.24;
  margin-bottom: 8px;
}
.arte-card__desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

/* --- miniaturas de arte (tudo em CSS) --- */
.art {
  position: relative;
  aspect-ratio: 1 / 1.12;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* pôster */
.art--poster {
  background: linear-gradient(160deg, #e01b24 0%, #8e0b14 100%);
}
.art--poster .poster {
  position: absolute;
  inset: 13%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 16px;
  background: #fff;
  color: #0a0a0a;
  box-shadow: 0 26px 44px -22px rgba(0, 0, 0, 0.75);
}
.art--poster .poster b {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.06em;
}
.art--poster .poster span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-text);
}

/* ilustração */
.art--illustration {
  background: linear-gradient(150deg, #0a0a0a 0%, #1c1c1c 100%);
}
.art--illustration .illo {
  position: absolute;
  inset: 0;
}
.art--illustration .illo i {
  position: absolute;
  border-radius: 50%;
}
.art--illustration .c1 {
  width: 46%;
  aspect-ratio: 1;
  left: 14%;
  top: 20%;
  background: var(--red);
}
.art--illustration .c2 {
  width: 30%;
  aspect-ratio: 1;
  right: 16%;
  top: 12%;
  background: #fff;
}
.art--illustration .c3 {
  width: 38%;
  aspect-ratio: 1;
  right: 12%;
  bottom: 12%;
  background: transparent;
  border: 10px solid var(--red-bright);
}
.art--illustration .arc {
  width: 52%;
  aspect-ratio: 1;
  left: 8%;
  bottom: 8%;
  border-radius: 50% 50% 0 50%;
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(-14deg);
}

/* tipografia */
.art--type {
  background: #f4efe6;
}
.art--type .specimen {
  position: absolute;
  inset: 0;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
}
.art--type .specimen b {
  font-size: 6.4rem;
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.07em;
  color: #0a0a0a;
}
.art--type .specimen span {
  margin-top: 4px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-text);
}
.art--type .specimen i {
  margin-top: auto;
  height: 7px;
  border-radius: var(--r-pill);
  background: rgba(10, 10, 10, 0.16);
}
.art--type .specimen i + i {
  margin-top: 7px;
  width: 62%;
}

/* fotografia */
.art--photo {
  background: linear-gradient(180deg, #ff8a90 0%, #c1121f 46%, #2b0a0c 100%);
}
.art--photo .photo {
  position: absolute;
  inset: 0;
}
.art--photo .grain {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0 1px, transparent 1px 3px);
  opacity: 0.5;
}
.art--photo .horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: 62%;
  height: 38%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), #0a0a0a);
}
.art--photo .photo b {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #fff;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.5);
}

/* pattern */
.art--pattern {
  background: #0a0a0a;
}
.art--pattern .pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(224, 27, 36, 0.8) 0 3px, transparent 3px 17px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.12) 0 3px, transparent 3px 17px);
  background-size: 48px 48px;
}
/* círculo central dá o "ponto de foco" do padrão */
.art--pattern .pattern::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 12px rgba(10, 10, 10, 0.55);
}
.art--pattern .pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 34%, rgba(10, 10, 10, 0.72) 82%);
}

/* capa */
.art--cover {
  background: linear-gradient(155deg, #141414 0%, #0a0a0a 100%);
}
.art--cover .cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: #fff;
}
.art--cover .ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 14px solid var(--red);
}
.art--cover .cover b {
  position: relative;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  z-index: 1;
}
.art--cover .cover span {
  position: relative;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  z-index: 1;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 460px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

.stat {
  padding: 26px 24px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.stat:hover {
  transform: translateY(-4px);
  border-color: var(--red);
}
.stat__num {
  font-size: clamp(2.2rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--red);
  margin-bottom: 12px;
}
.stat__label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}
.stat--dark {
  background: var(--black);
  border-color: var(--black);
}
.stat--dark .stat__label {
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1080px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .services {
    grid-template-columns: 1fr;
  }
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 28px 50px -30px rgba(10, 10, 10, 0.4);
}
.service:hover::before {
  transform: scaleX(1);
}

.service__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--red-tint);
  color: var(--red);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.service:hover .service__icon {
  background: var(--red);
  color: var(--white);
}
.service__title {
  margin-bottom: 12px;
}
.service__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
  flex: 1;
}
.service .tag-row {
  gap: 6px;
}
.service .tag {
  background: var(--cream);
  font-size: 0.78rem;
  padding: 6px 11px;
}

/* ---------- Projects ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.filter {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.filter:hover {
  border-color: var(--black);
  color: var(--black);
}
.filter.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .projects {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .projects {
    grid-template-columns: 1fr;
  }
}

.project {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.project:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 54px -32px rgba(10, 10, 10, 0.42);
}
.project.is-hidden {
  display: none;
}
.project__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.project__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project__cat {
  align-self: flex-start;
  margin-bottom: 13px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--red-tint);
  color: var(--red-text);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.project__title {
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin-bottom: 9px;
}
.project__desc {
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--muted);
  margin-bottom: 18px;
  flex: 1;
}
.project__result {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--black);
}
.project__result svg {
  color: var(--red);
  flex-shrink: 0;
}

/* --- Project visual mockups --- */
.vis {
  position: absolute;
  inset: 0;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Web design: browser mockup */
.vis-web {
  background: linear-gradient(140deg, #0a0a0a 0%, #2b2b2b 100%);
}
.vis-web .browser {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 24px 40px -22px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
}
.vis-web .bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  background: #f3f3f3;
  border-bottom: 1px solid #e6e6e6;
}
.vis-web .bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4d4d4;
}
.vis-web .bar i:first-child {
  background: var(--red);
}
.vis-web .bar i:nth-child(2) {
  background: #2b2b2b;
}
.vis-web .bar span {
  margin-left: 6px;
  flex: 1;
  height: 12px;
  border-radius: var(--r-pill);
  background: #e6e6e6;
}
.vis-web .body {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.vis-web .nav-row {
  display: flex;
  gap: 6px;
  margin-bottom: 3px;
}
.vis-web .nav-row i {
  height: 7px;
  border-radius: var(--r-pill);
  background: #e6e6e6;
}
.vis-web .nav-row i:last-child {
  margin-left: auto;
  background: var(--red);
  width: 26px;
}
.vis-web .hero-blk {
  height: 40%;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
}
.vis-web .lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vis-web .lines i {
  height: 7px;
  border-radius: var(--r-pill);
  background: #ececec;
}
.vis-web .lines i:nth-child(2) {
  width: 72%;
}
.vis-web .cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: auto;
}
.vis-web .cols i {
  height: 26px;
  border-radius: 7px;
  background: #f3f3f3;
  border: 1px solid #e6e6e6;
}

/* Social media: post grid */
.vis-social {
  background: linear-gradient(140deg, #e01b24 0%, #8e0b14 100%);
}
.vis-social .grid9 {
  height: 100%;
  width: auto;
  aspect-ratio: 1;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 40px -22px rgba(0, 0, 0, 0.6);
}
.vis-social .grid9 i {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}
.vis-social .grid9 i:nth-child(3n) {
  background: rgba(10, 10, 10, 0.9);
}
.vis-social .grid9 i:nth-child(5n) {
  background: rgba(255, 255, 255, 0.55);
}

/* Brand identity: logo + swatches */
.vis-brand {
  background: linear-gradient(140deg, #fff8f8 0%, #ffe4e4 100%);
}
.vis-brand .card {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: var(--white);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 24px 40px -24px rgba(10, 10, 10, 0.28);
}
.vis-brand .mark {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vis-brand .mark b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--black);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}
.vis-brand .mark b em {
  font-style: normal;
  color: var(--red);
}
.vis-brand .mark span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--black);
}
.vis-brand .swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.vis-brand .swatches i {
  height: 30px;
  border-radius: 8px;
}
.vis-brand .type {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}
.vis-brand .type b {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--black);
}
.vis-brand .type i {
  height: 6px;
  border-radius: var(--r-pill);
  background: #ececec;
}
.vis-brand .type i:nth-child(2) {
  width: 66%;
}

/* Video editing: frame + timeline */
.vis-video {
  background: linear-gradient(140deg, #1a1a1a 0%, #000 100%);
}
.vis-video .frame {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 40px -22px rgba(0, 0, 0, 0.8);
}
.vis-video .shot {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(130deg, var(--red) 0%, #3d0a0e 60%, #0a0a0a 100%);
  display: grid;
  place-items: center;
}
.vis-video .shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 4px);
}
.vis-video .shot span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--red);
}
.vis-video .timeline {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
}
.vis-video .track {
  display: flex;
  gap: 4px;
  height: 15px;
}
.vis-video .track i {
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
}
.vis-video .track i.on {
  background: var(--red);
}
.vis-video .playhead {
  position: relative;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
}
.vis-video .playhead::after {
  content: "";
  position: absolute;
  left: 58%;
  top: -3px;
  width: 2px;
  height: 8px;
  border-radius: 2px;
  background: var(--white);
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
@media (max-width: 980px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .process {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.step:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(224, 27, 36, 0.5);
  transform: translateY(-5px);
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
}
.step__title {
  margin-bottom: 10px;
}
.step__desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Comparison ---------- */
.compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .compare {
    grid-template-columns: 1fr;
  }
}
.compare__col {
  padding: 32px 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.compare__col--old {
  background: var(--cream);
}
.compare__col--new {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  position: relative;
  overflow: hidden;
}
.compare__col--new::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 27, 36, 0.4), transparent 70%);
}
.compare__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  margin-bottom: 22px;
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.compare__col--old .compare__badge {
  background: rgba(10, 10, 10, 0.06);
  color: var(--ink-soft);
}
.compare__col--new .compare__badge {
  background: var(--red);
  color: var(--white);
}
.compare__col h3 {
  font-size: 1.34rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.compare__list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.compare__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  line-height: 1.5;
}
.compare__col--old .compare__list li {
  color: var(--muted);
}
.compare__col--new .compare__list li {
  color: rgba(255, 255, 255, 0.88);
}
.compare__list svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.compare__col--old .compare__list svg {
  color: #c4c4c4;
}
.compare__col--new .compare__list svg {
  color: var(--red-bright);
}

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) {
  .quotes {
    grid-template-columns: 1fr;
  }
}
.quote {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.quote:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 48px -32px rgba(10, 10, 10, 0.4);
}
.quote__stars {
  display: flex;
  gap: 3px;
  color: var(--red);
  margin-bottom: 18px;
}
.quote__text {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 24px;
  flex: 1;
}
.quote__author {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.quote__avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  flex-shrink: 0;
}
.quote--b .quote__avatar {
  background: var(--red);
}
.quote__name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.quote__role {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}
@media (max-width: 900px) {
  .faq {
    grid-template-columns: 1fr;
  }
}
.faq__list {
  display: flex;
  flex-direction: column;
}
.acc {
  border-bottom: 1px solid var(--line);
}
.acc:first-child {
  border-top: 1px solid var(--line);
}
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  text-align: left;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  transition: color 0.25s var(--ease);
}
.acc__btn:hover {
  color: var(--red);
}
.acc__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  color: var(--black);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.35s var(--ease);
}
.acc.is-open .acc__icon {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: rotate(45deg);
}
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.acc.is-open .acc__panel {
  grid-template-rows: 1fr;
}
.acc__panel > div {
  overflow: hidden;
}
.acc__panel p {
  padding-bottom: 24px;
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- Insights ---------- */
.insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .insights {
    grid-template-columns: 1fr;
  }
}
.post {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.post:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 28px 50px -30px rgba(10, 10, 10, 0.42);
}
.post__visual {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, var(--black) 0%, var(--black-600) 100%);
  overflow: hidden;
}
.post__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 20%, rgba(224, 27, 36, 0.55), transparent 58%);
}
.post__glyph {
  position: absolute;
  right: 22px;
  bottom: -14px;
  z-index: 1;
  font-size: 4.6rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.14);
}
.post__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.post__cat {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--red-tint);
  color: var(--red-text);
  font-weight: 700;
}
.post__title {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.26;
  margin-bottom: 10px;
}
.post__excerpt {
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--muted);
  margin-bottom: 20px;
  flex: 1;
}
.post .link-arrow {
  font-size: 0.88rem;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--red);
  color: var(--white);
  padding: clamp(44px, 6vw, 76px);
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.22), transparent 66%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-inline: auto;
}
.cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  margin-bottom: 26px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.cta__badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}
.cta .h2 {
  margin-bottom: 18px;
}
.cta__text {
  font-size: 1.08rem;
  line-height: 1.65;
  color: #fff;
  margin-bottom: 34px;
}
.cta__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cta__note {
  margin-top: 22px;
  font-size: 0.85rem;
  color: #fff;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: var(--white);
  padding-block: clamp(48px, 6vw, 76px) 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 980px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
.footer .logo {
  color: var(--white);
  margin-bottom: 18px;
}
.footer .logo__mark {
  background: var(--red);
}
.footer .logo__mark span {
  color: var(--white);
}
.footer .logo__mark:hover {
  background: var(--black);
}
.footer .logo__text i {
  color: rgba(255, 255, 255, 0.55);
}
.footer__about {
  font-size: 0.94rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  max-width: 34ch;
}
.footer__title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 16px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer__links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer__links a:hover {
  color: var(--red-bright);
  transform: translateX(3px);
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.58);
}
.footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background-color 0.3s var(--ease);
}
.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top:hover {
  background: var(--red);
}

/* ---------- Tunnel "Já aconteceu" (artes voando no scroll) ---------- */
.tunnel {
  position: relative;
  height: 320vh;
  background: var(--black);
  color: var(--white);
  overflow: clip;
}
.tunnel__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  perspective: 1100px;
  perspective-origin: 50% 50%;
  overflow: hidden;
}
.tunnel__head {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 30;
  width: min(92vw, 620px);
  text-align: center;
  transform: translate(-50%, -50%) scale(0.86);
  transform-origin: center;
  opacity: 0;
  will-change: transform, opacity;
  pointer-events: none;
}
.tunnel__title {
  color: var(--white);
  margin: 14px 0 10px;
  font-size: clamp(34px, 6vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.tunnel__caption {
  color: rgba(255, 255, 255, 0.72);
}
.em-light {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
}
.tunnel__cards {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  transform-style: preserve-3d;
  pointer-events: none;
}
.tunnel__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(150px, 19vw, 240px);
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  will-change: transform, opacity;
  backface-visibility: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transition: none;
}
.tunnel__bg {
  position: absolute;
  inset: 0;
}
.tunnel__label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.tunnel.is-reduced .tunnel__stage {
  position: static;
  height: auto;
  padding: 64px 0;
}
.tunnel.is-reduced .tunnel__head {
  position: static;
  transform: none;
  opacity: 1;
  margin: 0 auto 28px;
}
.tunnel.is-reduced .tunnel__cards {
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  transform: none;
  padding-bottom: 64px;
}
.tunnel.is-reduced .tunnel__card {
  position: static;
  transform: none !important;
  opacity: 1 !important;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .tunnel { height: auto; }
  .tunnel__stage { position: static; height: auto; }
}
   /* ---------- Reveal animations ----------
Só anima quem tem JS (classe .js-enabled). A animação é de
   deslocamento, nunca de opacidade: assim o texto abaixo da
   dobra mantém o contraste mesmo antes de ser revelado.
   ---------------------------------------------------------------- */
.js-enabled [data-reveal] {
  transform: translateY(26px);
  transition: transform 0.7s var(--ease);
  will-change: transform;
}
.js-enabled [data-reveal].is-in {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js-enabled [data-reveal] {
    transform: none;
  }
}

/* ---------- Galeria flutuante ---------- */
.floatcarousel {
  overflow: hidden;
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.floattrack {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: floatMarquee 38s linear infinite;
}
.floatcarousel:hover .floattrack {
  animation-play-state: paused;
}
@keyframes floatMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.floatcard {
  position: relative;
  width: clamp(170px, 22vw, 260px);
  flex: 0 0 auto;
  animation: floatBob var(--float-dur, 3s) ease-in-out var(--float-delay, 0s) infinite;
}
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.floatcard__media {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
}
.floatcard__label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  .floattrack { animation: none; }
  .floatcard { animation: none; }
}

/* ---------- Galeria flutuante (novo conceito) ---------- */
.gallery-float__stage {
  overflow: hidden;
  padding: 12px 0 20px;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.gfloat__stage {
  overflow: hidden;
  padding: 12px 0 20px;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.gfloat__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: gfloatMarquee 28s linear infinite;
}
.gfloat__stage:hover .gfloat__track { animation-play-state: paused; }
@keyframes gfloatMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.gfloat__card {
  width: clamp(220px, 26vw, 320px);
  flex: 0 0 auto;
  animation: gfloatBob var(--dur, 3s) ease-in-out var(--delay, 0s) infinite;
  transition: transform .4s var(--ease);
}
.gfloat__card:hover { transform: translateY(-10px) scale(1.03); }
.gfloat__media {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(10, 10, 10, 0.10), 0 0 0 1px rgba(10, 10, 10, 0.06);
  background-size: cover;
  background-position: center;
}
.gfloat__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.45) 0%, transparent 55%);
  pointer-events: none;
}
@keyframes gfloatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.gfloat__label {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
}
.gallery-float {
  position: relative;
  height: 180vh;
  overflow: clip;
}
.gallery-float > .container {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
}
@media (prefers-reduced-motion: reduce) {
  .gfloat__track { animation: none; }
  .gfloat__card { animation: none; }
}

/* ---------- Galeria dark + scroll ---------- */
.gallery-scroll {
  position: relative;
  height: 260vh;
  background: var(--black);
  color: var(--white);
  overflow: clip;
}
.gallery-scroll__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 80% at 50% 10%, rgba(224, 27, 36, 0.12), transparent 60%);
}
.gallery-scroll__head {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 30;
  width: min(92vw, 620px);
  text-align: center;
  transform: translate(-50%, -50%) scale(0.86);
  transform-origin: center;
  opacity: 0;
  will-change: transform, opacity;
  pointer-events: none;
}
.gallery-scroll__title {
  color: var(--white);
  margin: 14px 0 10px;
  font-size: clamp(34px, 6vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.gallery-scroll__caption { color: rgba(255, 255, 255, 0.72); }
.gallery-scroll__rocket {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 25;
  transform: translate(-50%, -50%);
  will-change: transform;
  filter: drop-shadow(0 0 24px rgba(255, 47, 60, 0.35));
}
.gallery-scroll__rocket svg { transform: rotate(180deg); }
.gallery-scroll__wash {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  background: linear-gradient(to bottom, rgba(224, 27, 36, 0.02), rgba(224, 27, 36, 0.24));
  pointer-events: none;
  will-change: height, opacity;
}
.gallery-scroll__carousel {
  position: absolute;
  bottom: 7vh;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
  z-index: 10;
  padding: 0 0 8px;
}
.gallery-scroll .floatcard__label { color: rgba(255, 255, 255, 0.78); }
.gallery-scroll__hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  white-space: nowrap;
  z-index: 25;
}
.gallery-scroll.is-reduced .gallery-scroll__stage {
  position: static;
  height: auto;
  padding: 64px 0;
}
.gallery-scroll.is-reduced .gallery-scroll__head {
  position: static;
  transform: none;
  opacity: 1;
  margin: 0 auto 28px;
}
.gallery-scroll.is-reduced .gallery-scroll__rocket { display: none; }
.gallery-scroll.is-reduced .gallery-scroll__carousel {
  position: static;
  opacity: 1;
  transform: none;
}
.gallery-scroll.is-reduced .gallery-scroll__hint {
  position: static;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-scroll { height: auto; }
  .gallery-scroll__stage { position: static; height: auto; }
  .gallery-scroll__rocket { display: none; }
}

/* ---------- Cases (estilo W2) ---------- */
.cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 860px) {
  .cases { grid-template-columns: 1.4fr 1fr; }
}
.cases__side {
  display: grid;
  gap: 20px;
}
.case {
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.case:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: 0 26px 50px -28px rgba(10, 10, 10, 0.4);
}
.case__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}
.case--featured .case__media {
  aspect-ratio: 16 / 9;
}
.case__body {
  padding: 22px 24px 26px;
  display: grid;
  gap: 8px;
  flex: 1;
}
.case__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-text);
}
.case__metric {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.case__metric small {
  display: block;
  margin-top: 4px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.case__title {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.case--featured .case__title { font-size: 1.5rem; }
.case__desc {
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--muted);
  margin: 0;
}
.case--small .case__body { padding: 16px 18px 20px; gap: 6px; }
.case--small .case__metric { font-size: 20px; }
.case--small .case__title { font-size: 1.05rem; }
.case .link-arrow { margin-top: 6px; font-size: 0.88rem; }

/* ---------- Roles (MATE pile style) ---------- */
.roles-head {
  max-width: 760px;
  margin-bottom: 32px;
}
.pile {
  position: relative;
  height: clamp(340px, 40vw, 520px);
  margin-top: clamp(32px, 6vh, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.chips {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chip {
  --row-h: clamp(64px, 7.6vw, 108px);
  position: absolute;
  left: calc(var(--x) * 1%);
  bottom: calc(var(--y) * var(--row-h) * 0.92);
  padding: 0.32em 0.8em 0.4em;
  border-radius: 999px;
  border: 1.5px solid var(--white);
  background: var(--black);
  color: #fff;
  font-size: clamp(20px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  transform: rotate(var(--r));
  transform-origin: 50% 100%;
}
.boss {
  position: absolute;
  left: 34%;
  bottom: calc(1.8 * clamp(64px, 7.6vw, 108px));
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  padding: 0.28em 0.8em 0.36em;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: clamp(32px, 5vw, 84px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
  transform: rotate(-3deg);
  box-shadow: 0 30px 60px -24px rgba(224, 27, 36, 0.6);
}
.plus {
  font-weight: 300;
  opacity: 0.7;
  margin-right: 0.1em;
}
.roles-note {
  max-width: 34ch;
  margin-top: clamp(40px, 7vh, 80px);
  margin-left: auto;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
}

/* dedicated scroll-drop effect */
.js-enabled .roles-section .pile .chip {
  opacity: 0;
  transform: translateY(-490px) rotate(calc(var(--r) + 25deg));
  transition: transform 1.0s var(--ease), opacity 0.5s var(--ease);
}
.js-enabled .roles-section .pile.is-in .chip {
  opacity: 1;
  transform: rotate(var(--r));
}
.js-enabled .roles-section .boss {
  opacity: 0;
  transform: translateY(-630px) rotate(-20deg);
  transition: transform 1.0s 0.1s var(--ease), opacity 0.5s 0.1s var(--ease);
}
.js-enabled .roles-section .boss.is-in {
  opacity: 1;
  transform: rotate(-3deg);
}
.js-enabled .roles-section .roles-note {
  opacity: 0;
  transform: translateY(30px);
  transition: transform 1.0s 0.2s var(--ease), opacity 0.5s 0.2s var(--ease);
}
.js-enabled .roles-section .roles-note.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-enabled .roles-section .pile .chip,
  .js-enabled .roles-section .boss,
  .js-enabled .roles-section .roles-note {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Services bento (MATE style) ---------- */
.bento-section {
  position: relative;
}
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 320px 260px;
  gap: 12px;
}
@media (max-width: 980px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .cell--tall { grid-row: span 1; }
  .cell--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .cell--wide { grid-column: span 1; }
}
.cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 24px;
  border-radius: 14px;
  background: #1a1a1a;
  color: #f0eade;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background-color 0.4s var(--ease);
}
.cell:hover {
  transform: translateY(-4px);
  background: #202020;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.6);
}
.cell--tall { grid-row: span 2; }
.cell--wide { grid-column: span 2; }
.cell__media {
  width: 100%;
  border-radius: 10px;
  background-color: #0a0a0a;
}
.cell__arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0eade;
  color: #0c0c0c;
  z-index: 2;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease);
}
.cell:hover .cell__arrow {
  transform: translate(4px, -4px);
  background: var(--red);
  color: #fff;
}
.cell__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.cell__title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #f0eade;
  margin: 0;
}
.cell__text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(240, 234, 220, 0.72);
  max-width: 34ch;
}
.cell__tags {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 234, 220, 0.55);
  margin-top: 4px;
}
.bento-title {
  font-size: clamp(30px, 5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}
.bento-title .em-light {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
}

/* site frame for web cell */
.cell__site {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
}
.siteframe {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.siteframe__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
}
.siteframe__dots {
  display: flex;
  gap: 6px;
}
.siteframe__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}
.siteframe__url {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
}
.siteframe__screen {
  position: relative;
  height: 100%;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.siteframe__hero {
  height: 44%;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red) 0%, #3d0a0e 100%);
}
.siteframe__lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.siteframe__lines i {
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
}
.siteframe__lines i:nth-child(1) { width: 78%; }
.siteframe__lines i:nth-child(2) { width: 54%; }
.siteframe__lines i:nth-child(3) { width: 66%; }

.bento-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.bento-keywords span::after {
  content: "·";
  margin-left: 18px;
  color: rgba(255, 255, 255, 0.25);
}
.bento-keywords span:last-child::after { content: ""; }

/* dedicated reveal for bento */
.js-enabled .bento .cell {
  opacity: 0;
  transform: translateY(36px) scale(0.96);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js-enabled .bento .cell.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-enabled .bento .cell { opacity: 1; transform: none; }
}

/* ---------- Cases: dark + smoke ---------- */

/* ---------- Cases: dark + smoke ---------- */
.cases-section {
  position: relative;
  overflow: hidden;
}
.cases-smoke {
  position: absolute;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(45% 35% at 20% 35%, rgba(224, 27, 36, 0.22), transparent 70%),
    radial-gradient(50% 40% at 82% 62%, rgba(255, 255, 255, 0.07), transparent 72%),
    radial-gradient(60% 50% at 50% 50%, rgba(224, 27, 36, 0.10), transparent 75%);
  filter: blur(70px);
  opacity: 0.85;
  animation: casesSmoke 22s ease-in-out infinite alternate;
}
@keyframes casesSmoke {
  from { transform: translate(-3%, -2%) scale(1); }
  to { transform: translate(3%, 2%) scale(1.06); }
}
.cases-section .case {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.cases-section .case:hover {
  border-color: transparent;
  box-shadow: 0 30px 60px -24px rgba(224, 27, 36, 0.35);
}
.cases-section .case__title,
.cases-section .case__metric { color: #fff; }
.cases-section .case__desc,
.cases-section .case__metric small { color: rgba(255, 255, 255, 0.62); }
.cases-section .case__tag { color: var(--red-bright); }
.cases-section .case .link-arrow { color: rgba(255, 255, 255, 0.8); }
.cases-section .case .link-arrow:hover { color: var(--red-bright); }

/* dedicated appear effect */
.js-enabled .cases .case {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js-enabled .cases .case.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .cases-smoke { animation: none; }
  .js-enabled .cases .case { opacity: 1; transform: none; }
}
@media (max-width: 860px) {
  .case--featured .case__media { aspect-ratio: 16 / 9; }
}
