/* Centre d'aide Seekube — habillage aligné sur le site vitrine seekube.com.

   Les valeurs marquées « site » sont relevées dans la feuille de style de
   https://www.seekube.com (/assets/styles-*.css, novembre 2026) : variables --brand-*,
   classes .bridge-*, .page-wrap, règles de base des titres.
   Tout est servi en local : aucune police ni aucun script ne vient d'un service tiers. */

/* Police du site : Plus Jakarta Sans (variable, graisses 300 à 800). Fichiers copiés en local. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("/theme/fonts/PlusJakartaSans-Roman-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("/theme/fonts/PlusJakartaSans-Roman-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 300 800; font-display: swap;
  src: url("/theme/fonts/PlusJakartaSans-Italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 300 800; font-display: swap;
  src: url("/theme/fonts/PlusJakartaSans-Italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* ----- Palette du site (mêmes noms de variables que sur seekube.com) ----- */
  --brand-primary: #0b1a3c;          /* bleu nuit : titres, boutons contour */
  --brand-primary-hover: #15264a;
  --brand-surface: #15264a;          /* fond du pied de page */
  --brand-accent: #e6475d;           /* corail : bouton d'action, accents */
  --brand-accent-hover: #d23a50;
  --brand-accent-light: #ffeff2;
  --brand-mid: #3154f5;              /* bleu vif : dégradés, liens */
  --brand-sky: #6ec5f8;
  --brand-light: #e4e9ff;            /* fonds doux, bordures d'en-tête */
  --brand-xlight: #f7f8fd;
  --brand-neutral: #6f7385;          /* texte secondaire */
  --brand-neutral-light: #eef0f7;
  --brand-border-soft: #e1e4ee;      /* bordure des cartes */
  --radius: .75rem;                  /* site : --radius ; cartes = 1rem, boutons = 100px */
  --shadow-card: 0 4px 20px -2px #5b3bff14;        /* site : .bridge-shadow-card */
  --shadow-card-hover: 0 12px 32px rgba(91, 59, 255, .10);
  --shadow-card-lg: 0 24px 64px #5b3bff1f;         /* site : .bridge-shadow-card-lg */
  --shadow-menu: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
  --gradient-subtle: linear-gradient(155deg, #fff 0%, var(--brand-light) 45%, #fff 70%);   /* .bridge-gradient-subtle */
  --gradient-hero: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-mid) 50%, #9b73ff 100%); /* .bridge-gradient-hero */
  --gradient-text: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-mid) 100%); /* .bridge-text-gradient */

  /* ----- Ajustements propres au centre d'aide ----- */
  --text-body: #364153;              /* couleur du texte long sur le site (pages légales) */
  --text-strong: #101828;
  --muted-strong: #5a5f73;           /* texte secondaire sur fond teinté : contraste 5,2:1 au lieu de 3,9:1 */
  --accent-btn: #d23a50;             /* corail « survol » du site, pris comme couleur de repos : 4,7:1 avec du texte blanc (3,9:1 pour #e6475d) */
  --accent-btn-hover: #b92f44;
  --header-h: 4.5rem;
  --wrap: 76rem;                     /* site : 96rem ; resserré pour la lecture */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--brand-primary);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; padding-bottom: 4rem; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { letter-spacing: -.02em; font-weight: 700; color: var(--brand-primary); }  /* site : titres */
a { color: var(--brand-mid); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-primary); }
:focus-visible { outline: 3px solid rgba(49, 84, 245, .65); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: #fff; color: var(--brand-primary); padding: .6rem 1rem; border-radius: 0 0 var(--radius) 0; font-weight: 600; }
.skip:focus { left: 0; }

/* ---------- Boutons (site : pilules, .bridge-radius-pill) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap;
  height: 2.25rem; padding: 0 1rem; border-radius: 100px; border: 1px solid transparent;
  font: inherit; font-size: .875rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-accent { background: var(--accent-btn); color: #fff; }
.btn-accent:hover { background: var(--accent-btn-hover); color: #fff; }
.btn-outline { background: #fff; border-color: var(--brand-primary); color: var(--brand-primary); box-shadow: 0 1px 2px 0 #0000000d; }
.btn-outline:hover { background: var(--brand-light); color: var(--brand-primary); }
.btn-lg { height: 3rem; padding: 0 1.75rem; font-size: 1rem; }

/* ---------- En-tête (site : collant, blanc à 95 %, flou, filet --brand-light) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--brand-light);
}
.bar { display: flex; align-items: center; gap: .5rem; height: var(--header-h); }
.logo { display: flex; flex-shrink: 0; align-items: center; margin-right: .5rem; }
.logo img { display: block; height: 1.75rem; width: auto; }
.nav { display: flex; align-items: center; gap: .25rem; margin-right: auto; min-width: 0; }
.nav-link {
  padding: .5rem .75rem; border-radius: var(--radius); white-space: nowrap;
  font-weight: 500; color: var(--brand-neutral); text-decoration: none; transition: background-color .15s, color .15s;
}
.nav-link:hover, .nav-link[aria-current] { background: var(--brand-light); color: var(--brand-primary); }
.actions { display: flex; align-items: center; gap: .75rem; }
.lang { display: inline-flex; gap: .125rem; }
.lang a, .lang span {
  display: inline-flex; align-items: center; height: 2rem; padding: 0 .625rem; border-radius: calc(var(--radius) - 2px);
  font-size: .75rem; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; text-decoration: none;
  color: var(--brand-neutral); transition: background-color .15s, color .15s;
}
.lang a:hover { background: var(--brand-light); color: var(--brand-primary); }
.lang .on { background: var(--brand-neutral-light); color: var(--brand-primary); }
.login { display: none; }

/* ---------- Bandeau d'accueil (site : .bridge-gradient-subtle + halos) ---------- */
.hero { position: relative; overflow: hidden; background: var(--gradient-subtle); text-align: center; }
.hero::before, .hero::after { content: ""; position: absolute; width: 26rem; height: 26rem; border-radius: 50%; pointer-events: none; }
.hero::before { right: -10rem; top: -10rem; background: radial-gradient(closest-side, rgba(49, 84, 245, .12), transparent); }
.hero::after { left: -10rem; bottom: -10rem; background: radial-gradient(closest-side, rgba(230, 71, 93, .09), transparent); }
.hero .wrap { position: relative; z-index: 1; padding-top: 3.5rem; padding-bottom: 4rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.5rem; padding: .5rem 1rem;
  border: 1px solid rgba(11, 26, 60, .2); border-radius: 100px; background: var(--brand-light);
  font-size: .875rem; font-weight: 500; color: var(--brand-primary);
}
.eyebrow .dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--brand-accent); }
.hero h1 { margin: 0 auto 1rem; max-width: 20em; font-size: 2.25rem; line-height: 1.1; letter-spacing: -.025em; }
.grad { background-image: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 0 auto 2rem; max-width: 36rem; font-size: 1rem; font-weight: 500; color: var(--muted-strong); }

/* ---------- Recherche ---------- */
.search { position: relative; }
.search input {
  width: 100%; height: 2.75rem; padding: 0 1rem 0 2.75rem; font: inherit; font-size: 1rem; color: var(--brand-primary);
  background: #fff; border: 1px solid var(--brand-border-soft); border-radius: 100px; box-shadow: 0 1px 2px 0 #0000000d;
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: var(--brand-neutral); opacity: 1; }
.search input:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(11, 26, 60, .5); }  /* site : anneau 3 px, --ring à 50 % */
.search > svg { position: absolute; left: 1rem; top: 1.375rem; transform: translateY(-50%); color: var(--brand-neutral); pointer-events: none; }
.hero .search { max-width: 44rem; margin: 0 auto; text-align: left; }
.hero .search input { height: 3.75rem; padding-left: 3.5rem; padding-right: 1.5rem; font-size: 1.0625rem; border-color: #fff; box-shadow: var(--shadow-card-lg); }
.hero .search input:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(11, 26, 60, .5), var(--shadow-card-lg); }
.hero .search > svg { left: 1.375rem; top: 1.875rem; width: 22px; height: 22px; color: var(--brand-mid); }
.subbar { background: var(--brand-xlight); border-bottom: 1px solid var(--brand-light); padding: .875rem 0; }
.subbar .search { max-width: 36rem; }
.search-panel {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + .5rem); padding: .5rem;
  background: #fff; border: 1px solid var(--brand-light); border-radius: 1rem; box-shadow: var(--shadow-menu);
  max-height: 70vh; overflow-y: auto; text-align: left;
}
.search-panel a { display: block; padding: .625rem .75rem; border-radius: var(--radius); color: var(--brand-primary); text-decoration: none; }
.search-panel a:hover, .search-panel a.sel { background: var(--brand-light); }
.search-panel .t { font-weight: 600; }
.search-panel .r { font-size: .75rem; color: var(--muted-strong); margin-top: .125rem; }
.search-panel .none { padding: .75rem; color: var(--muted-strong); }
.search-panel .all { font-weight: 600; color: var(--brand-mid); }
.results { padding-top: 2.5rem; max-width: 52rem; }
.results h1 { margin: 0 0 .5rem; font-size: 1.875rem; line-height: 1.2; }
.results > p { margin: 0 0 1.5rem; color: var(--brand-neutral); }
.results ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.results li { padding: 1.25rem 1.5rem; border: 1px solid var(--brand-border-soft); border-radius: 1rem; background: #fff; }
.results li a { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; color: var(--brand-primary); text-decoration: none; }
.results li a:hover { color: var(--brand-mid); text-decoration: underline; }
.results .r { margin-bottom: .25rem; font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-neutral); }
.results li p { margin: .375rem 0 0; font-size: .9375rem; color: var(--text-body); }
.results mark, .search-panel mark { background: var(--brand-light); color: inherit; padding: 0 2px; border-radius: 3px; }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb { margin: 2rem 0 1.25rem; font-size: .875rem; color: var(--brand-neutral); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: #b9bdcc; }
.breadcrumb a { color: var(--brand-neutral); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-primary); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--brand-primary); font-weight: 500; }
@media (max-width: 639px) { .breadcrumb li[aria-current] { display: none; } }  /* sur téléphone, le titre de la page suffit */

/* ---------- Cartes (site : rounded-2xl, bordure, survol relevé) ---------- */
.card {
  display: block; background: #fff; border: 1px solid var(--brand-border-soft); border-radius: 1rem;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
a.card { color: inherit; text-decoration: none; }
a.card:hover { transform: translateY(-4px); border-color: var(--brand-primary); box-shadow: var(--shadow-card-hover); color: inherit; }

/* Accueil : une carte par grande rubrique */
.cards { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.cards .card { height: 100%; padding: 1.5rem; display: flex; flex-direction: column; }
.ico { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1.25rem; border-radius: 1rem; background: var(--gradient-hero); color: #fff; }
.cards h2 { margin: 0 0 .5rem; font-size: 1.25rem; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.cards p { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--brand-neutral); }
.cards .more { margin-top: auto; padding-top: 1.25rem; display: flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 600; color: var(--brand-mid); }
.cards .more::after { content: "→"; transition: transform .2s; }
.cards a.card:hover .more::after { transform: translateX(3px); }

/* Pages de rubrique */
.page-head { margin: 0 0 2rem; max-width: 48rem; }
.page-head h1 { margin: 0 0 .75rem; font-size: 1.875rem; line-height: 1.15; }
.page-head p { margin: 0; font-size: 1.0625rem; font-weight: 500; color: var(--brand-neutral); }
.rub-grid { display: grid; gap: 1.5rem; align-items: start; }
.rub { overflow: hidden; box-shadow: var(--shadow-card); }
.rub-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.125rem 1.5rem; border-bottom: 1px solid var(--brand-light); background: var(--brand-xlight); }
.rub-head h2, .rub-head h3 { margin: 0; font-size: 1.0625rem; line-height: 1.35; font-weight: 600; letter-spacing: -.02em; }
.rub-head a { color: var(--brand-primary); text-decoration: none; }
.rub-head a:hover { color: var(--brand-mid); text-decoration: underline; }
.count { flex-shrink: 0; padding: .25rem .625rem; border-radius: 100px; background: var(--brand-light); font-size: .75rem; font-weight: 600; color: var(--brand-primary); white-space: nowrap; }
.rub .desc { margin: 0; padding: .875rem 1.5rem 0; font-size: .875rem; color: var(--brand-neutral); }
.rub-sub { border-top: 1px solid var(--brand-light); }
.rub-sub .rub-head { background: #fff; border-bottom: 0; padding-bottom: .25rem; }
.links { list-style: none; margin: 0; padding: .5rem; }
.links a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .625rem 1rem; border-radius: var(--radius); color: var(--text-body); font-weight: 500; text-decoration: none; transition: background-color .15s, color .15s; }
.links a::after { content: "›"; flex-shrink: 0; font-size: 1.25rem; line-height: 1; color: #b9bdcc; }
.links a:hover { background: var(--brand-light); color: var(--brand-primary); }
.links a:hover::after { color: var(--brand-primary); }
.art-grid { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1rem; }
.art-grid .card { height: 100%; padding: 1.25rem 1.5rem; box-shadow: var(--shadow-card); }
.art-grid a.card:hover { transform: translateY(-2px); }
.art-grid h2 { margin: 0; font-size: 1.0625rem; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }
.art-grid p { margin: .375rem 0 0; font-size: .875rem; line-height: 1.55; color: var(--brand-neutral); }
.empty { color: var(--brand-neutral); }

/* ---------- Article ---------- */
.article-layout { display: grid; gap: 2.5rem; }
.article { min-width: 0; max-width: 46rem; }
.article-head { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--brand-light); }
.article h1 { margin: 0 0 1rem; font-size: 1.875rem; line-height: 1.15; }
.article .lead { margin: 0 0 1rem; font-size: 1.125rem; line-height: 1.6; font-weight: 500; color: var(--brand-neutral); }
.article .meta { margin: 0; font-size: .875rem; color: var(--brand-neutral); }
.article-body { font-size: 1.0625rem; line-height: 1.75; color: var(--text-body); overflow-wrap: break-word; }
.article-body > :first-child { margin-top: 0; }
.article-body h2 { margin: 2.75rem 0 1rem; font-size: 1.5rem; line-height: 1.3; }
.article-body h3 { margin: 2.25rem 0 .75rem; font-size: 1.25rem; line-height: 1.4; font-weight: 600; }
.article-body h4 { margin: 1.75rem 0 .5rem; font-size: 1.0625rem; line-height: 1.5; font-weight: 600; }
.article-body h2[id], .article-body h3[id], .article-body h4[id] { scroll-margin-top: calc(var(--header-h) + 1.25rem); }
.article-body h2 b, .article-body h3 b, .article-body h4 b { font-weight: inherit; }
.article-body p { margin: 0 0 1.125rem; }
.article-body b, .article-body strong { font-weight: 700; color: var(--text-strong); }
.article-body a { font-weight: 500; text-decoration: underline; }
.article-body ul, .article-body ol { margin: 0 0 1.125rem; padding-left: 1.5rem; }
.article-body li { margin: .375rem 0; padding-left: .25rem; }
.article-body li::marker { color: var(--brand-neutral); }
.article-body li > p { margin: 0 0 .375rem; }
.article-body li > ul, .article-body li > ol { margin: .375rem 0; }
.article-body hr { border: 0; border-top: 1px solid var(--brand-light); margin: 2.5rem 0; }
.article-body figure { margin: 1.75rem 0; }
.article-body figure a { display: block; width: fit-content; max-width: 100%; border-radius: var(--radius); }
.article-body figure img { display: block; border: 1px solid var(--brand-border-soft); border-radius: var(--radius); box-shadow: var(--shadow-card); background: #fff; }
.article-body figure.centre a, .article-body figure.centre > img { margin-inline: auto; }
.article-body figure.droite a, .article-body figure.droite > img { margin-left: auto; }
.article-body p img { vertical-align: middle; }
.article-body .centre { text-align: center; }
.article-body .droite { text-align: right; }
.article-body .video { position: relative; margin: 1.75rem 0; padding-top: 56.25%; background: var(--brand-xlight); border-radius: var(--radius); overflow: hidden; }
.article-body .video iframe, .article-body .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-body .table-wrap { margin: 1.75rem 0; overflow-x: auto; border: 1px solid var(--brand-border-soft); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
.article-body .table-wrap:focus-visible { outline-offset: 0; }
.article-body table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.6; }
.article-body table:has(td:nth-child(3)) { min-width: 28rem; }
.article-body th, .article-body td { padding: .75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--brand-light); border-right: 1px solid var(--brand-light); }
.article-body tr:last-child > * { border-bottom: 0; }
.article-body tr > *:last-child { border-right: 0; }
.article-body th, .article-body td:first-child { background: var(--brand-xlight); }
.article-body td > :last-child, .article-body th > :last-child { margin-bottom: 0; }
.article-body td ul, .article-body td ol { padding-left: 1.125rem; }
.article-body pre { margin: 1.5rem 0; padding: 1rem 1.25rem; overflow-x: auto; background: var(--brand-primary); color: #e4e9ff; border-radius: var(--radius); font-size: .875rem; }
.article-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--brand-neutral-light); padding: .125rem .375rem; border-radius: 6px; }
.article-body pre code { background: none; padding: 0; }
.article-body .encart { margin: 1.5rem 0; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--brand-xlight); border: 1px solid var(--brand-light); border-left: 4px solid var(--brand-mid); }
.article-body .encart > :last-child { margin-bottom: 0; }
.article-body .bouton { display: inline-flex; align-items: center; height: 2.5rem; padding: 0 1.25rem; border-radius: 100px; background: var(--accent-btn); color: #fff; font-weight: 600; font-size: .9375rem; text-decoration: none; }
.article-body .bouton:hover { background: var(--accent-btn-hover); color: #fff; }
.article-body .pieces-jointes { list-style: none; padding: 0; }
.article-body .pieces-jointes a { display: inline-flex; gap: .5rem; align-items: center; padding: .5rem .875rem; border: 1px solid var(--brand-border-soft); border-radius: var(--radius); text-decoration: none; }

/* Encadré de fin d'article */
.help-box {
  margin-top: 3rem; padding: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
  border: 1px solid var(--brand-light); border-radius: 1rem; background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand-xlight) 60%, #fff 100%);
}
.help-box p { margin: 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; color: var(--brand-primary); }

/* Colonne « Dans cette rubrique » */
.side { min-width: 0; }
.side-card { padding: 1.25rem; box-shadow: var(--shadow-card); }
.side-label { margin: 0 0 .375rem; font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-neutral); }
.side-title { margin: 0 0 .75rem; font-size: 1rem; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }
.side-title a { color: var(--brand-primary); text-decoration: none; }
.side-title a:hover { color: var(--brand-mid); text-decoration: underline; }
.side ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--brand-light); }
.side li a, .side li span { display: block; margin-left: -1px; padding: .375rem 0 .375rem .875rem; border-left: 2px solid transparent; font-size: .875rem; line-height: 1.45; color: var(--muted-strong); text-decoration: none; }
.side li a:hover { color: var(--brand-primary); border-left-color: var(--brand-primary); }
.side li [aria-current] { color: var(--brand-primary); font-weight: 600; border-left-color: var(--brand-accent); }

/* ---------- Page introuvable ---------- */
.notfound { text-align: center; padding: 5rem 0 3rem; }
.notfound h1 { margin: 0 0 .75rem; font-size: 2.25rem; line-height: 1.15; }
.notfound p { margin: 0 0 1.75rem; color: var(--brand-neutral); font-weight: 500; }

/* ---------- Pied de page (site : fond --brand-surface, texte blanc atténué) ---------- */
.site-footer { background: var(--brand-surface); color: rgba(255, 255, 255, .7); font-size: .875rem; }
.site-footer .wrap { padding-top: 3rem; padding-bottom: 2rem; }
.site-footer :focus-visible { outline-color: var(--brand-sky); }
.foot-grid { display: grid; gap: 2rem; }
.foot-brand img { display: block; height: 1.75rem; width: auto; }
.foot-brand p { margin: 1rem 0 0; max-width: 20rem; color: rgba(255, 255, 255, .6); }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.foot-title { margin: 0 0 .25rem; font-weight: 600; color: rgba(255, 255, 255, .9); }
.site-footer a { color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; gap: 1rem; font-size: .75rem; }
.foot-bottom p { margin: 0; color: rgba(255, 255, 255, .6); }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot-bottom a { color: rgba(255, 255, 255, .6); }

/* ---------- Écrans plus larges ---------- */
@media (min-width: 600px) {
  .login { display: inline-flex; }
  .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 640px) {
  .wrap { padding-inline: 2.5rem; }           /* site : .page-wrap */
  .logo img { height: 2rem; }                 /* site : logo h-8 */
  .nav-link { padding: .5rem 1rem; }
}
@media (min-width: 768px) {
  .hero h1 { font-size: 3rem; }               /* site : h1 3rem à partir de 48rem */
  .hero-sub { font-size: 1.125rem; }
  .page-head h1, .article h1 { font-size: 2.25rem; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
  .foot-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  :root { --header-h: 5rem; }                 /* site : 5rem puis 6rem ; un cran en dessous */
  .wrap { padding-inline: 4rem; }
  .hero .wrap { padding-top: 5rem; padding-bottom: 5.5rem; }
  .hero h1 { font-size: 3.5rem; }             /* site : 3.75rem */
}
@media (min-width: 1100px) {
  .article-layout { grid-template-columns: minmax(0, 46rem) minmax(0, 17rem); justify-content: space-between; gap: 3rem; }
  .side-card { position: sticky; top: calc(var(--header-h) + 1.5rem); max-height: calc(100vh - var(--header-h) - 3rem); overflow-y: auto; }
}

/* ---------- Confort ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  a.card:hover, .art-grid a.card:hover, .cards a.card:hover .more::after { transform: none; }
}
@media (forced-colors: active) {
  .grad { color: CanvasText; background: none; }
}
@media print {
  .site-header, .subbar, .hero .search, .site-footer, .help-box, .side, .skip { display: none !important; }
  body { color: #000; }
  .article { max-width: none; }
}
