:root{--primary:#71af1d;--soft:#f8e9b8;--accent:#f14a2e;--ink:#1e2430;--muted:#65707e;--paper:#fffdf8;--white:#fff;--radius:20px;--shadow:0 18px 50px rgba(25,38,30,.10);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink)}button,input,select{font:inherit}button,a{cursor:pointer}a{color:inherit;text-decoration:none}.site-header{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:24px;padding:14px clamp(18px,4vw,64px);background:#fff;backdrop-filter:blur(16px);border-bottom:1px solid rgba(30,36,48,.08)}.brand{display:flex;align-items:center;gap:12px;min-width:max-content}.brand-mark{display:grid;place-items:center;width:58px;height:58px;background:transparent;flex:0 0 auto}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain;background:transparent}.brand strong{display:block;letter-spacing:.08em;font-size:14px}.brand small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.site-header nav{display:flex;gap:22px;margin-left:auto}.site-header nav a{font-size:14px}.header-actions{display:flex;gap:10px}.menu-toggle{display:none;border:0;background:transparent;font-size:24px}.button,.ghost,.cart-button,.danger{border:0;border-radius:999px;padding:11px 17px;font-weight:700;transition:.2s ease}.button:hover,.ghost:hover,.cart-button:hover{transform:translateY(-1px)}.primary{background:var(--primary);color:#fff}.secondary{background:#fff;color:var(--ink);border:1px solid rgba(30,36,48,.14)}.ghost{background:transparent;border:1px solid rgba(30,36,48,.14)}.cart-button{background:var(--ink);color:#fff}.cart-button span{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:5px;border-radius:999px;background:var(--accent);font-size:12px}.danger{background:#fff0ee;color:#b62514}.full{width:100%;display:block;text-align:center}.hero{min-height:620px;display:grid;grid-template-columns:1.08fr .92fr;overflow:hidden;background:linear-gradient(180deg,#bfe7fb 0 62%,#8dbd2e 62% 67%,#6e9f10 67%)}.hero-visual{position:relative;min-height:620px}.cloud{position:absolute;background:white;border-radius:999px;opacity:.9}.cloud:before,.cloud:after{content:"";position:absolute;background:inherit;border-radius:50%}.c1{width:155px;height:34px;left:18%;top:16%}.c1:before{width:58px;height:58px;left:24px;bottom:0}.c1:after{width:70px;height:70px;right:23px;bottom:0}.c2{width:110px;height:26px;left:56%;top:30%;opacity:.72}.c2:before{width:42px;height:42px;left:18px;bottom:0}.c2:after{width:48px;height:48px;right:18px;bottom:0}.sun{position:absolute;width:96px;height:96px;border-radius:50%;background:#ffd45a;left:11%;top:38%;box-shadow:0 0 0 18px rgba(255,212,90,.16)}.hill{position:absolute;border-radius:50% 50% 0 0/100% 100% 0 0;bottom:0}.hill-a{height:34%;width:115%;left:-35%;background:#8cb82d}.hill-b{height:27%;width:105%;right:-42%;background:#6d990e}.hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:80px clamp(28px,7vw,100px);background:linear-gradient(110deg,rgba(248,233,184,.96),rgba(255,243,211,.84));position:relative}.hero-copy:after{content:"Nouveautés";position:absolute;right:7%;top:18%;padding:12px 18px;background:var(--accent);color:#fff;font-weight:800;transform:rotate(4deg);clip-path:polygon(7% 15%,93% 4%,100% 52%,91% 93%,9% 100%,0 47%)}.eyebrow{text-transform:uppercase;font-size:12px;letter-spacing:.14em;font-weight:800;color:var(--primary)}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,serif;font-size:clamp(40px,5vw,70px);line-height:1.02;margin:16px 0 20px;max-width:760px}h2{font-family:Georgia,serif;font-size:clamp(34px,4vw,54px);margin:10px 0 12px}h3{font-size:20px}.hero-copy p{font-size:18px;line-height:1.65;max-width:610px}.hero-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.section{padding:88px clamp(20px,6vw,88px)}.section-title{text-align:center;max-width:780px;margin:0 auto 42px}.section-title.left{text-align:left;margin:0}.section-title p{color:var(--muted);line-height:1.7}.pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;max-width:1150px;margin:auto}.pillars article{padding:28px;border:1px solid rgba(30,36,48,.1);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow)}.pillars article span{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;border:1px solid rgba(30,36,48,.16);font-weight:800;margin-bottom:18px}.pillars article p{color:var(--muted);line-height:1.55}.levels{background:#f7f6f1;padding-top:78px;padding-bottom:78px}.levels-title{margin-bottom:34px}.levels-title h2{letter-spacing:.02em}.levels-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;max-width:1400px;margin:0 auto}.level-card{min-height:478px;background:#fff;border:1px solid #e4e5e8;border-radius:25px;padding:20px;box-shadow:0 12px 26px rgba(30,36,48,.05);display:flex;flex-direction:column}.level-card-title{border:1px solid #c9c5bb;border-radius:15px;padding:13px 27px;min-height:64px;display:flex;align-items:center}.level-card-title h3{margin:0;font-size:clamp(19px,1.6vw,27px);line-height:1.2;font-weight:800;letter-spacing:-.025em}.level-card-content{padding:35px 0 8px;font-size:clamp(17px,1.45vw,24px);line-height:1.15;color:#161616}.level-card-content p{margin:0 0 27px}.level-card-content p:last-child{margin-bottom:0}.level-objective strong{font-weight:800}.level-objective span{font-weight:400}.books{background:#fff}.section-head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;max-width:1300px;margin:0 auto 28px}.catalog-layout{display:grid;grid-template-columns:220px 1fr;gap:26px;max-width:1300px;margin:auto}.filters{align-self:start;position:sticky;top:96px;background:#fffaf0;border:1px solid #f1dfac;border-radius:var(--radius);padding:20px}.filter-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.text-btn{border:0;background:none;color:var(--primary);font-size:12px}.filters label,.editor label{display:grid;gap:7px;font-size:13px;font-weight:700;margin:14px 0}.filters select,.editor input:not([type="checkbox"]){width:100%;border:1px solid rgba(30,36,48,.14);border-radius:12px;background:#fff;padding:10px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{position:relative;background:var(--soft);border-radius:var(--radius);padding:12px;overflow:hidden;border:1px solid rgba(30,36,48,.06)}.product-image{height:190px;border-radius:calc(var(--radius) - 6px);background:linear-gradient(#bee8fb 0 58%,#86b92c 58% 69%,#66920c 69%);position:relative;overflow:hidden}.product-image:before{content:"";position:absolute;width:100px;height:28px;border-radius:999px;background:white;left:50%;top:20%;transform:translateX(-50%);box-shadow:-25px 4px 0 -3px white,28px 5px 0 -7px white}.product-image:after{content:attr(data-icon);position:absolute;right:18px;bottom:14px;font-size:44px}.product-body{padding:14px 5px 5px}.product-top{display:flex;justify-content:space-between;gap:10px}.product-title{font-weight:800}.product-meta{font-size:12px;color:var(--muted);margin-top:5px}.price{font-weight:900}.product-actions{display:flex;gap:8px;margin-top:14px}.product-actions button{flex:1}.small-btn{border:0;border-radius:10px;padding:9px 10px;font-weight:800;background:#fff}.small-btn.buy{background:var(--primary);color:#fff}.edit-chip{position:absolute;right:10px;top:10px;z-index:2;border:0;background:#fff;border-radius:999px;padding:7px 9px;font-size:12px;box-shadow:0 3px 12px rgba(0,0,0,.08)}.offers{background:#fff8e5}.offer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:1300px;margin:auto}.offer-card{position:relative;background:#fff;border-radius:var(--radius);padding:24px;border:1px solid #f1dfac}.offer-card.featured{grid-column:span 2;background:var(--ink);color:#fff}.offer-card .old{text-decoration:line-through;color:#8c93a0;margin-right:8px}.offer-card .new{font-size:26px;font-weight:900;color:var(--primary)}.offer-card.featured .new{color:#bce866}.offer-card p{color:var(--muted);line-height:1.55}.offer-card.featured p{color:#cbd0d8}.offer-card .button{margin-top:8px}.faq-list{max-width:900px;margin:auto}.faq-item{border-bottom:1px solid rgba(30,36,48,.12)}.faq-item button{display:flex;justify-content:space-between;width:100%;text-align:left;border:0;background:none;padding:20px 0;font-weight:800;font-size:17px}.faq-answer{display:none;color:var(--muted);line-height:1.65;padding:0 0 20px}.faq-item.open .faq-answer{display:block}.centered{display:block;margin:24px auto 0}.newsletter{display:flex;justify-content:space-between;align-items:center;gap:40px;background:var(--soft)}.newsletter h2{font-size:38px}.newsletter p{color:var(--muted)}.newsletter form{display:flex;gap:8px;min-width:min(460px,100%)}.newsletter input{flex:1;border:1px solid rgba(30,36,48,.14);border-radius:999px;padding:13px 16px;background:#fff}footer{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:40px;padding:54px clamp(20px,6vw,88px);background:#20283a;color:#e9ecf2}footer div{display:flex;flex-direction:column;gap:10px}footer strong{margin-bottom:4px}footer p,footer a,.footer-link{color:#aeb6c6;font-size:13px;line-height:1.55}.footer-link{border:0;background:none;padding:0;text-align:left}.drawer-backdrop{position:fixed;inset:0;background:rgba(8,12,18,.38);opacity:0;pointer-events:none;transition:.2s;z-index:70}.drawer-backdrop.open{opacity:1;pointer-events:auto}.cart-drawer,.editor{position:fixed;top:0;right:0;z-index:80;width:min(430px,100vw);height:100dvh;background:#fff;padding:22px;transform:translateX(105%);transition:.25s ease;box-shadow:-10px 0 40px rgba(0,0,0,.14);overflow:auto}.editor{width:min(470px,100vw)}.cart-drawer.open,.editor.open{transform:translateX(0)}.drawer-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:1px solid rgba(30,36,48,.08);padding-bottom:16px}.drawer-head h2{font-family:inherit;font-size:24px;margin:0}.drawer-head p{font-size:12px;color:var(--muted);margin:4px 0 0}.drawer-head button,.dialog-head button{border:0;background:none;font-size:28px}.cart-items{padding:10px 0}.cart-item{display:grid;grid-template-columns:1fr auto;gap:6px 15px;padding:14px 0;border-bottom:1px solid rgba(30,36,48,.08)}.cart-item small{color:var(--muted)}.cart-item button{border:0;background:none;color:var(--accent);padding:0;text-align:left}.cart-total{display:flex;justify-content:space-between;font-size:20px;padding:20px 0}.tiny,.hint{font-size:12px;color:var(--muted);line-height:1.45}.editor-tabs{display:flex;gap:6px;overflow:auto;padding:14px 0}.editor-tabs button{border:0;background:#f2f3f5;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:800}.editor-tabs button.active{background:var(--ink);color:#fff}.editor-tab{display:none}.editor-tab.active{display:block}.editor input[type="color"]{height:44px;padding:4px}.editor input[type="range"]{width:100%}.file-label{margin-top:10px}.editor .danger{margin-top:10px}.edit-only,.edit-chip{display:none}.editing .edit-only,.editing .edit-chip{display:inline-block}.editing [data-edit-key]{outline:1px dashed var(--accent);outline-offset:4px;border-radius:4px}.editing [contenteditable="true"]{background:#fff9d8}dialog{width:min(620px,calc(100vw - 30px));border:0;border-radius:22px;padding:22px;box-shadow:0 30px 90px rgba(0,0,0,.25)}dialog::backdrop{background:rgba(8,12,18,.5)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{font-family:inherit;font-size:24px;margin:0}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid label{display:grid;gap:6px;font-size:13px;font-weight:700}.form-grid label.wide{grid-column:1/-1}.form-grid input,.form-grid textarea,.form-grid select{width:100%;border:1px solid rgba(30,36,48,.14);border-radius:11px;padding:10px}.form-grid textarea{min-height:90px;resize:vertical}.info-body{color:var(--muted);line-height:1.7}.toast{position:fixed;left:50%;bottom:26px;z-index:100;transform:translate(-50%,20px);opacity:0;background:var(--ink);color:#fff;padding:11px 16px;border-radius:999px;transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1100px) and (min-width:641px){.levels-grid{grid-template-columns:1fr}.level-card{min-height:0}.level-card-content{font-size:20px;line-height:1.28}}
@media(max-width:980px){.site-header nav{display:none;position:absolute;top:100%;left:16px;right:16px;flex-direction:column;padding:16px;background:#fff;border-radius:16px;box-shadow:var(--shadow)}.site-header nav.open{display:flex}.menu-toggle{display:block;margin-left:auto}.site-header .header-actions{margin-left:0}.brand small{display:none}.hero{grid-template-columns:1fr}.hero-visual{min-height:300px}.hero-copy{padding-top:60px;padding-bottom:70px}.catalog-layout{grid-template-columns:1fr}.filters{position:static;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.filter-head{grid-column:1/-1}.product-grid{grid-template-columns:repeat(2,1fr)}.offer-grid{grid-template-columns:repeat(2,1fr)}.offer-card.featured{grid-column:span 2}.newsletter{flex-direction:column;align-items:flex-start}footer{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.site-header{gap:10px;padding:10px 14px}.site-header .ghost{display:none}.cart-button{padding:9px 12px}.hero-copy:after{display:none}h1{font-size:42px}.section{padding:64px 18px}.pillars{grid-template-columns:1fr}.levels-grid{grid-template-columns:1fr}.level-card{min-height:0}.level-card-content{font-size:18px;line-height:1.3}.level-card-title h3{font-size:21px}.filters{grid-template-columns:1fr}.filter-head{grid-column:auto}.product-grid{grid-template-columns:1fr}.offer-grid{grid-template-columns:1fr}.offer-card.featured{grid-column:span 1}.section-head-row{align-items:flex-start}.newsletter form{min-width:0;width:100%;flex-direction:column}.newsletter input{width:100%}footer{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid label.wide{grid-column:auto}}

/* --- Ajustements demandés : niveaux + éditeur avancé --- */
:root{
  --levels-bg:#f7f6f1;
  --offers-bg:#fff8e5;
  --footer-bg:#20283a;
}
.hero-copy:after{content:none!important}
.hero-badge{position:absolute;right:7%;top:18%;padding:12px 18px;background:var(--accent);color:#fff;font-weight:800;transform:rotate(4deg);clip-path:polygon(7% 15%,93% 4%,100% 52%,91% 93%,9% 100%,0 47%)}
.levels{background:var(--levels-bg);padding-left:clamp(18px,1.8vw,28px);padding-right:clamp(18px,1.8vw,28px)}
.levels-grid{width:100%;max-width:1600px;gap:28px}
.level-card{min-height:478px}
.level-card-title{padding:13px 27px}
.level-card-title h3{font-size:clamp(20px,1.85vw,27px);line-height:1.18}
.level-card-content{font-size:clamp(18px,1.65vw,24px);line-height:1.14;padding-top:35px}
.offers{background:var(--offers-bg)}
footer{background:var(--footer-bg)}

.editor{width:min(560px,100vw)}
.inline-edit-toggle{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:9px!important;background:#fff8e5;border:1px solid #f0dfb1;border-radius:12px;padding:11px 12px;margin:8px 0 14px!important}
.text-search-label{margin-top:8px!important}
.text-editor-list{display:grid;gap:10px;padding-bottom:22px}
.text-editor-card{border:1px solid rgba(30,36,48,.12);border-radius:14px;padding:12px;background:#fafafa}
.text-editor-card.is-hidden{display:none}
.text-editor-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.text-editor-card-head strong{font-size:13px;line-height:1.25}
.text-editor-card-head button{border:0;background:transparent;color:var(--primary);font-size:11px;font-weight:800;padding:4px}
.text-editor-card textarea{width:100%;min-height:62px;resize:vertical;border:1px solid rgba(30,36,48,.14);border-radius:10px;padding:9px 10px;font:inherit;line-height:1.35;background:#fff}
.text-style-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.text-style-row label{margin:0!important;font-size:11px!important;font-weight:700!important;gap:4px!important}
.text-style-row input[type="number"],.text-style-row select{width:100%;border:1px solid rgba(30,36,48,.14);border-radius:9px;background:#fff;padding:7px 8px;font:inherit}
.text-style-row input[type="color"]{width:100%;height:35px!important;border:1px solid rgba(30,36,48,.14);border-radius:9px;padding:3px!important;background:#fff}
.text-style-row .wide{grid-column:1/-1}
.text-editor-empty{font-size:13px;color:var(--muted);padding:16px 4px;text-align:center}
.editing [data-edit-key]{cursor:text}
.editing [data-edit-key].edit-target{outline:2px solid var(--accent);outline-offset:5px}

.item-style-heading{grid-column:1/-1;margin:8px 0 -2px;padding-top:8px;border-top:1px solid rgba(30,36,48,.1);font-weight:900;font-size:13px}
.form-grid input[type="color"]{height:42px;padding:4px}
.form-grid select{background:#fff}

@media(max-width:1100px) and (min-width:641px){
  .levels{padding-left:28px;padding-right:28px}
  .levels-grid{grid-template-columns:1fr}
  .level-card-content{font-size:20px;line-height:1.28}
}
@media(max-width:640px){
  .site-header .ghost{display:inline-block}
  #editToggle{padding:8px 10px;font-size:12px;white-space:nowrap}
  .header-actions{gap:5px}
  .cart-button{padding:8px 10px}
  .hero-badge{display:none}
  .levels{padding-left:18px;padding-right:18px}
  .level-card{padding:16px}
  .level-card-title{padding:12px 18px}
  .level-card-content{font-size:18px;line-height:1.3;padding-top:26px}
  .text-style-row{grid-template-columns:1fr}
  .text-style-row .wide{grid-column:auto}
}
.cart-button .cart-label{display:inline;min-width:0;height:auto;margin:0;border-radius:0;background:transparent;font-size:inherit}
.dynamic-editor-card{background:#fff}
.dynamic-editor-card p{margin:0 0 10px;color:var(--muted);font-size:12px;line-height:1.45}
.dynamic-editor-card .ghost{padding:8px 11px;font-size:12px}
/* Le panneau Modifier reste latéral et la page reste cliquable pendant l'édition. */
#editorBackdrop{display:none!important}


/* --- Picto Magique V4 : palette du logo, niveaux et catalogue simplifie --- */
:root{
  --pm-yellow:#f9b233;
  --pm-orange:#f05a2b;
  --pm-green:#55a77d;
  --pm-blue:#2e95b7;
  --pm-purple:#7354a5;
  --pm-navy:#253b64;
}
body{background:#fff}
.site-header{background:#fff;border-bottom:1px solid #edf0f3}
.site-header nav a{font-weight:650}
.site-header nav a:hover{color:var(--pm-blue)}
.cart-button{background:var(--pm-navy)}
.primary{background:var(--pm-green)}
.primary:hover{filter:brightness(.96)}
.text-btn{color:var(--pm-blue);font-weight:800}
.eyebrow{color:var(--pm-green)}
.hero-copy{background:#fff}
.hero{background:linear-gradient(180deg,#eaf7fb 0 62%,#87c5a9 62% 67%,#55a77d 67%)}
.sun{background:var(--pm-yellow);box-shadow:0 0 0 18px rgba(249,178,51,.14)}
.hill-a{background:#79b893}.hill-b{background:#55a77d}
.hero-badge{background:var(--pm-orange)}
.newsletter{background:#fff8df}

/* Niveaux : couleurs issues du logo, sans aplat beige. */
.pillars{align-items:stretch}
.pillars article{position:relative;overflow:hidden;border:1px solid #e9edf0;background:#fff;padding:28px 28px 30px;box-shadow:0 12px 34px rgba(37,49,74,.07)}
.pillars article:before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:var(--level-color)}
.pillars article>span{border:0;background:color-mix(in srgb,var(--level-color) 14%,white);color:var(--level-color)}
.pillars article h3{margin-bottom:12px}
.pillars article p{white-space:pre-line;color:#596577;line-height:1.62;margin-bottom:0}
.level-pillar-1{--level-color:var(--pm-orange)}
.level-pillar-2{--level-color:var(--pm-green)}
.level-pillar-3{--level-color:var(--pm-blue)}

/* Catalogue : boutons de filtres plutot que menus deroulants. */
.catalog-shell{max-width:1300px;margin:auto}
.catalog-filters{display:grid;gap:16px;margin:0 0 28px;padding:20px 22px;background:#fff;border:1px solid #e9edf0;border-radius:var(--radius);box-shadow:0 10px 30px rgba(37,49,74,.05)}
.catalog-filters .filter-head{margin:0;display:flex;align-items:center;justify-content:space-between;gap:16px}
.filter-group{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.filter-group-label{font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#65707e;min-width:62px}
.filter-chips{display:flex;gap:9px;flex-wrap:wrap}
.filter-chip{border:1px solid #dfe5e9;background:#fff;color:var(--ink);padding:9px 15px;border-radius:999px;font-weight:800;font-size:13px;transition:.18s ease}
.filter-chip:hover{transform:translateY(-1px);border-color:#c9d2d8}
.filter-chip.active{background:var(--pm-navy);border-color:var(--pm-navy);color:#fff}
.filter-chip.level-1.active{background:var(--pm-orange);border-color:var(--pm-orange)}
.filter-chip.level-2.active{background:var(--pm-green);border-color:var(--pm-green)}
.filter-chip.level-3.active{background:var(--pm-blue);border-color:var(--pm-blue)}
.filter-chip.theme.active{background:var(--pm-purple);border-color:var(--pm-purple)}

.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.product-card{--level-color:var(--pm-purple);background:#fff;border:1px solid #e6eaee;padding:0;box-shadow:0 12px 32px rgba(37,49,74,.06)}
.product-card.level-1{--level-color:var(--pm-orange)}
.product-card.level-2{--level-color:var(--pm-green)}
.product-card.level-3{--level-color:var(--pm-blue)}
.product-image{height:155px;border-radius:var(--radius) var(--radius) 0 0;background:linear-gradient(145deg,color-mix(in srgb,var(--level-color) 13%,white),#fff);position:relative;overflow:hidden;border-bottom:1px solid #eef1f3}
.product-image:before{content:"";position:absolute;width:150px;height:150px;border-radius:50%;background:color-mix(in srgb,var(--level-color) 13%,transparent);right:-38px;bottom:-65px;box-shadow:none;left:auto;top:auto;transform:none}
.product-image:after{content:"";display:none}
.book-level-badge{position:absolute;left:18px;top:18px;padding:7px 11px;border-radius:999px;background:var(--level-color);color:#fff;font-size:12px;font-weight:900;letter-spacing:.05em}
.book-visual-brand{position:absolute;left:18px;bottom:18px;font-size:13px;letter-spacing:.14em;font-weight:900;color:var(--level-color)}
.product-body{padding:18px}
.product-title{font-size:18px;line-height:1.2}
.product-meta{margin-top:6px}
.product-description{color:var(--muted);font-size:13px;line-height:1.5;margin:14px 0 0}
.price{color:var(--level-color);white-space:nowrap}
.small-btn.buy{background:var(--level-color)}

/* Offres : presentation plus commerciale et codes couleur par niveau. */
.offers{background:#fff7ef}
.offer-grid{gap:22px}
.offer-card{--level-color:var(--pm-purple);background:#fff;border:1px solid #ebe8e4;padding:26px;box-shadow:0 12px 34px rgba(37,49,74,.06);border-top:6px solid var(--level-color)}
.offer-card.level-1{--level-color:var(--pm-orange)}
.offer-card.level-2{--level-color:var(--pm-green)}
.offer-card.level-3{--level-color:var(--pm-blue)}
.offer-card.level-mixed{--level-color:var(--pm-purple)}
.offer-card.featured{background:var(--pm-navy);border-color:var(--pm-purple);color:#fff}
.offer-topline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.offer-level-dot{width:10px;height:10px;border-radius:50%;background:var(--level-color);display:inline-block}
.offer-saving{margin-left:auto;background:color-mix(in srgb,var(--level-color) 14%,white);color:var(--level-color);font-size:11px;font-weight:900;padding:6px 9px;border-radius:999px}
.offer-card.featured .offer-saving{background:rgba(255,255,255,.12);color:#fff}
.offer-card h3{font-size:22px;margin-bottom:8px}
.offer-price{display:flex;align-items:baseline;gap:9px;margin:16px 0 8px}
.offer-card .new{color:var(--level-color)}
.offer-card .button{background:var(--level-color)}
.offer-card.featured .button{background:var(--pm-purple)}
.offer-card.featured .new{color:#fff}

.faq-item button:hover{color:var(--pm-blue)}
footer{background:var(--pm-navy)}
footer a:hover,.footer-link:hover{color:#fff}

@media(max-width:980px){
  .product-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .filter-group{align-items:flex-start;flex-direction:column;gap:8px}
  .filter-chips{width:100%}
  .filter-chip{flex:1 1 auto;text-align:center}
  .product-grid{grid-template-columns:1fr}
  .catalog-filters{padding:16px}
}

/* --- Version précommandes (v7) : couleurs des livres, formulaires, quiz, atelier --- */
:root{
  --lv1:#b42c04;   /* Niveau 1 – Mino : rouge brique */
  --lv2:#1b9ddb;   /* Niveau 2 – Max : bleu */
  --lv3:#c93f7b;   /* Niveau 3 – Sara : rose */
  --lvq:#6f51a2;   /* Mes aventures du quotidien : mauve */
}
.level-pillar-1,.product-card.level-1,.offer-card.level-1,.quiz-result.level-1{--level-color:var(--lv1)}
.level-pillar-2,.product-card.level-2,.offer-card.level-2,.quiz-result.level-2{--level-color:var(--lv2)}
.level-pillar-3,.product-card.level-3,.offer-card.level-3,.quiz-result.level-3{--level-color:var(--lv3)}
.product-card.level-mixed{--level-color:var(--lvq)}
.filter-chip.level-1.active{background:var(--lv1);border-color:var(--lv1)}
.filter-chip.level-2.active{background:var(--lv2);border-color:var(--lv2)}
.filter-chip.level-3.active{background:var(--lv3);border-color:var(--lv3)}
.filter-chip.collection.active{background:var(--lvq);border-color:var(--lvq)}

/* Bandeau précommandes */
.preorder-bar{background:var(--pm-navy);color:#fff;text-align:center;font-size:14px;font-weight:700;padding:9px 16px;line-height:1.35}

/* Atelier : invisible pour les visiteurs */
body:not(.admin) .admin-only{display:none!important}
.publish-box{display:grid;gap:8px;padding:14px;margin-bottom:16px;border-radius:14px;background:#eef7f2;border:1px solid #cfe7da}
.publish-box p{margin:0;font-size:13px;line-height:1.45;color:var(--muted)}
.admin-label{display:grid;gap:6px;margin:16px 0 4px;font-weight:700}
.admin-label input{border:1px solid #d5dbe0;border-radius:12px;padding:12px}

/* Couvertures */
.product-image.has-cover{height:auto;aspect-ratio:3/4;background:#f3f1ee}
.product-image.has-cover:before,.product-image.has-cover .book-visual-brand{display:none}
.book-cover{display:block;width:100%;height:100%;object-fit:cover}
.product-image.has-cover .book-level-badge{z-index:1}
.detail-cover{display:block;max-width:240px;width:100%;margin:0 auto 14px;border-radius:12px;box-shadow:0 10px 26px rgba(37,49,74,.15)}
.info-body{white-space:pre-line;line-height:1.6}
.info-body .button{white-space:normal}

/* Formulaires */
.pm-form .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pm-form label{display:grid;gap:6px;font-size:14px;font-weight:700}
.pm-form .wide{grid-column:1/-1}
.pm-form input:not([type="checkbox"]),.pm-form select,.pm-form textarea{width:100%;border:1px solid #d5dbe0;border-radius:12px;padding:11px 12px;background:#fff;font:inherit;font-weight:400}
.pm-form textarea{min-height:84px;resize:vertical}
.pm-form .check,.newsletter .check{display:flex;align-items:flex-start;gap:9px;font-weight:500;line-height:1.45}
.pm-form .check input,.newsletter .check input{margin-top:3px;flex:0 0 auto;width:18px;height:18px}
.honey{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0}
.form-status{min-height:1.2em;margin:10px 0 0;font-size:14px;line-height:1.45}
.form-status.ok{color:#2c7a52;font-weight:700}
.form-status.error{color:#b42c04;font-weight:700}
.form-status a{text-decoration:underline}
.pm-form :focus-visible,.quiz-answer:focus-visible,.filter-chip:focus-visible{outline:3px solid var(--lv2);outline-offset:2px}

/* Newsletter */
.newsletter form{display:grid;gap:10px;min-width:min(480px,100%)}
.newsletter-row{display:flex;gap:8px}
.newsletter-row input{flex:1}
.newsletter .check{font-size:13px;color:var(--muted)}

/* Précommande */
.wide-dialog{width:min(720px,calc(100vw - 24px))}
.preorder-summary ul{list-style:none;margin:14px 0;padding:0;display:grid;gap:8px}
.preorder-summary li{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;background:#f7f8fa;border-radius:10px}
.preorder-total{display:flex;justify-content:space-between;font-size:18px;padding:4px 12px 14px}
.shipping-note{margin:0;font-size:13px;color:var(--muted)}
.success-box{padding:20px;border-radius:16px;background:#eef7f2}
.success-box h3{margin-top:0}
.cart-shipping{font-size:13px;color:var(--muted);margin:6px 0 12px;line-height:1.45}

/* Écoles */
.schools{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(24px,5vw,64px);align-items:start;background:#f3f0f8}
.schools-copy h2{margin-top:6px}
.schools-copy p{color:var(--muted);line-height:1.7;max-width:52ch}
.schools .pm-form{background:#fff;border-radius:var(--radius);padding:clamp(18px,3vw,30px);box-shadow:0 12px 34px rgba(37,49,74,.07)}
.schools .eyebrow{color:var(--lvq)}

/* Quiz */
.quiz{background:#f4f9fd}
.quiz-card{max-width:760px;margin:0 auto;background:#fff;border-radius:var(--radius);padding:clamp(20px,4vw,40px);box-shadow:0 14px 40px rgba(37,49,74,.08)}
.quiz-progress{display:flex;gap:6px;margin-bottom:14px}
.quiz-progress span{flex:1;height:6px;border-radius:999px;background:#e4e9ee}
.quiz-progress .done{background:var(--lv2)}
.quiz-progress .current{background:color-mix(in srgb,var(--lv2) 45%,white)}
.quiz-count{margin:0 0 6px;font-size:13px;font-weight:800;color:var(--muted)}
.quiz-question{font-size:clamp(20px,2.4vw,26px);line-height:1.3;margin:0 0 18px}
.quiz-answers{display:grid;gap:10px;margin-bottom:12px}
.quiz-answer{text-align:left;border:2px solid #e1e6eb;background:#fff;border-radius:14px;padding:14px 16px;font-size:16px;line-height:1.4;font-weight:600;color:var(--ink)}
.quiz-answer:hover{border-color:var(--lv2);background:#f4fafe}
.quiz-result.level-mixed{--level-color:var(--pm-purple)}
.quiz-result h3{font-size:clamp(24px,3vw,32px);margin:0 0 10px;color:var(--level-color)}
.quiz-result>p{line-height:1.65}
.quiz-books{list-style:none;padding:0;margin:16px 0;display:grid;gap:10px}
.quiz-books li{display:flex;align-items:flex-start;gap:12px;padding:12px;border-radius:12px;background:color-mix(in srgb,var(--level-color) 8%,white)}
.quiz-books img{width:56px;height:56px;flex:none;object-fit:cover;border-radius:6px}
.quiz-book-content{min-width:0}
.quiz-book-content p{margin:6px 0 10px;line-height:1.45}
.quiz-note{font-size:14px;color:var(--muted);line-height:1.55}
.quiz-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.quiz-result .button.primary{background:var(--level-color)}

.footer-orders{display:block;margin-top:6px;font-size:14px;opacity:.9}

@media(max-width:860px){.schools{grid-template-columns:1fr}}
@media(max-width:640px){
  .pm-form .form-grid{grid-template-columns:1fr}
  .newsletter-row{flex-direction:column}
  .site-header .admin-only{display:none!important}
  body.admin .site-header .admin-only{display:inline-block!important}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.site-header nav a{white-space:nowrap}
.cart-button{white-space:nowrap}
.hero-badge{top:7%;right:5%}
@media(max-width:1260px){
  .site-header nav{display:none;position:absolute;top:100%;left:16px;right:16px;flex-direction:column;padding:16px;background:#fff;border-radius:16px;box-shadow:var(--shadow)}
  .site-header nav.open{display:flex}
  .menu-toggle{display:block;margin-left:auto}
  .site-header .header-actions{margin-left:0}
}
@media(max-width:520px){
  .brand>span:not(.brand-mark){display:none}
  .site-header{gap:8px}
  .cart-button{padding:9px 13px;font-size:14px}
}
:root{--lv2:#23527c}
.gallery{display:grid;gap:10px;margin-bottom:14px}
.gallery-main{width:100%;max-width:440px;margin:0 auto;display:block;border-radius:12px;box-shadow:0 10px 26px rgba(37,49,74,.15);aspect-ratio:1/1;object-fit:cover}
.gallery-thumbs{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.gallery-thumbs button{border:2px solid transparent;border-radius:9px;padding:0;background:none;overflow:hidden;width:64px;height:64px}
.gallery-thumbs button.active{border-color:var(--ink)}
.gallery-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.detail-authors{font-size:13px;color:var(--muted);text-align:center;margin:0 0 10px}
.product-image.has-cover{aspect-ratio:1/1}
.product-image.has-cover .book-level-badge{display:none}

/* Écoles : quantités par livre */
.pm-form .qty-list{border:1px solid #d5dbe0;border-radius:12px;padding:12px 14px 6px;margin:0;min-width:0}
.pm-form .qty-list legend{font-size:14px;font-weight:700;padding:0 6px}
.pm-form .qty-hint{font-size:13px;color:var(--muted);margin:0 0 6px;line-height:1.45}
.pm-form .qty-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid #eef1f3;font-weight:500}
.pm-form .qty-row:first-child{border-top:0}
.pm-form .qty-row input[type="number"]{width:84px;flex:0 0 84px;text-align:center;padding:8px 6px}

/* En-tête : menu plus compact entre 1241 et 1440 px (libellé « Écoles et professionnels ») */
@media(min-width:1261px) and (max-width:1440px){.site-header{gap:16px}.site-header nav{gap:15px}.site-header nav a{font-size:13.5px}}

/* Économies des packs mises en avant */
.offer-card{position:relative;overflow:visible}
.offer-sticker{position:absolute;top:-16px;right:18px;z-index:1;display:flex;align-items:center;justify-content:center;white-space:nowrap;letter-spacing:-.02em;width:74px;height:74px;border-radius:50%;background:var(--pm-orange);color:#fff;font-weight:900;font-size:24px;line-height:1;transform:rotate(8deg);box-shadow:0 8px 20px rgba(240,90,43,.35);border:3px solid #fff}
.offer-sticker small{font-size:14px;margin-left:1px}
.offer-card.featured .offer-sticker{width:92px;height:92px;font-size:30px;background:var(--pm-yellow);color:var(--pm-navy);box-shadow:0 8px 24px rgba(249,178,51,.45)}
.offer-card.featured .offer-sticker small{font-size:16px}
.offer-card h3{padding-right:72px}
.offer-card.featured h3{padding-right:96px}
.offer-card .old{font-size:18px;text-decoration-thickness:2px;text-decoration-color:var(--pm-orange)}
.offer-save{display:grid;gap:3px;margin:4px 0 16px;padding:11px 14px;border-radius:12px;background:#fff1ea;border-left:5px solid var(--pm-orange)}
.offer-save strong{color:#c2410c;font-size:18px;font-weight:900}
.offer-save span{color:var(--muted);font-size:13.5px}
.offer-card.featured .offer-save{background:rgba(249,178,51,.16);border-left-color:var(--pm-yellow)}
.offer-card.featured .offer-save strong{color:var(--pm-yellow);font-size:21px}
.offer-card.featured .offer-save span{color:#dfe4ec}
.offers-highlight{display:inline-block;margin:12px 0 0;padding:10px 16px;border-radius:999px;background:#fff;border:2px dashed var(--pm-orange);color:var(--ink);font-size:16px;line-height:1.4}
.offers-highlight strong{color:#c2410c}
.offer-grid{padding-top:12px}

/* Mes aventures du quotidien : couleur de chaque série (identique aux couvertures) */
.product-card.char-leo{--level-color:#92A027}
.product-card.char-milo{--level-color:#1B9DDB}
.product-card.char-adam{--level-color:#6F51A2}

/* =====================================================================
   CHARTE GRAPHIQUE PICTO MAGIQUE (novembre 2026)
   Couleurs : mauve #6F51A2 · bleu #1B9DDB · orange #EF6329 · jaune #FBCA23
   Polices : Baloo 2 (nom de la marque) · Fredoka (titres) · Andika (texte)
   ===================================================================== */
:root{
  --pm-purple:#6F51A2;--pm-blue:#1B9DDB;--pm-orange:#EF6329;--pm-yellow:#FBCA23;
  --font-title:"Fredoka","Baloo 2",system-ui,sans-serif;
  --font-text:"Andika","Segoe UI",system-ui,sans-serif;
  --font-brand:"Baloo 2","Fredoka",system-ui,sans-serif;
  font-family:var(--font-text);
}
body,button,input,select,textarea{font-family:var(--font-text)}
h1,h2,h3,.product-title,.offer-card h3,.level-card-title h3,.faq-item button,.quiz-question,.price,.offer-price .new,.cart-total,.button,.small-btn,.cart-button,.offer-sticker{font-family:var(--font-title)}
h1,h2{font-weight:600;letter-spacing:-.01em}
.brand strong,footer strong:first-child{font-family:var(--font-brand);font-weight:800;letter-spacing:.06em}
.primary,.button.primary{background:var(--pm-purple);color:#fff}
.secondary{border-color:color-mix(in srgb,var(--pm-purple) 30%,white)}
.eyebrow{color:var(--pm-purple)}
.text-btn{color:var(--pm-purple)}
.site-header nav a:hover,.faq-item button:hover{color:var(--pm-purple)}
.cart-button span{background:var(--pm-orange)}
.hero-badge{background:var(--pm-orange)}
.newsletter .button,.newsletter button[type=submit]{background:var(--pm-purple)}
.pm-form :focus-visible{outline-color:var(--pm-blue)}

/* Haut de page : image (assets/accueil.jpg, remplaçable) */
.hero{background:#fff;min-height:0}
.hero-visual{min-height:0;display:flex;align-items:center;justify-content:center;background:#22365c}
.hero-image{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 55%}
.hero-copy h1{font-size:clamp(36px,3.6vw,56px);line-height:1.08}
@media(max-width:980px){.hero-image{max-height:420px}}

/* Pack au choix */
#chooseDialog{width:min(520px,calc(100vw - 30px))}
.choose-intro{color:var(--muted);margin:10px 0 14px}
.choose-list{display:grid;gap:12px}
.choose-list label{display:grid;gap:6px;font-weight:700;font-size:14px}
.choose-list select{width:100%;border:1px solid #d5dbe0;border-radius:12px;padding:11px 12px;background:#fff;font:inherit;font-weight:400}
.choose-status{color:#b42c04;font-size:13px;min-height:1em;margin:10px 0 0}
.consent-link{margin:-4px 0 0;font-size:13px}
.consent-link .text-btn{font-size:13px;padding:0;text-decoration:underline}

/* ---------- Novembre 2026 : améliorations ---------- */
/* Pied de page : une colonne masquée (réseaux sociaux vides) ne s’affiche pas */
footer [hidden],footer div[hidden]{display:none!important}

/* Cartes des livres : boutons alignés en bas */
.product-card{display:flex;flex-direction:column}
.product-body{flex:1;display:flex;flex-direction:column}
.product-actions{margin-top:auto;padding-top:4px}

/* Offre phare (collection complète) en bandeau pleine largeur */
.offer-card.featured{grid-column:1/-1}
@media(min-width:900px){
  .offer-card.featured{display:grid;grid-template-columns:1.2fr 1fr;column-gap:40px;align-items:center;padding:30px 36px}
  .offer-card.featured .offer-topline,.offer-card.featured h3,.offer-card.featured>p{grid-column:1}
  .offer-card.featured .offer-price,.offer-card.featured .offer-save,.offer-card.featured .button{grid-column:2}
  .offer-card.featured h3{font-size:28px}
  .offer-card.featured .offer-price{margin-top:0}
  .offer-card.featured .button{justify-self:start}
  .offer-card.featured .offer-topline{grid-row:1}.offer-card.featured h3{grid-row:2}.offer-card.featured>p{grid-row:3}
  .offer-card.featured .offer-price{grid-row:1}.offer-card.featured .offer-save{grid-row:2}.offer-card.featured .button{grid-row:3}
}
.offer-card.featured .offer-save{background:rgba(251,202,35,.16)}

/* Qui sommes-nous : logopède + deux collections */
.about-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:20px;max-width:1150px;margin:0 auto 46px}
.about-grid article{background:#fff;border:1px solid #e6eaee;border-radius:var(--radius);padding:24px;box-shadow:0 12px 32px rgba(37,49,74,.06)}
.about-grid h3{margin:0 0 8px;font-size:20px}
.about-grid p{margin:0;color:#596577;line-height:1.6}
.about-expert{display:flex;gap:16px;align-items:flex-start;background:#F4F0FA!important;border-color:#e2d9f1!important}
.about-expert img{width:56px;height:56px;flex:0 0 auto;object-fit:contain}
.about-coll{border-top:6px solid var(--pm-purple)!important}
.about-coll-2{border-top-color:var(--pm-blue)!important}
.about-coll-tag{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--pm-purple);background:#F4F0FA;border-radius:999px;padding:4px 10px;margin-bottom:10px}
.about-coll-2 .about-coll-tag{color:#0f6f9e;background:#e6f5fc}
.pillars-heading{text-align:center;font-size:clamp(22px,2.2vw,28px);margin:0 auto 24px;max-width:780px}
@media(max-width:900px){.about-grid{grid-template-columns:1fr}}

/* Écoles : points rassurants */
.schools-points{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:12px}
.schools-points li{position:relative;padding:12px 14px 12px 46px;background:#fff;border-radius:14px;box-shadow:0 6px 18px rgba(37,49,74,.06);font-weight:700}
.schools-points li:before{content:"✓";position:absolute;left:14px;top:50%;transform:translateY(-50%);width:22px;height:22px;border-radius:50%;background:var(--pm-purple);color:#fff;display:grid;place-items:center;font-size:13px}

/* Détails d’un livre : caractéristiques + agrandir */
.book-specs{background:#f6f7f9;border-radius:12px;padding:12px 14px;margin:0 0 14px}
.book-specs p{margin:4px 0 0;white-space:pre-line}
.gallery-zoom{position:relative;display:block;width:100%;max-width:440px;margin:0 auto;padding:0;border:0;background:none;cursor:zoom-in}
.gallery-zoom .gallery-main{max-width:100%}
.zoom-hint{position:absolute;right:10px;bottom:10px;background:rgba(37,49,74,.82);color:#fff;font-size:12px;font-weight:700;padding:6px 10px;border-radius:999px}
#zoomDialog{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border-radius:0;background:rgba(15,20,32,.94);display:none;place-items:center}
#zoomDialog[open]{display:grid}
#zoomDialog img{max-width:min(92vw,1000px);max-height:86dvh;object-fit:contain;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.4)}
#zoomDialog::backdrop{background:rgba(15,20,32,.6)}
.zoom-close{position:fixed;top:14px;right:18px;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:30px;width:48px;height:48px;border-radius:50%;line-height:1}
.zoom-nav{position:fixed;top:50%;transform:translateY(-50%);border:0;background:rgba(255,255,255,.14);color:#fff;font-size:40px;width:52px;height:64px;border-radius:14px;line-height:1}
.zoom-prev{left:14px}.zoom-next{right:14px}
.zoom-count{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);color:#fff;margin:0;font-weight:700}
.hero-copy .hero-badge{position:static;order:-1;display:inline-block;align-self:flex-start;margin:0 0 18px;transform:rotate(-2deg);font-size:15px}
@media(max-width:640px){.hero-copy .hero-badge{display:inline-block;font-size:13px}}
.hero-copy .hero-badge[hidden]{display:none}

/* Quiz : écran de départ */
.quiz-start{text-align:center;padding:18px 0}
/* Contact */
.contact{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(24px,5vw,64px);align-items:start;max-width:1300px;margin:0 auto;background:#fff}
.contact .pm-form{background:#fff;border-radius:var(--radius);padding:clamp(18px,3vw,30px);box-shadow:0 12px 34px rgba(37,49,74,.07);border:1px solid #eef0f3}
.contact-copy p{color:#596577;line-height:1.65}
.contact-mail a{color:var(--pm-purple);font-weight:700}
@media(max-width:900px){.contact{grid-template-columns:1fr}}

/* Couvertures des packs dans le récapitulatif */
.pack-covers{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.pack-covers img{width:46px;height:46px;object-fit:cover;border-radius:6px;box-shadow:0 2px 6px rgba(37,49,74,.18)}
.cart-item .pack-covers img{width:38px;height:38px}
#preorderSummary li>span{display:flex;flex-direction:column}
.preorder-info{margin:4px 0 0;padding:10px 14px;border-radius:12px;background:#f3f0fa;color:#4b3a78;font-weight:600}
.text-btn.inline{display:inline;padding:0;font-size:inherit;text-decoration:underline}

/* Champs obligatoires manquants */
.pm-form label.field-error input,.pm-form label.field-error select,.pm-form label.field-error textarea{border-color:#d93025!important;box-shadow:0 0 0 3px rgba(217,48,37,.15)}
.pm-form label.field-error{color:#b3261e}
.pm-form label.check.field-error{background:#fdecea;border-radius:10px;padding:8px 10px;outline:2px solid #d93025}
.pm-form label.field-error::after{content:"Champ obligatoire";display:block;font-size:12px;font-weight:700;color:#d93025;margin-top:4px}
.pm-form label.field-format-error::after{content:"Adresse e-mail invalide"}
.pm-form label.check.field-error::after{content:none}
.pm-form .form-status.error{color:#b3261e;font-weight:700}
.req-note{font-size:13px;color:var(--muted);margin:0 0 10px}

/* Phrase sous le titre des niveaux */
.pillars-intro{text-align:center;color:#596577;margin:-6px auto 22px;max-width:640px}
/* Couvertures sur les cartes des packs */
.offer-covers{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 16px}
.offer-covers img{width:58px;height:58px;object-fit:cover;border-radius:8px;box-shadow:0 3px 10px rgba(37,49,74,.18)}
.offer-covers.many img{width:46px;height:46px}
.offer-covers .cover-slot{width:58px;height:58px;border-radius:8px;border:2px dashed #cfc6e4;color:var(--pm-purple);display:grid;place-items:center;font:700 22px var(--font-title,inherit);background:#faf8ff}
@media(min-width:900px){.offer-card.featured .offer-covers{grid-column:1;grid-row:4}}
.offer-card.featured .offer-covers img{box-shadow:0 3px 10px rgba(0,0,0,.35)}
/* « Offre » lisible sur la collection complète */
.offer-card.featured .offer-topline .eyebrow{color:var(--pm-yellow)}
.offer-card.featured .offer-level-dot{background:var(--pm-yellow)}
/* Niveaux repliables sur mobile */
@media(max-width:640px){
  .pillars article h3{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:0}
  .pillars article h3::after{content:"＋";font-size:20px;color:var(--level-color)}
  .pillars article.open h3::after{content:"−"}
  .pillars article>p{display:none}
  .pillars article.open>p{display:block;margin-top:12px}
  .pillars article{padding:20px 22px}
  body.inline-editing .pillars article>p{display:block}
}

/* Offre conseillée */
.deal-pop{position:fixed;right:20px;bottom:20px;z-index:80;width:min(380px,calc(100vw - 32px));background:#fff;border-radius:18px;padding:20px 20px 18px;box-shadow:0 18px 50px rgba(37,49,74,.28);border-top:6px solid var(--pm-yellow);transform:translateY(20px);opacity:0;transition:.25s}
.deal-pop.show{transform:none;opacity:1}
.deal-pop .deal-title{display:block;font-family:Fredoka,sans-serif;font-size:20px;color:var(--pm-purple);margin-bottom:6px;padding-right:24px}
.deal-pop p{margin:0 0 8px;line-height:1.5;color:#3d4659}
.deal-pop .deal-x{position:absolute;top:10px;right:12px;border:0;background:none;font-size:22px;color:#8a93a3}
.deal-actions{display:flex;gap:10px;align-items:center;margin-top:12px;flex-wrap:wrap}
.cart-deal{margin:12px 0;padding:14px;border-radius:14px;background:#fff8e1;border:1px solid #f6d77a}
.cart-deal p{margin:6px 0 10px;font-size:14px;line-height:1.45}
@media(max-width:640px){.deal-pop{right:16px;left:16px;bottom:16px;width:auto}}

/* Totaux de la commande */
.preorder-totals>div{display:flex;justify-content:space-between;padding:4px 12px;color:#596577}
.preorder-totals>.preorder-total{color:var(--ink);padding-top:8px;border-top:1px solid #eef0f3;margin-top:4px}
.shipping-note.error{color:#4b3a78;background:#f3f0fa;line-height:1.5;padding:10px 12px;border-radius:10px}
.success-box .muted{color:#596577;font-size:14px}
.shipping-note.error .button{margin-top:10px;display:inline-block}

.info-head{display:inline-block;color:var(--ink);font-weight:700;margin-top:6px}
.pm-form .billing-fields[hidden],#preorderForm>button[hidden]{display:none}
.billing-fields{min-inline-size:0;margin:0;padding:14px;border-radius:14px;background:#f8f7fc;border:1px solid #ebe7f5}

/* Icônes agrandir / réduire */
.zoom-hint{display:grid;place-items:center;width:40px;height:40px;padding:0!important;border-radius:50%!important}
.zoom-close{display:grid;place-items:center}
.gallery-zoom:hover .zoom-hint{background:var(--pm-purple)}
