/* Partner experience — shared engine. Dark, cinematic, scroll-driven. */
@import url('../vendor/fonts/fonts.css');

:root {
  --bg: #07090d; --bg-2: #0d1118; --panel: rgba(255,255,255,.035); --line: rgba(255,255,255,.1);
  --ink: #f4f6f9; --ink-2: #b9c2cf; --muted: #7b8595;
  --accent: #19c37d; --accent-2: #0ea5e9; --accent-rgb: 25,195,125;
  --display: 'Sora', 'Inter', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(20px, 6vw, 120px);
  --fs: 1;   /* fator do texto de apoio (controle A− / A+ do apresentador, experience.js); títulos, kickers e números grandes não entram */
}
html.ird { --accent: #ff7a2f; --accent-2: #ffb454; --accent-rgb: 255,122,47; }
/* Chinese: system CJK stack after the Latin display faces (no multi-MB font download) */
html[lang="zh-CN"] { --display: 'Sora', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Noto Sans SC', sans-serif; --body: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Noto Sans SC', sans-serif; }
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2 { letter-spacing: 0; line-height: 1.12; }
html[lang="zh-CN"] .hero h1 { font-size: clamp(38px, 6.2vw, 96px); }
.bar .lang a { color: var(--ink-2); text-decoration: none; } .bar .lang a:hover { color: var(--accent); } .bar .lang b { color: var(--accent); font-weight: 500; }

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
/* texto de apoio ~20 % menor (Leandro, 2026-11-14): body, lead, sub, cards, listas; h1/h2/kicker/.stat .v ficam */
body { margin: 0; font-family: var(--body); font-size: calc(clamp(14px, .95vw, 15.5px) * var(--fs)); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
::selection { background: var(--accent); color: #05110b; }

/* grain + vignette */
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.vignette { position: fixed; inset: 0; pointer-events: none; z-index: 2; background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55) 100%); }

/* cursor glow */
.glow { position: fixed; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: 1; left: 0; top: 0; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(var(--accent-rgb), .13), transparent 60%); transition: opacity .4s; }
@media (hover: none) { .glow { display: none; } }

/* webgl stage */
#stage { position: fixed; inset: 0; z-index: 0; }
#stage canvas { display: block; width: 100%; height: 100%; }

/* top bar */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter);
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); background: linear-gradient(rgba(7,9,13,.85), rgba(7,9,13,0)); pointer-events: none; }
.bar * { pointer-events: auto; }
.bar img { height: 26px; }
.bar .to { color: var(--ink); }
.bar .to b { color: var(--accent); font-weight: 500; }
.rail { position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 50; display: flex; flex-direction: column; gap: 10px; }
.rail a { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); display: block; transition: .3s; position: relative; }
.rail a.on { background: var(--accent); transform: scale(1.6); }
.rail a::after { content: attr(data-t); position: absolute; right: 16px; top: -6px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); opacity: 0; white-space: nowrap; transition: .2s; }
.rail a:hover::after { opacity: 1; }
@media (max-width: 800px) { .rail { display: none; } }

/* loader */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; transition: opacity .8s, visibility .8s; }
.loader.off { opacity: 0; visibility: hidden; }
.loader .mark { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 8vw, 110px); letter-spacing: -.04em; color: var(--ink); }
.loader .mark i { color: var(--accent); font-style: normal; }
.loader .ln { width: 160px; height: 2px; background: var(--line); margin: 22px auto 0; overflow: hidden; }
.loader .ln i { display: block; height: 100%; width: 0; background: var(--accent); }

/* layout */
main { position: relative; z-index: 3; }
.chapter { position: relative; min-height: 100vh; padding: 18vh var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.chapter.tight { min-height: 70vh; }
.wrap { max-width: 1240px; margin: 0 auto; width: 100%; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 26px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: .98; margin: 0 0 30px; }
h1 { font-size: clamp(46px, 8.4vw, 132px); }
h2 { font-size: clamp(36px, 5.6vw, 84px); max-width: 16ch; }
h3 { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 1.6vw, 26px); letter-spacing: -.02em; margin: 0 0 10px; }
.acc { color: var(--accent); }
.dim { color: var(--ink-2); }
p.lead { font-size: calc(clamp(15px, 1.36vw, 21.5px) * var(--fs)); line-height: 1.4; color: var(--ink-2); max-width: 46ch; margin: 0 0 20px; }
p.lead strong { color: var(--ink); font-weight: 600; }
.grid { display: grid; gap: clamp(16px, 2vw, 32px); }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 2vw, 32px); backdrop-filter: blur(8px); position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(var(--accent-rgb), .55), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s; }
.card:hover::before, .card.hi::before { opacity: 1; }
.card p { color: var(--ink-2); margin: 0; font-size: calc(clamp(13px, .85vw, 14.5px) * var(--fs)); }
.card .n { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .12em; display: block; margin-bottom: 14px; }
/* foto de produto no card de marca (deck técnico LRI, 2026-11-17): a mesma caixa em todos os cards, qualquer que seja a grade */
.card .cph { height: 150px; background: #fff; border-radius: 12px; margin: 0 0 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card .cph img { max-width: 92%; max-height: 90%; width: auto; height: auto; object-fit: contain; display: block; }
/* linha sem foto pública da LRI: a mesma caixa, neutra, com o nome da linha (o texto do card alinha com os vizinhos) */
.card .cph.none { background: transparent; border: 1px dashed var(--line); }
.card .cph.none span { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.stat { display: flex; flex-direction: column; gap: 8px; }
.stat .v { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 6vw, 96px); letter-spacing: -.05em; line-height: 1; }
.stat .v small { font-size: .42em; color: var(--accent); margin-left: 4px; }
.stat .l { color: var(--muted); font-size: calc(13px * var(--fs)); max-width: 26ch; }

ul.list { list-style: none; padding: 0; margin: 0; }
ul.list li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--ink-2); font-size: calc(clamp(13.5px, .96vw, 16px) * var(--fs)); line-height: 1.45; }
ul.list li strong { color: var(--ink); font-weight: 600; }
ul.list li::before { content: ''; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border-radius: 4px; background: var(--accent); }
ul.list.x li::before { background: #ff4d5e; clip-path: polygon(20% 0, 50% 30%, 80% 0, 100% 20%, 70% 50%, 100% 80%, 80% 100%, 50% 70%, 20% 100%, 0 80%, 30% 50%, 0 20%); }
ul.list.check li::before { clip-path: polygon(14% 44%, 0 62%, 40% 100%, 100% 22%, 84% 8%, 40% 66%); border-radius: 0; }
ul.list.x li s { text-decoration-color: #ff4d5e; text-decoration-thickness: 2px; }

.tag { display: inline-block; font-family: var(--mono); font-size: 12px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); margin: 0 8px 8px 0; background: rgba(255,255,255,.03); }
.tag.acc { border-color: rgba(var(--accent-rgb), .6); color: var(--accent); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal].in { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.words .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.words .w i { display: inline-block; font-style: normal; transform: translateY(110%); }

/* hero */
.hero { min-height: 300vh; padding: 0; }
.hero .pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) 9vh; }
.hero h1 { max-width: 12ch; font-size: clamp(42px, 7vw, 112px); }
.hero .sub { font-size: calc(clamp(15px, 1.2vw, 19px) * var(--fs)); color: var(--ink-2); max-width: 44ch; margin: 0; }
.hero .copy2 { position: absolute; left: var(--gutter); bottom: 9vh; max-width: 46ch; opacity: 0; }
.hero .copy2 .big { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.6vw, 56px); letter-spacing: -.03em; line-height: 1.05; margin: 0 0 16px; }
.hero .copy2 .names { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.hero .hint { position: absolute; right: var(--gutter); bottom: 9vh; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.hero .hint i { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); display: block; animation: drop 1.6s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero .caption { position: absolute; left: var(--gutter); top: 13vh; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero .caption span { display: block; opacity: 0; transition: opacity .25s; position: absolute; white-space: nowrap; }
.hero .caption span.on { opacity: 1; }
.hero .caption span b { color: var(--accent); font-weight: 500; }

/* statement */
.statement { text-align: center; }
.statement h2 { max-width: none; margin: 0 auto 26px; font-size: clamp(44px, 8vw, 128px); }
.statement h2 .grad { background: linear-gradient(90deg, var(--ink), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statement p.lead { margin: 0 auto; }

/* timeline */
.tl { position: relative; margin-top: 40px; }
.tl .track { height: 2px; background: var(--line); position: relative; }
.tl .track i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--accent); }
.tl .ms { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 26px; gap: 10px; }
.tl .m { position: relative; padding-top: 18px; opacity: .35; transition: opacity .5s; }
.tl .m::before { content: ''; position: absolute; top: -33px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--line); transition: .4s; }
.tl .m.on { opacity: 1; } .tl .m.on::before { background: var(--accent); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .18); }
.tl .m .y { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.tl .m h4 { font-family: var(--display); font-size: clamp(16px, 1.3vw, 20px); margin: 6px 0 4px; letter-spacing: -.02em; }
.tl .m p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .tl .ms { grid-template-columns: 1fr 1fr; } }

/* browser demo */
.browser { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #0f141c; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.browser .top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #131924; }
.browser .top i { width: 10px; height: 10px; border-radius: 50%; background: #2a3340; }
.browser .url { flex: 1; margin-left: 10px; font-family: var(--mono); font-size: 14px; color: var(--ink); background: #0b0f15; border-radius: 8px; padding: 8px 14px; display: flex; align-items: center; gap: 10px; min-height: 36px; }
.browser .url .typed { white-space: nowrap; }
.browser .url .caret { width: 8px; height: 16px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.browser .url .lock { color: var(--accent); font-size: 12px; }
.browser .view { position: relative; aspect-ratio: 16 / 9; background: #fff; overflow: hidden; }
.browser .view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.browser .redir { position: absolute; inset: 0; display: grid; place-items: center; background: #0b0f15; color: var(--ink-2); font-family: var(--mono); font-size: 14px; letter-spacing: .1em; }
.browser .redir b { color: var(--accent); font-weight: 500; }

/* charts */
.chart-wrap { position: relative; }
.chart-wrap svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-wrap .grid-l { stroke: var(--line); }
.chart-wrap .ax { fill: var(--muted); font-family: var(--mono); font-size: 12px; }
.chart-wrap .ln { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart-wrap .ar { fill: url(#ga); opacity: .9; }
.chart-wrap .dt { fill: var(--accent); stroke: var(--bg); stroke-width: 2; }
.chart-wrap .lb { fill: var(--ink); font-family: var(--mono); font-size: 13px; }
.chart-wrap .bs { stroke: var(--muted); stroke-dasharray: 4 5; }
.src { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 10px; letter-spacing: .04em; }

/* gallery (horizontal pin) */
.doors { padding: 0; min-height: auto; }
.doors .pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.doors .head { padding: 0 var(--gutter); margin-bottom: 4vh; }
.doors .track { display: flex; gap: 3vw; padding: 0 var(--gutter); will-change: transform; perspective: 1400px; }
.doors .shot { flex: 0 0 auto; width: min(58vw, 760px); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 40px 90px rgba(0,0,0,.55); transform: rotateY(-6deg); transition: transform .6s; position: relative; }
.doors .shot:hover { transform: rotateY(0) scale(1.02); }
.doors .shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.doors .shot .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; display: flex; justify-content: space-between; }
.doors .shot .cap b { color: var(--accent); font-weight: 500; }
.doors .shot.txt { background: var(--bg-2); color: var(--ink); padding: 34px; display: flex; flex-direction: column; justify-content: center; width: min(44vw, 520px); aspect-ratio: auto; }
.doors .shot.txt .v { font-family: var(--display); font-size: clamp(48px, 6vw, 90px); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--accent); }
.doors .shot.txt p { color: var(--ink-2); font-size: calc(14px * var(--fs)); }

/* beam (two-way) */
.beam { position: relative; height: 360px; margin: 10px 0 30px; }
.beam .arm { position: absolute; left: 10%; right: 10%; top: 78%; height: 4px; background: var(--ink); border-radius: 4px; transform-origin: center; transform: rotate(9deg); }
.beam .arm::before, .beam .arm::after { content: ''; position: absolute; top: -10px; width: 22%; height: 3px; border-top: 2px solid rgba(255,255,255,.35); }
.beam .arm::before { left: 6%; } .beam .arm::after { right: 6%; }
.beam .pivot { position: absolute; left: 50%; top: 78%; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); box-shadow: 0 0 0 10px rgba(var(--accent-rgb), .15); }
.beam .pan { position: absolute; top: 0; width: 36%; padding: 0 22px; }
.beam .pan.l { left: 6%; text-align: right; } .beam .pan.r { right: 6%; }
.beam .pan .t { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.beam .pan .w { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -.02em; line-height: 1.1; margin-top: 8px; }
@media (max-width: 900px) { .beam { display: none; } }

/* product: a foto vale mais que a descrição (Leandro, 2026-11-14) — coluna da foto 1.35fr contra .9fr do texto */
.product { display: grid; grid-template-columns: 1.35fr .9fr; gap: 3.5vw; align-items: center; }
.product .img { position: relative; margin-bottom: 8%; }
.product .img > img:first-child { display: block; width: 100%; border-radius: 22px; border: 1px solid var(--line); }
.product .img .ang { position: absolute; right: -3%; bottom: -8%; width: 42%; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,.6); }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } .product .img { margin: 0 0 14%; } .product .img .ang { right: 0; } }   /* celular: foto na largura toda em cima, texto embaixo; a foto de ângulo não sai da tela */

/* contact */
.contact { text-align: center; }
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 20px 34px; border-radius: 999px; background: var(--accent); color: #05110b; font-family: var(--display); font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: -.01em; transition: transform .25s, box-shadow .25s; box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .4); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 10px rgba(var(--accent-rgb), .15); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.contact .who { font-family: var(--display); font-size: clamp(28px, 3vw, 44px); font-weight: 700; letter-spacing: -.03em; margin: 30px 0 6px; }
.contact .meta { color: var(--ink-2); font-size: calc(14px * var(--fs)); line-height: 1.7; }
.contact .meta a { text-decoration: none; border-bottom: 1px solid var(--line); }
footer { padding: 40px var(--gutter); font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; position: relative; z-index: 3; }

@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } .words .w i { transform: none; } }

/* customer logo wall: white tiles so brand colours read on the dark page */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.logo-wall .lw { background: #fff; border-radius: 12px; padding: 14px 12px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; }
.logo-wall .lw img { max-height: 40px; max-width: 120px; width: auto; height: auto; object-fit: contain; }
.logo-wall .lw span { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #5c6b77; text-align: center; }
.logo-wall .lw img { max-height: 52px; }
.logo-wall .lw.txt b { font-family: var(--display); font-weight: 800; font-size: 20px; color: #1f2a33; letter-spacing: -.02em; }

/* ---------- PDF (html.pdf is set by ?pdf=1 or beforeprint) ---------- */
@page { size: 1280px 1810px; margin: 0; }
.bar .pdfdl { color: var(--accent) !important; text-decoration: none; }
html.pdf, html.pdf body { background: var(--bg) !important; overflow: visible !important; height: auto !important; }
html.pdf * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
html.pdf #stage, html.pdf .glow, html.pdf .vignette, html.pdf .loader, html.pdf .rail, html.pdf .hint,
html.pdf .pdf-hide, html.pdf .pdfdl, html.pdf .hero .caption, html.pdf .browser .redir, html.pdf .browser .caret { display: none !important; }
html.pdf body::before { display: none !important; }
html.pdf .bar { position: static; background: none; padding-top: 36px; }
html.pdf .bar .lang { display: none; }
html.pdf .hero { min-height: auto !important; height: auto !important; }
html.pdf .hero .pin { position: static; height: auto; padding: 40px var(--gutter) 30px; }
html.pdf .hero .copy, html.pdf .hero .copy2 { opacity: 1 !important; transform: none !important; }
html.pdf .hero .copy2 { position: static; margin-top: 34px; }
html.pdf .chapter { min-height: auto !important; padding: 36px var(--gutter) !important; }
html.pdf [data-reveal] { opacity: 1 !important; transform: none !important; }
html.pdf .words .w i { transform: none !important; }
html.pdf .card { backdrop-filter: none; }
html.pdf .card, html.pdf .stat, html.pdf .lw, html.pdf ul.list li, html.pdf .shot, html.pdf .browser, html.pdf .tl,
html.pdf .beam, html.pdf .chart-wrap, html.pdf .timeline, html.pdf .product .img { break-inside: avoid; page-break-inside: avoid; }
html.pdf h1, html.pdf h2, html.pdf h3, html.pdf .kicker { break-after: avoid; page-break-after: avoid; }
html.pdf .doors { height: auto !important; min-height: auto !important; }
html.pdf .doors .pin { position: static; height: auto; overflow: visible; padding: 44px 0; }
html.pdf .doors .track { transform: none !important; flex-wrap: wrap; gap: 24px; }
html.pdf .doors .shot, html.pdf .doors .shot.txt { width: calc(50% - 12px) !important; transform: none !important; box-shadow: none; }
html.pdf .chart-wrap .ln { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
html.pdf .chart-wrap .ar { opacity: .9 !important; }
html.pdf .chart-wrap .dt { transform: none !important; }
html.pdf .tl .m { opacity: 1 !important; }
html.pdf .tl .track i { width: 100% !important; }
html.pdf .beam .arm { transform: none !important; }
/* keep the desktop grid in the PDF (media queries may see a narrow print viewport) */
html.pdf .g2 { grid-template-columns: repeat(2, 1fr) !important; }
html.pdf .g3 { grid-template-columns: repeat(3, 1fr) !important; }
html.pdf .g4 { grid-template-columns: repeat(4, 1fr) !important; }
html.pdf .tl .ms { grid-template-columns: repeat(7, 1fr) !important; }
html.pdf .product { grid-template-columns: 1.35fr .9fr !important; }
html.pdf .product .img { margin: 0 0 8% !important; width: auto !important; }
html.pdf .beam { display: block !important; }
html.pdf .rail { display: none !important; }
html.pdf h1, html.pdf h2 { break-inside: avoid; page-break-inside: avoid; }
html.pdf { --fs: 1 !important; }   /* o PDF sai sempre no tamanho padrão */
html.pdf .fsctl { display: none !important; }
html.pdf .grad { background: none !important; -webkit-text-fill-color: var(--accent); color: var(--accent); }
html.pdf [style*="height:14vh"] { height: 40px !important; }
html.pdf [style*="height:8vh"] { height: 24px !important; }
html.pdf .doors .shot .cap { position: static; background: #0b0f14; padding: 10px 16px; }
/* brand logo inside a text tile of the gallery (web + PDF): never cropped */
.doors .shot.txt img.brandlogo { width: auto !important; height: 54px; aspect-ratio: auto !important; object-fit: contain !important; }

/* operation photo band — real photos of the distribution centre and dispatch (web + PDF) */
.ops { display: grid; gap: clamp(12px, 1.4vw, 20px); margin-top: 28px; grid-auto-rows: clamp(170px, 20vw, 290px); }
.ops.n3 { grid-template-columns: 1.6fr 1fr; }
.ops.n5 { grid-template-columns: 1.5fr 1fr 1fr; }
.ops figure { position: relative; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.ops figure:first-child { grid-row: span 2; }
.ops img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ops figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 16px 12px; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.9) 55%); color: #fff; font-size: 14px; line-height: 1.3; }
.ops figcaption span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; text-shadow: 0 1px 6px rgba(0,0,0,.9); }
@media (max-width: 900px) {
  .ops.n3, .ops.n5 { grid-template-columns: 1fr 1fr; }
  .ops figure:first-child { grid-column: span 2; grid-row: auto; }
}
html.pdf .ops { grid-auto-rows: 210px; }
html.pdf .ops.n3 { grid-template-columns: 1.6fr 1fr !important; }
html.pdf .ops.n5 { grid-template-columns: 1.5fr 1fr 1fr !important; }
html.pdf .ops figure:first-child { grid-column: auto !important; grid-row: span 2 !important; }
html.pdf .ops figure { break-inside: avoid; page-break-inside: avoid; }

/* SFP product line-up (white-background studio shots) */
.sfpline { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); margin: 34px auto 0; max-width: none; text-align: left; }   /* fotos de produto na largura toda do wrap (eram 1100 px) */
.sfpline figure { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; }
.sfpline img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.sfpline figcaption { flex: 1; padding: 10px 14px 12px; background: var(--bg-2); color: var(--ink-2); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; line-height: 1.5; }
.sfpline figcaption b { display: block; color: var(--accent); font-weight: 500; letter-spacing: .04em; }
@media (max-width: 900px) { .sfpline { grid-template-columns: 1fr 1fr; } }
html.pdf .sfpline { grid-template-columns: repeat(4, 1fr) !important; }
html.pdf .sfpline figure { break-inside: avoid; page-break-inside: avoid; }

/* ---- PDF pagination pass (visual QA 2026-10-15) ---- */
/* the beam is absolutely positioned on screen; in the PDF let it flow so long translations cannot run under the bar */
html.pdf .beam { height: auto !important; display: grid !important; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 84px; margin-bottom: 20px; }
html.pdf .beam .pan { position: static !important; width: auto !important; }
html.pdf .beam .arm { top: auto !important; bottom: 34px; }
html.pdf .beam .pivot { top: auto !important; bottom: 25px; transform: translate(-50%, 0) !important; }
/* small photo strips stay whole with their heading; long sections flow (keeping a lead with a whole card grid left 60-80% empty pages) */
html.pdf #ops, html.pdf #compatibility, html.pdf #contact, html.pdf .hero .copy2, html.pdf #founder .grid, html.pdf .logo-wall { break-inside: avoid; page-break-inside: avoid; }
html.pdf p, html.pdf li { orphans: 3; widows: 3; }
html.pdf .hero .pin { padding: 28px var(--gutter) 16px; }
html.pdf .hero .copy2 { margin-top: 20px; }
html.pdf .hero .tag { display: none !important; }   /* "scroll or use the dots" makes no sense on paper */
html.pdf .tl .ms { row-gap: 40px; }
/* Chinese headings: avoid a single ideogram + full stop alone on the last line */
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2 { text-wrap: balance; }

/* card grids as wrapping flex rows in the PDF: Chrome keeps a CSS grid container in one piece (a heading + 10 FAQ cards jumped to the next page, leaving 60-80% empty),
   but it fragments flex lines, so cards flow row by row */
html.pdf .grid.g2, html.pdf .grid.g3, html.pdf .grid.g4 { display: flex !important; flex-wrap: wrap; gap: 24px !important; }
html.pdf .grid.g2 > * { flex: 0 0 calc((100% - 24px) / 2); min-width: 0; }
html.pdf .grid.g3 > * { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; }
html.pdf .grid.g4 > * { flex: 0 0 calc((100% - 72px) / 4); min-width: 0; }
html.pdf footer { padding: 14px var(--gutter); }
html.pdf .btn ~ .tag { display: none !important; }   /* "scroll or use the dots" next to the first CTA */
html.pdf .hero h1 { font-size: 76px; }
html.pdf #founder .lead { break-after: avoid; page-break-after: avoid; }

/* phones: inline multi-column stat rows (repeat(4|5,1fr)) were wider than the screen and made the page scroll sideways */
/* html:not(.pdf): o Chrome imprime o PDF (deploy/build_pdfs.ps1) avaliando as media queries com largura ≤ 700 px; sem a exceção,
   as fileiras de números saíam em 2 colunas no PDF e empurravam a paginação (páginas com 30–48 % vazias) */
@media (max-width: 700px) {
  html:not(.pdf) .grid[style*="repeat(5"], html:not(.pdf) .grid[style*="repeat(4"], html:not(.pdf) .grid[style*="repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 700px) {
  .hero .caption { right: var(--gutter); }
  .hero .caption span { white-space: normal; left: 0; right: 0; }   /* the rotating caption was nowrap and wider than the phone */
  .sfpline > figure { min-width: 0; }
  .sfpline img { max-width: 100%; }
}

/* A− / A+ do apresentador (experience.js): flutuante, discreto, canto inferior esquerdo; escala só o texto de apoio (--fs) */
.fsctl { position: fixed; left: 18px; bottom: 18px; z-index: 55; display: flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 999px;
  background: rgba(13,17,24,.78); border: 1px solid var(--line); backdrop-filter: blur(8px); opacity: .55; transition: opacity .25s; }
.fsctl:hover, .fsctl:focus-within { opacity: 1; }
.fsctl button { font: 700 13px var(--body); color: var(--ink); background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 999px; min-width: 36px; height: 28px; padding: 0 9px; cursor: pointer; line-height: 1; }
.fsctl button:hover { border-color: var(--accent); }
.fsctl button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.fsctl button[disabled] { opacity: .4; cursor: not-allowed; }
.fsctl .lvl { font: 500 11px var(--mono); color: var(--ink-2); min-width: 38px; text-align: center; letter-spacing: .04em; }
@media (max-width: 700px) { .fsctl { left: 12px; bottom: 12px; opacity: .8; } .fsctl button { min-width: 40px; height: 32px; } }   /* alvo de toque ≥ 32 px */

/* tablets: 5-column inline stat rows overflowed by ~5px at 768px (big numbers cannot shrink below their content) */
@media (max-width: 900px) {
  html:not(.pdf) .grid[style*="repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; }   /* :not(.pdf): ver a nota do bloco de 700 px */
}
