/* Liseuse des e-books et « Mon compte » (27/11/2026). Chargée seulement sur ces pages. */
.liseuse-page { padding: 18px 0 40px; }
.liseuse-retour { text-align: center; margin: 0 0 14px; font-size: .92rem; color: var(--texte-discret, #B9BFD6); }
.liseuse { position: relative; outline: none; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.liseuse:focus-visible { box-shadow: 0 0 0 3px rgba(201, 165, 255, .6); border-radius: 14px; }
.liseuse-scene { width: 100%; display: flex; justify-content: center; perspective: 2600px; -webkit-user-select: none; user-select: none; touch-action: pan-y; }
.liseuse-livre { position: relative; display: flex; justify-content: center; cursor: pointer; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); }
.liseuse-cote { position: relative; flex: 1 1 50%; height: 100%; background: #fff; overflow: hidden; }
.liseuse:not(.liseuse-double) .liseuse-cote { flex-basis: 100%; border-radius: 6px; }
.liseuse-double .liseuse-gauche { border-radius: 8px 0 0 8px; }
.liseuse-double .liseuse-droite { border-radius: 0 8px 8px 0; }
.liseuse-cote.liseuse-blanc { background: transparent; }
.liseuse-cote img, .liseuse-feuille img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; pointer-events: none; -webkit-user-drag: none; }
.liseuse-cote img.vide, .liseuse-feuille img.vide { visibility: hidden; }
/* Pli central : ombre douce de part et d'autre de la reliure. */
.liseuse-double .liseuse-gauche::after, .liseuse-double .liseuse-droite::after { content: ""; position: absolute; top: 0; bottom: 0; width: 34px; pointer-events: none; }
.liseuse-double .liseuse-gauche::after { right: 0; background: linear-gradient(to left, rgba(0, 0, 0, .16), transparent); }
.liseuse-double .liseuse-droite::after { left: 0; background: linear-gradient(to right, rgba(0, 0, 0, .18), transparent); }
.liseuse-double .liseuse-blanc::after { display: none; }
/* La feuille qui tourne. */
.liseuse-feuille { position: absolute; top: 0; height: 100%; width: 50%; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.45, .05, .25, 1); z-index: 3; }
.liseuse-feuille.vers-gauche { left: 50%; transform-origin: left center; }
.liseuse-feuille.vers-droite { left: 0; transform-origin: right center; }
.liseuse-feuille.seule { width: 100%; left: 0; }
.liseuse-feuille.seule.vers-droite { transform-origin: left center; transform: rotateY(-178deg); }
.liseuse-feuille.vers-gauche.tourne { transform: rotateY(-180deg); }
.liseuse-feuille.vers-droite.tourne { transform: rotateY(180deg); }
.liseuse-feuille.seule.vers-droite.tourne { transform: rotateY(0deg); }
.liseuse-feuille .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: #fff; }
.liseuse-feuille .face-arriere { transform: rotateY(180deg); }
.liseuse-feuille .face::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .75s ease; background: linear-gradient(to right, rgba(0, 0, 0, .22), rgba(255, 255, 255, .08) 45%, rgba(0, 0, 0, .12)); }
.liseuse-feuille.tourne .face::after { opacity: 1; }
.liseuse-feuille.seule .face-arriere { display: none; }
/* Commandes. */
.liseuse-commandes { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(197, 204, 226, .2); }
.liseuse-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(201, 165, 255, .45); background: rgba(116, 65, 239, .25); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.liseuse-btn:hover:not(:disabled) { background: rgba(158, 67, 255, .5); }
.liseuse-btn:disabled { opacity: .35; cursor: default; }
.liseuse-btn:focus-visible { outline: 3px solid #E2D2FF; outline-offset: 2px; }
.liseuse-num { min-width: 150px; text-align: center; font-size: .95rem; color: #E2D2FF; font-variant-numeric: tabular-nums; }
.liseuse-plein { background: #14152A; justify-content: center; padding: 20px; }
@media (prefers-reduced-motion: reduce) { .liseuse-feuille { transition: none; } }
/* « Mon compte ». */
.compte { max-width: 1080px; margin: 0 auto; padding-top: 10px; padding-bottom: 60px; }
.compte-connexion { max-width: 560px; margin: 0 auto; }
.compte-connexion .recherche-ligne input { flex: 1; }
.compte-message { padding: 14px 18px; border-radius: 14px; margin: 0 0 18px; background: rgba(110, 193, 228, .1); border: 1px solid rgba(110, 193, 228, .35); color: #D8F1FB; }
.compte-message.ok { background: rgba(124, 224, 163, .1); border-color: rgba(124, 224, 163, .4); color: #C9F5DA; }
.compte-message.erreur { background: rgba(255, 107, 107, .1); border-color: rgba(255, 140, 140, .45); color: #FFD1D1; }
.compte-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.bibliotheque { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.bibliotheque-livre { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(197, 204, 226, .16); }
.bibliotheque-livre img { width: 100%; aspect-ratio: .64; object-fit: cover; border-radius: 8px; background: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.bibliotheque-livre h2 { font-size: 1.05rem; margin: 0; }
.bibliotheque-livre .progression { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.bibliotheque-livre .progression span { display: block; height: 100%; background: linear-gradient(90deg, #7441EF, #9E43FF); }
.bibliotheque-livre .btn { margin-top: auto; text-align: center; }
/* Achat sur la page de vente d'un e-book. */
.achat-ebook .case-renonciation { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; line-height: 1.45; margin: 10px 0; }
.achat-ebook .case-renonciation input { margin-top: 4px; flex: none; }
.ebook-vente-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.ebook-sommaire { counter-reset: ch; list-style: none; padding: 0; margin: 0; }
.ebook-sommaire li { counter-increment: ch; padding: 10px 0 10px 46px; position: relative; border-bottom: 1px solid rgba(197, 204, 226, .14); }
.ebook-sommaire li::before { content: counter(ch, decimal-leading-zero); position: absolute; left: 0; top: 8px; font-family: var(--titres); color: #C9A5FF; font-size: 1.1rem; }
.produit-couverture { max-width: 340px; width: 100%; border-radius: 10px; box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }
/* Formations : catalogue des e-books (27/11/2026). */
.catalogue-ebooks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; margin-top: 26px; }
.catalogue-ebook { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(197, 204, 226, .16); transition: transform .2s ease, border-color .2s ease; }
.catalogue-ebook:hover { transform: translateY(-4px); border-color: rgba(201, 165, 255, .5); }
.catalogue-ebook img { width: 100%; height: auto; aspect-ratio: .64; object-fit: cover; border-radius: 10px; box-shadow: 0 16px 34px rgba(0, 0, 0, .4); }
.catalogue-theme { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #C9A5FF; margin-top: 6px; }
.catalogue-ebook h3 { font-size: 1.08rem; margin: 0; line-height: 1.25; }
.catalogue-ebook h3 a { color: #fff; text-decoration: none; }
.catalogue-ebook .petit { margin: 0; color: var(--texte-discret, #B9BFD6); }
.catalogue-tva { margin: 22px 0 0; color: var(--texte-discret, #B9BFD6); }
.catalogue-prix { margin: 4px 0 0; font-family: var(--titres); font-size: 1.3rem; color: #FFD97A; }
.catalogue-prix span { font-family: Poppins, sans-serif; font-size: .8rem; color: var(--texte-discret, #B9BFD6); }
.catalogue-ebook .btn { margin-top: auto; text-align: center; }
/* Page de vente d'un e-book : l'achat visible d'un coup d'œil, et une barre d'achat fixe en bas (27/11/2026). */
.achat-sous-titre { font-size: 1.12rem; font-weight: 600; color: #E2D2FF; margin: -6px 0 12px; }
.achat-garanties { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 4px; }
.achat-garanties li { position: relative; font-size: .82rem; font-weight: 600; padding: 6px 12px 6px 28px; border-radius: 999px; background: rgba(124, 224, 163, .12); border: 1px solid rgba(124, 224, 163, .35); color: #C9F5DA; }
.achat-garanties li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 5px; height: 9px; border: solid #7CE0A3; border-width: 0 2px 2px 0; transform: translateY(-62%) rotate(45deg); }
.produit-infos .achat-ebook { border: 1px solid rgba(201, 165, 255, .5); box-shadow: 0 18px 50px rgba(116, 65, 239, .3); background: linear-gradient(160deg, rgba(116, 65, 239, .2), rgba(255, 255, 255, .04)); }
.achat-ebook input[type=email] { width: 100%; }
.achat-bouton { width: 100%; justify-content: center; font-size: 1.1rem; padding-block: 16px; box-shadow: 0 10px 30px rgba(158, 67, 255, .45); }
.achat-pied { margin: 10px 0 0; color: var(--texte-discret, #B9BFD6); }
.achat-resume { margin-top: 22px; }
.barre-achat { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(14, 15, 32, .93);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid rgba(201, 165, 255, .35); box-shadow: 0 -12px 30px rgba(0, 0, 0, .35);
  transform: translateY(110%); transition: transform .3s ease; }
.barre-achat.visible { transform: none; }
.barre-achat-contenu { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.barre-achat-couv { width: 40px; height: auto; border-radius: 4px; box-shadow: 0 6px 14px rgba(0, 0, 0, .4); }
.barre-achat-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.barre-achat-texte strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .98rem; color: #fff; }
.barre-achat-texte span { font-size: .86rem; color: #FFD97A; font-weight: 700; }
.barre-achat-texte s { color: var(--texte-discret, #B9BFD6); font-weight: 400; }
.barre-achat-bouton { white-space: nowrap; padding: 12px 22px; box-shadow: 0 8px 24px rgba(158, 67, 255, .5); }
/* Avec la barre : la bannière « Auditez votre site » se cache, Navi passe au-dessus, la fin de page n'est pas masquée. */
body:has(.barre-achat) .ofa-bb { display: none !important; }
body:has(.barre-achat) { padding-bottom: 84px; }
.oxbot-help-button { transition: translate .3s ease; }
body.avec-barre-achat .oxbot-help-button { translate: 0 -78px; }
@media (max-width: 860px) {
  .produit-visuel:has(.produit-couverture) { max-width: 230px; min-height: 0; margin-inline: auto; background: none; }
}
@media (max-width: 600px) {
  .barre-achat-couv { display: none; }
  .barre-achat-texte strong { font-size: .88rem; }
  .barre-achat-bouton { padding: 12px 16px; }
}
