/* =========================================================
   TOKENS & TIPOGRAFIA
   ========================================================= */
:root {
  --bg: #000000;
  --bg-2: #08080a;
  --bg-3: #121316;
  --fg: #f0f4f8;
  --fg-80: rgba(240, 244, 248, 0.82);
  --fg-60: rgba(240, 244, 248, 0.6);
  --fg-15: rgba(240, 244, 248, 0.14);
  --line: #1c1d21;
  --accent: #ffffff;
  --pad: clamp(20px, 3.2vw, 50px);
  --radius: 6px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Escala tipográfica fluida calibrada (sem colisão de entrelinhas) */
  --fs-hero: clamp(48px, 7.2vw, 142px);
  --fs-mega: clamp(40px, 6.8vw, 140px);
  --fs-h2: clamp(30px, 3.6vw, 72px);
  --fs-h3: clamp(22px, 1.9vw, 38px);
  --fs-num: clamp(44px, 3.6vw, 70px);
  --fs-body: clamp(16px, 1vw, 19px);
  --fs-lead: clamp(16px, 1.15vw, 21px);
  --fs-label: clamp(11px, 0.72vw, 13px);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

img, video {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--fg);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

html.js.is-loading {
  overflow: hidden;
}

.skip {
  position: fixed;
  left: -9999px;
  top: 12px;
  z-index: 9999;
  background: var(--fg);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
}
.skip:focus {
  left: 12px;
}

.label {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-80);
}

/* Split text & animações de máscara */
.split-word {
  display: inline-block;
  white-space: nowrap;
}
.split-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.split-char {
  display: inline-block;
  will-change: transform;
}

/* Link com sublinhado animado */
.link-line {
  position: relative;
  display: inline-block;
}
.link-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.link-line:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-logo {
  font-weight: 700;
  letter-spacing: 0.38em;
  font-size: clamp(18px, 1.6vw, 28px);
  line-height: 1.05;
  text-align: left;
}
.loader-count {
  position: absolute;
  right: var(--pad);
  bottom: calc(var(--pad) + 6px);
  font-size: clamp(48px, 8vw, 140px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}
.loader-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
}
html:not(.js) .loader {
  display: none;
}

/* =========================================================
   CURSOR QUADRADINHO (EXATAMENTE COMO NO SITE MODELO)
   ========================================================= */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.25s ease;
  mix-blend-mode: difference;
}
.cursor.is-active {
  opacity: 1;
}
.cursor-box {
  width: 24px;
  height: 24px;
  background-color: var(--fg); /* #f0f4f8 / rgb(207, 197, 171) contra-cor */
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease),
              height 0.25s var(--ease),
              border-radius 0.25s var(--ease),
              transform 0.16s var(--ease),
              background-color 0.2s ease;
}
.cursor-label {
  display: none;
  color: var(--bg); /* #000000 */
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 16px;
  user-select: none;
}
/* Estado de clique (mousedown) */
.cursor.is-down .cursor-box {
  transform: translate(-50%, -50%) scale(0.85);
}
/* Estado de hover em botões e links */
.cursor.is-hover .cursor-box {
  transform: translate(-50%, -50%) scale(1.3);
}
/* Estado de hover nos cards de cases (modo normal para legibilidade da tag) */
.cursor.is-view {
  mix-blend-mode: normal;
}
.cursor.is-view .cursor-box {
  width: auto;
  height: 38px;
  border-radius: 4px;
  background-color: var(--fg);
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.cursor.is-view .cursor-label {
  display: block;
}

/* Oculta o cursor padrão do SO no desktop quando o quadradinho estiver ativo */
@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor body,
  html.has-custom-cursor a,
  html.has-custom-cursor button,
  html.has-custom-cursor select,
  html.has-custom-cursor [role="button"],
  html.has-custom-cursor input[type="submit"],
  html.has-custom-cursor input[type="button"],
  html.has-custom-cursor .btn,
  html.has-custom-cursor .copy,
  html.has-custom-cursor .badge,
  html.has-custom-cursor .dock a,
  html.has-custom-cursor .project-media,
  html.has-custom-cursor .magnetic {
    cursor: none !important;
  }
}

/* Em dispositivos touch / mobile, o cursor customizado fica desativado */
@media (hover: none), (pointer: coarse), (max-width: 809.98px) {
  .cursor {
    display: none !important;
  }
}

/* Grão de filme sutil */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 800;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -4%); }
  60% { transform: translate(-2%, 5%); }
  80% { transform: translate(5%, -2%); }
  100% { transform: translate(0, 0); }
}

/* =========================================================
   DOCK FLUTUANTE
   ========================================================= */
.dock {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 6px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 8px;
  transform: translate(-50%, 140%);
}
.dock a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--fg-80);
  padding: 14px 16px;
  border-radius: 5px;
  transition: color 0.3s, background-color 0.3s;
}
.dock a:hover, .dock a.is-active {
  color: var(--fg);
  background: var(--bg-3);
}
.dock .dock-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
  padding: 8px 20px 8px 8px;
  background: var(--fg);
  color: var(--bg);
}
.dock .dock-cta:hover {
  background: #ffffff;
  color: var(--bg);
}
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  overflow: hidden;
  flex: none;
  background: linear-gradient(140deg, #2f3238, #141518);
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   MÍDIAS & PLACEHOLDERS
   ========================================================= */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--c1, #25282e), var(--c2, #0e1012));
}
.media img, .media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-inner {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.ph-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.mock {
  position: absolute;
  inset: 12% 9% 0;
  border-radius: 6px 6px 0 0;
  background: rgba(10, 10, 10, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  padding: 5% 6%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto 1fr 1fr;
  gap: 6%;
}
.mock i {
  display: block;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}
.mock i:nth-child(1) {
  grid-column: 1 / -1;
  height: 10px;
  width: 40%;
  background: rgba(255, 255, 255, 0.25);
}
.mock i:nth-child(2) {
  grid-row: 2 / 4;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
}
.mock.light {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(0, 0, 0, 0.05);
}
.mock.light i {
  background: rgba(0, 0, 0, 0.08);
}
.mock.light i:nth-child(1) {
  background: rgba(0, 0, 0, 0.35);
}

/* =========================================================
   HERO (Layout equilibrado sem colisões)
   ========================================================= */
/* =========================================================
   HERO (Layout centralizado e equilibrado fiel ao modelo)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px var(--pad) 50px;
}
.hero-media {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  z-index: 0;
  pointer-events: none;
}
.hero-video-wrap, .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Grayscale cinematográfico e alto contraste preservando nitidez 1080p */
  filter: grayscale(1) contrast(1.15) brightness(0.85);
  transform: translateZ(0);
}
.hero-video-desktop {
  display: block;
}
.hero-video-mobile {
  display: none;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(1) contrast(1.18) brightness(0.92);
  transform: translateZ(0);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 35%, transparent 40%, rgba(0, 0, 0, 0.45) 80%, var(--bg) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 30%, rgba(0, 0, 0, 0.7) 85%, var(--bg) 100%);
  pointer-events: none;
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px var(--pad);
}
.logo {
  font-weight: 700;
  font-size: clamp(15px, 1.15vw, 22px);
  letter-spacing: 0.36em;
  line-height: 1.05;
  color: #fff;
}
.logo-dot {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  background: currentColor;
  border-radius: 1px;
  margin: 0 0.32em 0 0.02em;
  vertical-align: -0.02em;
}
.topbar-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  background: rgba(20, 19, 16, 0.75);
  border: 1px solid rgba(240, 244, 248, 0.22);
  border-radius: 100px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--fg);
  font-size: clamp(12.5px, 0.85vw, 14px);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  margin-top: 6px;
  text-decoration: none;
}
.topbar-wa-btn:hover {
  background: rgba(26, 25, 20, 0.95);
  border-color: rgba(37, 211, 102, 0.55);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.25);
  color: #fff;
  transform: translateY(-2px);
}
.topbar-wa-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  flex: none;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
}
.topbar-wa-badge svg {
  width: 14px;
  height: 14px;
  display: block;
}
.topbar-wa-arrow {
  color: var(--fg-60);
  font-size: 13px;
  transition: transform 0.3s ease, color 0.3s ease;
}
.topbar-wa-btn:hover .topbar-wa-arrow {
  transform: translateX(3px);
  color: var(--accent);
}

/* Bloco Hero centralizado e majestoso no Desktop */
.hero-inner {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: clamp(1000px, 86vw, 1440px);
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero-title {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.8vw, 16px);
  font-size: clamp(52px, 7.8vw, 138px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--fg);
  text-align: left;
}
.hl {
  display: flex;
  align-items: baseline;
  text-align: left;
  padding: 0;
  margin: 0;
}
.hl1 {
  gap: 0;
}
.hl2 {
  gap: 0.16em;
}
.hl3 {
  gap: 0.22em;
  white-space: nowrap;
}
.hw {
  display: inline-block;
}

.hero-lead-desktop {
  margin-top: clamp(24px, 2.4vw, 38px);
  font-size: clamp(17px, 1.25vw, 22px);
  line-height: 1.55;
  color: var(--fg-80);
  max-width: 32em;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-foot {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 28px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: clamp(1000px, 86vw, 1440px);
  margin: 0 auto;
}
.hero-foot-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px;
  border-radius: 6px;
  background: rgba(12, 13, 15, 0.78);
  border: 1px solid rgba(240, 244, 248, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fg-80);
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.hero-foot-badge b {
  color: var(--accent);
  font-weight: 700;
  font-size: 14.5px;
}
.foot-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  flex: none;
}
.hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-80);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.hero-scroll-btn:hover {
  color: var(--fg);
}
.hero-scroll-btn .arrow {
  animation: bob 2s ease-in-out infinite;
  font-size: 14px;
}

/* =========================================================
   TEXT-FILL (Scroll animado com respiração)
   ========================================================= */
.fill-text .fw {
  color: var(--fg);
  opacity: 0.15;
  transition: opacity 0.2s ease-out;
}

/* =========================================================
   O QUE EU FAÇO (IDÊNTICO AO MODELO ORIGINAL)
   ========================================================= */
.what {
  position: relative;
  z-index: 10;
  background: var(--bg);
  padding: clamp(140px, 16vw, 260px) var(--pad);
  overflow: hidden;
}
.what-inner {
  display: grid;
  grid-template-columns: clamp(140px, 18vw, 260px) 1fr;
  gap: clamp(24px, 4vw, 80px);
  align-items: start;
  max-width: 1540px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}
.what-label {
  padding-top: 0.4em;
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-60);
}
.what-text h2 {
  font-size: clamp(34px, 4.8vw, 72px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 1040px;
}
.what-sub {
  margin-top: clamp(28px, 3.2vw, 52px);
  font-size: clamp(16px, 1.25vw, 22px);
  color: var(--fg-60);
  letter-spacing: -0.01em;
  font-weight: 400;
}

/* =========================================================
   CARDS FLUTUANTES EM PARALLAX NA SEÇÃO 2
   ========================================================= */
.what-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.wcard {
  position: absolute;
  background: rgba(12, 13, 15, 0.82);
  border: 1px solid rgba(240, 244, 248, 0.16);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 25px rgba(240, 244, 248, 0.05);
  will-change: transform;
  color: var(--fg);
  pointer-events: none;
}

/* Card 1: Métricas de Crescimento SaaS (Esquerda) */
.wcard-1 {
  left: clamp(15px, 3vw, 70px);
  top: 52%;
  width: clamp(230px, 21vw, 310px);
  padding: 18px 20px;
}
.wcard-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.wcard-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc97;
  box-shadow: 0 0 8px #3ddc97;
}
.wcard-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-80);
}
.wcard-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: #3ddc97;
  background: rgba(61, 220, 151, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
}
.wcard-graph {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 55px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(240, 244, 248, 0.1);
  margin-bottom: 12px;
}
.wcard-bar {
  flex: 1;
  height: var(--h, 50%);
  background: rgba(240, 244, 248, 0.22);
  border-radius: 3px;
}
.wcard-bar.active {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(252, 196, 56, 0.4);
}
.wcard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--fg-60);
}
.wcard-footer b {
  color: var(--fg);
  font-size: 12px;
}

/* Card 2: UI Design System & Componentes (Direita superior) */
.wcard-2 {
  right: clamp(15px, 4vw, 90px);
  top: 22%;
  width: clamp(220px, 19vw, 280px);
  padding: 18px;
}
.wcard-badge {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg);
}
.wcard-pill {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  color: var(--fg-60);
  border: 1px solid rgba(240, 244, 248, 0.15);
  padding: 3px 8px;
  border-radius: 100px;
}
.wcard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 12px;
}
.wcard-avatar-group {
  display: flex;
}
.wcard-av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--bg-2);
  margin-left: -6px;
}
.wcard-av:first-child { margin-left: 0; }
.wcard-chip {
  font-size: 11px;
  color: var(--fg-80);
  background: rgba(240, 244, 248, 0.08);
  padding: 4px 8px;
  border-radius: 4px;
}
.wcard-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(240, 244, 248, 0.1);
}
.wcard-line-sm {
  width: 50%;
  height: 6px;
  border-radius: 3px;
  background: rgba(240, 244, 248, 0.2);
}
.wcard-switch {
  width: 32px;
  height: 18px;
  border-radius: 100px;
  background: #ffffff;
  position: relative;
  display: flex;
  align-items: center;
  padding: 2px;
}
.wcard-switch i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #000000;
  margin-left: auto;
}

/* Card 3: Performance Máxima & SEO (Direita inferior) */
.wcard-3 {
  right: clamp(25px, 6vw, 130px);
  top: 72%;
  width: clamp(220px, 20vw, 280px);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.wcard-metric-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #3ddc97;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 0 14px rgba(61, 220, 151, 0.35);
}
.wcard-score {
  font-size: 13.5px;
  font-weight: 800;
  color: #3ddc97;
}
.wcard-metric-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wcard-metric-info b {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--fg);
}
.wcard-metric-info span {
  font-size: 11px;
  color: var(--fg-60);
}

@media (max-width: 767px) {
  .what-cards {
    display: none;
  }
}

/* =========================================================
   PROJETOS (Sticky Stacking limpo)
   ========================================================= */
.projects {
  position: relative;
  z-index: 4;
  background: var(--bg);
  padding-top: clamp(80px, 10vw, 180px);
}
.projects-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding: 0 var(--pad) clamp(60px, 8vw, 160px);
}
.mega {
  font-size: var(--fs-mega);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.projects-head .label {
  white-space: nowrap;
  padding-bottom: 0.5em;
}

.project-list {
  position: relative;
}
.project {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  padding: clamp(30px, 4vw, 70px) var(--pad);
  border-top: 1px solid var(--line);
}

.project-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 640px) 1fr;
  gap: clamp(40px, 5vw, 90px);
  align-items: center;
  padding-left: 2%;
  will-change: transform;
}

/* CARD DE VÍDEO DO PROJETO (FLUIDO, ELEGANTE E LEVE) */
.project-media {
  display: block;
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 10;
  text-decoration: none;
}
.project-media .media-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.75);
  transition: transform 0.6s var(--ease), border-color 0.4s ease, box-shadow 0.6s var(--ease);
}
.project-media:hover .media-inner {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 28px 70px -12px rgba(0, 0, 0, 0.9);
}

.project-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 2.8vw, 40px);
}

.project-head-block {
  display: flex;
  flex-direction: column;
}

.project-meta-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(12px, 1.2vw, 18px);
}

.project-num {
  font-size: clamp(28px, 2.4vw, 40px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.project-category {
  font-size: clamp(11.5px, 0.8vw, 13px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.project-title {
  font-size: clamp(22px, 1.95vw, 34px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: clamp(12px, 1.2vw, 18px);
}

.project-desc {
  font-size: clamp(14.5px, 1.05vw, 17px);
  line-height: 1.6;
  color: var(--fg-80);
  font-weight: 400;
  max-width: 32em;
}

.project-bottom {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: clamp(16px, 1.6vw, 24px);
  border-top: 1px solid rgba(240, 244, 248, 0.12);
}

.project-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.proj-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg-80);
  background: rgba(240, 244, 248, 0.06);
  border: 1px solid rgba(240, 244, 248, 0.14);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.proj-pill:hover {
  background: rgba(240, 244, 248, 0.14);
  color: var(--fg);
  border-color: rgba(240, 244, 248, 0.3);
}

.next {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: clamp(13px, 0.85vw, 15px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-60);
  transition: color 0.3s ease;
  width: fit-content;
  margin-top: 4px;
}
.next span {
  display: inline-block;
  transition: transform 0.4s var(--ease);
}
.next:hover {
  color: var(--accent);
}
.next:hover span {
  transform: translateY(4px);
}

/* =========================================================
   DEPOIMENTOS (Sem frases se misturando)
   ========================================================= */
.testi {
  position: relative;
  z-index: 5;
  background: var(--bg);
}
.testi-pin {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--pad);
}
.testi-label {
  position: absolute;
  top: clamp(60px, 8vh, 120px);
  z-index: 12;
}

/* Frase de fundo: entra primeiro com destaque total */
.testi-title {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: clamp(48px, 9vw, 180px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-align: center;
  color: var(--fg);
  opacity: 1; /* Começa 100% nítida e visível */
  pointer-events: none;
  user-select: none;
  z-index: 2;
  will-change: opacity, transform;
}
.testi-title .tline {
  white-space: nowrap;
}

.testi-stack {
  position: relative;
  z-index: 10;
  width: min(550px, 88vw);
  height: min(460px, 68vh);
}
.tcard {
  position: absolute;
  inset: 0;
  padding: clamp(26px, 2.4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(240, 244, 248, 0.14);
  border-radius: var(--radius);
  background: #101214; /* Totalmente opaco para jamais vazar texto por trás */
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.75);
  will-change: transform, opacity;
}
.tcard-num {
  font-size: var(--fs-num);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}
.tcard p {
  font-size: clamp(17px, 1.3vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.tcard footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.tcard-avatar {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  flex: none;
  background: linear-gradient(140deg, #2a2c30, #101214);
  border: 1px solid rgba(240, 244, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 19px;
  color: var(--accent);
}
.tcard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tcard strong {
  display: block;
  font-weight: 500;
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 1.25;
}
.tcard small {
  display: block;
  font-size: 14px;
  color: var(--fg-60);
  margin-top: 2px;
}

/* =========================================================
   SOBRE (Layout Arquitetural e Elegante com Foto Real)
   ========================================================= */
.about {
  position: relative;
  z-index: 4;
  background: var(--bg);
  padding: clamp(90px, 11vw, 200px) var(--pad) clamp(80px, 8vw, 160px);
}

.about-head {
  max-width: 1400px;
  margin: 0 auto clamp(60px, 7vw, 120px);
}
.about-label {
  margin-bottom: 24px;
}
.about-intro {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.035em;
  max-width: 18em;
}

/* GRID PRINCIPAL: FOTO + TRAJETÓRIA */
.about-main {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 460px) 1fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}

/* FOTO DO ALLAN SANTOS EM PROPORÇÃO 3:4 AJUSTADA */
.about-photo-wrap {
  position: sticky;
  top: 100px;
  width: 100%;
}
.about-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: #070809;
  border: 1px solid rgba(240, 244, 248, 0.16);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.85);
}
.about-portrait .media-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transform: translateZ(0);
  transition: transform 0.8s var(--ease);
}
.about-portrait:hover img {
  transform: scale(1.03);
}

.about-photo-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(12, 13, 15, 0.9);
  border: 1px solid rgba(240, 244, 248, 0.15);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-80);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* COLUNA DE CONTEÚDO ALINHADO */
.about-content {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4vw, 56px);
}

.about-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-tag {
  font-size: clamp(11.5px, 0.8vw, 13px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.about-lead {
  font-size: clamp(19px, 1.45vw, 26px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.about-text {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--fg-80);
  font-weight: 400;
}

/* MÉTRICAS EM NÚMEROS ELEGANTES */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid rgba(240, 244, 248, 0.12);
}
.astat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.astat-num {
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.astat-label {
  font-size: clamp(11.5px, 0.8vw, 13px);
  color: var(--fg-60);
  line-height: 1.35;
}

.divider {
  max-width: 1400px;
  margin: clamp(70px, 8vw, 140px) auto;
  border: 0;
  height: 1px;
  background: var(--line);
  transform-origin: left;
}

/* COMPETÊNCIAS / SKILLS */
.skills {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 90px);
}
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.skill-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-80);
  background: rgba(240, 244, 248, 0.06);
  border: 1px solid rgba(240, 244, 248, 0.14);
  border-radius: 100px;
  transition: all 0.3s ease;
}
.skill-chip:hover {
  background: rgba(240, 244, 248, 0.14);
  color: var(--fg);
  border-color: rgba(240, 244, 248, 0.3);
}
.skills-text p {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--fg-80);
  margin-bottom: 1.1em;
}
.skills-text .btn {
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 18px 26px;
  border-radius: 5px;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s;
  will-change: transform;
}
.btn-primary {
  background: var(--fg);
  color: var(--bg);
  padding: 12px 24px;
}
.btn-primary:hover {
  background: #ffffff;
}
.btn-ghost {
  border: 1px solid rgba(240, 244, 248, 0.25);
  color: var(--fg);
}
.btn-ghost:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn-wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  flex: none;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-wa-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}
.btn-primary:hover .btn-wa-icon {
  transform: scale(1.12);
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.7);
}

/* =========================================================
   CTA COM CANVAS DE PARTÍCULAS INTERATIVO (SEM MOLDURA)
   ========================================================= */
.cta {
  position: relative;
  z-index: 4;
  background:
    radial-gradient(ellipse 70% 60% at 76% 50%, rgba(255, 255, 255, 0.06) 0%, rgba(200, 200, 200, 0.02) 35%, transparent 75%),
    radial-gradient(ellipse 50% 45% at 20% 60%, rgba(240, 244, 248, 0.03) 0%, transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, #060708 35%, #030405 70%, var(--bg-2) 100%);
  padding: clamp(90px, 11vw, 200px) var(--pad);
  border-top: 1px solid rgba(240, 244, 248, 0.12);
  overflow: hidden;
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 480px);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.cta-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.cta-label {
  margin-bottom: 20px;
}
.cta-title {
  text-align: left;
  line-height: 1.05;
  margin-bottom: 24px;
}
.cta-lead {
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.6;
  color: var(--fg-80);
  max-width: 32em;
  margin-bottom: clamp(32px, 3.5vw, 44px);
}
.cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cta-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--fg-60);
}
.cta-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc97;
  box-shadow: 0 0 10px rgba(61, 220, 151, 0.6);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* PALCO DO CANVAS DE 15.000 PARTÍCULAS — FLUTUAÇÃO PURA SEM MOLDURA */
.cta-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.cta-visual::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0%, rgba(200, 200, 200, 0.03) 40%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  filter: blur(50px);
}
.particle-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3 / 4;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  cursor: crosshair;
  touch-action: none;
}
#cta-particles {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  z-index: 4;
  background: var(--bg-2);
  padding: clamp(60px, 6vw, 110px) var(--pad) 110px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: auto minmax(280px, 2.2fr) 1fr 1fr;
  gap: clamp(24px, 3.2vw, 56px);
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(56px, 4.5vw, 68px);
  height: clamp(56px, 4.5vw, 68px);
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, background 0.4s ease;
}
.footer-brand-logo:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: rgba(240, 244, 248, 0.35);
  background: rgba(240, 244, 248, 0.06);
}
.footer-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.footer-brand-desc {
  font-size: 12px;
  line-height: 1.4;
  color: var(--fg-60);
  max-width: 180px;
}
.footer-contact .label, .footer-col .label {
  margin-bottom: 22px;
}
.copy {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(20px, 2.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.35;
  text-align: left;
  transition: color 0.3s;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--fg);
}
.copy span {
  position: relative;
  transition: color 0.3s ease;
}
.copy:hover span {
  color: #fff;
}
.copy small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(252, 196, 56, 0.35);
  background: rgba(252, 196, 56, 0.06);
  border-radius: 4px;
  padding: 5px 9px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: 0.35s var(--ease);
}
.copy:hover small, .copy:focus-visible small {
  opacity: 1;
  transform: none;
  background: rgba(252, 196, 56, 0.14);
}
.copy:hover {
  color: #fff;
}
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(14px, 0.95vw, 16px);
  color: var(--fg-80);
}
.footer-col a {
  color: var(--fg-80);
  transition: color 0.3s ease, transform 0.3s ease;
}
.footer-col a:hover {
  color: #fff;
  transform: translateX(4px);
}
.footer-mega {
  margin-top: clamp(60px, 8vw, 140px);
  display: flex;
  flex-direction: column;
  font-size: clamp(32px, 6.4vw, 132px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fcc438;
}
.footer-mega > span {
  display: block;
  width: 100%;
}
.footer-mega > span:first-child {
  color: #fcc438;
  opacity: 0.86;
}
.footer-mega > span:last-child {
  color: #fcc438;
  opacity: 1;
}
.footer-mega .split-word {
  display: inline-block !important;
  white-space: nowrap !important;
}
.footer-mega .split-mask {
  display: inline-block !important;
  vertical-align: top !important;
  overflow: hidden !important;
}
.footer-mega .split-char {
  display: inline-block !important;
}
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(40px, 4vw, 70px);
  padding-top: 24px;
  border-top: 1px solid rgba(240, 244, 248, 0.12);
  font-size: 13.5px;
  color: var(--fg-60);
}
.footer-base a:hover {
  color: #fcc438;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  z-index: 600;
  transform: translate(-50%, 16px);
  background: var(--fg);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 18px;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s var(--ease);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Fallback sem JS */
html:not(.js) .dock {
  transform: translateX(-50%);
}
html:not(.js) .fill-text .fw {
  opacity: 1;
}

.mobile-only {
  display: none !important;
}
.hero-mobile-footer {
  display: none;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1024px) {
  .project-inner {
    grid-template-columns: 1fr 1fr;
    padding-left: 0;
  }
  .story {
    grid-template-columns: 1fr 1fr;
  }
  .story .label {
    grid-column: 1 / -1;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 767px) {
  :root {
    --fs-hero: clamp(28px, 7.8vw, 42px);
    --fs-mega: clamp(32px, 9vw, 46px);
    --fs-h2: clamp(24px, 7vw, 38px);
    --pad: 20px;
  }

  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: flex !important;
  }

  /* TOPBAR MOBILE */
  .topbar {
    padding: 16px var(--pad);
    align-items: center;
  }
  .topbar-wa-btn {
    margin-top: 0;
    padding: 6px 12px 6px 8px;
    font-size: 11.5px;
    gap: 7px;
  }
  .topbar-wa-badge {
    width: 20px;
    height: 20px;
  }
  .topbar-wa-badge svg {
    width: 12px;
    height: 12px;
  }
  .topbar-wa-arrow {
    display: none;
  }
  .logo {
    font-size: 15px;
    letter-spacing: 0.32em;
  }

  /* HERO MOBILE */
  .hero-video-desktop {
    display: none !important;
  }
  .hero-video-mobile {
    display: block !important;
  }
  .hero {
    min-height: 100svh;
    height: auto;
    padding: 70px var(--pad) 100px;
    justify-content: flex-end;
  }

  .hero-photo {
    inset: 0;
  }
  .hero-photo img {
    object-position: 50% 6%;
    filter: grayscale(1) contrast(1.18) brightness(0.92);
  }
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 20%, rgba(0, 0, 0, 0.7) 55%, var(--bg) 95%);
  }

  .hero-inner {
    padding: 0;
    margin: 0;
    width: 100%;
    z-index: 5;
  }

  .hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.08em;
    font-size: var(--fs-hero);
    line-height: 1.05;
    letter-spacing: -0.035em;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .hl {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left;
    justify-content: flex-start;
  }
  .hl1 {
    padding: 0 !important;
    gap: 0;
  }
  .hl2 {
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: flex-start;
  }
  .hl2-word {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: baseline;
    gap: 0.14em;
    text-align: left;
  }
  .hl3 {
    padding: 0 !important;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.24em;
    justify-content: flex-start;
    white-space: nowrap;
  }
  .hw {
    display: inline-block;
    text-align: left;
    margin: 0;
    padding: 0;
  }

  /* BLOCO MOBILE: Apresentação + 300 Projetos + Seta ABAIXO do título */
  .hero-mobile-footer {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
    margin-top: 18px;
    width: 100%;
  }

  .hero-mobile-footer .hero-lead {
    font-size: 15px;
    line-height: 1.5;
    color: var(--fg-80);
    max-width: 100%;
    margin: 0;
  }

  .hero-mobile-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    padding-top: 4px;
  }

  .mobile-badge {
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    height: auto !important;
    min-width: auto;
    min-height: auto;
    padding: 8px 14px;
    border: 1px solid rgba(240, 244, 248, 0.18);
    border-radius: 4px;
    background: rgba(12, 13, 15, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .mobile-badge > span {
    font-size: 11.5px;
    line-height: 1.25;
    font-weight: 600;
    color: var(--fg-80);
    text-transform: uppercase;
  }
  .mobile-badge b {
    color: var(--accent);
    font-size: 13px;
    margin-right: 2px;
  }

  .mobile-scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fg-60);
    transition: color 0.2s;
  }
  .mobile-scroll-hint:hover {
    color: var(--fg);
  }
  .mobile-scroll-hint .arrow {
    animation: bob 2s ease-in-out infinite;
    font-size: 14px;
  }

  .hero-foot {
    display: none;
  }

  /* DOCK MOBILE */
  .dock {
    width: calc(100% - 24px);
    bottom: 14px;
    padding: 5px;
    justify-content: space-between;
  }
  .dock a {
    padding: 10px 10px;
    font-size: 12px;
  }
  .dock .dock-cta {
    margin-left: auto;
    padding: 7px 14px 7px 7px;
    font-size: 12px;
  }
  .dock .hide-xs {
    display: none;
  }
  .what-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .projects-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .project {
    position: relative;
    min-height: auto;
    padding: 50px var(--pad);
  }
  .project-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-left: 0;
  }
  .project-media {
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }
  .project-info {
    gap: 20px;
  }
  .project-title {
    font-size: 21px;
    line-height: 1.25;
    margin-bottom: 10px;
  }
  .project-desc {
    font-size: 14px;
    line-height: 1.55;
  }
  .project-bottom {
    padding-top: 16px;
    gap: 16px;
  }
  .testi-pin {
    height: auto;
    padding: 100px var(--pad);
  }
  .testi-label {
    position: static;
    margin-bottom: 24px;
  }
  .testi-title {
    position: static;
    opacity: 0.18;
    margin-bottom: 30px;
    font-size: 13vw;
  }
  .testi-stack {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .tcard {
    position: relative;
    inset: auto;
    opacity: 1 !important;
    transform: none !important;
  }
  .about-head {
    margin-bottom: 36px;
  }
  .about-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-photo-wrap {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }
  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .skills {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cta-info {
    align-items: center;
    text-align: center;
  }
  .cta-title {
    text-align: center;
  }
  .cta-buttons {
    justify-content: center;
  }
  .cta-meta {
    justify-content: center;
  }
  .particle-stage {
    max-width: 320px;
    margin: 0 auto;
  }
  .dock {
    width: calc(100% - 20px);
    justify-content: space-between;
  }
  .dock a {
    padding: 12px 10px;
    font-size: 12px;
  }
  .dock .dock-cta {
    margin-left: auto;
    padding: 8px 14px 8px 8px;
  }
  .footer {
    padding-bottom: 120px;
    text-align: center;
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 16px;
    align-items: start;
  }
  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    margin-bottom: 6px;
  }
  /* Logo aumentada e de alto impacto no mobile */
  .footer-brand-logo {
    width: clamp(84px, 24vw, 104px);
    height: clamp(84px, 24vw, 104px);
    padding: 12px;
    border-radius: 20px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(240, 244, 248, 0.12);
  }
  .footer-brand-name {
    font-size: 18px;
    font-weight: 700;
  }
  .footer-brand-desc {
    max-width: 260px;
    margin: 0 auto;
    text-align: center;
    font-size: 13px;
  }
  .footer-contact {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    width: 100%;
  }
  .footer-contact .label {
    text-align: center;
    margin-bottom: 6px;
    width: 100%;
  }
  /* Alinhamento central absoluto: remove o offset fantasma do <small> */
  .footer-contact .copy {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: clamp(17px, 4.8vw, 24px);
    width: 100%;
    margin: 0 auto;
    gap: 0;
  }
  .footer-contact .copy span {
    text-align: center;
    display: block;
    margin: 0 auto;
  }
  .footer-contact .copy small {
    display: none;
  }
  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .footer-col .label {
    text-align: center;
    margin-bottom: 14px;
    width: 100%;
  }
  .footer-col a {
    text-align: center;
    display: inline-block;
  }
  .footer-mega {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 48px;
    width: 100%;
    font-size: clamp(20px, 5.8vw, 36px);
    line-height: 1.18;
    letter-spacing: -0.03em;
  }
  .footer-mega > span {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    white-space: normal !important;
  }
  .footer-mega .split-word {
    display: inline-block !important;
    white-space: nowrap !important;
  }
  .footer-mega .split-mask {
    display: inline-block !important;
    vertical-align: top !important;
    overflow: hidden !important;
  }
  .footer-mega .split-char {
    display: inline-block !important;
  }
  .footer-base {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 14px;
    margin-top: 40px;
    width: 100%;
  }
  .footer-base span,
  .footer-base a {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .grain {
    display: none;
  }
  .fill-text .fw {
    opacity: 1 !important;
  }
}
