/* Acrovia — site de présentation.
   Identité de l'app : papier chaud, encre violette, un violet d'accent,
   aplats et filets fins, pas d'ombres lourdes ni de dégradés. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/assets/fonts/instrument-sans-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/assets/fonts/instrument-sans-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4f1ec;
  --surface: #fffefb;
  --surface-2: #ece8e0;
  --border: #ddd7cc;
  --border-strong: #c2baab;
  --text: #1b1530;
  --muted: #5f5772;
  --accent: #5a2bd6;
  --accent-hover: #4a21b8;
  --accent-weak: #ebe5fa;
  --on-accent: #ffffff;
  --ring: #5a2bd6;
  --ink: #241552;
  --on-ink: #f4f1ec;
  --on-ink-muted: #cfc6e8;
  --ok: #1c7a4a;
  --ok-bg: #e0efe5;
  --warn: #86570a;
  --warn-bg: #f6e9cd;
  --err: #b3261e;
  --err-bg: #f7dcd7;
  --t-db: #5a2bd6;
  --t-da: #137a6e;
  --t-r: #c23d16;
  --wave: #a592e8;
  --on-tc: #ffffff;
  --playhead: #e8452c;
  --d-gr: #5a2bd6;
  --d-tr: #0b73d6;
  --d-af: #d6402c;
  --d-am: #1c7a4a;
  --d-gr-bg: #ebe5fa;
  --d-tr-bg: #dcebfa;
  --d-af-bg: #f9e0db;
  --d-am-bg: #dcefe4;
  --font-title: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-text: 'Instrument Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14101d;
    --surface: #1d1829;
    --surface-2: #282137;
    --border: #342d47;
    --border-strong: #4d4466;
    --text: #eee9f8;
    --muted: #a99fc0;
    --accent: #a58cff;
    --accent-hover: #bda9ff;
    --accent-weak: rgb(165 140 255 / 0.16);
    --on-accent: #14101d;
    --ring: #a58cff;
    --ink: #2a2040;
    --on-ink: #eee9f8;
    --on-ink-muted: #b9afd2;
    --ok: #5fd08d;
    --ok-bg: rgb(95 208 141 / 0.14);
    --warn: #e5b84e;
    --warn-bg: rgb(229 184 78 / 0.14);
    --err: #ff7d72;
    --err-bg: rgb(255 125 114 / 0.15);
    --t-db: #a58cff;
    --t-da: #3ec9b5;
    --t-r: #ff7a52;
    --wave: #6f5bb8;
    --on-tc: #14101d;
    --playhead: #ff6b4d;
    --d-gr: #a58cff;
    --d-tr: #5aa9ff;
    --d-af: #ff7a63;
    --d-am: #4fc487;
    --d-gr-bg: rgb(165 140 255 / 0.16);
    --d-tr-bg: rgb(90 169 255 / 0.16);
    --d-af-bg: rgb(255 122 99 / 0.16);
    --d-am-bg: rgb(79 196 135 / 0.16);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img,
svg {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.25rem, 8vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.75rem, 5vw, 2.6rem);
}
h3 {
  font-size: 1.25rem;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--accent-hover);
}
:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: var(--on-ink);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip:focus {
  top: 12px;
  color: var(--on-ink);
}
.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 720px) {
  .wrap {
    padding-inline: 28px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.875rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 22px;
  font: 600 1rem/1.2 var(--font-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-sm {
  min-height: 40px;
  padding: 6px 16px;
  font-size: 0.9375rem;
}
.btn-block {
  display: flex;
  width: 100%;
}
.btn-ink {
  background: var(--on-ink);
  color: var(--ink);
}
.btn-ink:hover {
  background: #fff;
  color: var(--ink);
}
.btn-line-ink {
  background: transparent;
  color: var(--on-ink);
  border-color: var(--on-ink-muted);
}
.btn-line-ink:hover {
  border-color: var(--on-ink);
  color: var(--on-ink);
}
.btn-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 520px) {
  .btn-row {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 1.4rem/1 var(--font-title);
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.brand:hover {
  color: var(--text);
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.nav-toggle {
  display: none;
}
.js .nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 14px;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font: 600 0.9375rem var(--font-text);
  cursor: pointer;
}
.nav-toggle svg {
  width: 18px;
  height: 18px;
}
.site-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0 16px;
  border-top: 1px solid var(--border);
}
.js .site-nav {
  display: none;
}
.js .site-nav.open {
  display: flex;
}
.site-nav a:not(.btn) {
  padding: 12px 4px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.site-nav a:not(.btn):hover {
  color: var(--accent);
}
.site-nav .btn {
  margin-top: 12px;
}
.header-top {
  display: flex;
  flex-direction: column;
}
.header-top .bar {
  width: 100%;
}
@media (min-width: 900px) {
  .header-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
  }
  .header-top .bar {
    width: auto;
  }
  .js .nav-toggle {
    display: none;
  }
  .site-nav,
  .js .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    padding: 0;
    border: 0;
  }
  .site-nav a:not(.btn) {
    padding: 6px 0;
    border: 0;
    font-size: 0.97rem;
  }
  .site-nav .btn {
    margin: 0;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 56px;
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero-ribbon {
  position: absolute;
  inset: auto -10% 0 -10%;
  width: 120%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.hero-ribbon path {
  fill: none;
  stroke: var(--accent-weak);
  stroke-width: 26;
  stroke-linecap: round;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.lead {
  font-size: 1.1875rem;
  color: var(--muted);
  max-width: 38em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.facts {
  display: grid;
  gap: 0;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.facts li {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.facts li:last-child {
  border-bottom: 0;
}
.facts b {
  display: block;
  font: 700 0.8125rem var(--font-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 2px;
}
@media (min-width: 760px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }
  .facts li {
    border-bottom: 0;
    border-right: 1px solid var(--border);
  }
  .facts li:last-child {
    border-right: 0;
  }
}
@media (min-width: 960px) {
  .hero {
    padding: 64px 0 72px;
  }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
  }
}

/* ---------- Maquettes ---------- */
.mock {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--on-ink);
  font: 600 0.875rem var(--font-text);
}
.mock-bar span:last-child {
  font-weight: 500;
  color: var(--on-ink-muted);
}
.mock-body {
  padding: 16px;
}
.mock-note {
  margin: 0;
  padding: 8px 14px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 0.8125rem;
  color: var(--muted);
}
.score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.score strong {
  font: 800 3.25rem/1 var(--font-title);
  letter-spacing: -0.03em;
  color: var(--text);
}
.score span {
  color: var(--muted);
  font-size: 0.9375rem;
}
.rows {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.rows li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 2px 8px;
  border-radius: 4px;
  font: 700 0.75rem/1.5 var(--font-text);
  color: var(--on-tc);
}
.tag-db {
  background: var(--t-db);
}
.tag-da {
  background: var(--t-da);
}
.tag-r {
  background: var(--t-r);
}
.bar-track {
  height: 8px;
  border-radius: 4px;
  background: var(--surface-2);
  overflow: hidden;
}
.bar-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
}
.w-100 {
  width: 100%;
}
.w-55 {
  width: 55%;
}
.w-40 {
  width: 40%;
}
.bar-fill.db {
  background: var(--t-db);
}
.bar-fill.da {
  background: var(--t-da);
}
.bar-fill.r {
  background: var(--t-r);
}
.rows b {
  font-variant-numeric: tabular-nums;
}
.alerts {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.alerts li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.4;
}
.alerts svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}
.al-ok {
  background: var(--ok-bg);
  color: var(--ok);
}
.al-warn {
  background: var(--warn-bg);
  color: var(--warn);
}
.al-err {
  background: var(--err-bg);
  color: var(--err);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  background: var(--bg);
}
.svg-mock {
  display: block;
  width: 100%;
  height: auto;
}
.svg-mock .t {
  font-family: var(--font-text);
  font-size: 15px;
  fill: var(--muted);
}
.svg-mock .t-strong {
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 700;
  fill: var(--on-tc);
}
.svg-mock .grid-line {
  stroke: var(--border);
  stroke-width: 1;
}

/* ---------- Sections ---------- */
.section {
  padding: 64px 0;
}
.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.section-head {
  max-width: 44rem;
  margin-bottom: 36px;
}
.section-head p {
  color: var(--muted);
  font-size: 1.125rem;
}

/* Disciplines */
.cards-4 {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .cards-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.disc {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 5px solid var(--c);
  border-radius: var(--radius);
}
.disc-gr {
  --c: var(--d-gr);
  --cbg: var(--d-gr-bg);
}
.disc-tr {
  --c: var(--d-tr);
  --cbg: var(--d-tr-bg);
}
.disc-af {
  --c: var(--d-af);
  --cbg: var(--d-af-bg);
}
.disc-am {
  --c: var(--d-am);
  --cbg: var(--d-am-bg);
}
.disc-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: var(--cbg);
  color: var(--c);
}
.disc-icon svg {
  width: 40px;
  height: 40px;
}
.disc h3 {
  margin-bottom: 6px;
}
.disc p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.97rem;
}
.badge {
  align-self: flex-start;
  margin-top: auto;
  padding: 3px 10px;
  border-radius: 999px;
  font: 700 0.78rem/1.5 var(--font-text);
  border: 1.5px solid var(--c);
  color: var(--text);
  background: var(--cbg);
}
.badge-soon {
  background: transparent;
  border-style: dashed;
}

/* Fonctions */
.feature {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 36px 0;
}
.feature + .feature {
  border-top: 1px solid var(--border);
}
.feature h3 {
  font-size: clamp(1.4rem, 4vw, 1.85rem);
}
.feature p {
  color: var(--muted);
}
.ticks {
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.ticks li {
  position: relative;
  padding-left: 28px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 9px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg) translateY(-3px);
}
@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
  .feature.flip .feature-text {
    order: 2;
  }
}
.grid-more {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 600px) {
  .grid-more {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .grid-more {
    grid-template-columns: repeat(4, 1fr);
  }
}
.grid-more li {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.grid-more svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 8px;
}
.grid-more h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.grid-more p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.5;
}
.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Étapes */
.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.steps li {
  counter-increment: step;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  font: 800 1.35rem var(--font-title);
}
.steps p {
  margin: 0;
  color: var(--muted);
}

/* Tarifs */
.billing {
  display: inline-flex;
  padding: 4px;
  margin-bottom: 28px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.billing button {
  min-height: 44px;
  padding: 8px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: 600 0.97rem var(--font-text);
  cursor: pointer;
}
.billing button[aria-checked='true'] {
  background: var(--accent);
  color: var(--on-accent);
}
.billing .save {
  font-weight: 500;
  font-size: 0.82rem;
  opacity: 0.9;
}
.plans {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 700px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .plans {
    grid-template-columns: repeat(4, 1fr);
  }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.plan.featured {
  border: 2px solid var(--accent);
}
.plan-tag {
  position: absolute;
  top: -13px;
  left: 20px;
  padding: 2px 12px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 999px;
  font: 700 0.78rem/1.6 var(--font-text);
}
.plan h3 {
  margin-bottom: 4px;
}
.plan .for {
  margin: 0 0 16px;
  min-height: 3.2em;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.45;
}
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}
.price strong {
  font: 800 2.6rem/1 var(--font-title);
  letter-spacing: -0.03em;
}
.price span {
  color: var(--muted);
  font-size: 0.95rem;
}
.price-note {
  min-height: 1.5em;
  margin: 0 0 18px;
  font-size: 0.85rem;
  color: var(--muted);
}
.plan .ticks {
  margin: 0 0 22px;
  font-size: 0.95rem;
}
.plan .btn {
  margin-top: auto;
}
.fine {
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--muted);
}

/* FAQ */
.faq {
  max-width: 48rem;
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  position: relative;
  padding: 18px 40px 18px 0;
  font: 700 1.1rem/1.35 var(--font-title);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s;
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
}

/* Bandeau final */
.cta-final {
  background: var(--ink);
  color: var(--on-ink);
  padding: 64px 0;
  text-align: center;
}
.cta-final h2 {
  color: var(--on-ink);
}
.cta-final p {
  color: var(--on-ink-muted);
  max-width: 36rem;
  margin-inline: auto;
}
.cta-final .btn-row {
  justify-content: center;
}
.cta-final a:focus-visible {
  outline-color: var(--on-ink);
}

/* Pied de page */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}
.foot-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 800px) {
  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.site-footer h2 {
  font: 700 0.8125rem var(--font-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.site-footer a {
  color: var(--text);
}
.site-footer a:hover {
  color: var(--accent);
}
.legal {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}
.legal p {
  margin: 0 0 8px;
}

/* ---------- Pages intérieures (téléchargement, commande) ---------- */
.page-head {
  padding: 40px 0 8px;
}
.crumbs {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--muted);
}
.crumbs a {
  color: var(--muted);
}
.dl-grid {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .dl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .dl-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.dl-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s;
}
.dl-card:hover {
  border-color: var(--accent);
  color: var(--text);
}
.dl-card svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 6px;
}
.dl-card h2 {
  font-size: 1.25rem;
  margin: 0;
}
.dl-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.dl-card .badge {
  --c: var(--warn);
  --cbg: var(--warn-bg);
  margin-top: 10px;
}
.soon-card {
  max-width: 40rem;
  padding: 28px;
  margin: 24px 0 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}
.soon-badge {
  display: inline-block;
  padding: 4px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--warn-bg);
  color: var(--warn);
  font: 700 0.875rem var(--font-text);
}
.notify {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.notify label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.notify .field-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 560px) {
  .notify .field-row {
    flex-direction: row;
  }
  .notify input {
    flex: 1;
  }
}
.notify input[type='email'] {
  min-height: 48px;
  padding: 8px 14px;
  font: 1rem var(--font-text);
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  min-width: 0;
}
.notify input:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 1px;
}
.notify .msg {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ok-bg);
  color: var(--ok);
  font-weight: 600;
}
.notify .msg[hidden] {
  display: none;
}
.demo-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}
.howto {
  max-width: 40rem;
  margin-top: 36px;
}
.howto ol {
  padding-left: 1.3em;
  color: var(--muted);
}
.howto li {
  margin-bottom: 6px;
}
.order-recap {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: var(--accent-weak);
  border-radius: var(--radius-sm);
}
.order-recap p {
  margin: 0;
}
.nf {
  padding: 72px 0 96px;
}
.nf .big {
  font: 800 clamp(5rem, 20vw, 9rem)/1 var(--font-title);
  color: var(--accent);
  margin: 0;
}

.sprite {
  position: absolute;
}
.mock {
  margin: 0;
}
.foot-blurb {
  margin-top: 12px;
  max-width: 26rem;
}
.billing {
  display: none;
}
.js .billing {
  display: inline-flex;
}
.spacer {
  height: 64px;
}

/* ---------- Pastilles des disciplines (hero) et fonction mise en avant ---------- */
.disc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.disc-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border: 1.5px solid var(--c);
  border-radius: 999px;
  background: var(--cbg);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}
.disc-pills svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--c);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pill-gr {
  --c: var(--d-gr);
  --cbg: var(--d-gr-bg);
}
.pill-tr {
  --c: var(--d-tr);
  --cbg: var(--d-tr-bg);
}
.pill-af {
  --c: var(--d-af);
  --cbg: var(--d-af-bg);
}
.pill-am {
  --c: var(--d-am);
  --cbg: var(--d-am-bg);
}
.feature-lead {
  padding-top: 8px;
}
.feature-lead h3 {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
}

/* ---------- Liste d'éléments dessinée (maquettes) ---------- */
.lib-mock {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.lib-mock li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  font-size: 0.95rem;
}
.lib-mock b {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
