/* ==========================================================================
   Dépliants chrétiens — feuille de style du site public
   Thème : toutes les couleurs, polices et espacements sont des variables ci-dessous.
   ========================================================================== */

:root {
  /* Couleurs */
  --papier: #FFFEFB;          /* fond de page */
  --encre: #1B2A41;           /* texte principal */
  --encre-douce: #556072;     /* texte secondaire */
  --bleu: #2450A6;            /* couleur de la marque (logo d'origine) */
  --bleu-fonce: #183A7A;
  --soleil: #F4B942;          /* accent chaleureux */
  --soleil-pale: #FFF4DA;
  --ciel: #EEF3FB;            /* fonds teintés */
  --trait: #E3E7EF;           /* bordures */
  --blanc: #FFFFFF;

  /* Polices */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Échelle typographique (rapport 1,25) */
  --t-petit: 0.875rem;
  --t-base: 1.0625rem;
  --t-moyen: 1.25rem;
  --t-h3: 1.4rem;
  --t-h2: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --t-h1: clamp(2.4rem, 1.4rem + 4.2vw, 4.1rem);

  /* Espacements et formes */
  --gouttiere: 16px;
  --largeur: 1180px;
  --espace-section: clamp(3rem, 2rem + 4vw, 5.5rem);
  --r-papier: 3px;
  --r-bloc: 12px;
  --ombre-papier: 0 1px 2px rgba(27, 42, 65, .10), 0 10px 24px -10px rgba(27, 42, 65, .35);
  --ombre-papier-haute: 0 2px 4px rgba(27, 42, 65, .10), 0 22px 36px -14px rgba(27, 42, 65, .45);
  --duree: 220ms;
}

@media (min-width: 700px) {
  :root { --gouttiere: 28px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }

p { margin: 0 0 1em; max-width: 68ch; }

a { color: var(--bleu); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--bleu-fonce); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--soleil); outline-offset: 3px; border-radius: 2px; }

.conteneur { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: var(--gouttiere); }

.saut {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--encre); color: var(--blanc); padding: .6rem 1rem; border-radius: 6px;
}
.saut:focus { top: 1rem; }

.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Boutons ---------- */

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem;
  border: 2px solid var(--bleu); border-radius: 999px;
  background: var(--bleu); color: var(--blanc);
  font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background var(--duree), border-color var(--duree), transform var(--duree);
}
.bouton:hover { background: var(--bleu-fonce); border-color: var(--bleu-fonce); color: var(--blanc); text-decoration: none; }
.bouton:active { transform: translateY(1px); }
.bouton--clair { background: transparent; color: var(--bleu); }
.bouton--clair:hover { background: var(--ciel); color: var(--bleu-fonce); }
.bouton svg { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- En-tête ---------- */

.entete {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 254, 251, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--trait);
}
.entete__barre {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .25rem .75rem; min-height: 68px; padding-block: .5rem;
}
.marque { display: inline-flex; align-items: center; gap: .65rem; color: var(--encre); text-decoration: none; }
.marque:hover { color: var(--encre); text-decoration: none; }
.marque__nom { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.marque img { width: 34px; height: 34px; }
@media (min-width: 420px) {
  .marque__nom { font-size: 1.35rem; }
  .marque img { width: 40px; height: 40px; }
}

/* Menu : un bouton « Menu » ouvre la liste sur petit écran ; en ligne avec sous-menus déroulants sur grand écran. */
.bouton-menu {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .9rem;
  border: 1.5px solid var(--trait); border-radius: 999px; background: var(--blanc);
  font: 700 1rem/1 var(--sans); color: var(--encre); cursor: pointer;
}
.bouton-menu svg { width: 1.25rem; height: 1.25rem; }
.nav { display: none; width: 100%; padding-bottom: .75rem; }
.entete--ouvert .nav { display: block; }
.nav__liste { display: grid; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.nav__lien {
  display: flex; align-items: center; justify-content: space-between; gap: .35rem; width: 100%;
  padding: .7rem .9rem; border: 0; border-radius: 10px; background: none;
  font: 700 1.05rem/1.2 var(--sans); color: var(--encre); text-decoration: none; text-align: left; cursor: pointer;
  transition: background var(--duree);
}
.nav__lien:hover { background: var(--ciel); color: var(--encre); text-decoration: none; }
.nav__lien[aria-current="page"], .nav__lien--actif { background: var(--encre); color: var(--blanc); }
.nav__lien[aria-current="page"]:hover, .nav__lien--actif:hover { background: var(--bleu-fonce); color: var(--blanc); }
.nav__chevron { width: 1.1em; height: 1.1em; transition: transform var(--duree); }
.nav__declencheur[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }
.nav__sous { display: none; margin: .15rem 0 .4rem; padding: 0 0 0 .9rem; list-style: none; border-left: 2px solid var(--soleil); }
.nav__declencheur[aria-expanded="true"] + .nav__sous { display: grid; gap: .1rem; }
.nav__sous-lien {
  display: block; padding: .55rem .9rem; border-radius: 8px;
  color: var(--encre); font-weight: 700; text-decoration: none;
}
.nav__sous-lien:hover { background: var(--ciel); color: var(--encre); text-decoration: none; }
.nav__sous-lien[aria-current="page"] { color: var(--bleu); text-decoration: underline; text-underline-offset: .2em; }

@media (min-width: 980px) {
  .bouton-menu { display: none; }
  .nav { display: block; width: auto; padding: 0; }
  .nav__liste { display: flex; gap: .2rem; white-space: nowrap; }
  .nav__lien { width: auto; padding: .45rem .85rem; border-radius: 999px; font-size: 1rem; }
  .nav__groupe { position: relative; }
  .nav__sous {
    position: absolute; top: calc(100% + .5rem); right: 0; z-index: 30;
    min-width: 250px; margin: 0; padding: .4rem;
    background: var(--blanc); border: 1px solid var(--trait); border-left: 0; border-radius: var(--r-bloc);
    box-shadow: 0 18px 40px -16px rgba(27, 42, 65, .35);
  }
  .nav__declencheur[aria-expanded="true"] + .nav__sous { display: grid; animation: sous-menu 160ms ease-out; }
}
@keyframes sous-menu { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Sections ---------- */

.section { padding-block: var(--espace-section); }
.section + .section { padding-top: 0; }
.section--teintee + .section, .section + .section--teintee, .section--teintee + .section--teintee { padding-top: var(--espace-section); }
.section--teintee { background: var(--ciel); }

.section__tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 2rem; }
.section__tete h2 { margin: 0; }
.section__tete p { margin: .35rem 0 0; color: var(--encre-douce); }
.section__lien { font-weight: 700; }

.prose p:last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; max-width: 64ch; }
.prose li { margin-bottom: .35em; }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
  background:
    radial-gradient(60rem 30rem at 85% 110%, var(--soleil-pale) 0%, rgba(255, 244, 218, 0) 70%),
    linear-gradient(180deg, var(--papier) 0%, var(--ciel) 100%);
}
.hero__grille { display: grid; gap: 2.5rem; align-items: center; }
.hero__titre { max-width: 14ch; margin-bottom: .45em; }
.hero__texte { font-size: var(--t-moyen); color: var(--encre-douce); max-width: 46ch; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__image { border-radius: var(--r-bloc); box-shadow: var(--ombre-papier-haute); }

@media (min-width: 900px) {
  .hero__grille { grid-template-columns: 1.05fr 1fr; gap: 3rem; }
}

/* Éventail de couvertures : l'élément signature de la page d'accueil */
.eventail {
  position: relative; height: clamp(250px, 52vw, 420px);
  margin-inline: auto; width: 100%; max-width: 560px;
}
.eventail__carte {
  position: absolute; left: 50%; bottom: 4%;
  width: clamp(110px, 17vw, 175px); aspect-ratio: 5 / 8;
  margin-left: calc(clamp(110px, 17vw, 175px) / -2);
  transform-origin: 50% 100%;
  transform: translateX(calc(var(--pos) * 40%)) translateY(calc(var(--creux) + var(--levee, 0px))) rotate(var(--angle));
  transition: transform 700ms cubic-bezier(.2, .8, .2, 1), box-shadow var(--duree);
  border-radius: var(--r-papier); overflow: hidden; z-index: var(--z, 1);
  background: var(--blanc); box-shadow: var(--ombre-papier);
  cursor: pointer; border: 0; padding: 0;
}
.eventail__carte img { width: 100%; height: 100%; object-fit: cover; }
.eventail__carte:hover, .eventail__carte:focus-visible { --levee: -20px; box-shadow: var(--ombre-papier-haute); z-index: 20; }
.eventail--ferme .eventail__carte { transform: translateX(0) translateY(0) rotate(0deg); }

/* ---------- Couvertures (grilles de dépliants) ---------- */

.grille-depliants {
  display: grid; gap: 2rem 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  margin: 0; padding: 0; list-style: none;
}
@media (min-width: 700px) {
  .grille-depliants { grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 2.5rem 1.6rem; }
}
.grille-depliants--rangee { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) {
  .grille-depliants--rangee { grid-template-columns: repeat(4, 1fr); }
}

.depliant { display: flex; flex-direction: column; gap: .7rem; }
.depliant__couv {
  position: relative; display: block; width: 100%; aspect-ratio: 5 / 8;
  padding: 0; border: 0; border-radius: var(--r-papier); overflow: hidden;
  background: var(--blanc); box-shadow: var(--ombre-papier); cursor: pointer;
  transition: transform var(--duree) ease, box-shadow var(--duree) ease;
}
.depliant__couv img { width: 100%; height: 100%; object-fit: contain; }
.depliant__sans-image {
  display: flex; align-items: center; justify-content: center; height: 100%; padding: 1rem;
  background: var(--ciel); font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; text-align: center; color: var(--bleu-fonce);
}
.depliant__couv:hover { transform: translateY(-4px) rotate(-0.6deg); box-shadow: var(--ombre-papier-haute); }
.depliant__titre { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; line-height: 1.25; margin: 0; }
.depliant__titre button {
  all: unset; cursor: pointer; text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: .18em; transition: text-decoration-color var(--duree);
}
.depliant__titre button:hover { text-decoration-color: currentColor; }
.depliant__titre button:focus-visible { outline: 3px solid var(--soleil); outline-offset: 2px; }
.depliant__meta { margin: -.35rem 0 0; font-size: var(--t-petit); color: var(--encre-douce); }
.pastille {
  position: absolute; top: 8px; left: 8px;
  padding: .15rem .55rem; border-radius: 999px;
  background: var(--soleil); color: var(--encre);
  font: 700 .78rem/1.5 var(--sans);
}

/* ---------- Catalogue ---------- */

.outils {
  position: sticky; top: 68px; z-index: 5;
  display: grid; gap: .9rem; margin-bottom: 2rem; padding: 1rem 0;
  background: var(--papier); border-bottom: 1px solid var(--trait);
}
.outils__ligne { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.recherche { position: relative; flex: 1 1 260px; }
.recherche svg { position: absolute; left: .95rem; top: 50%; translate: 0 -50%; width: 1.15rem; height: 1.15rem; color: var(--encre-douce); pointer-events: none; }
.champ {
  width: 100%; min-height: 48px; padding: .6rem 1rem;
  border: 1.5px solid var(--trait); border-radius: 999px; background: var(--blanc);
  font: inherit; color: var(--encre);
  transition: border-color var(--duree), box-shadow var(--duree);
}
.recherche .champ { padding-left: 2.7rem; }
.champ:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 4px rgba(36, 80, 166, .15); }
select.champ { width: auto; padding-right: 2.2rem; cursor: pointer; }

.puces { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .2rem; scrollbar-width: thin; }
.puce {
  flex: none; min-height: 40px; padding: .4rem .95rem;
  border: 1.5px solid var(--trait); border-radius: 999px; background: var(--blanc);
  font: 700 .95rem/1.2 var(--sans); color: var(--encre); cursor: pointer;
  transition: background var(--duree), border-color var(--duree), color var(--duree);
}
.puce:hover { border-color: var(--bleu); }
.puce[aria-pressed="true"] { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }
.puce__nombre { font-weight: 400; opacity: .75; margin-left: .25rem; }

.resultat { margin: 0 0 1.5rem; color: var(--encre-douce); }
.vide { padding: 3rem 1rem; text-align: center; border: 2px dashed var(--trait); border-radius: var(--r-bloc); }
.vide p { margin-inline: auto; }

/* ---------- Fiche d'un dépliant (boîte de dialogue) ---------- */

.fiche {
  width: min(860px, calc(100% - 2 * var(--gouttiere)));
  max-height: calc(100dvh - 2rem);
  padding: 0; border: 0; border-radius: var(--r-bloc);
  background: var(--papier); color: var(--encre);
  box-shadow: 0 30px 80px -20px rgba(27, 42, 65, .5);
}
.fiche::backdrop { background: rgba(27, 42, 65, .55); backdrop-filter: blur(3px); }
.fiche[open] { animation: fiche-entree 260ms cubic-bezier(.2, .8, .2, 1); }
@keyframes fiche-entree { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.fiche__grille { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2.25rem); }
.fiche__couv { width: min(240px, 60%); margin-inline: auto; border-radius: var(--r-papier); box-shadow: var(--ombre-papier-haute); }
.fiche__cat { margin: 0 0 .5rem; font-weight: 700; color: var(--bleu); }
.fiche__date { color: var(--encre-douce); font-size: var(--t-petit); }
.fiche__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.fiche__grille--sans-image { padding-top: clamp(2.5rem, 4vw, 3rem); }
.fiche__fermer {
  position: absolute; top: .6rem; right: .6rem;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--ciel); color: var(--encre); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.fiche__fermer:hover { background: var(--trait); }
@media (min-width: 700px) {
  .fiche__grille--sans-image { grid-template-columns: 1fr !important; }
  .fiche__grille { grid-template-columns: 240px 1fr; gap: 2.25rem; align-items: start; }
  .fiche__couv { width: 100%; }
}

/* ---------- Liseuse PDF intégrée ---------- */

.lecteur {
  width: 100vw; max-width: none; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: #2E3A4E; color: var(--blanc);
  display: none; flex-direction: column;
}
.lecteur[open] { display: flex; animation: fiche-entree 220ms cubic-bezier(.2, .8, .2, 1); }
.lecteur::backdrop { background: var(--encre); }

.lecteur__barre {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem;
  padding: .6rem var(--gouttiere);
  background: var(--encre); border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.lecteur__titre {
  flex: 1 1 100%; order: 5; margin: 0;
  font-size: 1.05rem; font-weight: 500; color: #D6DCE6;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lecteur__page { margin: 0 auto 0 0; font-size: var(--t-petit); color: #D6DCE6; }
.lecteur__zoom { display: flex; gap: .25rem; }
.lecteur__bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-width: 44px; min-height: 44px; padding: .4rem .7rem;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px;
  background: transparent; color: var(--blanc);
  font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background var(--duree), border-color var(--duree);
}
.lecteur__bouton:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); color: var(--blanc); text-decoration: none; }
.lecteur__bouton svg { width: 1.2em; height: 1.2em; }
.lecteur__pourcent { min-width: 4.6rem; font-variant-numeric: tabular-nums; font-weight: 400; }
.lecteur__telecharger { background: var(--soleil); border-color: var(--soleil); color: var(--encre); }
.lecteur__telecharger:hover { background: #E8AA2E; border-color: #E8AA2E; color: var(--encre); }
.lecteur__telecharger span, .lecteur__retour span { display: none; }
@media (max-width: 419px) {
  .lecteur__page { visibility: hidden; flex: 1; }
  .lecteur__pourcent { min-width: 3.6rem; padding-inline: .3rem; }
}

@media (min-width: 700px) {
  .lecteur__titre { flex: 1 1 auto; order: 0; font-size: 1.2rem; }
  .lecteur__page { margin: 0; }
  .lecteur__telecharger span, .lecteur__retour span { display: inline; }
}

.lecteur__pages {
  flex: 1; overflow: auto; overscroll-behavior: contain;
  scrollbar-gutter: stable both-edges; /* largeur constante : pas de défilement horizontal à l'ajustement */
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem;
  padding: 1.25rem 12px 3rem;
}
@media (min-width: 700px) {
  .lecteur__pages { padding: 2rem 2rem 4rem; }
}
.lecteur__pages:focus { outline: none; }
.lecteur__feuille { flex: none; margin-inline: auto; background: var(--blanc); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .55); }
.lecteur__feuille canvas { display: block; }
.lecteur__etat, .lecteur__erreur { margin: auto; text-align: center; color: #D6DCE6; }
.lecteur__erreur p { margin-inline: auto; }
.lecteur__aide { font-size: var(--t-petit); max-width: 46ch; }

/* ---------- Texte et texte + image ---------- */

.texte-image { display: grid; gap: 2rem; align-items: center; }
.texte-image__img { border-radius: var(--r-bloc); box-shadow: var(--ombre-papier); }
@media (min-width: 860px) {
  .texte-image--avec-image { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .texte-image--image-gauche .texte-image__media { order: -1; }
}

/* ---------- Cartes de ressources ---------- */

.ressources { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.ressource {
  display: flex; gap: 1rem; height: 100%; padding: 1.25rem 1.35rem;
  background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r-bloc);
  color: var(--encre); text-decoration: none;
  transition: border-color var(--duree), box-shadow var(--duree);
}
.ressource:hover { color: var(--encre); text-decoration: none; border-color: var(--bleu); box-shadow: var(--ombre-papier); }
.ressource__img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.ressource__titre { font-family: var(--serif); font-size: var(--t-moyen); font-weight: 500; margin: 0 0 .3rem; }
.ressource:hover .ressource__titre { text-decoration: underline; text-underline-offset: .18em; }
.ressource__texte { margin: 0; color: var(--encre-douce); font-size: .98rem; line-height: 1.5; }

/* ---------- Appel à l'action ---------- */

.appel {
  display: grid; gap: 1.25rem; align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--r-bloc);
  background: var(--soleil-pale); border: 1px solid #F3E2B8;
}
.appel h2 { margin-bottom: .3em; }
.appel p { margin: 0; color: var(--encre-douce); }
@media (min-width: 760px) {
  .appel { grid-template-columns: 1fr auto; gap: 2.5rem; }
}

/* ---------- Pied de page ---------- */

.pied { margin-top: var(--espace-section); padding-block: 3rem 2rem; background: var(--encre); color: #D6DCE6; }
.pied a { color: var(--blanc); }
.pied__grille { display: grid; gap: 2rem; }
.pied__nom { font-family: var(--serif); font-size: 1.4rem; color: var(--blanc); margin-bottom: .4rem; }
.pied__texte { max-width: 52ch; font-size: .98rem; }
.pied__liens { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.pied__compteur { font-size: var(--t-petit); }
@media (min-width: 760px) {
  .pied__grille { grid-template-columns: 2fr 1.3fr auto; }
}

/* ---------- Page introuvable ---------- */

.introuvable { text-align: center; }
.introuvable p { margin-inline: auto; }


/* ---------- Conteneur de lecture ---------- */

.conteneur--etroit { max-width: 860px; }

/* ---------- Étapes numérotées ---------- */

.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.25rem; counter-reset: etape; }
.etape { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.etape__numero {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--soleil); color: var(--encre);
  font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1;
}
.etape__titre { font-size: var(--t-h3); margin: .35rem 0 .6rem; }
.etape__texte em { display: block; padding: .15rem 0 .15rem 1rem; border-left: 3px solid var(--ciel); font-family: var(--serif); font-size: 1.12rem; color: var(--encre); }
.etape__texte strong { color: var(--bleu-fonce); }
@media (min-width: 700px) {
  .etape { gap: 1.75rem; }
  .etape__numero { width: 3.75rem; height: 3.75rem; font-size: 2rem; }
}

/* ---------- Liste de documents (études) ---------- */

.groupe-docs + .groupe-docs { margin-top: 2.25rem; }
.groupe-docs__titre { margin: 0 0 .5rem; padding-top: .5rem; font-size: 1.45rem; scroll-margin-top: 12rem; }
.groupe-docs__titre span { font-family: var(--sans); font-size: .9rem; font-weight: 400; color: var(--encre-douce); margin-left: .35rem; }
.liste-docs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trait); }
.doc { display: flex; align-items: center; gap: .5rem; border-bottom: 1px solid var(--trait); }
.doc__principal {
  flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem 1rem;
  padding: .85rem .25rem; border: 0; background: none; font: inherit; color: var(--encre); text-align: left; cursor: pointer;
}
.doc__principal:hover .doc__titre { text-decoration: underline; text-underline-offset: .18em; }
.doc__ref { flex: none; min-width: 9.5rem; font-weight: 700; color: var(--bleu); font-variant-numeric: tabular-nums; }
.doc__titre { flex: 1 1 260px; }
.doc__actions { display: flex; gap: .3rem; flex: none; }
.doc__action {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-width: 44px; min-height: 44px; padding: 0 .7rem;
  border-radius: 999px; color: var(--bleu); font-weight: 700; text-decoration: none;
}
.doc__action:hover { background: var(--ciel); color: var(--bleu-fonce); text-decoration: none; }
.doc__action svg { width: 1.2rem; height: 1.2rem; }
.doc__action span:not(.visuellement-cache) { display: none; }
@media (min-width: 700px) {
  .doc__action span:not(.visuellement-cache) { display: inline; }
}

/* ---------- La Bible ---------- */

.bible__outils { display: grid; gap: .75rem; }
.bible__choix select { min-width: 12rem; }
.bible__sommaire { display: grid; gap: 2.5rem; }
@media (min-width: 760px) {
  .bible__sommaire { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}
.bible__testament h3 { font-size: 1.6rem; padding-bottom: .5rem; border-bottom: 2px solid var(--soleil); }
.bible__livres { list-style: none; margin: 0; padding: 0; columns: 2 10rem; column-gap: 1.5rem; }
.bible__livres a { display: block; padding: .35rem 0; color: var(--encre); text-decoration: none; break-inside: avoid; }
.bible__livres a:hover { color: var(--bleu); text-decoration: underline; text-underline-offset: .18em; }

.bible__chapitre { max-width: 70ch; margin-inline: auto; }
.bible__titre { font-size: var(--t-h2); text-align: center; margin: 1rem 0 1.75rem; }
.bible__texte { font-family: var(--serif); font-size: clamp(1.12rem, 1rem + .4vw, 1.25rem); line-height: 1.75; }
.verset { margin: 0 0 .55em; max-width: none; padding: .1em .35em; border-radius: 6px; scroll-margin-top: 9rem; }
.verset__num {
  font-family: var(--sans); font-size: .72em; font-weight: 700; color: var(--bleu);
  text-decoration: none; vertical-align: .25em; margin-right: .15em;
}
.verset--choisi { background: var(--soleil-pale); box-shadow: inset 3px 0 0 var(--soleil); }
.bible__suite { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--trait); }
.bible__etat { padding: 2rem 0; text-align: center; color: var(--encre-douce); max-width: none; }
.bible__resultats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trait); }
.bible__resultats a { display: grid; gap: .2rem; padding: .9rem .25rem; border-bottom: 1px solid var(--trait); color: var(--encre); text-decoration: none; }
.bible__resultats a:hover { background: var(--ciel); }
.bible__ref { font-weight: 700; color: var(--bleu); }
.bible__extrait { font-family: var(--serif); font-size: 1.1rem; line-height: 1.55; }
.bible mark { background: var(--soleil-pale); color: inherit; box-shadow: 0 2px 0 var(--soleil); padding: 0 .05em; }
@media (min-width: 760px) {
  .bible__resultats a { grid-template-columns: 11rem 1fr; gap: 1rem; }
}

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}
