/* ==========================================================================
   Duo Studio — Home  ·  "Outra história, por favor."
   Sistema visual derivado da série do Instagram: papel, tinta, violeta.
   Independente de style.css / Tailwind (as outras páginas seguem no sistema antigo).
   ========================================================================== */

:root {
  --paper: #F2EEE6;
  --paper-2: #E8E2D5;
  --ink: #0B0B0C;
  --violet: #5B2DEB;
  --cream: #F4EFE6;
  --lav: #C9B8FF;
  --lilac: #8C6BFF;

  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1440px;
  --header-h: 68px;
}

/* Temas: cada seção declara o seu; header, marcador e cursor seguem a seção sob eles. */
[data-theme="paper"] {
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: rgba(11, 11, 12, .68);
  --line: rgba(11, 11, 12, .18);
  --accent: var(--violet);
  --hl: #DCD2FF;
  --btn-bg: var(--violet);
  --btn-fg: var(--cream);
}
[data-theme="violet"] {
  --bg: var(--violet);
  --fg: var(--cream);
  --muted: rgba(244, 239, 230, .84);
  --line: rgba(244, 239, 230, .34);
  --accent: var(--lav);
  --hl: rgba(11, 11, 12, .28);
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
}
[data-theme="ink"] {
  --bg: var(--ink);
  --fg: var(--cream);
  --muted: rgba(244, 239, 230, .68);
  --line: rgba(244, 239, 230, .2);
  --accent: var(--lilac);
  --hl: rgba(140, 107, 255, .32);
  --btn-bg: var(--violet);
  --btn-fg: var(--cream);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  background: var(--paper);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--violet); color: var(--cream); }
:focus-visible { outline: 2px solid var(--accent, var(--violet)); outline-offset: 3px; }

.hidden { display: none !important; }
.flex { display: flex; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 300;
  background: var(--ink); color: var(--cream); padding: .7em 1.1em; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Grão de papel: um tile SVG estático, sem blend-mode (barato no scroll). */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipografia ---------- */
.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.h2 {
  font-size: clamp(2.6rem, 6.6vw, 6.8rem);
  font-weight: 900; line-height: .9; letter-spacing: -.055em;
}
.h2 em, .h1 em { font-style: normal; color: var(--accent); }
/* o letter-spacing negativo também encolhe o espaço entre palavras: devolvemos aqui */
.h1, .h2, .case-t, .rule-neg, .tagline, .stat, .mega, .drawer a.dl, .quote blockquote, .qa summary, .sheet h3, .act h3, .rule-yes strong, .quiz-option-card h4 { word-spacing: .12em; }
.h1 { word-spacing: .16em; }
.lede {
  font-size: clamp(1.05rem, 1.3vw, 1.28rem); line-height: 1.5; font-weight: 450;
  color: var(--muted); max-width: 34em;
}
.hl { background: linear-gradient(transparent 58%, var(--hl) 58%); padding: 0 .08em; color: inherit; }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .8em;
  padding: 1.05em 1.7em; border-radius: 999px;
  font-size: .95rem; font-weight: 700; letter-spacing: -.01em; text-decoration: none;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg { width: 1.15em; height: 1.15em; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--sm { padding: .72em 1.25em; font-size: .85rem; }

.tlink {
  display: inline-flex; align-items: center; gap: .55em; font-weight: 700; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: .2em; transition: background-size .4s var(--ease);
}
.tlink:hover { background-size: 0% 1.5px; background-position: 100% 100%; }
.tlink svg { width: 1.1em; height: 1.1em; }

.sticker {
  display: inline-block; padding: .55em 1em; background: var(--fg); color: var(--bg);
  font-size: .82rem; font-weight: 700; letter-spacing: .01em; transform: rotate(-4deg);
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--header-h);
  color: var(--fg); border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.site-header.is-scrolled { background: var(--bg); border-bottom-color: var(--line); }
.hd-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo img { height: 34px; width: auto; }
/* os logos do projeto são brancos (feitos p/ fundo escuro): invertemos no tema papel */
[data-theme="paper"] .logo img, [data-theme="paper"] .foot-logo { filter: invert(1) hue-rotate(180deg) saturate(1.4); }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); font-size: .92rem; font-weight: 500; }
.nav a { text-decoration: none; padding: .4em 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1.5px no-repeat; transition: background-size .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 1.5px; }
.hd-right { display: flex; align-items: center; gap: 14px; }

.duo-lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.duo-lang-btn { padding: .42em .9em; border-radius: 999px; opacity: .6; transition: background-color .25s, color .25s, opacity .25s; }
.duo-lang-btn:hover { opacity: 1; }
/* o motor i18n marca o idioma ativo com estas classes */
.duo-lang-btn.text-white { background: var(--fg); color: var(--bg); opacity: 1; }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 79; background: var(--bg); color: var(--fg);
  padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer a.dl { font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 900; letter-spacing: -.05em; line-height: 1.05; text-decoration: none; padding: .12em 0; border-bottom: 1px solid var(--line); }
.drawer .dr-foot { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

/* ---------- Marcador de capítulo (fixo) ---------- */
.marker {
  position: fixed; left: calc(var(--gutter) / 2 - 8px); bottom: 28px; z-index: 70;
  display: flex; align-items: baseline; gap: .9em; color: var(--fg);
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  pointer-events: none; transition: color .35s var(--ease), opacity .3s;
}
.marker b { font-weight: 800; font-variant-numeric: tabular-nums; }
.marker span { opacity: .7; }

/* ---------- Pôsteres (objetos físicos sobre o papel) ---------- */
.poster {
  position: relative; margin: 0; background: var(--c, #ddd);
  aspect-ratio: 1122 / 1402;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 34px 60px -26px rgba(11, 11, 12, .55);
}
.poster img { width: 100%; height: 100%; object-fit: cover; color: transparent; }
.poster img.is-missing { visibility: hidden; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(14px, 3vh, 34px));
  background: var(--bg); color: var(--fg);
  overflow-x: clip; /* as cartas escondidas da pilha ultrapassam a tela */
}
.hero-meta {
  display: flex; align-items: center; gap: 18px; padding-bottom: clamp(18px, 3.6vh, 40px);
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
}
.hero-meta i { flex: 1; height: 1px; background: currentColor; opacity: .55; max-width: 220px; }
.hero-meta .count { margin-left: auto; font-variant-numeric: tabular-nums; }
.hero-meta .count b { color: var(--accent); }

.hero-main { flex: 1; display: flex; align-items: center; padding-bottom: clamp(28px, 6vh, 64px); }
.hero-grid { width: 100%; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.hero-copy { grid-column: 1 / span 8; position: relative; z-index: 3; }
.hero-stack { grid-column: 9 / span 4; position: relative; z-index: 2; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-bottom: clamp(14px, 2.4vh, 26px); }

.h1 {
  font-size: clamp(3rem, 8.3vw, 9.2rem);
  font-weight: 900; line-height: .86; letter-spacing: -.06em;
}
.h1 .ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.h1 .ln > span { display: block; animation: rise 1.05s var(--ease) both; }
.h1 .ln:nth-child(2) > span { animation-delay: .09s; }
.h1 .ln:nth-child(3) > span { animation-delay: .18s; }
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }

.hero-sub { margin-top: clamp(20px, 3.4vh, 36px); font-size: clamp(1.05rem, 1.45vw, 1.35rem); line-height: 1.45; max-width: 30em; color: var(--muted); animation: fade .9s .45s var(--ease) both; }
.hero-cta { margin-top: clamp(22px, 3.6vh, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; animation: fade .9s .55s var(--ease) both; }
.proof { margin-top: clamp(22px, 3.4vh, 38px); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; font-weight: 600; color: var(--muted); animation: fade .9s .65s var(--ease) both; }
.proof li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .7em; background: var(--accent); border-radius: 50%; vertical-align: 1px; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* pilha de pôsteres arrastável */
.stack { position: relative; width: 100%; max-width: 440px; margin-left: auto; aspect-ratio: 1122 / 1402; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.stack:active { cursor: grabbing; }
.stack .poster {
  position: absolute; inset: 0; will-change: transform;
  transform: translate(var(--x), var(--y)) rotate(var(--r));
  transition: transform .8s var(--ease), opacity .5s var(--ease);
}
.stack .poster[data-pos="0"] { --x: 0%;  --y: 0%;  --r: -2deg; z-index: 5; }
.stack .poster[data-pos="1"] { --x: 10%; --y: -3%; --r: 5deg;  z-index: 4; }
.stack .poster[data-pos="2"] { --x: -9%; --y: 4%;  --r: -8deg; z-index: 3; }
.stack .poster[data-pos="3"] { --x: 14%; --y: 6%;  --r: 10deg; z-index: 2; opacity: 0; }
.stack .poster[data-pos="4"] { --x: -12%; --y: 8%; --r: -12deg; z-index: 1; opacity: 0; }
.stack.is-drag .poster { transition: none; }
.stack .poster.nudge { animation: nudge 1.2s var(--ease) both; }
@keyframes nudge { 0%, 100% { transform: translate(0, 0) rotate(-2deg); } 35% { transform: translate(5%, -1%) rotate(2deg); } 65% { transform: translate(-1%, 0) rotate(-3deg); } }

.stack-ui { display: flex; align-items: center; gap: 12px; margin-top: 52px; max-width: 440px; margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stack-ui .sp { display: none; }
.stack-ui > span:first-child { order: 3; margin-left: 8px; } /* botões à esquerda: o WhatsApp flutuante ocupa o canto direito */
.round { width: 42px; height: 42px; border: 1.5px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--fg); transition: background-color .25s, color .25s, border-color .25s; }
.round:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.round svg { width: 18px; height: 18px; }
.round.prev svg { transform: scaleX(-1); }

/* ticker: os 4 serviços do pôster 05, em movimento lento */
.ticker { background: var(--ink); color: var(--cream); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.tk { display: flex; align-items: center; flex-shrink: 0; }
.tk li { word-spacing: .12em; display: flex; align-items: center; white-space: nowrap; font-size: clamp(1.15rem, 2.5vw, 2.1rem); font-weight: 800; letter-spacing: -.035em; padding: .55em 0; }
.tk li::after { content: "●"; font-size: .45em; color: var(--lilac); padding: 0 1.4em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- CAPÍTULOS ---------- */
.chapter { position: relative; background: var(--bg); color: var(--fg); padding: clamp(84px, 13vw, 190px) 0; overflow: hidden; isolation: isolate; }
.ch-num {
  position: absolute; z-index: -1; top: clamp(20px, 4vw, 60px); font-size: clamp(11rem, 33vw, 33rem);
  font-weight: 900; line-height: .8; letter-spacing: -.08em; color: transparent;
  -webkit-text-stroke: 1.5px var(--line); user-select: none; pointer-events: none;
}
.chapter:not(.flip) .ch-num { right: -1vw; }
.chapter.flip .ch-num { left: -1vw; }
.ch-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 48px; align-items: center; }
.ch-copy { grid-column: 1 / span 8; }
.ch-art { grid-column: 9 / span 4; position: relative; }
.chapter.flip .ch-copy { grid-column: 5 / span 8; grid-row: 1; }
.chapter.flip .ch-art { grid-column: 1 / span 4; grid-row: 1; }
.ch-copy .kicker { margin-bottom: 26px; }
.ch-copy .lede { margin-top: clamp(22px, 2.6vw, 34px); }
.ch-art .poster { --r: 3deg; transform: rotate(var(--r)); max-width: 500px; margin: 0 auto; }
.chapter.flip .ch-art .poster { --r: -3deg; }
.ch-art .sticker { position: absolute; z-index: 2; right: 6%; top: -16px; }
.chapter.flip .ch-art .sticker { right: auto; left: 6%; top: -16px; transform: rotate(4deg); }

.stat-row { margin-top: clamp(34px, 4.4vw, 60px); display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px 32px; }
.stat { font-size: clamp(5.4rem, 16vw, 16rem); font-weight: 900; letter-spacing: -.075em; line-height: .78; }
.stat .lt { font-size: .62em; letter-spacing: -.02em; margin-right: .04em; color: var(--accent); }
.stat .u { font-size: .46em; letter-spacing: -.03em; margin-left: .04em; }
.stat-cap { max-width: 15em; font-size: .95rem; font-weight: 600; color: var(--muted); padding-bottom: .5em; }

.frag { margin-top: clamp(30px, 3.6vw, 48px); border-top: 1px solid var(--line); max-width: 36em; }
.frag li { display: flex; gap: .9em; align-items: baseline; padding: .85em 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.frag li::before { content: "→"; color: var(--accent); font-weight: 800; }
.ch-actions { margin-top: clamp(28px, 3.4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

.tagline { margin-top: clamp(28px, 3.4vw, 44px); font-size: clamp(1.4rem, 2.5vw, 2.3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; max-width: 20em; }

/* ---------- REGRAS DO ROTEIRO (manifesto + garantias) ---------- */
.rules { background: var(--bg); color: var(--fg); padding: clamp(84px, 12vw, 170px) 0; }
.sec-head { display: flex; flex-direction: column; gap: 26px; margin-bottom: clamp(40px, 6vw, 84px); }
.rule { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; padding: clamp(26px, 3.4vw, 46px) 0; border-top: 1px solid var(--line); }
.rule:last-of-type { border-bottom: 1px solid var(--line); }
.rule-neg {
  grid-column: 1 / span 7; font-size: clamp(2.3rem, 5.8vw, 6rem); font-weight: 900; letter-spacing: -.055em; line-height: .95;
  color: var(--muted); text-decoration: line-through; text-decoration-thickness: .09em; text-decoration-color: var(--accent); text-decoration-skip-ink: none;
}
.rule-yes { grid-column: 8 / span 4; }
.rule-yes strong { display: block; font-size: clamp(1.25rem, 1.9vw, 1.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: .5em; }
.rule-yes p { font-size: .98rem; color: var(--muted); max-width: 26em; }
.stamp {
  position: absolute; right: 0; top: 50%; margin-top: -48px; width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; color: var(--accent);
  border: 2px solid currentColor; box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 5.5px currentColor;
  font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; line-height: 1.25; transform: rotate(-14deg); opacity: .9;
}
.stamp b { display: block; font-size: 1.9em; letter-spacing: -.02em; }
.rules-foot { margin-top: clamp(34px, 4vw, 56px); font-size: clamp(1.3rem, 2.3vw, 2rem); font-weight: 800; letter-spacing: -.035em; max-width: 22em; }

/* ---------- PORTFÓLIO: capítulos anteriores ---------- */
.cases { background: var(--bg); color: var(--fg); padding: clamp(84px, 12vw, 170px) 0; }
.cases-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 70px); }
.cases-head .sec-head { margin: 0; }
.case { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; border-top: 1px solid var(--line); }
.case:last-child { border-bottom: 1px solid var(--line); }
.case-main { display: grid; grid-template-columns: clamp(2.6rem, 5vw, 5rem) 1fr; align-items: baseline; gap: 18px; padding: clamp(24px, 3.4vw, 46px) 0; text-decoration: none; }
.case-n { font-size: .95rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.case-t { display: block; font-size: clamp(2.3rem, 6.4vw, 6.6rem); font-weight: 900; letter-spacing: -.055em; line-height: .95; transition: color .35s var(--ease), transform .5s var(--ease); }
.case:hover .case-t, .case:focus-within .case-t { color: var(--accent); transform: translateX(1.1vw); }
.case-thumb { display: none; }
.case-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; font-size: .92rem; color: var(--muted); }
.case-side .metric { color: var(--fg); font-weight: 700; }
.case-side .tlink { color: var(--fg); font-size: .88rem; }
.peek {
  position: fixed; left: 0; top: 0; z-index: 60; width: min(32vw, 460px); aspect-ratio: 16 / 10; overflow: hidden; pointer-events: none;
  opacity: 0; transition: opacity .25s var(--ease); background: var(--paper-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.peek.on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- DEPOIMENTOS ---------- */
.proofsec { background: var(--bg); color: var(--fg); padding: clamp(84px, 12vw, 170px) 0; }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 6vw, 96px); }
.quote { display: flex; flex-direction: column; gap: 28px; }
.quote::before { content: "“"; font-size: clamp(6rem, 12vw, 11rem); font-weight: 900; line-height: .55; color: var(--accent); height: .4em; }
.quote blockquote { font-size: clamp(1.35rem, 2.15vw, 2rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.22; }
.quote figcaption { padding-top: 22px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.quote figcaption b { display: block; color: var(--fg); font-weight: 800; font-size: 1rem; }
.quote:nth-child(2) { margin-top: clamp(0px, 7vw, 120px); }

/* ---------- PROCESSO ---------- */
.process { background: var(--bg); color: var(--fg); padding: clamp(84px, 12vw, 170px) 0; overflow: hidden; }
.acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(40px, 6vw, 84px); }
.act { position: relative; padding: 26px clamp(14px, 2vw, 30px) 0 0; border-top: 1px solid var(--line); }
.act::before { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--fg); transform-origin: 0 50%; transform: scaleX(1); }
.act-n { display: block; font-size: clamp(4.4rem, 9.5vw, 10rem); font-weight: 900; letter-spacing: -.07em; line-height: .8; margin: 10px 0 26px; }
.act h3 { font-size: clamp(1.2rem, 1.7vw, 1.55rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: .6em; }
.act p { font-size: .95rem; color: var(--muted); max-width: 22em; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); color: var(--fg); padding: clamp(84px, 12vw, 170px) 0; }
.faq-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; }
.faq-head { grid-column: 1 / span 4; }
.faq-list { grid-column: 6 / span 7; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 1.15em 0; cursor: pointer; font-size: clamp(1.15rem, 1.9vw, 1.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 34px; height: 34px; border: 1.5px solid var(--line); border-radius: 50%; transition: transform .4s var(--ease), background-color .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 9px; right: 9px; top: 15px; height: 2px; background: currentColor; }
.qa summary i::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.qa[open] summary i { background: var(--fg); color: var(--bg); transform: rotate(180deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa .ans { padding: 0 0 1.5em; max-width: 36em; color: var(--muted); }

/* ---------- FAIXA DE ARTE (arrastável) ---------- */
.artrail { background: var(--bg); color: var(--fg); padding: clamp(84px, 12vw, 170px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.artrail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px 60px; flex-wrap: wrap; margin-bottom: clamp(34px, 4.5vw, 64px); }
.artrail-head .sec-head { margin: 0; }
.artrail-head .lede { max-width: 30em; }
.artrail-links { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 26px; }
.rail {
  display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  padding: 10px var(--gutter) 64px; padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch;
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.art { position: relative; flex: none; margin: 0; scroll-snap-align: start; height: clamp(320px, 34vw, 520px); }
.art-btn { display: block; height: 100%; padding: 0; background: var(--paper-2); box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 28px 44px -24px rgba(11, 11, 12, .6); transition: transform .5s var(--ease); }
.art-btn img { height: 100%; width: auto; max-width: none; }
.art:hover .art-btn { transform: translateY(-6px) rotate(-.6deg); }
.art figcaption { position: absolute; left: 0; top: 100%; margin-top: 16px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.art--more { display: grid; place-items: center; align-content: center; aspect-ratio: 4 / 5; background: var(--cream); color: var(--ink); text-decoration: none; padding: 28px; text-align: center; }
.art--more span { display: block; font-size: clamp(1.6rem, 2.6vw, 2.5rem); font-weight: 900; letter-spacing: -.05em; line-height: .95; word-spacing: .12em; }
.art--more svg { width: 44px; height: 44px; margin: 22px auto 0; padding: 10px; border-radius: 50%; background: var(--violet); color: var(--cream); transition: transform .4s var(--ease); }
.art--more:hover svg { transform: translateX(6px); }

/* ---------- Visualizador de arte ---------- */
.lb { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100vw; height: 100dvh; background: transparent; color: var(--cream); }
.lb::backdrop { background: rgba(11, 11, 12, .94); }
.lb[open] { display: grid; place-items: center; }
.lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 0 clamp(16px, 7vw, 120px); max-width: 100vw; }
.lb img { max-height: 76dvh; max-width: 100%; width: auto; height: auto; box-shadow: 0 40px 80px -30px #000; background: #1a1a1c; }
.lb figcaption { max-width: 34em; text-align: center; font-size: .98rem; font-weight: 600; letter-spacing: -.01em; }
.lb-x, .lb-nav { position: absolute; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; border: 1.5px solid rgba(244, 239, 230, .35); border-radius: 50%; color: var(--cream); background: rgba(11, 11, 12, .5); transition: background-color .25s, color .25s; }
.lb-x:hover, .lb-nav:hover { background: var(--cream); color: var(--ink); }
.lb-x { top: 16px; right: 16px; }
.lb-nav { top: 50%; margin-top: -24px; }
.lb-nav.prev { left: 16px; }
.lb-nav.prev svg { transform: scaleX(-1); }
.lb-nav.next { right: 16px; }
.lb svg { width: 20px; height: 20px; }

/* ---------- CTA final: 05/05 ---------- */
.final { position: relative; background: var(--bg); color: var(--fg); padding: clamp(84px, 12vw, 170px) 0; overflow: hidden; isolation: isolate; }
.final .ch-num { right: -1vw; }
.final-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 48px; align-items: center; }
.final-copy { grid-column: 1 / span 8; position: relative; z-index: 2; }
.final .h2 { font-size: clamp(3rem, 8.4vw, 9.4rem); line-height: .86; letter-spacing: -.062em; }
.final .lede { margin-top: clamp(24px, 3vw, 40px); }
.final .hero-cta { animation: none; }
.contact-line { margin-top: clamp(28px, 3.4vw, 44px); display: flex; flex-wrap: wrap; gap: 10px 30px; font-size: .95rem; font-weight: 600; }
.contact-line a { text-decoration: none; opacity: .85; }
.contact-line a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.final-art { grid-column: 9 / span 4; position: relative; z-index: 1; }
.final-art .poster { --r: 5deg; transform: rotate(var(--r)); max-width: 460px; margin: 0 auto; }

/* ---------- Rodapé ---------- */
.foot { background: var(--bg); color: var(--fg); padding-top: clamp(60px, 8vw, 110px); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 36px; padding-bottom: clamp(40px, 6vw, 80px); }
.foot-brand { grid-column: 1 / span 5; }
.foot-logo { height: 46px; width: auto; margin-bottom: 20px; }
.foot-brand p { color: var(--muted); max-width: 26em; font-size: .95rem; }
.foot-col { font-size: .95rem; }
.foot-col.a { grid-column: 7 / span 2; }
.foot-col.b { grid-column: 9 / span 4; }
.foot-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.foot-col li + li { margin-top: 10px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mega { font-size: clamp(3.6rem, 15.6vw, 17rem); font-weight: 900; letter-spacing: -.04em; line-height: .78; white-space: nowrap; color: var(--accent); margin: 0 0 -.06em -.04em; user-select: none; }
.foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px 0 96px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

/* ---------- WhatsApp flutuante + barra mobile ---------- */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 75; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #1FA855; color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); transition: transform .3s var(--ease);
}
.wa:hover { transform: scale(1.08) rotate(-6deg); }
.wa svg { width: 28px; height: 28px; fill: currentColor; }
#mobile-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 76; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--cream); border-top: 1px solid rgba(244, 239, 230, .16); display: none; }
#mobile-sticky-cta .in { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .85rem; font-weight: 600; }
#mobile-sticky-cta .btn { --btn-bg: var(--violet); --btn-fg: var(--cream); padding: .75em 1.2em; font-size: .85rem; }

/* ---------- Cursor personalizado (montado pelo app.js) ---------- */
body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button, body.has-custom-cursor summary, body.has-custom-cursor [role="button"], body.has-custom-cursor .stack { cursor: none; }
#custom-cursor-dot, #custom-cursor-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; will-change: transform; color: var(--fg); }
#custom-cursor-dot { width: 8px; height: 8px; background: var(--accent); }
#custom-cursor-ring { width: 36px; height: 36px; border: 1.5px solid var(--fg); opacity: .7; display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: width .3s var(--ease), height .3s var(--ease), background-color .3s, color .3s, opacity .3s; }
body:not(.cursor-live) #custom-cursor-dot, body:not(.cursor-live) #custom-cursor-ring { opacity: 0; }
body.has-custom-cursor.cursor-hover #custom-cursor-ring { width: 56px; height: 56px; opacity: 1; }
body.has-custom-cursor.cursor-label #custom-cursor-ring { width: 92px; height: 92px; background: var(--btn-bg); color: var(--btn-fg); border-color: transparent; opacity: 1; }
body.has-custom-cursor.cursor-label #custom-cursor-dot { opacity: 0; }

/* ---------- Modal de proposta (quiz) ---------- */
#budget-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(11, 11, 12, .74); }
#budget-modal.flex { display: flex; }
.sheet { position: relative; width: 100%; max-width: 580px; max-height: 92svh; overflow-y: auto; background: var(--paper); color: var(--ink); padding: clamp(24px, 4vw, 40px); box-shadow: 0 40px 80px -30px #000; }
.sheet .kicker { color: var(--violet); }
.sheet-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); }
.sheet-x:hover { background: var(--ink); color: var(--paper); }
.sheet-x svg { width: 18px; height: 18px; }
.q-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding-right: 48px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.q-bar { height: 3px; background: var(--line); margin-bottom: 30px; }
#quiz-progress-bar { height: 100%; width: 33%; background: var(--violet); transition: width .4s var(--ease); }
.sheet h3 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.sheet .sub { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.opts { display: grid; gap: 10px; margin-top: 22px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.quiz-option-card { cursor: pointer; padding: 15px 18px; border: 1.5px solid var(--line); background: transparent; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.quiz-option-card:hover { border-color: var(--ink); }
.quiz-option-card.selected { border-color: var(--violet); background: #E7DFFC; }
.quiz-option-card h4 { font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.quiz-option-card p { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.q-actions { display: flex; gap: 10px; margin-top: 26px; }
.q-actions .btn { flex: 1; justify-content: center; }
.q-actions .btn--ghost { flex: none; }
.sheet .btn { --btn-bg: var(--violet); --btn-fg: var(--cream); }
.sheet .btn--ghost { --fg: var(--ink); --line: rgba(11, 11, 12, .3); background: transparent; color: var(--ink); }
.field { margin-top: 14px; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); padding: .8em 1em; border-radius: 0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#budget-form-success { text-align: center; padding: 20px 0 6px; }
#budget-form-success .tick { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--violet); color: var(--cream); display: grid; place-items: center; }
#budget-form-success .tick svg { width: 30px; height: 30px; }
#budget-form-success .wa-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 14px; }
.linklike { text-decoration: underline; text-underline-offset: 4px; color: var(--muted); font-size: .9rem; }

/* ---------- Motion guiado pelo scroll (progressivo; sem suporte = estático) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    @keyframes rv { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
    .par { animation: par linear both; animation-timeline: view(); }
    @keyframes par { from { transform: translateY(5%) rotate(var(--r)); } to { transform: translateY(-5%) rotate(var(--r)); } }
    .act::before { animation: grow linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .hero-copy { grid-column: 1 / span 12; }
  .hero-stack { grid-column: 3 / span 8; margin-top: 56px; }
  .stack, .stack-ui { margin-left: auto; margin-right: auto; }
  .h1 { font-size: clamp(3rem, 12.4vw, 8rem); }
  .ch-copy, .chapter.flip .ch-copy { grid-column: 1 / span 12; grid-row: auto; }
  .ch-art, .chapter.flip .ch-art { grid-column: 3 / span 8; grid-row: auto; }
  .final-copy { grid-column: 1 / span 12; }
  .final-art { grid-column: 4 / span 6; }
  .rule-neg { grid-column: 1 / span 12; margin-bottom: 18px; }
  .rule-yes { grid-column: 1 / span 9; }
  .faq-head, .faq-list { grid-column: 1 / span 12; }
  .acts { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .foot-brand { grid-column: 1 / span 12; }
  .foot-col.a { grid-column: 1 / span 5; }
  .foot-col.b { grid-column: 6 / span 7; }
}

@media (max-width: 860px) {
  .nav, .hd-right .btn { display: none; }
  .nav-toggle { display: block; }
  .hd-right { margin-left: auto; }
  .marker { display: none; }
  #mobile-sticky-cta { display: block; }
  .wa { bottom: 84px; right: 16px; width: 50px; height: 50px; }
  .quotes { grid-template-columns: 1fr; }
  .quote:nth-child(2) { margin-top: 0; }
  .case { grid-template-columns: 1fr; gap: 0; }
  .case-main { grid-template-columns: 1fr; gap: 12px; padding-bottom: 8px; }
  .case-thumb { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; order: -1; margin-bottom: 8px; background: var(--paper-2); }
  .case-main { display: flex; flex-direction: column; align-items: stretch; }
  .case-n { order: -2; }
  .case-side { flex-direction: row; justify-content: space-between; align-items: baseline; text-align: left; padding-bottom: 26px; flex-wrap: wrap; gap: 6px 18px; }
  .case:hover .case-t { transform: none; }
  .peek { display: none; }
  .rail { padding-bottom: 60px; }
  .stamp { position: static; width: 76px; height: 76px; margin: 18px 0 0; transform: rotate(-8deg); font-size: 8.5px; }
  .rule-yes { grid-column: 1 / span 12; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .h1 { font-size: clamp(2.9rem, 13.4vw, 4.6rem); }
  .hero-stack { grid-column: 1 / span 12; margin-top: 44px; }
  .hero-meta { letter-spacing: .14em; }
  .hero-meta i { max-width: 60px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .stack { max-width: 300px; }
  .stack-ui { max-width: 300px; }
  .ch-art, .chapter.flip .ch-art { grid-column: 2 / span 10; }
  .final-art { grid-column: 3 / span 8; }
  .acts { grid-template-columns: 1fr; }
  .act { padding-right: 0; }
  .act-n { font-size: 5.4rem; margin-bottom: 18px; }
  .field-row, .opts.two { grid-template-columns: 1fr; }
  .foot-col.a, .foot-col.b { grid-column: 1 / span 12; }
  .ticker-track { animation-duration: 34s; }
  .ch-num { font-size: 15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .h1 .ln > span, .hero-sub, .hero-cta, .proof { animation: none; }
  .ticker-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .ticker-track .tk + .tk { display: none; }
  .stack .poster { transition: none; }
  #custom-cursor-dot, #custom-cursor-ring { display: none !important; }
  body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button { cursor: auto; }
}

@media (pointer: coarse) {
  #custom-cursor-dot, #custom-cursor-ring { display: none !important; }
}

/* ==========================================================================
   PÁGINAS INTERNAS (sobre, soluções, portfólio, contato, blog, artigos, cases)
   ========================================================================== */
.poster--sq { aspect-ratio: 1 / 1; }
.h1--page { font-size: clamp(2.8rem, 7.4vw, 8rem); line-height: .88; margin-top: 22px; animation: fade .9s .1s var(--ease) both; }
.h1--post { font-size: clamp(2.3rem, 5.6vw, 5.6rem); font-weight: 900; line-height: .92; letter-spacing: -.055em; word-spacing: .14em; margin-top: 22px; }
.h3 { font-size: clamp(1.7rem, 3.4vw, 3.2rem); font-weight: 900; letter-spacing: -.05em; line-height: .98; word-spacing: .12em; }
.back { font-size: .92rem; }
.back svg { width: 1em; height: 1em; }

/* hero de página */
.phero { position: relative; overflow: hidden; background: var(--bg); color: var(--fg); padding: calc(var(--header-h) + clamp(44px, 8vw, 120px)) 0 clamp(64px, 9vw, 130px); }
.phero-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px; align-items: center; }
.phero-copy { grid-column: 1 / span 10; position: relative; z-index: 2; }
.phero.has-art .phero-copy { grid-column: 1 / span 8; }
.phero-art { grid-column: 9 / span 4; position: relative; }
.phero .lede { margin-top: clamp(22px, 3vw, 36px); animation: fade .9s .25s var(--ease) both; }
.phero .hero-cta { margin-top: clamp(24px, 3vw, 40px); }
.phero-art > .poster, .pair .poster:first-child { --r: 3deg; transform: rotate(var(--r)); max-width: 480px; margin: 0 auto; }
.pair { position: relative; width: 100%; max-width: 480px; margin-left: auto; }
.pair .pair-2 { position: absolute; width: 56%; left: -18%; bottom: -12%; --r: -7deg; transform: rotate(var(--r)); z-index: 2; }

/* índice de serviços */
.svc-index { margin-top: clamp(34px, 4vw, 56px); max-width: 38em; }
.svc-index ol { margin-top: 14px; border-top: 1px solid var(--line); }
.svc-index a { display: flex; gap: 1em; align-items: baseline; padding: .8em 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; transition: padding .35s var(--ease), color .3s; }
.svc-index a:hover { padding-left: 12px; color: var(--accent); }
.svc-index a > span:first-child { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ficha técnica dos serviços */
.spec { margin-top: clamp(26px, 3vw, 40px); max-width: 36em; }
.spec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1.5px solid var(--fg); }
.spec-h b { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; }
.spec-h > span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.spec .row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: .8em 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 800; text-align: right; letter-spacing: -.01em; }

/* sobre: pilares e manifesto */
.pillars, .mfsec { background: var(--bg); color: var(--fg); padding: clamp(84px, 12vw, 170px) 0; }
.pillar { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: baseline; padding: clamp(26px, 3.4vw, 46px) 0; border-top: 1px solid var(--line); }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar-n { grid-column: 1 / span 2; font-size: clamp(3rem, 7vw, 7rem); font-weight: 900; letter-spacing: -.07em; line-height: .8; color: var(--accent); }
.pillar h3 { grid-column: 3 / span 6; font-size: clamp(1.8rem, 3.6vw, 3.4rem); font-weight: 900; letter-spacing: -.05em; line-height: .98; word-spacing: .12em; }
.pillar p { grid-column: 9 / span 4; color: var(--muted); }
.mf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); margin-top: clamp(40px, 5vw, 72px); }
.mf h3 { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 22px; }
.mf li { padding: 1.15em 0; border-top: 1px solid var(--line); color: var(--muted); }
.mf li strong { display: block; font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-weight: 900; letter-spacing: -.045em; line-height: 1; color: var(--fg); margin-bottom: .4em; word-spacing: .12em; }
.mf-no li strong { text-decoration: line-through; text-decoration-thickness: .09em; text-decoration-color: var(--accent); text-decoration-skip-ink: none; }
.mf ul { border-bottom: 1px solid var(--line); }

/* portfólio: casos em destaque */
.cases--page .sec-head { margin-bottom: clamp(40px, 6vw, 84px); }
.cs { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 26px; align-items: center; padding: clamp(28px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.cs:last-child { border-bottom: 1px solid var(--line); }
.cs-img { grid-column: 1 / span 7; display: block; overflow: hidden; background: var(--paper-2); box-shadow: 0 30px 60px -30px #000; }
.cs-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.cs:hover .cs-img img { transform: scale(1.04); }
.cs-copy { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cs:nth-child(even) .cs-img { grid-column: 6 / span 7; grid-row: 1; }
.cs:nth-child(even) .cs-copy { grid-column: 1 / span 5; grid-row: 1; }
.cs-n { font-size: .95rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.cs-copy h3 a { text-decoration: none; }
.cs-copy h3 a:hover { color: var(--accent); }
.cs .metric { font-weight: 800; color: var(--accent); }
.cs-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 10px; }

/* portfólio: galeria de arte */
.galsec { background: var(--bg); color: var(--fg); padding: clamp(84px, 12vw, 170px) 0; }
.galsec .sec-head { max-width: 46em; }
.gal { margin-top: clamp(56px, 8vw, 120px); }
.gal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 60px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); border-top: 1.5px solid var(--fg); padding-top: 22px; }
.gal-head .lede { max-width: 28em; margin: 0; }
.gal-head .h3 { margin-top: 12px; }
.gal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.gal-btn { display: block; width: 100%; padding: 0; background: var(--paper-2); box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 22px 36px -22px rgba(11, 11, 12, .55); transition: transform .5s var(--ease); }
.gal-btn img { width: 100%; height: auto; }
.gal-btn:hover { transform: translateY(-6px) rotate(-.5deg); }

/* contato */
.contactsec { background: var(--bg); color: var(--fg); padding: clamp(72px, 10vw, 140px) 0; }
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px; align-items: start; }
.contact-links { grid-column: 1 / span 7; }
.pl { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: clamp(22px, 3vw, 36px) 0; border-top: 1px solid var(--line); text-decoration: none; }
.pl-t { grid-column: 1; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pl-n { grid-column: 1; font-size: clamp(2.2rem, 5.2vw, 5rem); font-weight: 900; letter-spacing: -.055em; line-height: .95; transition: color .3s, transform .5s var(--ease); }
.pl-d { grid-column: 1; color: var(--muted); font-size: .95rem; }
.pl svg { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: 46px; height: 46px; padding: 11px; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .3s, color .3s, border-color .3s; }
.pl:hover .pl-n { color: var(--accent); transform: translateX(1vw); }
.pl:hover svg { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pl-more { border-top: 1px solid var(--line); }
.pl-more li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; padding: 1em 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.pl-more li > span:first-child { color: var(--muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.pl-more a { text-decoration: none; }
.pl-more a:hover { color: var(--accent); }
.cform { grid-column: 8 / span 5; background: var(--paper); color: var(--ink); padding: clamp(24px, 3vw, 40px); --line: rgba(11, 11, 12, .18); --muted: rgba(11, 11, 12, .68); --btn-bg: var(--violet); --btn-fg: var(--cream); box-shadow: 0 40px 80px -40px #000; }
.cform .h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.cform .sub { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.cform .field { margin-top: 18px; }
.cform .btn { margin-top: 24px; width: 100%; justify-content: center; }

/* blog: lista */
.posts { background: var(--bg); color: var(--fg); padding: clamp(40px, 6vw, 90px) 0 clamp(84px, 12vw, 170px); }
.post-row { border-top: 1px solid var(--line); }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row > a { display: grid; grid-template-columns: 4rem 1fr auto; gap: 24px; align-items: center; padding: clamp(24px, 3vw, 44px) 0; text-decoration: none; }
.pr-n { font-weight: 700; color: var(--muted); align-self: start; padding-top: .7em; font-variant-numeric: tabular-nums; }
.pr-body { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; max-width: 44em; }
.pr-body .h3 { transition: color .3s, transform .5s var(--ease); }
.post-row > a:hover .h3 { color: var(--accent); transform: translateX(.8vw); }
.pr-d { color: var(--muted); }
.pr-thumb { width: clamp(96px, 12vw, 180px); }
.pr-thumb img { width: 100%; height: auto; box-shadow: 0 20px 34px -18px #000; transform: rotate(3deg); transition: transform .5s var(--ease); }
.post-row > a:hover .pr-thumb img { transform: rotate(-2deg) scale(1.05); }

/* artigo */
.post-hero { position: relative; overflow: hidden; background: var(--bg); color: var(--fg); padding: calc(var(--header-h) + clamp(36px, 6vw, 80px)) 0 clamp(40px, 6vw, 80px); }
.post-hero .phero-copy { grid-column: 1 / span 8; }
.post-hero .phero-art { grid-column: 10 / span 3; }
.post-hero .phero-art > .poster { max-width: 300px; }
.post-meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: var(--muted); font-size: .92rem; }
.post-meta strong { color: var(--fg); }
.post-meta i { font-style: normal; opacity: .5; }
.post { background: var(--bg); color: var(--fg); padding: clamp(24px, 4vw, 56px) 0 clamp(64px, 9vw, 120px); }
.prose { max-width: 40em; margin: 0 auto; }
.prose > * + * { margin-top: 1.15em; }
.prose p { font-size: 1.15rem; line-height: 1.7; color: rgba(11, 11, 12, .82); }
.prose > p:first-child { font-size: clamp(1.3rem, 1.9vw, 1.55rem); line-height: 1.45; font-weight: 500; color: var(--fg); }
.prose strong { color: var(--fg); font-weight: 800; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 900; letter-spacing: -.045em; line-height: 1; word-spacing: .12em; }
.prose h3 { margin-top: 1.8em; font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; word-spacing: .1em; color: var(--accent); }
.prose h2 + p, .prose h3 + p { margin-top: .7em; }
.ticks li { position: relative; padding: .7em 0 .7em 1.9em; border-top: 1px solid var(--line); font-weight: 600; font-size: 1.05rem; }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.post-cta { background: var(--bg); color: var(--fg); padding: clamp(72px, 10vw, 140px) 0; }
.post-cta .h2 { max-width: 13em; }
.post-cta .lede { margin-top: 24px; }
.related { background: var(--bg); color: var(--fg); padding: clamp(72px, 10vw, 140px) 0; }
.rel-list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.rel-list a { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding-top: 24px; border-top: 1.5px solid var(--fg); text-decoration: none; }
.rel-list a:hover .h3 { color: var(--accent); }

/* cases */
.casehero { background: var(--bg); color: var(--fg); padding: calc(var(--header-h) + clamp(36px, 6vw, 80px)) 0 clamp(56px, 8vw, 110px); }
.casehero .h1--post { max-width: 18em; }
.shot { margin: clamp(32px, 5vw, 64px) 0 0; background: var(--paper-2); box-shadow: 0 40px 80px -40px rgba(11, 11, 12, .65); }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; object-position: top; }
.metrics { background: var(--bg); color: var(--fg); }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); padding: clamp(56px, 8vw, 110px) 0; }
.metric-grid b { display: block; font-size: clamp(3rem, 8vw, 8rem); font-weight: 900; letter-spacing: -.07em; line-height: .85; word-spacing: .1em; }
.metric-grid span { display: block; margin-top: 16px; font-weight: 600; color: var(--muted); max-width: 16em; }
.story { background: var(--bg); color: var(--fg); padding: clamp(72px, 10vw, 140px) 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.story .h3 { margin-bottom: 20px; }
.techs { margin-top: clamp(40px, 5vw, 72px); }
.techs ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.techs li { padding: .55em 1.1em; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; }
.story .hero-cta { margin-top: clamp(36px, 5vw, 60px); animation: none; }
.nextcase { background: var(--bg); color: var(--fg); }
.nc { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 24px; padding: clamp(48px, 7vw, 100px) 0; text-decoration: none; }
.nc .kicker { grid-column: 1; }
.nc-t { grid-column: 1; font-size: clamp(2.4rem, 7vw, 7.4rem); font-weight: 900; letter-spacing: -.06em; line-height: .9; word-spacing: .12em; transition: color .3s, transform .5s var(--ease); }
.nc svg { grid-column: 2; grid-row: 1 / span 2; width: clamp(48px, 6vw, 84px); height: clamp(48px, 6vw, 84px); padding: 16%; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .3s, color .3s; }
.nc:hover .nc-t { color: var(--accent); transform: translateX(1vw); }
.nc:hover svg { background: var(--fg); color: var(--bg); }

/* CTA final nas páginas internas */
.final--page .h2 { font-size: clamp(2.6rem, 6.4vw, 6.8rem); line-height: .9; }

/* ---------- responsivo das páginas internas ---------- */
@media (max-width: 1024px) {
  .phero-copy, .phero.has-art .phero-copy, .post-hero .phero-copy { grid-column: 1 / span 12; }
  .phero-art { grid-column: 3 / span 8; }
  .post-hero .phero-art { grid-column: 4 / span 6; }
  .pillar-n { grid-column: 1 / span 12; margin-bottom: 14px; }
  .pillar h3 { grid-column: 1 / span 12; margin-bottom: 14px; }
  .pillar p { grid-column: 1 / span 9; }
  .cs-img, .cs:nth-child(even) .cs-img { grid-column: 1 / span 12; grid-row: 1; }
  .cs-copy, .cs:nth-child(even) .cs-copy { grid-column: 1 / span 12; grid-row: 2; }
  .contact-links, .cform { grid-column: 1 / span 12; }
  .gal-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .mf-grid, .story-grid, .rel-list { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .post-row > a { grid-template-columns: 1fr auto; gap: 8px 18px; }
  .pr-n { display: none; }
  .pillar p { grid-column: 1 / span 12; }
}
@media (max-width: 640px) {
  .phero-art, .post-hero .phero-art { grid-column: 2 / span 10; }
  .phero-art > .poster, .pair { max-width: 320px; }
  .pair .pair-2 { left: -8%; bottom: -8%; width: 52%; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .spec .row { flex-direction: column; gap: 2px; }
  .spec dd { text-align: left; }
  .pr-thumb { width: 84px; }
  .cs { padding: 28px 0; }
  .pl:hover .pl-n, .post-row > a:hover .h3, .nc:hover .nc-t { transform: none; }
}

/* ---------- Alvos de toque (>= 40px em telas de toque, sem alterar o desenho) ---------- */
.round { flex: none; }
.logo { display: inline-flex; align-items: center; padding: 6px 0; }
@media (pointer: coarse) {
  .duo-lang-btn { min-width: 44px; min-height: 40px; display: inline-grid; place-items: center; }
  .tlink { position: relative; }
  .tlink::before { content: ""; position: absolute; inset: -12px -6px; }
  .foot-col li + li { margin-top: 0; }
  .foot-col a, .contact-line a, .pl-more a { display: inline-block; padding: .55em 0; min-width: 44px; }
}

/* telas muito estreitas (320px): 11 espaços de 24px consomem >260px das grades de 12 colunas */
@media (max-width: 640px) {
  .hero-grid, .ch-grid, .rule, .pillar, .cs, .faq-grid, .final-grid, .foot-grid, .contact-grid, .phero-grid { column-gap: 0; }
}
