@font-face{font-family:MontserratEDL;src:url('edl-montserrat.woff2') format('woff2');font-display:swap}*{box-sizing:border-box}html,body{margin:0}body{font-family:Arial,Helvetica,sans-serif;color:#222;background:#fff;font-size:14px}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}.container{max-width:1100px;margin:auto}.top{height:30px;background:#f2f2f2;font-size:11px}.social{display:flex;justify-content:flex-end;align-items:center;height:100%;gap:6px}.social a{background:#222;color:white;padding:2px 5px;font-weight:bold}.social a:first-of-type{background:#45669c}.header{height:116px;display:flex;align-items:center;justify-content:space-between;gap:55px}.logo img{display:block;width:215px;max-height:90px;object-fit:contain}.search{width:280px;display:flex;border:1px solid #eee;height:36px}.search input{min-width:0;flex:1;border:0;padding:0 10px;font-size:11px}.search button{border:0;background:white;color:#666;font-size:25px}.header-actions{display:flex;gap:22px;margin-right:10px}.header-actions svg{width:21px;height:21px;fill:none;stroke:#555;stroke-width:1.3}.navigation{background:#050505;color:white}.nav-inner{height:36px;display:flex;justify-content:center;align-items:center;gap:19px}.nav-inner a{font-size:11px;font-weight:bold;white-space:nowrap}.nav-inner a:hover{text-decoration:underline}.slider{margin-top:15px;position:relative}.slides .slide{display:block}.slides .slide[hidden]{display:none}.slides img{display:block;width:100%;height:auto}.slider-controls{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:5px 0;color:#777;font-size:12px}.slider-controls button,.arrows button{background:#fff;border:1px solid #ccc;color:#666}.catalog-section{margin-top:35px}.section-heading{display:flex;align-items:center;justify-content:space-between}.section-heading h2{font-size:21px;margin:0;background:#f6f6f6;padding:8px 10px;font-weight:700}.book-icon{margin-right:8px;color:#555}.arrows{display:flex;gap:5px}.tabs{display:flex;justify-content:center;gap:14px;margin:18px 0 50px}.tab{min-width:200px;background:#e9e9e9;border:1px solid #999;padding:9px 14px;font-size:11px;font-weight:bold}.tab.selected{background:#050505;color:#fff;border-color:#050505}.books{display:flex;overflow-x:auto;gap:18px;scrollbar-width:none}.books[hidden]{display:none}.book{flex:0 0 calc((100% - 54px)/4);min-width:0;border:1px solid #ddd;background:white}.cover{height:245px;display:flex;align-items:center;justify-content:center;background:#fff}.cover img{display:block;max-height:100%;max-width:100%;object-fit:contain}.book-description{min-height:90px;background:#dedede;text-align:center;padding:12px 8px;font-size:13px;display:flex;flex-direction:column;gap:9px;justify-content:center}.book-description strong{font-weight:normal}.catalog-section#ventes{margin-top:35px;margin-bottom:65px}footer{background:#d7d7d7}.footer-grid{padding:38px 0 35px;display:grid;grid-template-columns:repeat(4,1fr);gap:30px;font-size:12px}.footer-grid h3{font-size:12px;margin:0 0 16px}.footer-grid p{line-height:1.5}.footer-grid a{display:block;margin:5px 0}.footer-links{background:#050505;color:#ddd;text-align:center;font-size:10px;padding:9px}.copyright{background:#050505;color:#ddd;font-size:11px;padding:15px 0}@media(max-width:1150px){.container{max-width:calc(100% - 36px)}}@media(max-width:700px){.header{height:auto;padding:15px 0;gap:12px;flex-wrap:wrap}.logo img{width:170px}.search{order:3;width:100%}.nav-inner{height:auto;min-height:40px;flex-wrap:wrap;gap:12px;padding:12px}.nav-inner a{font-size:10px}.book{flex-basis:46%}.cover{height:190px}.footer-grid{grid-template-columns:repeat(2,1fr)}.section-heading h2{font-size:17px}.tab{min-width:0}.tabs{margin-bottom:22px}}

/* Dimensions EDL : mise à l'échelle sans modifier les ressources ni le PHP */
@media(min-width:1200px){
 .container{max-width:1630px;width:calc(100% - 70px)}
 .top{height:68px;font-size:14px}
 .social{gap:9px}
 .social a{font-size:22px;padding:3px 9px}
 .header{height:188px;gap:40px}
 .logo{flex:0 0 428px}
 .logo img{width:428px;height:154px;max-height:none;object-fit:contain}
 .search{width:515px;height:54px}
 .search input{font-size:14px;padding:0 17px}
 .search button{font-size:33px;padding:0 15px}
 .header-actions{gap:38px}
 .header-actions svg{width:34px;height:34px}
 .nav-inner{height:65px;gap:30px}
 .nav-inner a{font-size:16px;line-height:65px}
 main.container{max-width:1600px}
 .slider{max-width:1100px;margin:30px auto 0}
 .catalog-section{margin-top:72px}
 .section-heading h2{font-size:32px;padding:12px 15px}
 .tabs{margin:26px 0 30px;gap:30px}
 .tab{min-width:375px;font-size:16px;padding:15px}
 .books{gap:30px}
 .book{flex-basis:calc((100% - 90px)/4);border-color:#aaa}
 .cover{height:410px}
 .book-description{min-height:115px;font-size:17px;padding:16px;gap:12px}
 .book-description strong{font-size:21px;font-weight:700}
 .catalog-section#ventes{margin-top:65px;margin-bottom:100px}
 .footer-grid{padding:58px 0 65px;font-size:14px;gap:50px}
 .footer-grid h3{font-size:15px}
 .footer-links{font-size:12px}
 .copyright{font-size:12px}
}
@media(min-width:1200px) and (max-width:1650px){
 .header{gap:20px}.logo{flex-basis:340px}.logo img{width:340px;height:auto}.search{width:380px}
 .nav-inner{gap:18px}.nav-inner a{font-size:13px}
 .cover{height:340px}.book-description{font-size:15px}
}

/* Diaporama : même largeur que les sections livres, centré */
@media (min-width:1200px){
 main.container .slider{width:100%;max-width:1600px;margin:30px auto 0}
}

/* Restauration ciblée de l'accueil : gabarit large, sans incidence sur les autres pages. */
body{background:#fff url('/assets/pattern12.png') repeat!important}
@media(min-width:1100px){
 .container{width:calc(100% - 80px);max-width:1600px}
 main.container{max-width:1600px}
 .header{height:165px;gap:32px}
 .logo img{width:360px;height:auto;max-height:140px}
 .search{width:420px;height:46px}
 .search input{font-size:14px}
 .nav-inner{height:58px;gap:24px}
 .nav-inner a{font-size:15px;line-height:58px}
 .slider{margin-top:24px}
 .catalog-section{margin-top:60px}
 .section-heading h2{font-size:28px;padding:10px 14px}
 .tabs{margin:24px 0 30px;gap:24px}
 .tab{min-width:290px;font-size:14px;padding:13px}
 .books{gap:25px}
 .book{flex:0 0 calc((100% - 75px)/4)}
 .cover{height:380px}
 .book-description{min-height:100px;font-size:16px}
 .book-description strong{font-weight:700;font-size:18px}
 .catalog-section#ventes{margin-top:55px;margin-bottom:85px}
 .footer-grid{font-size:14px;padding:48px 0;gap:36px}
 .footer-grid h3{font-size:14px}
}
.top,.header,.navigation,footer,.footer-links,.copyright{background-image:none!important}
.header{background-color:#fff}

/* Introduction accueil : titres saisis dans le WYSIWYG */
.home-introduction{margin:35px 0 20px;line-height:1.6}
.home-introduction h1{font-size:32px;line-height:1.25;margin:0 0 18px}.home-introduction h2{font-size:26px;line-height:1.3;margin:0 0 16px}.home-introduction h3{font-size:21px;line-height:1.35;margin:0 0 12px}.home-introduction p{font-size:16px;line-height:1.65}

.home-introduction h4{font-size:18px;line-height:1.4;font-weight:700;margin:0 0 12px}

/* Trois indicateurs toujours visibles sous le diaporama. */
.slider .slider-controls.slider-dots{display:flex;justify-content:center;align-items:center;gap:8px;padding:7px 0 0;min-height:17px}
.slider .slider-controls.slider-dots button.slide-dot{display:block;flex:0 0 26px;width:26px;min-width:26px;max-width:26px;height:5px;min-height:5px;border:0;border-radius:4px;background:#b9b9b9;padding:0;margin:0;opacity:1;box-shadow:none;appearance:none;cursor:pointer;font-size:0;line-height:0}
.slider .slider-controls.slider-dots button.slide-dot.active{background:#e00020}
.slider .slider-controls.slider-dots button.slide-dot:focus-visible{outline:2px solid #222;outline-offset:3px}

/* Pages juridiques EDL : styles fusionnés depuis edl-legal-pages.css. */
/* Pages juridiques EDL : mise en page du contenu, sans incidence sur l'en-tête et le pied de page. */
main.edl-legal-page {
  box-sizing: border-box;
  width: calc(100% - 80px);
  max-width: 1600px;
  min-height: 380px;
  margin: 45px auto 35px;
  padding: 38px 46px 48px;
  background: #fff;
  color: #222;
  font: 400 16px/1.65 MontserratEDL, Montserrat, Arial, sans-serif;
  overflow-wrap: break-word;
}
main.edl-legal-page h1,
main.edl-legal-page h2,
main.edl-legal-page h3,
main.edl-legal-page h4 {
  color: #222;
  font-family: inherit;
  font-weight: 700;
}
main.edl-legal-page h1 {font-size: 32px; line-height: 1.3; margin: 0 0 26px;}
main.edl-legal-page h2 {font-size: 23px; line-height: 1.4; margin: 27px 0 13px;}
main.edl-legal-page h3 {font-size: 19px; line-height: 1.45; margin: 23px 0 11px;}
main.edl-legal-page h4 {font-size: 17px; line-height: 1.45; margin: 20px 0 10px;}
main.edl-legal-page p {font-size: inherit; line-height: inherit; margin: 0 0 16px;}
main.edl-legal-page ul,
main.edl-legal-page ol {padding-left: 1.6em; margin: 0 0 20px;}
main.edl-legal-page li {margin-bottom: 8px;}
main.edl-legal-page a {color: #9b1616; text-decoration: underline;}
main.edl-legal-page a:hover {color: #6d0c0c;}
main.edl-legal-page table {max-width: 100%; border-collapse: collapse;}
main.edl-legal-page th,
main.edl-legal-page td {border: 1px solid #dedede; padding: 10px 12px; text-align: left;}
@media (max-width: 700px) {
  main.edl-legal-page {width: calc(100% - 24px); margin: 20px auto; padding: 24px 18px 30px; font-size: 15px; line-height: 1.6;}
  main.edl-legal-page h1 {font-size: 27px; margin-bottom: 20px;}
  main.edl-legal-page h2 {font-size: 20px;}
  main.edl-legal-page h3 {font-size: 18px;}
}

/* Page Auteurs EDL : regroupe depuis edl-auteurs.css, ordre des regles conserve. */
/* Auteurs EDL : styles limités à cette page */
.edl-authors-main{width:min(1600px,calc(100% - 40px));margin:0 auto 65px;min-height:300px}
.edl-authors-crumb{text-align:center;font-size:13px;padding:20px 0;color:#666}
.edl-authors-crumb a{color:#555;text-decoration:none}
.edl-authors-main h1{font-size:28px;font-weight:500;margin:24px 0}
.edl-author-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;background:#fff;padding:24px}
.edl-author-card{min-width:0;border:1px solid #e8e8e8;text-align:center;padding:16px 12px 20px;background:#fff;display:flex;flex-direction:column;align-items:center}
.edl-author-portrait{height:200px;width:100%;display:flex;justify-content:center;align-items:center;background:#fff}
.edl-author-portrait img{max-width:100%;max-height:190px;object-fit:contain}
.edl-author-card h2{margin:9px 0}
.edl-author-card p{color:#777;margin:4px 0 15px}
.edl-author-btn{display:block;margin-top:auto;background:#AA0000;color:#fff!important;text-decoration:none;padding:12px 18px;font-weight:bold;width:min(230px,100%)}
.edl-author-btn:hover{background:#850000}
.edl-author-books{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.edl-author-book{background:#fff;border:1px solid #ddd;display:flex;flex-direction:column;align-items:center;text-align:center;color:#222;text-decoration:none;padding:15px;gap:12px}
.edl-author-book-cover{height:280px;display:flex;align-items:center;justify-content:center}
.edl-author-book-cover img{max-height:100%;max-width:100%;object-fit:contain}
.edl-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:900px){.edl-author-grid,.edl-author-books{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.edl-author-grid,.edl-author-books{grid-template-columns:1fr}.edl-author-portrait{height:160px}}

/* Typographie explicite : indépendante des styles globaux */
.edl-authors-main,.edl-authors-main h1,.edl-authors-main h2,.edl-authors-main p,.edl-authors-main a,.edl-authors-main strong,.edl-authors-main span{font-family:Montserrat,Arial,Helvetica,sans-serif!important;}
.edl-author-card h2{font-size:17px!important;font-weight:500!important;line-height:1.35!important;}
.edl-author-card p{font-size:14px!important;line-height:1.5!important;}
.edl-author-btn{font-size:13px!important;font-weight:700!important;letter-spacing:.02em;}

/* Profil auteur commun : voir custom.css */.edl-author-profile>img{width:125px;max-height:190px;object-fit:contain}.edl-author-bio{flex:1;line-height:1.65;white-space:normal}.edl-author-books-title{border-bottom:1px solid #ded7c2;padding-bottom:12px;margin:25px 0 20px}@media(max-width:600px){.edl-author-profile{gap:18px}}

/* Navigation et fiche auteur : styles isolés */
.edl-authors-main .edl-authors-crumb{display:flex;justify-content:center;align-items:center;gap:9px;flex-wrap:wrap;margin:0;padding:20px 0 14px;color:#777;font-size:13px}
.edl-authors-main .edl-authors-crumb a{color:#555;text-decoration:none;border-bottom:1px solid transparent}
.edl-authors-main .edl-authors-crumb a:hover{border-color:#aa0000;color:#aa0000}
.edl-authors-main .edl-authors-back{margin:16px 0 22px}
.edl-authors-main .edl-authors-back a{display:inline-flex;align-items:center;min-height:38px;padding:8px 15px;border:1px solid #d4d4d4;border-radius:5px;background:#fff;color:#333;text-decoration:none;font-size:13px;font-weight:600;transition:background .15s,border-color .15s}
.edl-authors-main .edl-authors-back a:hover{background:#f8f0f0;border-color:#aa0000;color:#990000}
.edl-authors-main .edl-author-profile{margin-top:26px;margin-bottom:46px}
.edl-authors-main .edl-author-books-title{margin-top:28px}

/* Mise en page partagee des pages EDL auparavant en style inline. */
main.edl-basic-content{max-width:1100px;min-height:380px;margin:45px auto;padding:25px 30px;background:white}

/* Accueil EDL — titres et commandes de navigation alignés sur la boutique historique (28/10/2026). */
#parutions .section-heading h2,
#ventes .section-heading h2 {
  font-size:30px;
  line-height:1.2;
  padding:14px 15px;
}
#parutions .tabs .tab {
  font-size:16px;
  line-height:1.2;
  font-weight:700;
  min-height:49px;
  padding:13px 18px;
}
#parutions .arrows button,
#ventes .arrows button {
  width:36px;
  height:36px;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:27px;
  line-height:1;
}
@media(max-width:700px) {
  #parutions .section-heading h2,
  #ventes .section-heading h2 {font-size:21px;padding:10px 12px;}
  #parutions .tabs .tab {font-size:13px;min-height:44px;padding:10px 9px;}
  #parutions .arrows button,
  #ventes .arrows button {width:32px;height:32px;font-size:24px;}
}
