/* Page de vente — complète espace.css. Mise en page : bandes pleine largeur, contenu 1120 px, colonne 720 px pour la lecture. */
.nav-large { }
@media (max-width: 760px) { .nav-large { display: none; } }
.section { padding-block: var(--espace-6); }
@media (min-width: 900px) { .section { padding-block: var(--espace-7); } }
.section--lin { background: var(--lin-profond); }
.section--ciel { background: linear-gradient(180deg, var(--ciel-aube), var(--ciel-miel)); }
.section__tete { display: grid; gap: 12px; max-width: 64ch; margin-bottom: var(--espace-5); }
.section__tete .doux { font-size: 18px; }

/* Héros : bande bleu de Prusse, soleil qui se lève derrière la carte du jour */
.heros { background: radial-gradient(ellipse 65% 60% at 80% 100%, var(--lueur), transparent 70%), linear-gradient(180deg, var(--bande) 0%, var(--bande) 35%, var(--bande-bas) 100%); color: var(--sur-bande); overflow: hidden; padding-top: var(--espace-6); }
.heros__in { display: grid; gap: var(--espace-5); align-items: center; }
@media (min-width: 900px) { .heros__in { grid-template-columns: 1.15fr .85fr; gap: var(--espace-6); } .heros { padding-top: var(--espace-7); } }
.heros__texte { display: grid; gap: var(--espace-4); min-width: 0; }
.heros .etiquette { color: var(--or-soleil); }
.heros h1 { color: var(--sur-bande); }
.heros h1 em { color: var(--or-soleil); font-style: italic; display: block; margin-top: .12em; }
.heros__chapo { font: 400 19px/1.6 var(--font-texte); color: var(--sur-bande-doux); max-width: 56ch; }
.heros__mention { font-size: 14px; color: var(--sur-bande-doux); }
.bouton--clair { background: transparent; border-color: var(--sur-bande); color: var(--sur-bande); }
.heros__visuel { position: relative; min-height: 380px; display: grid; place-items: end center; }
.heros__soleil { position: absolute; bottom: -2px; left: 50%; width: min(520px, 120%); transform: translateX(-50%); animation: lever 1.8s cubic-bezier(.2,.8,.2,1) both; }
.mini-carte { position: relative; width: min(360px, 100%); background: var(--papier); color: var(--encre); border-radius: var(--arrondi-carte) var(--arrondi-carte) 0 0; padding: 22px 22px 26px; display: grid; gap: 14px; box-shadow: 0 -18px 40px -24px rgba(0,0,0,.5); transform: rotate(-1.5deg); transform-origin: bottom center; }
.mini-carte .pastille { width: 40px; height: 40px; font-size: 19px; }
.mini-carte__titre { font: 600 23px/1.15 var(--font-titre); }
.mini-carte .verset p { font-size: 16px; }
.mini-carte__tache { display: grid; gap: 2px; font-size: 14px; padding: 12px 14px; border-radius: var(--arrondi-champ); background: var(--lin-profond); }
.heros__chemin { padding-block: var(--espace-4) var(--espace-5); border-top: 1px solid rgba(246,242,234,.18); }
.chemin--clair::before { background: rgba(246,242,234,.3); }
.chemin--clair .jalon { background: var(--bande-bas); box-shadow: inset 0 0 0 2px rgba(246,242,234,.45); }
.chemin--clair .jalon--sabbat { background: var(--or-soleil); box-shadow: none; }
.chemin--clair .jalon--jour { background: var(--or-soleil); box-shadow: 0 0 0 4px var(--bande-bas); }
.heros .chemin-legende { color: var(--sur-bande-doux); }

/* Paroles */
.deux-col { display: grid; gap: var(--espace-5); align-items: start; }
@media (min-width: 900px) { .deux-col { grid-template-columns: .9fr 1.1fr; gap: var(--espace-6); } }
.deux-col > div { display: grid; gap: 14px; }
.paroles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.paroles li { font: italic 400 clamp(19px, 2.2vw, 23px)/1.45 var(--font-texte); padding: 18px 0; border-bottom: 1px solid var(--ligne); }
.paroles li:first-child { border-top: 1px solid var(--ligne); }

/* Étapes (onglets) */
.etapes { display: grid; gap: var(--espace-4); }
@media (min-width: 900px) { .etapes { grid-template-columns: 340px 1fr; gap: var(--espace-5); align-items: start; } }
.etapes__onglets { display: grid; gap: 8px; }
.etape-onglet { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; text-align: left; width: 100%; padding: 14px 16px; border-radius: var(--arrondi-carte); border: 1.5px solid var(--ligne); background: var(--papier); color: var(--encre); font: inherit; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.etape-onglet:hover { border-color: var(--horizon); }
.etape-onglet[aria-selected="true"] { border-color: var(--encre); box-shadow: var(--ombre-carte); }
.etape-onglet__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lin-profond); font: 600 20px/1 var(--font-titre); color: var(--or-aube); }
.etape-onglet[aria-selected="true"] .etape-onglet__n { background: var(--or-soleil); color: var(--sur-soleil); }
.etape-onglet__jours { display: block; font: 700 12px/1.3 var(--font-interface); letter-spacing: .12em; text-transform: uppercase; color: var(--encre-douce); }
.etape-onglet__titre { display: block; font-weight: 600; font-size: 16.5px; line-height: 1.3; margin-top: 2px; }
.etape-panneau { background: var(--papier); border-radius: var(--arrondi-carte); box-shadow: var(--ombre-carte); padding: clamp(22px, 4vw, 36px); display: grid; gap: var(--espace-4); }
.etape-panneau__tete { display: grid; gap: 10px; }
.etape-panneau__tete h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.livrable { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; font-weight: 600; }
.livrable span { font: 700 12px/1.3 var(--font-interface); letter-spacing: .12em; text-transform: uppercase; color: var(--vert-pousse); }
.sommaire { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.sommaire li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--ligne); }
.sommaire li.sabbat { color: var(--encre-douce); }
.sommaire__n { font: 600 20px/1 var(--font-titre); color: var(--or-aube); font-variant-numeric: tabular-nums; }
.sommaire strong { display: block; font-weight: 600; }
.sommaire__ref { display: block; font: italic 400 14px/1.4 var(--font-texte); color: var(--encre-douce); }

/* Anatomie d'un jour */
.anatomie { display: grid; gap: var(--espace-5); align-items: start; }
@media (min-width: 900px) { .anatomie { grid-template-columns: .85fr 1.15fr; gap: var(--espace-6); } .anatomie__texte { position: sticky; top: 96px; } }
.anatomie__texte { display: grid; gap: var(--espace-3); }
.points { margin: 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 16px; }
.points li { counter-increment: p; display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.points li::before { content: counter(p); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lin-profond); color: var(--or-aube); font: 600 15px/1 var(--font-titre); }
.carte h4 { font: 600 19px/1.35 var(--font-interface); margin: 0 0 6px; }

/* Sabbat */
.sabbat-bande { text-align: center; display: grid; justify-items: center; gap: 14px; }
.sabbat-bande p:last-child { font: 400 18px/1.65 var(--font-texte); max-width: 60ch; }

/* Livrables */
.livrables { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--espace-3); }
.livrables li { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 4px; padding: 22px; background: var(--papier); border-radius: var(--arrondi-carte); border: 1px solid var(--ligne); }
.livrables__n { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--or-soleil); color: var(--sur-soleil); font: 600 21px/1 var(--font-titre); }
.livrables strong { font: 600 18px/1.25 var(--font-titre); }
.livrables span:last-child { color: var(--encre-douce); font-size: 15.5px; }

/* Pour qui */
.profils { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--espace-3); }
.profil { background: var(--papier); border-radius: var(--arrondi-carte); padding: 26px; display: grid; gap: 10px; align-content: start; }
.profil p { color: var(--encre-douce); }
.pas-pour { margin-top: var(--espace-4); padding: 22px 26px; border-radius: var(--arrondi-carte); border: 1.5px dashed var(--ligne-forte); display: grid; gap: 8px; }
.pas-pour ul { margin: 0; padding-left: 20px; color: var(--encre-douce); }

/* Garanties */
.garanties { margin-top: var(--espace-5); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--espace-4); border-top: 1px solid var(--ligne); padding-top: var(--espace-5); }
.garanties > div { display: grid; gap: 8px; align-content: start; }
.garanties p { color: var(--encre-douce); font-size: 15.5px; }

/* FAQ */
.faq details { border-top: 1px solid var(--ligne-forte); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--ligne-forte); }
.faq summary { cursor: pointer; font: 600 18px/1.4 var(--font-interface); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--font-interface); color: var(--or-aube); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--encre-douce); font: 400 17px/1.6 var(--font-texte); max-width: 64ch; }

/* Final */
.final { background: radial-gradient(ellipse 55% 70% at 50% 0%, var(--lueur), transparent 70%), linear-gradient(0deg, var(--bande) 0%, var(--bande-bas) 100%); color: var(--sur-bande); padding-block: var(--espace-6) 0; overflow: hidden; }
.final__in { display: grid; justify-items: center; text-align: center; gap: var(--espace-3); padding-bottom: var(--espace-6); }
.final h2 { color: var(--sur-bande); }
.final p { color: var(--sur-bande-doux); font: italic 400 18px/1.55 var(--font-texte); max-width: 52ch; }
.final svg { order: -1; }
.etape-panneau[hidden] { display: none; }
/* Soleil levant du héros : décalé à droite pour que ses rayons sortent derrière la carte */
.heros__soleil { left: auto; right: -26%; width: min(660px, 140%); transform: none; }
.mini-carte { margin-right: 36%; width: min(330px, 100%); }
@media (max-width: 899px) { .heros__soleil { right: -30%; width: min(520px, 110%); } .mini-carte { margin-right: 8%; } }

/* ---- Répartition du texte (v2.1) ---- */
p, li, dd { text-wrap: pretty; }
.section__tete { gap: 14px; max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section__tete h2 { max-width: 22ch; }
.section__tete .doux { max-width: 60ch; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; }

/* Héros : colonne de texte plus large, titre en 3 à 4 lignes */
@media (min-width: 900px) { .heros__in { grid-template-columns: 1.3fr .7fr; gap: var(--espace-5); } }
.heros h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.06; max-width: 17ch; }
.heros h1 em { margin-top: .18em; }
.heros__chapo { font-size: clamp(17px, 1.7vw, 20px); max-width: 52ch; }
.heros__texte { gap: clamp(18px, 2.4vw, 28px); padding-bottom: var(--espace-4); }
@media (max-width: 899px) { .heros__visuel { min-height: 330px; } }

/* Paroles : titre et citations alignés, titre accroché en haut pendant la lecture */
@media (min-width: 900px) {
  .deux-col { grid-template-columns: 5fr 7fr; }
  .deux-col > div:first-child { position: sticky; top: 104px; }
}
.deux-col h2 { max-width: 18ch; }
.paroles li { padding: 20px 0 20px 28px; position: relative; }
.paroles li::before { content: ""; position: absolute; left: 0; top: 30px; width: 14px; height: 2px; background: var(--or-soleil); }

/* Programme */
.etape-panneau__tete .doux { max-width: 54ch; }
.sommaire strong { font-size: 16.5px; }

/* Un jour de près : texte centré verticalement sur la carte */
@media (min-width: 900px) { .anatomie { grid-template-columns: 5fr 7fr; align-items: center; } .anatomie__texte { position: static; } }
.anatomie__texte h2 { max-width: 16ch; }
.points li { font-size: 17px; line-height: 1.55; }

/* Sabbat */
.sabbat-bande h2 { max-width: 20ch; }
.sabbat-bande p:last-child { max-width: 58ch; font-size: clamp(17px, 1.6vw, 19px); }

/* Livrables : 3 colonnes égales sur ordinateur, texte aéré */
@media (min-width: 900px) { .livrables { grid-template-columns: repeat(3, 1fr); } }
.livrables li { padding: 24px; align-content: start; }
.livrables strong { font-size: 19px; }
.livrables span:last-child { line-height: 1.5; }

/* Pour qui */
.profil { padding: 28px; }
.profil h3 { font-size: 1.3rem; }
.profil p { line-height: 1.6; }

/* Formules et garanties */
#formules .offres { max-width: 880px; }
.garanties p { line-height: 1.6; }

/* FAQ et appel final */
.faq .section__tete { margin-bottom: var(--espace-4); }
.final h2 { max-width: 20ch; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.final p { font-size: clamp(17px, 1.7vw, 20px); }
.heros { padding-bottom: 0; } .heros__visuel { min-height: 400px; }
.section__tete h2 { max-width: 30ch; }
.deux-col h2 { max-width: 24ch; }
.anatomie__texte h2 { max-width: 20ch; }
.sabbat-bande h2, .final h2 { max-width: 26ch; }
.heros h1 { max-width: 18ch; }
#formules .offres { margin-inline: auto; }
@media (max-width: 899px) { .heros__visuel { min-height: 300px; margin-top: -8px; } .mini-carte { margin-inline: auto 12%; } }

/* Titres : occuper toute la largeur de leur colonne */
.section__tete, .section__tete h2, .deux-col h2, .anatomie__texte h2, .sabbat-bande h2, .final h2, .heros h1 { max-width: none; }
.section h2, .final h2, .deux-col h2 { text-wrap: pretty; }
.section__tete .doux { max-width: 68ch; }
@media (min-width: 900px) { .deux-col { grid-template-columns: 1fr 1fr; } }

/* Page 90 jours : semaines dépliables */
.semaines-90 { display: grid; gap: 10px; }
.semaine-90 { background: var(--papier); border-radius: var(--arrondi-carte); border: 1.5px solid var(--ligne); }
.semaine-90[open] { border-color: var(--encre); box-shadow: var(--ombre-carte); }
.semaine-90 summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; }
.semaine-90 summary::-webkit-details-marker { display: none; }
.semaine-90 summary::after { content: "+"; font: 400 24px/1 var(--font-interface); color: var(--or-aube); }
.semaine-90[open] summary::after { content: "−"; }
.semaine-90__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lin-profond); font: 700 19px/1 var(--font-titre); color: var(--or-aube); }
.semaine-90[open] .semaine-90__n { background: var(--or-soleil); color: var(--sur-soleil); }
.semaine-90 .sommaire { padding: 0 18px 10px; }
/* Bandeau « Et après ? » de la page 30 jours */
.apres { display: grid; gap: var(--espace-4); align-items: center; background: var(--bande); color: var(--sur-bande); border-radius: var(--arrondi-carte); padding: clamp(24px, 4vw, 40px); }
@media (min-width: 900px) { .apres { grid-template-columns: 1.4fr .6fr; } }
.apres h2 { color: var(--sur-bande); }
.apres .etiquette { color: var(--or-soleil); }
.apres p { color: var(--sur-bande-doux); }
