/* ==========================================================================
   Maison du Miel — page d'accueil
   Palette tirée du logo : encre aubergine et miel, sur fond blanc,
   avec une touche de vert feuille pour la nature et le contrôle sanitaire.
   ========================================================================== */

:root {
  --encre: #1e060b;
  --encre-douce: #5b3b40;
  --aubergine: #26090f;
  --miel: #f9ad28;
  --miel-fonce: #b5650a;
  --creme: #ffffff;
  --lait: #ffffff;
  --sable: #f4f5f1;
  --brume: #f6f7f4;
  --or-pale: #fff7e6;
  --vert: #2f6b3c;
  --vert-fonce: #1f4d2b;
  --vert-pale: #eef5ec;
  --trait: rgba(30, 6, 11, 0.14);
  --trait-clair: rgba(255, 236, 218, 0.18);

  --serif: "Gloock", "Playfair Display", "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --large: 1320px;
  --marge: clamp(20px, 4vw, 56px);
  --bloc: clamp(72px, 10vw, 144px);
  --doux: cubic-bezier(0.2, 0.7, 0.1, 1);
  --entete-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.fige { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--miel-fonce); outline-offset: 3px; border-radius: 4px; }

svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 18px; border-radius: 999px; background: var(--encre); color: var(--creme);
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

.cadre { width: min(100%, var(--large)); margin-inline: auto; padding-inline: var(--marge); }

/* ---------- Typographie ---------- */

.titre-xl, .titre-l, .titre-m { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; text-wrap: balance; }
.titre-xl { font-size: clamp(3rem, 6.4vw, 6rem); line-height: 1; }
.titre-l { font-size: clamp(2.125rem, 4.1vw, 3.75rem); line-height: 1.06; }
.titre-m { font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.12; }

/* ---------- Boutons et liens ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 0.9375rem; white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--doux);
}
.btn:active { transform: scale(0.97); }
.btn--grand { height: 58px; padding: 0 34px; font-size: 1rem; }
.btn--plein { background: var(--encre); color: var(--creme); }
.btn--plein:hover { background: var(--miel); color: var(--encre); }
.btn--miel { background: var(--miel); color: var(--encre); }
.btn--miel:hover { background: var(--creme); }
.btn--contour { border: 1.5px solid var(--encre); }
.btn--contour:hover { background: var(--encre); color: var(--creme); }
.btn--inverse { background: var(--fg); color: var(--bg); }
.btn--inverse:hover { transform: translateY(-2px); }

.lien {
  display: inline-block; font-weight: 600; font-size: 0.9375rem;
  padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  transition: background-size 0.35s var(--doux), color 0.25s;
}
.lien:hover { background-size: 0 1.5px; background-position: 100% 100%; color: var(--miel-fonce); }
.lien--clair:hover { color: var(--miel); }

.prix { font-family: var(--serif); font-size: 1.5rem; line-height: 1; white-space: nowrap; }
.prix small { font-size: 0.6em; }
.prix--grand { font-size: 2.5rem; }
.prix__format { font-family: var(--sans); font-size: 0.8125rem; opacity: 0.7; margin-left: 6px; }

.plus {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--encre);
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--doux), border-color 0.25s;
}
.plus svg { width: 18px; height: 18px; stroke-width: 1.8; transition: transform 0.35s var(--doux); }
.plus:hover { background: var(--encre); color: var(--creme); }
.plus:hover svg { transform: rotate(90deg); }
.plus:active { transform: scale(0.9); }
.plus.est-ajoute { background: var(--miel); border-color: var(--miel); color: var(--encre); }

/* Photos de studio : le fond blanc se fond dans la couleur du support */
.fondu {
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 64%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 64%, transparent 75%);
}

/* ---------- En-têtes de section ---------- */

.tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.tete .titre-l { max-width: 16ch; }
.tete--etroite { display: block; max-width: 640px; }
.tete--etroite .titre-l { max-width: none; margin-bottom: 16px; }
.tete--etroite p { color: var(--encre-douce); }
.tete__cote { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ---------- Dessins réutilisés, surtitres et sceaux ---------- */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.surtitre { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-weight: 600; font-size: 0.9375rem; color: var(--vert); }
.surtitre svg { flex: none; width: 22px; height: 22px; }

.tete__chapo { max-width: 44ch; color: var(--encre-douce); }

/* Sceau de médaille : un hexagone à ruban, décliné par métal */
.sceau {
  --t: 56px; --metal: var(--miel); --metal-bord: #a86a08; --ruban: var(--aubergine);
  position: relative; flex: none; display: inline-block; width: var(--t); aspect-ratio: 60 / 72;
}
.sceau svg { width: 100%; height: 100%; stroke: none; overflow: visible; }
.sceau b {
  position: absolute; left: 50%; top: 39%; translate: -50% -50%;
  font-size: calc(var(--t) * 0.235); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--encre);
}
.sceau--platine { --metal: #eef1f3; --metal-bord: #6d7880; --ruban: #55616a; }
.sceau--argent { --metal: #cfd4d8; --metal-bord: #6f777d; }
.sceau--bronze { --metal: #dba172; --metal-bord: #8a5630; }


/* ==========================================================================
   Bandeau d'annonce
   ========================================================================== */

.annonce { position: relative; height: 38px; background: var(--encre); color: var(--creme); overflow: hidden; }
.annonce__msg {
  position: absolute; inset: 0; display: grid; place-items: center; padding-inline: 16px;
  font-size: 0.8125rem; font-weight: 500; text-align: center; white-space: nowrap;
  opacity: 0; transform: translateY(8px); transition: opacity 0.5s, transform 0.5s var(--doux);
}
.annonce__msg.is-on { opacity: 1; transform: none; }

/* ==========================================================================
   En-tête
   ========================================================================== */

.entete { position: sticky; top: 0; z-index: 60; background: var(--creme); transition: box-shadow 0.3s; }
.entete.is-serre { box-shadow: 0 1px 0 var(--trait), 0 12px 30px -22px rgba(30, 6, 11, 0.5); }

.entete__in {
  width: min(100%, var(--large)); margin-inline: auto; padding-inline: var(--marge);
  height: var(--entete-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  transition: height 0.3s var(--doux);
}
.entete.is-serre .entete__in { height: 66px; }

.marque { display: flex; align-items: center; gap: 12px; }
.marque__sceau { width: auto; height: 50px; transition: height 0.3s var(--doux); }
.marque__nom { width: auto; height: 38px; transition: height 0.3s var(--doux); }
.entete.is-serre .marque__sceau { height: 42px; }
.entete.is-serre .marque__nom { height: 32px; }

.menu { display: flex; justify-content: center; gap: clamp(18px, 2.4vw, 36px); }
.menu__item {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; font-size: 0.9375rem; font-weight: 500; white-space: nowrap;
}
.menu__item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--miel);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--doux);
}
.menu__item:hover::after, .menu__item:focus-visible::after, .menu__li.is-ouvert > .menu__item::after, .menu__li.is-courant > .menu__item::after, .menu__item[aria-current]::after { transform: scaleX(1); }

.outils { display: flex; align-items: center; gap: 4px; }
.outil { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background-color 0.2s; }
.outil:hover { background: rgba(30, 6, 11, 0.07); }
.outil svg { width: 22px; height: 22px; }
.outil__nb {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--miel); color: var(--encre); font-size: 0.6875rem; font-weight: 700; line-height: 19px; text-align: center;
}
.outil__nb.saute { animation: saute 0.5s var(--doux); }
@keyframes saute { 40% { transform: scale(1.45); } }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--encre); transition: transform 0.3s var(--doux), top 0.3s var(--doux); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.recherche {
  display: flex; gap: 12px; width: min(100%, var(--large)); margin-inline: auto; padding: 0 var(--marge) 18px;
}
.recherche[hidden] { display: none; }
.recherche input {
  flex: 1; min-width: 0; height: 50px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--encre); background: var(--lait);
}
.recherche input::placeholder { color: var(--encre-douce); }

/* ==========================================================================
   Film d'ouverture
   ========================================================================== */

.film {
  position: relative; isolation: isolate; display: grid; align-items: end;
  min-height: clamp(560px, calc(100svh - 118px), 860px);
  background: var(--aubergine); color: #fff; overflow: hidden;
}
.film__fond { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.film__fond video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film__fond::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(30, 6, 11, 0.9) 0%, rgba(30, 6, 11, 0.74) 42%, rgba(30, 6, 11, 0.3) 100%),
    linear-gradient(0deg, rgba(30, 6, 11, 0.78) 0%, rgba(30, 6, 11, 0) 52%);
}
/* Une trame d'alvéoles, plus dense vers la droite, par-dessus l'image */
.film__fond::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66 0 50V16L28 0l28 16v34L28 66v34' fill='none' stroke='%23f9ad28' stroke-opacity='.26'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(90deg, transparent 38%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 38%, #000 100%);
}

.film__in {
  position: relative; width: min(100%, var(--large)); margin-inline: auto;
  padding: clamp(72px, 9vw, 128px) var(--marge) clamp(128px, 13vw, 184px);
}
.film__depuis { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; font-weight: 600; font-size: 0.9375rem; }
.film__depuis svg { width: 34px; height: auto; stroke: none; }
.film .titre-xl { font-size: clamp(3rem, 7.2vw, 6.75rem); }

.ligne { display: block; overflow: hidden; padding-block: 0.06em; margin-block: -0.06em; white-space: nowrap; }
.ligne > span { display: block; }

/* Le dernier mot du titre change : famille, terroir, patience */
.mots { display: inline-grid; color: var(--miel); }
.mots b { grid-area: 1 / 1; font-weight: 400; opacity: 0; transform: translateY(70%); transition: opacity 0.45s, transform 0.75s var(--doux); }
.mots b.is-on { opacity: 1; transform: none; }
.mots b.sort { opacity: 0; transform: translateY(-70%); }

.film__chapo { max-width: 48ch; margin-top: 26px; font-size: clamp(1.0625rem, 1.35vw, 1.3125rem); color: rgba(255, 255, 255, 0.88); }
.film__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; margin-top: 34px; }

/* Bouton de lecture : une alvéole qui pulse */
.film__lecture {
  position: absolute; right: var(--marge); top: 46%; translate: 0 -50%;
  display: flex; flex-direction: column; align-items: center; gap: 22px; color: #fff; text-align: center;
}
.film__hexa { display: block; width: clamp(104px, 10vw, 148px); }
.film__hexa svg { width: 100%; overflow: visible; stroke: none; }
.film__plein, .film__onde { transform-box: fill-box; transform-origin: center; transform: scale(0.66); }
.film__plein { fill: var(--miel); transition: transform 0.45s var(--doux), fill 0.3s; }
.film__fleche { fill: var(--encre); }
.film__onde { fill: none; stroke: var(--miel); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: 0; }
.film__lecture:hover .film__plein, .film__lecture:focus-visible .film__plein { transform: scale(0.78); fill: #fff; }
.film__legende { font-size: 0.875rem; line-height: 1.4; color: rgba(255, 255, 255, 0.84); }
.film__legende strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: #fff; }

.film__pause {
  position: absolute; right: max(var(--marge), calc((100vw - var(--large)) / 2 + var(--marge))); bottom: clamp(92px, 8vw, 116px);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; transition: background-color 0.25s;
}
.film__pause:hover { background: rgba(255, 255, 255, 0.16); }
.film__pause svg { width: 20px; height: 20px; }
.film__pause-b { display: none; fill: currentColor; stroke: none; }
.film__pause[aria-pressed="true"] .film__pause-a { display: none; }
.film__pause[aria-pressed="true"] .film__pause-b { display: block; }

@keyframes monte { to { transform: none; } }
@keyframes parait { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes derive { from { transform: scale(1.04); } to { transform: scale(1.15) translate(-1.5%, 1.5%); } }
@keyframes onde { from { transform: scale(0.66); opacity: 0.9; } to { transform: scale(1.3); opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .film__fond video { animation: derive 28s ease-in-out infinite alternate; }
  .ligne > span { transform: translateY(108%); animation: monte 1s var(--doux) forwards; }
  .ligne:nth-child(2) > span { animation-delay: 0.09s; }
  .ligne:nth-child(3) > span { animation-delay: 0.18s; }
  .film__depuis, .film__chapo, .film__actions, .film__lecture { opacity: 0; animation: parait 0.9s var(--doux) 0.5s forwards; }
  .film__depuis { animation-delay: 0.1s; }
  .film__actions { animation-delay: 0.62s; }
  .film__lecture { animation-delay: 0.85s; }
  .film__onde { animation: onde 2.8s ease-out 1.6s infinite; }
  .film__onde--b { animation-delay: 3s; }
  .preuves__liste li { opacity: 0; animation: parait 0.8s var(--doux) 1s forwards; }
  .preuves__liste li:nth-child(2) { animation-delay: 1.12s; }
  .preuves__liste li:nth-child(3) { animation-delay: 1.24s; }
  .preuves__liste li:nth-child(4) { animation-delay: 1.36s; }
}

/* ==========================================================================
   Preuves : agrément et médailles, à cheval sur le film
   ========================================================================== */

.preuves { position: relative; z-index: 2; margin-top: clamp(-76px, -5.5vw, -52px); }
.preuves__liste {
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
  background: #fff; border: 1px solid var(--trait); border-radius: 22px;
  box-shadow: 0 30px 60px -38px rgba(30, 6, 11, 0.5);
}
.preuves__liste li + li { border-left: 1px solid var(--trait); }
.preuves__liste a { display: flex; align-items: center; gap: 16px; height: 100%; padding: 20px 22px; transition: background-color 0.25s; }
.preuves__liste a:hover { background: var(--brume); }
.preuves__liste img, .preuves__liste .sceau { transition: transform 0.45s var(--doux); }
.preuves__liste img { flex: none; width: 58px; height: auto; }
.preuves__liste .sceau { --t: 48px; margin-inline: 5px; }
.preuves__liste a:hover img, .preuves__liste a:hover .sceau { transform: translateY(-3px) rotate(-5deg); }
.preuves__liste a > span:last-child { font-size: 0.8125rem; line-height: 1.4; color: var(--encre-douce); }
.preuves__liste strong { display: block; font-size: 1rem; color: var(--encre); }

/* ==========================================================================
   Producteur, pas revendeur
   ========================================================================== */

.manifeste { padding-block: var(--bloc); overflow: hidden; }
.manifeste__grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.manifeste .titre-l { max-width: 15ch; margin-bottom: 26px; }
.manifeste__texte > p:not([class]) { max-width: 54ch; color: var(--encre-douce); }
.manifeste__texte > p:not([class]) + p { margin-top: 14px; }

.chiffres {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 20px 24px;
  margin: 36px 0 30px; padding-block: 26px; border-block: 1px solid var(--trait);
}
.chiffres div { display: flex; flex-direction: column-reverse; gap: 6px; }
.chiffres dt { font-size: 0.875rem; color: var(--encre-douce); }
.chiffres dd { font-family: var(--serif); font-size: clamp(2.25rem, 3.6vw, 3.375rem); line-height: 1; font-variant-numeric: tabular-nums; }

.floraisons__titre { margin-bottom: 12px; font-size: 0.9375rem; font-weight: 600; }
.floraisons { display: flex; flex-wrap: wrap; gap: 8px; }
.floraisons a {
  display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px;
  border: 1px solid rgba(47, 107, 60, 0.28); background: var(--vert-pale); color: var(--vert-fonce);
  font-size: 0.875rem; font-weight: 500;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--doux);
}
.floraisons a:hover { background: var(--vert); border-color: var(--vert); color: #fff; transform: translateY(-2px); }
.floraisons i { width: 14px; height: 16px; background: var(--c); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.manifeste__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; margin-top: 36px; }

.manifeste__visuel { position: relative; padding: 0 0 13% 13%; }
.manifeste__a { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.manifeste__b { position: absolute; left: 0; bottom: 0; width: 50%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 18px; outline: 10px solid #fff; }

/* Rameau d'oranger : il se balance doucement */
.rameau { position: absolute; left: -10%; top: 3%; width: 23%; height: auto; color: var(--vert); transform-origin: 12% 98%; }
.rameau__fleur { fill: var(--miel); stroke: var(--miel-fonce); }
@keyframes balance { from { transform: rotate(-2.5deg); } to { transform: rotate(3deg); } }
@media (prefers-reduced-motion: no-preference) { .rameau { animation: balance 6s ease-in-out infinite alternate; } }

.gestes__suite { margin-top: clamp(32px, 4vw, 52px); }

@media (max-width: 1120px) {
  .preuves__liste { grid-template-columns: repeat(2, 1fr); }
  .preuves__liste li:nth-child(3) { border-left: 0; }
  .preuves__liste li:nth-child(n + 3) { border-top: 1px solid var(--trait); }
}

@media (max-width: 980px) {
  .film { min-height: 0; }
  .film__in { padding-top: 64px; }
  .film__lecture { position: static; translate: none; flex-direction: row; gap: 18px; margin-top: 40px; text-align: left; }
  .film__hexa { width: 76px; }
  .film__pause { bottom: auto; top: 16px; }
  .manifeste__grille { grid-template-columns: 1fr; }
  .manifeste__visuel { width: min(100%, 560px); }
}

@media (max-width: 680px) {
  .film .titre-xl { font-size: clamp(2.625rem, 13vw, 4rem); }
  .preuves__liste { grid-template-columns: 1fr; }
  .preuves__liste li + li { border-left: 0; border-top: 1px solid var(--trait); }
  .preuves__liste a { padding: 13px 18px; }
  .preuves__liste img { width: 46px; }
  .preuves__liste .sceau { --t: 38px; margin-inline: 4px; }
  .chiffres { grid-template-columns: repeat(2, 1fr); }
  .rameau { left: -4%; width: 19%; }
}


/* ==========================================================================
   Engagements
   ========================================================================== */

.gages { border-block: 1px solid var(--trait); }
.gages__liste { width: min(100%, var(--large)); margin-inline: auto; padding-inline: var(--marge); display: grid; grid-template-columns: repeat(4, 1fr); }
.gages__liste li { display: flex; gap: 16px; padding: 28px 28px 28px 0; }
.gages__liste li + li { padding-left: 28px; border-left: 1px solid var(--trait); }
.gages__liste svg { flex: none; width: 30px; height: 30px; stroke-width: 1.3; color: var(--vert); }
.gages__liste p { font-size: 0.875rem; line-height: 1.5; color: var(--encre-douce); }
.gages__liste strong { display: block; margin-bottom: 2px; font-size: 0.9375rem; color: var(--encre); }

/* ==========================================================================
   La palette des miels
   ========================================================================== */

.palette {
  --bg: #f7c04e; --fg: #1e060b;
  background: var(--bg); color: var(--fg);
  transition: background-color 0.8s var(--doux), color 0.5s;
}
.palette__in {
  width: min(100%, var(--large)); margin-inline: auto; padding: var(--bloc) var(--marge) clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px) minmax(0, 1fr);
  grid-template-areas: "tete scene fiche" "nuancier nuancier nuancier";
  align-items: center; gap: clamp(40px, 5vw, 72px) clamp(32px, 4vw, 64px);
}
.palette__tete { grid-area: tete; align-self: start; }
.palette__tete p { max-width: 34ch; margin-top: 22px; opacity: 0.82; }

.palette__scene { grid-area: scene; }
.plateau { position: relative; isolation: isolate; aspect-ratio: 520 / 580; }
.plateau svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plateau path { fill: var(--lait); stroke: var(--lait); stroke-width: 44; stroke-linejoin: round; }
.plateau__pot {
  position: absolute; left: 50%; top: 50%; height: 74%; width: auto; max-width: none; translate: -50% -50%;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 64%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 64%, transparent 75%);
  transition: opacity 0.3s, transform 0.5s var(--doux);
}
.plateau__pot.sort { opacity: 0; transform: translateY(18px) rotate(-3deg); }

.palette__fiche { grid-area: fiche; transition: opacity 0.3s; }
.palette__fiche.sort { opacity: 0; }
.palette__origine { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9375rem; }
.palette__origine svg { width: 18px; height: 18px; }
.palette__nom { font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 3.6vw, 3.25rem); line-height: 1.05; letter-spacing: -0.015em; margin: 10px 0 16px; }
.palette__texte { max-width: 38ch; opacity: 0.86; }
.palette__notes { margin-top: 24px; border-top: 1px solid color-mix(in srgb, currentColor 24%, transparent); }
.palette__notes div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 24%, transparent); font-size: 0.9375rem; }
.palette__notes dt { opacity: 0.72; }
.palette__notes dd { font-weight: 600; }
.palette__medaille { display: inline-block; margin-top: 18px; padding: 6px 14px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 0.8125rem; font-weight: 600; }
.palette__medaille[hidden] { display: none; }
.palette__achat { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: 28px; }

.nuancier { grid-area: nuancier; display: flex; align-items: flex-start; gap: clamp(12px, 2vw, 28px); padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid color-mix(in srgb, currentColor 24%, transparent); }
.nuancier__borne { flex: none; padding-top: 14px; font-family: var(--serif); font-size: 1.125rem; }
.nuancier__rail { position: relative; flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); }
.nuancier__rail::before { content: ""; position: absolute; left: 8%; right: 8%; top: 26px; height: 1px; background: color-mix(in srgb, currentColor 30%, transparent); }
.nuancier button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 4px 2px; font-size: 0.875rem; font-weight: 500; }
.nuancier i {
  position: relative; display: block; width: 40px; height: 45px;
  transition: transform 0.45s var(--doux);
}
.nuancier i::before, .nuancier i::after { content: ""; position: absolute; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.nuancier i::before { inset: 0; background: var(--fg); transition: background-color 0.5s; }
.nuancier i::after { inset: 2.5px; background: var(--c); }
.nuancier button:hover i { transform: translateY(-4px); }
.nuancier button[aria-selected="true"] i { transform: scale(1.38); }
.nuancier button[aria-selected="true"] span { font-weight: 700; }
.nuancier span { transition: opacity 0.3s; opacity: 0.8; }
.nuancier button[aria-selected="true"] span, .nuancier button:hover span { opacity: 1; }

/* ==========================================================================
   Trésors de la ruche : un nid d'alvéoles
   ========================================================================== */

.univers { padding-block: var(--bloc) clamp(48px, 6vw, 80px); overflow: hidden; }

.nid {
  --g: 14px;
  --c: min(250px, calc((100vw - 2 * var(--marge) - 3 * var(--g)) / 4));
  --h: calc(var(--c) * 1.1547);
  --hexa: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.nid__rang { display: flex; justify-content: center; gap: var(--g); }
.nid__rang + .nid__rang { margin-top: calc(var(--h) * -0.25 + var(--g) * 0.866); }

.cellule { position: relative; flex: none; width: var(--c); height: var(--h); clip-path: var(--hexa); }
a.cellule { background: var(--miel); color: #fff; }
a.cellule:focus-visible { background: var(--encre); }
.cellule__in { position: absolute; inset: 0; overflow: hidden; clip-path: var(--hexa); background: var(--aubergine); transition: inset 0.45s var(--doux); }
a.cellule:hover .cellule__in, a.cellule:focus-visible .cellule__in { inset: 6px; }
.cellule__in img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--doux); }
a.cellule:hover img { transform: scale(1.07); }
.cellule__in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 6, 11, 0.86) 14%, rgba(30, 6, 11, 0) 64%); }
.cellule__txt { position: absolute; left: 13%; right: 13%; bottom: 19%; text-align: center; }
.cellule__txt strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.0625rem, 1.8vw, 1.5rem); line-height: 1.1; }
.cellule__txt small { display: block; margin-top: 5px; font-size: 0.8125rem; line-height: 1.3; opacity: 0.92; }

/* Photo de studio sur fond clair : on la pose sur une alvéole vert pâle */
.cellule--eaux { color: var(--encre); }
.cellule--eaux .cellule__in { background: var(--vert-pale); }
.cellule--eaux .cellule__in::after { display: none; }
.cellule--eaux .cellule__in img { padding: 9% 24% 36%; object-fit: contain; mix-blend-mode: multiply; }

/* Alvéoles sans photo : elles complètent le nid */
.cellule--miel, .cellule--vert {
  display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center;
  font-family: var(--serif); font-size: clamp(1rem, 1.6vw, 1.375rem); line-height: 1.15;
}
.cellule--miel { background: var(--miel); color: var(--encre); }
.cellule--miel svg { width: calc(var(--c) * 0.3); stroke: none; }
.cellule--vert { background: var(--vert-pale); color: var(--vert-fonce); }
.cellule--vert svg { width: calc(var(--c) * 0.2); }
.cellule--vide {
  clip-path: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 115.470' preserveAspectRatio='none'%3E%3Cpath d='M50 1 99 29.400v56.700L50 114.500 1 86.100V29.400Z' fill='none' stroke='%23f9ad28' stroke-width='1.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* Les alvéoles éclosent une à une */
@media (prefers-reduced-motion: no-preference) {
  .js .nid .cellule { opacity: 0; scale: 0.8; transition: opacity 0.6s, scale 0.9s var(--doux); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .nid.is-vu .cellule { opacity: 1; scale: 1; }
  .cellule--miel svg { animation: plane 2.4s ease-in-out infinite; }
}

/* Téléphone : cinq alvéoles en 2, 1, 2 */
@media (max-width: 760px) {
  .nid {
    --g: 10px;
    --c: min(250px, calc((100vw - 2 * var(--marge) - var(--g)) / 2));
    display: grid; grid-template-columns: repeat(4, calc((var(--c) + var(--g)) / 2)); justify-content: center;
  }
  .nid__rang { display: contents; }
  .cellule { justify-self: center; }
  .cellule--vide, .cellule--miel, .cellule--vert { display: none; }
  .cellule--douceurs { grid-area: 1 / 1 / auto / span 2; }
  .cellule--divers { grid-area: 1 / 3 / auto / span 2; }
  .cellule--ruche { grid-area: 2 / 2 / auto / span 2; }
  .cellule--eaux { grid-area: 3 / 1 / auto / span 2; }
  .cellule--coffrets { grid-area: 3 / 3 / auto / span 2; }
  .cellule--ruche, .cellule--eaux, .cellule--coffrets { margin-top: calc(var(--h) * -0.25 + var(--g) * 0.866); }
  .cellule__txt small { display: none; }
}


/* ==========================================================================
   Boutique
   ========================================================================== */

.boutique { background: var(--lait); padding-block: clamp(48px, 6vw, 80px) var(--bloc); }

.filtres { display: flex; gap: 6px; flex-wrap: wrap; }
.filtres button { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--trait); font-size: 0.875rem; font-weight: 500; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.filtres button:hover { border-color: var(--encre); }
.filtres button.is-on { background: var(--encre); border-color: var(--encre); color: var(--creme); }

.fleches { display: flex; gap: 8px; }
.fleches button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--encre); transition: background-color 0.25s, color 0.25s, opacity 0.25s; }
.fleches button:hover:not(:disabled) { background: var(--encre); color: var(--creme); }
.fleches button:disabled { opacity: 0.28; cursor: default; }
.fleches svg { width: 20px; height: 20px; }

.rail {
  --retrait: max(var(--marge), calc((100vw - var(--large)) / 2 + var(--marge)));
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--retrait);
  padding: 6px var(--retrait) 12px; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }

.fiche { flex: 0 0 clamp(236px, 21.5vw, 292px); scroll-snap-align: start; }
.fiche[hidden] { display: none; }
.fiche__img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: var(--sable); }
.fiche__img img { width: auto; height: 80%; max-width: 88%; object-fit: contain; transition: transform 0.7s var(--doux); }
.fiche__img--photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.fiche:hover .fiche__img img { transform: translateY(-6px) scale(1.035); }
.fiche:hover .fiche__img--photo img { transform: scale(1.045); }

.pastille { position: absolute; z-index: 1; left: 12px; top: 12px; padding: 5px 12px; border-radius: 999px; background: var(--encre); color: var(--creme); font-size: 0.75rem; font-weight: 600; }
.pastille--or { background: var(--miel); color: var(--encre); }

.fiche__txt { padding-top: 16px; }
.fiche__genre { font-size: 0.8125rem; color: var(--encre-douce); }
.fiche__txt h3 { margin: 2px 0 14px; font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.2; }
.fiche__txt h3 a:hover { color: var(--miel-fonce); }
.fiche__pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ==========================================================================
   La Maison
   ========================================================================== */

.maison { background: var(--aubergine); color: var(--creme); padding-block: var(--bloc); overflow: hidden; }
.maison__grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(48px, 7vw, 120px); align-items: start; }

.maison__an {
  font-family: var(--serif); font-size: clamp(6rem, 15vw, 14rem); line-height: 0.78; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(249, 173, 40, 0.55); margin: 0 0 -0.16em -0.04em; user-select: none;
}
.maison__recit .titre-l { position: relative; max-width: 15ch; margin-bottom: 28px; }
.maison__recit > p:not(.maison__an) { max-width: 52ch; margin-bottom: 18px; color: rgba(255, 236, 218, 0.78); }
.maison__recit .lien { margin-top: 10px; }

.maison__photos { position: relative; margin-top: clamp(40px, 5vw, 64px); padding-bottom: 12%; }
.maison__photo-a { width: 64%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.maison__photo-b { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 16px; outline: 8px solid var(--aubergine); }

.chrono { position: relative; padding-left: 60px; padding-top: clamp(0px, 8vw, 120px); }
.chrono__fil { position: absolute; left: 14px; top: clamp(8px, 8.6vw, 132px); bottom: 12px; width: 2px; background: var(--trait-clair); }
.chrono__fil i { position: absolute; inset: 0; background: var(--miel); transform-origin: top; transform: scaleY(var(--avance, 0)); }
.chrono li { position: relative; padding-bottom: clamp(40px, 5vw, 68px); }
.chrono li:last-child { padding-bottom: 0; }
.chrono li::before {
  content: ""; position: absolute; left: -54px; top: 14px; width: 18px; height: 20px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: #54303a; transition: background-color 0.4s, transform 0.5s var(--doux);
}
.chrono li.is-vu::before { background: var(--miel); transform: scale(1.25); }
.chrono__an { font-family: var(--serif); font-size: clamp(2.25rem, 3.4vw, 3.125rem); line-height: 1; color: var(--miel); }
.chrono h3 { margin: 10px 0 6px; font-size: 1.1875rem; font-weight: 600; }
.chrono li > p:last-child { max-width: 42ch; color: rgba(255, 236, 218, 0.74); }
.js .chrono li { opacity: 0.38; transition: opacity 0.6s; }
.js .chrono li.is-vu { opacity: 1; }

/* ==========================================================================
   Savoir-faire
   ========================================================================== */

.gestes { padding-block: var(--bloc); }
.gestes__liste { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.2vw, 32px); }
.gestes__liste li { position: relative; }
.gestes__liste li:nth-child(even) { margin-top: clamp(0px, 4vw, 56px); }
.gestes__img { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 20px; background: var(--sable); }
.gestes__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--doux); }
.gestes__liste li:hover img { transform: scale(1.045); }
.gestes__no {
  display: grid; place-items: center; width: 46px; height: 52px; margin: -26px 0 14px 18px; position: relative;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--miel); font-family: var(--serif); font-size: 1.25rem;
}
.gestes__liste h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; margin-bottom: 8px; }
.gestes__liste p { font-size: 0.9375rem; color: var(--encre-douce); }

/* ==========================================================================
   Coffrets
   ========================================================================== */

.coffrets { background: var(--lait); padding-block: var(--bloc); }
.coffrets__grille { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.coffrets__visuel { position: relative; padding-bottom: 9%; }
.coffrets__grand { width: 80%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 22px; }
.coffrets__petit { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; outline: 10px solid var(--lait); }

.coffrets__texte .titre-l { max-width: 14ch; margin-bottom: 22px; }
.coffrets__texte > p { max-width: 50ch; color: var(--encre-douce); }
.coffrets__liste { margin-top: 32px; border-bottom: 1px solid var(--trait); }
.coffrets__liste a { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 20px; padding: 16px 0; border-top: 1px solid var(--trait); transition: padding 0.4s var(--doux); }
.coffrets__liste a:hover { padding-inline: 10px; }
.coffrets__liste img { width: 76px; height: 76px; object-fit: cover; border-radius: 14px; }
.coffrets__liste span { font-size: 0.9375rem; line-height: 1.45; color: var(--encre-douce); }
.coffrets__liste strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.375rem; color: var(--encre); }
.coffrets__liste em { font-style: normal; font-weight: 600; font-size: 0.9375rem; white-space: nowrap; }
.coffrets__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; margin-top: 36px; }

/* ==========================================================================
   Distinctions
   ========================================================================== */

.prix-bande { background: var(--miel); padding-block: clamp(64px, 8vw, 112px); }
.prix-bande .titre-m { max-width: 22ch; margin-bottom: clamp(36px, 5vw, 64px); }
.prix-bande__liste { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--encre); }
.prix-bande__liste li { padding: 28px 32px 0 0; }
.prix-bande__liste li + li { padding-left: 32px; border-left: 1px solid rgba(30, 6, 11, 0.3); }
.prix-bande__an { font-family: var(--serif); font-size: clamp(3.5rem, 7vw, 6rem); line-height: 1; letter-spacing: -0.02em; }
.prix-bande h3 { margin: 14px 0 4px; font-size: 1.1875rem; font-weight: 700; }
.prix-bande li > p:last-child { max-width: 30ch; font-size: 0.9375rem; }

/* ==========================================================================
   Visites
   ========================================================================== */

.visites { padding-block: var(--bloc); }
.visites__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.visites__texte .titre-l { max-width: 13ch; margin-bottom: 22px; }
.visites__texte > p { max-width: 50ch; color: var(--encre-douce); }
.visites__points { margin: 30px 0 36px; border-bottom: 1px solid var(--trait); }
.visites__points li { padding: 14px 0; border-top: 1px solid var(--trait); font-size: 0.9375rem; color: var(--encre-douce); }
.visites__points strong { display: block; font-size: 1rem; color: var(--encre); }
.visites__visuel { position: relative; padding: 0 0 12% 14%; }
.visites__a { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.visites__b { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; outline: 10px solid var(--creme); }

/* ==========================================================================
   Livre d'or
   ========================================================================== */

.livre { background: var(--lait); padding-block: clamp(64px, 8vw, 112px); }
.livre .titre-m { margin-bottom: clamp(32px, 4vw, 52px); }
.livre__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.livre figure { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding-top: 28px; border-top: 1.5px solid var(--encre); }
.livre blockquote { font-family: var(--serif); font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.38; }
.livre figcaption { font-size: 0.875rem; color: var(--encre-douce); }
.livre figcaption strong { display: block; font-size: 0.9375rem; color: var(--encre); }

/* ==========================================================================
   Pied de page
   ========================================================================== */

.pied { background: var(--aubergine); color: var(--creme); padding-top: clamp(64px, 8vw, 112px); }
.lettre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 96px); align-items: end; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--trait-clair); }
.lettre .titre-m { margin-bottom: 14px; }
.lettre p { max-width: 46ch; color: rgba(255, 236, 218, 0.76); }
.lettre__form { display: flex; flex-wrap: wrap; gap: 10px; }
.lettre__form input { flex: 1 1 220px; min-width: 0; height: 54px; padding: 0 24px; border-radius: 999px; border: 1.5px solid rgba(255, 236, 218, 0.4); background: transparent; transition: border-color 0.25s; }
.lettre__form input::placeholder { color: rgba(255, 236, 218, 0.55); }
.lettre__form input:focus { outline: none; border-color: var(--miel); }
.lettre__form .btn { height: 54px; }
.lettre__retour { flex-basis: 100%; min-height: 1.5em; font-size: 0.875rem; color: var(--miel) !important; }

.pied__grille { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr) 1.2fr; gap: 40px 32px; padding-block: clamp(48px, 6vw, 80px); }
.pied__marque img:first-child { width: 84px; height: auto; margin-bottom: 18px; }
.pied__marque img:nth-child(2) { width: 168px; height: auto; margin-bottom: 14px; }
.pied__marque p, .pied address p { font-size: 0.9375rem; color: rgba(255, 236, 218, 0.72); }
.pied address p + p { margin-top: 12px; }
.pied h3 { margin-bottom: 16px; font-family: var(--serif); font-weight: 400; font-size: 1.1875rem; color: var(--miel); }
.pied nav a { display: block; width: fit-content; padding: 5px 0; font-size: 0.9375rem; color: rgba(255, 236, 218, 0.82); transition: color 0.2s, transform 0.3s var(--doux); }
.pied nav a:hover, .pied address a:hover, .pied__bas a:hover { color: var(--miel); }
.pied nav a:hover { transform: translateX(4px); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-block: 24px; border-top: 1px solid var(--trait-clair); font-size: 0.8125rem; color: rgba(255, 236, 218, 0.62); }
.pied__bas a { margin-left: 24px; }
.pied__bas a:first-child { margin-left: 0; }

/* ==========================================================================
   Panier
   ========================================================================== */

.voile { position: fixed; inset: 0; z-index: 90; background: rgba(30, 6, 11, 0.5); opacity: 0; transition: opacity 0.4s; }
.voile.is-on { opacity: 1; }
.voile[hidden] { display: none; }

.panier {
  position: fixed; top: 0; right: 0; z-index: 100; width: min(440px, 100vw); height: 100dvh;
  display: flex; flex-direction: column; background: var(--lait);
  transform: translateX(102%); visibility: hidden;
  transition: transform 0.5s var(--doux), visibility 0s 0.5s;
}
.panier.is-ouvert { transform: none; visibility: visible; transition: transform 0.5s var(--doux), visibility 0s; box-shadow: -30px 0 60px -30px rgba(30, 6, 11, 0.5); }
.panier__tete { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px 28px; }
.panier__tete h2 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; }

.panier__franco { padding: 0 28px 20px; border-bottom: 1px solid var(--trait); font-size: 0.875rem; }
.jauge { height: 5px; margin-top: 10px; border-radius: 999px; background: var(--sable); overflow: hidden; }
.jauge i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--miel); transition: width 0.6s var(--doux); }

.panier__liste { flex: 1; overflow-y: auto; padding: 0 28px; }
.panier__liste:empty { display: none; }
.panier__liste li { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--trait); }
.ligne-img { display: grid; place-items: center; width: 72px; height: 88px; border-radius: 12px; background: var(--sable); overflow: hidden; }
.ligne-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ligne-nom { font-family: var(--serif); font-size: 1.125rem; line-height: 1.2; }
.ligne-format { font-size: 0.8125rem; color: var(--encre-douce); }
.quantite { display: inline-flex; align-items: center; margin-top: 10px; border: 1px solid var(--trait); border-radius: 999px; }
.quantite button { width: 32px; height: 32px; font-size: 1.125rem; line-height: 1; border-radius: 50%; }
.quantite button:hover { background: var(--sable); }
.quantite span { min-width: 22px; text-align: center; font-size: 0.875rem; font-weight: 600; }
.ligne-cote { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.ligne-cote .prix { font-size: 1.125rem; }
.ligne-retirer { font-size: 0.8125rem; color: var(--encre-douce); text-decoration: underline; text-underline-offset: 3px; }
.ligne-retirer:hover { color: var(--encre); }

.panier__vide { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 28px; text-align: center; }
.panier__vide[hidden] { display: none; }
.panier__vide img { width: 96px; opacity: 0.9; }
.panier__vide p { font-family: var(--serif); font-size: 1.375rem; }

.panier__pied { padding: 20px 28px 28px; border-top: 1px solid var(--trait); background: var(--creme); }
.panier__pied[hidden] { display: none; }
.panier__total { display: flex; align-items: baseline; justify-content: space-between; }
.panier__total strong { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; }
.panier__note { margin: 4px 0 18px; font-size: 0.8125rem; color: var(--encre-douce); }
.panier__pied .btn { width: 100%; }

.avis {
  position: fixed; left: 50%; bottom: 28px; z-index: 110; display: flex; align-items: center; gap: 16px;
  padding: 12px 14px 12px 22px; border-radius: 999px; background: var(--encre); color: var(--creme);
  font-size: 0.9375rem; white-space: nowrap; max-width: calc(100vw - 32px);
  transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: opacity 0.35s, transform 0.45s var(--doux);
}
.avis.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.avis span { overflow: hidden; text-overflow: ellipsis; }
.avis button { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--miel); color: var(--encre); font-weight: 600; font-size: 0.875rem; }

/* ==========================================================================
   Agrément et distinctions
   ========================================================================== */

.labels { padding-top: var(--bloc); overflow: hidden; }
.labels--page { padding-bottom: var(--bloc); }
.labels .tete .titre-l { max-width: 17ch; }
.labels__grille { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: start; }

.agrement { display: grid; gap: 24px; padding: clamp(26px, 3vw, 44px); border-radius: 22px; background: var(--vert-pale); border: 1px solid rgba(47, 107, 60, 0.2); }
.agrement > img { width: clamp(124px, 12vw, 168px); height: auto; filter: drop-shadow(0 14px 22px rgba(31, 77, 43, 0.22)); }
.agrement__no {
  display: inline-block; margin-bottom: 12px; padding: 4px 14px; border-radius: 999px; background: #fff;
  border: 1px solid rgba(47, 107, 60, 0.3); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.04em; color: var(--vert-fonce);
}
.agrement h3 { margin-bottom: 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.625rem, 2.3vw, 2.125rem); line-height: 1.1; color: var(--vert-fonce); }
.agrement p:not([class]) { color: #2f4634; }
.agrement ul { margin-top: 18px; border-top: 1px solid rgba(47, 107, 60, 0.22); }
.agrement li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(47, 107, 60, 0.22); font-size: 0.9375rem; color: #2f4634; }
.agrement li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--vert); stroke-width: 2; }

.medailles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); border-top: 1.5px solid var(--encre); }
.medaille { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--trait); }
.medaille .sceau { --t: 62px; }
.medaille h3 { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.15; }
.medaille p { margin-top: 3px; font-size: 0.875rem; line-height: 1.45; color: var(--encre-douce); }
.medaille__lien { display: inline-block; margin-top: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--miel-fonce); text-decoration: underline; text-underline-offset: 3px; }
.medaille__lien:hover { color: var(--encre); }

.labels__pied { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; margin-top: 30px; }
.labels__jurys { display: flex; align-items: center; gap: 14px; }
.labels__jurys img { width: 62px; height: auto; }

/* Les sceaux se posent un à un quand la section arrive à l'écran */
@media (prefers-reduced-motion: no-preference) {
  .js .medailles .sceau, .js .agrement > img, .js .certificats .sceau {
    opacity: 0; transform: scale(0.5) rotate(-18deg); transition: opacity 0.5s, transform 0.8s var(--doux);
  }
  .js .is-vu .sceau, .js .agrement.is-vu > img { opacity: 1; transform: none; }
  .js .medaille:nth-child(2) .sceau { transition-delay: 0.08s; }
  .js .medaille:nth-child(3) .sceau { transition-delay: 0.16s; }
  .js .medaille:nth-child(4) .sceau { transition-delay: 0.24s; }
  .js .medaille:nth-child(5) .sceau { transition-delay: 0.32s; }
  .js .medaille:nth-child(6) .sceau { transition-delay: 0.4s; }
}

/* Le rucher dessiné : arbres, ruches et abeilles, posés sur la boutique */
.paysage { display: block; width: 100%; height: clamp(96px, 12.5vw, 190px); margin-top: clamp(40px, 6vw, 80px); color: var(--vert); stroke-width: 1.4; }
.paysage__loin { opacity: 0.4; }
.paysage__fruit { fill: var(--miel); stroke: var(--miel-fonce); stroke-width: 1; }
.paysage__vol { stroke: var(--miel-fonce); stroke-dasharray: 2 7; }

@media (max-width: 980px) {
  .labels__grille { grid-template-columns: 1fr; }
  .agrement { grid-template-columns: auto 1fr; align-items: start; }
}
@media (max-width: 680px) {
  .agrement { grid-template-columns: 1fr; }
  .medailles { grid-template-columns: 1fr; }
  .medaille .sceau { --t: 54px; }
}


/* ==========================================================================
   Produits médaillés
   ========================================================================== */

.boutique__agrement {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 6px 18px 6px 6px; border-radius: 999px;
  background: var(--vert-pale); color: var(--vert-fonce); font-size: 0.875rem; font-weight: 600;
}
.boutique__agrement img { width: 34px; height: 34px; }

.fiche--prime .fiche__img { background: var(--or-pale); box-shadow: inset 0 0 0 1.5px var(--miel); }
.fiche__sceau { --t: 52px; position: absolute; z-index: 1; right: 12px; top: 12px; filter: drop-shadow(0 6px 10px rgba(30, 6, 11, 0.22)); transition: transform 0.5s var(--doux); }
.fiche:hover .fiche__sceau { transform: rotate(-8deg) scale(1.08); }
.fiche--prime h3 { margin-bottom: 6px; }
.fiche__prime { margin-bottom: 12px; font-size: 0.8125rem; font-weight: 600; line-height: 1.4; color: var(--miel-fonce); }

.plateau__sceaux { position: absolute; z-index: 1; right: 1%; top: 5%; display: flex; gap: 6px; }
.plateau__sceaux .sceau { --t: clamp(52px, 5.4vw, 74px); filter: drop-shadow(0 8px 12px rgba(30, 6, 11, 0.25)); animation: tombe 0.6s var(--doux) both; }
.plateau__sceaux .sceau:nth-child(2) { animation-delay: 0.1s; }
@keyframes tombe { from { opacity: 0; transform: translateY(-14px) rotate(-14deg) scale(0.7); } }
.nuancier button[data-prime]::before { content: "★"; position: absolute; left: calc(50% + 18px); top: -9px; font-size: 0.75rem; line-height: 1; }

.coffrets__prix {
  position: absolute; z-index: 1; left: 4%; top: 5%; max-width: 72%;
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 18px;
  background: #fff; box-shadow: 0 18px 36px -20px rgba(30, 6, 11, 0.55);
  font-size: 0.8125rem; line-height: 1.35; color: var(--encre-douce);
}
.coffrets__prix .sceau { --t: 44px; }
.coffrets__prix strong { display: block; font-size: 0.9375rem; color: var(--encre); }

.pied__labels { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; padding-block: 26px; border-top: 1px solid var(--trait-clair); }
.pied__labels img { width: 60px; height: auto; }
.pied__labels p { flex: 1 1 260px; max-width: 50ch; margin-left: 8px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.72); }
.pied__labels a { color: var(--miel); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   L'abeille qui accompagne le défilement
   ========================================================================== */

.abeille { position: fixed; left: 0; top: 0; z-index: 50; width: 40px; pointer-events: none; opacity: 0; transition: opacity 0.6s; will-change: transform; }
.abeille.is-la { opacity: 1; }
.abeille__corps { transform: scaleX(var(--sens, 1)) rotate(var(--pente, 0deg)); transition: transform 0.35s var(--doux); }
.abeille svg { width: 100%; overflow: visible; stroke: none; filter: drop-shadow(0 6px 5px rgba(30, 6, 11, 0.2)); animation: plane 1.8s ease-in-out infinite; }
.abeille__aile { transform-box: fill-box; transform-origin: 50% 100%; animation: bat 0.11s ease-in-out infinite alternate; }
.abeille__aile--b { animation-delay: -0.05s; }
.abeille__aile ellipse { fill: #fff; fill-opacity: 0.9; stroke: var(--encre); stroke-width: 1.2; }
.abeille__ventre { fill: var(--miel); stroke: var(--encre); stroke-width: 1.4; }
.abeille__raies { fill: none; stroke: var(--encre); stroke-width: 2.6; stroke-linecap: butt; }
.abeille__tete { fill: var(--encre); }
.abeille__oeil { fill: #fff; }
.abeille__antennes { fill: none; stroke: var(--encre); stroke-width: 1.2; }
@keyframes plane { 50% { transform: translateY(-5px); } }
@keyframes bat { to { transform: scaleY(0.25); } }
@media (prefers-reduced-motion: reduce) { .abeille { display: none; } }
@media (max-width: 680px) { .abeille { width: 30px; } }

/* ==========================================================================
   Fenêtres : le film et les certificats en grand
   ========================================================================== */

.cine { width: min(92vw, calc((100vh - 160px) * 16 / 9), 1180px); padding: 0; border: 0; background: transparent; color: #fff; overflow: visible; }
.cine::backdrop { background: rgba(30, 6, 11, 0.88); }
.cine video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: #000; }
.cine__fermer {
  position: absolute; right: 0; top: -56px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55); color: #fff; transition: background-color 0.25s;
}
.cine__fermer:hover { background: rgba(255, 255, 255, 0.16); }
.cine__fermer svg { width: 20px; height: 20px; }
.cine__legende { margin-top: 14px; font-size: 0.875rem; text-align: center; color: rgba(255, 255, 255, 0.84); }
.cine--image { width: min(94vw, 980px); }
.cine--image img { width: 100%; max-height: 76vh; object-fit: contain; border-radius: 12px; background: #fff; }

/* ==========================================================================
   Page « Notre histoire »
   ========================================================================== */

.fil { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: 0.875rem; color: var(--encre-douce); }
.fil a { text-decoration: underline; text-underline-offset: 3px; }
.fil a:hover { color: var(--encre); }

.page-tete { padding-block: clamp(36px, 5vw, 72px) var(--bloc); overflow: hidden; }
.page-tete__grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.page-tete .titre-xl { max-width: 13ch; font-size: clamp(2.625rem, 5.4vw, 5rem); }
.page-tete__chapo { max-width: 50ch; margin-top: 26px; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); color: var(--encre-douce); }
.page-tete__liens { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; }
.page-tete__visuel { position: relative; }
.page-tete__visuel img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 22px; }
.page-tete__visuel .rameau { left: -13%; top: auto; bottom: -6%; width: 26%; }

.valeurs { padding-block: var(--bloc); }
.valeurs__liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.valeurs__liste li { padding-top: 26px; border-top: 1.5px solid var(--encre); }
.valeurs__liste svg { width: 46px; height: 46px; margin-bottom: 18px; color: var(--vert); stroke-width: 1.3; }
.valeurs__liste h3 { margin-bottom: 10px; font-family: var(--serif); font-weight: 400; font-size: 1.625rem; line-height: 1.15; }
.valeurs__liste p { color: var(--encre-douce); }

.certificats__titre { margin: clamp(48px, 6vw, 80px) 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.12; }
.certificats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3.4vw, 48px) clamp(20px, 2.4vw, 36px); margin-top: clamp(32px, 4vw, 48px); }
.certificat { position: relative; }
.certificat__vue {
  display: block; width: 100%; aspect-ratio: 10 / 7; padding: 10px; border-radius: 16px;
  background: var(--brume); border: 1px solid var(--trait); cursor: zoom-in;
  transition: transform 0.45s var(--doux), box-shadow 0.45s;
}
.certificat__vue:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(30, 6, 11, 0.5); }
.certificat__vue img { width: 100%; height: 100%; object-fit: contain; }
.certificat .sceau { --t: 58px; position: absolute; z-index: 1; right: -8px; top: -16px; filter: drop-shadow(0 8px 10px rgba(30, 6, 11, 0.22)); pointer-events: none; }
.certificat figcaption { padding-top: 14px; font-size: 0.875rem; line-height: 1.45; color: var(--encre-douce); }
.certificat figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.2; color: var(--encre); }

.salons { margin-top: clamp(48px, 6vw, 80px); padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: var(--brume); }
.salons h3 { margin-bottom: 14px; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.salons ul { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
.salons li { padding: 10px 0; border-top: 1px solid var(--trait); font-size: 0.9375rem; color: var(--encre-douce); }
.salons strong { margin-right: 8px; color: var(--encre); }

.appel { background: var(--miel); padding-block: clamp(64px, 8vw, 112px); }
.appel__in { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 28px 48px; }
.appel .titre-l { max-width: 17ch; }
.appel__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 980px) {
  .page-tete__grille { grid-template-columns: 1fr; }
  .page-tete__visuel { width: min(100%, 560px); }
  .certificats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .valeurs__liste { grid-template-columns: 1fr; }
  .salons ul { grid-template-columns: 1fr; }
  .certificat .sceau { --t: 46px; right: -6px; top: -12px; }
  .certificat figcaption strong { font-size: 1.0625rem; }
  .coffrets__prix { left: 3%; top: 3%; max-width: 86%; padding: 8px 14px 8px 10px; }
}

/* ==========================================================================
   Apparitions au défilement (réservées aux grandes images)
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .js [data-voir] { clip-path: inset(0 0 100% 0 round 22px); transition: clip-path 1.2s var(--doux); }
  .js [data-voir].is-vu { clip-path: inset(0 0 0 0 round 22px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Adaptation
   ========================================================================== */

@media (max-width: 1120px) {
  .palette__in { grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1fr); grid-template-areas: "tete tete" "scene fiche" "nuancier nuancier"; }
  .palette__tete { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; }
  .palette__tete p { margin-top: 0; }
  .gages__liste { grid-template-columns: repeat(2, 1fr); }
  .gages__liste li:nth-child(3) { padding-left: 0; border-left: 0; }
  .gages__liste li:nth-child(n + 3) { border-top: 1px solid var(--trait); }
  .pied__grille { grid-template-columns: repeat(3, 1fr); }
  .pied__marque { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  :root { --entete-h: 68px; }
  .entete__in { grid-template-columns: auto 1fr auto; gap: 8px; }
  .burger { display: block; margin-left: -10px; }
  .marque { justify-self: start; }
  .marque__sceau { height: 42px; }
  .marque__nom { height: 32px; }
  .outil--compte { display: none; }

  .menu {
    position: fixed; inset: calc(var(--entete-h) + 38px) 0 0 0; z-index: 55;
    flex-direction: column; justify-content: flex-start; gap: 0; padding: 12px var(--marge) 40px;
    background: var(--creme); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity 0.35s, transform 0.45s var(--doux), visibility 0s 0.45s;
  }
  .entete.is-serre .menu { inset: 66px 0 0 0; }
  .menu.is-ouvert { visibility: visible; opacity: 1; transform: none; transition: opacity 0.35s, transform 0.45s var(--doux), visibility 0s; }
  .menu__item { width: 100%; justify-content: space-between; padding: 18px 0; font-family: var(--serif); font-size: 1.875rem; font-weight: 400; }
  .menu__item::after { display: none; }



  .maison__grille, .coffrets__grille, .visites__grille { grid-template-columns: 1fr; }
  .chrono { padding-top: 0; }
  .chrono__fil { top: 8px; }
  .visites__visuel { order: -1; }
  .gestes__liste { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .gestes__liste li:nth-child(even) { margin-top: 0; }
  .lettre { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .annonce__msg { font-size: 0.75rem; white-space: normal; line-height: 1.25; }
  .marque__nom { height: 28px; }
  .marque__sceau { height: 38px; }
  .recherche .btn { display: none; }

  .gages__liste { grid-template-columns: 1fr; }
  .gages__liste li, .gages__liste li + li { padding: 18px 0; border-left: 0; }
  .gages__liste li + li { border-top: 1px solid var(--trait); }

  .palette__in { grid-template-columns: 1fr; grid-template-areas: "tete" "scene" "nuancier" "fiche"; gap: 28px; }
  .palette__tete { display: block; }
  .palette__tete p { margin-top: 16px; }
  .palette__scene { width: min(72%, 300px); margin-inline: auto; }
  .nuancier { padding-top: 20px; }
  .nuancier__borne { display: none; }
  .nuancier i { width: 32px; height: 36px; }
  .nuancier__rail::before { top: 22px; }
  .nuancier button { font-size: 0.75rem; gap: 10px; }
  .palette__notes div { grid-template-columns: 7.5em 1fr; }


  .tete__cote { width: 100%; justify-content: space-between; }
  .fleches { display: none; }
  .filtres { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--marge) * -1); padding-inline: var(--marge); scrollbar-width: none; }
  .filtres button { flex: none; }
  .fiche { flex-basis: 68vw; }

  .gestes__liste { grid-template-columns: 1fr; }
  .gestes__img { aspect-ratio: 4 / 3; }
  .coffrets__liste a { grid-template-columns: 60px 1fr; }
  .coffrets__liste img { width: 60px; height: 60px; }
  .coffrets__liste em { grid-column: 2; }
  .prix-bande__liste { grid-template-columns: 1fr; border-top: 0; }
  .prix-bande__liste li, .prix-bande__liste li + li { padding: 24px 0; border-left: 0; border-top: 1.5px solid var(--encre); }
  .livre__grille { grid-template-columns: 1fr; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .pied address { grid-column: 1 / -1; }
  .pied__bas a { margin-left: 0; margin-right: 20px; }
}

/* ==========================================================================
   Palmarès : badges officiels empilés et fenêtre de détail
   ========================================================================== */

/* Le badge : une pastille blanche cerclée du métal de la distinction */
.badge {
  --t: 50px; --anneau: #d6a23a;
  position: relative; flex: none; display: grid; place-items: center; width: var(--t); height: var(--t); padding: 0;
  border-radius: 50%; background: radial-gradient(circle at 32% 26%, #fff 0%, #fdfaf3 62%, #efe5d1 100%);
  box-shadow: 0 0 0 1.5px var(--anneau), 0 0 0 3.5px rgba(255, 255, 255, 0.92), 0 10px 18px -8px rgba(30, 6, 11, 0.5);
  cursor: pointer; transition: transform 0.45s var(--doux), box-shadow 0.3s;
}
.badge img { width: 86%; height: 86%; object-fit: contain; }
.badge .sceau { --t: 34px; }
.badge--or { --anneau: #d6a23a; }
.badge--platine { --anneau: #9aa7b0; }
.badge--argent { --anneau: #b3bbc1; }
.badge--bronze { --anneau: #b4733f; }
.badge:hover, .badge:focus-visible { z-index: 3; transform: scale(1.14); box-shadow: 0 0 0 2px var(--anneau), 0 0 0 4.5px #fff, 0 16px 26px -10px rgba(30, 6, 11, 0.55); }
.badge:focus-visible { outline: 2px solid var(--encre); outline-offset: 6px; }
.badge::after {
  content: attr(data-court); position: absolute; right: calc(100% + 12px); top: 50%; translate: 6px -50%;
  padding: 7px 12px; border-radius: 999px; background: var(--encre); color: #fff; white-space: nowrap;
  font: 600 0.75rem/1 var(--sans); letter-spacing: 0.01em; opacity: 0; pointer-events: none; transition: opacity 0.25s, translate 0.35s var(--doux);
}
.badge:hover::after, .badge:focus-visible::after { opacity: 1; translate: 0 -50%; }

/* Les badges empilés sur les fiches produits */
.fiche { position: relative; }
.fiche__badges { position: absolute; z-index: 2; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 9px; }
.fiche__badges[hidden] { display: none; }
.fiche__badges .badge { --t: 48px; }
.fiche:hover .fiche__badges .badge { animation: badge-salut 0.6s var(--doux) both; }
.fiche:hover .fiche__badges .badge:nth-child(2) { animation-delay: 0.05s; }
.fiche:hover .fiche__badges .badge:nth-child(3) { animation-delay: 0.1s; }
.fiche:hover .fiche__badges .badge:nth-child(4) { animation-delay: 0.15s; }
@keyframes badge-salut { 40% { transform: translateY(-3px) rotate(-6deg); } }

/* Fiches sans photo : un dessin au trait, en attendant le shooting */
.fiche__img--dessin { background: var(--or-pale); color: var(--miel-fonce); }
.fiche__img--dessin svg { width: 46%; height: auto; stroke-width: 1.3; transition: transform 0.7s var(--doux); }
.fiche:hover .fiche__img--dessin svg { transform: translateY(-6px) rotate(-3deg); }
.fiche__img--dessin small { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre-douce); }

/* Filtre « Médaillés » */
.filtres .filtres__prime { display: inline-flex; align-items: center; gap: 7px; border-color: rgba(181, 101, 10, 0.45); color: var(--miel-fonce); }
.filtres .filtres__prime svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.filtres .filtres__prime.is-on { background: var(--miel); border-color: var(--miel); color: var(--encre); }

/* Ailleurs dans la page */
.medaille .badge { --t: 66px; }
.medaille .badge .sceau { --t: 44px; }
.medailles .badge::after, .coffrets__prix .badge::after, .plateau__sceaux .badge::after, .inv__badges .badge::after { display: none; }
.coffrets__prix .badge { --t: 52px; }
.plateau__sceaux { flex-direction: column; gap: 10px; }
.plateau__sceaux .badge { --t: clamp(54px, 5vw, 70px); animation: tombe 0.6s var(--doux) both; }
.plateau__sceaux .badge:nth-child(2) { animation-delay: 0.08s; }
.plateau__sceaux .badge:nth-child(3) { animation-delay: 0.16s; }
.plateau__sceaux .badge:nth-child(4) { animation-delay: 0.24s; }
.plateau__sceaux .badge .sceau { --t: 40px; }
.preuves__liste .preuves__duo { display: flex; flex: none; }
.preuves__liste .preuves__duo img + img { margin-left: -14px; }

@media (prefers-reduced-motion: no-preference) {
  .js .medailles .badge { opacity: 0; transform: scale(0.5) rotate(-18deg); transition: opacity 0.5s, transform 0.8s var(--doux), box-shadow 0.3s; }
  .js .medailles.is-vu .badge { opacity: 1; transform: none; }
  .js .medailles.is-vu .badge:hover { transform: scale(1.08); }
  .js .medailles .badge .sceau { opacity: 1; transform: none; }
  .js .medaille:nth-child(2) .badge { transition-delay: 0.08s; }
  .js .medaille:nth-child(3) .badge { transition-delay: 0.16s; }
  .js .medaille:nth-child(4) .badge { transition-delay: 0.24s; }
  .js .medaille:nth-child(5) .badge { transition-delay: 0.32s; }
  .js .medaille:nth-child(6) .badge { transition-delay: 0.4s; }
  .js .medaille:nth-child(7) .badge { transition-delay: 0.48s; }
  .js .medaille:nth-child(8) .badge { transition-delay: 0.56s; }
}

/* ---------- La fenêtre du palmarès ---------- */
.palmares {
  --m1: #f6d58a; --m2: #c8922f; --lueur: 246, 196, 92;
  width: min(1040px, 94vw); max-width: none; max-height: min(92vh, 880px); padding: 0; border: 0;
  background: transparent; color: #fff7e6; overflow: visible;
}
.palmares[data-metal="platine"] { --m1: #ffffff; --m2: #9fb0bb; --lueur: 220, 232, 240; }
.palmares[data-metal="argent"] { --m1: #eef1f3; --m2: #9aa3a9; --lueur: 214, 222, 228; }
.palmares[data-metal="bronze"] { --m1: #f3c39a; --m2: #a8683a; --lueur: 226, 150, 96; }
.palmares::backdrop { background: rgba(14, 2, 5, 0.8); backdrop-filter: blur(6px); }
.palmares__cadre {
  position: relative; max-height: inherit; overflow: hidden auto; overscroll-behavior: contain; border-radius: 28px;
  background:
    radial-gradient(70% 60% at 22% 34%, rgba(var(--lueur), 0.14) 0%, rgba(var(--lueur), 0) 70%),
    radial-gradient(120% 100% at 18% 20%, #3d121a 0%, #1e060b 52%, #110307 100%);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(232, 190, 110, 0.3);
  scrollbar-width: thin; scrollbar-color: rgba(232, 190, 110, 0.4) transparent;
}
.palmares__cadre::before { content: ""; position: absolute; inset: 10px; z-index: 0; border: 1px solid rgba(232, 190, 110, 0.2); border-radius: 20px; pointer-events: none; }
.palmares__cadre::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16zM28 64v33M0 48l-28 16M56 48l28 16' fill='none' stroke='%23f6d58a' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(80% 70% at 85% 10%, #000, transparent 70%); mask-image: radial-gradient(80% 70% at 85% 10%, #000, transparent 70%);
}
.palmares__corps { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(28px, 5vw, 64px); padding: clamp(56px, 6vw, 72px) clamp(28px, 6vw, 72px) clamp(36px, 4vw, 48px); }

.palmares__scene { position: relative; display: grid; place-items: center; width: 100%; max-width: 380px; aspect-ratio: 1; margin-inline: auto; }
.palmares__anneau { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.palmares__anneau circle { fill: none; stroke: rgba(var(--lueur), 0.28); stroke-width: 0.8; }
.palmares__anneau text { fill: var(--m1); opacity: 0.78; font: 600 10.4px var(--sans); letter-spacing: 0.3em; text-transform: uppercase; }
.palmares__halo { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--lueur), 0.5) 0%, rgba(var(--lueur), 0.12) 46%, rgba(var(--lueur), 0) 70%); }
.palmares__badge { position: relative; display: grid; place-items: center; width: 64%; aspect-ratio: 1; transition: opacity 0.22s, transform 0.4s var(--doux); }
.palmares__badge img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.55)); }
.palmares__badge .sceau { --t: clamp(130px, 17vw, 190px); filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.55)); }
.palmares__satellite { position: absolute; right: 4%; bottom: 6%; width: 27%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px var(--m2), 0 16px 26px -10px rgba(0, 0, 0, 0.6); }
.palmares__satellite[hidden] { display: none; }
.palmares__satellite img { width: 84%; height: 84%; object-fit: contain; }

.palmares__texte { min-width: 0; transition: opacity 0.22s, transform 0.32s var(--doux); }
.palmares__surtitre { display: flex; align-items: center; gap: 14px; }
.palmares__rang { padding: 7px 14px 6px; border-radius: 999px; background: linear-gradient(135deg, var(--m1), var(--m2)); color: #1e060b; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.palmares__annee { font-family: var(--serif); font-size: 1.375rem; line-height: 1; color: var(--m1); }
.palmares__titre {
  margin: 18px 0 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1; letter-spacing: -0.015em;
  color: var(--m1);
}
.palmares__concours { max-width: 34ch; font-size: 1.125rem; line-height: 1.45; color: rgba(255, 247, 230, 0.86); }
.palmares__filet { display: block; width: 84px; height: 1px; margin: 26px 0 22px; background: linear-gradient(90deg, var(--m1), rgba(255, 255, 255, 0)); }
.palmares__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.palmares__details dt { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(var(--lueur), 0.78); }
.palmares__details dd { margin: 5px 0 0; font-size: 1rem; line-height: 1.35; color: #fff; }
.palmares__note { margin-top: 22px; padding-left: 14px; border-left: 2px solid var(--m2); font-size: 0.875rem; line-height: 1.5; color: rgba(255, 247, 230, 0.84); }
.palmares__note[hidden] { display: none; }
.palmares__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 30px; }
.palmares__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 999px;
  border: 1px solid rgba(232, 190, 110, 0.45); color: #fff7e6; font-size: 0.9375rem; font-weight: 600; white-space: nowrap;
  transition: background-color 0.25s, transform 0.35s var(--doux), box-shadow 0.35s;
}
.palmares__btn svg { width: 18px; height: 18px; }
.palmares__btn:hover { background: rgba(232, 190, 110, 0.12); }
.palmares__btn[hidden] { display: none; }
.palmares__btn--or { border: 0; padding-inline: 26px; background: linear-gradient(135deg, #f8dc92 0%, #dba33c 55%, #f4c96a 100%); color: #1e060b; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.6); }
.palmares__btn--or:hover { background: linear-gradient(135deg, #fbe3a6 0%, #e5ae46 55%, #f8d27c 100%); transform: translateY(-2px); }
.palmares__lien { display: inline-flex; align-items: center; gap: 6px; padding: 8px 2px; font-size: 0.9375rem; font-weight: 600; color: var(--m1); text-decoration: underline; text-decoration-color: rgba(var(--lueur), 0.45); text-underline-offset: 5px; }
.palmares__lien svg { width: 16px; height: 16px; transition: transform 0.3s var(--doux); }
.palmares__lien:hover svg { transform: translate(2px, -2px); }
.palmares__lien[hidden] { display: none; }

.palmares__suite { position: relative; z-index: 1; padding: 22px clamp(28px, 6vw, 72px) 30px; border-top: 1px solid rgba(232, 190, 110, 0.16); background: rgba(0, 0, 0, 0.2); }
.palmares__suite[hidden] { display: none; }
.palmares__suite-titre { margin-bottom: 14px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(232, 190, 110, 0.78); }
.palmares__onglets { display: flex; gap: 10px; overflow-x: auto; padding: 3px; scrollbar-width: none; }
.palmares__onglets::-webkit-scrollbar { display: none; }
.palmares__onglet {
  --anneau: #d6a23a; flex: none; display: flex; align-items: center; gap: 11px; padding: 7px 18px 7px 7px; border-radius: 999px;
  border: 1px solid rgba(232, 190, 110, 0.2); background: rgba(255, 255, 255, 0.03); color: #fff7e6; text-align: left;
  transition: border-color 0.25s, background-color 0.25s, transform 0.35s var(--doux);
}
.palmares__onglet.badge--platine { --anneau: #9aa7b0; }
.palmares__onglet.badge--argent { --anneau: #b3bbc1; }
.palmares__onglet.badge--bronze { --anneau: #b4733f; }
.palmares__onglet:hover { border-color: rgba(232, 190, 110, 0.5); transform: translateY(-2px); }
.palmares__onglet[aria-pressed="true"] { border-color: var(--anneau); background: rgba(232, 190, 110, 0.1); box-shadow: inset 0 0 0 1px var(--anneau); }
.palmares__onglet-visuel { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px var(--anneau); }
.palmares__onglet-visuel img { width: 86%; height: 86%; object-fit: contain; }
.palmares__onglet-visuel .sceau { --t: 28px; }
.palmares__onglet-txt strong { display: block; font-size: 0.875rem; line-height: 1.2; }
.palmares__onglet-txt small { display: block; font-size: 0.75rem; line-height: 1.3; color: rgba(255, 247, 230, 0.78); }

.palmares__fermer { position: absolute; z-index: 5; top: 20px; right: 20px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(232, 190, 110, 0.4); color: #fff7e6; transition: background-color 0.25s, transform 0.4s var(--doux); }
.palmares__fermer:hover { background: rgba(232, 190, 110, 0.14); transform: rotate(90deg); }
.palmares__fermer svg { width: 20px; height: 20px; }

.palmares__certificat { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 74px clamp(20px, 4vw, 48px) 26px; background: rgba(17, 3, 7, 0.97); }
.palmares__certificat[hidden] { display: none; }
.palmares__certificat img { flex: 1; min-height: 0; width: 100%; object-fit: contain; border-radius: 8px; }
.palmares__certificat figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.875rem; color: rgba(255, 247, 230, 0.8); }

.palmares.is-change .palmares__texte { opacity: 0; transform: translateY(8px); }
.palmares.is-change .palmares__badge { opacity: 0; transform: scale(0.9); }

@media (prefers-reduced-motion: no-preference) {
  .palmares[open] .palmares__cadre { animation: palmares-entree 0.7s var(--doux) both; }
  .palmares[open]::backdrop { animation: palmares-fond 0.4s ease both; }
  .palmares[open] .palmares__badge > * { animation: palmares-badge 1s var(--doux) 0.12s both; }
  .palmares__anneau { animation: palmares-tour 70s linear infinite; }
  .palmares__halo { animation: palmares-lueur 4.5s ease-in-out infinite; }
}
@keyframes palmares-entree { from { opacity: 0; transform: translateY(28px) scale(0.97); } }
@keyframes palmares-fond { from { opacity: 0; } }
@keyframes palmares-badge { from { opacity: 0; transform: scale(0.55) rotate(-14deg); } }
@keyframes palmares-tour { to { transform: rotate(360deg); } }
@keyframes palmares-lueur { 50% { opacity: 0.6; transform: scale(0.94); } }

@media (max-width: 760px) {
  .palmares { width: 100vw; max-height: 100dvh; margin: auto 0 0; }
  .palmares__cadre { border-radius: 24px 24px 0 0; }
  .palmares__corps { grid-template-columns: 1fr; gap: 6px; padding: 52px 22px 26px; }
  .palmares__scene { max-width: 230px; }
  .palmares__surtitre { margin-top: 4px; }
  .palmares__titre { margin-top: 14px; }
  .palmares__details { gap: 14px 18px; }
  .palmares__actions { flex-direction: column; align-items: stretch; }
  .palmares__lien { justify-content: center; }
  .palmares__suite { padding: 18px 22px 24px; }
  .palmares__fermer { top: 14px; right: 14px; }
  .fiche__badges .badge { --t: 44px; }
  .badge::after { display: none; }
}

/* ==========================================================================
   Page palmarès : le tableau d'inventaire des badges
   ========================================================================== */
.page-tete--palmares { padding-bottom: clamp(28px, 4vw, 48px); }
.page-tete--palmares .page-tete__chapo { max-width: 60ch; }
.inv-resume { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3vw, 40px); }
.inv-resume div { min-width: 160px; padding: 16px 22px 14px; border-radius: 18px; background: var(--brume); border-top: 3px solid var(--encre); }
.inv-resume--ok { border-top-color: var(--vert) !important; }
.inv-resume--verifier { border-top-color: var(--miel) !important; }
.inv-resume--manquant { border-top-color: #b8442f !important; }
.inv-resume dt { font-size: 0.8125rem; color: var(--encre-douce); }
.inv-resume dd { margin-top: 4px; font-family: var(--serif); font-size: 2.25rem; line-height: 1; }

.inv { padding-bottom: var(--bloc); }
.inv__defile { overflow-x: auto; border: 1px solid var(--trait); border-radius: 22px; }
.inv__defile:focus-visible { outline: 2px solid var(--encre); outline-offset: 4px; }
.inv__table { width: 100%; min-width: 1120px; border-collapse: collapse; font-size: 0.875rem; }
.inv__table caption { caption-side: bottom; padding: 16px 20px; border-top: 1px solid var(--trait); text-align: left; font-size: 0.8125rem; color: var(--encre-douce); }
.inv__table th { padding: 15px 16px; background: var(--encre); color: #fff; text-align: left; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.inv__table td { padding: 16px; border-top: 1px solid var(--trait); vertical-align: middle; }
.inv__table tbody tr:nth-child(even) { background: var(--brume); }
.inv__table tbody tr:hover { background: var(--or-pale); }
.inv__table td strong { display: block; font-weight: 600; line-height: 1.35; color: var(--encre); }
.inv__table td small { display: block; max-width: 46ch; margin-top: 4px; line-height: 1.45; color: var(--encre-douce); }
.inv__no { font-variant-numeric: tabular-nums; color: var(--encre-douce); }
.inv__an { font-family: var(--serif); font-size: 1.375rem; }
.inv__badges { display: flex; gap: 10px; padding: 4px; }
.inv__badges .badge { --t: 58px; }
.inv__badges .badge .sceau { --t: 40px; }
.inv__fichier { font-family: ui-monospace, Consolas, monospace; font-size: 0.75rem; }
.inv__lien { font-weight: 600; color: var(--miel-fonce); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.inv__lien:hover { color: var(--encre); }
.inv__vide { color: var(--encre-douce); }

.statut { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.statut::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.statut--ok { background: var(--vert-pale); color: var(--vert-fonce); }
.statut--verifier { background: #fff1d6; color: #7a4305; }
.statut--manquant { background: #fbe9e6; color: #96301f; }

.inv__annexes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 64px); }
.inv__annexes section { padding-top: 20px; border-top: 1.5px solid var(--encre); }
.inv__annexes h3 { margin-bottom: 8px; font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.2; }
.inv__annexes p { font-size: 0.9375rem; color: var(--encre-douce); }
.inv__annexes ul { display: grid; gap: 10px; margin-top: 16px; }
.inv__annexes .lien { display: inline-block; margin-top: 14px; }
#palmares-orphelins li { display: flex; align-items: center; gap: 14px; }
#palmares-orphelins img { flex: none; width: 56px; height: 56px; object-fit: contain; }
#palmares-orphelins strong { display: block; font-family: ui-monospace, Consolas, monospace; font-size: 0.75rem; }
#palmares-orphelins span, #palmares-exclus span { font-size: 0.875rem; line-height: 1.45; color: var(--encre-douce); }
#palmares-exclus li { display: flex; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--trait); }
#palmares-exclus b { flex: none; min-width: 3.2em; font-family: var(--serif); font-weight: 400; }

@media (max-width: 900px) {
  .inv__annexes { grid-template-columns: 1fr; }
  .inv-resume div { min-width: calc(50% - 6px); }
}

/* ==========================================================================
   Boutique : les fiches produits, version écrin
   ========================================================================== */
.rail { gap: 26px; padding-bottom: 30px; }
.fiche { display: flex; flex-direction: column; flex-basis: clamp(258px, 22vw, 304px); min-width: 0; width: clamp(258px, 22vw, 304px); }
.fiche__img {
  border-radius: 26px;
  background: radial-gradient(110% 80% at 50% 22%, #ffffff 0%, #faf7f0 58%, #f2ecdf 100%);
  box-shadow: inset 0 0 0 1px rgba(30, 6, 11, 0.06);
  transition: transform 0.6s var(--doux), box-shadow 0.6s var(--doux);
}
.fiche__img::after { content: ""; position: absolute; inset: 9px; z-index: 1; border: 1px solid rgba(181, 101, 10, 0.12); border-radius: 19px; pointer-events: none; transition: border-color 0.4s; }
.fiche__img:not(.fiche__img--photo):not(.fiche__img--dessin)::before {
  content: ""; position: absolute; left: 24%; right: 24%; bottom: 8%; height: 16px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 6, 11, 0.16), rgba(30, 6, 11, 0));
}
.fiche:hover .fiche__img { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(30, 6, 11, 0.06), 0 30px 50px -32px rgba(30, 6, 11, 0.5); }
.fiche--prime .fiche__img { background: radial-gradient(110% 80% at 50% 22%, #fffdf8 0%, #fdf4df 60%, #f6e5bd 100%); box-shadow: inset 0 0 0 1px rgba(214, 162, 58, 0.45); }
.fiche--prime .fiche__img::after { border-color: rgba(214, 162, 58, 0.4); }
.fiche--prime:hover .fiche__img { box-shadow: inset 0 0 0 1px rgba(214, 162, 58, 0.6), 0 30px 50px -32px rgba(110, 64, 10, 0.55); }
.fiche--prime .fiche__img:not(.fiche__img--photo) img { height: 74%; margin-right: 26%; }
.fiche--prime .fiche__img:not(.fiche__img--photo)::before { left: 14%; right: 40%; }

/* Les badges, une fois et demie plus grands, empilés comme des pièces */
.fiche__badges { top: 16px; right: 16px; gap: 0; }
.fiche__badges .badge { --t: 72px; }
.fiche__badges .badge + .badge { margin-top: -10px; }
.fiche__badges .badge:nth-child(1) { z-index: 4; }
.fiche__badges .badge:nth-child(2) { z-index: 3; }
.fiche__badges .badge:nth-child(3) { z-index: 2; }
.fiche__badges .badge:nth-child(4) { z-index: 1; }
.fiche__badges .badge:hover, .fiche__badges .badge:focus-visible { z-index: 6; }

/* Favori */
.fiche__favori {
  position: absolute; z-index: 3; top: 16px; left: 16px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); color: var(--encre);
  box-shadow: 0 0 0 1px rgba(30, 6, 11, 0.08), 0 8px 18px -10px rgba(30, 6, 11, 0.45);
  transition: transform 0.35s var(--doux), color 0.25s;
}
.fiche__favori svg { width: 20px; height: 20px; stroke-width: 1.6; transition: fill 0.25s; }
.fiche__favori:hover { transform: scale(1.08); color: #9b1d2a; }
.fiche__favori:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
.fiche__favori[aria-pressed="true"] { color: #9b1d2a; }
.fiche__favori[aria-pressed="true"] svg { fill: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .fiche__favori[aria-pressed="true"] svg { animation: coeur 0.5s var(--doux); }
}
@keyframes coeur { 40% { transform: scale(1.35); } }
.fiche .pastille { z-index: 2; top: auto; bottom: 18px; left: 18px; }

/* Sous la fiche : une information par ligne, jamais deux */
.fiche__txt { flex: 1; display: flex; flex-direction: column; padding: 18px 6px 0; }
.fiche__genre, .fiche__txt h3, .fiche__prime { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fiche__genre { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--encre-douce); }
.fiche__txt h3, .fiche--prime h3 { margin: 7px 0 0; font-size: 1.375rem; line-height: 1.25; }
.fiche__prime { margin: 7px 0 0; font-size: 0.8125rem; font-weight: 600; line-height: 1.4; color: var(--miel-fonce); }
.fiche__prime::before {
  content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 7px; vertical-align: -1px; background: currentColor;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.fiche__txt > :nth-last-child(2) { margin-bottom: 16px; }
.fiche__pied { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--trait); }
.fiche .prix { font-size: 1.375rem; }

@media (max-width: 760px) {
  .fiche { flex-basis: 76vw; width: 76vw; }
  .fiche__badges .badge { --t: 60px; }
  .fiche__badges .badge + .badge { margin-top: -10px; }
}

/* ==========================================================================
   La carte des miels : un terroir, un miel
   ========================================================================== */
.atlas { --c: #9c3f1b; padding-block: var(--bloc); background: linear-gradient(180deg, #fbf8f1 0%, #f5efe2 100%); }
.atlas__in { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(250px, 310px) minmax(0, 1.3fr); grid-template-areas: "intro carte fiche"; align-items: center; gap: clamp(28px, 4vw, 60px); }
.atlas__intro { grid-area: intro; align-self: start; min-width: 0; }
.atlas__chapo { max-width: 38ch; margin-top: 18px; color: var(--encre-douce); }

.atlas__liste { display: grid; gap: 4px; margin-top: 28px; }
.atlas__liste li { position: relative; } /* garde les libellés .sr dans la liste défilante */
.atlas__liste button {
  display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 11px 14px;
  border-radius: 14px; text-align: left; transition: background-color 0.3s, box-shadow 0.3s, transform 0.4s var(--doux);
}
.atlas__liste button:hover { background: rgba(255, 255, 255, 0.7); }
.atlas__liste button[aria-selected="true"] { background: #fff; box-shadow: 0 0 0 1px rgba(30, 6, 11, 0.06), 0 14px 28px -20px rgba(30, 6, 11, 0.4); transform: translateX(6px); }
.atlas__liste i { width: 13px; height: 15px; background: var(--c); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.atlas__nomliste { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.atlas__nomliste strong { font-family: var(--serif); font-weight: 400; font-size: 1.1875rem; white-space: nowrap; }
.atlas__nomliste span { overflow: hidden; font-size: 0.8125rem; color: var(--encre-douce); white-space: nowrap; text-overflow: ellipsis; }
.atlas__liste b { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; font-weight: 700; color: var(--miel-fonce); }
.atlas__liste b svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }

/* La carte */
.atlas__carte { grid-area: carte; position: relative; }
.atlas__carte::before {
  content: ""; position: absolute; inset: -6% -16%; pointer-events: none;
  background: radial-gradient(rgba(181, 101, 10, 0.24) 1px, transparent 1.5px) 0 0 / 14px 14px;
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent); mask-image: radial-gradient(closest-side, #000 25%, transparent);
}
.atlas__carte svg { position: relative; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 22px 26px rgba(110, 64, 10, 0.16)); }
.atlas__terre { fill: #fff; stroke: #c99a4a; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.atlas__mer { position: absolute; right: -9%; top: 3%; writing-mode: vertical-rl; font-family: var(--serif); font-size: 0.875rem; letter-spacing: 0.04em; color: rgba(30, 6, 11, 0.42); pointer-events: none; }
.atlas__pays { position: absolute; translate: -50% -50%; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(30, 6, 11, 0.36); pointer-events: none; }
.atlas__pays--sahara { color: rgba(181, 101, 10, 0.5); }
.repere { position: absolute; left: var(--x); top: var(--y); z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; translate: -50% -50%; filter: drop-shadow(0 4px 4px rgba(30, 6, 11, 0.28)); }
.repere::before { content: ""; position: absolute; width: 20px; height: 22px; background: #fff; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: width 0.35s var(--doux), height 0.35s var(--doux); }
.repere i { position: relative; width: 13px; height: 15px; background: var(--c); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: transform 0.35s var(--doux); }
.repere:hover { z-index: 4; }
.repere:hover i { transform: scale(1.2); }
.repere.is-on { z-index: 3; }
.repere.is-on::before { width: 30px; height: 34px; }
.repere.is-on i { transform: scale(1.55); }
.repere span {
  position: absolute; left: 50%; bottom: calc(100% + 8px); translate: -50% 4px; padding: 5px 11px; border-radius: 999px;
  background: var(--encre); color: #fff; font-size: 0.75rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 0.25s, translate 0.3s var(--doux);
}
.repere:hover span, .repere.is-on span { opacity: 1; translate: -50% 0; }
@media (prefers-reduced-motion: no-preference) {
  .repere.is-on::after { content: ""; position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--c); animation: onde 2.2s ease-out infinite; }
}
@keyframes onde { from { transform: scale(0.45); opacity: 0.9; } to { transform: scale(1.35); opacity: 0; } }

/* L'aperçu du miel */
.atlas__fiche { grid-area: fiche; min-width: 0; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px rgba(30, 6, 11, 0.05), 0 40px 80px -50px rgba(60, 30, 10, 0.45); }
.atlas__visuel {
  position: relative; display: grid; place-items: center; height: clamp(220px, 20vw, 270px);
  background: radial-gradient(60% 80% at 46% 62%, color-mix(in srgb, var(--c) 30%, #fff) 0%, color-mix(in srgb, var(--c) 9%, #fff) 55%, #fff 100%);
  transition: background 0.6s;
}
.atlas__pot { width: auto; height: 86%; object-fit: contain; mix-blend-mode: multiply; transition: opacity 0.26s, transform 0.45s var(--doux); }
.atlas__lieu { position: absolute; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); font-size: 0.8125rem; font-weight: 600; }
.atlas__lieu svg { width: 16px; height: 16px; color: var(--c); }
.atlas__badges { position: absolute; right: 18px; top: 18px; display: flex; flex-direction: column; }
.atlas__badges .badge { --t: 60px; }
.atlas__badges .badge + .badge { margin-top: -8px; }
.atlas__badges .badge:nth-child(1) { z-index: 4; }
.atlas__badges .badge:nth-child(2) { z-index: 3; }
.atlas__badges .badge:nth-child(3) { z-index: 2; }
.atlas__badges .badge:hover { z-index: 6; }

.atlas__corps { padding: clamp(22px, 2.6vw, 32px); transition: opacity 0.26s; }
.atlas__fiche.sort .atlas__corps, .atlas__fiche.sort .atlas__pot { opacity: 0; }
.atlas__fiche.sort .atlas__pot { transform: translateY(14px); }
.atlas__surtitre { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--encre-douce); }
.atlas__nom { margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 2.4vw, 2.375rem); line-height: 1.08; }
.atlas__medaille { display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: 999px; background: var(--or-pale); box-shadow: inset 0 0 0 1px rgba(214, 162, 58, 0.45); color: var(--miel-fonce); font-size: 0.8125rem; font-weight: 600; }
.atlas__medaille[hidden] { display: none; }
.atlas__texte { margin-top: 12px; font-size: 0.9375rem; line-height: 1.55; color: var(--encre-douce); }
.atlas__intensite { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--encre-douce); }
.atlas__intensite ol { display: flex; gap: 5px; }
.atlas__intensite li { width: 20px; height: 23px; background: #efe8da; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: background-color 0.4s; }
.atlas__intensite li.is-on { background: var(--c); }
.atlas__notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; margin-top: 16px; border-top: 1px solid var(--trait); }
.atlas__notes div { min-width: 0; padding: 9px 0; border-bottom: 1px solid var(--trait); }
.atlas__notes .atlas__large { grid-column: 1 / -1; }
.atlas__notes dt { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--encre-douce); }
.atlas__notes dd { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: 0.9375rem; font-weight: 600; }
.atlas__robe { flex: none; width: 13px; height: 13px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.atlas__formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.atlas__formats button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 6px; border-radius: 14px; border: 1px solid var(--trait); transition: border-color 0.25s, background-color 0.25s, color 0.25s; }
.atlas__formats span { font-size: 0.9375rem; font-weight: 700; }
.atlas__formats small { font-size: 0.75rem; color: var(--encre-douce); }
.atlas__formats button:hover { border-color: var(--encre); }
.atlas__formats button:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }
.atlas__formats button[aria-checked="true"] { border-color: var(--encre); background: var(--encre); color: #fff; }
.atlas__formats button[aria-checked="true"] small { color: rgba(255, 255, 255, 0.8); }
.atlas__achat { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.atlas__lien { display: inline-block; margin-top: 14px; }

@media (max-width: 1180px) {
  .atlas__in { grid-template-columns: minmax(220px, 290px) minmax(0, 1fr); grid-template-areas: "intro intro" "carte fiche"; align-items: start; }
  .atlas__liste { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
  .atlas__liste::-webkit-scrollbar { display: none; }
  .atlas__liste li { flex: none; }
  .atlas__liste button { grid-template-columns: 12px auto auto; padding: 9px 16px; border: 1px solid var(--trait); border-radius: 999px; }
  .atlas__liste button[aria-selected="true"] { transform: none; border-color: var(--encre); }
  .atlas__nomliste span { display: none; }
  .atlas__nomliste strong { font-size: 1.0625rem; }
}
@media (max-width: 760px) {
  .atlas__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "carte" "fiche"; }
  .atlas__carte { width: min(62%, 240px); margin-inline: auto; }
  .atlas__mer, .atlas__pays { display: none; }
  .atlas__badges .badge { --t: 52px; }
}

/* Les abeilles du rucher dessiné butinent sur place */
.paysage__abeille { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .paysage__abeille { animation: butine 3.2s ease-in-out infinite; }
  .paysage__abeille--b { animation-duration: 3.8s; animation-delay: -1.2s; }
  .paysage__abeille--c { animation-duration: 2.9s; animation-delay: -0.6s; }
}
@keyframes butine {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(6px, -5px) rotate(4deg); }
  50% { transform: translate(12px, 1px) rotate(-2deg); }
  75% { transform: translate(5px, 4px) rotate(3deg); }
}

/* Carte des miels : ajustements */
@media (min-width: 1181px) { .atlas__in { grid-template-columns: minmax(0, 0.85fr) minmax(240px, 300px) minmax(0, 1.25fr); } }
.atlas__visuel { grid-template-rows: 100%; overflow: hidden; }
.atlas__pot { height: 86%; min-height: 0; max-width: 70%; }
.atlas__nomliste { flex-direction: column; align-items: flex-start; gap: 2px; }
.atlas__liste button { padding-block: 9px; }
@media (max-width: 1180px) {
  .atlas__nomliste { flex-direction: row; }
}


/* ==========================================================================
   Carte des miels : l'aperçu fondu dans la section
   ========================================================================== */
.atlas__fiche { overflow: visible; border-radius: 0; background: none; box-shadow: none; }
.atlas__visuel { height: clamp(260px, 24vw, 330px); background: none; overflow: visible; }
.atlas__visuel::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(86%, 330px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 30%, transparent) 0%, color-mix(in srgb, var(--c) 10%, transparent) 62%, transparent 100%);
  transition: background 0.6s;
}
.atlas__pot { position: relative; height: 90%; max-width: 62%; }
.atlas__lieu { left: 0; top: 6px; background: #fff; box-shadow: 0 0 0 1px rgba(30, 6, 11, 0.06), 0 8px 18px -12px rgba(30, 6, 11, 0.35); }
.atlas__badges { right: 4%; top: 6px; }
.atlas__badges .badge { --t: 66px; }
.atlas__corps { padding: 18px 0 0; }
.atlas__notes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.atlas__lien { margin-top: 22px; }
@media (max-width: 760px) {
  .atlas__badges .badge { --t: 54px; }
  .atlas__notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Livre d'or : les témoignages défilent
   ========================================================================== */
.livre { padding-block: clamp(64px, 8vw, 112px); overflow: hidden; }
.livre__tete { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.livre .titre-m { margin: 8px 0 0; }
.livre__rail {
  --retrait: max(var(--marge), calc((100vw - var(--large)) / 2 + var(--marge)));
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--retrait);
  padding: 6px var(--retrait) 18px; scrollbar-width: none;
}
.livre__rail::-webkit-scrollbar { display: none; }
.livre__rail:focus-visible { outline: 2px solid var(--encre); outline-offset: -2px; }
.temoin {
  position: relative; flex: 0 0 clamp(280px, 30vw, 400px); display: flex; flex-direction: column; gap: 22px; margin: 0;
  padding: clamp(26px, 2.6vw, 36px); border-radius: 26px; background: var(--brume); scroll-snap-align: start;
  box-shadow: inset 0 0 0 1px rgba(30, 6, 11, 0.05); transition: transform 0.5s var(--doux), box-shadow 0.5s var(--doux);
}
.temoin::before {
  content: "\201C"; position: absolute; right: 26px; top: 6px; font-family: var(--serif); font-size: 6rem; line-height: 1;
  color: var(--miel); opacity: 0.45; pointer-events: none;
}
.temoin:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(30, 6, 11, 0.05), 0 26px 44px -30px rgba(30, 6, 11, 0.45); }
.temoin--miel { background: var(--or-pale); box-shadow: inset 0 0 0 1px rgba(214, 162, 58, 0.4); }
.temoin__sujet { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: #fff; font-size: 0.75rem; font-weight: 600; color: var(--miel-fonce); box-shadow: 0 0 0 1px rgba(30, 6, 11, 0.06); }
.temoin blockquote { flex: 1; margin: 0; font-family: var(--serif); font-size: clamp(1.1875rem, 1.5vw, 1.375rem); line-height: 1.42; }
.temoin figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--trait); font-size: 0.875rem; color: var(--encre-douce); }
.temoin figcaption strong { display: block; font-size: 0.9375rem; color: var(--encre); }
.temoin__initiale { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--encre); color: var(--miel); font-family: var(--serif); font-size: 1.125rem; }
@media (max-width: 760px) {
  .livre__tete .fleches { display: none; }
  .temoin { flex-basis: 82vw; }
}

/* ==========================================================================
   Les abeilles du rucher dessiné battent des ailes
   ========================================================================== */
.paysage__abeille svg { stroke: none; }


/* ==========================================================================
   Expérience : la collection en alvéoles
   ========================================================================== */
.collection {
  position: relative; isolation: isolate; overflow: hidden; padding-block: var(--bloc) clamp(56px, 7vw, 96px); color: #fff7e6;
  background: radial-gradient(90% 70% at 18% 0%, #42141c 0%, #1e060b 55%, #12030a 100%);
}
.collection::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.08; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16zM28 64v33M0 48l-28 16M56 48l28 16' fill='none' stroke='%23f6d58a' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(70% 80% at 85% 20%, #000, transparent 75%); mask-image: radial-gradient(70% 80% at 85% 20%, #000, transparent 75%);
}
.collection .surtitre { color: #e8be6e; }
.collection .titre-l { color: #fff7e6; }
.collection__chapo { max-width: 46ch; margin-top: 14px; color: rgba(255, 247, 230, 0.78); }
.collection .filtres button { border-color: rgba(232, 190, 110, 0.32); color: #fff7e6; }
.collection .filtres button:hover { border-color: #e8be6e; }
.collection .filtres button.is-on { border-color: transparent; background: linear-gradient(135deg, #f8dc92, #dba33c 55%, #f4c96a); color: #1e060b; }
.collection .filtres .filtres__prime { color: #f6d58a; }
.collection .filtres .filtres__prime.is-on { color: #1e060b; }
.collection .fleches button { border-color: rgba(232, 190, 110, 0.55); color: #fff7e6; }
.collection .fleches button:hover:not(:disabled) { background: #e8be6e; border-color: #e8be6e; color: #1e060b; }

.alveoles__rail {
  --w: clamp(250px, 21vw, 290px); --h: calc(var(--w) * 1.1547); --g: 16px;
  --retrait: max(var(--marge), calc((100vw - var(--large)) / 2 + var(--marge)));
  display: flex; align-items: flex-start; overflow-x: auto; scrollbar-width: none;
  padding: 26px var(--retrait) 34px; scroll-padding-inline: var(--retrait);
}
.alveoles__rail::-webkit-scrollbar { display: none; }
.alveoles__rail:focus-visible { outline: 2px solid #e8be6e; outline-offset: -2px; }

/* Une alvéole : liseré d'or, intérieur de cire claire */
.alv {
  position: relative; flex: none; width: var(--w); pointer-events: none;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.45));
  transition: transform 0.6s var(--doux);
}
.alv[hidden] { display: none; }
.alv.is-suite { margin-left: calc((var(--w) - var(--g)) / -2); }
.alv.is-bas { margin-top: calc(var(--h) * 0.75 + var(--g) * 0.866); }
.alv:hover, .alv:focus-within { z-index: 2; transform: translateY(-8px); }
.alv__hexa, .alv__badges, .alv .fiche__favori { pointer-events: auto; }

.alv__hexa {
  position: relative; height: var(--h); overflow: hidden;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(150deg, #fbe4a2 0%, #c8922f 34%, #f6d58a 58%, #9c6a1c 100%);
}
.alv__hexa::before {
  content: ""; position: absolute; inset: 3px; z-index: 0;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: radial-gradient(85% 60% at 50% 30%, #fffdf8 0%, #fbf3e1 55%, #f1e2bf 100%);
}
.alv.fiche--prime .alv__hexa::before { background: radial-gradient(85% 60% at 50% 30%, #fffdf6 0%, #fdf0cf 55%, #f3d993 100%); }
.alv__hexa::after {
  content: ""; position: absolute; inset: -20% -60%; z-index: 3; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
  translate: -70% 0; transition: translate 0s;
}
.alv:hover .alv__hexa::after { translate: 70% 0; transition: translate 1.1s var(--doux); }

.alv__visuel { position: absolute; left: 24%; right: 24%; top: 10%; height: 44%; display: grid; grid-template-rows: 100%; place-items: center; }
.alv__visuel img { width: auto; height: 100%; min-height: 0; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.7s var(--doux); }
.alv:hover .alv__visuel img, .alv:hover .alv__visuel svg { transform: translateY(-6px) scale(1.04); }
.alv__visuel--medaillon {
  left: 50%; right: auto; top: 9%; width: 46%; height: auto; aspect-ratio: 1 / 1.1547; translate: -50% 0;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: #c8922f; padding: 2px;
}
.alv__visuel--medaillon img { width: 100%; height: 100%; max-width: none; object-fit: cover; mix-blend-mode: normal; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.alv__visuel--dessin { background: #fff7e6; color: var(--miel-fonce); padding: 22%; }
.alv__visuel--dessin svg { width: 100%; height: auto; stroke-width: 1.4; transition: transform 0.7s var(--doux); }

.alv__txt { position: absolute; z-index: 1; left: 15%; right: 15%; top: 57%; text-align: center; color: var(--encre); }
.alv__genre, .alv__nom, .alv__prix { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.alv__genre { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #8a5a14; }
.alv__nom { margin-top: 4px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.25; }
.alv__nom a:hover { color: var(--miel-fonce); }
.alv__prix { margin-top: 4px; font-family: var(--serif); font-size: 1.125rem; line-height: 1.2; }
.alv__prix small { font-size: 0.62em; }
.alv__prix span { margin-left: 6px; font-family: var(--sans); font-size: 0.75rem; color: var(--encre-douce); }
.alv__plus.plus { position: absolute; z-index: 2; left: 50%; top: 80%; width: 38px; height: 38px; translate: -50% 0; border-color: var(--encre); background: transparent; }
.alv__plus.plus:hover { background: var(--encre); color: #f6d58a; }

.alv__badges { position: absolute; z-index: 4; right: 3%; top: 25%; display: flex; flex-direction: column; }
.alv__badges[hidden] { display: none; }
.alv__badges .badge { --t: 50px; }
.alv__badges .badge + .badge { margin-top: -9px; }
.alv__badges .badge:nth-child(1) { z-index: 4; }
.alv__badges .badge:nth-child(2) { z-index: 3; }
.alv__badges .badge:nth-child(3) { z-index: 2; }
.alv__badges .badge:hover, .alv__badges .badge:focus-visible { z-index: 6; }
.alv .fiche__favori { z-index: 4; top: 26%; left: 4%; width: 38px; height: 38px; }
.alv .fiche__favori svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  .alv__hexa::after { display: none; }
}
@media (max-width: 760px) {
  .alveoles__rail { --w: 66vw; }
  .alv__badges .badge { --t: 42px; }
}
.alv__plus.plus { display: grid; place-items: center; padding: 0; color: var(--encre); }
.alv__plus.plus svg { flex: none; width: 18px; height: 18px; }
.alv .fiche__favori { color: var(--encre); }
@media (max-width: 760px) {
  .alv__visuel { top: 9%; height: 40%; }
  .alv__txt { top: 52%; }
  .alv__nom { font-size: 1.0625rem; }
  .alv__prix { font-size: 1rem; }
  .alv__plus.plus { top: 81%; width: 34px; height: 34px; }
}

/* ==========================================================================
   Expérience : la collection en alvéoles, version claire
   ========================================================================== */
.collection--claire {
  color: var(--encre);
  background: radial-gradient(80% 70% at 85% 0%, #fffaf0 0%, #ffffff 60%);
}
.collection--claire::before {
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16zM28 64v33M0 48l-28 16M56 48l28 16' fill='none' stroke='%23e3c27e' stroke-width='1'/%3E%3C/svg%3E");
}
.collection--claire .surtitre { color: var(--miel-fonce); }
.collection--claire .titre-l { color: var(--encre); }
.collection--claire .collection__chapo { color: var(--encre-douce); }
.collection--claire .filtres button { border-color: rgba(181, 101, 10, 0.28); color: var(--encre); }
.collection--claire .filtres button:hover { border-color: #b8862c; }
.collection--claire .filtres button.is-on { border-color: transparent; color: var(--encre); box-shadow: 0 6px 16px -8px rgba(156, 106, 28, 0.6); }
.collection--claire .filtres .filtres__prime { color: var(--miel-fonce); }
.collection--claire .filtres .filtres__prime.is-on { color: var(--encre); }
.collection--claire .fleches button { border-color: #c79a45; color: var(--encre); }
.collection--claire .fleches button:hover:not(:disabled) { background: linear-gradient(135deg, #f8dc92, #dba33c 55%, #f4c96a); border-color: transparent; color: var(--encre); }
.collection--claire .alveoles__rail:focus-visible { outline-color: #b8862c; }

/* Sur fond blanc, l'alvéole garde son liseré d'or et prend une cire un peu plus dorée */
.collection--claire .alv { filter: drop-shadow(0 18px 22px rgba(120, 72, 12, 0.16)) drop-shadow(0 2px 3px rgba(120, 72, 12, 0.12)); }
.collection--claire .alv:hover, .collection--claire .alv:focus-within { filter: drop-shadow(0 26px 30px rgba(120, 72, 12, 0.22)) drop-shadow(0 2px 3px rgba(120, 72, 12, 0.12)); }
.collection--claire .alv__hexa::before { background: radial-gradient(85% 60% at 50% 30%, #fffdf7 0%, #fbf0d6 60%, #f2dfb2 100%); }
.collection--claire .alv.fiche--prime .alv__hexa::before { background: radial-gradient(85% 60% at 50% 30%, #fffcf1 0%, #fbe8b8 58%, #efcf82 100%); }

/* ==========================================================================
   Méga-menu
   ========================================================================== */
.menu { align-self: stretch; }
.menu__liste { display: flex; align-items: stretch; gap: clamp(18px, 2.4vw, 36px); height: 100%; }
.menu__li { display: flex; align-items: center; }
.menu__item svg { width: 10px; height: 10px; opacity: 0.6; transition: transform 0.3s var(--doux); }
.menu__li.is-ouvert > .menu__item { color: var(--miel-fonce); }
.menu__li.is-ouvert > .menu__item svg { transform: rotate(180deg); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 1;
  background: var(--creme); color: var(--encre); border-top: 1px solid var(--trait);
  box-shadow: 0 46px 60px -44px rgba(30, 6, 11, 0.5);
  opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
  transition: opacity 0.25s, transform 0.4s var(--doux), visibility 0s 0.4s;
}
.menu__li.is-ouvert > .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity 0.25s, transform 0.4s var(--doux), visibility 0s; }
.mega__in {
  width: min(100%, var(--large)); margin-inline: auto; padding: 40px var(--marge) 34px;
  display: flex; flex-wrap: wrap; gap: 0 clamp(28px, 3.4vw, 56px);
}
.mega__col { flex: 1 1 150px; min-width: 0; }
.mega__col--large { flex: 2.2 1 330px; }
.mega__titre { margin-bottom: 10px; font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; }
.mega__liens + .mega__titre { margin-top: 24px; }
.mega__liens a { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 6px 0; font-size: 0.9375rem; transition: color 0.2s, padding 0.3s var(--doux); }
.mega__liens a span { font-size: 0.8125rem; color: var(--encre-douce); white-space: nowrap; }
.mega__liens a:hover, .mega__liens a:focus-visible { color: var(--miel-fonce); padding-left: 6px; }
.mega__liens--deux { columns: 2; column-gap: clamp(28px, 3vw, 48px); }
.mega__liens--deux li { break-inside: avoid; }
.mega__liens--desc a { display: block; padding: 9px 0; font-weight: 600; }
.mega__liens--desc a span { display: block; margin-top: 2px; font-weight: 400; white-space: normal; }

.mega__une { flex: 0 0 clamp(200px, 18vw, 260px); display: block; font-size: 0.875rem; line-height: 1.45; color: var(--encre-douce); }
.mega__une-img { display: block; aspect-ratio: 5 / 4; overflow: hidden; background: var(--brume); }
.mega__une-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--doux); }
.mega__une--pot .mega__une-img { background: var(--or-pale); }
.mega__une--pot .mega__une-img img { object-fit: contain; padding: 14px; mix-blend-mode: multiply; }
.mega__une:hover .mega__une-img img { transform: scale(1.05); }
.mega__une-txt { display: block; padding-top: 12px; }
.mega__une-txt em { display: block; font-style: normal; font-weight: 600; font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--miel-fonce); }
.mega__une-txt strong { display: block; margin: 3px 0 4px; font-family: var(--serif); font-weight: 400; font-size: 1.3125rem; line-height: 1.2; color: var(--encre); }

.mega__pied { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--trait); font-size: 0.9375rem; font-weight: 600; }
.mega__pied a { padding-bottom: 3px; background: linear-gradient(var(--miel), var(--miel)) 0 100% / 100% 2px no-repeat; transition: color 0.2s; }
.mega__pied a:hover { color: var(--miel-fonce); }

.mega-voile { position: fixed; inset: 0; z-index: 50; background: rgba(30, 6, 11, 0.32); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mega-voile.is-on { opacity: 1; pointer-events: auto; }

@media (max-width: 980px) {
  .menu { align-self: auto; }
  .menu__liste { flex-direction: column; align-items: stretch; gap: 0; height: auto; }
  .menu__li { display: block; border-bottom: 1px solid var(--trait); }
  .menu__item svg { width: 16px; height: 16px; }
  .mega {
    position: static; display: grid; grid-template-rows: 0fr; border: 0; box-shadow: none; background: none;
    opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: grid-template-rows 0.45s var(--doux);
  }
  .menu__li.is-ouvert > .mega { grid-template-rows: 1fr; transition: grid-template-rows 0.45s var(--doux); }
  .mega__in { display: block; width: auto; margin-inline: 0; min-height: 0; overflow: hidden; padding: 0; visibility: hidden; transition: visibility 0s 0.45s; }
  .menu__li.is-ouvert > .mega .mega__in { visibility: visible; transition: visibility 0s; }
  .mega__col { padding-bottom: 14px; }
  .mega__titre { margin-bottom: 2px; font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--miel-fonce); }
  .mega__liens + .mega__titre { margin-top: 14px; }
  .mega__liens--deux { columns: 1; }
  .mega__liens a { padding: 9px 0; font-size: 1rem; }
  .mega__une { display: none; }
  .mega__pied { flex-direction: column; gap: 12px; margin: 0 0 22px; padding-top: 14px; }
  .mega__pied a { width: fit-content; }
  .mega-voile { display: none; }
}

/* ==========================================================================
   Discussion WhatsApp (gabarit non relié)
   ========================================================================== */
.whatsapp {
  position: fixed; right: clamp(16px, 2.2vw, 28px); bottom: clamp(16px, 2.2vw, 28px); z-index: 80;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; pointer-events: none;
  box-shadow: 0 16px 30px -14px rgba(18, 120, 60, 0.75), 0 2px 6px rgba(30, 6, 11, 0.14);
}
.whatsapp svg { width: 30px; height: 30px; fill: currentColor; }
@media (max-width: 680px) {
  .whatsapp { width: 52px; height: 52px; }
  .whatsapp svg { width: 27px; height: 27px; }
}

/* Méga-menu : les produits mis en avant prennent la forme d'une alvéole */
.mega__une { text-align: center; }
.mega__une-img {
  --hexa: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  position: relative; width: min(100%, 196px); margin-inline: auto; aspect-ratio: 0.866; padding: 3px;
  clip-path: var(--hexa); background: linear-gradient(150deg, #fbe4a2 0%, #c8922f 34%, #f6d58a 58%, #9c6a1c 100%);
  filter: drop-shadow(0 14px 18px rgba(120, 72, 12, 0.18));
}
.mega__une-img::before {
  content: ""; position: absolute; inset: 3px; clip-path: var(--hexa);
  background: radial-gradient(85% 60% at 50% 30%, #fffdf7 0%, #fbf0d6 60%, #f2dfb2 100%);
}
.mega__une-img img { position: relative; clip-path: var(--hexa); }
.mega__une--pot .mega__une-img { background: linear-gradient(150deg, #fbe4a2 0%, #c8922f 34%, #f6d58a 58%, #9c6a1c 100%); }
.mega__une--pot .mega__une-img img { padding: 16% 18% 12%; clip-path: none; }
.mega__une-txt { padding-top: 14px; }

/* Titre d'accueil : trois lignes, « Apiculteurs / médaillés / en Tunisie. », les mots qui tournent sur la dernière */
.film .mots { display: grid; }

/* ==========================================================================
   Fiche produit (fiche-produit.html)
   ========================================================================== */
.fp { padding-bottom: var(--bloc); }
.fp__ariane { padding-top: 22px; padding-bottom: 22px; font-size: 0.8125rem; color: var(--encre-douce); }
.fp__ariane ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; list-style: none; }
.fp__ariane li + li::before { content: "/"; margin-right: 10px; color: rgba(30, 6, 11, 0.3); }
.fp__ariane a:hover { color: var(--miel-fonce); }
.fp__ariane [aria-current] { color: var(--encre); font-weight: 600; }

.fp__haut { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }

/* Galerie */
.fp__galerie { position: sticky; top: 96px; }
.fp__scene {
  --echelle: 1;
  position: relative; display: grid; grid-template-rows: 100%; place-items: center; aspect-ratio: 1 / 1.02; overflow: hidden; isolation: isolate;
  background: radial-gradient(75% 65% at 50% 38%, #fffdf8 0%, #fbf1dc 70%, #f3e2bd 100%);
  box-shadow: inset 0 0 0 1px rgba(200, 146, 47, 0.28);
}
.fp__scene::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16zM28 64v33M0 48l-28 16M56 48l28 16' fill='none' stroke='%23e8cf98' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(60% 55% at 100% 100%, #000, transparent 75%); mask-image: radial-gradient(60% 55% at 100% 100%, #000, transparent 75%);
}
.fp__img {
  width: auto; height: 78%; min-height: 0; max-width: 80%; object-fit: contain; mix-blend-mode: multiply;
  transform: scale(var(--echelle)); transform-origin: 50% 88%;
  transition: transform 0.6s var(--doux), opacity 0.22s, translate 0.22s;
}
.fp__img.sort { opacity: 0; translate: 0 10px; }
.fp__vide { display: grid; justify-items: center; gap: 12px; margin: 0; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--miel-fonce); }
.fp__vide svg { width: 64px; height: 64px; stroke: #c8922f; stroke-width: 1; }
.fp__badges { position: absolute; top: 22px; right: 22px; display: flex; flex-direction: column; }
.fp__badges .badge { --t: 68px; }
.fp__badges .badge + .badge { margin-top: -10px; }

.fp__vignettes { display: flex; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.fp__vignette {
  display: block; width: 76px; height: 88px; padding: 2px; cursor: pointer;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: rgba(30, 6, 11, 0.16); transition: background-color 0.25s;
}
.fp__vignette img { width: 100%; height: 100%; object-fit: contain; padding: 10px 12px; background: #fffaf0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.fp__vignette:hover { background: rgba(200, 146, 47, 0.6); }
.fp__vignette[aria-pressed="true"] { background: linear-gradient(150deg, #fbe4a2 0%, #c8922f 34%, #f6d58a 58%, #9c6a1c 100%); }
.fp__vignette:focus-visible { outline: none; background: var(--encre); }

/* Informations */
.fp__genre { margin: 0 0 10px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--miel-fonce); }
.fp__nom { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.01em; }
.fp__accroche { margin: 14px 0 0; max-width: 42ch; color: var(--encre-douce); }
.fp__prix { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--trait); }
.fp__prix span { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1; }
.fp__prix small { font-size: 0.875rem; color: var(--encre-douce); }
.fp__prix-unite { min-height: 1.4em; margin: 6px 0 0; font-size: 0.8125rem; color: var(--encre-douce); }

.fp__options { display: grid; gap: 20px; margin-top: 18px; }
.fp__axe { margin: 0; padding: 0; border: 0; min-width: 0; }
.fp__axe legend { display: flex; gap: 8px; margin-bottom: 10px; padding: 0; font-size: 0.875rem; font-weight: 600; }
.fp__axe legend em { font-style: normal; font-weight: 400; color: var(--encre-douce); }
.fp__pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.fp__pastille {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-width: 92px; min-height: 52px; padding: 8px 18px; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--trait); background: #fff; color: var(--encre); font: inherit; font-size: 0.9375rem; font-weight: 500; line-height: 1.2;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.fp__pastille small { font-size: 0.75rem; font-weight: 400; color: var(--encre-douce); }
.fp__pastille:hover { border-color: var(--encre); }
.fp__pastille[aria-checked="true"] { border-color: var(--encre); background: var(--encre); color: #fff7e6; box-shadow: 0 12px 24px -16px rgba(30, 6, 11, 0.7); }
.fp__pastille[aria-checked="true"] small { color: #f6d58a; }
.fp__pastille.is-autre:not([aria-checked="true"]) { border-style: dashed; color: rgba(30, 6, 11, 0.55); }
.fp__pastille:focus-visible { outline: 2px solid var(--miel); outline-offset: 2px; }

.fp__contenu { margin-top: 22px; padding: 18px 20px; background: var(--or-pale); box-shadow: inset 0 0 0 1px rgba(200, 146, 47, 0.25); }
.fp__contenu-titre { margin: 0 0 8px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--miel-fonce); }
.fp__contenu ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; }
.fp__contenu li { display: flex; gap: 10px; align-items: baseline; }
.fp__contenu li::before, .fp__puces li::before { content: ""; flex: none; width: 8px; height: 9px; translate: 0 -1px; background: var(--miel); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

.fp__achat { display: flex; gap: 10px; margin-top: 26px; }
.fp__qte { display: flex; align-items: center; flex: none; height: 58px; border: 1px solid var(--trait); border-radius: 999px; background: #fff; }
.fp__qte button { display: grid; place-items: center; width: 46px; height: 100%; border-radius: 999px; cursor: pointer; }
.fp__qte button:hover { background: rgba(30, 6, 11, 0.06); }
.fp__qte svg { width: 18px; height: 18px; }
.fp__qte input { width: 38px; border: 0; background: none; text-align: center; font: inherit; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.fp__qte input::-webkit-inner-spin-button, .fp__qte input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.fp__ajout { flex: 1; }
.fp__ajout:disabled { opacity: 0.45; cursor: not-allowed; }
.fp__dispo { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 0.875rem; font-weight: 600; color: var(--vert); }
.fp__dispo::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.fp__dispo.is-off { color: #9b2c1f; }

.fp__ref { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 0; padding: 18px 0; border-block: 1px solid var(--trait); }
.fp__ref dt { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--encre-douce); }
.fp__ref dd { margin: 4px 0 0; font-size: 1rem; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.fp__ref dd.is-vide { color: var(--encre-douce); font-style: italic; letter-spacing: 0; }

.fp__gages { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 0.875rem; color: var(--encre-douce); }
.fp__gages li { display: flex; align-items: center; gap: 10px; }
.fp__gages svg { flex: none; width: 18px; height: 18px; color: var(--vert); }

/* Détails */
.fp__details { margin-top: clamp(56px, 8vw, 112px); padding-block: clamp(48px, 6vw, 80px); background: var(--brume); }
.fp__details-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); }
.fp__bloc h2, .fp__distinctions h2 { margin: 0 0 18px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.fp__bloc p { margin: 0 0 14px; max-width: 62ch; }
.fp__puces { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.fp__puces li { display: flex; gap: 12px; align-items: baseline; }
.fp__conseil { margin-top: 26px; padding: 20px 22px; background: #fff; box-shadow: inset 3px 0 0 var(--miel); }
.fp__conseil h3 { margin: 0 0 6px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--miel-fonce); }
.fp__conseil p { margin: 0; }
.fp__carac { margin: 0; }
.fp__carac div { display: grid; grid-template-columns: minmax(130px, 0.9fr) 1.1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--trait); }
.fp__carac dt { color: var(--encre-douce); font-size: 0.9375rem; }
.fp__carac dd { margin: 0; font-weight: 600; }
.fp__note { margin-top: 14px; font-size: 0.8125rem; color: var(--encre-douce); }

.fp__distinctions { margin-top: clamp(40px, 5vw, 64px); }
.fp__distinctions ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.fp__dist {
  display: grid; width: 100%; height: 100%; gap: 2px; padding: 16px 18px; text-align: left; cursor: pointer;
  background: #fff; box-shadow: inset 0 0 0 1px rgba(200, 146, 47, 0.3); transition: box-shadow 0.25s, transform 0.3s var(--doux);
}
.fp__dist:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #c8922f, 0 16px 26px -20px rgba(120, 72, 12, 0.6); }
.fp__dist-annee { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; color: var(--miel-fonce); }
.fp__dist strong { font-family: var(--serif); font-weight: 400; font-size: 1.1875rem; }
.fp__dist span:last-child { font-size: 0.875rem; color: var(--encre-douce); }

/* Dans la même famille */
.fp__aussi { margin-top: clamp(56px, 8vw, 112px); }
.fp__aussi .titre-m { margin: 0 0 30px; }
.fp__voisins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin: 0; padding: 0; list-style: none; }
.fp__voisin { display: grid; justify-items: center; text-align: center; }
.fp__voisin-hexa {
  display: grid; place-items: center; width: min(100%, 200px); aspect-ratio: 0.866; padding: 3px; margin-bottom: 14px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(150deg, #fbe4a2 0%, #c8922f 34%, #f6d58a 58%, #9c6a1c 100%);
  transition: transform 0.5s var(--doux);
}
.fp__voisin-hexa img, .fp__voisin-vide {
  width: 100%; height: 100%; object-fit: contain; padding: 16% 18% 12%;
  background: radial-gradient(85% 60% at 50% 30%, #fffdf7 0%, #fbf0d6 60%, #f2dfb2 100%);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.fp__voisin-vide { display: grid; place-items: center; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--miel-fonce); }
.fp__voisin:hover .fp__voisin-hexa { transform: translateY(-6px); }
.fp__voisin-genre { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--miel-fonce); }
.fp__voisin-nom { margin-top: 4px; font-family: var(--serif); font-weight: 400; font-size: 1.1875rem; line-height: 1.2; }
.fp__voisin-prix { margin-top: 4px; font-size: 0.875rem; color: var(--encre-douce); }

@media (max-width: 980px) {
  .fp__haut, .fp__details-in { grid-template-columns: 1fr; }
  .fp__galerie { position: static; }
  .fp__voisins { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}
@media (max-width: 520px) {
  .fp__scene { aspect-ratio: 1 / 1.08; }
  .fp__badges { top: 14px; right: 14px; }
  .fp__badges .badge { --t: 54px; }
  .fp__pastille { min-width: 0; flex: 1 1 calc(33% - 8px); padding-inline: 10px; }
  .fp__achat { flex-wrap: wrap; }
  .fp__ajout { flex-basis: 100%; }
  .fp__qte { flex: 1; justify-content: space-between; }
  .fp__carac div { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================================
   Accueil, palette nature (body.nature)
   Le beige et le brun cèdent la place aux verts et aux gris clairs.
   Les boutons miel restent jaunes. Les sections alternent blanc, gris vert et vert tendre.
   ========================================================================== */
.nature {
  --encre: #15231a;
  --encre-douce: #4a584e;
  --aubergine: #1d3a26;
  --foret: #1d3a26;
  --foret-nuit: #11261a;
  --miel-fonce: #2f6b3c;
  --mousse: #edf4e9;
  --brume-verte: #f4f6f2;
  --sable: #f1f4ef;
  --brume: #f4f6f2;
  --or-pale: #edf4e9;
  --trait: rgba(21, 35, 26, 0.13);
  --trait-clair: rgba(255, 255, 255, 0.16);
}
.nature ::selection { background: var(--miel); color: var(--encre); }
.nature .annonce { background: var(--foret); }

/* ---------- Film d'ouverture : voile vert forêt, sans trame d'alvéoles ---------- */
.nature .film { background: var(--foret-nuit); }
.nature .film__fond::before {
  background:
    linear-gradient(90deg, rgba(10, 30, 17, 0.9) 0%, rgba(13, 38, 22, 0.72) 42%, rgba(18, 50, 28, 0.26) 100%),
    linear-gradient(0deg, rgba(10, 30, 17, 0.82) 0%, rgba(10, 30, 17, 0) 52%);
}
.nature .film__fond::after { display: none; }

/* « Depuis 1984 » : plus grand, plus lisible */
.nature .film__depuis {
  gap: 14px; margin-bottom: 30px; padding: 9px 22px 9px 14px; border-radius: 999px;
  border: 1px solid rgba(249, 173, 40, 0.55); background: rgba(10, 30, 17, 0.45);
  font-size: clamp(1rem, 1.25vw, 1.1875rem); font-weight: 500; color: rgba(255, 255, 255, 0.92);
}
.nature .film__depuis svg { width: 40px; }
.nature .film__depuis strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.375rem, 2vw, 1.875rem); line-height: 1; letter-spacing: -0.01em; color: var(--miel); }

/* ---------- Fonds de section ---------- */
.nature .manifeste { background: #fff; }
.nature .labels { background: var(--brume-verte); }
.nature .univers { background: #fff; }
.nature .collection--claire { background: var(--mousse); }
.nature .atlas { background: #fff; }
.nature .gages { background: var(--brume-verte); border-block: 0; }
.nature .coffrets { background: #fff; }
.nature .visites { background: var(--mousse); }
.nature .livre { background: #fff; }

/* ---------- Producteur : section resserrée, photos à la hauteur du texte ---------- */
.nature .manifeste { padding-block: clamp(64px, 8vw, 112px); }
.nature .manifeste__grille { align-items: stretch; }
.nature .manifeste__texte { align-self: center; }
.nature .manifeste__visuel { min-height: 440px; padding: 0; }
.nature .manifeste__a { position: absolute; top: 0; left: 13%; width: 87%; height: calc(100% - clamp(40px, 5vw, 72px)); aspect-ratio: auto; }
.nature .film__depuis strong { margin-right: 0.12em; }
.nature .manifeste__b { width: 44%; }
.nature .chiffres { margin-bottom: 0; }

/* ---------- Le nid des univers : voile vert sur les photos ---------- */
.nature .cellule__in::after { background: linear-gradient(to top, rgba(12, 32, 19, 0.86) 14%, rgba(12, 32, 19, 0) 64%); }

/* ---------- Collection : fond vert tendre, sans trame d'alvéoles, cellules blanches ---------- */
.nature .collection--claire::before { display: none; }
.nature .collection--claire .filtres button { border-color: var(--trait); }
.nature .collection--claire .filtres button:hover { border-color: var(--vert); }
.nature .collection--claire .filtres button.is-on { box-shadow: 0 6px 16px -8px rgba(20, 60, 30, 0.45); }
.nature .collection--claire .fleches button { border-color: var(--vert); }
.nature .collection--claire .alveoles__rail:focus-visible { outline-color: var(--vert); }
.nature .collection--claire .alv { filter: drop-shadow(0 18px 22px rgba(20, 56, 30, 0.14)) drop-shadow(0 2px 3px rgba(20, 56, 30, 0.1)); }
.nature .collection--claire .alv:hover, .nature .collection--claire .alv:focus-within { filter: drop-shadow(0 26px 30px rgba(20, 56, 30, 0.2)) drop-shadow(0 2px 3px rgba(20, 56, 30, 0.1)); }
.nature .collection--claire .alv__hexa::before,
.nature .collection--claire .alv.fiche--prime .alv__hexa::before { background: radial-gradient(85% 60% at 50% 30%, #ffffff 0%, #fbfcfa 60%, #f1f5ee 100%); }
.nature .alv__visuel--dessin { background: var(--mousse); }

/* ---------- La carte : quatre régions ---------- */
.nature .atlas__carte::before { background: radial-gradient(rgba(47, 107, 60, 0.2) 1px, transparent 1.5px) 0 0 / 14px 14px; }
.nature .atlas__carte svg { filter: drop-shadow(0 22px 26px rgba(20, 60, 30, 0.14)); }
.nature .atlas__terre { fill: #f6f9f4; stroke: #9dbb94; }
.atlas__bord { fill: none; stroke: #9dbb94; stroke-width: 1.2; vector-effect: non-scaling-stroke; pointer-events: none; }
.atlas__zone { fill: rgba(63, 122, 69, 0.16); stroke: none; transition: fill 0.45s var(--doux); }
.atlas__zone.is-on { fill: rgba(63, 122, 69, 0.46); }
.nature .atlas__mer, .nature .atlas__pays { color: rgba(21, 35, 26, 0.4); }
.nature .atlas__pays--sahara { color: rgba(21, 35, 26, 0.3); }
.nature .repere i { background: var(--vert); }
.nature .repere span { opacity: 1; translate: -50% 0; background: #fff; color: var(--encre); box-shadow: 0 0 0 1px var(--trait), 0 8px 16px -10px rgba(20, 50, 28, 0.5); }
.nature .repere.is-on span { background: var(--vert); color: #fff; box-shadow: 0 10px 18px -10px rgba(20, 50, 28, 0.7); }
.nature .repere.is-on::after { border-color: var(--vert); }
.nature .atlas__intensite li { background: #e3eadf; }

/* ---------- Livre d'or ---------- */
.nature .temoin--miel { box-shadow: inset 0 0 0 1px rgba(47, 107, 60, 0.22); }

/* ---------- Pied de page : vert forêt, contraste élevé ---------- */
.nature .pied { background: var(--foret); color: #fff; }
.nature .lettre p { color: rgba(255, 255, 255, 0.8); }
.nature .lettre__form input { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.nature .lettre__form input::placeholder { color: rgba(255, 255, 255, 0.62); }
.nature .pied__marque p, .nature .pied address p { color: rgba(255, 255, 255, 0.8); }
.nature .pied nav a { color: rgba(255, 255, 255, 0.86); }
.nature .pied__labels p { color: rgba(255, 255, 255, 0.8); }
.nature .pied__bas, .nature .pied__bas a { color: rgba(255, 255, 255, 0.72); }

/* ---------- Méga-menu : vignettes blanches ---------- */
.nature .mega__une-img { filter: drop-shadow(0 14px 18px rgba(20, 56, 30, 0.16)); }
.nature .mega__une-img::before { background: radial-gradient(85% 60% at 50% 30%, #ffffff 0%, #fbfcfa 60%, #f1f5ee 100%); }
.nature .mega-voile { background: rgba(12, 32, 19, 0.32); }
.nature .voile { background: rgba(12, 32, 19, 0.5); }
/* La cellule « Eaux florales » a un fond clair : texte foncé (a.cellule imposait le blanc) */
.nature a.cellule--eaux { color: var(--encre); }
.nature .atlas__intensite li.is-on { background: var(--vert); }
@media (max-width: 600px) { .nature .film__depuis { border-radius: 18px; padding-block: 10px; } }

/* ==========================================================================
   Palette nature, autres pages (notre histoire, palmarès, fiche produit)
   ========================================================================== */
.nature .maison__recit > p:not(.maison__an), .nature .chrono li > p:last-child { color: rgba(255, 255, 255, 0.8); }
.nature .chrono li::before { background: #3e6248; }
.nature .chrono li.is-vu::before { background: var(--miel); }

/* Fiches et certificats : fond blanc à peine vert */
.nature .fiche__img { background: radial-gradient(110% 80% at 50% 22%, #ffffff 0%, #f8faf6 58%, #eef3eb 100%); box-shadow: inset 0 0 0 1px var(--trait); }
.nature .fiche--prime .fiche__img { background: radial-gradient(110% 80% at 50% 22%, #ffffff 0%, #f6f9f3 60%, #e8f0e3 100%); box-shadow: inset 0 0 0 1px rgba(47, 107, 60, 0.28); }
.nature .fiche__img--dessin { color: var(--vert); }

/* Fenêtre des distinctions : nuit verte au lieu du bordeaux */
.nature .palmares::backdrop { background: rgba(6, 20, 11, 0.8); }
.nature .palmares__cadre {
  background:
    radial-gradient(70% 60% at 22% 34%, rgba(var(--lueur), 0.14) 0%, rgba(var(--lueur), 0) 70%),
    radial-gradient(120% 100% at 18% 20%, #24452e 0%, #132a1b 52%, #0b1d11 100%);
}
.nature .palmares__cadre::after { display: none; }
.nature .palmares__certificat { background: rgba(9, 24, 14, 0.97); }

/* Fiche produit : scène claire sans trame d'alvéoles */
.nature .fp__scene { background: radial-gradient(75% 65% at 50% 38%, #ffffff 0%, #f6f9f4 70%, #e9f0e5 100%); box-shadow: inset 0 0 0 1px rgba(47, 107, 60, 0.18); }
.nature .fp__scene::before { display: none; }
.nature .fp__vignette img { background: #fff; }
.nature .fp__vide svg { stroke: var(--vert); }
.nature .fp__pastille[aria-checked="true"] { color: #fff; }
.nature .fp__pastille.is-autre:not([aria-checked="true"]) { color: rgba(21, 35, 26, 0.55); }
.nature .fp__ariane li + li::before { color: rgba(21, 35, 26, 0.3); }
.nature .fp__voisin-hexa img, .nature .fp__voisin-vide { background: radial-gradient(85% 60% at 50% 30%, #ffffff 0%, #fbfcfa 60%, #f1f5ee 100%); }
.nature .fp__dist:hover { box-shadow: inset 0 0 0 1px var(--vert), 0 16px 26px -20px rgba(20, 56, 30, 0.5); }
.nature .cine::backdrop { background: rgba(6, 20, 11, 0.88); }

/* accueil.html (sans collection) : la carte suit le nid, on garde l alternance des fonds */
.nature .univers + .atlas { background: var(--mousse); }
.nature .univers + .atlas + .gages { background: #fff; border-block: 1px solid var(--trait); }

/* ==========================================================================
   Page boutique (v2) : rail des rayons collé au bord, zones claires, fiches aérées
   ========================================================================== */
.page-boutique { --rail: 96px; }
.boutique-cadre { width: min(100%, 1560px); margin-inline: auto; padding-inline: clamp(24px, 3vw, 48px); }
@media (min-width: 981px) {
  .boutique-cadre { padding-left: calc(var(--rail) + clamp(28px, 3.4vw, 64px)); }
}

/* ---------- Héros clair : titre, phrase, engagements, trois pots ---------- */
.boutique-tete { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--mousse) 0%, #f5f9f2 100%); padding-top: clamp(28px, 4vw, 56px); }
.boutique-tete__grille { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: end; gap: 32px clamp(32px, 5vw, 80px); }
.boutique-tete__texte { padding-bottom: clamp(44px, 5.5vw, 84px); }
.boutique-tete .fil { margin-bottom: clamp(20px, 3vw, 40px); }
.boutique-tete__titre { font-family: var(--serif); font-weight: 400; font-size: clamp(3.25rem, 8.4vw, 7.5rem); line-height: 0.92; letter-spacing: -0.03em; }
.boutique-tete__chapo { max-width: 42ch; margin-top: clamp(18px, 2vw, 26px); font-size: clamp(1.0625rem, 1.35vw, 1.3125rem); line-height: 1.5; color: var(--encre-douce); }
.boutique-tete__gages { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 3vw, 36px); }
.boutique-tete__gages li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); font-size: 0.8125rem; font-weight: 600; color: var(--encre); }
.boutique-tete__gages svg { flex: none; width: 18px; height: 18px; stroke-width: 1.6; color: var(--vert); }

.boutique-tete__pots { position: relative; height: clamp(260px, 30vw, 440px); }
.boutique-tete__pots::before {
  content: ""; position: absolute; left: 8%; right: 4%; bottom: -18%; height: 92%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
}
.boutique-tete__pots img { position: absolute; bottom: 0; width: auto; mix-blend-mode: multiply; }
.boutique-tete__pots img:nth-child(1) { left: 4%; height: 70%; }
.boutique-tete__pots img:nth-child(2) { left: 30%; height: 100%; }
.boutique-tete__pots img:nth-child(3) { right: 2%; height: 78%; }

/* ---------- Rail des rayons : collé au bord gauche de l'écran ---------- */
@media (min-width: 981px) {
  .rayons {
    position: fixed; left: 0; top: 50%; z-index: 40; translate: 0 -50%; width: var(--rail);
    padding: 14px 8px 12px 12px; border-radius: 0 26px 26px 0;
    background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px);
    box-shadow: 0 28px 60px -34px rgba(20, 56, 30, 0.5), 0 2px 8px -4px rgba(20, 56, 30, 0.12);
    transition: translate 0.7s var(--doux), opacity 0.5s;
  }
  .rayons.is-cache { translate: -115% -50%; opacity: 0; }
  .rayons__titre { margin-bottom: 8px; font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; text-align: center; color: var(--encre-douce); }
  .rayons ul { position: relative; display: grid; gap: 2px; }
  .rayons li { position: relative; z-index: 1; }
  .rayons a {
    display: grid; justify-items: center; gap: 7px; padding: 12px 4px 11px; border-radius: 16px;
    font-size: 0.6875rem; font-weight: 600; line-height: 1.15; text-align: center; color: var(--encre-douce); transition: color 0.3s;
  }
  .rayons a svg { width: 26px; height: 26px; stroke-width: 1.35; transition: transform 0.5s var(--doux); }
  .rayons a:hover { color: var(--encre); }
  .rayons a:hover svg { transform: translateY(-2px); }
  .rayons a.is-on { color: var(--vert-fonce); }
  .rayons a.is-on svg { stroke-width: 1.6; }
  .rayons a:focus-visible { outline-offset: -2px; }
  /* Le curseur glisse d'un rayon à l'autre */
  .rayons .rayons__curseur {
    position: absolute; z-index: 0; left: 0; right: 0; top: 0; height: var(--h, 0); transform: translateY(var(--y, 0));
    border-radius: 16px; background: var(--mousse); box-shadow: inset 0 0 0 1px rgba(47, 107, 60, 0.14); pointer-events: none;
    transition: transform 0.6s var(--doux), height 0.6s var(--doux);
  }
  /* Fil de lecture : se remplit de miel au fil des rayons */
  .rayons__progres { position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 0 3px 3px 0; background: var(--trait); overflow: hidden; }
  .rayons__progres i { display: block; width: 100%; height: 100%; background: var(--miel); transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform 0.2s linear; }
}

/* ---------- Les rayons : zones pleine largeur, alternées ---------- */
.rayon-boutique { padding-block: clamp(56px, 7vw, 112px); scroll-margin-top: 0; }
.rayon-boutique:nth-child(even) { background: var(--mousse); }
.rayon-boutique__tete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 40ch); align-items: end; gap: 14px clamp(32px, 5vw, 80px); margin-bottom: clamp(28px, 3.6vw, 52px); }
.rayon-boutique__tete h2 { font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -0.025em; }
.rayon-boutique__tete p { padding-bottom: 0.35em; font-size: 0.9375rem; line-height: 1.55; color: var(--encre-douce); }

.grille-produits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 252px), 1fr)); gap: clamp(18px, 2.2vw, 32px) clamp(16px, 1.7vw, 26px); }

/* ---------- La fiche ---------- */
.produit {
  position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 22px; background: var(--brume-verte);
  transition: transform 0.55s var(--doux), box-shadow 0.55s var(--doux);
}
.rayon-boutique:nth-child(even) .produit { background: #fff; }
.produit:hover { transform: translateY(-6px); box-shadow: 0 36px 60px -42px rgba(20, 56, 30, 0.6); }

.produit__visuel { position: relative; display: block; aspect-ratio: 1 / 1.06; border-radius: 22px 22px 0 0; overflow: hidden; }
.produit__visuel::before {
  content: ""; position: absolute; inset: 10% 10% 8%; border-radius: 50%;
  background: radial-gradient(closest-side, #fff 0%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0) 100%);
  transition: transform 0.9s var(--doux);
}
.rayon-boutique:nth-child(even) .produit__visuel::before { background: radial-gradient(closest-side, var(--mousse) 0%, rgba(237, 244, 233, 0.6) 50%, rgba(237, 244, 233, 0) 100%); }
.produit__visuel::after {
  content: ""; position: absolute; left: 28%; right: 28%; bottom: 6%; height: 16px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 45, 28, 0.2), rgba(20, 45, 28, 0)); transition: transform 0.8s var(--doux), opacity 0.8s;
}
.produit__visuel img { position: absolute; z-index: 1; left: 5%; top: 4%; width: 90%; height: 88%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.9s var(--doux); }
.produit:hover .produit__visuel img { transform: translateY(-8px) scale(1.035); }
.produit:hover .produit__visuel::before { transform: scale(1.08); }
.produit:hover .produit__visuel::after { transform: scaleX(0.8); opacity: 0.6; }
.produit__visuel--dessin { display: grid; place-items: center; color: var(--vert); }
.produit__visuel--dessin svg { position: relative; z-index: 1; width: 44%; height: auto; stroke-width: 1.3; transition: transform 0.9s var(--doux); }
.produit:hover .produit__visuel--dessin svg { transform: translateY(-6px); }

/* Médailles : la légende reste dans la fiche, quitte à passer à la ligne */
.produit__badges { position: absolute; z-index: 3; top: 14px; right: 14px; display: flex; flex-direction: column; }
.produit__badges[hidden] { display: none; }
.produit__badges .badge { --t: 44px; }
.produit__badges .badge + .badge { margin-top: -10px; }
.produit .badge::after {
  width: max-content; max-width: 160px; padding: 7px 11px; border-radius: 12px;
  white-space: normal; text-align: right; line-height: 1.25;
}
.produit .fiche__favori { top: 14px; left: 14px; width: 40px; height: 40px; }
.produit .fiche__favori svg { width: 18px; height: 18px; }

.produit__corps { display: flex; flex: 1; flex-direction: column; padding: 4px 22px 20px; }
.produit__genre { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--encre-douce); }
.produit__nom { margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 1.5vw, 1.4375rem); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
.produit__nom a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.produit__nom a:focus-visible { outline: none; }
.produit:has(.produit__nom a:focus-visible) { outline: 2px solid var(--vert); outline-offset: 4px; }

/* Prix et bouton + sur la même ligne */
.produit__pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.produit__prix { font-family: var(--serif); font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.produit__prix small { font-size: 0.55em; }
.produit__prix span { margin-left: 8px; font-family: var(--sans); font-size: 0.75rem; color: var(--encre-douce); }
.produit__ajout {
  position: relative; z-index: 2; flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--miel); color: var(--encre); box-shadow: 0 10px 20px -12px rgba(160, 104, 6, 0.75);
  transition: background-color 0.3s, color 0.3s, transform 0.45s var(--doux), box-shadow 0.3s;
}
.produit__ajout svg { grid-area: 1 / 1; width: 20px; height: 20px; stroke-width: 2; transition: transform 0.5s var(--doux), opacity 0.3s; }
.produit__ajout .ajout__ok { opacity: 0; transform: scale(0.4) rotate(-30deg); }
.produit__ajout:hover { background: var(--encre); color: #fff; transform: scale(1.06); box-shadow: 0 12px 22px -12px rgba(21, 35, 26, 0.7); }
.produit__ajout:hover .ajout__plus { transform: rotate(90deg); }
.produit__ajout:active { transform: scale(0.93); }
.produit__ajout.est-ajoute { background: var(--vert); color: #fff; }
.produit__ajout.est-ajoute .ajout__plus { opacity: 0; transform: scale(0.4) rotate(90deg); }
.produit__ajout.est-ajoute .ajout__ok { opacity: 1; transform: none; }

/* ---------- Mouvement : une seule entrée en scène, coordonnée ---------- */
@media (prefers-reduced-motion: no-preference) {
  .boutique-tete__titre, .boutique-tete__chapo, .boutique-tete__gages { animation: boutique-monte 1s var(--doux) both; }
  .boutique-tete__chapo { animation-delay: 0.12s; }
  .boutique-tete__gages { animation-delay: 0.22s; }
  .boutique-tete__pots img { animation: pot-pose 1.2s var(--doux) both; }
  .boutique-tete__pots img:nth-child(1) { animation-delay: 0.25s; }
  .boutique-tete__pots img:nth-child(2) { animation: pot-pose 1.2s var(--doux) 0.1s both, pot-flotte 6s ease-in-out 1.4s infinite alternate; }
  .boutique-tete__pots img:nth-child(3) { animation-delay: 0.4s; }

  html.js .page-boutique .produit { transition: opacity 0.9s var(--doux) var(--d, 0s), translate 1s var(--doux) var(--d, 0s), filter 0.9s var(--doux) var(--d, 0s), transform 0.55s var(--doux), box-shadow 0.55s var(--doux); }
  html.js .page-boutique.boutique-anime .produit:not(.is-vu) { opacity: 0; translate: 0 36px; filter: blur(6px); }
  html.js .page-boutique.boutique-anime .rayon-boutique__tete h2 { transition: clip-path 1.1s var(--doux), translate 1.1s var(--doux); }
  html.js .page-boutique.boutique-anime .rayon-boutique:not(.is-vu) .rayon-boutique__tete h2 { clip-path: inset(0 0 100% 0); translate: 0 0.35em; }
  html.js .page-boutique.boutique-anime .rayon-boutique.is-vu .rayon-boutique__tete h2 { clip-path: inset(-0.1em -0.1em -0.25em -0.1em); }
}
@keyframes boutique-monte { from { opacity: 0; translate: 0 0.6em; } }
@keyframes pot-pose { from { opacity: 0; translate: 0 70px; } }
@keyframes pot-flotte { from { translate: 0 0; } to { translate: 0 -10px; } }

/* ---------- Tablette et téléphone : barre des rayons sous l'en-tête ---------- */
@media (max-width: 980px) {
  .boutique-tete__grille { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .boutique-tete__texte { padding-bottom: 8px; }
  .boutique-tete__pots { width: min(100%, 440px); height: clamp(200px, 52vw, 300px); margin-inline: auto; }
  .rayons {
    position: sticky; top: var(--entete-h); z-index: 30; padding: 10px 0;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--trait);
  }
  .rayons__titre, .rayons__progres, .rayons .rayons__curseur { display: none; }
  .rayons ul { display: flex; gap: 8px; overflow-x: auto; padding-inline: var(--marge); scrollbar-width: none; }
  .rayons ul::-webkit-scrollbar { display: none; }
  .rayons a {
    display: flex; align-items: center; gap: 8px; flex: none; padding: 8px 15px 8px 11px; border-radius: 999px;
    font-size: 0.8125rem; font-weight: 600; white-space: nowrap; color: var(--encre-douce); box-shadow: inset 0 0 0 1px var(--trait);
    transition: background-color 0.3s, color 0.3s;
  }
  .rayons a svg { flex: none; width: 19px; height: 19px; stroke-width: 1.5; }
  .rayons a.is-on { background: var(--encre); color: #fff; box-shadow: none; }
  .rayon-boutique { padding-block: 48px 56px; scroll-margin-top: 56px; }
  .rayon-boutique__tete { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .grille-produits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .produit { border-radius: 18px; }
  .produit__visuel { border-radius: 18px 18px 0 0; }
  .produit__corps { padding: 2px 12px 14px; }
  .produit__genre { font-size: 0.5625rem; letter-spacing: 0.08em; }
  .produit__nom { font-size: 1.0625rem; }
  .produit__pied { align-items: flex-end; gap: 8px; padding-top: 12px; }
  .produit__prix { font-size: 1.1875rem; }
  .produit__prix span { display: block; margin: 5px 0 0; }
  .produit__ajout { width: 40px; height: 40px; }
  .produit__ajout svg { width: 18px; height: 18px; }
  .produit__badges { top: 8px; right: 8px; }
  .produit__badges .badge { --t: 34px; }
  .produit .badge::after { max-width: 96px; font-size: 0.6875rem; }
  .produit .fiche__favori { top: 8px; left: 8px; width: 34px; height: 34px; }
}
/* Pendant la lecture d une médaille, le coeur s efface pour laisser la place à sa légende */
.produit .fiche__favori { transition: transform 0.35s var(--doux), color 0.25s, opacity 0.25s; }
.produit:has(.badge:hover, .badge:focus-visible) .fiche__favori { opacity: 0; pointer-events: none; }
/* Les photos des pots se fondent dans le vert : pas de halo blanc qui révèlerait leur cadre */
.boutique-tete__pots::before { display: none; }
/* Palmarès public : table resserrée, produits cliquables */
.inv__table { min-width: 0; }
.inv__produit { display: inline-block; }
.inv__produit strong { text-decoration: underline; text-decoration-color: rgba(47, 107, 60, 0.35); text-underline-offset: 4px; transition: color 0.2s, text-decoration-color 0.2s; }
.inv__produit:hover strong { color: var(--vert); text-decoration-color: currentColor; }
@media (max-width: 760px) { .inv__table { min-width: 640px; } }
/* Pied : le sceau centré au-dessus du nom */
.pied__logo { display: inline-flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 16px; }
.pied__logo img:first-child { width: 76px; height: auto; margin: 0; }
.pied__logo img:nth-child(2) { width: 172px; height: auto; margin: 0; }
/* Fiche produit : « Dans la même famille » reprend les fiches de la boutique */
.fp__grille .fp__voisin-vide { position: relative; z-index: 1; font-size: 0.8125rem; color: var(--encre-douce); }
