/* Soundband — base compartilhada do site (landing, convite, páginas legais, 404).
   Tokens = app/lib/core/theme/colors.dart. Regras: docs/design/landing.md */

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("/assets/fonts/PlusJakartaSans-Regular.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url("/assets/fonts/PlusJakartaSans-Medium.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("/assets/fonts/PlusJakartaSans-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("/assets/fonts/PlusJakartaSans-Bold.ttf") format("truetype"); }

:root {
  color-scheme: dark;
  --bg: #101212;
  --surface: #141616;
  --raised: #191C1C;
  --deep: #0C0E0E;
  --mid: #585858;
  --text: #979797;
  --strong: #E4E6E6;
  --accent: #329860;
  --accent-dim: #1E5C3A;
  --bright: #4FD08A;
  --on-accent: #07110B;
  --diff: #E07A3C;
  --warn: #C9A24A;
  --hair: rgba(255, 255, 255, .10);
  --hair-strong: rgba(255, 255, 255, .16);
  --highlight: rgba(255, 255, 255, .05);
  --shade: rgba(0, 0, 0, .65);
  --raise: -6px -6px 16px var(--highlight), 10px 10px 28px var(--shade);
  --sink: inset 2px 2px 6px var(--shade), inset -2px -2px 6px var(--highlight);
  --gutter: clamp(16px, 4vw, 48px);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--strong); text-decoration-color: var(--mid); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--bright); }
:focus-visible { outline: 2px solid var(--bright); outline-offset: 3px; border-radius: 6px; }
strong, b { color: var(--strong); font-weight: 600; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Marca: sete barras (SoundbandMark) */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--strong); text-decoration: none;
  font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand svg { width: 26px; height: 26px; fill: var(--bright); }

/* Botões: verde só para o principal da tela */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px;
  padding: 0 26px; border-radius: 16px; font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 0; transition: background-color .15s, transform .1s, border-color .15s; }
.btn:active { transform: scale(.98); }
.btn-main { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 20px rgba(50, 152, 96, .25); }
.btn-main:hover { background: var(--bright); }
.btn-line { background: transparent; color: var(--strong); border: 1px solid var(--hair-strong); min-height: 44px;
  padding: 0 18px; font-weight: 600; font-size: 15px; border-radius: 14px; }
.btn-line:hover { border-color: var(--strong); }

/* Cena: pintura do app animada por trás do conteúdo */
.scene { position: absolute; inset: 0; overflow: hidden; z-index: 0; background: var(--bg) center / cover no-repeat; }
.scene video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transition: opacity .8s ease; }
.scene video.on { opacity: 1; }
