/* ============================================================
   L'Atelier de Nana — feuille de style
   Palette douce, formes arrondies, beaucoup d'air.
   Conçue mobile d'abord : l'essentiel du trafic vient d'Instagram.
   ============================================================ */

/* --- 1. Jetons de design ---------------------------------- */
:root {
  /* Palette */
  --beige:      #F3E5D8;
  --rose:       #E8C7C8;
  --vieux-rose: #B98287;
  --creme:      #FFF9F2;
  --taupe:      #9A8178;
  --brun:       #6F554B;

  /* Déclinaisons utiles */
  --rose-clair: #F6E4E4;
  --rose-fonce: #A06D72;
  --beige-fonce:#E7D3C2;
  --blanc:      #FFFFFF;
  --succes:     #7A9A7E;
  --alerte:     #C0796F;

  /* Typographie */
  --titre: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --texte: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rythme */
  --r-sm: .75rem;
  --r-md: 1.125rem;
  --r-lg: 1.75rem;
  --r-full: 999px;

  --ombre-douce: 0 4px 18px rgba(111, 85, 75, .07);
  --ombre-carte: 0 10px 34px rgba(111, 85, 75, .10);
  --ombre-forte: 0 18px 50px rgba(111, 85, 75, .16);

  --transition: .25s cubic-bezier(.4, 0, .2, 1);
  /* Le trait de validation, en masque : il prend la couleur qu'on lui donne. */
  --trait-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.8 12.6 9.6 17.4 19.2 7'/%3E%3C/svg%3E");

  --largeur: 1180px;
  --largeur-texte: 44rem;
}

/* --- 2. Remise à zéro -------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--beige);
  color: var(--brun);
  font-family: var(--texte);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--vieux-rose); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--rose-fonce); }

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 600;
  line-height: 1.2;
  color: var(--brun);
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--vieux-rose);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Lien d'évitement pour la navigation au clavier */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--vieux-rose); color: #fff; padding: .8rem 1.4rem;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --- 2 bis. Icônes maison ----------------------------------
   Des petits dessins au trait, en SVG. Ils prennent la taille du texte
   (1em) et sa couleur : il suffit donc de régler le font-size du bloc
   qui les accueille, exactement comme avant.
   ------------------------------------------------------------ */
.icon {
  width: 1em; height: 1em;
  display: inline-block;
  vertical-align: -.14em;
  flex: none;
}
.icon--sm { width: .8em;  height: .8em; }
.icon--lg { width: 1.3em; height: 1.3em; }

/* Les symboles du crochet (app/Core/symbols.php) : un peu plus grands
   que les icônes, parce qu'un symbole se lit comme une lettre et non
   comme une décoration. Ils prennent la couleur du texte autour. */
.stitch-sym {
  width: 1.15em; height: 1.15em;
  display: inline-block;
  vertical-align: -.22em;
  flex: none;
}
.stitch-sym--lg { width: 1.6em; height: 1.6em; }

/* Un symbole collé à son nom : « ✕ Maille serrée ». */
.stitch-named { display: inline-flex; align-items: center; gap: .35rem; }

/* Une icône posée juste avant un mot. */
.icon-text { display: inline-flex; align-items: center; gap: .45rem; }

/* Les grands décors : on affine le trait pour garder la douceur. */
.empty-state__icon .icon,
.confirmation-hero__icon .icon,
.hero__placeholder .icon,
.story__placeholder .icon,
.gallery__placeholder .icon,
.workshop-card__placeholder .icon,
.product-card__placeholder .icon,
.kit-card__placeholder .icon,
.tuto-card__placeholder .icon,
.tutorial-hero__placeholder .icon,
.tutorial-locked__icon .icon,
.season-hero__placeholder .icon,
.season-card__placeholder .icon,
.season-banner__emoji .icon,
.giftcard-visual__mark .icon,
.universe__icon .icon,
.promise__icon .icon { stroke-width: 1.1; }

/* Les tout petits emplacements : un peu plus de corps, sinon le trait se perd. */
.eyebrow .icon,
.season-ribbon__emoji .icon,
.pill .icon,
.text-small .icon { width: 1.25em; height: 1.25em; stroke-width: 1.7; }

/* Une note en étoiles. */
.stars { display: inline-flex; align-items: center; gap: .18em; color: var(--vieux-rose); }
.stars .icon { width: 1em; height: 1em; }
.stars .icon--etoile { color: var(--beige-fonce); }

/* --- 3. Structure ------------------------------------------ */
.wrap {
  width: min(100% - 2.5rem, var(--largeur));
  margin-inline: auto;
}
.wrap--narrow { width: min(100% - 2.5rem, var(--largeur-texte)); }

.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section--creme { background: var(--creme); }
.section--rose  { background: var(--rose-clair); }

.section-head { text-align: center; max-width: 40rem; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.section-head p { color: var(--taupe); }
.section-head--tight { margin-bottom: 1.1rem; }
.section-head--tight .eyebrow { margin-bottom: .2rem; }
.section-head--tight h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: .2rem; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--vieux-rose);
  font-weight: 700;
  margin-bottom: .6rem;
}

/* Petit ornement de crochet sous les titres de section */
.ornament {
  display: block;
  width: 64px; height: 12px;
  margin: 1rem auto 0;
  background-image: radial-gradient(circle at 6px 6px, var(--rose) 5px, transparent 5px);
  background-size: 16px 12px;
  opacity: .9;
}

/* --- 4. Boutons -------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.9rem;
  border: 2px solid transparent;
  border-radius: var(--r-full);
  font-family: var(--texte);
  font-size: .98rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition);
}
/* `display: inline-flex` l'emporterait sur la règle du navigateur :
   un bouton caché doit disparaître pour de bon. */
.btn[hidden] { display: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--vieux-rose); color: #fff; box-shadow: var(--ombre-douce); }
.btn--primary:hover { background: var(--rose-fonce); color: #fff; box-shadow: var(--ombre-carte); }

.btn--soft { background: var(--rose); color: var(--brun); }
.btn--soft:hover { background: var(--rose-clair); color: var(--brun); }

.btn--ghost { background: transparent; border-color: var(--vieux-rose); color: var(--vieux-rose); }
.btn--ghost:hover { background: var(--vieux-rose); color: #fff; }

.btn--light { background: var(--creme); color: var(--brun); }
.btn--light:hover { background: #fff; color: var(--brun); }

.btn--block { display: flex; width: 100%; justify-content: center; }
.btn--sm { padding: .55rem 1.2rem; font-size: .86rem; }
.btn[disabled], .btn--disabled { opacity: .5; pointer-events: none; }

/* --- 5. En-tête -------------------------------------------- */
.announce {
  background: var(--vieux-rose);
  color: #fff;
  text-align: center;
  font-size: .87rem;
  padding: .6rem 1rem;
  letter-spacing: .01em;
}

.site-header {
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid var(--beige-fonce);
}
/* Le flou est porté par un pseudo-élément : un backdrop-filter sur
   l'en-tête lui-même enfermerait le menu mobile (position: fixed)
   dans la hauteur de l'en-tête. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 249, 242, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
/* Menu ouvert : l'en-tête (et donc le menu) passe au-dessus du fond sombre. */
body.nav-open .site-header { z-index: 90; }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
}

.logo { display: flex; align-items: center; gap: .65rem; color: var(--brun); }
.logo:hover { color: var(--brun); }
.logo__mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  background: var(--rose); border-radius: 50%;
  font-size: 1.2rem;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-family: var(--titre); font-size: 1.32rem; font-weight: 600; }
.logo__tag  { font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--taupe); }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  padding: .5rem .85rem;
  border-radius: var(--r-full);
  color: var(--brun);
  font-size: .95rem;
  font-weight: 600;
}
.nav a:hover { background: var(--rose-clair); color: var(--brun); }
.nav a.is-active { color: var(--vieux-rose); }

.header-actions { display: flex; align-items: center; gap: .5rem; }

.cart-link {
  position: relative;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--rose-clair);
  color: var(--brun);
}
.cart-link:hover { background: var(--rose); color: var(--brun); }
.cart-link__count {
  position: absolute; top: -3px; right: -3px;
  min-width: 21px; height: 21px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--vieux-rose); color: #fff;
  border-radius: var(--r-full);
  font-size: .72rem; font-weight: 700;
  border: 2px solid var(--creme);
}

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: var(--rose-clair);
  border-radius: 50%; cursor: pointer;
  color: var(--brun);
}

/* --- 6. Messages flash ------------------------------------- */
.flash-zone { padding-top: 1.25rem; }
.flash {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .95rem 1.2rem;
  border-radius: var(--r-md);
  margin-bottom: .7rem;
  font-size: .94rem;
  background: var(--creme);
  border-left: 4px solid var(--taupe);
  box-shadow: var(--ombre-douce);
}
.flash--success { border-left-color: var(--succes); }
.flash--error   { border-left-color: var(--alerte); }
.flash--warning { border-left-color: var(--alerte); }
.flash--info    { border-left-color: var(--vieux-rose); }

/* --- 7. Accueil -------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(3rem, 9vw, 6.5rem) 0;
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--rose-clair) 0%, transparent 60%),
    linear-gradient(180deg, var(--creme) 0%, var(--beige) 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.hero h1 { margin-bottom: .5rem; }
.hero__lead { font-size: 1.1rem; color: var(--taupe); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }

.hero__visual { position: relative; }
.hero__visual img,
.hero__placeholder {
  border-radius: var(--r-lg);
  box-shadow: var(--ombre-forte);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.hero__placeholder {
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--rose) 0%, var(--beige-fonce) 100%);
  font-size: 4rem;
}
.hero__badge {
  position: absolute; bottom: -1.1rem; left: -1.1rem;
  background: var(--creme);
  padding: .9rem 1.3rem;
  border-radius: var(--r-md);
  box-shadow: var(--ombre-carte);
  font-size: .85rem;
  line-height: 1.4;
}
.hero__badge strong { display: block; font-family: var(--titre); font-size: 1.15rem; color: var(--vieux-rose); }

/* Les trois univers */
.universe { display: grid; gap: 1.25rem; }
.universe__card {
  position: relative;
  display: block;
  padding: 2rem 1.75rem;
  background: var(--creme);
  border-radius: var(--r-lg);
  box-shadow: var(--ombre-douce);
  color: var(--brun);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.universe__card::after {
  content: '';
  position: absolute; inset: auto -30% -40% auto;
  width: 12rem; height: 12rem;
  background: var(--rose-clair);
  border-radius: 50%;
  opacity: .55;
  transition: transform var(--transition);
}
.universe__card:hover { transform: translateY(-5px); box-shadow: var(--ombre-carte); color: var(--brun); }
.universe__card:hover::after { transform: scale(1.18); }
.universe__card > * { position: relative; z-index: 1; }
.universe__icon { font-size: 2rem; margin-bottom: .6rem; }
.universe__card h3 { margin-bottom: .35rem; }
.universe__card p { color: var(--taupe); font-size: .94rem; }
.universe__more { display: inline-block; margin-top: .9rem; font-weight: 700; color: var(--vieux-rose); }

/* Promesses */
.promises { display: grid; gap: 1.5rem; text-align: center; }
.promise__icon {
  width: 60px; height: 60px; margin: 0 auto .8rem;
  display: grid; place-items: center;
  background: var(--rose-clair); border-radius: 50%;
  font-size: 1.5rem;
}
.promise h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.promise p { color: var(--taupe); font-size: .9rem; }

/* Bloc histoire */
.story { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.story__media img, .story__placeholder {
  border-radius: var(--r-lg); box-shadow: var(--ombre-carte);
  aspect-ratio: 1; object-fit: cover; width: 100%;
}
.story__placeholder {
  display: grid; place-items: center; font-size: 3.5rem;
  background: linear-gradient(150deg, var(--beige-fonce), var(--rose));
}
.story blockquote {
  margin: 1.5rem 0 0; padding-left: 1.2rem;
  border-left: 3px solid var(--rose);
  font-family: var(--titre); font-size: 1.25rem; font-style: italic;
  color: var(--vieux-rose);
}

/* Témoignages */
.testimonials { display: grid; gap: 1.25rem; }
.testimonial {
  background: var(--creme);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--ombre-douce);
  display: flex; flex-direction: column;
}
.testimonial__stars { color: var(--vieux-rose); letter-spacing: .12em; margin-bottom: .6rem; }
.testimonial__body { font-style: italic; color: var(--brun); flex: 1; }
.testimonial__author { margin-top: 1rem; font-weight: 700; font-size: .9rem; }
.testimonial__author span { display: block; font-weight: 400; color: var(--taupe); font-size: .84rem; }

/* Sur la page dédiée, les avis sont plus longs que sur l'accueil :
   trois colonnes plutôt que quatre, pour qu'ils restent lisibles. */
@media (min-width: 900px) {
  .page-testimonials .testimonials { grid-template-columns: repeat(3, 1fr); }
}

/* Newsletter */
.newsletter {
  background: var(--rose-clair);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.newsletter form {
  display: flex; flex-wrap: wrap; gap: .6rem;
  justify-content: center;
  max-width: 30rem; margin: 1.25rem auto 0;
}
.newsletter input { flex: 1 1 15rem; }

/* --- 8. Grille de créations --------------------------------- */
.product-grid { display: grid; gap: 1.5rem; }

.product-card {
  background: var(--creme);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--ombre-douce);
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--ombre-carte); }

.product-card__media { position: relative; display: block; background: var(--beige-fonce); }
.product-card__media img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.product-card__placeholder {
  aspect-ratio: 1; display: grid; place-items: center; font-size: 2.6rem;
  background: linear-gradient(150deg, var(--beige-fonce), var(--rose));
}

.badges { position: absolute; top: .8rem; left: .8rem; display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; }
.badge {
  background: var(--creme); color: var(--brun);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: .28rem .7rem; border-radius: var(--r-full);
  box-shadow: var(--ombre-douce);
}
.badge--rose { background: var(--vieux-rose); color: #fff; }
.badge--sold { background: var(--brun); color: #fff; }

.product-card__body { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }
.product-card__title { font-family: var(--titre); font-size: 1.25rem; margin: .2rem 0 .35rem; }
.product-card__title a { color: var(--brun); }
.product-card__title a:hover { color: var(--vieux-rose); }
.product-card__desc { font-size: .89rem; color: var(--taupe); flex: 1; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; }
.price { font-family: var(--titre); font-size: 1.35rem; font-weight: 600; color: var(--vieux-rose); }

/* --- 9. Filtres de boutique --------------------------------- */
.shop-toolbar {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  padding: .7rem 1rem;
  background: var(--creme);
  border-radius: var(--r-lg);
  box-shadow: var(--ombre-douce);
  margin-bottom: 1.25rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  padding: .45rem 1rem;
  border-radius: var(--r-full);
  background: var(--beige);
  color: var(--brun);
  font-size: .87rem; font-weight: 600;
}
.chip:hover { background: var(--rose-clair); color: var(--brun); }
.chip.is-active { background: var(--vieux-rose); color: #fff; }
.chip span { opacity: .6; font-weight: 400; }

/* --- 10. Fiche produit -------------------------------------- */
.product-layout { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }

.gallery__main {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--ombre-carte); background: var(--beige-fonce);
}
.gallery__main img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.gallery__placeholder { aspect-ratio: 1; display: grid; place-items: center; font-size: 4rem;
  background: linear-gradient(150deg, var(--beige-fonce), var(--rose)); }
.gallery__thumbs { display: flex; gap: .6rem; margin-top: .75rem; flex-wrap: wrap; }
.gallery__thumb {
  width: 74px; height: 74px; border-radius: var(--r-sm); overflow: hidden;
  border: 2px solid transparent; padding: 0; cursor: pointer; background: none;
  transition: border-color var(--transition);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--vieux-rose); }

.product-detail__price { font-family: var(--titre); font-size: 2.2rem; color: var(--vieux-rose); margin: .3rem 0 1rem; }

.meta-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .55rem; font-size: .92rem; }
.meta-list li { display: flex; gap: .7rem; }
.meta-list strong { color: var(--taupe); font-weight: 600; min-width: 7.5rem; flex: none; }

.reassurance {
  display: grid; gap: .6rem; margin-top: 1.75rem;
  padding: 1.15rem 1.3rem; background: var(--rose-clair);
  border-radius: var(--r-md); font-size: .88rem;
}
.reassurance div { display: flex; gap: .6rem; align-items: flex-start; }

.qty { display: flex; align-items: center; gap: .4rem; }
.qty input { width: 4.5rem; text-align: center; }

/* --- 11. Formulaires ---------------------------------------- */
.field { margin-bottom: 1.15rem; }
.field label, .label {
  display: block;
  font-size: .89rem; font-weight: 700;
  margin-bottom: .4rem; color: var(--brun);
}
.field .hint { display: block; font-weight: 400; color: var(--taupe); font-size: .82rem; margin-top: -.25rem; margin-bottom: .4rem; }

input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url],
input[type=password], input[type=date], input[type=datetime-local], input[type=search],
select, textarea {
  width: 100%;
  padding: .8rem 1rem;
  font-family: var(--texte); font-size: 1rem;
  color: var(--brun);
  background: var(--blanc);
  border: 1.5px solid var(--beige-fonce);
  border-radius: var(--r-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--vieux-rose);
  box-shadow: 0 0 0 3px rgba(185, 130, 135, .16);
}
textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%239A8178' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1.5 1.75 6 6.25l4.5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
select:hover:not(:disabled):not(:focus) { border-color: var(--rose); }
select:disabled { opacity: .6; cursor: not-allowed; }

/* Les listes déroulantes habillées (main.js) : le bouton reprend le
   champ, la liste ouverte reprend les cartes du site. La vraie liste
   reste dessous, invisible, pour le formulaire. */
.liste { position: relative; }
.liste--auto { display: inline-block; vertical-align: middle; }
.liste__native {
  position: absolute; inset: 0;
  width: 100% !important; height: 100%;
  opacity: 0; pointer-events: none;
}
.liste__bouton {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  width: 100%;
  padding: .8rem 1rem;
  font-family: var(--texte); font-size: 1rem; text-align: left;
  color: var(--brun);
  background: var(--blanc);
  border: 1.5px solid var(--beige-fonce);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.liste__bouton::after {
  content: '';
  flex: 0 0 auto;
  width: .5rem; height: .5rem;
  margin-top: -.25rem;
  border-right: 1.5px solid var(--taupe);
  border-bottom: 1.5px solid var(--taupe);
  transform: rotate(45deg);
  transition: transform var(--transition), margin var(--transition);
}
.liste.is-ouverte .liste__bouton::after { transform: rotate(-135deg); margin-top: .25rem; }
.liste__bouton:hover { border-color: var(--rose); }
.liste__bouton:focus-visible,
.liste.is-ouverte .liste__bouton {
  outline: none;
  border-color: var(--vieux-rose);
  box-shadow: 0 0 0 3px rgba(185, 130, 135, .16);
}
.liste__bouton:disabled { opacity: .6; cursor: not-allowed; }
.liste.is-invalide .liste__bouton { border-color: var(--alerte); }
.liste__valeur { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liste__valeur--vide { color: var(--taupe); }

.liste__choix {
  position: absolute; z-index: 40;
  width: max-content;
  top: calc(100% + .4rem); left: 0;
  min-width: 100%; max-width: calc(100vw - 2rem); max-height: 18.5rem;
  margin: 0; padding: .4rem;
  list-style: none;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--creme);
  border: 1px solid var(--beige-fonce);
  border-radius: var(--r-md);
  box-shadow: var(--ombre-carte);
  animation: liste-ouvre .18s cubic-bezier(.4, 0, .2, 1);
}
.liste--haut .liste__choix { top: auto; bottom: calc(100% + .4rem); }
.liste--droite .liste__choix { left: auto; right: 0; }
.liste__option {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem .8rem;
  border-radius: var(--r-sm);
  color: var(--brun); font-size: .97rem; line-height: 1.35;
  cursor: pointer;
}
.liste__option.is-actif { background: var(--rose-clair); }
.liste__option[aria-selected="true"] { font-weight: 700; color: var(--rose-fonce); }
.liste__option[aria-selected="true"]::after {
  content: '';
  flex: 0 0 auto;
  width: 1rem; height: 1rem;
  background: var(--vieux-rose);
  -webkit-mask: var(--trait-check) center / contain no-repeat;
          mask: var(--trait-check) center / contain no-repeat;
}
.liste__option--vide { color: var(--taupe); }
/* La même liste, posée sous une liste laissée en place (main.js). */
.liste__choix--volante { position: fixed; z-index: 1000; }
.liste__groupe {
  padding: .7rem .8rem .3rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--taupe);
}
.liste__groupe:first-child { padding-top: .35rem; }
.liste__option--groupe { padding-left: 1.3rem; }
.liste__option[aria-disabled="true"] { color: var(--taupe); opacity: .6; cursor: not-allowed; }
@keyframes liste-ouvre {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .liste__choix { animation: none; }
  .liste__bouton::after { transition: none; }
}

/* Les calendriers (calendrier.js) : le champ reste celui du site, avec
   notre petit calendrier ; la fenêtre qui s'ouvre reprend les cartes. */
input[type=date], input[type=datetime-local] { accent-color: var(--vieux-rose); }
.calendrier-actif input[type=date], .calendrier-actif input[type=datetime-local] {
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A8178' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 1.1rem;
  cursor: pointer;
}
.calendrier-actif input[type=date]:hover:not(:disabled):not(:focus),
.calendrier-actif input[type=datetime-local]:hover:not(:disabled):not(:focus) { border-color: var(--rose); }
.calendrier-actif input[type=date]::-webkit-calendar-picker-indicator,
.calendrier-actif input[type=datetime-local]::-webkit-calendar-picker-indicator { display: none; }

.calendrier {
  position: fixed; z-index: 1000;
  width: 19.5rem; max-width: calc(100vw - 1rem);
  padding: .9rem .9rem .75rem;
  font-family: var(--texte); color: var(--brun);
  background: var(--creme);
  border: 1px solid var(--beige-fonce);
  border-radius: var(--r-md);
  box-shadow: var(--ombre-carte);
  animation: liste-ouvre .18s cubic-bezier(.4, 0, .2, 1);
}
.calendrier__tete {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-bottom: .45rem;
}
.calendrier__mois { font-family: var(--titre); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.calendrier__fleche {
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem; padding: 0;
  background: transparent; border: 0; border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
}
.calendrier__fleche::before {
  content: '';
  width: .5rem; height: .5rem; margin-left: -.2rem;
  border-right: 1.5px solid var(--brun);
  border-bottom: 1.5px solid var(--brun);
  transform: rotate(-45deg);
}
.calendrier__fleche--avant::before { margin: 0 -.2rem 0 0; transform: rotate(135deg); }
.calendrier__fleche:hover { background: var(--rose-clair); }

.calendrier__grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: .12rem; }
.calendrier__jsem {
  padding: .3rem 0 .35rem;
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  text-align: center; text-decoration: none;
  color: var(--taupe);
}
.calendrier__jour {
  aspect-ratio: 1;
  padding: 0;
  font-family: var(--texte); font-size: .92rem; font-weight: 600;
  color: var(--brun);
  background: transparent; border: 0; border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.calendrier__jour--autre { color: var(--taupe); font-weight: 400; opacity: .6; }
.calendrier__jour:hover, .calendrier__jour.is-vise { background: var(--rose-clair); }
.calendrier__jour[aria-current="date"] { box-shadow: inset 0 0 0 1.5px var(--rose); }
.calendrier__jour[aria-pressed="true"] { background: var(--vieux-rose); color: #fff; font-weight: 800; opacity: 1; }
.calendrier__jour[aria-pressed="true"].is-vise { box-shadow: 0 0 0 2px var(--creme), 0 0 0 3.5px var(--vieux-rose); }
.calendrier__jour:disabled { background: none; opacity: .3; cursor: not-allowed; }

.calendrier__heure {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  margin-top: .65rem; padding-top: .65rem;
  border-top: 1px solid var(--beige-fonce);
  font-size: .89rem; font-weight: 700;
}
.calendrier__heure input { width: auto; padding: .45rem .75rem; accent-color: var(--vieux-rose); }
.calendrier__heure input::-webkit-calendar-picker-indicator { display: none; }

.calendrier__pied {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-top: .65rem; padding-top: .55rem;
  border-top: 1px solid var(--beige-fonce);
}
.calendrier__actions { display: flex; align-items: center; gap: .35rem; }
.calendrier__lien {
  padding: .4rem .6rem;
  font-family: var(--texte); font-size: .86rem; font-weight: 700;
  color: var(--rose-fonce);
  background: none; border: 0; border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--transition);
}
.calendrier__lien:hover { background: var(--rose-clair); }
@media (prefers-reduced-motion: reduce) {
  .calendrier { animation: none; }
}

/* Choisir une icône : une petite planche de pastilles. */
.icon-choice { display: flex; flex-wrap: wrap; gap: .5rem; }
.icon-choice__option { cursor: pointer; }
.icon-choice__option input { position: absolute; opacity: 0; width: 0; height: 0; }
.icon-choice__box {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-size: 1.4rem; color: var(--vieux-rose);
  background: var(--creme);
  border: 1px solid var(--beige-fonce);
  border-radius: var(--r-md);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.icon-choice__box--vide { font-size: 1rem; color: var(--taupe); }
.icon-choice__option:hover .icon-choice__box { transform: translateY(-2px); border-color: var(--rose); }
.icon-choice__option input:checked + .icon-choice__box {
  background: var(--rose-clair); border-color: var(--vieux-rose);
}
.icon-choice__option input:focus-visible + .icon-choice__box {
  outline: 3px solid var(--vieux-rose); outline-offset: 2px;
}

.field-error { display: block; color: var(--alerte); font-size: .84rem; margin-top: .3rem; font-weight: 600; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--alerte); }

.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; line-height: 1.55; cursor: pointer; }
.check input { margin-top: .28rem; width: 1.05rem; height: 1.05rem; accent-color: var(--vieux-rose); flex: none; }

.grid-2 { display: grid; gap: 0 1rem; }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* Note en étoiles : des boutons radio, habillés.
   Les étoiles sont posées à l'envers dans le HTML (5 → 1) pour que
   « l'étoile survolée et toutes celles d'avant » s'allument avec ~. */
.stars-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .15rem; }
.stars-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.stars-input label {
  font-size: 1.9rem; line-height: 1; color: #DED2C8; cursor: pointer;
  transition: color .15s ease, transform .15s ease;
}
.stars-input input:checked ~ label { color: var(--vieux-rose); }
/* Pendant le survol, seules les étoiles survolées s'allument. */
.stars-input:hover input:checked ~ label { color: #DED2C8; }
.stars-input label:hover,
.stars-input label:hover ~ label { color: var(--vieux-rose); }
.stars-input label:hover { transform: scale(1.12); }
.stars-input input:focus-visible + label { outline: 2px solid var(--vieux-rose); outline-offset: 3px; border-radius: 4px; }

/* --- 12. Panier et commande --------------------------------- */
.panel {
  background: var(--creme);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--ombre-douce);
}
.panel + .panel { margin-top: 1.5rem; }
.panel h2, .panel h3 { margin-top: 0; }

.cart-layout { display: grid; gap: 1.5rem; align-items: start; }

.cart-line {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--beige-fonce);
}
.cart-line:last-of-type { border-bottom: 0; }
.cart-line__img { width: 84px; height: 84px; border-radius: var(--r-sm); overflow: hidden; background: var(--beige-fonce); }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__img div { display: grid; place-items: center; height: 100%; font-size: 1.6rem; }
.cart-line__name { font-family: var(--titre); font-size: 1.2rem; }
.cart-line__name a { color: var(--brun); }
.cart-line__options { font-size: .84rem; color: var(--taupe); margin: .15rem 0 .55rem; }
.cart-line__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; }

.totals { list-style: none; padding: 0; margin: 0; }
.totals li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; font-size: .95rem; }
.totals li.total {
  border-top: 2px solid var(--beige-fonce); margin-top: .5rem; padding-top: .9rem;
  font-family: var(--titre); font-size: 1.5rem; color: var(--vieux-rose);
}

.empty-state { text-align: center; padding: clamp(2.5rem, 8vw, 4.5rem) 1rem; }
.empty-state__icon { font-size: 3.5rem; margin-bottom: .8rem; }

.steps { display: flex; gap: .5rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--taupe); }
.step__num {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--beige-fonce); color: var(--brun);
  font-size: .78rem; font-weight: 700;
}
.step.is-active { color: var(--vieux-rose); font-weight: 700; }
.step.is-active .step__num { background: var(--vieux-rose); color: #fff; }
.step__sep { color: var(--beige-fonce); }

.radio-cards { display: grid; gap: .7rem; }
.radio-card {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: 1rem 1.2rem;
  border: 2px solid var(--beige-fonce);
  border-radius: var(--r-md);
  cursor: pointer;
  background: var(--blanc);
  transition: border-color var(--transition), background var(--transition);
}
.radio-card:hover { border-color: var(--rose); }
.radio-card input { margin-top: .25rem; accent-color: var(--vieux-rose); }
.radio-card:has(input:checked) { border-color: var(--vieux-rose); background: var(--rose-clair); }
.radio-card strong { display: block; }
.radio-card span { font-size: .86rem; color: var(--taupe); }

/* --- 13. Ateliers -------------------------------------------- */
.workshop-card {
  display: grid; gap: 0;
  background: var(--creme);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--ombre-douce);
  margin-bottom: 2rem;
}
.workshop-card__media { background: var(--beige-fonce); }
.workshop-card__media img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.workshop-card__placeholder { display: grid; place-items: center; min-height: 220px; height: 100%;
  font-size: 3rem; background: linear-gradient(150deg, var(--rose), var(--beige-fonce)); }
.workshop-card__body { padding: clamp(1.5rem, 3vw, 2.2rem); }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }

/* L'accroche d'un atelier, sa phrase « ne ratez pas ça » et ses tarifs réduits. */
.workshop-accroche { font-family: var(--titre); font-size: 1.35rem; line-height: 1.35; color: var(--brun); margin: 0 0 .9rem; }
.workshop-fomo {
  margin: 0 0 1.1rem; padding: .7rem 1rem;
  border-left: 3px solid var(--vieux-rose); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--rose-clair); color: var(--rose-fonce); font-weight: 600;
}
.workshop-tarifs {
  margin: .5rem 0 1.25rem; padding: 1rem 1.25rem;
  background: var(--blanc); border: 1px solid var(--rose); border-radius: var(--r-md);
  box-shadow: var(--ombre-douce);
}
.workshop-tarifs__main { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .5rem; margin: 0; color: var(--brun); }
.workshop-tarifs__main strong { font-family: var(--titre); font-size: 2.4rem; font-weight: 700; line-height: 1.1; color: var(--rose-fonce); }
.workshop-tarifs__list { margin: .8rem 0 0; border-top: 1px solid var(--beige-fonce); }
.workshop-tarifs__list div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .55rem 0; border-bottom: 1px dashed var(--beige-fonce);
}
.workshop-tarifs__list div:last-child { border-bottom: 0; padding-bottom: 0; }
.workshop-tarifs__list dt { color: var(--brun); }
.workshop-tarifs__list dd { margin: 0; font-weight: 800; color: var(--brun); text-align: right; white-space: nowrap; }
.booking-detail { display: block; font-size: .82rem; color: var(--taupe); }
.tag {
  background: var(--rose-clair); color: var(--brun);
  font-size: .78rem; font-weight: 600;
  padding: .3rem .8rem; border-radius: var(--r-full);
}

.session-list { display: grid; gap: .7rem; margin-top: 1.25rem; }
.session {
  display: flex; flex-wrap: wrap; align-items: center; gap: .9rem;
  padding: .95rem 1.2rem;
  background: var(--blanc);
  border: 1.5px solid var(--beige-fonce);
  border-radius: var(--r-md);
}
.session--full { opacity: .62; }
.session__date { flex: 1 1 14rem; }
.session__date strong { display: block; font-size: .98rem; }
.session__date span { font-size: .84rem; color: var(--taupe); }
.session__places { font-size: .84rem; font-weight: 700; color: var(--succes); }
.session__places--low { color: var(--alerte); }
.session__fill { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; min-width: 8.5rem; }
.session__gauge {
  display: block; width: 100%; max-width: 9rem; height: .35rem;
  border-radius: var(--r-full); background: var(--beige-fonce); overflow: hidden;
}
.session__gauge > span { display: block; height: 100%; border-radius: inherit; background: var(--succes); }
.session__gauge--low > span { background: var(--alerte); }
.session__urgency { font-size: .78rem; font-weight: 600; color: var(--rose-fonce); }
.radio-card .session__gauge { margin-top: .4rem; }
.radio-card .session__urgency { display: block; margin-top: .25rem; }
.radio-card .session__places { display: inline; font-size: inherit; }
.booking-rush {
  margin: 0 0 1.1rem; padding: .6rem .9rem; border-radius: var(--r-sm);
  background: var(--rose-clair); color: var(--rose-fonce); font-size: .92rem;
}
@media (max-width: 600px) { .session__fill { align-items: flex-start; } }
.session__price { font-family: var(--titre); font-size: 1.2rem; color: var(--vieux-rose); font-weight: 600; }

.booking-box {
  background: var(--rose-clair);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

/* --- 14. Pages de contenu ------------------------------------ */
/* Sobre exprès : un titre, une phrase, et le contenu arrive sans scroller. */
.page-head {
  background: linear-gradient(180deg, var(--creme), var(--beige));
  padding: clamp(1.1rem, 3vw, 1.75rem) 0 clamp(.5rem, 1.5vw, .9rem);
  text-align: center;
}
.page-head .eyebrow { font-size: .72rem; margin-bottom: .2rem; }
.page-head h1 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin-bottom: .25rem; }
.page-head p { color: var(--taupe); font-size: .95rem; max-width: 44rem; margin-inline: auto; }
.page-head + .section { padding-top: 1rem; }

/* Ce qui rassure, mais qui passe après le contenu. */
.listing-more { margin-top: clamp(2.5rem, 6vw, 4rem); }
.listing-more__intro { text-align: center; color: var(--taupe); max-width: 40rem; margin: 0 auto 1.75rem; }

.breadcrumb { font-size: .82rem; color: var(--taupe); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--taupe); }
.breadcrumb a:hover { color: var(--vieux-rose); }

.prose { max-width: var(--largeur-texte); }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--beige-fonce); }
.prose th { color: var(--taupe); font-weight: 700; }

.bullets { list-style: none; padding: 0; display: grid; gap: .5rem; }
.bullets li { position: relative; padding-left: 1.6rem; }
.bullets li::before {
  content: ''; position: absolute; left: .1rem; top: .62em;
  width: .5rem; height: .5rem; border-radius: 50%;
  border: 1.5px solid var(--vieux-rose);
}

.confirmation-hero { text-align: center; padding: clamp(2.5rem, 7vw, 4rem) 0 1rem; }
.confirmation-hero__icon { font-size: 3.5rem; margin-bottom: .5rem; }
.ref-pill {
  display: inline-block; background: var(--rose-clair); color: var(--brun);
  padding: .45rem 1.1rem; border-radius: var(--r-full);
  font-weight: 700; letter-spacing: .05em;
}

/* --- 15. Pied de page ---------------------------------------- */
.site-footer {
  background: var(--brun);
  color: var(--beige);
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
  margin-top: clamp(3rem, 8vw, 5rem);
}
.site-footer a { color: var(--rose); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2rem; }
.site-footer h4 {
  font-family: var(--texte); font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--rose); margin-bottom: .9rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .93rem; }
.footer-links a { color: var(--beige); }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(243, 229, 216, .12);
  transition: background var(--transition);
}
.socials a:hover { background: var(--vieux-rose); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 229, 216, .16);
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between;
  font-size: .82rem; color: rgba(243, 229, 216, .68);
}

/* --- 16. Pagination ------------------------------------------ */
.pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 .7rem;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  background: var(--creme); color: var(--brun);
  font-size: .9rem; font-weight: 600;
  box-shadow: var(--ombre-douce);
}
.pagination a:hover { background: var(--rose-clair); color: var(--brun); }
.pagination .is-current { background: var(--vieux-rose); color: #fff; }

/* --- 17. Utilitaires ----------------------------------------- */
.text-center { text-align: center; }
.text-muted  { color: var(--taupe); }
.text-small  { font-size: .86rem; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.flex-between { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.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;
}

/* --- 18. Points de rupture ----------------------------------- */
@media (min-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .universe     { grid-template-columns: repeat(3, 1fr); }
  .promises     { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .grid-2       { grid-template-columns: 1fr 1fr; }
  .newsletter form { flex-wrap: nowrap; }
}

@media (min-width: 900px) {
  .product-grid   { grid-template-columns: repeat(3, 1fr); }
  .promises       { grid-template-columns: repeat(4, 1fr); }
  .testimonials   { grid-template-columns: repeat(4, 1fr); }
  .hero__grid     { grid-template-columns: 1.05fr .95fr; }
  .story          { grid-template-columns: .9fr 1.1fr; }
  .product-layout { grid-template-columns: 1.05fr .95fr; }
  .cart-layout    { grid-template-columns: 1.6fr .9fr; }
  .cart-layout .panel + .panel { margin-top: 0; }
  .workshop-card  { grid-template-columns: .8fr 1.2fr; }
  .footer-grid    { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .cart-line      { grid-template-columns: 96px 1fr auto; align-items: center; }
}

@media (max-width: 899px) {
  .burger { display: grid; place-items: center; }
  .nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(22rem, 86vw);
    flex-direction: column; align-items: stretch;
    background: var(--creme);
    padding: 5.5rem 1.5rem 2rem;
    box-shadow: var(--ombre-forte);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 80;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { padding: .9rem 1rem; font-size: 1.05rem; border-radius: var(--r-md); }
  .nav__close { position: absolute; top: 1.2rem; right: 1.2rem; background: var(--rose-clair);
    border: 0; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; color: var(--brun); }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(111, 85, 75, .45);
    opacity: 0; pointer-events: none; transition: opacity var(--transition); z-index: 70;
  }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
}

@media (min-width: 900px) {
  .nav__close { display: none; }
}

/* --- 19. Impression ------------------------------------------ */
/* Huit entrées au menu : sur les écrans moyens on resserre, pour que
   chaque libellé tienne sur une ligne. */
@media (min-width: 900px) and (max-width: 1239px) {
  .nav { gap: .1rem; }
  .nav a { padding: .5rem .5rem; font-size: .86rem; }
}
@media (min-width: 1080px) {
  .nav a { white-space: nowrap; }
}

@media print {
  .site-header, .site-footer, .announce, .btn, .flash-zone { display: none !important; }
  body { background: #fff; }
  .panel { box-shadow: none; border: 1px solid #ddd; }
}

/* --- 20. Mouvement réduit ------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.text-right { text-align: right; }

/* --- 21. Kits, tutos et saisons ------------------------------ */

/* Filtres (kits, tutos) */
.filters { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-bottom: 2rem; }
.filters__group { display: flex; flex-direction: column; gap: .5rem; }
.filters__label {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--taupe); font-weight: 700;
}

/* Compte à rebours d'une saison */
.countdown {
  display: inline-block; margin: .75rem 0 0;
  background: var(--rose-clair); color: var(--rose-fonce);
  padding: .5rem 1.1rem; border-radius: var(--r-full);
  font-weight: 700; font-size: .92rem;
}
.countdown--urgent { background: var(--alerte); color: #fff; }

/* Grilles */
.kit-grid, .tutorial-grid, .season-grid { display: grid; gap: 1.5rem; }

/* --- Carte d'un kit --- */
.kit-card {
  background: var(--blanc); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--ombre-douce); display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.kit-card:hover { transform: translateY(-5px); box-shadow: var(--ombre-carte); }
.kit-card.is-out { opacity: .72; }
.kit-card__media { position: relative; display: block; background: var(--beige-fonce); }
.kit-card__media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; }
.kit-card__placeholder {
  aspect-ratio: 4 / 3; display: grid; place-items: center;
  font-size: 2.5rem; background: var(--beige-fonce);
}
.kit-card__body { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.kit-card__meta {
  display: flex; flex-wrap: wrap; gap: .4rem .75rem;
  font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--taupe);
}
.kit-card__title { font-family: var(--titre); font-size: 1.25rem; margin: .35rem 0; }
.kit-card__title a { color: var(--brun); }
.kit-card__title a:hover { color: var(--vieux-rose); }
.kit-card__desc { font-size: .89rem; color: var(--taupe); flex: 1; }
.kit-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; margin-top: 1rem;
}
.badge--urgent { background: var(--alerte); color: #fff; }

/* --- Carte d'un tuto --- */
.tutorial-card {
  background: var(--blanc); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--ombre-douce); display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.tutorial-card:hover { transform: translateY(-5px); box-shadow: var(--ombre-carte); }
.tutorial-card__media { position: relative; display: block; background: var(--beige-fonce); }
.tutorial-card__media img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; display: block; }
.tutorial-card__placeholder {
  aspect-ratio: 16 / 9; display: grid; place-items: center;
  font-size: 2.5rem; background: var(--beige-fonce);
}
.tutorial-card__body { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.tutorial-card__meta {
  display: flex; flex-wrap: wrap; gap: .4rem .75rem;
  font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--taupe);
}
.tutorial-card__title { font-family: var(--titre); font-size: 1.2rem; margin: .35rem 0; }
.tutorial-card__title a { color: var(--brun); }
.tutorial-card__title a:hover { color: var(--vieux-rose); }
.tutorial-card__desc { font-size: .89rem; color: var(--taupe); flex: 1; }
.tutorial-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; margin-top: 1rem;
}

/* --- Le tuto gratuit mis en avant --- */
.tutorial-hero {
  display: grid; gap: 0; background: var(--blanc);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--ombre-carte);
}
.tutorial-hero__media { position: relative; background: var(--beige-fonce); }
.tutorial-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 15rem; }
.tutorial-hero__placeholder { min-height: 15rem; display: grid; place-items: center; font-size: 3.5rem; }
.tutorial-hero__badge { position: absolute; top: 1rem; left: 1rem; }
.tutorial-hero__body { padding: clamp(1.5rem, 4vw, 2.5rem); }
.tutorial-hero__body h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: .3rem 0 .75rem; }

/* --- Page d'un tuto --- */
.tutorial-layout { display: grid; gap: 2rem; }
.tutorial-main__lead { font-size: 1.05rem; color: var(--brun); }
.tutorial-main__media { border-radius: var(--r-lg); overflow: hidden; margin: 1.5rem 0; }
.tutorial-main__media img { width: 100%; display: block; }
.tutorial-aside { display: flex; flex-direction: column; gap: 1.25rem; }

.video-frame {
  position: relative; aspect-ratio: 16 / 9; margin: 1.5rem 0;
  border-radius: var(--r-lg); overflow: hidden; background: var(--brun);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.tutorial-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.tutorial-steps li {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--blanc); border-radius: var(--r-md);
  padding: 1.1rem 1.25rem; box-shadow: var(--ombre-douce);
}
.tutorial-steps__num {
  flex: 0 0 2rem; height: 2rem; border-radius: 50%;
  background: var(--rose-clair); color: var(--rose-fonce);
  display: grid; place-items: center; font-weight: 800; font-size: .9rem;
}

.tutorial-locked {
  margin-top: 1.25rem; text-align: center;
  background: var(--rose-clair); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.tutorial-locked__icon { font-size: 2rem; }
.tutorial-locked h3 { font-family: var(--titre); font-size: 1.35rem; margin: .5rem 0; }

/* --- Saisons --- */
.season-hero {
  display: grid; gap: 0; background: var(--blanc);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--ombre-carte);
  border-top: 4px solid var(--season-color, var(--vieux-rose));
}
.season-hero__media { background: var(--beige-fonce); }
.season-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 15rem; }
.season-hero__placeholder { min-height: 15rem; display: grid; place-items: center; font-size: 4rem; }
.season-hero__body { padding: clamp(1.5rem, 4vw, 2.5rem); }
.season-hero__body h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: .3rem 0 .5rem; }
.season-hero__tagline { font-family: var(--titre); font-size: 1.2rem; color: var(--vieux-rose); }

.season-card {
  background: var(--blanc); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--ombre-douce); display: flex; flex-direction: column;
  border-top: 4px solid var(--season-color, var(--vieux-rose));
  transition: transform var(--transition), box-shadow var(--transition);
}
.season-card:hover { transform: translateY(-5px); box-shadow: var(--ombre-carte); }
.season-card__media { display: block; background: var(--beige-fonce); }
.season-card__media img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; display: block; }
.season-card__placeholder { aspect-ratio: 3 / 2; display: grid; place-items: center; font-size: 3rem; }
.season-card__body { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.season-card__title { font-family: var(--titre); font-size: 1.3rem; margin: 0 0 .25rem; }
.season-card__title a { color: var(--brun); }
.season-card__title a:hover { color: var(--vieux-rose); }
.season-card__desc { font-size: .89rem; color: var(--taupe); flex: 1; margin-top: .6rem; }
.season-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; margin-top: 1rem;
}

.season-banner {
  background: var(--rose-clair); text-align: center;
  padding: clamp(2rem, 6vw, 3.5rem) 0 clamp(1.75rem, 4vw, 2.5rem);
  border-bottom: 4px solid var(--season-color, var(--vieux-rose));
}
.season-banner .breadcrumb { justify-content: center; margin-bottom: 1.25rem; }
.season-banner__emoji { font-size: 2.75rem; display: block; }
.season-banner h1 { margin: .4rem 0 .5rem; }
.season-banner__tagline { font-family: var(--titre); font-size: 1.25rem; color: var(--rose-fonce); }

/* --- Bon cadeau --- */
.giftcard-layout { display: grid; gap: 1.75rem; align-items: start; }
.giftcard-visual { display: grid; place-items: center; }
.giftcard-visual__card {
  width: 100%; max-width: 24rem; aspect-ratio: 8 / 5;
  background: linear-gradient(140deg, var(--rose-clair), var(--beige-fonce));
  border-radius: var(--r-lg); box-shadow: var(--ombre-carte);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .35rem; color: var(--brun); text-align: center; padding: 1.5rem;
}
.giftcard-visual__mark { font-size: 2.25rem; }
.giftcard-visual__label {
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe);
}
.giftcard-visual__code {
  font-family: var(--titre); font-size: 1.4rem; letter-spacing: .12em; color: var(--rose-fonce);
}

@media (min-width: 640px) {
  .kit-grid, .tutorial-grid, .season-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .kit-grid, .tutorial-grid, .season-grid { grid-template-columns: repeat(3, 1fr); }
  .tutorial-hero, .season-hero { grid-template-columns: 1fr 1fr; }
  .tutorial-layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem; }
  .giftcard-layout { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Lot 6 — Saisons, kits, tutos et offres
   ============================================================ */

/* --- Utilitaires complétés -------------------------------- */
.mb-4 { margin-bottom: 2rem; }
.text-alert   { color: var(--alerte); }
.text-success { color: var(--succes); }

/* Liste à puces cochées : « tout est fourni », point par point. */
.bullets--check { list-style: none; padding-left: 0; }
.bullets--check li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: .45rem;
}
.bullets--check li::before {
  content: '';
  position: absolute;
  left: 0; top: .42em;
  width: .95rem; height: .95rem;
  background: var(--succes);
  -webkit-mask: var(--trait-check) center / contain no-repeat;
          mask: var(--trait-check) center / contain no-repeat;
}

.numbered { padding-left: 1.2rem; margin: 0 0 1rem; }
.numbered li { margin-bottom: .7rem; }

/* --- Le ruban de saison, tout en haut du site -------------- */
.season-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: .6rem 1.25rem;
  background: var(--season-color, var(--vieux-rose));
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
}
.season-ribbon:hover { color: #fff; filter: brightness(1.06); }
.season-ribbon__emoji { font-size: 1.1rem; }
.season-ribbon__text  { line-height: 1.35; }
.season-ribbon__count {
  flex-shrink: 0;
  padding: .15rem .6rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .22);
  font-variant-numeric: tabular-nums;
}
.season-ribbon.is-soon .season-ribbon__count {
  background: #fff;
  color: var(--season-color, var(--vieux-rose));
}

@media (max-width: 560px) {
  .season-ribbon { font-size: .82rem; padding: .5rem .8rem; }
}

/* --- Le compte à rebours, partout ailleurs ----------------- */
.countdown {
  display: inline-block;
  margin: .6rem 0 0;
  padding: .35rem 1rem;
  border-radius: var(--r-full);
  background: var(--rose-clair);
  color: var(--rose-fonce);
  font-size: .88rem;
  font-weight: 700;
}
.countdown--urgent { background: var(--vieux-rose); color: #fff; }

/* --- La saison, sur l'accueil ------------------------------ */
.season-home {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--season-color, var(--rose)) 14%, var(--beige)) 0%,
                            var(--beige) 100%);
}

/* --- Le calendrier : la saison en cours -------------------- */
.season-hero {
  display: grid;
  gap: 0;
  background: var(--creme);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--ombre-carte);
  border-top: 5px solid var(--season-color, var(--vieux-rose));
}
.season-hero__media { background: var(--beige-fonce); min-height: 14rem; }
.season-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.season-hero__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 14rem;
  font-size: 4rem;
  background: color-mix(in srgb, var(--season-color, var(--rose)) 18%, var(--creme));
}
.season-hero__body { padding: clamp(1.5rem, 4vw, 2.5rem); }
.season-hero__tagline {
  font-family: var(--titre);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--vieux-rose);
}

@media (min-width: 860px) {
  .season-hero { grid-template-columns: 1fr 1.2fr; }
}

/* --- Le calendrier : les autres saisons -------------------- */
.season-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}
.season-card {
  display: flex;
  flex-direction: column;
  background: var(--creme);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--ombre-douce);
  border-top: 4px solid var(--season-color, var(--vieux-rose));
  transition: transform var(--transition), box-shadow var(--transition);
}
.season-card:hover { transform: translateY(-4px); box-shadow: var(--ombre-carte); }
.season-card__media { display: block; aspect-ratio: 4 / 3; background: var(--beige-fonce); }
.season-card__media img { width: 100%; height: 100%; object-fit: cover; }
.season-card__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 3rem;
  background: color-mix(in srgb, var(--season-color, var(--rose)) 16%, var(--creme));
}
.season-card__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; gap: .25rem; }
.season-card__title { font-size: 1.25rem; margin: 0; }
.season-card__desc  { font-size: .9rem; color: var(--taupe); margin: .4rem 0 0; }
.season-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1rem;
}

/* --- Les cartes de kit ------------------------------------- */
.kit-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}
.kit-grid--wide { grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); }

.kit-card, .tuto-card {
  display: flex;
  flex-direction: column;
  background: var(--creme);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--ombre-douce);
  transition: transform var(--transition), box-shadow var(--transition);
}
.kit-card:hover, .tuto-card:hover { transform: translateY(-4px); box-shadow: var(--ombre-carte); }
.kit-card.is-out { opacity: .72; }

.kit-card__media, .tuto-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--beige-fonce);
}
.kit-card__media img, .tuto-card__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.kit-card__placeholder, .tuto-card__placeholder {
  display: grid; place-items: center; height: 100%; font-size: 2.6rem;
}

.kit-card__body, .tuto-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.25rem 1.25rem;
}
.kit-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .76rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: .45rem;
}
.kit-card__meta span:not(:last-child)::after { content: " ·"; }
.kit-card__title { font-size: 1.2rem; margin: 0 0 .4rem; }
.kit-card__desc  { font-size: .9rem; color: var(--taupe); margin: 0 0 1rem; }
.kit-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
}
.kit-card__foot s { margin-left: .4rem; }

/* --- Badges complémentaires -------------------------------- */
.badge--urgent { background: var(--alerte); color: #fff; }
.badge--free   { background: var(--succes); color: #fff; }
.badge--season {
  background: var(--season-color, var(--vieux-rose));
  color: #fff;
}
.badge--season:hover { color: #fff; filter: brightness(1.08); }

/* --- Filtres du site public -------------------------------- */
.filters { margin-bottom: 1.75rem; }
.filters__group {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: .7rem;
}
.filters__label {
  min-width: 5.5rem;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* --- Ce qu'il y a dans la boîte ---------------------------- */
.kit-contents {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-md);
  background: var(--creme);
  border: 1.5px dashed var(--beige-fonce);
}
.kit-contents h2 { font-size: 1.2rem; margin-bottom: .8rem; }
.kit-contents__foot { font-size: .86rem; color: var(--taupe); margin-top: .8rem; }
.kit-contents__extras { font-size: 1rem; margin: 1rem 0 .5rem; }
.kit-warning { display: flex; gap: .5rem; align-items: flex-start; font-size: .86rem; color: var(--brun); margin: .8rem 0 0; }
.kit-card__fomo { font-size: .84rem; font-weight: 600; color: var(--rose-fonce); margin: -.5rem 0 1rem; }

/* --- Coloris en pastilles ---------------------------------- */
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: .35rem; }
.swatches__chosen { flex-basis: 100%; font-size: .88rem; color: var(--taupe); min-height: 1.3em; }
.swatch { position: relative; cursor: pointer; line-height: 0; }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatch__dot {
  display: block; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(111, 85, 75, .18), 0 0 0 3px var(--creme), 0 0 0 4px var(--beige-fonce);
  transition: box-shadow var(--transition), transform var(--transition);
}
.swatch:hover .swatch__dot { transform: scale(1.06); }
.swatch input:checked + .swatch__dot {
  box-shadow: inset 0 0 0 1px rgba(111, 85, 75, .18), 0 0 0 3px var(--creme), 0 0 0 5px var(--vieux-rose);
}
.swatch input:focus-visible + .swatch__dot { outline: 2px solid var(--vieux-rose); outline-offset: 5px; }
.swatch.is-out { cursor: not-allowed; }
.swatch.is-out .swatch__dot {
  opacity: .45;
  background: linear-gradient(135deg, transparent 46%, var(--brun) 47%, var(--brun) 53%, transparent 54%), var(--swatch);
}

.card-swatches { display: flex; align-items: center; gap: .3rem; margin-top: .7rem; }
.card-swatches__dot {
  width: .95rem; height: .95rem; border-radius: 50%; background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(111, 85, 75, .2);
}
.card-swatches__count { font-size: .78rem; color: var(--taupe); margin-left: .25rem; }

/* --- Offre en quantité (« 2 achetées, la 3e offerte ») ------ */
.offer-banner {
  display: flex; gap: .9rem; align-items: flex-start;
  margin: 0 0 1.2rem; padding: .95rem 1.15rem;
  background: var(--rose-clair); border: 1.5px dashed var(--vieux-rose);
  border-radius: var(--r-md); font-size: .9rem; color: var(--brun);
}
.offer-banner__icon {
  flex: none; display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--vieux-rose); color: #fff; font-size: 1.15rem;
}
.offer-banner__eyebrow { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-fonce); }
.offer-banner__title { display: block; font-family: var(--titre); font-size: 1.35rem; line-height: 1.2; margin-bottom: .2rem; }
.badge--offer { background: var(--rose-fonce); color: #fff; }
.offer-note {
  display: flex; gap: .6rem; align-items: flex-start;
  margin-bottom: 1rem; padding: .7rem 1rem;
  background: var(--rose-clair); border-radius: var(--r-sm);
  font-size: .9rem; color: var(--brun);
}
.offer-note a { white-space: nowrap; font-weight: 600; }
.offer-free { font-size: .8rem; font-weight: 700; color: var(--succes); }

.saving {
  display: inline-block;
  margin-left: .6rem;
  padding: .1rem .6rem;
  border-radius: var(--r-full);
  background: var(--succes);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  vertical-align: middle;
}

/* --- Le lien vers le tuto, sur une fiche kit --------------- */
.tuto-link {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 1.25rem;
  padding: .9rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--rose-clair);
  color: var(--brun);
}
.tuto-link:hover { color: var(--brun); filter: brightness(.98); }
.tuto-link > span:first-child { font-size: 1.5rem; }
.tuto-link strong { display: block; font-size: .95rem; }
.tuto-link__go { margin-left: auto; color: var(--vieux-rose); font-weight: 700; font-size: .85rem; }

/* Un kit peut ouvrir plusieurs tutos : le titre se dit une fois,
   au-dessus de la liste, et chaque lien se serre contre le suivant. */
.tuto-links__label {
  margin: 1.25rem 0 -.6rem; font-family: var(--titre);
  font-size: .95rem; color: var(--brun);
}

.tuto-links__label + .tuto-link { margin-top: .85rem; }
.tuto-link + .tuto-link { margin-top: .5rem; }

/* Les kits qui ouvrent un tuto, listés dans la colonne de droite.
   Chaque ligne est cliquable en entier : le nom à gauche, le prix à
   droite, comme sur un menu. */
.kit-choices { list-style: none; margin: 0; padding: 0; }

.kit-choices li + li { border-top: 1px solid rgba(111, 85, 75, .12); }

.kit-choices a {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: .75rem; padding: .55rem 0; color: var(--brun); font-size: .92rem;
}

.kit-choices a:hover { color: var(--rose-fonce); }
.kit-choices .price { margin: 0; font-size: .9rem; white-space: nowrap; }

/* Dans le bloc « ce que vous obtenez », la liste respire un peu
   plus : c'est là qu'on choisit, pas seulement qu'on consulte. */
.kit-choices--offer { max-width: 26rem; margin: 1.25rem auto 0; text-align: left; }
.kit-choices--offer a { padding: .7rem .2rem; }

/* --- La page d'un tuto ------------------------------------- */
.tutorial-layout { display: grid; gap: 2rem; align-items: start; }

@media (min-width: 960px) {
  .tutorial-layout { grid-template-columns: minmax(0, 1fr) 20rem; }
}

.tutorial-main__lead {
  font-size: 1.1rem;
  color: var(--taupe);
  max-width: var(--largeur-texte);
}
.tutorial-main__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--ombre-carte); }
.tutorial-main__media img { width: 100%; }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--brun);
  box-shadow: var(--ombre-carte);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.tutorial-steps { list-style: none; padding: 0; margin: 0; counter-reset: etape; }
.tutorial-steps li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--beige-fonce);
}
.tutorial-steps li:last-child { border-bottom: 0; }
.tutorial-steps__num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--r-full);
  background: var(--rose-clair);
  color: var(--rose-fonce);
  font-weight: 800;
  font-size: .9rem;
}
.tutorial-steps li > div { min-width: 0; }
.tutorial-steps__title {
  font-family: var(--titre); font-size: 1.15rem;
  margin: .1rem 0 .4rem;
}
.tutorial-steps__points { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 .6rem; }
.tag--sm { font-size: .72rem; padding: .18rem .6rem; }
.tutorial-rows {
  margin: .8rem 0 0;
  display: grid; grid-template-columns: auto 1fr;
  gap: .3rem .9rem;
  font-size: .94rem;
}
.tutorial-rows dt {
  font-weight: 800; color: var(--rose-fonce); white-space: nowrap;
}
.tutorial-rows dd { margin: 0; }
.tutorial-rows__closing { margin: .7rem 0 0; font-style: italic; }
/* Le nom d'une pièce, au-dessus de ses rangs. */
.tutorial-rows__piece { margin: 1rem 0 0; color: var(--vieux-rose); }
.tutorial-rows dd em { color: var(--taupe); }

.tutorial-steps__tip {
  display: flex; gap: .45rem; align-items: baseline;
  margin: .7rem 0 0;
  background: var(--creme); border-radius: var(--r-sm);
  padding: .55rem .8rem; font-size: .9rem;
}
.tutorial-steps__photos {
  display: grid; gap: .5rem; margin-top: .8rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}
.tutorial-steps__photos img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-sm); background: var(--beige-fonce);
}
.prose--tight p { margin-bottom: .6em; }
.prose--tight p:last-child { margin-bottom: 0; }

.tutorial-locked {
  margin-top: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: var(--r-lg);
  background: var(--creme);
  border: 1.5px dashed var(--beige-fonce);
}
.tutorial-locked__icon { font-size: 2rem; }
.tutorial-locked h3 { margin: .5rem 0 .3rem; }
.tutorial-locked p  { max-width: 30rem; margin-inline: auto; }

/* Ce qu'on obtient en payant : une liste, pas un mur. Elle se lit
   alignée à gauche même dans un bloc centré — une liste centrée ne
   se parcourt pas du regard. */
.tutorial-locked__list {
  max-width: 24rem;
  margin: .8rem auto 1.2rem;
  text-align: left;
}

/* Le mot d'accueil d'une personne qui a payé : discret, une fois en
   haut de page, et jamais pour les autres. */
.tutorial-unlocked {
  display: flex; align-items: center; gap: .5rem;
  margin: 0 0 1.2rem;
  padding: .7rem 1.1rem;
  border-radius: var(--r-full);
  background: var(--rose-clair);
  font-size: .92rem;
}

/* Le lexique du tuto : un point par ligne, sa définition en dessous. */
.lexicon { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.lexicon li { display: grid; gap: .15rem; }
.lexicon span { color: var(--taupe); font-size: .9rem; }
/* Le symbole du point, posé devant son nom : c'est un repère, pas un
   ornement — il prend l'accent de la maison pour se détacher du texte. */
.lexicon .stitch-sym,
.tutorial-steps__points .stitch-sym { color: var(--vieux-rose); }

/* --- Le bon cadeau ----------------------------------------- */
.giftcard-layout { display: grid; gap: 2rem; align-items: start; }

@media (min-width: 900px) {
  .giftcard-layout { grid-template-columns: 1fr 1fr; }
}

.giftcard-visual {
  display: grid;
  gap: .4rem;
  place-items: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, var(--rose) 0%, var(--vieux-rose) 100%);
  color: #fff;
  text-align: center;
  box-shadow: var(--ombre-carte);
}
.giftcard-visual__label {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .9;
}
.giftcard-visual__mark { font-size: 2.6rem; }
.giftcard-visual__name { font-family: var(--titre); font-size: 1.5rem; }
.giftcard-visual__code {
  margin-top: .5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
  font-size: .95rem;
  opacity: .85;
}

/* --- Panier : bon cadeau et emballage ---------------------- */
.cart-extra { margin-top: 1.25rem; }
.cart-extra h3 { font-size: 1.1rem; }

.giftcard-applied {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1rem;
  border-radius: var(--r-sm);
  background: var(--rose-clair);
}
.giftcard-applied > span:first-child { font-size: 1.4rem; }
.giftcard-applied strong { display: block; font-family: ui-monospace, Menlo, monospace; }
.giftcard-applied .text-small { display: block; }

.totals__discount, .totals__discount span { color: var(--succes); }

/* Carte de tuto (partials/tutorial-card.php) et bandeau de saison */
.mb-4 { margin-bottom: 2rem; }

.tuto-card {
  background: var(--blanc); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--ombre-douce); display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.tuto-card:hover { transform: translateY(-5px); box-shadow: var(--ombre-carte); }
.tuto-card.is-free { border-top: 4px solid var(--vieux-rose); }
.tuto-card__media { position: relative; display: block; background: var(--beige-fonce); }
.tuto-card__media img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; display: block; }
.tuto-card__placeholder {
  aspect-ratio: 16 / 9; display: grid; place-items: center;
  font-size: 2.5rem; background: var(--beige-fonce);
}
.tuto-card__body { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.tuto-card__body h3 { font-family: var(--titre); font-size: 1.2rem; margin: .35rem 0; }
.tuto-card__body h3 a { color: var(--brun); }
.tuto-card__body h3 a:hover { color: var(--vieux-rose); }

.season-ribbon__text { display: inline-block; }
.season-ribbon__count { font-size: .85rem; opacity: .8; }

/* --- L'appel vers la fiche imprimable d'un tuto --------------- */
.fiche-callout {
  background: var(--rose-clair);
  border-radius: var(--r-md);
  padding: 1.3rem 1.5rem;
}
.fiche-callout .btn { margin: .3rem .4rem .3rem 0; }

/* --- Le mode d'emploi du bon cadeau -------------------------- */
/* Deux colonnes qui se lisent en parallèle : celle qui offre à
   gauche, celle qui reçoit à droite. Sur mobile elles s'empilent,
   et la teinte rose suffit à dire qu'on a changé de personne. */
.guide-voies { display: grid; gap: 1.5rem; align-items: start; }

.guide-voie + .guide-voie { margin-top: 0; }
.guide-voie--recevoir { background: var(--rose-clair); }

.guide-etapes {
  list-style: none;
  counter-reset: guide-etape;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.3rem;
}
/* Le chiffre tient la colonne de gauche sur toute la hauteur de
   l'étape ; le titre et le texte s'empilent dans celle de droite.
   Les trois sont placés explicitement : laissé à l'auto-placement,
   le texte retombe sous le chiffre, dans 28 px de large. */
.guide-etapes li {
  counter-increment: guide-etape;
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  column-gap: .9rem;
  row-gap: .15rem;
  align-items: start;
}
.guide-etapes li::before {
  content: counter(guide-etape);
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 1.75rem; height: 1.75rem;
  display: grid; place-items: center;
  border: 1.5px solid var(--vieux-rose);
  border-radius: 50%;
  font-family: var(--titre);
  font-size: 1.05rem;
  color: var(--rose-fonce);
}
.guide-etapes strong { grid-column: 2; grid-row: 1; display: block; }
.guide-etapes span {
  grid-column: 2;
  grid-row: 2;
  display: block;
  color: var(--taupe);
  font-size: .93rem;
}

.guide-solde h2 { font-size: 1.5rem; display: flex; align-items: center; gap: .6rem; }
.guide-solde h2 .icon { color: var(--vieux-rose); flex: none; }
.guide-solde p { color: var(--taupe); }
.guide-solde p + p { margin-top: .8rem; }

/* Les questions : des dépliants, pour que la page reste courte
   quand on cherche une seule réponse. */
.guide-questions { display: grid; }

.guide-question {
  border-top: 1px solid var(--beige-fonce);
  padding: .3rem 0;
}
.guide-question:last-child { border-bottom: 1px solid var(--beige-fonce); }

.guide-question > summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2rem 1rem 0;
  position: relative;
  font-family: var(--titre);
  font-size: 1.2rem;
  color: var(--brun);
}
.guide-question > summary::-webkit-details-marker { display: none; }
.guide-question > summary:hover { color: var(--vieux-rose); }

.guide-question > summary::after {
  content: '+';
  position: absolute;
  right: .25rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--texte);
  font-size: 1.25rem;
  color: var(--vieux-rose);
  transition: transform var(--transition);
}
.guide-question[open] > summary::after { content: '−'; }

.guide-question p {
  color: var(--taupe);
  font-size: .93rem;
  margin: 0 0 1rem;
  padding-right: 2rem;
}
.guide-question p + p { margin-top: -.5rem; }
.guide-question code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: .88em;
  background: var(--rose-clair);
  padding: .12em .45em;
  border-radius: 4px;
  color: var(--brun);
}

/* Le raccourci vers le mode d'emploi, posé là où la question se
   pose vraiment : sous le champ du code, dans le panier. */
.guide-lien {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.guide-lien .icon { flex: none; }

@media (min-width: 768px) {
  .guide-voies { grid-template-columns: 1fr 1fr; }
}

/* Sur téléphone, les filtres tiennent sur une ligne qu'on fait glisser :
   empilés, ils repoussaient les kits hors de l'écran. */
@media (max-width: 640px) {
  .filters .chips,
  .shop-toolbar .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filters .chips::-webkit-scrollbar,
  .shop-toolbar .chips::-webkit-scrollbar { display: none; }
  .filters .chip,
  .shop-toolbar .chip { flex: 0 0 auto; white-space: nowrap; }
  .filters { margin-bottom: 1rem; }
  .filters__group { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: .3rem; margin-bottom: .5rem; }

  /* Boutique : la recherche et son bouton sur une ligne, les deux listes sur la suivante. */
  .shop-toolbar { gap: .6rem; }
  .shop-toolbar form { width: 100%; gap: .5rem; }
  .shop-toolbar form input[type="search"] { order: 1; flex: 1 1 calc(100% - 7rem); min-width: 0; width: auto !important; }
  .shop-toolbar form button { order: 2; }
  .shop-toolbar form select { order: 3; flex: 1 1 40%; min-width: 0; width: auto !important; }
  .shop-toolbar form .liste { order: 3; flex: 1 1 40%; min-width: 0; }
}

/* ==========================================================================
   Mon espace
   ========================================================================== */
.space-link { margin-right: .15rem; }

.space-door { max-width: 30rem; margin-inline: auto; }
.space-door h1 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.space-code {
  font-size: 1.6rem; letter-spacing: .3em; text-align: center; font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.space-head { padding-bottom: .9rem; }

/* Les cinq rubriques : une rangée de pastilles sur grand écran, une
   barre fixée en bas sur téléphone — sous le pouce, comme une application. */
.space-tabs { background: var(--beige); border-bottom: 1px solid var(--beige-fonce); }
.space-tabs__inner { display: flex; gap: .4rem; justify-content: center; padding-block: .1rem .7rem; }
.space-tabs a {
  display: inline-flex; align-items: center; gap: .45rem; flex: none;
  padding: .5rem 1.05rem; border-radius: var(--r-full);
  color: var(--brun); font-weight: 700; font-size: .88rem; text-decoration: none;
  background: var(--creme); transition: background var(--transition), color var(--transition);
}
.space-tabs__icon { position: relative; display: inline-flex; }
.space-tabs__icon .icon { width: 1.2em; height: 1.2em; }
.space-tabs a:hover { background: var(--rose-clair); }
.space-tabs a.is-active { background: var(--vieux-rose); color: #fff; }
.space-tabs__badge {
  position: absolute; top: -.5rem; right: -.7rem;
  background: var(--alerte); color: #fff; border-radius: var(--r-full);
  font-size: .66rem; line-height: 1.15rem; min-width: 1.15rem; padding: 0 .3rem; text-align: center;
}

@media (max-width: 719px) {
  .space-tabs {
    position: fixed; inset: auto 0 0 0; z-index: 60;
    background: var(--creme); border-bottom: 0; border-top: 1px solid var(--beige-fonce);
    box-shadow: 0 -6px 22px rgba(111, 85, 75, .10);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .space-tabs__inner { width: 100%; gap: 0; padding: 0; justify-content: space-around; }
  .space-tabs a {
    flex: 1 1 0; flex-direction: column; gap: .2rem; padding: .55rem .2rem .5rem;
    background: none; border-radius: 0; font-size: .7rem; font-weight: 600; color: var(--taupe);
  }
  .space-tabs__icon .icon { width: 1.55rem; height: 1.55rem; }
  .space-tabs a:hover { background: none; }
  .space-tabs a.is-active { background: none; color: var(--vieux-rose); font-weight: 800; }
  /* La page laisse la place de la barre, pour que rien ne passe dessous. */
  .page-space { padding-bottom: calc(4.2rem + env(safe-area-inset-bottom, 0)); }
}

/* La carte du profil : qui je suis, et mes trois chiffres. */
.space-profile { padding-top: clamp(1.5rem, 4vw, 2.25rem); }
.space-profile__avatar {
  width: 5.5rem; height: 5.5rem; margin: 0 auto .8rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--vieux-rose); color: #fff;
  font-family: var(--titre); font-size: 2.2rem; font-weight: 600; letter-spacing: .03em;
  box-shadow: var(--ombre-carte);
}
.space-profile__avatar .icon { width: 2.4rem; height: 2.4rem; }
.space-profile__stats { display: flex; justify-content: center; gap: clamp(1.5rem, 8vw, 3.5rem); margin: 1.1rem 0 1.2rem; }
.space-profile__stats a { display: flex; flex-direction: column; align-items: center; color: inherit; text-decoration: none; min-width: 4rem; }
.space-profile__stats strong { font-family: var(--titre); font-size: 2rem; line-height: 1.1; color: var(--brun); }
.space-profile__stats span { font-size: .82rem; color: var(--taupe); }
.space-profile__stats a:hover strong { color: var(--vieux-rose); }
.space-subtabs { display: flex; justify-content: center; gap: clamp(1rem, 5vw, 2.2rem); border-bottom: 1px solid var(--beige-fonce); }
.space-subtabs a {
  padding: .55rem .1rem .7rem; color: var(--taupe); font-weight: 700; text-decoration: none;
  border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.space-subtabs a:hover { color: var(--brun); }
.space-subtabs a.is-active { color: var(--brun); border-bottom-color: var(--vieux-rose); }
.space-profile + .space-tabs { border-top: 0; }

.space-offer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--rose-clair); }
.space-offer h2 { font-size: 1.15rem; margin-bottom: .3rem; }

.space-grid { display: grid; gap: 1.5rem; align-items: start; }
.space-side .panel + .panel { margin-top: 1rem; }
@media (min-width: 900px) {
  .space-grid { grid-template-columns: 1.7fr 1fr; }
}

.space-shelf { display: grid; gap: 1rem; }
@media (min-width: 760px) {
  .space-shelf--wide { grid-template-columns: repeat(2, 1fr); }
}
.space-tuto {
  display: flex; gap: 1rem; align-items: stretch;
  background: var(--creme); border-radius: var(--r-md); box-shadow: var(--ombre-douce); overflow: hidden;
}
.space-tuto__media { flex: none; width: clamp(6.5rem, 26%, 9.5rem); background: var(--rose-clair); display: block; }
.space-tuto__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.space-tuto__placeholder { display: grid; place-items: center; height: 100%; min-height: 7rem; color: var(--vieux-rose); font-size: 2rem; }
.space-tuto__body { padding: 1rem 1rem 1rem 0; min-width: 0; flex: 1; }
.space-tuto__body h3 { margin: 0 0 .2rem; font-size: 1.2rem; }
.space-tuto__body h3 a { color: inherit; text-decoration: none; }
.space-tuto__body p { margin: 0 0 .7rem; }

.space-line {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .75rem 0; border-bottom: 1px solid var(--beige-fonce);
  color: inherit; text-decoration: none;
}
.space-line:last-child { border-bottom: 0; padding-bottom: 0; }
a.space-line:hover strong { color: var(--vieux-rose); }

.space-status {
  flex: none; font-size: .76rem; font-weight: 700; padding: .25rem .7rem;
  border-radius: var(--r-full); background: var(--beige-fonce); color: var(--brun); white-space: nowrap;
}
.space-status--paid, .space-status--making { background: var(--rose); }
.space-status--shipped { background: var(--vieux-rose); color: #fff; }
.space-status--delivered, .space-status--done { background: var(--succes); color: #fff; }
.space-status--cancelled { background: var(--alerte); color: #fff; }

.space-pass { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.space-pass li {
  position: relative; padding-left: 1.9rem; display: flex; flex-direction: column;
}
.space-pass li::before {
  content: ''; position: absolute; left: .15rem; top: .3rem;
  width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid var(--vieux-rose); background: var(--creme);
}
.space-pass li.is-done::before { background: var(--vieux-rose); }

.space-invite { display: flex; gap: 1rem; align-items: flex-start; border: 1.5px dashed var(--vieux-rose); background: var(--creme); }
.space-invite h3 { margin: 0 0 .3rem; }
.space-invite__icon { flex: none; font-size: 1.9rem; color: var(--vieux-rose); line-height: 1; }
.space-invite__form { display: flex; gap: .5rem; flex-wrap: wrap; }
.space-invite__form input[type="email"] { flex: 1 1 14rem; min-width: 0; }

/* --- Le carnet ---------------------------------------------------------- */
.space-progress { height: .55rem; border-radius: var(--r-full); background: var(--beige-fonce); overflow: hidden; margin-bottom: .45rem; }
.space-progress span { display: block; height: 100%; border-radius: inherit; background: var(--vieux-rose); transition: width var(--transition); }

.space-steps { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .2rem; }
.space-check {
  display: flex; align-items: flex-start; gap: .75rem; width: 100%; text-align: left;
  background: none; border: 0; padding: .6rem .5rem; border-radius: var(--r-sm);
  font: inherit; color: inherit; cursor: pointer;
}
.space-check:hover { background: var(--rose-clair); }
.space-check__box {
  flex: none; width: 1.45rem; height: 1.45rem; margin-top: .05rem; border-radius: .45rem;
  border: 2px solid var(--vieux-rose); background: var(--blanc); position: relative;
}
.space-check.is-done .space-check__box { background: var(--vieux-rose); }
.space-check.is-done .space-check__box::after {
  content: ''; position: absolute; inset: .1rem; background: #fff;
  -webkit-mask: var(--trait-check) center / contain no-repeat; mask: var(--trait-check) center / contain no-repeat;
}
.space-check.is-done > span:last-child { color: var(--taupe); text-decoration: line-through; text-decoration-color: var(--rose); }

.space-counter { text-align: center; }
.space-counter__row { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: .8rem; }
.space-counter__value { font-family: var(--titre); font-size: 3.2rem; line-height: 1; min-width: 2.2ch; font-variant-numeric: tabular-nums; }
.space-counter__btn {
  width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 2px solid var(--vieux-rose);
  background: var(--creme); color: var(--vieux-rose); font-size: 1.8rem; line-height: 1; cursor: pointer;
  touch-action: manipulation;
}
.space-counter__btn--plus { width: 4.4rem; height: 4.4rem; background: var(--vieux-rose); color: #fff; font-size: 2.2rem; }
.space-counter__btn:active { transform: scale(.94); }

.space-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1rem; }
.space-photo { margin: 0; background: var(--blanc); border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--ombre-douce); }
.space-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.space-photo figcaption { padding: .7rem; }
.space-photo figcaption p { margin: 0 0 .5rem; }
.space-photo .btn--sm { padding: .4rem .8rem; font-size: .78rem; }

.space-gallery { columns: 2 12rem; column-gap: 1rem; }
@media (min-width: 760px) { .space-gallery { columns: 3 14rem; } }
@media (min-width: 1100px) { .space-gallery { columns: 4 14rem; } }
.space-gallery__item {
  break-inside: avoid; margin: 0 0 1rem; background: var(--creme);
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--ombre-douce);
}
.space-gallery__item img { width: 100%; display: block; }
.space-gallery__item figcaption { padding: .75rem .85rem .85rem; display: grid; gap: .45rem; }

.space-reactions { display: flex; gap: .3rem; flex-wrap: wrap; }
.space-reactions button {
  display: inline-flex; align-items: center; gap: .25rem;
  border: 1.5px solid var(--beige-fonce); background: var(--blanc); border-radius: var(--r-full);
  padding: .2rem .55rem; font: inherit; font-size: .95rem; cursor: pointer; color: var(--brun);
  touch-action: manipulation;
}
.space-reactions button:hover { border-color: var(--vieux-rose); }
.space-reactions button.is-mine { background: var(--rose-clair); border-color: var(--vieux-rose); }
.space-reactions [data-count] { font-size: .78rem; font-weight: 700; min-width: .4rem; }

/* Sur la page d'un tuto : la case à cocher de chaque étape, et l'encart du carnet. */
.tutorial-steps__check { margin: 0 0 .5rem; }
.tutorial-steps__check .space-check { padding: .35rem .5rem; margin-left: -.5rem; width: auto; }

/* --- Les nouvelles et les messages -------------------------------------- */
.space-post__meta { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; margin: 0 0 .6rem; }
.space-post__meta .space-status { display: inline-flex; align-items: center; gap: .3rem; }
.space-post h3 { margin: 0 0 .6rem; }
.space-post__image { width: 100%; border-radius: var(--r-sm); margin-bottom: 1rem; display: block; }
.space-post__code {
  background: var(--rose-clair); border: 1.5px dashed var(--vieux-rose); border-radius: var(--r-sm);
  padding: .7rem 1rem;
}
.space-post__code strong { font-size: 1.15rem; letter-spacing: .08em; }
.space-post.is-locked { background: var(--beige); border: 1.5px dashed var(--beige-fonce); box-shadow: none; }

.space-thread { display: grid; gap: .7rem; margin-bottom: 1.5rem; }
.space-bubble { max-width: 85%; padding: .8rem 1rem; border-radius: var(--r-md); background: var(--creme); box-shadow: var(--ombre-douce); overflow-wrap: anywhere; }
.space-bubble--me { justify-self: end; background: var(--rose-clair); border-bottom-right-radius: .3rem; }
.space-bubble--nana { justify-self: start; border-bottom-left-radius: .3rem; }
.space-bubble__who { margin: 0 0 .25rem; font-size: .76rem; font-weight: 700; color: var(--taupe); }

/* --- L'abonnement --------------------------------------------------------- */
.membership-card { text-align: center; border: 2px solid var(--rose); }
.membership-card__price { margin: 0 0 1rem; }
.membership-card__price strong { font-family: var(--titre); font-size: clamp(2.4rem, 7vw, 3.2rem); line-height: 1; display: block; }
.membership-card__price span { color: var(--taupe); }
.membership-card__line { display: flex; gap: .5rem; justify-content: center; align-items: flex-start; color: var(--rose-fonce); font-weight: 700; margin: 0 0 .7rem; }
.membership-card .field { text-align: left; }
.membership-perks { display: grid; gap: 1rem; margin-top: 1.25rem; }
.membership-perks .panel + .panel { margin-top: 0; }
.membership-perks__icon { font-size: 1.8rem; color: var(--vieux-rose); line-height: 1; margin-bottom: .5rem; }
.membership-perks h3 { margin: 0 0 .3rem; font-size: 1.2rem; }
@media (min-width: 620px) { .membership-perks { grid-template-columns: 1fr 1fr; } }

/* La bibliothèque : un tuto terminé porte sa coche, et l'ajout d'un ouvrage à soi reste discret. */
.space-tuto__media { position: relative; }
.space-tuto__done {
  position: absolute; top: .5rem; left: .5rem; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--succes); color: #fff; box-shadow: var(--ombre-douce);
}
.space-tuto__done .icon { width: 1.05rem; height: 1.05rem; stroke-width: 2.4; }
.space-tuto--done .space-tuto__media img { filter: saturate(.8); }
.space-tuto__body .btn--sm { padding: .5rem .95rem; }
.space-own { color: var(--taupe); }
.space-own summary { cursor: pointer; font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.space-own summary:hover { color: var(--vieux-rose); }

/* Un projet terminé : l'invitation à le publier dans la galerie, tout en haut. */
.space-share { display: flex; gap: 1.1rem; align-items: center; background: var(--rose-clair); border: 2px solid var(--rose); }
.space-share img, .space-share__empty { flex: none; width: 6.5rem; height: 6.5rem; border-radius: var(--r-sm); object-fit: cover; }
.space-share__empty { display: grid; place-items: center; background: var(--creme); color: var(--vieux-rose); font-size: 2rem; }
.space-share h2 { font-size: 1.3rem; margin: 0 0 .3rem; display: flex; align-items: center; gap: .4rem; }
.space-share p { margin: 0 0 .7rem; }
@media (max-width: 480px) { .space-share { flex-direction: column; align-items: flex-start; } }

/* Privé / Public : deux boutons côte à côte, celui qui vaut est plein. */
.space-switch { display: inline-flex; border: 1.5px solid var(--vieux-rose); border-radius: var(--r-full); overflow: hidden; background: var(--creme); }
.space-switch button, .space-switch a {
  display: inline-flex; align-items: center; gap: .35rem;
  border: 0; background: none; padding: .45rem 1rem; font: inherit; font-size: .86rem; font-weight: 700;
  color: var(--vieux-rose); cursor: pointer; text-decoration: none; white-space: nowrap;
}
.space-switch .is-on { background: var(--vieux-rose); color: #fff; }
.space-switch .icon { width: 1.1em; height: 1.1em; }
.space-switch--page { display: flex; width: fit-content; margin: 1.25rem auto 0; }
.space-switch--page a { padding: .6rem 1.2rem; }
.space-gallery__item .space-status { white-space: normal; }

/* --- Calendrier de l'Avent : le lien du menu et le bouton « pelote du jour » --- */
.nav a.nav__advent { color: var(--vieux-rose); font-weight: 700; }
.nav a.nav__advent .icon { vertical-align: -.12em; }

.advent-badge {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 60;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .35rem 1rem .35rem .35rem;
  background: var(--creme); color: var(--brun);
  border-radius: var(--r-full); box-shadow: var(--ombre-forte);
  font-weight: 700; font-size: .88rem;
  animation: advent-badge-in .6s .8s ease-out both;
}
.advent-badge:hover { color: var(--brun); transform: translateY(-2px); }
.advent-badge__ball {
  width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-family: var(--titre); font-size: 1.1rem; font-weight: 600;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .45), transparent 42%),
    repeating-linear-gradient(35deg, transparent 0 4px, rgba(0, 0, 0, .12) 4px 6px),
    var(--vieux-rose);
}
@keyframes advent-badge-in { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .advent-badge { animation: none; } }
@media print { .advent-badge { display: none; } }
