/*!
 * tiff.css — sistema visual compartilhado do site da Tiffany Chagas (v1)
 * Fontes, tokens, reset, tipografia, fundo quadriculado, cabeçalho, menu,
 * cursor "+", efeito TV, MediaFX, quadrado da Tiff (balões), marquee de logos, "Para marcas" (barrinhas),
 * rodapé com assinatura gigante, animações de entrada e reduced-motion.
 * Documentação completa: _spec/COMPONENTES.md
 */

/* ============================================================
   1. FONTES (self-hosted, variáveis)
   ============================================================ */
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   2. TOKENS
   ============================================================ */
:root {
  --black: #0a0a0a;
  --white: #fafaf8;
  --ink: #111;
  --pink: #c6218c;
  --pink-soft: #e0399f;
  --grey: #8a8a8a;
  --grey-dark: #5c5c5a;
  --line: rgba(255, 255, 255, .06);
  --line-ink: rgba(17, 17, 17, .12);
  --on-dark-text: rgba(250, 250, 248, .78);
  --on-light-text: rgba(17, 17, 17, .74);

  --serif: "Bodoni Moda", "Bodoni 72", "Didot", "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --grid: 72px;                 /* célula do quadriculado */
  --grid-alpha: .05;            /* opacidade das linhas */
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 64px;
  --talk-size: 84px;            /* bolinha (quadrada) da Tiff */
  --talk-gap: 20px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --z-header: 50;
  --z-menu: 45;
  --z-talk: 60;
  --z-modal: 80;
  --z-cursor: 100;
}
@media (max-width: 700px) {
  :root {
    --grid: 64px;
    --header-h: 56px;
    --talk-size: 64px;
    --talk-gap: 14px;
  }
}

/* ============================================================
   3. RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: var(--black);          /* fundo preto global (atrás de tudo) */
  color-scheme: light dark;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  min-height: 100vh;
  background: transparent;                 /* não pinte o body: o quadriculado fixo mora atrás dele */
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
/* Quadriculado global, fixo no viewport (uma única camada, barata).
   Toda seção preta é transparente (.bg-grid) e deixa esta camada aparecer. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, var(--grid-alpha)) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, var(--grid-alpha)) 1px, transparent 1px);
  background-size: var(--grid) var(--grid);
  background-position: 50% 0;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; border-radius: 0; }
input, textarea, select { font: inherit; color: inherit; border-radius: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"], .list-reset { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
sup { line-height: 0; }
[hidden] { display: none !important; }
::selection { background: var(--pink); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 1px solid var(--pink-soft); outline-offset: 4px; }

/* ============================================================
   4. FUNDOS
   ============================================================ */
.bg-grid { background-color: transparent; color: var(--white); }       /* preto quadriculado (camada global) */
.bg-grid--local,                                                          /* preto quadriculado próprio (overlays, blocos aninhados) */
.bg-black {
  background-color: var(--black);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, var(--grid-alpha)) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, var(--grid-alpha)) 1px, transparent 1px);
  background-size: var(--grid) var(--grid);
  background-position: 50% 0;
  color: var(--white);
}
.bg-white { background-color: var(--white); color: var(--ink); }          /* branco liso */

/* ============================================================
   5. TIPOGRAFIA E UTILITÁRIOS
   ============================================================ */
.serif { font-family: var(--serif); }
.sans { font-family: var(--sans); }
.italic { font-style: italic; }
.italic-pink, .ip { font-family: var(--serif); font-style: italic; color: var(--pink); }
.bg-grid .italic-pink, .bg-black .italic-pink, .on-dark .italic-pink,
.bg-grid .ip, .bg-black .ip, .on-dark .ip { color: var(--pink-soft); }
.pink { color: var(--pink); }
.bg-grid .pink, .bg-black .pink, .on-dark .pink { color: var(--pink-soft); }
.grey { color: var(--grey); }
.num, .tabular { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(54px, 9.6vw, 168px);
  line-height: .92;
  letter-spacing: -.02em;
}
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 112px); line-height: .98; letter-spacing: -.018em; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.4vw, 88px); line-height: 1.02; letter-spacing: -.012em; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; letter-spacing: -.005em; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; font-weight: 350; }
.body { font-size: 16px; line-height: 1.7; }
.small { font-size: 13px; line-height: 1.55; }
.bg-grid .lead, .bg-grid .body, .bg-black .lead, .bg-black .body, .on-dark .lead { color: var(--on-dark-text); }
.bg-white .lead, .bg-white .body { color: var(--on-light-text); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--pink);
}
.bg-grid .eyebrow, .bg-black .eyebrow, .on-dark .eyebrow { color: var(--pink-soft); }
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.folio {                                  /* marcadores de canto estilo revista */
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.tm { font-size: .17em; vertical-align: top; position: relative; top: .9em; margin-left: .2em; font-family: var(--sans); font-weight: 400; letter-spacing: 0; line-height: 1; }

.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 980px; }
.section { padding-block: clamp(88px, 12vw, 184px); position: relative; }
.hairline { height: 1px; border: 0; margin: 0; background: currentColor; opacity: .14; }

.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(--gutter); top: 10px; z-index: 200;
  padding: 12px 18px; background: var(--white); color: var(--ink);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus-visible { transform: none; }

/* Ícones inline (SVG) */
.icon { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.125em; }
.icon--stroke { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: square; }

/* Links e botões ------------------------------------------------ */
.link-u {                                   /* sublinhado fino que cresce */
  position: relative;
  display: inline-flex; align-items: center; gap: .5em;
  padding-block: 4px;
}
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(.0001); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.link-u:hover::after, .link-u:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.link-u.is-underlined::after { transform: scaleX(1); opacity: .5; }
.link-u.is-underlined:hover::after { opacity: 1; }

.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 30px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-family: var(--sans); font-size: 12px; font-weight: 500; line-height: 1;
  letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn .icon { font-size: 17px; }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }
.btn--white:hover, .btn--white:focus-visible { --btn-bg: var(--pink); --btn-fg: #fff; --btn-bd: var(--pink); }
.btn--black { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink); }
.btn--black:hover, .btn--black:focus-visible { --btn-bg: var(--pink); --btn-fg: #fff; --btn-bd: var(--pink); }
.btn--ghost { --btn-bd: currentColor; }
.btn--ghost:hover, .btn--ghost:focus-visible { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }
.bg-white .btn--ghost:hover, .bg-white .btn--ghost:focus-visible { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink); }
.btn--invisible {                           /* "Contratar" invisível que só ganha cor no hover */
  --btn-bg: transparent; --btn-fg: rgba(255, 255, 255, .34); --btn-bd: transparent;
}
.btn--invisible:focus-visible,
.has-invisible-btn:focus-visible .btn--invisible { --btn-bg: var(--pink); --btn-fg: #fff; --btn-bd: var(--pink); }
@media (hover: hover) and (pointer: fine) {  /* no toque o :hover "gruda" depois do toque: só acende com mouse */
  .btn--invisible:hover,
  .has-invisible-btn:hover .btn--invisible { --btn-bg: var(--pink); --btn-fg: #fff; --btn-bd: var(--pink); }
}

/* Setinha animada para baixo (Role / Ver detalhes) */
.cue { display: inline-flex; align-items: center; gap: 14px; }
.cue__arrow { position: relative; width: 12px; height: 34px; overflow: hidden; flex: none; }
.cue__arrow::before {                       /* haste */
  content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 100%;
  background: currentColor; transform-origin: top;
  animation: cue-line 2.2s var(--ease-io) infinite;
}
.cue__arrow::after {                        /* ponta */
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 7px; height: 7px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
  animation: cue-head 2.2s var(--ease-io) infinite;
}
@keyframes cue-line {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes cue-head {
  0%, 30% { opacity: 0; transform: translate(-50%, -8px) rotate(45deg); }
  45%, 70% { opacity: 1; transform: translate(-50%, 0) rotate(45deg); }
  100% { opacity: 0; transform: translate(-50%, 6px) rotate(45deg); }
}

/* ============================================================
   6. MÍDIA BÁSICA
   ============================================================ */
.media { position: relative; overflow: hidden; background: #161616; }
.media > img, .media > video, .media > picture, .media > picture > img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* pôster + vídeo no mesmo wrapper (ex.: [data-hover-play]): o vídeo fica POR CIMA do pôster */
.media > picture + video, .media > img + video { position: absolute; inset: 0; z-index: 1; }

/* ============================================================
   7. EFEITO TV ANALÓGICA (.tv) — use no wrapper da mídia
      ::before = scanlines + vinheta + faixa de rolagem ocasional
      ::after  = grão (um único tile gerado pelo JS: --tv-grain)
   ============================================================ */
.tv { position: relative; overflow: hidden; isolation: isolate; }
.tv::before, .tv::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.tv::before {
  background-image:
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, .042) 0 1px, transparent 1px 4px),
    radial-gradient(130% 95% at 50% 50%, transparent 60%, rgba(0, 0, 0, .2) 100%),
    linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, .028) 35%, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .028) 65%, transparent 100%);
  background-size: 100% 4px, 100% 100%, 100% 22%;
  background-repeat: repeat, no-repeat, no-repeat;
  background-position: 0 0, 0 0, 0 -60%;
}
.tv::after {
  background-image: var(--tv-grain, none);
  background-size: 160px 160px;
  opacity: .055;
  mix-blend-mode: overlay;
}
.tv.tv-on::before { animation: tv-roll 8.6s linear var(--tv-delay, 0s) infinite; }
.tv.tv-on::after { animation: tv-grain .96s steps(1, end) infinite; }
@keyframes tv-roll {
  0%, 80% { background-position: 0 0, 0 0, 0 -60%; }
  100% { background-position: 0 0, 0 0, 0 160%; }
}
@keyframes tv-grain {
  0% { background-position: 0 0; }
  12.5% { background-position: -47px 31px; }
  25% { background-position: 63px -18px; }
  37.5% { background-position: -21px -72px; }
  50% { background-position: 88px 54px; }
  62.5% { background-position: -66px 12px; }
  75% { background-position: 29px 97px; }
  87.5% { background-position: -94px -41px; }
}

/* ============================================================
   8. MediaFX — zoom que segue o mouse + rastro P&B (canvas saturation)
      <div class="fx tv" data-mediafx> <div class="fx__inner"> mídia </div> </div>
   ============================================================ */
.fx { position: relative; overflow: hidden; background: #141414; }
.fx__inner {
  position: absolute; inset: 0;
  isolation: isolate;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
}
.fx__inner > img, .fx__inner > video, .fx__inner > picture, .fx__inner > picture > img,
.fx__media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.fx__trail {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
  mix-blend-mode: saturation;
  z-index: 1;
}
.fx.is-zooming .fx__inner { will-change: transform; }

/* ============================================================
   9. CABEÇALHO
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header);
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-inline: var(--gutter);
  padding-top: env(safe-area-inset-top, 0px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  color: #fff;
  pointer-events: none;
  transition: color .45s var(--ease);
}
.site-header > * { pointer-events: auto; }
/* O JS detecta o que está embaixo do cabeçalho e define data-theme:
   media (foto/vídeo: texto branco + véu escuro suave), dark (preto: barra preta translúcida),
   light (branco: barra branca translúcida + texto preto). Force com data-header-theme na seção. */
.site-header::before, .site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: -1; pointer-events: none;
  transition: opacity .45s var(--ease), background-color .45s var(--ease);
}
.site-header::before {
  bottom: 0; opacity: 0;
  background-color: rgba(10, 10, 10, .74);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07);
}
.site-header::after {
  height: calc(var(--header-h) + 64px); opacity: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, .42) 0%, rgba(10, 10, 10, .16) 55%, rgba(10, 10, 10, 0) 100%);
}
.site-header[data-theme="media"]::after { opacity: 1; }
.site-header[data-theme="dark"]::before { opacity: 1; }
.site-header[data-theme="light"] { color: var(--ink); }
.site-header[data-theme="light"]::before {
  opacity: 1; background-color: rgba(250, 250, 248, .86);
  box-shadow: inset 0 -1px 0 rgba(17, 17, 17, .08);
}
.site-header[data-theme="top"]::before, .site-header[data-theme="menu"]::before { opacity: 0; }
.brand {
  display: inline-flex; align-items: center;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  white-space: nowrap;
}
.brand__name { display: inline-flex; align-items: flex-start; line-height: 1; }
.brand__k, .brand__m { display: inline-block; line-height: 1; }
.brand__m {
  --dl: calc(var(--j, 0) * 26ms);           /* expandindo: do T/C para fora */
  overflow: hidden;
  width: var(--w, .86em);
  transition:
    width .62s var(--ease-io) var(--dl, 0ms),
    opacity .38s linear var(--dl, 0ms),
    transform .62s var(--ease-io) var(--dl, 0ms);
}
.site-header.is-short .brand__m { --dl: calc(var(--r, 0) * 26ms); width: 0; opacity: 0; transform: translateY(-35%); } /* colapsando: de fora para o T/C */
@media (hover: hover) and (pointer: fine) {
  .site-header.is-short .brand:hover .brand__m,
  .site-header.is-short .brand:focus-visible .brand__m { --dl: calc(var(--j, 0) * 16ms); width: var(--w, .86em); opacity: 1; transform: none; }
}
.brand.is-measuring .brand__m { width: auto !important; transition: none !important; opacity: 1 !important; transform: none !important; }
.site-header.no-anim .brand__m { transition: none !important; }

.nav { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 40px); }
.nav a {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: .22em; bottom: 12px; height: 1px;
  background: currentColor; transform: scaleX(.0001); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .nav__back { opacity: .72; }
.nav .nav__back:hover { opacity: 1; }
.nav .icon { font-size: 11px; }

.menu-btn {
  display: none;
  align-items: center; gap: 12px;
  min-height: 44px; min-width: 44px; padding-left: 12px; margin-right: -4px;
  font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
}
.menu-btn__icon { position: relative; width: 20px; height: 9px; }
.menu-btn__icon::before, .menu-btn__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .45s var(--ease-io), top .45s var(--ease-io);
}
.menu-btn__icon::before { top: 0; }
.menu-btn__icon::after { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon::before { top: 4px; transform: rotate(45deg) scaleX(.9); }
.menu-btn[aria-expanded="true"] .menu-btn__icon::after { top: 4px; transform: rotate(-45deg) scaleX(.9); }
.menu-btn__label { display: inline-grid; }
.menu-btn__label > span { grid-area: 1 / 1; transition: opacity .3s, transform .4s var(--ease-out); }
.menu-btn__label > span:last-child { opacity: 0; transform: translateY(6px); }
.menu-btn[aria-expanded="true"] .menu-btn__label > span:first-child { opacity: 0; transform: translateY(-6px); }
.menu-btn[aria-expanded="true"] .menu-btn__label > span:last-child { opacity: 1; transform: none; }

@media (max-width: 899px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}

/* Menu mobile em tela cheia (preto quadriculado) */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 6vh) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-io), visibility 0s linear .7s;
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-io), visibility 0s; }
.menu__list { list-style: none; padding: 0; margin: 0; }
.menu__list li { border-top: 1px solid rgba(255, 255, 255, .1); }
.menu__list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.menu__list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 14px 0 12px;
  font-family: var(--serif); font-size: clamp(38px, 11vw, 64px); line-height: 1.04; letter-spacing: -.01em;
  opacity: 0; transform: translateY(28px);
  transition: opacity .5s var(--ease), transform .8s var(--ease-out), color .3s;
}
.menu__list a:hover, .menu__list a:focus-visible { color: var(--pink-soft); }
.menu__list a em { font-style: italic; }
.menu__num { font-family: var(--sans); font-size: 10.5px; letter-spacing: .24em; color: var(--pink-soft); font-variant-numeric: tabular-nums; transform: translateY(-1.6em); }
.menu.is-open .menu__list a { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i, 0) * .07s); }
.menu__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 40px;
  opacity: 0; transition: opacity .6s .45s;
}
.menu.is-open .menu__foot { opacity: 1; }
.menu__foot a { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.menu__foot .icon { font-size: 10px; }
html.menu-open { overflow: hidden; }
@media (min-width: 900px) { .menu { display: none; } }

/* ============================================================
   10. CURSOR "+" (só hover:hover + pointer:fine; JS cria o DOM)
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
  html.has-cursor input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="range"]),
  html.has-cursor textarea, html.has-cursor [contenteditable="true"] { cursor: text !important; }
}
.cursor {
  position: fixed; inset: 0; z-index: var(--z-cursor);
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0; transition: opacity .25s linear;
  contain: strict;
}
.cursor.is-visible { opacity: 1; }
.cursor__h, .cursor__v, .cursor__plus, .cursor__xy { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor__h { width: 100%; height: 1px; background: #fff; opacity: .15; }
.cursor__v { width: 1px; height: 100%; background: #fff; opacity: .15; }
@media (min-resolution: 2dppx) {
  .cursor__h { height: .5px; opacity: .26; }
  .cursor__v { width: .5px; opacity: .26; }
}
.cursor__plus { width: 0; height: 0; }
.cursor__cross {
  position: absolute; left: -9px; top: -9px; width: 18px; height: 18px;
  transition: transform .35s var(--ease-out), opacity .2s;
}
.cursor__cross::before, .cursor__cross::after { content: ""; position: absolute; background: #fff; }
.cursor__cross::before { left: 0; right: 0; top: 50%; height: 1px; margin-top: -.5px; }
.cursor__cross::after { top: 0; bottom: 0; left: 50%; width: 1px; margin-left: -.5px; }
.cursor.is-link .cursor__cross { transform: rotate(45deg) scale(1.3); }
.cursor.is-down .cursor__cross { transform: scale(.72); }
.cursor.is-link.is-down .cursor__cross { transform: rotate(45deg) scale(1.05); }
.cursor.is-text .cursor__cross { opacity: 0; }
.cursor__xy {
  top: auto; left: 16px; bottom: 14px;
  color: #fff; opacity: .6;
  font-family: var(--sans); font-size: 10px; font-weight: 500; line-height: 1;
  letter-spacing: .16em; white-space: pre;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   11. QUADRADO DA TIFF + balões de fala (como a bolinha do site antigo)
       O JS monta: .talk__msg (balão) + a.talk__fab (quadrado → WhatsApp)
   ============================================================ */
.talk {
  position: fixed; z-index: var(--z-talk);
  right: calc(var(--talk-gap) + env(safe-area-inset-right, 0px));
  bottom: calc(var(--talk-gap) + env(safe-area-inset-bottom, 0px));
  width: var(--talk-size); height: var(--talk-size);
  transition: opacity .4s var(--ease) .2s, visibility 0s;
}
html.menu-open .talk { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }

/* quadrado */
.talk__fab {
  position: relative; display: block; overflow: hidden;
  width: var(--talk-size); height: var(--talk-size);
  background: #222;
  border: 1px solid rgba(255, 255, 255, .92);
  outline: 1px solid rgba(10, 10, 10, .22);
  transform-origin: 100% 100%;
  transition: transform .55s var(--ease-out);
}
.talk__poster, .talk__mini {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.talk__poster { object-position: 50% 30%; }
.talk__mini {                                  /* recorte mais fechado no rosto */
  object-position: 50% 22%;
  transform: scale(1.32); transform-origin: 54% 30%;
  opacity: 0; transition: opacity .9s var(--ease);
}
.talk.is-playing .talk__mini { opacity: 1; }
.talk__live {                                  /* pontinho "online" pulsando */
  position: absolute; left: 6px; top: 6px; z-index: 2; width: 6px; height: 6px; background: var(--pink-soft);
}
.talk__live::after {
  content: ""; position: absolute; inset: -3px; border: 1px solid var(--pink-soft);
  animation: talk-pulse 1.8s var(--ease-out) infinite;
}
@keyframes talk-pulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.1); } }
.talk__wa {
  position: absolute; right: 4px; bottom: 4px; z-index: 2; width: 18px; height: 18px;
  display: grid; place-items: center; background: rgba(10, 10, 10, .6); color: #fff;
}
.talk__wa svg { width: 11px; height: 11px; }
.talk__hint {                                  /* rótulo no hover (quando não há balão) */
  position: absolute; right: calc(100% + 14px + var(--talk-size) * .16); bottom: 50%;
  transform: translate(8px, 50%);
  padding: 9px 12px 8px; background: var(--ink); color: var(--white);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .45s var(--ease-out);
}
.talk__hint em { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--pink-soft); }
@media (hover: hover) and (pointer: fine) {
  .talk__fab:hover, .talk__fab:focus-visible { transform: scale(1.16); }
  .talk:not(.has-msg) .talk__fab:hover + .talk__hint,
  .talk:not(.has-msg) .talk__fab:focus-visible + .talk__hint { opacity: 1; transform: translate(0, 50%); }
  .talk:has(.talk__fab:hover) .talk__msg.is-on { transform: translate3d(calc(var(--talk-size) * -.16), 0, 0); }  /* abre espaço para o quadrado crescer */
}

/* balão: ao lado do quadrado (desktop), acima dele (celular) */
.talk__msg {
  --msg-bg: var(--white); --msg-fg: var(--ink); --msg-bd: rgba(17, 17, 17, .14); --msg-accent: var(--pink);
  position: absolute; right: calc(100% + 14px); bottom: 0;
  width: max-content; max-width: min(300px, calc(100vw - var(--talk-size) - 3 * var(--talk-gap)));
  background: var(--msg-bg); color: var(--msg-fg);
  border: 1px solid var(--msg-bd);
  box-shadow: 0 18px 40px -22px rgba(10, 10, 10, .55);
  opacity: 0; visibility: hidden;
  transform: translate3d(10px, 0, 0) scale(.96); transform-origin: 100% 100%;
  transition: opacity .35s var(--ease), transform .5s var(--ease-out), visibility 0s linear .5s,
    background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.talk__msg[data-tone="dark"] { --msg-bg: var(--ink); --msg-fg: var(--white); --msg-bd: rgba(250, 250, 248, .16); --msg-accent: var(--pink-soft); }
.talk__msg.is-on {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .35s var(--ease), transform .5s var(--ease-out), visibility 0s,
    background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.talk__msg::after {                            /* "rabinho" reto apontando para o quadrado */
  content: ""; position: absolute; right: -6px; bottom: 22px; width: 10px; height: 10px;
  background: var(--msg-bg); border: solid var(--msg-bd); border-width: 1px 1px 0 0;
  transform: rotate(45deg);
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.talk__msg-link {
  display: block; position: relative; z-index: 1;
  min-height: 44px; padding: 13px 44px 13px 16px;
  font-family: var(--sans); font-size: 14px; line-height: 1.45; letter-spacing: .005em;
  transition: color .3s var(--ease);
}
.talk__msg-link:hover, .talk__msg-link:focus-visible { color: var(--msg-accent); }
.talk__msg-link:focus-visible { outline-offset: -3px; }
.talk__msg-go { display: inline-block; margin-left: .15em; color: var(--msg-accent); font-size: 10px; vertical-align: .05em; transition: transform .4s var(--ease-out); }
.talk__msg-link:hover .talk__msg-go { transform: translate(2px, -2px); }
.talk__msg-x {
  position: absolute; right: 0; top: 0; z-index: 2; width: 40px; height: 40px;
  display: grid; place-items: center; color: currentColor; opacity: .5;
  transition: opacity .3s var(--ease);
}
.talk__msg-x:hover, .talk__msg-x:focus-visible { opacity: 1; }
.talk__msg-x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.talk__typing { display: inline-flex; gap: 4px; align-items: center; height: 1.45em; vertical-align: top; }
.talk__typing i { width: 5px; height: 5px; background: currentColor; opacity: .3; animation: talk-dot 1.1s var(--ease-io) infinite; }
.talk__typing i:nth-child(2) { animation-delay: .16s; }
.talk__typing i:nth-child(3) { animation-delay: .32s; }
@keyframes talk-dot { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: .9; transform: translateY(-3px); } }
@media (max-width: 700px) {
  .talk__msg {
    right: 0; bottom: calc(100% + 12px);
    max-width: min(300px, calc(100vw - 2 * var(--talk-gap) - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
    transform: translate3d(0, 8px, 0) scale(.96);
  }
  .talk__msg::after { right: 24px; bottom: -6px; border-width: 0 1px 1px 0; }
  .talk__msg-link { font-size: 13.5px; padding: 12px 42px 12px 14px; }
}

/* ============================================================
   11b. MARQUEE DE LOGOS ([data-marquee]) — base reta (landings);
        a home inclina e posiciona sobre a foto em home.css
        Ajuste por variante: --band (altura), --mq-pad, --mq-img / --mq-img-on
        (altura da logo × --h, normal / em hover), --mq-word / --mq-word-on (logo "sete")
   ============================================================ */
.mq {
  --band: 72px; --mq-pad: clamp(20px, 2.1vw, 32px);
  --mq-img: 1; --mq-img-on: 2; --mq-word: 1.9; --mq-word-on: 3.8;
  position: relative;
}
.mq__band {
  position: relative; height: var(--band);
  display: flex; align-items: center; overflow: hidden;
  background: rgba(10, 10, 10, .84);
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.mq__track {
  position: relative; display: flex; align-items: center; flex: none;
  list-style: none; margin: 0; padding: 0;
  will-change: transform;
}
.mq__item {
  position: relative; flex: none; display: flex; align-items: center;
  height: var(--band); padding: 0 var(--mq-pad);
  color: #fff;
}
.mq__item img {
  display: block; flex: none;
  height: calc(var(--h, 16px) * var(--mq-img)); width: auto; max-width: none;
  filter: brightness(0) invert(1);             /* todas as logos brancas e uniformes */
  opacity: .88;
  transition: height .6s var(--ease-out), opacity .4s var(--ease);
}
.mq__word {                                     /* "sete" em Bodoni minúscula (sem arquivo de logo) */
  display: block; flex: none;
  font-family: var(--serif); font-weight: 400; letter-spacing: .01em;
  font-size: calc(var(--h, 16px) * var(--mq-word)); line-height: .8; padding-bottom: .12em;
  opacity: .9;
  transition: font-size .6s var(--ease-out), opacity .4s var(--ease);
}
.mq__name {
  display: block; flex: none;
  max-width: 0; margin-left: 0; overflow: hidden; opacity: 0;
  white-space: nowrap;
  font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; line-height: 1;
  color: #fff;
  transition: max-width .6s var(--ease-out), margin-left .6s var(--ease-out), opacity .35s var(--ease);
}
.mq__name::before {                             /* pontinho rosa antes do nome */
  content: ""; display: inline-block; vertical-align: middle;
  width: 5px; height: 5px; margin: -2px 10px 0 0; background: var(--pink-soft);
}
.mq__item.is-on img { height: calc(var(--h, 16px) * var(--mq-img-on)); opacity: 1; }
.mq__item.is-on .mq__word { font-size: calc(var(--h, 16px) * var(--mq-word-on)); opacity: 1; }
.mq__item.is-on .mq__name { max-width: 16em; margin-left: 16px; opacity: 1; transition-delay: 0s, 0s, .12s; }
.mq.is-hover .mq__item:not(.is-on) img, .mq.is-hover .mq__item:not(.is-on) .mq__word { opacity: .55; }
.bg-white .mq__band { background: var(--black); border-color: var(--black); }
@media (max-width: 700px) {
  .mq { --band: 64px; --mq-pad: 18px; --mq-img: .9; --mq-img-on: 1.72; --mq-word: 1.7; --mq-word-on: 3.2; }
  .mq__name { font-size: 9.5px; }
}

/* ============================================================
   12. "PARA MARCAS" — campo de barrinhas (canvas)
   ============================================================ */
.brands {
  position: relative;
  min-height: 90vh; min-height: 90svh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 72px) var(--gutter) 112px;
  overflow: hidden;
  text-align: center;
}
.bars-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.brands__inner { position: relative; z-index: 1; max-width: 860px; display: flex; flex-direction: column; align-items: center; }
.brands__inner .eyebrow { margin-bottom: 26px; }
.brands__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(42px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -.014em;
  margin-bottom: 28px;
}
.brands__title em { font-style: italic; color: var(--pink-soft); }
.brands__text { max-width: 600px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: var(--on-dark-text); margin-bottom: 40px; }
.brands__folio { position: absolute; z-index: 1; top: calc(var(--header-h) + 22px); color: rgba(250, 250, 248, .72); }
.brands__folio--l { left: var(--gutter); }
.brands__folio--r { right: var(--gutter); }
.brands__folio .pink { color: var(--pink-soft); }
@media (max-width: 700px) {
  .brands { padding-top: calc(var(--header-h) + 84px); padding-bottom: calc(var(--talk-size) + 64px); }
  .brands__folio { top: calc(var(--header-h) + 18px); font-size: 9.5px; letter-spacing: .22em; }
  .brands .btn { width: 100%; max-width: 340px; }
}

/* ============================================================
   13. RODAPÉ com assinatura gigante
   ============================================================ */
.site-footer {
  position: relative;
  padding: clamp(64px, 9vw, 136px) var(--gutter) 30px;
  overflow: hidden;
}
.site-footer.bg-white { color: var(--ink); }
.footer__top {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 40px; flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-ink);
}
.bg-grid .footer__top, .bg-black .footer__top { border-color: rgba(255, 255, 255, .12); }
.footer__lead { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; max-width: 22ch; }
.footer__lead em { font-style: italic; color: var(--pink); }
.bg-grid .footer__lead em, .bg-black .footer__lead em { color: var(--pink-soft); }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 34px; list-style: none; padding: 0; margin: 0; }
.footer__links a { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; min-height: 44px; }
.footer__links .icon { font-size: 9px; }
.sig {
  position: relative;
  margin: clamp(28px, 4.2vw, 64px) 0 clamp(14px, 2vw, 32px);
  padding-bottom: .16em;                      /* espaço para as descendentes (y, g) */
  font-family: var(--serif); font-weight: 400;
  font-size: calc((100vw - 2 * var(--gutter)) / 7.3);   /* fallback; o JS calcula o tamanho exato */
  line-height: .86;
  letter-spacing: -.012em;
  white-space: nowrap;
  user-select: none; -webkit-user-select: none;
}
.sig__line { display: inline-flex; align-items: flex-start; white-space: nowrap; }
.sig__ch { display: inline-block; text-align: center; will-change: transform; }
.sig__g {
  display: inline-block;
  font-weight: 400;
  transition: font-weight .45s var(--ease-out), transform 1s var(--ease-out), opacity .8s var(--ease);
}
.sig__ch.is-bold .sig__g { font-weight: 800; }
.sig__sp { display: inline-block; }
.sig__tm {
  display: inline-block; font-family: var(--sans); font-weight: 400;
  font-size: .13em; line-height: 1; letter-spacing: 0;
  margin-left: .25em; margin-top: .55em;
  color: var(--pink);
}
.bg-grid .sig__tm, .bg-black .sig__tm { color: var(--pink-soft); }
.sig.is-measuring .sig__ch { width: auto !important; }
html.js .sig[data-sig]:not(.is-in) .sig__g { opacity: 0; transform: translateY(.18em); }
.sig.is-in .sig__g { transition-delay: 0s, calc(var(--i, 0) * 45ms), calc(var(--i, 0) * 45ms); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 28px;
  padding-top: 20px;
  padding-right: calc(var(--talk-size) + var(--talk-gap));
  border-top: 1px solid var(--line-ink);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-dark);
}
.bg-grid .footer__bottom, .bg-black .footer__bottom { border-color: rgba(255, 255, 255, .12); color: rgba(250, 250, 248, .55); }
.footer__bottom a { min-height: 44px; display: inline-flex; align-items: center; }
.footer__made em { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--pink); }
@media (max-width: 700px) {
  .footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; width: 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 2px; letter-spacing: .14em; }
}

/* ============================================================
   14. ANIMAÇÕES DE ENTRADA (.reveal) — o JS adiciona .is-in
   ============================================================ */
html.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
html.js .reveal--fade { transform: none; }
html.js .reveal--mask { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-io); transition-delay: var(--d, 0ms); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal--mask.is-in { clip-path: inset(0 0 0 0); }

/* ============================================================
   15. PREFERS-REDUCED-MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal--mask { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .tv::after { display: none; }
  .tv.tv-on::before { animation: none; }
  .tv::before { background-image: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .042) 0 1px, transparent 1px 4px); background-size: 100% 4px; }
  .cue__arrow::before, .cue__arrow::after, .talk__live::after, .talk__typing i { animation: none; }
  .talk__typing i { opacity: .6; }
  .cue__arrow::after { opacity: 1; }
  .brand__m, .sig__g, .menu, .menu__list a, .talk__fab, .talk__msg, .talk__mini { transition-duration: .01ms !important; transition-delay: 0s !important; }
  .mq__item img, .mq__word, .mq__name { transition-duration: .01ms !important; }
  html.js .sig[data-sig]:not(.is-in) .sig__g { opacity: 1; transform: none; }
}
