/* Nafsologie, site v6 : feuille de style du site.
   Reprend la feuille du site v5 (menu, bandes, boutons, outils) et l'accorde à la charte validée par Abdoul le 02/12/2026
   (04_design/application/CHARTE.md) : mêmes couleurs, mêmes polices que les livres ; le vert clair (brume) est réservé
   à « Notre lecture » ; les bandes claires du site sont blanches sur le papier ivoire.
   Les passages repris des livres ont leur propre feuille : livre.css.
   Polices hébergées sur le site (aucun appel à un service extérieur) : Literata, Atkinson Hyperlegible, Amiri,
   Scheherazade New (SIL Open Font License). */

@font-face { font-family: "Literata"; font-style: normal; font-weight: 400; font-display: swap; src: url(polices/literata-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 700; font-display: swap; src: url(polices/literata-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 400; font-display: swap; src: url(polices/literata-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 700; font-display: swap; src: url(polices/literata-latin-700-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 400; font-display: swap; src: url(polices/literata-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 700; font-display: swap; src: url(polices/literata-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 400; font-display: swap; src: url(polices/literata-latin-ext-400-italic.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 700; font-display: swap; src: url(polices/literata-latin-ext-700-italic.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Atkinson"; font-weight: 400; font-display: swap; src: url(polices/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Atkinson"; font-weight: 700; font-display: swap; src: url(polices/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Amiri"; font-weight: 400; font-display: swap; src: url(polices/amiri-arabic-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Amiri"; font-weight: 700; font-display: swap; src: url(polices/amiri-arabic-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Amiri Quran"; font-weight: 400; font-display: swap; src: url(polices/amiri-quran-arabic-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Scheherazade New"; font-weight: 400; font-display: swap; src: url(polices/scheherazade-new-arabic-400-normal.woff2) format("woff2"); }

:root {
  /* la charte (CHARTE.md) */
  --vert: #0d3b3a;        /* texte, titres, bandes sombres */
  --nuit: #072624;        /* pied de page */
  --doux: #3f5a58;        /* texte secondaire (7,5:1) */
  --brume: #e1e9e5;       /* réservé à « notre lecture » */
  --sable: #c9b68a;       /* filets, bandes ; jamais un texte sur clair */
  --or: #a8915a;          /* grands chiffres, ornements */
  --or-t: #7a6433;        /* doré pour du texte (5,7:1 sur blanc) */
  --surligne: #e9dfc6;
  --alerte: #b3261e;
  --ardoise: #44546a;
  --lecture: #2f6b5c;
  --ivoire: #fbf8f1;      /* le papier */
  --encre-ar: #1c1c1c;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --ui: "Atkinson", system-ui, -apple-system, "Segoe UI", sans-serif;
  --arabe: "Amiri", "Noto Naskh Arabic", serif;

  --t-0: 0.8rem; --t-1: 1rem; --t-2: 1.25rem; --t-3: 1.563rem; --t-4: 1.953rem; --t-5: 2.441rem; --t-6: 3.052rem;
  --marge: clamp(1rem, 5vw, 3rem);
  --largeur: 72rem;
  --mesure: 40rem;
  --filet: color-mix(in srgb, var(--vert) 18%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body { margin: 0; background: var(--ivoire); color: var(--vert); font-family: var(--serif); font-size: var(--t-1); line-height: 1.62;
  text-rendering: optimizeLegibility; overflow-wrap: break-word; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: var(--or); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--or-t); outline-offset: 3px; border-radius: 2px; }
.sombre :focus-visible { outline-color: var(--sable); }
.cadre { width: min(100% - 2 * var(--marge), var(--largeur)); margin-inline: auto; }
.lecture { max-width: var(--mesure); }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aller-contenu { position: absolute; left: -999px; top: 0; z-index: 50; background: var(--vert); color: #fff; padding: 0.6rem 1rem; font-family: var(--ui); }
.aller-contenu:focus { left: 0.5rem; top: 0.5rem; }
.vue[hidden] { display: none !important; }
[hidden] { display: none !important; }

/* ---------- en-tête ---------- */
.entete { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ivoire) 94%, transparent);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--filet); }
.entete .cadre { display: flex; align-items: center; gap: 0.75rem; min-height: 3.6rem; }
.marque { display: flex; align-items: center; gap: 0.5rem; font-family: var(--serif); font-weight: 700; font-size: var(--t-2); text-decoration: none; margin-right: auto; }
.marque svg { flex: none; width: 2rem; height: 2rem; max-width: none; }
.nav-principale { display: none; }
.nav-principale ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.3rem; }
.nav-principale a { font-family: var(--ui); font-size: 0.9rem; text-decoration: none; }
.nav-principale a:hover { text-decoration: underline; }
.nav-principale a[aria-current="page"], .menu-mobile a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-decoration-color: var(--sable); text-decoration-thickness: 3px; text-underline-offset: 0.35em; }
.btn-urgence { font-family: var(--ui); font-size: 0.85rem; font-weight: 700; color: var(--alerte); border: 1.5px solid currentColor; border-radius: 999px; padding: 0.3rem 0.8rem; text-decoration: none; white-space: nowrap; }
.btn-menu { font-family: var(--ui); font-size: 0.9rem; font-weight: 700; background: none; color: var(--vert); border: 1.5px solid var(--vert); border-radius: 999px; padding: 0.3rem 0.85rem; cursor: pointer; }
.entete .menu-mobile { display: none; border-top: 1px solid var(--filet); padding: 0.5rem 0 1rem; }
.entete .menu-mobile.ouvert { display: block; }
.menu-mobile ul { list-style: none; margin: 0; padding: 0; }
.menu-mobile a { display: block; font-family: var(--ui); font-size: 1.05rem; padding: 0.7rem 0; text-decoration: none; border-bottom: 1px solid var(--filet); }
@media (min-width: 60rem) {
  .nav-principale { display: block; }
  .btn-menu, .entete .menu-mobile, .entete .menu-mobile.ouvert { display: none; }
}
@media (max-width: 26rem) {
  .entete .cadre { gap: 0.45rem; }
  .marque { font-size: 1.1rem; gap: 0.4rem; }
  .marque svg { width: 1.75rem; height: 1.75rem; }
  .btn-urgence { font-size: 0.78rem; padding: 0.28rem 0.6rem; }
  .btn-menu { font-size: 0.82rem; padding: 0.28rem 0.65rem; }
}

/* ---------- boutons ---------- */
.btn { display: inline-block; font-family: var(--ui); font-weight: 700; font-size: 1.05rem; line-height: 1.2; padding: 0.95rem 1.4rem; border-radius: 0.4rem;
  text-decoration: none; text-align: center; border: 1.5px solid var(--vert); background: #fff; color: var(--vert); cursor: pointer; }
.btn-plein { background: var(--vert); color: var(--ivoire); }
.btn-plein:hover { background: var(--nuit); }
.btn[disabled], .btn[aria-disabled="true"] { background: #fff; color: var(--doux); border-color: color-mix(in srgb, var(--vert) 35%, transparent); cursor: not-allowed; }
.sombre .btn-plein { background: var(--sable); color: var(--nuit); border-color: var(--sable); }
.btn-lien, .btn-lien-bouton { font-family: var(--ui); font-weight: 700; color: var(--vert); background: none; border: 0; padding: 0; font-size: 1rem; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 0.2em; }
.liens-suite { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.6rem; margin-top: 1.6rem; }

/* ---------- ouverture de l'accueil ---------- */
.ouverture { padding: clamp(2.2rem, 7vw, 5rem) 0 clamp(2rem, 6vw, 4rem); }
.accroche { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 8.2vw, var(--t-6)); line-height: 1.1; margin: 0 0 1.2rem; text-wrap: balance; }
.accroche span { display: block; }
.accroche .accroche-suite { color: var(--doux); font-weight: 400; }
.sous-accroche { font-size: var(--t-2); line-height: 1.5; margin: 0 0 1.8rem; max-width: 32rem; }
.rassurance { font-family: var(--ui); font-size: 0.9rem; color: var(--doux); margin: 0.9rem 0 0; }

/* ---------- bandes et titres ---------- */
.bande { padding: clamp(2.6rem, 8vw, 5rem) 0; }
.bande-courte { padding: clamp(2rem, 6vw, 3.5rem) 0; }
.bande-claire { background: #fff; border-block: 1px solid color-mix(in srgb, var(--vert) 8%, transparent); }
.bande-avert { padding: 0 0 clamp(1.5rem, 5vw, 2.5rem); }
.sombre { background: var(--vert); color: var(--ivoire); }
.sombre .texte-doux, .sombre .rassurance { color: #c9d8d4; }
.page-tete { padding: clamp(2.2rem, 7vw, 4.5rem) 0 1rem; }
.page-titre { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 7.5vw, var(--t-6)); line-height: 1.12; margin: 0 0 1rem; text-wrap: balance; max-width: 22ch; }
.titre-section { font-family: var(--serif); font-weight: 700; font-size: clamp(1.55rem, 5.4vw, var(--t-4)); line-height: 1.18; margin: 0 0 1rem; text-wrap: balance; }
.sous-titre { font-family: var(--ui); font-size: var(--t-2); font-weight: 700; margin: 2rem 0 0.7rem; padding-left: 0.8rem; border-left: 5px solid var(--sable); }
.chapeau { font-size: var(--t-2); line-height: 1.5; margin: 0 0 1.5rem; max-width: var(--mesure); }
.texte-doux { color: var(--doux); }
.note-site { font-family: var(--ui); font-size: 0.9rem; color: var(--doux); margin: 1rem 0; }
.retour { font-family: var(--ui); font-size: 0.95rem; margin: 0 0 1rem; }
.retour a { text-decoration: none; color: var(--or-t); font-weight: 700; }
.bandeau-brouillon { font-family: var(--ui); font-size: 0.92rem; font-weight: 700; color: var(--or-t); background: #fff; border: 1.5px dashed var(--or-t); border-radius: 0.4rem; padding: 0.7rem 0.9rem; margin: 0.5rem 0 1.2rem; }
.confiance p { font-size: var(--t-2); line-height: 1.55; margin: 0 0 1.1rem; }

/* ---------- ce qui pèse : une liste de choix ---------- */
.choix { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--filet); }
.choix a { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; padding: 1rem 0.2rem; text-decoration: none; border-bottom: 1px solid var(--filet); }
.choix a:hover .choix-nom { text-decoration: underline; text-decoration-color: var(--or); }
.choix-nom { font-size: var(--t-2); font-weight: 700; line-height: 1.25; }
.choix-ligne { grid-column: 1; font-family: var(--ui); font-size: 0.92rem; color: var(--doux); }
.choix-fleche { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--ui); color: var(--or-t); font-size: 1.3rem; }
@media (min-width: 60rem) {
  .choix { columns: 2; column-gap: 3rem; border-top: 0; }
  .choix li { break-inside: avoid; border-top: 1px solid var(--filet); }
  .choix a { border-bottom: 0; }
}

/* ---------- les chapitres du livre (méthode) ---------- */
.chapitres { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.chapitre-site { background: #fff; border: 1px solid var(--filet); }
.chapitre-site > details { padding: 0.2rem 1.1rem 0.9rem; }
.chapitre-site > details > summary, .question > summary { cursor: pointer; font-family: var(--ui); font-weight: 700; color: var(--vert); padding: 0.6rem 0; }
.chapitre-site > details[open] > summary { margin-bottom: 0.4rem; }

/* ---------- le plan d'un module (pages « ce qui pèse ») ---------- */
.plan-module { padding-left: 1.4rem; margin: 1rem 0 0; }
.plan-module > li { margin-bottom: 0.9rem; }
.plan-module > li::marker { font-family: var(--ui); font-weight: 700; color: var(--or-t); }
.partie-nom { font-family: var(--ui); font-weight: 700; font-size: 1.05rem; }
.plan-module ul { margin: 0.3rem 0 0; padding-left: 1.1rem; color: var(--doux); }
.plan-module ul li { margin-bottom: 0.15rem; }

/* ---------- questions fréquentes ---------- */
.question { border-bottom: 1px solid var(--filet); padding: 0.2rem 0 0.5rem; }
.question[open] { padding-bottom: 1rem; }

/* ---------- les offres ---------- */
.offres { list-style: none; padding: 0; display: grid; gap: 1.4rem; margin: 1.5rem 0 0; }
.offre { background: #fff; border: 1px solid var(--filet); border-top: 4px solid var(--vert); padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; }
.offre-duo { border-top-color: var(--or); }
.offre-nom { font-family: var(--serif); font-size: var(--t-3); line-height: 1.2; margin: 0 0 0.4rem; }
.offre-pour { font-family: var(--ui); font-weight: 700; color: var(--or-t); margin: 0 0 0.6rem; }
.offre ul { padding-left: 1.2rem; margin: 0 0 0.8rem; }
.offre li { margin-bottom: 0.3rem; }
.prix { font-family: var(--serif); font-size: var(--t-5); font-weight: 700; line-height: 1; margin: 0.4rem 0 0.4rem; }
.offre-jour { font-family: var(--ui); font-size: 0.92rem; color: var(--doux); margin: 0 0 1rem; }
.offre .btn { margin-top: auto; }
.module-plus { font-family: var(--ui); margin-top: 1.4rem; }
.contenu-liste { padding-left: 1.2rem; } .contenu-liste li { margin-bottom: 0.5rem; }
@media (min-width: 60rem) { .offres { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

/* ---------- sources ---------- */
.ouvrages { list-style: none; margin: 1.4rem 0 0; padding: 0; border-top: 1px solid var(--filet); }
.ouvrages li { display: grid; gap: 0.1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--filet); }
.ouvrage-titre { font-style: italic; font-size: 1.1rem; }
.ouvrage-auteur { font-family: var(--ui); font-size: 0.85rem; color: var(--or-t); font-weight: 700; }
.ouvrage-part { font-family: var(--ui); font-size: 0.92rem; color: var(--doux); }
.voix { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 1rem; }
.voix li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.9rem; align-items: start; }
.pastille-signe { width: 2.6rem; height: 2.6rem; display: flex; align-items: center; justify-content: center; color: #fff; }
.pastille-signe .signe { color: #fff; line-height: 0; }
.pastille-signe svg { width: 1.6rem; height: 1.6rem; }
.ps-savant { background: var(--doux); } .ps-coran { background: var(--vert); } .ps-hadith { background: var(--or-t); }
.ps-recherche { background: var(--ardoise); } .ps-nafs { background: var(--lecture); }
.limites { padding-left: 1.2rem; } .limites li { margin-bottom: 0.5rem; }


/* ---------- aide ---------- */
.pied-pays { font-family: var(--ui); font-size: 0.95rem; color: var(--doux); margin: 1rem 0 0.3rem; }
.numeros { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.numeros li { display: grid; grid-template-columns: minmax(8.5rem, auto) 1fr; gap: 0.2rem 1rem; align-items: baseline; padding-bottom: 0.8rem; border-bottom: 1px solid var(--filet); }
.numeros a { font-family: var(--ui); font-weight: 700; font-size: 1.35rem; text-decoration: none; color: var(--vert); white-space: nowrap; }
.numeros span { font-family: var(--ui); font-size: 0.95rem; color: var(--doux); }
.numeros-urgence a { color: var(--alerte); font-size: 1.7rem; }
@media (max-width: 30rem) { .numeros li { grid-template-columns: 1fr; } }

/* ---------- les outils ---------- */
.boite-outil { background: #fff; border: 1px solid var(--filet); border-radius: 0.5rem; padding: 1.2rem; margin: 1.2rem 0; }
.minuteur { text-align: center; }
.minuteur-temps { font-family: var(--serif); font-weight: 700; font-size: clamp(3rem, 16vw, 5rem); margin: 0; font-variant-numeric: tabular-nums; }
.choix-boutons button { font-family: var(--ui); font-size: 0.92rem; min-height: 44px; padding: 0.5rem 0.9rem; border-radius: 999px; border: 1.5px solid var(--vert); background: #fff; color: var(--vert); cursor: pointer; }   /* V60 : remise (enlevée par erreur avec le registre) */
.choix-boutons { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin: 0.8rem 0; }
.minuteur-message { font-size: var(--t-2); font-style: italic; margin: 0.6rem 0 0; min-height: 3em; }
.grille-champs { display: grid; gap: 0.8rem; }
@media (min-width: 40rem) { .grille-champs { grid-template-columns: 1fr 1fr; } .grille-champs > p, .grille-champs > .pleine { grid-column: 1 / -1; } }
.grille-champs label { display: grid; gap: 0.25rem; font-family: var(--ui); font-weight: 700; }
input[type=text], input[type=tel], input[type=search], textarea, select { font: inherit; font-family: var(--ui); color: var(--vert); padding: 0.65rem 0.75rem;
  border: 1.5px solid color-mix(in srgb, var(--vert) 60%, transparent); border-radius: 0.4rem; background: #fff; width: 100%; }
.champ { border: 0; padding: 0; margin: 0 0 1.6rem; min-width: 0; }
.champ legend { font-weight: 700; font-size: var(--t-2); line-height: 1.35; margin-bottom: 0.5rem; padding: 0; }
.q-num { display: inline-block; min-width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--vert); color: #fff; font-family: var(--ui); font-size: 0.9rem; line-height: 1.7rem; text-align: center; margin-right: 0.4rem; vertical-align: 0.15em; }
.indice { display: block; font-family: var(--ui); font-weight: 400; font-size: 0.88rem; color: var(--doux); margin-top: 0.2rem; }
.radio { display: block; font-family: var(--ui); padding: 0.6rem 0.2rem; border-bottom: 1px solid color-mix(in srgb, var(--vert) 10%, transparent); cursor: pointer; }
.radio input { accent-color: var(--vert); width: 1.15rem; height: 1.15rem; margin: 0 0.5rem 0 0; vertical-align: -0.15rem; }
.radio-chiffre { display: inline-block; border: 1.5px solid var(--filet); border-radius: 0.4rem; padding: 0.5rem 0.8rem; margin: 0 0.4rem 0.4rem 0; }
.echelle-1-5 { display: block; }
.total { font-size: var(--t-2); font-weight: 700; margin: 1.2rem 0 0.6rem; }
.journal { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.journal li { background: #fff; padding: 0.6rem 0.9rem; border-radius: 0.4rem; font-family: var(--ui); font-size: 0.92rem; border: 1px solid var(--filet); border-top: 3px solid var(--sable); }
.journal li.cede { border-top-color: color-mix(in srgb, var(--vert) 30%, transparent); }
.journal li span { display: block; color: var(--doux); }
.courbe { display: grid; gap: 1rem; margin-top: 1rem; }
.courbe-titre { font-family: var(--ui); font-weight: 700; margin: 0 0 0.3rem; }
.barres { display: flex; align-items: flex-end; gap: 4px; height: 70px; border-bottom: 1px solid color-mix(in srgb, var(--vert) 25%, transparent); }
.barre { flex: 0 0 18px; background: var(--or); border-radius: 3px 3px 0 0; }

/* ---------- le bilan ---------- */
.urgence-douce { margin-top: 0.8rem; border: 2px solid var(--alerte); border-radius: 0.5rem; padding: 0.8rem 1rem; background: #fff; }
.erreur-bilan { font-family: var(--ui); font-weight: 700; color: var(--alerte); }
.resultat:focus { outline: none; }
.res-bloc { border-top: 3px solid var(--vert); padding-top: 0.9rem; margin: 1.8rem 0; }
.res-bloc:first-child { margin-top: 0; }
.res-titre { font-size: var(--t-3); margin: 0 0 0.6rem; line-height: 1.2; }
.res-urgence { border-top-color: var(--alerte); }
.res-urgence .res-titre { color: var(--alerte); }
.res-securite { border-top-color: var(--alerte); }
.res-rappel { font-family: var(--ui); color: var(--doux); }
.res-module { font-size: var(--t-2); }
.res-actions { padding-left: 1.3rem; } .res-actions li { margin-bottom: 0.6rem; }
.res-boutons { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2rem; }

/* ---------- pied de page ---------- */
.pied { background: var(--nuit); color: #cfdcd8; padding: 3rem 0 2.5rem; font-family: var(--ui); font-size: 0.92rem; }
.pied a { color: #fff; }
.pied .cadre { display: grid; gap: 2rem; }
.pied-securite ul, .pied-liens ul, .pied-legal { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.pied .pied-pays { color: #cfdcd8; }
.avertissement { color: #b6c8c4; max-width: 40rem; }
@media (min-width: 60rem) { .pied .cadre { grid-template-columns: 1.2fr 1fr 1fr; } }

@media print {
  .entete, .pied, .page-tete, .res-boutons, .bilan { display: none !important; }
  body { background: #fff; }
}
.source-extrait { font-family: var(--ui); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--or-t); margin: 0 0 0.6rem; }
mark { color: inherit; background: linear-gradient(to bottom, transparent 62%, var(--surligne) 62%, var(--surligne) 96%, transparent 96%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sombre mark { background: linear-gradient(to bottom, transparent 62%, #3d6563 62%, #3d6563 96%, transparent 96%); }
.sombre .btn-lien { color: var(--ivoire); text-decoration-color: var(--sable); }
.radio { display: flex; align-items: flex-start; gap: 0.55rem; }
.radio input { flex: none; margin: 0.2rem 0 0; }
.radio-chiffre { display: inline-flex; align-items: center; }
.a-venir { font-family: var(--ui); font-weight: 700; color: var(--or-t); }
.question > summary { line-height: 1.4; }
.plan-module { list-style: none; padding-left: 0; }
.appel-site { font-family: var(--ui); font-size: 0.65em; line-height: 0; vertical-align: super; }
.appel-site a { color: var(--or-t); font-weight: 700; text-decoration: none; padding: 0 0.15em; }
.res-doux { font-family: var(--ui); font-size: 0.95rem; color: var(--doux); }   /* sans filet rouge : un seul cadre rouge, dans le pied de page (V74) */
.res-doux a { font-weight: 700; color: var(--alerte); }
.res-urgence .numeros-urgence a { font-size: 1.5rem; }
select { appearance: auto; }
#form-carnet > label { display: grid; gap: 0.25rem; font-family: var(--ui); font-weight: 700; margin-bottom: 1rem; }

/* =====================================================================================================================
   Site v7 : l'accueil en page de vente (demande d'Abdoul, 03/12/2026). Bandes vert profond et ivoire, boutons dorés.
   Contrastes mesurés : texte nuit sur doré 7,0:1 ; ivoire sur vert 11,6:1 ; sable sur vert 6,2:1 ; doré foncé sur ivoire 5,4:1.
   ===================================================================================================================== */
:root { --or-btn: #c9a85c; }
.bande-ivoire { background: var(--ivoire); }
.sombre a:not(.btn) { color: var(--ivoire); }

/* les boutons dorés et en contour */
.btn-or { background: var(--or-btn); color: var(--nuit); border: 2px solid var(--or-t); box-shadow: 0 2px 0 rgba(0,0,0,.12); }
.btn-or:hover { background: #d6b86e; }
.sombre .btn-or { border-color: var(--or-btn); }
.btn-or[disabled] { background: var(--or-btn); color: var(--nuit); border-color: var(--or-t); opacity: 1; cursor: not-allowed; }
.btn-contour { background: transparent; color: var(--ivoire); border: 2px solid var(--ivoire); }
.btn-contour:hover { background: rgba(255,255,255,.08); }
.btn-contour-vert { background: transparent; color: var(--vert); border: 2px solid var(--vert); }
.achat { margin: 1.6rem 0 0; }
.achat .btn { width: 100%; max-width: 26rem; }
.reassure { font-family: var(--ui); font-size: 0.85rem; color: var(--doux); margin: 0.55rem 0 0; }
.sombre .reassure { color: #c9d8d4; }

/* le haut de l'accueil */
.ouverture-vente { background: var(--vert); color: var(--ivoire); padding: clamp(1.8rem, 6vw, 4rem) 0 clamp(1.6rem, 5vw, 3.5rem); }
.ouverture-vente .accroche { color: var(--ivoire); margin-bottom: 0.5rem; }
.ouverture-vente .accroche .accroche-suite { color: var(--sable); }
.ref-accroche { font-family: var(--ui); font-size: 0.82rem; color: var(--sable); margin: 0 0 1.1rem; }
.ouverture-vente .sous-accroche { color: var(--ivoire); margin-bottom: 0.9rem; font-size: 1.12rem; }
.ov-produit { font-family: var(--serif); font-weight: 700; font-size: var(--t-2); color: var(--sable); margin: 0 0 0.4rem; }
.ov-boutons .achat { margin-top: 1rem; }
.ov-bilan { margin: 0.8rem 0 0; }
.ov-bilan .btn { width: 100%; max-width: 26rem; }
.ov-image { margin: 1.4rem auto 0; max-width: 28rem; }
.ov-image img { display: block; width: 100%; height: auto; }
@media (min-width: 60rem) {
  .ov-grille { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; }
  .ov-image { margin: 0; max-width: none; }
}

/* l'escalier */
.ligne-vente { font-size: var(--t-2); line-height: 1.45; margin: 0.9rem 0 0; }

/* ce que tu reçois */
.compris { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.compris-carte { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; align-items: start; background: #fff; color: var(--vert); border-radius: 0.5rem; padding: 0.9rem 1rem; }
.compris-carte img { width: 4.2rem; height: auto; box-shadow: 0 3px 8px rgba(0,0,0,.25); border-radius: 2px; }
.compris-carte h3 { font-family: var(--serif); font-size: 1.12rem; line-height: 1.25; margin: 0 0 0.25rem; }
.compris-carte p { margin: 0; font-size: 0.98rem; line-height: 1.45; }
.compris-signe { width: 2.4rem; height: 2.4rem; margin-left: 0.9rem; border-radius: 50%; background: var(--or-btn); color: var(--nuit); font-family: var(--ui); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.modules-liens { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.modules-liens a { display: inline-block; font-family: var(--ui); font-size: 0.82rem; color: var(--vert); text-decoration: none; border: 1px solid color-mix(in srgb, var(--vert) 35%, transparent); border-radius: 999px; padding: 0.15rem 0.55rem; }
.modules-liens a:hover { border-color: var(--vert); text-decoration: underline; }
@media (min-width: 60rem) {
  .compris { grid-template-columns: repeat(3, 1fr); }
  .compris-petite { grid-column: span 1; }
  .compris-carte:nth-child(2) { grid-row: span 2; }
}
.prix-bloc { text-align: center; margin: 2rem auto 0; max-width: 30rem; }
.prix-grand { font-family: var(--serif); font-weight: 700; font-size: clamp(3rem, 12vw, 4.2rem); line-height: 1; margin: 0; color: var(--ivoire); }
.prix-ligne { font-family: var(--ui); margin: 0.5rem 0 0; color: var(--ivoire); }
.prix-bloc .achat { margin-top: 1rem; }
.prix-bloc .achat .btn { max-width: none; }
.prix-plus { font-family: var(--ui); font-size: 0.92rem; color: #c9d8d4; margin: 1rem 0 0; }

/* confiance */
.confiance p { font-size: 1.08rem; }
.titre-qui { font-family: var(--serif); font-size: var(--t-3); margin: 2rem 0 0.7rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.18); }
.confiance p.qui { font-size: 1rem; margin-bottom: 0.6rem; }

/* le chapitre 1 offert */
.extrait-gratuit { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.1rem; align-items: start; }
.extrait-gratuit img { width: 5.5rem; height: auto; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.extrait-gratuit .titre-section { margin-bottom: 0.4rem; }
.extrait-gratuit p { margin: 0 0 0.8rem; }

/* questions sur fond vert : des cartes blanches */
.questions-cartes { display: grid; gap: 0.6rem; }
.questions-cartes .question { background: #fff; color: var(--vert); border: 0; border-radius: 0.5rem; padding: 0.1rem 1rem 0.3rem; }
.questions-cartes .question[open] { padding-bottom: 0.9rem; }
.sombre .questions-cartes a:not(.btn) { color: var(--vert); }

/* les avis */
.avis-regle { font-family: var(--ui); font-size: 0.9rem; color: var(--doux); }
.avis-liste { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 1rem; }
.avis { background: #fff; border: 1px solid var(--filet); border-left: 4px solid var(--or-btn); border-radius: 0.4rem; padding: 0.9rem 1.1rem; }
.avis-note { margin: 0; color: var(--or-t); font-size: 1.15rem; letter-spacing: 0.08em; }
.avis-texte { margin: 0.4rem 0; font-size: 1.05rem; }
.avis-texte p { margin: 0; }
.avis-qui, .avis-dates { font-family: var(--ui); font-size: 0.88rem; margin: 0.2rem 0 0; }
.avis-dates { color: var(--doux); }
.avis-verifie, .avis-offert { font-weight: 700; color: var(--lecture); }
.form-avis .avis-champ { display: grid; gap: 0.3rem; margin: 0 0 1.2rem; }
.form-avis .avis-champ > label { font-family: var(--ui); font-weight: 700; }
.form-avis input[type=email], .form-avis input[type=month] { font: inherit; font-family: var(--ui); color: var(--vert); padding: 0.65rem 0.75rem; border: 1.5px solid color-mix(in srgb, var(--vert) 60%, transparent); border-radius: 0.4rem; background: #fff; width: 100%; }
.avis-etoiles legend { font-family: var(--ui); font-size: 1rem; }
.avis-retour { font-family: var(--ui); font-weight: 700; color: var(--lecture); }
.avis-3114 { font-family: var(--ui); margin-top: 2rem; }   /* sans cadre : un seul cadre rouge, dans le pied de page (Abdoul, 03/12, 12 h 08 UTC) */
.avis-3114 a { color: var(--alerte); font-weight: 700; }

/* le pied de page : le cadre rouge du livre */
/* le seul cadre rouge du site (hors bilan et aide urgente), tout en bas de chaque page (demande d'Abdoul, 03/12/2026, 12 h 08 UTC) :
   l'avertissement du livre, puis « Si tu penses à mourir » et ses numéros */
.pied-securite { grid-column: 1 / -1; max-width: 44rem; position: relative; background: #fff; color: var(--vert);
  border: 2px solid var(--alerte); border-left: none; padding: 1rem 1rem 1.1rem 3.4rem; }
.pied-securite::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2.4rem; background: var(--alerte); }
.pied-securite .extrait { margin: 0; }
.pied-securite .extrait p.ed { position: static; border: none; padding: 0; background: none; color: var(--vert); margin: 0; }
.pied-securite .extrait p.ed::before { display: none; }
.pied-securite h2 { font-family: var(--serif); color: var(--vert); font-size: 1.25rem; line-height: 1.3; margin: 1.1rem 0 0.4rem; }
.pied .pied-securite a { color: var(--alerte); font-weight: 700; }
.pied .pied-securite .pied-pays { color: var(--doux); }

/* la barre d'achat du téléphone */
.barre-achat { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  background: var(--nuit); color: var(--ivoire); padding: 0.6rem var(--marge) calc(0.6rem + env(safe-area-inset-bottom)); box-shadow: 0 -4px 14px rgba(0,0,0,.25); }
.barre-texte { font-family: var(--ui); font-weight: 700; margin: 0; }
.barre-achat .btn { padding: 0.7rem 1.1rem; }
body.avec-barre { padding-bottom: 4.6rem; }
@media (min-width: 60rem) { .barre-achat { display: none !important; } body.avec-barre { padding-bottom: 0; } }

/* l'accueil au téléphone : 6 écrans au plus (demande d'Abdoul) */
@media (max-width: 59.99rem) {
  #v-accueil .bande { padding: 1.7rem 0; }
  #v-accueil .titre-section { font-size: 1.45rem; margin-bottom: 0.6rem; }
  .ouverture-vente { padding: 1.4rem 0 1.5rem; }
  .ouverture-vente .accroche { font-size: 1.85rem; }
  .ouverture-vente .sous-accroche { font-size: 1rem; line-height: 1.45; }
  .ov-produit { font-size: 1.05rem; }
  .ov-image { max-width: 19rem; margin-top: 1rem; }
  #v-accueil .chapeau, .ligne-vente { font-size: 1.02rem; line-height: 1.45; }
  .ligne-vente { margin-top: 0.5rem; }
  #v-accueil .achat { margin-top: 1.1rem; }
  #v-accueil .reassure { font-size: 0.78rem; margin-top: 0.35rem; }
  #v-accueil .btn { padding: 0.8rem 1rem; font-size: 1rem; }
  .compris { gap: 0.55rem; }
  .compris-carte { grid-template-columns: 2.8rem 1fr; gap: 0.75rem; padding: 0.65rem 0.8rem; }
  .compris-carte img { width: 2.8rem; }
  .compris-signe { width: 2rem; height: 2rem; margin-left: 0.4rem; }
  .compris-carte h3 { font-size: 1rem; }
  .compris-carte p { font-size: 0.9rem; line-height: 1.4; }
  .modules-liens a { font-size: 0.76rem; padding: 0.1rem 0.45rem; }
  .prix-bloc { margin-top: 1.2rem; }
  .prix-grand { font-size: 2.8rem; }
  .prix-ligne, .prix-plus { font-size: 0.9rem; }
  #v-accueil .extrait { font-size: 0.95rem; }
  .confiance p { font-size: 0.98rem; margin-bottom: 0.7rem; }
  .confiance p.qui { font-size: 0.95rem; margin-bottom: 0.45rem; }
  .titre-qui { font-size: 1.2rem; margin-top: 1.1rem; padding-top: 1rem; }
  #v-accueil .liens-suite { margin-top: 0.6rem; }
  .extrait-gratuit { grid-template-columns: 4rem 1fr; gap: 0.9rem; }
  .extrait-gratuit img { width: 4rem; }
  .extrait-gratuit p { font-size: 0.95rem; }
  .questions-cartes { gap: 0.45rem; }
  .questions-cartes .question > summary { padding: 0.45rem 0; }
}
.ouverture-vente .reassure { color: #c9d8d4; }
.compris-carte a, .sombre .compris-carte a { color: var(--vert); }
.compris-aussi { margin: 0; padding-left: 1.1rem; font-size: 0.95rem; line-height: 1.4; }
.compris-aussi li { margin-bottom: 0.3rem; }
.chiffres { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; text-align: center; font-family: var(--ui); font-size: 0.88rem; line-height: 1.3; color: #c9d8d4; }
.chiffres b { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--sable); }
ul.qui { margin: 0 0 0.5rem; padding-left: 1.1rem; }
ul.qui li { margin-bottom: 0.45rem; }
.pied-securite .extrait p.ed { font-size: 0.95rem; line-height: 1.5; }
@media (max-width: 59.99rem) {
  #v-accueil .bande { padding: 1.5rem 0; }
  .ov-image { max-width: 16rem; }
  .compris-carte { grid-template-columns: 2.6rem 1fr; }
  .compris-carte img { width: 2.6rem; }
  .compris-carte .modules-liens { margin-left: -3.35rem; }
  .compris-aussi { font-size: 0.88rem; }
  .chiffres b { font-size: 1.6rem; }
  .chiffres { font-size: 0.8rem; }
  ul.qui li { font-size: 0.93rem; margin-bottom: 0.35rem; }
}
.titre-doutes { margin-top: 2.2rem; }
.bande-ivoire .questions-cartes .question { border: 1px solid var(--filet); }
@media (max-width: 59.99rem) {
  #v-accueil .bande { padding: 1.3rem 0; }
  #v-accueil .titre-section { font-size: 1.35rem; }
  .ov-image { max-width: 14rem; margin-top: 0.8rem; }
  #v-accueil .extrait figure.schema { max-width: 19rem; margin-inline: auto; }
  .titre-doutes { margin-top: 1.6rem; }
  .ouverture-vente .accroche { font-size: 1.75rem; }
}
@media (max-width: 59.99rem) {
  .modules-liens { display: block; margin-top: 0.3rem; line-height: 1.5; }
  .modules-liens li { display: inline; font-family: var(--ui); font-size: 0.8rem; }
  .modules-liens li + li::before { content: " · "; color: var(--doux); }
  .modules-liens a { display: inline; border: 0; padding: 0; font-size: 0.8rem; text-decoration: underline; text-decoration-color: var(--or); }
  .compris-carte .modules-liens { margin-left: -3.35rem; }
  ul.qui { padding-left: 0; list-style: none; }
  ul.qui li { font-size: 0.9rem; line-height: 1.42; padding-left: 0.8rem; border-left: 2px solid var(--or-btn); }
  #v-accueil ol.six li { margin-bottom: 0.25rem; line-height: 1.4; }
  #v-accueil .extrait p.note { font-size: 0.82rem; line-height: 1.4; }
  .extrait-gratuit { grid-template-columns: 3.4rem 1fr; }
  .extrait-gratuit img { width: 3.4rem; }
  .extrait-gratuit p { margin-bottom: 0.5rem; }
  #v-accueil .achat { margin-top: 0.9rem; }
  #v-accueil .extrait figure.schema { max-width: 17.5rem; }
}
@media (max-width: 59.99rem) { #v-accueil .extrait .schema figcaption { font-size: 0.78rem; } }
.lien-doutes { font-family: var(--ui); margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px solid var(--filet); }
.lien-doutes a { font-weight: 700; }
@media (min-width: 60rem) {
  .compris { grid-template-columns: repeat(2, 1fr); }
  .compris-carte:nth-child(2) { grid-row: auto; }
}

/* ---------- corrections du tour 1 de l'audit (V1, V2, V3, V7, V11, V20) ---------- */
/* V11 : après un « oui » aux idées de mort, plus aucun bouton d'achat pendant la visite */
body.sans-vente .achat, body.sans-vente .barre-achat, body.sans-vente #offre-accueil .prix-bloc .achat { display: none !important; }
/* V2 : la barre du téléphone tient de 320 px à 59 rem */
.barre-achat { gap: 0.6rem; }
.barre-texte { font-size: 0.88rem; line-height: 1.25; min-width: 0; }
.barre-achat .btn { flex: none; white-space: nowrap; padding: 0.65rem 0.9rem; }
/* V3 : un contour de focus visible sur chaque fond */
.ouverture-vente :focus-visible, .barre-achat :focus-visible, .pied :focus-visible { outline-color: var(--sable); }
.sombre .compris-carte :focus-visible, .sombre .questions-cartes :focus-visible,
.pied .pied-securite :focus-visible, .avis :focus-visible { outline-color: var(--or-t); }
/* V1 : sur un portable (1 366 × 768, fenêtre de 650 px environ), le prix et les deux boutons sont dans le premier écran */
@media (min-width: 60rem) {
  .ouverture-vente { padding: 1.6rem 0 1.8rem; }
  .ouverture-vente .accroche { font-size: clamp(2rem, 3.1vw, 2.6rem); }
  .ref-accroche { margin-bottom: 0.7rem; }
  .ouverture-vente .sous-accroche { font-size: 1.02rem; line-height: 1.45; margin-bottom: 0.6rem; }
  .ov-produit { font-size: 1.1rem; }
  .ov-boutons { display: flex; flex-wrap: wrap; gap: 0 1rem; align-items: flex-start; }
  .ov-boutons .achat { margin-top: 0.8rem; flex: 1 1 15rem; }
  .ov-boutons .achat .btn, .ov-bilan .btn { max-width: none; }
  .ov-bilan { margin-top: 0.8rem; flex: 1 1 12rem; }
  .ov-image { max-width: 30rem; justify-self: center; }
}
/* V7 : les avis (3 au plus sur l'accueil et sur une page de module) ; au téléphone, en bande qu'on fait glisser */
.avis-section .avis-liste { list-style: none; padding: 0; }
@media (min-width: 60rem) { .avis-section .avis-liste { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 59.99rem) {
  #v-accueil .avis-section .avis-liste, .vue[data-vue^="pese-"] .avis-section .avis-liste {
    display: flex; gap: 0.7rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.4rem; }
  #v-accueil .avis-section .avis, .vue[data-vue^="pese-"] .avis-section .avis { flex: 0 0 82%; scroll-snap-align: start; }
  .avis-regle { font-size: 0.8rem; }
}
/* V20 : à 320 px, l'en-tête tient */
@media (max-width: 22rem) {
  .marque span { font-size: 0.95rem; }
  .marque svg { width: 1.5rem; height: 1.5rem; }
  .btn-urgence { font-size: 0.72rem; padding: 0.25rem 0.5rem; }
  .btn-menu { font-size: 0.75rem; padding: 0.25rem 0.5rem; }
  .entete .cadre { gap: 0.35rem; }
}
@media (max-width: 59.99rem) {
  .ov-image { max-width: 12.5rem; }
  #v-accueil [aria-labelledby="t-gestes"] .chapeau { margin-bottom: 0.6rem; }
  #v-accueil .avis-section { padding: 1.2rem 0; }
  #v-accueil .avis-section .titre-section { font-size: 1.25rem; }
  #v-accueil .avis-section .avis { padding: 0.6rem 0.8rem; }
  #v-accueil .avis-section .avis-texte { margin: 0.2rem 0; font-size: 0.95rem; }
  #v-accueil .avis-section .avis-dates { font-size: 0.78rem; }
  #v-accueil .avis-section .liens-suite { margin-top: 0.4rem; }
}

/* ---------- corrections du tour 2 de l'audit ---------- */
.avis-liste, .avis { position: relative; }   /* V21 : le texte caché « Note : … » reste dans la bande */
.avis-liste:focus-visible { outline: 3px solid var(--or-t); outline-offset: 4px; }
body.sans-vente .section-achat { display: none !important; }   /* V26 */
@media (min-width: 60rem) {   /* V27 */
  .ov-grille { grid-template-columns: 1.25fr 0.75fr; gap: 2rem; }
  .ov-boutons .btn-or { white-space: nowrap; }
  .ov-boutons .achat { flex: 0 1 auto; }
  .ov-bilan { flex: 0 1 auto; }
}
@media (min-width: 60rem) and (max-height: 42rem) {   /* V27 : fenêtres basses (600 px), le bouton du bilan reste dans le premier écran */
  .ouverture-vente { padding: 1rem 0 1.2rem; }
  .ouverture-vente .accroche { font-size: clamp(1.8rem, 2.8vw, 2.3rem); }
  .ouverture-vente .sous-accroche { margin-bottom: 0.4rem; line-height: 1.4; }
  .ref-accroche { margin-bottom: 0.5rem; }
  .ov-boutons .achat, .ov-bilan { margin-top: 0.5rem; }
}

/* ---------- corrections du tour 3 de l'audit ---------- */
.avis-suite { margin: 0.1rem 0 0.4rem; font-family: var(--ui); font-size: 0.85rem; }   /* V33 */
body.sans-vente #offres .btn-or, body.sans-vente #offres .reassure { display: none !important; }   /* V38 */
@media (max-width: 59.99rem) {   /* V33 : des cartes d'avis plus basses au téléphone */
  #v-accueil .avis-section .avis-texte p, .vue[data-vue^="pese-"] .avis-section .avis-texte p { line-height: 1.45; }
  #v-accueil .avis-section .avis-qui, #v-accueil .avis-section .avis-dates { line-height: 1.35; }
}

/* ---------- corrections du tour 4 de l'audit ---------- */
.avis { min-width: 0; }   /* V40 : un mot très long ne fait pas déborder la carte */
.avis-texte, .avis-qui { overflow-wrap: anywhere; }
.avis-chiffre { font-family: var(--ui); font-size: 0.85rem; vertical-align: 0.1em; }   /* V39 : la note en chiffres, à côté des étoiles */

/* =====================================================================================================================
   Les autres pages au niveau de l'accueil (demande d'Abdoul, 03/12/2026, 10 h 44 UTC)
   ===================================================================================================================== */
/* le titre de chaque page dans une bande vert profond, avec sa phrase d'introduction */
.page-tete.sombre { padding: clamp(1.8rem, 6vw, 3.6rem) 0 clamp(1.5rem, 5vw, 2.6rem); }
.page-tete.sombre .page-titre, .page-tete.sombre .chapeau { color: var(--ivoire); }
.page-tete.sombre .chapeau { margin-bottom: 0.9rem; }
.page-tete.sombre .chapeau:last-child { margin-bottom: 0; }
.page-tete.sombre .retour a { color: var(--sable); }
.page-tete.sombre .bandeau-brouillon { margin-bottom: 0; }
.page-parcours.sombre .extrait { margin-bottom: 0; }

/* le cadre doré : seulement au clavier (un titre qui reçoit le focus en changeant de page ne le montre pas au toucher) */
[tabindex="-1"]:focus { outline: none; }
html[data-clavier] [tabindex="-1"]:focus-visible { outline: 3px solid var(--or-t); outline-offset: 3px; }
html[data-clavier] .sombre [tabindex="-1"]:focus-visible { outline-color: var(--sable); }

/* les notes de source, repliées derrière « Voir les sources » */
.notes-repli > summary { cursor: pointer; font-family: var(--ui); font-size: 0.85rem; font-weight: 700; color: var(--or-t); padding: 0.55rem 0; width: fit-content; }
.notes-repli > summary::marker { color: var(--or-t); }
.notes-repli[open] > summary { margin-bottom: 0.3rem; }

/* les petits menus de boutons (outils, sources) */
.menu-outils ul, .sommaire-page ul { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.page-tete .menu-outils a, .page-tete .sommaire-page a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.35rem 0.95rem; border: 1.5px solid var(--sable);
  border-radius: 999px; font-family: var(--ui); font-size: 0.92rem; font-weight: 700; color: var(--ivoire); text-decoration: none; }
.page-tete .menu-outils a:hover, .page-tete .sommaire-page a:hover { background: rgba(255,255,255,.08); }
.menu-outils + * { margin-top: 0; }
#moment .minuteur { margin-top: 0.4rem; margin-bottom: 1.6rem; }

/* l'offre discrète des outils */
.offre-discrete p { font-family: var(--ui); font-size: 0.95rem; color: var(--doux); margin: 0; }
.offre-discrete a { font-weight: 700; }

/* le programme : l'offre en haut */
.prog-image { margin: 0.6rem auto 1.2rem; max-width: 20rem; }
.prog-image img { display: block; width: 100%; height: auto; }
.prog-offre .bandeau-brouillon { margin-top: 0; }
.prog-offre .offre { color: var(--vert); border-radius: 0.5rem; border-top: 0; }
.prog-offre .offre a:not(.btn) { color: var(--vert); }
.prog-offre .offre .texte-doux, .prog-offre .offre .reassure { color: var(--doux); }
.prog-offre .offre-nom { font-size: var(--t-3); }
.prog-offre .choix-module { margin: 0.4rem 0 1.2rem; }
.prog-offre .choix-module label { display: block; font-family: var(--ui); font-weight: 700; margin-bottom: 0.35rem; }
.prog-offre .btn-or { width: 100%; }
.prog-offre .module-plus { font-size: 0.92rem; margin-top: 1rem; }
@media (min-width: 60rem) {
  .prog-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
  .prog-image { margin: 1rem 0 0; max-width: 26rem; }
}

/* les signes du Coran et du hadith, dans la phrase */
.insecable { white-space: nowrap; }
.pastille-signe.pastille-texte { display: inline-flex; width: 1.55rem; height: 1.55rem; vertical-align: -0.35rem; margin-left: 0.15rem; }
.pastille-signe.pastille-texte svg { width: 1rem; height: 1rem; }

/* les hadiths du livre (page des sources) */
.hl-groupe { font-family: var(--serif); font-size: 1.12rem; line-height: 1.3; margin: 1.8rem 0 0.7rem; }
.hadiths-livre { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.hadith-livre { background: var(--ivoire); border: 1px solid var(--filet); border-left: 4px solid var(--or-t); border-radius: 0.4rem; padding: 0.75rem 1rem; }
.hl-lieu { font-family: var(--ui); font-size: 0.82rem; font-weight: 700; color: var(--or-t); margin: 0 0 0.3rem; }
.note-livre .note { font-size: 0.98rem; line-height: 1.5; margin: 0; }
.note-livre .nn { display: none; }   /* le numéro de la note est déjà dans « Chapitre…, note… » */
.hl-passage > summary { cursor: pointer; font-family: var(--ui); font-size: 0.88rem; font-weight: 700; color: var(--vert); padding: 0.5rem 0 0.2rem; width: fit-content; }
.hl-passage .extrait { margin: 0.5rem 0 0; }
@media (max-width: 59.99rem) {   /* au téléphone : des bandes de titre plus courtes (le minuteur et le prix plus haut) */
  .page-tete.sombre { padding: 1.5rem 0 1.4rem; }
  .page-tete.sombre .page-titre { font-size: 1.85rem; margin-bottom: 0.6rem; }
  .page-tete.sombre .chapeau { font-size: 1.02rem; line-height: 1.45; }
  .page-tete .menu-outils a, .page-tete .sommaire-page a { font-size: 0.88rem; padding: 0.3rem 0.8rem; }
  .menu-outils ul, .sommaire-page ul { gap: 0.4rem; margin-top: 0.8rem; }
  .prog-image { max-width: 15rem; margin: 0.2rem auto 1rem; }
  #v-outils .page-tete .texte-doux { font-size: 0.9rem; margin: 0; }
}
.prog-offre .choix-module { margin-bottom: 0.2rem; }
.prog-offre .choix-module + p { margin-top: 0.8rem; }

/* l'offre courte, à la fin de la méthode, des sources et des pages de module (demande d'Abdoul, 03/12/2026, 12 h 08 UTC) */
.offre-courte { padding: 2.2rem 0; }
.offre-courte-cadre { display: grid; gap: 1.2rem; align-items: center; max-width: 46rem; }
.offre-courte-cadre img { width: 100%; max-width: 15rem; height: auto; margin: 0 auto; }
.offre-courte-titre { font-family: var(--serif); color: #fff; font-size: var(--t-2); line-height: 1.25; margin: 0 0 1rem; }
.offre-courte .achat { margin: 0; }
.offre-voir { font-family: var(--ui); margin: 0.9rem 0 0; }
.offre-voir a { color: #fff; font-weight: 700; }
@media (min-width: 40rem) { .offre-courte-cadre { grid-template-columns: 15rem 1fr; } }

/* les listes repliées de la page des sources (demande d'Abdoul, 03/12/2026, 12 h 08 UTC) */
.repli-liste { margin: 0.8rem 0 1rem; }
.repli-liste > summary { cursor: pointer; font-family: var(--ui); font-weight: 700; color: var(--or-t); padding: 0.6rem 0; width: fit-content; }   /* comme « Voir les sources » */
.repli-liste > summary::marker { color: var(--or-t); }
.repli-liste[open] > summary { margin-bottom: 0.4rem; }

/* la ligne de santé d'une page de module, sans cadre */
.ligne-sante { margin-top: 1.4rem; }
