/* LydiaMantis — feuille de style commune, derivee de la maquette Claude Design */

:root {
  --bg: #0e0e14;
  --bg-alt: #14101e;
  --gold: #c9a86a;
  --gold-light: #e8d9b0;
  --text: #f2ece2;
  --text-soft: #cfc6b8;
  --text-mute: #a99f90;
  --text-faint: #837a6c;
  --border-gold: rgba(201, 168, 106, 0.25);
  --border-gold-strong: rgba(201, 168, 106, 0.5);
  --panel: rgba(201, 168, 106, 0.04);
  --font-title: 'Cormorant Garamond', serif;
  --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Les <button> n'heritent pas de la police du body par defaut dans les
   navigateurs (comportement standard des controles de formulaire) : sans
   cette regle, tout bouton sans police inline retombe sur la police
   systeme. .btn definit deja la police du site pour les CTA ; ce filet couvre
   tous les autres boutons (widget de reservation, petits boutons UI). */
button { font-family: var(--font-body); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }
::selection { background: var(--gold); color: var(--bg); }
img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.eyebrow {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-family: var(--font-body);
}

.section-title { font-size: 44px; margin: 0 0 20px 0; }

/* ---------- FICHES PRESTATIONS DETAILLEES (html_content/prestations/*.html) ----------
   Classes dediees pour que ces fichiers, edites a la main par Lydie, restent
   simples a lire/modifier (pas de style inline a repeter). */
.prest_description { font-size: 17px; line-height: 1.85; color: var(--text-soft); margin: 0 0 36px 0; }
.prest_paragraphe { margin-bottom: 36px; }
.prest_paragraphe:last-child { margin-bottom: 0; }
.prest_titre_paragraphe {
  font-size: 14px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px; font-family: var(--font-body);
}
.prest_texte_paragraphe { font-size: 16px; line-height: 1.85; color: var(--text-soft); margin: 0; }
.section-intro { font-size: 18px; line-height: 1.7; color: var(--text-soft); max-width: 700px; margin: 0 auto 40px; }
.section-center { text-align: center; }

section.page-section { padding: 90px 48px; }
@media (max-width: 700px) { section.page-section { padding: 60px 24px; } }

.wrap { max-width: 1200px; margin: 0 auto; }
.wrap-narrow { max-width: 900px; margin: 0 auto; }
.wrap-mid { max-width: 1100px; margin: 0 auto; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; padding: 0 48px;
  background: rgba(14,14,20,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-gold);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-text { font-family: var(--font-title); font-style: italic; font-weight: 600; font-size: 28px; color: var(--gold-light); letter-spacing: 0.5px; }
.nav-links { display: flex; align-items: stretch; gap: 2px; height: 100%; }
.nav-links a { display: flex; align-items: center; height: 100%; font-size: 16px; color: #d9d0c2; padding: 0 16px; white-space: nowrap; transition: all .2s; }
.nav-links a:hover { color: var(--gold-light); background: rgba(201,168,106,0.12); }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-icon { position: relative; display: flex; align-items: center; color: var(--gold-light); transition: transform .2s; }
.nav-icon:hover { transform: scale(1.15); color: var(--gold-light); }
.btn-reserver { padding: 10px 22px; border: 1px solid var(--gold); border-radius: 2px; color: var(--gold-light); font-size: 15px; letter-spacing: .5px; transition: all .2s; }
.btn-reserver:hover { color: var(--bg); background: var(--gold); }
.nav-burger { display: none; background: transparent; border: 1px solid var(--border-gold-strong); color: var(--gold-light); width: 40px; height: 40px; border-radius: 2px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-burger span { width: 18px; height: 1px; background: var(--gold-light); display: block; }
/* Le menu est accroche a la barre (sticky) : il ne suit donc pas le defilement de la page.
   Il defile par lui-meme quand il depasse l'ecran : hauteur maximale = ecran - barre
   (la marge de 140px couvre la barre de 84px et le bandeau promo visible en haut de page ;
   site.js affine la valeur exacte), overscroll-behavior pour ne pas faire defiler la page derriere. */
.nav-mobile { position: absolute; top: 84px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border-gold); flex-direction: column; padding: 8px 0; display: none;
  max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@supports (height: 100dvh) { .nav-mobile { max-height: calc(100dvh - 140px); } }
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 14px 32px; font-size: 17px; color: #d9d0c2; font-family: var(--font-body); flex-shrink: 0; }

/* ---------- SOUS-MENU "BOUTIQUE" (categories d'articles) ---------- */
/* Desktop : deroule au survol (ou au focus clavier), directement sous le lien. */
.nav-item-dropdown { position: relative; }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--bg); border: 1px solid var(--border-gold); border-radius: 2px;
  padding: 8px 0; box-shadow: 0 12px 32px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease; z-index: 60;
}
.nav-item-dropdown:hover .nav-dropdown, .nav-item-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
/* Le fond de "Boutique" reste allume tant qu'on est dans le sous-menu, pas
   seulement quand la souris est exactement sur son texte (sinon il s'eteint
   des qu'on descend dans le menu deroule, alors que celui-ci est toujours ouvert). */
.nav-item-dropdown:hover > a, .nav-item-dropdown:focus-within > a { color: var(--gold-light); background: rgba(201,168,106,0.12); }
.nav-dropdown a { display: block; height: auto; padding: 10px 20px; font-size: 15px; color: #d9d0c2; white-space: nowrap; transition: all .15s; }
.nav-dropdown a:hover { color: var(--gold-light); background: rgba(201,168,106,0.12); }
/* Mobile : affiche directement (pas de survol sur tactile), en retrait sous "Boutique" pour marquer la hierarchie. */
.nav-mobile a.nav-mobile-sub { padding: 10px 32px 10px 56px; font-size: 15px; color: #a99f90; }

@media (max-width: 980px) {
  /* Le padding desktop (48px) laisse trop peu de largeur utile sur mobile ;
     on le reduit, et on place le bouton burger a gauche du logo (ordre
     purement visuel via flex "order", le DOM/l'accessibilite ne changent
     pas) en poussant les icones/bouton "Reserver" a droite via une marge
     automatique. */
  .nav { padding: 0 20px; justify-content: flex-start; gap: 16px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; order: -1; }
  .nav-actions { margin-left: auto; gap: 16px; }
  /* Sur mobile, logo + burger + icones compte/panier ne laissent plus assez
     de place pour ce bouton texte (source du debordement horizontal
     constate sur le site) ; le lien "Reservation" reste accessible via le
     menu burger, ce bouton y fait donc doublon. */
  .nav-actions .btn-reserver { display: none; }
}

/* ---------- BANDEAU PROMOTIONNEL (coupon.bandeau_actif, page d'accueil) ---------- */
.promo-bandeau {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--bg);
  text-align: center;
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 24px;
  letter-spacing: .3px;
}

/* ---------- BUTTONS ---------- */
.btn { display: inline-block; padding: 16px 32px; border-radius: 2px; font-size: 16px; letter-spacing: .5px; cursor: pointer; border: none; font-family: var(--font-body); transition: all .2s; text-align: center; }
.btn-gold { background: var(--gold); color: var(--bg); font-weight: 600; }
.btn-gold:hover { background: var(--gold-light); color: var(--bg); box-shadow: 0 0 20px rgba(201,168,106,.4); }
.btn-outline { border: 1px solid var(--border-gold-strong); color: var(--gold-light); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--bg); background: var(--gold-light); }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn:disabled, .btn.disabled { opacity: .4; cursor: not-allowed; }

/* ---------- CARDS ---------- */
.card { background: var(--panel); border: 1px solid var(--border-gold); border-radius: 4px; }
.card-pad { padding: 32px; }

/* ---------- FORMS ---------- */
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=number], textarea, select {
  width: 100%; box-sizing: border-box; padding: 14px 16px;
  background: var(--bg-alt); border: 1px solid var(--border-gold-strong);
  border-radius: 2px; color: var(--text); font-family: var(--font-body); font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--text-mute); }

/* Le widget Mondial Relay (point relais, page /commande/adresse/) n'est pas
   isole du reste de la page (pas d'iframe) : verifie contre le vrai CSS du
   widget (recupere en ligne) - ses champs ont une largeur fixee en inline
   par son propre JS (ex. 40px pour le code postal), deja preservee car plus
   specifique que la regle globale ci-dessus. Seuls le padding et le
   box-sizing globaux lui sont imposes a tort (ils ecrasent sa largeur
   inline en laissant trop peu de place au texte) : on neutralise ces deux
   seules proprietes, rien d'autre.*/
.MR-Widget input, .MR-Widget select, .MR-Widget textarea { padding: revert !important; box-sizing: revert !important; color: revert !important; }

/* Apparition en fondu du bloc "Mode de livraison" (tunnel de commande),
   affiche uniquement une fois une adresse de livraison choisie. */
.fade-in-bloc { opacity: 0; transition: opacity .3s ease; }
.fade-in-bloc.visible { opacity: 1; }

/* Meme cause pour le drapeau pays (<img>) : la regle globale "img { display:
   block }" du site le sort de la ligne ou le widget l'attend en flux
   normal (inline), ce qui le fait chevaucher visuellement le logo. Le
   widget ne stylise pas cette image lui-meme : on revient a son
   comportement natif de navigateur (inline). */
.MR-Widget img { display: revert !important; max-width: revert !important; }

/* Meme probleme pour le texte : les elements que le widget ne stylise pas
   lui-meme (lignes d'adresse, ville, code postal dans la liste des points)
   heritent de la couleur claire du site (--text), illisible sur son fond
   blanc. On fixe juste un noir de base au niveau du widget : les elements
   que le widget stylise explicitement (bouton, nom du point) gardent leurs
   propres couleurs, seule l'heritage non voulu est corrige. */
.MR-Widget { color: #000 !important; }

/* La carte (Leaflet) du widget utilise des z-index internes eleves (jusqu'a
   1000), superieurs a celui du menu de navigation sticky (z-index:50), et
   passe donc au-dessus au defilement. On isole le widget dans son propre
   contexte d'empilement (z-index bas) pour que ses z-index internes restent
   contenus a l'interieur, sans toucher au menu ni au widget lui-meme. */
#blocPointRelais { position: relative; z-index: 1; }
label { display: block; font-size: 14px; color: var(--text-mute); margin-bottom: 6px; }
.form-row { margin-bottom: 16px; }
.form-error { color: #e08b8b; font-size: 14px; margin: -8px 0 16px; }
.field-error { color: #e08b8b; font-size: 13px; margin-top: 6px; display: none; }
.field-error.visible { display: block; }
.form-note { color: var(--text-mute); font-size: 13px; }

/* Barre d'emoticones au-dessus d'un champ texte (js/emoji_toolbar.js). */
.emoji-toolbar {
  display: flex; flex-wrap: wrap; gap: 4px; padding: 6px;
  background: var(--bg-alt); border: 1px solid var(--border-gold-strong);
  border-bottom: 0; border-radius: 2px 2px 0 0;
}
.emoji-toolbar + textarea { border-top-left-radius: 0; border-top-right-radius: 0; }
.emoji-btn {
  width: 36px; height: 36px; padding: 0; line-height: 1; font-size: 20px;
  background: transparent; border: 1px solid transparent; border-radius: 4px; cursor: pointer;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  transition: background .15s, border-color .15s, transform .1s;
}
.emoji-btn:hover { background: rgba(201,168,106,.14); border-color: var(--gold); }
.emoji-btn:active { transform: scale(.92); }
.emoji-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
@media (max-width: 480px) { .emoji-btn { width: 40px; height: 40px; } }

/* Etat invalide commun a tous les formulaires du site : contour rouge avec
   un halo degrade fondu (box-shadow, s'estompe vers l'exterieur), plus visible
   et plus doux qu'un simple trait rouge. Le message d'erreur associe est le
   .field-error juste en dessous du champ (voir js/validation.js). */
input.field-invalid, textarea.field-invalid, select.field-invalid {
  border-color: #e08b8b;
  box-shadow: 0 0 0 3px rgba(224, 139, 139, 0.22), 0 0 16px 2px rgba(224, 139, 139, 0.35);
}
input.field-invalid:focus, textarea.field-invalid:focus, select.field-invalid:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(224, 139, 139, 0.32), 0 0 20px 3px rgba(224, 139, 139, 0.45);
}
/* Variante pour un groupe de choix (cartes radio) : la carte "conteneur"
   n'a pas de bordure de champ classique, on encadre donc la zone entiere. */
.field-group-invalid {
  border-color: #e08b8b !important;
  box-shadow: 0 0 0 3px rgba(224, 139, 139, 0.22), 0 0 16px 2px rgba(224, 139, 139, 0.35);
  border-radius: 4px;
}

/* ---------- FOOTER ---------- */
footer.site-footer { padding: 48px; text-align: center; border-top: 1px solid var(--border-gold); }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.footer-logo-text { font-family: var(--font-title); font-style: italic; font-weight: 600; font-size: 24px; color: var(--gold-light); }
.footer-live { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; font-size: 14px; color: var(--gold-light); }
.footer-live:hover { text-decoration: underline; }

/* Pastille "En live sur TikTok" sous les boutons du bandeau d'accueil */
.live-pastille { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 9px 18px; border: 1px solid var(--border-gold); border-radius: 999px; background: rgba(14,14,20,.55); color: var(--gold-light); font-size: 14px; line-height: 1.4; backdrop-filter: blur(3px); transition: border-color .2s, background .2s; }
.live-pastille:hover { border-color: var(--gold-light); background: rgba(14,14,20,.75); }
.live-point { flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; background: #e0524a; box-shadow: 0 0 0 0 rgba(224,82,74,.7); animation: live-pulse 2s ease-out infinite; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(224,82,74,.7); } 70% { box-shadow: 0 0 0 9px rgba(224,82,74,0); } 100% { box-shadow: 0 0 0 0 rgba(224,82,74,0); } }
@media (prefers-reduced-motion: reduce) { .live-point { animation: none; } }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 16px; }
.footer-links a { font-size: 14px; color: var(--text-mute); }
.footer-links a:hover { color: var(--gold-light); }
.footer-copy { font-size: 14px; color: var(--text-faint); }

/* ---------- SCROLL TOP ---------- */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; height: 52px; width: 52px; padding: 0;
  border-radius: 26px; background: rgba(20,16,30,0.9); border: 1px solid var(--gold);
  color: var(--gold-light); cursor: pointer; display: none; align-items: center; justify-content: flex-start;
  overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.4); z-index: 999; transition: all .25s ease;
}
.scroll-top.visible { display: flex; }
.scroll-top:hover { width: 240px; padding: 0 22px 0 0; background: var(--gold); border-color: var(--gold); color: var(--bg); box-shadow: 0 4px 20px rgba(201,168,106,.5); }
.scroll-top svg { flex-shrink: 0; margin-left: 16px; }
.scroll-top span { margin-left: 26px; white-space: nowrap; font-size: 15px; opacity: 0; transition: opacity .15s; }
.scroll-top:hover span { opacity: 1; }

/* ---------- TOAST (ajout panier) ---------- */
.toast-overlay { position: fixed; inset: 0; background: rgba(8,8,12,0.6); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.toast-overlay.visible { display: flex; }
.toast-box { background: var(--bg-alt); border: 1px solid var(--gold); border-radius: 4px; padding: 36px; max-width: 380px; text-align: center; }
.toast-box .icon { font-size: 32px; color: var(--gold); margin-bottom: 14px; }
.toast-box .icon-warning { color: #e08b8b; }
.toast-actions { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; justify-content: center; }

/* ---------- GRID HELPERS ---------- */
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
/* Boutique de la page d'accueil : toujours 3 par ligne (pas d'auto-fit, pour
   ne pas depasser 3 colonnes meme sur de tres larges ecrans). */
.boutique-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .boutique-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .boutique-grid { grid-template-columns: 1fr; } }
/* Carte produit boutique (accueil + listing complet) et lien "Voir la
   fiche/Lire l'article" (boutique + blog). */
.boutique-card img, .boutique-card > div:first-child { aspect-ratio: 1/1; }
.produit-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-mute); margin-top: 6px; }
.produit-link:hover { color: var(--gold-light); }
/* auto-fill (pas auto-fit) : les colonnes vides restent "presentes" et
   continuent de se partager l'espace, ce qui evite qu'une seule carte
   (ex: 1 ou 2 resultats sur la liste du blog) ne s'etire sur toute la largeur. */
.grid-auto-wide { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }
/* Variante centree (nombre de cartes fixe et volontairement limite, ex :
   "A lire aussi") : chaque carte garde une largeur raisonnable et le groupe
   reste centre, meme quand il y a moins de cartes que de place disponible. */
.grid-center-wide { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.grid-center-wide > * { flex: 1 1 280px; max-width: 360px; }

/* ---------- CARROUSEL GENERIQUE (temoignages, blog : max 3 visibles, fleches + auto-defilement, voir js/carousel.js) ---------- */
.carousel { display: flex; align-items: center; gap: 20px; }
.carousel-viewport { flex: 1 1 auto; overflow: hidden; min-width: 0; }
.carousel-track { display: flex; gap: 32px; transition: transform .4s ease, opacity .5s ease; }
.carousel-track.carousel-fade { opacity: 0; }
.carousel-track.no-transition { transition: none; }
.carousel-slide { flex: 0 0 calc((100% - 64px) / 3); min-width: 0; }
/* .carousel-track etire deja chaque slide a la hauteur du plus grand
   (comportement flex par defaut) ; sans cette regle, la carte a l'interieur
   garde sa hauteur naturelle et ne remplit pas cet espace, d'ou des cartes
   de hauteurs visuellement differentes selon la longueur du texte. */
.carousel-slide > .card { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; }
.carousel-arrow {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border-gold-strong); background: transparent; color: var(--gold-light);
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.carousel-arrow:hover:not(:disabled) { background: var(--gold); color: var(--bg); }
.carousel-arrow:disabled { opacity: .3; cursor: default; }

@media (max-width: 900px) { .carousel-slide { flex-basis: calc((100% - 32px) / 2); } }
@media (max-width: 640px) { .carousel-slide { flex-basis: 100%; } .carousel { gap: 10px; } }

/* ---------- CORPS D'ARTICLE DE BLOG (HTML de confiance, redige via
   l'editeur WYSIWYG de l'admin) ---------- */
.blog-corps { font-size: 17px; line-height: 1.85; color: var(--text-soft); }
.blog-corps p { margin: 0 0 22px 0; }
.blog-corps h2 { font-family: var(--font-title); font-style: italic; font-weight: 600; font-size: 28px; color: var(--text); margin: 36px 0 18px 0; }
.blog-corps h3 { font-family: var(--font-title); font-style: italic; font-weight: 600; font-size: 22px; color: var(--gold-light); margin: 28px 0 14px 0; }
.blog-corps ul { margin: 0 0 22px 0; padding-left: 22px; }
.blog-corps li { margin-bottom: 8px; }
.blog-corps blockquote { margin: 0 0 22px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--border-gold-strong); color: var(--gold-light); font-style: italic; }
.blog-corps a { text-decoration: underline; }
.blog-corps strong, .blog-corps b { color: var(--text); }

/* ---------- RUBAN "CREATION ATELIER" (articles.fait_maison=1) ----------
   Le conteneur de l'image (deja position relative implicite via
   overflow:hidden) doit avoir position:relative ; le ruban deborde
   volontairement des bords, qui le decoupent net (effet de coin classique). */
.ribbon-fait-maison {
  position: absolute; top: 18px; left: -38px; width: 150px;
  transform: rotate(-45deg); transform-origin: center;
  background: var(--gold); color: var(--bg);
  font-family: var(--font-title); font-style: italic; font-weight: 600;
  font-size: 12px; letter-spacing: .5px; text-align: center;
  padding: 5px 0; box-shadow: 0 2px 8px rgba(0,0,0,.3);
  z-index: 2; pointer-events: none;
}
.note-fait-maison {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--panel); border: 1px solid var(--border-gold); border-radius: 2px;
  padding: 14px 16px; margin-bottom: 24px;
  color: var(--text-soft); font-size: 14px; line-height: 1.6;
}
.note-fait-maison svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }

/* ---------- RUBAN "PIECE UNIQUE" (articles.piece_unique=1) ----------
   Memes coordonnees de depart que le ruban "Creation atelier" ci-dessus
   (meme coin, meme angle, meme largeur) : translateY() apres la rotation
   deplace le ruban de exactement (hauteur du ruban + 3px de marge) le
   long de son propre axe perpendiculaire, pour un empilement bord a bord
   precis quand les deux rubans sont actifs sur la meme photo. */
.ribbon-piece-unique {
  position: absolute; top: 18px; left: -56px; width: 210px;
  transform: rotate(-45deg) translateY(27px); transform-origin: center;
  background: #8f7cc9; color: var(--bg);
  font-family: var(--font-title); font-style: italic; font-weight: 600;
  font-size: 12px; letter-spacing: .5px; text-align: center;
  padding: 5px 0; box-shadow: 0 2px 8px rgba(0,0,0,.3);
  z-index: 2; pointer-events: none;
}
.note-piece-unique {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--panel); border: 1px solid rgba(143,124,201,.4); border-radius: 2px;
  padding: 14px 16px; margin-bottom: 24px;
  color: var(--text-soft); font-size: 14px; line-height: 1.6;
}
.note-piece-unique svg { flex-shrink: 0; margin-top: 2px; color: #8f7cc9; }

/* ---------- PAGINATION (liste des articles de blog) ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 48px; }
.pagination-link {
  display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--border-gold); border-radius: 2px; color: var(--text-soft); font-size: 15px; transition: all .2s;
}
.pagination-link:hover { border-color: var(--border-gold-strong); color: var(--gold-light); }
.pagination-active { background: var(--gold); border-color: var(--gold); color: var(--bg); font-weight: 600; }

/* ---------- FILTRES CATEGORIE (liste des articles boutique) ---------- */
.filtres-categorie { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filtre-categorie-item {
  display: inline-flex; align-items: center; height: 38px; padding: 0 18px;
  border: 1px solid var(--border-gold); border-radius: 20px; color: var(--text-soft); font-size: 14px; transition: all .2s;
}
.filtre-categorie-item:hover { border-color: var(--border-gold-strong); color: var(--gold-light); }
.filtre-categorie-active { background: var(--gold); border-color: var(--gold); color: var(--bg); font-weight: 600; }

/* Chip "Recherche : « ... » x" (liste boutique) : meme pilule que les
   filtres categorie, tout le chip est cliquable pour effacer la recherche. */
.chip-recherche { gap: 8px; max-width: 100%; }
.chip-recherche span { font-size: 16px; line-height: 1; }

/* Bouton "x" a l'interieur du champ de recherche (liste boutique), visible
   uniquement quand une recherche est en cours. */
.search-input-wrap input[type=text] { padding-right: 40px; }
.search-clear-btn {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  color: var(--text-mute); font-size: 20px; line-height: 1; text-decoration: none;
  transition: color .2s, background .2s;
}
.search-clear-btn:hover { color: var(--gold-light); background: rgba(201,168,106,.12); }

/* Barre categories + selecteur "Articles par page" : cote a cote, selecteur
   colle au bord droit (ordre visuel via `order`, independant de l'ordre HTML).
   Sous 700px (meme seuil que le reste du site), le selecteur remonte entre
   la recherche et les categories plutot que de rester colle a leur droite. */
.boutique-toolbar { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.boutique-toolbar .filtres-categorie { order: 1; flex: 1 1 auto; margin-bottom: 0; }
.boutique-toolbar .par-page-select { order: 2; margin-left: auto; }
@media (max-width: 700px) {
  .boutique-toolbar { flex-direction: column; align-items: stretch; }
  .boutique-toolbar .par-page-select { order: 1; margin-left: 0; align-self: flex-end; }
  .boutique-toolbar .filtres-categorie { order: 2; }
}

/* ---------- Simple pages (produit/panier/compte/commande) ---------- */
.simple-page { padding: 60px 48px 110px; min-height: 60vh; }
@media (max-width: 700px) { .simple-page { padding: 40px 20px 80px; } }
/* ---------- BOUTON RETOUR (remplace les fils d'ariane en haut des sous-pages) ---------- */
.btn-retour {
  display: inline-flex; align-items: center; justify-content: flex-start;
  height: 44px; width: auto; max-width: 44px; padding: 0; margin-bottom: 32px;
  border-radius: 22px; background: rgba(20,16,30,0.9); border: 1px solid var(--gold);
  color: var(--gold-light); cursor: pointer; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.4);
  transition: all .25s ease;
}
/* max-width (et non width) : s'anime en douceur tout en s'arretant a la
   largeur naturelle du contenu (icone + texte), sans marge a vide. */
.btn-retour:hover { max-width: 100%; padding: 0 20px 0 0; background: var(--gold); border-color: var(--gold); color: var(--bg); box-shadow: 0 4px 20px rgba(201,168,106,.5); }
.btn-retour svg { flex-shrink: 0; margin-left: 13px; }
.btn-retour span { margin-left: 20px; white-space: nowrap; font-size: 14px; opacity: 0; transition: opacity .15s; }
.btn-retour:hover span { opacity: 1; }

/* ---------- BOUTON "+" (ajouter, ex: encarts de listing d'adresses) ---------- */
/* Meme pastille repliee/depliee au survol que .btn-retour, place en bas a
   droite de son conteneur plutot qu'en haut de page. */
.btn-ajouter-wrap { display: flex; justify-content: flex-end; margin-top: 20px; }
.btn-ajouter {
  display: inline-flex; align-items: center; justify-content: flex-start;
  height: 44px; width: auto; max-width: 44px; padding: 0;
  border-radius: 22px; background: rgba(20,16,30,0.9); border: 1px solid var(--gold);
  color: var(--gold-light); cursor: pointer; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.4);
  transition: all .25s ease;
}
.btn-ajouter:hover { max-width: 100%; padding: 0 20px 0 0; background: var(--gold); border-color: var(--gold); color: var(--bg); box-shadow: 0 4px 20px rgba(201,168,106,.5); }
.btn-ajouter svg { flex-shrink: 0; margin-left: 13px; }
.btn-ajouter span { margin-left: 20px; white-space: nowrap; font-size: 14px; opacity: 0; transition: opacity .15s; }
.btn-ajouter:hover span { opacity: 1; }

table.table-simple { width: 100%; border-collapse: collapse; }
table.table-simple th { text-align: left; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); padding: 10px 12px; border-bottom: 1px solid var(--border-gold-strong); }
table.table-simple td { padding: 14px 12px; border-bottom: 1px solid var(--border-gold); font-size: 15px; vertical-align: middle; }
table.table-simple tr.table-row-clickable { cursor: pointer; transition: background .15s; }
table.table-simple tr.table-row-clickable:hover td { background: rgba(201,168,106,.1); }

/* Variante "cartes" sur mobile (liste des commandes) : chaque ligne devient un
   bloc, l'en-tete du tableau disparait et chaque cellule affiche son libelle
   (attribut data-label) a gauche de sa valeur. */
@media (max-width: 640px) {
  table.table-cards, table.table-cards tbody, table.table-cards tr, table.table-cards td { display: block; width: 100%; }
  table.table-cards thead { display: none; }
  table.table-cards tr { padding: 10px 4px; border-bottom: 1px solid var(--border-gold); }
  table.table-cards tr:last-child { border-bottom: 0; }
  table.table-cards td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 5px 8px; border: 0; }
  table.table-cards td::before { content: attr(data-label); color: var(--gold); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; flex-shrink: 0; }
  table.table-cards td[data-label=""]::before { display: none; }
  table.table-cards td[data-label=""] { justify-content: flex-start; padding-top: 10px; }
}

.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--border-gold-strong); border-radius: 2px; }
.qty-control button { background: transparent; border: none; color: var(--gold-light); width: 32px; height: 32px; cursor: pointer; font-size: 16px; }
.qty-control input { width: 44px; text-align: center; border: none; background: transparent; color: var(--text); padding: 0; }

.btn-icon-delete { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; background: transparent; border: none; color: var(--text-mute); cursor: pointer; transition: color .2s; }
.btn-icon-delete:hover { color: #e08b8b; }

.badge { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; }
.badge-attente { background: rgba(201,168,106,.15); color: var(--gold-light); }
.badge-payee { background: rgba(120,190,130,.15); color: #93d19f; }
.badge-avenir { background: rgba(160,140,210,.15); color: #b9a6e6; }
.badge-annulee { background: rgba(200,90,90,.15); color: #e08b8b; }
.badge-expediee { background: rgba(120,160,220,.15); color: #9fc0ef; }
.badge-terminee { background: rgba(141,132,116,.15); color: #a99f90; }

/* ---------- Carte selectionnable (adresse, mode de livraison...) ---------- */
.option-card {
  display: flex; align-items: flex-start; gap: 12px;
  border: 1px solid var(--border-gold); border-radius: 4px;
  padding: 14px 16px; margin-bottom: 10px;
  cursor: pointer; transition: all .2s; background: transparent;
}
.option-card:last-child { margin-bottom: 0; }
.option-card:hover { border-color: var(--gold); background: var(--panel); }
.option-card:has(input:checked) { border-color: var(--gold); background: rgba(201,168,106,.12); }
.option-card input[type=radio] {
  margin-top: 3px; flex-shrink: 0; accent-color: var(--gold);
  width: 16px; height: 16px; cursor: pointer;
}
.option-card-content { flex: 1; }
.option-card-title { color: var(--text); font-size: 15px; }
.option-card-sub { color: var(--text-mute); font-size: 13px; margin-top: 2px; }
.option-card-price { color: var(--gold-light); font-family: var(--font-title); font-size: 17px; white-space: nowrap; }

/* ---------- Case a cocher stylisee (ex : "identique a l'adresse de livraison") ---------- */
.checkbox-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border: 1px solid var(--border-gold); border-radius: 4px;
  cursor: pointer; transition: all .2s; margin-bottom: 16px; user-select: none;
}
.checkbox-row:hover { border-color: var(--gold); background: var(--panel); }
.checkbox-row:has(input:checked) { border-color: var(--gold); background: rgba(201,168,106,.12); }
.checkbox-row input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--gold); cursor: pointer; flex-shrink: 0; }
.checkbox-row span { color: var(--text); font-size: 15px; }

/* ---------- Autocompletion code postal / ville : suggestions sous le champ ---------- */
/* .form-row porteur doit etre en position:relative (voir champs_localisation) */
.loc-suggestions {
  display: none; position: absolute; top: 100%; left: 0; right: 0; margin-top: 4px; z-index: 50;
  background: var(--bg-alt); border: 1px solid var(--gold); border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5); max-height: 240px; overflow-y: auto;
}
.loc-suggestions.visible { display: block; }
.loc-suggestion { padding: 12px 16px; cursor: pointer; font-size: 15px; color: var(--text); }
.loc-suggestion:hover, .loc-suggestion.active { background: rgba(201,168,106,.15); color: var(--gold-light); }

/* Pays et villes toujours affiches en majuscules (convention postale FR),
   dans les champs de formulaire comme dans le texte des adresses affichees. */
select[data-loc="pays"], input[data-loc="ville"], .majuscule-loc { text-transform: uppercase; }

/* ---------- Widget de reservation (boutons generes en JS) ---------- */
/* Base commune : bordure/etat neutre + transition, chaque variante ajuste juste la forme */
.resa-btn {
  border: 1px solid var(--border-gold);
  background: transparent;
  color: #d9d0c2;
  border-radius: 2px;
  cursor: pointer;
  transition: all .2s;
  font-size: 15px;
}
.resa-btn:hover:not(:disabled) { border-color: var(--gold); background: rgba(201,168,106,.18); color: var(--gold-light); }
.resa-btn.active { border-color: var(--gold); background: rgba(201,168,106,.18); color: var(--gold-light); }
.resa-btn:disabled { color: #4a463f; cursor: not-allowed; opacity: .5; }

.resa-prestation-btn { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; text-align: left; padding: 12px 16px; }
.resa-format-btn { padding: 10px 20px; }
.resa-day-btn { aspect-ratio: 1; font-size: 14px; }
.resa-slot-btn { padding: 10px 8px; }

/* ---------- ACCESSIBILITE ---------- */
/* Lien d'evitement : invisible tant qu'il n'a pas le focus clavier (premier
   element tabulable de chaque page), puis affiche en haut a gauche. */
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 10000; padding: 10px 18px; background: var(--gold); color: var(--bg); font-family: var(--font-body); font-size: 16px; border-radius: 3px; text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 12px; }
#contenu-principal:focus { outline: none; }

/* Anneau de focus visible uniquement a la navigation au clavier. */
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline-offset: 1px; }

/* Bouton "Lire la suite" des temoignages tronques (voir js/temoignages.js). */
.temoignage-toggle { align-self: flex-start; margin: -8px 0 14px; padding: 4px 0; background: none; border: 0; border-bottom: 1px solid var(--border-gold-strong); color: var(--gold-light); font-family: var(--font-body); font-size: 14px; letter-spacing: .5px; cursor: pointer; }
.temoignage-toggle:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* Respecte le reglage "reduire les animations" du systeme. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- TEMOIGNAGES (espace client) ---------- */
/* Ligne d'invitation sous une prestation payee (detail d'une commande) : la
   ligne de la prestation perd son trait du bas pour que les deux forment un bloc. */
table.table-simple tr.ligne-avec-temoignage td { border-bottom: 0; padding-bottom: 6px; }
table.table-simple tr.ligne-temoignage td { padding: 0 12px 16px; }
.lien-temoignage { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border: 1px solid var(--gold); border-radius: 3px; background: rgba(201,168,106,.14); color: var(--gold-light); font-family: var(--font-body); font-size: 15px; letter-spacing: .3px; text-decoration: none; box-shadow: 0 0 0 1px rgba(201,168,106,.12), 0 0 18px rgba(201,168,106,.12); transition: background .15s, color .15s; }
.lien-temoignage:hover { background: var(--gold); color: var(--bg); }
.lien-temoignage-fait { box-shadow: none; background: transparent; border-color: var(--border-gold-strong); font-size: 14px; }
.lien-temoignage-fait:hover { background: rgba(201,168,106,.14); color: var(--gold-light); }
.lien-temoignage-refuse { border-color: rgba(193,122,106,.6); color: #e0a597; }

/* Onglet "Avis et temoignages" */
.avis-bloc { margin-bottom: 40px; }
.avis-bloc > h2 { font-family: var(--font-title); font-style: italic; font-size: 24px; font-weight: 500; margin: 0 0 18px; color: var(--text); }
.avis-carte { padding: 22px 24px; margin-bottom: 16px; }
.avis-carte-entete { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.avis-carte-titre { font-family: var(--font-title); font-size: 20px; color: var(--text); }
.avis-carte-sous { font-size: 13px; color: var(--text-mute); margin-top: 3px; }
.avis-carte-texte { color: var(--text-soft); line-height: 1.7; margin: 0; white-space: pre-line; }
.avis-motif { margin-top: 12px; padding: 10px 14px; border-left: 3px solid #c17a6a; background: rgba(193,122,106,.08); color: #e0a597; font-size: 14px; }

/* ---------- AVIS CLIENTS SUR LES ARTICLES ---------- */
/* Etoiles : "★★★★★" dont le remplissage dore (--note, de 0 a 5, fractions
   admises) est un degrade decoupe dans le texte. */
.etoiles { --note: 0; display: inline-block; font-size: 1em; line-height: 1; letter-spacing: 1px; white-space: nowrap;
  background: linear-gradient(90deg, var(--gold) calc(var(--note) / 5 * 100%), rgba(201,168,106,.28) calc(var(--note) / 5 * 100%));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.etoiles-grandes { font-size: 26px; }

/* Resume compact (listings) : etoiles + note + nombre d'avis, lie a la fiche. */
.avis-resume { display: flex; width: fit-content; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 14px; color: var(--text-mute); text-decoration: none; font-family: var(--font-body); }
.avis-resume > span { display: inline-flex; align-items: center; gap: 6px; }
.avis-resume .etoiles { font-size: 16px; }
.avis-resume-note { color: var(--gold-light); }
.avis-resume:hover .avis-resume-nb, .avis-resume:hover .avis-resume-note { text-decoration: underline; }

/* Resume de la fiche produit, sous le titre. */
.produit-note { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; font-size: 16px; color: var(--text-soft); }
.produit-note .etoiles { font-size: 22px; }
.produit-note-valeur { color: var(--gold-light); font-family: var(--font-title); font-size: 20px; }
.produit-note a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.produit-note a:hover { color: var(--gold); }

/* Section des avis (bas de la fiche produit) */
.avis-section { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--border-gold); scroll-margin-top: 90px; }
.avis-section > h2 { font-family: var(--font-title); font-style: italic; font-size: 32px; font-weight: 500; margin: 0 0 28px; color: var(--text); }
.avis-synthese { display: flex; gap: 48px; flex-wrap: wrap; align-items: center; margin-bottom: 32px; }
.avis-moyenne { text-align: center; min-width: 150px; }
.avis-moyenne-note { font-family: var(--font-title); font-size: 56px; line-height: 1; color: var(--gold-light); }
.avis-moyenne-note small { font-size: 22px; color: var(--text-mute); }
.avis-moyenne .etoiles { font-size: 24px; margin: 8px 0 6px; }
.avis-moyenne-nb { font-size: 14px; color: var(--text-mute); }
.avis-repartition { flex: 1 1 260px; max-width: 420px; display: grid; gap: 6px; }
.avis-barre { display: grid; grid-template-columns: 34px 1fr 30px; align-items: center; gap: 10px; font-size: 14px; color: var(--text-soft); text-decoration: none; padding: 2px 4px; border-radius: 3px; }
.avis-barre:hover, .avis-barre.actif { background: rgba(201,168,106,.1); }
.avis-barre-piste { height: 8px; background: rgba(201,168,106,.14); border-radius: 4px; overflow: hidden; }
.avis-barre-piste i { display: block; height: 100%; background: var(--gold); border-radius: 4px; }
.avis-barre-n { text-align: right; color: var(--text-mute); }
.avis-invitation { flex: 1 1 240px; padding: 18px 20px; border: 1px solid var(--border-gold); border-radius: 3px; background: var(--panel); font-size: 15px; color: var(--text-soft); }
.avis-invitation p { margin: 0 0 12px; }
.avis-invitation p:last-child { margin-bottom: 0; }
.avis-invitation a:not(.lien-temoignage) { color: var(--gold-light); text-decoration: underline; }
.avis-controles { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--border-gold); font-size: 14px; color: var(--text-mute); }
.avis-controles-tri { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.avis-controles a { color: var(--text-soft); text-decoration: none; padding: 5px 12px; border: 1px solid var(--border-gold); border-radius: 20px; }
.avis-controles a:hover { border-color: var(--gold); color: var(--gold-light); }
.avis-controles a.actif { background: rgba(201,168,106,.16); border-color: var(--gold); color: var(--gold-light); }
.avis-liste { list-style: none; margin: 0; padding: 0; }
.avis-item { padding: 24px 0; border-bottom: 1px solid var(--border-gold); }
.avis-item-tete { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.avis-item-tete .etoiles { font-size: 18px; }
.avis-item-titre { font-family: var(--font-title); font-size: 21px; font-weight: 600; color: var(--text); margin: 0 0 6px; }
.avis-item-texte { margin: 0 0 12px; line-height: 1.75; color: var(--text-soft); overflow-wrap: anywhere; }
.avis-item-meta { display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--text-mute); }
.avis-item-auteur { color: var(--text-soft); font-size: 14px; }
.avis-verifie { display: inline-flex; align-items: center; gap: 5px; color: #7fae8a; }
.avis-vide { padding: 28px 0; color: var(--text-mute); }

/* Formulaire de depot d'un avis : choix de la note par etoiles (boutons radio,
   donc utilisable au clavier et au lecteur d'ecran). Les etoiles sont dans
   l'ordre inverse du DOM (row-reverse) pour pouvoir allumer "celle-ci et les
   precedentes" avec le seul selecteur "~". */
.note-choix { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.note-choix legend { font-size: 14px; color: var(--text-mute); margin-bottom: 6px; padding: 0; }
.note-etoiles { display: inline-flex; flex-direction: row-reverse; position: relative; }
.note-etoiles input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.note-etoiles label { display: inline-block; margin: 0; padding: 0 4px; font-size: 40px; line-height: 1.1; color: rgba(201,168,106,.3); cursor: pointer; transition: color .1s, transform .1s; }
.note-etoiles label:hover, .note-etoiles label:hover ~ label, .note-etoiles input:checked ~ label { color: var(--gold); }
.note-etoiles label:hover { transform: scale(1.12); }
.note-etoiles input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.note-texte { display: block; min-height: 22px; margin-top: 4px; font-size: 15px; color: var(--gold-light); }
.recap-article { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; }
.recap-article-img { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 3px; overflow: hidden; border: 1px solid var(--border-gold); }
.recap-article-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) {
  .avis-section { margin-top: 48px; padding-top: 32px; }
  .avis-synthese { gap: 24px; }
  .note-etoiles label { font-size: 46px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.avis-carte-sous .etoiles { font-size: 15px; vertical-align: -1px; }

/* Date et heure d'un rendez-vous (detail d'une commande) : bien visibles. */
.rdv-visible { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 14px; border-left: 3px solid var(--gold); background: rgba(201,168,106,.1); border-radius: 0 3px 3px 0; color: var(--gold-light); font-size: 17px; width: fit-content; max-width: 100%; }
.rdv-visible svg { flex-shrink: 0; color: var(--gold); }
.rdv-visible strong { font-weight: 600; letter-spacing: .2px; }
.rdv-visible-format { color: var(--text-mute); font-size: 14px; }
.rdv-visible-barre { opacity: .55; }
#confirmMessage { white-space: pre-line; } /* messages de confirmation sur plusieurs lignes */

/* Numero WhatsApp qui sera appele pour la visio (detail d'une commande) : bien visible. */
.numero-whatsapp { display: inline-block; margin: 2px 2px; padding: 2px 11px; border: 1px solid var(--gold); border-radius: 4px; background: rgba(201,168,106,.22); color: var(--gold-light); font-size: 1.05em; font-weight: 700; letter-spacing: .5px; white-space: nowrap; box-shadow: 0 0 14px rgba(201,168,106,.25); }

/* ---------- WHATSAPP : icone + page d'aide (/aide/whatsapp/) ---------- */
/* Chaque mention de "WhatsApp" est un lien vers la page d'aide, avec son petit icone. */
.lien-whatsapp { display: inline-flex; align-items: center; gap: .28em; color: inherit; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; white-space: nowrap; }
.lien-whatsapp:hover { color: var(--gold-light); text-decoration-style: solid; }
.icone-whatsapp { display: inline-block; width: 1em; height: 1em; flex: 0 0 auto; vertical-align: -0.12em; }
.wa-nom { display: inline-flex; align-items: center; gap: .28em; white-space: nowrap; }

.aide-page { color: var(--text-soft); font-size: 16px; line-height: 1.8; }
.aide-page h2 { font-size: 30px; margin: 56px 0 18px; scroll-margin-top: 90px; }
.aide-page h3 { font-size: 21px; margin: 30px 0 10px; color: var(--gold-light); }
.aide-page p { margin: 0 0 14px; }
.aide-page a:not(.btn):not(.lien-whatsapp) { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.aide-page ol, .aide-page ul { padding-left: 22px; margin: 0 0 16px; }
.aide-page li { margin-bottom: 8px; }
.aide-intro { font-size: 18px; color: var(--text); }
.aide-sommaire { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; padding: 0; list-style: none; }
.aide-sommaire a { display: inline-block; padding: 7px 16px; border: 1px solid var(--border-gold-strong); border-radius: 20px; color: var(--text-soft) !important; text-decoration: none !important; font-size: 14px; }
.aide-sommaire a:hover { border-color: var(--gold); color: var(--gold-light) !important; }
.aide-encadre { margin: 22px 0; padding: 20px 24px; border: 1px solid var(--border-gold-strong); border-left: 4px solid var(--gold); border-radius: 4px; background: rgba(201,168,106,.08); }
.aide-encadre > :last-child { margin-bottom: 0; }
.aide-encadre-alerte { border-left-color: #c17a6a; background: rgba(193,122,106,.08); }
.aide-encadre-titre { display: block; margin-bottom: 8px; color: var(--gold-light); font-weight: 700; letter-spacing: .3px; }
.aide-checklist { list-style: none; padding: 0 !important; }
.aide-checklist li { position: relative; padding-left: 34px; }
.aide-checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: rgba(201,168,106,.2); color: var(--gold-light); text-align: center; line-height: 22px; font-size: 13px; font-weight: 700; }
.aide-figure { margin: 18px 0 26px; border: 1px solid var(--border-gold); border-radius: 6px; overflow: hidden; background: #fff; }
.aide-figure img { width: 100%; height: auto; display: block; }
.aide-figure figcaption { padding: 10px 16px; background: var(--bg-alt); color: var(--text-mute); font-size: 13px; line-height: 1.5; }
.aide-plateformes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0; }
.aide-plateforme { padding: 16px 18px; border: 1px solid var(--border-gold); border-radius: 4px; background: var(--panel); }
.aide-plateforme strong { display: block; color: var(--gold-light); margin-bottom: 4px; }
.aide-faq details { border-bottom: 1px solid var(--border-gold); padding: 14px 0; }
.aide-faq summary { cursor: pointer; font-weight: 700; color: var(--text); list-style-position: outside; }
.aide-faq details > :not(summary) { margin: 10px 0 0; }
.aide-numero { display: inline-block; margin: 4px 0; padding: 6px 18px; border: 1px solid var(--gold); border-radius: 4px; background: rgba(201,168,106,.2); color: var(--gold-light); font-size: 22px; font-weight: 700; letter-spacing: 1px; }
@media (max-width: 600px) { .aide-page h2 { font-size: 25px; margin-top: 44px; } }

/* Boutons de telechargement des stores (page d'aide WhatsApp). */
.aide-stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 22px; }
.badge-store { display: inline-flex; align-items: center; gap: 12px; min-width: 190px; padding: 9px 20px 9px 16px; border: 1px solid #a6a6a6; border-radius: 9px; background: #000; color: #fff !important; text-decoration: none !important; transition: border-color .15s, transform .1s; }
.badge-store:hover { border-color: #fff; transform: translateY(-1px); }
.badge-store img { width: 30px; height: 30px; flex: 0 0 30px; display: block; }
.badge-store span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.badge-store small { font-size: 11px; letter-spacing: .3px; text-transform: uppercase; color: #e6e6e6; }
.badge-store b { font-size: 20px; font-weight: 700; color: #fff; }

/* Portrait de la page d'accueil : bords du cercle legerement estompes (flou interieur
   qui fond la photo dans le fond de la section, #0e0e14). */
.portrait-lydie { position: relative; }
.portrait-lydie::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 22px 9px #0e0e14; pointer-events: none; }

/* Section "A propos" de l'accueil : sur grand ecran, la photo est alignee en haut du
   texte descriptif (et non centree verticalement), sous l'en-tete (surtitre + titre) qui
   occupe la colonne de droite. Sur petit ecran : photo, puis titre, puis texte. */
.apropos-grille { display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 64px; align-items: start; }
.apropos-entete { grid-column: 2; grid-row: 1; }
.apropos-photo { grid-column: 1; grid-row: 2; display: flex; justify-content: center; }
.apropos-texte { grid-column: 2; grid-row: 2; }
@media (max-width: 860px) {
  .apropos-grille { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .apropos-photo { grid-column: 1; grid-row: 1; }
  .apropos-entete { grid-column: 1; grid-row: 2; text-align: left; }
  .apropos-texte { grid-column: 1; grid-row: 3; }
  .apropos-entete .section-title { margin-bottom: 0 !important; }
}

/* Description d'un article dans les encarts de listing (accueil, boutique) : 2 lignes max. */
.boutique-card-desc { margin: 0 0 12px 0; font-size: 14px; line-height: 1.5; color: #a99f90; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }

/* Bouton "Ajouter" des encarts articles : icone de panier devant le libelle. */
.btn-ajouter-panier { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-ajouter-panier svg { flex-shrink: 0; }

/* Numero WhatsApp de Lydie (detail d'une commande) : plus discret que le numero du
   client, qui reste mis en avant. */
.numero-whatsapp.numero-whatsapp-lydie { font-size: .88em; padding: 1px 9px; font-weight: 600; letter-spacing: .3px; box-shadow: 0 0 8px rgba(201,168,106,.18); }
