/* ==========================================================================
   Off Grid — estilos do site
   Identidade (cores, fontes, logo): css/brand.css
   Decisões de design: ../../DESIGN.md
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
  --pad: clamp(16px, 2.2vw, 32px);
  --gap: 20px;
  --header-h: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --fs-body: clamp(1.0625rem, 0.98rem + 0.25vw, 1.1875rem);
  --fs-small: 0.875rem;
  --fs-lead: clamp(1.375rem, 1.05rem + 1.3vw, 2.25rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1.1vw, 2.25rem);
  --fs-h2: clamp(2.25rem, 1.4rem + 3.4vw, 4.5rem);
  --fs-display: clamp(3.25rem, 1.6rem + 7vw, 6rem);

  color-scheme: light;
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: var(--w-regular);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--ink); }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 2px; }
/* Sobre foto/vídeo o anel de foco é branco (o verde escuro não teria contraste) */
:is(.hero, .feature-hero, .project-hero, .niche, .strip, .mark-band, .backstage, .contact-panel__media) :focus-visible,
.site-header[data-tone="light"]:not(.is-solid) :focus-visible { outline-color: var(--on-media); }

/* Pausar vídeos de fundo (WCAG 2.2.2): botão injetado pelo JS em cada vídeo grande */
.media-ctrl {
  position: absolute; z-index: 3; right: var(--pad); bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-small); font-weight: var(--w-semibold); color: var(--on-media);
  min-height: 36px; padding: 0 12px; border-radius: var(--radius-pill);
  background: rgba(0,0,0,.28); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.media-ctrl svg { width: 12px; height: 12px; }
.media-ctrl:hover { box-shadow: inset 0 0 0 1px var(--on-media); }
.feature-hero .media-ctrl, .project-hero .media-ctrl { top: calc(var(--header-h) + 12px); bottom: auto; }
.mark-band .media-ctrl { right: auto; left: var(--pad); } /* à direita fica o símbolo gigante */

/* Botão fixo de WhatsApp (celular): o canal principal sempre a um toque */
.wa-fab {
  position: fixed; right: 14px; bottom: 14px; z-index: 95;
  display: none; align-items: center; gap: 8px;
  min-height: 52px; padding: 0 18px 0 16px; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--ink); font-weight: var(--w-bold); font-size: .9375rem;
  box-shadow: 0 10px 28px -10px rgba(0,0,0,.45);
  transition: transform .5s var(--ease-out), opacity .4s var(--ease-out);
}
.wa-fab svg { width: 20px; height: 20px; }
.wa-fab.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }
body.menu-open .wa-fab, body.panel-open .wa-fab { display: none !important; }

.noscript-nav { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px var(--pad); background: var(--bg); box-shadow: 0 1px 0 var(--line); font-weight: var(--w-semibold); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: var(--pad); top: 12px; z-index: 400;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-pill);
  transform: translateY(-200%); transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Tipografia ---------- */
.display, .h2, .h3, .bold {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 0.95;
}
.display { font-size: var(--fs-display); text-wrap: balance; }
.h2 { font-size: var(--fs-h2); line-height: 1; text-wrap: balance; }
.h3 { font-size: var(--fs-h3); line-height: 1.05; letter-spacing: -0.025em; }
.thin { font-family: var(--font-body); font-weight: var(--w-light); font-stretch: 100%; letter-spacing: -0.02em; }
.lead { font-size: var(--fs-lead); line-height: 1.22; letter-spacing: -0.015em; max-width: 34ch; text-wrap: pretty; }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-small); line-height: 1.4; }
.label { font-size: var(--fs-small); font-weight: var(--w-medium); line-height: 1.3; color: var(--ink-2); }
.prose { max-width: 62ch; }
.prose p + p { margin-top: 1em; }
.accent { color: var(--accent-ink); }

/* Manuscrito (Zeyada): notas, numeração, rótulos do cursor */
.hand {
  font-family: var(--font-hand);
  font-weight: var(--w-regular);
  font-stretch: 100%;
  letter-spacing: 0;
  line-height: 1;
}
.hand-note { font-family: var(--font-hand); font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.6rem); line-height: 1; color: var(--ink); transform: rotate(-3deg); display: inline-block; }

/* Sublinhado desenhado à mão (SVG inline, desenha ao entrar na tela) */
.scribble { position: relative; display: inline-block; white-space: nowrap; }
.scribble svg { position: absolute; left: -4%; width: 108%; bottom: -0.22em; height: 0.42em; overflow: visible; pointer-events: none; }
.scribble path { fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease-out) .35s; }
.scribble.is-in path, .no-js .scribble path { stroke-dashoffset: 0; }

/* ---------- Layout ---------- */
.wrap { padding-inline: var(--pad); }
.section { padding-block: clamp(80px, 11vw, 176px); }
.section--tight { padding-block: clamp(48px, 6vw, 96px); }
.section--alt { background: var(--bg-alt); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
/* Título à esquerda + conteúdo à direita (FAQ, texto longo). Vira 1 coluna no celular. */
.split-2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.split-2__head { grid-column: 1 / span 4; }
.split-2__body { grid-column: 6 / -1; }
.split-2__body--narrow { grid-column: 5 / span 7; }

/* Símbolo da marca (arquivo em css/brand.css → --simbolo-url). O quadradinho verde
   é o detalhe do símbolo provisório; some quando --simbolo-detalhe for none. */
.og-mark { position: relative; display: inline-block; width: 1em; height: 1em; flex: none; background: currentColor; -webkit-mask: var(--simbolo-url) center / contain no-repeat; mask: var(--simbolo-url) center / contain no-repeat; }
.og-mark-wrap { position: relative; display: inline-block; line-height: 0; }
.og-mark-wrap::after { content: ""; display: var(--simbolo-detalhe, block); position: absolute; right: 0; bottom: 0; width: 20.5%; height: 20.5%; background: var(--accent); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .h2 { max-width: 16ch; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-fill: var(--accent); --btn-fill-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: var(--w-semibold); font-size: 1rem; letter-spacing: -0.005em; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fill);
  clip-path: circle(0% at 50% 120%);
  transition: clip-path .6s var(--ease-out);
}
.btn:hover, .btn:focus-visible { color: var(--btn-fill-fg); }
.btn:hover::before, .btn:focus-visible::before { clip-path: circle(140% at 50% 120%); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--green { --btn-bg: var(--accent); --btn-fg: var(--ink); --btn-fill: var(--ink); --btn-fill-fg: #fff; }
.btn--lg { min-height: 64px; padding: 0 34px; font-size: 1.125rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  font-weight: var(--w-semibold);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1.5px no-repeat;
  padding-bottom: 3px;
  transition: background-size .5s var(--ease-out);
}
.link-arrow:hover, .link-arrow:focus-visible { background-size: 100% 1.5px; }
.link-arrow .arw { transition: transform .5s var(--ease-out); }
.link-arrow:hover .arw { transform: translateX(4px); }

/* ---------- Logo ---------- */
.wordmark {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start;
  font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch);
  font-size: 1.375rem; line-height: 1; letter-spacing: -0.04em; white-space: nowrap;
}
.wordmark .og-mark-wrap { font-size: 22px; }
.wordmark__img {
  display: block; height: var(--logo-height); aspect-ratio: var(--logo-ratio, 5);
  background: currentColor;
  -webkit-mask: var(--logo-url) no-repeat left center / contain;
  mask: var(--logo-url) no-repeat left center / contain;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: clamp(20px, 3vw, 48px);
  padding-inline: var(--pad);
  color: var(--ink);
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out), box-shadow .4s var(--ease-out), transform .5s var(--ease-out);
}
.site-header.is-solid { background: rgba(255,255,255,.94); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-solid { background: rgba(255,255,255,.8); backdrop-filter: saturate(1.4) blur(14px); }
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header[data-tone="light"]:not(.is-solid) { color: #fff; }

.clock {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-small); font-weight: var(--w-semibold); letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.clock__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rec); animation: rec 2s steps(1) infinite; }
@keyframes rec { 50% { opacity: .2; } }

.nav { justify-self: end; display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.nav__links { display: flex; gap: clamp(14px, 1.6vw, 26px); }
.nav__links a {
  font-weight: var(--w-semibold); font-size: .9375rem; white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1.5px no-repeat;
  padding-block: 4px;
  transition: background-size .45s var(--ease-out);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { background-size: 100% 1.5px; }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.site-header[data-tone="light"]:not(.is-solid) .nav .btn { --btn-bg: #fff; --btn-fg: var(--ink); }

.menu-toggle { display: none; justify-self: end; font-weight: var(--w-bold); font-size: .9375rem; min-height: 44px; padding-inline: 4px; }

/* ---------- Menu mobile ---------- */
.menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  padding: calc(var(--header-h) + 24px) var(--pad) 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease-out), visibility 0s linear .7s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-out), visibility 0s; }
.menu__links li { display: flex; align-items: baseline; gap: 12px; }
.menu__links .hand { font-size: 1.5rem; color: var(--accent-ink); width: 1.6em; flex: none; }
.menu__links a {
  display: block;
  font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch);
  font-size: clamp(2.5rem, 11vw, 4.5rem); letter-spacing: -0.04em; line-height: 1.04;
}
.menu__links a[aria-current="page"] { color: var(--accent-ink); }
.menu__foot { display: grid; gap: 14px; }
body.menu-open .site-header[data-tone] { color: var(--ink); background: transparent; box-shadow: none; backdrop-filter: none; transform: none; }

/* ---------- Painel de contato (abre de qualquer página) ---------- */
.contact-panel {
  position: fixed; inset: 0; z-index: 300;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr);
  background: var(--bg);
  clip-path: inset(0 0 0 100%);
  visibility: hidden;
  transition: clip-path .8s var(--ease-out), visibility 0s linear .8s;
}
.contact-panel.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-out), visibility 0s; }
.contact-panel__media { position: relative; overflow: hidden; background: #1a1a18; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--pad); }
.contact-panel__media video, .contact-panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-panel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,.1) 60%); }
.contact-panel__media > * { position: relative; z-index: 1; }
.contact-panel__media .display { font-size: clamp(2.25rem, 1rem + 3vw, 4rem); }
.contact-panel__media .hand { font-size: 2.1rem; color: #fff; margin-top: 18px; display: block; transform: rotate(-3deg); transform-origin: left; }
.contact-panel__details, .contact-panel__form { padding: calc(var(--header-h) + 24px) clamp(20px, 3vw, 48px) 40px; overflow-y: auto; }
.contact-panel__details { border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 28px; }
.contact-panel h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); }
.contact-panel__close {
  position: absolute; top: 14px; right: var(--pad); z-index: 2;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill);
  font-weight: var(--w-semibold); font-size: .9375rem; background: var(--bg-alt);
  display: inline-flex; align-items: center; gap: 8px;
}
.contact-panel__close:hover { background: var(--ink); color: #fff; }
.detail { display: grid; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.detail .label { font-size: .8125rem; }
.detail a, .detail p { font-size: 1.125rem; font-weight: var(--w-semibold); letter-spacing: -0.01em; width: fit-content; }
.detail a:hover { color: var(--accent-ink); }

/* Campos sublinhados (painel) */
.line-form { display: grid; gap: 0; margin-top: 28px; }
.line-field { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding-block: 14px; transition: border-color .3s; }
.line-field:focus-within { border-color: var(--ink); }
.line-field.has-error { border-color: var(--rec); }
.line-field.has-error label { color: #b3261e; }
.form-legal { margin-top: 14px; font-size: .8125rem; color: var(--ink-2); }
.form-legal a { text-decoration: underline; text-underline-offset: 2px; }
.line-field label { font-weight: var(--w-semibold); font-size: .9375rem; }
.line-field input, .line-field textarea, .line-field select { width: 100%; border: 0; background: transparent; padding: 6px 0; font-size: 1.0625rem; outline: none; resize: vertical; }
.line-field textarea { min-height: 96px; }
.line-field ::placeholder { color: #6d6d6a; }
.line-form .btn { margin-top: 28px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; background: #1c1c1a; }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.34) 38%, rgba(0,0,0,0) 68%);
}
.hero__content {
  position: relative; z-index: 1;
  padding: 0 var(--pad) clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end;
}
.hero__title { grid-column: 1 / span 8; }
.hero__title .display { display: block; font-size: clamp(3.5rem, 1.4rem + 8.6vw, 9.5rem); line-height: .86; letter-spacing: -0.045em; }
.hero__title .thin { display: block; font-size: clamp(1.5rem, 1rem + 2vw, 2.875rem); line-height: 1.08; margin-top: .45em; max-width: 22ch; }
.hero__side { grid-column: 9 / -1; display: grid; gap: 22px; justify-items: start; padding-bottom: .4em; }
.hero__side p { max-width: 32ch; color: rgba(255,255,255,.9); font-size: 1.0625rem; line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__ctrl {
  position: absolute; z-index: 2; right: var(--pad); top: calc(var(--header-h) + 12px);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-small); font-weight: var(--w-semibold); color: rgba(255,255,255,.9);
  min-height: 40px; padding: 0 14px; border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.hero__ctrl svg { width: 14px; height: 14px; }
.hero__ctrl:hover { box-shadow: inset 0 0 0 1px #fff; }
.hero__note { position: absolute; z-index: 1; left: var(--pad); top: calc(var(--header-h) + 22px); color: #fff; font-family: var(--font-hand); font-size: clamp(1.5rem, 1rem + 1vw, 2.1rem); transform: rotate(-4deg); transform-origin: left; opacity: .92; }

/* Abertura: o vídeo nasce como uma faixa e abre para a tela cheia (1x por sessão).
   Título, botões e menu ficam visíveis o tempo todo: só a mídia anima. */
.intro .hero__media { clip-path: inset(41% 31% 41% 31%); }
.intro-run .hero__media { clip-path: inset(0 0 0 0); transition: clip-path 1.25s var(--ease-in-out); }

/* Selo girando (referência Rabbits) */
.seal { position: relative; display: block; width: clamp(96px, 8vw, 124px); aspect-ratio: 1; color: #fff; margin-bottom: 6px; }
.seal > svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.seal text { font-size: 9px; font-weight: var(--w-bold); fill: currentColor; font-family: var(--font-body); }
.seal__core { position: absolute; inset: 34%; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: var(--ink); transition: background-color .4s var(--ease-out); }
.seal__core svg { width: 46%; height: 46%; }
.seal:hover .seal__core { background: #fff; }
@keyframes spin { to { transform: rotate(1turn); } }

/* ---------- Page hero (internas) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(48px, 8vw, 120px)) var(--pad) clamp(40px, 5vw, 72px); }
.page-hero .display { font-size: clamp(3.75rem, 1.2rem + 11vw, 11rem); line-height: .85; letter-spacing: -0.05em; }
.page-hero__row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; }
.page-hero__intro { max-width: 40ch; color: var(--ink-2); font-size: 1.125rem; line-height: 1.5; }

/* Faixa de vídeo com a marca gigante por cima (topo de Trabalhos) */
.mark-band { position: relative; height: clamp(260px, 42vh, 460px); overflow: hidden; background: #1a1a18; }
.mark-band video, .mark-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.mark-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.05) 40%, rgba(0,0,0,.25)); }
.mark-band__mark { position: absolute; z-index: 1; right: var(--pad); bottom: -8%; height: 88%; aspect-ratio: 1; color: var(--on-media); }
.mark-band__mark .og-mark { width: 100%; height: 100%; }

/* ---------- Statement ---------- */
.statement { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.statement__label { grid-column: 1 / span 3; padding-top: .55em; }
.statement__label .hand-note { margin-top: 18px; color: var(--accent-ink); }
.statement__text { grid-column: 4 / -1; font-size: clamp(1.625rem, 1rem + 2.4vw, 3.25rem); line-height: 1.12; letter-spacing: -0.025em; text-wrap: pretty; max-width: 28ch; }
.statement__text strong { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); letter-spacing: -0.035em; }
.statement__text em { font-style: normal; color: var(--accent-ink); }

/* ---------- Nichos (entrada: 3 caminhos) ---------- */
.niches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.niche { position: relative; color: #fff; overflow: hidden; background: #222; aspect-ratio: 3 / 4; display: flex; align-items: flex-end; }
.niche img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.niche::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.08) 50%, rgba(0,0,0,0) 72%); }
.niche__body { position: relative; z-index: 1; padding: clamp(18px, 2vw, 28px); width: 100%; }
.niche__n { font-family: var(--font-hand); font-size: 1.75rem; color: var(--on-media); display: block; margin-bottom: 6px; }
.niche h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-size: clamp(2rem, 1.1rem + 2.1vw, 3.25rem); letter-spacing: -0.04em; line-height: .95; }
.niche p { margin-top: 12px; max-width: 34ch; font-size: 1rem; line-height: 1.45; color: rgba(255,255,255,.9); }
.niche__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: var(--w-bold); font-size: .9375rem; }
.niche__go span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink); transition: background-color .4s var(--ease-out), transform .6s var(--ease-out); }
.niche:hover .niche__go span { background: var(--accent); transform: rotate(-45deg); }
.niche a::before { content: ""; position: absolute; inset: 0; z-index: 2; }

/* ---------- Faixas expansíveis (Trabalhos selecionados, referência Rabbits) ---------- */
.strips { display: flex; gap: 4px; height: clamp(480px, 80vh, 820px); background: var(--bg); }
.strip { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: #1c1c1a; color: #fff; transition: flex-grow .9s var(--ease-out); }
.strip.is-active { flex-grow: 4.2; }
.strip img, .strip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.strip video { opacity: 0; transition: opacity .5s var(--ease-out); }
.strip.is-playing video { opacity: 1; }
.strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,0) 45%); opacity: .4; transition: opacity .6s var(--ease-out); }
.strip.is-active::after { opacity: 1; }
.strip__info { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(16px, 1.8vw, 26px); opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); white-space: nowrap; }
.strip.is-active .strip__info { opacity: 1; transform: none; transition-delay: .25s; }
.strip__cat { font-size: .8125rem; font-weight: var(--w-bold); color: rgba(255,255,255,.88); }
.strip__cat::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
.strip__title { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-size: clamp(1.375rem, 1rem + 1.2vw, 2.25rem); letter-spacing: -0.035em; line-height: 1; margin-top: 4px; }
.strip a::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.strip__idx { position: absolute; z-index: 1; top: 14px; left: 14px; font-family: var(--font-hand); font-size: 1.6rem; color: #fff; opacity: .9; }

/* ---------- Lista de serviços (referência sand.black) ---------- */
.services { text-align: center; }
.services__head { margin-bottom: clamp(32px, 4vw, 56px); }
.services__list { display: grid; justify-items: center; gap: 2px; }
.service a { position: relative; display: inline-flex; align-items: flex-start; gap: .35em; padding-block: 2px; }
.service__n { font-family: var(--font-hand); font-size: clamp(1.1rem, .9rem + .5vw, 1.5rem); color: var(--accent-ink); line-height: 1; padding-top: .2em; }
.service__name {
  position: relative; display: inline-block;
  font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch);
  font-size: clamp(2rem, 1rem + 4.2vw, 5rem); letter-spacing: -0.045em; line-height: .98; text-transform: uppercase;
  color: var(--ink-3);
}
.service__name::after {
  content: attr(data-text); position: absolute; inset: 0; color: var(--ink);
  clip-path: inset(100% 0 0 0); transition: clip-path .55s var(--ease-out);
}
.service a:hover .service__name::after, .service a:focus-visible .service__name::after { clip-path: inset(0 0 0 0); }
@media (hover: none) { .service__name { color: var(--ink); } .service__name::after { display: none; } }

/* ---------- Faixa silhueta (P&B multiplicado no branco) ---------- */
.silhouette { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 1.3fr) 1fr; align-items: center; gap: var(--gap); padding: clamp(24px, 4vw, 64px) var(--pad); overflow: hidden; }
.silhouette__img { aspect-ratio: 4 / 5; overflow: hidden; }
.silhouette__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.35) brightness(1.08); mix-blend-mode: multiply; }
.silhouette__logo { text-transform: uppercase; width: min-content; justify-self: end; font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch-max); font-size: clamp(1.75rem, 1rem + 2.4vw, 3.5rem); letter-spacing: -0.05em; line-height: .9; text-align: right; }
.silhouette__tag { font-family: var(--font-hand); font-size: clamp(2rem, 1.2rem + 2.2vw, 3.75rem); line-height: 1.02; transform: rotate(-4deg); }

/* ---------- Split (estúdio teaser) ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.split__text { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); }
.split__media { grid-column: 7 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.split__media > :first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.split__media > :nth-child(2), .split__media > :nth-child(3) { aspect-ratio: 4 / 5; }
.split__media > :nth-child(3) { margin-top: 18%; }
.split__media figure { overflow: hidden; background: #ddd; position: relative; }
.split__media img, .split__media video { width: 100%; height: 100%; object-fit: cover; }
.points { margin-top: 32px; border-top: 1px solid var(--line); }
.points li { display: grid; gap: 4px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.points strong { font-weight: var(--w-bold); font-size: 1.125rem; letter-spacing: -0.015em; }
.points span { color: var(--ink-2); font-size: 1rem; line-height: 1.5; }

/* ---------- Frase gigante que anda com a rolagem ---------- */
.giant { overflow: hidden; padding-block: clamp(32px, 5vw, 80px); }
.giant__track { display: flex; width: max-content; white-space: nowrap; }
.giant__text {
  font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch);
  font-size: clamp(4rem, 1rem + 12vw, 14rem); letter-spacing: -0.055em; line-height: .9; text-transform: uppercase;
  padding-right: .35em;
}
.giant__text .o { -webkit-text-stroke: 1.5px var(--ink); color: transparent; }
.giant__text i { display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: var(--accent); margin: 0 .3em .12em; vertical-align: middle; }
@supports (animation-timeline: view()) {
  .giant__track { animation: giant-slide linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes giant-slide { from { transform: translateX(4%); } to { transform: translateX(-38%); } }
}
@supports not (animation-timeline: view()) {
  .giant__track { animation: giant-loop 40s linear infinite; }
  @keyframes giant-loop { to { transform: translateX(-50%); } }
}

/* ---------- Motivos (Por que a Off Grid) ---------- */
.reasons { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--ink); }
.reason { display: grid; grid-template-columns: 3.2em 1fr; gap: 8px 14px; padding: clamp(22px, 2.6vw, 36px) clamp(0px, 2vw, 28px) clamp(22px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line); }
.reason:nth-child(odd) { border-right: 1px solid var(--line); }
.reason:nth-child(even) { padding-left: clamp(16px, 2.4vw, 36px); }
.reason__n { font-family: var(--font-hand); font-size: 1.9rem; color: var(--accent-ink); line-height: 1; }
.reason h3 { font-size: 1.375rem; font-weight: var(--w-bold); letter-spacing: -0.02em; line-height: 1.2; }
.reason p { grid-column: 2; color: var(--ink-2); font-size: 1rem; max-width: 48ch; }

/* ---------- Diretor ---------- */
.director { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.director__img { grid-column: 2 / span 4; aspect-ratio: 4 / 5; overflow: hidden; background: #ddd; position: relative; }
.director__img img { width: 100%; height: 100%; object-fit: cover; }
.director__name { position: absolute; left: 14px; bottom: 14px; z-index: 1; font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); letter-spacing: -0.03em; background: var(--bg); padding: 8px 14px; }
.director__text { grid-column: 8 / -1; }
.director__roles { font-size: clamp(2.5rem, 1.2rem + 4vw, 5rem); line-height: .92; }
.director__text .prose { margin-top: 26px; color: var(--ink-2); }
.director__text .hand-note { margin-top: 26px; color: var(--accent-ink); }

/* ---------- Faixa de bastidores com o logo no centro ---------- */
.backstage { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: clamp(260px, 42vh, 460px); overflow: hidden; background: #111; }
.backstage figure { overflow: hidden; position: relative; }
.backstage img, .backstage video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) brightness(.62); transition: filter .8s var(--ease-out); }
.backstage figure:hover img, .backstage figure:hover video { filter: none; }
.backstage__logo { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; pointer-events: none; color: #fff; }
.backstage__logo > span { text-transform: uppercase; font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch-max); font-size: clamp(2.5rem, 1rem + 6vw, 7rem); letter-spacing: -0.05em; line-height: 1; display: inline-flex; align-items: center; gap: .25em; }
.backstage__logo .og-mark-wrap { font-size: .62em; }

/* ---------- Grade de trabalhos ---------- */
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 3.4vw, 52px) var(--gap); }
.works--offset { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.works--offset .work { grid-column: span 4; }
.works--offset .work:nth-child(4n+1) { grid-column: 5 / span 4; }
.work { position: relative; }
.work__media { position: relative; overflow: hidden; background: var(--bg-alt); aspect-ratio: 4 / 3; }
.work__media img, .work__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.work__media video { opacity: 0; transition: opacity .5s var(--ease-out); }
.work.is-playing .work__media video { opacity: 1; }
.work__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; }
.work__title { font-weight: var(--w-bold); font-size: 1.125rem; letter-spacing: -0.015em; line-height: 1.25; }
.work__title a { position: relative; display: inline-block; padding-bottom: 6px; }
.work__title a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 9px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 9' preserveAspectRatio='none'%3E%3Cpath d='M2 6.5C40 3 90 2.2 130 3.4 158 4.2 182 5.6 198 3' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 9' preserveAspectRatio='none'%3E%3Cpath d='M2 6.5C40 3 90 2.2 130 3.4 158 4.2 182 5.6 198 3' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
  clip-path: inset(0 100% 0 0); transition: clip-path .6s var(--ease-out);
}
.work:hover .work__title a::after, .work__title a:focus-visible::after { clip-path: inset(0 0 0 0); }
.work__title .arw { display: inline-block; margin-right: 6px; transition: transform .5s var(--ease-out); }
.work:hover .work__title .arw { transform: translateX(4px); }
.work__cat { font-size: var(--fs-small); font-weight: var(--w-medium); color: var(--ink-2); white-space: nowrap; }
.work__media { display: block; }

/* ---------- Filtros + visualização ---------- */
.toolbar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 16px; margin-bottom: clamp(28px, 3vw, 44px);
  border-block: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5; background: var(--bg);
  transition: top .5s var(--ease-out);
}
body.header-visible .toolbar { top: var(--header-h); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: var(--radius-pill); font-weight: var(--w-semibold); font-size: .9375rem; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out), color .3s; }
.chip sup { font-size: .7em; font-weight: var(--w-semibold); margin-left: 3px; color: var(--ink-2); }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.chip[aria-pressed="true"] sup { color: rgba(255,255,255,.7); }
.views { display: flex; gap: 4px; }
.views button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; color: var(--ink-2); }
.views button[aria-pressed="true"] { color: var(--ink); background: var(--bg-alt); }
.views svg { width: 18px; height: 18px; }
.is-filtered-out { display: none !important; }

/* Lista (sand.black) */
.works-list { border-top: 1px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: 3.2em minmax(0, 5fr) minmax(0, 3fr) minmax(0, 2fr) auto; gap: var(--gap); align-items: baseline; padding-block: clamp(18px, 2vw, 26px); border-bottom: 1px solid var(--line); }
.row__title, .row__meta { transition: transform .5s var(--ease-out); }
.row:hover .row__title, .row:hover .row__meta { transform: translateX(12px); }
.row__n { font-family: var(--font-hand); font-size: 1.6rem; color: var(--accent-ink); line-height: 1; }
.row__title { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-size: clamp(1.375rem, 1rem + 1.4vw, 2.25rem); letter-spacing: -0.035em; line-height: 1; }
.row__meta { color: var(--ink-2); font-size: .9375rem; }
.row__arw { font-weight: var(--w-bold); transition: transform .5s var(--ease-out); }
.row:hover .row__arw { transform: translateX(-4px) rotate(-45deg); color: var(--accent-ink); }
.row a::before { content: ""; position: absolute; inset: 0; }

.peek { position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none; width: 300px; aspect-ratio: 4 / 3; overflow: hidden; opacity: 0; transform: translate3d(-50%, -50%, 0); transition: opacity .3s var(--ease-out), scale .4s var(--ease-out); scale: .9; box-shadow: 0 24px 60px -18px rgba(0,0,0,.35); }
.peek.is-on { opacity: 1; scale: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Projeto (página individual) ---------- */
.project-hero { position: relative; height: 88svh; min-height: 520px; overflow: hidden; background: #1c1c1a; color: #fff; display: flex; align-items: flex-end; }
.project-hero img, .project-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.66), rgba(0,0,0,0) 55%), linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 22%); }
.project-hero__body { position: relative; z-index: 1; padding: 0 var(--pad) clamp(28px, 4vw, 56px); width: 100%; }
.project-hero__cat { font-family: var(--font-hand); font-size: 2.25rem; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.4); display: block; transform: rotate(-3deg); transform-origin: left; }
.project-hero .display { font-size: clamp(2.75rem, 1rem + 7vw, 8rem); max-width: 16ch; margin-top: 6px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); border-bottom: 1px solid var(--line); padding-block: 22px; }
.facts dt { font-size: .8125rem; color: var(--ink-2); font-weight: var(--w-medium); }
.facts dd { font-weight: var(--w-bold); font-size: 1.0625rem; margin-top: 2px; }
.project-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.project-body .lead { grid-column: 1 / span 7; max-width: 30ch; }
.project-body .project-cta { grid-column: 9 / -1; align-self: end; display: grid; gap: 14px; justify-items: start; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.gallery figure { overflow: hidden; background: var(--bg-alt); grid-column: span 6; aspect-ratio: 4 / 5; }
.gallery figure:nth-child(3n+1) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.next-project { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-block: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line); }
.next-project a { display: block; }
.next-project .label { display: block; margin-bottom: 8px; }
.next-project .h2 { transition: color .3s; }
.next-project a:hover .h2 { color: var(--accent-ink); }

/* ---------- Casamentos / Estúdio ---------- */
.feature-hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #1c1c1a; }
.feature-hero video, .feature-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,0) 70%), linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 22%); }
.feature-hero__body { position: relative; z-index: 2; width: 100%; padding: 0 var(--pad) clamp(28px, 5vw, 64px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.feature-hero__title { grid-column: 1 / span 8; }
.feature-hero__title .hand { font-size: clamp(1.9rem, 1.3rem + 1.4vw, 2.9rem); color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.4); display: block; transform: rotate(-3deg); transform-origin: left; margin-bottom: 8px; }
.feature-hero__title .display { font-size: clamp(3.25rem, 1.2rem + 8vw, 9rem); line-height: .86; letter-spacing: -0.045em; }
.feature-hero__side { grid-column: 9 / -1; display: grid; gap: 20px; }
.feature-hero__side p { color: rgba(255,255,255,.9); max-width: 34ch; font-size: 1.0625rem; }

/* Flash de estúdio: um estouro branco curto de tempos em tempos */
.strobe { position: absolute; inset: 0; z-index: 1; background: #fff; opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.strobe.is-fire { animation: strobe .55s var(--ease-out); }
@keyframes strobe { 0% { opacity: 0; } 8% { opacity: .85; } 100% { opacity: 0; } }

.includes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.include { padding: clamp(22px, 2.6vw, 36px) clamp(16px, 2vw, 28px) clamp(22px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line); }
.include:nth-child(even) { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.include .hand { font-size: 1.8rem; color: var(--accent-ink); }
.include h3 { margin-top: 10px; font-size: 1.375rem; font-weight: var(--w-bold); letter-spacing: -0.02em; line-height: 1.2; }
.include p { margin-top: 8px; color: var(--ink-2); font-size: 1rem; max-width: 36ch; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.step { padding-top: 22px; border-top: 1.5px solid var(--ink); }
.step__n { font-family: var(--font-hand); font-size: 2rem; color: var(--accent-ink); line-height: 1; }
.step h3 { margin-top: 18px; font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1.05; }
.step p { margin-top: 12px; color: var(--ink-2); font-size: 1rem; line-height: 1.5; max-width: 30ch; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.compare__col { padding: clamp(24px, 3vw, 44px); background: var(--bg); }
.compare__col--on { background: var(--ink); color: #fff; }
.compare__col--off { background: var(--bg-alt); }
.compare__col h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem); letter-spacing: -0.035em; line-height: 1; }
.compare__col .tag { display: inline-block; margin-bottom: 18px; font-size: var(--fs-small); font-weight: var(--w-bold); padding: 5px 10px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px currentColor; }
.compare__col--on .tag { background: var(--accent); color: var(--ink); box-shadow: none; }
.compare__col ul { margin-top: 24px; display: grid; gap: 14px; }
.compare__col li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; line-height: 1.45; font-size: 1.0625rem; }
.compare__col li svg { width: 18px; height: 18px; margin-top: 4px; }
.compare__col--off li { color: var(--ink-2); }
.compare__col--on li svg { color: var(--accent); }

.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.reel { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #1c1c1a; color: #fff; }
.reel video, .reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; z-index: 1; left: 14px; bottom: 12px; font-family: var(--font-hand); font-size: 1.75rem; text-shadow: 0 1px 12px rgba(0,0,0,.5); }

.models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.model figure { aspect-ratio: 3 / 4; overflow: hidden; background: #ddd; }
.model img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .8s var(--ease-out); }
.model:hover img { filter: none; }
.model figcaption { margin-top: 10px; font-weight: var(--w-semibold); font-size: .9375rem; }

/* ---------- Sobre ---------- */
.manifesto { font-size: clamp(2rem, 1rem + 4.2vw, 5.25rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: var(--w-light); text-wrap: balance; max-width: 18ch; }
.manifesto strong { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); }
.wide-img { aspect-ratio: 21 / 9; overflow: hidden; background: #ddd; }
.wide-img img { width: 100%; height: 100%; object-fit: cover; }
.region { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.region .h2 { grid-column: 1 / span 6; }
.region__list { grid-column: 8 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.region__list li { padding: 8px 16px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--line); font-weight: var(--w-semibold); }

/* ---------- Contato (página) ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.contact__aside { grid-column: 1 / span 4; display: grid; gap: 28px; align-content: start; }
.contact__form { grid-column: 6 / -1; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px var(--gap); }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: var(--w-semibold); font-size: .9375rem; }
.field .opt { color: var(--ink-2); font-weight: var(--w-regular); }
.input { width: 100%; min-height: 54px; padding: 14px 16px; background: var(--bg-alt); border: 1.5px solid transparent; border-radius: var(--radius-field); font-size: 1.0625rem; line-height: 1.4; transition: border-color .25s, background-color .25s; }
.input::placeholder { color: #6d6d6a; }
.input:hover { border-color: var(--line); }
.input:focus { outline: none; border-color: var(--ink); background: #fff; }
textarea.input { min-height: 150px; resize: vertical; }
.field.has-error .input { border-color: var(--rec); background: #fff; }
.field__error { display: none; color: #b3261e; font-size: .875rem; font-weight: var(--w-medium); }
.field.has-error .field__error, .field__error[role="alert"] { display: block; }
.field__error[role="alert"]:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: var(--w-semibold); font-size: .9375rem; transition: background-color .25s, box-shadow .25s, color .25s; }
.choice:hover span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.choice input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__note { color: var(--ink-2); font-size: .9375rem; max-width: 46ch; }

/* Estado "mensagem enviada" (demonstração) */
.sent { display: none; grid-column: 1 / -1; padding: clamp(24px, 3vw, 40px); background: var(--bg-alt); }
.sent .hand { font-size: clamp(2.25rem, 1.4rem + 2vw, 3.5rem); color: var(--accent-ink); display: block; transform: rotate(-3deg); transform-origin: left; }
.sent p { margin-top: 12px; max-width: 46ch; }
.sent .small { color: var(--ink-2); }
form.is-sent > :not(.sent) { display: none; }
form.is-sent .sent { display: block; }

.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 24px; font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); font-weight: var(--w-bold); letter-spacing: -0.02em; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform .4s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 26px; color: var(--ink-2); max-width: 62ch; }

/* ---------- CTA final ---------- */
.cta { padding: clamp(80px, 12vw, 200px) var(--pad) clamp(56px, 7vw, 96px); background: var(--bg-alt); position: relative; overflow: hidden; }
.cta__title { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-size: clamp(2.75rem, 1rem + 7.5vw, 8.5rem); letter-spacing: -0.05em; line-height: .9; max-width: 13ch; text-wrap: balance; }
.cta__title .thin { color: var(--ink-2); }
.cta__row { margin-top: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.cta__note { color: var(--ink-2); font-size: 1rem; max-width: 40ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); color: var(--ink); padding: clamp(56px, 6vw, 96px) var(--pad) 28px; }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.footer__col { grid-column: span 3; display: grid; gap: 8px; align-content: start; }
.footer__col h2 { font-size: var(--fs-small); font-weight: var(--w-semibold); color: var(--ink-2); margin-bottom: 6px; }
.footer__col a { font-weight: var(--w-semibold); width: fit-content; }
.footer__col a:hover { color: var(--accent-ink); }
/* "OFF GRID" gigante: SVG com textLength = sempre ocupa a largura exata, com qualquer fonte */
.footer__big { margin-top: clamp(48px, 7vw, 120px); line-height: 0; }
.footer__big svg { display: block; width: 100%; height: auto; overflow: visible; }
.footer__big text { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch-max); fill: currentColor; }
.footer__legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--fs-small); color: var(--ink-2); }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; align-content: center; gap: 28px; padding: calc(var(--header-h) + 40px) var(--pad) 60px; }
.notfound .display { font-size: clamp(5rem, 2rem + 18vw, 18rem); line-height: .8; }
.notfound .hand-note { color: var(--accent-ink); }

/* ---------- Cursor: círculo (Rabbits) + traço de caneta (sand.black) + rótulo manuscrito ----------
   O elemento .cursor é um ponto de tamanho zero na posição do mouse; cada peça é centralizada nele.
   O traço (canvas) sai desse mesmo ponto, então fica sempre no centro do círculo.
   Tudo anima só com transform/opacity (sem mexer em largura/altura). */
.cursor, .cursor-trail { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor summary { cursor: none; }
  .has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }
  /* max-width: none — o reset global limitaria o canvas à largura SEM a barra de rolagem,
     comprimindo o desenho e deslocando o traço para a esquerda */
  .has-cursor .cursor-trail { display: block; position: fixed; left: 0; top: 0; z-index: 290; pointer-events: none; max-width: none; max-height: none; }
  .has-cursor .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 310; pointer-events: none;
    width: 0; height: 0; color: var(--ink);
    transition: color .3s var(--ease-out), opacity .3s;
  }
  .cursor > * { position: absolute; left: 0; top: 0; max-width: none; } /* max-width: o reset global de svg encolheria as peças a 0 */
  .cursor__ring {
    width: 38px; height: 38px; border-radius: 50%;
    box-shadow: inset 0 0 0 1.5px currentColor;
    background: transparent;
    transform: translate(-50%, -50%);
    transition: transform .55s var(--ease-out), background-color .35s var(--ease-out), box-shadow .35s var(--ease-out), opacity .3s var(--ease-out);
  }
  .cursor__dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--ease-out), opacity .2s; }
  .cursor__label { font-family: var(--font-hand); font-size: 34px; line-height: 1; white-space: nowrap; color: currentColor; opacity: 0; transform: translate(-50%, -55%) rotate(-6deg); transition: opacity .25s; text-shadow: 0 1px 2px rgba(0,0,0,.35), 0 2px 18px rgba(0,0,0,.45); }
  .cursor__loop { width: 132px; height: 96px; overflow: visible; opacity: 0; transform: translate(-50%, -50%); }
  .cursor__loop path { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
  .cursor.on-light { color: #fff; }
  /* Em links: o círculo cresce e ganha um preenchimento verde suave */
  .cursor.is-link { color: var(--accent-ink); }
  .cursor.on-light.is-link { color: var(--accent); }
  .cursor.is-link .cursor__ring { transform: translate(-50%, -50%) scale(1.6); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
  .cursor.is-link .cursor__dot { transform: translate(-50%, -50%) scale(1.5); }
  /* Ao clicar: o círculo encolhe */
  .cursor.is-press .cursor__ring { transform: translate(-50%, -50%) scale(.75); }
  .cursor.is-press.is-link .cursor__ring { transform: translate(-50%, -50%) scale(1.3); }
  /* Em fotos e vídeos: "ver" / "assistir" dentro do laço verde */
  .cursor.is-view { color: #fff; }
  .cursor.is-view.on-paper { color: var(--ink); }
  .cursor.is-view .cursor__ring { opacity: 0; transform: translate(-50%, -50%) scale(.5); }
  .cursor.is-view .cursor__dot { opacity: 0; }
  .cursor.is-view .cursor__label { opacity: 1; }
  .cursor.is-view .cursor__loop { opacity: 1; }
  .cursor.is-view .cursor__loop path { stroke-dashoffset: 0; transition: stroke-dashoffset .7s var(--ease-out); }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Reveal: cortina nas imagens, fade no texto ----------
   O recorte fica na imagem (não no elemento observado): o IntersectionObserver
   considera o clip-path do alvo e nunca dispararia com a cortina fechada. */
.js [data-reveal="img"] img, .js [data-reveal="img"] video { clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1.1s var(--ease-out), transform 1.6s var(--ease-out), opacity .5s var(--ease-out); transition-delay: inherit; }
.js [data-reveal="img"].is-in img, .js [data-reveal="img"].is-in video { clip-path: inset(0 0 0 0); transform: none; }
.js .work:hover [data-reveal].is-in img, .js .niche:hover.is-in img { transform: scale(1.035); transition-delay: 0s; }
.js .niche[data-reveal] .niche__body { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-out) .35s, transform .8s var(--ease-out) .35s; }
.js .niche[data-reveal].is-in .niche__body { opacity: 1; transform: none; }
.js [data-reveal="text"] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js [data-reveal="text"].is-in { opacity: 1; transform: none; }

/* Prévia: aviso de material ilustrativo (remover no lançamento: marca.previa em data.js) */
.preview-flag { position: fixed; left: 50%; bottom: 14px; z-index: 90; translate: -50% 0; white-space: nowrap; font-size: 12px; font-weight: var(--w-semibold); line-height: 1; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: var(--radius-pill); box-shadow: 0 6px 20px -6px rgba(0,0,0,.25), inset 0 0 0 1px var(--line); }

/* ---------- Responsivo ---------- */
@media (min-width: 1600px) {
  .works { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .site-header .clock { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; }
}
@media (max-width: 1100px) {
  .hero__title, .feature-hero__title { grid-column: 1 / -1; }
  .hero__side, .feature-hero__side { grid-column: 1 / -1; }
  .seal { justify-self: end; margin-bottom: -10px; width: 92px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__col { grid-column: span 6; }
  .contact-panel { grid-template-columns: 1fr 1fr; }
  .contact-panel__media { display: none; }
  .works--offset .work, .works--offset .work:nth-child(4n+1) { grid-column: span 6; }
  .director__img { grid-column: 1 / span 5; }
  .director__text { grid-column: 7 / -1; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; --gap: 14px; }
  .statement__label, .statement__text { grid-column: 1 / -1; }
  .niches { grid-template-columns: 1fr; }
  .niche { aspect-ratio: 4 / 5; }

  .split-2__head, .split-2__body, .split-2__body--narrow { grid-column: 1 / -1; }
  .split-2__head { margin-bottom: 8px; }
  .wa-fab { display: inline-flex; }

  .silhouette { grid-template-columns: 1fr; text-align: center; }
  .silhouette__logo { justify-self: center; text-align: center; order: -1; }
  .silhouette__img { max-width: 420px; justify-self: center; width: 100%; }

  .works { grid-template-columns: 1fr; }
  .works--offset .work, .works--offset .work:nth-child(4n+1) { grid-column: 1 / -1; }
  .split__text, .split__media { grid-column: 1 / -1; position: static; }
  .split__media { margin-top: 40px; }
  .reasons { grid-template-columns: 1fr; }
  .reason:nth-child(odd) { border-right: 0; }
  .reason:nth-child(even) { padding-left: 0; }
  .director__img, .director__text { grid-column: 1 / -1; }
  .director__img { aspect-ratio: 4 / 3; }
  .director__name { left: 12px; }
  .backstage { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .backstage figure:nth-child(n+4) { display: none; }

  .row { grid-template-columns: 2.4em 1fr auto; row-gap: 6px; }
  .row__meta { grid-column: 2; }
  .row__meta + .row__meta { display: none; }
  .row__arw { grid-row: 1; grid-column: 3; }

  .facts { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .project-body .lead, .project-body .project-cta { grid-column: 1 / -1; }
  .gallery figure, .gallery figure:nth-child(3n+1) { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .next-project { flex-direction: column; align-items: flex-start; }

  .includes { grid-template-columns: 1fr; }
  .include:nth-child(even) { padding-left: 0; border-left: 0; }
  .compare { grid-template-columns: 1fr; }
  .reels { grid-template-columns: 1fr 1fr; }
  .reels .reel:nth-child(3) { display: none; }
  .region .h2, .region__list { grid-column: 1 / -1; }

  .contact__aside, .contact__form { grid-column: 1 / -1; }
  .contact__form { margin-top: 48px; }
  .form { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; overflow-y: auto; }
  .contact-panel__details { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
  .contact-panel__form { padding-top: 28px; }
  .line-field { grid-template-columns: 1fr; gap: 2px; }

  .section-head { flex-direction: column; align-items: flex-start; }
}
/* Faixas viram carrossel no celular e em qualquer tela de toque (sem hover para abrir) */
@media (max-width: 860px), (hover: none) {
  .strips { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-inline: var(--pad); scrollbar-width: none; }
  .strips::-webkit-scrollbar { display: none; }
  .strip { flex: 0 0 min(74vw, 420px); height: min(108vw, 620px); max-height: 72svh; scroll-snap-align: center; }
  .strip.is-active { flex-grow: 0; }
  .strip::after { opacity: 1; }
  .strip__info { opacity: 1; transform: none; white-space: normal; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .footer__col { grid-column: 1 / -1; }
  .hero__actions .btn { flex: 1 1 auto; }
  .seal { width: 80px; }
  .preview-flag { left: 10px; translate: none; top: calc(var(--header-h) + 4px); bottom: auto; font-size: 11px; }
  .hero__ctrl { min-height: 34px; padding: 0 12px; }
  .cta__row .btn { width: 100%; }
  .hero__note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal] img, .js [data-reveal] video, .js .niche[data-reveal] .niche__body { clip-path: none !important; opacity: 1 !important; transform: none !important; }
  .giant__track { animation: none !important; transform: none !important; }
  .intro .hero__media { clip-path: none !important; }
  .intro .hero__content, .intro .hero__ctrl, .intro .hero__note, .intro .site-header { opacity: 1 !important; }
  .strobe { display: none; }
  @view-transition { navigation: none; }
}
