/* Les Ruchers de la Lande Haute — démo fictive Beauce.ai — feuille de style unique, sans ressource externe */

/* Polices libres (SIL Open Font License), servies depuis assets/fonts/ */
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/eb-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/eb-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  --miel: #D9921A;
  --miel-clair: #F6D58A;
  --miel-fonce: #8A5A0B;
  --pin: #2F4A3A;
  --pin-fonce: #24392C;
  --creme: #FBF6EC;
  --cire: #EFE3C8;
  --cire-trait: #D9C9A4;
  --blanc: #FFFDF8;
  --encre: #2A231A;
  --encre-douce: #3E3526;
  --gris: #5A4E3D;
  --bruyere: #8E4A6B;
  --serif: "EB Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --rayon: 6px;
  --wrap: 1240px;
  --pad: 24px;
  --sec: 112px;
  --alveole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='72.7' viewBox='0 0 42 72.7'%3E%3Cpath d='M21 1 41 12.5v24L21 48 1 36.5v-24z M21 48v24.7' fill='none' stroke='%23F6D58A' stroke-width='1'/%3E%3C/svg%3E");
  --alveole-cire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 28 48.5'%3E%3Cpath d='M14 1 27 8.5v16L14 32 1 24.5v-16z M14 32v16.5' fill='none' stroke='%23E2D2AE' stroke-width='1'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--creme); color: var(--encre); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pin); text-underline-offset: 4px; }
a:hover { color: var(--bruyere); }
:focus-visible { outline: 3px solid var(--miel); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--pin); line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -.01em; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--encre); color: var(--creme); padding: 10px 16px; }
.skip:focus { left: 8px; top: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.eyebrow { font-family: var(--sans); font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--miel-fonce); margin: 0 0 14px; font-weight: 600; }
.lead { font-size: 1.2rem; line-height: 1.65; color: var(--encre-douce); max-width: 60ch; }
.note { font-size: .92rem; color: var(--gris); }

/* Bandeau démo */
.demo { background: var(--encre); color: var(--miel-clair); text-align: center; font-size: .9rem; line-height: 1.45; padding: 10px 16px; }

/* En-tête */
.entete { background: var(--pin); color: var(--creme); border-bottom: 1px solid rgba(246, 213, 138, .25); position: relative; z-index: 10; }
.entete .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 18px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--creme); min-width: 0; flex: 0 1 auto; }
.logo:hover { color: var(--creme); }
.logo svg { flex: none; }
.logo__txt { display: flex; flex-direction: column; gap: 3px; line-height: 1.1; min-width: 0; }
.logo__nom { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.logo__sous { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--miel-clair); }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; }
.nav a { color: var(--creme); text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--miel-clair); }
.nav a[aria-current="page"] { color: var(--miel-clair); border-bottom-color: var(--miel); }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--miel); color: var(--encre) !important; font-weight: 700; text-decoration: none; border: 0 !important; transition: background-color .2s; }
.pill:hover { background: var(--miel-clair); color: var(--encre); }
.nav a.pill[aria-current="page"] { background: var(--miel-clair); }
.mctl { display: none; align-items: center; gap: 8px; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(246, 213, 138, .7); background: transparent; color: var(--creme); font: inherit; font-weight: 600; cursor: pointer; }
.menu-btn:hover { background: rgba(251, 246, 236, .1); }
.pill--m { padding: 0 14px; gap: 6px; }

@media (max-width: 899px) {
  .js .mctl { display: flex; }
  .js .nav { width: 100%; display: none; }
  .js .nav.ouvert { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding-top: 6px; }
  .nav li { border-top: 1px solid rgba(251, 246, 236, .18); }
  .nav a { display: flex; align-items: center; min-height: 50px; border-bottom: 0; }
  .nav a[aria-current="page"] { border-bottom: 0; }
  .js .nav .li-panier { display: none; }
  .nav .pill { margin: 10px 0; align-self: flex-start; min-height: 44px; }
  .logo__sous { display: none; }
  .logo__nom { font-size: 1.15rem; }
  .menu-btn { padding: 0 12px; }
  .logo { flex: 1 1 0; }
}

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 30px; border-radius: 999px; background: var(--miel); color: var(--encre); border: 0; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.btn:hover { background: var(--miel-clair); color: var(--encre); }
.btn--ghost { background: transparent; color: var(--creme); border: 1px solid rgba(251, 246, 236, .6); font-weight: 600; }
.btn--ghost:hover { background: rgba(251, 246, 236, .12); color: var(--creme); }
.btn--ligne { background: transparent; color: var(--pin); border: 1px solid var(--pin); font-weight: 600; }
.btn--ligne:hover { background: var(--pin); color: var(--creme); }
.btn--plein { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.lien-fleche { font-weight: 600; color: var(--pin); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Images et espaces réservés */
.ph { position: relative; overflow: hidden; border-radius: 4px; background-color: var(--cire); background-image: var(--alveole-cire), linear-gradient(145deg, #F4E6C2, #E2C88E); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph--169 { aspect-ratio: 16 / 9; }
.ph--43 { aspect-ratio: 4 / 3; }
.ph--32 { aspect-ratio: 3 / 2; }
.ph--11 { aspect-ratio: 1 / 1; }

/* Sections */
.s { padding-block: var(--sec); }
.s--cire { background: var(--cire); }
.s--blanc { background: var(--blanc); border-block: 1px solid var(--cire); }
.s--pin { background: var(--pin); color: var(--creme); position: relative; overflow: hidden; }
.s--pin::before { content: ""; position: absolute; inset: 0; background-image: var(--alveole); opacity: .06; pointer-events: none; }
.s--pin > * { position: relative; }
.s--pin h2, .s--pin h3 { color: var(--creme); }
.s--pin .eyebrow { color: var(--miel-clair); }
.s--pin p, .s--pin li { color: rgba(251, 246, 236, .86); }
.s--pin a { color: var(--miel-clair); }
.s--pin a.btn { color: var(--encre); }
.s--pin a.btn--ghost { color: var(--creme); }
.s--pin a.btn--ghost:hover { color: var(--creme); }
.tete-section { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 48px; }
.tete-section h2 { margin: 0; }
.deux { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px; }
.deux > * { flex: 1 1 400px; min-width: 0; }
@media (max-width: 600px) { :root { --sec: 72px; } }

/* Accueil — hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; background: #3A3220; color: var(--creme); overflow: hidden; }
.hero .ph { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; border-radius: 0;background-image: var(--alveole), linear-gradient(160deg, #6B4E1C, #3A3220 55%, #24301F); }
.hero__voile { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42, 35, 26, .84) 0%, rgba(42, 35, 26, .55) 48%, rgba(42, 35, 26, .1) 85%), linear-gradient(0deg, rgba(42, 35, 26, .45), rgba(42, 35, 26, 0) 40%); }
.hero__contenu { position: relative; padding-block: 140px 96px; }
.hero h1 { color: var(--creme); max-width: 19ch; }
.hero .eyebrow { color: var(--miel-clair); }
.hero .lead { color: rgba(251, 246, 236, .9); max-width: 34rem; margin-top: 26px; }
@media (max-width: 600px) { .hero__contenu { padding-block: 96px 64px; } .hero__voile { background: linear-gradient(0deg, rgba(42, 35, 26, .9) 0%, rgba(42, 35, 26, .65) 60%, rgba(42, 35, 26, .35) 100%); } }

/* Chiffres */
.chiffres { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 32px; padding-block: 56px; }
.chiffres li { display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--cire-trait); padding-left: 22px; }
.chiffres strong { font-family: var(--serif); font-weight: 500; font-size: 3.4rem; line-height: 1; color: var(--pin); }
.chiffres span { color: var(--gris); font-size: .95rem; letter-spacing: .04em; }
.bande-chiffres { border-bottom: 1px solid var(--cire); }

/* Cartes produit */
.grille { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.carte { display: flex; flex-direction: column; height: 100%; background: var(--blanc); border: 1px solid var(--cire); border-radius: var(--rayon); overflow: hidden; text-decoration: none; color: var(--encre); transition: transform .35s ease, box-shadow .35s ease; }
.carte:hover { color: var(--encre); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(47, 74, 58, .14); }
.carte .ph { border-radius: 0; }
.carte .ph img { transition: transform .8s ease; }
.carte:hover .ph img { transform: scale(1.04); }
.carte__corps { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.carte__cat { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--miel-fonce); font-weight: 600; }
.carte h3 { margin: 0; font-size: 1.4rem; line-height: 1.15; }
.carte__court { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--gris); }
.carte__prix { margin: auto 0 0; padding-top: 14px; font-weight: 700; }
.badge { position: absolute; left: 14px; top: 14px; z-index: 1; padding: 4px 11px; border-radius: 999px; background: var(--bruyere); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .03em; }
@media (max-width: 600px) {
  .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .carte__corps { padding: 14px 14px 16px; }
  .carte h3 { font-size: 1.15rem; }
  .carte__court { display: none; }
  .carte__cat { font-size: .68rem; letter-spacing: .14em; }
}
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
.filtres button { font: inherit; font-weight: 600; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--cire-trait); background: var(--blanc); color: var(--encre); cursor: pointer; transition: border-color .2s; }
.filtres button:hover { border-color: var(--pin); }
.filtres button[aria-pressed="true"] { background: var(--pin); border-color: var(--pin); color: var(--creme); }
.filtres__compte { margin: -20px 0 28px; font-size: .92rem; color: var(--gris); }
[hidden] { display: none !important; }

/* Transhumance */
.etapes { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.etapes li { display: flex; flex-direction: column; gap: 16px; }
.etape__num { display: flex; align-items: baseline; gap: 14px; margin: 0; }
.etape__num span:first-child { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--miel-clair); }
.etape__num span:last-child { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--miel-clair); font-weight: 600; }
.etapes h3 { margin: 0; font-size: 1.75rem; }
.s--pin .ph { background-image: var(--alveole), linear-gradient(150deg, #4A6A55, var(--pin-fonce)); }

/* Traçabilité et étiquette */
.code-lot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 520px; margin: 0; }
.code-lot div { border-top: 2px solid var(--pin); padding-top: 14px; }
.code-lot dt { font-family: var(--serif); font-size: 2rem; color: var(--pin); line-height: 1.1; }
.code-lot dd { margin: 6px 0 0; font-size: .9rem; line-height: 1.5; color: var(--gris); }
.medaillon { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / 1; margin-inline: auto; border-radius: 50%; background: var(--cire); background-image: var(--alveole-cire); display: flex; align-items: center; justify-content: center; }
.etiquette { width: 76%; margin: 0; background: var(--blanc); border: 1px solid var(--cire-trait); border-radius: 4px; padding: 26px 24px 20px; box-shadow: 0 24px 50px rgba(42, 35, 26, .14); text-align: center; }
.etiquette__cadre { border: 1px solid var(--pin); padding: 20px 14px 16px; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.etiquette__maison { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gris); }
.etiquette__nom { font-family: var(--serif); font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.05; color: var(--pin); }
.etiquette__sep { width: 60%; height: 1px; background: var(--cire-trait); margin: 4px 0; }
.etiquette__lot { font-family: var(--mono); font-size: 1.15rem; letter-spacing: .05em; background: var(--miel-clair); padding: 3px 10px; border-radius: 3px; }
.etiquette small { font-size: .78rem; line-height: 1.5; color: var(--encre-douce); }
.etiquette figcaption { margin-top: 12px; font-size: .75rem; color: var(--gris); }

/* Horaires */
.horaires { width: 100%; max-width: 460px; border-collapse: collapse; margin-bottom: 32px; }
.horaires caption { text-align: left; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--miel-clair); padding-bottom: 10px; font-weight: 600; }
.horaires th, .horaires td { padding: 12px 0; border-top: 1px solid rgba(251, 246, 236, .22); }
.horaires tr:last-child th, .horaires tr:last-child td { border-bottom: 1px solid rgba(251, 246, 236, .22); }
.horaires th { text-align: left; font-weight: 600; padding-right: 12px; }
.horaires td { text-align: right; }
.horaires--clair caption { color: var(--miel-fonce); }
.horaires--clair th, .horaires--clair td { border-color: var(--cire-trait) !important; color: var(--encre); }

/* Modules GestionPro */
.modules { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.modules li { background: var(--blanc); border-radius: 4px; padding: 20px; border: 1px solid var(--cire); }
.modules strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.4rem; color: var(--pin); margin-bottom: 4px; }
.modules span { font-size: .92rem; line-height: 1.5; color: var(--gris); }

/* En-tête de page intérieure */
.entete-page { background: var(--cire); background-image: var(--alveole-cire); padding-block: 72px 60px; }
.entete-page h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin: 0; }
.entete-page .lead { margin: 16px 0 0; }
.fil { font-size: .9rem; color: var(--gris); margin: 0 0 32px; }
.fil a { color: var(--gris); }
.fil span[aria-hidden] { margin: 0 8px; }

/* Fiche produit */
.fiche { display: flex; flex-wrap: wrap; gap: 56px 72px; align-items: flex-start; }
.fiche__visuel { flex: 1 1 460px; min-width: 0; }
.fiche__achat { flex: 1 1 400px; min-width: 0; }
.fiche h1 { font-size: clamp(2.6rem, 4.6vw, 4rem); margin: 0; }
.fiche .lead { margin-top: 18px; }
.prix-grand { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.prix-grand strong { font-family: var(--serif); font-weight: 500; font-size: 2.9rem; line-height: 1; color: var(--encre); }
.prix-grand span { font-size: .9rem; color: var(--gris); }
.choix { border: 0; margin: 32px 0 0; padding: 0; }
.choix legend, .etiq { padding: 0; margin-bottom: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pin); }
.conds { display: flex; flex-wrap: wrap; gap: 10px; }
.cond { position: relative; }
.cond input { position: absolute; opacity: 0; left: 8px; top: 8px; width: 1px; height: 1px; margin: 0; }
.cond label { display: flex; flex-direction: column; gap: 2px; min-width: 112px; min-height: 56px; padding: 8px 18px; border-radius: 4px; border: 2px solid var(--cire-trait); background: var(--blanc); cursor: pointer; transition: border-color .2s, background-color .2s; }
.cond label strong { font-size: 1rem; }
.cond label span { font-size: .85rem; color: var(--gris); }
.cond input:hover + label { border-color: var(--pin); }
.cond input:checked + label { background: var(--pin); border-color: var(--pin); color: var(--creme); }
.cond input:checked + label span { color: var(--miel-clair); }
.cond input:focus-visible + label { outline: 3px solid var(--miel); outline-offset: 3px; }
.achat { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin-top: 28px; }
.stepper { display: inline-flex; align-items: center; height: 56px; border: 2px solid var(--cire-trait); border-radius: 999px; background: var(--blanc); }
.stepper button { width: 52px; height: 52px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 1.4rem; color: var(--pin); cursor: pointer; }
.stepper button:hover { background: var(--cire); }
.stepper input { width: 44px; border: 0; background: transparent; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper--petit { height: 48px; }
.stepper--petit button { width: 44px; height: 44px; font-size: 1.25rem; }
.achat .btn { flex: 1 1 220px; min-height: 56px; font-size: 1.05rem; }
.msg-ajout { min-height: 1.6em; margin: 14px 0 0; font-weight: 600; color: var(--pin); }
.rassurance { list-style: none; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--cire); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; font-size: .9rem; line-height: 1.45; color: var(--encre-douce); }
.rassurance li { display: flex; gap: 10px; align-items: flex-start; }
.rassurance svg { flex: none; margin-top: 2px; }
.rassurance strong { display: block; color: var(--encre); }
.attention-retrait { margin: 18px 0 0; padding: 12px 16px; border-radius: 4px; background: #F3E6EC; color: #5A2A42; font-size: .95rem; }
.degust { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; max-width: 680px; }
.degust li { background: var(--creme); border-radius: 4px; padding: 20px; }
.degust strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.4rem; color: var(--pin); margin-bottom: 6px; }
.degust span { font-size: .95rem; line-height: 1.55; color: var(--gris); }
.trace { background: var(--cire); border-radius: 4px; padding: 32px; }
.trace h2 { font-size: 1.9rem; }
.trace dl { margin: 0; }
.trace dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--cire-trait); }
.trace dl div:last-child { border-bottom: 1px solid var(--cire-trait); }
.trace dt { color: var(--gris); }
.trace dd { margin: 0; font-weight: 700; text-align: right; }
.trace .mono { font-family: var(--mono); }
.trace .note { margin: 18px 0 0; }
.fiche-texte { display: flex; flex-wrap: wrap; gap: 56px 72px; }
.fiche-texte > div { flex: 1 1 520px; min-width: 0; }
.fiche-texte > aside { flex: 1 1 340px; min-width: 0; align-self: flex-start; }
.fiche-texte h2 { font-size: 2.2rem; }
.fiche-texte p { max-width: 62ch; font-size: 1.1rem; line-height: 1.75; color: var(--encre-douce); }

/* Panier */
.cadenas svg { flex: none; margin-top: 4px; }
.cadenas { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; color: var(--encre-douce); }
.panier { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.panier__lignes { flex: 999 1 560px; min-width: 0; }
.panier__recap { flex: 1 1 340px; min-width: 0; background: var(--blanc); border: 1px solid var(--cire); border-radius: var(--rayon); padding: 32px; }
.panier__recap h2 { font-size: 2rem; }
.lignes { list-style: none; border-top: 1px solid var(--cire-trait); }
.ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; padding: 24px 0; border-bottom: 1px solid var(--cire-trait); }
.ligne .ph { flex: none; width: 96px; height: 96px; }
.ligne__info { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.ligne__nom { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; color: var(--pin); text-decoration: none; }
.ligne__det { font-size: .9rem; color: var(--gris); }
.ligne__badge { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--bruyere); color: #fff; font-size: .75rem; font-weight: 700; }
.ligne__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.ligne__total { min-width: 84px; text-align: right; font-weight: 700; font-size: 1.05rem; }
.btn-retirer { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--bruyere); font: inherit; font-size: .92rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.btn-retirer:hover { color: var(--encre); }
.modes { border: 0; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mode { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 2px solid var(--cire); border-radius: 4px; cursor: pointer; transition: border-color .2s; }
.mode:hover { border-color: var(--pin); }
.mode input { margin: 3px 0 0; width: 20px; height: 20px; accent-color: var(--pin); flex: none; }
.mode strong { display: block; }
.mode span { font-size: .9rem; color: var(--gris); }
.mode--actif { border-color: var(--pin); }
.mode--off { opacity: .55; cursor: not-allowed; }
.seuil { margin: 0 0 24px; }
.seuil p { margin: 0 0 8px; font-size: .92rem; color: var(--encre-douce); }
.seuil__barre { height: 6px; border-radius: 999px; background: var(--cire); overflow: hidden; }
.seuil__barre span { display: block; height: 100%; border-radius: 999px; background: var(--miel); }
.totaux { margin: 0; }
.totaux div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; }
.totaux dt { color: var(--encre-douce); }
.totaux dd { margin: 0; }
.totaux .total { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--cire-trait); align-items: baseline; }
.totaux .total dt { font-weight: 700; color: var(--pin); }
.totaux .total dd { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.panier__recap .btn { margin-top: 24px; }
.panier__recap .note { text-align: center; margin: 14px 0 0; }
.vide { padding: 48px 0; text-align: center; }
.vide p { font-family: var(--serif); font-size: 2rem; color: var(--pin); }

/* Commande de démonstration */
.cmd { max-width: 760px; }
.alerte { padding: 16px 20px; border-radius: 4px; background: var(--miel-clair); color: var(--encre); font-weight: 600; margin: 0 0 32px; }
.num-cmd { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1; color: var(--pin); margin: 0 0 12px; }
.recap { width: 100%; border-collapse: collapse; margin: 24px 0 32px; }
.recap th, .recap td { text-align: left; padding: 12px 8px 12px 0; border-bottom: 1px solid var(--cire-trait); }
.recap th:last-child, .recap td:last-child { text-align: right; padding-right: 0; }
.recap thead th { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.recap tfoot th, .recap tfoot td { font-weight: 700; }
.encadre { background: var(--cire); border-radius: 4px; padding: 28px; margin-top: 32px; }
.encadre h2 { font-size: 1.8rem; }

/* Textes longs : blog, légal */
.prose { max-width: 70ch; }
.prose h2 { font-size: 2rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.4em; }
.prose p, .prose li { font-size: 1.08rem; line-height: 1.75; color: var(--encre-douce); }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--miel); font-family: var(--serif); font-size: 1.6rem; font-style: italic; line-height: 1.35; color: var(--pin); }
.prose dl div { padding: 10px 0; border-bottom: 1px solid var(--cire-trait); }
.prose dt { font-weight: 700; }
.prose dd { margin: 2px 0 0; color: var(--encre-douce); }
.maj { font-size: .9rem; color: var(--gris); }
.blog-liste { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 32px; }
.article-carte { display: flex; flex-direction: column; height: 100%; background: var(--blanc); border: 1px solid var(--cire); border-radius: var(--rayon); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.article-carte:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(47, 74, 58, .14); }
.article-carte .ph { border-radius: 0; }
.article-carte__corps { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-carte h2, .article-carte h3 { font-size: 1.7rem; margin: 0; }
.article-carte h2 a, .article-carte h3 a { text-decoration: none; color: var(--pin); }
.article-carte h2 a::after, .article-carte h3 a::after { content: ""; position: absolute; inset: 0; }
.article-carte { position: relative; }
.article-carte p { margin: 0; color: var(--gris); }
.meta { font-size: .85rem; letter-spacing: .06em; color: var(--gris); }
.article-tete { max-width: 820px; }
.article-visuel { margin: 0 auto; max-width: var(--wrap); padding-inline: var(--pad); }

/* Formulaires (inactifs) */
.form-demo { max-width: 640px; }
.champ { margin-bottom: 18px; }
.champ label { display: block; font-weight: 600; margin-bottom: 6px; }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--cire-trait); border-radius: 4px; background: var(--blanc); color: var(--encre); font: inherit; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--pin); outline: 2px solid var(--pin); outline-offset: 0; }
.champ textarea { min-height: 150px; resize: vertical; }
.champ--case { display: flex; gap: 12px; align-items: flex-start; }
.champ--case input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--pin); flex: none; }
.champ--case label { font-weight: 400; margin: 0; }
.deux-champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 18px; }
.msg-demo { margin-top: 16px; padding: 12px 16px; border-radius: 4px; background: var(--miel-clair); font-weight: 600; }
.coord { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.coord li { display: flex; gap: 14px; align-items: flex-start; }
.coord svg { flex: none; margin-top: 3px; }
.coord strong { display: block; color: var(--pin); font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }

/* Carte stylisée */
.plan { margin: 0; border-radius: 4px; overflow: hidden; background: var(--cire); }
.plan svg { display: block; width: 100%; height: auto; }
.plan figcaption { padding: 12px 16px; font-size: .88rem; color: var(--gris); background: var(--blanc); border-top: 1px solid var(--cire); }

/* Coulisses : captures en HTML */
.ecran { background: var(--blanc); border: 1px solid var(--cire-trait); border-radius: 8px; overflow: hidden; box-shadow: 0 24px 50px rgba(42, 35, 26, .12); }
.ecran__barre { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--pin); color: var(--creme); font-size: .85rem; }
.ecran__barre i { width: 10px; height: 10px; border-radius: 50%; background: rgba(251, 246, 236, .35); display: inline-block; }
.ecran__barre b { margin-left: 8px; font-weight: 600; }
.ecran__corps { padding: 18px; overflow-x: auto; }
.ecran table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9rem; }
.ecran th, .ecran td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--cire); white-space: nowrap; }
.ecran th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.ecran td.mono { font-family: var(--mono); }
.etat { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.etat--ok { background: #DCE8DF; color: var(--pin); }
.etat--bas { background: var(--miel-clair); color: var(--encre); }
.etat--prep { background: #F3E6EC; color: #5A2A42; }
.flux { list-style: none; counter-reset: f; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.flux li { counter-increment: f; border-top: 2px solid var(--pin); padding-top: 18px; }
.flux li::before { content: counter(f, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--miel-fonce); margin-bottom: 10px; }
.flux strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; color: var(--pin); margin-bottom: 6px; }
.flux span { color: var(--gris); }

/* 404 */
.page-404 { text-align: center; padding-block: 120px; }
.page-404 .grand { font-family: var(--serif); font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--miel); margin: 0; }

/* Pied de page */
.pied { background: var(--pin); color: var(--creme); }
.pied .wrap { padding-block: 80px 32px; }
.pied__grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.pied__nom { font-family: var(--serif); font-size: 1.6rem; margin: 0 0 14px; }
.pied__titre { margin: 0 0 14px; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--miel-clair); font-weight: 600; }
.pied p { font-size: .95rem; line-height: 1.75; color: rgba(251, 246, 236, .84); margin: 0; }
.pied ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.pied a { color: var(--creme); text-decoration: none; }
.pied a:hover { color: var(--miel-clair); text-decoration: underline; }
.pied__bas { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(251, 246, 236, .2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; color: rgba(251, 246, 236, .8); }
.pied__bas a { color: var(--miel-clair); text-decoration: underline; }

/* Apparition douce au défilement (active seulement avec JavaScript) */
.js .revele { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .revele.vu { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .revele { opacity: 1; transform: none; }
}
@media print { .demo, .entete, .pied, .mctl { display: none; } body { background: #fff; } }

/* ================================================================
   Direction artistique v3 (24/11/2026) — carnet de miellerie :
   typographie éditoriale, matière, rythme. Aucune ressource externe.
   ================================================================ */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --rayon: 2px;
}
/* Mots en italique dans les titres : la voix de la maison */
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--miel-fonce); }
.s--pin h2 em, .hero h1 em { color: var(--miel-clair); }
h1, h2 { text-wrap: balance; }
.lead, .prose p { text-wrap: pretty; }

/* Boutons : étiquettes plutôt que pastilles */
.btn { border-radius: var(--rayon); text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; padding: 0 28px; }
.pill, .menu-btn, .filtres button { border-radius: var(--rayon); }
.filtres button { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.lien-fleche { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* Matière : grain léger sur les fonds sombres et sur le hero */
.s--pin::after, .hero::after, .pied::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .09; mix-blend-mode: overlay; pointer-events: none; }
.pied { position: relative; }
.pied > * { position: relative; z-index: 1; }

/* Hero : lumière chaude, lente respiration de la photo, index des saisons */
.hero { min-height: min(92vh, 820px); flex-direction: column; justify-content: flex-end; align-items: stretch; }
.hero .ph img { transform-origin: 60% 55%; animation: respire 24s ease-in-out infinite alternate; }
@keyframes respire { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero__voile { background: linear-gradient(90deg, rgba(36, 30, 20, .86) 0%, rgba(36, 30, 20, .5) 46%, rgba(36, 30, 20, .05) 80%), linear-gradient(0deg, rgba(36, 30, 20, .7), rgba(36, 30, 20, 0) 45%), linear-gradient(180deg, rgba(217, 146, 26, .14), rgba(217, 146, 26, 0) 50%); }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.02em; max-width: 15ch; }
.hero__contenu { padding-block: 150px 56px; }
.hero__saisons { position: relative; z-index: 1; list-style: none; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 22px var(--pad) 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid rgba(246, 213, 138, .28); }
.hero__saisons li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-family: var(--serif); font-size: 1.2rem; color: var(--creme); }
.hero__saisons span { font-style: italic; color: var(--miel-clair); font-size: 1.5rem; min-width: 1.4em; }
.hero__saisons small { width: 100%; padding-left: calc(1.4em * 1.25 + 12px); font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(251, 246, 236, .7); }
@media (max-width: 600px) {
  .hero__contenu { padding-block: 110px 36px; }
  .hero__saisons { grid-template-columns: 1fr; gap: 10px; padding-block: 18px 24px; }
  .hero__saisons small { width: auto; padding-left: 0; margin-left: auto; }
}

/* Chiffres : un almanach, pas un tableau de bord */
.chiffres { padding-block: 64px; }
.chiffres li { border-left: 0; padding-left: 0; position: relative; }
.chiffres li + li::before { content: ""; position: absolute; left: -17px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--cire-trait), transparent); }
.chiffres strong { font-style: italic; font-size: clamp(3rem, 5vw, 4.4rem); color: var(--miel-fonce); }
.chiffres span { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }

/* Fiches produits : un catalogue de maison, numéroté, sans cadre */
.grille { counter-reset: fiche; gap: 48px 32px; }
.grille > li { counter-increment: fiche; }
.carte { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.carte:hover { transform: none; box-shadow: none; }
.carte .ph { border-radius: var(--rayon); box-shadow: 0 1px 0 rgba(42, 35, 26, .06); }
.carte .ph img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s; }
.carte:hover .ph img { transform: scale(1.06); filter: saturate(1.08); }
.carte__corps { padding: 18px 0 0; gap: 6px; position: relative; }
.carte__corps::before { content: "N° " counter(fiche, decimal-leading-zero); font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--miel-fonce); }
.carte__cat { position: absolute; top: 20px; right: 0; max-width: 62%; text-align: right; font-size: .66rem; letter-spacing: .16em; color: var(--gris); }
.carte h3 { font-size: 1.55rem; transition: color .3s; }
.carte:hover h3 { color: var(--miel-fonce); }
.carte__prix { padding-top: 12px; margin-top: auto; border-top: 1px solid var(--cire-trait); font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--encre); }
.badge { border-radius: var(--rayon); background: var(--encre); color: var(--miel-clair); letter-spacing: .14em; text-transform: uppercase; font-size: .66rem; padding: 6px 10px; }
/* Accueil : une fiche à la une, les autres autour */
@media (min-width: 900px) {
  .grille--une { grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: auto auto; gap: 40px 40px; }
  .grille--une > li:first-child { grid-row: span 2; }
  .grille--une > li:first-child .ph { aspect-ratio: 4 / 5; }
  .grille--une > li:first-child h3 { font-size: 2.3rem; }
  .grille--une > li:first-child .carte__court { font-size: 1.08rem; max-width: 36ch; }
  .grille--une > li:not(:first-child) .ph { aspect-ratio: 4 / 3; }
  .grille--une > li:nth-child(4) { grid-column: 2 / span 2; }
  .grille--une > li:nth-child(4) .carte { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-items: start; }
  .grille--une > li:nth-child(4) .carte__corps { padding-top: 0; }
  .grille--une > li:nth-child(4) .carte__cat { top: 2px; }
}
@media (max-width: 600px) {
  .grille { gap: 32px 14px; }
  .carte__corps { padding: 12px 0 0; }
  .carte__cat { position: static; max-width: none; text-align: left; }
  .carte__prix { font-size: 1.05rem; }
}

/* Gestes : photos et citation, composition décalée */
.gestes { padding-block: var(--sec); background: var(--blanc); border-block: 1px solid var(--cire); overflow: hidden; }
.gestes__grille { display: grid; grid-template-columns: 1.1fr 1fr .8fr; gap: 48px; align-items: center; }
.gestes figure { margin: 0; }
.gestes__a .ph { aspect-ratio: 4 / 5; }
.gestes__b .ph { aspect-ratio: 3 / 4; margin-top: 120px; }
.citation { margin: 0 0 32px; }
.citation p { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.25; color: var(--pin); text-indent: -.4em; }
.citation footer { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--miel-fonce); font-weight: 600; }
.citation footer span { letter-spacing: .04em; text-transform: none; font-weight: 400; color: var(--gris); }
@media (max-width: 899px) {
  .gestes__grille { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .gestes__texte { grid-column: 1 / -1; grid-row: 1; }
  .gestes__b .ph { margin-top: 48px; }
}

/* Transhumance : étapes en escalier */
@media (min-width: 900px) {
  .etapes li:nth-child(2) { margin-top: 72px; }
  .etapes li:nth-child(3) { margin-top: 144px; }
}
.etape__num span:first-child { font-style: italic; font-size: 3.2rem; }
.s--pin .ph, .deux .ph { border-radius: var(--rayon); }

/* Articles : moins « carte d'application » */
.article-carte { border: 0; background: transparent; border-radius: 0; }
.article-carte:hover { transform: none; box-shadow: none; }
.article-carte__corps { padding: 20px 0 0; }

@media (prefers-reduced-motion: reduce) { .hero .ph img { animation: none; } }

/* Coulisses : un sommaire numéroté plutôt que des tuiles */
.modules { counter-reset: mod; gap: 0 36px; }
.modules li { counter-increment: mod; background: transparent; border: 0; border-top: 1px solid var(--cire-trait); border-radius: 0; padding: 18px 0 26px; }
.modules li::before { content: counter(mod, lower-roman) "."; display: block; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--miel-fonce); margin-bottom: 6px; }
.modules strong { font-size: 1.6rem; }
.carte h3 { text-wrap: balance; }
@media (max-width: 600px) { .hero__voile { background: linear-gradient(0deg, rgba(36, 30, 20, .94) 0%, rgba(36, 30, 20, .8) 55%, rgba(36, 30, 20, .45) 100%); } }

/* ================================================================
   Effets de démonstration (24/11/2026) — transitions entre pages,
   apparitions, micro-interactions. Tout est coupé si l'utilisateur
   demande moins d'animations (prefers-reduced-motion).
   ================================================================ */

/* 1. Transitions entre pages (View Transitions multi-documents) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .demo { view-transition-name: bandeau-demo; }
  .entete { view-transition-name: entete; }
  .pied { view-transition-name: pied; }
  /* Fondu enchaîné sobre : l'ancienne page recule légèrement et se voile, la nouvelle se pose (0,98 → 1) et son flou se dissipe */
  ::view-transition-old(root) { animation: vt-sortie .42s cubic-bezier(.33, 0, .67, 1) both; }
  ::view-transition-new(root) { animation: vt-entree .58s cubic-bezier(.16, 1, .3, 1) .04s both; }
  ::view-transition-group(photo-produit) { animation-duration: .58s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  ::view-transition-old(photo-produit), ::view-transition-new(photo-produit) { animation-duration: .58s; height: 100%; object-fit: cover; overflow: clip; }
  ::view-transition-group(pied) { animation-duration: .4s; }
  @keyframes vt-sortie { to { opacity: 0; transform: scale(.985); filter: blur(6px); } }
  @keyframes vt-entree { from { opacity: 0; transform: scale(.98); filter: blur(8px); } }

  /* Repli : navigateur sans transitions entre pages → fondu d'arrivée du contenu */
  @supports not (view-transition-name: a) {
    #contenu { animation: repli-entree .5s cubic-bezier(0, 0, .2, 1) both; }
    @keyframes repli-entree { from { opacity: 0; transform: translateY(14px); } }
  }
}

/* 2. Apparitions en cascade (classes posées par effets.js seulement) */
.fx .apparait { opacity: 0; transform: translateY(26px); }
.fx .apparait.vu { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.fx .gestes figure.apparait { transform: translateY(48px) scale(.97); }
.fx .gestes figure.apparait.vu { transform: none; }
.fx .hero .ph { will-change: transform; }

/* 3. Micro-interactions */
/* Cartes : la photo se révèle sous un voile miel, « Voir la fiche » glisse */
.carte .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(217, 146, 26, 0) 55%, rgba(42, 35, 26, .35)); opacity: 0; transition: opacity .5s; pointer-events: none; }
.carte:hover .ph::after, .carte:focus-visible .ph::after { opacity: 1; }
.carte__prix { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.carte__prix::after { content: "Voir la fiche →"; font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--miel-fonce); opacity: 0; transform: translateX(-10px); transition: opacity .35s, transform .35s; white-space: nowrap; }
.carte:hover .carte__prix::after, .carte:focus-visible .carte__prix::after { opacity: 1; transform: none; }
.carte h3 { text-decoration: underline 1px transparent; text-underline-offset: 6px; transition: text-decoration-color .4s, color .3s; }
.carte:hover h3 { text-decoration-color: currentColor; }
@media (max-width: 600px) { .carte__prix::after { display: none; } }

/* Boutons : le miel remplit le bouton au survol */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--miel-clair); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .42s cubic-bezier(.2, .7, .2, 1); border-radius: inherit; }
.btn:hover::before { transform: none; }
.btn:hover { background: var(--miel); }
.btn--ghost:hover, .btn--ligne:hover { background: transparent; }
.btn--ghost::before { background: rgba(251, 246, 236, .16); }
.btn--ligne::before { background: var(--pin); }
.btn--ligne:hover { color: var(--creme); }
.btn:active { transform: translateY(1px); }
/* Bouton « Ajouter au panier » : confirmation */
.btn.ajoute { animation: ajoute .5s cubic-bezier(.16, 1, .3, 1); }
@keyframes ajoute { 30% { opacity: .75; } }
.pot-volant { position: fixed; z-index: 1000; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 30px rgba(42, 35, 26, .18); pointer-events: none; }

/* Liens fléchés : la flèche avance */
.lien-fleche { transition: letter-spacing .3s, color .3s; }
.lien-fleche:hover { color: var(--miel-fonce); }

/* Navigation : le soulignement se dessine */
@media (min-width: 900px) {
  .nav a:not(.pill) { background: linear-gradient(var(--miel), var(--miel)) 50% 100% / 0 1px no-repeat; transition: background-size .35s, color .2s; }
  .nav a:not(.pill):hover { background-size: 100% 1px; }
}

@media (prefers-reduced-motion: reduce) {
  .fx .apparait { opacity: 1 !important; transform: none !important; }
}
/* Parallaxe des photos (classe posée par effets.js) */
.fx .plx { transform: scale(1.16); will-change: transform; }

/* ================================================================
   Style « retenu » (24/11/2026) : texte par lignes, sections collées
   liées au défilement, prototype « Génie ». Aucun rebond.
   ================================================================ */
@media (prefers-reduced-motion: no-preference) {
  /* Texte révélé ligne par ligne (mots découpés par effets.js) */
  .lignes .mot { display: inline-block; text-indent: 0; opacity: 0; transform: translateY(.45em); filter: blur(6px); }
  .lignes.vu .mot { opacity: 1; transform: none; filter: none; transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1), filter .9s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--l, 0) * 120ms); }

  /* Bandeau d'accueil collé : le contenu glisse par-dessus pendant qu'il recule et s'assombrit */
  .fx-defil .hero { position: sticky; top: 0; z-index: 0; transform-origin: 50% 0; animation: hero-recul linear both; animation-timeline: scroll(root); animation-range: 0 85vh; }
  .fx-defil .hero .ph { animation: hero-ombre linear both; animation-timeline: scroll(root); animation-range: 0 85vh; }
  .fx-defil .hero__contenu, .fx-defil .hero__saisons { animation: hero-texte linear both; animation-timeline: scroll(root); animation-range: 0 50vh; }
  :where(.fx-defil main > section:not(.hero)) { position: relative; z-index: 1; background-color: var(--creme); }
  :where(.fx-defil .bande-chiffres) { box-shadow: 0 -24px 48px rgba(36, 30, 20, .18); }
  @keyframes hero-recul { to { transform: scale(.93); border-radius: 0 0 26px 26px; } }
  @keyframes hero-ombre { to { opacity: .45; } }
  @keyframes hero-texte { to { opacity: 0; transform: translateY(-48px); } }

  /* L'étiquette du pot se pose pendant qu'on fait défiler */
  .fx-defil .etiquette { animation: etiquette-pose linear both; animation-timeline: view(); animation-range: entry 5% cover 45%; }
  @keyframes etiquette-pose { from { opacity: 0; transform: translateY(70px) rotate(-7deg) scale(.92); } }
  /* Les photos des gestes s'ouvrent comme un rideau en entrant à l'écran */
  .fx-defil .gestes .ph { animation: rideau linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  @keyframes rideau { from { clip-path: inset(18% 12% 18% 12% round 2px); } to { clip-path: inset(0 0 0 0 round 2px); } }

  /* ----- Prototype « Génie » : la page part comme une nappe aspirée dans le coin bas-droit ----- */
  html:active-view-transition-type(genie)::view-transition-old(root) { animation: genie .7s cubic-bezier(.55, 0, .25, 1) both; transform-origin: 100% 100%; }
  html:active-view-transition-type(genie)::view-transition-new(root) { animation: genie-arrivee .55s cubic-bezier(.16, 1, .3, 1) .32s both; }
  html:active-view-transition-type(genie)::view-transition-old(photo-produit) { animation: genie .7s cubic-bezier(.55, 0, .25, 1) both; }
  @keyframes genie {
    0%   { clip-path: polygon(0% 0%, 100% 0%, 100% 33%, 100% 66%, 100% 100%, 0% 100%, 0% 66%, 0% 33%); transform: none; opacity: 1; }
    40%  { clip-path: polygon(28% 0%, 100% 0%, 100% 40%, 100% 76%, 100% 100%, 86% 100%, 60% 72%, 40% 36%); transform: scale(.94, .97); opacity: 1; }
    72%  { clip-path: polygon(72% 42%, 100% 42%, 100% 66%, 100% 86%, 100% 100%, 97% 100%, 91% 86%, 82% 64%); transform: scale(.7, .8); opacity: .9; }
    100% { clip-path: polygon(99% 99%, 100% 99%, 100% 99.5%, 100% 99.8%, 100% 100%, 99.6% 100%, 99.4% 99.8%, 99.2% 99.4%); transform: scale(.2); opacity: 0; }
  }
  @keyframes genie-arrivee { from { opacity: 0; transform: scale(.985); filter: blur(6px); } }
}
@media (prefers-reduced-motion: reduce) {
  .fx-defil .hero { position: relative; }
}

/* Catalogue d'effets (page Coulisses) */
.panoplie__liste { list-style: none; counter-reset: eff; margin: 0; padding: 0; }
.panoplie__liste > li { counter-increment: eff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: center; padding: 36px 0; border-top: 1px solid var(--cire-trait); }
.panoplie__liste > li:last-child { border-bottom: 1px solid var(--cire-trait); }
.panoplie__txt h3 { margin: 0 0 8px; font-size: 1.75rem; }
.panoplie__txt h3::before { content: counter(eff, decimal-leading-zero); display: block; margin-bottom: 6px; font-style: italic; font-size: 1rem; color: var(--miel-fonce); }
.panoplie__txt p { margin: 0; color: var(--gris); max-width: 46ch; }
.panoplie__demo { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.panoplie__vignette { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; font-family: var(--serif); font-size: 1.3rem; color: var(--pin); }
.panoplie__vignette .ph { width: 120px; flex: none; border-radius: var(--rayon); }
.panoplie__phrase { flex: 1 1 100%; margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.3; color: var(--pin); }
.panoplie__plx { flex: 1 1 100%; }
.panoplie__plx .ph { border-radius: var(--rayon); }
.panoplie__tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; flex: 1 1 100%; }
.panoplie__tuiles span { display: flex; align-items: flex-end; min-height: 86px; padding: 12px; border-radius: var(--rayon); font-family: var(--serif); font-size: 1.1rem; color: var(--encre); }
.panoplie__tuiles span:nth-child(1) { background: #F6E3A6; }
.panoplie__tuiles span:nth-child(2) { background: #C98A3E; color: #FFFDF8; }
.panoplie__tuiles span:nth-child(3) { background: #D9921A; }
.panoplie__tuiles span:nth-child(4) { background: #5B3A1E; color: #FFFDF8; }
.panoplie__chiffre { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.panoplie__chiffre strong { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 4rem; line-height: 1; color: var(--miel-fonce); min-width: 3ch; }
.panoplie__chiffre span { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); }
@media (max-width: 899px) { .panoplie__liste > li { grid-template-columns: 1fr; } .panoplie__tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { [data-rejouer] { display: none; } }
.panoplie__phrase { border: 0; padding-top: 0; }

/* ================================================================
   4 transitions du catalogue (24/11/2026, 12h26) : alvéole, carnet,
   produit suivant, accordéon. Déclenchées une fois, depuis un lien.
   ================================================================ */
@property --pli { syntax: '<percentage>'; inherits: false; initial-value: 100%; }

@media (prefers-reduced-motion: no-preference) {
  /* 1. Révélation par alvéole : la nouvelle page s'ouvre dans un hexagone qui grandit */
  html:active-view-transition-type(alveole)::view-transition-old(root) { animation: alv-recul .85s cubic-bezier(.65, 0, .35, 1) both; }
  html:active-view-transition-type(alveole)::view-transition-new(root) { animation: alveole .85s cubic-bezier(.65, 0, .35, 1) both; }
  @keyframes alveole {
    from { clip-path: polygon(50% 47%, 52.6% 48.5%, 52.6% 51.5%, 50% 53%, 47.4% 51.5%, 47.4% 48.5%); }
    to   { clip-path: polygon(50% -95%, 215% 0%, 215% 100%, 50% 195%, -115% 100%, -115% 0%); }
  }
  @keyframes alv-recul { to { transform: scale(.94); filter: brightness(.55) saturate(.8); } }

  /* 2. Carnet de récolte : la page tourne comme celle d'un livre, son ombre glisse sur la suivante */
  html:active-view-transition-type(carnet)::view-transition-image-pair(root) { perspective: 2200px; }
  html:active-view-transition-type(carnet)::view-transition-old(root) { z-index: 2; transform-origin: 0 50%; backface-visibility: hidden; animation: page-tourne .95s cubic-bezier(.45, 0, .2, 1) both; }
  html:active-view-transition-type(carnet)::view-transition-new(root) { animation: page-dessous .95s cubic-bezier(.45, 0, .2, 1) both; }
  @keyframes page-tourne {
    0%   { transform: rotateY(0); filter: brightness(1); box-shadow: 0 0 0 rgba(0, 0, 0, 0); }
    60%  { filter: brightness(.82); box-shadow: 30px 0 60px rgba(42, 35, 26, .35); }
    100% { transform: rotateY(-102deg); filter: brightness(.6); box-shadow: 60px 0 80px rgba(42, 35, 26, 0); }
  }
  @keyframes page-dessous { from { filter: brightness(.55); transform: scale(.985); } }

  /* 3. Produit suivant : la photo grandit jusqu'à sa fiche, la page monte doucement derrière */
  html:active-view-transition-type(suivant)::view-transition-old(root) { animation: vt-sortie .45s cubic-bezier(.33, 0, .67, 1) both; }
  html:active-view-transition-type(suivant)::view-transition-new(root) { animation: suivant-monte .7s cubic-bezier(.16, 1, .3, 1) .08s both; }
  html:active-view-transition-type(suivant)::view-transition-group(photo-produit) { animation-duration: .75s; }
  @keyframes suivant-monte { from { opacity: 0; transform: translateY(6vh); } }

  /* 4. Pliage en accordéon : la page se replie en bandes, puis la nouvelle se déplie */
  html:active-view-transition-type(accordeon)::view-transition-image-pair(root) { perspective: 1400px; }
  html:active-view-transition-type(accordeon)::view-transition-old(root) {
    -webkit-mask-image: linear-gradient(180deg, #000 var(--pli), transparent var(--pli)); mask-image: linear-gradient(180deg, #000 var(--pli), transparent var(--pli));
    -webkit-mask-size: 100% 12.5vh; mask-size: 100% 12.5vh; -webkit-mask-repeat: repeat-y; mask-repeat: repeat-y;
    transform-origin: 50% 0; animation: replie .55s cubic-bezier(.55, 0, .45, 1) both;
  }
  html:active-view-transition-type(accordeon)::view-transition-new(root) {
    -webkit-mask-image: linear-gradient(0deg, #000 var(--pli), transparent var(--pli)); mask-image: linear-gradient(0deg, #000 var(--pli), transparent var(--pli));
    -webkit-mask-size: 100% 12.5vh; mask-size: 100% 12.5vh; -webkit-mask-repeat: repeat-y; mask-repeat: repeat-y;
    transform-origin: 50% 100%; animation: deplie .6s cubic-bezier(.16, 1, .3, 1) .42s both;
  }
  @keyframes replie { from { --pli: 100%; transform: none; filter: brightness(1); } to { --pli: 0%; transform: rotateX(14deg) scaleY(.9); filter: brightness(.5); } }
  @keyframes deplie { from { --pli: 0%; transform: rotateX(-12deg) scaleY(.92); filter: brightness(.6); } to { --pli: 100%; transform: none; filter: brightness(1); } }
}

/* Bloc « Produit suivant » en bas des fiches */
.suivant { border-top: 1px solid var(--cire); background: var(--blanc); }
.suivant__lien { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; max-width: var(--wrap); margin-inline: auto; padding: 56px var(--pad); gap: 40px; text-decoration: none; color: var(--pin); }
.suivant__txt { display: flex; flex-direction: column; gap: 10px; }
.suivant__nom { font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.02; letter-spacing: -.015em; transition: color .3s; }
.suivant__fleche { font-size: 1.6rem; color: var(--miel-fonce); transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.suivant__ph { aspect-ratio: 16 / 9; border-radius: var(--rayon); }
.suivant__ph img { transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.suivant__lien:hover .suivant__nom { color: var(--miel-fonce); }
.suivant__lien:hover .suivant__fleche { transform: translateX(10px); }
.suivant__lien:hover .suivant__ph img { transform: scale(1.04); }
@media (max-width: 700px) { .suivant__lien { grid-template-columns: 1fr; gap: 20px; padding-block: 40px; } }

/* Bloc « Page suivante du carnet » dans les articles du blog */
.article-suivant { padding-block: 24px 72px; }
.article-suivant__lien { display: flex; flex-direction: column; gap: 10px; padding: 32px 0; border-block: 1px solid var(--cire-trait); text-decoration: none; color: var(--pin); }
.article-suivant__titre { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.1; transition: color .3s; }
.article-suivant__lien:hover .article-suivant__titre { color: var(--miel-fonce); }
.panoplie__suivant { padding: 0; gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; }
.panoplie__suivant .suivant__nom { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

/* ================================================================
   Nuancier des miels (24/11/2026, 13h37) : chaque miel a sa couleur.
   Contrastes vérifiés : texte 8,3 à 13,8 · texte doux ≥ 5,3 · boutons ≥ 6,8.
   ================================================================ */
[data-miel="aca"] { --t-pastille: #F1E3A0; --t-fond: #FBF4D6; --t-encre: #3A3114; --t-btn: #3A3114; --t-btn-txt: #FBF4D6; }
[data-miel="pri"] { --t-pastille: #E9BE52; --t-fond: #F7E8BC; --t-encre: #3A2B0B; --t-btn: #3A2B0B; --t-btn-txt: #F7E8BC; }
[data-miel="tou"] { --t-pastille: #F0BC1E; --t-fond: #F8E39A; --t-encre: #382908; --t-btn: #382908; --t-btn-txt: #F8E39A; }
[data-miel="bou"] { --t-pastille: #D08F2A; --t-fond: #EFCD92; --t-encre: #35210A; --t-btn: #35210A; --t-btn-txt: #EFCD92; }
[data-miel="bru"] { --t-pastille: #B85A1C; --t-fond: #E2A66C; --t-encre: #2A1405; --t-btn: #2A1405; --t-btn-txt: #E2A66C; }
[data-miel="cha"] { --t-pastille: #7E4212; --t-fond: #5E3110; --t-encre: #FBEAD0; --t-btn: #F3C66A; --t-btn-txt: #2A1405; }
[data-miel="for"] { --t-pastille: #3A2112; --t-fond: #24160D; --t-encre: #F4E2C2; --t-btn: #F3C66A; --t-btn-txt: #24160D; }
[data-miel] { --t-doux: color-mix(in srgb, var(--t-encre) 78%, var(--t-fond)); }

/* La fiche d'un miel prend sa couleur */
.fiche-teinte { background: var(--t-fond); color: var(--t-encre); transition: background-color .8s cubic-bezier(.16, 1, .3, 1), color .8s; }
.fiche-teinte :is(h1, .eyebrow, .prix-grand strong, .etiq, .msg-ajout, .msg-ajout a, .rassurance, .rassurance strong) { color: var(--t-encre); }
.fiche-teinte :is(.lead, .fil, .fil a, .prix-grand span, .rassurance span, .rassurance small) { color: var(--t-doux); }
.fiche-teinte .btn { background: var(--t-btn); color: var(--t-btn-txt); }
.fiche-teinte .btn::before { background: var(--t-encre); opacity: .14; }
.fiche-teinte .ph { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); }

/* Le bloc nuancier */
.nuancier { padding-block: 88px; background: var(--t-fond, var(--blanc)); color: var(--t-encre, var(--encre)); transition: background-color .8s cubic-bezier(.16, 1, .3, 1), color .8s; border-block: 1px solid rgba(42, 35, 26, .08); }
.nuancier :is(h2, h3, .eyebrow) { color: inherit; transition: color .8s; }
.nuancier__intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 40px; }
.nuancier__intro h2 { margin: 0; }
.nuancier__intro p { margin: 0; max-width: 44ch; color: var(--t-doux, var(--gris)); }
.nuancier__bande { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 40px; }
.nuancier__pastille { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 0 10px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left; border-bottom: 2px solid transparent; transition: border-color .4s; }
.nuancier__goutte { display: block; width: 100%; height: 78px; border-radius: var(--rayon); box-shadow: inset 0 0 0 1px rgba(42, 35, 26, .35); transition: transform .5s cubic-bezier(.16, 1, .3, 1), height .5s cubic-bezier(.16, 1, .3, 1); }
.nuancier__pastille[data-miel="aca"] .nuancier__goutte { background: #F1E3A0; }
.nuancier__pastille[data-miel="pri"] .nuancier__goutte { background: #E9BE52; }
.nuancier__pastille[data-miel="tou"] .nuancier__goutte { background: #F0BC1E; }
.nuancier__pastille[data-miel="bou"] .nuancier__goutte { background: #D08F2A; }
.nuancier__pastille[data-miel="bru"] .nuancier__goutte { background: #B85A1C; }
.nuancier__pastille[data-miel="cha"] .nuancier__goutte { background: #7E4212; }
.nuancier__pastille[data-miel="for"] .nuancier__goutte { background: #3A2112; box-shadow: inset 0 0 0 1px rgba(246, 213, 138, .45); }
.nuancier__nom { font-family: var(--serif); font-size: 1.15rem; line-height: 1.1; }
.nuancier__rang { position: absolute; top: 8px; right: 10px; font-family: var(--serif); font-style: italic; font-size: .85rem; color: rgba(42, 35, 26, .55); }
.nuancier__pastille[data-miel="cha"] .nuancier__rang, .nuancier__pastille[data-miel="for"] .nuancier__rang, .nuancier__pastille[data-miel="bru"] .nuancier__rang { color: rgba(251, 234, 208, .8); }
.nuancier__pastille:hover .nuancier__goutte { transform: translateY(-4px); }
.nuancier__pastille[aria-pressed="true"] { border-bottom-color: currentColor; }
.nuancier__pastille[aria-pressed="true"] .nuancier__goutte { height: 104px; transform: translateY(-26px); margin-bottom: -26px; }
.nuancier__pastille:focus-visible { outline: 3px solid var(--miel); outline-offset: 4px; }
.nuancier__profil { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 20px 56px; align-items: start; }
.nuancier__tete { display: flex; align-items: center; gap: 18px; }
.nuancier__echantillon { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--t-pastille); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25), 0 10px 24px -10px rgba(0, 0, 0, .5); }
.nuancier__titre { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; }
.nuancier__fiche { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.nuancier__fiche div { padding: 14px 0; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.nuancier__fiche dt { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--t-doux, var(--gris)); }
.nuancier__fiche dd { margin: 4px 0 0; font-size: 1.02rem; line-height: 1.45; }
.nuancier__lien { grid-column: 2; justify-self: start; color: inherit !important; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.nuancier__repli { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (prefers-reduced-motion: no-preference) {
  .nuancier__profil--entre > * { animation: profil-entre .6s cubic-bezier(.16, 1, .3, 1) both; }
  .nuancier__profil--entre > :nth-child(2) { animation-delay: .06s; }
  .nuancier__profil--entre > :nth-child(3) { animation-delay: .12s; }
  @keyframes profil-entre { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
}
@media (max-width: 899px) {
  .nuancier { padding-block: 64px; }
  .nuancier__bande { grid-template-columns: repeat(7, minmax(64px, 1fr)); overflow-x: auto; padding: 30px 2px 4px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-snap-type: x mandatory; }
  .nuancier__pastille { scroll-snap-align: start; }
  .nuancier__goutte { height: 60px; }
  .nuancier__pastille[aria-pressed="true"] .nuancier__goutte { height: 80px; transform: translateY(-20px); margin-bottom: -20px; }
  .nuancier__nom { font-size: 1rem; }
  .nuancier__profil { grid-template-columns: 1fr; }
  .nuancier__fiche { grid-template-columns: 1fr; }
  .nuancier__lien { grid-column: 1; }
}
/* Version compacte (catalogue des Coulisses) */
.nuancier--compact { padding: 24px; border-radius: var(--rayon); border: 0; flex: 1 1 100%; }
.nuancier--compact .nuancier__bande { margin-bottom: 20px; }
.nuancier--compact .nuancier__goutte { height: 44px; }
.nuancier--compact .nuancier__pastille[aria-pressed="true"] .nuancier__goutte { height: 58px; transform: translateY(-14px); margin-bottom: -14px; }
.nuancier--compact .nuancier__nom { font-size: .82rem; font-family: var(--sans); }
.nuancier--compact .nuancier__profil, .nuancier--compact .nuancier__fiche { grid-template-columns: 1fr; gap: 12px; }
.nuancier--compact .nuancier__fiche div:nth-child(n+4) { display: none; }
.nuancier--compact .nuancier__titre { font-size: 1.5rem; }
.nuancier--compact .nuancier__echantillon { width: 36px; height: 36px; }
.nuancier--compact .nuancier__lien { grid-column: 1; }
@media (max-width: 899px) { .nuancier--compact .nuancier__bande { margin-inline: 0; padding-inline: 2px; } }
/* Fiche teintée : intitulés du formulaire et cases de conditionnement toujours lisibles */
.fiche-teinte .choix legend { color: var(--t-encre); }
.fiche-teinte .cond label { color: var(--encre); }
.fiche-teinte .cond label span { color: var(--gris); }
.fiche-teinte .cond input:checked + label { color: var(--creme); }
.fiche-teinte .cond input:checked + label span { color: var(--miel-clair); }

/* ================================================================
   Page « Les sept miels » (24/11/2026, 13h50) : un miel par écran,
   barre d'achat fixe au prix à rouleaux, accès rapide par nuancier.
   ================================================================ */
[data-miel="aca"] { --t-bande-a: #F1E3A0; --t-bande-b: #E2C86A; }
[data-miel="pri"] { --t-bande-a: #E9BE52; --t-bande-b: #D4A02E; }
[data-miel="tou"] { --t-bande-a: #F0BC1E; --t-bande-b: #DFA100; }
[data-miel="bou"] { --t-bande-a: #D08F2A; --t-bande-b: #B8761A; }
[data-miel="bru"] { --t-bande-a: #B85A1C; --t-bande-b: #974414; }
[data-miel="cha"] { --t-bande-a: #7E4212; --t-bande-b: #5E3110; }
[data-miel="for"] { --t-bande-a: #4A2C18; --t-bande-b: #24160D; }

/* Compteur à rouleaux */
.rouleaux { display: inline-block; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.rouleaux__vue { display: inline-flex; align-items: baseline; }
.rouleaux__col { display: inline-block; height: 1.05em; line-height: 1.05; overflow: hidden; vertical-align: bottom; width: .56em; text-align: center; transition: width .5s cubic-bezier(.16, 1, .3, 1); }
.rouleaux__col--vide { width: 0; }
.rouleaux__pile { display: flex; flex-direction: column; transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.rouleaux__pile span { display: block; height: 1.05em; }
.rouleaux__sep { margin-right: .02em; }
.rouleaux__euro { margin-left: .22em; font-size: .62em; align-self: flex-start; margin-top: .12em; }

/* Accès rapide : le nuancier devient la table des matières */
html:has(.page-miels) { scroll-snap-type: y proximity; }
body:has(.barre-achat) { padding-bottom: 92px; }
.acces-rapide { position: sticky; top: 0; z-index: 20; background: rgba(251, 246, 236, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--cire-trait); }
.acces-rapide__in { display: flex; gap: 6px 22px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.acces-rapide a { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 6px 2px; color: var(--encre); text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid transparent; transition: border-color .3s, color .3s; }
.acces-rapide a[aria-current="true"] { border-bottom-color: var(--encre); }
.acces-rapide__goutte { width: 14px; height: 14px; border-radius: 50%; background: var(--t-pastille); box-shadow: inset 0 0 0 1px rgba(42, 35, 26, .4); transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.acces-rapide a[aria-current="true"] .acces-rapide__goutte { transform: scale(1.35); }

/* Un miel = un écran */
.miel-ecran { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 34px; padding-block: 72px 96px; border-top: 1px solid var(--cire-trait); scroll-snap-align: start; scroll-margin-top: 54px; overflow: hidden; }
.miel-ecran__tete { text-align: center; }
.miel-ecran__cat { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border: 1px solid currentColor; font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--encre); }
.miel-ecran__titre { position: relative; display: block; margin: 0 auto; max-width: 980px; padding: 22px 28px 18px; border: 1px solid var(--encre); font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: -.035em; line-height: .88; font-size: clamp(3.2rem, 11vw, 9rem); color: var(--encre); }
.miel-ecran__rang { position: absolute; top: 10px; right: 14px; font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0; font-size: .95rem; line-height: 1; color: var(--gris); }
.miel-ecran__scene { position: relative; display: grid; place-items: center; min-height: clamp(260px, 42vh, 440px); }
.miel-ecran__bande { position: absolute; height: 22%; background: var(--t-bande-a); }
.miel-ecran__bande--a { left: 0; right: 50%; top: 26%; }
.miel-ecran__bande--b { left: 50%; right: 0; top: 54%; background: var(--t-bande-b); }
.miel-ecran__pot { position: relative; z-index: 1; display: block; width: clamp(220px, 32vh, 360px); }
.miel-ecran__pot .ph { display: block; aspect-ratio: 1 / 1; border-radius: 10px; box-shadow: 0 50px 70px -30px rgba(42, 35, 26, .55), 0 16px 26px -14px rgba(0, 0, 0, .35); }
.miel-ecran__pot .ph img { transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.miel-ecran__pot:hover .ph img { transform: scale(1.05); }
.miel-ecran__bas { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 28px 56px; align-items: start; }
.miel-ecran__texte { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; color: var(--encre); }
.degustation { display: grid; grid-template-columns: .8fr repeat(4, minmax(0, 1fr)); margin: 0; border: 1px solid var(--encre); }
.degustation > div { padding: 14px 16px; border-left: 1px solid var(--encre); }
.degustation > div:first-child { border-left: 0; }
.degustation dt { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); }
.degustation dd { margin: 6px 0 0; font-family: var(--serif); font-size: 1.08rem; line-height: 1.25; color: var(--encre); }
.degustation__format { display: flex; align-items: center; justify-content: center; }
.degustation__format dd { margin: 0; font-family: var(--sans); font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; }
@media (max-width: 899px) {
  .miel-ecran { gap: 26px; padding-block: 56px 72px; min-height: auto; }
  .miel-ecran__bas { grid-template-columns: 1fr; }
  .degustation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .degustation > div { border-left: 0; border-top: 1px solid var(--encre); }
  .degustation > div:nth-child(2n+1) { border-right: 1px solid var(--encre); }
  .degustation > div:first-child { grid-column: 1 / -1; border-top: 0; border-right: 0; }
  .miel-ecran__titre { padding: 16px 14px 12px; }
}

/* Barre d'achat fixe : nom, format et prix du miel à l'écran */
.barre-achat { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255, 253, 248, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 4px solid var(--t-pastille); box-shadow: 0 -12px 30px -18px rgba(42, 35, 26, .35); transition: border-color .8s cubic-bezier(.16, 1, .3, 1); }
.barre-achat__in { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 10px; }
.barre-achat__info { min-width: 0; }
.barre-achat__prix { margin: 0; font-family: var(--sans); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.05; color: var(--encre); }
.barre-achat__nom { margin: 2px 0 0; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-achat__actions { display: flex; align-items: center; gap: 22px; flex: none; }
.barre-achat__fiche { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--encre); }
@media (max-width: 600px) {
  .barre-achat__fiche { display: none; }
  .barre-achat__bouton { padding: 0 16px; min-height: 46px; }
}
@media (prefers-reduced-motion: reduce) { html:has(.page-miels) { scroll-snap-type: none; } }
.nuancier__tous { display: inline-block; margin-top: 10px; color: inherit; font-weight: 600; }
.panoplie__rouleaux { margin: 0; font-family: var(--sans); font-size: 4rem; line-height: 1; color: var(--miel-fonce); }
@media (max-width: 600px) { .barre-achat__nom { letter-spacing: .06em; white-space: normal; font-size: .7rem; } .barre-achat__in { gap: 12px; } }

/* Page 404 : « Cette alvéole est vide » */
.page-404 { padding-block: 96px 120px; }
.page-404__alveole { display: block; width: clamp(150px, 22vw, 220px); margin: 0 auto 28px; color: var(--miel); }
.page-404__alveole text { font-family: var(--serif); font-style: italic; font-size: 58px; fill: var(--miel-fonce); }
.page-404 h1 { font-size: clamp(2.4rem, 5.4vw, 3.8rem); }
.page-404 .lead { margin: 0 auto 36px; }
.page-404 .actions { justify-content: center; align-items: center; }
@media (prefers-reduced-motion: no-preference) { .page-404__alveole path:first-child { stroke-dasharray: 700; stroke-dashoffset: 700; animation: alveole-trace 1.6s cubic-bezier(.16, 1, .3, 1) .2s forwards; } @keyframes alveole-trace { to { stroke-dashoffset: 0; } } }
