/* ============================================================
   HUGO ANDRADE — PORTFÓLIO
   style.css — Tokens, reset, base, componentes, seções, animações
   ============================================================ */

@font-face {
  font-family: 'Carbona Standard';
  src: url('assets/fonts/carbona/Webfonts/Carbona-ExtraLight.woff2') format('woff2');
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: 'Carbona Standard';
  src: url('assets/fonts/carbona/Webfonts/Carbona-Light.woff2') format('woff2');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Carbona Standard';
  src: url('assets/fonts/carbona/Webfonts/Carbona-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Carbona Standard';
  src: url('assets/fonts/carbona/Webfonts/Carbona-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Carbona Standard';
  src: url('assets/fonts/carbona/Webfonts/Carbona-SemiBold.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Carbona Standard';
  src: url('assets/fonts/carbona/Webfonts/Carbona-RegularSlanted.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Carbona Standard';
  src: url('assets/fonts/carbona/Webfonts/Carbona-MediumSlanted.woff2') format('woff2');
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Carbona Standard';
  src: url('assets/fonts/carbona/Webfonts/Carbona-SemiBoldSlanted.woff2') format('woff2');
  font-style: italic;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Carbona Mono';
  src: url('assets/fonts/carbona/Webfonts/Carbona-MonoRegular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Carbona Mono';
  src: url('assets/fonts/carbona/Webfonts/Carbona-MonoMedium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Carbona Mono';
  src: url('assets/fonts/carbona/Webfonts/Carbona-MonoBold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* --- 1. Custom Properties ------------------------------------ */
:root {
  /* palette */
  --color-black:       #050505;
  --color-black-soft:  #111111;
  --color-lime:        #C6FF00;
  --color-lime-bright: #D7FF3F;
  --color-lime-dim:    #7A9E00;
  --color-white:       #F5F5F0;
  --color-gray:        #8A8A84;
  --color-gray-dark:   #3A3A36;
  --color-line:        rgba(245, 245, 240, 0.18);
  --color-dark-line:   rgba(5, 5, 5, 0.18);

  /* typography */
  --font-display:  'Carbona Standard', 'Helvetica Neue', Arial, sans-serif;
  --font-body:     'Carbona Standard', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:     'Carbona Mono', 'Courier New', monospace;

  /* scale */
  --fs-hero:    clamp(5rem, 14vw, 12rem);
  --fs-display: clamp(4rem, 9vw, 9rem);
  --fs-section: clamp(3rem, 7vw, 6rem);
  --fs-card:    clamp(2rem, 4vw, 5rem);
  --fs-body-lg: clamp(1.25rem, 2vw, 2rem);
  --fs-body:    clamp(1rem, 1.15vw, 1.2rem);
  --fs-label:   0.7rem;
  --fs-mono:    0.75rem;

  /* spacing */
  --sp-pad:   clamp(24px, 3vw, 48px);
  --sp-gap:   clamp(16px, 2vw, 32px);

  /* layout */
  --max-content: 1600px;
  --header-h: 80px;

  /* z-index */
  --z-cursor:   9999;
  --z-preload:  10000;
  --z-menu:     9000;
  --z-header:   8000;
}

/* --- 20. Swiss grid refactor ---------------------------------- */
.layout-grid {
  position: fixed;
  inset: 0 var(--sp-pad);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  pointer-events: none;
  opacity: 0.1;
  mix-blend-mode: difference;
}
.layout-grid span {
  border-left: 1px solid var(--color-white);
}
.layout-grid span:last-child {
  border-right: 1px solid var(--color-white);
}

.header {
  --page-progress: 0;
  height: 64px;
  mix-blend-mode: normal;
  background: var(--color-black);
  border-bottom: 1px solid var(--color-line);
}
.header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--color-lime);
  transform: scaleX(var(--page-progress));
  transform-origin: left;
}
.header__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding: 0 var(--sp-pad);
}
.header__logo {
  grid-column: 1 / 5;
  align-self: center;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 0.76rem;
}
.header__section-indicator {
  grid-column: 5 / 10;
  align-self: stretch;
  justify-content: center;
  border-left: 1px solid var(--color-line);
  border-right: 1px solid var(--color-line);
}
.header__menu-btn {
  grid-column: 10 / 13;
  justify-self: stretch;
  align-self: stretch;
  justify-content: flex-end;
  padding: 0 0 0 20px;
  color: var(--color-black);
  background: var(--color-lime);
}
.header__menu-text,
.header__menu-icon span {
  color: var(--color-black);
}
.header__menu-icon span {
  background: var(--color-black);
}
body.menu--open .header {
  background: var(--color-lime);
  border-color: var(--color-dark-line);
}
body.menu--open .header__logo,
body.menu--open .header__section-indicator {
  color: var(--color-black);
}
body.menu--open .header__section-indicator {
  border-color: var(--color-dark-line);
}

.menu__bg {
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}
.menu.menu--open .menu__bg {
  transform: scaleX(1);
}
.menu__content {
  justify-content: flex-start;
  padding: calc(var(--header-h) + 56px) var(--sp-pad) 72px;
}
.menu__instruction {
  margin: 0 0 24px;
  opacity: 0.7;
}
.menu__list {
  width: 100%;
  gap: 0;
  border-bottom: 1px solid var(--color-dark-line);
}
.menu__item {
  position: relative;
  border-top: 1px solid var(--color-dark-line);
}
.menu__link {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(44px, 1fr) 11fr;
  align-items: center;
  min-height: clamp(64px, 11vh, 104px);
  gap: 0;
  padding: 0 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(48px);
  transition: color 240ms ease, opacity 450ms cubic-bezier(0.22, 1, 0.36, 1), transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}
.menu__link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}
.menu.menu--open .menu__link {
  opacity: 1;
  transform: translateY(0);
}
.menu.menu--open .menu__item:nth-child(2) .menu__link { transition-delay: 55ms; }
.menu.menu--open .menu__item:nth-child(3) .menu__link { transition-delay: 100ms; }
.menu.menu--open .menu__item:nth-child(4) .menu__link { transition-delay: 145ms; }
.menu.menu--open .menu__item:nth-child(5) .menu__link { transition-delay: 190ms; }
.menu.menu--open .menu__item:nth-child(6) .menu__link { transition-delay: 235ms; }
.menu__link:hover {
  color: var(--color-lime);
  opacity: 1;
}
.menu__link:hover::before {
  transform: scaleX(1);
}
.menu__num {
  opacity: 0.8;
}
.menu__label {
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
}

.hero {
  align-items: stretch;
  justify-content: stretch;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(5, 5, 5, 0.58);
  pointer-events: none;
}
.hero__content {
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  align-content: stretch;
  gap: 18px 0;
  height: 100%;
  padding: calc(var(--header-h) + 28px) var(--sp-pad) 32px;
  text-align: left;
}
.hero__tagline {
  grid-column: 1 / 13;
  justify-content: flex-start;
  align-self: start;
  min-height: 44px;
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-line);
}
.hero__title {
  grid-column: 1 / 12;
  align-self: center;
  margin: 0;
}
.hero__title-line {
  width: max-content;
  max-width: 100%;
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.04em;
}
.hero__title-line--2 {
  margin-top: 0;
  margin-left: clamp(56px, 10vw, 160px);
}
.hero__concept {
  grid-column: 8 / 13;
  align-self: end;
  margin: 0 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--color-line);
}
.hero__concept-main {
  max-width: 12ch;
  font-size: clamp(1.5rem, 3.2vw, 3.5rem);
  line-height: 0.95;
}
.hero__concept-sub {
  max-width: 38ch;
  margin-top: 12px;
  color: rgba(245, 245, 240, 0.72);
}
.hero__interactive {
  grid-column: 1 / 8;
  justify-content: flex-start;
  align-self: end;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--color-line);
}
.hero__verb {
  font-size: clamp(1rem, 2.4vw, 2.25rem);
  font-weight: 600;
}
.hero__scroll-hint {
  grid-column: 11 / 13;
  grid-row: 4;
  align-self: end;
  justify-self: end;
  margin: 0;
}
.hero__fourth-wall {
  display: none;
}
.hero__pause-btn {
  z-index: 4;
}

.title-wipe {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  isolation: isolate;
}
.title-wipe__text {
  display: block;
  will-change: clip-path;
}
.title-wipe__bar {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--color-lime);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
  will-change: transform;
}
.manifesto .title-wipe__bar,
.menu .title-wipe__bar {
  background: var(--color-black);
}

.trajetoria__header,
.projetos__header {
}
.trajetoria__title,
.projetos__title,
.sobre__title,
.contato__title {
  max-width: 12ch;
  font-size: var(--fs-section);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.trajetoria__chapter-title {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.94;
  text-wrap: balance;
}
.projeto-card {
  grid-template-columns: 64px minmax(0, 7fr) minmax(180px, 3fr);
  min-height: 132px;
  align-items: center;
}
.projeto-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.sobre,
.contato {
  border-top: 1px solid var(--color-line);
}

@media (max-width: 1024px) {
  .layout-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .layout-grid span:nth-child(n + 5) {
    display: none;
  }
  .hero__title {
    grid-column: 1 / 13;
  }
  .hero__concept {
    grid-column: 7 / 13;
  }
}

@media (max-width: 768px) {
  .layout-grid {
    inset: 0 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    opacity: 0.08;
  }
  .layout-grid span:nth-child(n + 3) {
    display: none;
  }
  .header {
    height: 56px;
  }
  .header__inner {
    padding: 0 16px;
  }
  .header__logo {
    grid-column: 1 / 8;
  }
  .header__menu-btn {
    grid-column: 8 / 13;
    padding-left: 12px;
  }
  .menu__content {
    padding: 92px 16px 64px;
  }
  .menu__link {
    grid-template-columns: 40px 1fr;
    min-height: clamp(58px, 10vh, 76px);
    padding: 0 4px;
  }
  .menu__label {
    font-size: clamp(2.2rem, 12vw, 4.2rem);
  }
  .menu__footer {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .hero__content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    padding: 76px 16px 18px;
    gap: 12px 0;
  }
  .hero__tagline,
  .hero__title {
    grid-column: 1 / 3;
  }
  .hero__tagline {
    min-height: 34px;
    padding-bottom: 9px;
  }
  .hero__title-line {
    font-size: clamp(4rem, 22vw, 7rem);
  }
  .hero__title-line--2 {
    margin-left: 0;
  }
  .hero__concept {
    grid-column: 2 / 3;
    padding-top: 10px;
  }
  .hero__concept-main {
    font-size: clamp(1.15rem, 6vw, 1.8rem);
  }
  .hero__concept-sub {
    display: none;
  }
  .hero__interactive {
    grid-column: 1 / 3;
    gap: 8px;
    padding-top: 10px;
  }
  .hero__verb {
    font-size: clamp(0.9rem, 4vw, 1.3rem);
  }
  .hero__scroll-hint {
    display: none;
  }
  .trajetoria__title,
  .projetos__title,
  .sobre__title,
  .contato__title {
    font-size: clamp(2.6rem, 14vw, 4.6rem);
  }
  .projeto-card {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 104px;
  }
  .projeto-card__meta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .title-wipe__bar {
    display: none;
  }
  .menu__link {
    transition: none;
  }
}

/* --- 2. Reset ------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}

img, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

ul, ol {
  list-style: none;
}

::selection {
  background: var(--color-lime);
  color: var(--color-black);
}

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

/* --- 3. Base -------------------------------------------------- */
.no-js .hero__title-line,
.no-js .hero__concept,
.no-js .hero__interactive,
.no-js .hero__scroll-hint,
.no-js .hero__tagline,
.no-js .hero__fourth-wall,
.no-js .preloader {
  opacity: 1 !important;
  display: block;
}
.no-js body {
  cursor: auto;
}

.font-display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.015em;
  word-spacing: -0.06em;
  font-kerning: normal;
  font-optical-sizing: auto;
}

.font-mono {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-kerning: normal;
}

.font-body {
  font-family: var(--font-body);
  font-kerning: normal;
  font-optical-sizing: auto;
}

.type-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: inherit;
}

.section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* --- 4. Preloader --------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-preload);
  display: block;
  background: var(--color-black);
  overflow: hidden;
  transition: visibility 0s linear 0.7s;
}
.preloader--hidden {
  visibility: hidden;
  pointer-events: none;
}
.preloader__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-lime);
  transform: scaleY(0);
  transform-origin: bottom;
}
.preloader__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: 100%;
  height: 100%;
  padding: clamp(22px, 3vw, 48px);
  text-align: left;
  color: var(--color-white);
}
.preloader__label {
  grid-row: 3;
  margin: 0 0 clamp(16px, 2vw, 28px);
  font-size: clamp(0.62rem, 0.75vw, 0.76rem);
  color: rgba(245, 245, 240, 0.72);
  opacity: 1;
}
.preloader__progress {
  position: relative;
  grid-row: 2;
  align-self: center;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: min(100%, 920px);
  min-height: clamp(210px, 38vh, 430px);
  margin: 0 auto;
  padding: clamp(22px, 3vw, 46px);
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: #0d0d0d;
  opacity: 1;
  perspective: 900px;
}
.preloader__progress::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(245, 245, 240, 0.12);
  pointer-events: none;
}
.preloader__percent {
  font-size: clamp(9rem, 25vw, 24rem);
  font-weight: 300;
  color: var(--color-lime);
  line-height: 0.72;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}
.preloader__pct {
  position: relative;
  z-index: 1;
  padding-bottom: 0.2em;
  font-size: clamp(0.65rem, 1vw, 0.85rem);
  color: rgba(245, 245, 240, 0.58);
  margin-left: 16px;
}
.preloader__bar {
  grid-row: 4;
  width: 100%;
  height: 2px;
  background: rgba(245, 245, 240, 0.15);
  margin: 0;
  opacity: 1;
  transform-origin: left;
}
.preloader__bar-fill {
  height: 100%;
  width: 0%;
  background: var(--color-lime);
  transition: width 0.18s linear;
}
.preloader__corners {
  grid-row: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: clamp(18px, 2vw, 28px);
  border-bottom: 1px solid var(--color-line);
  pointer-events: none;
  font-size: clamp(0.58rem, 0.7vw, 0.7rem);
  color: rgba(245, 245, 240, 0.72);
  opacity: 1;
}
.preloader--complete .preloader__content,
.preloader--complete .preloader__label,
.preloader--complete .preloader__pct,
.preloader--complete .preloader__corners {
  color: var(--color-black);
}
.preloader--complete .preloader__progress {
  border-color: var(--color-dark-line);
  background: transparent;
}
.preloader--complete .preloader__progress::after,
.preloader--complete .preloader__bar {
  background: var(--color-dark-line);
}
.preloader--complete .preloader__percent {
  color: var(--color-black);
}
.preloader--complete .preloader__bar-fill {
  background: var(--color-black);
}

@media (max-width: 768px) {
  .preloader__content {
    padding: max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
  }
  .preloader__progress {
    min-height: clamp(220px, 42svh, 360px);
    padding: 22px 18px;
  }
  .preloader__percent {
    font-size: clamp(8rem, 42vw, 12rem);
  }
  .preloader__label { margin-bottom: 18px; }
}

/* --- 5. Header ------------------------------------------------ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  mix-blend-mode: difference;
  transition: transform 0.4s ease;
}
.header--hidden {
  transform: translateY(-100%);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--sp-pad);
  max-width: 100%;
}
.header__logo {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--color-white);
}
.header__section-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  color: var(--color-gray);
}
.header__section-num {
  color: var(--color-lime);
}
.header__menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.header__menu-text {
  font-size: 0.65rem;
  color: var(--color-white);
}
.header__menu-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.header__menu-icon span {
  display: block;
  height: 1.5px;
  background: var(--color-white);
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}
body.menu--open .header__menu-icon span:nth-child(1) {
  transform: translateY(2.75px) rotate(45deg);
}
body.menu--open .header__menu-icon span:nth-child(2) {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* --- 6. Fullscreen Menu --------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  pointer-events: none;
  visibility: hidden;
}
.menu--open {
  pointer-events: auto;
  visibility: visible;
}
.menu__bg {
  position: absolute;
  inset: 0;
  background: var(--color-lime);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.18, 1);
}
.menu.menu--open .menu__bg {
  transform: scaleY(1);
}
.menu__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: var(--sp-pad);
  padding-top: calc(var(--header-h) + var(--sp-pad));
}
.menu__instruction {
  color: var(--color-black);
  opacity: 0.5;
  margin-bottom: 48px;
  font-size: 0.65rem;
}
.menu__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.menu__item {
  overflow: hidden;
}
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--color-black);
  transition: opacity 0.3s ease;
}
.menu__link:hover {
  opacity: 0.7;
}
.menu__num {
  font-size: 0.65rem;
  opacity: 0.5;
  min-width: 24px;
}
.menu__label {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.85;
}
.menu__footer {
  position: absolute;
  bottom: var(--sp-pad);
  left: var(--sp-pad);
  right: var(--sp-pad);
  display: flex;
  justify-content: space-between;
  color: var(--color-black);
  opacity: 0.4;
  z-index: 1;
  font-size: 0.6rem;
}

/* --- 7. Cursor ------------------------------------------------ */
body.has-cursor .cursor {
  display: block;
}
.cursor {
  display: none;
  position: fixed;
  z-index: var(--z-cursor);
  pointer-events: none;
  mix-blend-mode: difference;
}
.cursor__dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--color-lime);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.15s ease, height 0.15s ease, background 0.15s ease;
}
.cursor__ring {
  position: fixed;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--color-lime);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cursor__ring--visible {
  transform: translate(-50%, -50%) scale(1);
}
.cursor__label {
  font-size: 0.5rem;
  color: var(--color-lime);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.cursor__ring--visible .cursor__label {
  opacity: 1;
}
.cursor__dot--hidden {
  width: 0;
  height: 0;
}

/* --- 8. Hero -------------------------------------------------- */
.hero {
  height: 100svh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-black);
}
.hero--offscreen {
  visibility: hidden;
}
.hero__video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}
.hero__image {
  object-position: center center;
  filter: saturate(0.9) contrast(1.06) brightness(0.86);
  transform: scale(1.015);
}
.hero__video-fallback {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--color-black-soft);
}
.hero__fallback-grid {
  position: absolute;
  inset: 0;
  background-color: var(--color-black-soft);
  outline: 1px solid rgba(198, 255, 0, 0.04);
  outline-offset: -1px;
  animation: heroGridPulse 4s ease-in-out infinite;
}
@keyframes heroGridPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: contrast(180%);
  -webkit-filter: contrast(180%);
}
.hero__ogl {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero__ogl canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: var(--max-content);
  padding: var(--sp-pad);
}
.hero__tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.6rem;
  color: var(--color-gray);
  margin-bottom: 24px;
  opacity: 0;
}
.hero__tagline-sep {
  color: var(--color-lime);
}
.hero__title {
  margin-bottom: 16px;
  overflow: hidden;
}
.hero__title-line {
  display: block;
  font-size: var(--fs-hero);
  line-height: 0.78;
  letter-spacing: -0.03em;
  color: var(--color-white);
  opacity: 0;
}
.hero__title-line--2 {
  color: var(--color-lime);
  margin-top: -0.08em;
  opacity: 0;
}
.hero__concept {
  margin-bottom: 40px;
  opacity: 0;
}
.hero__concept-main {
  font-size: clamp(1.3rem, 3.5vw, 3rem);
  color: var(--color-white);
  line-height: 1;
}
.hero__concept-dot {
  color: var(--color-lime);
}
.hero__concept-sub {
  font-size: var(--fs-body);
  color: var(--color-gray);
  margin-top: 4px;
}
.hero__interactive {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  opacity: 0;
}
.hero__verb {
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  color: var(--color-white);
  transition: color 0.3s ease;
}
.hero__verb:hover,
.hero__verb--active {
  color: var(--color-lime);
}
.hero__verb-divider {
  color: var(--color-gray);
  font-size: 0.8rem;
}
.hero__scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  opacity: 0;
}
.hero__scroll-arrow {
  color: var(--color-lime);
}
.hero__scroll-dot {
  animation: scrollDotAnim 2s ease-in-out infinite;
}
@keyframes scrollDotAnim {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}
.hero__scroll-text {
  font-size: 0.6rem;
  color: var(--color-gray);
}
.hero__fourth-wall {
  position: absolute;
  bottom: var(--sp-pad);
  left: var(--sp-pad);
  font-size: 0.6rem;
  color: var(--color-gray);
  max-width: 280px;
  z-index: 2;
  opacity: 0;
}
.hero__fourth-wall--1 {
  left: var(--sp-pad);
  right: auto;
}
.hero__pause-btn {
  position: absolute;
  bottom: var(--sp-pad);
  right: var(--sp-pad);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.55rem;
  color: var(--color-gray);
  padding: 8px;
  transition: color 0.2s ease;
}
.hero__pause-btn:hover {
  color: var(--color-lime);
}
.hero__pause-btn[hidden] {
  display: none;
}
.hero__pause-label--alt {
  display: none;
}
.hero__pause-btn.hero__pause-btn--paused .hero__pause-label {
  display: none;
}
.hero__pause-btn.hero__pause-btn--paused .hero__pause-label--alt {
  display: block;
}

/* --- 9. Manifesto (Horizontal Scroll) --------------------------- */
.manifesto {
  --manifest-progress: 0;
  background: var(--color-lime);
  color: var(--color-black);
  overflow: hidden;
  height: 100svh;
}
.manifesto__hud {
  position: absolute;
  left: var(--sp-pad);
  right: var(--sp-pad);
  bottom: 24px;
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  color: var(--color-black);
  pointer-events: none;
}
.manifesto__hud-origin,
.manifesto__hud-destination,
.manifesto__hud-count {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}
.manifesto__hud-count {
  min-width: 52px;
  text-align: right;
}
.manifesto__progress-rail {
  position: relative;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.manifesto__progress-rail::before,
.manifesto__progress-fill {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(5, 5, 5, 0.24);
}
.manifesto__progress-fill {
  background: var(--color-black);
  transform: scaleX(var(--manifest-progress));
  transform-origin: left center;
}
.manifesto__progress-node {
  position: relative;
  z-index: 1;
  width: 6px;
  height: 6px;
  border: 1px solid var(--color-black);
  border-radius: 50%;
  background: var(--color-lime);
  transition: background-color 180ms ease, transform 180ms ease;
}
.manifesto__progress-node--active {
  background: var(--color-black);
  transform: scale(1.5);
}
.manifesto__track {
  display: flex;
  height: 100%;
  gap: clamp(64px, 7vw, 120px);
  width: max-content;
  will-change: transform;
}
.manifesto__block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 80vw;
  padding: var(--sp-pad);
  flex-shrink: 0;
  position: relative;
}
.manifesto__block--hero {
  min-width: 100vw;
  width: 100vw;
  padding-right: var(--sp-pad);
  justify-content: center;
  align-items: center;
  height: 100%;
}
.manifesto__block--content {
  min-width: min(88vw, 1280px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
  padding: var(--sp-pad) clamp(40px, 6vw, 96px);
  isolation: isolate;
}
.manifesto__block--content::after {
  content: attr(data-stage);
  position: absolute;
  top: var(--sp-pad);
  right: var(--sp-pad);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: rgba(5, 5, 5, 0.55);
}
.manifesto__block--punch {
  justify-content: center;
  align-items: flex-start;
  padding-right: 120px;
}
.manifesto__hero-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.08em;
  white-space: normal;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.82;
  width: min(100%, 11ch);
  text-align: center;
}
.manifesto__word {
  display: inline-block;
  will-change: transform, opacity;
}
.manifesto__text-col {
  position: relative;
  z-index: 2;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.manifesto__stage-word {
  position: absolute;
  left: 4%;
  bottom: 5%;
  z-index: 0;
  font-size: clamp(10rem, 24vw, 28rem);
  line-height: 0.7;
  color: var(--color-black);
  opacity: 0.035;
  white-space: nowrap;
  pointer-events: none;
}
.manifesto__num {
  font-size: clamp(8rem, 15vw, 18rem);
  line-height: 0.7;
  color: var(--color-black);
  opacity: 0.04;
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}
.manifesto__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--color-lime);
  background: var(--color-black);
  padding: 6px 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: fit-content;
}
.manifesto__label::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--color-lime);
}
.manifesto__big {
  font-size: clamp(3rem, 6.4vw, 7.2rem);
  line-height: 0.85;
  margin: 12px 0;
  text-transform: uppercase;
}
.manifesto__tagline {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-black);
  opacity: 0.6;
  line-height: 1.5;
  max-width: 460px;
}
.manifesto__aside {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--color-lime);
  background: var(--color-black);
  padding: 6px 12px;
  letter-spacing: 0.06em;
}
.manifesto__img {
  height: min(76vh, 760px);
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}
.manifesto__model {
  position: relative;
  z-index: 2;
  width: clamp(320px, 35vw, 580px);
  height: min(76vh, 760px);
  max-height: 760px;
  min-height: 420px;
  cursor: grab;
  touch-action: pan-y;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}
.manifesto__model--dragging {
  cursor: grabbing;
}
.manifesto__model-canvas,
.manifesto__model-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.manifesto__model-canvas {
  display: block;
  opacity: 0;
  transition: opacity 300ms cubic-bezier(0.25, 1, 0.5, 1);
}
.manifesto__model-fallback {
  object-fit: contain;
  transition: opacity 220ms ease;
}
.manifesto__model-status {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  padding: 6px 10px;
  color: var(--color-lime);
  background: var(--color-black);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.manifesto__model--ready .manifesto__model-canvas {
  opacity: 1;
}
.manifesto__model--ready .manifesto__model-fallback,
.manifesto__model--ready .manifesto__model-status {
  opacity: 0;
  pointer-events: none;
}
.manifesto__punch {
  font-size: clamp(4rem, 12vw, 12rem);
  line-height: 0.82;
  margin-bottom: 8px;
}
.manifesto__punch-sub {
  font-size: clamp(2rem, 5vw, 5rem);
  opacity: 0.5;
}

/* --- 10. Trajetória ------------------------------------------- */
.trajetoria {
  background: var(--color-black);
  color: var(--color-white);
}
.trajetoria__header {
  padding: var(--sp-pad);
  padding-top: 120px;
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--color-black);
}
.trajetoria__title {
  font-size: clamp(2.5rem, 7vw, 7rem);
  line-height: 0.9;
  max-width: 600px;
}
.trajetoria__chapter {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(40px, 7vw, 120px);
  min-height: min(88svh, 860px);
  padding: clamp(72px, 10vh, 120px) var(--sp-pad);
  align-items: center;
  border-top: 1px solid var(--color-line);
}
.trajetoria__chapter--01 { border-top: none; }
.trajetoria__chapter--02 .trajetoria__chapter-visual,
.trajetoria__chapter--04 .trajetoria__chapter-visual {
  order: 2;
}
.trajetoria__chapter--02 .trajetoria__chapter-text,
.trajetoria__chapter--04 .trajetoria__chapter-text {
  order: 1;
  justify-self: end;
}
.trajetoria__chapter-visual {
  position: relative;
  width: 100%;
  height: clamp(340px, 56svh, 580px);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-black-soft);
}
.trajetoria__chapter--02 .trajetoria__chapter-visual,
.trajetoria__chapter--04 .trajetoria__chapter-visual {
  width: 92%;
  justify-self: end;
}
.trajetoria__chapter--03 .trajetoria__chapter-visual {
  width: 94%;
}
.trajetoria__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  background: #111;
  filter: saturate(0.92) contrast(1.04);
  transform: translateZ(0);
  transition: filter 500ms ease;
}
.trajetoria__chapter-visual:hover .trajetoria__image {
  filter: saturate(1) contrast(1.06);
}
.trajetoria__number {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  font-size: clamp(6rem, 12vw, 14rem);
  color: var(--color-lime);
  opacity: 0.18;
  line-height: 0.7;
  pointer-events: none;
  mix-blend-mode: screen;
}
.trajetoria__chapter--02 .trajetoria__number,
.trajetoria__chapter--04 .trajetoria__number {
  right: auto;
  left: 20px;
}
.trajetoria__chapter-text {
  position: relative;
  max-width: 520px;
}
.trajetoria__label {
  display: inline-block;
  font-size: 0.6rem;
  color: var(--color-lime);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--color-lime);
}
.trajetoria__chapter-title {
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  line-height: 0.9;
  margin-bottom: 24px;
}
.trajetoria__desc {
  margin-bottom: 12px;
  font-size: var(--fs-body);
  color: var(--color-gray);
  line-height: 1.6;
}
.trajetoria__desc--aside {
  color: var(--color-lime);
  font-size: 0.65rem;
}
.trajetoria__desc--quote {
  color: var(--color-lime);
  padding-left: 12px;
  border-left: 2px solid var(--color-lime);
  margin: 16px 0;
}
.trajetoria__keyword {
  position: absolute;
  bottom: 0;
  right: -40px;
  font-size: clamp(5rem, 14vw, 16rem);
  color: var(--color-lime);
  opacity: 0.06;
  line-height: 0.75;
  pointer-events: none;
  white-space: nowrap;
  transform: translateY(30%);
}

/* Placeholder visuals */
.trajetoria__placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: var(--color-black-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trajetoria__mock-wf {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  width: 260px;
}
.trajetoria__mock-line {
  height: 3px;
  background: var(--color-gray-dark);
}
.trajetoria__mock-block {
  height: 60px;
  background: var(--color-lime);
  opacity: 0.08;
  width: 100%;
  margin-top: 4px;
}
.trajetoria__card-multi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 20px;
  width: 280px;
  height: 220px;
}
.trajetoria__card-item {
  background: var(--color-lime);
  opacity: 0.06;
  border: 1px solid rgba(198, 255, 0, 0.1);
}
.trajetoria__card-item:nth-child(2) { opacity: 0.09; }
.trajetoria__card-item:nth-child(3) { opacity: 0.04; }
.trajetoria__card-item:nth-child(4) { opacity: 0.07; }
.trajetoria__mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  padding: 20px;
  width: 320px;
  height: 240px;
}
.trajetoria__mosaic-cell {
  background: var(--color-lime);
  opacity: 0.04;
}
.trajetoria__mosaic-cell:nth-child(2),
.trajetoria__mosaic-cell:nth-child(5) { opacity: 0.08; }
.trajetoria__radial {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trajetoria__radial-center {
  width: 40px;
  height: 40px;
  background: var(--color-lime);
  opacity: 0.2;
  border-radius: 50%;
}
.trajetoria__radial-item {
  position: absolute;
  width: 50px;
  height: 30px;
  background: var(--color-lime);
  opacity: 0.06;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-70px);
}

/* --- 11. Projetos --------------------------------------------- */
.projetos {
  background: var(--color-black);
  color: var(--color-white);
  padding: 120px var(--sp-pad);
}
.projetos__header {
  margin-bottom: 80px;
}
.projetos__title {
  font-size: clamp(2.5rem, 7vw, 7rem);
  line-height: 0.9;
  margin-bottom: 8px;
}
.projetos__subtitle {
  color: var(--color-gray);
  font-size: 0.65rem;
}
.projetos__list {
  display: flex;
  flex-direction: column;
}
.projeto-card {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr 140px;
  gap: 24px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--color-line);
  transition: opacity 0.3s ease;
}
.projeto-card:last-child {
  border-bottom: 1px solid var(--color-line);
}
.projeto-card:hover {
  opacity: 1;
}
.projeto-card .projetos__list--dimmed .projeto-card:not(:hover) {
  opacity: 0.3;
}
.projeto-card__num {
  font-size: 1.2rem;
  color: var(--color-lime);
}
.projeto-card__title {
  font-size: clamp(1.8rem, 4.5vw, 4.5rem);
  line-height: 0.88;
  color: var(--color-white);
  transition: color 0.3s ease;
}
.projeto-card:hover .projeto-card__title,
.projeto-card--active .projeto-card__title {
  color: var(--color-lime);
}
.projeto-card__meta {
  text-align: right;
}
.projeto-card__category {
  display: block;
  font-size: 0.65rem;
  color: var(--color-gray);
}
.projeto-card__year {
  display: block;
  font-size: 0.55rem;
  color: var(--color-lime);
  margin-top: 4px;
}
.projeto-card__cta {
  display: none;
  font-size: 0.55rem;
  color: var(--color-lime);
  margin-top: 8px;
}
.projeto-card:hover .projeto-card__cta {
  display: block;
}

.projetos__hover-media {
  display: none;
  position: fixed;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  width: 420px;
  height: 280px;
  transform: translate(-50%, -50%);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.45s cubic-bezier(0.77, 0, 0.18, 1);
}
.projetos__hover-media--visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}
.projetos__hover-inner {
  width: 100%;
  height: 100%;
  background: var(--color-black-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.projetos__hover-placeholder {
  color: var(--color-gray);
  font-size: 0.55rem;
}

/* --- 12. Marcas ----------------------------------------------- */
.marcas {
  background: var(--color-black);
  color: var(--color-lime);
  padding: 0;
  overflow: hidden;
}
.marcas__marquee {
  overflow: hidden;
  padding: 48px 0;
}
.marcas__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
}
.marcas__name {
  font-size: clamp(2rem, 5vw, 5rem);
  color: var(--color-lime);
  transition: color 0.2s ease;
}
.marcas__sep {
  margin: 0 24px;
  color: var(--color-lime);
  opacity: 0.25;
  font-size: 1.5rem;
}

/* --- 13. Sobre ------------------------------------------------ */
.sobre {
  background: var(--color-black);
  color: var(--color-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-gap);
  padding: 120px var(--sp-pad);
  align-items: start;
}
.sobre__portrait {
  position: sticky;
  top: var(--header-h);
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-top: 40px;
}
.sobre__portrait-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-black-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.sobre__ph-label {
  font-size: 0.6rem;
  color: var(--color-gray);
}
.sobre__ph-dot {
  width: 6px;
  height: 6px;
  background: var(--color-lime);
  border-radius: 50%;
}
.sobre__title {
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 0.9;
  margin-bottom: 40px;
  max-width: 500px;
}
.sobre__text p {
  margin-bottom: 16px;
  font-size: var(--fs-body);
  color: var(--color-gray);
  line-height: 1.7;
}
.sobre__highlight {
  color: var(--color-lime);
  transition: background 0.2s ease, color 0.2s ease;
}
.sobre__highlight:hover {
  background: var(--color-lime);
  color: var(--color-black);
}
.sobre__aside {
  color: var(--color-lime);
  font-size: 0.65rem;
  margin-top: 20px;
}

/* --- 14. Contato ---------------------------------------------- */
.contato {
  background: var(--color-lime);
  color: var(--color-black);
  padding: 120px var(--sp-pad);
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.contato__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  width: 100%;
}
.contato__title {
  font-size: clamp(3rem, 8vw, 9rem);
  line-height: 0.82;
  margin-bottom: 16px;
}
.contato__title span {
  display: block;
}
.contato__subtitle {
  font-size: 0.65rem;
  color: var(--color-black);
  opacity: 0.5;
  margin-bottom: 60px;
  line-height: 1.5;
}
.contato__actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.contato__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  transition: opacity 0.2s ease;
  color: var(--color-black);
}
.contato__btn:hover {
  opacity: 0.6;
}
.contato__btn-text {
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 0.9;
}
.contato__btn-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}
.contato__btn:hover .contato__btn-arrow {
  transform: translate(3px, -3px);
}
.contato__btn--copy {
  position: relative;
}
.contato__copy-feedback {
  position: absolute;
  top: -28px;
  left: 0;
  font-size: 0.55rem;
  color: var(--color-lime);
  background: var(--color-black);
  padding: 4px 10px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.contato__copy-feedback--show {
  opacity: 1;
  transform: translateY(0);
}

/* --- 15. Footer ----------------------------------------------- */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 60px var(--sp-pad) 40px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: var(--max-content);
  margin: 0 auto 48px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer__name {
  font-size: 2rem;
  letter-spacing: 0.04em;
}
.footer__tagline {
  font-size: 0.6rem;
  color: var(--color-lime);
}
.footer__location {
  font-size: 0.6rem;
  color: var(--color-gray);
}
.footer__top-btn {
  font-size: 0.65rem;
  color: var(--color-lime);
  padding: 8px 16px;
  border: 1.5px solid var(--color-lime);
  transition: background 0.2s ease, color 0.2s ease;
}
.footer__top-btn:hover {
  background: var(--color-lime);
  color: var(--color-black);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  max-width: var(--max-content);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  font-size: 0.55rem;
  color: var(--color-gray);
  gap: 16px;
  flex-wrap: wrap;
}

/* --- 16. Keyframe Animations ---------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { transform: scale(1.05); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* --- 17. Reduced Motion --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .cursor {
    display: none !important;
  }
  body {
    cursor: auto;
  }
  .manifesto__hover-media,
  .projetos__hover-media {
    display: none !important;
  }
  .manifesto {
    height: auto;
    overflow: visible;
  }
  .manifesto__track {
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 0;
    transform: none !important;
    will-change: auto;
  }
  .manifesto__hud {
    display: none;
  }
  .manifesto__block,
  .manifesto__block--hero {
    width: 100%;
    min-width: 0;
    min-height: 70svh;
    height: auto;
    padding: clamp(48px, 8vw, 96px) var(--sp-pad);
  }
  .manifesto__hero-line {
    width: auto;
    white-space: normal;
    flex-wrap: wrap;
  }
  .hero__video-fallback {
    display: block;
  }
}

/* --- 18. Responsive — Tablet (768px) -------------------------- */
@media (max-width: 1024px) {
  .trajetoria__chapter {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .trajetoria__chapter-visual {
    width: 100%;
    height: clamp(300px, 58vw, 520px);
    min-height: 0;
    order: -1;
  }
  .trajetoria__chapter--02 .trajetoria__chapter-visual,
  .trajetoria__chapter--04 .trajetoria__chapter-visual,
  .trajetoria__chapter--03 .trajetoria__chapter-visual {
    width: 100%;
    order: -1;
  }
  .trajetoria__chapter--02 .trajetoria__chapter-text,
  .trajetoria__chapter--04 .trajetoria__chapter-text {
    order: initial;
    justify-self: start;
  }
  .trajetoria__image {
    min-height: 0;
    aspect-ratio: auto;
  }
  .trajetoria__number {
    top: auto;
    right: 16px;
    bottom: 16px;
  }
  .trajetoria__chapter--02 .trajetoria__number,
  .trajetoria__chapter--04 .trajetoria__number {
    right: 16px;
    left: auto;
  }
  .trajetoria__keyword {
    position: relative;
    right: auto;
    bottom: auto;
    transform: none;
    font-size: clamp(3rem, 10vw, 8rem);
    margin-top: 12px;
    opacity: 0.08;
  }
  .sobre {
    grid-template-columns: 1fr;
    padding: 80px var(--sp-pad);
  }
  .sobre__portrait {
    position: relative;
    top: auto;
    margin-top: 0;
    max-width: 400px;
    margin-bottom: 40px;
    order: -1;
  }
  .projeto-card {
    grid-template-columns: 40px 1fr 100px;
    gap: 12px;
  }
  .hero__fourth-wall {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trajetoria__image {
    transition: none;
  }
}

/* --- 19. Responsive — Mobile (480px) -------------------------- */
@media (max-width: 768px) {
  .cursor {
    display: none !important;
  }
  body {
    cursor: auto;
  }
  .header__section-indicator {
    display: none;
  }
  .hero__title-line {
    font-size: clamp(4.5rem, 23vw, 7rem);
  }
  .hero__tagline {
    display: none;
  }
  .hero__interactive {
    margin-bottom: 24px;
  }
  .hero__verb {
    font-size: clamp(1.1rem, 5.5vw, 1.8rem);
  }
  .hero__concept-main {
    font-size: clamp(1.5rem, 7vw, 2.25rem);
  }
  .hero__fourth-wall {
    display: none;
  }
  .manifesto {
    height: auto;
    overflow: visible;
  }
  .manifesto__track {
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 0;
    transform: none !important;
    will-change: auto;
  }
  .manifesto__hud {
    display: none;
  }
  .manifesto__block,
  .manifesto__block--hero {
    width: 100%;
    min-width: 0;
    min-height: 72svh;
    height: auto;
    padding: 64px 16px;
  }
  .manifesto__block--content {
    grid-template-columns: minmax(0, 1fr) minmax(110px, 32vw);
    gap: 12px;
    padding-right: 16px;
  }
  .manifesto__block--content::after {
    top: 24px;
    right: 16px;
  }
  .manifesto__stage-word {
    left: -2%;
    bottom: 8%;
    font-size: clamp(7rem, 38vw, 12rem);
    opacity: 0.05;
  }
  .manifesto__block--punch {
    align-items: flex-start;
  }
  .manifesto__hero-line {
    width: auto;
    white-space: normal;
    flex-wrap: wrap;
    font-size: clamp(3rem, 15vw, 5.5rem);
  }
  .manifesto__big {
    font-size: clamp(2.5rem, 12vw, 4.5rem);
  }
  .manifesto__img {
    width: 100%;
    height: auto;
    max-height: 52svh;
  }
  .manifesto__model {
    width: 100%;
    height: 52svh;
    min-height: 280px;
    max-height: 480px;
  }
  .manifesto__tagline {
    opacity: 0.75;
  }
  .manifesto__punch {
    font-size: clamp(2.5rem, 8vw, 6rem);
  }
  .trajetoria__chapter {
    padding-left: 16px;
    padding-right: 16px;
  }
  .trajetoria__title {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }
  .trajetoria__chapter-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .projetos {
    padding: 80px 16px;
  }
  .projetos__title {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }
  .projeto-card {
    grid-template-columns: 32px 1fr 80px;
    gap: 8px;
    padding: 24px 0;
  }
  .projeto-card__title {
    font-size: clamp(1.1rem, 3.5vw, 2rem);
  }
  .projetos__hover-media {
    display: none !important;
  }
  .sobre {
    padding: 80px 16px;
  }
  .sobre__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  .contato {
    padding: 80px 16px;
  }
  .contato__title {
    font-size: clamp(2.5rem, 8vw, 5rem);
  }
  .contato__btn-text {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
  }
  .footer__inner {
    flex-direction: column;
    gap: 24px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
  }
}
