/* ============================================================
   CLIPS.BIASONG.COM.BR
   Design System & Landing Page

   Hierarquia de cores de TEXTO (sobre #000):
     --fg-primary   : #FFFFFF  texto principal, números grandes
     --fg-secondary : #D1D5DB  títulos secundários, mensagens
     --fg-body      : #9CA3AF  corpo, descrições, labels ativos
     --fg-muted     : #6B7280  micro-labels, captions, decorativos
     --fg-subtle    : #4B5563  piso absoluto — apenas para legal/disabled

   Bordas/divisores: #1f1f1f → #2a2a2a → #333 (visíveis mas discretos)
   Geometria: zero border-radius
============================================================ */

:root {
  --fg-primary: #FFFFFF;
  --fg-secondary: #D1D5DB;
  --fg-body: #9CA3AF;
  --fg-muted: #6B7280;
  --fg-subtle: #4B5563;

  --bg-base: #000000;
  --bg-elev-1: #0A0A0A;
  --bg-elev-2: #111111;
  --bg-elev-3: #1A1A1A;

  --border-soft: #1F1F1F;
  --border-mid: #2A2A2A;
  --border-strong: #333333;
}

/* ─── RESET ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-base);
  color: var(--fg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: clip;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  color: inherit;
}

a { color: inherit; text-decoration: none; cursor: pointer; }

img { display: block; max-width: 100%; }

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-mid); }

/* ─── UTILITIES ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.view { display: none; }
.view.is-active { display: block; }

/* ─── TYPOGRAPHY ─── */
.display-xl  { font-family: 'Bebas Neue', cursive; font-size: 80px; letter-spacing: .03em; line-height: 1; color: var(--fg-primary); }
.display-md  { font-family: 'Bebas Neue', cursive; font-size: clamp(40px, 6vw, 60px); letter-spacing: .03em; line-height: 1; color: var(--fg-primary); }
.display-h1  { font-family: 'Bebas Neue', cursive; font-size: 72px; letter-spacing: .03em; line-height: 1.1; color: var(--fg-primary); }
.display-h2  { font-family: 'Bebas Neue', cursive; font-size: 52px; letter-spacing: .03em; line-height: 1.1; color: var(--fg-primary); }
.display-h3  { font-family: 'Bebas Neue', cursive; font-size: 36px; letter-spacing: .03em; line-height: 1.1; color: var(--fg-primary); }
.display-h4  { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--fg-primary); }
.display-h5  { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--fg-secondary); }
.display-h6  { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 12px; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-body); }
.body-p      { font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--fg-body); line-height: 1.75; max-width: 560px; }
.body-mono   { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--fg-muted); line-height: 1.6; }

.big-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 40px;
  letter-spacing: .03em;
  line-height: 1;
  color: var(--fg-primary);
}

.micro-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--fg-muted);
  text-transform: uppercase;
}

.field-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--fg-body);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.sec-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--fg-muted);
  text-transform: uppercase;
  display: inline-block;
  border-left: 2px solid var(--border-strong);
  padding-left: 12px;
  margin-bottom: 14px;
}

/* ─── TAB BAR ─── */
.tab-bar {
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.tab-bar__tabs { display: flex; }

.tab-btn {
  border-bottom: 2px solid transparent;
  color: var(--fg-muted);
  padding: 14px 20px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s, border-color .2s;
}
.tab-btn:hover { color: var(--fg-body); }
.tab-btn.is-active {
  border-bottom-color: var(--fg-primary);
  color: var(--fg-primary);
}

.tab-bar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  width: 16px;
  height: 16px;
  background: var(--fg-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-mark > span {
  width: 6px;
  height: 6px;
  background: var(--bg-base);
  display: block;
}

.brand-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 16px;
  letter-spacing: .08em;
  color: var(--fg-primary);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--fg-primary);
  color: var(--bg-base);
  border-color: var(--fg-primary);
}
.btn--primary:hover {
  background: var(--bg-base);
  color: var(--fg-primary);
}

.btn--primary-inv {
  background: var(--bg-base);
  color: var(--fg-primary);
  border-color: var(--fg-primary);
}
.btn--primary-inv:hover {
  background: var(--fg-primary);
  color: var(--bg-base);
}

.btn--secondary {
  background: transparent;
  color: var(--fg-body);
  border: 1px solid var(--border-strong);
  font-weight: 600;
}
.btn--secondary:hover {
  border-color: var(--fg-body);
  color: var(--fg-primary);
}

.btn--ghost {
  background: transparent;
  color: var(--fg-body);
  border: none;
  font-weight: 600;
}
.btn--ghost:hover { color: var(--fg-primary); }

.btn--disabled {
  background: var(--bg-elev-1);
  color: var(--fg-subtle);
  border: 1px solid var(--border-mid);
  font-weight: 600;
  cursor: not-allowed;
}

.btn--light-outline {
  background: transparent;
  color: #333;
  border: 1px solid #bbb;
  font-weight: 600;
}
.btn--light-outline:hover {
  border-color: #000;
  color: #000;
}

.btn--light-ghost {
  background: transparent;
  color: #555;
  border: none;
  font-weight: 600;
}
.btn--light-ghost:hover { color: #000; }

/* ─── INPUTS ─── */
.clip-input,
.clip-select,
.clip-textarea {
  background: transparent;
  border: 1px solid var(--border-mid);
  color: var(--fg-primary);
  padding: 12px 16px;
  font-size: 14px;
  width: 100%;
  outline: none;
  transition: border-color .2s, background .2s;
}
.clip-input:focus,
.clip-select:focus,
.clip-textarea:focus { border-color: var(--fg-primary); }
.clip-input::placeholder,
.clip-textarea::placeholder { color: var(--fg-muted); }
.clip-input.is-focus { border-color: var(--fg-primary); }
.clip-input.is-error {
  border-color: var(--fg-muted);
  background: var(--bg-elev-1);
}

.clip-select {
  background: var(--bg-elev-1);
  color: var(--fg-body);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.clip-select:focus { color: var(--fg-primary); }
.clip-select option { background: var(--bg-elev-2); color: var(--fg-primary); }

.select-wrap { position: relative; }
.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fg-body);
  font-size: 12px;
  pointer-events: none;
}

.clip-textarea {
  resize: vertical;
  min-height: 88px;
}

.error-hint {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--fg-body);
  margin-top: 6px;
}

/* ─── RANGE SLIDER ─── */
input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  width: 100%;
  height: 16px;
  display: block;
  margin-bottom: 8px;
}
input[type=range]::-webkit-slider-runnable-track {
  background: var(--border-mid);
  height: 2px;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: var(--fg-primary);
  height: 16px;
  width: 16px;
  margin-top: -7px;
  border-radius: 0 !important;
  border: none;
}
input[type=range]::-moz-range-track {
  background: var(--border-mid);
  height: 2px;
}
input[type=range]::-moz-range-thumb {
  background: var(--fg-primary);
  height: 16px;
  width: 16px;
  border: none;
  border-radius: 0 !important;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up-0 { animation: fadeUp .9s ease both; }
.fade-up-1 { animation: fadeUp .9s .12s ease both; }
.fade-up-2 { animation: fadeUp .9s .26s ease both; }
.fade-up-3 { animation: fadeUp .9s .42s ease both; }
.fade-up-4 { animation: fadeUp .9s .60s ease both; }

/* ============================================================
   HERO
   Mobile : imagem cobre todo o fundo, texto sobreposto.
   Desktop: imagem alinhada à direita (~55% da viewport) com
            inner shadow esquerda→direita dissolvendo a borda
            esquerda no fundo preto do site.
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-base);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: grayscale(75%) brightness(0.55);
  display: block;
}

/* Inner shadow: esquerda (sólida) → direita (transparente)
   Faz a borda esquerda da imagem dissolver na cor de fundo. */
.hero__bg-shadow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--bg-base) 0%,
    rgba(0, 0, 0, 0.92) 20%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.2) 80%,
    rgba(0, 0, 0, 0.05) 100%
  );
  pointer-events: none;
}

/* Desktop ≥ 900px: imagem ocupa só a metade direita */
@media (min-width: 900px) {
  .hero__bg {
    left: auto;
    right: 0;
    width: 55%;
    box-shadow: inset 120px 0 120px -40px var(--bg-base);
  }
  .hero__bg img {
    filter: grayscale(55%) brightness(0.78);
    object-position: center;
  }
  .hero__bg-shadow {
    background: linear-gradient(
      to right,
      var(--bg-base) 0%,
      rgba(0, 0, 0, 0.85) 22%,
      rgba(0, 0, 0, 0.4) 55%,
      rgba(0, 0, 0, 0.15) 85%,
      rgba(0, 0, 0, 0.05) 100%
    );
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 32px 80px;
  width: 100%;
}

.hero__badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--fg-body);
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__badge .line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--border-strong);
}

.hero__title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(60px, 11vw, 130px);
  letter-spacing: .02em;
  line-height: .93;
  color: var(--fg-primary);
  max-width: 820px;
}
.hero__title-outline {
  -webkit-text-stroke: 1px var(--fg-primary);
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  color: var(--fg-body);
  line-height: 1.8;
  margin-top: 28px;
  max-width: 460px;
}

.hero__ctas {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__stats {
  margin-top: 60px;
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.hero__stats .big-num { font-size: 44px; }
.hero__stats .micro-label {
  color: var(--fg-muted);
  letter-spacing: .14em;
  margin-top: 5px;
  font-size: 12px;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero__scroll span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--border-strong), transparent);
}

/* ============================================================
   ROI CALCULATOR
============================================================ */
.calc {
  background: var(--bg-base);
  padding: 96px 0;
  border-top: 1px solid var(--border-soft);
}

.calc__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 24px;
}
.calc__intro {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--fg-body);
  max-width: 300px;
  line-height: 1.7;
}

.calc__panel {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-soft);
  box-shadow: 0 32px 96px rgba(0, 0, 0, .7);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.calc__col {
  padding: 44px 40px;
}
.calc__col--input {
  border-right: 1px solid var(--border-soft);
}

.calc__col-label {
  margin-bottom: 36px;
  color: var(--fg-muted);
  letter-spacing: .2em;
  font-size: 12px;
}

.calc__field { margin-bottom: 40px; }

.calc__field-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}
.calc__field-head .big-num { font-size: 40px; }

.calc__field-foot {
  display: flex;
  justify-content: space-between;
}
.calc__field-foot span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--fg-muted);
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.preset-btn {
  background: transparent;
  color: var(--fg-body);
  border: 1px solid var(--border-mid);
  padding: 10px 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  transition: background .2s, color .2s, border-color .2s;
}
.preset-btn:hover {
  border-color: var(--fg-body);
  color: var(--fg-primary);
}
.preset-btn.is-active {
  background: var(--fg-primary);
  color: var(--bg-base);
  border-color: var(--fg-primary);
}

.roi-card {
  background: var(--bg-base);
  border: 1px solid var(--border-soft);
  padding: 18px 20px;
}
.roi-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.roi-card__val {
  font-size: 44px;
  color: var(--fg-secondary);
}
.roi-card__note {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 8px;
  line-height: 1.6;
}

.calc__bars {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.bar-row__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}
.bar-row__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--fg-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.bar-row__head .big-num { font-size: 38px; }

.bar-track {
  height: 2px;
  background: var(--border-mid);
}
.bar-fill {
  height: 100%;
  background: var(--fg-primary);
  transition: width .7s ease;
  width: 0%;
}

.bar-row__unit {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 5px;
}

.calc__platforms {
  margin-top: 40px;
  border-top: 1px solid var(--border-soft);
  padding-top: 28px;
}

.platform-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.platform-row__name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--fg-body);
  width: 130px;
  flex-shrink: 0;
}
.platform-row__track {
  flex: 1;
  height: 1px;
  background: var(--border-mid);
}
.platform-row__fill {
  height: 1px;
  background: var(--fg-body);
  transition: width .7s ease;
}
.platform-row__pct {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--fg-muted);
  width: 30px;
  text-align: right;
}

.calc__cta {
  width: 100%;
  margin-top: 28px;
  text-align: center;
}

/* ============================================================
   COMPETITIONS
============================================================ */
.comps {
  background: var(--bg-base);
  padding: 96px 0;
  border-top: 1px solid var(--border-soft);
}

.comps__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 20px;
}

.comps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.comp-card {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease;
}
.comp-card:hover {
  box-shadow: 0 24px 72px rgba(0, 0, 0, .9);
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.comp-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.comp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(55%) brightness(0.75);
  transition: filter .4s, transform .4s;
}
.comp-card:hover .comp-card__media img {
  filter: grayscale(30%) brightness(0.9);
  transform: scale(1.04);
}

.comp-card__media-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.95) 0%, rgba(10,10,10,.4) 40%, transparent 70%);
}

.comp-card__media-foot {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
}

.comp-card__title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  letter-spacing: .05em;
  line-height: 1;
  color: var(--fg-primary);
}
.comp-card__artist {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--fg-body);
  margin-top: 4px;
}
.comp-card__period {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--fg-muted);
}

.comp-card__avatar {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  z-index: 2;
}
.comp-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%);
}

.comp-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-soft);
}
.comp-card__stats > div {
  text-align: center;
  padding: 14px 8px;
  border-right: 1px solid var(--border-soft);
}
.comp-card__stats > div:last-child { border-right: none; }

.stat-val {
  font-family: 'Bebas Neue', cursive;
  font-size: 24px;
  letter-spacing: .03em;
  color: var(--fg-primary);
}
.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ============================================================
   CTA BAND
============================================================ */
.cta-band {
  background: var(--fg-primary);
  padding: 80px 32px;
}
.cta-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}
.cta-band__title {
  color: var(--bg-base);
  font-size: clamp(36px, 6vw, 64px);
}
.cta-band__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border-soft);
  padding: 64px 32px 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer__brand .footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.footer__brand-name { font-size: 18px; }

.footer__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--fg-body);
  line-height: 1.8;
  max-width: 260px;
}

.footer__chips {
  margin-top: 20px;
  display: flex;
  gap: 8px;
}
.chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--fg-body);
  letter-spacing: .12em;
  padding: 6px 10px;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  text-transform: uppercase;
  transition: color .2s, border-color .2s;
}
.chip:hover {
  color: var(--fg-primary);
  border-color: var(--fg-body);
}

.footer__col-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__col { display: flex; flex-direction: column; }

.footer__link {
  color: var(--fg-body);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  margin-bottom: 12px;
  transition: color .2s;
}
.footer__link:hover { color: var(--fg-primary); }

.footer__legal {
  border-top: 1px solid var(--border-soft);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__legal p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: .1em;
}

/* ============================================================
   DESIGN SYSTEM
============================================================ */
.ds { padding: 64px 32px; }

.ds__head {
  margin-bottom: 72px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 48px;
}
.ds__head-label {
  color: var(--fg-muted);
  letter-spacing: .2em;
  margin-bottom: 16px;
}
.ds__head-sub {
  color: var(--fg-body);
  font-size: 15px;
  margin-top: 12px;
}

.ds__section { margin-bottom: 80px; }

/* Type list */
.ds__type-list { display: flex; flex-direction: column; }
.ds__type-row {
  display: flex;
  align-items: baseline;
  gap: 32px;
  border-bottom: 1px solid var(--border-soft);
  padding: 20px 0;
}
.ds__tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--fg-muted);
  width: 28px;
  flex-shrink: 0;
}
.ds__type-row > p { flex: 1; }
.ds__type-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--fg-muted);
  text-align: right;
  flex-shrink: 0;
}

/* Buttons demo */
.ds__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 24px;
}
.ds__btns > div .micro-label { margin-bottom: 8px; }

.ds__btns-light {
  background: var(--fg-primary);
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.ds__light-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: #666;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-right: 8px;
}

/* Inputs */
.ds__inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.ds__inputs > div .micro-label { margin-bottom: 8px; }
.ds__inputs-full { grid-column: 1 / -1; }

/* Alerts */
.ds__alerts { display: flex; flex-direction: column; gap: 8px; }
.alert {
  border: 1px solid var(--border-soft);
  background: var(--bg-elev-1);
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  align-items: flex-start;
}
.alert__icon {
  background: var(--bg-elev-2);
  border: 1px solid var(--border-mid);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--fg-body);
}
.alert__body { flex: 1; }
.alert__title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--fg-primary);
  margin-bottom: 4px;
}
.alert__msg {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--fg-body);
  line-height: 1.6;
}
.alert__type {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--fg-muted);
  flex-shrink: 0;
  padding-top: 3px;
  letter-spacing: .14em;
}

/* Cards */
.ds__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.ds-card { padding: 24px; }
.ds-card__label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ds-card--default {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-soft);
}
.ds-card--default .ds-card__label { color: var(--fg-muted); }
.ds-card__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--fg-body);
  margin-top: 8px;
  line-height: 1.7;
}
.ds-card__link {
  padding: 10px 0 !important;
  margin-top: 14px;
  font-size: 12px !important;
  text-transform: uppercase;
}

.ds-card--stat {
  background: var(--fg-primary);
  border: 1px solid var(--fg-primary);
  color: var(--bg-base);
}
.ds-card--stat .ds-card__label { color: #888; }
.ds-card__big {
  font-family: 'Bebas Neue', cursive;
  font-size: 52px;
  color: var(--bg-base);
  letter-spacing: .03em;
  line-height: 1;
}
.ds-card__caption {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #444;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 6px;
}
.ds-card__bar {
  margin-top: 16px;
  height: 2px;
  background: #e5e7eb;
}
.ds-card__bar > div {
  height: 2px;
  background: var(--bg-base);
  width: 74%;
}

.ds-card--outline {
  background: transparent;
  border: 1px solid var(--border-mid);
}
.ds-card--outline .ds-card__label { color: var(--fg-muted); }
.ds-card__outline-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 26px;
  color: var(--fg-body);
  letter-spacing: .03em;
}
.ds-card__mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 36px;
  color: var(--fg-primary);
  margin-top: 10px;
}
.ds-card__delta {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--fg-body);
  margin-top: 8px;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  .tab-bar { padding: 0 16px; }
  .tab-bar__brand .brand-name { font-size: 13px; }
  .container { padding: 0 20px; }
  .hero__content { padding: 100px 20px 60px; }

  /* Imagem de fundo do hero reposicionada para mobile */
  .hero__bg img {
    object-position: -100px -94px;
  }

  /* 3 stats em linha única via grid — distribuição igual sem risco de overflow */
  .hero__stats {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .hero__stats > div { min-width: 0; }
  .hero__stats .big-num { font-size: 28px; }
  .hero__stats .micro-label {
    font-size: 12px;
    letter-spacing: .06em;
    line-height: 1.3;
  }

  /* Badge do hero: compacta o gap, mantém as linhas decorativas */
  .hero__badge {
    gap: 10px;
    font-size: 12px;
    letter-spacing: .12em;
  }
  .hero__badge .line { width: 16px; flex-shrink: 0; }

  .calc { padding: 64px 0; }
  .calc__panel { grid-template-columns: 1fr; }
  .calc__col { padding: 32px 24px; }
  .calc__col--input { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .calc__field-head .big-num { font-size: 32px; }
  .bar-row__head .big-num { font-size: 30px; }
  .comps { padding: 64px 0; }
  .cta-band { padding: 56px 24px; }
  .footer { padding: 48px 20px 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ds { padding: 48px 20px; }
  .ds__section { margin-bottom: 56px; }
  .ds__type-row { flex-wrap: wrap; gap: 12px; }
  .ds__type-sub { width: 100%; text-align: left; }
  .display-h1 { font-size: 52px; }
  .display-h2 { font-size: 40px; }
  .display-h3 { font-size: 28px; }
  .display-xl { font-size: 56px; }
}

@media (max-width: 480px) {
  .preset-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 56px; }
  .ds__btns { gap: 20px; }

  /* Stats ainda menores no celular pequeno */
  .hero__stats { gap: 12px; }
  .hero__stats .big-num { font-size: 24px; }

  /* Footer: Brand cheio em cima, Serviços + Empresa lado a lado, Suporte cheio embaixo */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__col:last-child {
    grid-column: 1 / -1;
  }
}
