@font-face{font-family:"Atkinson";src:url(fonts/AtkinsonHyperlegible-Regular.ttf);font-weight:400;font-display:swap}
@font-face{font-family:"Atkinson";src:url(fonts/AtkinsonHyperlegible-Bold.ttf);font-weight:700;font-display:swap}
@font-face{font-family:"Baloo";src:url(fonts/Baloo2-VariableFont_wght.ttf);font-weight:400 800;font-display:swap}
:root{--nuit:#14213d;--bleu:#1d3a6e;--or:#f2b705;--creme:#fffaf0;--texte:#1a1a1a;--orange:#c2410c;--vert:#166534}
*{box-sizing:border-box}html{font-size:125%}
body{margin:0;font-family:Atkinson,Verdana,sans-serif;color:var(--texte);background:var(--creme);line-height:1.6}
h1,h2,h3{font-family:Baloo,Atkinson,sans-serif;line-height:1.2;color:var(--nuit)}
h1{font-size:2.2rem}h2{font-size:1.6rem}
a{color:var(--bleu)}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:4px solid var(--or);outline-offset:3px}
.skip{position:absolute;left:-999px}.skip:focus{left:1rem;top:1rem;background:#fff;padding:.5rem 1rem;z-index:9}
header{background:var(--nuit);color:#fff}
.bar{max-width:1150px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:.6rem 1rem;flex-wrap:wrap;gap:.5rem}
.logo{color:#fff;text-decoration:none;font-family:Baloo;font-weight:800;font-size:1.4rem}.logo span{color:var(--or)}
nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.2rem}
nav a{color:#fff;text-decoration:none;padding:.4rem .6rem;border-radius:8px;font-size:.9rem;display:block}
nav a:hover,nav a[aria-current]{background:var(--or);color:var(--nuit)}
#menu-btn{display:none;background:var(--or);color:var(--nuit);border:0;font:inherit;font-weight:700;padding:.4rem .9rem;border-radius:8px}
@media(max-width:860px){#menu-btn{display:block}nav{width:100%;display:none}nav.open{display:block}nav ul{flex-direction:column}nav a{font-size:1rem;padding:.7rem}}
main{max-width:1150px;margin:auto;padding:1rem}
.hero{background:linear-gradient(135deg,var(--nuit),var(--bleu));color:#fff;border-radius:20px;padding:2.5rem 2rem;margin:1rem 0 2rem}
.hero h1{color:#fff;margin-top:0}.hero p{font-size:1.15rem;max-width:42em}
.btn{display:inline-block;background:var(--or);color:var(--nuit);font-weight:700;text-decoration:none;padding:.75rem 1.4rem;border-radius:12px;border:3px solid var(--or);margin:.3rem .3rem .3rem 0;font-size:1rem;cursor:pointer}
.btn.ghost{background:transparent;color:inherit;border-color:currentColor}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.2rem}
.card{background:#fff;border:2px solid #d6d0c2;border-radius:16px;padding:1.3rem}
.card h3{margin-top:0}.card img{width:100%;border-radius:10px;border:1px solid #ddd}
.tag{display:inline-block;background:var(--nuit);color:#fff;border-radius:999px;padding:.1rem .7rem;font-size:.8rem;font-weight:700}
.tag.junior{background:var(--orange)}.tag.pro{background:var(--vert)}
.todo{background:#fff3c4;border:2px dashed #a16207;padding:.1rem .5rem;border-radius:6px;font-weight:700;color:#713f12}
.cover{aspect-ratio:3/4;display:flex;align-items:center;justify-content:center;text-align:center;border-radius:10px;font-family:Baloo;font-weight:800;font-size:1.4rem;color:#fff;padding:1rem;margin-bottom:1rem}
.c1{background:#1d3a6e}.c2{background:#c2410c}.c3{background:#166534}
.junior-zone h1,.junior-zone h2{color:var(--orange)}
.app{background:var(--nuit);color:#fff;border-radius:20px;padding:2rem}.app h1,.app h2{color:var(--or)}
.phone{width:220px;height:420px;border:10px solid #000;border-radius:32px;background:linear-gradient(#0b1630,#1d3a6e);margin:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font-family:Baloo;font-size:1.3rem;text-align:center;gap:.6rem}
.phone .g{display:grid;grid-template-columns:repeat(5,26px);gap:3px}.phone .g i{width:26px;height:26px;background:#fff;color:var(--nuit);font-style:normal;font-size:.8rem;display:flex;align-items:center;justify-content:center;border-radius:4px;font-family:Atkinson;font-weight:700}
.two{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center}@media(max-width:760px){.two{grid-template-columns:1fr}}
form label{display:block;font-weight:700;margin-top:1rem}
input,textarea,select{width:100%;font:inherit;padding:.7rem;border:2px solid #555;border-radius:10px;background:#fff}
table{border-collapse:collapse;width:100%;background:#fff}td,th{border:2px solid #ccc;padding:.6rem;text-align:left}
footer{background:var(--nuit);color:#fff;margin-top:3rem;padding:2rem 1rem}footer a{color:var(--or)}
footer .bar{align-items:flex-start}footer ul{list-style:none;padding:0;margin:0}
/* Fiches livres */
.books{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.6rem;margin:1rem 0 2rem}
@media(max-width:1000px){.books{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.books{grid-template-columns:1fr}}
.book{display:flex;flex-direction:column;background:#fff;border:1px solid #e3ddcf;border-radius:16px;overflow:hidden;box-shadow:0 2px 10px rgba(20,33,61,.06)}
.book-cover{background:#f3eee2;padding:1.4rem 1.6rem}
.book-cover img{display:block;width:100%;height:auto;aspect-ratio:8.5/11;object-fit:contain;border-radius:2px 6px 6px 2px;box-shadow:-3px 0 0 rgba(0,0,0,.08) inset,4px 6px 16px rgba(0,0,0,.28),1px 1px 3px rgba(0,0,0,.2);background:#fff}
.book-body{display:flex;flex-direction:column;flex:1;padding:1.1rem 1.3rem 1.3rem}
.book-body h3{margin:.5rem 0 .2rem;font-size:1.25rem}
.book-sub{margin:0 0 .5rem;font-weight:700;color:#4b5563;font-size:.9rem}
.book-desc{margin:0 0 1rem;font-size:.9rem}
.book-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap;border-top:1px solid #eee;padding-top:.9rem}
.price{margin:0;font-family:Baloo,sans-serif;font-weight:800;font-size:1.6rem;color:var(--nuit)}.price small{font-size:.7rem;color:#555}
.btn-off{display:inline-block;background:#e5e7eb;color:#374151;border:1px solid #cbd5e1;border-radius:10px;padding:.5rem .9rem;font-weight:700;font-size:.85rem;cursor:default}
html,body{min-height:100%}body{display:flex;flex-direction:column;min-height:100vh}main{flex:1;width:100%}
.book .tag{align-self:flex-start}
.books{grid-template-columns:repeat(auto-fit,minmax(260px,330px));justify-content:center}
@media(max-width:640px){.books{grid-template-columns:1fr}}
.univers{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem}
@media(max-width:1000px){.univers{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.univers{grid-template-columns:1fr}}
.univers .card{display:flex;flex-direction:column}.univers .card a{margin-top:auto}
.univers .tag{align-self:flex-start}
td,th{overflow-wrap:anywhere}.todo{overflow-wrap:anywhere}
@media(max-width:640px){table,thead,tbody,tr,td,th{display:block;width:100%}thead{display:none}tr{margin-bottom:.8rem;border:2px solid #ccc;border-radius:10px;overflow:hidden}td{border:0;border-bottom:1px solid #eee}}
img{max-width:100%}
.cover-wrap{position:relative}
.back-btn{position:absolute;right:-8px;bottom:-8px;width:22%;padding:0;border:3px solid #fff;border-radius:4px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.35);cursor:pointer;transition:transform .15s}
.back-btn:hover{transform:scale(1.06)}.back-btn img{display:block;width:100%;aspect-ratio:8.5/11;object-fit:contain;box-shadow:none!important;border-radius:0}
.back-btn .flip{position:absolute;top:-12px;left:-12px;width:26px;height:26px;border-radius:50%;background:var(--nuit);color:#fff;font-size:16px;line-height:26px;text-align:center;font-weight:700;border:2px solid #fff}
#viewer{position:fixed;inset:0;z-index:50;background:rgba(10,16,32,.92);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1rem}
#viewer[hidden]{display:none}
#viewer figure{margin:0;text-align:center;color:#fff}#v-img{max-height:78vh;max-width:92vw;aspect-ratio:8.5/11;object-fit:contain;box-shadow:0 10px 40px rgba(0,0,0,.6);background:#fff}
#viewer figcaption{margin-top:.5rem;font-weight:700}
.v-close{position:absolute;top:.8rem;right:.8rem;width:52px;height:52px;border-radius:50%;border:0;background:#fff;color:var(--nuit);font-size:1.4rem;font-weight:700;cursor:pointer}
.v-tabs{display:flex;gap:.5rem;margin-top:.8rem}.v-tabs button{font:inherit;font-weight:700;padding:.6rem 1rem;border-radius:10px;border:2px solid #fff;background:transparent;color:#fff;cursor:pointer;min-height:48px}
.v-tabs button[aria-pressed="true"]{background:var(--or);color:var(--nuit);border-color:var(--or)}
.btn-buy{display:inline-block;background:var(--or);color:var(--nuit);border:2px solid #d9a404;border-radius:10px;padding:.5rem .9rem;font-weight:700;font-size:.85rem;text-decoration:none}.btn-buy:hover{background:#ffcb2e}
/* boutique */
.test-banner{background:#fff4d6;border:2px dashed #b7791f;color:#5a3d00;padding:.8rem 1rem;border-radius:12px;margin:1rem 0}
.propose{display:inline-block;font-size:.7em;font-weight:700;text-transform:uppercase;letter-spacing:.05em;background:#eef1f7;color:#14213d;border:1px solid #9aa6bf;border-radius:999px;padding:.1em .55em;vertical-align:middle}
.propose-note{color:#5a6475;margin-top:-.4rem}
.btn-test{display:inline-flex;flex-direction:column;align-items:center;gap:.1rem;padding:.55rem 1.1rem;border-radius:10px;background:#e7e9ee;color:#5a6475;border:2px dashed #9aa6bf;cursor:not-allowed;font-weight:700;line-height:1.1}
.btn-test b{background:#b7791f;color:#fff;border-radius:6px;padding:0 .35em;font-size:.8em}.btn-test small{font-weight:400;font-size:.75em}
.offres{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin:1rem 0 2rem}
.offre{background:#fff;border:1px solid #d8dce5;border-radius:14px;padding:1rem 1.1rem;display:flex;flex-direction:column;gap:.4rem}
.offre h3{margin:0}.offre p{margin:0}.offre .btn,.offre .btn-test{margin-top:auto;align-self:flex-start}
.offre.star{border:2px solid #f2b705;box-shadow:0 6px 18px rgba(20,33,61,.12)}
.packs{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.2rem;margin:1rem 0 1.5rem}
.pack{background:#fff;border:1px solid #d8dce5;border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.pack img{width:100%;height:auto;aspect-ratio:210/297;object-fit:cover;object-position:top;border-bottom:1px solid #d8dce5;background:#fff}
.pack-body{padding:1rem 1.1rem;display:flex;flex-direction:column;gap:.35rem;flex:1}.pack-body h3{margin:.2rem 0 0}.pack-body p{margin:0}
.pack-when{color:#5a6475;font-weight:600}.pack-meta{color:#5a6475;font-size:.9em}
.pack-lv{margin:.3rem 0;padding-left:1.1rem;font-size:.92em}.pack-lv li{margin:.15rem 0}
.lvF{color:#2E7D32}.lvM{color:#B5651D}.lvC{color:#6A3D9A}
.pack .book-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap;padding-top:.5rem}
.recueil{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;background:#14213d;color:#fff;border-radius:14px;padding:1rem 1.2rem;margin:0 0 2rem}
.recueil h3{color:#fff;margin:.2rem 0}.recueil p{margin:0}.recueil .price{color:#f2b705}.recueil .propose{background:#fff}
details{background:#fff;border:1px solid #d8dce5;border-radius:10px;padding:.6rem .9rem;margin:.5rem 0}summary{font-weight:700;cursor:pointer}
.small{font-size:.9em;color:#5a6475}

.vitrine{text-align:center;background:radial-gradient(circle at 50% 0,#1d2f63,#0b1430 70%);padding:2.5rem 1.5rem}
.vitrine .bandeau{display:inline-block;background:#e0283c;color:#fff;font-weight:700;padding:.45rem 1.2rem;border-radius:999px;letter-spacing:.03em;text-transform:uppercase;font-size:.95rem;margin:0 0 1rem}
.vitrine h1{color:#fff;max-width:22ch;margin:.2rem auto .8rem}.vitrine .chapo{max-width:60ch;margin:0 auto 1.4rem;color:#dfe6ff}
.stores{display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap;margin-bottom:2rem}
.store{display:flex;flex-direction:column;align-items:flex-start;background:#2a2f3d;color:#9aa1b2;border:1px solid #4a5163;border-radius:12px;padding:.45rem 1.1rem;font-weight:700;font-size:1.15rem;line-height:1.1;filter:grayscale(1);opacity:.8;position:relative;cursor:not-allowed}
.store small{font-weight:400;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em}
.ecrans{display:flex;gap:1.2rem;justify-content:center;overflow-x:auto;scroll-snap-type:x mandatory;padding:.5rem .5rem 1rem}
.ecrans figure{margin:0;flex:0 0 auto;scroll-snap-align:center}.ecrans figcaption{margin-top:.6rem;color:#ffd0d5;font-weight:700}
.tel{width:200px;border:8px solid #05070d;border-radius:30px;overflow:hidden;box-shadow:0 0 0 2px #2c3550,0 18px 40px rgba(0,0,0,.5);background:#000;position:relative}
.tel::before{content:"";position:absolute;top:6px;left:50%;transform:translateX(-50%);width:60px;height:14px;background:#05070d;border-radius:10px;z-index:1}
.tel img{display:block;width:100%;height:auto}
.atouts{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin:1.5rem 0}
.atouts li{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:999px;padding:.4rem 1rem}
@media(max-width:700px){.ecrans{justify-content:flex-start}.tel{width:180px}}
.tel{width:165px}.ecrans{gap:1rem}
@media(max-width:700px){.tel{width:180px}.vitrine .bandeau{font-size:.78rem;padding:.4rem .9rem}.vitrine{padding:2rem 1rem}}

.vitrine h2.sous{color:#fff;margin:2rem 0 .3rem}.ecrans.clair .tel{border-color:#e9edf5;box-shadow:0 0 0 2px #c9d1e3,0 18px 40px rgba(0,0,0,.4)}.ecrans.clair .tel::before{background:#e9edf5}

#taille{position:relative;margin-left:auto;margin-right:.5rem}#taille-btn{font:inherit;font-size:.8rem;font-weight:700;background:transparent;color:#fff;border:2px solid rgba(255,255,255,.45);border-radius:8px;padding:.3rem .55rem;cursor:pointer;white-space:nowrap}#taille-btn:hover,#taille-btn[aria-expanded=true]{border-color:var(--or)}#taille-panneau{position:absolute;right:0;top:calc(100% + .4rem);z-index:20;background:#fff;border:3px solid var(--nuit);border-radius:12px;padding:.4rem;display:flex;flex-direction:column;gap:.3rem;box-shadow:0 6px 20px rgba(0,0,0,.25);min-width:9.5em}#taille-panneau[hidden]{display:none}#taille-panneau button{font:inherit;font-size:.95rem;font-weight:700;text-align:left;background:#f3f4f7;color:var(--nuit);border:2px solid transparent;border-radius:8px;padding:.45rem .7rem;cursor:pointer}#taille-panneau button[aria-pressed=true]{background:var(--or);border-color:var(--nuit)}#taille-panneau button[data-t="150"]{font-size:1.1rem}#taille-panneau button[data-t="175"]{font-size:1.25rem}@media(max-width:860px){#taille-btn span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}#taille-btn::after{content:" Aa"}}
.a-fiche{cursor:pointer}.a-fiche:hover{box-shadow:0 4px 16px rgba(20,33,61,.18)}.a-fiche:focus-visible{outline:3px solid var(--or);outline-offset:2px}
.fm-voir{font:inherit;font-size:.9rem;font-weight:700;background:none;border:2px solid var(--nuit);color:var(--nuit);border-radius:10px;padding:.35rem .8rem;margin:.4rem 0;cursor:pointer;align-self:flex-start}
.fm{position:fixed;inset:0;z-index:50;background:rgba(10,18,36,.72);display:flex;align-items:center;justify-content:center;padding:1rem}.fm[hidden]{display:none}
.fm-box{position:relative;background:#fff;color:var(--nuit);border-radius:16px;max-width:980px;width:100%;max-height:92vh;overflow:auto;padding:1.4rem;box-shadow:0 10px 40px rgba(0,0,0,.4)}
.fm-x{position:sticky;top:0;float:right;font:inherit;font-size:1.2rem;font-weight:700;background:var(--nuit);color:#fff;border:0;border-radius:50%;width:2.4rem;height:2.4rem;cursor:pointer;z-index:2}
.fm-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:1.4rem}
.fm-couv{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;border-radius:12px;border:1px solid #d8dce5;background:#fff}
.fm-car{margin-top:1rem}.fm-car-t{font-weight:700;margin:.2rem 0 .4rem}.fm-car-v{display:flex;align-items:center;gap:.4rem}
.fm-ap{flex:1;min-width:0;width:100%;height:auto;aspect-ratio:210/297;object-fit:contain;border:1px solid #d8dce5;border-radius:8px;background:#f3f4f7}
.fm-prev,.fm-next{font:inherit;font-size:1.6rem;font-weight:800;background:var(--or);color:var(--nuit);border:0;border-radius:10px;width:2.4rem;height:3.2rem;cursor:pointer;flex:none}
.fm-n{text-align:center;margin:.3rem 0 0;font-size:.9rem}
#fm-t{margin:.2rem 0 .6rem;font-size:1.4rem;line-height:1.25;padding-right:2.6rem}
.fm-barre{margin:0;color:#5a6475}.fm-barre s{font-weight:700}
.fm-prix{display:inline-block;font-size:2rem;font-weight:800;background:#ffd23f;border-radius:10px;padding:.2rem .8rem;margin:.3rem 0}
.fm-eco{display:table;background:#1f7a3a;color:#fff;font-weight:700;font-size:.9rem;border-radius:999px;padding:.2rem .7rem;margin:.2rem 0 .4rem}
.fm-desc{margin:.6rem 0;line-height:1.5}.fm-ct-t{font-size:1.1rem;margin:.8rem 0 .3rem}.fm-ct{margin:0 0 .6rem;padding-left:1.2rem}.fm-ct li{margin:.2rem 0}
.fm-lic{font-size:.92rem;background:#f3f4f7;border-left:4px solid var(--or);padding:.5rem .7rem;border-radius:6px}
.fm-act{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.8rem}.fm-act .btn{margin:0}
.fm .btn.ghost{background:#fff;color:var(--nuit);border-color:var(--nuit)}
@media(max-width:760px){.fm{padding:0;align-items:stretch}.fm-box{max-height:none;height:100%;border-radius:0;padding:1rem}.fm-grid{grid-template-columns:1fr;gap:.8rem}.fm-couv{max-width:320px;margin:0 auto;display:block}
.fm-act{position:sticky;bottom:-1rem;background:#fff;padding:.6rem 0 1rem;border-top:1px solid #e3ddcf}.fm-act .btn{flex:1;text-align:center}}
.fm [hidden]{display:none!important}
@media(max-width:760px){.fm-grid>.fm-col:first-child{order:2}.fm-couv{max-width:220px}#fm-t{font-size:1.2rem}}
