/* ============================================================
   Boutique Ysglow — complément à style.css
   Réutilise les tokens de :root (couleurs, espacements, ombres).
   ============================================================ */

/* ── Fil d'Ariane ──────────────────────────────────────────── */
.fil-ariane {
  padding: calc(var(--navbar-height) + 1.25rem) 0 0;
  background: var(--blanc);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--gris-texte, #6E6E6E);
}
.fil-ariane a { color: var(--gris-texte, #6E6E6E); text-decoration: none; transition: color var(--transition-fast); }
.fil-ariane a:hover { color: var(--or-texte, #836528); }
.fil-ariane span[aria-current] { color: var(--noir-soft); }
.fil-ariane span[aria-hidden] { margin: 0 0.4rem; color: var(--gris-light); }

/* ── Panier dans la barre de navigation ───────────────────── */
.btn-panier {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  color: var(--noir);
  background: transparent;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.btn-panier:hover { background: var(--beige); color: var(--or-texte, #836528); }
.navbar--transparent .btn-panier { color: var(--blanc-pur); }
.navbar--transparent .btn-panier:hover { background: rgba(255,255,255,.15); color: var(--blanc-pur); }
.panier-count[hidden] { display: none !important; }
.panier-count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  background: var(--or); color: #1A1A1A;
  font-size: 0.6875rem; font-weight: 600;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(201,169,110,.5);
}
.navbar-nav a.is-current { color: var(--or-texte, #836528); }

/* ── En-tête de la boutique ───────────────────────────────── */
.boutique-hero {
  padding: 2.5rem 0 3rem;
  background: var(--gradient-beige);
  text-align: center;
}
.boutique-titre {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--noir);
  margin: 0.4rem 0 1rem;
}
.boutique-intro {
  max-width: 620px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--noir-soft);
}
.boutique-reassurance {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.6rem 1.75rem;
  margin-top: 1.75rem;
  font-size: 0.78rem;
  color: var(--gris-texte, #6E6E6E);
}
.boutique-reassurance span { display: inline-flex; align-items: flex-start; gap: 0.4rem; text-align: left; }
.boutique-reassurance span::before { content: "✓"; color: var(--or-texte, #836528); font-weight: 600; flex-shrink: 0; line-height: 1.5; }
.boutique-reassurance strong { color: var(--noir-soft); font-weight: 500; }

/* ── Filtres ──────────────────────────────────────────────── */
.boutique-filtres {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem; margin-bottom: 2.5rem;
}
.filtre-btn {
  padding: 0.5rem 1.15rem;
  border: 1px solid var(--gris-light);
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.78rem; letter-spacing: 0.04em;
  color: var(--noir-soft); cursor: pointer;
  transition: all var(--transition-fast);
}
.filtre-btn:hover { border-color: var(--or); color: var(--or-texte, #836528); }
.filtre-btn.is-actif { background: var(--noir); border-color: var(--noir); color: var(--blanc-pur); }

/* ── Grille produits ──────────────────────────────────────── */
.produits-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}
.produit-slot[hidden] { display: none; }

.produit-carte {
  display: flex; flex-direction: column;
  background: var(--blanc-pur);
  border: 1px solid var(--gris-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.produit-carte:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--nude); }
.produit-carte--epuise { opacity: 0.72; }
.produit-carte-lien { display: block; text-decoration: none; color: inherit; flex: 1; }

.produit-visuel { position: relative; aspect-ratio: 1 / 1; background: var(--beige-light); overflow: hidden; }
.produit-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.produit-img--vide {
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-card);
  position: relative;
}
.produit-img--vide::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid var(--nude); border-radius: var(--radius-sm);
}
.produit-mono {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  font-weight: 300; letter-spacing: 0.08em;
  color: var(--or-texte, #836528);
}

.produit-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--noir); color: var(--blanc-pur);
}
.produit-badge--nouveau { background: var(--or);
  color: var(--noir);  /* 7,8:1 — le blanc n'en donnait que 2,2 */
}
.produit-badge--promo { background: var(--error); }
.produit-badge--best-seller { background: var(--noir); color: var(--nude); }
.produit-epuise {
  position: absolute; inset: auto 0 0 0;
  padding: 0.55rem; text-align: center;
  background: rgba(26,26,26,.82); color: var(--blanc-pur);
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
}

.produit-corps { padding: 1.15rem 1.15rem 0.5rem; }
.produit-cat {
  font-size: 0.6875rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--or-texte, #836528);
}
.produit-nom {
  font-family: var(--font-heading);
  font-size: 1.22rem; font-weight: 400; line-height: 1.3;
  color: var(--noir); margin: 0.35rem 0 0.5rem;
}
.produit-accroche {
  font-size: 0.82rem; line-height: 1.65; color: var(--gris-texte, #6E6E6E);
  margin: 0 0 0.9rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.produit-prix-ligne { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; }
.produit-prix { font-size: 1.1rem; font-weight: 600; color: var(--noir); }
.produit-prix-barre { font-size: 0.85rem; color: var(--gris-texte, #6E6E6E); text-decoration: line-through; }
.produit-contenance { font-size: 0.7812rem; color: var(--gris-texte, #6E6E6E); margin-left: auto; }
.produit-carte > .btn { margin: 0.9rem 1.15rem 1.15rem; }

.boutique-vide {
  text-align: center; padding: 3rem 1rem;
  font-family: var(--font-heading); font-size: 1.3rem;
  color: var(--gris-texte, #6E6E6E);
}
.boutique-bas { text-align: center; }
.boutique-bas-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.75rem; }

/* ── Fiche produit ────────────────────────────────────────── */
.produit-page { padding-top: 2rem; }
.produit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: start;
}
.produit-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--beige-light);
  box-shadow: var(--shadow-sm);
}
.produit-titre {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 300; line-height: 1.15;
  color: var(--noir); margin: 0.4rem 0 0.5rem;
}
.produit-contenance-ligne { font-size: 0.82rem; color: var(--gris-texte, #6E6E6E); margin: 0 0 1.25rem; }
.produit-prix-bloc { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.produit-prix-grand { font-size: 1.9rem; font-weight: 600; color: var(--noir); }
.produit-remise {
  padding: 0.2rem 0.6rem; border-radius: var(--radius-pill);
  background: var(--error); color: #fff;
  font-size: 0.72rem; font-weight: 600;
}
.produit-accroche-grande {
  font-size: 0.95rem; line-height: 1.8;
  color: var(--noir-soft); margin: 0 0 1.75rem;
}

.produit-achat { display: flex; gap: 0.75rem; align-items: stretch; flex-wrap: wrap; margin-bottom: 1.75rem; }
.qte-selecteur {
  display: inline-flex; align-items: center;
  border: 1px solid var(--gris-light); border-radius: var(--radius-pill);
  overflow: hidden; background: var(--blanc-pur);
}
.qte-btn {
  width: 40px; height: 100%; min-height: 48px;
  border: none; background: transparent; cursor: pointer;
  font-size: 1.1rem; color: var(--noir-soft);
  transition: background var(--transition-fast);
}
.qte-btn:hover { background: var(--beige); color: var(--or-texte, #836528); }
.qte-selecteur input {
  width: 42px; border: none; text-align: center;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--noir);
  background: transparent; -moz-appearance: textfield;
}
.qte-selecteur input::-webkit-outer-spin-button,
.qte-selecteur input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.produit-achat .btn { flex: 1; min-width: 200px; }

.produit-rupture {
  padding: 1rem 1.15rem; border-radius: var(--radius-sm);
  background: var(--beige); font-size: 0.85rem; line-height: 1.7;
  color: var(--noir-soft); margin-bottom: 1.75rem;
}
.produit-rupture a { color: var(--or-texte, #836528); }

.produit-reassurance { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--gris-light); }
.produit-reassurance li {
  padding: 0.85rem 0 0.85rem 1.6rem;
  border-bottom: 1px solid var(--gris-light);
  font-size: 0.8rem; line-height: 1.6; color: var(--gris-texte, #6E6E6E);
  position: relative;
}
.produit-reassurance li::before {
  content: "✓"; position: absolute; left: 0; top: 0.8rem;
  color: var(--or-texte, #836528); font-weight: 600;
}
.produit-reassurance strong { color: var(--noir-soft); font-weight: 500; }

.produit-detail { max-width: 760px; margin: var(--space-xl) auto 0; }
.produit-description h2 {
  font-family: var(--font-heading); font-size: 1.6rem; font-weight: 400;
  color: var(--noir); margin: 0 0 0.9rem;
}
.produit-description p { font-size: 0.92rem; line-height: 1.9; color: var(--noir-soft); margin: 0 0 1rem; }

.produit-bloc { border-top: 1px solid var(--gris-light); }
.produit-bloc:last-of-type { border-bottom: 1px solid var(--gris-light); }
.produit-bloc summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem 0; cursor: pointer; list-style: none;
  font-size: 0.88rem; font-weight: 500; color: var(--noir);
}
.produit-bloc summary::-webkit-details-marker { display: none; }
.produit-bloc summary::after {
  content: "+"; font-size: 1.25rem; color: var(--or-texte, #836528); font-weight: 300;
  transition: transform var(--transition-fast);
}
.produit-bloc[open] summary::after { content: "−"; }
.produit-bloc-corps { padding: 0 0 1.35rem; }
.produit-bloc-corps p { font-size: 0.87rem; line-height: 1.85; color: var(--noir-soft); margin: 0 0 0.8rem; }
.produit-lien-service { margin-top: 2rem; font-size: 0.87rem; color: var(--gris-texte, #6E6E6E); }
.produit-lien-service a { color: var(--or-texte, #836528); }

/* ── Panier ───────────────────────────────────────────────── */
.panier-page { padding: calc(var(--navbar-height) + 2.5rem) 0 var(--space-xl); min-height: 70vh; }
.panier-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-lg); align-items: start; }

.panier-ligne {
  display: grid; grid-template-columns: 76px 1fr auto;
  gap: 1rem; align-items: center;
  padding: 1.15rem 0; border-bottom: 1px solid var(--gris-light);
}
.panier-vignette {
  width: 76px; height: 76px; border-radius: var(--radius-sm);
  overflow: hidden; background: var(--beige-light);
  display: flex; align-items: center; justify-content: center;
}
.panier-vignette img { width: 100%; height: 100%; object-fit: cover; }
.panier-vignette span { font-family: var(--font-heading); font-size: 1.4rem; color: var(--or-texte, #836528); }
.panier-nom { font-family: var(--font-heading); font-size: 1.05rem; color: var(--noir); margin: 0 0 0.25rem; }
.panier-nom a { color: inherit; text-decoration: none; }
.panier-nom a:hover { color: var(--or-texte, #836528); }
.panier-pu { font-size: 0.78rem; color: var(--gris-texte, #6E6E6E); }
.panier-actions { display: flex; align-items: center; gap: 1rem; }
.panier-total-ligne { font-weight: 600; color: var(--noir); white-space: nowrap; }
.panier-retirer {
  border: none; background: transparent; cursor: pointer;
  color: var(--gris-texte, #6E6E6E); font-size: 0.75rem; text-decoration: underline;
  padding: 0; transition: color var(--transition-fast);
}
.panier-retirer:hover { color: var(--error); }

.panier-recap {
  background: var(--blanc-pur); border: 1px solid var(--gris-light);
  border-radius: var(--radius-md); padding: var(--space-md);
  position: sticky; top: calc(var(--navbar-height) + 1rem);
}
.panier-recap h2 { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 400; margin: 0 0 1.15rem; color: var(--noir); }
.recap-ligne { display: flex; justify-content: space-between; align-items: baseline; padding: 0.5rem 0; font-size: 0.85rem; color: var(--noir-soft); }
.recap-ligne--total {
  border-top: 1px solid var(--gris-light); margin-top: 0.6rem; padding-top: 0.9rem;
  font-size: 1.05rem; font-weight: 600; color: var(--noir);
}
.recap-note { font-size: 0.74rem; color: var(--gris-texte, #6E6E6E); line-height: 1.6; margin: 0.6rem 0 0; }

.mode-choix { display: grid; gap: 0.6rem; margin: 1.25rem 0; }
.mode-option {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.9rem 1rem; border: 1px solid var(--gris-light);
  border-radius: var(--radius-sm); cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.mode-option:hover { border-color: var(--nude); }
.mode-option input { margin-top: 0.2rem; accent-color: var(--or); }
.mode-option.is-actif { border-color: var(--or); background: var(--beige-light); }
.mode-option-titre { font-size: 0.86rem; font-weight: 500; color: var(--noir); display: block; }
.mode-option-detail { font-size: 0.75rem; color: var(--gris-texte, #6E6E6E); line-height: 1.55; }

.panier-vide { text-align: center; padding: var(--space-xl) 1rem; }
.panier-vide-icone { color: var(--nude); margin-bottom: 1.25rem; }
.panier-vide h1 { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 300; color: var(--noir); margin: 0 0 0.75rem; }
.panier-vide p { color: var(--gris-texte, #6E6E6E); margin: 0 0 1.75rem; }

/* ── Confirmation de commande ─────────────────────────────── */
.merci-page { padding: calc(var(--navbar-height) + 3rem) 0 var(--space-xl); min-height: 70vh; }
.merci-carte {
  max-width: 580px; margin: 0 auto; text-align: center;
  background: var(--blanc-pur); border: 1px solid var(--gris-light);
  border-radius: var(--radius-lg); padding: var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-sm);
}
.merci-coche {
  width: 64px; height: 64px; margin: 0 auto 1.5rem;
  border-radius: 50%; background: var(--gradient-gold);
  display: flex; align-items: center; justify-content: center;
  color: #1A1A1A; box-shadow: var(--shadow-gold);
}
.merci-carte h1 { font-family: var(--font-heading); font-size: 2rem; font-weight: 300; color: var(--noir); margin: 0 0 0.6rem; }
.merci-numero {
  display: inline-block; margin: 0.5rem 0 1.5rem;
  padding: 0.35rem 0.9rem; border-radius: var(--radius-pill);
  background: var(--beige); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--noir-soft);
}
.merci-recap { text-align: left; background: var(--beige-light); border-radius: var(--radius-md); padding: var(--space-md); margin: 1.5rem 0; }
.merci-recap .recap-ligne { padding: 0.4rem 0; }
.merci-bloc-livraison { text-align: left; border: 1px solid var(--nude); border-radius: var(--radius-md); padding: var(--space-sm) var(--space-md); margin-bottom: 1.5rem; }
.merci-bloc-livraison h2 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--or-texte, #836528); margin: 0 0 0.5rem; }
.merci-bloc-livraison p { font-size: 0.85rem; line-height: 1.7; color: var(--noir-soft); margin: 0; }

/* ── Mise en avant sur la page d'accueil ──────────────────── */
.home-boutique-bandeau {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: var(--space-lg); align-items: center;
  background: var(--gradient-card);
  border: 1px solid var(--nude);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
}
.home-boutique-texte h2 {
  font-family: var(--font-heading); font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 300; line-height: 1.2; color: var(--noir); margin: 0.4rem 0 0.9rem;
}
.home-boutique-texte p { font-size: 0.9rem; line-height: 1.8; color: var(--noir-soft); margin: 0 0 1.5rem; }
.home-boutique-apercu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.home-produit-mini { text-decoration: none; color: inherit; display: block; }
.home-produit-mini .produit-visuel { border-radius: var(--radius-sm); }
.home-produit-mini-nom {
  font-size: 0.74rem; line-height: 1.4; color: var(--noir-soft);
  margin: 0.5rem 0 0.15rem; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.home-produit-mini-prix { font-size: 0.78rem; font-weight: 600; color: var(--or-texte, #836528); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .produit-layout, .panier-layout, .home-boutique-bandeau { grid-template-columns: 1fr; }
  .panier-recap { position: static; }
  .home-boutique-bandeau { gap: var(--space-md); }
}
/* Sous 860 px la barre du haut n'a plus la place pour trois actions :
   le suivi de commande reste accessible par le pied de page. */
@media (max-width: 860px) {
  .navbar-actions .btn-panier:not(#btn-panier) { display: none; }
  .navbar-actions { gap: 0.35rem; }
}

@media (max-width: 640px) {
  .boutique-reassurance span { max-width: 300px; }
  .produits-grille { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 0.85rem; }
  .produit-corps { padding: 0.85rem 0.85rem 0.4rem; }
  .produit-nom { font-size: 1rem; }
  .produit-accroche { -webkit-line-clamp: 2; font-size: 0.7812rem; }
  .produit-carte > .btn { margin: 0.7rem 0.85rem 0.85rem; font-size: 0.72rem; padding: 0.6rem 0.8rem; }
  .produit-achat .btn { min-width: 100%; }
  .panier-ligne { grid-template-columns: 60px 1fr; row-gap: 0.75rem; }
  .panier-vignette { width: 60px; height: 60px; }
  .panier-actions { grid-column: 1 / -1; justify-content: space-between; }
  .boutique-reassurance { flex-direction: column; align-items: center; gap: 0.5rem; }
  .home-boutique-apercu { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
}

/* ── Respect des préférences d'animation ──────────────────── */
@media (prefers-reduced-motion: reduce) {
  .produit-carte, .produit-carte:hover { transition: none; transform: none; }
}

/* ── Suivi de commande (page publique par token) ──────────── */
.suivi-page { padding: calc(var(--navbar-height) + 2.5rem) 0 var(--space-xl); min-height: 70vh; }
.suivi-carte {
  max-width: 640px; margin: 0 auto;
  background: var(--blanc-pur); border: 1px solid var(--gris-light);
  border-radius: var(--radius-lg); padding: var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-sm);
}
.suivi-entete { text-align: center; padding-bottom: var(--space-md); border-bottom: 1px solid var(--gris-light); }
.suivi-entete h1 { font-family: var(--font-heading); font-size: 1.85rem; font-weight: 300; color: var(--noir); margin: 0 0 0.4rem; }
.suivi-entete .merci-numero { margin: 0.4rem 0 0; }

.frise { list-style: none; padding: 0; margin: var(--space-md) 0; }
.frise li {
  position: relative;
  padding: 0 0 1.6rem 2.6rem;
  min-height: 2.1rem;
}
.frise li:last-child { padding-bottom: 0; }
.frise li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--gris-light); background: var(--blanc-pur);
  box-sizing: border-box;
}
.frise li::after {
  content: ""; position: absolute; left: 9px; top: 24px; bottom: -2px;
  width: 2px; background: var(--gris-light);
}
.frise li:last-child::after { display: none; }
.frise li.faite::before {
  border-color: var(--or); background: var(--or);
  content: "✓"; color: #1A1A1A; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.frise li.faite::after { background: var(--or); }
.frise li.actuelle::before {
  border-color: var(--or); background: var(--blanc-pur);
  box-shadow: 0 0 0 4px rgba(201,169,110,.2);
}
.frise-titre { display: block; font-size: 0.92rem; font-weight: 500; color: var(--noir); line-height: 1.4; }
.frise li.a_venir .frise-titre { color: var(--gris-texte, #6E6E6E); font-weight: 400; }
.frise-detail { display: block; font-size: 0.78rem; color: var(--gris-texte, #6E6E6E); margin-top: 0.15rem; line-height: 1.6; }
.frise li.actuelle .frise-titre { color: var(--or-texte, #836528); font-weight: 600; }

.suivi-colis {
  background: var(--beige-light); border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md); margin: var(--space-md) 0; text-align: center;
}
.suivi-colis-label { font-size: 0.6875rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--or-texte, #836528); }
.suivi-colis-num { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.05em; color: var(--noir); margin: 0.3rem 0 0.9rem; }
.suivi-annulee {
  background: rgba(212,117,107,.08); border: 1px solid rgba(212,117,107,.3);
  border-radius: var(--radius-md); padding: var(--space-sm) var(--space-md);
  font-size: 0.86rem; color: var(--noir-soft); margin: var(--space-md) 0;
}

/* ── Correctif : débordement horizontal sur mobile ─────────
   .slide-left / .slide-right décalent de ±30 px tant que le
   scroll ne les a pas révélées, ce qui dépasse la fenêtre sur
   petit écran. On passe à un décalage vertical, sans toucher
   au comportement sur grand écran. */
@media (max-width: 900px) {
  .slide-left, .slide-right { transform: translateY(24px); }
  .slide-left.visible, .slide-right.visible { transform: translateY(0); }
}

/* ── Tres petits ecrans (320-400 px) ──────────────────────
   Les boutons du site sont en white-space:nowrap : un libelle
   long comme « Voir toutes les prestations & tarifs » depasse
   alors la fenetre. On l'autorise a passer a la ligne, et on
   resserre la barre du haut pour que « Reserver » reste entier. */
@media (max-width: 400px) {
  .btn { white-space: normal; }
  .navbar-actions { gap: 0.2rem; }
  .navbar .btn-sm { padding: 0.5rem 0.8rem; font-size: 0.6875rem; letter-spacing: 0.06em; }
  .navbar-logo .logo-text { font-size: 0.92rem; }
  .navbar-logo .logo-sub { font-size: 0.6875rem; }
  .btn-panier { width: 34px; height: 34px; }
}

/* ── Galerie de la fiche produit ──────────────────────────── */
.produit-galerie {
  display: flex; gap: 0.6rem; margin-top: 0.85rem;
  overflow-x: auto; padding-bottom: 0.25rem;
  scrollbar-width: thin;
}
.galerie-vignette {
  flex: 0 0 auto; width: 72px; height: 72px; padding: 0;
  border: 1px solid var(--gris-light); border-radius: var(--radius-sm);
  background: var(--beige-light); overflow: hidden; cursor: pointer;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.galerie-vignette img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galerie-vignette:hover { border-color: var(--nude); }
.galerie-vignette.is-active { border-color: var(--or); box-shadow: 0 0 0 2px rgba(201,169,110,.2); }
@media (max-width: 640px) { .galerie-vignette { width: 62px; height: 62px; } }

/* ── En-tete de la boutique, version mobile ───────────────
   Sur telephone, le bandeau d'accroche repoussait les produits
   sous la ligne de flottaison. On le resserre, et la ligne de
   reassurance passe sous la grille (elle reste lisible, mais
   ne retarde plus l'acces aux produits). */
@media (max-width: 760px) {
  .boutique-hero { padding: 1.1rem 0 1.25rem; }
  .boutique-hero .eyebrow { font-size: 0.6875rem; }
  .boutique-titre { font-size: 1.5rem; margin: 0.25rem 0 0.5rem; line-height: 1.2; }
  .boutique-intro { font-size: 0.82rem; line-height: 1.6; max-width: 36ch; margin: 0 auto; }
  /* Le raccourcissement ne concerne QUE le catalogue : ailleurs
     (formations), l'accroche et les arguments doivent rester entiers. */
  .hero-catalogue .boutique-intro {
    max-width: 34ch;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .hero-catalogue .boutique-reassurance { display: none; }
  .boutique-hero:not(.hero-catalogue) .boutique-reassurance {
    flex-direction: column; align-items: center; gap: 0.45rem; margin-top: 1rem; font-size: 0.75rem;
  }
  .boutique-hero + .section { padding-top: 1.25rem; }
  .boutique-filtres { margin-bottom: 1.25rem; gap: 0.4rem; }
  .filtre-btn { padding: 0.42rem 0.9rem; font-size: 0.72rem; }
  .fil-ariane { padding-top: calc(var(--navbar-height) + 0.6rem); font-size: 0.72rem; }

  /* reprise des memes informations, apres les produits */
  .boutique-reassurance--bas { display: flex; }
}
.boutique-reassurance--bas { display: none; }
@media (max-width: 760px) {
  .boutique-reassurance--bas {
    flex-direction: column; align-items: flex-start; gap: 0.5rem;
    margin: 1.75rem auto 0; padding: 1rem 1.1rem;
    background: var(--beige-light); border-radius: var(--radius-md);
    font-size: 0.78rem; max-width: 420px;
  }
}

/* ── Barre de navigation des pages blog / FAQ ─────────────
   Ces pages ont leur propre menu en ligne. Avec l'ajout des
   entrees Boutique et Contact, il depassait de quelques pixels
   entre 600 et 900 px : on resserre avant de le masquer. */
@media (max-width: 900px) {
  .nav-inner .nav-links { gap: 1.1rem; }
  .nav-inner .nav-links a { font-size: 0.6875rem; letter-spacing: 0.06em; }
  .nav-inner .nav-links .nav-cta { padding: 0.45rem 0.85rem; }
  .nav-inner { padding-left: 1rem; padding-right: 1rem; }
}
@media (max-width: 700px) {
  .nav-inner .nav-links { display: none; }
}

/* ── Formations ───────────────────────────────────────────── */

/* En-tete du hub : dense, lisible, sans vide inutile */
.hero-formations {
  padding: calc(var(--navbar-height) + 2.25rem) 0 2.5rem;
  background:
    radial-gradient(1100px 380px at 50% -140px, rgba(201,169,110,.16), transparent 70%),
    var(--gradient-beige);
  text-align: center;
  border-bottom: 1px solid var(--gris-light);
}
.hero-formations h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4.6vw, 3rem);
  font-weight: 300; line-height: 1.12; color: var(--noir);
  margin: 0.45rem auto 0.9rem; max-width: 20ch;
}
.hero-formations .hero-et { color: var(--or-texte, #836528); }
.hero-sous {
  max-width: 54ch; margin: 0 auto;
  font-size: clamp(0.88rem, 2.3vw, 0.98rem);
  line-height: 1.8; color: var(--noir-soft);
}
.hero-atouts {
  list-style: none; padding: 0;
  margin: 1.4rem auto 0; max-width: 760px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0.65rem;
}
.hero-atouts li {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.42rem 0.95rem;
  background: var(--blanc-pur); border: 1px solid var(--nude);
  border-radius: var(--radius-pill);
  font-size: 0.78rem; color: var(--noir-soft); white-space: nowrap;
}
.hero-atouts li::before { content: "✓"; color: var(--or-texte, #836528); font-weight: 700; }

/* Bloc telephone */
.tel-bloc {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.3rem;
  margin: 1.75rem auto 0; padding: 1.1rem 1.6rem;
  background: var(--blanc-pur); border: 1px solid var(--nude);
  border-radius: var(--radius-md); box-shadow: var(--shadow-xs);
  max-width: 100%;
}
.tel-label { font-size: 0.72rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--or-texte, #836528); }
.tel-numero {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 5.5vw, 2rem); font-weight: 500; letter-spacing: 0.02em;
  color: var(--noir); text-decoration: none; white-space: nowrap;
  transition: color var(--transition-fast);
}
.tel-numero svg { width: 0.78em; height: 0.78em; color: var(--or-texte, #836528); flex-shrink: 0; }
.tel-numero:hover { color: var(--or-texte, #836528); }
.tel-detail { font-size: 0.72rem; color: var(--gris-texte, #6E6E6E); line-height: 1.5; text-align: center; }

/* Grille des formations */
.formations-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--space-md);
}
@media (min-width: 1080px) { .formations-grille { grid-template-columns: repeat(3, 1fr); } }

.formation-carte {
  position: relative; isolation: isolate;
  background: var(--blanc-pur);
  border: 1px solid var(--gris-light); border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-sm) var(--space-sm);
  display: flex; flex-direction: column; gap: 0.7rem;
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.formation-carte::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--gradient-gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition-base);
}
.formation-carte:hover { border-color: var(--nude); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.formation-carte:hover::before { transform: scaleX(1); }
.formation-carte:focus-within { border-color: var(--or); box-shadow: 0 0 0 3px rgba(201,169,110,.2); }

.formation-icone {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--beige-light); border: 1px solid var(--nude); color: var(--or-texte, #836528);
}
.formation-icone svg { width: 26px; height: 26px; }

.formation-nom {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 400; line-height: 1.25; margin: 0; color: var(--noir);
}
.formation-nom a { color: inherit; text-decoration: none; }
.formation-nom a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.formation-nom a:hover { color: var(--or-texte, #836528); }

.formation-accroche {
  font-size: 0.86rem; line-height: 1.75;
  color: var(--noir-soft);           /* contraste releve : etait trop clair */
  margin: 0;
}
.formation-points { list-style: none; padding: 0; margin: 0.2rem 0 0; display: grid; gap: 0.3rem; }
.formation-points li {
  font-size: 0.78rem; color: var(--gris-texte, #6E6E6E); line-height: 1.5;
  padding-left: 1.1rem; position: relative;
}
.formation-points li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--or);
}
.formation-lien {
  margin-top: auto; padding-top: 0.5rem;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--or-texte, #836528);
}

/* Bande telephone en pied de page */
.bande-tel { text-align: center; }
.bande-tel h2 {
  font-family: var(--font-heading); font-weight: 300;
  font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--blanc-pur); margin: 0 0 0.8rem;
}
.bande-tel > .container > p {
  max-width: 52ch; margin: 0 auto 1.5rem;
  font-size: 0.9rem; line-height: 1.8; color: var(--nude);
}
.tel-gros {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 500;
  color: var(--or-texte, #836528); text-decoration: none; white-space: nowrap;
  transition: color var(--transition-fast);
}
.tel-gros svg { width: 0.7em; height: 0.7em; flex-shrink: 0; }
.tel-gros:hover { color: var(--blanc-pur); }
.bande-tel-detail { font-size: 0.78rem; color: var(--gris-texte, #6E6E6E); margin: 0.7rem 0 1.6rem; }

/* Fiche formation */
.hero-actions-formation { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-top: 1.5rem; }
.tel-btn { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.tel-btn svg { width: 1em; height: 1em; }

.prog-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: var(--space-sm); margin-top: 1rem; }
.prog-item { padding: 1.1rem 1.2rem; background: var(--beige-light); border-radius: var(--radius-sm); border-left: 2px solid var(--or); }
.prog-titre { font-size: 0.92rem; font-weight: 600; color: var(--noir); margin: 0 0 0.35rem; font-family: var(--font-body); }
.prog-texte { font-size: 0.84rem; line-height: 1.7; color: var(--noir-soft); margin: 0; }

.encart-kit {
  background: var(--gradient-card); border: 1px solid var(--nude);
  border-radius: var(--radius-md); padding: var(--space-md); margin: var(--space-lg) 0;
}
.encart-kit h2 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 400; color: var(--noir); margin: 0 0 0.7rem; }
.encart-kit p { font-size: 0.9rem; line-height: 1.85; color: var(--noir-soft); margin: 0 0 0.7rem; }
.encart-kit p:last-child { margin-bottom: 0; }
.encart-kit a { color: var(--or-texte, #836528); }

.liste-formations { list-style: none; padding: 0; margin: 1rem 0 0; }
.liste-formations li { border-bottom: 1px solid var(--gris-light); }
.liste-formations li:last-child { border-bottom: none; }
.liste-formations a { display: block; padding: 0.85rem 0; color: var(--noir-soft); text-decoration: none; font-size: 0.9rem; transition: color var(--transition-fast); }
.liste-formations a::before { content: "→"; color: var(--or-texte, #836528); margin-right: 0.6rem; }
.liste-formations a:hover { color: var(--or-texte, #836528); }

.form-formation { max-width: 640px; }
.form-formation .section-title, .form-formation .section-subtitle { text-align: left; }
.form-formation form { margin-top: 1.5rem; }
.form-formation .tel-bloc { display: flex; width: 100%; margin-top: 2rem; }
.formation-merci {
  background: var(--blanc-pur); border: 1px solid var(--nude);
  border-radius: var(--radius-md); padding: var(--space-md); text-align: center;
}
.formation-merci h2 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 300; color: var(--noir); margin: 0 0 0.6rem; }
.formation-merci p { font-size: 0.9rem; line-height: 1.8; color: var(--noir-soft); margin: 0 0 0.5rem; }

@media (max-width: 760px) {
  .hero-formations { padding: calc(var(--navbar-height) + 1.1rem) 0 1.6rem; }
  .hero-atouts { gap: 0.4rem; }
  .hero-atouts li { font-size: 0.72rem; padding: 0.36rem 0.75rem; }
  .tel-bloc { display: flex; width: 100%; padding: 1rem; margin-top: 1.4rem; }
  .formation-carte { padding: 1.1rem 1.1rem 1rem; gap: 0.55rem; }
  .formation-icone { width: 44px; height: 44px; }
  .formation-icone svg { width: 22px; height: 22px; }
  .formation-nom { font-size: 1.18rem; }
  .hero-actions-formation .btn { width: 100%; justify-content: center; }
}

/* ── Fiche formation : competences, programme, infos ──────── */
.apprend-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--space-sm); margin-top: 1rem; }
.apprend-groupe {
  background: var(--blanc-pur); border: 1px solid var(--gris-light);
  border-radius: var(--radius-md); padding: 1.2rem 1.3rem;
}
.apprend-groupe h3 {
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--or-texte, #836528);
  margin: 0 0 0.75rem;
}
.apprend-groupe ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.apprend-groupe li {
  font-size: 0.85rem; line-height: 1.6; color: var(--noir-soft);
  padding-left: 1.35rem; position: relative;
}
.apprend-groupe li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--or-texte, #836528); font-weight: 700; font-size: 0.8rem;
}

.prog-liste { list-style: none; counter-reset: etape; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.75rem; }
.prog-etape {
  counter-increment: etape; position: relative;
  padding: 1.1rem 1.3rem 1.1rem 3.4rem;
  background: var(--beige-light); border-radius: var(--radius-sm);
}
.prog-etape::before {
  content: counter(etape); position: absolute; left: 1.1rem; top: 1.05rem;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gradient-gold); color: #1A1A1A;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
}
.prog-titre { font-size: 0.93rem; font-weight: 600; color: var(--noir); margin: 0 0 0.3rem; font-family: var(--font-body); }
.prog-texte { font-size: 0.85rem; line-height: 1.7; color: var(--noir-soft); margin: 0; }

.infos-pratiques { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid var(--gris-light); }
.infos-pratiques li {
  display: grid; grid-template-columns: 170px 1fr; gap: 1rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--gris-light);
  font-size: 0.88rem; line-height: 1.6;
}
.infos-pratiques strong { color: var(--noir); font-weight: 600; }
.infos-pratiques span { color: var(--noir-soft); }
.infos-pratiques a { color: var(--or-texte, #836528); font-weight: 600; }
@media (max-width: 600px) {
  .infos-pratiques li { grid-template-columns: 1fr; gap: 0.15rem; }
  .prog-etape { padding: 1rem 1rem 1rem 3rem; }
}

/* ── Barre des catégories + accès aux formations ──────────── */
.boutique-barre {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.5rem 0.9rem; margin-bottom: 2.5rem;
}
.boutique-barre .boutique-filtres { margin-bottom: 0; }

/* La pastille quitte la boutique : elle se distingue des filtres. */
.filtre-formations {
  display: inline-flex; align-items: center; gap: 0.45rem;
  text-decoration: none;
  border-color: var(--or);
  color: var(--or-texte, #836528);
  background: linear-gradient(135deg, rgba(201,169,110,.10), rgba(232,213,196,.18));
  font-weight: 600;
  position: relative;
}
.filtre-formations::before {
  content: ""; position: absolute; left: -0.45rem; top: 50%;
  width: 1px; height: 18px; background: var(--gris-light);
  transform: translateY(-50%);
}
.filtre-formations svg { width: 15px; height: 15px; flex-shrink: 0; }
.filtre-formations .filtre-fleche { transition: transform var(--transition-fast); }
.filtre-formations:hover {
  background: var(--noir); border-color: var(--noir); color: var(--nude);
}
.filtre-formations:hover .filtre-fleche { transform: translateX(3px); }

@media (max-width: 640px) {
  .boutique-barre { gap: 0.45rem; margin-bottom: 1.5rem; }
  .filtre-formations::before { display: none; }
  .filtre-formations { flex-basis: 100%; justify-content: center; }
}

/* ── Menu mobile unifié ───────────────────────────────────── */
.ysg-burger {
  display: none;
  width: 40px; height: 40px; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: transparent; border: none; cursor: pointer;
  border-radius: var(--radius-pill); flex-shrink: 0;
}
.ysg-burger span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--noir);
  transition: transform .28s ease, opacity .2s ease;
}
.navbar--transparent .ysg-burger span { background: var(--blanc-pur); }
.ysg-burger.actif span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ysg-burger.actif span:nth-child(2) { opacity: 0; }
.ysg-burger.actif span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) { .ysg-burger { display: flex; } }

.ysg-voile {
  /* au-dessus de la barre de navigation du site, qui est en z-index 1000 */
  position: fixed; inset: 0; z-index: 1090;
  background: rgba(26,26,26,.45); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.ysg-voile.ouvert { opacity: 1; pointer-events: auto; }

.ysg-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1100;
  width: min(330px, 86vw);
  background: var(--blanc);
  box-shadow: -16px 0 48px rgba(26,26,26,.18);
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
}
.ysg-menu.ouvert { transform: translateX(0); }
body.ysg-menu-ouvert { overflow: hidden; }

.ysg-menu-tete {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--gris-light);
  background: var(--noir);
}
.ysg-menu-logo {
  display: flex; flex-direction: column; line-height: 1;
  font-family: var(--font-heading); font-size: 1.2rem; font-weight: 500;
  letter-spacing: .14em; color: var(--or-texte, #836528);
}
.ysg-menu-logo small {
  font-family: var(--font-body); font-size: 0.6875rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--nude); margin-top: .22rem;
}
.ysg-menu-fermer {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); border: none; cursor: pointer;
  color: var(--blanc-pur); flex-shrink: 0;
  transition: background .18s ease;
}
.ysg-menu-fermer:hover { background: var(--or); }

.ysg-menu-liens { list-style: none; margin: 0; padding: .35rem 0; flex: 1; }
.ysg-menu-liens li { border-bottom: 1px solid rgba(201,169,110,.14); }
.ysg-menu-liens li:last-child { border-bottom: none; }
.ysg-menu-liens a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .92rem 1.25rem;
  font-size: .9rem; letter-spacing: .02em; color: var(--noir-soft);
  text-decoration: none; transition: background .18s ease, color .18s ease, padding-left .18s ease;
}
.ysg-menu-liens a::after {
  content: "›"; color: var(--gris-light); font-size: 1.1rem; line-height: 1;
  transition: color .18s ease, transform .18s ease;
}
.ysg-menu-liens a:hover { background: var(--beige-light); color: var(--or-texte, #836528); padding-left: 1.45rem; }
.ysg-menu-liens a:hover::after { color: var(--or-texte, #836528); transform: translateX(2px); }
.ysg-menu-liens a.actif { color: var(--or-texte, #836528); font-weight: 600; background: var(--beige-light); }
.ysg-menu-liens a.actif::after { color: var(--or-texte, #836528); }

.ysg-menu-pied {
  padding: 1.1rem 1.25rem calc(1.1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--gris-light); background: var(--beige-light);
  display: grid; gap: .7rem;
}
.ysg-menu-tel {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-heading); font-size: 1.22rem; font-weight: 500;
  color: var(--noir); text-decoration: none; white-space: nowrap;
}
.ysg-menu-tel svg { color: var(--or-texte, #836528); flex-shrink: 0; }
.ysg-menu-tel:hover { color: var(--or-texte, #836528); }
.ysg-menu-cta { width: 100%; text-align: center; justify-content: center; white-space: normal; }

/* la barre du bas ne doit pas passer par-dessus le menu */
body.ysg-menu-ouvert .bottom-nav { display: none; }

/* les anciens menus propres à certaines pages sont neutralisés */
.mobile-nav:not(.ysg-menu) { display: none !important; }

/* Le menu ne doit jamais apparaître ouvert avant application du CSS. */
.ysg-menu:not(.ouvert) { visibility: hidden; }
.ysg-menu.ouvert { visibility: visible; }

/* ── Lisibilité : contraste du texte ──────────────────────────
   Le doré #C9A96E donne 2,2:1 sur fond clair et le gris #8A8A8A
   3,4:1, alors que la lisibilité correcte demande 4,5:1.
   On introduit deux teintes assombries RÉSERVÉES AU TEXTE :
   les fonds, bordures, boutons et icônes dorés ne changent pas. */
:root {
  --or-texte:   #836528;   /* 4,7:1 sur fond clair */
  --gris-texte: #6E6E6E;   /* 4,8:1 sur fond clair */
}

/* Libellés et accents dorés en petit corps */
.eyebrow,
.produit-cat,
.card-tag,
.tel-label,
.article-tag,
.pack-tag,
.detail-label,
.formation-lien,
.apprend-groupe h3,
.suivi-colis-label,
.merci-bloc-livraison h2 { color: var(--or-texte); }

/* Liens dorés au fil du texte */
p a, li a, .produit-lien-service a, .encart-kit a, .infos-pratiques a,
.recap-note a, .form-error a, .boutique-intro a { color: var(--or-texte); }

/* Textes secondaires en gris */
.section-subtitle,
.produit-accroche,
.produit-contenance,
.tel-detail,
.recap-note,
.camp-meta,
.formation-points li,
.card-duration,
.panier-pu,
.produit-points li,
.text-gris,
.fil-ariane,
.fil-ariane a,
.frise-detail { color: var(--gris-texte); }

/* Sur fond sombre, c'est l'inverse : on éclaircit. */
.section--dark .section-subtitle,
.footer .footer-link,
.bande-tel > .container > p,
.bande-tel-detail { color: var(--nude); }
.footer-tagline, .footer-copyright { color: rgba(255,255,255,.72); }

/* Hero : le sous-titre passait à 1:1 sur l'image de fond. */
.hero-subtitle {
  color: rgba(255,255,255,.95) !important;
  text-shadow: 0 1px 14px rgba(0,0,0,.55);
}
.hero-eyebrow { color: #E8D5C4 !important; text-shadow: 0 1px 10px rgba(0,0,0,.5); }

/* Le gris secondaire du site passe de 3,4:1 à 4,8:1.
   Il ne sert qu'au texte : bordures et fonds utilisent --gris-light. */
:root { --gris: #6E6E6E; }

/* Boutons à contour doré : le libellé était à 2,2:1. */
.btn-outline { color: var(--or-texte); border-color: var(--or); }
.btn-outline:hover { color: var(--blanc-pur); }
.btn-outline--white { color: var(--blanc-pur); }

/* Libellés secondaires restants, sur fond clair. */
.service-desc, .card-duration, .detail-label, .card-tag,
.article-meta, .footer-heading { color: var(--gris-texte); }
.blog-hero .eyebrow, .article-tag { color: var(--or-texte); }

/* Les fonds beiges réduisent le contraste : on resserre d'un cran. */
:root { --gris-texte: #646464; }
.section--beige .section-subtitle,
.section--beige p,
.card--beige p,
.ci-intro { color: #5C5C5C; }

/* ── Page tarifs ──────────────────────────────────────────────── */
.tarifs-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:18px 0}
table.tarifs{width:100%;min-width:300px;border-collapse:collapse;font-size:.95rem}
table.tarifs caption{text-align:left;font-weight:700;padding:0 0 8px;color:var(--or-texte)}
table.tarifs th,table.tarifs td{padding:10px 12px;border-bottom:1px solid #E8E2D6;text-align:left}
table.tarifs th{font-weight:600;color:var(--gris-texte);font-size:.85rem;
  text-transform:uppercase;letter-spacing:.04em}
table.tarifs td.prix{font-weight:700;white-space:nowrap;text-align:right;color:var(--or-texte)}
table.tarifs td.duree{white-space:nowrap;color:var(--gris-texte);font-size:.88rem}
table.tarifs tbody tr:last-child td{border-bottom:none}
.essentiel{background:#FBF8F2;border-left:3px solid var(--or-texte);
  padding:16px 18px;margin:20px 0;border-radius:4px}
.essentiel p{margin:0 0 8px}
.essentiel p:last-child{margin-bottom:0}
.essentiel strong{color:var(--or-texte)}
.repere{border:1px solid #E8E2D6;border-radius:6px;padding:16px 18px;margin:20px 0}
@media(max-width:480px){
  table.tarifs th,table.tarifs td{padding:8px 6px;font-size:.88rem}
}


/* contraste:sombre */
/* Contraste : dans les sections a fond sombre, ce sont l'or CLAIR et un gris
   clair qui sont lisibles — l'inverse des fonds creme. Les deux variables
   basculent ici et l'heritage CSS les propage aux descendants.
   or #C9A96E sur #1A1A1A = 7,8:1 · gris #AAA sur #1A1A1A = 7,5:1 */
.ysg-voile,
.ysg-menu-tete {
  --or-texte:   #C9A96E;
  --gris-texte: #AAAAAA;
}

/* lisibilite:plancher */

/* ── Bandeau de consentement ──────────────────────────────────
   Pose en bas d'ecran, au-dessus de la barre de navigation basse.
   Contrastes verifies : texte #FFFDF9 sur #1A1A1A = 17,4:1,
   bouton « Accepter » #1A1A1A sur or #C9A96E = 7,8:1. */
.ysg-consentement {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem 1.25rem;
  background: #1A1A1A;
  border-top: 1px solid rgba(201, 169, 110, 0.35);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
}
.ysg-consentement-txt {
  margin: 0;
  max-width: 62ch;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #FFFDF9;
}
/* Par defaut (ordinateur) : texte long. Le media mobile inverse les deux. */
.ysg-consentement-court { display: none; }
.ysg-consentement-long { display: inline; }
.ysg-consentement-txt a {
  color: #C9A96E;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ysg-consentement-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.ysg-consentement-btn {
  min-height: 44px;
  padding: 0 1.4rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.ysg-consentement-btn--ok {
  background: #C9A96E;
  color: #1A1A1A;
}
.ysg-consentement-btn--refus {
  background: transparent;
  color: #FFFDF9;
  border: 1px solid rgba(255, 253, 249, 0.45);
}
.ysg-consentement-btn:focus-visible {
  outline: 3px solid #C9A96E;
  outline-offset: 2px;
}

/* La barre de navigation basse occupe le bas de l'ecran sur mobile :
   le bandeau se place au-dessus d'elle.

   ⚠ MESURE DU 20/11/2026 — le bandeau RECOUVRAIT INTEGRALEMENT le bouton de
   reservation de l'accueil, pour toute visiteuse qui n'avait pas encore
   repondu. A 390x844 il occupait y=615-774 (159 px de haut) et
   « PRENDRE RENDEZ-VOUS » y=618-674 : 0 point atteignable sur 25. A 360x740 il
   faisait 180 px, soit 32 % de l'ecran d'arrivee avec la nav basse. Pose le
   04/11, le meme jour que le CTA du tunnel enterre sous la nav — deux pannes
   ce jour-la, une seule avait ete reparee, et les reservations n'etaient
   jamais remontees au-dessus de 1 par jour.
   Deux corrections ici : la typographie passe en compact (le bandeau descend
   sous 80 px, donc il ne mord plus sur la bande du bouton), et la hauteur
   reelle est RESERVEE au bas du document pour que le bandeau ne cache plus
   jamais le dernier element d'une page. Toujours verifier en navigation
   privee : avec un choix deja enregistre, le bandeau n'existe pas et la
   mesure renvoie 25/25 sans rien voir. */
@media (max-width: 900px) {
  /* Le bandeau se place PAR-DESSUS la nav basse et non au-dessus d'elle : en
     s'empilant, les deux confisquaient 230 px des 844 de l'ecran d'arrivee
     (32 % a 320 px) et la bande du bas contenait le seul bouton de la page.
     La nav reste accessible en un geste, le bandeau part en un tap. */
  .ysg-consentement {
    bottom: 0;
    z-index: 10000;
    gap: 0.6rem;
    padding: 0.55rem 0.8rem;
  }
  .ysg-consentement-txt {
    font-size: 0.72rem;
    line-height: 1.35;
    flex: 1 1 9rem;
    min-width: 0;
  }
  /* Version courte sur mobile : la finalite et le lien de detail suffisent a
     l'information prealable, et le bandeau tient sur une ligne. */
  .ysg-consentement-long { display: none; }
  .ysg-consentement-court { display: inline; }
  .ysg-consentement-actions { gap: 0.4rem; }
  .ysg-consentement-btn {
    min-height: 40px;
    padding: 0 0.9rem;
    font-size: 0.75rem;
  }
}

/* La hauteur du bandeau, mesuree par js/consentement.js et posee en variable,
   est rendue au document : sans cela un element fixe recouvre la fin de page. */
body.ysg-consent-ouvert { padding-bottom: var(--ysg-consent-h, 0px); }
/* Le hero fait 100svh et centre son contenu : le bouton d'appel tombait donc
   pile dans la bande du bas. On rend la hauteur du bandeau au hero pour que son
   contenu remonte au-dessus de lui. Mesure du 20/11 a 360x740 : le bouton
   passait de 0 point atteignable sur 25 a 25 sur 25. */
@media (max-width: 900px) {
  /* Pourquoi un `transform` et pas du `padding` : le contenu du hero est deja
     plus haut que l'ecran sur un telephone etroit, donc `min-height: 100svh`
     n'agit plus et ajouter du padding en bas ne remonte rien du tout — mesure
     faite, le bouton ne bougeait pas d'un pixel. Le `transform` deplace le
     contenu sans toucher a la mise en page, et il disparait avec la classe
     des que la visiteuse a repondu.
     Mesure du 20/11/2026, visiteuse neuve : bouton « Prendre rendez-vous »
     0/25 atteignable avant, 25/25 apres, a 390 comme a 360 px. */
  body.ysg-consent-ouvert .hero > .container {
    transform: translateY(calc(-0.62 * var(--ysg-consent-h, 0px)));
  }
}


/* ── En-tete de tableau sur fond sombre ───────────────────────
   `table.tarifs th` (gris, pour la page /tarifs ou l'en-tete est clair)
   l'emportait en specificite sur `.price-table th` des articles, dont
   l'en-tete est noir : le texte y tombait a 2,9:1. On retablit le clair
   a specificite egale, mais plus tard dans la feuille. */
table.price-table th { color: var(--blanc, #FFFDF9); }


/* ── Zones cliquables du pied de page ─────────────────────────
   Mesure du 04/11/2026 : les liens du pied faisaient 15 px de haut,
   sous le minimum de 24 px attendu pour une cible tactile. On les passe
   en bloc avec une respiration verticale : la mise en page ne bouge pas,
   la zone touchable triple. */
.footer-links a,
.footer-link,
.footer-links-simple a,
.footer-legal a,
footer li > a {
  display: inline-block;
  min-height: 24px;
  padding-block: 0.4rem;
  line-height: 1.45;
}
.footer-social-btn { min-width: 40px; min-height: 40px; }

/* Un lien seul dans son <li> est une cible tactile a part entiere :
   on lui donne la hauteur minimale attendue sans toucher la mise en page. */
li > a:only-child {
  display: inline-block;
  min-height: 24px;
  padding-block: 0.3rem;
}

/* Le bandeau occupe la bande du bas TANT QU'IL EST LA : la nav basse n'y est
   pas en meme temps. Sinon le bandeau recouvrait son bouton « Réserver » sur
   toutes les pages, pour toute visiteuse qui n'avait pas encore repondu —
   mesure du 21/11/2026 : 0 point atteignable sur 16, sur /tarifs, /avis et
   /contact. Une bande, une fonction a la fois ; un tap et la nav revient. */
@media (max-width: 900px) {
  body.ysg-consent-ouvert .bottom-nav { display: none !important; }
}

/* Le bouton « Réserver » de l'en-tete mesurait 37 px de haut, sous le minimum
   de 44 px recommande pour une cible tactile. La barre faisant 72 px de haut
   et etant de hauteur FIXE, l'agrandir ne deplace rien. */
@media (max-width: 900px) {
  .navbar .btn-sm, .navbar-actions .btn-sm { min-height: 44px; }
}

/* Le hero fait 100svh : son contenu pouvait tomber SOUS la nav basse. Mesure
   du 21/11/2026 a 390 px, consentement deja donne : le 3e bouton du hero
   (« La boutique ») etait a 0 point atteignable sur 16, recouvert par la nav.
   On sort la hauteur de la nav du hero : son contenu se centre au-dessus. */
@media (max-width: 900px) {
  .hero { min-height: calc(100svh - 70px); }
}

/* Les liens de la barre de navigation faisaient 21 px de haut, sous les 44 px
   d'une cible tactile. La barre etant de hauteur FIXE (72 px), les agrandir
   ne deplace rien. */
@media (max-width: 1024px) {
  .navbar-nav a, .navbar-links a { min-height: 44px; display: inline-flex;
    align-items: center; }
}

/* Sur un telephone etroit, le hero ne tenait pas : mesure du 21/11/2026 a
   360x740, consentement deja donne — eyebrow 56 px, titre 97, SOUS-TITRE
   318 px (43 % de l'ecran pour 436 caracteres), boutons a partir de 639.
   La nav basse occupant 669-740, le bouton « Prendre rendez-vous » n'etait
   atteignable qu'a 8 points sur 16 : un pouce au centre tombait sur la nav.
   On resserre la typographie et les espacements sous 400 px — aucun texte
   n'est masque, tout reste lisible, et le contenu remonte d'environ 90 px. */
@media (max-width: 400px) {
  .hero .container { gap: 0.9rem; }
  .hero-eyebrow { font-size: 0.64rem; letter-spacing: 0.20em; }
  .hero-subtitle { font-size: 0.74rem; line-height: 1.55; }
}
