:root {
  --black: #0c0c0c;
  --musgo: #282c20;
  --white: #fff;
  --beige: #b9bbad;
  --default: #d2ff00;
  --ease-out-expo: cubic-bezier(0.23, 0.98, 0.35, 0.99);
  --hero-reveal-top: 90px;
  --hero-reveal-left: 50%;
  --hero-reveal-width: 345px;
  --hero-reveal-height: 345px;
  --scroll: 0;
  --surface: #101210;
  --surface-2: #161816;
  --border-soft: #242824;
}

::selection {
  background: var(--default);
  color: #000;
}

@font-face {
  font-family: Brier;
  src: url("./assets/fonts/brier-bold.otf");
}

@font-face {
  font-family: BungeeCustom;
  src: url("./assets/fonts/bungee-regular.ttf");
}

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

/* overflow-x só no html: no body, evita segundo eixo de scroll (regra CSS overflow). */
html {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--black);
  color: var(--white);
  font-family: "Mona Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

#three-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  transition: opacity 0.32s ease;
}

body.three-off-projects #three-bg {
  opacity: 0;
}

main {
  position: relative;
  z-index: 2;
}

/* —— Panel stack: painéis empilham ao rolar em todas as telas —— */
body.panel-stack-active #main-content {
  isolation: isolate;
}

body.panel-stack-active #main-content > section:nth-child(-n + 3) {
  position: sticky;
  top: 0;
  /* Cada painel ocupa pelo menos o viewport: evita ver duas secções ao mesmo tempo quando o conteúdo é mais baixo */
  min-height: 100vh;
  min-height: 100dvh;
  box-shadow: 0 -40px 100px rgba(0, 0, 0, 0.42);
}

body.panel-stack-active #main-content > section:first-child {
  box-shadow: none;
}

body.panel-stack-active #main-content > section:nth-child(1) {
  z-index: 1;
}

body.panel-stack-active #main-content > section:nth-child(2) {
  z-index: 2;
}

body.panel-stack-active #main-content > section:nth-child(3) {
  z-index: 3;
}

body.panel-stack-active #main-content > section:nth-child(4) {
  z-index: 4;
}

body.panel-stack-active #main-content > section:nth-child(5) {
  z-index: 5;
}

body.panel-stack-active #main-content > section:nth-child(6) {
  z-index: 6;
}

body.panel-stack-active .site-footer {
  position: relative;
  z-index: 32;
}

/* —— Header + menu toggle —— */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 94px;
  padding: 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 200;
  transition:
    top 0.28s ease,
    left 0.28s ease,
    width 0.28s ease,
    height 0.28s ease,
    padding 0.28s ease,
    border-radius 0.28s ease,
    background-color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.logo {
  font-weight: 900;
  letter-spacing: 0.07em;
  text-decoration: none;
  color: #000;
  mix-blend-mode: difference;
  transition: opacity 0.24s ease, transform 0.24s ease, color 0.24s ease;
}

.menu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  cursor: pointer;
  color: inherit;
  isolation: isolate;
  transition: opacity 0.22s ease;
}

.menu-toggle:hover {
  opacity: 0.78;
}

body.header-hide-logo .logo {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

body.header-scrolled .menu-toggle {
  border-radius: 10px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.header-scrolled .burger-line {
  background: #fff;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--default);
  outline-offset: 4px;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  height: 16px;
}

.burger-line {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #111;
  transform-origin: center;
  transition: transform 0.38s var(--ease-out-expo), opacity 0.25s ease, background 0.25s ease;
}

.menu-toggle.open .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: #fff;
}

.menu-toggle.open .burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

.menu-toggle.open .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: #fff;
}

/* —— Menu overlay (full-screen, referência Lando-style) —— */
.menu-root {
  --menu-bg: #1a1d17;
  --menu-neon: #d9ff00;
  --menu-fg: #e0e0e0;
  position: fixed;
  inset: 0;
  z-index: 149;
  pointer-events: none;
  background: var(--menu-bg);
  transform: translateY(-100%);
  transition: transform 0.72s var(--ease-out-expo);
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}

.menu-root.open {
  z-index: 260;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-root.closing {
  pointer-events: none;
}

.menu-shell {
  width: 100%;
  max-width: 1920px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) clamp(26px, 4.5vw, 60px) clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  color: var(--menu-fg);
  position: relative;
}

.menu-shell__top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-shrink: 0;
  margin-bottom: clamp(20px, 3.5vw, 40px);
}

.menu-shell__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.menu-shell__close {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f0f0f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 8px;
  margin: -8px -8px -8px 0;
  cursor: pointer;
  transform-origin: 50% 50%;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.menu-shell__close .close-stroke {
  stroke-dasharray: 18;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.26s ease;
}

.menu-shell__close:hover {
  color: var(--menu-neon);
  opacity: 1;
}

.menu-shell__close:focus-visible {
  outline: 2px solid var(--menu-neon);
  outline-offset: 6px;
}

.menu-shell__body {
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.menu-shell__mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  grid-template-rows: repeat(6, minmax(42px, 1fr));
  gap: clamp(10px, 1.2vw, 14px);
  width: min(40vw, 500px);
  align-self: stretch;
  align-content: center;
}

.menu-shell__cell {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #121410;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(217, 255, 0, 0.07);
  transition: transform 0.55s var(--ease-out-expo), box-shadow 0.45s ease;
}

.menu-shell__cell--1 {
  grid-column: 1;
  grid-row: 1 / span 4;
  border-radius: 5px 3px 6px 4px;
  transform: rotate(-1.6deg) translate(-2px, 3px);
  z-index: 2;
}

.menu-shell__cell--2 {
  grid-column: 2;
  grid-row: 1 / span 3;
  border-radius: 4px 6px 3px 5px;
  transform: rotate(1.2deg) translate(3px, -4px);
  z-index: 3;
  margin-bottom: 0;
}

.menu-shell__cell--3 {
  grid-column: 1;
  grid-row: 5 / span 2;
  border-radius: 4px 5px 5px 3px;
  transform: rotate(1.2deg) translate(-3px, 2px);
  z-index: 1;
  margin-top: -1%;
  margin-right: -1%;
}

.menu-shell__cell--4 {
  grid-column: 2;
  grid-row: 4 / span 3;
  border-radius: 6px 4px 4px 6px;
  transform: rotate(-1deg) translate(2px, 3px);
  z-index: 2;
  margin-left: 0;
}

.menu-shell__cell:hover {
  z-index: 5;
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(217, 255, 0, 0.18);
}

.menu-shell__cell img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 105px;
  object-fit: cover;
  filter: grayscale(100%) sepia(22%) hue-rotate(58deg) brightness(0.8) contrast(1.08) saturate(0.92);
  transform: scale(1.025);
  transition: filter 0.5s ease, transform 0.6s var(--ease-out-expo);
}

.menu-shell__cell:hover img {
  filter: grayscale(45%) sepia(18%) hue-rotate(52deg) brightness(0.88) contrast(1.05) saturate(1);
  transform: scale(1.06);
}

.menu-shell__pane {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  text-align: right;
  min-height: min(74vh, 680px);
  width: min(100%, 860px);
  padding-left: 0;
}

.menu-shell__topo {
  position: absolute;
  inset: -8% -12% -8% 0;
  opacity: 0.16;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23c4c9b8' stroke-width='0.6' opacity='0.9'%3E%3Cpath d='M0 120 Q100 80 200 120 T400 120'/%3E%3Cpath d='M0 180 Q120 140 240 180 T400 170'/%3E%3Cpath d='M0 240 Q90 200 200 240 T400 230'/%3E%3Cpath d='M0 300 Q140 260 280 300 T400 290'/%3E%3Cpath d='M60 0 Q40 100 60 200 T60 400'/%3E%3Cpath d='M140 0 Q120 120 140 240 T140 400'/%3E%3Cpath d='M220 0 Q200 100 220 200 T220 400'/%3E%3Cpath d='M300 0 Q280 130 300 260 T300 400'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: 60% 40%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
}

.menu-shell__nav {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: clamp(12px, 2.4vh, 34px);
}

.menu-shell__meta {
  position: relative;
  z-index: 1;
  width: min(100%, 700px);
  display: grid;
  justify-items: end;
  gap: clamp(28px, 4vh, 44px);
}

.menu-shell__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(10px, 1.6vh, 24px);
}

.menu-shell__social-block {
  display: grid;
  justify-items: end;
  gap: 12px;
  padding-top: clamp(18px, 2.8vh, 28px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-shell__social-label {
  margin: 0;
  color: rgba(224, 224, 224, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.58rem;
  font-weight: 760;
}

.menu-shell__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-shell__socials a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0 3px;
  text-decoration: none;
  color: #d5ddc4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 760;
  border-bottom: 1px solid rgba(210, 255, 0, 0.22);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.menu-shell__socials a:hover,
.menu-shell__socials a:focus-visible {
  color: var(--menu-neon);
  border-color: rgba(217, 255, 0, 0.8);
}

.menu-main-link {
  font-family: "Mona Sans", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, min(4.2vw, 5.4vh), 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: #eaeaea;
  display: inline-block;
  padding: 0.14em 0;
  transition: color 0.22s ease;
}

.menu-main-link.is-active {
  color: var(--menu-neon);
}

.menu-main-link:hover,
.menu-main-link:focus-visible {
  color: var(--menu-neon);
}

.menu-main-link:focus-visible {
  outline: 2px solid var(--menu-neon);
  outline-offset: 6px;
}

.menu-main-link__text {
  display: inline-block;
}

.menu-shell__badge {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-top: auto;
  padding-top: clamp(28px, 4vh, 48px);
  opacity: 0.88;
  text-align: right;
}

.menu-shell__badge-icon {
  width: 36px;
  height: 36px;
  color: rgba(224, 224, 224, 0.55);
}

.menu-shell__badge-text {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(224, 224, 224, 0.72);
}

.menu-shell__badge-sub {
  margin: 0;
  margin-top: 2px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(224, 224, 224, 0.55);
}

.menu-shell__badge-sep {
  opacity: 0.6;
  padding: 0 0.15em;
}

.hero {
  height: 100vh;
  height: 100dvh;
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.hero-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 10;
}

.hero-wordmark {
  position: absolute;
  top: clamp(18px, 3.5vh, 34px);
  left: clamp(20px, 3.4vw, 44px);
  z-index: 24;
  margin: 0;
  font-family: "Mona Sans", sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  color: rgba(12, 15, 10, 0.92);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.42),
    0 6px 16px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  user-select: none;
}

.hero-defs {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-base-layer {
  position: absolute;
  inset: 0;
  background-image: url("./assets/images/hero/teste2gmn1-removebg-preview.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  will-change: transform;
}

.hero-reveal-layer {
  display: block;
  position: absolute;
  top: var(--hero-reveal-top);
  left: var(--hero-reveal-left);
  width: var(--hero-reveal-width);
  height: var(--hero-reveal-height);
  background-image: url("./assets/images/hero/Gemini_Generated_Image_glnrcoglnrcoglnr-removebg-preview.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  pointer-events: none;
  will-change: transform;
  mask-image: url("#hero-blob-mask");
  -webkit-mask-image: url("#hero-blob-mask");
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-position: 0 0;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: 0 0;
}

/* —— Career + podium hover —— */
.career {
  position: relative;
  background: radial-gradient(120% 80% at 50% 0%, #141612 0%, #000 55%);
  padding: 0 0 100px;
}

.perfil-strip {
  border-bottom: 1px solid var(--border-soft);
}

#sobre {
  scroll-margin-top: 96px;
  isolation: isolate;
}

#sobre::before,
#sobre::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#sobre::before {
  z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(6, 8, 6, 0.8) 0%, rgba(6, 8, 6, 0.7) 35%, rgba(6, 8, 6, 0.84) 100%),
    url("./assets/images/sobreimg.jfif");
  background-size: cover;
  background-position: center 24%;
  background-repeat: no-repeat;
  opacity: 0.62;
  filter: saturate(0.9) contrast(1.06) brightness(0.8);
}

#sobre::after {
  z-index: 0;
  background:
    radial-gradient(90% 64% at 50% 32%, rgba(210, 255, 0, 0.08), transparent 68%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.34) 68%, rgba(0, 0, 0, 0.46) 100%);
}

#sobre > * {
  position: relative;
  z-index: 1;
}

#trajetoria {
  scroll-margin-top: 96px;
}

#contato {
  scroll-margin-top: 96px;
}

.podiums {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: clip;
  overflow-y: visible;
  /* Menos ar no topo (aproveita a dobra); mais ar antes do “Sobre” para não colar no display */
  padding: clamp(14px, 2.8vh, 44px) 22px clamp(28px, 4.5vh, 56px);
}

.podiums h2 {
  font-size: clamp(3.4rem, 10.2vw, 7.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  margin: 0;
}

.podiums h3 {
  position: absolute;
  right: 16px;
  bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  font-size: clamp(0.95rem, 2.8vw, 2.75rem);
  margin: 0;
}

.perfil-strip .podiums h2 {
  font-size: clamp(3.2rem, 9.6vw, 7.2rem);
  letter-spacing: -0.05em;
}

.perfil-strip .podiums-title {
  display: inline-flex;
  flex-direction: row;
  align-items: flex-end;
  gap: clamp(22px, 3.4vw, 56px);
  white-space: nowrap;
}

.perfil-strip .podiums-title > span {
  display: inline-block;
  background-image: linear-gradient(100deg, #ffffff 0%, #f5ffc2 26%, #d2ff00 45%, #ffffff 62%, #f3f7e7 80%, #ffffff 100%);
  background-size: 220% auto;
  background-position: 0% 50%;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  animation: frontEndShine 3.4s ease-in-out infinite;
  will-change: background-position;
}

.perfil-strip .podiums-title > span:last-child {
  animation-delay: 0.25s;
}

@keyframes frontEndShine {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .perfil-strip .podiums-title > span {
    animation: none;
    background-position: 55% 50%;
  }
}

@media (max-width: 760px) {
  .perfil-strip .podiums-title {
    gap: clamp(12px, 2vw, 20px);
  }
}

/* Junta “FRO” + “NT END” sem folga visual entre os dois <h2> */
.podiums h2 + h2 {
  margin-left: -0.045em;
}

.perfil-lead {
  max-width: min(52rem, 100%);
  margin: 0;
  font-size: clamp(1.05rem, 1.85vw, 1.28rem);
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: #d8dacf;
}

.perfil-lead strong {
  font-family: Brier, serif;
  color: var(--default);
  font-weight: 400;
}

.perfil-lead--accent {
  margin-top: 1.1em;
  max-width: min(40rem, 100%);
  font-size: clamp(0.98rem, 1.55vw, 1.12rem);
  color: #bfc4b5;
}

.folio-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--default);
  margin: 0 0 14px;
}

.folio-eyebrow--on-dark {
  color: var(--default);
}

.folio-eyebrow--footer {
  color: var(--beige);
}

.section-stack .folio-eyebrow,
.section-trajetoria .folio-eyebrow {
  margin-bottom: 10px;
}

.section-stack {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #000;
  padding-top: 110px;
  padding-bottom: 110px;
}

.stack-gradient-bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000;
}

.stack-gradient-bars::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.18) 40%,
      rgba(0, 0, 0, 0.86) 100%
    ),
    radial-gradient(
      ellipse 128% 98% at 50% 50%,
      transparent 26%,
      rgba(0, 0, 0, 0.66) 100%
    ),
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.02) 0px,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 3px
    );
  box-shadow:
    inset 0 0 130px rgba(0, 0, 0, 0.48),
    inset 0 -110px 120px rgba(0, 0, 0, 0.34);
  z-index: 2;
  pointer-events: none;
}

.stack-gradient-bars::after {
  content: none;
}

.stack-gradient-bar {
  flex: 1 0 auto;
  height: 100%;
  background: linear-gradient(to top, rgba(210, 255, 0, 0.58), rgba(210, 255, 0, 0.08) 52%, transparent 85%);
  transform: scaleY(var(--initial-scale, 1));
  transform-origin: bottom center;
  animation: stackPulseBar var(--stack-duration, 2.2s) ease-in-out infinite alternate;
  animation-delay: var(--stack-delay, 0s);
  transition: transform 0.5s ease-in-out;
  opacity: 0.98;
}

@keyframes stackPulseBar {
  0% {
    transform: scaleY(var(--initial-scale, 1));
  }
  100% {
    transform: scaleY(calc(var(--initial-scale, 1) * 0.7));
  }
}

/* Stack: título mais equilibrado + texto de apoio */
.section-stack .stack-title {
  font-size: clamp(2.35rem, 7.5vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.section-stack .stack-lead {
  margin-top: 0.35rem;
  margin-bottom: 0;
  max-width: min(40rem, 100%);
  font-size: clamp(0.9rem, 1.35vw, 1.15rem);
  line-height: 1.58;
}

.stack-pin-inner {
  position: relative;
  z-index: 2;
  max-width: 1640px;
  margin: 0 auto;
  padding: 0;
}

.section-stack .stack-title,
.section-stack .stack-lead {
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.85),
    0 1px 4px rgba(0, 0, 0, 0.62);
}

.section-projetos {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 6;
  padding-top: clamp(64px, 8vw, 110px);
  padding-bottom: clamp(72px, 9vw, 120px);
  background-color: #06070a;
}

/* Fundo somente com imagem da seção de projetos */
.section-projetos::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("./assets/images/planodefundoproj.jfif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-projetos::after {
  content: none;
}

.section-projetos > * {
  position: relative;
  z-index: 2;
}

.section-projetos .projects-shell {
  width: min(1420px, calc(100% - 2 * var(--section-pad, 24px)));
  gap: clamp(12px, 2vw, 24px);
}

.section-projetos .projetos-title {
  font-size: clamp(2.2rem, 7.2vw, 7rem);
  line-height: 0.88;
}

.section-projetos .projetos-lead {
  max-width: min(72ch, 100%);
}

.section-projetos .project-cards {
  margin-top: clamp(8px, 2vw, 18px);
}

.section-contato-overlay {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  z-index: 12;
  margin-top: 0;
  padding-top: clamp(72px, 10vw, 132px);
  padding-bottom: clamp(86px, 11vw, 142px);
  padding-inline: 20px;
  border-top: 0;
  background: #06070a;
  box-shadow: none;
}

/* Sobrescreve a utility .dark apenas na seção de contato */
.section.section-contato-overlay.dark {
  background: #06070a;
}

.section-contato-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("./assets/images/planodefundoproj.jfif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-contato-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 6, 8, 0.5) 0%, rgba(4, 6, 8, 0.74) 48%, rgba(4, 6, 8, 0.9) 100%),
    radial-gradient(90% 70% at 50% 45%, rgba(210, 255, 0, 0.08) 0%, transparent 60%);
}

.section-contato-overlay > * {
  position: relative;
  z-index: 2;
}

.contato-overlay-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2 * var(--section-pad)));
  margin-inline: auto;
  display: grid;
  gap: clamp(10px, 1.8vw, 20px);
}

.contato-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 820;
  color: #c2cf9e;
}

.contato-title {
  font-size: clamp(2.2rem, 7.2vw, 6.8rem);
  line-height: 0.86;
}

.contato-lead {
  max-width: min(68ch, 100%);
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.62;
  color: #d5dbcb;
}

.contato-cta-row {
  margin-top: clamp(4px, 1vw, 12px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contato-showcase {
  margin-top: clamp(10px, 2vw, 18px);
  min-height: clamp(260px, 38vw, 430px);
  border-radius: 0;
  border: 1px solid rgba(210, 255, 0, 0.22);
  background: #050705;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 52px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 1.25fr) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  align-items: stretch;
  gap: clamp(8px, 1.2vw, 16px);
  padding: clamp(14px, 2vw, 22px) clamp(14px, 2.2vw, 28px) 0;
  overflow: hidden;
  position: relative;
  clip-path: polygon(0 7%, 39% 7%, 43.5% 0, 56.5% 0, 61% 7%, 100% 7%, 100% 100%, 0 100%);
}

.contato-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 95% at 50% 100%, rgba(210, 255, 0, 0.38) 0%, rgba(210, 255, 0, 0.08) 38%, transparent 68%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0, rgba(255, 255, 255, 0.022) 1px, transparent 1px, transparent 38px);
  opacity: 0.46;
  pointer-events: none;
}

.contato-showcase-top {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: stretch;
  width: calc(100% + clamp(28px, 4.4vw, 56px));
  height: clamp(18px, 2.2vw, 28px);
  margin-top: calc(clamp(14px, 2vw, 22px) * -1);
  margin-left: calc(clamp(14px, 2.2vw, 28px) * -1);
  background: #d2ff00;
  border-bottom: 1px solid rgba(5, 9, 3, 0.26);
  box-shadow: 0 9px 16px rgba(0, 0, 0, 0.32);
  z-index: 4;
}

.contato-showcase-headline {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.98;
  font-size: clamp(1.35rem, 2.8vw, 2.7rem);
  font-weight: 900;
  color: #f7f8f4;
  text-wrap: balance;
  z-index: 2;
}

.contato-showcase-headline span {
  color: #d2ff00;
}

.contato-showcase-script {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  justify-self: center;
  align-self: start;
  transform: translateY(-38%) rotate(-8deg);
  font-family: "Brier", serif;
  font-size: clamp(1.3rem, 2vw, 2rem);
  color: #d2ff00;
  opacity: 0.9;
  z-index: 4;
}

.contato-showcase-image-wrap {
  margin: 0;
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  justify-self: center;
  width: min(100%, 420px);
  z-index: 2;
}

.contato-showcase-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 38px rgba(0, 0, 0, 0.52));
}

.contato-showcase-text {
  margin: 0;
  align-self: end;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(0.55rem, 0.72vw, 0.74rem);
  line-height: 1.45;
  font-weight: 820;
  color: #e7ecda;
  z-index: 2;
}

.contato-showcase-text--left {
  grid-column: 1;
  grid-row: 3;
  text-align: left;
  padding-left: clamp(4px, 0.8vw, 10px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.contato-showcase-text--right {
  grid-column: 3;
  grid-row: 3;
  text-align: right;
  padding-right: clamp(4px, 0.8vw, 10px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.contato-showcase-footer {
  grid-column: 1 / -1;
  grid-row: 4;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 26px);
  padding: 8px clamp(10px, 1.4vw, 18px) 8px;
  border-top: 1px solid rgba(5, 9, 3, 0.25);
  background: #d2ff00;
  z-index: 2;
  flex-wrap: wrap;
}

.contato-showcase-footer span {
  text-transform: uppercase;
  font-size: clamp(0.48rem, 0.58vw, 0.62rem);
  letter-spacing: 0.08em;
  color: #161d10;
  font-weight: 860;
}

.contato-mail,
.contato-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 780;
  border-radius: 999px;
  transition: transform 0.22s var(--ease-out-expo), border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.contato-mail {
  padding: 10px 16px;
  color: #10140c;
  background: var(--default);
  border: 1px solid transparent;
}

.contato-linkedin {
  padding: 10px 16px;
  color: #e9eede;
  border: 1px solid rgba(210, 255, 0, 0.4);
  background: rgba(210, 255, 0, 0.08);
}

.contato-mail:hover,
.contato-mail:focus-visible,
.contato-linkedin:hover,
.contato-linkedin:focus-visible {
  transform: translateY(-2px);
}

.contato-mail:focus-visible,
.contato-linkedin:focus-visible {
  outline: 2px solid var(--default);
  outline-offset: 3px;
}

.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;
}

.section-contato-overlay {
  max-width: none;
  border-top: 0;
}

.ln-footer-root {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.ln-footer-shell {
  position: relative;
  width: min(94%, 1620px);
  margin: 0 auto;
  min-height: clamp(520px, 58vw, 840px);
  background: linear-gradient(180deg, rgba(10, 12, 12, 0.78), rgba(10, 12, 12, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 28px 80px rgba(0, 0, 0, 0.36);
  -webkit-mask-image: url("./assets/svgs/image-bg.svg");
  mask-image: url("./assets/svgs/image-bg.svg");
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.ln-footer-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.52;
  background-image: url("./assets/svgs/ln-pattern.svg");
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
}

.ln-footer-hero {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  z-index: 2;
}

.ln-footer-signature {
  position: absolute;
  top: clamp(68px, 9vw, 120px);
  transform: rotate(-12deg) translateY(22px);
  color: #d2ff00;
  width: clamp(210px, 16vw, 250px);
}

.ln-footer-signature svg {
  width: 100%;
  height: auto;
  display: block;
}

.ln-footer-headline {
  margin: clamp(94px, 12vw, 140px) 0 0;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 5.6rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.ln-footer-headline span {
  font-family: Brier, serif;
  color: #d2ff00;
  font-weight: 400;
}

@media (max-width: 900px) {
  .ln-footer-shell {
    width: min(96%, 1200px);
    min-height: clamp(500px, 88vw, 760px);
  }

  .ln-footer-pattern {
    background-size: cover;
  }
}

.ln-footer-image-wrap {
  margin: 0;
  width: min(100%, 620px);
}

.ln-footer-image {
  width: 100%;
  height: clamp(220px, 36vw, 500px);
  object-fit: cover;
  filter: brightness(0.75) drop-shadow(0 24px 36px rgba(0, 0, 0, 0.5));
}

.ln-footer-links {
  position: absolute;
  top: 60%;
  transform: translateY(-60%);
  z-index: 4;
}

.ln-footer-links--left {
  left: clamp(16px, 5vw, 10%);
}

.ln-footer-links--right {
  right: clamp(16px, 5vw, 10%);
}

.ln-links-label {
  margin: 0 0 12px;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

.ln-footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ln-footer-links .menu-item {
  position: relative;
  overflow: hidden;
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.6vw, 3.6rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.ln-footer-links .menu-link {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  padding: 1px 0;
  transition: color 0.22s ease;
}

.ln-footer-links .menu-text {
  position: relative;
  z-index: 2;
  display: block;
  transition: transform 0.36s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.ln-footer-links .menu-text--accent {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  color: #d2ff00;
}

.ln-footer-links .menu-bg {
  position: absolute;
  inset: 0;
  background: #d2ff00;
  transform: translateX(-101%);
  z-index: 1;
}

.ln-footer-links .menu-link:hover .menu-text,
.ln-footer-links .menu-link:focus-visible .menu-text,
.ln-footer-links .menu-link.is-active .menu-text {
  transform: translateY(-100%);
}

.ln-footer-links .menu-link:focus-visible {
  outline: 2px solid #d2ff00;
  outline-offset: 4px;
}

.ln-footer-marquee-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(24px, 4.4vw, 64px);
  overflow: hidden;
  z-index: 4;
}

.ln-footer-marquee {
  display: flex;
  width: max-content;
}

.ln-footer-marquee-content {
  display: flex;
  align-items: center;
  gap: clamp(30px, 3vw, 54px);
  padding-right: 80px;
}

.ln-footer-marquee-content span {
  color: #d2ff00;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(0.64rem, 0.9vw, 1rem);
  white-space: nowrap;
}

.ln-footer-legal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #111;
  padding: 10px 4px 0;
  text-transform: uppercase;
}

.ln-footer-copyright {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(210, 255, 0, 0.58);
}

.ln-footer-legal-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 700;
}

.project-showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
  grid-auto-flow: row dense;
  width: min(100%, 1220px);
  margin-inline: auto;
}

.project-showcase-grid--tablet {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-showcase-grid--tablet .project-showcase-card,
.project-showcase-grid--mobile .project-showcase-card {
  grid-column: span 1;
  grid-row: span 1;
}

.project-showcase-grid--mobile {
  grid-template-columns: 1fr;
  gap: 10px;
}

.project-showcase-card {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(170deg, rgba(10, 12, 10, 0.92), rgba(8, 8, 8, 0.82));
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  min-height: 0;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s var(--ease-out-expo);
}

.project-showcase-card:nth-child(4n + 1) {
  grid-column: span 6;
  grid-row: span 1;
}

.project-showcase-card:nth-child(4n + 2) {
  grid-column: span 6;
  grid-row: span 1;
}

.project-showcase-card:nth-child(4n + 3) {
  grid-column: span 4;
  grid-row: span 1;
}

.project-showcase-card:nth-child(4n + 4) {
  grid-column: span 8;
  grid-row: span 1;
}

.project-showcase-card--featured {
  grid-column: span 8;
}

/* Forca layout empilhado quando o modo responsivo estiver ativo.
   Fica abaixo dos nth-child para vencer na cascata. */
.project-showcase-grid--tablet .project-showcase-card,
.project-showcase-grid--mobile .project-showcase-card,
.project-showcase-grid--tablet .project-showcase-card:nth-child(4n + 1),
.project-showcase-grid--tablet .project-showcase-card:nth-child(4n + 2),
.project-showcase-grid--tablet .project-showcase-card:nth-child(4n + 3),
.project-showcase-grid--tablet .project-showcase-card:nth-child(4n + 4),
.project-showcase-grid--mobile .project-showcase-card:nth-child(4n + 1),
.project-showcase-grid--mobile .project-showcase-card:nth-child(4n + 2),
.project-showcase-grid--mobile .project-showcase-card:nth-child(4n + 3),
.project-showcase-grid--mobile .project-showcase-card:nth-child(4n + 4),
.project-showcase-grid--tablet .project-showcase-card--featured,
.project-showcase-grid--mobile .project-showcase-card--featured {
  grid-column: 1 / -1;
  grid-row: auto;
}

.project-showcase-card:hover,
.project-showcase-card:focus-visible {
  border-color: rgba(210, 255, 0, 0.66);
  box-shadow:
    0 24px 42px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(210, 255, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.project-showcase-card:focus-visible {
  outline: 2px solid rgba(210, 255, 0, 0.78);
  outline-offset: 3px;
}

.project-showcase-card__media {
  position: relative;
  inset: auto;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 8.2;
  min-height: 140px;
}

.project-showcase-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 3, 2, 0.1) 16%, rgba(2, 3, 2, 0.65) 100%),
    linear-gradient(110deg, transparent 46%, rgba(210, 255, 0, 0.08) 58%, transparent 72%);
  pointer-events: none;
}

.project-showcase-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08) brightness(0.72);
  transform: scale(1.02);
  transition: transform 0.5s var(--ease-out-expo), filter 0.4s ease;
}

.project-showcase-card:hover .project-showcase-card__media img,
.project-showcase-card:focus-visible .project-showcase-card__media img {
  transform: scale(1.08);
  filter: saturate(0.92) contrast(1.12) brightness(0.82);
}

.project-showcase-card__caption {
  position: relative;
  inset: auto;
  z-index: 2;
  min-width: 0;
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(10, 12, 10, 0.86), rgba(10, 12, 10, 0.64)),
    rgba(10, 12, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  gap: 4px;
}

.project-showcase-card__caption h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(0.88rem, 0.72vw + 0.58rem, 1.08rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.project-showcase-card__meta {
  margin: 0;
  color: #cdd2c2;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 780;
}

.project-showcase-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.project-showcase-card__tags span {
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(210, 255, 0, 0.3);
  background: rgba(210, 255, 0, 0.08);
  color: #e8f4bf;
  border-radius: 999px;
  padding: 3px 6px;
}

.project-showcase-card__cta {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(210, 255, 0, 0.52);
  background: rgba(210, 255, 0, 0.12);
  color: #eff8cb;
  font-size: 0.58rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.project-showcase-card__cta:hover,
.project-showcase-card__cta:focus-visible {
  background: rgba(210, 255, 0, 0.2);
  border-color: rgba(210, 255, 0, 0.78);
  transform: translateY(-1px);
}

.project-showcase-card__cta:focus-visible {
  outline: 2px solid rgba(210, 255, 0, 0.8);
  outline-offset: 2px;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2.5vw, 28px);
}

.video-modal[hidden] {
  display: none;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 3, 2, 0.76);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.video-modal__dialog {
  position: relative;
  width: min(980px, 100%);
  border: 1px solid rgba(210, 255, 0, 0.35);
  border-radius: 12px;
  background: linear-gradient(170deg, rgba(8, 10, 8, 0.96), rgba(6, 7, 6, 0.92));
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(210, 255, 0, 0.16);
  padding: clamp(12px, 2vw, 18px);
  z-index: 1;
}

.video-modal__title {
  margin: 0 0 10px;
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #dbe7b1;
}

.video-modal__player {
  width: 100%;
  max-height: min(72vh, 720px);
  border-radius: 10px;
  background: #000;
  outline: none;
}

.video-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(210, 255, 0, 0.45);
  background: rgba(210, 255, 0, 0.08);
  color: #eff8cb;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.video-modal__close:hover,
.video-modal__close:focus-visible {
  background: rgba(210, 255, 0, 0.2);
  border-color: rgba(210, 255, 0, 0.8);
}

body.is-video-modal-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .section-projetos::before {
    inset: 0;
  }
}

/* Lista de freelances: ritmo visual mais denso (scan + menos scroll) */
.section-projetos .folio-eyebrow {
  margin: 0 0 10px;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.88), 0 1px 3px rgba(0, 0, 0, 0.78);
}

.projects-shell {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 2 * var(--section-pad)));
  margin-inline: auto;
  display: grid;
  gap: clamp(10px, 2vw, 18px);
}

.projetos-title {
  margin: 0;
  font-size: clamp(2rem, 8vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.84), 0 1px 3px rgba(0, 0, 0, 0.72);
}

.projetos-lead {
  margin: 0 0 clamp(8px, 2vw, 16px);
  max-width: min(74ch, 100%);
  font-size: clamp(0.95rem, 1.25vw, 1.12rem);
  line-height: 1.62;
  color: rgba(236, 239, 232, 0.9);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.82), 0 1px 2px rgba(0, 0, 0, 0.68);
}

.section-projetos .project-cards {
  border-radius: 6px;
}

.section-projetos .project-card {
  padding: 8px 10px;
  gap: 4px 8px;
  align-items: start;
}

.section-projetos .project-card h3 {
  font-size: clamp(1.05rem, 1.6vw + 0.48rem, 1.85rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.section-projetos .project-card strong {
  font-size: 0.94rem;
}

.section-projetos .project-card span {
  font-size: 0.64rem;
}

.section-projetos .project-card .project-tags {
  margin-top: 2px;
  gap: 5px;
  row-gap: 5px;
}

.section-projetos .project-tag {
  font-size: 0.54rem;
  padding: 2px 6px;
  letter-spacing: 0.08em;
}

/* Indicador “há mais” abaixo do último freelance */
.section-projetos .project-cards:has(.project-cards-more) .project-card:last-of-type {
  border-bottom: 0;
}

.section-projetos .project-cards-more {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 12px 10px;
  border-top: 1px solid #1e211c;
  font-family: BungeeCustom, monospace;
  font-size: clamp(1.1rem, 2.4vw, 1.65rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--default);
  background: linear-gradient(180deg, transparent, rgba(210, 255, 0, 0.04));
  user-select: none;
}

.section-trajetoria.dark {
  position: relative;
  z-index: 9;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  overflow-y: hidden;
  background: #e7e6df;
}

.section-trajetoria.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='180' viewBox='0 0 320 180'%3E%3Cpath d='M14 120C70 90 128 150 182 120C236 90 272 130 306 116' stroke='rgba(25,28,22,0.14)' fill='none'/%3E%3Cpath d='M0 42C62 12 118 58 176 36C234 14 266 58 320 30' stroke='rgba(25,28,22,0.1)' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 380px 214px;
  opacity: 0.66;
  mask-image: linear-gradient(180deg, #000 0%, #000 38%, transparent 68%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 38%, transparent 68%);
}

/* Título da seção Trajetória menor para caber melhor em telas médias/pequenas */
.section-trajetoria .trajetoria-title {
  font-size: clamp(2.1rem, 8.8vw, 6.2rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.section-trajetoria .folio-eyebrow,
.section-trajetoria .trajetoria-title {
  position: relative;
  z-index: 8;
  padding-inline: clamp(16px, 3.2vw, 34px);
  text-shadow: none;
}

.section-trajetoria .trajetoria-title > span:last-of-type {
  color: #1c2117;
}

.section-trajetoria .section-scroll-rail {
  display: none;
}

/* Trajetória — Hero editorial inspirada em layout de campanha. */
.trajetoria-expansion {
  position: relative;
  margin-top: 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  min-height: clamp(620px, 82vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(72px, 8vw, 108px) clamp(16px, 3vw, 40px) clamp(42px, 5vw, 72px);
  overflow: hidden;
  background: #e7e6df;
  isolation: isolate;
}

.trajetoria-expansion::before,
.trajetoria-expansion::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 0;
  background: transparent;
  z-index: 3;
  pointer-events: none;
}

.trajetoria-expansion::before {
  top: 0;
}

.trajetoria-expansion::after {
  bottom: 0;
}

.trajetoria-expansion__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  z-index: 0;
  pointer-events: none;
  filter: grayscale(0.06) contrast(1.02) brightness(1.02);
  transform: scale(1.01);
}

.trajetoria-expansion__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(237, 236, 230, 0.56) 0%, rgba(237, 236, 230, 0.26) 44%, rgba(237, 236, 230, 0.62) 100%),
    linear-gradient(90deg, rgba(232, 230, 222, 0.66) 0%, rgba(232, 230, 222, 0.22) 52%, rgba(232, 230, 222, 0.58) 100%);
}

.trajetoria-expansion__contour {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 85% 50%, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0) 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='180' viewBox='0 0 320 180'%3E%3Cpath d='M14 120C70 90 128 150 182 120C236 90 272 130 306 116' stroke='rgba(25,28,22,0.14)' fill='none'/%3E%3Cpath d='M0 42C62 12 118 58 176 36C234 14 266 58 320 30' stroke='rgba(25,28,22,0.1)' fill='none'/%3E%3C/svg%3E");
  background-size: cover, 380px 214px;
}

.trajetoria-expansion__inner {
  position: relative;
  z-index: 4;
  width: min(900px, 100%);
  display: flex;
  justify-content: center;
}

.trajetoria-single-story {
  position: relative;
  width: min(660px, 100%);
  padding: clamp(20px, 2.5vw, 30px) clamp(16px, 2.2vw, 26px) clamp(20px, 2.3vw, 28px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.22) 44%, rgba(255, 255, 255, 0.12)),
    linear-gradient(110deg, rgba(232, 235, 228, 0.2), rgba(232, 235, 228, 0.08)),
    rgba(232, 231, 224, 0.16);
  color: #1a1f16;
  text-align: center;
  backdrop-filter: blur(18px) saturate(1.22);
  -webkit-backdrop-filter: blur(18px) saturate(1.22);
  box-shadow: none;
  overflow: hidden;
}

.trajetoria-single-story::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08) 48%, rgba(110, 122, 86, 0.18));
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.trajetoria-single-story::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 34%;
  border-radius: 999px;
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
  opacity: 0.62;
}

.trajetoria-single-story__kicker {
  margin: 0 0 12px;
  color: #4a5640;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 900;
  text-shadow: none;
}

.trajetoria-single-story__title {
  margin: 0;
  color: #131810;
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  line-height: 0.9;
  text-transform: none;
  letter-spacing: -0.03em;
  font-weight: 900;
  text-wrap: balance;
  text-shadow: none;
}

.trajetoria-single-story__text {
  margin: 18px auto 0;
  color: #222a1d;
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.66;
  max-width: 52ch;
  text-shadow: none;
}

@media (max-width: 900px) {
  .section-trajetoria.dark {
    margin-top: 0;
    padding-top: 0;
  }

  .trajetoria-expansion {
    margin-top: 0;
    min-height: clamp(520px, 74vh, 660px);
    padding: clamp(64px, 8vw, 96px) 14px clamp(28px, 4vw, 48px);
  }

  .section-trajetoria .folio-eyebrow,
  .section-trajetoria .trajetoria-title {
    padding-inline: 14px;
  }

  .trajetoria-expansion__inner {
    width: 100%;
  }

  .trajetoria-single-story {
    border-radius: 14px;
    padding: 16px 14px 18px;
  }
}

.section-scroll-rail {
  position: absolute;
  left: 10px;
  top: 110px;
  bottom: 90px;
  width: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
  pointer-events: none;
}

.section-scroll-rail--right {
  left: auto;
  right: 10px;
}

.section-scroll-rail__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--default), #9eb300);
  transform-origin: top center;
  transform: scaleY(0);
  border-radius: inherit;
}

@media (max-width: 768px) {
  .section-scroll-rail {
    top: 88px;
    bottom: 56px;
    width: 2px;
    right: 6px;
    left: auto;
    opacity: 0.85;
  }
}

.lab-inner .lab-lead {
  margin-bottom: 28px;
}

.site-footer {
  position: relative;
  z-index: 2;
  padding: clamp(62px, 9vw, 88px) 22px clamp(56px, 8vw, 84px);
  max-width: 1640px;
  margin: 0 auto;
  border-top: 1px solid rgba(210, 255, 0, 0.16);
  background:
    radial-gradient(84% 128% at 10% 0%, rgba(210, 255, 0, 0.09), transparent 56%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(5, 7, 4, 0.97) 44%, #050703 100%);
  isolation: isolate;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr minmax(280px, 0.92fr);
  gap: clamp(24px, 4.2vw, 56px);
  align-items: stretch;
  padding-bottom: clamp(30px, 5vw, 46px);
}

.footer-brand {
  display: grid;
  gap: 16px;
}

.footer-headline {
  margin: 0;
  font-size: clamp(2.35rem, 7.2vw, 5.45rem);
  font-weight: 900;
  letter-spacing: -0.048em;
  text-transform: uppercase;
  line-height: 0.92;
  text-wrap: balance;
}

.footer-accent {
  font-family: BungeeCustom, monospace;
  color: var(--default);
  font-weight: 400;
}

.footer-copy {
  margin: 0;
  max-width: 560px;
  color: #b4bbac;
  line-height: 1.68;
}

.footer-tags {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-tags li {
  border: 1px solid rgba(210, 255, 0, 0.22);
  background: rgba(210, 255, 0, 0.06);
  color: #d5e2b5;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 13px 7px;
}

.footer-cta-perspective {
  margin-left: auto;
  width: min(100%, 820px);
  perspective: 1000px;
}

.footer-cta {
  position: relative;
  border: 1px solid rgba(210, 255, 0, 0.22);
  border-radius: 0;
  padding: 0;
  background:
    linear-gradient(175deg, rgba(210, 255, 0, 0.08), rgba(210, 255, 0, 0.01) 25%, rgba(10, 12, 8, 0.96) 54%),
    #151a13;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 30px 48px rgba(0, 0, 0, 0.44);
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  clip-path: polygon(0 7%, 39% 7%, 43.5% 0, 56.5% 0, 61% 7%, 100% 7%, 100% 100%, 0 100%);
}

.footer-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='180' viewBox='0 0 320 180'%3E%3Cg fill='none' stroke='rgba(205,216,177,0.09)' stroke-width='1.1'%3E%3Cpath d='M8 144c32-24 54-4 84-22s57-52 92-36 37 60 86 42'/%3E%3Cpath d='M-6 92c26-20 62-12 90-30s30-42 62-44 48 30 80 22 66-38 98-26'/%3E%3Cpath d='M0 38c32-22 58-6 86-24s46-28 76-18 34 24 68 12 56-20 90-8'/%3E%3Cpath d='M36 174c18-10 28-26 54-24s40 30 68 28 36-26 62-26 40 22 64 20'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 390px 220px;
  background-repeat: repeat;
  opacity: 0.66;
  pointer-events: none;
  z-index: 0;
}

.footer-cta-glare {
  position: absolute;
  inset: -24%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0) 55%);
  mix-blend-mode: screen;
  transition: opacity 0.2s ease;
}

.footer-cta > * {
  position: relative;
  z-index: 1;
}

.footer-cta-top-strip {
  position: absolute;
  inset: 0 0 auto;
  height: clamp(20px, 2.2vw, 26px);
  background: #d2ff00;
  z-index: 1;
}

.footer-cta-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 1.1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: end;
  gap: 10px;
  padding: clamp(52px, 6.2vw, 74px) clamp(16px, 2vw, 26px) 0;
  min-height: clamp(360px, 43vw, 500px);
}

.footer-cta-signature {
  position: absolute;
  top: clamp(56px, 7vw, 76px);
  left: 50%;
  transform: translateX(-35%) rotate(-7deg);
  margin: 0;
  font-family: Brier, serif;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1;
  color: #d2ff00;
  opacity: 0.95;
}

.footer-cta-headline {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.93;
  font-size: clamp(2rem, 4.7vw, 4.25rem);
  font-weight: 900;
  color: #f2f4ef;
  text-wrap: balance;
}

.footer-cta-headline span {
  color: #d8f35e;
}

.footer-cta-col {
  align-self: center;
  display: grid;
  gap: 2px;
  max-width: 140px;
  padding-bottom: clamp(66px, 8vw, 98px);
}

.footer-cta-col--left {
  justify-self: start;
  text-align: left;
}

.footer-cta-col--right {
  justify-self: end;
  text-align: right;
}

.footer-cta-col-label {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.55rem;
  color: #8e9880;
  font-weight: 760;
}

.footer-cta-col a {
  color: #f5f7f0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  font-weight: 850;
  font-size: clamp(1rem, 1.26vw, 1.52rem);
  line-height: 1.02;
}

.footer-cta-col a:hover,
.footer-cta-col a:focus-visible {
  color: #d2ff00;
}

.footer-cta-col a:focus-visible {
  outline: 2px solid #d2ff00;
  outline-offset: 2px;
}

.footer-cta-avatar-wrap {
  grid-column: 2;
  margin: 0;
  align-self: end;
  justify-self: center;
  width: min(100%, 420px);
  pointer-events: none;
}

.footer-cta-avatar {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5));
}

.footer-cta-bottom {
  position: relative;
  z-index: 1;
  min-height: 26px;
  background: #d2ff00;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px clamp(10px, 1.6vw, 16px);
}

.footer-cta-partners {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.7vw, 22px);
  flex-wrap: wrap;
}

.footer-cta-partners span {
  font-size: clamp(0.6rem, 0.72vw, 0.72rem);
  color: #1e2516;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 760;
}

.footer-cta-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid rgba(23, 31, 14, 0.4);
  background: rgba(20, 28, 13, 0.08);
  color: #1b2214;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(0.56rem, 0.68vw, 0.66rem);
  font-weight: 820;
  padding: 6px 10px;
}

.footer-cta-action:hover,
.footer-cta-action:focus-visible {
  background: rgba(20, 28, 13, 0.16);
}

.footer-cta-action:focus-visible {
  outline: 2px solid #1c2314;
  outline-offset: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: clamp(18px, 3.4vw, 28px);
  display: grid;
  gap: 18px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-nav a {
  color: #bfc6b2;
  text-decoration: none;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--default);
  border-color: rgba(210, 255, 0, 0.45);
}

.footer-nav a:focus-visible {
  outline: 2px solid var(--default);
  outline-offset: 4px;
}

.footer-legal {
  margin: 0;
  color: #7d8571;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.6;
}

.career-body {
  position: relative;
  z-index: 1;
  padding: 0 clamp(18px, 3vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(20px, 3.2vw, 36px) clamp(20px, 3vw, 36px);
  align-items: start;
  margin-top: 0;
  padding-top: clamp(14px, 2.2vw, 26px);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.perfil-pitch {
  grid-column: 1 / -1;
  margin-top: clamp(8px, 1.8vw, 22px);
  padding: clamp(22px, 3.2vw, 38px) 0 clamp(6px, 1.5vw, 14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(210, 255, 0, 0.04) 0%, transparent 72%);
  border-radius: 0 0 8px 8px;
}

.perfil-stats.stats strong {
  font-size: clamp(2.75rem, 7.5vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.1em;
}

.career-media h4 {
  font-size: clamp(2rem, 4vw, 5.2rem);
  margin: 0;
  text-transform: uppercase;
}

.career-media h5 {
  font-family: Brier, serif;
  font-size: clamp(2rem, 4.5vw, 6rem);
  margin: 0 0 8px;
  text-transform: uppercase;
}

/* “Sobre”: hierarquia mais compacta sem encostar ao display FRO/NT END */
.perfil-intro .folio-eyebrow {
  margin: 0 0 12px;
}

@media (min-width: 900px) {
  .perfil-strip .career-body {
    max-width: min(1680px, 100%);
    margin-inline: auto;
  }
}

/* Ecrãs mais baixos: display menor → “Sobre” entra mais cedo no viewport */
@media (min-width: 900px) and (max-height: 860px) {
  .podiums {
    padding-top: clamp(10px, 2vh, 28px);
    padding-bottom: clamp(22px, 3.5vh, 44px);
  }

  .perfil-strip .podiums h2 {
    font-size: clamp(3.4rem, 11vw, 8.5rem);
  }
}

.hl-wrap {
  position: relative;
  display: inline-block;
  padding: 0 0.15em;
  overflow: hidden;
}

.hl-label {
  position: relative;
  z-index: 1;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
  align-content: start;
}

.stats article {
  position: relative;
  padding: 10px;
}

.stats small {
  display: block;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.stats strong {
  font-size: clamp(4rem, 10vw, 16rem);
  line-height: 0.8;
  letter-spacing: -0.14em;
}

.stat-average-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.18em;
  row-gap: 6px;
}

.stat-average-row small {
  flex: 1 0 100%;
}

.stat-average-row .stat-suffix {
  position: static;
  color: var(--beige);
  font-style: normal;
  font-size: clamp(1rem, 2.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
}

/* Highlights animados (faixa que varre no scroll) */
.animate-highlight {
  position: absolute;
  inset: 0;
  background: var(--default);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  z-index: -1;
}

/* —— Sections —— */
.section {
  padding: 96px 28px;
  max-width: 1680px;
  margin: 0 auto;
}

.dark {
  background: #000;
}

.title {
  font-size: clamp(4rem, 16vw, 22rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  margin: 0;
  overflow: hidden;
}

.title > span:first-of-type {
  display: block;
  font-family: BungeeCustom, monospace;
  color: var(--default);
  font-weight: 400;
  will-change: transform, opacity;
}

.title > span:last-of-type {
  display: block;
  font-weight: 900;
  will-change: transform, opacity;
}

.lead {
  max-width: 760px;
  font-size: clamp(1rem, 2vw, 2rem);
}

.lead strong {
  font-family: Brier, serif;
  color: var(--default);
  font-weight: 400;
}

#project-cards,
.project-cards {
  margin-top: 0;
  border-radius: 14px;
  overflow: visible;
  border: 0;
  background: transparent;
  display: grid;
  gap: 10px;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  border-bottom: 1px solid #1e211c;
  padding: 22px 20px;
  gap: 16px;
  position: relative;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.project-card--media {
  --project-bg: linear-gradient(160deg, #171a13, #0b0d0a);
  transform-style: preserve-3d;
  isolation: isolate;
  border-radius: 14px;
  margin: 2px 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow: clip;
  min-height: clamp(116px, 14vw, 148px);
  background: #090b08;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 32px rgba(0, 0, 0, 0.28);
  transform: translateY(0);
  transition:
    transform 0.32s var(--ease-out-expo),
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    opacity 0.28s ease,
    filter 0.28s ease;
}

.project-card--media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.14) 49%, transparent 64%);
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 0.72s var(--ease-out-expo), opacity 0.4s ease;
  z-index: 2;
}

.project-card:last-child {
  border-bottom: 0;
}

.project-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--default);
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.45s var(--ease-out-expo);
}

.project-card--media::before {
  display: none;
}

.project-card:hover::before {
  transform: scaleY(1);
}

.project-card:hover {
  border-color: #2a2d22;
  background: linear-gradient(90deg, rgba(210, 255, 0, 0.04), transparent 55%);
}

.project-card--media:hover,
.project-card--media:focus-visible {
  border-color: rgba(210, 255, 0, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 40px rgba(0, 0, 0, 0.42);
  transform: translateY(-2px);
  z-index: 3;
}

.project-card--media:hover::after,
.project-card--media:focus-visible::after {
  transform: translateX(120%);
  opacity: 0.78;
}

.project-card--media:focus-visible {
  outline: 2px solid rgba(210, 255, 0, 0.65);
  outline-offset: 3px;
}

.project-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(112deg, rgba(4, 6, 5, 0.58) 0%, rgba(6, 9, 7, 0.3) 44%, rgba(7, 11, 8, 0.52) 100%),
    var(--project-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 0.55s var(--ease-out-expo), filter 0.4s ease;
  filter: saturate(0.96) contrast(1.08);
}

.project-card__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(122deg, rgba(210, 255, 0, 0.07), transparent 40%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.36));
  opacity: 0.5;
}

.project-card__content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: inherit;
  max-width: min(68%, 820px);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(120deg, rgba(7, 11, 8, 0.52), rgba(7, 11, 8, 0.3) 45%, rgba(7, 11, 8, 0.56)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28));
  backdrop-filter: blur(2.4px);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.48);
}

.project-card--media:hover .project-card__bg,
.project-card--media:focus-visible .project-card__bg {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.14);
}

.project-card h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(1.06rem, 1.8vw + 0.45rem, 1.82rem);
  font-family: "Mona Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 870;
  letter-spacing: -0.025em;
}

.project-card .project-year {
  color: #9aa08b;
  text-transform: uppercase;
  font-weight: 750;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  padding: 5px 8px 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
}

.project-card .project-role {
  color: #d8f582;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 780;
  padding: 5px 9px 4px;
  border-radius: 999px;
  border: 1px solid rgba(210, 255, 0, 0.34);
  background: rgba(88, 113, 2, 0.12);
}

.project-card .project-tags {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tag {
  font-size: 0.54rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 740;
  color: #ccd6b6;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 11, 8, 0.46);
  padding: 3px 7px;
  border-radius: 999px;
}

.project-card--muted {
  opacity: 0.46;
  filter: saturate(0.56) brightness(0.92);
}

/* —— Marquee —— */
.marquee {
  margin-top: 28px;
  overflow: hidden;
  position: relative;
}

.marquee--framed {
  margin-top: 32px;
  padding: 20px 0;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(210, 255, 0, 0.03), transparent 40%, transparent 60%, rgba(210, 255, 0, 0.03));
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 28px;
  align-items: center;
  will-change: transform;
}

.brand-chip {
  font-family: BungeeCustom, monospace;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  color: #e8ebe0;
  opacity: 0.95;
  flex-shrink: 0;
  padding: 10px 18px;
  border: 1px solid #2f3328;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.brand-chip:hover {
  border-color: rgba(210, 255, 0, 0.45);
  color: var(--default);
}

/* Marquee da secção Stack: enquadramento + chips alinhados aos freelances */
.section-stack .marquee--framed {
  position: relative;
  margin-top: clamp(22px, 3.2vw, 36px);
  padding: 18px 56px;
  border-radius: 16px;
  border: 1px solid rgba(210, 255, 0, 0.28);
  background: linear-gradient(180deg, rgba(14, 16, 12, 0.8) 0%, rgba(8, 9, 7, 0.84) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 42px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  --stack-tilt-x: 0deg;
  --stack-tilt-y: 0deg;
  --stack-shine-x: 50%;
  transform: perspective(1200px) rotateX(var(--stack-tilt-x)) rotateY(var(--stack-tilt-y));
  transition: transform 0.22s ease-out;
}

.section-stack .marquee--framed::before,
.section-stack .marquee--framed::after {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  width: 44px;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
}

.section-stack .marquee--framed::before {
  left: 1px;
  background: linear-gradient(90deg, rgba(18, 20, 16, 1) 0%, transparent 100%);
}

.section-stack .marquee--framed::after {
  right: 1px;
  background:
    linear-gradient(270deg, rgba(18, 20, 16, 1) 0%, transparent 100%),
    radial-gradient(220px 80px at var(--stack-shine-x) 0%, rgba(210, 255, 0, 0.16) 0%, transparent 70%);
}

.section-stack .marquee-track {
  gap: 12px;
}

.section-stack .brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Mona Sans", system-ui, sans-serif;
  font-size: clamp(0.8rem, 1.05vw, 0.96rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e7ecde;
  padding: 12px 16px 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(210, 255, 0, 0.24);
  background:
    linear-gradient(165deg, rgba(210, 255, 0, 0.11) 0%, rgba(210, 255, 0, 0.03) 24%, rgba(16, 20, 14, 0.92) 65%),
    linear-gradient(165deg, rgba(24, 28, 20, 0.95) 0%, rgba(11, 13, 10, 0.98) 100%);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    border-color 0.28s var(--ease-out-expo),
    color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.section-stack .brand-chip:hover {
  color: #f5ffdb;
  border-color: rgba(210, 255, 0, 0.5);
  box-shadow:
    0 10px 24px rgba(210, 255, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-3px) scale(1.03);
}

.section-stack .brand-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(210, 255, 0, 0.16) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.section-stack .brand-chip:hover::after {
  transform: translateX(120%);
}

.section-stack .brand-chip__icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: linear-gradient(145deg, rgba(210, 255, 0, 0.18), rgba(210, 255, 0, 0.05));
  border: 1px solid rgba(210, 255, 0, 0.22);
}

.section-stack .brand-chip__icon img {
  width: 17px;
  height: 17px;
  display: block;
  object-fit: contain;
}

.section-stack .brand-chip__icon--fallback {
  font-size: 0.7rem;
  color: #f1ffd3;
  font-weight: 900;
}

.section-stack .brand-chip__label {
  line-height: 1;
}

/* —— Helmets —— */
.helmets {
  background: #000;
}

.preloader {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.helmets-inner {
  margin-top: -20px;
}

.helmet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
}

.helmet-card {
  position: relative;
  min-height: 300px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-2);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.helmet-card:hover {
  border-color: #3a4030;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.helmet-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform 0.5s var(--ease-out-expo);
}

.helmet-card:hover img:first-of-type {
  transform: scale(1.03);
}

.helmet-card img.hover {
  position: absolute;
  inset: 0;
  height: 100%;
  clip-path: ellipse(0% 0% at 60% 0);
  transition: clip-path 0.55s var(--ease-out-expo);
}

.helmet-card:hover img.hover,
.helmet-card.active img.hover {
  clip-path: ellipse(82% 85% at 60% 0);
}

.helmet-meta {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 0.86rem;
  text-transform: uppercase;
  font-weight: 700;
}

.helmet-meta strong {
  color: var(--default);
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .project-showcase-grid--desktop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-showcase-grid--desktop .project-showcase-card {
    grid-column: span 1;
    grid-row: span 1;
  }

  .project-showcase-grid--desktop .project-showcase-card:nth-child(4n + 1) {
    grid-column: span 1;
  }

  .menu-shell {
    padding: 20px 16px 24px;
  }

  .menu-shell__body {
    gap: 16px;
    align-items: start;
    justify-content: stretch;
  }

  .menu-shell__mosaic {
    display: none;
  }

  .menu-shell__cell--1 {
    transform: rotate(-1deg) translate(-1px, 2px);
  }

  .menu-shell__cell--2 {
    transform: rotate(0.8deg) translate(2px, -2px);
    margin-bottom: 0;
  }

  .menu-shell__cell--3 {
    transform: rotate(0.8deg) translate(-2px, 2px);
    margin-top: 0;
    margin-right: 0;
  }

  .menu-shell__cell--4 {
    transform: rotate(-0.6deg) translate(2px, 2px);
    margin-left: 0;
  }

  .menu-shell__pane {
    min-height: 0;
    align-items: stretch;
    text-align: left;
    padding-left: 0;
    width: 100%;
  }

  .menu-shell__topo {
    display: none;
  }

  .menu-shell__nav {
    margin-top: 2px;
  }

  .menu-shell__links {
    align-items: flex-start;
    gap: 10px;
  }

  .menu-main-link {
    font-size: clamp(1.14rem, min(7.2vw, 4.2vh), 1.92rem);
    letter-spacing: -0.02em;
    padding: 0.12em 0;
  }

  .menu-shell__meta {
    width: 100%;
    gap: 18px;
  }

  .menu-shell__social-block {
    justify-items: start;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(217, 255, 0, 0.16);
  }

  .menu-shell__socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 10px 12px;
  }

  .menu-shell__badge {
    align-items: flex-start;
    text-align: left;
    gap: 6px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .menu-shell__badge-icon {
    width: 28px;
    height: 28px;
  }

  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: 10px 6px;
  }

  .career-body {
    grid-template-columns: 1fr;
  }

  .helmet-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-cta-perspective {
    margin-left: 0;
    width: 100%;
  }

  .footer-cta {
    clip-path: polygon(0 5%, 34% 5%, 41% 0, 59% 0, 66% 5%, 100% 5%, 100% 100%, 0 100%);
  }

  .footer-cta-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    align-items: center;
    justify-items: center;
    text-align: center;
    padding: 46px 12px 0;
    min-height: 470px;
  }

  .footer-cta-signature {
    top: 56px;
    transform: translateX(-22%) rotate(-7deg);
  }

  .footer-cta-col {
    justify-self: center;
    text-align: center;
    max-width: 100%;
    padding-bottom: 0;
  }

  .footer-cta-col--left {
    grid-row: 3;
  }

  .footer-cta-avatar-wrap {
    grid-row: 2;
    width: min(100%, 320px);
  }

  .footer-cta-col--right {
    grid-row: 4;
    margin-bottom: 18px;
  }

  .footer-cta-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .footer-cta-partners {
    justify-content: center;
  }

  .footer-cta-action {
    align-self: center;
  }

  .footer-tags {
    gap: 8px;
  }

  .footer-tags li {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    padding: 7px 12px 6px;
  }

  .footer-meta-row {
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom {
    gap: 14px;
  }

  .footer-legal {
    letter-spacing: 0.06em;
  }

  .project-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .project-card__content {
    grid-template-columns: 1fr;
    align-items: start;
    max-width: 100%;
  }

  .section-projetos .project-card {
    padding: 8px 10px;
    gap: 8px;
  }

  .section-projetos .project-card h3 {
    font-size: clamp(0.94rem, 3vw + 0.24rem, 1.26rem);
  }

  .section-contato-overlay {
    margin-top: 0;
    padding-top: clamp(66px, 12vw, 94px);
    padding-bottom: clamp(72px, 12vw, 108px);
  }

  .contato-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto auto;
    align-items: center;
    justify-items: center;
    padding: 12px 12px 0;
    min-height: 280px;
    text-align: center;
    clip-path: polygon(0 5%, 34% 5%, 41% 0, 59% 0, 66% 5%, 100% 5%, 100% 100%, 0 100%);
  }

  .contato-showcase-top {
    grid-column: 1;
    grid-row: 1;
    width: calc(100% + 24px);
    margin-top: -12px;
    margin-left: -12px;
  }

  .contato-showcase-headline,
  .contato-showcase-script,
  .contato-showcase-image-wrap,
  .contato-showcase-text--left,
  .contato-showcase-text--right,
  .contato-showcase-footer {
    grid-column: 1;
  }

  .contato-showcase-headline {
    grid-row: 2;
  }

  .contato-showcase-script {
    grid-row: 2;
    transform: translateY(-26%) rotate(-8deg);
  }

  .contato-showcase-image-wrap {
    grid-row: 3;
    width: min(100%, 330px);
  }

  .contato-showcase-text--left,
  .contato-showcase-text--right {
    grid-row: auto;
    text-align: center;
    padding: 0;
  }

  .contato-showcase-footer {
    grid-row: 6;
    width: calc(100% + 24px);
    margin-left: -12px;
    margin-right: -12px;
  }

  .project-card .project-year,
  .project-card .project-role {
    justify-self: start;
  }

  .project-card--media {
    margin: 0;
    min-height: 112px;
  }

  .trajetoria-expansion__frame-wrap {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 94px;
    padding-bottom: 48px;
  }

  .trajetoria-expansion__story {
    width: min(100%, 640px);
    border-radius: 16px;
    padding: 18px 16px 20px;
  }

  .section-trajetoria .trajetoria-title {
    font-size: clamp(2rem, 11vw, 5.2rem);
    line-height: 0.9;
  }

  .trajetoria-expansion {
    --split-shift: 22vw;
  }

  .trajetoria-expansion__frame {
    border-radius: 0;
    max-width: 100vw;
    max-height: 100dvh;
  }

  .section-stack .marquee--framed {
    padding: 16px 28px;
  }

  .stack-pin-inner {
    padding: 0;
  }

  .section-stack .marquee--framed::before,
  .section-stack .marquee--framed::after {
    width: 22px;
  }
}

@media (max-width: 640px) {
  #sobre::before {
    opacity: 0.54;
    background-position: center 20%;
  }

  #sobre::after {
    background:
      radial-gradient(96% 70% at 50% 28%, rgba(210, 255, 0, 0.06), transparent 72%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.42) 70%, rgba(0, 0, 0, 0.54) 100%);
  }

  #sobre .career-body {
    padding-inline: 12px;
    gap: 14px;
  }

  #sobre .career-media h4 {
    font-size: clamp(1.32rem, 7.2vw, 1.9rem);
    line-height: 1.08;
  }

  #sobre .career-media h5 {
    font-size: clamp(1.24rem, 6.8vw, 1.78rem);
    line-height: 1.12;
  }

  #sobre .career-media h4 .hl-wrap,
  #sobre .career-media h5 .hl-wrap {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  #sobre .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #sobre .stats article {
    padding: 8px;
  }

  #sobre .stats small {
    font-size: 0.62rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  #sobre .perfil-stats.stats strong {
    font-size: clamp(1.9rem, 10.5vw, 2.8rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
  }

  #sobre .stat-average-row .stat-suffix {
    font-size: clamp(0.74rem, 3.8vw, 0.96rem);
  }

  .project-showcase-grid {
    width: 100%;
    gap: 10px;
  }

  .project-showcase-card {
    border-radius: 8px;
  }

  .project-showcase-card__media {
    min-height: 148px;
    aspect-ratio: 16 / 10;
  }

  .project-showcase-card__caption {
    padding: 10px 10px;
    gap: 6px;
  }

  .project-showcase-card__caption h3 {
    font-size: 0.9rem;
  }

  .project-showcase-card__cta {
    min-height: 32px;
  }

  .project-showcase-grid {
    grid-template-columns: 1fr;
  }

  .project-showcase-card {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 0;
  }

  .hero-wordmark {
    top: 14px;
    left: 14px;
    font-size: 0.92rem;
    letter-spacing: 0.07em;
  }

  .trajetoria-expansion__story {
    width: calc(100% - 20px);
    border-radius: 12px;
    padding: 16px 14px 18px;
  }

  .ln-footer-shell {
    width: min(96%, 520px);
    min-height: unset;
    padding: 14px 12px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .ln-footer-hero {
    position: relative;
    inset: auto;
    width: 100%;
    justify-content: flex-start;
    padding-top: 4px;
  }

  .ln-footer-headline {
    margin: 0 0 6px;
    font-size: clamp(1.25rem, 7.2vw, 1.8rem);
    line-height: 0.96;
    letter-spacing: -0.02em;
    text-wrap: balance;
    padding: 0 10px;
  }

  .ln-footer-image-wrap {
    margin-top: 8px;
    width: min(100%, 220px);
  }

  .ln-footer-image {
    height: auto;
    max-height: 220px;
    object-fit: contain;
    object-position: center bottom;
  }

  .ln-footer-links {
    position: relative;
    top: auto;
    transform: none;
    width: 100%;
    max-width: none;
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .ln-footer-links--left {
    left: auto;
  }

  .ln-footer-links--right {
    right: auto;
  }

  .ln-links-label {
    margin-bottom: 8px;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-align: left;
  }

  .ln-footer-links ul {
    display: grid;
    gap: 4px;
  }

  .ln-footer-links .menu-item {
    font-size: clamp(0.86rem, 3.7vw, 0.98rem);
    line-height: 1.12;
    letter-spacing: 0;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .ln-footer-links .menu-link {
    padding: 3px 0;
  }

  .ln-footer-links .menu-text--accent,
  .ln-footer-links .menu-bg {
    display: none;
  }

  .ln-footer-links .menu-link:hover .menu-text,
  .ln-footer-links .menu-link:focus-visible .menu-text,
  .ln-footer-links .menu-link.is-active .menu-text {
    transform: none;
  }

  .ln-footer-marquee-wrap {
    display: none;
  }

  .ln-footer-legal-row {
    padding-top: 6px;
    gap: 10px;
  }

  .ln-footer-copyright {
    font-size: 0.76rem;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 420px) {
  #sobre .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .ln-footer-shell {
    padding: 12px 10px 0;
  }

  .ln-footer-headline {
    font-size: clamp(1.12rem, 7vw, 1.42rem);
  }

  .ln-footer-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ln-footer-image-wrap {
    width: min(100%, 198px);
  }
}

@media (hover: none), (pointer: coarse) {
  .project-card--media::after {
    display: none;
  }

  .project-card--media:hover,
  .project-card--media:focus-visible {
    transform: translateY(0);
  }

  .project-card--media:hover .project-card__bg,
  .project-card--media:focus-visible .project-card__bg {
    transform: scale(1.02);
  }

  .helmet-card:hover img.hover {
    clip-path: ellipse(0% 0% at 60% 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-scroll-rail {
    display: none !important;
  }

  .burger-line {
    transition-duration: 0.01ms;
  }

  .project-card--media {
    transform: none;
    transition: border-color 0.2s ease;
  }

  .project-card__bg {
    transform: none;
    transition: none;
  }

  .project-card--media::after {
    display: none;
  }

  .menu-root {
    transition-duration: 0.01ms;
  }

  .menu-shell__cell img,
  .helmet-card img,
  .helmet-card img.hover {
    transition-duration: 0.01ms;
  }

  tbody tr {
    transition: none;
  }

  .section-stack .brand-chip:hover {
    transform: none;
  }

  .stack-gradient-bar {
    animation: none;
  }

  .trajetoria-expansion__bg,
  .trajetoria-expansion__date,
  .trajetoria-expansion__hint,
  .trajetoria-expansion__title {
    transition: none;
  }
}
