/* =========================================================
   Rêve Binaire — feuille de style du site de l'agence
   ========================================================= */

/* ---------- 1. Réglages & variables ---------- */
:root {
  --ink: #070a16;
  --ink-1: #0b0f22;
  --ink-2: #111634;
  --ink-3: #1a2046;

  --violet: #7b6cff;
  --violet-soft: #a89bff;
  --cyan: #35dfe4;
  --amber: #ffb877;
  --rose: #ff8fb1;

  --text: #eef0fb;
  --muted: #a2a9c9;
  --faint: #6f779b;

  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.08);

  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 60px -12px rgba(123, 108, 255, 0.55);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-xl: 34px;

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

p {
  margin: 0 0 1.1em;
}

::selection {
  background: var(--violet);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--violet);
  color: #fff;
  padding: 0.8rem 1.2rem;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip:focus {
  left: 0;
}

/* ---------- 2. Utilitaires ---------- */
.wrap {
  width: min(100% - var(--pad) * 2, var(--wrap));
  margin-inline: auto;
}
.wrap-wide {
  width: min(100% - var(--pad) * 2, 1380px);
  margin-inline: auto;
}

section {
  position: relative;
  padding-block: var(--section);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.735rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cyan);
  font-family: var(--sans);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

.h-xl {
  font-size: clamp(2.6rem, 7.2vw, 5.1rem);
}
.h-lg {
  font-size: clamp(2.05rem, 4.6vw, 3.4rem);
}
.h-md {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  color: var(--muted);
  max-width: 62ch;
}

.muted {
  color: var(--muted);
}
.center {
  text-align: center;
}
.center .lead {
  margin-inline: auto;
}

em.ital {
  font-style: italic;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  background: linear-gradient(100deg, var(--violet-soft), var(--cyan) 55%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head.center {
  margin-inline: auto;
}

/* ---------- 3. Boutons ---------- */
.btn {
  --btn-bg: linear-gradient(120deg, var(--violet), #5b46e8 55%, #3f7ff0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.6rem;
  border-radius: 100px;
  background: var(--btn-bg);
  color: #fff;
  border: 0;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s, filter 0.25s;
  box-shadow: 0 14px 34px -14px rgba(123, 108, 255, 0.9);
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -16px rgba(123, 108, 255, 1);
  filter: brightness(1.08);
}
.btn:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  box-shadow: none;
  color: var(--text);
  font-weight: 500;
}
.btn-ghost:hover {
  background: var(--glass-2);
  box-shadow: none;
  border-color: var(--violet-soft);
}

.btn-light {
  background: var(--text);
  color: var(--ink);
  box-shadow: 0 14px 34px -16px rgba(255, 255, 255, 0.5);
}

.btn-sm {
  padding: 0.62rem 1.15rem;
  font-size: 0.86rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.arrow {
  transition: transform 0.25s;
}
.btn:hover .arrow {
  transform: translateX(4px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.93rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, gap 0.2s;
}
.link-arrow:hover {
  border-color: currentColor;
  gap: 0.7rem;
}

/* ---------- 4. Décors de fond ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(58vw 46vw at 12% -6%, rgba(123, 108, 255, 0.32), transparent 62%),
    radial-gradient(48vw 40vw at 92% 6%, rgba(53, 223, 228, 0.16), transparent 60%),
    radial-gradient(60vw 50vw at 78% 82%, rgba(255, 143, 177, 0.12), transparent 65%),
    var(--ink);
}
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 25%, transparent 80%);
}

/* ---------- 5. En-tête ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s, padding 0.35s;
  border-bottom: 1px solid transparent;
  padding-block: 1.15rem;
}
.header.scrolled {
  background: rgba(7, 10, 22, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
  padding-block: 0.72rem;
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  font-family: var(--display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--violet), #4b39d6 55%, #1c9fe0);
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(123, 108, 255, 0.9);
  position: relative;
  overflow: hidden;
}
.logo-mark span {
  position: relative;
  z-index: 1;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.45), transparent 55%);
}
.logo small {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav a {
  padding: 0.5rem 0.85rem;
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover {
  color: var(--text);
  background: var(--glass);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.tel-link {
  font-size: 0.9rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}
.tel-link:hover {
  color: var(--text);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  margin: 3.5px auto;
  transition: transform 0.3s, opacity 0.2s;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 1000px) {
  .nav,
  .header-cta .tel-link {
    display: none;
  }
  .burger {
    display: grid;
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 8px);
    left: var(--pad);
    right: var(--pad);
    background: rgba(11, 15, 34, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 0.75rem;
    box-shadow: var(--shadow-lg);
  }
  .nav.open a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }
}

/* Sur petits écrans, l'en-tête se compacte pour laisser la place au menu. */
@media (max-width: 560px) {
  .logo {
    font-size: 1.02rem;
    gap: 0.5rem;
  }
  .logo small {
    display: none;
  }
  .logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 0.58rem;
  }
  .header-cta {
    gap: 0.5rem;
  }
  .header-cta .btn {
    padding: 0.52rem 0.85rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .header-cta .btn .arrow {
    display: none;
  }
  .burger {
    width: 40px;
    height: 40px;
  }
}

/* ---------- 6. Héros ---------- */
.hero {
  padding-top: clamp(8.5rem, 17vw, 12rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
}
#binary-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 5%, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, #000 5%, transparent 78%);
}
.hero > .wrap {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.95rem 0.42rem 0.5rem;
  border-radius: 100px;
  background: var(--glass);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
  backdrop-filter: blur(8px);
}
.badge b {
  background: linear-gradient(120deg, var(--violet), var(--cyan));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.6rem;
  border-radius: 100px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 16ch;
  margin-bottom: 0.5em;
}
.hero .lead {
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  max-width: 55ch;
  margin-bottom: 2.1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin-top: 2.2rem;
  font-size: 0.88rem;
  color: var(--faint);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-meta svg {
  flex: none;
  color: var(--cyan);
}

/* Vitrine du héros : navigateur + mobile */
.hero-stage {
  margin-top: clamp(3rem, 7vw, 5rem);
  position: relative;
  perspective: 1600px;
}
.stage-inner {
  position: relative;
  transform: rotateX(4deg);
  transform-style: preserve-3d;
}

.browser {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0d1226;
  box-shadow: var(--shadow-lg), 0 0 90px -40px rgba(123, 108, 255, 0.8);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(180deg, #171d3c, #121732);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.dots {
  display: flex;
  gap: 6px;
  flex: none;
}
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #39406b;
}
.dots i:nth-child(1) {
  background: #ff5f57;
}
.dots i:nth-child(2) {
  background: #febc2e;
}
.dots i:nth-child(3) {
  background: #28c840;
}
.url {
  flex: 1;
  background: rgba(0, 0, 0, 0.32);
  border-radius: 100px;
  padding: 0.32rem 0.9rem;
  font-size: 0.76rem;
  color: var(--faint);
  font-family: var(--sans);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.url span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.url::before {
  content: "";
  width: 9px;
  height: 11px;
  flex: none;
  border-radius: 2px;
  background: var(--cyan);
  opacity: 0.75;
  clip-path: polygon(0 45%, 100% 45%, 100% 100%, 0 100%, 0 45%, 22% 45%, 22% 20%, 78% 20%, 78% 45%);
}

/* Cadre d'aperçu live (iframe mise à l'échelle) */
.frame {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.frame iframe {
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  pointer-events: none;
}
.frame-scroll {
  position: absolute;
  inset: 0;
  transition: transform 4s cubic-bezier(0.33, 0, 0.15, 1);
}
.frame .poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s;
  z-index: 2;
}
.frame.loaded .poster {
  opacity: 0;
}
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -60px 60px -50px rgba(7, 10, 22, 0.5);
}

.hero-frame {
  aspect-ratio: 16 / 9.6;
}

.phone {
  position: absolute;
  right: -1.5%;
  bottom: -13%;
  width: clamp(148px, 17vw, 232px);
  aspect-ratio: 9 / 19;
  border-radius: 30px;
  border: 8px solid #171b36;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 50px -18px rgba(53, 223, 228, 0.5);
  transform: translateZ(60px) rotate(-3deg);
}
.phone .frame {
  position: absolute;
  inset: 0;
}
.phone::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  translate: -50% 0;
  width: 34%;
  height: 6px;
  background: #171b36;
  border-radius: 100px;
  z-index: 3;
}
@media (max-width: 720px) {
  .phone {
    display: none;
  }
  .stage-inner {
    transform: none;
  }
}

/* ---------- 7. Bandeau défilant ---------- */
.marquee {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
  --gap: 3.2rem;
}
.marquee-track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  animation: slide 42s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes slide {
  to {
    transform: translateX(calc(-50% - var(--gap) / 2));
  }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-item b {
  color: var(--text);
  font-weight: 600;
}
.marquee-item i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  flex: none;
  box-shadow: 0 0 10px var(--cyan);
}

/* ---------- 8. Cartes génériques ---------- */
.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  backdrop-filter: blur(6px);
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.5em;
}
.card p:last-child {
  margin-bottom: 0;
}
.card p {
  color: var(--muted);
  font-size: 0.97rem;
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(123, 108, 255, 0.28), rgba(53, 223, 228, 0.14));
  border: 1px solid var(--line);
  color: var(--violet-soft);
  margin-bottom: 1.2rem;
  flex: none;
}

.grid {
  display: grid;
  gap: 1.2rem;
}
.g-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.g-3 {
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}
.g-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ---------- 9. Chiffres ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: rgba(11, 15, 34, 0.72);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.4vw, 3.1rem);
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(120deg, #fff, var(--violet-soft) 60%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.45rem;
}
.stat span {
  font-size: 0.87rem;
  color: var(--muted);
  display: block;
  line-height: 1.45;
}
.stat small {
  display: block;
  font-size: 0.72rem;
  color: var(--faint);
  margin-top: 0.5rem;
}

/* ---------- 10. Démos ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.2rem;
  justify-content: center;
}
.filter {
  padding: 0.55rem 1.15rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--muted);
  font-size: 0.87rem;
  cursor: pointer;
  transition: all 0.22s;
}
.filter:hover {
  color: var(--text);
  border-color: var(--line-strong);
}
.filter[aria-pressed="true"] {
  background: linear-gradient(120deg, var(--violet), #4f3fe0);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 26px -12px rgba(123, 108, 255, 0.9);
}

/* auto-fill (et non auto-fit) : les colonnes vides sont conservées, donc une carte
   seule après filtrage garde sa largeur au lieu de s'étirer sur toute la grille. */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: clamp(1.2rem, 2.4vw, 1.9rem);
}
.demo {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.4s;
}
.demo:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}
.demo.hidden {
  display: none;
}
.demo .browser {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.demo-frame {
  aspect-ratio: 16 / 11;
  border-bottom: 1px solid var(--line);
}
.demo:hover .demo-frame .frame-scroll {
  transform: translateY(-58%);
}
.demo-body {
  padding: 1.35rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}
.demo-body h3 {
  margin: 0;
  font-size: 1.32rem;
}
.demo-tag {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
}
.demo-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  flex: 1;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.chip {
  font-size: 0.74rem;
  padding: 0.28rem 0.65rem;
  border-radius: 100px;
  background: var(--glass-2);
  border: 1px solid var(--line);
  color: var(--muted);
}
.demo-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}
.demo-price {
  font-size: 0.86rem;
  color: var(--faint);
}
.demo-price b {
  color: var(--text);
  font-weight: 600;
}

/* ---------- 11. Tarifs ---------- */
.toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2.6rem;
}
.toggle {
  display: inline-flex;
  padding: 5px;
  border-radius: 100px;
  background: var(--glass);
  border: 1px solid var(--line);
  position: relative;
  gap: 2px;
}
.toggle button {
  border: 0;
  background: transparent;
  padding: 0.6rem 1.35rem;
  border-radius: 100px;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
  transition: color 0.25s;
  white-space: nowrap;
}
.toggle button[aria-pressed="true"] {
  color: #fff;
  font-weight: 600;
}
.toggle .pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  border-radius: 100px;
  background: linear-gradient(120deg, var(--violet), #4f3fe0);
  transition: left 0.32s cubic-bezier(0.22, 1, 0.36, 1), width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}
.toggle-note {
  text-align: center;
  font-size: 0.83rem;
  color: var(--faint);
  margin-top: 0.9rem;
  max-width: 76ch;
  margin-inline: auto;
  line-height: 1.55;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.2rem;
  align-items: start;
}
.plan {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(11, 15, 34, 0.6);
  padding: clamp(1.7rem, 3vw, 2.3rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  backdrop-filter: blur(8px);
  transition: transform 0.35s, border-color 0.3s;
}
.plan:hover {
  transform: translateY(-4px);
}
.plan.featured {
  border-color: transparent;
  background:
    linear-gradient(rgba(11, 15, 34, 0.92), rgba(17, 22, 52, 0.92)) padding-box,
    linear-gradient(140deg, var(--violet), var(--cyan) 60%, var(--amber)) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}
.plan-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  translate: -50% 0;
  background: linear-gradient(120deg, var(--violet), var(--cyan));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.32rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}
.plan h3 {
  font-size: 1.45rem;
  margin: 0;
}
.plan-desc {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
  min-height: 2.9em;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--display);
  line-height: 1;
  flex-wrap: wrap;
}
.price .amount {
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  font-weight: 600;
}
.price .per {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 300;
}
/* « à partir de » occupe sa propre ligne, au-dessus du montant. */
.price .per-before {
  flex-basis: 100%;
  margin-bottom: 0.1rem;
}
.price-sub {
  font-size: 0.84rem;
  color: var(--faint);
  margin: -0.4rem 0 0;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  display: grid;
  gap: 0.72rem;
  font-size: 0.94rem;
}
.plan li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--muted);
}
.plan li svg {
  flex: none;
  margin-top: 3px;
  color: var(--cyan);
}
.plan li.off {
  color: var(--faint);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.2);
}
.plan li.off svg {
  color: var(--faint);
  opacity: 0.5;
}
.plan .btn {
  margin-top: auto;
}
.plan-foot {
  font-size: 0.8rem;
  color: var(--faint);
  text-align: center;
  margin: 0;
}

/* Formule unique : une seule carte, centrée, avec la liste sur deux colonnes. */
.plans-1 {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-inline: auto;
  margin-top: 2.4rem;
}
.plan-list-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
}
@media (max-width: 620px) {
  .plan-list-2 {
    grid-template-columns: 1fr;
  }
}

/* ---------- 11 ter. Les modifications ---------- */
.mods {
  margin-top: 2.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.035);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.mods-head {
  max-width: 62ch;
  margin-bottom: 1.7rem;
}
.mods-head h3 {
  margin-bottom: 0.35em;
}
.mods-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}
.mods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.mod {
  background: rgba(11, 15, 34, 0.76);
  padding: 1.4rem;
  display: grid;
  gap: 0.4rem;
  align-content: start;
}
.mod-price {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(120deg, #fff, var(--violet-soft) 60%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.2rem;
}
.mod b {
  font-size: 1rem;
  font-weight: 600;
}
.mod p {
  margin: 0;
  font-size: 0.91rem;
  color: var(--muted);
}
.mods-note {
  margin: 1.4rem 0 0;
  font-size: 0.89rem;
  color: var(--muted);
}
.mods-note b {
  color: var(--text);
  font-weight: 600;
}

/* ---------- 11 bis. L'abonnement en clair ---------- */
.sub-how {
  margin-top: 2.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(123, 108, 255, 0.14), rgba(53, 223, 228, 0.05));
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.sub-how-head {
  max-width: 62ch;
  margin-bottom: 1.7rem;
}
.sub-how-head h3 {
  margin-bottom: 0.35em;
}
.sub-how-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}
.sub-how-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  counter-reset: how;
}
.sub-how-list li {
  background: rgba(11, 15, 34, 0.76);
  padding: 1.3rem 1.4rem;
  display: grid;
  gap: 0.35rem;
  align-content: start;
}
.sub-how-list li::before {
  counter-increment: how;
  content: counter(how, decimal-leading-zero);
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.05em;
}
.sub-how-list b {
  font-size: 1.02rem;
  font-weight: 600;
}
.sub-how-list span {
  font-size: 0.92rem;
  color: var(--muted);
}

.plan-switch {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--cyan);
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}
.plan-switch::before {
  content: "✓";
  font-weight: 700;
  flex: none;
}

.addons {
  margin-top: 2.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.addons summary {
  padding: 1.15rem 1.6rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--glass);
  list-style: none;
  font-size: 0.98rem;
}
.addons summary::-webkit-details-marker {
  display: none;
}
.addons summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--cyan);
  line-height: 1;
  transition: transform 0.3s;
}
.addons[open] summary::after {
  transform: rotate(45deg);
}
/* Six cellules réparties en 3 colonnes × 2 rangées sur grand écran. */
.addon-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.addon {
  background: rgba(11, 15, 34, 0.7);
  padding: 1.15rem 1.4rem;
}
.addon b {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.addon span {
  font-size: 0.86rem;
  color: var(--muted);
}
.addon em {
  display: block;
  font-style: normal;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 0.4rem;
}
.addon-note {
  margin: 0;
  padding: 1.15rem 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  background: rgba(11, 15, 34, 0.7);
  border-top: 1px solid var(--line);
}

/* ---------- 12. Engagements ---------- */
.pledges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pledge {
  background: rgba(11, 15, 34, 0.66);
  padding: clamp(1.6rem, 2.8vw, 2.1rem);
  position: relative;
  transition: background 0.3s;
}
.pledge:hover {
  background: rgba(26, 32, 70, 0.82);
}
.pledge-num {
  font-family: var(--display);
  font-size: 0.9rem;
  color: var(--faint);
  display: block;
  margin-bottom: 0.9rem;
  letter-spacing: 0.05em;
}
.pledge h3 {
  font-size: 1.18rem;
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pledge h3 svg {
  color: var(--cyan);
  flex: none;
}
.pledge p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
}

/* ---------- 13. Processus ---------- */
.steps {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 2.6rem;
  border-top: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -0.9rem;
  left: 0;
  background: var(--ink);
  padding-right: 0.8rem;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  background-image: linear-gradient(120deg, var(--violet-soft), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 {
  font-size: 1.15rem;
}
.step p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 0.6rem;
}
.step .when {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
}

/* ---------- 14. Comparatif ---------- */
.compare-scroll {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
  font-size: 0.94rem;
  background: rgba(11, 15, 34, 0.6);
}
table.compare th,
table.compare td {
  padding: 1.05rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.compare thead th {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  position: sticky;
  top: 0;
}
table.compare thead th.us {
  background: linear-gradient(120deg, rgba(123, 108, 255, 0.34), rgba(53, 223, 228, 0.18));
}
table.compare td.us {
  background: rgba(123, 108, 255, 0.08);
  color: var(--text);
}
table.compare td {
  color: var(--muted);
}
table.compare tbody tr:last-child th,
table.compare tbody tr:last-child td {
  border-bottom: 0;
}
table.compare tbody th {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--text);
  font-size: 0.94rem;
}

/* ---------- 15. Citations (bloc conservé, non utilisé actuellement) ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2rem;
}
.quote {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
  background: var(--glass);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.stars {
  display: flex;
  gap: 3px;
  color: var(--amber);
}
.quote blockquote {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.62;
  color: var(--text);
  font-weight: 300;
  flex: 1;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
}
.quote img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  flex: none;
}
.quote figcaption b {
  display: block;
  font-weight: 600;
}
.quote figcaption span {
  color: var(--faint);
  font-size: 0.84rem;
}

/* ---------- 16. Simulateur ---------- */
.sim {
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(26, 32, 70, 0.85), rgba(11, 15, 34, 0.85));
  padding: clamp(1.6rem, 3.6vw, 3rem);
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: clamp(1.6rem, 3.5vw, 3rem);
  backdrop-filter: blur(10px);
}
@media (max-width: 880px) {
  .sim {
    grid-template-columns: 1fr;
  }
}
.sim fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 1.7rem;
}
.sim legend {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
  margin-bottom: 0.85rem;
  padding: 0;
}
.opts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.opt {
  position: relative;
}
.opt input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.opt span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 1.1rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--glass);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--muted);
  transition: all 0.22s;
  user-select: none;
}
.opt span:hover {
  border-color: var(--line-strong);
  color: var(--text);
}
.opt input:checked + span {
  background: linear-gradient(120deg, rgba(123, 108, 255, 0.3), rgba(53, 223, 228, 0.16));
  border-color: var(--violet-soft);
  color: #fff;
}
.opt input:focus-visible + span {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.opt small {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
}

.sim-out {
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: rgba(7, 10, 22, 0.72);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  align-self: start;
  position: sticky;
  top: 105px;
}
.sim-out .price {
  margin-bottom: 0.4rem;
}
.sim-out .amount {
  background: linear-gradient(120deg, #fff, var(--violet-soft) 55%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sim-alt {
  margin: 0.9rem 0 0;
  padding: 0.7rem 0.9rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(53, 223, 228, 0.35);
  background: rgba(53, 223, 228, 0.08);
  font-size: 0.86rem;
  color: var(--muted);
}
.sim-alt b {
  color: var(--text);
  font-weight: 600;
}

.sim-lines {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
  padding-top: 1.3rem;
}
.sim-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}
.sim-lines li b {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}
.sim-note {
  font-size: 0.79rem;
  color: var(--faint);
  margin: 0.9rem 0 0;
}

/* ---------- 17. FAQ ---------- */
.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 850px;
  margin-inline: auto;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--glass);
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}
.faq details[open] {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}
.faq summary {
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.01rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--cyan);
  border-bottom: 1.5px solid var(--cyan);
  rotate: 45deg;
  flex: none;
  transition: rotate 0.3s;
  margin-right: 4px;
}
.faq details[open] summary::after {
  rotate: -135deg;
}
.faq .answer {
  padding: 0 1.4rem 1.35rem;
  color: var(--muted);
  font-size: 0.96rem;
}
.faq .answer p:last-child {
  margin-bottom: 0;
}

/* ---------- 18. Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
  }
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.15rem;
}
.contact-list li {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
}
.contact-list .icon-badge {
  margin: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.contact-list b {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
}
.contact-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

form.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(11, 15, 34, 0.7);
  padding: clamp(1.5rem, 3vw, 2.3rem);
  display: grid;
  gap: 1.05rem;
  backdrop-filter: blur(8px);
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field label {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  background: rgba(7, 10, 22, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.82rem 1rem;
  font-size: 0.96rem;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  font-weight: 300;
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--violet-soft);
  outline: none;
  background: rgba(7, 10, 22, 0.95);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.05rem;
}
@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
.form-note {
  font-size: 0.8rem;
  color: var(--faint);
  margin: 0;
}
.form-error {
  border: 1px solid rgba(255, 143, 177, 0.5);
  background: rgba(255, 143, 177, 0.1);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  font-size: 0.93rem;
  color: var(--text);
  display: none;
}
.form-error.show {
  display: block;
}
.form-error a {
  color: var(--rose);
  border-bottom: 1px solid currentColor;
}

/* Piège à robots : invisible à l’œil comme au lecteur d’écran, jamais focusable. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-noscript {
  border: 1px solid var(--amber);
  background: rgba(255, 184, 119, 0.1);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  font-size: 0.93rem;
  color: var(--text);
  margin-bottom: 1.4rem;
}
.form-noscript a {
  color: var(--cyan);
  border-bottom: 1px solid currentColor;
}

.form-ok {
  border: 1px solid rgba(53, 223, 228, 0.45);
  background: rgba(53, 223, 228, 0.09);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  font-size: 0.93rem;
  color: var(--text);
  display: none;
}
.form-ok.show {
  display: block;
}

/* ---------- 19. CTA final ---------- */
.cta-band {
  border-radius: var(--r-xl);
  padding: clamp(2.4rem, 6vw, 4.4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(80% 130% at 50% 0%, rgba(123, 108, 255, 0.42), transparent 62%),
    linear-gradient(160deg, rgba(26, 32, 70, 0.92), rgba(7, 10, 22, 0.94));
}
.cta-band h2 {
  max-width: 18ch;
  margin-inline: auto;
}
.cta-band .lead {
  margin-inline: auto;
  margin-bottom: 2rem;
}
.cta-band .btn-row {
  justify-content: center;
}

/* ---------- 20. Pied de page ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  margin-top: var(--section);
  background: rgba(7, 10, 22, 0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.2rem;
}
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer h4 {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.92rem;
}
.footer ul a {
  color: var(--muted);
  transition: color 0.2s;
}
.footer ul a:hover {
  color: var(--text);
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.93rem;
  max-width: 34ch;
  margin-top: 1.2rem;
}
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--faint);
}
.footer-bottom a:hover {
  color: var(--text);
}

/* ---------- 21. Animations d'apparition ---------- */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.js-anim .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js-anim .reveal {
    opacity: 1;
    transform: none;
  }
  #binary-canvas {
    display: none;
  }
}

/* ---------- 22. Pages secondaires ---------- */
.page-head {
  padding-top: clamp(8rem, 16vw, 11rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.prose {
  max-width: 74ch;
}
.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-top: 2.4em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p,
.prose li {
  color: var(--muted);
}
.prose ul {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}
.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(53, 223, 228, 0.35);
}
