/* ORB Access : feuille de style unique (mobile first). Monde « Deep Signal » : salles sombres encre-teal
   et fiches de briefing claires. Jetons d'abord, puis composants. Version automatique par filemtime (TECH-SPEC §7). */

@font-face { font-family: "Archivo Text"; src: url("/assets/fonts/archivo-text.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo Cond"; src: url("/assets/fonts/archivo-cond.woff2") format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("/assets/fonts/martian-mono.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  /* encres et fonds */
  --ink: #0B2A33; --deep: #071C22; --ink-2: #103A45; --ink-3: #154653;
  --line-dark: rgba(165, 198, 204, .18);
  --on-dark: #E8F3F4; --on-dark-2: #A5C6CC; --on-dark-3: #8CAEB5;
  --mist: #F4F8FA; --white: #FFFFFF; --line: #D6E3E6;
  --text: #0B2A33; --text-2: #3E5C64; --text-3: #56747B;
  /* action et accents */
  --mint: #4FD8B0; --mint-press: #3FC29C; --teal: #0A7C8A; --teal-link: #086774; --teal-press: #076470;
  --ember: #F0654B; --ember-soft: #FF8F78;
  /* données : back / lay */
  --back: #CFD6FF; --back-strong: #A9B4FF; --back-ink: #2B3A8C;
  --lay: #FFD2BC; --lay-strong: #FFB08C; --lay-ink: #8A3A1B;
  /* teintes de bandes */
  --tint-teal: #E6F2F3; --tint-mint: #E4F9F2; --tint-back: #EEF0FF; --tint-lay: #FFF1EA;
  /* états */
  --ok: #1E7B5B; --warn: #8A5A00; --bad: #B42343;
  /* typographie */
  --f-text: "Archivo Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-cond: "Archivo Cond", "Archivo Narrow", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  /* échelle */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem;
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(7, 28, 34, .08), 0 8px 24px -12px rgba(7, 28, 34, .28);
  --shadow-2: 0 2px 4px rgba(7, 28, 34, .10), 0 24px 48px -20px rgba(7, 28, 34, .45);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 72rem; --wrap-wide: 78rem; --gutter: 1rem;
  color-scheme: light;
}
@media (min-width: 40em) { :root { --gutter: 1.5rem; } }
@media (min-width: 64em) { :root { --gutter: 2rem; } }

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
body { margin: 0; background: var(--mist); color: var(--text); font: 400 1.0625rem/1.62 var(--f-text); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-link); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.on-dark :focus-visible, .sect--dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--mint); }
input, select, button, textarea { font: inherit; color: inherit; caret-color: var(--teal); }
::marker { color: var(--teal); }
html { scrollbar-color: var(--teal) var(--mist); scrollbar-width: thin; }
.num, .mono, td.num, th.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums slashed-zero; font-feature-settings: "tnum" 1, "zero" 1; letter-spacing: -.01em; }
.skip { position: absolute; left: .5rem; top: -4rem; z-index: 100; background: var(--mint); color: var(--ink); padding: .6rem 1rem; border-radius: var(--r-sm); font-weight: 600; transition: top .2s var(--ease); }
.skip:focus { top: .5rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* titres */
h1, h2, h3, h4 { margin: 0; text-wrap: balance; word-spacing: .05em; font-family: var(--f-cond); font-weight: 800; letter-spacing: -.012em; line-height: 1.04; color: inherit; }
h1 { font-size: clamp(2.5rem, 1.3rem + 5vw, 4.5rem); letter-spacing: -.02em; line-height: .98; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); font-weight: 700; }
h3 { font-family: var(--f-text); font-weight: 650; font-size: 1.25rem; letter-spacing: -.005em; line-height: 1.25; }
h4 { font-family: var(--f-text); font-weight: 650; font-size: 1rem; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: clamp(1.125rem, 1rem + .6vw, 1.3125rem); line-height: 1.5; color: var(--text-2); max-width: 46rem; }
.on-dark .lead, .sect--dark .lead, .hero .lead { color: var(--on-dark-2); }

/* mise en page */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: calc(var(--wrap-wide) + 2 * var(--gutter)); }
.sect { padding-block: clamp(3rem, 2rem + 4.5vw, 5.5rem); position: relative; }
.sect--white { background: var(--white); }
.sect--tint-teal { background: var(--tint-teal); }
.sect--tint-back { background: var(--tint-back); }
.sect--tint-lay { background: var(--tint-lay); }
.sect--dark { background: var(--ink); color: var(--on-dark); }
.sect--deep { background: var(--deep); color: var(--on-dark); }
.sect--dark a:not(.btn), .sect--deep a:not(.btn) { color: var(--mint); }
.sect--tight { padding-block: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); }
.sect__head { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); max-width: 46rem; }
.sect__head p { color: var(--text-2); font-size: 1.125rem; }
.sect--dark .sect__head p, .sect--deep .sect__head p { color: var(--on-dark-2); }
.stack > * + * { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.stack-lg > * + * { margin-top: var(--s-6); }
.split { display: grid; gap: var(--s-6); }
@media (min-width: 64em) { .split { grid-template-columns: 7fr 5fr; gap: var(--s-7); align-items: start; } .split--even { grid-template-columns: 1fr 1fr; } .split--rev { grid-template-columns: 5fr 7fr; } }

/* prose : le texte d'article */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.2em; margin-bottom: .1em; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); }
.prose h3 { margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.25em; display: grid; gap: .5em; }
.prose li { padding-left: .2em; }
.prose strong { font-weight: 650; }
.prose a { font-weight: 500; }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.9rem; padding: .7rem 1.25rem; border: 1.5px solid transparent; border-radius: var(--r-md); font: 650 1rem/1.1 var(--f-text); text-decoration: none; cursor: pointer; transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease); }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--mint { background: var(--mint); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(79, 216, 176, .8); }
.btn--mint:hover { background: var(--mint-press); text-decoration: none; }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-press); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(232, 243, 244, .45); }
.btn--ghost:hover { border-color: var(--mint); color: var(--mint); text-decoration: none; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); text-decoration: none; }
.btn--sm { min-height: 2.4rem; padding: .5rem .9rem; font-size: .9375rem; border-radius: 10px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.sect--dark .btn--mint, .sect--deep .btn--mint, .hero .btn--mint { color: var(--ink); }
.sect--dark a.btn--ghost, .sect--deep a.btn--ghost { color: var(--on-dark); }
.sect--dark a.btn--ghost:hover, .sect--deep a.btn--ghost:hover { color: var(--mint); }

/* icônes */
.icon { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* en-tête */
.site-header { background: var(--deep); color: var(--on-dark); position: relative; z-index: 20; border-bottom: 1px solid var(--line-dark); }
.site-header__bar { display: flex; align-items: center; gap: var(--s-4); min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--on-dark); text-decoration: none; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 1.9rem; height: 1.9rem; }
.brand__word { font: 400 1.5rem/1 var(--f-cond); letter-spacing: .01em; }
.brand__word b { font-weight: 800; letter-spacing: .02em; }
.site-nav { display: none; }
.site-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a, .site-nav .is-soon { display: block; padding: .55rem .7rem; font: 600 1.0625rem/1 var(--f-cond); letter-spacing: .01em; color: var(--on-dark); text-decoration: none; border-radius: var(--r-sm); }
.site-nav a:hover { background: var(--ink-2); color: var(--mint); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--mint); }
.site-nav .is-soon, .menu__sheet .is-soon, .site-footer .is-soon { color: var(--on-dark-3); cursor: default; }
.card.is-soon h3 { color: inherit; }
.site-header__cta { display: none; }
@media (min-width: 64em) { .site-nav { display: block; } .site-header__cta { display: inline-flex; } .menu { display: none; } }
.menu > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--r-sm); border: 1.5px solid var(--line-dark); }
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > summary { border-color: var(--mint); color: var(--mint); }
.menu__sheet { position: absolute; left: 0; right: 0; top: 100%; background: var(--deep); border-bottom: 1px solid var(--line-dark); padding: var(--s-4) var(--gutter) var(--s-6); box-shadow: var(--shadow-2); }
.menu__sheet ul { list-style: none; margin: 0 0 var(--s-4); padding: 0; display: grid; }
.menu__sheet a, .menu__sheet .is-soon { display: flex; justify-content: space-between; padding: .9rem .25rem; font: 650 1.25rem/1.1 var(--f-cond); color: var(--on-dark); text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.menu__sheet a:hover { color: var(--mint); }
.menu__sheet .btn { width: 100%; }

/* listes déroulantes du menu */
.site-nav .has-sub { position: relative; display: flex; align-items: center; }
.site-nav .sub-toggle { display: grid; place-items: center; width: 1.5rem; height: 2rem; margin-left: -.35rem; padding: 0; background: none; border: 0; color: var(--on-dark-3); cursor: pointer; border-radius: var(--r-sm); }
.site-nav .sub-toggle .icon { width: .9rem; height: .9rem; transition: transform .2s var(--ease); }
.site-nav .sub-toggle:hover, .site-nav .has-sub:hover .sub-toggle { color: var(--mint); }
.site-nav .has-sub:hover .sub-toggle .icon, .site-nav .sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.site-nav .subnav { display: none; position: absolute; left: 0; top: 100%; min-width: 17rem; flex-direction: column; gap: 0; padding: .4rem; background: var(--deep); border: 1px solid var(--line-dark); border-radius: var(--r-sm); box-shadow: var(--shadow-2); z-index: 30; }
.site-nav .has-sub:hover > .subnav, .site-nav .has-sub:focus-within > .subnav, .site-nav .sub-toggle[aria-expanded="true"] ~ .subnav { display: flex; }
.site-nav .subnav a { font-size: 1rem; font-weight: 550; line-height: 1.25; white-space: normal; padding: .6rem .7rem; }
.menu__group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: .9rem .25rem; font: 650 1.25rem/1.1 var(--f-cond); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.menu__group summary::-webkit-details-marker { display: none; }
.menu__group summary .icon { width: 1.1rem; height: 1.1rem; transition: transform .2s var(--ease); }
.menu__group[open] summary { color: var(--mint); }
.menu__group[open] summary .icon { transform: rotate(180deg); }
.menu__sheet .subnav { margin: 0; padding: .25rem 0 .5rem .9rem; border-bottom: 1px solid var(--line-dark); }
.menu__sheet .subnav a { font: 550 1.0625rem/1.2 var(--f-text); padding: .65rem .25rem; border-bottom: 0; color: var(--on-dark-2, var(--on-dark)); }
.menu__sheet .subnav a[aria-current="page"] { color: var(--mint); }

/* hero */
.hero { position: relative; isolation: isolate; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 70% 50%); z-index: -2; }
.hero.is-parallax .hero__img { transform: translate3d(0, var(--py, 0px), 0) scale(1.2); will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 42, 51, .97) 0%, rgba(11, 42, 51, .86) 44%, rgba(11, 42, 51, .10) 100%); }
@media (max-width: 63.99em) {
  .hero::before { background: linear-gradient(180deg, rgba(11, 42, 51, .9) 0%, rgba(11, 42, 51, .8) 100%); }
  .hero--home .hero__img { bottom: auto; height: 22rem; object-position: 50% 42%; -webkit-mask-image: linear-gradient(#000 58%, transparent); mask-image: linear-gradient(#000 58%, transparent); }
  .hero--home::before { background: linear-gradient(180deg, rgba(11, 42, 51, .18) 0, rgba(11, 42, 51, .42) 14rem, rgba(11, 42, 51, .95) 22rem, rgba(11, 42, 51, .95) 100%); }
  .hero.hero--home .hero__grid { padding-top: 12.5rem; }
  .hero--home .hero__copy .hero__title { order: 1; } .hero--home .hero__copy .hero__actions { order: 2; } .hero--home .hero__copy .answer { order: 3; }
}
@media (max-width: 39.99em) { .hero__actions .btn { width: 100%; } }
.hero__grid { display: grid; gap: var(--s-6); padding-block: clamp(2rem, 1rem + 4vw, 4rem) clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.hero--home .hero__grid { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
@media (min-width: 64em) { .hero--home .hero__grid { grid-template-columns: 1fr; align-content: center; gap: var(--s-6); min-height: min(88svh, 50rem); padding-block: var(--s-6) var(--s-6); } .hero--home .hero__copy { max-width: 44rem; } .hero--page .hero__grid { grid-template-columns: 8fr 4fr; align-items: end; } }
.hero__copy { display: grid; gap: var(--s-5); align-content: start; }
.hero__aside { min-width: 0; }   /* enfant de grille : le bandeau d'entrées ne doit pas élargir le hero */
.hero__title { color: var(--white); max-width: 40rem; font-size: clamp(2.25rem, 1.1rem + 4.1vw, 3.9rem); }
.nb { white-space: nowrap; }
.hero--page .hero__title { max-width: 46rem; font-size: clamp(2.25rem, 1.2rem + 3.6vw, 3.5rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero .answer { background: rgba(7, 28, 34, .72); border: 1px solid var(--line-dark); color: var(--on-dark); box-shadow: none; padding: var(--s-4) var(--s-5); max-width: 40rem; }
.hero .answer a { color: var(--mint); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin: 0; padding: 0; font: 500 .875rem/1.3 var(--f-text); color: var(--on-dark-3); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: var(--mint); text-decoration: underline; }

/* bloc réponse (briefing sheet) */
.answer { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-1); max-width: 46rem; }
.answer > * + * { margin-top: .8em; }
.answer p { font-size: 1.0625rem; }
.answer__flag { font: 500 .8125rem/1 var(--f-mono); color: var(--text-3); letter-spacing: .02em; }
main > .answer:first-child, main > .hero + .answer, .pull-up { margin-top: -2.5rem; position: relative; z-index: 2; }
@media (min-width: 64em) { main > .answer:first-child, main > .hero + .answer, .pull-up { margin-top: -3.5rem; margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); } }

/* tableau des départs */
.board { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); box-shadow: var(--shadow-2), 0 28px 64px -28px rgba(79, 216, 176, .38); overflow: hidden; }
.board__head { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: var(--s-3); padding: .7rem var(--s-4); font: 500 .75rem/1 var(--f-mono); letter-spacing: .08em; color: var(--on-dark-2); text-transform: uppercase; border-bottom: 1px solid var(--line-dark); background: var(--ink-3); }
.board__rows { list-style: none; margin: 0; padding: 0; }
.board__rows li + li { border-top: 1px solid var(--line-dark); }
.board__row { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: var(--s-3); align-items: center; padding: var(--s-4); color: var(--on-dark); text-decoration: none; transition: background-color .2s var(--ease); }
a.board__row:hover { background: var(--ink-3); text-decoration: none; }
a.board__row:hover .board__go { color: var(--mint); }
a.board__row:hover .icon { transform: translateX(4px); }
.board__state { display: inline-block; justify-self: start; padding: .4rem .6rem; border-radius: 6px; background: var(--ink); border: 1px solid var(--line-dark); color: var(--mint); font: 600 .8125rem/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; min-width: 6.4rem; text-align: center; font-variant-numeric: tabular-nums; }
.board__text { font: 600 1.0625rem/1.25 var(--f-text); text-wrap: pretty; }
.board__go { display: inline-flex; align-items: center; gap: .4rem; color: var(--on-dark-2); font: 600 .9375rem/1 var(--f-cond); letter-spacing: .02em; white-space: nowrap; transition: color .2s var(--ease); }
.board__go .icon { width: 1.15rem; height: 1.15rem; transition: transform .25s var(--ease); }
.sect--dark .board__row, .sect--deep .board__row { color: var(--on-dark); }
.sect--dark a.board__row:hover, .sect--deep a.board__row:hover { color: var(--on-dark); }
.sect--dark .board__go, .sect--deep .board__go { color: var(--on-dark-2); }
.sect--dark a.board__row:hover .board__go { color: var(--mint); }
.board__row.is-soon { color: var(--on-dark-3); cursor: default; }
.board__row.is-soon .board__state { color: var(--on-dark-3); }
.board__row.is-soon .board__go { color: var(--on-dark-3); }
@media (max-width: 39.99em) {
  .board__head { display: none; }
  .board__row { grid-template-columns: 1fr auto; row-gap: .5rem; }
  .board__state { grid-column: 1 / -1; }
  .board__text { grid-column: 1; }
  .board__go { grid-column: 2; }
}

/* tableau des départs en bande horizontale (hero de la home) */
@media (min-width: 64em) {
  .board--strip .board__head { display: none; }
  .board--strip .board__rows { display: grid; grid-template-columns: repeat(5, 1fr); }
  .board--strip .board__rows li + li { border-top: 0; border-left: 1px solid var(--line-dark); }
  .board--strip .board__row { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; row-gap: .7rem; height: 100%; align-content: start; padding: var(--s-4); }
  .board--strip .board__text { font-size: 1rem; line-height: 1.3; }
  .board--strip .board__go { justify-self: start; margin-top: .2rem; }
}

/* cartes colorées (grille irrégulière) */
.cards { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 40em) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .cards { grid-template-columns: repeat(6, 1fr); } .card { grid-column: span 2; } .card--wide { grid-column: span 3; } .card--feature { grid-column: span 4; } }
.card { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-lg); color: var(--text); text-decoration: none; position: relative; transition: transform .25s var(--ease), box-shadow .25s var(--ease); background: var(--tint-teal); }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); text-decoration: none; }
.card__icon { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 12px; background: var(--teal); color: var(--white); flex: none; }
.card--plain { background: var(--white); border: 1px solid var(--line); } .card--plain .card__icon { background: var(--ink); color: var(--mint); }
.card h3 { font-family: var(--f-cond); font-size: 1.625rem; font-weight: 700; line-height: 1.05; }
.card p { color: var(--text-2); }
.card__go { align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; color: var(--teal-link); margin-top: auto; padding-top: var(--s-2); }
.card__go .icon { width: 1.1rem; height: 1.1rem; transition: transform .25s var(--ease); }
a.card:hover .card__go .icon { transform: translateX(4px); }
.card.is-soon .card__go { color: var(--text-2); border: 1px dashed currentColor; border-radius: var(--r-pill); padding: .2rem .7rem; justify-self: start; font-size: .875rem; }
.card--ink.is-soon .card__go { color: var(--on-dark-2); }
.card--mint { background: var(--tint-mint); } .card--mint .card__icon { background: var(--mint); color: var(--ink); }
.card--back { background: var(--tint-back); } .card--back .card__icon { background: var(--back-strong); color: var(--ink); } .card--back .card__go { color: var(--back-ink); }
.card--lay { background: var(--tint-lay); } .card--lay .card__icon { background: var(--lay-strong); color: var(--ink); } .card--lay .card__go { color: var(--lay-ink); }
.card--ink { background: var(--ink); color: var(--on-dark); } .card--ink p { color: var(--on-dark-2); } .card--ink .card__icon { background: var(--mint); color: var(--ink); } .card--ink .card__go { color: var(--mint); }

/* liste réglée (index discret) */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index li { border-bottom: 1px solid var(--line); }
.index a, .index .is-soon-row { display: grid; grid-template-columns: 1fr auto; gap: .25rem var(--s-4); align-items: center; padding: var(--s-4) .25rem; text-decoration: none; color: var(--text); }
@media (min-width: 48em) { .index a, .index .is-soon-row { grid-template-columns: 15rem 1fr auto; } }
.index b { font: 700 1.375rem/1.1 var(--f-cond); }
.index span.d { color: var(--text-2); grid-column: 1 / -1; } @media (min-width: 48em) { .index span.d { grid-column: auto; } }
.index a:hover b { color: var(--teal-link); }
.index a:hover .icon { transform: translateX(4px); }
.index .icon { color: var(--teal); transition: transform .25s var(--ease); }
.index .is-soon-row { color: var(--text); }
.index .is-soon-row b { color: var(--text); }
.index .soon-tag { font: 600 .875rem/1 var(--f-text); border: 1px dashed currentColor; border-radius: var(--r-pill); padding: .2rem .7rem; }

/* étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); counter-reset: step; }
@media (min-width: 48em) { .steps { grid-template-columns: repeat(3, 1fr); gap: 0; } .step + .step { border-left: 1px solid var(--line); } .step { padding-inline: var(--s-5); } .step:first-child { padding-left: 0; } }
.step { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; align-content: start; counter-increment: step; }
@media (min-width: 48em) { .step { grid-template-columns: 1fr; } }
.step__n { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--ink); color: var(--mint); font: 600 1rem/1 var(--f-mono); }
.step h3 { font-family: var(--f-cond); font-size: 1.5rem; font-weight: 700; }
.step p { color: var(--text-2); margin-top: .35rem; }

/* encadrés */
.callout { border-radius: var(--r-lg); padding: var(--s-5); background: var(--white); border: 1px solid var(--line); display: grid; gap: .5rem; max-width: 46rem; }
.callout__title { font: 650 1rem/1.2 var(--f-text); display: flex; align-items: center; gap: .6rem; }
.callout__title .icon { width: 1.35rem; height: 1.35rem; }
.callout--reality { background: var(--white); border-color: var(--ember); }
.callout--reality .callout__title { color: var(--lay-ink); }
.callout--reality .callout__title .icon { color: var(--ember); }
.callout--wide { max-width: none; }
.callout--example { background: var(--tint-back); border-color: var(--back-strong); }
.callout--example .callout__title { color: var(--back-ink); }
.callout--tip { background: var(--tint-mint); border-color: #9FE6CF; }
.callout--tip .callout__title { color: #14664A; }
.callout--watch { background: #FFF8E6; border-color: #E8C46A; }
.callout--watch .callout__title { color: var(--warn); }
.callout--verdict { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.callout--verdict .callout__title { color: var(--mint); }
.callout--verdict a { color: var(--mint); }   /* lien dans l'encadré sombre : le teal des liens est à 2.3:1 sur l'encre */
.callout p + p { margin-top: .5rem; }

/* tableaux */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); -webkit-overflow-scrolling: touch; }
.chart + .table-wrap, .prose + .table-wrap, .prose + .chart, .table-wrap + .prose, .chart + .prose { margin-top: var(--s-5); }
.table-wrap:focus-visible { outline-offset: 0; }
.table-wrap--scroll { max-height: min(34rem, 70vh); overflow-y: auto; }
.table-wrap--scroll thead th { position: sticky; top: 0; z-index: 2; box-shadow: 0 1px 0 var(--line); }
.table-wrap--scroll tbody th { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--line); }
.table-wrap--scroll thead th:first-child { left: 0; z-index: 3; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .9875rem; }
caption { text-align: left; padding: var(--s-3) var(--s-4); font: 650 .9375rem/1.2 var(--f-text); color: var(--text-2); caption-side: top; }
th, td { padding: .75rem var(--s-4); text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
thead th { background: var(--tint-teal); font: 600 .75rem/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; border-top: 0; color: var(--ink); white-space: nowrap; }
tbody th { font-weight: 650; background: var(--mist); }
td.num, th.num { text-align: right; white-space: nowrap; }
tr.is-hl td, tr.is-hl th { background: var(--tint-back); }

/* FAQ */
.faq { display: grid; gap: var(--s-3); max-width: 48rem; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s var(--ease); }
.faq__item[open] { border-color: var(--teal); }
.faq__item summary { list-style: none; cursor: pointer; padding: var(--s-4) var(--s-5); font: 650 1.0625rem/1.35 var(--f-text); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { transition: transform .3s var(--ease); color: var(--teal); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__a { padding: 0 var(--s-5) var(--s-5); color: var(--text-2); }
.faq__a > * + * { margin-top: .7em; }

/* graphiques (barres HTML, tableau de données dessous) */
.chart { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); display: grid; gap: var(--s-4); }
.chart figcaption { font: 650 1.0625rem/1.3 var(--f-text); }
.chart__note { color: var(--text-3); font-size: .875rem; }
.bars { display: grid; gap: 1rem; }
.bars__row { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: var(--s-3); align-items: center; position: relative; }
.bars__label { font-weight: 600; }
.bars__track { height: 1.25rem; background: var(--tint-teal); border-radius: 0 4px 4px 0; position: relative; }
.bars__fill { display: block; height: 100%; width: var(--v, 0%); background: var(--teal); border-radius: 0 4px 4px 0; transition: filter .15s var(--ease); }
.bars__row[data-tone="mint"] .bars__fill { background: #1FA886; }
.bars__row[data-tone="back"] .bars__fill { background: #6F7FE0; }
.bars__row[data-tone="lay"] .bars__fill { background: #E8875F; }
.bars__val { font: 600 .9375rem/1 var(--f-mono); min-width: 4.5rem; text-align: right; color: var(--text); }
.bars__row:hover .bars__fill, .bars__row:focus-within .bars__fill { filter: brightness(1.12); }
.bars__row[data-tip]::after { content: attr(data-tip); position: absolute; left: 7.5rem; top: -.4rem; transform: translateY(-100%); background: var(--ink); color: var(--on-dark); font: 500 .8125rem/1.3 var(--f-text); padding: .45rem .7rem; border-radius: 8px; box-shadow: var(--shadow-1); pointer-events: none; opacity: 0; transition: opacity .15s var(--ease); z-index: 3; white-space: nowrap; }
.bars__row[data-tip]:hover::after { opacity: 1; }
.chart__data { font-size: .9375rem; }
.chart__data summary { cursor: pointer; color: var(--teal-link); font-weight: 600; }
.chart__data .table-wrap { margin-top: var(--s-3); }
/* matrice de couverture : tableau-graphique lieux x brokers (chart_matrix) */
.chart, .chart > * { min-width: 0; }   /* un tableau large (matrice, tableau de référence) défile dans son conteneur au lieu d'élargir la page */
.chart--matrix .table-wrap { border: 0; border-radius: 0; background: transparent; }
.matrix { min-width: 0; font-size: .875rem; }
.matrix th, .matrix td { padding: .55rem .6rem; }
.matrix thead th { text-align: center; white-space: normal; font-size: .6875rem; }
.matrix thead th:first-child { text-align: left; }
.matrix td { text-align: center; vertical-align: middle; position: relative; }   /* contient le texte caché (.vh) dans le défilement du tableau */
.matrix__group th { background: var(--tint-teal); font: 600 .6875rem/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-align: left; }
.matrix .dot { display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; background: var(--teal); vertical-align: middle; }
.matrix td.is-closed { color: var(--text-3); }
.matrix td.is-open { color: var(--text); }
.matrix__tool { display: block; margin-top: .2rem; font: 500 .75rem/1.2 var(--f-mono); color: var(--text-2); overflow-wrap: anywhere; }
.matrix thead th:first-child, .matrix tbody th[scope="row"], .matrix tfoot th[scope="row"] { position: sticky; left: 0; z-index: 1; }   /* la colonne des lieux reste visible quand le tableau défile */
.matrix thead th:first-child { background: var(--tint-teal); }
.matrix tfoot th, .matrix tfoot td { background: var(--mist); font: 650 .875rem/1.2 var(--f-text); border-top: 2px solid var(--line); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 29.99em) { .bars__row { grid-template-columns: 1fr auto; } .bars__track { grid-column: 1 / -1; grid-row: 2; } }

/* comparaison */
.compare { display: grid; gap: var(--s-4); }
@media (min-width: 48em) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
.compare__col h3 { font-family: var(--f-cond); font-size: 1.75rem; font-weight: 700; }
.compare__col ul { margin: 0; padding-left: 1.1em; display: grid; gap: .4em; }
.compare__fit { display: grid; gap: .5rem; padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: .9875rem; }
.compare__fit b { font-weight: 650; }

/* ledger (chiffres exacts en ligne) */
.ledger { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ledger > div { flex: 1 1 12rem; padding: var(--s-4) var(--s-5) var(--s-4) 0; }
.ledger dt { color: var(--text-2); font-size: .9375rem; }
.ledger dd { margin: .25rem 0 0; font: 600 1.6rem/1.1 var(--f-mono); color: var(--ink); }
.sect--dark .ledger, .sect--deep .ledger { border-color: var(--line-dark); }
.sect--dark .ledger dt, .sect--deep .ledger dt { color: var(--on-dark-2); }
.sect--dark .ledger dd, .sect--deep .ledger dd { color: var(--white); }

/* outils */
.tool { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: hidden; }
.tool__head { padding: var(--s-5) var(--s-5) var(--s-3); display: grid; gap: .35rem; }
.tool__head h3 { font-family: var(--f-cond); font-size: 1.75rem; font-weight: 700; }
.tool__head p { color: var(--text-2); }
.tool__body { padding: 0 var(--s-5) var(--s-5); display: grid; gap: var(--s-4); }
.tool__out { background: var(--ink); color: var(--on-dark); border-radius: var(--r-md); padding: var(--s-4); min-height: 6rem; }
.tool__out:empty { display: none; }
.tool__body > * { min-width: 0; }
.tool .table-wrap table { min-width: 0; }
.tool__body > .stack + .stack { border-top: 1px solid var(--line); padding-top: var(--s-5); }
.tool__body h4 { font-family: var(--f-cond); font-size: 1.375rem; font-weight: 700; line-height: 1.15; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--white); font-weight: 600; font-size: .9875rem; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease); }
.chip input:hover + span { border-color: var(--teal); }
.chip input:checked + span { background: var(--ink); color: var(--mint); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.field { display: grid; gap: .4rem; }
.field[hidden] { display: none; }   /* sinon display:grid l'emporte sur l'attribut hidden */
.field label, .field legend { font-weight: 650; font-size: .9875rem; }
.field input[type="number"], .field input[type="text"], .field select { min-height: 2.9rem; padding: .6rem .8rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); font-family: var(--f-mono); font-size: 1rem; width: 100%; }
.field input:focus, .field select:focus { border-color: var(--teal); outline: 0; box-shadow: 0 0 0 3px rgba(10, 124, 138, .2); }
.field fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--teal); }
.out-row { display: grid; grid-template-columns: 1fr auto; gap: var(--s-3); padding: .6rem 0; border-top: 1px solid var(--line-dark); align-items: center; }
.out-row:first-child { border-top: 0; }
.out-row b { font-weight: 650; }
.out-row .tag { font: 600 .8125rem/1.25 var(--f-mono); color: var(--mint); text-align: right; overflow-wrap: anywhere; max-width: 12rem; }
.out-row > div { min-width: 0; }
.field__help { margin: 0; color: var(--text-2); font-size: .9375rem; }
.out-note { color: var(--on-dark-2); font-size: .9375rem; margin-top: var(--s-2); }
.out-row .mono { font-size: .8125rem; color: var(--on-dark-2); }
.out-row.is-hl { background: rgba(79, 216, 176, .12); border-radius: 6px; padding-left: var(--s-2); padding-right: var(--s-2); margin-inline: calc(-1 * var(--s-2)); }
.tool .field legend { padding: 0; margin-bottom: .15rem; font: 600 .75rem/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }

/* bande visuelle descriptive */
.band { margin: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--ink); }
.band img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: var(--focus, 50% 50%); }
.band figcaption { padding: var(--s-3) var(--s-5); color: var(--on-dark-2); font-size: .9375rem; background: var(--ink); }
@media (max-width: 39.99em) { .band img { aspect-ratio: 4 / 3; } }

/* capture réelle d'un compte de test : carte 18 px, filet 1 px, ombre Sheet */
.shot { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: hidden; align-self: start; }
.shot img { display: block; width: auto; max-width: 100%; height: auto; margin-inline: auto; }
.shot figcaption { padding: var(--s-3) var(--s-4); border-top: 1px solid var(--line); color: var(--text-2); font-size: .9375rem; }
.shots { display: grid; gap: var(--s-4); align-items: start; }
@media (min-width: 48em) { .shots { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 48em) { .shots--3 { grid-template-columns: repeat(3, 1fr); } }

/* aside : liste ordonnée des partenaires */
.partners { background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: var(--s-5); display: grid; gap: var(--s-4); }
.sect--dark .partners, .sect--deep .partners { border-color: transparent; }
.partners__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); color: var(--ink); }
.partners__lead { color: var(--text-2); max-width: 44rem; }
.partners__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); counter-reset: p; }
.partner { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3) var(--s-4); align-items: center; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--mist); counter-increment: p; }
.partner__logo { width: 6.5rem; height: 2.4rem; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.partner__body { display: grid; gap: .15rem; }
.partner__name { font: 700 1.25rem/1.1 var(--f-cond); letter-spacing: .005em; }
.partner__tool { font: 500 .8125rem/1.2 var(--f-mono); color: var(--text-2); }
.partners__cta { grid-column: 1 / -1; justify-self: start; }
.partners__fine { font-size: .875rem; color: var(--text-3); }
@media (min-width: 48em) { .partner { grid-template-columns: 8rem 1fr auto; } .partners__cta { grid-column: auto; justify-self: end; } .partners--compact .partner { grid-template-columns: 7rem 1fr auto; padding: var(--s-3) var(--s-4); } }

/* aside : CTA */
.cta { display: grid; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-lg); background: var(--tint-mint); border: 1px solid #9FE6CF; max-width: 46rem; }
.cta p { font: 650 1.125rem/1.35 var(--f-text); }
.cta:not(.cta--final) { color: var(--text); }
.cta .btn { justify-self: start; }
.cta--final { max-width: none; background: var(--ink); color: var(--on-dark); border-color: var(--ink); grid-template-columns: 1fr; align-items: center; padding: var(--s-6); }
.cta--final .partners__fine { color: var(--on-dark-2); }
.cta--final p { text-wrap: balance; font-family: var(--f-cond); font-size: clamp(1.6rem, 1.2rem + 2vw, 2.5rem); font-weight: 700; line-height: 1.05; }
@media (min-width: 48em) { .cta--final { grid-template-columns: 1fr auto; } }

/* maillage et sommaire */
.related { display: grid; gap: var(--s-4); }
.related h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
@media (min-width: 48em) { .related ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .related ul { grid-template-columns: repeat(3, 1fr); } }
.related a { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.related a:hover { border-color: var(--teal); transform: translateX(2px); text-decoration: none; }
.related a .icon { width: 1.1rem; height: 1.1rem; color: var(--teal); }
.toc { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); padding: var(--s-4) var(--s-5); max-width: 46rem; margin-block: var(--s-6); }
.toc h2 { font: 650 1rem/1.2 var(--f-text); margin-bottom: .6rem; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: .3em; }

/* pied de page */
.site-footer { background: var(--deep); color: var(--on-dark-2); padding-block: var(--s-7) var(--s-5); margin-top: auto; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.site-footer__grid { display: grid; gap: var(--s-6); }
@media (min-width: 48em) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font: 600 .8125rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: var(--s-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer__brand p { max-width: 28rem; font-size: .9375rem; margin-top: var(--s-3); }
.site-footer__base { margin-top: var(--s-7); padding-top: var(--s-4); border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); justify-content: space-between; font-size: .875rem; }
.lang-switch { position: relative; }
.lang-switch summary { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; list-style: none; padding: .35rem .75rem; border: 1px solid var(--line-dark); border-radius: 6px; color: var(--on-dark); }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: var(--mint); }
.lang-switch[open] summary svg { transform: rotate(180deg); }
.site-footer .lang-switch ul { position: absolute; inset-block-end: calc(100% + .5rem); inset-inline-end: 0; z-index: 20; width: max-content; max-width: min(18rem, 90vw); max-height: 60vh; overflow-y: auto; gap: 0; padding: .5rem; background: var(--deep); border: 1px solid var(--line-dark); border-radius: 8px; }
.lang-switch li a, .lang-switch li [aria-current] { display: block; padding: .35rem .6rem; }
.lang-switch [aria-current] { color: var(--mint); font-weight: 600; }
.age { display: inline-flex; align-items: center; gap: .6rem; }
.age a { text-decoration: underline; text-underline-offset: .22em; }
.age b { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border: 1.5px solid var(--on-dark-2); border-radius: 50%; color: var(--on-dark); font: 600 .8125rem/1 var(--f-mono); }

/* composants clairs posés sur une section sombre : le texte garde l'encre, pas la couleur héritée */
.chart, .tool, .partners, .table-wrap, .faq__item, .compare__col, .toc, .related a, .answer { color: var(--text); }
.callout:not(.callout--verdict) { color: var(--text); }
.hero .answer { color: var(--on-dark); }

/* animation d'entrée du tableau (un seul moment orchestré) */
@media (prefers-reduced-motion: no-preference) {
  .board.is-armed .board__rows li { animation: board-in .6s var(--ease) both; }
  .board.is-armed .board__rows li:nth-child(2) { animation-delay: .08s; }
  .board.is-armed .board__rows li:nth-child(3) { animation-delay: .16s; }
  .board.is-armed .board__rows li:nth-child(4) { animation-delay: .24s; }
  .board.is-armed .board__rows li:nth-child(5) { animation-delay: .32s; }
}
@keyframes board-in { from { opacity: .0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* progression de lecture et retour en haut */
.read-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; background: transparent; }
.read-progress span { display: block; height: 100%; background: var(--mint); transform: scaleX(0); transform-origin: 0 50%; }
.to-top { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 50; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border-radius: 50%; border: 1.5px solid var(--mint); background: var(--deep); color: var(--mint); cursor: pointer; box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(.5rem); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--mint); color: var(--deep); }
.to-top .icon { width: 1.25rem; height: 1.25rem; }

.cookie-notice { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-3) var(--s-4); padding: var(--s-3) var(--gutter) max(var(--s-3), env(safe-area-inset-bottom)); background: var(--deep); color: var(--on-dark); border-top: 1px solid var(--line-dark); box-shadow: var(--shadow-2); }
.cookie-notice p { margin: 0; max-width: 60ch; font-size: .9375rem; line-height: 1.45; color: var(--on-dark); }
.cookie-notice a { color: var(--mint); text-decoration: underline; }
.has-cookie-notice .to-top { bottom: calc(var(--notice-h, 6rem) + 1rem); }
@media print { .site-header, .site-footer, .menu, .cta, .partners, .read-progress, .to-top, .cookie-notice { display: none; } body { background: #fff; } }
a.out-row { color: inherit; text-decoration: none; }
a.out-row:hover b, a.out-row:focus-visible b { text-decoration: underline; }
a.out-row:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; border-radius: 6px; }
a.partner-link { color: inherit; text-decoration: underline; text-decoration-color: var(--mint, currentColor); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a.partner-link:hover, a.partner-link:focus-visible { text-decoration-thickness: 2px; }
/* cartes claires posées dans une section sombre : leurs liens ne reprennent pas la menthe de la section (contraste 1,8:1 sur blanc) */
.sect--dark :is(.chart, .tool, .table-wrap, .faq__item, .compare__col, .toc, .answer) a:not(.btn),
.sect--deep :is(.chart, .tool, .table-wrap, .faq__item, .compare__col, .toc, .answer) a:not(.btn) { color: var(--teal-link); }
.sect--dark :is(.chart, .tool, .table-wrap, .faq__item, .compare__col, .toc, .answer) a.partner-link,
.sect--deep :is(.chart, .tool, .table-wrap, .faq__item, .compare__col, .toc, .answer) a.partner-link { color: inherit; }
/* Ligne de partenaire entièrement cliquable : le bouton s'étend sur toute la ligne (lien unique, pas d'ancre imbriquée) */
.partner { position: relative; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.partner .partners__cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.partner:hover { border-color: var(--teal, currentColor); box-shadow: var(--shadow-1); }
.partner:has(.partners__cta:focus-visible) { outline: 2px solid var(--teal, currentColor); outline-offset: 2px; }
.table-wrap--colink tbody td { cursor: pointer; }
.table-wrap--colink tbody td:hover { background: var(--tint-teal); }
.table-wrap--rowlink tbody tr[data-href] { cursor: pointer; }
.table-wrap--rowlink tbody tr[data-href]:hover th, .table-wrap--rowlink tbody tr[data-href]:hover td { background: var(--tint-teal); }
.shot__link { display: block; cursor: pointer; }
.shot__link:hover img { opacity: .92; }
.shot__link:focus-visible { outline: 2px solid var(--teal, currentColor); outline-offset: -2px; }
