*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#071827;color:#f4e5d0;font:18px/1.7 Georgia,"Noto Serif",serif}a{color:#e2c47c}.top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 4%;background:#06111e;position:sticky;top:0;z-index:10;border-bottom:1px solid #725d3a}.logo{text-decoration:none;font-size:20px;color:#e2c47c}.top nav{display:flex;flex-wrap:wrap;gap:16px}.top nav a{text-decoration:none;font:14px system-ui,sans-serif;color:#f4e5d0}.top nav a:hover{text-decoration:underline}.language{white-space:nowrap}select{background:#14283a;color:#fff;border:1px solid #b89657;border-radius:4px;padding:8px;font-size:14px}.hero{min-height:70vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px;padding:65px 6%;background:radial-gradient(ellipse at 75% 50%,#1a3b46 0%,#071827 70%)}.hero img{width:100%;max-height:620px;object-fit:contain;filter:drop-shadow(0 10px 25px #0008)}h1{font-size:clamp(36px,5vw,70px);line-height:1.15;color:#e2c47c;margin:10px 0 25px}h2{font-size:clamp(26px,3vw,38px);color:#e2c47c}.eyebrow{letter-spacing:.25em;font:13px system-ui,sans-serif;color:#d5b36b}.knot{font-size:46px;color:#e2c47c}.btn{display:inline-block;background:#c7a561;color:#081827;text-decoration:none;padding:12px 22px;border-radius:4px;font:bold 15px system-ui,sans-serif;margin-top:18px}.section{padding:70px max(6%,calc((100% - 1100px)/2));scroll-margin-top:100px}.section:nth-child(even){background:#0c2231}.books{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}.book{padding:23px;background:#102a3b;border:1px solid #735e3b;border-radius:6px}.book strong{display:block;color:#e2c47c}.book small{color:#c6c8c5}.notice{border-left:3px solid #d5b36b;padding:10px 18px;background:#1a2d38}.faq details{padding:12px 0;border-bottom:1px solid #4a5a62}.faq summary{cursor:pointer;color:#e2c47c}.newsletter{text-align:center;background:linear-gradient(135deg,#122c3b,#071827)}.soon{display:inline-block;border:1px solid #c7a561;padding:10px 20px;border-radius:4px}footer{text-align:center;padding:35px 20px;background:#040e17;font-size:14px}@media(max-width:850px){.top{position:static;flex-direction:column}.top nav{justify-content:center}.hero{grid-template-columns:1fr;text-align:center}.hero img{max-height:420px}.section{padding:45px 6%}}
/* V2: affiche originale complète, sans recadrage, et Triquetra visible */
.hero{display:flex;flex-direction:column-reverse;align-items:center;gap:32px;padding:28px 4% 70px;min-height:unset}
.hero img{display:block;width:min(100%,860px);height:auto;max-height:none;object-fit:contain;object-position:center top}
.heroText{width:min(100%,950px);text-align:center}
@media(max-width:850px){.hero{padding:16px 3% 48px}.hero img{width:100%;max-height:none}}

/* Tome 1: couverture originale fournie, sans retouche ni recadrage */
.book-cover{display:block;width:100%;height:auto;object-fit:contain;margin:0 0 18px;border-radius:3px;box-shadow:0 8px 24px #0007}

.brand-icon{width:32px;height:32px;vertical-align:middle;margin-right:8px;object-fit:contain;flex-shrink:0}

/* V7: liens marchands du tome 1, logos fournis par l'auteur */
.book-shops{display:flex;flex-direction:column;gap:12px;margin-top:18px}
.shop-link{display:block;width:100%;border-radius:7px;overflow:hidden;transition:transform .15s ease,box-shadow .15s ease;line-height:0}
.shop-link img{display:block;width:100%;height:auto;aspect-ratio:266/97;object-fit:contain}
.shop-link:hover,.shop-link:focus-visible{transform:translateY(-2px);box-shadow:0 0 0 2px #e2c47c}

/* V12: volume heading above cover */
.book>strong:first-child{display:block;font-size:1.14rem;margin-bottom:12px}

/* V14 — En-tête plus compact, couvertures visibles plus tôt, sans recadrage */
.hero{padding:12px 4% 18px;gap:12px}
.hero img{width:auto;max-width:min(100%,360px);max-height:320px;height:auto;object-fit:contain}
.heroText{max-width:900px}
.heroText h1{font-size:clamp(24px,3vw,38px);margin:0 0 4px}
.heroText p{margin:4px 0;font-size:15px;line-height:1.45}
.heroText .eyebrow{font-size:11px}
.heroText .btn{margin-top:7px;padding:8px 14px;font-size:12px}
.section{padding-top:28px;padding-bottom:45px}
.section h2{margin:0 0 18px}
.books{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.book-cover{max-width:245px;margin:0 auto 14px}
.book-summary{margin-top:16px;border-top:1px solid #735e3b;padding-top:12px}
.book-summary>summary{cursor:pointer;color:#e2c47c;font-weight:bold}
.summary-text{font-size:15px;line-height:1.65}
.summary-text p{margin:12px 0}
@media(min-width:1000px){.hero{flex-direction:row-reverse;justify-content:center;gap:25px}.hero img{max-height:300px}.heroText{text-align:left;max-width:510px}}
@media(max-width:600px){.hero{padding:12px 3% 15px}.hero img{max-width:240px;max-height:220px}.heroText h1{font-size:25px}.books{grid-template-columns:1fr}.book-cover{max-width:210px}.section{padding:22px 5%}}

/* V16 : deux boutons marchands compacts, côte à côte, immédiatement sous la couverture */
.book-shops{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;max-width:245px;margin:0 auto 16px;align-items:center}
.shop-link{width:100%;max-width:none;border-radius:4px;box-shadow:none}
.shop-link img{display:block;width:100%;height:auto;aspect-ratio:266/97;object-fit:contain}
.book:has(.book-shops) .book-cover{margin-bottom:6px}
@media(max-width:600px){.book-shops{max-width:210px;gap:6px}}

/* V25 : Amazon, Kobo et Etsy en une rangee sous la couverture */
.book-shops{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.book-shops .shop-link img{aspect-ratio:266/97;object-fit:contain}

/* V28 : uniquement la zone d'accueil et le triquetra officiel.
   Le reste des sections, couvertures, traductions et boutons reste identique a V25. */
.top .brand-icon{width:43px;height:43px;object-fit:contain}
.hero{background:linear-gradient(90deg,rgba(3,15,26,.79),rgba(3,15,26,.64)),url('images/fond-astronomique.jpg') center center / cover no-repeat,#081b2b;min-height:430px;padding:45px 6%;gap:clamp(24px,4vw,68px)}
@media(min-width:1000px){.hero{flex-direction:row;justify-content:space-between}.heroText{max-width:660px;flex:1}.hero img{max-height:440px;max-width:min(38vw,480px);width:auto}}
@media(min-width:601px) and (max-width:999px){.hero{flex-direction:column-reverse}.hero img{max-height:330px}}
@media(max-width:600px){.hero{min-height:unset;padding:30px 5% 36px;gap:22px;background:linear-gradient(rgba(3,15,26,.8),rgba(3,15,26,.7)),url('images/fond-astronomique.jpg') center center / cover no-repeat,#081b2b}.hero img{max-width:min(100%,290px);max-height:310px}.top .brand-icon{width:38px;height:38px}}

/* V33 : livre indépendant de la saga, FAQ actualisée à huit tomes. */
#otherBooks{background:#0c2231}
#author{background:#071827}
#contact{background:#0c2231}
.other-publication-card{display:flex;align-items:center;gap:clamp(24px,4vw,48px);padding:24px;background:#102a3b;border:1px solid #735e3b;border-radius:8px;max-width:840px}
.other-book-cover-link{flex:0 0 165px;display:block;line-height:0}
.other-book-cover-link img{width:100%;height:auto;display:block;border-radius:3px;box-shadow:0 10px 24px #0006}
.other-book-info{flex:1;min-width:0}
.other-book-info h3{font-size:clamp(20px,2.3vw,27px);line-height:1.3;color:#f4e5d0;margin:4px 0 8px}
.other-book-overline{color:#e2c47c;font-weight:600;font-size:14px;letter-spacing:.04em;margin:0}
.other-book-subtitle{font-style:italic;margin:0 0 10px}
.other-book-desc{font-size:16px;margin:0 0 16px}
.bookelis-link{display:inline-block;padding:9px 15px;border:1px solid #c7a561;border-radius:4px;color:#e2c47c;text-decoration:none;font:600 14px system-ui,sans-serif}
.bookelis-link:hover,.bookelis-link:focus-visible{background:#c7a561;color:#071827}
@media(max-width:550px){.other-publication-card{flex-direction:column;align-items:flex-start;padding:18px}.other-book-cover-link{flex:unset;width:min(100%,170px);align-self:center}}

/* V34 : formulaire d'inscription externe Brevo intégré dans l'espace newsletter.
   Conserve les couleurs du site sans essayer de modifier le contenu de l'iframe. */
.newsletter-invite{max-width:630px;margin:0 auto 22px;line-height:1.65;color:#f4e5d0}
.newsletter-embed{box-sizing:border-box;width:100%;max-width:564px;margin:0 auto;padding:11px;
  background:#071827;border:1px solid #b89657;border-radius:8px;box-shadow:0 14px 30px #0004}
.newsletter-iframe{display:block;border:0;width:100%;height:305px;background:#fff;border-radius:4px}
.newsletter-fallback{margin:15px auto 0;font-size:13px}
.newsletter-fallback a{color:#e2c47c;text-underline-offset:3px}
.newsletter-fallback a:focus-visible{outline:3px solid #e2c47c;outline-offset:4px}
@media(max-width:600px){.newsletter-embed{padding:7px}.newsletter-iframe{height:455px}}

/* V35 — lien ebook anglais, uniquement sous la couverture du tome 1 */
.ebook-link{display:block;width:100%;max-width:245px;margin:0 auto 14px;padding:10px 12px;border:1px solid #c7a561;border-radius:5px;color:#e2c47c;text-align:center;text-decoration:none;font:600 14px/1.4 system-ui,sans-serif;background:#071827}
.ebook-link:hover,.ebook-link:focus-visible{background:#c7a561;color:#071827;text-decoration:underline}
.ebook-link:focus-visible{outline:3px solid #e2c47c;outline-offset:3px}
@media(max-width:600px){.ebook-link{max-width:210px}}

/* V36: English volume 1 cover -> title -> Books2Read, no duplicate availability text */
.ebook-available-book1>h3{text-align:center;max-width:245px;margin:2px auto 12px}
@media(max-width:600px){.ebook-available-book1>h3{max-width:210px}}

/* V37 : contenu absent de toutes les langues étrangères : ne jamais afficher le livre IA */
#otherBooks[hidden]{display:none!important}

/* V38 : même présentation couverture → titre → disponibilité pour FR, EN et ES. */

/* V40 — Simplified Chinese translation rights, faithful to existing night-blue/gold design */
#contact-rights[hidden],#otherBookRights[hidden]{display:none!important}
html[lang="zh-CN"] body{font-family:"Noto Serif SC","Songti SC","Microsoft YaHei",system-ui,sans-serif}
html[lang="zh-CN"] .summary-text{font-family:inherit}
.chinese-original-title{font-size:13px;color:#d7c4a4;margin:8px 0 15px}
.other-book-rights{font-size:14px;line-height:1.6;color:#ead5ac;margin-top:8px}
.rights-section{background:#0c2231}
.rights-card{max-width:750px;margin:0 auto;padding:clamp(18px,4vw,32px);border:1px solid #b89657;border-radius:9px;background:#101e29;color:#f4e5d0}
.rights-card h2{font-size:clamp(23px,3vw,31px);margin:0 0 18px}
.rights-card h3{text-align:center;color:#e2c47c;margin:30px 0 6px;font-size:21px}
.rights-hint{text-align:center;color:#d5cdc3;font-size:15px;line-height:1.6;margin:8px 0}
.rights-form{display:grid;gap:9px;margin-top:22px}
.rights-form label{display:block;font-size:15px;margin-top:8px;font-weight:600}
.rights-form input,.rights-form select,.rights-form textarea{width:100%;min-width:0;display:block;background:#202d38;color:#fff;border:1px solid #a79774;border-radius:5px;padding:12px 13px;font:16px/1.4 system-ui,sans-serif}
.rights-form textarea{resize:vertical}
.rights-form :is(input,select,textarea,button):focus-visible,.rights-copy:focus-visible{outline:3px solid #e2c47c;outline-offset:3px}
.rights-submit,.rights-copy{cursor:pointer;background:#d4af37;color:#081827;border:none;border-radius:5px;padding:13px 17px;font:700 15px/1.4 system-ui,sans-serif}
.rights-submit{margin-top:15px}
.rights-copy{background:transparent;border:1px solid #d4af37;color:#e2c47c}
.rights-submit:hover{background:#efd17c}
.rights-copy:hover{background:#263a49}
.rights-email-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 22px;margin-top:12px}
.rights-email-tools p{margin:0}
.rights-help,#rightsCopyStatus{font-size:13px;color:#d7c4a4;line-height:1.55;text-align:center}
#rightsCopyStatus:empty{display:none}
@media(max-width:600px){.rights-section{padding:24px 5%}.rights-card{padding:18px}.rights-card h3{font-size:18px}}
