/* ============================================================
   HITORI · Design Studio
   Direção: Editorial · Minimalista · Magazine-grade
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* Brand colors — editorial dark */
  --c-bg:        #151515;        /* dark principal — Black Master */
  --c-bg-2:      #1A1A1A;        /* dark sutil */
  --c-bg-3:      #202020;        /* dark marcado — Black Light */
  --c-paper:     #161616;        /* dark alt (entre seções) */
  --c-ink:       #F2EADD;        /* texto creme — White Master */
  --c-ink-2:     #E5DCCA;        /* secondary cream */
  --c-ink-dim:   rgba(242, 234, 221, 0.62);
  --c-ink-low:   rgba(242, 234, 221, 0.38);
  --c-ink-line:  rgba(242, 234, 221, 0.12);
  --c-ink-hair:  rgba(242, 234, 221, 0.06);

  --c-orange:    #FF4601;        /* Orange Master */
  --c-orange-2:  #FF6B2B;

  /* Type — DM Sans em todas as variações */
  --f-display: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --f-body:    "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono:    "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Easing */
  --e-out: cubic-bezier(0.22, 1, 0.36, 1);
  --e-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --e-bounce: cubic-bezier(0.32, 1.51, 0.36, 0.97);
  --e-flip: cubic-bezier(0.4, 0, 0.2, 1);

  /* Arrow glyph used as a mask inside circular button icons */
  --arrow-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h14'/%3E%3Cpath d='M12 6l6 6-6 6'/%3E%3C/svg%3E");

  /* Layout */
  --container: 1360px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius-lg: 4px;
  --radius-md: 2px;
  --radius-sm: 0;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  /* SEM overflow-x no body de propósito: qualquer valor != visible o torna
     um container de scroll (overflow-y vira auto) e quebra o position:
     sticky do portfólio no iOS. Os elementos largos (hero canvas, marquee)
     já são recortados pelos próprios pais com overflow:hidden, então não há
     scroll horizontal. Não reintroduzir overflow-x aqui. */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02", "tnum";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: italic; }

::selection { background: var(--c-ink); color: var(--c-bg); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* ---------- NOISE — paper texture ---------- */
.noise {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' seed='4'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- CURSOR ---------- */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0; pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity .25s ease, width .3s var(--e-out), height .3s var(--e-out);
}
.cursor {
  width: 18px; height: 18px;
  border: 1px solid var(--c-ink);
  border-radius: 50%;
  opacity: 0;
}
.cursor-dot {
  width: 3px; height: 3px;
  background: var(--c-ink);
  border-radius: 50%;
  opacity: 0;
}
.cursor.is-active { opacity: 0.85; }
.cursor-dot.is-active { opacity: 1; }
.cursor.is-hover { width: 30px; height: 30px; }
@media (max-width: 900px), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
}

/* ---------- TYPOGRAPHY HELPERS ---------- */
.section-head { max-width: 980px; margin-bottom: clamp(56px, 8vw, 120px); }
.section-head__label {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-ink-dim);
  margin-bottom: 28px;
}
.section-head__label .dot {
  font-family: var(--f-mono);
  font-weight: 500;
  color: var(--c-orange);
  letter-spacing: 0;
}
.section-head__label .dot::before { content: "//"; }
.section-head__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(42px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--c-ink);
}
.section-head__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-orange);
}
.section-head__desc {
  margin-top: 28px;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--c-ink-dim);
  max-width: 520px;
  line-height: 1.55;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head--center .section-head__desc {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- BUTTONS — pill + animated circular arrow ---------- */
.btn {
  --btn-bg: var(--c-ink);
  --btn-fg: var(--c-bg);
  --btn-circle: var(--c-orange);
  --btn-arrow: var(--c-ink);
  --btn-circle-size: 40px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 5px 5px 5px 26px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .45s var(--e-bounce), background .3s ease, color .3s ease, border-color .3s ease;
  transform-origin: center;
  position: relative;
}
/* Whole button grows slightly on hover */
.btn:hover { transform: scale(1.04); }

/* Label rolls vertically on hover (two stacked copies, clipped) */
.btn__label {
  display: block;
  position: relative;
  overflow: hidden;
  line-height: 1.2;
}
.btn__label > span {
  display: block;
  transition: transform .5s var(--e-flip);
}
.btn__label > span:nth-child(2) {
  position: absolute;
  inset: 0;
  transform: translateY(100%);
}
.btn:hover .btn__label > span { transform: translateY(-100%); }
.btn:hover .btn__label > span:nth-child(2) { transform: translateY(0); }

.btn__icon {
  flex-shrink: 0;
  width: var(--btn-circle-size);
  height: var(--btn-circle-size);
  border-radius: 50%;
  background: var(--btn-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform-origin: left center;
  transition: transform .5s var(--e-bounce);
}
.btn__icon-inner {
  position: relative;
  width: 18px;
  height: 18px;
}
.btn__icon-inner::before,
.btn__icon-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--btn-arrow);
  -webkit-mask: var(--arrow-mask) center / contain no-repeat;
  mask: var(--arrow-mask) center / contain no-repeat;
  transition: transform .5s var(--e-out);
}
.btn__icon-inner::before { transform: translateX(0) scale(1); }       /* visible arrow */
.btn__icon-inner::after  { transform: translateX(-110%) scale(0); }   /* incoming from left */

.btn:hover .btn__icon { transform: scale(1.1); }
.btn:hover .btn__icon-inner::before { transform: translateX(110%) scale(0); }
.btn:hover .btn__icon-inner::after  { transform: translateX(0) scale(1); }

.btn--lg {
  font-size: 14px;
  padding-left: 30px;
  --btn-circle-size: 46px;
}
.btn--lg .btn__icon-inner { width: 20px; height: 20px; }

/* Primary & accent share the cream-pill + orange-circle look */
.btn--primary,
.btn--accent {
  --btn-bg: var(--c-ink);
  --btn-fg: var(--c-bg);
}

/* Ghost: transparent pill with a hairline outline */
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-ink);
  border-color: var(--c-ink-line);
  border-width: 2px;
}
.btn--ghost:hover { border-color: var(--c-ink); border-width: 1px; }

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn__label > span,
  .btn__icon,
  .btn__icon-inner::before,
  .btn__icon-inner::after { transition: none; }
  .btn:hover { transform: none; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--c-ink);
  transition: gap .3s var(--e-out);
}
.link-arrow:hover { gap: 18px; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 20px var(--gutter);
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-ink-line);
  transition: padding .3s ease, background .3s ease;
}
.nav.is-scrolled {
  padding-top: 14px; padding-bottom: 14px;
  background: #151515;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(140%) blur(10px);
}
.nav.is-scrolled .nav__menu a { color: #fff; }
.nav.is-scrolled .nav__menu a:hover { color: var(--c-orange); }

.nav.is-scrolled .nav__burger span { background: #fff; }
.nav__logo {
  display: flex; align-items: center;
  height: 22px;
}
.nav__logo svg { display: none; }
.nav__logo img {
  height: 18px;
  width: auto;
}
.nav__menu {
  display: flex; align-items: center; gap: 36px;
}
.nav__menu a {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-ink);
  position: relative;
  transition: color .25s ease;
}
.nav__menu a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--c-orange);
  transition: width .35s var(--e-out);
}
.nav__menu a:hover { color: var(--c-orange); }
.nav__menu a:hover::after { width: 100%; }

.nav__cta {
  gap: 10px;
  padding: 4px 4px 4px 18px;
  font-size: 11px;
  --btn-circle-size: 32px;
}
.nav__cta .btn__icon-inner { width: 14px; height: 14px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
}
.nav__burger span {
  width: 24px; height: 1.5px; background: var(--c-ink);
  transition: transform .3s var(--e-out), opacity .3s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--c-bg);
  z-index: 90;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu nav {
  display: flex; flex-direction: column; gap: 24px;
  text-align: center;
  font-family: var(--f-display);
  font-size: clamp(32px, 7vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.mobile-menu nav > a { color: var(--c-ink); }
.mobile-menu .btn { font-size: 13px; margin-top: 24px; align-self: center; color: var(--btn-fg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 200px 0 80px;
  border-bottom: 1px solid var(--c-ink-line);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}
.hero__mesh, .blob, .blob--1, .blob--2, .blob--3 { display: none; }

/* ---------- HERO FALLING PATTERN ---------- */
.hero__falling {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  animation: hero-falling-fade 0.4s ease 0.1s forwards;
}

.hero__falling-canvas {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  filter: blur(0.6em);
  will-change: background-position;
  transform: translateZ(0);
  background-image:
    /* Row 1 – 235px */
    radial-gradient(4px 100px at 0px 235px, rgba(242,234,221,.85), transparent),
    radial-gradient(4px 100px at 300px 235px, rgba(242,234,221,.85), transparent),
    radial-gradient(1.5px 1.5px at 150px 117.5px, rgba(242,234,221,.85) 100%, transparent 150%),
    /* Row 2 – 150px */
    radial-gradient(4px 100px at 0px 150px, rgba(242,234,221,.85), transparent),
    radial-gradient(4px 100px at 300px 150px, rgba(242,234,221,.85), transparent),
    radial-gradient(1.5px 1.5px at 150px 75px, rgba(242,234,221,.85) 100%, transparent 150%),
    /* Row 3 – 204px */
    radial-gradient(4px 100px at 0px 204px, rgba(242,234,221,.85), transparent),
    radial-gradient(4px 100px at 300px 204px, rgba(242,234,221,.85), transparent),
    radial-gradient(1.5px 1.5px at 150px 102px, rgba(242,234,221,.85) 100%, transparent 150%),
    /* Row 4 – 179px */
    radial-gradient(4px 100px at 0px 179px, rgba(242,234,221,.85), transparent),
    radial-gradient(4px 100px at 300px 179px, rgba(242,234,221,.85), transparent),
    radial-gradient(1.5px 1.5px at 150px 89.5px, rgba(242,234,221,.85) 100%, transparent 150%),
    /* Row 5 – 215px */
    radial-gradient(4px 100px at 0px 215px, rgba(242,234,221,.85), transparent),
    radial-gradient(4px 100px at 300px 215px, rgba(242,234,221,.85), transparent),
    radial-gradient(1.5px 1.5px at 150px 107.5px, rgba(242,234,221,.85) 100%, transparent 150%);
  background-size:
    300px 235px, 300px 235px, 300px 235px,
    300px 150px, 300px 150px, 300px 150px,
    300px 204px, 300px 204px, 300px 204px,
    300px 179px, 300px 179px, 300px 179px,
    300px 215px, 300px 215px, 300px 215px;
  animation: hero-falling 150s linear infinite;
}

.hero__falling-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(circle at 50% 50%, transparent 0, transparent 2px, rgba(14,12,10,0.65) 2px);
  background-size: 8px 8px;
}

@media (prefers-reduced-motion: reduce) {
  .hero__falling-canvas { animation: none; }
}

@keyframes hero-falling-fade {
  to { opacity: 1; }
}

@keyframes hero-falling {
  from {
    background-position:
      0px 220px,   3px 220px,   151.5px 337.5px,
      50px 16px,   53px 16px,   201.5px 91px,
      100px 19px,  103px 19px,  251.5px 121px,
      150px 31px,  153px 31px,  301.5px 120.5px,
      200px 121px, 203px 121px, 351.5px 228.5px;
  }
  to {
    background-position:
      0px 6800px,   3px 6800px,   151.5px 6917.5px,
      50px 5416px,  53px 5416px,  201.5px 5491px,
      100px 5119px, 103px 5119px, 251.5px 5221px,
      150px 9876px, 153px 9876px, 301.5px 9965.5px,
      200px 14741px, 203px 14741px, 351.5px 14848.5px;
  }
}

.hero__eyebrow {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-ink-dim);
  margin-bottom: 36px;
}
.hero__eyebrow .dot {
  font-family: var(--f-mono);
  font-weight: 500;
  color: var(--c-orange);
  letter-spacing: 0;
}
.hero__eyebrow .dot::before { content: "//"; }

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(60px, 11vw, 196px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--c-ink);
  margin-bottom: 48px;
}
.hero__title .line {
  display: block;
}
.hero__title .line--italic em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-orange);
}

.hero__sub {
  font-size: clamp(17px, 1.4vw, 22px);
  color: var(--c-ink-dim);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
  margin-bottom: 80px;
}

.hero__meta {
  display: flex; align-items: stretch; flex-wrap: wrap;
  gap: 0;
  padding-top: 32px;
  border-top: 1px solid var(--c-ink-line);
}
.hero__stat {
  display: flex; flex-direction: column;
  gap: 4px;
  padding-right: 56px;
}
.hero__stat-num {
  font-family: var(--f-display);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  line-height: 1;
}
.hero__stat-label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-ink-dim);
}
.divider {
  width: 1px;
  align-self: stretch;
  background: var(--c-ink-line);
  margin: 0 56px 0 0;
}
@media (max-width: 720px) {
  .hero__stat { padding-right: 24px; }
  .divider { margin-right: 24px; }
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  right: var(--gutter);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--c-ink-dim);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: var(--c-ink-line);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 30%;
  background: var(--c-orange);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(300%); }
}
@media (max-width: 720px) {
  .hero__scroll { display: none; }
}

/* ---------- MARQUEE ---------- */
.marquee {
  padding: 36px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--c-ink-line);
  background: var(--c-bg);
  position: relative;
}
/* Edge fades via solid gradients (não usa mask-image: evita o flicker/
   repaint da layer mascarada em mobile/iOS durante a animação). */
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(48px, 12vw, 160px);
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(to right, var(--c-bg), transparent); }
.marquee::after  { right: 0; background: linear-gradient(to left,  var(--c-bg), transparent); }

.marquee__track {
  --logo-gap: 100px;
  display: flex;
  width: max-content;
  align-items: center;
  /* O movimento é controlado por JS (requestAnimationFrame) via transform
     em pixels exatos — evita o recálculo de translateX(-50%) sobre
     max-content que o Safari iOS faz errado (pulo/sumiço/piscada). */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: var(--logo-gap);
  flex-shrink: 0;
  /* Gap final embutido em cada grupo: como os dois grupos são idênticos,
     translateX(-50%) cai exatamente sobre o início do 2º → loop contínuo. */
  padding-right: var(--logo-gap);
}
/* Optical sizing: each logo gets its own height so they read at the
   same visual size despite different SVG proportions and inner padding. */
.marquee__logo {
  display: block;
  width: auto;
  height: 34px;
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity .3s var(--e-out);
}
.marquee__logo:hover { opacity: 1; }
.marquee__logo--astra    { height: 27px; }
.marquee__logo--bussines { height: 30px; }
.marquee__logo--domus    { height: 29px; }
.marquee__logo--pauze    { height: 30px; }
.marquee__logo--rita     { height: 39px; }
.marquee__logo--wmoreira { height: 37px; }

/* ---------- WORKS / PORTFOLIO ---------- */
.works {
  padding: clamp(100px, 12vw, 160px) 0;
  border-bottom: 1px solid var(--c-ink-line);
}

.bento {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--c-ink-line);
}
.bento__item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  border-bottom: 1px solid var(--c-ink-line);
  background: var(--c-bg);
  transition: background .4s ease;
}

.bento__media {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  border: 1px solid var(--c-ink-line);
  background: var(--c-bg-3);
  transition: transform .8s var(--e-out);
}
.bento__item:hover .bento__media { transform: translateY(-4px); }

.bento__media--purple {
  background: linear-gradient(180deg, #2A1F44 0%, #1A1230 100%);
}
.bento__media--cream {
  background: linear-gradient(180deg, #DFD3BE 0%, #B89867 100%);
}
.bento__media--violet {
  background: linear-gradient(180deg, #1F164D 0%, #0D0828 100%);
}
.bento__media--orange {
  background: linear-gradient(180deg, var(--c-orange) 0%, #B33200 100%);
}

.bento__placeholder {
  position: relative;
  z-index: 3;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 80px);
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.03em;
}
.bento__media--cream .bento__placeholder {
  color: rgba(20, 17, 15, 0.85);
}

.bento__meta {
  display: flex; flex-direction: column; gap: 12px;
}
.bento__tags {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-ink-dim);
}
.bento__tags span { position: relative; }
.bento__tags span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px; top: 50%;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--c-ink-line);
  transform: translateY(-50%);
}
.bento__meta h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--c-ink);
}
.bento__year {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-ink-low);
  margin-top: 8px;
}

.works__cta { margin-top: 64px; display: flex; justify-content: center; }

/* ---------- HOVER SLIDER (portfolio) ---------- */
.hslider {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  border-top: 1px solid var(--c-ink-line);
  padding-top: clamp(48px, 6vw, 88px);
}

/* Sticky visual panel */
.hslider__panel {
  position: sticky;
  top: 120px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 28px;
  order: 2;
}
.hslider__images {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--c-ink-line);
  background: var(--c-bg-3);
}
.hslider__img {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  transition: clip-path .8s cubic-bezier(0.33, 1, 0.68, 1);
}
.hslider__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hslider__img.is-active {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.hslider__img span {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 68px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-align: center;
  max-width: 90%;
  color: rgba(255, 255, 255, 0.95);
}
.hslider__img--purple { background: linear-gradient(180deg, #2A1F44 0%, #1A1230 100%); }
.hslider__img--green  { background: linear-gradient(180deg, #1E3A2F 0%, #0E211A 100%); }
.hslider__img--cream  { background: linear-gradient(180deg, #DFD3BE 0%, #B89867 100%); }
.hslider__img--violet { background: linear-gradient(180deg, #1F164D 0%, #0D0828 100%); }
.hslider__img--orange { background: linear-gradient(180deg, var(--c-orange) 0%, #B33200 100%); }
.hslider__img--coffee { background: linear-gradient(180deg, #5A3A22 0%, #2A160C 100%); }
.hslider__img--cream span { color: rgba(20, 17, 15, 0.85); }

/* Whole visual is a link to the active project */
.hslider__images { cursor: pointer; }

.hslider__cta { align-self: flex-start; }

/* Names list */
.hslider__list {
  order: 1;
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hslider__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(48px, 11vh, 132px) 0;
  border-bottom: 1px solid var(--c-ink-hair);
}
.hslider__item:first-child { padding-top: 0; }

.hslider__name {
  display: inline-flex;
  flex-wrap: wrap;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--c-ink);
  border: 0;
}
.hslider__char {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.08;
}
.hslider__char-base,
.hslider__char-over {
  display: inline-block;
  transition: transform .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.hslider__char-base { opacity: 0.2; transform: translateY(0); }
.hslider__char-over {
  position: absolute;
  left: 0; top: 0;
  opacity: 1;
  transform: translateY(110%);
}
.hslider__item.is-active .hslider__char-base { transform: translateY(-110%); }
.hslider__item.is-active .hslider__char-over { transform: translateY(0); }

.hslider__tags {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-ink-low);
  transition: color .3s var(--e-out);
}
.hslider__item.is-active .hslider__tags { color: var(--c-orange); }

@media (max-width: 900px) {
  /* Block layout (não grid): position: sticky em item de grid é bugado no
     Safari/iOS — a imagem deixa de grudar. Em block o sticky funciona. */
  .hslider {
    display: block;
    padding-top: 40px;
  }
  .hslider__panel {
    position: sticky;
    top: 72px;
    gap: 16px;
    z-index: 2;
    background: var(--c-bg);
    padding-bottom: 20px;
    margin-bottom: 8px;
  }
  .hslider__images { aspect-ratio: 16 / 9; }
  .hslider__item {
    padding: clamp(28px, 6vh, 64px) 0;
  }
  .hslider__item:first-child { padding-top: clamp(20px, 3vh, 40px); }
}

@media (prefers-reduced-motion: reduce) {
  .hslider__img,
  .hslider__char-base,
  .hslider__char-over { transition: none; }
  .hslider__char-base { opacity: 0; }
  .hslider__char-over { position: static; transform: none; }
}

/* ---------- SERVICES — scroll accordion ---------- */
.services {
  padding: clamp(100px, 12vw, 160px) 0;
  border-bottom: 1px solid var(--c-ink-line);
}

.services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--c-ink-line);
}
.services__item {
  padding: clamp(44px, 9vh, 104px) 0;
  border-bottom: 1px solid var(--c-ink-line);
}
/* Gentler, slower entrance for each service as it scrolls in */
.services__item.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s var(--e-flip), transform 1.2s var(--e-flip);
}
.services__item.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Always-visible header row: number + service name */
.services__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.services__num {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--c-ink-low);
  transform-origin: left center;
  transition: color .6s var(--e-flip), transform .8s var(--e-flip);
}
.services__num::after { content: "."; color: var(--c-orange); }
.services__item.is-active .services__num {
  color: var(--c-ink);
  transform: scale(1.05);
}

.services__name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 44px);
  line-height: 1;
  letter-spacing: -0.025em;
  text-align: right;
  color: var(--c-ink-dim);
  transition: color .6s var(--e-flip);
}
.services__item.is-active .services__name { color: var(--c-ink); }

/* Expandable panel — opens for the active item */
.services__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 1s var(--e-flip), opacity .9s var(--e-flip);
}
.services__item.is-active .services__panel {
  grid-template-rows: 1fr;
  opacity: 1;
}
.services__panel-inner {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-top: clamp(22px, 3vw, 42px);
}

.services__media {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(14px);
  transition: transform 1s var(--e-flip) .05s;
  object-fit: cover;
  width: 100%;
}
.services__item.is-active .services__media { transform: translateY(0); }
.services__media span {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 44px);
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.92);
}
.services__media--purple { background: linear-gradient(180deg, #2A1F44 0%, #1A1230 100%); }
.services__media--cream  { background: linear-gradient(180deg, #DFD3BE 0%, #B89867 100%); }
.services__media--violet { background: linear-gradient(180deg, #1F164D 0%, #0D0828 100%); }
.services__media--orange { background: linear-gradient(180deg, var(--c-orange) 0%, #B33200 100%); }
.services__media--cream span { color: rgba(20, 17, 15, 0.85); }

.services__detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(14px);
  transition: transform 1s var(--e-flip) .12s;
}
.services__item.is-active .services__detail { transform: translateY(0); }
.services__lead {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--c-ink);
}
.services__lead em { font-style: italic; color: var(--c-orange); }
.services__desc {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--c-ink-dim);
  max-width: 52ch;
}
.services__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.services__tags span {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-ink-low);
  border: 1px solid var(--c-ink-hair);
  padding: 6px 14px;
  border-radius: var(--radius-md);
}

@media (max-width: 760px) {
  .services__panel-inner { grid-template-columns: 1fr; gap: 20px; }
  .services__name { font-size: clamp(17px, 4.4vw, 26px); }
  /* No scroll-accordion on touch: every service stays open so scrolling
     never skips a service or clips the number + name at the top. */
  .services__panel { grid-template-rows: 1fr; opacity: 1; }
  .services__media,
  .services__detail { transform: none; }
  .services__num,
  .services__name { color: var(--c-ink); }
  .services__num { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .services__num,
  .services__name,
  .services__panel,
  .services__media,
  .services__detail { transition: none; }
}

/* ---------- TESTIMONIALS — light mode (cream) ---------- */
.testimonials {
  padding: clamp(100px, 12vw, 160px) 0;
  background: #F2EADD; /* brand cream / white master */
  border-bottom: 1px solid #F2EADD;
  /* Flip the cream colour scale to dark-on-cream within this section.
     Everything that used these vars (text, borders) inverts; orange stays. */
  --c-ink:      #151515;
  --c-ink-2:    #151515;
  --c-ink-dim:  rgba(21, 21, 21, 0.62);
  --c-ink-low:  rgba(21, 21, 21, 0.42);
  --c-ink-line: rgba(21, 21, 21, 0.16);
  --c-ink-hair: rgba(21, 21, 21, 0.08);
  color: var(--c-ink);
}
.testimonials ::selection { background: #151515; color: #F2EADD; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-ink-line);
}
.testimonial {
  position: relative;
  padding: 40px 32px 32px;
  border-bottom: 1px solid var(--c-ink-line);
  border-right: 1px solid var(--c-ink-line);
  display: flex; flex-direction: column;
  gap: 24px;
  background: transparent;
}
.testimonial:last-child { border-right: 0; }
.testimonial__quote {
  color: var(--c-orange);
  width: 28px; height: auto;
}
.testimonial blockquote {
  flex-grow: 1;
  display: flex;
  align-items: center;
}
.testimonial blockquote p {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--c-ink);
}
.testimonial figcaption {
  display: flex; align-items: center; gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--c-ink-line);
}
.testimonial figcaption strong {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--c-ink);
}
.testimonial figcaption span {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-ink-low);
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-bg-3);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .testimonials__grid { grid-template-columns: 1fr; }
  .testimonial { border-right: 0; }
}

/* ---------- PROCESS ---------- */
.process {
  padding: clamp(100px, 12vw, 160px) 0;
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-ink-line);
}

/* Process — rich bento grid */
.process__head {
  max-width: 820px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.process__eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-ink-dim);
  margin-bottom: 28px;
}
.process__eyebrow-mark {
  color: var(--c-orange);
  letter-spacing: 0;
}
.process__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--c-ink);
}
.process__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--c-orange);
}

.process__bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(420px, auto);
  gap: 16px;
}

/* Step cards */
.process__card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-ink-line);
  border-radius: 22px;
  transition: border-color .35s var(--e-out), transform .5s var(--e-out);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 230px;
  padding: clamp(24px, 2.4vw, 34px);
  background: var(--c-bg-3);
}
.process__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 100% 0%, rgba(255, 69, 0, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity .4s var(--e-out);
  pointer-events: none;
}
.process__card:hover::after { opacity: 1; }

/* ── Animated viz stage (one bespoke animation per card) ── */
.process__viz {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 01 · Imersão — viewfinder pulling focus, locking on center */
.pv-im__svg { width: auto; height: 100%; max-height: 148px; }
.pv-im__brackets { color: var(--c-ink-2); }
.pv-im__br {
  transform-box: fill-box;
  transform-origin: center;
  animation: pvImFocus 3.6s var(--e-in-out) infinite;
}
.pv-im__br--tl { --fx:  13px; --fy:  13px; }
.pv-im__br--tr { --fx: -13px; --fy:  13px; }
.pv-im__br--bl { --fx:  13px; --fy: -13px; }
.pv-im__br--br { --fx: -13px; --fy: -13px; }
.pv-im__focus { color: var(--c-ink-low); }
.pv-im__core {
  fill: var(--c-orange);
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 5px rgba(255, 70, 1, 0.6));
  animation: pvImCore 3.6s var(--e-in-out) infinite;
}
.pv-im__pulse {
  fill: none;
  stroke: var(--c-orange);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: pvImPulse 3.6s var(--e-out) infinite;
}
@keyframes pvImFocus {
  0%, 100% { transform: translate(0, 0); opacity: .4; }
  42%, 66% { transform: translate(var(--fx), var(--fy)); opacity: 1; }
}
@keyframes pvImCore {
  0%, 100% { transform: scale(.65); opacity: .35; }
  42%, 66% { transform: scale(1);   opacity: 1; }
}
@keyframes pvImPulse {
  0%, 40% { transform: scale(.5); opacity: 0; }
  56%     { opacity: .5; }
  84%, 100% { transform: scale(1.75); opacity: 0; }
}

/* 02 · Criação visual — layers assembling + stroke drawing */
.pv-cr__frame {
  position: relative;
  width: 126px;
  height: 140px;
  border: 1px solid var(--c-ink-line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent),
    var(--c-bg);
  overflow: hidden;
}
.pv-cr__el {
  position: absolute;
  opacity: 0;
  animation: pvCrPiece 6.5s var(--e-out) infinite;
}
.pv-cr__img {
  left: 9%; top: 10%; width: 82%; height: 22%;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,70,1,0.22), rgba(255,70,1,0.06));
  border: 1px solid rgba(255,70,1,0.25);
  animation-delay: .1s;
}
.pv-cr__circle {
  left: 11%; top: 43%; width: 21%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid var(--c-ink-2);
  background: rgba(242,234,221,0.05);
  animation-delay: .7s;
}
.pv-cr__bar {
  left: 40%; height: 6px; border-radius: 4px;
  background: var(--c-ink-line);
}
.pv-cr__bar--1 { top: 47%; width: 48%; animation-delay: 1.1s; }
.pv-cr__bar--2 { top: 54%; width: 36%; animation-delay: 1.4s; }
.pv-cr__sw {
  top: 75%; width: 15%; aspect-ratio: 1; border-radius: 6px;
}
.pv-cr__sw--1 { left: 11%; background: var(--c-orange); animation-delay: 1.9s; }
.pv-cr__sw--2 { left: 34%; background: var(--c-ink-2); animation-delay: 2.2s; }
.pv-cr__sw--3 { left: 57%; background: rgba(255,107,43,0.55); animation-delay: 2.5s; }
@keyframes pvCrPiece {
  0%   { opacity: 0; transform: translateY(10px) scale(.96); }
  10%  { opacity: 1; transform: translateY(0) scale(1); }
  82%  { opacity: 1; transform: translateY(0) scale(1); }
  92%, 100% { opacity: 0; transform: translateY(-6px) scale(.98); }
}

/* 03 · Refinamento — equalizer tuning to settled levels */
.pv-eq {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.pv-eq__track {
  position: relative;
  width: 10px;
  height: 124px;
  border-radius: 6px;
  background: var(--c-ink-hair);
  overflow: hidden;
}
.pv-eq__fill {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  transform-origin: bottom center;
  background: linear-gradient(180deg, var(--c-orange-2), var(--c-orange) 22%, rgba(255,70,1,0.35));
  box-shadow: 0 -4px 12px rgba(255,70,1,0.45);
}
.pv-eq__fill--1 { animation: pvEq1 4.4s var(--e-in-out) infinite; }
.pv-eq__fill--2 { animation: pvEq2 4.4s var(--e-in-out) infinite; }
.pv-eq__fill--3 { animation: pvEq3 4.4s var(--e-in-out) infinite; }
.pv-eq__fill--4 { animation: pvEq4 4.4s var(--e-in-out) infinite; }
@keyframes pvEq1 {
  0% { transform: scaleY(.30); } 25% { transform: scaleY(.62); }
  55% { transform: scaleY(.45); } 80%,100% { transform: scaleY(.72); }
}
@keyframes pvEq2 {
  0% { transform: scaleY(.70); } 30% { transform: scaleY(.38); }
  60% { transform: scaleY(.85); } 85%,100% { transform: scaleY(.55); }
}
@keyframes pvEq3 {
  0% { transform: scaleY(.42); } 28% { transform: scaleY(.78); }
  58% { transform: scaleY(.50); } 82%,100% { transform: scaleY(.90); }
}
@keyframes pvEq4 {
  0% { transform: scaleY(.85); } 32% { transform: scaleY(.55); }
  62% { transform: scaleY(.70); } 88%,100% { transform: scaleY(.40); }
}

/* 04 · Implementação — modules snap into a grid, then a check */
.pv-dp__grid {
  display: grid;
  grid-template-columns: repeat(2, 58px);
  grid-auto-rows: 58px;
  gap: 10px;
}
.pv-dp__tile {
  aspect-ratio: 1;
  border-radius: 9px;
  background: var(--c-bg);
  border: 1px solid var(--c-ink-line);
  opacity: 0;
  transform: scale(.4);
  animation: pvDpTile 5s var(--e-bounce) infinite;
}
.pv-dp__tile--1 { animation-delay: .15s; }
.pv-dp__tile--2 { animation-delay: .30s; }
.pv-dp__tile--3 { animation-delay: .45s; }
.pv-dp__tile--4 { animation-delay: .60s; }
.pv-dp__tile--5 { animation-delay: .75s; }
.pv-dp__tile--6 { animation-delay: .90s; }
.pv-dp__check {
  position: absolute;
  width: 54px; height: 54px;
  color: var(--c-orange);
  filter: drop-shadow(0 0 10px rgba(255,70,1,0.55));
}
.pv-dp__check path {
  stroke-dasharray: 44;
  stroke-dashoffset: 44;
  animation: pvDpCheck 5s var(--e-out) infinite;
}
@keyframes pvDpTile {
  0%   { opacity: 0; transform: scale(.4); }
  16%  { opacity: 1; transform: scale(1); }
  60%  { opacity: 1; transform: scale(1); border-color: rgba(255,70,1,0.4); }
  74%  { opacity: .25; transform: scale(.92); }
  82%, 100% { opacity: 0; transform: scale(.4); }
}
@keyframes pvDpCheck {
  0%, 44%   { stroke-dashoffset: 44; opacity: 0; }
  48%       { opacity: 1; }
  58%       { stroke-dashoffset: 0; opacity: 1; }
  80%       { opacity: 1; }
  86%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

.process__step {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--c-orange);
}
.process__step-mark { letter-spacing: 0; margin-right: 3px; }
.process__card-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.process__card-text h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(19px, 1.7vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--c-ink);
}
.process__card-text p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-ink-dim);
  max-width: 42ch;
}

@media (max-width: 900px) {
  .process__bento { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(380px, auto); }
  .process__card { min-height: 380px; }
}
@media (max-width: 560px) {
  .process__bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .process__card { min-height: 320px; }
}

/* Respect reduced motion: hold each viz on a clean, finished frame */
@media (prefers-reduced-motion: reduce) {
  .pv-im__pulse { display: none; }
  .pv-im__br,
  .pv-im__core { animation: none; }
  .pv-im__br { opacity: 1; }
  .pv-cr__el { animation: none; opacity: 1; transform: none; }
  .pv-eq__fill { animation: none; }
  .pv-eq__fill--1 { transform: scaleY(.72); }
  .pv-eq__fill--2 { transform: scaleY(.55); }
  .pv-eq__fill--3 { transform: scaleY(.90); }
  .pv-eq__fill--4 { transform: scaleY(.40); }
  .pv-dp__tile { animation: none; opacity: 1; transform: none; }
  .pv-dp__check path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- LOYALTY ---------- */
.loyalty {
  padding: clamp(100px, 12vw, 160px) 0;
  border-bottom: 1px solid var(--c-ink-line);
}
.loyalty__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 0;
}
.loyalty__content { position: relative; }
.loyalty__content h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--c-ink);
  margin: 28px 0 24px;
}
.loyalty__content h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-orange);
}
.loyalty__content p {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--c-ink-dim);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.6;
}

.loyalty__visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  min-height: 280px;
}
.loyalty__badge {
  width: 240px; height: 240px;
  border-radius: 50%;
  background: var(--c-orange);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--c-bg);
  font-family: var(--f-display);
  position: relative;
  animation: rotate 26s linear infinite;
}
.loyalty__badge::before {
  content: "★ HITORI · CLUB · HITORI · CLUB ★";
  position: absolute;
  top: -28px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--c-ink-dim);
  text-transform: uppercase;
}
.loyalty__percent {
  font-size: 96px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  font-style: italic;
}
.loyalty__percent small {
  font-size: 0.4em;
  vertical-align: super;
  font-style: normal;
}
.loyalty__cb {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-top: 6px;
}
@keyframes rotate {
  to { transform: rotate(360deg); }
}
.loyalty__badge .loyalty__percent,
.loyalty__badge .loyalty__cb {
  animation: counterRotate 26s linear infinite;
}
@keyframes counterRotate {
  to { transform: rotate(-360deg); }
}

@media (max-width: 900px) {
  .loyalty__inner { grid-template-columns: 1fr; gap: 40px; }
  .loyalty__visual { min-height: 220px; }
  .loyalty__badge { width: 200px; height: 200px; }
  .loyalty__percent { font-size: 72px; }
}

/* ---------- FAQ ---------- */
/* ---------- FAQ — ref Oaxley layout ---------- */
.faq {
  padding: clamp(100px, 12vw, 160px) 0;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-ink-line);
}

.faq__card {
  max-width: 600px;
  margin: clamp(40px, 5vw, 56px) auto 0;
  background: var(--c-bg-2);
  border: 1px solid var(--c-ink-line);
  border-radius: 16px;
  padding: 4px 32px;
}

.faq__item {
  border-bottom: 1px dashed var(--c-ink-line);
}
.faq__item:last-child { border-bottom: 0; }

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--c-ink);
  transition: color .2s ease;
}
.faq__trigger:hover { color: var(--c-ink-2); }

.faq__chevron {
  flex-shrink: 0;
  opacity: 0.6;
  transition: transform .25s var(--e-out);
}
.faq__trigger[aria-expanded="true"] .faq__chevron {
  transform: rotate(180deg);
}

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s var(--e-out);
}
.faq__trigger[aria-expanded="true"] + .faq__panel {
  grid-template-rows: 1fr;
}
.faq__panel-inner {
  overflow: hidden;
}
.faq__panel p {
  padding-bottom: 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-ink-dim);
}

@media (max-width: 600px) {
  .faq__card { padding: 4px 22px; }
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  padding: clamp(120px, 14vw, 200px) 0;
  background: var(--c-ink);
  color: var(--c-bg);
  border-bottom: 1px solid var(--c-ink);
  position: relative;
}
.final-cta__mesh { display: none; }
.final-cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
.final-cta__eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--c-orange);
  margin-bottom: 32px;
}
.final-cta__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--c-bg);
  margin-bottom: 36px;
}
.final-cta__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-orange);
}
.final-cta__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(14, 12, 10, 0.7);
  max-width: 520px;
  margin: 0 auto 48px;
}
.final-cta__actions {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
/* On the cream final-cta section the pill flips dark so it reads */
.final-cta .btn {
  --btn-bg: var(--c-bg);
  --btn-fg: var(--c-ink);
  --btn-circle: var(--c-orange);
  --btn-arrow: var(--c-ink);
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 100px 0 32px;
  background: var(--c-bg);
  position: relative;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  margin-bottom: 80px;
}
.footer__brand p {
  font-size: 14px;
  color: var(--c-ink-dim);
  margin-top: 24px;
  max-width: 320px;
  line-height: 1.6;
}
.footer__logo {
  height: 24px;
}
.footer__cols {
  display: flex;
  justify-content: flex-start;
  gap: 32px;
}
.footer__col h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-ink-low);
  margin-bottom: 20px;
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: var(--c-ink);
  padding: 6px 0;
  transition: color .25s ease, transform .3s var(--e-out);
}
.footer__col a:hover { color: var(--c-orange); transform: translateX(4px); }

.footer__giant {
  margin: 32px 0 24px;
  user-select: none;
}
.footer__giant-img {
  display: block;
  width: 100%;
  height: auto;
}

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--c-ink-line);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-ink-low);
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a:hover { color: var(--c-ink); }

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; gap: 48px; }
  .footer__cols { justify-content: flex-start; gap: 24px; }
  .footer__bottom { font-size: 10px; }
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--e-out), transform 1s var(--e-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- LEGAL PAGES (Termos / Privacidade) ---------- */
.legal {
  padding: clamp(140px, 17vh, 210px) 0 clamp(80px, 10vw, 140px);
  border-bottom: 1px solid var(--c-ink-line);
}
.legal__head {
  max-width: 760px;
  padding-bottom: clamp(28px, 3vw, 40px);
  margin-bottom: clamp(36px, 4vw, 60px);
  border-bottom: 1px solid var(--c-ink-line);
}
.legal__eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-orange);
  margin-bottom: 24px;
}
.legal__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--c-ink);
}
.legal__updated {
  margin-top: 18px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-ink-low);
}
.legal__body {
  max-width: 760px;
}
.legal__body h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--c-ink);
  margin: clamp(36px, 4vw, 56px) 0 14px;
}
.legal__body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-ink-dim);
  margin-bottom: 16px;
}
.legal__body ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.legal__body li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-ink-dim);
  margin-bottom: 10px;
}
.legal__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-orange);
}
.legal__body strong { color: var(--c-ink); font-weight: 600; }
.legal__body a { color: var(--c-orange); }
.legal__body a:hover { text-decoration: underline; }
.legal__intro {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--c-ink-dim);
  margin-bottom: 8px;
}

/* ---------- PROJECT / CASE PAGE ---------- */
.project__hero {
  padding: clamp(140px, 18vh, 215px) 0 clamp(36px, 4vw, 56px);
}
.project__back {
  display: flex; width: max-content; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c-ink-dim);
  margin-bottom: clamp(36px, 5vw, 64px);
  transition: color .3s var(--e-out), gap .3s var(--e-out);
}
.project__back:hover { color: var(--c-orange); gap: 13px; }
.project__eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--c-orange);
  margin-bottom: 22px;
}
.project__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(52px, 9vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--c-ink);
}
.project__lead {
  margin-top: clamp(20px, 2vw, 28px);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.55;
  color: var(--c-ink-dim);
  max-width: 640px;
}
.project__facts {
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: clamp(28px, 3vw, 36px) 0 0;
  border-top: 1px solid var(--c-ink-line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.project__facts li { display: flex; flex-direction: column; gap: 8px; }
.project__facts span {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--c-ink-low);
}
.project__facts strong {
  font-family: var(--f-display); font-weight: 500; font-size: clamp(15px, 1.2vw, 18px);
  color: var(--c-ink); letter-spacing: -0.01em;
}

.project__cover { padding-bottom: clamp(60px, 8vw, 120px); }
.project__shot {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-ink-line);
  background: var(--c-bg-3);
}
.project__shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project__shot span {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.4vw, 56px); letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.92);
}
.project__shot--purple { background: linear-gradient(160deg, #2A1F44, #1A1230); }
.project__shot--green  { background: linear-gradient(160deg, #1E3A2F, #0E211A); }
.project__shot--cream  { background: linear-gradient(160deg, #DFD3BE, #B89867); }
.project__shot--violet { background: linear-gradient(160deg, #1F164D, #0D0828); }
.project__shot--orange { background: linear-gradient(160deg, var(--c-orange), #B33200); }
.project__shot--coffee { background: linear-gradient(160deg, #5A3A22, #2A160C); }
.project__shot--cream span { color: rgba(20, 17, 15, 0.85); }

.project__section { padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--c-ink-line); }
.project__block {
  display: grid; grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px); align-items: start;
}
.project__block + .project__block { margin-top: clamp(40px, 5vw, 72px); }
.project__block-label {
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-ink-dim);
}
.project__block-label b { color: var(--c-orange); font-weight: 500; }
.project__block-text p {
  font-size: clamp(16px, 1.4vw, 20px); line-height: 1.7; color: var(--c-ink-dim);
  margin-bottom: 16px;
}
.project__block-text p:last-child { margin-bottom: 0; }
.project__block-text strong { color: var(--c-ink); font-weight: 600; }
.project__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.project__tags span {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-ink-low);
  border: 1px solid var(--c-ink-hair); padding: 6px 14px; border-radius: var(--radius-md);
}

.project__gallery { padding: clamp(8px, 2vw, 24px) 0 clamp(64px, 8vw, 120px); }
.project__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.project__grid .project__shot { aspect-ratio: 16 / 9; }

@media (max-width: 760px) {
  .project__facts { grid-template-columns: 1fr 1fr; }
  .project__block { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- LENIS — smooth scroll ---------- */
html.lenis,
html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ============================================================
   PROPOSTA — página de proposta de projeto
   ============================================================ */
.proposal__hero { padding: clamp(140px, 18vh, 215px) 0 clamp(36px, 4vw, 56px); }

/* Cenário */
.proposal__context { padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--c-ink-line); }
.proposal__context .project__block-text p strong { color: var(--c-ink); }

/* Seção genérica da proposta */
.proposal__section { padding: clamp(56px, 7vw, 110px) 0; border-top: 1px solid var(--c-ink-line); }

/* Opções */
.proposal__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}
.opt {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 44px);
  background: var(--c-bg-2);
  border: 1px solid var(--c-ink-line);
  border-radius: var(--radius-lg);
}
.opt--featured { border-color: rgba(255, 70, 1, 0.42); }
.opt__badge {
  position: absolute; top: clamp(28px, 3vw, 44px); right: clamp(28px, 3vw, 44px);
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-orange);
}
.opt__tag {
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-ink-dim);
  margin-bottom: 18px;
}
.opt__tag b { color: var(--c-orange); font-weight: 500; }
.opt__name {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; letter-spacing: -0.03em;
  color: var(--c-ink);
}
.opt__name em { font-style: italic; }
.opt__desc {
  margin-top: 16px; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.65;
  color: var(--c-ink-dim); max-width: 46ch;
}
.opt__list { margin: clamp(24px, 3vw, 32px) 0 0; display: flex; flex-direction: column; gap: 12px; }
.opt__list li {
  display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start;
  font-size: 15px; line-height: 1.45; color: var(--c-ink-2);
}
.opt__list li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--c-orange); flex-shrink: 0; }
.opt__spacer { flex: 1 1 auto; min-height: 28px; }
.opt__meta {
  margin-top: clamp(24px, 3vw, 32px); padding-top: 22px;
  border-top: 1px solid var(--c-ink-line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.opt__meta-label {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--c-ink-low);
}
.opt__meta-value {
  font-family: var(--f-display); font-weight: 500; font-size: 16px; color: var(--c-ink);
  letter-spacing: -0.01em;
}
.opt__price { margin-top: clamp(22px, 2.5vw, 28px); display: flex; align-items: baseline; gap: 10px; }
.opt__price-currency { font-size: clamp(18px, 1.4vw, 22px); color: var(--c-ink-dim); font-weight: 500; }
.opt__price-value {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.04em; color: var(--c-ink);
}
.opt__cta { margin-top: clamp(26px, 3vw, 34px); }
.opt__cta .btn { width: 100%; justify-content: space-between; }

/* Como trabalhamos */
.proposal__approach { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
.approach-card { padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--c-ink-line); border-radius: var(--radius-lg); background: var(--c-bg-2); }
.approach-card__num {
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--c-orange);
}
.approach-card__num b { color: var(--c-ink-dim); font-weight: 500; }
.approach-card h3 {
  margin-top: 16px; font-family: var(--f-display); font-weight: 500;
  font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -0.02em; color: var(--c-ink);
}
.approach-card p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--c-ink-dim); }

@media (max-width: 860px) {
  .proposal__options { grid-template-columns: 1fr; }
  .proposal__approach { grid-template-columns: 1fr; }
}
