:root{
  /* Variables de marque : modifiables en un seul endroit */
  --font-titre:"Cormorant Garamond","Iowan Old Style",Georgia,serif;
  --font-texte:"Figtree","Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font-texte);color:var(--encre);background:var(--blanc);line-height:1.6;font-size:17px;-webkit-font-smoothing:antialiased}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.sombre :focus-visible{outline-color:var(--accent-doux)}
.wrap{max-width:1180px;margin:0 auto;padding:0 28px}

/* En-tête */
header{background:var(--hero-bg);color:var(--hero-txt);position:sticky;top:0;z-index:10;border-bottom:1px solid rgba(var(--accent-rgb),.28)}
.bar{display:flex;align-items:center;justify-content:space-between;height:72px;gap:20px}
.logo{font-family:var(--font-titre);font-size:30px;font-weight:500;letter-spacing:.01em;display:flex;align-items:center;text-decoration:none;background:none;border:0;color:inherit;cursor:pointer}
.logo svg{color:var(--accent);width:11px;height:24px;margin:0 3px;transform:translateY(-1px)}
nav{display:flex;gap:6px;flex-wrap:wrap}
nav a{display:inline-block;background:none;border:0;padding:8px 14px;cursor:pointer;text-decoration:none;color:rgba(var(--hero-txt-rgb),.78);border-radius:2px;font-size:15px}
nav a:hover,nav a[aria-current="true"]{color:var(--accent)}
nav a[aria-current="true"]{box-shadow:inset 0 -2px 0 var(--accent)}
.panier{font-size:15px;color:var(--accent);white-space:nowrap}

/* Vues */

/* Hero */
.hero{background:var(--hero-bg);color:var(--hero-txt);overflow:hidden;position:relative}
.hero .wrap{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;min-height:620px;gap:30px}
.hero h1{font-family:var(--font-titre);font-weight:400;font-size:clamp(46px,6.6vw,88px);line-height:1.02;letter-spacing:-.01em}
.hero p.sous{margin-top:26px;max-width:46ch;color:rgba(var(--hero-txt-rgb),.82);font-size:19px}
.btn{display:inline-block;margin-top:34px;padding:15px 30px;background:var(--btn-bg);color:var(--btn-txt);border:0;font-weight:600;cursor:pointer;text-decoration:none;font-size:16px;border-radius:2px}
.btn:hover{background:var(--btn-hover)}
.btn.contour{background:none;color:var(--accent);border:1px solid var(--accent)}
.btn.contour:hover{background:rgba(var(--accent-rgb),.12)}

/* Bougie et halo : l'élément mémorable */
.scene{position:relative;height:540px;display:flex;align-items:flex-end;justify-content:center}
.halo{position:absolute;left:50%;top:44%;width:560px;height:560px;transform:translate(-50%,-50%);border-radius:50%;
  background:radial-gradient(circle,rgba(var(--halo-rgb),.6) 0%,rgba(var(--accent-rgb),.26) 28%,rgba(var(--accent-rgb),.08) 52%,rgba(var(--accent-rgb),0) 70%);
  animation:respire 6s ease-in-out infinite}
@keyframes respire{0%,100%{opacity:.82;transform:translate(-50%,-50%) scale(.97)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.04)}}
.bougie{position:relative;width:130px;display:flex;flex-direction:column;align-items:center;margin-bottom:34px}
.flamme{width:34px;height:64px;margin-bottom:-4px;filter:drop-shadow(0 0 16px rgba(var(--halo-rgb),.9))}
.meche{width:3px;height:14px;background:#2a211a;border-radius:2px}
.corps{width:130px;height:230px;border-radius:6px 6px 8px 8px;background:linear-gradient(90deg,#d8cdb8 0%,#f1e9d8 38%,#f7f1e3 55%,#d9cfba 100%);box-shadow:0 30px 60px rgba(0,0,0,var(--ombre));border:1px solid rgba(var(--hero-txt-rgb),.12)}
@media (prefers-reduced-motion:reduce){.halo{animation:none}}
/* v1.33 : photo du produit en grande image d'accueil */
.scene-produit{flex-direction:column;align-items:center;justify-content:center;height:auto;min-height:0;padding:64px 0}
.hero + section + section{padding-top:0}
.scene-produit .halo{top:46%}
.hero-photo{position:relative;display:block;width:min(100%,400px);aspect-ratio:4/5;overflow:hidden;border-radius:4px;background:var(--brume);box-shadow:0 30px 70px rgba(0,0,0,.45);border:1px solid rgba(var(--hero-txt-rgb),.14)}
.scene .hero-photo img{width:100%;height:100%;max-height:none;max-width:none;object-fit:cover;display:block;box-shadow:none;border-radius:0}
@media (max-width:900px){.scene.scene-produit{height:auto;padding:36px 0 44px}}
.hero-photo{flex-shrink:0}
@media (max-width:900px){.hero-photo{width:min(100%,340px)}}
.hero-legende{position:relative;margin-top:16px;font-size:15px;text-align:center}.hero-legende a{color:rgba(var(--hero-txt-rgb),.85);text-decoration:underline;text-underline-offset:4px}

/* Sections */
section{padding:92px 0}
section.brume{background:var(--brume)}
h2{font-family:var(--font-titre);font-weight:500;font-size:clamp(34px,4.4vw,54px);line-height:1.1;margin-bottom:18px}
.chapo{max-width:56ch;color:var(--gris);font-size:18px}
.entete{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:end;margin-bottom:54px}
.entete .chapo{justify-self:end}

/* Catégories en lignes */
.lignes{border-top:1px solid var(--trait)}
.ligne{display:grid;grid-template-columns:.9fr 1.4fr auto;gap:30px;align-items:center;padding:34px 4px;border-bottom:1px solid var(--trait);text-decoration:none;cursor:pointer;background:none;border-left:0;border-right:0;border-top:0;width:100%;text-align:left}
.ligne:hover{background:var(--brume)}
.ligne h3{font-family:var(--font-titre);font-weight:500;font-size:32px;line-height:1.1}
.ligne p{color:var(--gris)}
.ligne .voir{color:var(--mousse);font-weight:600;font-size:15px;border-bottom:1px solid var(--accent);padding-bottom:2px}

/* Étapes */
.etapes-grille{display:grid;grid-template-columns:repeat(4,1fr);gap:0;counter-reset:e}
.etape{padding:0 26px 0 0;border-top:2px solid var(--mousse);padding-top:22px}
.etape:before{counter-increment:e;content:counter(e);font-family:var(--font-titre);font-size:44px;color:var(--accent);display:block;line-height:1;margin-bottom:12px}
.etape h3{font-family:var(--font-titre);font-size:25px;font-weight:600;margin-bottom:6px}
.etape p{color:var(--gris);font-size:16px}

/* Bandeau livraison */
.livraison{background:var(--band-bg);color:var(--band-txt);padding:34px 0}
.livraison .wrap{display:flex;gap:40px;justify-content:space-between;flex-wrap:wrap;align-items:center}
.livraison b{color:var(--accent-band);font-weight:600}

/* Emplacements produits */
.grille{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.slot .vide{aspect-ratio:4/5;background:linear-gradient(160deg,#e4e8e1,#d6dcd3);display:flex;align-items:center;justify-content:center;color:var(--gris);font-size:14px;text-align:center;padding:16px}
.slot h4{font-family:var(--font-titre);font-size:23px;font-weight:600;margin-top:14px}
.slot p{color:var(--gris);font-size:15px}

/* Fiche produit */
.fiche{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:48px;align-items:start}
.fiche>*{min-width:0}
.apercu-bloc{position:sticky;top:96px}
.apercu-bloc.avec-galerie{position:static;margin-bottom:18px}
.apercu{background:var(--apercu-bg);color:#F4F0EA;position:relative;overflow:hidden;height:clamp(420px,62vh,560px)}
.apercu .halo{width:560px;height:560px;top:46%}
.apercu-clair{color:#2B3A33}
.apercu-clair .halo{display:none}
.apercu.apercu-clair .legende{color:rgba(30,42,36,.72)}
.apercu.apercu-clair .outils3d button{background:rgba(255,255,255,.55);color:#24332C;border-color:rgba(36,51,44,.35)}
.apercu.apercu-clair .outils3d button:hover{background:rgba(255,255,255,.85)}
.apercu .bougie{margin-bottom:46px;width:190px}
.apercu .corps{width:190px;height:300px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 14px}
.etiq-noms{font-family:var(--font-titre);font-size:25px;line-height:1.1;color:#3b3226;word-break:break-word}
.etiq-ini{font-family:var(--font-titre);font-size:40px;line-height:1;color:#3b3226;letter-spacing:.12em;margin-bottom:8px}
.etiq-date{font-size:12px;letter-spacing:.14em;color:#6a5d49;margin-top:10px}
.etiq-msg{font-family:var(--font-titre);font-style:italic;font-size:15px;color:#4a3f31;margin-top:12px;line-height:1.25}
.apercu canvas{position:absolute;inset:0;width:100%;height:100%;cursor:grab;touch-action:pan-y}
.apercu canvas:active{cursor:grabbing}
.outils3d{position:absolute;top:14px;right:14px;display:flex;gap:8px;z-index:2}
.outils3d button{background:rgba(0,0,0,.35);color:var(--accent-band);border:1px solid rgba(var(--accent-band-rgb),.55);padding:7px 13px;font-size:13px;cursor:pointer;border-radius:2px}
.outils3d button:hover{background:rgba(var(--accent-band-rgb),.2)}
.apercu .legende{z-index:2;position:absolute;bottom:14px;left:0;right:0;text-align:center;color:rgba(255,255,255,.62);font-size:13px}
form .champ{margin-bottom:22px}
label{display:block;font-weight:600;font-size:15px;margin-bottom:6px}
.coul{display:flex;flex-wrap:wrap;gap:10px;margin-top:2px}
.coul button{width:38px;height:38px;border-radius:50%;border:1px solid #b9c1b8;cursor:pointer;padding:0;position:relative}
.coul button[aria-checked=true]{outline:2px solid var(--mousse);outline-offset:3px}
.coul button:hover{border-color:var(--mousse)}
.aide{color:var(--gris);font-size:14px;margin-top:4px}
input[type=text],input[type=date],select,textarea{width:100%;padding:13px 14px;border:1px solid #b9c1b8;background:var(--blanc);border-radius:2px}
input:focus,select:focus,textarea:focus{border-color:var(--mousse)}
.deux{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.qte{display:inline-flex;border:1px solid #b9c1b8}
.qte button{width:46px;background:var(--brume);border:0;cursor:pointer;font-size:20px}
.qte input{width:70px;text-align:center;border:0;border-left:1px solid #b9c1b8;border-right:1px solid #b9c1b8;padding:12px 0}
table.paliers{width:100%;border-collapse:collapse;margin-top:10px;font-size:15px}
table.paliers th,table.paliers td{border-bottom:1px solid var(--trait);padding:9px 6px;text-align:left}
table.paliers td.act,table.paliers th.act{background:var(--brume);font-weight:700;color:var(--encre)}
table.paliers td.lig{font-weight:600}
table.paliers td.vide{color:var(--gris);font-style:italic}
.note{background:var(--brume);border-left:3px solid var(--accent);padding:14px 16px;font-size:14.5px;color:var(--gris);margin-top:24px}
.compo{background:var(--brume);border-left:3px solid var(--mousse);padding:11px 14px;margin:-8px 0 22px;font-size:15px;color:var(--encre)}
.prix{font-family:var(--font-titre);font-size:30px;margin:6px 0 22px}

footer{background:var(--hero-bg);color:rgba(var(--hero-txt-rgb),.78);padding:56px 0 28px;font-size:15px}
footer .cols{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:40px;padding-bottom:34px;border-bottom:1px solid rgba(var(--accent-rgb),.3)}
footer h5{font-family:var(--font-titre);font-size:22px;font-weight:500;color:var(--accent);margin-bottom:10px}
footer ul{list-style:none}
footer li{margin:6px 0}
footer .bas{padding-top:20px;font-size:13px;color:rgba(var(--hero-txt-rgb),.55)}

@media (max-width:900px){
  .hero .wrap{grid-template-columns:1fr;min-height:0;padding-top:50px}
  .scene{height:420px}
  .halo{width:440px;height:440px}
  .entete,.fiche,.deux{grid-template-columns:1fr}
  .entete .chapo{justify-self:start}
  .ligne{grid-template-columns:1fr;gap:8px}
  .etapes{grid-template-columns:1fr 1fr;row-gap:34px}
  .grille{grid-template-columns:1fr 1fr}
  .apercu-bloc{position:static}
  .apercu{position:relative;top:0;height:560px}
  footer .cols{grid-template-columns:1fr}
  section{padding:64px 0}
  .bar{height:auto;padding:12px 28px;flex-wrap:wrap}
}


/* ===== Ajouts du site ===== */
.saut{position:absolute;left:-9999px;top:0;background:#fff;color:#000;padding:10px 14px;z-index:100}
.saut:focus{left:8px;top:8px}
.menu-btn{display:none;background:none;border:1px solid rgba(var(--hero-txt-rgb),.4);color:var(--hero-txt);padding:8px 14px;border-radius:2px;cursor:pointer}
.logo-img{max-height:46px;width:auto;display:block}
.logo-pied{font-size:26px;margin-bottom:8px}
/* v1.43 : logo rond LO */
.logo-img{width:auto;aspect-ratio:1/1;max-height:56px}.logo-pied .logo-img{max-height:72px}
.flash{max-width:1180px;margin:16px auto;padding:12px 18px;border-radius:3px;font-size:15px}
.flash-ok{background:#e8f3ea;color:#1f4a2b}.flash-erreur{background:#fbe9e7;color:#7a2418}.flash-info{background:var(--brume);color:var(--encre)}
.scene img{position:relative;max-height:520px;max-width:100%;object-fit:contain;border-radius:4px;box-shadow:0 30px 60px rgba(0,0,0,var(--ombre))}
.fil{padding:30px 0 0;font-size:14px;color:var(--gris)}.fil a{color:var(--gris)}
h1.titre-page{font-family:var(--font-titre);font-weight:500;font-size:clamp(34px,4.6vw,56px);line-height:1.08;margin-bottom:16px}
.contenu-page{max-width:760px}.contenu-page h2{font-family:var(--font-titre);font-weight:500;font-size:28px;margin:30px 0 8px}
.contenu-page p,.contenu-page li{color:var(--encre);margin-bottom:10px}.contenu-page ul{padding-left:22px}.contenu-page a{color:var(--mousse)}
.grille-produits{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.carte{text-decoration:none;display:block}.carte-img{aspect-ratio:4/5;background:var(--brume);display:flex;align-items:center;justify-content:center;color:var(--gris);font-size:14px;overflow:hidden}
.carte-img img{width:100%;height:100%;object-fit:cover}.carte:hover h3{text-decoration:underline}
.carte h3{font-family:var(--font-titre);font-size:23px;font-weight:600;margin-top:12px}.carte-prix{color:var(--gris);font-size:15px}
.bloc-cat{padding:56px 0;border-top:1px solid var(--trait)}.bloc-cat:first-of-type{border-top:0}
.bloc-cat h2{margin-bottom:8px}.vide-etat{background:var(--brume);padding:30px;color:var(--gris);text-align:center}
.btn-sec{display:inline-block;padding:13px 26px;background:var(--mousse);color:var(--brume);border:0;font-weight:600;cursor:pointer;text-decoration:none;font-size:16px;border-radius:2px}
.btn-sec:hover{filter:brightness(1.15)}.btn-bloc{width:100%;margin-top:6px;text-align:center}
.btn:disabled,.btn-sec:disabled{opacity:.55;cursor:not-allowed}
.erreur-champ{color:#9a2a1a;font-size:14px;margin-top:6px}
.notice{background:var(--brume);border-left:3px solid var(--accent);padding:12px 16px;font-size:14.5px;color:var(--gris);margin:14px 0}
/* Panier et commande */
table.liste{width:100%;border-collapse:collapse}table.liste th,table.liste td{padding:14px 8px;border-bottom:1px solid var(--trait);text-align:left;vertical-align:top}
table.liste img.mini{width:90px;height:auto;border-radius:3px;display:block;background:var(--hero-bg)}
.totaux{max-width:380px;margin-left:auto;margin-top:22px}.totaux div{display:flex;justify-content:space-between;padding:6px 0}
.totaux .grand{font-size:20px;font-weight:600;border-top:2px solid var(--encre);margin-top:6px;padding-top:12px}
.deux-col{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:start}.formline{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.etapes .etape-num{font-family:var(--font-titre);font-size:44px;color:var(--accent);display:block;line-height:1;margin-bottom:12px}
@media (max-width:900px){
  .menu-btn{display:inline-block}
  nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--hero-bg);flex-direction:column;padding:8px 28px 16px;border-bottom:1px solid rgba(var(--accent-rgb),.28)}
  nav.ouvert{display:flex}.bar{position:relative}
  .grille-produits{grid-template-columns:1fr 1fr}.deux-col{grid-template-columns:1fr}.formline{grid-template-columns:1fr}
}
/* v1.76 : page boutique, 3 produits par ligne (2 sous 900 px) */
.grille-produits.grille-3{grid-template-columns:repeat(3,1fr)}
@media (max-width:900px){.grille-produits.grille-3{grid-template-columns:1fr 1fr}}
/* v1.77 : groupes de la boutique (une collection = un bloc titré) */
.groupe-coll{margin-top:52px;padding-top:30px;border-top:1px solid var(--trait)}
.groupe-coll:first-of-type{margin-top:26px;padding-top:0;border-top:0}
.groupe-tete{display:flex;align-items:baseline;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:8px}
.groupe-tete h2{font-size:clamp(26px,3vw,36px);margin-bottom:0}
.groupe-tete a{font-size:14px;white-space:nowrap}
.groupe-desc{color:var(--gris);max-width:680px;margin:0 0 20px}
.groupe-coll .grille-produits{margin-top:18px}
@media print{header,footer,.menu-btn{display:none}}
.photo-produit img{width:100%;height:auto;display:block}
.faq{border-top:1px solid var(--trait,#d8ddd8);padding:16px 0}.faq:last-of-type{border-bottom:1px solid var(--trait,#d8ddd8)}.faq summary{cursor:pointer;font-weight:600;font-size:17px}.faq p{margin:12px 0 0;max-width:70ch;line-height:1.6}

/* v1.30 : galerie d'images produit, temps de combustion */
.colonne-visuel{min-width:0}
.galerie-defil{display:flex;gap:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;border-radius:6px;background:var(--brume);height:clamp(300px,54vh,480px)}
.galerie-defil::-webkit-scrollbar{display:none}
.galerie-defil:focus-visible{outline:2px solid var(--mousse,#3b4f43);outline-offset:2px}
.galerie-defil figure{flex:0 0 100%;display:flex;justify-content:center;height:100%;margin:0;scroll-snap-align:start;scroll-snap-stop:always}
.galerie-defil img{height:100%;width:auto;max-width:100%;display:block;object-fit:contain}
.galerie-barre{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;font-size:.88rem}
.galerie-nav{display:inline-flex;align-items:center;gap:10px}
.galerie-nav button{width:34px;height:34px;border:1px solid var(--trait,#d8ddd8);border-radius:50%;background:#fff;font-size:20px;line-height:1;cursor:pointer}
.galerie-nav button:disabled{opacity:.35;cursor:default}
.galerie-mention{margin:6px 0 0;font-size:.82rem}
@media (max-width:900px){.fiche{gap:28px}.galerie-defil{height:clamp(260px,50vh,390px)}}
.combustion ul{margin:4px 0 14px;padding-left:18px}
.sous-coll a[aria-current="true"]{font-weight:600;text-decoration:underline}
.prix-venir{font-size:24px}
.detail-fiche{margin:6px 0 22px;max-width:58ch;line-height:1.65}

/* v1.33 : les 4 étapes passent sur 2 colonnes puis 1 colonne sur petit écran (elles débordaient de la page sur mobile) */
@media (max-width:900px){.etapes-grille{grid-template-columns:1fr 1fr;row-gap:34px}}
@media (max-width:520px){.etapes-grille{grid-template-columns:1fr}}

/* v1.36 : une photo entière à la fois, les autres en vignettes dessous */
.galerie-mini{display:flex;gap:10px;margin-top:12px;overflow-x:auto;scrollbar-width:thin;padding:2px 2px 6px}
.galerie-mini button{flex:0 0 auto;width:64px;padding:0;border:2px solid transparent;border-radius:6px;background:none;cursor:pointer;overflow:hidden;line-height:0}
.galerie-mini button.actif{border-color:var(--mousse,#3b4f43)}
.galerie-mini img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block;background:var(--brume)}

/* v1.37 : photos des options de bougie personnalisable, sous l'aperçu 3D */
.options-photos{display:flex;flex-wrap:wrap;gap:12px 10px;margin-top:14px;padding:4px 2px 8px}   /* v1.79 : tous les modèles visibles, sur plusieurs lignes, sans défilement caché */
.options-photos button{flex:0 0 auto;width:84px;display:flex;flex-direction:column;align-items:center;gap:6px;background:none;border:0;padding:0;cursor:pointer;font:inherit;color:inherit}
.options-photos img,.options-photos .sans-photo{width:84px;height:84px;object-fit:cover;border-radius:6px;border:2px solid transparent;background:#e7ebe5;display:block}
.options-photos button span:last-child{font-size:13px;line-height:1.2;text-align:center}
.options-photos button[aria-checked=true] img,.options-photos button[aria-checked=true] .sans-photo{border-color:var(--mousse)}
.options-photos button[aria-checked=true] span:last-child{font-weight:600}
.options-photos button:focus-visible{outline:2px solid var(--mousse);outline-offset:2px;border-radius:6px}

/* v1.37 : page Professionnels */
.pro-secteurs{display:grid;gap:36px;margin-top:44px}
.pro-secteur{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:36px;align-items:center}
.pro-secteur:nth-child(even) img,.pro-secteur:nth-child(even) .pro-sans-photo{order:2}
.pro-secteur img,.pro-sans-photo{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:6px;background:#9DB09A}
.pro-secteur h2{font-family:var(--font-titre);font-weight:500;font-size:clamp(26px,3vw,36px);line-height:1.15;margin-bottom:10px}
.pro-secteur p{color:var(--gris);max-width:58ch}
.lien-pro{display:inline-block;margin:6px 22px 0 0;color:var(--encre);text-decoration:underline;text-underline-offset:4px}
@media (max-width:760px){.pro-secteur{grid-template-columns:1fr;gap:16px}.pro-secteur:nth-child(even) img,.pro-secteur:nth-child(even) .pro-sans-photo{order:0}}

/* v1.38 : page Professionnels, photos non recadrées, fond doux */
.pro-secteur img{object-fit:contain;background:#DFE5DC}
.pro-secteur#yoga img{background:#D9DBDD}
.pro-secteur img[src*="pro-"]{object-fit:cover}

/* v1.39 : photos carrées (Chakhras) : vignettes carrées, sans bordure */
.carte-img.carre{aspect-ratio:1/1}.hero-photo.carre{aspect-ratio:1/1}.galerie-mini img.carre{aspect-ratio:1/1}
.galerie-defil.carre{height:auto;aspect-ratio:1/1}.galerie-defil.carre img{width:100%;height:100%}
