/* soprez.org : le site de Soprez (gratuit, fiable, durable, sans traçage, sans contrainte).
   Thème sombre élégant à filets dorés par défaut, clair si le système le demande. Typographie Outfit / Figtree en local.
   Chaque projet peut porter sa propre teinte (.theme-vision : le rouge de l'œil de Vision). */

@font-face { font-family: "Outfit"; font-weight: 300; font-style: normal; font-display: swap; src: url("/assets/fonts/outfit-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-style: italic; font-display: swap; src: url("/assets/fonts/figtree-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/figtree-latin-600-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  /* Couleurs de marque (identiques dans les deux thèmes) */
  --marque-rouge: #b3282d;
  --marque-or: #f2c14e;
  --marque-creme: #fbf3ee;
  --marque-vert: #1f6b45;
  /* Thème sombre */
  --fond: #0f0d0c;
  --fond-2: #151210;
  --surface: #191513;
  --surface-2: #221d1a;
  --encre: #f6eee3;
  --encre-2: #d3c7b9;
  --encre-3: #9e9184;
  --or: #f2c14e;
  --or-vif: #ffd56e;
  --or-filet: rgba(242, 193, 78, 0.22);
  --or-filet-fort: rgba(242, 193, 78, 0.5);
  --rouge: #e0525a;
  --accent-fond: rgba(242, 193, 78, 0.08);
  --vert: #5cbf8a;
  --halo: rgba(179, 40, 45, 0.55);
  --bouton-fond: #f2c14e;
  --bouton-fond-survol: #ffd56e;
  --bouton-texte: #1d0f10;
  --entete-fond: rgba(18, 11, 12, 0.86);
  --code-fond: #0b0607;
  --voile: rgba(0, 0, 0, 0.2);
  --lueur-1: rgba(242, 193, 78, 0.07);
  --lueur-2: rgba(246, 238, 227, 0.04);
  --rayon: 14px;
  --rayon-petit: 8px;
  --mesure: 68ch;
  --large: 1120px;
  --titre: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --texte: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --fond: #f8f3ec;
    --fond-2: #f1e9de;
    --surface: #fffcf8;
    --surface-2: #f6eee4;
    --encre: #211a15;
    --encre-2: #4f443b;
    --encre-3: #6f6257;
    --or: #855c00;
    --or-vif: #6a4900;
    --or-filet: rgba(170, 118, 8, 0.3);
    --or-filet-fort: rgba(170, 118, 8, 0.62);
    --rouge: #a32328;
    --accent-fond: rgba(170, 118, 8, 0.08);
    --vert: #1f6b45;
    --halo: rgba(179, 40, 45, 0.4);
    --bouton-fond: #211a15;
    --bouton-fond-survol: #3a2f27;
    --bouton-texte: #f8f3ec;
    --entete-fond: rgba(248, 243, 236, 0.9);
    --code-fond: #f3e4db;
    --voile: rgba(255, 255, 255, 0.55);
    --lueur-1: rgba(242, 193, 78, 0.16);
    --lueur-2: rgba(33, 26, 21, 0.03);
  }
}

/* Teinte propre à un projet : Vision */
.theme-vision { --accent-fond: rgba(179, 40, 45, 0.14); --lueur-projet: rgba(179, 40, 45, 0.22); }
@media (prefers-color-scheme: light) { .theme-vision { --accent-fond: rgba(179, 40, 45, 0.07); --lueur-projet: rgba(179, 40, 45, 0.1); } }
.theme-vision .bouton-plein { --bouton-fond: #b3282d; --bouton-fond-survol: #941e23; --bouton-texte: #fff8f2; }
.page-projet.theme-vision { background: radial-gradient(1000px 520px at 85% -6%, var(--lueur-projet), transparent 62%); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 560px at 82% -10%, var(--lueur-1), transparent 62%),
    radial-gradient(900px 480px at 6% -14%, var(--lueur-2), transparent 60%),
    var(--fond);
  background-repeat: no-repeat;
  color: var(--encre);
  font: 400 1.0625rem/1.65 var(--texte);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: anywhere;
}
main { flex: 1; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--or); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--or-vif); }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(242, 193, 78, 0.35); color: var(--encre); }

h1, h2, h3, h4 { font-family: var(--titre); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; text-wrap: balance; overflow-wrap: normal; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); font-weight: 300; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1.2vw, 2rem); }
h3 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0 0 1em; }

.saut { position: absolute; left: 16px; top: 0; z-index: 10; transform: translateY(-150%); background: var(--surface-2); padding: 8px 14px; border: 1px solid var(--or); border-radius: var(--rayon-petit); }
.saut:focus { transform: translateY(12px); }
.visuel-masque { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.conteneur { width: 100%; max-width: var(--large); margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .conteneur { padding: 0 16px; } }

/* — L'œil de Vision, animé (clignement, regard, respiration) — */
.oeil { display: block; overflow: visible; }
.oeil .halo { fill: var(--halo); transform-box: view-box; transform-origin: 24px 24px; filter: blur(2.4px); animation: oeil-respire 4.8s ease-in-out infinite; }
.oeil .globe { transform-box: view-box; transform-origin: 24px 24px; animation: oeil-cligne 7s ease-in-out infinite; }
.oeil .regard { transform: translate(calc(var(--gx, 0) * 1px), calc(var(--gy, 0) * 1px)); transition: transform 0.22s ease-out; }
.oeil .errance { animation: oeil-erre 12s ease-in-out infinite; }
.oeil.suit .errance { animation: none; }
.oeil-petit .globe { animation-duration: 9s; animation-delay: 2.5s; }
@keyframes oeil-respire { 0%, 100% { opacity: 0.25; transform: scale(1); } 50% { opacity: 0.75; transform: scale(1.09); } }
@keyframes oeil-cligne { 0%, 92%, 100% { transform: scaleY(1); } 94% { transform: scaleY(0.06); } 96% { transform: scaleY(1); } }
@keyframes oeil-erre {
  0%, 16% { transform: translate(0, 0); }
  22%, 38% { transform: translate(-2.6px, 0.5px); }
  44%, 60% { transform: translate(2.4px, -0.7px); }
  66%, 82% { transform: translate(0.8px, 1.1px); }
  88%, 100% { transform: translate(0, 0); }
}

/* — En-tête — */
.entete { border-bottom: 1px solid var(--or-filet); background: var(--entete-fond); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 5; }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.marque { display: inline-flex; align-items: center; gap: 10px; color: var(--encre); text-decoration: none; }
.marque:hover { color: var(--encre); }
.marque img { width: 38px; height: 38px; }
.marque-nom { font: 400 1.3rem/1 var(--titre); letter-spacing: 0.03em; }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav a { color: var(--encre-2); text-decoration: none; padding: 8px 11px; border-radius: 999px; font-size: 0.95rem; white-space: nowrap; }
.nav a:hover { color: var(--encre); background: var(--accent-fond); }
.nav a[aria-current="page"] { color: var(--encre); box-shadow: inset 0 0 0 1px var(--or-filet-fort); }
.langue { margin-left: 6px; font: 500 0.78rem/1 var(--texte); letter-spacing: 0.12em; }
.nav .langue a { padding: 7px 10px; border: 1px solid var(--or-filet); }
@media (max-width: 640px) {
  .entete .conteneur { position: relative; }
  .nav { width: 100%; gap: 0; margin-left: -8px; }
  .nav a { padding: 7px 8px; font-size: 0.92rem; }
  /* Le choix de langue rejoint le logo, en haut à droite : la navigation garde toute la ligne. */
  .langue { position: absolute; top: 14px; right: 16px; margin: 0; }
}
@media (max-width: 380px) { .nav a { padding: 7px 6px; font-size: 0.88rem; } .marque img { width: 34px; height: 34px; } }

/* — Éléments communs — */
.surtitre { display: inline-block; font: 500 0.74rem/1.4 var(--texte); letter-spacing: 0.22em; text-transform: uppercase; color: var(--or); margin-bottom: 16px; }
.chapeau { font-size: 1.18rem; color: var(--encre-2); max-width: 60ch; }
.filet { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--or-filet-fort), transparent); }
.section { padding-top: 64px; padding-bottom: 64px; }
.section-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-tete h2 { margin: 0; }
.lien-discret { font-size: 0.95rem; text-decoration: none; }
.lien-discret::after { content: " →"; }

.cadre {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--or-filet);
  border-radius: var(--rayon);
  position: relative;
}
.cadre::before { /* liseré doré en tête de carte */
  content: ""; position: absolute; inset: 0 24px auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--or-filet-fort), transparent);
}

.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.bouton {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 0.98rem/1.2 var(--texte); text-decoration: none;
  padding: 12px 20px; border-radius: 999px;
  border: 1px solid var(--or-filet-fort); color: var(--encre);
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.bouton:hover { border-color: var(--or); color: var(--encre); background: var(--accent-fond); }
.bouton-plein { background: var(--bouton-fond); border-color: var(--bouton-fond); color: var(--bouton-texte); }
.bouton-plein:hover { background: var(--bouton-fond-survol); border-color: var(--bouton-fond-survol); color: var(--bouton-texte); }
.bouton svg { width: 18px; height: 18px; flex: none; }

.pastille { display: inline-flex; align-items: center; gap: 8px; font: 500 0.78rem/1.3 var(--texte); letter-spacing: 0.03em; color: var(--encre-2); border: 1px solid var(--or-filet); padding: 6px 11px; border-radius: 999px; }
.pastille .point { width: 7px; height: 7px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 3px rgba(92, 191, 138, 0.18); flex: none; }
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.etiquette { font: 500 0.75rem/1.3 var(--texte); color: var(--encre-3); letter-spacing: 0.05em; }
.etiquette::before { content: "#"; color: var(--or); margin-right: 1px; }

/* — Accueil Soprez : promesse — */
.heros-soprez { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; }
.sceau { position: relative; width: min(300px, 100%); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.sceau img { width: 64%; position: relative; z-index: 1; filter: drop-shadow(0 10px 40px rgba(242, 193, 78, 0.18)); }
@media (max-width: 760px) { .heros-soprez { grid-template-columns: 1fr; gap: 8px; } .sceau { order: -1; width: min(200px, 56vw); } }
.citation { margin: 0; padding: 26px 30px; border-left: 2px solid var(--or); background: var(--accent-fond); border-radius: 0 var(--rayon) var(--rayon) 0; }
.citation p { font: 300 clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem)/1.4 var(--titre); margin: 0 0 12px; color: var(--encre); }
.citation footer { color: var(--encre-3); font-size: 0.92rem; }
.piliers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; margin-top: 28px; }
.pilier { padding: 22px; }
.pilier h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; margin-bottom: 8px; }
.pilier h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 3px var(--or-filet); flex: none; }
.pilier p { margin: 0; color: var(--encre-2); font-size: 0.95rem; }

/* — Héros avec l'œil (page Vision) — */
.heros { padding-top: 88px; padding-bottom: 56px; }
.heros h1 { max-width: 18ch; }
.heros h1 em { font-style: normal; color: var(--or); }
.heros-vision { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; }
.scene-oeil { position: relative; width: min(340px, 100%); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.scene-oeil .oeil, .scene-oeil .logo-projet-grand { width: 62%; height: auto; position: relative; z-index: 1; }
.anneaux { position: absolute; inset: 0; width: 100%; height: 100%; }
.anneaux circle { fill: none; stroke: var(--or-filet-fort); stroke-width: 0.6; }
.anneaux .tirets { stroke-dasharray: 1.2 3.6; transform-box: view-box; transform-origin: 50px 50px; animation: tourne 80s linear infinite; }
.anneaux .fin { stroke: var(--or-filet); }
@keyframes tourne { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .heros { padding-top: 40px; }
  .heros-vision { grid-template-columns: 1fr; gap: 12px; }
  .scene-oeil { order: -1; width: min(220px, 64vw); }
}

.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--or-filet); border: 1px solid var(--or-filet); border-radius: var(--rayon); overflow: hidden; margin-top: 8px; }
.chiffre { background: var(--surface); padding: 20px 22px; }
.chiffre strong { display: block; font: 300 2rem/1.1 var(--titre); color: var(--or); }
.chiffre span { color: var(--encre-2); font-size: 0.92rem; }

.grille-projets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.carte-projet { padding: 28px; display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--encre); transition: border-color 0.2s, transform 0.2s; }
a.carte-projet:hover { border-color: var(--or-filet-fort); color: var(--encre); transform: translateY(-2px); }
.carte-projet-tete { display: flex; align-items: center; gap: 16px; }
.carte-projet-tete img, .carte-projet-tete .oeil { width: 56px; height: 56px; flex: none; }
.carte-projet h3 { font-size: 1.5rem; font-weight: 400; margin: 0; }
.carte-projet p { color: var(--encre-2); margin: 0; }
.carte-vide { border-style: dashed; background: transparent; color: var(--encre-3); justify-content: center; align-items: flex-start; }
.carte-vide::before { display: none; }
.carte-bientot .pastilles { margin-top: auto; }
.carte-bientot h3 { color: var(--encre-2); }

.liste-articles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--or-filet); }
.liste-articles li { border-bottom: 1px solid var(--or-filet); }
.liste-articles a { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: baseline; padding: 22px 4px; text-decoration: none; color: var(--encre); }
.liste-articles a:hover .titre-article { color: var(--or); }
.liste-articles time { color: var(--encre-3); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.titre-article { font: 400 1.25rem/1.3 var(--titre); display: block; transition: color 0.15s; }
.resume-article { color: var(--encre-2); font-size: 0.97rem; display: block; margin-top: 6px; }
.liste-articles .projet-article { color: var(--or); font-size: 0.85rem; white-space: nowrap; }
@media (max-width: 680px) { .liste-articles a { grid-template-columns: 1fr; gap: 6px; } }
.vide { color: var(--encre-3); font-style: italic; }

/* — Feuille de route — */
.feuille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .feuille { grid-template-columns: 1fr; } }
.colonne { padding: 22px; }
.colonne h3 { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--texte); font-weight: 600; margin-bottom: 18px; }
.colonne h3 .compte { margin-left: auto; color: var(--encre-3); font-weight: 400; letter-spacing: 0; }
.colonne h3::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1px solid currentColor; flex: none; }
.colonne-en-cours h3 { color: var(--or); }
.colonne-en-cours h3::before { background: var(--or); }
.colonne-a-venir h3 { color: var(--rouge); }
.colonne-fait h3 { color: var(--vert); }
.colonne-fait h3::before { background: var(--vert); }
.colonne ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.jalon { border: 1px solid var(--or-filet); border-radius: var(--rayon-petit); padding: 14px 16px; background: var(--voile); }
.jalon strong { display: block; font-weight: 600; font-size: 0.98rem; }
.jalon p { margin: 6px 0 0; font-size: 0.92rem; color: var(--encre-2); }
.jalon .meta-jalon { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 10px; font-size: 0.8rem; color: var(--encre-3); }
.jalon .meta-jalon .projet-jalon { color: var(--or); }

/* — Parcours de Vision : chronologie — */
.parcours { border-bottom: 1px solid var(--or-filet); margin-top: 32px; }
.etape { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 16px 40px; padding: 40px 0; border-top: 1px solid var(--or-filet); }
.etape-tete { position: sticky; top: 92px; align-self: start; }
.etape-tete .periode { display: block; font: 500 0.74rem/1.4 var(--texte); letter-spacing: 0.18em; text-transform: uppercase; color: var(--or); margin-bottom: 8px; }
.etape-tete h2, .etape-tete h3 { font-family: var(--titre); font-size: 1.6rem; font-weight: 400; margin: 0; }
.jalons-parcours { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; display: grid; gap: 24px; }
.jalons-parcours::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, var(--or-filet-fort), var(--or-filet)); }
.pas { position: relative; }
.pas::before { content: ""; position: absolute; left: -30px; top: 7px; width: 15px; height: 15px; border-radius: 50%; background: var(--fond); border: 1px solid var(--or); box-shadow: inset 0 0 0 4px var(--fond), inset 0 0 0 8px var(--or); }
.theme-vision .pas::before { box-shadow: inset 0 0 0 4px var(--fond), inset 0 0 0 8px var(--marque-rouge); }
.pas h3, .pas h4 { font-family: var(--titre); font-size: 1.12rem; font-weight: 500; margin: 0 0 4px; }
.pas p { margin: 0; color: var(--encre-2); }
.pas .quand { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 0.85rem; color: var(--encre-3); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.pas .quand .pastille { padding: 2px 8px; font-size: 0.72rem; }
.etape-encours .jalons-parcours::before { background: repeating-linear-gradient(180deg, var(--or-filet-fort) 0 6px, transparent 6px 12px); }
.etape-encours .pas::before { box-shadow: inset 0 0 0 4px var(--fond); border-style: dashed; }
@media (max-width: 760px) {
  .etape { grid-template-columns: 1fr; padding: 32px 0; }
  .etape-tete { position: static; }
}

/* — Page projet — */
.projet-heros { padding: 64px 0 48px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; }
.projet-heros .logo-projet { width: 152px; height: 152px; padding: 18px; border-radius: 50%; }
.projet-heros .logo-projet .oeil { width: 100%; height: 100%; }
@media (max-width: 700px) { .projet-heros { grid-template-columns: 1fr; gap: 20px; padding-top: 32px; } .projet-heros .logo-projet { width: 112px; height: 112px; padding: 12px; } }
.projet-heros h1 { margin-bottom: 0.25em; }
.projet-heros .pastilles { margin: 20px 0 28px; }
.fil-ariane { font-size: 0.88rem; color: var(--encre-3); padding-top: 28px; }
.fil-ariane a { color: var(--encre-3); text-decoration: none; }
.fil-ariane a:hover { color: var(--or); }
.fil-ariane span[aria-hidden] { margin: 0 8px; color: var(--or-filet-fort); }

.atouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.atout { padding: 24px; }
.atout h3 { color: var(--encre); }
.atout p { color: var(--encre-2); margin: 0; font-size: 0.97rem; }
.atout .icone { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--or-filet-fort); display: grid; place-items: center; color: var(--or); margin-bottom: 16px; font: 500 0.9rem/1 var(--titre); }

.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.galerie figure { margin: 0; }
.galerie img, .capture-vide { border-radius: var(--rayon-petit); border: 1px solid var(--or-filet); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--surface); }
.capture-vide { display: grid; place-items: center; color: var(--encre-3); font-size: 0.9rem; text-align: center; padding: 16px; background: repeating-linear-gradient(135deg, var(--surface) 0 12px, var(--surface-2) 12px 24px); }
.galerie figcaption { font-size: 0.88rem; color: var(--encre-3); margin-top: 10px; }

.soutien { padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.soutien h2, .soutien h3 { margin-bottom: 6px; }
.soutien p { color: var(--encre-2); margin: 0; }
@media (max-width: 700px) { .soutien { grid-template-columns: 1fr; padding: 24px; } }

/* — Prose (articles, installation) — */
.prose { max-width: var(--mesure); }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose h2 { margin-top: 2.2em; padding-top: 0.2em; }
.prose h3 { margin-top: 1.8em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--or); }
.prose strong { color: var(--encre); font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--or); color: var(--encre-2); font-style: italic; }
.prose code { font-family: var(--mono); font-size: 0.88em; background: var(--surface-2); border: 1px solid var(--or-filet); border-radius: 6px; padding: 0.1em 0.4em; }
.prose pre { background: var(--code-fond); color: var(--encre); border: 1px solid var(--or-filet); border-radius: var(--rayon-petit); padding: 18px 20px; overflow-x: auto; font-size: 0.9rem; line-height: 1.55; }
.prose pre code { background: none; border: 0; padding: 0; font-size: inherit; }
.prose img { border-radius: var(--rayon-petit); border: 1px solid var(--or-filet); }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 0.88rem; color: var(--encre-3); margin-top: 10px; text-align: center; }
.prose hr { border: 0; height: 1px; background: var(--or-filet); margin: 2.4em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--or-filet); padding: 10px 8px; text-align: left; }
.prose th { font-weight: 600; color: var(--or); }

.etapes, .installation ol { counter-reset: etape; list-style: none; padding: 0; }
.etapes > li, .installation ol > li { counter-increment: etape; position: relative; padding-left: 52px; min-height: 36px; }
.etapes > li::before, .installation ol > li::before { content: counter(etape); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--or-filet-fort); color: var(--or); display: grid; place-items: center; font: 500 0.95rem/1 var(--titre); }

/* — Article — */
.article-tete { padding: 56px 0 36px; max-width: 820px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--encre-3); font-size: 0.92rem; margin-top: 18px; }
.article-meta a { text-decoration: none; }
.article-meta .sep { color: var(--or-filet-fort); }
.article-corps { padding-bottom: 48px; }
.article-pied { max-width: var(--mesure); border-top: 1px solid var(--or-filet); padding: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.autre-langue { font-size: 0.92rem; }
.bandeau-brouillon { background: var(--accent-fond); border-bottom: 1px solid var(--or); color: var(--encre); text-align: center; padding: 10px 16px; font-size: 0.92rem; }

/* — Pied de page — */
.pied { border-top: 1px solid var(--or-filet); margin-top: 48px; padding: 36px 0 44px; color: var(--encre-3); font-size: 0.92rem; }
.pied .conteneur { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.pied nav { display: flex; gap: 20px; flex-wrap: wrap; }
.pied a { color: var(--encre-2); text-decoration: none; }
.pied a:hover { color: var(--or); }
.pied .promesse { display: inline-flex; align-items: center; gap: 8px; }
.pied .promesse::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 2px var(--or-filet); }

/* — Formulaire (page d'autorisation OAuth) — */
.formulaire { max-width: 560px; padding: 28px; display: grid; gap: 14px; margin-bottom: 48px; }
.formulaire label { font-weight: 600; }
.formulaire label span { font-weight: 400; color: var(--encre-3); }
.formulaire input[type="password"] { font: inherit; color: var(--encre); background: var(--fond); border: 1px solid var(--or-filet-fort); border-radius: var(--rayon-petit); padding: 12px 14px; width: 100%; }
.formulaire input[type="password"]:focus { border-color: var(--or); outline: none; box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.22); }
.formulaire button { cursor: pointer; background: transparent; font: 500 0.98rem/1 var(--texte); }
.formulaire button.bouton-plein { background: var(--bouton-fond); }
.details-client { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; margin: 0 0 6px; font-size: 0.95rem; }
.details-client dt { color: var(--encre-3); }
.details-client dd { margin: 0; }
.message-erreur { color: var(--rouge); margin: 0; }

/* — Utilitaires (en dernier : ils l'emportent) — */
.section-suite { padding-top: 0; }
.heros-court { padding-bottom: 32px; }
.boutons-heros { margin-top: 28px; }
.maj { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .oeil .regard { transform: none !important; }
}
@media print { body { background: #fff; color: #000; } .entete, .pied, .soutien, .scene-oeil .anneaux { display: none; } }
