/* Bald Booster - site
 * Linguagem: equipamento fisico. A pagina e o painel de metal pintado; o produto e um pedal de boost laranja.
 * Uma unica coisa chamativa (o pedal). O resto e quieto, alinhado a esquerda, impresso em tinta grafite.
 */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-standard-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-ext-standard-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --panel: #e3e5e0;        /* chapa pintada, cinza frio */
  --panel-hi: #eef0eb;     /* face mais clara */
  --panel-lo: #c9cdc6;     /* rebaixos e trilhos */
  --ink: #2b3140;          /* tinta de serigrafia */
  --ink-soft: #5d6372;
  --signal: #ff5a1f;       /* laranja do pedal */
  --signal-deep: #cf4110;
  --knob: #2a2c30;
  --led: #ff3b1f;
  --tape: #1f2228;         /* fita rotuladora */
  --ok: #2f7d4f;
  --bad: #b3261e;
  --radius-chassis: 22px;
  --radius-part: 10px;
  --shadow-plastic: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 -2px 0 rgba(0, 0, 0, .06) inset, 0 2px 0 #b9bdb5, 0 10px 24px -14px rgba(43, 49, 64, .45);
  --shadow-press: 0 1px 0 rgba(0, 0, 0, .08) inset, 0 1px 0 #fff;
  --measure: 62ch;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--panel);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  font-stretch: 100%;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* textura leve de pintura eletrostatica */
  background-image: radial-gradient(rgba(43, 49, 64, .045) 1px, transparent 1.2px);
  background-size: 5px 5px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--signal-deep); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- topo ---------- */
.top { padding: 22px 0; }
.top .wrap { display: flex; align-items: center; gap: 28px; }
.wordmark {
  font-stretch: 125%; font-weight: 850; font-size: 19px; letter-spacing: -.01em; line-height: 1;
  text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
}
.wordmark .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px var(--panel-lo); }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }

/* ---------- botoes (teclas de plastico) ---------- */
.key {
  -webkit-appearance: none; appearance: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: var(--radius-part);
  background: var(--panel-hi); color: var(--ink);
  box-shadow: var(--shadow-plastic);
  transition: transform .08s ease, box-shadow .08s ease, background-color .15s ease;
}
.key:hover { color: var(--ink); background: #f6f7f3; }
.key:active { transform: translateY(2px); box-shadow: var(--shadow-press); }
.key[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.key--signal { background: var(--signal); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 -2px 0 rgba(0, 0, 0, .12) inset, 0 2px 0 var(--signal-deep), 0 12px 24px -12px rgba(207, 65, 16, .7); }
.key--signal:hover { background: #ff6a33; color: #fff; }
.key--small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.key svg { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { padding: 40px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 {
  font-stretch: 125%; font-weight: 820; font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  line-height: .98; letter-spacing: -.025em; margin: 0 0 26px; max-width: 13ch; text-wrap: balance;
}
.hero p.lead { font-size: 20px; line-height: 1.5; color: var(--ink-soft); max-width: 46ch; margin: 0 0 34px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .fineprint { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }

/* ---------- o pedal ---------- */
.stage { position: relative; justify-self: center; width: min(100%, 400px); }
.cable { position: absolute; left: 82%; top: 18%; width: 70%; height: 120%; z-index: 0; pointer-events: none; overflow: visible; }
.cable path { fill: none; stroke: var(--knob); stroke-width: 9; stroke-linecap: round; }
.pedal {
  position: relative; z-index: 1;
  aspect-ratio: 0.78; border-radius: var(--radius-chassis); container-type: inline-size;
  background:
    radial-gradient(120% 70% at 30% 0%, rgba(255, 255, 255, .28), transparent 55%),
    var(--signal);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, .45) inset,
    0 -6px 0 rgba(0, 0, 0, .12) inset,
    0 8px 0 var(--signal-deep),
    0 34px 50px -24px rgba(43, 49, 64, .65);
  padding: 9% 9% 0;
  display: grid; grid-template-rows: auto auto 1fr; justify-items: center;
  transform: rotate(-3deg);
}
.jack { position: absolute; top: 20%; width: 16px; height: 34px; background: linear-gradient(#d9dbd6, #9da19a); border-radius: 4px; }
.jack--in { right: -10px; }
.jack--out { left: -10px; }
.screw { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f3f4f1, #a3a79f 70%); box-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
.screw::after { content: ''; position: absolute; left: 2px; right: 2px; top: 5px; height: 1.4px; background: rgba(43, 49, 64, .55); transform: rotate(var(--r, 35deg)); }
.pedal > .screw:nth-of-type(1) { top: 12px; left: 12px; }
.pedal > .screw:nth-of-type(2) { top: 12px; right: 12px; --r: -20deg; }
.pedal > .screw:nth-of-type(3) { bottom: 12px; left: 12px; --r: 70deg; }
.pedal > .screw:nth-of-type(4) { bottom: 12px; right: 12px; --r: 10deg; }

.knobs { display: flex; gap: 9%; width: 100%; justify-content: center; }
.knob { display: grid; justify-items: center; gap: 2.2cqw; color: var(--ink); font-size: max(11px, 3.4cqw); font-weight: 650; font-stretch: 110%; }
.knob-cap {
  --v: .25;
  width: 18cqw; aspect-ratio: 1; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 40% 32%, #4a4d53, var(--knob) 58%);
  box-shadow: 0 0 0 4px rgba(43, 49, 64, .18), 0 6px 10px -4px rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 255, 255, .25) inset;
  transform: rotate(calc(-135deg + var(--v) * 270deg));
  transition: transform .9s cubic-bezier(.3, 1.45, .5, 1);
}
.knob-cap::before { content: ''; position: absolute; left: calc(50% - 1.5px); top: 7%; width: 3px; height: 32%; border-radius: 2px; background: #f4f1ea; }
.knob:nth-child(2) .knob-cap { transition-delay: .08s; }
.knob:nth-child(3) .knob-cap { transition-delay: .16s; }

.pedal-logo {
  margin: 11cqw 0 0; text-align: center; color: var(--ink);
  font-stretch: 125%; font-weight: 900; font-size: 10.6cqw; line-height: .86; letter-spacing: -.03em;
}
.pedal-logo small { display: block; font-size: max(10px, 3cqw); font-weight: 600; letter-spacing: 0; margin-top: 10px; font-stretch: 100%; }
.pedal-bottom { align-self: end; width: 100%; display: grid; justify-items: center; gap: 4cqw; padding-bottom: 12cqw; }
.led { width: 3.8cqw; height: 3.8cqw; min-width: 10px; min-height: 10px; border-radius: 50%; background: #7a2f22; box-shadow: 0 0 0 3px rgba(43, 49, 64, .2), 0 1px 0 rgba(255, 255, 255, .3) inset; transition: background-color .15s, box-shadow .2s; }
.footswitch {
  -webkit-appearance: none; appearance: none; border: 0; cursor: pointer; padding: 0;
  width: 23cqw; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #e9ebe7 0 38%, #b8bcb5 39% 44%, #eef0ec 45% 62%, #9ea29b 63% 100%);
  box-shadow: 0 8px 0 #8c9089, 0 14px 18px -6px rgba(0, 0, 0, .55), 0 1px 0 #fff inset;
  transition: transform .07s ease, box-shadow .07s ease;
}
.footswitch:active, .footswitch.is-down { transform: translateY(6px); box-shadow: 0 2px 0 #8c9089, 0 6px 10px -6px rgba(0, 0, 0, .5), 0 1px 0 #fff inset; }
.stage-hint { margin: 30px 0 0; text-align: center; font-size: 14px; color: var(--ink-soft); }

.boosted .led { background: #ff4a2a; box-shadow: 0 0 0 3px rgba(43, 49, 64, .2), 0 0 22px 8px rgba(255, 40, 10, .85), 0 0 3px 2px #ffd9c9 inset; }
.boosted .knob:nth-child(1) .knob-cap { --v: .82; }
.boosted .knob:nth-child(2) .knob-cap { --v: .95; }
.boosted .knob:nth-child(3) .knob-cap { --v: .7; }

/* ---------- secoes ---------- */
section { padding: 88px 0; }
.section-head { max-width: var(--measure); margin-bottom: 40px; }
h2 { text-wrap: balance; font-stretch: 118%; font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 16px; }
h3 { font-stretch: 108%; font-weight: 750; font-size: 20px; line-height: 1.25; margin: 0 0 6px; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 18px; }

/* rack: cada grupo de ajustes e uma linha com chave */
.rack {
  position: relative; border-radius: 14px; padding: 18px 26px;
  background: var(--panel-hi);
  box-shadow: var(--shadow-plastic);
}
.rack > .screw:nth-of-type(1) { top: 14px; left: 10px; }
.rack > .screw:nth-of-type(2) { bottom: 14px; left: 10px; --r: -40deg; }
.rack > .screw:nth-of-type(3) { top: 14px; right: 10px; --r: 80deg; }
.rack > .screw:nth-of-type(4) { bottom: 14px; right: 10px; --r: 5deg; }
.rack-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 18px 12px; border-bottom: 1px solid var(--panel-lo);
}
.rack-row:last-of-type { border-bottom: 0; }
.rack-row p { margin: 0; color: var(--ink-soft); font-size: 16px; max-width: 70ch; }
.rack-row .count { font-size: 14px; color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }

.toggle {
  -webkit-appearance: none; appearance: none; border: 0; cursor: pointer; padding: 0;
  width: 56px; height: 30px; border-radius: 6px; position: relative;
  background: var(--panel-lo); box-shadow: 0 2px 3px rgba(0, 0, 0, .18) inset;
}
.toggle::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 4px;
  background: linear-gradient(#fbfbf9, #d6d9d2); box-shadow: 0 2px 2px rgba(0, 0, 0, .3);
  transition: transform .25s cubic-bezier(.3, 1.4, .5, 1);
}
.toggle[aria-pressed='true'] { background: var(--signal); }
.toggle[aria-pressed='true']::after { transform: translateX(26px); }

/* duas colunas: jogos */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.launchers { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.launchers li { padding: 9px 14px; border-radius: 8px; background: var(--panel-hi); box-shadow: var(--shadow-plastic); font-weight: 650; font-size: 15px; }
.prose p { margin: 0 0 14px; max-width: var(--measure); }
.prose p:last-child { margin-bottom: 0; }

/* ficha tecnica: placa de identificacao rebitada */
.plate {
  position: relative; border-radius: 12px; padding: 26px 30px;
  background: linear-gradient(135deg, #d4d7d1, #eceee9 45%, #cfd2cb);
  box-shadow: 0 1px 0 #fff inset, 0 2px 0 #b3b7af, 0 16px 30px -22px rgba(43, 49, 64, .7);
}
.plate > .screw:nth-of-type(1) { top: 12px; left: 12px; }
.plate > .screw:nth-of-type(2) { top: 12px; right: 12px; --r: 60deg; }
.plate > .screw:nth-of-type(3) { bottom: 12px; left: 12px; --r: -15deg; }
.plate > .screw:nth-of-type(4) { bottom: 12px; right: 12px; --r: 100deg; }
.plate dl { margin: 6px 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 28px; }
.plate dt { font-weight: 700; }
.plate dd { margin: 0; color: var(--ink-soft); }

/* preco: fita de rotuladora */
.price-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.tape {
  display: inline-block; background: var(--tape); color: #f2f2ee; padding: 14px 22px 12px;
  font-stretch: 112%; font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; letter-spacing: .02em;
  border-radius: 4px; transform: rotate(-2deg);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .25), 0 -1px 0 rgba(0, 0, 0, .6);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .6);
  clip-path: polygon(0 4%, 2% 0, 98% 0, 100% 6%, 100% 96%, 98% 100%, 2% 100%, 0 94%);
}
.checklist { margin: 26px 0 30px; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.checklist li::before { content: ''; width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(255, 90, 31, .2); }

/* perguntas */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--panel-lo); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); max-width: var(--measure); }

/* rodape */
.foot { padding: 56px 0 64px; border-top: 1px solid var(--panel-lo); color: var(--ink-soft); font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
.foot nav { display: flex; gap: 22px; margin-left: auto; }

/* ---------- pagina da conta ---------- */
.account { padding: 30px 0 100px; }
.account .wrap { max-width: 860px; }
.unit {
  position: relative; border-radius: 16px; padding: 30px 32px; margin-bottom: 22px;
  background: var(--panel-hi); box-shadow: var(--shadow-plastic);
}
.unit h1 { font-stretch: 120%; font-weight: 820; font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 12px; }
.unit p { margin: 0 0 14px; max-width: var(--measure); }
.unit .muted { color: var(--ink-soft); }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.status .led { width: 12px; height: 12px; min-width: 0; min-height: 0; }
.status--on .led { background: #39c06b; box-shadow: 0 0 0 3px rgba(43, 49, 64, .14), 0 0 12px 2px rgba(57, 192, 107, .6); }
.status--wait .led { background: #f2b33d; box-shadow: 0 0 0 3px rgba(43, 49, 64, .14), 0 0 10px 2px rgba(242, 179, 61, .55); }
.status--off .led { background: #8c8f88; box-shadow: 0 0 0 3px rgba(43, 49, 64, .14); }
.row-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.google-key svg { width: 20px; height: 20px; }
.orders { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.orders th, .orders td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--panel-lo); }
.orders th { font-weight: 700; }
.notice { border-radius: 10px; padding: 14px 18px; margin: 0 0 22px; background: #fff4ee; box-shadow: 0 0 0 1px rgba(255, 90, 31, .35) inset; }
.notice--ok { background: #eef8f1; box-shadow: 0 0 0 1px rgba(47, 125, 79, .35) inset; }
.notice--bad { background: #fdeeed; box-shadow: 0 0 0 1px rgba(179, 38, 30, .35) inset; }
.who { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--ink-soft); font-size: 15px; }
.who button { margin-left: auto; }
.skeleton { color: var(--ink-soft); }

/* paginas de texto (termos, privacidade) */
.doc { padding: 30px 0 90px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-stretch: 120%; font-weight: 820; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 8px; }
.doc h2 { font-size: 1.45rem; margin: 40px 0 10px; }
.doc p, .doc li { max-width: var(--measure); }
.doc .updated { color: var(--ink-soft); margin: 0 0 30px; }

/* ---------- responsivo ---------- */
@media (max-width: 880px) {
  .hero { padding: 16px 0 64px; }
  .hero .wrap, .split, .price-block { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .stage { order: -1; width: min(66%, 300px); }
  .cable { display: none; }
  section { padding: 64px 0; }
  .nav a:not(.nav-account) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero p.lead { font-size: 18px; }
  .rack { padding: 10px 14px; }
  .rack-row { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 16px 6px; }
  .rack-row .count { grid-column: 2; }
  .plate { padding: 24px 20px; }
  .plate dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .plate dd { margin-bottom: 12px; }
  .unit { padding: 24px 20px; }
  .foot nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
}
