/* Bioprofiling — le site refait le 20/10/2026 dans le style du site d'origine (Lionel : « en respectant le style de
   bioprofiling », « son univers aussi cohérent et bien présent que c3e2d, sans le copier »).
   L'univers : la grille de points du logo — une plaque de puits de laboratoire où quelques puits sont « marqués » en or —,
   ses deux couleurs (bleu-vert #50a6b9 et or #dca710), Poppins comme à l'origine (300 pour le texte, 500 pour les
   titres), le bleu ardoise des textes (#324a6d), la bande noire de la molécule à la craie, le texte justifié,
   Méta-Vision en or et MS-Quanta en bleu-vert comme dans l'original. Un seul rayon (14 px), des puits partout. */

@font-face { font-family: "Poppins"; src: url("../polices/poppins-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../polices/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../polices/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../polices/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bleu-vert: #50a6b9;          /* le bleu-vert du logo : dessins et puits */
  --bleu-vert-titre: #2f7d8f;    /* en grand (contraste 4,7) */
  --bleu-vert-fonce: #2a7083;    /* liens et petits textes (5,6) */
  --bleu-vert-pale: #e9f4f6;
  --or: #dca710;                 /* l'or du logo : dessins et puits */
  --or-doux: #cda345;            /* l'or des titres d'origine, sur le noir */
  --or-titre: #9a7216;           /* en grand sur le blanc (4,4) */
  --or-fonce: #8a6512;           /* petits textes (5,3) */
  --or-pale: #fbf5e4;
  --encre: #17233b;              /* les titres */
  --ardoise: #324a6d;            /* les textes du site d'origine */
  --noir: #030303;               /* le fond de la molécule à la craie */
  --ligne: #e1e8ec;
  --fond-doux: #f4f7f8;
  --rayon: 14px;
  --cadre: 1180px;
  --gouttiere: 24px;
  --police: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ombre: 0 24px 48px -32px rgba(23, 35, 59, .45);
  --survol: 200ms cubic-bezier(.4, 0, .2, 1);
  --entree: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: #fff; color: var(--ardoise); font-family: var(--police); font-weight: 300; font-size: 1.0625rem; line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu-vert-fonce); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--encre); }
:focus-visible { outline: 2px solid var(--bleu-vert-fonce); outline-offset: 3px; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
figure { margin: 0; }
strong, b { font-weight: 500; }
/* Justifié comme sur le site d'origine ; la césure évite les trous entre les mots. */
.justifie { text-align: justify; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 8 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; -webkit-hyphenate-limit-lines: 2; }
.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cadre { width: 100%; max-width: calc(var(--cadre) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
.evitement { position: absolute; left: 16px; top: -64px; z-index: 50; background: var(--bleu-vert-fonce); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 400; }
.evitement:focus { top: 12px; color: #fff; }

/* ── La plaque : la grille de points du logo (16 puits, 4 en or) ─────────── */
.plaque circle.bleu, .plaque-mini circle.bleu { fill: var(--bleu-vert); }
.plaque circle.or, .plaque-mini circle.or { fill: var(--or); }

/* ── Titres ─────────────────────────────────────────────────────────────── */
.titre-intro { font-size: clamp(2.25rem, 1.35rem + 2.7vw, 3.5rem); line-height: 1.1; letter-spacing: -.01em; color: var(--encre); }
.titre-intro .nom { display: block; color: var(--bleu-vert-titre); letter-spacing: .04em; }
.titre-section { font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); line-height: 1.15; letter-spacing: .015em; color: var(--encre); }
.titre-or { color: var(--or-titre); }
.titre-bleu { color: var(--bleu-vert-titre); }
/* Le filet sous les titres, comme sur l'original (or, bleu-vert, ou les deux couleurs du logo). */
.filet { display: block; width: 64px; height: 2px; margin: 20px 0 28px; border-radius: 2px; background: var(--or); }
.filet-bleu { background: var(--bleu-vert); }
.filet-duo { background: linear-gradient(90deg, var(--bleu-vert) 0 50%, var(--or) 50% 100%); }
.section-tete { text-align: center; }
.section-tete .filet { margin: 20px auto 0; }
.section-texte { max-width: 840px; margin: 36px auto 0; }
.section-texte p:last-child { margin-bottom: 0; }

/* ── En-tête ────────────────────────────────────────────────────────────── */
.entete { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--ligne); transition: box-shadow var(--survol); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .entete { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
}
.entete.est-decolle { box-shadow: 0 16px 34px -24px rgba(23, 35, 59, .5); }
.entete-ligne { display: flex; align-items: center; gap: 32px; min-height: 80px; padding-block: 12px; }
.entete-logo { margin-right: auto; border-radius: 6px; }
.entete-logo img { width: 176px; }
.menu { display: flex; align-items: center; gap: 32px; }
.menu a { position: relative; display: inline-flex; padding: 10px 0; color: var(--encre); font-weight: 400; font-size: .9375rem; text-decoration: none; transition: color var(--survol); }
/* La rubrique courante : un puits sous le lien (or), qui apparaît au survol (bleu-vert). */
.menu a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--bleu-vert); opacity: 0; transform: scale(.3); transition: opacity var(--survol), transform var(--survol), background-color var(--survol); }
.menu a:hover { color: var(--bleu-vert-fonce); }
.menu a:hover::after { opacity: 1; transform: none; }
.menu a.est-courant { color: var(--bleu-vert-fonce); }
.menu a.est-courant::after { opacity: 1; transform: none; background: var(--or); }
.langues { display: flex; padding: 3px; border: 1px solid var(--ligne); border-radius: 999px; background: #fff; }
.langue { display: grid; place-items: center; min-width: 40px; min-height: 32px; padding: 0 10px; border-radius: 999px; font-size: .8125rem; font-weight: 500; letter-spacing: .06em; text-decoration: none; color: var(--ardoise); transition: background-color var(--survol), color var(--survol); }
a.langue:hover { background: var(--bleu-vert-pale); color: var(--bleu-vert-fonce); }
.langue.est-courante { background: var(--bleu-vert-fonce); color: #fff; }
.nav-petite { display: none; }

@media (max-width: 980px) {
  .entete-ligne { gap: 12px; min-height: 68px; padding-block: 10px; }
  .entete-logo img { width: 156px; }
  .nav-large { display: none; }
  .nav-petite { display: block; }
  .nav-bouton {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px;
    background: var(--fond-doux); color: var(--encre); font-weight: 500; font-size: .9375rem; cursor: pointer; list-style: none;
  }
  .nav-bouton::-webkit-details-marker { display: none; }
  .nav-bouton span { width: 16px; height: 10px; border-block: 2px solid currentColor; position: relative; }
  .nav-bouton span::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }
  .nav-petite[open] .nav-bouton { background: var(--bleu-vert-pale); color: var(--bleu-vert-fonce); }
  .nav-petite nav { position: absolute; left: 0; right: 0; top: 100%; padding: 8px var(--gouttiere) 20px; background: #fff; border-bottom: 1px solid var(--ligne); box-shadow: var(--ombre); }
  .nav-petite .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-petite .menu a { display: flex; align-items: center; gap: 12px; padding: 14px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--ligne); }
  .nav-petite .menu a::after { position: static; order: -1; margin: 0; opacity: 1; transform: none; background: var(--ligne); }
  .nav-petite .menu a.est-courant::after { background: var(--or); }
  .langues { order: 0; }
  .langue { min-height: 38px; }
}
@media (max-width: 380px) { .entete-logo img { width: 128px; } .nav-bouton { padding: 0 14px; } }

/* ── L'ouverture : le texte d'accueil et la protéine dans un puits ───────── */
.intro { position: relative; padding: clamp(40px, 6vw, 96px) 0 clamp(72px, 8vw, 120px); overflow: hidden; }
.intro-grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.intro-texte .filet { margin: 24px 0 32px; }
.chapeau { font-size: 1.25rem; line-height: 1.7; color: var(--encre); }
.intro-texte p { max-width: 62ch; }
.intro-texte p:last-child { margin-bottom: 0; }
.intro-visuel { position: relative; width: 100%; max-width: 480px; justify-self: end; aspect-ratio: 1; }
.puits { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #f2f2f2; box-shadow: 0 40px 70px -40px rgba(23, 35, 59, .55); animation: voile 450ms var(--entree) both; }
.puits img { width: 100%; height: 100%; object-fit: cover; }
/* Le bord du puits : un anneau fin, décalé, comme sur une plaque de culture. */
.intro-visuel::after { content: ""; position: absolute; inset: -16px; border: 1px solid #cfe3e8; border-radius: 50%; pointer-events: none; }
.intro-visuel .plaque { position: absolute; z-index: 2; left: -15%; top: -6%; width: 36%; height: auto; filter: drop-shadow(0 10px 14px rgba(23, 35, 59, .12)); }
.plaque circle { transform-box: fill-box; transform-origin: center; animation: puits-arrive 320ms var(--entree) both; }
.plaque .rangee-1 { animation-delay: 220ms; }
.plaque .rangee-2 { animation-delay: 270ms; }
.plaque .rangee-3 { animation-delay: 320ms; }
.plaque .rangee-4 { animation-delay: 370ms; }
@keyframes puits-arrive { from { opacity: 0; transform: scale(.35); } to { opacity: 1; transform: none; } }

@media (max-width: 959px) and (min-width: 760px) {
  .intro-grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
  .intro-visuel .plaque { left: -12%; width: 38%; }
}
@media (max-width: 759px) {
  .intro-grille { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .intro-texte { display: contents; }
  .titre-intro { order: 1; }
  .intro-texte .filet { order: 2; margin: 20px 0 0; }
  .intro-visuel { order: 3; justify-self: center; width: min(64vw, 340px); margin: 48px 0 52px 6%; }
  .intro-texte p { order: 4; max-width: none; }
  .intro-visuel .plaque { left: -20%; top: -8%; width: 40%; }
}
@media (max-width: 520px) { .chapeau { font-size: 1.125rem; } }

/* ── La bande noire : la plateforme et ses deux plateaux ─────────────────── */
.bande { position: relative; padding: clamp(64px, 8vw, 120px) 0; background: var(--noir); color: #cdd6df; overflow: hidden; }
/* Une plaque de puits en filigrane, à droite. */
.bande::before { content: ""; position: absolute; inset: 0 0 0 45%; background-image: radial-gradient(rgba(255, 255, 255, .085) 2px, transparent 2.6px); background-size: 30px 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.bande-grille { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.bande-visuel img { width: 100%; max-width: 500px; margin-inline: auto; }
.bande .titre-section { color: #fff; }
.bande .filet { margin: 20px 0 28px; }
.bande p { color: #cdd6df; }
.plateaux { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 36px; }
.plateau { display: flex; align-items: center; gap: 14px; min-height: 64px; white-space: nowrap; padding: 14px 20px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--rayon); color: #fff; font-weight: 500; letter-spacing: .04em; text-decoration: none; transition: border-color var(--survol), background-color var(--survol), transform var(--survol); }
.plateau .ico { margin-left: auto; width: 18px; height: 18px; transition: transform var(--survol); }
.plateau-puits { width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 5px rgba(220, 167, 16, .18); }
.plateau-bleu .plateau-puits { background: var(--bleu-vert); box-shadow: 0 0 0 5px rgba(80, 166, 185, .2); }
.plateau:hover, .plateau:focus-visible { color: #fff; background: rgba(255, 255, 255, .05); transform: translateY(-2px); }
.plateau-or:hover, .plateau-or:focus-visible { border-color: var(--or-doux); }
.plateau-bleu:hover, .plateau-bleu:focus-visible { border-color: var(--bleu-vert); }
.plateau:hover .ico { transform: translateY(3px); }
.bande :focus-visible { outline-color: #fff; }
@media (max-width: 959px) and (min-width: 760px) { .bande-grille { gap: 40px; } }
@media (max-width: 759px) {
  .bande-grille { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .bande-visuel img { max-width: 300px; }
  .bande::before { inset: 0; -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000); mask-image: linear-gradient(180deg, transparent 30%, #000); }
}
@media (max-width: 520px) { .plateaux { grid-template-columns: minmax(0, 1fr); } }

/* ── Les deux plateaux ──────────────────────────────────────────────────── */
.plateau-section { position: relative; padding: clamp(72px, 9vw, 128px) 0; overflow: hidden; }
.metavision { background: #fff; }
.msquanta { background: var(--fond-doux); }
/* Le coin de la plaque : des puits en filigrane, or pour Méta-Vision, bleu-vert pour MS-Quanta. */
.plateau-section::before { content: ""; position: absolute; top: 0; right: 0; width: min(420px, 50vw); height: 300px; background-image: radial-gradient(var(--teinte) 3px, transparent 3.6px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(circle at 100% 0, #000, transparent 70%); mask-image: radial-gradient(circle at 100% 0, #000, transparent 70%); opacity: .32; pointer-events: none; }
.metavision { --teinte: var(--or); }
.msquanta { --teinte: var(--bleu-vert); }
.plateau-section .cadre { position: relative; }

/* Méta-Vision : l'équipement en bandeau (l'instrument, les universités), puis les applications sur deux colonnes */
.fiches { display: grid; gap: 16px; margin-top: 56px; }
.fiche { padding: 36px 40px; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); transition: border-color var(--survol), box-shadow var(--survol); }
.fiche:hover { box-shadow: var(--ombre); }
.metavision .fiche:hover { border-color: #ead9a8; }
.fiche-titre { font-size: 1.25rem; line-height: 1.3; color: var(--encre); margin-bottom: 20px; }
.fiche-equipement { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; background: var(--or-pale); border-color: #efe2bd; }
.fiche-equipement .fiche-titre { margin-bottom: 12px; }
.fiche-equipement .puces li { color: var(--encre); font-weight: 400; }
.puces-colonnes { columns: 2; column-gap: 56px; }
.puces-colonnes li { display: inline-block; width: 100%; break-inside: avoid; margin: 0 0 12px; }   /* inline-block : la 2e colonne démarre à la même hauteur dans Safari */
/* Le contact de la fiche (le lien « Prof. Ruddy Wattiez » de l'original, invisible là-bas : blanc sur blanc). */
.fiche-contact { margin: 20px 0 0; }
.fiche-contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px 6px 12px; border: 1px solid #ead9a8; border-radius: 999px; background: #fff; color: var(--or-fonce); font-size: .9375rem; font-weight: 400; text-decoration: none; transition: border-color var(--survol), background-color var(--survol), color var(--survol); }
.fiche-contact a:hover { border-color: var(--or); background: var(--or-pale); color: var(--encre); }
.fiche-contact .ico { width: 16px; height: 16px; }
@media (max-width: 759px) {
  .fiche-equipement { grid-template-columns: minmax(0, 1fr); }
  .puces-colonnes { columns: 1; }
}

/* Les listes : chaque élément dans un puits (anneau), comme les points du logo */
.puces li { position: relative; padding-left: 30px; margin-bottom: 12px; line-height: 1.6; }
.puces li:last-child { margin-bottom: 0; }
.puces li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 12px; height: 12px; border: 2px solid var(--bleu-vert); border-radius: 50%; }
.puces-or li::before { border-color: var(--or); }

/* MS-Quanta : les trois exigences, à la suite de la phrase « …à savoir : ». Après cinq essais refusés (cartes à gros
   ronds, encadré en gras, liste nue, bloc bleu-vert foncé, bloc teinté), Lionel a choisi le 21/10 sur captures la
   proposition B : un bloc blanc, un filet bleu-vert sur le bord supérieur, une exigence par ligne séparée par un filet. */
.exigences { max-width: 840px; margin: 24px auto 0; background: #fff; border: 1px solid var(--ligne); border-top: 3px solid var(--bleu-vert); border-radius: var(--rayon); overflow: hidden; }
.exigences li { display: flex; align-items: flex-start; gap: 16px; padding: 20px 32px; color: var(--encre); font-size: 1.125rem; font-weight: 400; line-height: 1.45; }
.exigences li + li { border-top: 1px solid var(--ligne); }
.exigence-puits { width: 10px; height: 10px; flex: none; margin-top: .45em; border-radius: 50%; background: var(--bleu-vert); box-shadow: 0 0 0 4px rgba(80, 166, 185, .16); }
@media (max-width: 759px) { .exigences li { gap: 14px; padding: 20px 22px; font-size: 1.0625rem; } }

/* Les logos des universités, à surface égale, chacun vers son site */
.logos { display: flex; flex-wrap: wrap; gap: 12px; }
.logos-centres { justify-content: center; margin-top: 40px; }
.logos a { display: grid; place-items: center; min-width: 120px; height: 84px; padding: 12px 20px; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); transition: border-color var(--survol), transform var(--survol), box-shadow var(--survol); }
.logos a:hover { border-color: var(--bleu-vert); transform: translateY(-2px); box-shadow: var(--ombre); }
@media (max-width: 520px) {
  .logos { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 8px; }
  .logos-2 { --n: 2; max-width: 320px; }
  .logos a { min-width: 0; height: 68px; padding: 8px 10px; }
  .logos img { max-height: 44px; width: auto; }
}

/* ── Accès et offres : les trois volets de l'accordéon d'origine, ouverts ── */
.offres { padding: clamp(72px, 9vw, 128px) 0; background: #fff; }
.volets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.volet { padding: 32px; background: var(--fond-doux); border-radius: var(--rayon); transition: background-color var(--survol), box-shadow var(--survol); }
.volet:hover { background: #fff; box-shadow: var(--ombre), 0 0 0 1px var(--ligne); }
.volet-tete { margin-bottom: 20px; }
.volet-tete h3 { font-size: 1.25rem; line-height: 1.3; color: var(--encre); }
.volet-puits { display: flex; gap: 6px; margin-bottom: 18px; }
.volet-puits i { width: 12px; height: 12px; border-radius: 50%; background: #cfe3e8; }
.volet-puits i.or { background: var(--or); }
.offres-fin { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; margin-top: 32px; padding: 32px 36px; border: 1px solid #ecdcae; border-radius: var(--rayon); background: var(--or-pale); color: var(--encre); }
.offres-fin p { margin: 0 0 .8em; }
.offres-fin p:last-child { margin-bottom: 0; }
@media (max-width: 959px) { .volets { gap: 12px; } .volet { padding: 24px; } }
@media (max-width: 759px) { .volets { grid-template-columns: minmax(0, 1fr); } .volet-tete { display: flex; align-items: center; gap: 16px; } .volet-puits { margin: 0; order: 2; margin-left: auto; } }
@media (max-width: 720px) { .offres-fin { grid-template-columns: minmax(0, 1fr); padding: 24px; } .offres-fin .bouton { justify-self: start; } }

.bouton { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; background: var(--bleu-vert-fonce); color: #fff; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color var(--survol), transform var(--survol); }
.bouton:hover { background: var(--encre); color: #fff; }
.bouton .ico { width: 16px; height: 16px; }
.bouton-clair { background: #fff; color: var(--bleu-vert-fonce); box-shadow: inset 0 0 0 1px var(--ligne); }
.bouton-clair:hover { background: var(--bleu-vert-pale); color: var(--encre); }

/* ── Contact : trois cartes, titres aux couleurs de l'original ────────────── */
.contact { padding: clamp(72px, 9vw, 128px) 0; background: var(--fond-doux); }
.contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.contact-carte { position: relative; padding: 32px; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; transition: border-color var(--survol), box-shadow var(--survol); }
.contact-carte::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--trait); }
.contact-carte:hover { box-shadow: var(--ombre); }
.contact-carte h3 { margin-bottom: 20px; font-size: 1.25rem; font-weight: 600; letter-spacing: .04em; color: var(--titre); }
.contact-ardoise { --titre: var(--ardoise); --trait: var(--ardoise); }
.contact-or { --titre: var(--or-titre); --trait: var(--or); }
.contact-bleu { --titre: var(--bleu-vert-titre); --trait: var(--bleu-vert); }
.contact-ligne { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 12px; line-height: 1.55; overflow-wrap: anywhere; }
.contact-ligne:last-child { margin-bottom: 0; }
.contact-ligne .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--trait); }
.contact-ligne a { font-weight: 400; }
.contact-ligne a[href^="tel:"] { white-space: nowrap; }
.contact-nom { color: var(--encre); font-weight: 400; }
@media (max-width: 959px) { .contacts { gap: 12px; } .contact-carte { padding: 24px 20px; } .contact-carte h3 { font-size: 1.125rem; } }
@media (max-width: 759px) { .contacts { grid-template-columns: minmax(0, 1fr); } .contact-carte { padding: 24px; } }

/* ── Pied : le logo, la navigation, les langues ──────────────────────────── */
.pied { padding: 44px 0 20px; background: #fff; border-top: 1px solid var(--ligne); font-size: .9375rem; }
.pied-grille { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; }
.pied-logo { border-radius: 6px; }
.pied-logo img { width: 160px; }
.pied-menu .menu { flex-wrap: wrap; gap: 4px 28px; justify-content: center; }
.pied-langues { display: flex; gap: 8px; }
.pied-langues a, .pied-langues span { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border: 1px solid var(--ligne); border-radius: 999px; font-size: .875rem; font-weight: 400; line-height: 1.3; text-decoration: none; color: var(--encre); transition: border-color var(--survol), background-color var(--survol), color var(--survol); }
.pied-langues a:hover { border-color: var(--bleu-vert); background: var(--bleu-vert-pale); color: var(--bleu-vert-fonce); }
.pied-langues .est-courante { border-color: var(--bleu-vert-pale); background: var(--bleu-vert-pale); color: var(--bleu-vert-fonce); }
/* La dernière ligne (21/10) : la plaque et « Tous droits réservés · Cookies » à gauche, la mention de Matys à droite */
.pied-bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--ligne); font-size: .8125rem; }
.pied-droits { display: flex; align-items: center; gap: 10px; margin: 0; }
.pied-credit { margin: 0; }
.plaque-mini { width: 18px; height: 18px; flex: none; }
@media (max-width: 960px) {
  .pied-grille { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 20px; }
  .pied-menu .menu { justify-content: flex-start; gap: 0 24px; }
  .pied-logo img { width: 140px; }
}

/* ── La page introuvable ────────────────────────────────────────────────── */
.introuvable { padding: clamp(64px, 10vw, 128px) var(--gouttiere); text-align: center; }
.introuvable .plaque { width: 96px; height: auto; margin: 0 auto 32px; }
.introuvable-en { margin: 8px 0 32px; font-size: 1.25rem; color: var(--ardoise); }
.introuvable-liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

@media (max-width: 520px) {
  :root { --gouttiere: 16px; }
  body { font-size: 1rem; }
  /* Au téléphone, la colonne est étroite : la césure plus souple évite les grands blancs du texte justifié. */
  .justifie { hyphenate-limit-chars: 6 3 3; -webkit-hyphenate-limit-before: 3; -webkit-hyphenate-limit-after: 3; -webkit-hyphenate-limit-lines: no-limit; }
  .fiche { padding: 24px 20px; }
  .section-texte { margin-top: 28px; }
}

/* ── Mouvement : entrées de 350 ms décalées de 50 ms, rien ne boucle ; coupé si le visiteur demande moins de
   mouvement ; sans JavaScript, rien n'est caché (la classe .js est posée par site.js). ─────────────────────── */
@keyframes monter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes voile { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.titre-intro { animation: monter 350ms var(--entree) both; }
.js [data-apparition] { opacity: 0; transform: translateY(18px); transition: opacity 350ms var(--entree), transform 350ms var(--entree); }
.js [data-apparition].est-visible { opacity: 1; transform: none; }
.echelonne > :nth-child(2) { transition-delay: 50ms; }
.echelonne > :nth-child(3) { transition-delay: 100ms; }
/* Une fois arrivé, l'élément reprend ses transitions ordinaires, sans le décalage de l'entrée. */
.js [data-apparition].est-arrive { transition: transform var(--survol), box-shadow var(--survol), background-color var(--survol), border-color var(--survol); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-apparition] { opacity: 1; transform: none; }
}

/* Le lien « Cookies » du pied (21/10) : le point de séparation vient d'ici, le texte d'origine reste intact */
.pied-cookies::before { content: "·"; display: inline-block; margin: 0 .5em; color: var(--ardoise); text-decoration: none; }
/* La page des cookies (21/10) : une colonne de lecture */
.page-legale { max-width: 760px; }
.page-legale h2 { margin: 2em 0 .6em; }
.page-legale p + p { margin-top: .9em; }
