/* Pavani Films — estilos
   Regras de projeto em DESIGN.md. Tudo que muda a cara do site está nas variáveis abaixo. */

/* Fontes hospedadas no próprio site (nenhuma chamada ao Google). Subconjunto "latin" das famílias abaixo, licença SIL OFL 1.1; origem e detalhes em assets/fonts/LEIA-ME.txt */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/outfit-variable.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/outfit-variable.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/outfit-variable.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/syne-variable.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 800; font-display: swap; src: url(assets/fonts/syne-variable.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/instrument-serif-italic-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/instrument-serif-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/dm-mono-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/dm-mono-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/instrument-sans-variable.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/instrument-sans-variable.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bar-h: 64px;                 /* altura da barra fixa do topo (2 linhas no desktop) */
  /* Neutros (escala de cinzas de referência) */
  --ground: #e5e5e5;
  --bone: #f5f5f5;
  --ink: #0a0a0a;
  --graphite: #171717;
  --graphite-2: #262626;
  --graphite-3: #373737;
  /* Azuis: Navy Mirage + cobalto da esfera */
  --navy: #141e30;
  --navy-2: #1b2b45;
  --steel: #35577d;
  --blue: #3547f0;               /* destaque sobre painéis claros */
  --blue-hi: #8a98ff;            /* destaque sobre painéis escuros */
  --lavender: #c3c8f7;

  --on-dark: #fafafa;
  --muted-dark: #a3a3a3;
  --on-light: #0a0a0a;
  --muted-light: #525252;
  --line-dark: rgba(250, 250, 250, .14);
  --line-light: rgba(10, 10, 10, .14);

  --f-sans: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-wide: "Syne", "Outfit", "Helvetica Neue", Arial, sans-serif;   /* título do hero: largura extrema, como Asphalt/HEALTH */
  --f-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --f-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --f-brand: "Instrument Sans", "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;   /* a mesma família do logo do pilli.film (andré<b>pilli</b>): regular + negrito */

  --gutter: clamp(20px, 5.2vw, 76px);
  --gap: clamp(8px, 1vw, 14px);
  --radius: clamp(22px, 2.6vw, 36px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --measure: 58ch;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 8px); }
body {
  --accent: var(--blue-hi);
  margin: 0;
  background: var(--ground);
  color: var(--on-light);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.nav :focus-visible { outline-color: var(--blue); }
.menu :focus-visible { outline-color: var(--blue-hi); }
main:focus { outline: none; }
main#conteudo { padding-top: calc(var(--bar-h) + var(--gap)); }
::selection { background: var(--blue-hi); color: var(--ink); }

.mono { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.dot { color: var(--accent); font-style: normal; }
s { text-decoration-thickness: .06em; text-decoration-color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.skip { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; background: var(--bone); color: var(--ink); border-radius: 999px; transform: translateY(-160%); }
.skip:focus { transform: none; }

/* ---------- Modos: Conteúdo | Filmes ---------- */
html:not([data-modo="filmes"]) [data-so="filmes"] { display: none !important; }
html[data-modo="filmes"] [data-so="conteudo"] { display: none !important; }

/* ---------- Painéis e temas ---------- */
.panel {
  position: relative;
  margin: var(--gap);
  padding: clamp(76px, 11vw, 168px) var(--gutter);
  border-radius: var(--radius);
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}
.panel--light { --accent: var(--blue); --fg: var(--on-light); --muted: var(--muted-light); --line: var(--line-light); --inv: var(--bone); --ring: rgba(53, 71, 240, .22); background: var(--bone); color: var(--on-light); }
.panel--dark { --accent: var(--blue-hi); --fg: var(--on-dark); --muted: var(--muted-dark); --line: var(--line-dark); --inv: var(--ink); --ring: rgba(138, 152, 255, .28); background: var(--graphite); color: var(--on-dark); }
.panel--ink { --accent: var(--blue-hi); --fg: var(--on-dark); --muted: var(--muted-dark); --line: var(--line-dark); --inv: var(--ink); background: var(--ink); color: var(--on-dark); }
.panel--navy { --accent: var(--blue-hi); --fg: var(--on-dark); --muted: #aab4c8; --line: rgba(250, 250, 250, .18); --inv: var(--navy); --ring: rgba(138, 152, 255, .3); color: var(--on-dark); background: radial-gradient(120% 90% at 85% 0%, rgba(53, 87, 125, .55), transparent 60%), linear-gradient(160deg, var(--navy-2), var(--navy) 55%, #0d1422); }
.panel--navy .eyebrow, .panel--navy .prose--dark, .panel--navy .lead--dark { color: #aab4c8; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; }

.eyebrow { display: flex; align-items: center; gap: .9em; margin-bottom: clamp(16px, 2vw, 28px); color: var(--muted-light); }
.eyebrow span { color: var(--on-light); }
.panel--dark .eyebrow, .panel--ink .eyebrow, .panel--navy .eyebrow { color: var(--muted-dark); }
.panel--dark .eyebrow span, .panel--ink .eyebrow span, .panel--navy .eyebrow span { color: var(--on-dark); }

.display {
  font-weight: 500;
  font-size: clamp(2.2rem, 5.6vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.035em;
  max-width: 17ch;
  text-wrap: balance;
}
.display em { font-size: 1.06em; letter-spacing: -.02em; }
.display--stack { max-width: 22ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.4; max-width: 46ch; letter-spacing: -.01em; margin-top: clamp(16px, 2vw, 26px); color: var(--muted-light); }
.lead--dark { color: var(--muted-dark); }

.prose { max-width: var(--measure); display: grid; gap: 1.1em; margin-top: clamp(20px, 2.6vw, 36px); color: var(--muted-light); }
.prose--dark { color: var(--muted-dark); }
.prose p { color: inherit; }
.prose p.prose__big { font-size: clamp(1.4rem, 2.3vw, 2.1rem); line-height: 1.15; letter-spacing: -.025em; color: var(--on-light); font-weight: 500; }
.panel--dark .prose p.prose__big, .panel--navy .prose p.prose__big, .panel--ink .prose p.prose__big { color: var(--on-dark); }
.prose__big em { font-size: 1.08em; }

.split { display: grid; gap: clamp(28px, 5vw, 80px); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .9em;
  padding: 1.05em 1.5em 1.05em 1.7em;
  border-radius: 999px;
  font-size: .8rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  min-height: 52px;
}
.btn__arrow { width: 22px; height: 22px; border-radius: 50%; background: var(--bx, var(--accent)); position: relative; flex: none; transition: transform .35s var(--ease); }
.btn__arrow::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-top: 1.6px solid var(--ax, var(--ink)); border-right: 1.6px solid var(--ax, var(--ink)); transform: translate(-1px, 0) rotate(45deg) scale(.78); transform-origin: center; }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--light { --bx: var(--blue); --ax: #fff; background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: rgba(250, 250, 250, .35); color: var(--on-dark); padding-right: 1.7em; }
.btn--ghost:hover { border-color: var(--on-dark); background: rgba(250, 250, 250, .08); }
.btn--dark { --bx: var(--blue-hi); --ax: var(--ink); background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: var(--graphite-3); }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: inline-grid; place-items: center; font-size: 1.1rem; color: var(--fg); transition: background .3s, color .3s, border-color .3s, opacity .3s; flex: none; }
.round:hover:not([disabled]) { background: var(--fg); color: var(--inv); border-color: var(--fg); }
.round[disabled] { opacity: .3; cursor: default; }

/* ---------- Navegação ---------- */
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0; min-height: var(--bar-h);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 12px;
  padding: 10px var(--gutter) 0;
  background: rgba(229, 229, 229, .8);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  border-bottom: 1px solid rgba(10, 10, 10, .08);
  color: var(--ink);
}
.nav__brand { grid-column: 1; grid-row: 1; justify-self: start; display: inline-flex; gap: .45em; align-items: center; min-height: 44px; font-size: 1.5rem; font-weight: 600; letter-spacing: .12em; }
.logo-mark { width: auto; height: 1.55em; aspect-ratio: 178.87 / 253.5; flex: none; color: currentColor; }
/* No cabeçalho (barra clara) a marca fica no jeito do logo original: gota BRANCA com a chama em preto, dentro de um disco preto (como no avatar do Instagram) */
.nav__brand .logo-mark { box-sizing: border-box; width: 1.83em; height: 1.83em; aspect-ratio: auto; padding: .375em .53em; border-radius: 50%; background: var(--ink); color: var(--on-dark); }
/* palavra do logo: "pavani" regular + "films" negrito, em Instrument Sans (mesma família e mesmo jeito do logo do pilli.film) */
.logo-word { font-family: var(--f-brand); font-weight: 400; font-size: .92em; line-height: 1; letter-spacing: -.045em; text-transform: none; white-space: nowrap; color: currentColor; }
.logo-word b { font-weight: 700; margin-left: .2em; }
.nav__mode { grid-column: 2; grid-row: 1; justify-self: center; display: flex; gap: 2px; padding: 4px; background: rgba(10, 10, 10, .07); border-radius: 999px; }
.nav__mode button { min-height: 36px; padding: .55em 1.25em; border-radius: 999px; font-size: .86rem; font-weight: 500; color: #525252; transition: background .35s var(--ease), color .35s var(--ease); }
.nav__mode button:hover { color: var(--ink); }
.nav__mode button[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.nav__pill { grid-column: 1 / -1; grid-row: 2; justify-self: center; display: flex; gap: clamp(14px, 2vw, 30px); min-height: 42px; }
.nav__pill a { position: relative; display: inline-flex; align-items: center; padding: 0 .1em; font-size: .86rem; font-weight: 500; color: #525252; transition: color .3s; }
.nav__pill a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__pill a:hover { color: var(--ink); }
.nav__pill a.is-active { color: var(--ink); font-weight: 600; }
.nav__pill a.is-active::after { transform: scaleX(1); }
.nav__cta { grid-column: 3; grid-row: 1; justify-self: end; display: inline-flex; align-items: center; min-height: 44px; padding: .7em 1.35em; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: .84rem; font-weight: 500; letter-spacing: .03em; transition: background .3s; }
.nav__cta:hover { background: var(--graphite-3); }
.nav__toggle { display: none; grid-column: 3; grid-row: 1; justify-self: end; align-items: center; gap: .7em; padding: 0 1.1em; height: 44px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: .82rem; font-weight: 500; }
.nav__toggle-icon { position: relative; width: 16px; height: 8px; }
.nav__toggle-icon::before, .nav__toggle-icon::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle-icon::before { top: 0; }
.nav__toggle-icon::after { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon::before { top: 3.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon::after { top: 3.5px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--on-dark); padding: calc(var(--bar-h) + 28px) var(--gutter) max(32px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow-y: auto; overscroll-behavior: contain; opacity: 0; transition: opacity .35s var(--ease); }
.menu.is-open { opacity: 1; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; padding: .12em 0; border-bottom: 1px solid var(--line-dark); }
.menu .menu__cta { margin-top: 18px; border: 0; color: var(--blue-hi); }
.menu__foot { color: var(--muted-dark); }

.stage { position: fixed; z-index: 40; left: calc(var(--gap) + 16px); bottom: calc(var(--gap) + 14px); display: flex; align-items: center; gap: 10px; color: #fff; mix-blend-mode: difference; pointer-events: none; font-size: .66rem; }
.stage__bar { display: flex; gap: 3px; }
.stage__bar i { width: 14px; height: 2px; background: currentColor; opacity: .3; transition: opacity .4s; }
.stage__bar i.on { opacity: 1; }

/* ---------- Vidro (canvas) ---------- */
.glass { position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at 68% 52%, #3547f0 0 20%, #141e30 21% 38%, transparent 39%), linear-gradient(#050608, #0d1422); }
.glass canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.glass.is-ready canvas { opacity: 1; }

/* ---------- Hero ---------- */
.hero { margin-top: 0; min-height: calc(100svh - var(--bar-h) - 2 * var(--gap)); padding-top: clamp(16px, 2vw, 28px); padding-bottom: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; }
.hero > *:not(.glass) { position: relative; z-index: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(10, 10, 10, 0) 40%, rgba(10, 10, 10, .72) 100%), linear-gradient(90deg, rgba(10, 10, 10, .5), transparent 55%); pointer-events: none; }
.hero__top { display: flex; justify-content: space-between; gap: 16px; color: var(--muted-dark); padding-top: 22px; }
.hero__title { font-family: var(--f-wide); font-weight: 800; font-size: clamp(2.1rem, 7.3vw, 7.4rem); line-height: .94; letter-spacing: -.035em; text-transform: uppercase; margin-top: 10vh; }
.hero__title .line { display: block; padding-top: .16em; margin-top: -.16em; overflow: hidden; }
.hero__title .line > span { display: block; }
.js .hero__title .line > span { transform: translateY(112%); animation: rise 1.25s var(--ease) .15s forwards; }
.js .hero__title .line:nth-child(even) > span { animation-delay: .3s; }
@keyframes rise { to { transform: none; } }
.hero__row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-top: clamp(28px, 4.5vw, 64px); }
.hero__lead { font-size: clamp(1.25rem, 2.2vw, 2rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 500; max-width: 24ch; }
.hero__text { margin-top: 1.1em; color: var(--muted-dark); max-width: 48ch; font-size: 1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.js .hero__top, .js .hero__row { opacity: 0; animation: fade 1.2s var(--ease) .8s forwards; }
@keyframes fade { to { opacity: 1; } }

/* ---------- Espaço de exploração (abas) ---------- */
.ws { padding: clamp(24px, 3vw, 44px) var(--gutter) clamp(32px, 4vw, 60px); transition: color .5s var(--ease); }
.ws, .ws.panel--light, .ws.panel--dark, .ws.panel--navy { background: transparent; }
.ws__bg { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .7s var(--ease); }
.ws__bg--light { background: var(--bone); }
.ws__bg--dark { background: var(--graphite); }
.ws__bg--navy { background: radial-gradient(120% 90% at 85% 0%, rgba(53, 87, 125, .55), transparent 60%), linear-gradient(160deg, var(--navy-2), var(--navy) 55%, #0d1422); }
.ws[data-theme="light"] .ws__bg--light, .ws[data-theme="dark"] .ws__bg--dark, .ws[data-theme="navy"] .ws__bg--navy { opacity: 1; }
.ws__body { margin-top: clamp(22px, 3vw, 40px); min-height: clamp(460px, 60svh, 660px); }

.tabs { display: none; }
.js .tabs, .js .subtabs, .js .mchap { position: relative; }
.js .tabs { counter-reset: tab; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter); scroll-snap-type: x proximity; }
.js .tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; scroll-snap-align: center; display: inline-flex; align-items: center; gap: .7em; min-height: 48px; padding: .7em 1.35em; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-weight: 500; font-size: .98rem; letter-spacing: -.01em; transition: background .35s, color .35s, border-color .35s; }
.tab { counter-increment: tab; }
.tab .mono { font-size: .6rem; opacity: .75; }
.tab .mono::before { content: counter(tab, decimal-leading-zero); }
.tab:hover { color: var(--fg); border-color: var(--fg); }
.tab[aria-selected="true"] { background: var(--fg); color: var(--inv); border-color: var(--fg); }

.subtabs { display: none; }
.js .subtabs { display: flex; gap: 4px; margin-bottom: clamp(18px, 2.4vw, 32px); padding: 4px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--line); border-radius: 999px; }
.js .subtabs::-webkit-scrollbar { display: none; }
.subtab { flex: none; min-height: 38px; padding: .5em 1.1em; border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--muted); transition: background .3s, color .3s; }
.subtab:hover { color: var(--fg); }
.subtab[aria-selected="true"] { background: rgba(127, 127, 127, .2); color: var(--fg); }

.js .tp[hidden], .js .sp[hidden] { display: none; }
/* até o JavaScript organizar as abas, o miolo fica invisível; se ele falhar, aparece sozinho em 2,5 s */
.js .ws:not(.is-ready) .ws__body, .js .manifesto:not(.is-ready) .manifesto__stage { visibility: hidden; animation: unhide 0s 2.5s forwards; }
@keyframes unhide { to { visibility: visible; } }
.js .sp:not([hidden]) { animation: panelIn .65s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.sp:not(:last-child) { margin-bottom: 64px; }
.js .sp:not(:last-child) { margin-bottom: 0; }
.ws .display { font-size: clamp(2rem, 4.3vw, 4.2rem); max-width: 19ch; }
.ws .display--stack { max-width: 24ch; }
.ws .display--faq { max-width: 24ch; }

/* problema */
.split--problem { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: clamp(22px, 3vw, 40px); align-items: center; }
.split--problem .prose { margin-top: 0; }
.gap { display: grid; gap: 20px; padding: clamp(20px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, .5); }
.gap__row { display: grid; gap: 10px; }
.gap__label { color: var(--muted); }
.gap__track { position: relative; height: 52px; border-radius: 14px; background: repeating-linear-gradient(90deg, rgba(15, 15, 16, .06) 0 1px, transparent 1px 14px); overflow: hidden; }
.gap__bar { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); border-radius: 14px; width: 100%; }
.js .gap__bar { width: 0; transition: width 1.6s var(--ease) .15s; }
.gap__void { position: absolute; inset: 0; border: 1px dashed rgba(15, 15, 16, .35); border-radius: 14px; display: flex; align-items: center; justify-content: flex-end; padding-right: 16px; color: var(--muted); }
.js .gap__void { opacity: 0; transition: opacity 1s .8s; }
.gap__bar--part { width: 31%; background: var(--accent); }
.js .gap.is-in .gap__bar--full { width: 100%; }
.js .gap.is-in .gap__bar--part { width: 31%; transition-delay: .5s; }
.js .gap.is-in .gap__void { opacity: 1; }
.gap__void span { font-size: .62rem; }
.gap figcaption { color: var(--muted); opacity: .7; }
.statement { margin-top: clamp(26px, 4vw, 52px); font-weight: 500; font-size: clamp(1.9rem, 4.6vw, 4.4rem); line-height: .98; letter-spacing: -.03em; max-width: 22ch; }
.statement em { font-size: 1.06em; }
.statement s { color: var(--muted); }

/* visão */
.split--vision { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
.strata { position: relative; padding-top: 88px; max-width: 470px; width: 100%; margin-inline: auto; }
.strata__person { position: absolute; top: 0; left: 50%; width: 46px; transform: translateX(-50%); fill: var(--on-dark); }
.strata__stack { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.strata__stack li { width: var(--w); padding: .95em 1.25em; border-radius: 14px; background: rgba(250, 250, 250, .06); border: 1px solid var(--line); display: flex; align-items: center; gap: 1em; font-size: clamp(.92rem, 1.15vw, 1.05rem); letter-spacing: -.01em; font-weight: 500; }
.strata__stack li .mono { color: var(--muted-dark); font-size: .62rem; }
.strata__stack li:first-child { background: var(--blue-hi); border-color: transparent; color: var(--ink); }
.strata__stack li:first-child .mono { color: rgba(10, 10, 10, .65); }
.js .strata__person { opacity: 0; transition: opacity .8s ease 1.2s; }
.js .strata__stack li { transform: translateY(-26px); opacity: 0; transition: transform .9s var(--ease), opacity .9s var(--ease); }
.js .strata.is-in .strata__stack li { transform: none; opacity: 1; }
.js .strata.is-in .strata__person { opacity: 1; }
.js .strata.is-in li:nth-child(6) { transition-delay: .0s; }
.js .strata.is-in li:nth-child(5) { transition-delay: .08s; }
.js .strata.is-in li:nth-child(4) { transition-delay: .16s; }
.js .strata.is-in li:nth-child(3) { transition-delay: .24s; }
.js .strata.is-in li:nth-child(2) { transition-delay: .32s; }
.js .strata.is-in li:nth-child(1) { transition-delay: .4s; }
.strata figcaption { margin-top: 18px; text-align: center; color: var(--muted-dark); font-size: .62rem; }

/* para quem */
.who { margin-top: clamp(20px, 2.6vw, 34px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 4vw, 60px); border-top: 1px solid var(--line); }
.who li { display: flex; align-items: baseline; gap: 1em; padding: clamp(10px, 1.3vw, 18px) 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: clamp(1.15rem, 2.2vw, 2rem); line-height: 1.1; letter-spacing: -.03em; color: var(--muted); transition: color .4s, padding .5s var(--ease); }
.who li .mono { min-width: 2em; font-size: .6rem; }
.who li:hover { color: var(--fg); padding-left: 12px; }
.who li:hover .mono { color: var(--accent); }
.closing { margin-top: clamp(26px, 4vw, 56px); font-weight: 500; font-size: clamp(2rem, 6.2vw, 6rem); line-height: .98; letter-spacing: -.03em; max-width: 16ch; }
.closing em { font-size: 1.06em; }
.closing--small { font-size: clamp(1.5rem, 3.4vw, 3.2rem); max-width: 24ch; }

/* diferencial */
.split--dif { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: clamp(22px, 3.4vw, 48px); align-items: start; }
.split--dif .prose { margin-top: 0; }
.order { display: grid; }
.order li { display: grid; grid-template-columns: auto minmax(30px, 1fr) auto; align-items: center; gap: 18px; padding: clamp(12px, 1.6vw, 22px) 0; border-bottom: 1px solid var(--line); }
.order li:first-child { border-top: 1px solid var(--line); }
.order strong { font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 2.2rem); letter-spacing: -.035em; line-height: 1; }
.order i { height: 1px; background: var(--fg); position: relative; }
.order i::before { content: ""; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.order span { color: var(--muted); font-family: var(--f-serif); font-style: italic; font-size: clamp(1.15rem, 1.9vw, 1.7rem); text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: rgba(15, 15, 16, .4); }

/* método (horizontal) */
.path-line { margin-top: clamp(14px, 1.8vw, 22px); color: var(--muted); max-width: 70ch; line-height: 1.8; }
.mflow { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(20px, 4vw, 64px); align-items: center; margin-top: clamp(14px, 2vw, 28px); }
.mflow__text { align-self: center; }
.mflow__steps { min-height: 170px; }
.js .mstep { display: none; }
.js .mstep.is-active { display: block; animation: panelIn .55s var(--ease) both; }
.mstep + .mstep { margin-top: 26px; }
.js .mstep + .mstep { margin-top: 0; }
.mstep .mono { color: var(--muted); }
.mstep h4 { margin: .3em 0 .4em; font-weight: 500; font-size: clamp(2rem, 3.8vw, 3.6rem); letter-spacing: -.035em; line-height: 1; }
.mstep p { color: var(--muted); max-width: 34ch; }
.mflow__nav { display: none; }
.js .mflow__nav { display: flex; gap: 8px; margin-top: 22px; }
.mflow__track { display: none; --u: clamp(2.4px, .4vw, 5.6px); position: relative; height: clamp(250px, 28vw, 380px); }
.js .mflow__track { display: block; }
.mflow__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.mflow__base { fill: none; stroke: var(--line); stroke-width: 1.5; }
.mflow__draw { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; transition: stroke-dashoffset .9s var(--ease); }
.mflow__fig { position: absolute; left: 0; top: 0; width: 16px; height: 32px; transform: translate(-50%, -100%); fill: var(--fg); transition: left .9s var(--ease), top .9s var(--ease); pointer-events: none; opacity: 0; }
.mflow__fig.is-on { opacity: 1; }
.mdot { --d: calc(var(--u) * var(--k)); position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: var(--d); height: var(--d); transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px solid var(--fg); background: var(--ground-fill, transparent); transition: background .5s var(--ease), border-color .5s, box-shadow .5s; }
.mdot::after { content: ""; position: absolute; inset: min(0px, calc((var(--d) - 44px) / 2)); }
.mdot:hover { box-shadow: 0 0 0 4px var(--ring); }
.mdot.is-reached { background: var(--fg); border-color: var(--fg); }
.mdot[aria-selected="true"] { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 7px var(--ring); }
.mdot__lbl { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); white-space: nowrap; color: var(--muted); font-size: .6rem; pointer-events: none; transition: color .3s; }
.mdot.is-reached .mdot__lbl, .mdot[aria-selected="true"] .mdot__lbl { color: var(--fg); }

/* serviços (lista + detalhe) */
.svx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: stretch; }
.svx__list { display: none; }
.js .svx__list { display: grid; margin-top: clamp(20px, 2.6vw, 36px); border-top: 1px solid var(--line); }
.svx__btn { display: flex; align-items: baseline; gap: 1em; padding: clamp(12px, 1.5vw, 20px) 0; border-bottom: 1px solid var(--line); text-align: left; font-size: clamp(1.3rem, 2.4vw, 2.2rem); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; color: var(--muted); transition: color .35s, padding .5s var(--ease); position: relative; }
.svx__btn .mono { min-width: 2em; font-size: .6rem; }
.svx__btn:hover { color: var(--fg); }
.svx__btn[aria-selected="true"] { color: var(--fg); padding-left: 22px; }
.svx__btn::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 10px; border-radius: 99px; background: var(--accent); transform: translateY(-50%); transition: width .45s var(--ease); }
.svx__btn[aria-selected="true"]::before { width: 10px; }
.svx__right { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding-top: .4em; }
.js .svx__detail { display: none; }
.js .svx__detail.is-active { display: block; animation: panelIn .5s var(--ease) both; }
.svx__detail + .svx__detail { margin-top: 24px; }
.js .svx__detail + .svx__detail { margin-top: 0; }
.svx__detail h4 { color: var(--muted); font-weight: 400; margin-bottom: 1.2em; }
.svc__l { display: flex; flex-wrap: wrap; gap: 10px; }
.svc__l li { padding: .7em 1.25em; border: 1px solid var(--line); border-radius: 999px; font-size: clamp(.95rem, 1.35vw, 1.2rem); letter-spacing: -.01em; }
.svx__right .closing { margin-top: 0; }

/* cases */
.anatomy { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(22px, 3vw, 40px); border-top: 1px solid var(--line); }
.anatomy li { padding: 18px 20px 6px 0; }
.anatomy li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.anatomy .mono { color: var(--accent); }
.anatomy h4 { font-weight: 500; font-size: clamp(1.25rem, 1.9vw, 1.7rem); letter-spacing: -.035em; margin: .35em 0 .3em; }
.anatomy p { color: var(--muted); font-size: .95rem; max-width: 28ch; }
.case-note { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; color: var(--muted); }
.case-note a { display: inline-flex; align-items: center; gap: .6em; border-bottom: 1px solid var(--accent); padding-bottom: 2px; color: var(--fg); font-weight: 500; }

/* sobre */
.split--about { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; }
.split--about .prose { gap: .9em; }
.portrait { position: relative; aspect-ratio: 4 / 5; max-height: 560px; width: 100%; border-radius: 26px; overflow: hidden; }
.portrait canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.portrait.is-ready canvas { opacity: 1; }
.portrait__tag { display: none; position: absolute; left: 18px; bottom: 16px; color: var(--on-dark); z-index: 1; mix-blend-mode: difference; }
.portrait.has-photo .portrait__tag { display: block; }

/* primeira conversa + perguntas */
.first { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(22px, 3vw, 44px); border-top: 1px solid var(--line); }
.first li { padding: 24px 24px 8px 0; }
.first li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.first .mono { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--fg); }
.first h4 { font-weight: 500; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.03em; margin: .7em 0 .35em; }
.first p { color: var(--muted); max-width: 32ch; }
.faq__list { margin-top: clamp(18px, 2.4vw, 32px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); align-items: start; border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; cursor: pointer; font-weight: 500; font-size: clamp(1rem, 1.35vw, 1.2rem); letter-spacing: -.02em; line-height: 1.25; min-height: 44px; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--fg); background: linear-gradient(var(--fg), var(--fg)) center / 10px 1.5px no-repeat, linear-gradient(var(--fg), var(--fg)) center / 1.5px 10px no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); border-color: var(--accent); }
.faq__list details p { padding: 0 44px 20px 0; color: var(--muted); max-width: 56ch; }

/* ---------- Manifesto (capítulos) ---------- */
.manifesto { padding: clamp(24px, 3.4vw, 48px) var(--gutter) clamp(26px, 3vw, 44px); min-height: calc(100svh - var(--bar-h) - 2 * var(--gap)); display: flex; }
.manifesto__bg { position: absolute; inset: 0; z-index: -1; }
.manifesto__bg .glass { position: absolute; inset: 0; }
.manifesto__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 12, 22, .88), rgba(8, 12, 22, .42) 68%, rgba(8, 12, 22, .6)); }
.manifesto__inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.manifesto__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; }
.manifesto__label { color: var(--muted-dark); }
.mchap { display: none; }
.js .mchap { display: flex; gap: 6px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.js .mchap::-webkit-scrollbar { display: none; }
.mchap__btn { flex: none; display: inline-flex; align-items: center; gap: .7em; min-height: 44px; padding: .5em 1.15em; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--muted); transition: background .35s, color .35s, border-color .35s; }
.mchap__btn .mono { font-size: .6rem; opacity: .75; }
.mchap__btn:hover { color: var(--fg); border-color: var(--fg); }
.mchap__btn[aria-selected="true"] { background: var(--on-dark); color: var(--navy); border-color: var(--on-dark); }
.manifesto__stage { flex: 1; display: flex; align-items: center; padding-block: clamp(8px, 1.6vw, 24px); }
.mpage { margin: 0; display: grid; gap: clamp(12px, 1.5vw, 20px); max-width: 860px; }
.mpage + .mpage { margin-top: 48px; }
.js .mpage + .mpage { margin-top: 0; }
.mpage p { font-weight: 500; font-size: clamp(1.15rem, 2.05vw, 1.95rem); line-height: 1.12; letter-spacing: -.025em; color: rgba(250, 250, 250, .78); max-width: 36ch; }
.mpage .m-big { font-size: clamp(1.6rem, 3.6vw, 3.5rem); line-height: 1.02; color: var(--on-dark); max-width: 21ch; }
.mpage em { font-size: 1.06em; }
.js .mpage:not([hidden]) p { animation: lineIn 1s var(--ease) both; }
.js .mpage:not([hidden]) p:nth-child(2) { animation-delay: .14s; }
.js .mpage:not([hidden]) p:nth-child(3) { animation-delay: .28s; }
.js .mpage:not([hidden]) p:nth-child(4) { animation-delay: .42s; }
.js .mpage:not([hidden]) p:nth-child(5) { animation-delay: .56s; }
@keyframes lineIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.manifesto__foot { display: none; }
.js .manifesto__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.manifesto__count { color: var(--muted-dark); }

/* ---------- CTA final ---------- */
.split--cta { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 96px); align-items: end; }
.display--cta { font-size: clamp(2.6rem, 7vw, 6.8rem); max-width: 11ch; }
.cta__second { margin-top: clamp(18px, 2.4vw, 32px); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2.4rem); letter-spacing: -.035em; line-height: 1.08; max-width: 22ch; }
.cta__second em { font-size: 1.08em; }
.channels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 3vw, 40px); }
.channels a { display: inline-flex; align-items: center; gap: .7em; padding: .75em 1.15em; border: 1px solid var(--line-light); border-radius: 999px; font-weight: 500; font-size: .92rem; min-height: 44px; transition: background .3s, color .3s; }
.channels a:hover { background: var(--ink); color: var(--on-dark); }
.channels a.is-primary { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.channels a.is-primary::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-hi); }
.channels a.is-primary:hover { background: var(--graphite-3); }
.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 40px); border-radius: 26px; background: #fff; border: 1px solid var(--line-light); }
.field { display: grid; gap: 8px; }
.field > span { color: var(--muted-light); }
.field input, .field textarea { width: 100%; padding: .85em 0; border: 0; border-bottom: 1px solid var(--line-light); background: transparent; border-radius: 0; font-size: 1.05rem; letter-spacing: -.01em; transition: border-color .3s; resize: vertical; min-height: 48px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--blue); box-shadow: 0 1px 0 var(--blue); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-bottom-color: #c0341d; }
.form .btn { justify-content: space-between; width: 100%; }
.form__note { color: var(--muted-light); text-transform: none; letter-spacing: .02em; font-size: .72rem; line-height: 1.5; }
.form__note.is-error { color: #b32d18; }

/* ---------- Rodapé ---------- */
.footer { padding-bottom: clamp(24px, 3vw, 40px); }
.footer__top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__brand { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; letter-spacing: .16em; font-size: 1.3rem; }
.footer__brand .logo-mark { height: 2.1em; }
.footer__brand .logo-word { font-size: .86em; }
.footer__sub { color: var(--muted-dark); margin-top: .3em; }
.footer__links { display: flex; gap: 8px; flex-wrap: wrap; align-content: flex-start; }
.footer__links a { padding: .6em 1.1em; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .88rem; min-height: 44px; display: inline-flex; align-items: center; transition: background .3s, color .3s; }
.footer__links a:hover { background: var(--on-dark); color: var(--ink); }
.footer__phrase { margin-top: clamp(56px, 9vw, 140px); font-weight: 500; font-size: clamp(1.7rem, 4.4vw, 4.2rem); line-height: 1; letter-spacing: -.035em; max-width: 20ch; }
.footer__phrase em { font-size: 1.06em; }
.footer__mega { margin-top: clamp(40px, 7vw, 100px); font-weight: 600; font-size: clamp(5rem, 25vw, 26rem); line-height: .74; letter-spacing: -.07em; color: var(--graphite); margin-bottom: -.06em; user-select: none; white-space: nowrap; overflow: hidden; }
.footer__legal { margin-top: 28px; color: var(--muted-dark); }

/* ---------- Revelação ao rolar (CTA e rodapé) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (min-width: 1001px) {
  :root { --bar-h: 97px; }
}
@media (max-width: 1000px) {
  .nav { grid-template-rows: auto; padding-bottom: 10px; }
  .nav__pill { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .stage { display: none; }
  .hero__row { grid-template-columns: 1fr; align-items: start; }
  .hero__actions { justify-content: flex-start; }
  .split--problem, .split--vision, .split--dif, .split--about, .split--cta, .svx, .mflow { grid-template-columns: 1fr; }
  .anatomy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anatomy li:nth-child(3) { padding-left: 0; border-left: 0; }
  .anatomy li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 10px; }
  .portrait { max-width: 380px; }
  .first { grid-template-columns: 1fr; border-top: 0; }
  .first li, .first li + li { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .faq__list { grid-template-columns: 1fr; }
  .mflow__text { order: 2; }
  .mflow__track { order: 1; }
  .mflow__track { height: clamp(210px, 44vw, 320px); --u: clamp(2.2px, .44vw, 4.4px); }
  .svx__right { padding-top: 0; }
}
@media (max-width: 349px) {
  .nav__brand .logo-word { display: none; }
}
@media (max-width: 560px) {
  .nav { grid-template-columns: auto minmax(0, 1fr) auto; }   /* celular: o logo nunca invade o seletor */
}
@media (max-width: 420px) {
  .nav { padding-inline: 10px; column-gap: 6px; }
  .nav__brand { font-size: 1.15rem; }
  .nav__mode button { padding: .5em .85em; font-size: .8rem; }
  .nav__toggle { padding: 0 .95em; }
  .nav__toggle-label { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .ws { padding-top: 22px; }
  .ws__body { min-height: 0; }
  .hero { padding-top: 84px; }
  .hero__top { flex-direction: column; gap: 4px; }
  .hero__title { margin-top: 6vh; font-size: clamp(1.5rem, 7.5vw, 2.4rem); }
  .btn { width: 100%; justify-content: space-between; }
  .hero__actions { width: 100%; }
  .btn--dark, .manifesto__foot .btn { width: auto; }
  .who { grid-template-columns: 1fr; }
  .anatomy { grid-template-columns: 1fr; }
  .anatomy li, .anatomy li + li { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 0; }
  .anatomy li:first-child { border-top: 0; }
  .order li { grid-template-columns: 1fr auto; row-gap: 6px; }
  .order i { display: none; }
  .faq__list details p { padding-right: 0; }
  .strata { padding-top: 80px; }
  .mdot__lbl { display: none; }
  .mflow__track { --u: 3px; height: 210px; }
  .footer__mega { font-size: 24vw; }
  .mpage p { max-width: none; }
  .manifesto { padding-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .hero__title .line > span { transform: none; }
  .js .hero__top, .js .hero__row { opacity: 1; }
}

/* ---------- grade de trabalhos (inspirada na seção "Trabalhos" do pilli.film) ---------- */
.works-box { margin-top: clamp(20px, 2.6vw, 34px); }
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.work { position: relative; display: flex; flex-direction: column; text-align: left; border-radius: 22px; overflow: hidden; background: var(--graphite); color: var(--on-dark); transition: transform .45s var(--ease); }
button.work { cursor: pointer; }
button.work:hover { transform: translateY(-3px); }
.work__thumb { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.work__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
button.work:hover .work__thumb img { transform: scale(1.04); }
.work__play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(250, 250, 250, .92); box-shadow: 0 8px 28px rgba(0, 0, 0, .4); }
.work__play::after { content: ""; position: absolute; left: 22px; top: 18px; border-left: 15px solid #0a0a0a; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.work__tag { position: absolute; left: 12px; top: 12px; z-index: 1; padding: .4em .85em; border-radius: 999px; background: rgba(10, 10, 10, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--on-dark); font-size: .68rem; }
.work__body { display: grid; gap: 4px; padding: 16px 18px 20px; }
.work__body strong { font-weight: 500; font-size: clamp(1.05rem, 1.5vw, 1.3rem); letter-spacing: -.03em; line-height: 1.15; }
.work__cat { color: var(--muted-dark); }
.work__fn { color: var(--muted-dark); font-size: .88rem; }
.work--slot { min-height: 240px; padding: 18px; justify-content: space-between; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 26px), radial-gradient(circle at 70% 40%, rgba(53, 87, 125, .6), transparent 58%), var(--navy); }
.work--slot .work__tag { position: static; align-self: flex-start; }
.work--slot strong { font-weight: 500; font-size: clamp(1.05rem, 1.5vw, 1.35rem); letter-spacing: -.03em; line-height: 1.1; }
.work--slot strong em { font-size: 1.05em; }

/* ---------- detalhe / player em tela cheia (inspirado no "Ver reel" do pilli.film) ---------- */
.cm { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; background: #101010; color: var(--on-dark); overflow-y: auto; overscroll-behavior: contain; opacity: 0; transition: opacity .35s var(--ease); }
.cm.is-open { opacity: 1; }
.cm__top { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 16px clamp(16px, 3vw, 40px); background: linear-gradient(#101010 55%, rgba(16, 16, 16, 0)); }
.cm__brand { color: var(--muted-dark); }
.cm__close { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(250, 250, 250, .1); color: var(--on-dark); transition: background .3s; }
.cm__close:hover { background: rgba(250, 250, 250, .22); }
.cm__grid { flex: 1; display: grid; grid-template-columns: minmax(210px, .8fr) minmax(0, 2.4fr) minmax(190px, .85fr); gap: clamp(20px, 3vw, 48px); align-items: start; padding: 4px clamp(16px, 3vw, 40px) clamp(24px, 3vw, 40px); }
.cm--solo .cm__list { display: none; }
.cm--solo .cm__grid { grid-template-columns: minmax(210px, .8fr) minmax(0, 2.4fr) minmax(0, .85fr); }
.cm__title { margin: 0 0 .4em; font-weight: 500; font-size: clamp(1.7rem, 2.8vw, 2.6rem); letter-spacing: -.035em; line-height: 1.02; }
.cm__cat { margin: 0 0 1.2em; color: var(--muted-dark); }
.cm__lead { max-width: 36ch; margin: 0 0 1.4em; color: #d4d4d4; }
.cm__dl { display: grid; gap: 14px; margin: 0; }
.cm__dl dt { color: var(--blue-hi); }
.cm__dl dd { margin: 2px 0 0; color: #d4d4d4; }
.cm__metrics { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 20px; }
.cm__metrics strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.cm__metrics span { color: var(--muted-dark); }
.cm__link { display: inline-flex; align-items: center; gap: .6em; margin-top: 22px; padding: .7em 1.2em; min-height: 44px; border: 1px solid rgba(250, 250, 250, .28); border-radius: 999px; font-weight: 500; font-size: .92rem; transition: background .3s, color .3s; }
.cm__link::after { content: "\2197"; }
.cm__link:hover { background: var(--on-dark); color: #0a0a0a; }
.cm__stage { --mw: min(100%, calc((100dvh - 250px) * 16 / 9)); display: grid; justify-items: center; gap: 18px; min-width: 0; }
.cm--vertical .cm__stage { --mw: min(100%, calc((100dvh - 250px) * 9 / 16)); }
.cm--photos .cm__stage { --mw: min(100%, calc((100dvh - 250px) * 4 / 5)); }
.cm__media, .cm__ctrl, .cm__gal { width: var(--mw); }
.cm__media { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; }
.cm--vertical .cm__media { aspect-ratio: 9 / 16; }
.cm--photos .cm__media { aspect-ratio: 4 / 5; }
.cm__media video, .cm__media img { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.cm--photos .cm__media img { object-fit: cover; }
.cm__media video { cursor: pointer; }
.cm__ctrl { display: grid; gap: 14px; }
.cm__time { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; color: var(--muted-dark); }
.cm__seek, .cm__vol { accent-color: #fafafa; height: 22px; cursor: pointer; }
.cm__seek { width: 100%; }
.cm__btns { display: flex; align-items: center; justify-content: center; gap: 14px; }
.cm__play { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; background: var(--on-dark); color: #0a0a0a; transition: transform .3s var(--ease); }
.cm__play:hover { transform: scale(1.06); }
.cm__mute, .cm__fs, .cm__prev, .cm__next { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(250, 250, 250, .1); color: var(--on-dark); transition: background .3s; }
.cm__mute:hover, .cm__fs:hover, .cm__prev:hover, .cm__next:hover { background: rgba(250, 250, 250, .22); }
.cm__vol { width: 96px; }
.cm__gal { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--muted-dark); }
.cm__list > p { margin: 0 0 14px; color: var(--muted-dark); }
.cm__list ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.cm__item { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 14px; padding: 15px 2px; text-align: left; border-bottom: 1px solid var(--line-dark); color: var(--muted-dark); transition: color .3s; }
.cm__item:hover, .cm__item[aria-current="true"] { color: var(--on-dark); }
.cm__item-t { font-weight: 500; font-size: 1rem; letter-spacing: -.01em; }
.cm__item[aria-current="true"] .mono:first-child { color: var(--blue-hi); }
@media (max-width: 1000px) {
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cm__grid { grid-template-columns: minmax(0, 1fr); }
  .cm__stage { order: 1; }
  .cm__info { order: 2; }
  .cm__list { order: 3; }
  .cm__stage, .cm--vertical .cm__stage, .cm--photos .cm__stage { --mw: min(100%, calc((100dvh - 250px) * 16 / 9)); }
  .cm--vertical .cm__stage { --mw: min(100%, calc((100dvh - 250px) * 9 / 16)); }
  .cm--photos .cm__stage { --mw: min(100%, calc((100dvh - 250px) * 4 / 5)); }
}
@media (max-width: 720px) {
  .works { grid-template-columns: minmax(0, 1fr); }
  .cm__vol { display: none; }
  .work--slot { min-height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .cm { transition: none; }
  button.work:hover { transform: none; }
  button.work:hover .work__thumb img { transform: none; }
}
.btn__play { display: inline-block; width: 0; height: 0; margin-right: .2em; border-left: .62em solid currentColor; border-top: .4em solid transparent; border-bottom: .4em solid transparent; }
.cm__hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .6em; max-width: calc(100% - 24px); padding: .7em 1.15em; border-radius: 999px; background: rgba(10, 10, 10, .74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--on-dark); font-size: .88rem; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background .3s; }
.cm__hint:hover { background: rgba(10, 10, 10, .9); }
.cm__hint svg { flex: none; }

/* ---------- Conversão: WhatsApp direto ---------- */
.btn__ic { width: 22px; height: 22px; border-radius: 50%; background: var(--bx, var(--blue)); color: var(--ax, #fff); display: grid; place-items: center; flex: none; }
.btn__ic svg { width: 14px; height: 14px; fill: currentColor; }
.btn--wa { --bx: var(--blue); --ax: #fff; background: var(--on-dark); color: var(--ink); gap: .7em; padding-left: 1.2em; padding-right: 1.7em; }
.btn--wa:hover { background: #fff; }
.btn--wa-dk { --bx: var(--blue-hi); --ax: var(--ink); background: var(--ink); color: var(--on-dark); gap: .7em; padding-left: 1.2em; padding-right: 1.7em; }
.btn--wa-dk:hover { background: var(--graphite-3); }
.nav__cta { gap: .55em; }
.nav__cta svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 1.5em; color: var(--muted-dark); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.hero__points li { display: inline-flex; align-items: center; gap: .6em; }
.hero__points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-hi); flex: none; }
.hero__micro { flex-basis: 100%; margin-top: 6px; text-align: right; color: var(--muted-dark); font-size: .7rem; letter-spacing: .04em; text-transform: none; }
.ws__cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px; margin-top: clamp(26px, 3.6vw, 48px); padding-top: clamp(18px, 2.4vw, 28px); border-top: 1px solid var(--line); }
.ws__cta-t { font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.6rem); letter-spacing: -.03em; line-height: 1.15; max-width: 28ch; }
.ws[data-theme="dark"] .ws__btn, .ws[data-theme="navy"] .ws__btn { --bx: var(--blue); --ax: #fff; background: var(--on-dark); color: var(--ink); }
.ws[data-theme="dark"] .ws__btn:hover, .ws[data-theme="navy"] .ws__btn:hover { background: #fff; }
.first__cta { margin-top: clamp(22px, 3vw, 40px); }
.faq__more { margin-top: clamp(18px, 2.4vw, 28px); color: var(--muted); }
.faq__more a { color: var(--fg); font-weight: 600; text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
.faq__more a:hover { color: var(--accent); }
.cta__main { margin-top: clamp(24px, 3vw, 40px); }
.cta__wa { font-size: .86rem; }
.cta__micro { margin-top: 12px; color: var(--muted-light); font-size: .72rem; letter-spacing: .04em; text-transform: none; }
.channels__t { margin-top: clamp(22px, 3vw, 34px); color: var(--muted-light); }
.channels__t + .channels { margin-top: 10px; }
.quotes { display: grid; gap: 14px; margin-top: clamp(24px, 3vw, 36px); }
.quote { padding: 18px 20px; border-left: 2px solid var(--blue); background: rgba(10, 10, 10, .04); border-radius: 0 14px 14px 0; }
.quote blockquote { font-size: 1.1rem; line-height: 1.4; letter-spacing: -.01em; font-weight: 500; }
.quote figcaption { margin-top: 10px; color: var(--muted-light); }
/* conversa guiada (dois toques) */
.form__t { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.form__sub { margin-top: -6px; color: var(--muted-light); font-size: .98rem; }
.qs__q { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.qs__q legend { padding: 0; margin-bottom: 10px; color: var(--muted-light); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: .5em 1.1em; border: 1px solid var(--line-light); border-radius: 999px; font-size: .96rem; font-weight: 500; letter-spacing: -.01em; background: #fff; transition: background .25s, color .25s, border-color .25s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.qs__more summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--muted-light); font-size: .94rem; list-style: none; }
.qs__more summary::-webkit-details-marker { display: none; }
.qs__more summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: .7em; border: 1px solid var(--line-light); border-radius: 50%; font-size: 1rem; line-height: 1; }
.qs__more[open] summary::before { content: "–"; }
.qs__fields { display: grid; gap: 14px; margin-top: 6px; }
/* barra fixa de WhatsApp */
.wabar { position: fixed; z-index: 44; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; padding: 10px var(--gutter) max(12px, env(safe-area-inset-bottom)); pointer-events: none; transform: translateY(115%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s linear .45s; }
.wabar.is-on { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
.wabar__btn { --bx: #fff; --ax: var(--blue); pointer-events: auto; display: inline-flex; align-items: center; justify-content: center; gap: .7em; width: 100%; max-width: 440px; min-height: 54px; padding: 0 1.4em; border-radius: 999px; background: var(--blue); color: #fff; font-size: .98rem; font-weight: 600; letter-spacing: -.005em; box-shadow: 0 12px 32px rgba(10, 10, 10, .38), inset 0 0 0 1px rgba(255, 255, 255, .18); transition: background .3s, transform .3s var(--ease); }
.wabar__btn:hover { background: #2a3ad6; transform: translateY(-2px); }
@media (min-width: 1001px) {
  .wabar { left: auto; right: 24px; bottom: 24px; padding: 0; }
  .wabar__btn { width: auto; }
}
@media (max-width: 720px) { .btn--wa, .btn--wa-dk, .hero__actions .btn--ghost { justify-content: center; } }
@media (max-width: 1000px) {
  .hero__micro { text-align: left; }
  .footer { padding-bottom: calc(clamp(24px, 3vw, 40px) + 70px); }
}
@media (prefers-reduced-motion: reduce) { .wabar, .wabar.is-on { transition: none; } .wabar__btn:hover { transform: none; } }
/* tela cheia do trabalho: convite para conversar */
.cm__cta { margin-top: 26px; align-self: start; width: fit-content; }
.cm__ctanote { margin-top: 10px; color: var(--muted-dark); font-size: .68rem; letter-spacing: .06em; }
.cm__cta[hidden], .cm__ctanote[hidden] { display: none; }

/* ---------- Aviso de cookies (só existe quando há ID do GTM no config.js) ---------- */
.consent { position: fixed; z-index: 80; left: 16px; bottom: 16px; width: min(420px, calc(100vw - 32px)); padding: 18px 20px 16px; border-radius: 22px; background: rgba(23, 23, 23, .97); color: var(--on-dark); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 50px rgba(0, 0, 0, .5), inset 0 0 0 1px var(--line-dark); }
.consent[hidden] { display: none; }
.consent__t { font-weight: 600; font-size: 1rem; letter-spacing: -.01em; }
.consent__p { margin-top: 6px; color: var(--muted-dark); font-size: .92rem; line-height: 1.45; }
.consent__d { margin-top: 8px; }
.consent__d summary { display: flex; align-items: center; min-height: 36px; cursor: pointer; font-size: .86rem; color: var(--on-dark); text-decoration: underline; text-underline-offset: .2em; list-style: none; }
.consent__d summary::-webkit-details-marker { display: none; }
.consent__d p { margin-top: 4px; color: var(--muted-dark); font-size: .82rem; line-height: 1.5; max-height: 28vh; overflow: auto; }
.consent__a { display: flex; gap: 10px; margin-top: 12px; }
.consent__btn { flex: 1; min-height: 46px; padding: 0 1.1em; border-radius: 999px; border: 1px solid rgba(250, 250, 250, .35); color: var(--on-dark); font-size: .92rem; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.consent__btn:hover { border-color: var(--on-dark); background: rgba(250, 250, 250, .1); }
.consent__btn--yes { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.consent__btn--yes:hover { background: #fff; }
.footer__consent { margin-left: 1.6em; padding: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-decoration: underline; text-underline-offset: .22em; cursor: pointer; min-height: 32px; }
.footer__consent:hover { color: var(--on-dark); }
@media (max-width: 720px) {
  .consent { left: 10px; right: 10px; width: auto; top: calc(var(--bar-h) + 8px); bottom: auto; padding: 14px 16px 12px; }   /* no celular fica logo abaixo do cabeçalho, para não cobrir o botão do WhatsApp */
  .consent__p { font-size: .86rem; }
}
/* legendas: botão, menu e texto sobre o vídeo */
.cm__media { container-type: inline-size; }
.cm__cap { position: absolute; left: 0; right: 0; bottom: 6%; z-index: 2; display: flex; justify-content: center; padding: 0 5%; pointer-events: none; transition: bottom .3s var(--ease); }
.cm__media.is-muted .cm__cap { bottom: 68px; }
.cm__cap > span { max-width: 100%; padding: .26em .62em .32em; border-radius: .45em; background: rgba(10, 10, 10, .8); color: #fff; font-family: var(--f-sans); font-weight: 500; font-size: 15px; font-size: clamp(15px, 4.2cqw, 26px); line-height: 1.34; letter-spacing: -.005em; text-align: center; white-space: pre-line; text-wrap: balance; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cm--vertical .cm__cap > span { font-size: clamp(15px, 5cqw, 22px); }
.cm__cc { position: relative; z-index: 6; }
.cm__ccbtn { height: 46px; display: inline-flex; align-items: center; gap: .5em; padding: 0 16px 0 12px; border-radius: 999px; background: rgba(250, 250, 250, .1); color: var(--on-dark); font-size: .9rem; font-weight: 500; white-space: nowrap; transition: background .3s, color .3s, box-shadow .3s; }
.cm__ccbtn:hover { background: rgba(250, 250, 250, .22); }
.cm__ccbtn[data-on="true"] { background: rgba(138, 152, 255, .2); color: var(--blue-hi); box-shadow: inset 0 0 0 1.5px var(--blue-hi); }
.cm__ccic { display: grid; place-items: center; }
.cm__ccchip { font-size: .68rem; letter-spacing: .08em; padding: .15em .5em; border-radius: 999px; background: var(--blue-hi); color: #0a0a0a; }
.cm__ccmenu { position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); z-index: 8; min-width: 200px; padding: 8px; border-radius: 18px; background: rgba(28, 28, 28, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 50px rgba(0, 0, 0, .55), inset 0 0 0 1px var(--line-dark); }
.cm__ccitem { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: var(--muted-dark); font-size: 1rem; font-weight: 500; text-align: left; transition: background .25s, color .25s; }
.cm__ccitem:hover, .cm__ccitem:focus-visible { background: rgba(250, 250, 250, .1); color: var(--on-dark); }
.cm__ccitem[aria-checked="true"] { color: var(--on-dark); }
.cm__cccheck { flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(250, 250, 250, .35); }
.cm__ccitem[aria-checked="true"] .cm__cccheck { background: radial-gradient(circle, var(--blue-hi) 0 38%, transparent 42%); box-shadow: inset 0 0 0 1.5px var(--blue-hi); }
@media (max-width: 480px) { .cm__ccbtn[data-on="true"] .cm__cclabel { display: none; } .cm__ccbtn[data-on="true"] { padding: 0 12px; } }   /* com o idioma ligado, o texto "Legenda" cede lugar à sigla */
@media (max-width: 359px) { .cm__cclabel { display: none; } .cm__ccbtn { padding: 0 12px; } }
@media (prefers-reduced-motion: reduce) { .cm__cap { transition: none; } }

/* ===== Política de Privacidade (privacidade.html) e link no rodapé/aviso de cookies ===== */
.footer__priv { margin-left: 1.6em; color: inherit; text-decoration: underline; text-underline-offset: .22em; display: inline-flex; align-items: center; min-height: 32px; }
.footer__priv:hover { color: var(--on-dark); }
.consent__d p a { color: var(--on-dark); text-decoration: underline; text-underline-offset: .2em; }
.pol-page main#conteudo { padding-top: 0; }
.pol__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gutter); max-width: 1280px; margin-inline: auto; }
.pol__brand { display: inline-flex; align-items: center; gap: .55em; font-size: 1.15rem; color: var(--ink); }
.pol__brand .logo-mark { box-sizing: border-box; width: 1.83em; height: 1.83em; aspect-ratio: auto; padding: .375em .53em; border-radius: 50%; background: var(--ink); color: var(--on-dark); }
.pol__back { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.2em; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: .92rem; font-weight: 500; }
.pol__back:hover { background: var(--graphite-3); }
.pol { max-width: 76ch; margin: 0 auto; padding: clamp(24px, 5vw, 64px) var(--gutter) clamp(48px, 8vw, 96px); }
.pol:focus { outline: none; }
.pol__eyebrow { color: var(--muted-light); }
.pol h1 { margin-top: 10px; font-family: var(--f-sans); font-weight: 600; font-size: clamp(2.1rem, 5.4vw, 3.4rem); line-height: 1.05; letter-spacing: -.035em; }
.pol__meta { margin-top: 14px; color: var(--muted-light); }
.pol__lead { margin-top: 22px; font-size: clamp(1.08rem, 2.2vw, 1.25rem); line-height: 1.55; }
.pol section { margin-top: clamp(30px, 5vw, 52px); padding-top: clamp(22px, 3.4vw, 34px); border-top: 1px solid var(--line-light); }
.pol h2 { font-family: var(--f-sans); font-weight: 600; font-size: clamp(1.3rem, 2.8vw, 1.7rem); line-height: 1.2; letter-spacing: -.02em; }
.pol h3 { margin-top: 22px; font-family: var(--f-sans); font-weight: 600; font-size: 1.04rem; letter-spacing: -.005em; }
.pol p, .pol li { margin-top: 10px; line-height: 1.68; }
.pol__list { display: grid; gap: 2px; }
.pol__list li { position: relative; padding-left: 1.2em; margin-top: 8px; }
.pol__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.pol a:not(.pol__back):not(.pol__brand) { color: var(--blue); text-decoration: underline; text-underline-offset: .2em; }
.pol code { font-family: var(--f-mono); font-size: .86em; padding: .1em .4em; border-radius: 6px; background: rgba(10, 10, 10, .07); }
.pol mark { background: #fff1a8; color: var(--ink); padding: 0 .3em; border-radius: 4px; }   /* campo a preencher: some quando o texto real entra */
.pol__table { margin-top: 14px; border-radius: 18px; background: var(--bone); box-shadow: inset 0 0 0 1px var(--line-light); overflow: hidden; }
.pol__row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; padding: 14px 18px; border-top: 1px solid var(--line-light); }
.pol__row:first-child { border-top: 0; }
.pol__row--h { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); background: rgba(10, 10, 10, .04); }
.pol__row:has(> :nth-child(3)) { grid-template-columns: .9fr 1.1fr 1fr; }
.pol__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px var(--gutter) max(26px, env(safe-area-inset-bottom)); background: var(--ink); color: var(--muted-dark); }
.pol__foot a { color: var(--on-dark); text-decoration: underline; text-underline-offset: .22em; }
@media (max-width: 640px) {
  .pol__row, .pol__row:has(> :nth-child(3)) { grid-template-columns: 1fr; }
  .pol__row--h { display: none; }
  .pol__row > span:first-child { font-weight: 600; }
}

/* ===== Player: a barra de progresso e os botões têm exatamente a largura do vídeo (vertical ou horizontal) ===== */
.cm__ctrl { grid-template-columns: minmax(0, 1fr); min-width: 0; container-type: inline-size; }
.cm__time { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "seek seek" "cur rem"; gap: 2px 0; }   /* a barra ocupa de ponta a ponta; os tempos ficam embaixo */
.cm__time .cm__seek { grid-area: seek; margin: 0; }
.cm__time .cm__cur { grid-area: cur; justify-self: start; }
.cm__time .cm__rem { grid-area: rem; justify-self: end; }
.cm__btns { max-width: 100%; }
@container (max-width: 470px) { .cm__vol { width: 64px; } .cm__cclabel { display: none; } .cm__ccbtn { padding: 0 12px; } }
@container (max-width: 380px) {   /* vídeo vertical estreito: tudo cabe na largura do vídeo */
  .cm__btns { gap: 10px; }
  .cm__vol { display: none; }                                                    /* o botão de mudo já cobre o som */
  .cm__play { width: 58px; height: 58px; }
  .cm__mute, .cm__fs, .cm__prev, .cm__next { width: 42px; height: 42px; }
  .cm__ccbtn { height: 42px; }
}
