/* Feuille commune NADYS Conseil.
   Charte NADYS du 15/11/2026 (prune et sable, Manrope et Source Sans 3), appliquée sur décision du 22/11/2026.
   Lot i (25/11/2026, décision 28) : palette affinée. La prune reste la couleur de la marque, en touches
   (boutons, liens, filets, pictogrammes) ; plus aucun grand aplat prune ; fonds ivoire, sable et mauve très pâles.
   Contrastes mesurés (WCAG 2.1) : voir le commentaire de chaque couleur de texte. */
:root {
  /* Fonds */
  --ivoire: #fcfaf7;       /* fond de page */
  --blanc: #ffffff;        /* cartes */
  --sable-pale: #f7f1ea;   /* sections alternées */
  --mauve-pale: #f4eef2;   /* bandeau d'accueil, contact, fin de page, pastilles */
  --filet: #e8dde5;        /* bordures et filets (décor) */
  --sombre: #2a2430;       /* section des six temps et pied : anthracite à peine prune, jamais un aplat prune */
  /* Textes : ratio sur ivoire / sur mauve pâle */
  --encre: #2a2430;        /* texte courant : 14,5 / 13,2 */
  --gris: #5a5260;         /* texte secondaire : 7,2 / 6,5 (6,7 sur sable pâle) */
  --titre: #4d2f47;        /* titres h1 et h2, prune grisée : 11,1 / 10,1 */
  --prune: #6b2d5c;        /* marque : boutons, liens, pictogrammes, filets : 9,4 / 8,5 ; blanc sur prune : 9,7 */
  --prune-fonce: #57244b;  /* survol */
  --mauve-gris: #735270;   /* surtitres, publics, pictogrammes secondaires : 6,4 / 5,8 */
  --sable: #d9a86c;        /* accent sable : décor seulement (filets des six temps, contour sur fond sombre) */
  --marque-fond: #fbf0d3;
  --marque-texte: #574000; /* emplacements à fournir : 8,7 */
  --serif: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; /* titres */
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ombre: 0 1px 2px rgba(42, 36, 48, 0.04), 0 6px 18px rgba(77, 47, 71, 0.07);
  --ombre-haute: 0 2px 4px rgba(42, 36, 48, 0.05), 0 12px 28px rgba(77, 47, 71, 0.12);

  /* ===== Lot j (25/11/2026, décision 38) : couleurs variées, par versant et par thème =====
     La prune reste la couleur de la marque (logo, boutons principaux, liens). À côté, chaque versant et chaque thème
     a sa couleur : une teinte franche (pictogramme, liseré, texte d'accent) et un fond pâle.
     Ratios mesurés (WCAG 2.1) : teinte sur son fond pâle / sur blanc. La couleur ne porte jamais seule le sens :
     chaque pastille, étiquette ou bloc garde son libellé.
     Thèmes du numérique (relevé du 25/11/2026, controles/j-releve-couleurs.md) : teintes lues dans les styles calculés
     des sites publics de chaque sujet, assombries quand il le fallait pour le texte (teinte gardée). Aucun logo repris.
     Tons chauds pour les thèmes des organismes gestionnaires (terre cuite, ambre, or, ardoise), tons froids ou vifs
     pour ceux de l'e-santé : voulu. */
  /* Versants */
  --org: #a8482a;          /* Organisation et gestion : terre cuite, chaude, issue du sable de la charte : 5,1 / 5,8 */
  --org-pale: #fbefe9;
  --num: #0f7069;          /* Numérique en santé (e-santé) : bleu-vert, choix de conception, distinct du bleu de l'ANS réservé à l'interopérabilité : 5,2 / 5,9 */
  --num-pale: #e6f3f2;
  /* Thèmes du numérique */
  --cyber: #1b2a8f;        /* Cybersécurité : bleu marine de l'État, proche du #000091 relevé sur cyber.gouv.fr (ANSSI) et cybermalveillance.gouv.fr : 10,1 / 11,8 */
  --cyber-pale: #eaecf8;
  --ia: #6a3fc1;           /* Intelligence artificielle : violet et dégradé bleu-violet, usage répandu des outils d'IA, sans code public : 5,9 / 6,8 */
  --ia-pale: #f1ecfb;
  --ia-degrade: linear-gradient(90deg, #2f5bd3 0%, #6a3fc1 60%, #8a3fc8 100%);
  --dui: #4a7209;          /* Dossier usager informatisé : vert anis de la CNSA (cnsa.fr), porteuse d'ESMS numérique, assombri en olive ; son violet est déjà celui de l'IA : 5,2 / 5,7 */
  --dui-pale: #f2f8e3;
  --socles: #b8175f;       /* Services socles : rose de Mon espace santé (#d81e7e relevé sur monespacesante.fr), assombri pour le texte : 5,4 / 6,3 */
  --socles-pale: #fbe8f1;
  --interop: #1a68aa;      /* Interopérabilité : bleu de l'ANS (#1d71b8 relevé sur esante.gouv.fr, cadre d'interopérabilité), à peine assombri (4,47 sur son pâle sinon) : 5,1 / 5,8 */
  --interop-pale: #e7f1fa;
  /* Autres thèmes des actualités */
  --financement: #5b4a00;  /* Financement : or foncé, distinct de l'ambre RH pour les daltonismes rouge-vert : 7,9 / 8,7 */
  --financement-pale: #fbf5dc;
  --rh: #9a5200;           /* Ressources humaines, équipes : ambre (le framboise était trop proche du rose des socles) : 5,3 / 5,9 ; 5,2 sur sable */
  --rh-pale: #fdf2e2;
  --qualite: #4b5d73;      /* Qualité et évaluation : ardoise : 5,9 / 6,8 */
  --qualite-pale: #edf1f5;
  /* Notre façon de travailler : une couleur par point */
  --comprendre: #3e5c86;   /* Comprendre : bleu ardoise : 6,1 sur sable pâle ; 5,8 sur son disque */
  --comprendre-pale: #e8eef6;
  --outils: #36704f;       /* Des outils qui restent : vert sauge : 5,2 sur sable pâle ; 5,1 sur son disque */
  --outils-pale: #e6f1ea;
  /* Bande des actualités, distincte des sections voisines (sable au-dessus, mauve au-dessous) */
  --bande-actu: #eef3f5;
}
/* Classes de teinte : chaque bloc coloré pose --teinte, --teinte-pale et --teinte-trait (filet) ; ses enfants s'en servent. */
.teinte-org { --teinte: var(--org); --teinte-pale: var(--org-pale); --teinte-trait: var(--org); }
.teinte-num { --teinte: var(--num); --teinte-pale: var(--num-pale); --teinte-trait: var(--num); }
.teinte-cyber { --teinte: var(--cyber); --teinte-pale: var(--cyber-pale); --teinte-trait: var(--cyber); }
.teinte-ia { --teinte: var(--ia); --teinte-pale: var(--ia-pale); --teinte-trait: var(--ia-degrade); }
.teinte-dui { --teinte: var(--dui); --teinte-pale: var(--dui-pale); --teinte-trait: var(--dui); }
.teinte-socles { --teinte: var(--socles); --teinte-pale: var(--socles-pale); --teinte-trait: var(--socles); }
.teinte-interop { --teinte: var(--interop); --teinte-pale: var(--interop-pale); --teinte-trait: var(--interop); }
.teinte-financement { --teinte: var(--financement); --teinte-pale: var(--financement-pale); --teinte-trait: var(--financement); }
.teinte-rh, .teinte-equipes { --teinte: var(--rh); --teinte-pale: var(--rh-pale); --teinte-trait: var(--rh); }
.teinte-qualite { --teinte: var(--qualite); --teinte-pale: var(--qualite-pale); --teinte-trait: var(--qualite); }
.teinte-comprendre { --teinte: var(--comprendre); --teinte-pale: var(--comprendre-pale); --teinte-trait: var(--comprendre); }
.teinte-outils { --teinte: var(--outils); --teinte-pale: var(--outils-pale); --teinte-trait: var(--outils); }
/* Polices de la charte, servies par le site lui-même (licence SIL Open Font License, fichiers dans /fonts) */
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }

/* ===== Base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; scroll-padding-bottom: 1.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ivoire); color: var(--encre); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0; text-wrap: balance; }
h1, h2 { color: var(--titre); }
h1 { font-size: 3rem; letter-spacing: -0.015em; }
h2 { font-size: 1.875rem; letter-spacing: -0.005em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
p { margin: 0 0 0.9em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--prune); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--prune-fonce); text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--prune); outline-offset: 3px; border-radius: 2px; }
abbr[title] { text-decoration: underline dotted; text-underline-offset: 0.2em; cursor: help; }
img { max-width: 100%; }

.enveloppe { max-width: 75rem; margin: 0 auto; padding: 0 2.5rem; }
.evitement { position: absolute; left: -999rem; top: 0; background: var(--encre); color: #fff; padding: 0.75rem 1rem; z-index: 20; }
.evitement:focus { left: 0.5rem; top: 0.5rem; color: #fff; }
.capitales { text-transform: uppercase; font-family: var(--sans); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.centre { text-align: center; margin: 2.5rem 0 0; }
.petit { font-size: 0.9375rem; color: var(--gris); margin: 0.8rem 0 0; }
.mesure { max-width: 46rem; }

/* Repère d'identité : le filet des six temps */
.six { display: block; width: 6.75rem; height: 3px; --n: 6; --plein: var(--prune); --vide: var(--filet); --fond: var(--ivoire);
  background:
    repeating-linear-gradient(to right, transparent 0 0.875rem, var(--fond) 0.875rem 1.125rem),
    linear-gradient(to right, var(--plein) calc(var(--n) * 1.125rem), var(--vide) 0); }
.six-titre { margin-bottom: 1.1rem; }

/* Emplacement d'information manquante */
.a-fournir { background: var(--marque-fond); color: var(--marque-texte); border: 1px dashed #8a6a12; border-radius: 3px; padding: 0.05em 0.4em; font-family: var(--sans); font-size: 0.9375em; font-weight: 500; letter-spacing: 0; text-transform: none; }

/* Pictogrammes (composant Picto) */
.picto { display: block; flex: none; }

/* ===== Boutons ===== */
.bouton { display: inline-block; padding: 0.75rem 1.3rem; border-radius: 6px; font-weight: 600; font-size: 1rem; line-height: 1.3; text-decoration: none; border: 1.5px solid var(--prune); min-height: 2.75rem; }
.bouton-plein { background: var(--prune); color: #fff; }
.bouton-plein:hover { background: var(--prune-fonce); border-color: var(--prune-fonce); color: #fff; }
.bouton-clair { background: transparent; color: var(--prune); }
.bouton-clair:hover { background: var(--mauve-pale); color: var(--prune-fonce); }
.bouton-grand { font-size: 1.0625rem; padding: 0.95rem 1.7rem; }

/* ===== En-tête ===== */
.entete { position: sticky; top: 0; z-index: 10; background: var(--ivoire); border-bottom: 1px solid var(--filet); }
.entete .enveloppe { display: flex; align-items: center; gap: 2rem; padding-top: 0.8rem; padding-bottom: 0.8rem; }
.menu { margin-left: auto; }
.menu ul { display: flex; gap: 1.6rem; }
.menu a { color: var(--encre); text-decoration: none; font-size: 0.9688rem; padding: 0.4rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.menu a:hover { border-bottom-color: var(--prune); color: var(--prune); }
.menu a[aria-current] { border-bottom-color: var(--prune); }
.entete .bouton { padding: 0.55rem 1rem; font-size: 0.9375rem; white-space: nowrap; }

/* Logo : composition de la charte (signe à gauche sur toute la hauteur, NADYS au-dessus, CONSEIL au-dessous,
   espace signe-mots = 22/28 de la largeur du signe) */
.marque { text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: calc(2rem * 22 / 28); line-height: 1; }
.marque .marque-signe { flex: none; width: 2rem; height: auto; }
.marque .marque-mots { display: flex; flex-direction: column; gap: 0.3rem; font-family: var(--serif); color: var(--prune); text-transform: uppercase; line-height: 1; letter-spacing: 0; }
.marque .marque-mots .marque-nadys { font-weight: 800; font-size: 1.5rem; letter-spacing: 0.16em; color: inherit; }
.marque .marque-mots .marque-conseil { font-weight: 600; font-size: 0.75rem; letter-spacing: 0.34em; color: inherit; margin: 0; }
.pied .marque-blanc .marque-mots { color: #fff; }

/* ===== Sections ===== */
.section { padding: 4.5rem 0; border-top: 1px solid var(--filet); }
.section-blanche { background: var(--sable-pale); }
.tete { max-width: 46rem; margin-bottom: 2rem; }
.tete h1, .tete h2 { margin-bottom: 0.7rem; }
.tete p { color: var(--gris); margin: 0; }
.tete-centree { margin-left: auto; margin-right: auto; text-align: center; }
.surtitre { font-size: 0.9375rem; font-weight: 600; color: var(--mauve-gris); margin: 0 0 0.7rem; letter-spacing: 0.01em; }
.quand { color: var(--mauve-gris); font-weight: 600; font-size: 0.9688rem; margin-bottom: 0.7rem; }

/* ===== Accueil : bandeau et deux versants (lot i) ===== */
.bandeau { padding: 3.5rem 0 3.25rem; background: linear-gradient(170deg, var(--mauve-pale) 0%, #f8f4f3 55%, var(--sable-pale) 100%); border-bottom: 1px solid var(--filet); }
.bandeau-contenu { max-width: 54rem; }
.bandeau h1 { font-size: 2.625rem; margin-bottom: 1rem; }
.bandeau-texte { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.5; color: var(--gris); max-width: 48rem; margin: 0; }
.versants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.25rem; }
.versant { position: relative; display: grid; grid-template-columns: 9rem minmax(0, 1fr); grid-template-rows: auto 1fr auto; grid-template-areas: "photo texte" "detail detail" "suite suite"; gap: 1rem 1.25rem; padding: 1.4rem 1.4rem 1.2rem; border: 1px solid var(--filet); border-radius: 10px; box-shadow: var(--ombre); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.versant::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 6px; border-radius: 10px 10px 0 0; background: var(--teinte); }
.versant-photo { grid-area: photo; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.versant-texte { grid-area: texte; align-self: center; }
.versant h2 { font-size: 1.375rem; margin-bottom: 0.35rem; }
.versant h2 a { color: inherit; text-decoration: none; }
.versant h2 a::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.versant-public { margin: 0; color: var(--teinte); font-weight: 600; font-size: 0.9688rem; line-height: 1.35; }
.versant-detail { grid-area: detail; align-self: start; margin: 0; color: var(--gris); }
.versant-suite { grid-area: suite; font-weight: 600; color: var(--teinte); font-size: 0.9688rem; }
.versant:hover { box-shadow: var(--ombre-haute); transform: translateY(-2px); }
/* J1 (contrôle du lot j) : versants plus marqués ; titre 4,7 / 5,0, texte gris 6,1 / 6,3 sur ces fonds ; pastilles sur blanc, sauf l'IA */
.versant.teinte-org { background: #f8e4da; }
.versant.teinte-num { background: #dcefed; }
.versant h2 { color: var(--teinte); }
.versant .rangee-pictos li:not(.teinte-ia) { background: var(--blanc); }
.bandeau-actions { margin: 2rem 0 0; }

/* Rangée des pictogrammes du numérique */
.rangee-pictos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; }
.rangee-pictos li { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: 0.6rem 0.25rem 0.5rem; border-radius: 8px; background: var(--teinte-pale); border: 1px solid var(--teinte); text-align: center; font-size: 0.8125rem; font-weight: 600; line-height: 1.2; color: var(--encre); }
.rangee-pictos .picto { width: 1.75rem; height: 1.75rem; color: var(--teinte); }
.rangee-pictos .en-avant { border-width: 2px; font-weight: 700; }
.rangee-pictos .teinte-ia { background: linear-gradient(135deg, var(--cyber-pale), var(--ia-pale)); }

/* ===== Accueil : offres regroupées sous les deux versants ===== */
.groupe-offres + .groupe-offres { margin-top: 3rem; }
.groupe-tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 1rem; margin-bottom: 1.25rem; padding-bottom: 0.65rem; border-bottom: 2px solid var(--teinte); }
.groupe-tete h3 { font-size: 1.375rem; color: var(--teinte); display: flex; align-items: center; gap: 0.6rem; }
.groupe-tete h3::before { content: ""; flex: none; width: 0.8rem; height: 0.8rem; border-radius: 3px; background: var(--teinte); }
.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.cartes-une { grid-template-columns: 1fr; }
.carte { position: relative; display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--filet); border-top: 4px solid var(--teinte, var(--prune)); border-radius: 10px; overflow: hidden; box-shadow: var(--ombre); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.carte img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.carte-texte { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.3rem 1.25rem; }
.carte-picto { width: 1.75rem; height: 1.75rem; color: var(--teinte, var(--prune)); margin-bottom: 0.6rem; }
.carte h4 { font-size: 1.1875rem; margin-bottom: 0.45rem; }
.carte h4 a { color: var(--encre); text-decoration: none; }
.carte h4 a::after { content: ""; position: absolute; inset: 0; }
.carte p { font-size: 1rem; color: var(--gris); margin: 0 0 0.9rem; }
.carte-suite { margin-top: auto; font-weight: 600; color: var(--teinte, var(--prune)); }
.carte:hover { transform: translateY(-2px); box-shadow: var(--ombre-haute); }
.carte:hover h4 a { color: var(--teinte, var(--prune)); }
.carte-large { flex-direction: row; }
.carte-large img { width: 30%; flex: none; aspect-ratio: auto; min-height: 100%; }
.carte-large .carte-texte { padding: 1.5rem 1.75rem; align-self: center; }
.carte-large h4 { font-size: 1.375rem; }
/* Le contour de focus passe sur toute la carte quand le navigateur sait le faire ; sinon il reste sur le lien */
.carte:has(a:focus-visible), .versant:has(a:focus-visible) { outline: 3px solid var(--prune); outline-offset: 3px; }
@supports selector(:has(a)) { .carte h4 a:focus-visible, .versant h2 a:focus-visible { outline: none; } }
@media (prefers-reduced-motion: reduce) { .carte, .versant { transition: none; } .carte:hover, .versant:hover { transform: none; } }

/* ===== Accueil : notre façon de travailler ===== */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; text-align: center; }
.point-icone { display: block; box-sizing: content-box; width: 2.5rem; height: 2.5rem; padding: 0.85rem; margin: 0 auto 1rem; border-radius: 50%; background: var(--teinte-pale); color: var(--teinte); }
.points h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--teinte); }
.points p { margin: 0 auto; max-width: 20rem; color: var(--gris); }

/* ===== Actualités (accueil et page) ===== */
.pans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.bande-actu { background: var(--bande-actu); }
.pan-titre { font-size: 1.25rem; color: var(--teinte); padding-bottom: 0.55rem; margin-bottom: 1rem; border-bottom: 3px solid var(--teinte); }
.pan .actu { border-left: 4px solid var(--teinte); }
.pan-section { background: var(--teinte-pale); }
.pan-section .actu { border-top: 4px solid var(--teinte); }
.pan-titre-page { margin-bottom: 1.25rem; color: var(--teinte); display: flex; align-items: center; gap: 0.6rem; }
.pan-titre-page::before { content: ""; flex: none; width: 0.9rem; height: 0.9rem; border-radius: 3px; background: var(--teinte); }
.actus { display: grid; gap: 1rem; }
.actus-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.actu { height: 100%; background: var(--blanc); border: 1px solid var(--filet); border-radius: 10px; padding: 1.1rem 1.3rem 1.15rem; }
.actu-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem; margin: 0 0 0.55rem; font-size: 0.875rem; color: var(--gris); }
.etiquette { display: inline-block; padding: 0.05rem 0.6rem; border-radius: 999px; background: var(--teinte-pale); color: var(--teinte); border: 1px solid var(--teinte); font-weight: 700; font-size: 0.8125rem; }
.actu-titre { font-size: 1.125rem; color: var(--encre); margin-bottom: 0.4rem; }
.actu-resume { color: var(--gris); font-size: 1rem; margin: 0 0 0.6rem; }
.actu-lien { margin: 0; font-weight: 600; }
.actu-lien a { display: inline-block; min-height: 1.5rem; line-height: 1.5rem; }
.actu-vide { color: var(--gris); margin: 0; }
.sommaire-pans { margin-bottom: 2rem; }
.sommaire-pans ul { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.sommaire-pans a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.4rem 1.1rem; border: 1.5px solid var(--teinte); border-radius: 999px; background: var(--blanc); color: var(--teinte); font-weight: 600; text-decoration: none; }
.sommaire-pans a::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--teinte); }
.sommaire-pans a:hover { background: var(--teinte-pale); color: var(--teinte); }

/* ===== Contact (accueil) et fin de page (pages internes) : fonds clairs ===== */
.contact { background: linear-gradient(180deg, var(--mauve-pale) 0%, var(--ivoire) 100%); }
.contact-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3.5rem; align-items: center; }
.contact-photo { display: block; width: 100%; height: auto; border-radius: 10px; }
.contact h2 { margin-bottom: 0.8rem; }
.contact-texte { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.5; color: var(--gris); }
.contact-adresse, .fin-adresse { font-weight: 600; margin: 0.5rem 0 0; }
.contact-adresse a, .fin-adresse a { display: inline-block; min-height: 1.5rem; line-height: 1.5rem; }
.fin-de-page { background: var(--mauve-pale); }
.fin-grille { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.fin-de-page h2 { margin-bottom: 0.6rem; }
.fin-de-page p { margin: 0; color: var(--gris); }
.fin-actions { text-align: right; }
.fin-actions p { margin: 0; }
.fin-de-page .fin-adresse { margin-top: 0.6rem; }

/* ===== Six temps (page Méthode) : fond sombre adouci ===== */
.methode { background: var(--sombre); color: #f1ebef; border-top: 0; }
.methode h2 { color: #fff; }
.methode .tete p { color: #e6dfe4; }
.methode .six { --plein: var(--sable); --vide: #4a4150; --fond: var(--sombre); }
.temps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.temps > li { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 0.6rem; align-content: start; }
.chiffre { font-family: var(--serif); font-size: 2.5rem; line-height: 1; color: #fff; grid-row: span 4; }
.temps .six { margin: 0.45rem 0 0.8rem; }
.temps h3 { color: #fff; font-size: 1.1875rem; margin-bottom: 0.4rem; }
.condition { display: block; font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; color: #e6dfe4; margin-top: 0.2rem; }
.temps p { margin: 0; color: #e6dfe4; font-size: 0.9688rem; }
.temps .livrable { margin-top: 0.6rem; padding-left: 0.8rem; border-left: 2px solid var(--sable); color: #fff; }
.livrable b { color: #e6dfe4; margin-right: 0.3rem; }
.apres { margin: 2rem 0 0; color: #e6dfe4; }
.apres a { display: inline-block; min-height: 1.5rem; line-height: 1.5rem; }
.methode a { color: #fff; }

/* ===== Pied de page : gardé dans son principe, teinte adoucie ===== */
.pied { background: var(--sombre); color: #f1ebef; padding: 2.75rem 0 1.75rem; font-size: 0.9688rem; }
.pied a { color: #fff; display: inline-block; min-height: 1.5rem; line-height: 1.5rem; }
.pied .a-fournir { background: #3a3320; color: #ffe9a8; border-color: #c9a84a; }
.pied .colonnes { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr; gap: 2.5rem; }
.pied h2 { color: #cfc3cc; margin-bottom: 0.6rem; }
.pied li { margin-bottom: 0.3rem; }
.pied .marque { display: inline-flex; margin-bottom: 0.6rem; }
.pied .colonnes > div > p { margin: 0 0 0.6rem; }
.pied .bas { margin-top: 1.75rem; padding-top: 1.1rem; border-top: 1px solid #463d4b; color: #cfc3cc; }
.pied .bas p { margin: 0 0 0.3rem; }
/* Contour de focus lisible sur les fonds sombres (7:1) */
.methode a:focus-visible, .pied a:focus-visible { outline-color: var(--sable); }

.barre-mobile { display: none; }

/* ===== Pages internes ===== */
.page-tete { padding: 2.25rem 0 2.5rem; }
.page-versant { background: linear-gradient(180deg, var(--teinte-pale) 0%, var(--ivoire) 100%); border-top: 5px solid var(--teinte); }
.page-versant .six { --plein: var(--teinte); --fond: var(--teinte-pale); }
.page-versant .surtitre, .page-versant .quand, .page-versant h1 { color: var(--teinte); }
.fil { margin-bottom: 1.4rem; font-size: 0.9375rem; color: var(--gris); }
.fil ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0; }
.fil a { display: inline-block; min-height: 1.5rem; line-height: 1.5rem; }
.fil li:not(:last-child)::after { content: "›"; content: "›" / ""; margin: 0 0.5rem; color: var(--gris); }
.page-tete h1 { max-width: 52rem; }
.page-quand { font-size: 1.125rem; margin: 0.8rem 0 0; }
.page-chapeau { max-width: 46rem; margin-top: 1rem; }
.page-chapeau p { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.5; color: var(--gris); }
.page-tete-grille.avec-photo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.page-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.page-404 { min-height: calc(100vh - 16rem); }

.prose > * { max-width: 46rem; }
.prose h2 { margin-bottom: 0.8rem; }
.prose h3 { margin: 1.4rem 0 0.4rem; }
.prose > p:last-child { margin-bottom: 0; }
.liste-traits { margin-bottom: 0.9rem; }
.liste-traits li { position: relative; padding-left: 1.1rem; margin-bottom: 0.45rem; }
.liste-traits li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.5rem; height: 2px; background: var(--prune); }
.liste-simple { list-style: disc; padding-left: 1.25rem; }
.liste-simple li { margin-bottom: 0.35rem; }
.encadre { margin: 1.5rem 0 0; padding: 1rem 1.4rem; border-left: 3px solid var(--prune); background: var(--mauve-pale); }
.encadre > :last-child { margin-bottom: 0; }
.renvoi { margin: 1.4rem 0 0; font-weight: 600; }
.renvoi a { display: inline-block; min-height: 1.5rem; line-height: 1.5rem; }

/* Numérique en santé : cinq thèmes, cybersécurité et intelligence artificielle mises en avant (lot i) */
.themes-num { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.themes-avant { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.75rem; }
.theme-num { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--teinte-pale) 0%, var(--blanc) 70%); border: 1px solid var(--filet); border-radius: 10px; padding: 1.4rem 1.4rem 1.25rem; }
.theme-num::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--teinte-trait); }
.theme-num h3 { font-size: 1.125rem; margin-bottom: 0.4rem; }
.theme-num p { margin: 0; color: var(--gris); }
.theme-picto { color: var(--teinte); margin-bottom: 0.75rem; }
.theme-num h3 { color: var(--teinte); }
.themes-avant .theme-num { padding: 1.75rem 1.75rem 1.6rem; box-shadow: var(--ombre); }
.themes-avant .theme-num::before { height: 6px; }
.themes-avant .theme-num h3 { font-size: 1.375rem; }

/* Pages légales et plan du site */
.mentions { display: grid; grid-template-columns: minmax(10rem, 16rem) 1fr; gap: 0.5rem 1.5rem; margin: 0; }
.mentions dt { color: var(--gris); font-size: 0.9688rem; }
.mentions dd { margin: 0; }
.plan, .plan ul { list-style: disc; padding-left: 1.25rem; }
.plan li { margin: 0.35rem 0; }
.plan ul { margin-top: 0.3rem; list-style: circle; }

/* ===== Tablette ===== */
@media (max-width: 68rem) {
  html { scroll-padding-top: 8rem; }
  h1 { font-size: 2.5rem; }
  .entete .enveloppe { flex-wrap: wrap; gap: 0.4rem 1.5rem; }
  .menu { order: 3; width: 100%; margin-left: 0; }
  .entete .bouton { margin-left: auto; }
  .bandeau h1 { font-size: 2.25rem; }
  .cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cartes-une { grid-template-columns: 1fr; }
  .carte-large img { width: 38%; }
  .contact-grille { grid-template-columns: 1fr; gap: 2rem; }
  .contact-photo { max-width: 36rem; }
  .fin-grille { grid-template-columns: 1fr; gap: 1.5rem; }
  .fin-actions { text-align: left; }
  .temps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-tete-grille.avec-photo { grid-template-columns: 1fr; gap: 1.5rem; }
  .page-photo { max-width: 36rem; }
  .themes-num { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pans { grid-template-columns: 1fr; }
}

/* Versants l'un sous l'autre sous 52rem (832 px) ; côte à côte au-dessus */
@media (max-width: 52rem) { .versants { grid-template-columns: 1fr; gap: 1rem; } }

/* ===== Petit écran : mise en page conçue pour lui, pas seulement empilée ===== */
@media (max-width: 40rem) {
  html { scroll-padding-top: 1rem; scroll-padding-bottom: 4.5rem; }
  body { font-size: 1rem; line-height: 1.45; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4375rem; }
  .enveloppe { padding: 0 1.25rem; }
  .section { padding: 2.25rem 0; }
  .tete { margin-bottom: 1.25rem; }
  .tete p { font-size: 0.9688rem; }
  .centre { margin-top: 1.5rem; }
  .centre .bouton, .bouton-grand { display: block; text-align: center; }

  /* En-tête : non collant, menu sur toute la largeur, cibles de 44 px */
  .entete { position: static; }
  .entete .enveloppe { padding-top: 0.6rem; padding-bottom: 0.1rem; gap: 0; }
  .entete .bouton { display: none; }
  .menu ul { flex-wrap: wrap; gap: 0 0.9rem; justify-content: space-between; }
  .menu a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0; font-size: 0.9375rem; }
  .marque .marque-signe { width: 1.75rem; }
  .marque { gap: calc(1.75rem * 22 / 28); }
  .marque .marque-mots .marque-nadys { font-size: 1.3125rem; }
  .marque .marque-mots .marque-conseil { font-size: 0.6875rem; }

  /* Bandeau compact : les deux versants visibles sans long défilement */
  .bandeau { padding: 1.5rem 0 1.75rem; }
  .bandeau .surtitre { font-size: 0.875rem; margin-bottom: 0.45rem; }
  .bandeau h1 { font-size: 1.625rem; margin-bottom: 0.65rem; }
  .bandeau-texte { font-size: 1rem; line-height: 1.45; }
  .versants { margin-top: 1.25rem; gap: 0.75rem; }
  .versant { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.65rem 0.9rem; padding: 0.9rem 0.95rem 0.85rem; }
  .versant h2 { font-size: 1.125rem; margin-bottom: 0.2rem; }
  .versant-public { font-size: 0.875rem; }
  .versant-detail { font-size: 0.9375rem; line-height: 1.4; }
  .versant-suite { font-size: 0.9063rem; }
  .bandeau-actions { margin-top: 1.25rem; }
  .bandeau-actions .bouton { display: block; text-align: center; }
  /* Pictogrammes en pastilles qui passent à la ligne */
  .rangee-pictos { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .rangee-pictos li { flex-direction: row; gap: 0.35rem; padding: 0.3rem 0.65rem 0.3rem 0.5rem; border-radius: 999px; font-size: 0.8438rem; }
  .rangee-pictos .picto { width: 1.125rem; height: 1.125rem; }

  /* Offres : lignes compactes, vignette à gauche */
  .groupe-offres + .groupe-offres { margin-top: 2rem; }
  .groupe-tete { margin-bottom: 0.85rem; }
  .groupe-tete h3 { font-size: 1.1875rem; }
  .cartes { grid-template-columns: 1fr; gap: 0.75rem; }
  .carte, .carte-large { flex-direction: row; align-items: stretch; }
  .carte img, .carte-large img { width: 6.5rem; flex: none; aspect-ratio: auto; min-height: 100%; object-fit: cover; }
  .carte-large img { align-self: flex-start; height: 6.5rem; min-height: 0; }
  .carte-texte, .carte-large .carte-texte { padding: 0.8rem 0.95rem; }
  .carte-picto { display: none; }
  .carte h4, .carte-large h4 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
  .carte p { font-size: 0.9375rem; margin-bottom: 0.5rem; }
  .carte-suite { font-size: 0.9375rem; }

  /* Façon de travailler : pictogramme à gauche du texte */
  .points { grid-template-columns: 1fr; gap: 1.1rem; text-align: left; }
  .points li { display: grid; grid-template-columns: 2.7rem minmax(0, 1fr); column-gap: 0.9rem; }
  .point-icone { grid-row: span 2; width: 1.6rem; height: 1.6rem; padding: 0.55rem; margin: 0; }
  .points h3 { font-size: 1.0625rem; margin-bottom: 0.2rem; }
  .points p { margin: 0; max-width: none; font-size: 0.9688rem; }

  /* Actualités */
  .actus-grille { grid-template-columns: 1fr; }
  .actu { padding: 0.95rem 1rem; }
  .actu-lien a { display: inline-flex; align-items: center; min-height: 2.75rem; line-height: 1.3; }

  /* Contact */
  .contact-photo { aspect-ratio: 16 / 9; object-fit: cover; }
  .contact-texte { font-size: 1.0625rem; }
  .contact-adresse a, .fin-adresse a { display: inline-flex; align-items: center; min-height: 2.75rem; }

  /* Six temps */
  .temps { grid-template-columns: 1fr; gap: 1rem; }
  .temps > li { grid-template-columns: 2.1rem 1fr; }
  .chiffre { font-size: 2rem; }
  .temps p { font-size: 0.9375rem; }
  .temps h3 { font-size: 1.125rem; }

  /* Pages internes */
  .page-tete { padding: 1.25rem 0 1.5rem; }
  .page-chapeau p { font-size: 1.0625rem; }
  .fil { margin-bottom: 0.9rem; }
  .fil a, .renvoi a, .apres a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .page-photo { aspect-ratio: 16 / 9; }
  .themes-num, .themes-avant { grid-template-columns: 1fr; gap: 0.85rem; }
  .themes-avant .theme-num { padding: 1.2rem 1.25rem; }
  .themes-avant .theme-num h3 { font-size: 1.1875rem; }
  .theme-num { padding: 1rem 1.1rem; }
  .mentions { grid-template-columns: 1fr; gap: 0.15rem; }
  .plan a, .liste-simple a, .mentions dd > a, .prose li > a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .plan li { margin: 0; }
  .mentions dd { margin-bottom: 0.6rem; }

  /* Pied : une colonne, liens de 44 px */
  .pied { padding: 1.5rem 0 1.25rem; font-size: 0.9375rem; }
  .pied .colonnes { grid-template-columns: 1fr; gap: 1.25rem; }
  .pied li { margin-bottom: 0; }
  .pied li a { display: inline-flex; align-items: center; min-height: 2.75rem; line-height: 1.3; }
  .pied .bas a { min-height: 2.75rem; line-height: 2.75rem; }
  .entete .marque { min-height: 2.75rem; }

  /* Barre d'appel : première dans le code (ordre de tabulation), placée en bas par order ; elle s'arrête avant la section contact */
  .avant-contact { display: flex; flex-direction: column; }
  .barre-mobile { order: 1; display: block; position: sticky; bottom: 0; z-index: 10; margin: 0; padding: 0.55rem 1.25rem; background: var(--ivoire); border-top: 1px solid var(--filet); }
  /* La barre n'apparaît qu'une fois le bandeau dépassé (évite le doublon avec le bouton du bandeau) ; sans prise en charge, elle reste visible */
  @supports (animation-timeline: scroll()) {
    .barre-mobile { animation: apparition linear both; animation-timeline: scroll(root); animation-range: 0 900px; }
    @keyframes apparition { 0%, 70% { opacity: 0; visibility: hidden; transform: translateY(100%); } 100% { opacity: 1; visibility: visible; transform: none; } }
  }
  @media (prefers-reduced-motion: reduce) { .barre-mobile { transform: none !important; } }
  .barre-mobile .bouton { display: block; text-align: center; padding: 0.65rem 0.5rem; font-size: 0.9375rem; }
}

/* Très petit écran (320 px) */
@media (max-width: 24rem) {
  .menu ul { gap: 0 0.5rem; }
}
@media (max-width: 22rem) {
  .bandeau h1 { font-size: 1.5rem; }
  .menu ul { gap: 0 0.5rem; }
  .menu a { font-size: 0.8125rem; }
}
