/* Digital Encyclopedia : univers proche de JwEthicMusic (vert sauge, cartes arrondies, DM Sans), titres en Fraunces */
:root {
  --fond: #F7F6F1; --surface: #FFFFFF; --texte: #1F2A23; --doux: #5E6B62; --bord: #E2E6DD;
  --sauge: #5E7D65; --sauge-fonce: #3F5A46; --sauge-clair: #E8EEE7; --or: #B08A3E; --or-clair: #F6EFDF;
  --ombre: 0 18px 50px rgba(31, 42, 35, .08); --rayon: 22px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #121915; --surface: #1A231D; --texte: #EDF1EC; --doux: #A7B3AA; --bord: #2B372F;
    --sauge: #7FA287; --sauge-fonce: #A9C7AF; --sauge-clair: #22302A; --or: #D6B36A; --or-clair: #2A261B;
    --ombre: 0 18px 50px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 17px/1.65 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--sauge-fonce); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(40px, 6.5vw, 72px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 18px; }
h3 { font-size: 22px; font-weight: 600; margin: 34px 0 10px; }
p { margin: 0 0 14px; }

/* barre du haut */
.haut { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px max(16px, calc((100vw - 1080px) / 2)); background: color-mix(in srgb, var(--fond) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--bord); }
.marque { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--texte); text-decoration: none; }
.marque-signe { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--sauge-fonce); color: #fff; font-family: "Fraunces", Georgia, serif; font-size: 16px; letter-spacing: .02em; }
@media (prefers-color-scheme: dark) { .marque-signe { background: var(--sauge); color: #0f1611; } }
.marque-signe.petit { width: 26px; height: 26px; border-radius: 8px; font-size: 11px; vertical-align: middle; margin-right: 6px; }
.menu { display: flex; gap: 6px; flex-wrap: wrap; }
.menu a { padding: 8px 14px; border-radius: 999px; color: var(--doux); text-decoration: none; font-weight: 500; font-size: 15px; transition: background .15s, color .15s; }
.menu a:hover { background: var(--sauge-clair); color: var(--texte); }

.langue { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--bord); color: var(--texte); text-decoration: none; font-weight: 600; font-size: 14px; background: var(--surface); }
.langue:hover { background: var(--sauge-clair); }
.haut .menu { margin-left: auto; }
main > * { max-width: 1080px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.surtitre { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--sauge); margin-bottom: 12px; }
.doux { color: var(--doux); font-weight: 500; }
.chapeau { font-size: 20px; color: var(--doux); max-width: 760px; }

/* ouverture */
.ouverture { padding-top: 96px; padding-bottom: 72px; text-align: center; }
.ouverture .chapeau { margin: 22px auto 0; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; }
.btn-plein { background: var(--sauge-fonce); color: #fff; box-shadow: 0 10px 26px rgba(63, 90, 70, .3); }
.btn-plein:hover { transform: translateY(-2px); }
@media (prefers-color-scheme: dark) { .btn-plein { background: var(--sauge); color: #0f1611; } }
.btn-discret { border: 1px solid var(--bord); color: var(--texte); background: var(--surface); }
.btn-discret:hover { background: var(--sauge-clair); }

/* manifeste */
.manifeste { padding-top: 40px; padding-bottom: 40px; }
.manifeste > *:not(.surtitre):not(h2) { max-width: 760px; }
.manifeste p { font-size: 18px; }
.etapes { list-style: none; padding: 0; margin: 18px 0 8px; display: grid; gap: 14px; }
.etapes li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); }
.etape-num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sauge-clair); color: var(--sauge-fonce); font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 18px; }

/* définition : encadré noble */
.definition { padding-top: 60px; padding-bottom: 60px; }
.encadre { margin: 10px 0 0; padding: 48px clamp(24px, 6vw, 64px); border-radius: 28px; background: linear-gradient(160deg, var(--surface) 0%, var(--or-clair) 100%); border: 1px solid color-mix(in srgb, var(--or) 45%, transparent); box-shadow: var(--ombre); position: relative; overflow: hidden; }
.encadre::before { content: ""; position: absolute; inset: 14px; border: 1px solid color-mix(in srgb, var(--or) 35%, transparent); border-radius: 20px; pointer-events: none; }
.terme { font-family: "Fraunces", Georgia, serif; font-size: clamp(30px, 5vw, 48px); font-weight: 700; color: var(--or); margin: 0 0 16px; }
.terme span { color: var(--texte); font-weight: 500; }
.encadre blockquote { margin: 0; }
.def-courte { font-family: "Fraunces", Georgia, serif; font-size: clamp(22px, 3vw, 30px); font-weight: 600; color: var(--texte); margin-bottom: 12px; }
.encadre blockquote p:last-child { font-size: 19px; color: var(--doux); max-width: 720px; margin: 0; }
.resume { margin-top: 30px; max-width: 760px; }
.resume p { font-size: 18px; }

/* la DE en action */
.action { padding-top: 60px; padding-bottom: 80px; }
.cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.carte { padding: 24px; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); }
.carte h3 { margin: 12px 0 8px; font-size: 20px; }
.carte p { margin: 0; color: var(--doux); }
.carte-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--sauge-clair); color: var(--sauge-fonce); font-weight: 700; }
.revendication { margin-top: 28px; padding: 26px 28px; border-radius: var(--rayon); background: var(--sauge-clair); border-left: 4px solid var(--sauge); }
.revendication p { font-size: 18px; }
.revendication .fierte { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: 21px; }
.note-tech { margin-top: 22px; font-size: 14px; color: var(--doux); }
.action .actions { justify-content: flex-start; }

/* bas de page et pages secondaires */
.bas { border-top: 1px solid var(--bord); padding: 30px 16px 40px; text-align: center; color: var(--doux); font-size: 15px; }
.bas p { margin: 6px 0; }
.bas .liens a { color: var(--doux); }
.petit-texte { font-size: 13px; }
.page-simple { max-width: 760px; margin: 0 auto; padding: 70px 16px; }
.page-simple h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 26px; }
.page-simple h2 { font-size: 22px; margin: 30px 0 10px; }

/* galerie « La création humaine » */
.galerie-ouverture { padding-bottom: 40px; }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 22px; padding-bottom: 30px; }
.oeuvre { margin: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); overflow: hidden; transition: transform .2s; }
.oeuvre:hover { transform: translateY(-3px); }
.oeuvre img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sauge-clair); }
.oeuvre img[src$="20-moise.jpg"], .oeuvre img[src$="22-tyndale.jpg"] { object-position: top; }
.oeuvre figcaption { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.oeuvre-date { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--or); }
.oeuvre strong { font-family: "Fraunces", Georgia, serif; font-size: 20px; line-height: 1.25; }
.oeuvre-legende { color: var(--doux); }
.credit { margin-top: auto; padding-top: 10px; font-size: 12px; line-height: 1.5; color: var(--doux); }
.credit a { color: var(--doux); }
.galerie-fin { padding-top: 40px; padding-bottom: 80px; text-align: center; }
.galerie-fin .chapeau { margin: 0 auto; }

@media (max-width: 700px) {
  .menu { display: none; }
  .ouverture { padding-top: 64px; }
  .cartes { grid-template-columns: 1fr; }
  .chapeau { font-size: 18px; }
}
