/* test-linkavista.fr Feuille de style unique, ecrite a la main. Concept : comparateur. Tableaux, cartes versus, matrice de decision, scores en barres, palette violet et fuchsia. Mode clair uniquement. */

/* 1. Variables */
:root {
  /* Couleurs de fond */
  --bg: #FFFFFF;
  --bg-alt: #FCF4FF;
  --surface: #FFFFFF;
  --surface-soft: #FAF5FF;
  --surface-deep: #F5EBFB;

  /* Texte */
  --text: #1D1229;
  --text-soft: #5F5273;
  --text-mute: #7A6E8C;

  /* Accents */
  --violet: #9333EA;
  --violet-dark: #7322C4;
  --violet-light: #D8B4FE;
  --fuchsia: #C026D3;
  --fuchsia-dark: #A21CAF;
  --green: #16A34A;
  --green-soft: #ECFDF3;
  --green-line: #BBF7D0;
  --gray: #94A3B8;
  --gray-soft: #F1F5F9;

  /* Bordures */
  --line: #EEDDF7;
  --line-strong: #E0C6F0;

  /* Degrades */
  --grad: linear-gradient(100deg, #9333EA 0%, #C026D3 100%);
  --grad-soft: linear-gradient(100deg, #FAF0FF 0%, #FDF2FE 100%);
  --grad-bar: linear-gradient(90deg, #9333EA 0%, #C026D3 100%);

  /* Rayons */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Ombres */
  --sh-xs: 0 1px 2px rgba(29, 18, 41, 0.05);
  --sh-sm: 0 2px 8px rgba(29, 18, 41, 0.06);
  --sh-md: 0 8px 24px rgba(29, 18, 41, 0.08);
  --sh-lg: 0 18px 44px rgba(29, 18, 41, 0.10);
  --sh-violet: 0 10px 26px rgba(147, 51, 234, 0.24);

  /* Espacements */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 44px;
  --s-8: 60px;
  --s-9: 84px;

  /* Transitions */
  --t-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 260ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 420ms cubic-bezier(0.22, 0.8, 0.28, 1);

  /* Divers */
  --header-h: 72px;
  --wrap: 1180px;
  --wrap-narrow: 860px;
}

/* 2. Reset */
*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
picture,
svg { display: block; max-width: 100%; height: auto; }
input,
button,
textarea,
select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a {
  color: var(--violet-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--t-fast);
}
a:hover { color: var(--fuchsia); }
:focus-visible { outline: 3px solid var(--fuchsia); outline-offset: 3px; border-radius: var(--r-xs); }
ul,
ol { padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

/* 3. Typographie */
h1,
h2,
h3,
h4,
h5 {
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.16;
  letter-spacing: -0.018em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 1.35rem + 2.9vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.62rem, 1.25rem + 1.6vw, 2.35rem); letter-spacing: -0.024em; }
h3 { font-size: clamp(1.16rem, 1.02rem + 0.6vw, 1.42rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.03rem; font-weight: 600; line-height: 1.36; }
p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }
strong,
b { font-weight: 600; color: #150C1F; }
small { font-size: 0.86rem; }
code {
  font-family: 'DM Sans', ui-monospace, monospace;
  background: var(--surface-deep);
  border-radius: var(--r-xs);
  padding: 0.1em 0.4em;
  font-size: 0.92em;
}

/* 4. Utilitaires de mise en page */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding-block: clamp(48px, 3rem + 3vw, 88px); scroll-margin-top: calc(var(--header-h) + 16px); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section--tint { background: var(--grad-soft); border-block: 1px solid var(--line); }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--violet);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-md) 0;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 5. Kicker, titres de section, lead */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fuchsia-dark);
  background: #FBEBFE;
  border: 1px solid #F3D6FB;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-bar);
  flex: none;
}
.section-head { max-width: 780px; margin-bottom: var(--s-6); }
.lead { font-size: clamp(1.02rem, 0.98rem + 0.24vw, 1.14rem); color: var(--text-soft); line-height: 1.68; }
.section-note {
  font-size: 0.9rem;
  color: var(--text-mute);
  border-left: 3px solid var(--line-strong);
  padding-left: 14px;
  margin-top: var(--s-5);
}

/* 6. Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 15px 26px;
  border-radius: var(--r-md);
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t-base),
    background-color var(--t-base), color var(--t-base), border-color var(--t-base);
  text-align: center;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--sh-violet); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(147, 51, 234, 0.32); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: var(--surface); color: var(--violet-dark); border-color: var(--line-strong); box-shadow: var(--sh-xs); }
.btn--ghost:hover { background: var(--surface-soft); color: var(--violet-dark); border-color: var(--violet-light); transform: translateY(-2px); }
.btn--small { padding: 10px 18px; font-size: 0.9rem; border-radius: var(--r-sm); }
.btn--wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--s-5); }
.btn-hint { font-size: 0.84rem; color: var(--text-mute); margin-top: 12px; }

/* 7. Header et navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-base), padding var(--t-base),
    background-color var(--t-base);
}
.site-header.is-compact { box-shadow: var(--sh-sm); background: rgba(255, 255, 255, 0.98); }
.header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
  transition: min-height var(--t-base);
}
.site-header.is-compact .header-inner { min-height: 60px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  flex: none;
}
.brand:hover { color: var(--violet-dark); }
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: var(--sh-violet);
  flex: none;
}
.brand-sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  padding: 8px 11px;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background-color var(--t-fast);
  white-space: nowrap;
}
.nav a:hover { color: var(--violet-dark); background: var(--surface-soft); }
.nav a.is-active { color: var(--violet-dark); background: #F7EBFE; font-weight: 600; }
.header-cta { flex: none; }
/* Entrees de navigation reservees au panneau mobile */
.nav-more { display: none; }

/* En-tete sur une seule ligne en desktop, aucun mot coupe */
@media (min-width: 1121px) {
  .header-inner { flex-wrap: nowrap; }
  .nav { flex-wrap: nowrap; }
  .brand { white-space: nowrap; }
  .brand-txt { display: block; white-space: nowrap; }
  .brand-sub { white-space: nowrap; }
  .nav a { white-space: nowrap; }
  .header-cta { white-space: nowrap; }
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex: none;
}
.burger span {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Barre de progression de lecture */
.progress-bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 0;
  background: var(--grad-bar);
  transition: width 90ms linear;
  border-radius: 0 3px 3px 0;
}

/* 8. Hero */
.hero {
  position: relative;
  padding-block: clamp(40px, 2.4rem + 3.4vw, 82px);
  background:
    radial-gradient(900px 420px at 85% -8%, #F6E6FE 0%, rgba(246, 230, 254, 0) 62%),
    radial-gradient(720px 380px at 4% 8%, #FCEEFF 0%, rgba(252, 238, 255, 0) 60%),
    var(--bg);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(28px, 3vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.03rem, 0.98rem + 0.3vw, 1.16rem); color: var(--text-soft); margin-bottom: 22px; max-width: 58ch; }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--sh-lg); }
.hero-badge {
  position: absolute;
  right: -10px;
  bottom: -18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  box-shadow: var(--sh-md);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 250px;
}
.hero-badge .bb-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.hero-badge .bb-txt { font-size: 0.78rem; color: var(--text-soft); line-height: 1.35; }

/* Bloc note */
.rating-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  box-shadow: var(--sh-sm);
  margin-bottom: 22px;
  max-width: 430px;
}
.rating-score {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex: none;
}
.rating-score sup { font-size: 0.9rem; font-weight: 600; color: var(--text-mute); -webkit-text-fill-color: var(--text-mute); }
.rating-meta { font-size: 0.84rem; color: var(--text-soft); line-height: 1.45; }
.stars { display: flex; gap: 2px; margin-bottom: 3px; }
.stars svg { width: 15px; height: 15px; fill: var(--fuchsia); }
.stars svg.half { fill: var(--violet-light); }

/* Reperes */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.stat { text-align: left; }
.stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.28rem, 1.1rem + 0.7vw, 1.7rem);
  font-weight: 700;
  color: var(--violet-dark);
  line-height: 1.05;
  letter-spacing: -0.02em;
  display: block;
}
.stat-lab {
  font-size: 0.78rem;
  color: var(--text-mute);
  line-height: 1.35;
  display: block;
  margin-top: 4px;
}

/* Signature courte */
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.86rem;
  color: var(--text-soft);
}
.byline img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 2px var(--violet-light);
  flex: none;
}
.byline strong { color: var(--text); display: block; font-weight: 600; }

/* 9. Cartes generiques */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-xs);
  transition: transform var(--t-base), box-shadow var(--t-base),
    border-color var(--t-base);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--line-strong); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 0.96rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* Cartes modeles */
.model-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px 24px;
  box-shadow: var(--sh-xs);
  transition: transform var(--t-base), box-shadow var(--t-base),
    border-color var(--t-base);
  display: flex;
  flex-direction: column;
}
.model-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-bar);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  opacity: 0.55;
  transition: opacity var(--t-base);
}
.model-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-strong); }
.model-card:hover::before { opacity: 1; }
.model-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fuchsia-dark);
  margin-bottom: 8px;
}
.model-card h3 { margin-bottom: 12px; }
.model-card > p { color: var(--text-soft); font-size: 0.95rem; }
.model-meta {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  border-top: 1px dashed var(--line-strong);
  padding-top: 14px;
  display: grid;
  gap: 8px;
}
.model-meta li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
  margin: 0;
}
.model-meta dt,
.model-meta .k { color: var(--text-mute); }
.model-meta .v { font-weight: 600; color: var(--text); text-align: right; }

/* 10. Tableaux */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-sm);
  -webkit-overflow-scrolling: touch;
}
.table-wrap.is-sticky { max-height: 78vh; overflow-y: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
table caption {
  caption-side: top;
  text-align: left;
  padding: 16px 20px 12px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}
thead th {
  background: #F6EAFD;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-strong);
  vertical-align: bottom;
  white-space: nowrap;
}
.table-wrap.is-sticky thead th { position: sticky; top: 0; z-index: 3; box-shadow: inset 0 -1px 0 var(--line-strong); }
tbody td,
tbody th { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
tbody th[scope="row"] {
  font-weight: 600;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  background: var(--surface-soft);
  min-width: 190px;
}
.table-wrap.is-sticky tbody th[scope="row"] { position: sticky; left: 0; z-index: 2; box-shadow: inset -1px 0 0 var(--line); }
tbody tr:last-child td,
tbody tr:last-child th { border-bottom: none; }
tbody tr { transition: background-color var(--t-fast); }
tbody tr:hover { background: #FDF7FF; }
td.num,
th.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Colonne mise en avant */
.col-hl { background: #FBF1FF; }
thead th.col-hl { background: #F1DDFB; color: var(--violet-dark); }

/* Bouton de tri */
.sortable th[data-sort] {
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-right: 30px;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.sortable th[data-sort]:hover { background: #EFDCFB; color: var(--violet-dark); }
.sortable th[data-sort]::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 5px solid var(--gray);
  transform: translateY(-50%);
  opacity: 0.45;
  transition: opacity var(--t-fast), transform var(--t-fast),
    border-color var(--t-fast);
}
.sortable th[aria-sort="ascending"]::after { opacity: 1; border-bottom-color: var(--violet); }
.sortable th[aria-sort="descending"]::after { opacity: 1; border-bottom-color: var(--violet); transform: translateY(-50%) rotate(180deg); }
tbody tr.row-moving { animation: rowIn var(--t-base) ease both; }
@keyframes rowIn {
  from { opacity: 0.25; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}
.table-hint {
  font-size: 0.82rem;
  color: var(--text-mute);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Puces de score dans les cellules */
.pill {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}
.pill--good { background: var(--green-soft); color: #12703A; border: 1px solid var(--green-line); }
.pill--mid { background: #FEF6E7; color: #92660C; border: 1px solid #FAE7C0; }
.pill--low { background: var(--gray-soft); color: #4B5563; border: 1px solid #E2E8F0; }
.pill--violet { background: #F7EBFE; color: var(--violet-dark); border: 1px solid var(--line-strong); }

/* 11. Cartes versus */
.versus {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 74px 1fr;
  align-items: stretch;
  gap: 0;
  margin-top: var(--s-5);
}
.versus-side { background: var(--surface); border: 1px solid var(--line); padding: 26px 26px 24px; box-shadow: var(--sh-xs); }
.versus-side:first-of-type { border-radius: var(--r-lg) 0 0 var(--r-lg); border-right: none; }
.versus-side:last-of-type { border-radius: 0 var(--r-lg) var(--r-lg) 0; border-left: none; }
.versus-side--win { background: linear-gradient(180deg, #FDF6FF 0%, #FFFFFF 46%); border-color: var(--line-strong); }
.versus-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 6px;
}
.versus-side--win .versus-tag { color: var(--fuchsia-dark); }
.versus-side h3 { margin-bottom: 12px; }
.versus-side p { font-size: 0.94rem; color: var(--text-soft); }
.versus-pip { display: grid; place-items: center; position: relative; }
.versus-pip::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
}
.versus-pip span {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 6px #fff, var(--sh-violet);
  text-transform: uppercase;
}
.versus-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 9px;
}
.versus-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0;
}
.versus-list li::before {
  position: absolute;
  left: 0;
  top: 0.02em;
  font-weight: 700;
  font-size: 0.95rem;
}
.versus-list li.plus::before { content: "+"; color: var(--green); }
.versus-list li.minus::before { content: "!"; color: var(--fuchsia); }
.versus-verdict {
  margin-top: var(--s-5);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--violet);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 18px 22px;
}
.versus-verdict h4 {
  font-family: 'DM Sans', sans-serif;
  color: var(--violet-dark);
  margin-bottom: 6px;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.versus-verdict p { font-size: 0.95rem; color: var(--text-soft); }

/* 12. Barres de score */
.score-list { display: grid; gap: 15px; margin-top: var(--s-5); }
.score-row { display: grid; grid-template-columns: 210px 1fr 58px; align-items: center; gap: 14px; }
.score-label { font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--text); }
.score-label small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.76rem;
  color: var(--text-mute);
  line-height: 1.3;
}
.score-track {
  position: relative;
  height: 12px;
  background: var(--surface-deep);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.score-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: var(--r-pill);
  background: var(--grad-bar);
  transition: width var(--t-slow);
}
.score-fill--flat { background: linear-gradient(90deg, #B9A7CC 0%, #9C8CB0 100%); }
.score-val {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--violet-dark);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* 13. Matrice de decision */
.matrix {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 24px;
  align-items: start;
  margin-top: var(--s-5);
}
.matrix-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-sm);
}
.matrix-panel h3 { margin-bottom: 6px; }
.matrix-panel > p { font-size: 0.9rem; color: var(--text-mute); margin-bottom: 18px; }
.slider-group { display: grid; gap: 20px; }
.slider { display: block; }
.slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 7px;
}
.slider-name { font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--text); }
.slider-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fuchsia-dark);
  background: #FBEBFE;
  border: 1px solid #F3D6FB;
  border-radius: var(--r-pill);
  padding: 2px 11px;
  white-space: nowrap;
}
.slider-desc { font-size: 0.78rem; color: var(--text-mute); margin-top: 6px; line-height: 1.42; }
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  background: transparent;
  cursor: pointer;
  margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--violet) 0%, var(--fuchsia) 100%); border: none; }
input[type="range"]::-moz-range-track { height: 8px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--violet) 0%, var(--fuchsia) 100%); border: none; }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--violet);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-fast), border-color var(--t-fast);
}
input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--violet);
  box-shadow: var(--sh-sm);
}
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.1); border-color: var(--fuchsia); }
input[type="range"]:focus-visible::-webkit-slider-thumb { border-color: var(--fuchsia); box-shadow: 0 0 0 4px rgba(192, 38, 211, 0.24); }
.matrix-results {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-sm);
}
.matrix-results h3 { margin-bottom: 4px; }
.matrix-lead { font-size: 0.88rem; color: var(--text-mute); margin-bottom: 18px; }
.result-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}
.result-row:last-of-type { border-bottom: none; }
.result-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.result-name { font-family: 'DM Sans', sans-serif; font-size: 0.94rem; font-weight: 600; }
.result-score {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--violet-dark);
  font-variant-numeric: tabular-nums;
}
.result-row.is-top .result-name::after {
  content: "recommande";
  display: inline-block;
  margin-left: 9px;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad);
  border-radius: var(--r-pill);
  padding: 2px 9px;
  vertical-align: middle;
}
.matrix-verdict {
  margin-top: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.matrix-verdict strong { color: var(--violet-dark); }
.matrix-reset { margin-top: 16px; }

/* 14. Encadres */
.callout { border-radius: var(--r-md); padding: 18px 22px; margin-block: var(--s-5); font-size: 0.95rem; }
.callout h4 {
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}
.callout--adv { background: var(--green-soft); border: 1px solid var(--green-line); border-left: 4px solid var(--green); color: #14532D; }
.callout--adv h4 { color: #12703A; }
.callout--adv p { color: #245C3C; }
.callout--warn { background: #FAF0FE; border: 1px solid var(--line-strong); border-left: 4px solid var(--violet); color: var(--text); }
.callout--warn h4 { color: var(--violet-dark); }
.callout--warn p { color: var(--text-soft); }
.callout--method { background: var(--surface); border: 1px dashed var(--line-strong); border-left: 4px solid var(--fuchsia); box-shadow: var(--sh-xs); }
.callout--method h4 { color: var(--fuchsia-dark); }
.callout--method p,
.callout--method li { color: var(--text-soft); }
.callout ol,
.callout ul { margin-top: 8px; margin-bottom: 0; }
.callout-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-block: var(--s-5); }
.callout-duo .callout { margin: 0; }

/* 15. Listes de controle */
.checklist {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.check-item { margin: 0; }
.check-item label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--text-soft);
  transition: border-color var(--t-fast), background-color var(--t-fast),
    box-shadow var(--t-fast);
}
.check-item label:hover { border-color: var(--violet-light); box-shadow: var(--sh-xs); }
.check-item input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--line-strong);
  border-radius: 6px;
  flex: none;
  margin-top: 2px;
  transition: background-color var(--t-fast), border-color var(--t-fast);
  position: relative;
}
.check-item input:checked { background: var(--grad); border-color: var(--violet); }
.check-item input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check-item input:checked ~ span { color: var(--text-mute); text-decoration: line-through; text-decoration-color: var(--violet-light); }
.checklist-meter {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--text-soft);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}
.checklist-meter .score-track { flex: 1; }

/* Listes a puces stylees */
.tick-list {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0 0;
  display: grid;
  gap: 10px;
}
.tick-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--text-soft);
  margin: 0;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--grad);
  opacity: 0.9;
}
.tick-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.62em;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.num-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0 0;
  display: grid;
  gap: 14px;
}
.num-list li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.num-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #F7EBFE;
  border: 1px solid var(--line-strong);
  color: var(--violet-dark);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}
.num-list li strong { display: block; color: var(--text); font-family: 'DM Sans', sans-serif; }

/* 16. Criteres, profils, planning */
.criteria-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: var(--s-5); }
.criterion {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.criterion:hover { border-color: var(--line-strong); box-shadow: var(--sh-sm); }
.criterion-head { display: flex; align-items: center; gap: 11px; margin-bottom: 9px; }
.criterion-idx {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  flex: none;
}
.criterion h3 { font-size: 1.02rem; margin: 0; }
.criterion p { font-size: 0.92rem; color: var(--text-soft); }
.criterion .how {
  margin-top: 9px;
  font-size: 0.85rem;
  color: var(--text-mute);
  border-top: 1px dashed var(--line);
  padding-top: 9px;
}
.criterion .how strong { color: var(--violet-dark); }
.profile-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-xs);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.profile-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.profile-head { background: var(--grad-soft); border-bottom: 1px solid var(--line); padding: 20px 22px 16px; }
.profile-head h3 { margin-bottom: 4px; }
.profile-head p { font-size: 0.85rem; color: var(--text-mute); margin: 0; }
.profile-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.profile-body p { font-size: 0.93rem; color: var(--text-soft); }
.profile-verdict { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-strong); font-size: 0.88rem; }
.profile-verdict span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 4px;
}
.profile-verdict strong { color: var(--violet-dark); font-size: 0.98rem; }
.timeline { margin-top: var(--s-5); display: grid; gap: 0; }
.day {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.day:last-child { border-bottom: none; }
.day-tag {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--fuchsia-dark);
  padding-top: 2px;
}
.day-tag small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text-mute);
  font-size: 0.76rem;
  margin-top: 2px;
}
.day-body h3 { font-size: 1.03rem; margin-bottom: 7px; }
.day-body p { font-size: 0.94rem; color: var(--text-soft); }

/* Figure */
.figure { margin: var(--s-6) 0 0; }
.figure img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh-md); }
.figure figcaption {
  font-size: 0.83rem;
  color: var(--text-mute);
  margin-top: 10px;
  text-align: left;
  border-left: 3px solid var(--line-strong);
  padding-left: 12px;
}
.split { display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(24px, 3vw, 44px); align-items: center; }
.split--rev { grid-template-columns: 0.8fr 1fr; }

/* 17. Glossaire */
.glossary { margin-top: var(--s-5); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
.gloss-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.gloss-item dt {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--violet-dark);
  margin-bottom: 5px;
}
.gloss-item dd { margin: 0; font-size: 0.92rem; color: var(--text-soft); }

/* 18. FAQ */
.faq { margin-top: var(--s-5); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: 19px 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--t-fast);
}
.faq-q:hover { color: var(--violet-dark); }
.faq-icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
  position: relative;
  transition: background-color var(--t-base), transform var(--t-base),
    border-color var(--t-base);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--violet-dark);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: opacity var(--t-fast), background-color var(--t-fast);
}
.faq-icon::before { width: 11px; height: 2px; }
.faq-icon::after { width: 2px; height: 11px; }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--grad); border-color: transparent; transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .faq-icon::before,
.faq-q[aria-expanded="true"] .faq-icon::after { background: #fff; }
.faq-q[aria-expanded="true"] .faq-icon::after { opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height var(--t-slow); }
.faq-a-inner { padding: 0 4px 22px; font-size: 0.96rem; color: var(--text-soft); max-width: 76ch; }
.faq-a-inner p + p { margin-top: 0.8em; }
.faq-tools { display: flex; gap: 10px; margin-top: var(--s-4); flex-wrap: wrap; }

/* 19. Sources */
.sources {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0 0;
  display: grid;
  gap: 12px;
}
.sources li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 15px 18px;
  font-size: 0.92rem;
  color: var(--text-soft);
  margin: 0;
}
.sources li strong {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  display: block;
  margin-bottom: 3px;
  font-size: 0.94rem;
}

/* 20. Bloc auteur */
.author {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 28px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px;
  box-shadow: var(--sh-sm);
  position: relative;
  overflow: hidden;
}
.author::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--grad-bar);
}
.author-photo {
  width: 168px;
  height: 168px;
  border-radius: var(--r-lg);
  object-fit: cover;
  border: 1px solid var(--line);
}
.author-name { font-family: 'DM Sans', sans-serif; font-size: 1.34rem; font-weight: 700; margin-bottom: 2px; }
.author-role { font-size: 0.88rem; color: var(--fuchsia-dark); font-weight: 600; margin-bottom: 12px; }
.author-bio { font-size: 0.95rem; color: var(--text-soft); margin-bottom: 16px; }
.author-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.author-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--violet-dark);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  transition: background-color var(--t-fast), border-color var(--t-fast),
    transform var(--t-fast);
}
.author-links a:hover { background: #F7EBFE; border-color: var(--violet-light); transform: translateY(-1px); }
.author-date { font-size: 0.82rem; color: var(--text-mute); }

/* 21. CTA final */
.cta-final {
  background:
    radial-gradient(700px 340px at 12% 0%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 60%),
    var(--grad);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(32px, 3vw, 52px);
  text-align: center;
  box-shadow: var(--sh-lg);
}
.cta-final h2 { color: #fff; margin-bottom: 12px; }
.cta-final p { color: rgba(255, 255, 255, 0.9); max-width: 64ch; margin-inline: auto; font-size: 1.02rem; }
.cta-final .btn-row { justify-content: center; }
.cta-final .btn--primary { background: #fff; color: var(--violet-dark); box-shadow: 0 10px 26px rgba(29, 18, 41, 0.22); }
.cta-final .btn--primary:hover { color: var(--fuchsia-dark); background: #fff; }
.cta-final .btn--ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.cta-final .btn--ghost:hover { background: rgba(255, 255, 255, 0.2); color: #fff; border-color: #fff; }
.cta-final .btn-hint { color: rgba(255, 255, 255, 0.78); }
.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  margin-top: var(--s-5);
  box-shadow: var(--sh-xs);
}
.inline-cta p { margin: 0; font-size: 0.95rem; color: var(--text-soft); max-width: 62ch; }
.inline-cta strong {
  font-family: 'DM Sans', sans-serif;
  display: block;
  color: var(--text);
  margin-bottom: 3px;
  font-size: 1rem;
}

/* 22. Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-block: var(--s-8) var(--s-5); margin-top: var(--s-8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.footer-col h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fuchsia-dark);
  margin-bottom: 14px;
}
.footer-col p { font-size: 0.9rem; color: var(--text-soft); }
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--t-fast), transform var(--t-fast);
}
.footer-links a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet-light);
  flex: none;
  transition: background-color var(--t-fast);
}
.footer-links a:hover { color: var(--violet-dark); transform: translateX(2px); }
.footer-links a:hover::before { background: var(--fuchsia); }
.footer-bottom {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  font-size: 0.83rem;
  color: var(--text-mute);
}
.footer-bottom p { margin: 0; max-width: 92ch; }
.disclosure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* 23. Retour en haut */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--sh-violet);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-base), transform var(--t-base),
    visibility var(--t-base);
  z-index: 80;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg {
  width: 19px;
  height: 19px;
  stroke: #fff;
  stroke-width: 2.4;
  fill: none;
}

/* 24. Reveal au scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 500ms cubic-bezier(0.22, 0.8, 0.28, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 70ms; }
.reveal-d2 { transition-delay: 140ms; }
.reveal-d3 { transition-delay: 210ms; }

/* 25. Page 404 */
.err {
  min-height: 66vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--s-9);
}
.err-code {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(4rem, 3rem + 8vw, 8rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.04em;
}
.err p { color: var(--text-soft); max-width: 52ch; margin-inline: auto; }

/* 26. Responsive */
@media (max-width: 1200px) {
  .nav a { padding: 8px 8px; font-size: 0.86rem; }
  .score-row { grid-template-columns: 180px 1fr 54px; }
  .author { grid-template-columns: 148px 1fr; }
  .author-photo { width: 148px; height: 148px; }
}
@media (max-width: 980px) {
  body { font-size: 16.5px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-badge { right: 10px; bottom: -14px; }
  .matrix,
  .split,
  .split--rev { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; }
  .day { grid-template-columns: 104px 1fr; gap: 16px; }
}

/* Bascule vers le menu burger : au-dessus de 1120px la navigation desktop
   reste visible, a 1120px et en dessous le panneau mobile prend le relais. */
@media (max-width: 1120px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
    padding: 12px 20px 20px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-base), transform var(--t-base),
      visibility var(--t-base);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    padding: 12px 14px;
    font-size: 0.96rem;
    border-radius: var(--r-sm);
    white-space: normal;
  }
  .nav-more { display: contents; }
  .burger { display: flex; }
  .header-cta { display: none; }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 18px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .grid-2,
  .grid-3,
  .grid-4,
  .criteria-grid,
  .checklist,
  .glossary,
  .callout-duo { grid-template-columns: 1fr; }
  .versus { grid-template-columns: 1fr; }
  .versus-side:first-of-type { border-radius: var(--r-lg) var(--r-lg) 0 0; border-right: 1px solid var(--line); border-bottom: none; }
  .versus-side:last-of-type { border-radius: 0 0 var(--r-lg) var(--r-lg); border-left: 1px solid var(--line); border-top: none; }
  .versus-side--win { border-color: var(--line-strong); }
  .versus-pip { height: 46px; }
  .versus-pip::before {
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 1px;
  }
  .versus-pip span { width: 46px; height: 46px; font-size: 0.84rem; }
  .author { grid-template-columns: 1fr; padding: 24px; text-align: left; }
  .author-photo { width: 124px; height: 124px; }
  .score-row { grid-template-columns: 1fr; gap: 6px; }
  .score-val { text-align: left; }
  .score-row .score-track { order: 3; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .table-wrap.is-sticky { max-height: none; }
  .table-wrap.is-sticky tbody th[scope="row"] { position: static; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .day { grid-template-columns: 1fr; gap: 8px; }
  .day-tag small { display: inline; margin-left: 8px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 15px; }
  .section { padding-block: 40px; }
  .card,
  .model-card,
  .versus-side,
  .matrix-panel,
  .matrix-results { padding: 19px; }
  .rating-card { flex-wrap: wrap; gap: 10px; }
  .hero-badge { position: static; max-width: none; margin-top: 14px; }
  .brand span.brand-txt { font-size: 0.95rem; }
  table { font-size: 0.85rem; }
  thead th,
  tbody td,
  tbody th { padding: 10px 12px; }
  .cta-final { padding: 26px 20px; }
  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

/* 27. Mouvement reduit */
@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; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 28. Impression */
@media print {
  .site-header,
  .to-top,
  .burger,
  .btn-row,
  .inline-cta,
  .matrix-panel,
  .cta-final { display: none !important; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .section { padding-block: 14pt; break-inside: avoid; }
  .reveal { opacity: 1; transform: none; }
  .faq-a { max-height: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  .table-wrap { overflow: visible; box-shadow: none; }
  table { min-width: 0; }
}

/* 29. Logo de la plateforme */
.platform-logo { width: 66px; height: auto; border-radius: var(--r-md); border: 1px solid var(--line); margin-bottom: 14px; }

/* Complements */
/* Sous titres de niveau 3 introduisant une sous section a l interieur d une section */
.section-head h3 {
  font-size: clamp(1.32rem, 1.1rem + 0.75vw, 1.72rem);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.24;
  margin-bottom: 12px;
}
/* Liste de controle operationnelle : intitule en gras sur sa propre ligne */
.tick-list li strong {
  display: block;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 2px;
}
