/* ============================================
   XAUX — Système de design
   Infogérance haute disponibilité + édition jeux
   ============================================ */

:root {
  /* Couleurs (défauts ; surchargés par tweaks) */
  --bg: #0a0a0a;
  --bg-2: #0e0e0e;
  --surface: #131313;
  --surface-2: #171717;
  --border: #1f1f1f;
  --border-strong: #2a2a2a;
  --text: #f5f5f4;
  --muted: #8a8a85;
  --muted-2: #5a5a55;
  --accent: #a3e635;
  --accent-ink: #0a0a0a;
  --danger: #f87171;
  --ok: #a3e635;

  /* Typo */
  --font-sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Espace */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Animations */
  --anim-intensity: 1;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ============================================
   Grille de bruit fin + filets globaux
   ============================================ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: calc((100vw - var(--gutter) * 2) / 12) 100%;
  background-position: var(--gutter) 0;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, transparent, black 200px, black calc(100% - 200px), transparent);
}

/* ============================================
   Layout — container + grille 12 colonnes
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

/* ============================================
   Typographie
   ============================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow .idx { color: var(--muted-2); }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--text);
  text-wrap: balance;
}

.h-display {
  font-size: clamp(44px, 7.2vw, 112px);
  letter-spacing: -0.035em;
  line-height: 0.96;
  font-weight: 500;
}
.h-display em {
  font-style: normal;
  color: var(--accent);
}

h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.6vw, 48px); }
h3 { font-size: clamp(20px, 1.8vw, 26px); }
h4 { font-size: 17px; font-weight: 500; }

p { color: var(--muted); font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.lead { color: var(--text); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; max-width: 56ch; }

.mono { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.mono-l { font-family: var(--font-mono); font-size: 13px; color: var(--text); letter-spacing: 0.01em; }

/* ============================================
   Header
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.brand__mark {
  width: 22px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.brand__mark::before, .brand__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
}
.brand__mark::after {
  transform: rotate(45deg);
  border-color: var(--text);
}
.brand strong { font-weight: 600; letter-spacing: 0.08em; }
.brand small { color: var(--muted-2); font-weight: 400; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  padding: 8px 12px;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 160ms var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--text); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 1px;
  background: var(--accent);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ============================================
   Boutons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  transition: all 180ms var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn:hover { border-color: var(--text); }
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.btn--primary:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--sm { height: 36px; padding: 0 14px; font-size: 11px; }
.btn__arrow {
  display: inline-block;
  transition: transform 180ms var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ============================================
   Section générique
   ============================================ */
.section {
  padding: clamp(72px, 9vw, 140px) 0;
  position: relative;
  border-top: 1px solid var(--border);
}
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.section--hero { padding-top: clamp(72px, 12vw, 180px); border-top: none; }

.section__head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section__head .eyebrow { padding-top: 8px; }
.section__head h2 { max-width: 22ch; }

@media (max-width: 720px) {
  .section__head { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding-top: 80px;
  padding-bottom: clamp(72px, 10vw, 140px);
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: clamp(40px, 5vw, 72px);
}
.hero__meta-cell {
  background: var(--bg);
  padding: 20px 0 20px 0;
}
.hero__meta-cell .k {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__meta-cell .v {
  font-family: var(--font-mono);
  color: var(--text);
  font-size: 14px;
  margin-top: 6px;
}

@media (max-width: 720px) {
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
}

/* hero CTA + sublede */
.hero__cta {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ============================================
   Terminal block
   ============================================ */
.terminal {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  position: relative;
  overflow: hidden;
}
.terminal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}
.terminal__dots {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.terminal__dots span {
  width: 8px; height: 8px;
  display: inline-block;
  border: 1px solid var(--border-strong);
}
.terminal__dots span.green { background: var(--accent); border-color: var(--accent); }
.terminal__body {
  padding: 18px 18px 22px;
  white-space: pre-wrap;
  word-break: break-word;
}
.t-prompt { color: var(--accent); }
.t-comment { color: var(--muted-2); }
.t-cmd { color: var(--text); }
.t-out { color: var(--muted); }
.t-ok { color: var(--accent); }
.t-warn { color: #f5b942; }
.t-err { color: var(--danger); }
.t-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--accent);
  vertical-align: -2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ============================================
   Cards
   ============================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--6 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--bg);
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background 180ms var(--ease);
  min-height: 240px;
}
.card:hover { background: var(--surface); }
.card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}
.card__title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-top: auto;
}
.card__title-top { margin-top: 0; }
.card__desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 8px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .cards--3, .cards--6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cards, .cards--3, .cards--6 { grid-template-columns: 1fr; }
}

/* ============================================
   Capability rows (savoir-faire)
   ============================================ */
.cap-row {
  display: grid;
  grid-template-columns: 80px 280px 1fr 240px;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.cap-row:first-of-type { border-top: 1px solid var(--border); }
.cap-row__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
}
.cap-row__title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.cap-row__desc { font-size: 15px; line-height: 1.6; max-width: 60ch; }
.cap-row__tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

@media (max-width: 1000px) {
  .cap-row {
    grid-template-columns: 60px 1fr;
    grid-template-areas:
      "idx title"
      ".   desc"
      ".   tags";
  }
  .cap-row__idx { grid-area: idx; }
  .cap-row__title { grid-area: title; }
  .cap-row__desc { grid-area: desc; }
  .cap-row__tags { grid-area: tags; flex-direction: row; flex-wrap: wrap; }
}

/* ============================================
   Engagements list
   ============================================ */
.commit-list { display: flex; flex-direction: column; }
.commit {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.commit:last-child { border-bottom: 1px solid var(--border); }
.commit__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.commit__title {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.commit__desc {
  font-size: 15px;
  line-height: 1.65;
  max-width: 52ch;
}
.commit__pin {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  display: none;
}

@media (max-width: 900px) {
  .commit { grid-template-columns: 40px 1fr; gap: 16px 24px; grid-template-areas: "idx title" ". desc"; }
  .commit__idx { grid-area: idx; }
  .commit__title { grid-area: title; }
  .commit__desc { grid-area: desc; }
}

/* ============================================
   Tech stack list (références)
   ============================================ */
.stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.stack__col { display: flex; flex-direction: column; }
.stack__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
.stack__row:last-child { border-bottom: 1px solid var(--border); }
.stack__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.stack__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text);
}
.stack__items span { position: relative; }
.stack__items span + span::before {
  content: "·";
  color: var(--muted-2);
  margin-right: 14px;
  margin-left: -10px;
}

@media (max-width: 900px) { .stack { grid-template-columns: 1fr; } }

/* ============================================
   Footer
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 60px;
  background: var(--bg);
  position: relative;
  z-index: 1;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer__brand-block {}
.footer__tagline {
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 500;
  margin-top: 16px;
  max-width: 22ch;
}
.footer__tagline em { color: var(--accent); font-style: normal; }
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__col a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  transition: color 160ms;
}
.footer__col a:hover { color: var(--accent); }

.footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__status .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  display: inline-block;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   Form
   ============================================ */
.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.form__field {
  background: var(--bg);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 160ms;
}
.form__field:focus-within { background: var(--surface); }
.form__field--full { grid-column: 1 / -1; }
.form__label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.form__field input,
.form__field textarea,
.form__field select {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 0;
  resize: none;
  width: 100%;
}
.form__field textarea { min-height: 140px; line-height: 1.5; }
.form__field input::placeholder,
.form__field textarea::placeholder { color: var(--muted-2); }
.form__field--cta {
  background: var(--bg-2);
  padding: 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 720px) {
  .form { grid-template-columns: 1fr; }
  .form__field--cta { flex-direction: column; align-items: stretch; gap: 16px; }
}

/* ============================================
   Reveal animations (subtiles)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(calc(18px * var(--anim-intensity)));
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

.split-line { overflow: hidden; }
.split-line__inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 900ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.is-in .split-line__inner,
.split-line.is-in .split-line__inner { transform: translateY(0); }

/* ============================================
   ASCII / graphique infrastructure
   ============================================ */
.diagram {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  white-space: pre;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  padding: 24px;
  background: var(--surface);
}

.kbd {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ============================================
   Page hero variant (sub-pages)
   ============================================ */
.page-hero {
  padding: clamp(80px, 10vw, 160px) 0 clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--border);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
.page-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 12px;
}
.page-hero__meta-item { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.page-hero__meta-item .k { color: var(--muted-2); letter-spacing: 0.08em; text-transform: uppercase; font-size: 10px; display: block; margin-bottom: 4px; }
.page-hero h1 {
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: -0.03em;
  line-height: 1;
  max-width: 18ch;
}
.page-hero__lead { margin-top: 28px; max-width: 56ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--text); line-height: 1.55; }

@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   Two-col content
   ============================================ */
.twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.twocol h3 { margin-bottom: 16px; }
.twocol p { font-size: 16px; line-height: 1.65; }
.twocol p + p { margin-top: 16px; }

@media (max-width: 900px) {
  .twocol { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   Marquee de techno (banderole)
   ============================================ */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 22px 0;
  background: var(--bg-2);
}
.marquee__track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.marquee__track span::before {
  content: "◆";
  color: var(--accent);
  margin-right: 56px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   Coordonnées
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.coords {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.coords__block { display: flex; flex-direction: column; gap: 6px; }
.coords__block .k {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.coords__block .v { font-family: var(--font-mono); font-size: 15px; color: var(--text); }
.coords__block .v.placeholder { color: var(--muted); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================
   Tweaks panel
   ============================================ */
.tweaks {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 14px;
  width: 240px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.tweaks.is-open { display: flex; }
.tweaks__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}
.tweaks__head button {
  background: none; border: none; color: var(--muted); font-family: inherit; font-size: 14px;
}
.tweaks__group { display: flex; flex-direction: column; gap: 8px; }
.tweaks__group .label { color: var(--muted-2); text-transform: uppercase; }
.tweaks__row { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch {
  width: 26px; height: 26px;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  position: relative;
}
.swatch.is-active { outline: 1px solid var(--text); outline-offset: 2px; }
.tweak-btn {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  padding: 6px 8px;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-transform: uppercase;
}
.tweak-btn.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.tweak-btn:hover { color: var(--text); }
.tweak-btn.is-active:hover { color: var(--bg); }

/* ============================================
   Accessibilité
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .split-line__inner { opacity: 1 !important; transform: none !important; }
}
