/* KMADE | site público */
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/fonts/jost.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #1A1A1A;
  --stone: #EAE7E1;
  --mist: #D0CEC9;
  --paper: #F7F6F3;
  --ink-2: #5B5752;
  --line: rgba(26, 26, 26, .16);
  --cyan: #00A3E0;
  --magenta: #E6007E;
  --yellow: #FFD400;
  --wa: #25D366;
  --wa-ink: #0D2B18;
  --display: 'Archivo', 'Arial Black', sans-serif;
  --text: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --r-card: 4px;
  --r-pill: 999px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0; background: var(--stone); color: var(--ink);
  font-family: var(--text); font-size: 1.125rem; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--stone); padding: 10px 16px; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* ---------- tipografia ---------- */
.h1, .h2, .h3, .steps { font-family: var(--display); font-weight: 800; font-stretch: 125%; letter-spacing: -.012em; line-height: .95; margin: 0; }
.h1 { font-size: clamp(2.9rem, 8.4vw, 7.5rem); }
.h2 { font-size: clamp(2rem, 4.6vw, 3.9rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.45; max-width: 36ch; }
.note { color: var(--ink-2); font-size: 1rem; max-width: 70ch; }
.muted { color: var(--ink-2); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.5em; border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-family: var(--text); font-weight: 500; font-size: 1.05rem; letter-spacing: .01em; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 1.3em; height: 1.3em; flex: none; }
.btn-ink { background: var(--ink); color: var(--stone); }
.btn-ink:hover { background: #000; }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--stone); border-color: var(--ink); }
.btn-paper { background: var(--stone); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #2fe070; }
.btn-sm { min-height: 42px; font-size: .98rem; padding: 0 1.15em; }
.btn-lg { min-height: 60px; font-size: 1.15rem; padding: 0 2em; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.linkbtn { background: none; border: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; color: var(--ink-2); font-size: 1rem; }

/* ---------- barra de topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px;
  height: 68px; padding: 0 var(--gut); background: rgba(234, 231, 225, .9);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.brandlink { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brandlink > svg { height: 30px; width: auto; }
.brandlink .wm svg { height: 16px; width: auto; }
.mainnav { display: flex; gap: 4px; margin-left: auto; }
.mainnav a { text-decoration: none; padding: 8px 14px; border-radius: var(--r-pill); font-size: 1.02rem; }
.mainnav a:hover { background: rgba(26, 26, 26, .07); }
.mainnav a[aria-current="page"] { background: var(--ink); color: var(--stone); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.listbtn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 8px 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--ink); text-decoration: none; font-size: .98rem; }
.listbtn b { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--stone); font-weight: 600; font-size: .85rem; }
.listbtn.has-items b { background: var(--magenta); color: #fff; }
.listbtn.bump b { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.menubtn { display: none; width: 46px; height: 46px; border: 0; background: var(--ink); border-radius: 50%; cursor: pointer; position: relative; }
.menubtn span:not(.sr) { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--stone); transition: transform .2s; }
.menubtn span:nth-child(1) { top: 19px; }
.menubtn span:nth-child(2) { top: 26px; }
.menubtn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menubtn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.menu { position: fixed; inset: 68px 0 0; z-index: 49; background: var(--ink); color: var(--stone); padding: 24px var(--gut) 40px; display: flex; flex-direction: column; gap: 32px; overflow-y: auto; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(2rem, 9vw, 3rem); text-decoration: none; padding: 6px 0; border-bottom: 1px solid rgba(234, 231, 225, .15); }
.menu .btn { align-self: flex-start; }

@media (max-width: 960px) {
  .mainnav, .hide-sm { display: none; }
  .menubtn { display: block; }
  .topbar-actions { margin-left: auto; }
}
@media (max-width: 420px) {
  .brandlink .wm { display: none; }
  .listbtn span { display: none; }
  .listbtn { padding: 0 6px; border-width: 0; }
}

/* ---------- secções ---------- */
.sect { padding: clamp(64px, 9vw, 128px) var(--gut); max-width: var(--max); margin: 0 auto; }
.sect-tight { padding-top: 24px; }
.sect-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.sect-head p { margin: 0; max-width: 46ch; color: var(--ink-2); }
.sect-cta { margin-top: 40px; display: flex; justify-content: center; }
@media (max-width: 760px) { .sect-head { grid-template-columns: 1fr; } }

.pagehead { padding: clamp(40px, 7vw, 96px) var(--gut) 24px; max-width: var(--max); margin: 0 auto; }
.pagehead p { max-width: 58ch; margin-top: 20px; font-size: 1.2rem; }
.pagehead .row { margin-top: 28px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips a, .chips label span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line); text-decoration: none; font-size: .98rem; cursor: pointer; background: transparent; }
.chips a:hover, .chips label:hover span { border-color: var(--ink); }
.chips a[aria-current="true"], .chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--stone); }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips input:focus-visible + span { outline: 3px solid var(--magenta); outline-offset: 2px; }

/* barra de cor de prova */
.colorbar { display: flex; align-items: center; gap: 0; height: 26px; padding: 0 var(--gut); max-width: var(--max); margin: 0 auto; }
.colorbar i { flex: 1; height: 14px; background: var(--c); max-width: 54px; }
.colorbar .reg { width: 22px; height: 22px; margin: 0 14px; color: var(--ink); flex: none; }

/* ---------- HERO / PRENSA ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  min-height: calc(100svh - 68px - 26px); padding: clamp(24px, 4vw, 48px) var(--gut) clamp(32px, 4vw, 56px); max-width: var(--max); margin: 0 auto;
}
.steps { display: flex; flex-direction: column; font-size: clamp(2.8rem, 6.1vw, 6.2rem); line-height: .9; margin-bottom: clamp(20px, 3vw, 36px); }
.step { color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: color .35s ease; }
.step.is-on { color: var(--ink); -webkit-text-stroke: 0 transparent; }
@supports not (-webkit-text-stroke: 1px black) { .step { color: rgba(26, 26, 26, .25); } }
.hero-copy .lede { margin-bottom: 24px; }
.hero-form { display: flex; gap: 8px; max-width: 520px; background: var(--paper); padding: 6px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1.5px var(--ink); }
.hero-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; font-size: 1.15rem; font-weight: 500; outline: none; }
.hero-form:focus-within { box-shadow: inset 0 0 0 2.5px var(--ink); }
.hero-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; max-width: 520px; }
.toolbtn { position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px dashed var(--ink); cursor: pointer; font-size: .98rem; }
.toolbtn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.toolbtn:hover { background: var(--paper); }
.toolbtn:focus-within { outline: 3px solid var(--magenta); outline-offset: 2px; }
.toolname { font-size: .92rem; color: var(--ink-2); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.heroinks { display: flex; gap: 8px; margin-left: auto; }
.sw-sm { width: 28px; height: 28px; }
.toolhint { flex-basis: 100%; margin: 0; font-size: .9rem; color: var(--ink-2); }
.hero-after p { font-size: 1.2rem; margin-bottom: 14px; max-width: 34ch; }

.hero-stage {
  position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-height: calc(100svh - 140px); justify-self: center;
  background: radial-gradient(120% 90% at 50% 70%, #3a3836 0%, #222120 60%, #1A1A1A 100%);
  border-radius: 6px; overflow: hidden; isolation: isolate;
}
.hero-stage::before { /* base de silicone da prensa */
  content: ''; position: absolute; left: 12%; right: 12%; top: 14%; bottom: 6%; border-radius: 10px;
  background: linear-gradient(180deg, #2e2d2b, #262523); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.shirt { position: absolute; left: 8%; right: 8%; top: 9%; bottom: 3%; z-index: 1; }
.shirt svg { width: 100%; height: 100%; }
.press { position: absolute; left: 8%; right: 8%; top: 9%; bottom: 3%; z-index: 3; pointer-events: none; }
.press-arm { position: absolute; left: 24%; width: 52%; top: 16%; height: 48%; transform: translateY(-118%); transition: transform .55s cubic-bezier(.6, 0, .25, 1); }
.press-arm::before { /* braço */
  content: ''; position: absolute; left: 50%; width: 18%; transform: translateX(-50%); bottom: 100%; height: 160%;
  background: linear-gradient(90deg, #121212, #3b3b3b 45%, #161616);
}
.press-plate {
  position: absolute; inset: 0; border-radius: 6px;
  background: linear-gradient(160deg, #e9e7e3 0%, #b9b6b0 38%, #8d8a85 60%, #cfccc6 100%);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .45), inset 0 -6px 0 rgba(0, 0, 0, .18);
  display: grid; place-items: end center; padding-bottom: 10px;
}
.press-plate span { font-family: var(--text); font-size: .7rem; letter-spacing: .4em; color: rgba(26, 26, 26, .45); }
.hero-stage.is-pressing .press-arm { transform: translateY(0); }
.hero-stage.is-pressing .press-plate { animation: heat 1.8s ease-in-out; }
@keyframes heat { 50% { box-shadow: 0 6px 12px rgba(0, 0, 0, .5), 0 0 60px rgba(255, 120, 40, .35), inset 0 -6px 0 rgba(0, 0, 0, .18); } }
.press-readout {
  position: absolute; right: 0; top: -6%; display: flex; align-items: baseline; gap: 4px;
  background: #0f0f0f; color: #ff5a2e; padding: 6px 12px; border-radius: 4px; font-family: var(--display); font-stretch: 100%;
  font-variant-numeric: tabular-nums; font-size: 1.05rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.press-readout small { color: rgba(255, 90, 46, .6); font-size: .7rem; margin-right: 10px; }
.press-readout small:last-child { margin-right: 0; }
.peel {
  position: absolute; z-index: 4; left: 50%; bottom: 9%; transform: translateX(-50%);
  min-height: 46px; padding: 0 22px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  background: var(--yellow); color: var(--ink); font-weight: 600; font-size: 1rem; box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
  animation: nudge 1.6s ease-in-out infinite;
}
@keyframes nudge { 50% { transform: translateX(-50%) translateY(-4px); } }
.stage-note { position: absolute; z-index: 4; left: 16px; bottom: 12px; margin: 0; color: rgba(234, 231, 225, .72); font-size: .92rem; }
.shirt .film-grab { cursor: grab; }
.shirt.is-dragging .film-grab { cursor: grabbing; }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 20px; }
  .hero-stage { order: -1; max-height: none; aspect-ratio: 1 / .95; }
  .steps { flex-direction: row; flex-wrap: wrap; gap: 0 .28em; font-size: clamp(2.1rem, 10.5vw, 4rem); margin-bottom: 16px; }
  .press-readout { font-size: .9rem; }
}

/* ---------- prova de contacto (trabalhos) ---------- */
.works-sect { max-width: none; background: var(--ink); color: var(--stone); }
.works-sect > * { max-width: calc(var(--max) - 2 * var(--gut)); margin-left: auto; margin-right: auto; }
.works-sect .sect-head p { color: rgba(234, 231, 225, .7); }
.works-sect .btn-ghost:hover { background: var(--stone); color: var(--ink); border-color: var(--stone); }
.sheet { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px) clamp(14px, 2.4vw, 36px); }
.sheet-full { grid-template-columns: repeat(auto-fill, minmax(min(260px, 44vw), 1fr)); }
.proof { margin: 0; transform: rotate(var(--r)); transition: transform .3s ease; }
.proof:hover { transform: rotate(0deg) translateY(-4px); }
.proof-btn { position: relative; display: block; width: 100%; padding: 10px 10px 10px; background: var(--paper); border: 0; cursor: zoom-in; box-shadow: 0 1px 0 rgba(0, 0, 0, .1), 0 14px 30px rgba(0, 0, 0, .28); }
.proof-btn img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--mist); }
.crop::before, .crop::after, .proof-btn::before, .proof-btn::after { content: ''; position: absolute; width: 14px; height: 14px; border-color: var(--ink); border-style: solid; opacity: .55; z-index: 1; }
.proof-btn::before { top: 3px; left: 3px; border-width: 1px 0 0 1px; }
.proof-btn::after { top: 3px; right: 3px; border-width: 1px 1px 0 0; }
.crop::before { bottom: 3px; left: 3px; border-width: 0 0 1px 1px; }
.crop::after { bottom: 3px; right: 3px; border-width: 0 1px 1px 0; }
.proof-n { position: absolute; right: 18px; bottom: 18px; background: var(--ink); color: var(--stone); font-size: .8rem; padding: 3px 10px; border-radius: var(--r-pill); }
.proof figcaption { margin-top: 12px; font-size: .98rem; line-height: 1.35; display: flex; flex-direction: column; }
.proof figcaption b { font-weight: 500; }
.proof figcaption span { opacity: .7; }
.sheet-full .proof figcaption span { opacity: .75; }
body:not(.home) .sheet-full .proof-btn { box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 10px 24px rgba(0, 0, 0, .14); }
@media (max-width: 860px) { .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof { transform: rotate(calc(var(--r) / 2)); } }

/* ---------- categorias ---------- */
.catlist { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.catlist li { border-bottom: 1.5px solid var(--ink); }
.catlist a { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 8px 32px; align-items: center; padding: clamp(18px, 2.4vw, 30px) 4px; text-decoration: none; transition: padding .25s ease, background-color .25s; }
.catlist a:hover { padding-left: 20px; background: var(--paper); }
.cat-name { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.7rem, 4vw, 3.4rem); line-height: 1; }
.cat-blurb { color: var(--ink-2); font-size: 1.02rem; }
.cat-n { font-size: .95rem; white-space: nowrap; }
.peek { position: fixed; z-index: 40; width: 220px; aspect-ratio: 4/5; object-fit: cover; pointer-events: none; border: 8px solid var(--paper); box-shadow: 0 20px 40px rgba(0, 0, 0, .25); transform: translate(-50%, -110%) rotate(-3deg); }
@media (max-width: 760px) { .catlist a { grid-template-columns: 1fr auto; } .cat-blurb { grid-column: 1 / -1; grid-row: 2; } .peek { display: none !important; } }

/* ---------- estúdio teaser ---------- */
.studio-teaser { max-width: none; background: var(--mist); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: center; padding-left: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); padding-right: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); }
.st-copy p { max-width: 44ch; margin: 22px 0 28px; }
.st-visual { position: relative; height: clamp(300px, 36vw, 480px); }
.st-g { position: absolute; width: 48%; transition: transform .4s ease; }
.st-g0 { left: 0; top: 4%; transform: rotate(-6deg); }
.st-g1 { left: 26%; top: 0; z-index: 2; }
.st-g2 { left: 54%; top: 12%; transform: rotate(5deg); z-index: 3; }
.st-g3 { left: 30%; bottom: -6%; width: 34%; z-index: 3; transform: rotate(-4deg); }
.st-visual:hover .st-g0 { transform: rotate(-9deg) translateX(-12px); }
.st-visual:hover .st-g2 { transform: rotate(8deg) translateX(12px); }
@media (max-width: 860px) { .studio-teaser { grid-template-columns: 1fr; } }

/* ---------- artigos ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 44vw), 1fr)); gap: clamp(14px, 2vw, 28px); }
.pcard { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-card); overflow: hidden; }
.pcard-media { display: block; aspect-ratio: 4 / 5; background: #fff; overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-media.is-illu { display: grid; place-items: center; padding: 12%; background: var(--mist); }
.pcard-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard h3 { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.15rem; line-height: 1.15; }
.pcard h3 a { text-decoration: none; }
.pcard h3 a::after { content: ''; }
.pcard p { margin: 0; font-size: .98rem; color: var(--ink-2); line-height: 1.4; }
.pcard-foot { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.consulta { font-size: .88rem; color: var(--ink-2); }
.consulta-lg { font-size: 1rem; margin: 6px 0 20px; display: inline-block; border: 1.5px solid var(--ink); border-radius: var(--r-pill); padding: 4px 14px; color: var(--ink); }
.addbtn { border: 1.5px solid var(--ink); background: transparent; border-radius: var(--r-pill); min-height: 38px; padding: 0 14px; font-size: .92rem; cursor: pointer; }
.addbtn:hover { background: var(--ink); color: var(--stone); }
.addbtn.is-added { background: var(--ink); color: var(--stone); }
.empty { padding: 48px 0; }
.empty p { font-size: 1.2rem; max-width: 46ch; }

/* detalhe */
.crumbs { max-width: var(--max); margin: 0 auto; padding: 24px var(--gut) 0; display: flex; gap: 10px; font-size: .98rem; color: var(--ink-2); }
.pdetail { max-width: var(--max); margin: 0 auto; padding: 20px var(--gut) clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.pgallery { position: sticky; top: 88px; }
.pg-main { background: #fff; border-radius: var(--r-card); overflow: hidden; }
.pg-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pg-main.is-illu { background: var(--mist); padding: 10%; }
.pg-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.pg-thumbs button { flex: none; width: 76px; padding: 0; border: 2px solid transparent; border-radius: 3px; background: none; cursor: pointer; }
.pg-thumbs button.is-on { border-color: var(--ink); }
.pg-thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.h1-prod { font-size: clamp(2.2rem, 4.6vw, 4.2rem); margin-bottom: 18px; }
.addform { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--paper); border-radius: var(--r-card); margin-bottom: 28px; }
.addform label { display: flex; flex-direction: column; gap: 6px; font-size: .98rem; }
.addform input, .addform textarea, .fld input, .fld select, .fld textarea {
  width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 6px; padding: 12px 14px; font-size: 1.05rem;
}
.addform input:focus, .addform textarea:focus, .fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(26, 26, 26, .12); }
.addform input[type=number] { max-width: 160px; }
.prose p { max-width: 62ch; }
.prose-page h2 { font-family: var(--display); font-stretch: 112%; font-size: 1.4rem; margin: 2em 0 .5em; }
.specs { margin: 28px 0; border-top: 1.5px solid var(--ink); }
.specs div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--ink-2); }
.specs dd { margin: 0; }
@media (max-width: 860px) { .pdetail { grid-template-columns: 1fr; } .pgallery { position: static; } .specs div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- DTF ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1.5px solid var(--ink); }
.facts div { padding: 28px 32px 32px 0; border-bottom: 1.5px solid var(--ink); }
.facts div:nth-child(odd) { border-right: 1.5px solid var(--ink); }
.facts div:nth-child(even) { padding-left: 32px; padding-right: 0; }
.facts dt { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.05; margin-bottom: 10px; }
.facts dd { margin: 0; max-width: 46ch; color: var(--ink-2); }
.dtf .facts div:nth-child(1) dt { box-shadow: inset 0 -.32em 0 var(--cyan); display: inline; }
.dtf .facts div:nth-child(2) dt { box-shadow: inset 0 -.32em 0 var(--magenta); display: inline; }
.dtf .facts div:nth-child(3) dt { box-shadow: inset 0 -.32em 0 var(--yellow); display: inline; }
.dtf .facts div:nth-child(4) dt { box-shadow: inset 0 -.32em 0 var(--mist); display: inline; }
.dtf .facts dd { margin-top: 12px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } .facts div, .facts div:nth-child(even) { padding: 22px 0; border-right: 0 !important; } }

/* ---------- b2b ---------- */
.b2b { max-width: none; background: var(--ink); color: var(--stone); }
.b2b-in { max-width: calc(var(--max) - 2 * var(--gut)); margin: 0 auto; }
.b2b p { max-width: 54ch; margin: 24px 0 32px; font-size: 1.2rem; color: rgba(234, 231, 225, .82); }
.b2b .h2 { max-width: 16ch; }

/* ---------- faq ---------- */
.faqs { border-top: 1.5px solid var(--ink); max-width: 900px; }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; position: relative; font-size: 1.25rem; font-weight: 500; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faqs details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faqs details p { padding: 0 0 22px; max-width: 64ch; color: var(--ink-2); margin: 0; }

/* ---------- empresas ---------- */
.pagehead-b2b .h1 { font-size: clamp(3.4rem, 11vw, 10rem); }
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.case { background: var(--paper); padding: clamp(22px, 3vw, 40px); border-radius: var(--r-card); }
.case h2 { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1; margin: 0 0 14px; }
.case p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.steps-list { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps-list li { counter-increment: s; border-top: 1.5px solid var(--ink); padding-top: 18px; }
.steps-list li::before { content: counter(s); display: block; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 3.2rem; line-height: 1; margin-bottom: 14px; }
.steps-list h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 600; }
.steps-list p { margin: 0; color: var(--ink-2); font-size: 1.02rem; }
.facts-2 { margin-top: 0; }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } .steps-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps-list { grid-template-columns: 1fr; } }

.ctaband { background: var(--yellow); padding: clamp(56px, 8vw, 112px) var(--gut); text-align: left; }
.ctaband > * { max-width: calc(var(--max) - 2 * var(--gut)); margin-left: auto; margin-right: auto; }
.ctaband p { font-size: 1.2rem; margin: 18px auto 28px; }

/* ---------- pedido ---------- */
.order { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.order-list { position: sticky; top: 88px; background: var(--paper); border-radius: var(--r-card); padding: 24px; }
.order-list .h3 { margin-bottom: 16px; }
.qlist { display: flex; flex-direction: column; gap: 12px; }
.qitem { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: start; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.qitem img, .qitem .qthumb { width: 72px; height: 80px; object-fit: contain; background: var(--mist); border-radius: 3px; }
.qitem b { display: block; font-weight: 600; line-height: 1.25; }
.qitem small { display: block; color: var(--ink-2); font-size: .9rem; }
.qitem label { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: .92rem; }
.qitem input[type=number] { width: 90px; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 6px; }
.qitem input[type=text] { width: 100%; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 6px; font-size: .92rem; margin-top: 6px; }
.qitem .rm { border: 0; background: none; color: var(--ink-2); text-decoration: underline; cursor: pointer; font-size: .9rem; padding: 4px 0; }
.qempty p { margin: 0; color: var(--ink-2); }
.orderform { display: flex; flex-direction: column; gap: 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 1rem; border: 0; padding: 0; margin: 0; }
.fld legend { padding: 0; margin-bottom: 4px; }
.req { color: var(--ink-2); font-size: .85rem; }
.hint { margin: -6px 0 0; color: var(--ink-2); font-size: .92rem; }
.filefld input { padding: 10px; background: var(--paper); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; margin-top: 2px; }
.chips-form { margin-top: 2px; }
.chips-form label { position: relative; }
.formerr { background: #fff; border-left: 4px solid var(--magenta); padding: 12px 16px; margin: 0; }
.hp { position: absolute; left: -5000px; }
@media (max-width: 860px) { .order { grid-template-columns: 1fr; } .order-list { position: static; } }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } }

.thanks { max-width: 900px; margin: 0 auto; padding: clamp(64px, 12vw, 160px) var(--gut); }
.thanks-ref { display: inline-block; font-family: var(--display); font-stretch: 125%; font-weight: 800; background: var(--ink); color: var(--yellow); padding: 6px 14px; margin-bottom: 24px; }
.thanks p { font-size: 1.2rem; max-width: 52ch; margin: 24px 0 32px; }

/* ---------- estúdio ---------- */
.studio { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gut) clamp(48px, 7vw, 96px); }
.studio-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: 28px; }
.studio-head p { margin: 0; max-width: 56ch; color: var(--ink-2); }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.studio-canvas { position: sticky; top: 84px; }
.canvas-wrap { position: relative; aspect-ratio: 400 / 440; background: radial-gradient(90% 80% at 50% 40%, #F3F1EC, #DCD8D1); border-radius: var(--r-card); padding: 4%; touch-action: none; }
.canvas-wrap svg { width: 100%; height: 100%; }
.canvas-wrap .design { cursor: grab; }
.canvas-wrap.is-dragging .design { cursor: grabbing; }
.canvas-hint { text-align: center; color: var(--ink-2); font-size: .95rem; margin-top: 10px; }
.studio-panel { display: flex; flex-direction: column; gap: 22px; }
.studio-panel fieldset { border: 0; padding: 0 0 22px; margin: 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.studio-panel legend { font-weight: 600; margin-bottom: 10px; font-size: 1.05rem; }
.studio-panel legend span { font-weight: 400; color: var(--ink-2); margin-left: 6px; }
.seg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.seg-opt { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer; text-align: center; font-size: .82rem; line-height: 1.15; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-ico { width: 46px; height: 50px; }
.seg-ico svg { width: 100%; height: 100%; }
.seg-opt:has(input:checked) { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.seg-opt:has(input:focus-visible) { outline: 3px solid var(--magenta); outline-offset: 2px; }
.swatches, .inkpick { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); cursor: pointer; }
.sw input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.sw:has(input:checked) { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 3px var(--stone), 0 0 0 5px var(--ink); }
.sw:has(input:focus-visible) { outline: 3px solid var(--magenta); outline-offset: 6px; }
.tabs { display: inline-flex; background: var(--paper); border-radius: var(--r-pill); padding: 4px; align-self: flex-start; }
.tabs button { border: 0; background: transparent; padding: 8px 18px; border-radius: var(--r-pill); cursor: pointer; font-size: .98rem; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--stone); }
.drop { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 22px; border: 1.5px dashed var(--ink); border-radius: 8px; cursor: pointer; background: var(--paper); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop.is-over { background: #fff; border-style: solid; }
.drop-t { font-weight: 600; }
.drop-s { color: var(--ink-2); font-size: .92rem; }
.filename { margin: 0; font-size: .92rem; color: var(--ink-2); }
.fontpick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fontpick label { position: relative; }
.fontpick input { position: absolute; opacity: 0; }
.fontpick span { display: grid; place-items: center; height: 46px; border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 1rem; }
.fontpick input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--paper); }
.fontpick input:focus-visible + span { outline: 3px solid var(--magenta); outline-offset: 2px; }
input[type=range] { accent-color: var(--ink); width: 100%; }
.qty { width: 140px; border: 1.5px solid var(--line); border-radius: 6px; padding: 10px 14px; font-size: 1.05rem; background: #fff; }
.studio-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) {
  .studio-grid { grid-template-columns: 1fr; }
  .studio-canvas { position: sticky; top: 68px; z-index: 5; background: var(--stone); padding-bottom: 6px; }
  .canvas-wrap { max-width: 420px; margin: 0 auto; max-height: 44svh; aspect-ratio: auto; height: 44svh; }
  .studio-head { grid-template-columns: 1fr; }
  .canvas-hint { display: none; }
}
@media (max-width: 420px) { .seg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- rodapé ---------- */
.footer { background: var(--ink); color: var(--stone); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer .colorbar { --ink: var(--stone); }
.footer .colorbar .reg { color: var(--stone); }
.footer-grid { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gut) 32px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-wm { display: block; max-width: 520px; color: var(--stone); }
.footer-wm svg { width: 100%; height: auto; }
.sig { margin-top: 18px; color: rgba(234, 231, 225, .6); letter-spacing: .08em; }
.fh { font-family: var(--text); font-weight: 500; font-size: 1rem; color: rgba(234, 231, 225, .6); margin: 0 0 14px; }
.flist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.flist a { text-decoration: none; }
.flist a:hover { text-decoration: underline; }
.lrc { display: inline-flex; flex-direction: column; margin-top: 16px; padding: 8px 14px; border: 1.5px solid rgba(234, 231, 225, .5); border-radius: 6px; text-decoration: none; font-weight: 500; line-height: 1.2; }
.lrc small { font-weight: 400; opacity: .7; font-size: .82rem; }
.lrc:hover { border-color: var(--stone); }
.linkbtn-inv { color: var(--stone); text-decoration: none; padding: 0; font-size: inherit; }
.linkbtn-inv:hover { text-decoration: underline; }
.legalbar { max-width: var(--max); margin: 0 auto; padding: 22px var(--gut) 0; border-top: 1px solid rgba(234, 231, 225, .14); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.legalbar p { margin: 0; color: rgba(234, 231, 225, .6); font-size: .9rem; max-width: 70ch; }
.powered { display: inline-flex; align-items: center; gap: 12px; background: var(--paper); color: var(--ink-2); padding: 8px 14px 8px 16px; border-radius: 8px; text-decoration: none; font-size: .82rem; }
.powered img { height: 34px; width: auto; }
.powered:hover { background: #fff; }
.cookiebar { position: fixed; z-index: 60; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); max-width: 400px; background: var(--ink); color: var(--stone); padding: 14px 16px; border-radius: 10px; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cookiebar p { margin: 0; font-size: .9rem; line-height: 1.4; }
.cookiebar a { color: var(--yellow); }
@media (max-width: 520px) { .cookiebar { left: 10px; right: 80px; bottom: 12px; padding: 12px 14px; gap: 8px; } .cookiebar p { font-size: .82rem; } .cookiebar .btn-sm { min-height: 36px; } }
.fine { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); color: rgba(234, 231, 225, .5); font-size: .9rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; z-index: 45; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 16px; border-radius: var(--r-pill);
  background: var(--wa); color: var(--wa-ink); text-decoration: none; font-weight: 600; box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
  transition: transform .2s ease;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-2px); }
.home .wa-float { transition: transform .25s ease, opacity .25s ease; }
.home:not(.past-hero) .wa-float { opacity: 0; transform: translateY(16px); pointer-events: none; }
@media (max-width: 520px) { .wa-float { width: 58px; padding: 0; justify-content: center; } .wa-float span { display: none; } }

/* ---------- lightbox / toast ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(15, 15, 15, .94); color: var(--stone); display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gut); gap: 16px; }
.lb-top p { margin: 0; font-size: 1rem; }
.lb-top p span { opacity: .65; margin-left: 8px; }
.lb-close { border: 1.5px solid rgba(234, 231, 225, .4); background: none; color: var(--stone); border-radius: var(--r-pill); min-height: 42px; padding: 0 18px; cursor: pointer; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--gut); touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(234, 231, 225, .12); color: var(--stone); cursor: pointer; font-size: 1.4rem; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-desc { padding: 12px var(--gut) 20px; max-width: 70ch; margin: 0; opacity: .8; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); z-index: 90; background: var(--ink); color: var(--stone); padding: 12px 20px; border-radius: var(--r-pill); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; font-size: 1rem; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--yellow); margin-left: 8px; }

/* ---------- páginas legais ---------- */
.legalhead .updated { font-size: .95rem; color: var(--ink-2); margin-top: 8px; }
.prose-page .tablewrap { max-width: 980px; }
.prose-page h2 { scroll-margin-top: 90px; }
.prose-page p { max-width: 68ch; }
.tablewrap { overflow-x: auto; margin: 8px 0 24px; }
.ctable { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .95rem; }
.ctable th, .ctable td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.ctable thead th { border-bottom: 1.5px solid var(--ink); font-weight: 600; }
.ctable code { font-size: .88rem; background: var(--paper); padding: 2px 6px; border-radius: 3px; }
