/* ============================================================
   DOOME — Design Tokens + Utilitários globais
   Editorial luxuoso · paleta cinza-azulada do logo
   Padrão MAVEI: HTML estático, performance mobile-first.
   ============================================================ */

:root {
  /* Paleta */
  --paper:        #F2EFEA;          /* off-white quente, fundo principal */
  --paper-warm:   #EDE8E0;
  --paper-cool:   #E6E8EB;
  --mist:         #B8C2C9;          /* cinza-azulado do logo */
  --mist-deep:    #5C6770;
  --graphite:     #2A2F33;          /* texto principal */
  --ink:          #14181B;          /* preto profundo */
  --petrol:       #1F3A47;          /* acento azul-petróleo */
  --petrol-soft:  #2C4E5E;
  --line:         rgba(20, 24, 27, 0.12);
  --line-soft:    rgba(20, 24, 27, 0.06);

  /* Aliases brand.json (compat MAVEI) */
  --primaria:   var(--ink);
  --secundaria: var(--paper);
  --destaque:   var(--petrol);
  --fundo:      var(--paper);
  --texto:      var(--graphite);
  --texto-suave: rgba(20, 24, 27, 0.6);

  /* Tipografia — Montserrat substitui serif tradicional pra preservar cara DOOME */
  --serif: "Montserrat", "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans:  "Montserrat", "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Escalas tipográficas */
  --fs-display: clamp(48px, 7vw, 120px);
  --fs-h1:      clamp(38px, 5.5vw, 88px);
  --fs-h2:      clamp(28px, 3.5vw, 60px);
  --fs-h3:      clamp(20px, 2.2vw, 36px);
  --fs-lead:    clamp(15px, 1.1vw, 19px);
  --fs-body:    16px;
  --fs-small:   13px;
  --fs-mono:    11px;

  /* Espaços */
  --gutter:  clamp(20px, 4vw, 64px);
  --section: clamp(60px, 7vw, 120px);
  --max-w:   1800px;
  --radius:  2px;

  /* Easings */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);
}

/* ── Reset & base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--petrol); color: var(--paper); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--mist); }

/* ── Utilitários tipográficos ────────────────────────────────── */
.serif {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.serif-it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
}
.mono {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist-deep);
}

/* ── Reveals on-scroll (driven por IntersectionObserver em main.js) ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Nav fixa ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 22px var(--gutter);
  gap: 40px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  color: rgba(255, 255, 255, 0.95);
  transition: background 0.5s var(--ease-out), padding 0.4s var(--ease-out), border-color 0.5s, color 0.4s;
}
/* Em páginas internas (não home) o nav já nasce com fundo bege */
body:not([data-page="home"]) .nav {
  background: rgba(242, 239, 234, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  color: var(--graphite);
  padding: 14px var(--gutter);
}
.nav--scrolled {
  padding: 14px var(--gutter);
  background: rgba(242, 239, 234, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  color: var(--graphite);
}
.nav__brand {
  background: none;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
}
.nav__brand img { height: 32px; width: auto; }
.nav__logo { display: inline-flex; transition: opacity .4s var(--ease-out); }
/* Home topo (transparente) → mostra logo branca */
.nav__logo--dark { display: none; }
.nav__logo--white { display: inline-flex; }
/* Páginas internas → logo escura */
body:not([data-page="home"]) .nav__logo--white { display: none; }
body:not([data-page="home"]) .nav__logo--dark  { display: inline-flex; }
/* Home com scroll → logo escura */
.nav--scrolled .nav__logo--white { display: none; }
.nav--scrolled .nav__logo--dark  { display: inline-flex; }
/* Drawer mobile aberto → fundo escuro, mostra branca */
.nav--menu-open .nav__logo--dark  { display: none; }
.nav--menu-open .nav__logo--white { display: inline-flex; }
.nav__items {
  display: flex;
  gap: 32px;
  justify-content: center;
}
.nav__item {
  padding: 8px 0;
  color: inherit;
  font-size: 14px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  opacity: 0.66;
  transition: opacity 0.3s;
  position: relative;
}
.nav__item:hover,
.nav__item.is-active { opacity: 1; }
.nav__item.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
}
.nav__n {
  font-size: 9px;
  opacity: 0.55;
  font-family: var(--mono);
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background 0.4s, color 0.4s;
}
.nav__cta:hover {
  background: var(--graphite);
  color: var(--paper);
}
@media (max-width: 900px) {
  .nav { grid-template-columns: auto auto; gap: 14px; padding: 14px 20px; }
  .nav__items, .nav__cta { display: none; }
}

/* ── Botões ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
  font-family: var(--sans);
}
.btn:hover {
  background: var(--graphite);
  color: var(--paper);
  border-color: var(--graphite);
}
.btn--solid {
  background: var(--graphite);
  color: var(--paper);
  border-color: var(--graphite);
}
.btn--solid:hover {
  background: var(--petrol);
  border-color: var(--petrol);
}
.btn--on-dark:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn svg { flex-shrink: 0; }

/* Botão WhatsApp dedicado (cor da marca WhatsApp) */
.wpp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
}
.wpp-btn:hover { background: #1DA851; }

/* ── Page header escuro (topo das páginas internas) ─────────── */
.page-header {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(120px, 16vw, 220px) var(--gutter) clamp(60px, 8vw, 120px);
}
.page-header .eyebrow {
  color: var(--mist);
  margin-bottom: 28px;
}
.page-header__title {
  font-size: clamp(48px, 7vw, 110px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 32px;
  font-family: var(--serif);
}
.page-header__title em {
  font-style: italic;
  opacity: 0.8;
  font-weight: 300;
}
.page-header__lead {
  font-size: clamp(15px, 1.1vw, 18px);
  color: rgba(242, 239, 234, 0.72);
  max-width: 52ch;
  line-height: 1.65;
  margin: 0;
}

/* ── Numbers (faixa escura com métricas grandes) ─────────────── */
.numbers {
  background: var(--ink);
  color: var(--paper);
  padding: var(--section) var(--gutter);
}
.numbers__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.numbers__v {
  font-size: clamp(48px, 7vw, 110px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
  font-family: var(--serif);
}
.numbers__l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 239, 234, 0.55);
  margin-top: 12px;
}
@media (max-width: 700px) {
  .numbers__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Missão / faixa petrol ───────────────────────────────────── */
.missao {
  background: var(--petrol);
  color: var(--paper);
  padding: var(--section) var(--gutter);
}
.missao__inner { max-width: var(--max-w); margin: 0 auto; }
.missao__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 239, 234, 0.6);
  margin-bottom: 32px;
}
.missao__text {
  font-size: clamp(24px, 3.5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 20ch;
  margin: 0;
  font-family: var(--serif);
}
.missao__text em {
  font-style: italic;
  opacity: 0.75;
  font-weight: 300;
}

/* ── CTA band ─────────────────────────────────────────────────── */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: var(--section) var(--gutter);
  text-align: center;
}
.cta-band--petrol { background: var(--petrol); }
.cta-band__title {
  font-size: clamp(28px, 5vw, 80px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 40px;
  font-family: var(--serif);
}
.cta-band__title em {
  font-style: italic;
  opacity: 0.8;
  font-weight: 300;
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: var(--section) var(--gutter) 40px;
}
.footer__top {
  padding-bottom: 100px;
  border-bottom: 1px solid rgba(242, 239, 234, 0.16);
}
.footer__manifesto {
  font-size: clamp(48px, 7vw, 120px);
  letter-spacing: -0.025em;
  font-weight: 300;
  line-height: 0.95;
  margin: 0;
  font-family: var(--serif);
}
.footer__manifesto em {
  font-style: italic;
  opacity: 0.8;
  font-weight: 300;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 60px 0 80px;
  border-bottom: 1px solid rgba(242, 239, 234, 0.16);
}
.footer__col p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(242, 239, 234, 0.78);
}
/* Touch targets adequados em mobile: links clicáveis com área de hit ≥ 48px */
.footer__col p a,
.footer__col p button {
  display: inline-block;
  padding: 6px 0;
  min-height: 32px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
@media (max-width: 700px) {
  .footer__col p a,
  .footer__col p button {
    padding: 10px 0;
    min-height: 44px;
  }
}
.footer__col .eyebrow {
  color: var(--mist);
  margin: 0;
}
.footer__col a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.footer__col a:hover { border-bottom-color: currentColor; }
.footer__base {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 40px;
}
.footer__base p {
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0.45;
  margin: 0;
}
.footer__base-sep {
  width: 24px;
  height: 1px;
  background: rgba(242, 239, 234, 0.2);
}
.mavei-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 239, 234, 0.75);
  transition: color 0.35s ease, opacity 0.35s ease;
}
.mavei-credit:hover { color: rgba(242, 239, 234, 0.9); }
.mavei-credit__label { white-space: nowrap; }
.mavei-credit img {
  height: 14px;
  width: auto;
  display: block;
  opacity: 0.7;
  transition: opacity 0.35s ease;
}
.mavei-credit:hover img { opacity: 1; }
@media (max-width: 600px) {
  .footer__base-sep { display: none; }
  .footer__base { gap: 8px; }
}
@media (max-width: 800px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Card de projeto (usado em /projetos e home) ─────────────── */
.proj-card { display: block; cursor: pointer; }
.proj-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
  position: relative;
  background: var(--mist);
}
.proj-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.7s var(--ease-out);
  filter: grayscale(0.15) contrast(1.02);
}
.proj-card:hover .proj-card__media img {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1.05);
}
.proj-card__type {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist-deep);
}
.proj-card__name {
  font-size: clamp(22px, 2.5vw, 40px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin: 8px 0 12px;
  font-family: var(--serif);
}
.proj-card__meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist-deep);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.proj-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--mist-deep);
  margin-top: 12px;
  max-width: 44ch;
}

/* ── Service item (lista de serviços) ────────────────────────── */
.service-item {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 40px;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.service-item:last-child { border-bottom: 1px solid var(--line); }
.service-item__n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist-deep);
  padding-top: 8px;
}
.service-item__main h2 {
  font-size: clamp(28px, 4vw, 64px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 20px;
  font-family: var(--serif);
}
.service-item__main p {
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.7;
  color: var(--mist-deep);
  max-width: 44ch;
  margin: 0;
}
.service-item__sub { padding-top: 8px; }
.service-item__sub h3 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist-deep);
  margin: 0 0 20px;
  font-weight: 500;
}
.service-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist-deep);
  transition: all 0.3s;
}
.tag:hover {
  border-color: var(--graphite);
  color: var(--graphite);
}
@media (max-width: 900px) {
  .service-item { grid-template-columns: 40px 1fr; gap: 20px; }
  .service-item__sub { grid-column: 2; }
}

/* ── Process steps (faixa petrol) ─────────────────────────────── */
.process {
  background: var(--petrol);
  color: var(--paper);
  padding: var(--section) var(--gutter);
}
.process__inner { max-width: var(--max-w); margin: 0 auto; }
.process__header { margin-bottom: 80px; }
.process__title {
  font-size: clamp(28px, 4.5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 16px 0 0;
  font-family: var(--serif);
}
.process__title em {
  font-style: italic;
  opacity: 0.8;
  font-weight: 300;
}
.process__steps { display: grid; gap: 0; }
.process__step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid rgba(242, 239, 234, 0.18);
}
.process__step:last-child { border-bottom: 1px solid rgba(242, 239, 234, 0.18); }
.process__n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(242, 239, 234, 0.45);
  padding-top: 6px;
}
.process__step-title {
  font-size: clamp(20px, 2.5vw, 40px);
  font-weight: 300;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  font-family: var(--serif);
}
.process__step-desc {
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.7;
  color: rgba(242, 239, 234, 0.7);
  margin: 0;
  max-width: 52ch;
}
@media (max-width: 700px) {
  .process__step { grid-template-columns: 40px 1fr; gap: 16px; }
}

/* ── Mobile fixes globais ─────────────────────────────────────── */
@media (max-width: 700px) {
  .footer__top { padding-bottom: 60px; }
  .footer__grid { padding: 40px 0 60px; }
}

/* Lightbox de projetos: estilos em /lightbox.css (carregado separadamente) */

/* ============================================================
   HOME — Hero, Manifesto, Projetos, Cursor, Drawer
   (regras específicas da home, antes inline no index.html)
   ============================================================ */

/* ── Burger mobile ──────────────────────────────────────────── */
.nav__burger { display: none; }
@media (max-width: 900px) {
  .nav__burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: none; border: 0; padding: 0;
    color: inherit;
    margin-left: auto;
    align-items: flex-end;
    z-index: 110; position: relative;
  }
  .nav__burger span {
    display: block; width: 24px; height: 1px;
    background: currentColor;
    transition: transform 0.4s var(--ease-out), width 0.4s var(--ease-out);
    transform-origin: right center;
  }
  .nav__burger span:nth-child(2) { width: 16px; }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(3px) rotate(-45deg); width: 24px; }
  .nav__burger.is-open span:nth-child(2) { transform: translateY(-3px) rotate(45deg); width: 24px; }
  .nav--menu-open { background: var(--ink) !important; color: var(--paper) !important; border-bottom-color: transparent !important; backdrop-filter: none !important; }
}

/* ── Drawer mobile ──────────────────────────────────────────── */
.drawer { display: none; }
@media (max-width: 900px) {
  .drawer {
    position: fixed; inset: 0;
    background: var(--ink); color: var(--paper);
    z-index: 105;
    transform: translateY(-100%);
    transition: transform 0.6s var(--ease-in-out);
    display: flex; flex-direction: column;
    justify-content: space-between;
    padding: 96px 26px 36px;
    pointer-events: none;
  }
  .drawer--open { transform: translateY(0); pointer-events: auto; }
  .drawer__nav { display: flex; flex-direction: column; gap: 0; margin-top: 12px; }
  .drawer__item {
    background: none; border: 0; padding: 12px 0;
    color: inherit; text-align: left;
    display: grid; grid-template-columns: 36px 1fr;
    align-items: baseline; gap: 12px;
    border-bottom: 1px solid rgba(242,239,234,0.1);
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  }
  .drawer--open .drawer__item { opacity: 1; transform: translateY(0); }
  .drawer__item:nth-child(1){ transition-delay:.15s }
  .drawer__item:nth-child(2){ transition-delay:.21s }
  .drawer__item:nth-child(3){ transition-delay:.27s }
  .drawer__item:nth-child(4){ transition-delay:.33s }
  .drawer__item:nth-child(5){ transition-delay:.39s }
  .drawer__item:nth-child(6){ transition-delay:.45s }
  .drawer__n { color: var(--mist); font-size: 10px; font-family: var(--mono); }
  .drawer__label { font-size: clamp(32px, 9vw, 56px); font-weight: 300; letter-spacing: -.025em; line-height: 1.05; }
  .drawer__item.is-active .drawer__label { font-style: italic; }
  .drawer__foot { display: flex; flex-direction: column; gap: 20px; opacity: 0; transition: opacity .5s var(--ease-out) .45s; }
  .drawer--open .drawer__foot { opacity: 1; }
  .drawer__cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 22px; border: 1px solid var(--paper); border-radius: 999px;
    color: var(--paper); font-size: 13px;
  }
  .drawer__contact { display: flex; flex-direction: column; gap: 6px; color: rgba(242,239,234,.55); font-size: 11px; font-family: var(--mono); }
  .drawer__contact a { color: inherit; }
}

/* ── Cursor customizado (desktop) ───────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  mix-blend-mode: difference; will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--paper);
  transition: width .25s var(--ease-out), height .25s var(--ease-out), opacity .25s var(--ease-out);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--paper); border-radius: 50%;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), background .3s var(--ease-out), border-color .3s var(--ease-out);
  display: flex; align-items: center; justify-content: center;
}
.cursor-label {
  font-family: var(--mono); font-size: 9px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--paper);
  opacity: 0; transition: opacity .3s var(--ease-out); white-space: nowrap;
}
.cursor-ring.cursor-link  { width: 70px;  height: 70px; }
.cursor-ring.cursor-link  .cursor-label { opacity: 1; }
.cursor-dot.cursor-link   { opacity: 0; }
.cursor-ring.cursor-project { width: 110px; height: 110px; background: var(--paper); border-color: var(--paper); }
.cursor-ring.cursor-project .cursor-label { opacity: 1; color: var(--graphite); mix-blend-mode: normal; }
.cursor-dot.cursor-project  { opacity: 0; }
@media (max-width: 900px), (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh; min-height: 720px;
  width: 100%; overflow: hidden;
  color: var(--paper);
}
.hero__bg, .hero__veil { position: absolute; inset: 0; }
.hero__bg--carousel { position: absolute; inset: 0; will-change: transform; }
.hero__bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.15) contrast(1.08) brightness(.65);
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(.22,1,.36,1);
  will-change: opacity;
}
.hero__bg-img.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__bg-img { transition: none; } }
.hero__veil {
  background: linear-gradient(170deg,rgba(14,18,22,.72) 0,rgba(14,18,22,.38) 45%,rgba(14,18,22,.82) 100%);
}
.hero__chrome {
  position: relative; z-index: 2; height: 100%;
  padding: 140px var(--gutter) 60px;
  display: flex; flex-direction: column; justify-content: space-between;
  pointer-events: none;
}
.hero__chrome a, .hero__chrome button { pointer-events: auto; }
.hero__meta { display: flex; align-items: center; gap: 14px; font-size: 11px; opacity: .75; letter-spacing: .1em; font-family: var(--mono); }
.hero__meta-dot { width: 4px; height: 4px; border-radius: 50%; background: #1e6fbf; }
.hero__title {
  font-size: clamp(36px,5.5vw,80px);
  font-weight: 300; letter-spacing: -.03em; line-height: 1.05;
  margin: .4em 0 0;
  text-shadow: 0 2px 40px rgba(0,0,0,.4);
}
.hero__title em { font-weight: 300; color: #6fb3f5; font-style: italic; }
.hero__bottom { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.hero__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.reveal-line { display: inline-block; overflow: hidden; vertical-align: bottom; }
.reveal-line > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); }
.reveal-line.in > span { transform: translateY(0); }

/* Hero — controles carrossel */
.hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(20,24,27,.25);
  border: 1px solid rgba(242,239,234,.4);
  color: #F2EFEA;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0; opacity: .4;
  transition: opacity .4s ease, background .3s, color .3s, border-color .3s, transform .3s cubic-bezier(.22,1,.36,1);
  backdrop-filter: blur(6px);
}
.hero:hover .hero__nav { opacity: .8; }
.hero__nav:hover { opacity: 1 !important; background: rgba(242,239,234,.95); color: #14181B; border-color: rgba(242,239,234,.95); }
.hero__nav--prev { left: clamp(12px,2.5vw,28px); }
.hero__nav--next { right: clamp(12px,2.5vw,28px); }

.hero__dots {
  position: absolute; bottom: clamp(16px,3vh,28px); left: 50%;
  transform: translateX(-50%); z-index: 5;
  display: flex; gap: 8px; padding: 0;
}
.hero__dot {
  /* Acessibilidade: área de toque 44px com bolinha visual 6px */
  width: 44px; height: 44px;
  background: transparent; border: 0; padding: 0; margin: 0;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
.hero__dot::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(242,239,234,.35);
  transition: background .3s, width .3s, opacity .3s;
}
.hero__dot:hover::before { background: rgba(242,239,234,.7); }
.hero__dot.is-on::before { background: rgba(242,239,234,.95); width: 18px; border-radius: 3px; }
@media (max-width: 700px) {
  .hero__nav { width: 38px; height: 38px; opacity: .55; }
  .hero__nav--prev { left: 10px; }
  .hero__nav--next { right: 10px; }
}

/* ── Manifesto ──────────────────────────────────────────────── */
.manifesto { padding: var(--section) var(--gutter); max-width: 1600px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.manifesto__eyebrow { margin-bottom: 32px; display: flex; align-items: center; justify-content: center; }
.manifesto__text {
  font-size: clamp(24px,3vw,52px);
  font-weight: 300; letter-spacing: -.025em;
  line-height: 1.05; max-width: 22ch; text-wrap: pretty;
  margin: 0 auto;
}
.manifesto__faded { opacity: .36; }

/* ── Projetos em destaque (home) — GRID 2-col ──────────────── */
.projects { padding: var(--section) var(--gutter); max-width: 1600px; margin: 0 auto; }
.projects__header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; margin-bottom: 56px; }
.projects__header .eyebrow { display: flex; align-items: center; justify-content: center; }
.projects__title { font-size: clamp(26px,3.2vw,54px); font-weight: 300; letter-spacing: -.025em; line-height: 1.05; max-width: 18ch; margin: 0 auto; }

.projects__grid {
  display: grid;
  /* cada coluna tem MAX 500px — em ultrawide os cards param de crescer */
  grid-template-columns: repeat(2, minmax(0, 500px));
  justify-content: center;
  gap: clamp(32px,4vw,64px) clamp(32px,4vw,80px);
}
@media (max-width: 800px) { .projects__grid { grid-template-columns: minmax(0, 500px); } }
.project { display: block; cursor: pointer; }
.project--r { margin-top: 60px; }
@media (max-width: 800px) { .project--r { margin-top: 0; } }
.project__media { overflow: hidden; aspect-ratio: 4/5; background: var(--mist); margin-bottom: 18px; }
.project__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease-out), filter 1s var(--ease-out);
  filter: grayscale(.05) contrast(1.02);
}
.project:hover .project__media img { transform: scale(1.04); filter: grayscale(0) contrast(1.05); }
.project__caption { display: flex; flex-direction: column; gap: 6px; text-align: left; align-items: flex-start; }
.project__n { color: var(--mist-deep); font-size: 10px; }
.project__name { font-size: clamp(18px,2vw,28px); font-weight: 300; letter-spacing: -.02em; margin: 4px 0; line-height: 1; }
.project__meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--mist-deep); font-size: 10px; justify-content: flex-start; }

.projects__more { margin-top: 56px; display: flex; justify-content: center; }

/* ── Process (home, fundo escuro) ───────────────────────────── */
.process { background: var(--ink); color: var(--paper); padding: var(--section) var(--gutter); }
.process__header { max-width: 1600px; margin: 0 auto 48px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.process__header .eyebrow { color: var(--mist); margin-bottom: 24px; display: flex; align-items: center; justify-content: center; }
.process__title { font-size: clamp(26px,3.2vw,54px); font-weight: 300; letter-spacing: -.025em; line-height: 1.05; max-width: 18ch; margin: 0 auto; }
.process__list { max-width: 1600px; margin: 0 auto; }
.process__step {
  display: grid; grid-template-columns: 80px 1fr 2fr; gap: 40px;
  padding: 36px 0;
  border-top: 1px solid rgba(242,239,234,.18);
  align-items: baseline;
}
.process__step:last-child { border-bottom: 1px solid rgba(242,239,234,.18); }
.process__n { color: var(--mist); font-size: 11px; font-family: var(--mono); }
.process__step-title { font-size: clamp(18px,2vw,32px); font-weight: 300; letter-spacing: -.02em; }
@media (max-width: 800px) {
  .process__step { grid-template-columns: 60px 1fr; gap: 16px; }
  .process__step-desc { grid-column: 2; }
}

/* ── Numbers (home) - usa regras existentes mas com layout grid ── */
.numbers__grid { grid-template-columns: repeat(4,1fr); }
@media (max-width: 800px) { .numbers__grid { grid-template-columns: repeat(2,1fr); } }
.numbers__eyebrow { margin-bottom: 32px; display: flex; align-items: center; justify-content: center; }
.numbers__cell { padding: 40px 0 20px; border-bottom: 1px solid var(--line); }

/* ── Helpers compartilhados ─────────────────────────────────── */
.dash { display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; opacity: .6; }

/* ── Mobile hero/manifesto/projetos refinos ─────────────────── */
@media (max-width: 800px) {
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__chrome { padding: 90px 20px 40px; }
  .hero__title { font-size: clamp(30px,9.5vw,52px); margin: .5em 0 0; line-height: 1.02; }
  .hero__bg-img, .project__media img { transform: none !important; }
  .manifesto { padding: 64px 20px; }
  .manifesto__eyebrow { margin-bottom: 20px; }
  .manifesto__text { font-size: clamp(18px,5.5vw,28px); line-height: 1.25; }
  .manifesto__faded { display: none; }
  .projects { padding: 64px 20px; }
  .projects__header { margin-bottom: 36px; gap: 16px; }
  .projects__title { font-size: clamp(20px,6vw,34px); line-height: 1.15; }
  .projects__grid { gap: 44px; }
  .project__media { aspect-ratio: 3/4; margin-bottom: 12px; }
  .projects__more { margin-top: 44px; }
  .process { padding: 64px 20px; }
  .process__title { font-size: clamp(18px,5.5vw,30px); line-height: 1.15; }
  .process__step { grid-template-columns: 32px 1fr; gap: 10px; padding: 16px 0; }
  .process__step-title { font-size: clamp(16px,4.5vw,22px); grid-column: 2; }
  .process__step-desc { display: none; }
  .numbers__cell { padding: 18px 0 10px; }
}
