/* La Forêt d'Écotone : feuille de style unique.
   Idée directrice : la lisière. Les bandes de couleur se rejoignent par une ligne d'arbres,
   comme la forêt qui rencontre la prairie. */

@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url('/assets/fonts/bricolage-grotesque-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url('/assets/fonts/bricolage-grotesque-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/assets/fonts/hanken-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/assets/fonts/hanken-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url('/assets/fonts/hanken-grotesk-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url('/assets/fonts/hanken-grotesk-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nothing You Could Do'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/nothing-you-could-do-latin.woff2') format('woff2'); }

:root {
  --fond: #f4faf1;
  --brume: #e0f7dc;
  --menthe: #7dcbb5;
  --foret: #0f673e;
  --sapin: #0b3b2a;
  --nuit: #072a1d;
  --encre: #10261c;
  --encre-douce: #3f564a;
  --ligne: #cfe3d3;
  --ambre: #f2a93b;
  --ambre-vif: #ffbe55;
  --rouge: #a8321f;
  --police-titre: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
  --police-texte: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --police-main: 'Nothing You Could Do', 'Segoe Script', cursive;
  --rayon: 14px;
  --ombre: 0 1px 2px rgba(7, 42, 29, .1), 0 14px 28px -14px rgba(7, 42, 29, .35);
  --largeur: 1160px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--fond); color: var(--encre);
  font-family: var(--police-texte); font-size: 1.0625rem; line-height: 1.65;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--foret); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--sapin); }
::selection { background: var(--menthe); color: var(--nuit); }
:focus-visible { outline: 3px solid var(--ambre); outline-offset: 3px; border-radius: 4px; }
.bande--sapin :focus-visible, .pied :focus-visible, .hero :focus-visible { outline-color: var(--ambre-vif); }
html { scrollbar-color: var(--foret) var(--brume); }

h1, h2, h3, h4 { font-family: var(--police-titre); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; color: var(--sapin); text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1.2em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; color: var(--encre-douce); max-width: 46rem; }
.texte { max-width: 68ch; }
.main-ecrite { font-family: var(--police-main); font-weight: 400; letter-spacing: 0; }
.discret { color: var(--encre-douce); font-size: .95rem; }
.saute { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ambre); color: var(--nuit); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.saute:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.conteneur { width: min(100% - 2rem, var(--largeur)); margin-inline: auto; }
.conteneur--etroit { width: min(100% - 2rem, 820px); margin-inline: auto; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: var(--fond); border-bottom: 1px solid var(--ligne); }
.entete__ligne { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.marque { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--sapin); margin-right: auto; }
.marque img { width: 52px; height: 52px; }
.marque span { font-family: var(--police-titre); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.05; }
.navigation { display: none; }
.navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.navigation li { margin: 0; }
.navigation a { display: block; padding: .55rem .7rem; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--sapin); }
.navigation a:hover { background: var(--brume); }
.navigation a[aria-current="page"] { background: var(--sapin); color: #fff; }
.panier-lien { position: relative; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 999px; background: var(--ambre); color: var(--nuit); font-weight: 700; text-decoration: none; }
.panier-lien:hover { background: var(--ambre-vif); color: var(--nuit); }
.panier-lien svg { width: 20px; height: 20px; }
.panier-nombre { min-width: 1.5em; padding: 0 .4em; border-radius: 999px; background: var(--nuit); color: #fff; font-size: .8rem; line-height: 1.5em; text-align: center; }
.panier-nombre[data-vide="true"] { display: none; }
.menu-bouton { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--ligne); background: #fff; color: var(--sapin); cursor: pointer; }
.menu-bouton svg { width: 24px; height: 24px; }
.menu-bouton .ico-fermer { display: none; }
.menu-bouton[aria-expanded="true"] .ico-menu { display: none; }
.menu-bouton[aria-expanded="true"] .ico-fermer { display: block; }
.navigation[data-ouvert="true"] { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--fond); border-bottom: 1px solid var(--ligne); padding: .75rem 1rem 1.25rem; box-shadow: 0 20px 30px -20px rgba(7, 42, 29, .4); }
.navigation[data-ouvert="true"] ul { flex-direction: column; align-items: stretch; gap: .15rem; }
.navigation[data-ouvert="true"] a { font-size: 1.15rem; padding: .85rem 1rem; border-radius: 12px; }
@media (min-width: 1040px) {
  .navigation { display: block; }
  .menu-bouton { display: none; }
  .entete__ligne { gap: 1.5rem; }
}
@media (max-width: 420px) { .marque span { font-size: 1.02rem; } .panier-lien span.texte-panier { display: none; } }

/* ---------- Boutons ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.2 var(--police-texte); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s; }
.bouton svg { width: 1.15em; height: 1.15em; }
.bouton--ambre { background: var(--ambre); color: var(--nuit); }
.bouton--ambre:hover { background: var(--ambre-vif); color: var(--nuit); transform: translateY(-2px); }
.bouton--sapin { background: var(--sapin); color: #fff; }
.bouton--sapin:hover { background: var(--foret); color: #fff; transform: translateY(-2px); }
.bouton--contour { border-color: currentColor; color: var(--sapin); background: transparent; }
.bouton--contour:hover { background: var(--sapin); color: #fff; border-color: var(--sapin); }
.bouton--clair { border-color: #fff; color: #fff; background: transparent; }
.bouton--clair:hover { background: #fff; color: var(--sapin); }
.bouton[disabled], .bouton[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.groupe-boutons { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Bandes et lisières ---------- */
.bande { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.bande--fond { background: var(--fond); }
.bande--brume { background: var(--brume); }
.bande--menthe { background: var(--menthe); }
.bande--sapin { background: var(--sapin); color: #e8f6e6; }
.bande--sapin h2, .bande--sapin h3, .bande--sapin h1 { color: #fff; }
.bande--sapin a:not(.bouton) { color: var(--ambre-vif); }
.bande--sapin .lead, .bande--sapin .discret { color: #c4dec9; }

/* ---------- Accueil : le seuil de la forêt ---------- */
.hero { position: relative; min-height: min(92svh, 860px); display: grid; align-items: end; color: #fff; background: var(--nuit); overflow: clip; isolation: isolate; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; animation: respiration 28s ease-in-out infinite alternate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 42, 29, .55) 0%, rgba(7, 42, 29, .1) 38%, rgba(7, 42, 29, .1) 55%, rgba(7, 42, 29, .78) 100%); }
@keyframes respiration { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero__contenu { padding: clamp(6rem, 18vh, 10rem) 0 clamp(5.5rem, 12vh, 8rem); text-align: center; }
.hero__logo { width: clamp(84px, 11vw, 120px); margin: 0 auto 1.25rem; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
.hero__titre { font-family: var(--police-main); font-weight: 400; font-size: clamp(2.8rem, 9vw, 6rem); line-height: 1.02; letter-spacing: 0; color: #fff; margin: 0 0 1rem; text-shadow: 0 2px 22px rgba(0, 0, 0, .55); }
.hero__titre span { display: inline-block; animation: ecriture 2.2s var(--ease) .15s both; }
@keyframes ecriture { from { clip-path: inset(-10% 100% -10% -2%); } to { clip-path: inset(-10% -2% -10% -2%); } }
.hero__phrase { font-size: clamp(1.1rem, 2.2vw, 1.4rem); max-width: 40rem; margin: 0 auto 1.75rem; text-shadow: 0 1px 14px rgba(0, 0, 0, .6); }
.hero .groupe-boutons { justify-content: center; }

.entrees { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.entree { position: relative; display: block; min-height: 240px; border-radius: var(--rayon); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--ombre); }
.entree img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.entree::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 42, 29, 0) 35%, rgba(7, 42, 29, .82) 100%); }
.entree:hover img { transform: scale(1.05); }
.entree__texte { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.4rem; }
.entree h3 { color: #fff; margin: 0 0 .2rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.entree p { margin: 0; font-size: 1rem; color: #e6f3e6; max-width: 32ch; }
.entree--grande { min-height: 340px; }
@media (min-width: 820px) {
  .entrees { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; }
  .entree--grande { grid-row: 1 / span 2; min-height: 520px; }
}

.titre-bande { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.titre-bande h2 { margin: 0; }
.titre-bande p { margin: 0; max-width: 34rem; color: var(--encre-douce); }
.bande--sapin .titre-bande p { color: #c4dec9; }

.citation { font-family: var(--police-main); font-size: clamp(1.7rem, 4.4vw, 3rem); line-height: 1.35; text-align: center; color: #fff; max-width: 22ch; margin: 0 auto; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.bande--photo { color: #fff; isolation: isolate; overflow: clip; display: grid; align-items: center; min-height: 380px; }
.bande--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bande--photo::before { content: ''; position: absolute; inset: 0; background: rgba(7, 42, 29, .45); z-index: -1; }

/* ---------- Deux colonnes, photos ---------- */
.duo { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } .duo--inverse > :first-child { order: 2; } .duo--60 { grid-template-columns: 1.15fr .85fr; } }
.photo { border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); background: var(--brume); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { padding: .6rem .9rem; font-size: .9rem; color: var(--encre-douce); background: #fff; }
figure { margin: 0; }
.photo--haute { aspect-ratio: 4 / 5; }
.photo--carree { aspect-ratio: 1; }
.photo--large { aspect-ratio: 16 / 10; }
.galerie { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .galerie { grid-template-columns: repeat(3, 1fr); } }
.galerie .photo { aspect-ratio: 4 / 3; }

/* ---------- Pages intérieures ---------- */
.entete-page { position: relative; background: var(--brume); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.entete-page h1 { margin-bottom: .4em; }
.entete-page .lead { margin-bottom: 0; }
.entete-photo { position: relative; color: #fff; isolation: isolate; overflow: clip; padding: clamp(5rem, 14vw, 9rem) 0 clamp(4rem, 10vw, 7rem); background: var(--nuit); }
.entete-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.entete-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 42, 29, .6), rgba(7, 42, 29, .55)); }
.entete-photo h1 { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .45); }
.entete-photo .lead { color: #eef8ee; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.fil-ariane { margin: 0 0 1rem; font-size: .95rem; }
.fil-ariane a { color: inherit; }
.entete-photo .fil-ariane { color: #dff0df; }

.pastille { display: inline-block; padding: .25rem .8rem; border-radius: 999px; background: var(--sapin); color: #fff; font-size: .875rem; font-weight: 700; }
.pastille--ambre { background: var(--ambre); color: var(--nuit); }
.pastille--clair { background: #fff; color: var(--sapin); border: 1px solid var(--ligne); }

.encart { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.4rem 1.5rem; }
.encart > :last-child { margin-bottom: 0; }
.encart--brume { background: var(--brume); border-color: transparent; }
.liste-points { list-style: none; padding: 0; }
.liste-points li { position: relative; padding-left: 1.7rem; }
.liste-points li::before { content: ''; position: absolute; left: 0; top: .62em; width: .75rem; height: .75rem; border-radius: 0 70% 0 70%; background: var(--foret); transform: rotate(-12deg); }
.bande--sapin .liste-points li::before { background: var(--menthe); }
.liste-prix { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.liste-prix li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--ligne); margin: 0; }
.liste-prix strong { font-family: var(--police-titre); white-space: nowrap; }
.grille-deux { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .grille-deux { grid-template-columns: 1fr 1fr; } }
.grille-trois { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .grille-trois { grid-template-columns: repeat(3, 1fr); } }

/* Activités */
.activites { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .activites { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .activites { grid-template-columns: repeat(3, 1fr); } }
.activite { display: flex; flex-direction: column; background: #fff; border-radius: var(--rayon); overflow: hidden; text-decoration: none; color: var(--encre); box-shadow: var(--ombre); transition: transform .35s var(--ease); }
.activite:hover { transform: translateY(-4px); color: var(--encre); }
.activite__photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--brume); }
.activite__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.activite:hover .activite__photo img { transform: scale(1.05); }
.activite__texte { padding: 1.1rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.activite h3 { margin: 0; }
.activite p { margin: 0; color: var(--encre-douce); font-size: 1rem; }
.activite__lien { margin-top: auto; padding-top: .7rem; font-weight: 700; color: var(--foret); display: inline-flex; align-items: center; gap: .4rem; }
.activite__lien svg { width: 1.1em; height: 1.1em; }

/* ---------- Boutique ---------- */
.filtres { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.filtres li { margin: 0; }
.filtre { appearance: none; border: 1px solid var(--ligne); background: #fff; color: var(--sapin); font: 600 .98rem/1 var(--police-texte); padding: .7rem 1.05rem; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filtre:hover { border-color: var(--foret); }
.filtre[aria-pressed="true"] { background: var(--sapin); color: #fff; border-color: var(--sapin); }
.filtre small { opacity: .7; margin-left: .25em; font-weight: 500; }
.grille-produits { display: grid; gap: 1.5rem 1rem; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 0; }
@media (min-width: 720px) { .grille-produits { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.25rem; } }
@media (min-width: 1040px) { .grille-produits { grid-template-columns: repeat(4, 1fr); } }
.grille-produits > li { margin: 0; }
.produit { display: block; text-decoration: none; color: var(--encre); }
.produit__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--rayon); overflow: hidden; background: var(--brume); box-shadow: var(--ombre); }
.produit__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.produit:hover .produit__photo img { transform: scale(1.05); }
.produit__nom { display: block; margin-top: .7rem; font-weight: 600; line-height: 1.3; }
.produit__prix { display: block; font-family: var(--police-titre); font-weight: 700; font-size: 1.15rem; color: var(--foret); }
.produit__etiquette { position: absolute; left: .6rem; top: .6rem; }
.produit[data-vendu="true"] .produit__photo img { filter: grayscale(.9) brightness(.9); }
.produit[data-vendu="true"] .produit__prix { color: var(--encre-douce); text-decoration: line-through; }
.vide { padding: 2rem; text-align: center; color: var(--encre-douce); background: #fff; border: 1px dashed var(--ligne); border-radius: var(--rayon); }
.bandeau-info { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 0; margin: 0 0 2rem; list-style: none; font-size: .98rem; color: var(--encre-douce); }
.bandeau-info li { display: inline-flex; align-items: center; gap: .5rem; margin: 0; }
.bandeau-info svg { width: 1.2rem; height: 1.2rem; color: var(--foret); flex: none; }

/* Fiche produit */
.fiche-produit { display: grid; gap: 1.75rem; }
@media (min-width: 880px) { .fiche-produit { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: start; } .fiche-produit__achat { position: sticky; top: 96px; } }
.galerie-produit__grande { aspect-ratio: 1; border-radius: var(--rayon); overflow: hidden; background: var(--brume); box-shadow: var(--ombre); }
.galerie-produit__grande img { width: 100%; height: 100%; object-fit: cover; }
.galerie-produit__vignettes { display: flex; gap: .6rem; margin: .75rem 0 0; padding: 0; list-style: none; flex-wrap: wrap; }
.galerie-produit__vignettes li { margin: 0; }
.vignette { appearance: none; padding: 0; width: 72px; height: 72px; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--brume); }
.vignette img { width: 100%; height: 100%; object-fit: cover; }
.vignette[aria-current="true"] { border-color: var(--foret); }
.fiche-produit h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.prix-grand { font-family: var(--police-titre); font-weight: 800; font-size: 2.2rem; color: var(--foret); margin: 0 0 .75rem; line-height: 1; }
.prix-grand small { font-size: .95rem; font-weight: 500; color: var(--encre-douce); font-family: var(--police-texte); margin-left: .35em; }
.dispo { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; margin-bottom: 1.1rem; }
.dispo::before { content: ''; width: .7rem; height: .7rem; border-radius: 50%; background: var(--foret); }
.dispo[data-etat="vendu"]::before { background: var(--rouge); }
.dispo[data-etat="vendu"] { color: var(--rouge); }
.achat { display: grid; gap: .9rem; margin: 1.25rem 0; }
.achat__ligne { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.quantite { display: inline-flex; align-items: center; border: 1px solid var(--ligne); border-radius: 999px; background: #fff; }
.quantite button { appearance: none; border: 0; background: none; width: 42px; height: 46px; font-size: 1.3rem; cursor: pointer; color: var(--sapin); border-radius: 999px; }
.quantite button:hover { background: var(--brume); }
.quantite output { min-width: 2ch; text-align: center; font-weight: 700; }
.note-achat { font-size: .95rem; color: var(--encre-douce); }
.note-achat[role="status"] { color: var(--foret); font-weight: 700; }
.fiche-technique { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; margin: 0 0 1.2rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); }
.fiche-technique dt { font-weight: 700; color: var(--sapin); }
.fiche-technique dd { margin: 0; }
.description > p { max-width: 62ch; }
.envoi { margin-top: 1.5rem; display: grid; gap: .5rem; }
.envoi h2 { font-size: 1.1rem; margin: 0; letter-spacing: -.01em; }
.envoi ul { margin: 0; padding-left: 1.1rem; font-size: .98rem; color: var(--encre-douce); }

/* Panier */
.panier-ligne { display: grid; grid-template-columns: 84px 1fr auto; gap: .5rem 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--ligne); }
.panier-ligne img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; background: var(--brume); }
.panier-ligne__nom { font-weight: 700; text-decoration: none; color: var(--sapin); }
.panier-ligne__prix { font-family: var(--police-titre); font-weight: 700; text-align: right; }
.panier-ligne__actions { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.lien-bouton { appearance: none; background: none; border: 0; padding: 0; color: var(--foret); font: 600 .95rem var(--police-texte); text-decoration: underline; cursor: pointer; }
.panier-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.25rem 0; font-size: 1.2rem; }
.panier-total strong { font-family: var(--police-titre); font-size: 1.8rem; color: var(--foret); }
.erreur { color: var(--rouge); font-weight: 600; }

/* ---------- Agenda ---------- */
.agenda { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.rdv { display: grid; grid-template-columns: 5.2rem 1fr; gap: 1.1rem; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.1rem 1.2rem; margin: 0; }
@media (min-width: 640px) { .rdv { grid-template-columns: 6.5rem 1fr auto; align-items: center; } }
.rdv__date { text-align: center; line-height: 1; background: var(--sapin); color: #fff; border-radius: 12px; padding: .75rem .4rem; align-self: start; }
.rdv__jour { display: block; font-family: var(--police-titre); font-weight: 800; font-size: 2.2rem; }
.rdv__mois { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-top: .25rem; }
.rdv__regulier { background: var(--menthe); color: var(--nuit); }
.rdv__regulier .rdv__jour { font-size: 1.15rem; line-height: 1.3; }
.rdv h3 { margin: 0 0 .25rem; font-size: 1.25rem; }
.rdv p { margin: 0; color: var(--encre-douce); }
.rdv__lien { grid-column: 1 / -1; }
@media (min-width: 640px) { .rdv__lien { grid-column: auto; } }
.rdv--passe { opacity: .72; }
.rdv--passe .rdv__date { background: var(--encre-douce); }

/* ---------- Pied de page ---------- */
.pied { position: relative; background: var(--sapin); color: #d4e9d6; padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; margin-top: 0; }
.pied a { color: #fff; }
.pied a:hover { color: var(--ambre-vif); }
.pied h2 { font-size: 1.05rem; color: #fff; letter-spacing: 0; margin-bottom: .75rem; }
.pied__grille { display: grid; gap: 2rem; }
@media (min-width: 820px) { .pied__grille { grid-template-columns: 1.3fr 1fr 1fr; } }
.pied__marque { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.pied__marque img { width: 72px; height: 72px; }
.pied__marque strong { font-family: var(--police-titre); font-size: 1.35rem; color: #fff; line-height: 1.1; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: .4rem; }
.pied address { font-style: normal; }
.pied__bas { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .92rem; color: #a9c8ae; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }

/* ---------- Révélations au défilement (le contenu reste visible sans JavaScript) ---------- */
.js .revele { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .revele.est-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .revele { opacity: 1; transform: none; transition: none; }
  .hero__photo, .hero__titre span { animation: none; }
  .entree img, .activite__photo img, .produit__photo img { transition: none; }
}

/* ---------- Impression ---------- */
@media print { .entete, .pied, .hero__photo, .lisiere, .groupe-boutons { display: none !important; } body { background: #fff; } }

/* ---------- Pages légales ---------- */
.legal h2 { font-size: 1.4rem; margin: 2.2rem 0 .6rem; }
.legal h2:first-child { margin-top: 0; }
.legal ul { margin-bottom: 1.1rem; }

.bande--sapin .photo { box-shadow: none; }

/* ---------- Annonces (à savoir) ---------- */
.annonces { display: grid; gap: .75rem; margin-bottom: 2rem; }
.annonce { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1rem 1.2rem; color: var(--encre); }
.annonce p { margin: 0; }
.annonce .pastille { flex: none; margin-top: .15rem; }
.annonces:empty { display: none; }
/* ---------- Articles ---------- */
.liste-articles { display: grid; gap: 1.5rem 1.25rem; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 680px) { .liste-articles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .liste-articles { grid-template-columns: repeat(3, 1fr); } }
.liste-articles > li { margin: 0; }
.article-carte { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--rayon); overflow: hidden; text-decoration: none; color: var(--encre); box-shadow: var(--ombre); transition: transform .35s var(--ease); }
.article-carte:hover { transform: translateY(-4px); color: var(--encre); }
.article-carte__photo { display: block; aspect-ratio: 16 / 10; background: var(--brume); overflow: hidden; }
.article-carte__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.article-carte:hover .article-carte__photo img { transform: scale(1.05); }
.article-carte__corps { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.15rem 1.3rem; }
.article-carte__meta { font-size: .88rem; color: var(--encre-douce); }
.article-carte__titre { font-family: var(--police-titre); font-size: 1.2rem; line-height: 1.2; letter-spacing: -.01em; color: var(--sapin); }
.article-carte__resume { font-size: .98rem; color: var(--encre-douce); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; color: var(--encre-douce); margin: 0 0 .8rem; font-size: .98rem; }
.article-corps { font-size: 1.1rem; }
.article-corps > :first-child { margin-top: 0; }
.article-corps h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2.2rem 0 .6rem; }
.article-corps h3 { margin: 1.8rem 0 .5rem; }
.article-corps h4 { margin: 1.4rem 0 .4rem; font-size: 1.1rem; }
.article-corps figure { margin: 1.6rem 0; }
.article-corps figure img { width: 100%; border-radius: var(--rayon); box-shadow: var(--ombre); }
.article-corps blockquote { margin: 1.5rem 0; padding: .4rem 1.2rem; background: var(--brume); border-radius: var(--rayon); }
.article-corps table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; }
.article-corps td, .article-corps th { border-bottom: 1px solid var(--ligne); padding: .5rem .6rem; text-align: left; vertical-align: top; }
.article-corps a { overflow-wrap: anywhere; }
.article-suite { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--ligne); }
/* ---------- Frise botanique (ginkgo, fougères, feuilles de chêne) ----------
   Motif découpé (assets/img/frise.png) coloré par CSS : on change la couleur selon la bande où il se trouve. */
:root { --frise-ratio: 6.07; --frise-largeur: min(88vw, 820px); --frise-hauteur: calc(var(--frise-largeur) / var(--frise-ratio)); }
@media (max-width: 640px) { :root { --frise-largeur: 128vw; } }
body { overflow-x: clip; }
.lisiere { --frise: #b4852a; position: absolute; left: 50%; top: clamp(8px, 2vw, 20px); width: var(--frise-largeur); height: var(--frise-hauteur); transform: translateX(-50%); pointer-events: none; z-index: 2;
  background-color: var(--frise); -webkit-mask: url('/assets/img/frise.png') center / 100% 100% no-repeat; mask: url('/assets/img/frise.png') center / 100% 100% no-repeat; }
.lisiere--fond { --frise: #c08d2b; }
.lisiere--brume { --frise: #b4852a; }
.lisiere--menthe { --frise: #0f4f35; }
.lisiere--sapin { --frise: #f0cd72; }
.lisiere--bas, .hero .lisiere { top: auto; bottom: clamp(8px, 2vw, 20px); }
.entete-page .lisiere { --frise: #b4852a; }
.hero .lisiere, .entete-photo .lisiere, .pied .lisiere { --frise: #f2d489; }
/* la frise prend la place du haut (ou du bas) de la bande */
.bande:has(> .lisiere:not(.lisiere--bas)) { padding-top: calc(var(--frise-hauteur) + clamp(1.8rem, 4vw, 3.2rem)); }
.entete-page:has(> .lisiere--bas) { padding-bottom: calc(var(--frise-hauteur) + clamp(1.8rem, 4vw, 3rem)); }
.entete-photo:has(> .lisiere--bas) { padding-bottom: calc(var(--frise-hauteur) + clamp(1.5rem, 4vw, 3rem)); }
.hero__contenu { padding-bottom: calc(var(--frise-hauteur) + clamp(2rem, 6vw, 4rem)); }
.pied:has(> .lisiere) { padding-top: calc(var(--frise-hauteur) + clamp(1.5rem, 4vw, 3rem)); }
/* ---------- Boutique : le menu en photos ---------- */
.tuiles-categories { display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 0 0 2.5rem; }
@media (min-width: 720px) { .tuiles-categories { grid-template-columns: repeat(4, 1fr); } }
.tuiles-categories > li { margin: 0; }
.tuile-cat { appearance: none; border: 0; padding: 0; width: 100%; position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--rayon); overflow: hidden; cursor: pointer; background: var(--sapin); color: #fff; text-align: left; isolation: isolate; box-shadow: var(--ombre); font: inherit; }
.tuile-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tuile-cat::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 42, 29, 0) 38%, rgba(7, 42, 29, .86) 100%); }
.tuile-cat:hover img { transform: scale(1.06); }
.tuile-cat__texte { position: absolute; left: 0; right: 0; bottom: 0; padding: .8rem 1rem; display: flex; flex-direction: column; }
.tuile-cat strong { font-family: var(--police-titre); font-size: 1.15rem; line-height: 1.15; }
.tuile-cat small { opacity: .88; font-size: .92rem; }
.tuile-cat[aria-pressed="true"] { outline: 4px solid var(--ambre); outline-offset: 3px; }
.tuile-cat--tout { background: var(--menthe); color: var(--nuit); }
.tuile-cat--tout::after { display: none; }
.tuile-cat--tout .tuile-cat__texte { top: 0; justify-content: flex-end; }
.tuile-cat--tout strong { font-size: 1.3rem; }

/* ---------- Le lieu : toutes les photos, par endroit ---------- */
.lieu-groupe { margin-bottom: 3rem; }
.lieu-groupe__texte { max-width: 62ch; margin-bottom: 1rem; }
.galerie-lieu { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 0; }
@media (min-width: 680px) { .galerie-lieu { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .galerie-lieu { grid-template-columns: repeat(4, 1fr); } }
.galerie-lieu > li { margin: 0; }
.zoom { appearance: none; padding: 0; border: 0; background: var(--brume); border-radius: 12px; overflow: hidden; cursor: zoom-in; display: block; width: 100%; aspect-ratio: 4 / 3; box-shadow: var(--ombre); }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.zoom:hover img { transform: scale(1.05); }
dialog.visionneuse { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
dialog.visionneuse::backdrop { background: rgba(7, 42, 29, .9); }
.visionneuse img { max-width: 96vw; max-height: 86vh; border-radius: 10px; display: block; margin: 0 auto; }
.visionneuse .bouton { position: fixed; top: 14px; right: 14px; }

/* ---------- Agenda : l'historique par année ---------- */
.annee-agenda { margin: 3rem 0 1rem; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.ancres-lieu { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 2.25rem; }
.ancres-lieu a { display: inline-block; padding: .5rem 1.05rem; border-radius: 999px; background: #fff; color: var(--foret); font-weight: 700; text-decoration: none; box-shadow: var(--ombre); transition: background .2s, color .2s; }
.ancres-lieu a:hover { background: var(--foret); color: #fff; }
.lieu-groupe { scroll-margin-top: 6rem; }
#produits { scroll-margin-top: 6rem; }
.activite__date { font-family: var(--police-titre); font-weight: 700; font-size: .9rem; letter-spacing: .02em; color: var(--foret); }
.activite h4 { margin: 0; font-family: var(--police-titre); font-size: 1.2rem; line-height: 1.2; }
.activites:empty { display: none; }
/* menu photo de la boutique : 9 tuiles = 3 x 3 sur grand écran ; « Tout voir » en bandeau sur mobile */
.tuiles-categories > li:first-child { grid-column: 1 / -1; }
.tuile-cat--tout { aspect-ratio: 16 / 5; }
@media (min-width: 720px) {
  .tuiles-categories { grid-template-columns: repeat(3, 1fr); }
  .tuiles-categories > li:first-child { grid-column: auto; }
  .tuile-cat--tout { aspect-ratio: 4 / 3; }
}