/* ==========================================================================
   Matériel Apicole — feuille de style unique (mobile d’abord, sans style en ligne : CSP stricte)
   Palette : crème, sauge, cire d’abeille, anthracite. Polices : Young Serif (titres), Hanken Grotesk (texte),
   Geist Mono (prix, mesures). Cadres produits = cadres de ruche (barre haute aux couleurs de la famille).
   ========================================================================== */
@font-face { font-family: "Young Serif"; src: url("/assets/fonts/young-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-var.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-italic-var.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono-var.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --creme: #faf5e8;
  --creme-fonce: #f1e8d2;
  --papier: #fffcf4;
  --fond-photo: #f6efdc;
  --anthracite: #24272a;
  --anthracite-doux: #545a58;
  --trait: #e2d8c0;
  --trait-fort: #c4b591;
  --sauge: #3d5240;
  --sauge-moyenne: #6f8a6a;
  --sauge-claire: #e3e9d8;
  --cire: #c9922f;
  --cire-claire: #f3dfae;
  --cire-foncee: #8a5f14;
  --rouille: #9c3d27;
  --rouille-claire: #f7e3da;
  --ok: #2f6b3a;
  --rayon: 14px;
  --rayon-petit: 8px;
  --ombre: 0 1px 2px rgba(36, 39, 42, .06), 0 6px 18px rgba(36, 39, 42, .07);
  --ombre-forte: 0 2px 4px rgba(36, 39, 42, .08), 0 14px 34px rgba(36, 39, 42, .14);
  --titre: "Young Serif", Georgia, "Times New Roman", serif;
  --texte: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--creme); color: var(--anthracite); font-family: var(--texte); font-size: 1.0625rem; line-height: 1.6; font-synthesis: none; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--sauge); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--cire-foncee); }
:focus-visible { outline: 3px solid var(--cire); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.005em; color: var(--anthracite); }
h1 { font-size: clamp(1.85rem, 1.3rem + 2.6vw, 3.05rem); }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
small { font-size: .85em; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select { font: inherit; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pic { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -.22em; }
.enveloppe { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.etroite { max-width: 820px; }
.surtitre { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cire-foncee); margin-bottom: .55rem; }
.chiffre, .tarif { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.evitement { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--anthracite); color: var(--papier); padding: .6rem 1rem; }
.evitement:focus { left: 1rem; top: 1rem; }
.a-completer { background: var(--cire-claire); color: var(--cire-foncee); font-family: var(--mono); font-size: .9em; padding: 0 .3em; border-radius: 4px; }

/* ---------------------------------------------------------------- boutons et liens */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.25rem; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.bouton:active { transform: translateY(1px); }
.bouton[disabled] { opacity: .5; cursor: not-allowed; }
.bouton--plein { background: var(--sauge); color: var(--papier); box-shadow: inset 0 -3px 0 var(--cire); }
.bouton--plein:hover { background: #2f4132; color: var(--papier); }
.bouton--trait { border-color: var(--sauge); color: var(--sauge); background: transparent; }
.bouton--trait:hover { background: var(--sauge); color: var(--papier); }
.bouton--creme { background: var(--cire-claire); color: var(--anthracite); }
.bouton--creme:hover { background: #ecd08f; color: var(--anthracite); }
.bouton--compact { min-height: 40px; padding: .45rem .9rem; font-size: .92rem; }
.bouton--large { width: 100%; min-height: 52px; }
.bouton--rond { width: 42px; height: 42px; min-height: 0; padding: 0; border-radius: 50%; }
.lien-fleche { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; }
.lien-fleche .pic { transition: transform .15s; }
.lien-fleche:hover .pic { transform: translateX(3px); }
.lien-discret { background: none; border: 0; padding: 0; color: var(--anthracite-doux); text-decoration: underline; font-size: .9rem; }

/* ---------------------------------------------------------------- bandeau et en-tête */
.bandeau-info { margin: 0; background: var(--sauge); color: var(--creme); font-size: .88rem; text-align: center; padding: .45rem 16px; }
.bandeau-info--prepa { background: var(--cire-claire); color: var(--anthracite); }
.haut { position: sticky; top: 0; z-index: 30; background: rgba(255, 252, 244, .96); border-bottom: 1px solid var(--trait); backdrop-filter: blur(6px); }
.haut__ligne { display: flex; align-items: center; gap: .5rem; min-height: 66px; }
.enseigne { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--anthracite); margin-right: auto; min-width: 0; }
.enseigne img { width: 40px; height: 40px; }
.enseigne__texte { font-family: var(--titre); font-size: 1.18rem; line-height: 1.1; display: flex; flex-direction: column; }
.enseigne__texte small { display: none; font-family: var(--texte); font-size: .74rem; color: var(--anthracite-doux); letter-spacing: .02em; }
@media (max-width: 559px) { .haut__ligne { gap: .45rem; } .haut .enseigne { gap: .45rem; } .haut .enseigne__texte { font-size: .98rem; white-space: nowrap; } .haut .enseigne img { width: 34px; height: 34px; } }
@media (min-width: 560px) { .enseigne__texte small { display: block; } }
.enseigne--claire { color: var(--creme); }
.enseigne--claire .enseigne__texte small { color: var(--cire-claire); }
.haut__nav { display: none; }
.badge-rucher { display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; padding: .35rem .7rem; border-radius: 999px; border: 1.5px dashed var(--sauge-moyenne); color: var(--sauge); text-decoration: none; font-weight: 700; font-size: .88rem; }
.badge-rucher__texte { display: none; max-width: 15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge-rucher--regle { border-style: solid; background: var(--sauge-claire); }
.bouton-panier { position: relative; display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; padding: .35rem .8rem; border-radius: 999px; background: var(--anthracite); color: var(--papier); text-decoration: none; font-weight: 700; font-size: .92rem; }
.bouton-panier:hover { color: var(--cire-claire); }
.bouton-panier__libelle { display: none; }
.bouton-panier__n { min-width: 1.45rem; height: 1.45rem; padding: 0 .3rem; border-radius: 999px; background: var(--cire); color: var(--anthracite); font-family: var(--mono); font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; }
.bouton-plan { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--anthracite); }
.bouton-plan:hover { background: var(--creme-fonce); }
@media (min-width: 560px) {
  .badge-rucher__texte { display: inline; }
  .bouton-panier__libelle { display: inline; }
}
@media (min-width: 1100px) {
  .haut__nav { display: flex; gap: .2rem; margin-right: .5rem; }
  .haut__nav a { padding: .5rem .7rem; border-radius: 999px; text-decoration: none; color: var(--anthracite); font-weight: 600; font-size: .95rem; }
  .haut__nav a:hover { background: var(--creme-fonce); }
  .haut__nav a[aria-current="page"] { background: var(--sauge-claire); color: var(--sauge); }
  .bouton-plan { display: none; }
  .enseigne { margin-right: 1rem; }
  .haut__nav { margin-left: auto; }
}

/* ---------------------------------------------------------------- dialogues : plan mobile et volet panier */
dialog { padding: 0; border: 0; color: inherit; }
dialog::backdrop { background: rgba(36, 39, 42, .45); }
.fermer { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--creme-fonce); }
.fermer:hover { background: var(--trait); }
.plan-mobile, .volet { margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(100%, 26rem); background: var(--papier); }
.plan-mobile { padding: 16px; overflow-y: auto; }
.plan-mobile__haut { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.plan-mobile h2 { font-size: 1.1rem; margin: 1.4rem 0 .5rem; }
.liste-plan { list-style: none; padding: 0; margin: 0; }
.liste-plan a { display: flex; align-items: center; gap: .6rem; padding: .7rem .2rem; border-bottom: 1px solid var(--trait); text-decoration: none; color: var(--anthracite); font-weight: 600; }
.liste-plan .pic { color: var(--sauge); }
.volet__cadre { display: flex; flex-direction: column; height: 100%; }
.volet__haut { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--trait); }
.volet__haut h2 { margin: 0; font-size: 1.35rem; }
.volet__corps { flex: 1; overflow-y: auto; padding: 16px; }
.volet__bas { padding: 14px 16px 18px; border-top: 1px solid var(--trait); background: var(--creme); }
.volet__vide { text-align: center; padding: 2rem 1rem; color: var(--anthracite-doux); }
.volet__vide .pic { width: 3rem; height: 3rem; margin: 0 auto 1rem; color: var(--cire); }

/* ---------------------------------------------------------------- familles : couleur propre à chaque silo */
.s-vetements-protection { --s: #3d5240; --s-clair: #e3e9d8; }
.s-outils-visite-enfumoirs { --s: #6b5a3e; --s-clair: #ece3d0; }
.s-elevage-conduite-ruche { --s: #7d4f2a; --s-clair: #f1e1d1; }
.s-recolte-filtration-miel { --s: #9a6614; --s-clair: #f6e6bd; }
.s-frelons-saison { --s: #33393b; --s-clair: #e4e5e1; }
.sceau { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .65rem .2rem .45rem; border-radius: 999px; background: var(--s-clair, var(--sauge-claire)); color: var(--s, var(--sauge)); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.sceau__pic { width: 1.05rem; height: 1.05rem; }

/* ---------------------------------------------------------------- étal et cadres produits */
.etal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: 22px 18px; }
.cadre { position: relative; display: flex; flex-direction: column; background: var(--papier); border-radius: 4px 4px var(--rayon) var(--rayon); box-shadow: var(--ombre); margin-top: 7px; transition: box-shadow .2s, transform .2s; }
.cadre::before { content: ""; position: absolute; top: -7px; left: -7px; right: -7px; height: 9px; border-radius: 3px; background: var(--s, var(--sauge)); }
.cadre:hover { box-shadow: var(--ombre-forte); transform: translateY(-2px); }
.cadre__visuel { display: block; background: var(--fond-photo); aspect-ratio: 1 / 1; overflow: hidden; border-radius: 2px 2px 0 0; }
.cadre__visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cadre:hover .cadre__visuel img { transform: scale(1.03); }
.cadre__corps { display: flex; flex-direction: column; gap: .45rem; padding: 14px 16px 16px; flex: 1; align-items: flex-start; }
.cadre__nom { font-size: 1.16rem; margin: .1rem 0 0; }
.cadre__nom a { color: var(--anthracite); text-decoration: none; }
.cadre__nom a::after { content: ""; position: absolute; inset: 0; }
.cadre__nom a:hover { color: var(--sauge); }
.cadre__cote { margin: 0; font-family: var(--mono); font-size: .8rem; color: var(--anthracite-doux); }
.cadre__accroche { margin: 0; font-size: .93rem; color: var(--anthracite-doux); }
.cadre__eco { margin: 0; display: inline-block; font-size: .82rem; font-weight: 700; color: var(--ok); background: #e5efe2; border-radius: 6px; padding: .15rem .5rem; }
.cadre__repere { margin: 0; display: inline-flex; align-items: center; gap: .35rem; font-size: .83rem; font-weight: 700; color: var(--sauge); }
.cadre__repere--taille { color: var(--cire-foncee); }
.cadre--hors-taille .cadre__repere--taille { color: var(--rouille); }
.cadre--compatible { box-shadow: 0 0 0 2px var(--sauge-moyenne), var(--ombre); }
.cadre__bas { margin-top: auto; padding-top: .5rem; width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; position: relative; z-index: 1; }
.cadre__bas .bouton { white-space: nowrap; }
.cadre__epuise { font-weight: 700; color: var(--rouille); }
/* commandes fermées (mode vitrine) : étiquette à la place du bouton d'ajout */
.cadre__bientot { font-size: .82rem; font-weight: 700; color: var(--cire-foncee); background: var(--cire-claire); padding: .2rem .6rem; border-radius: 999px; white-space: nowrap; }
.ouverture-prochaine p { margin-bottom: .35rem; }
.cadre--epuise .cadre__visuel img { filter: grayscale(.8); opacity: .7; }
.cadre--kit .cadre__corps { background: linear-gradient(180deg, var(--papier), #fbf3dd); border-radius: 0 0 var(--rayon) var(--rayon); }
.tarif { white-space: nowrap; font-size: 1.15rem; font-weight: 600; color: var(--anthracite); }
.tarif__des { font-family: var(--texte); font-size: .78rem; font-weight: 600; color: var(--anthracite-doux); }

/* ---------------------------------------------------------------- sections (« hausses ») */
.hausse { padding: 48px 0; }
.hausse--creme { background: var(--creme-fonce); }
.hausse--sauge { background: var(--sauge-claire); }
.hausse--anthracite { background: var(--anthracite); color: var(--creme); }
.titre-hausse { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1.4rem; }
.titre-hausse h2 { margin: 0; }
.titre-hausse p { margin: 0; max-width: 34rem; color: var(--anthracite-doux); }
@media (min-width: 960px) { .hausse { padding: 72px 0; } }
/* une « hausse » posée sur l'enveloppe garde la marge latérale de 16 px (sinon débordement à 390 px) */
.enveloppe.hausse { padding-left: 16px; padding-right: 16px; }

/* ---------------------------------------------------------------- accueil : entrée */
.entree { background-color: var(--creme); background-image: url("/assets/img/motif-alveoles.svg"); background-size: 56px 97px; border-bottom: 1px solid var(--trait); padding: 32px 0 40px; }
.entree__grille { display: grid; gap: 28px; align-items: center; }
.entree h1 em { font-style: normal; color: var(--cire-foncee); }
.entree__chapo { font-size: 1.12rem; color: var(--anthracite-doux); max-width: 38rem; }
.entree__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0; }
.entree__engagements { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.entree__engagements li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; }
.entree__engagements .pic { color: var(--sauge); margin-top: .15rem; }
.planche-schema { margin: 0; background: var(--papier); border-radius: var(--rayon); padding: 10px; box-shadow: var(--ombre); }
.planche-schema svg { width: 100%; height: auto; }
.planche-schema figcaption { font-size: .88rem; color: var(--anthracite-doux); padding: .6rem .4rem .2rem; }
.planche-schema a.repere-lien { cursor: pointer; }
.planche-schema a.repere-lien circle { stroke: var(--papier); stroke-width: 3; transition: fill .15s; }
.planche-schema a.repere-lien:hover circle, .planche-schema a.repere-lien:focus-visible circle { fill: var(--cire-foncee); stroke: var(--cire); stroke-width: 5; }
.planche-schema a.repere-lien:focus-visible { outline: none; }
/* téléphone : repères agrandis pour rester faciles à toucher (≈ 30 px) */
.planche-schema a.repere-lien { transform-box: fill-box; transform-origin: center; }
@media (max-width: 640px) { .planche-schema a.repere-lien { transform: scale(1.5); } }
@media (min-width: 960px) {
  .entree { padding: 56px 0 64px; }
  .entree__grille { grid-template-columns: 1.1fr .9fr; gap: 48px; }
}

/* ---------------------------------------------------------------- cartes familles, conseils, calendrier */
.cartes-familles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); gap: 16px; }
.carte-famille { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 18px; border-radius: var(--rayon); background: var(--papier); border-top: 5px solid var(--s); text-decoration: none; color: var(--anthracite); box-shadow: var(--ombre); transition: transform .2s, box-shadow .2s; }
.carte-famille:hover { transform: translateY(-2px); box-shadow: var(--ombre-forte); color: var(--anthracite); }
.carte-famille__pic { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--s-clair); color: var(--s); }
.carte-famille__pic .pic { width: 1.6rem; height: 1.6rem; }
.carte-famille__moment { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s); }
.carte-famille h3 { margin: 0; font-size: 1.15rem; }
.carte-famille p { margin: 0; font-size: .9rem; color: var(--anthracite-doux); }
.carte-famille__compte { margin-top: auto; padding-top: .4rem; font-family: var(--mono); font-size: .8rem; color: var(--anthracite-doux); }
.cartes-conseils { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 16px; }
.carte-conseil { display: flex; flex-direction: column; padding: 20px; border-radius: var(--rayon); background: var(--papier); border: 1px solid var(--trait); text-decoration: none; color: var(--anthracite); transition: border-color .2s, transform .2s; }
.carte-conseil:hover { border-color: var(--cire); transform: translateY(-2px); color: var(--anthracite); }
.carte-conseil h2, .carte-conseil h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.carte-conseil p { font-size: .93rem; color: var(--anthracite-doux); }
.carte-conseil .lien-fleche { margin-top: auto; color: var(--sauge); }
.calendrier { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: mois; }
.calendrier li { position: relative; background: var(--papier); border-radius: var(--rayon); padding: 18px 18px 18px 74px; box-shadow: var(--ombre); }
.calendrier__pic { position: absolute; left: 16px; top: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--cire-claire); color: var(--cire-foncee); display: flex; align-items: center; justify-content: center; }
.calendrier h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.calendrier p { font-size: .93rem; color: var(--anthracite-doux); margin-bottom: .5rem; }
@media (min-width: 900px) {
  .calendrier { grid-template-columns: repeat(4, 1fr); }
  .calendrier li { padding: 74px 18px 18px; }
  .calendrier li::after { content: ""; position: absolute; top: 40px; left: 64px; right: -14px; height: 2px; background: var(--cire); opacity: .5; }
  .calendrier li:last-child::after { display: none; }
}

/* ---------------------------------------------------------------- encarts */
.encart-reglementaire, .encart-vigilance { display: flex; gap: 14px; align-items: flex-start; margin: 32px 0; padding: 18px 20px; border-radius: var(--rayon); background: var(--rouille-claire); border-left: 5px solid var(--rouille); }
.encart-reglementaire > .pic, .encart-vigilance > .pic { width: 1.8rem; height: 1.8rem; color: var(--rouille); margin-top: .1rem; }
.encart-reglementaire h2, .encart-vigilance h2 { font-size: 1.25rem; margin-bottom: .4rem; }
.encart-reglementaire p, .encart-vigilance p { margin-bottom: .6rem; }
.encart-reglementaire { background: var(--cire-claire); border-left-color: var(--cire-foncee); }
.encart-reglementaire > .pic { color: var(--cire-foncee); }
.encart-vigilance--info { background: var(--sauge-claire); border-left-color: var(--sauge); }
.encart-vigilance--info > .pic { color: var(--sauge); }
.note { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--rayon); margin: 1.4rem 0; background: var(--sauge-claire); }
.note > .pic { color: var(--sauge); width: 1.5rem; height: 1.5rem; margin-top: .1rem; }
.note p:last-child { margin-bottom: 0; }
.note--vigilance { background: var(--rouille-claire); }
.note--vigilance > .pic { color: var(--rouille); }
.reponse-directe { background: var(--papier); border: 1px solid var(--trait); border-left: 5px solid var(--cire); border-radius: var(--rayon-petit); padding: 16px 20px; margin: 0 0 28px; }
.reponse-directe p { margin: 0; }
.reponse-directe strong { display: block; font-family: var(--titre); font-weight: 400; font-size: 1.2rem; margin-bottom: .35rem; }

/* ---------------------------------------------------------------- engagements */
.engagements { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.engagements li { display: grid; gap: .25rem; }
.engagements .pic { width: 1.8rem; height: 1.8rem; color: var(--cire); }
.engagements strong { font-family: var(--titre); font-weight: 400; font-size: 1.15rem; }
.engagements span { color: #d9d4c6; font-size: .93rem; }

/* ---------------------------------------------------------------- FAQ */
.faq details { background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon-petit); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 1.3rem; color: var(--cire-foncee); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 16px 6px; }

/* ---------------------------------------------------------------- titres de page, fil d’Ariane */
.fil-ariane { padding: 12px 0 0; }
.fil-ariane ol { list-style: none; padding: 0 16px; margin: 0 auto; max-width: 1180px; display: flex; flex-wrap: wrap; gap: .2rem .4rem; font-size: .86rem; color: var(--anthracite-doux); }
.fil-ariane li + li::before { content: "›"; margin-right: .4rem; color: var(--trait-fort); }
.fil-ariane a { color: var(--anthracite-doux); }
.bandeau-titre { padding: 22px 0 8px; }
.bandeau-titre h1 { margin: .3rem 0 .5rem; max-width: 26ch; }
.bandeau-titre__chapo { font-size: 1.08rem; color: var(--anthracite-doux); max-width: 44rem; }
.bandeau-titre .sceau { font-size: .82rem; }

/* ---------------------------------------------------------------- tableaux */
.defile { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1rem; border-radius: var(--rayon-petit); border: 1px solid var(--trait); background: var(--papier); }
.comparatif { min-width: 34rem; font-size: .94rem; }
.comparatif caption { text-align: left; font-weight: 700; padding: 12px 14px 0; caption-side: top; }
.comparatif th, .comparatif td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--trait); vertical-align: top; }
.comparatif thead th { background: var(--creme-fonce); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--anthracite-doux); }
.comparatif tbody tr:last-child th, .comparatif tbody tr:last-child td { border-bottom: 0; }
.comparatif td.chiffre { white-space: nowrap; font-weight: 600; }
.note-annonce { font-size: .85rem; color: var(--anthracite-doux); }

/* ---------------------------------------------------------------- Mon rucher */
.rappel-rucher { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; background: var(--sauge-claire); color: var(--sauge); border-radius: var(--rayon-petit); padding: 10px 14px; margin: 0 0 20px; font-size: .93rem; }
.rappel-rucher span { display: inline-flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.rappel-rucher a { font-weight: 700; }
.rappel-rucher--kit { background: var(--cire-claire); color: var(--anthracite); }
.avec-marge { display: grid; gap: 28px; }
@media (min-width: 1000px) { .avec-marge { grid-template-columns: minmax(0, 1fr) 19rem; align-items: start; } .marge { position: sticky; top: 6rem; } }
.marge { background: var(--papier); border-radius: var(--rayon); padding: 20px; border: 1px solid var(--trait); }
.marge h2 { font-size: 1.25rem; display: flex; align-items: center; gap: .5rem; }
.selecteur { background: var(--papier); border-radius: var(--rayon); padding: 18px; box-shadow: var(--ombre); margin-bottom: 22px; }
.selecteur fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.selecteur legend { display: flex; align-items: center; gap: .6rem; font-family: var(--titre); font-size: 1.2rem; margin-bottom: .7rem; }
.selecteur legend small { font-family: var(--texte); font-size: .8rem; color: var(--anthracite-doux); }
.etape { width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--cire); color: var(--anthracite); font-family: var(--mono); font-size: .95rem; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.choix-grille { display: grid; gap: 10px; }
@media (min-width: 640px) { .choix-grille--2 { grid-template-columns: repeat(2, 1fr); } .choix-grille--3 { grid-template-columns: repeat(3, 1fr); } }
.choix-grille--5 { grid-template-columns: repeat(auto-fit, minmax(5.6rem, 1fr)); }
.choix-rucher { position: relative; display: block; cursor: pointer; }
.choix-rucher input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choix-rucher span { display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: 12px 14px; border-radius: var(--rayon-petit); border: 1.5px solid var(--trait-fort); background: var(--creme); transition: border-color .15s, background-color .15s; }
.choix-rucher small { color: var(--anthracite-doux); font-size: .82rem; }
.choix-rucher input:checked + span { border-color: var(--sauge); background: var(--sauge-claire); box-shadow: inset 0 0 0 1px var(--sauge); }
.choix-rucher input:focus-visible + span { outline: 3px solid var(--cire); outline-offset: 2px; }
.choix-grille--5 .choix-rucher span { align-items: center; text-align: center; padding: 10px 6px; }
.choix-grille--5 .choix-rucher strong { font-family: var(--mono); font-size: 1.05rem; }
.selecteur__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.selecteur__etat { margin: .8rem 0 0; font-size: .88rem; color: var(--anthracite-doux); }
.bilan-taille { background: var(--cire-claire); border-radius: var(--rayon); padding: 16px 18px; margin-bottom: 22px; }
.bilan-taille h2 { font-size: 1.2rem; display: flex; align-items: center; gap: .5rem; }
.bilan-taille p:last-child { margin-bottom: 0; }
.bilan-taille__absent { color: var(--rouille); }
.acces-direct { margin-bottom: 22px; }
.conseil { display: none; background: var(--papier); border-radius: var(--rayon); padding: 20px; box-shadow: var(--ombre); margin-bottom: 22px; scroll-margin-top: 6rem; }
.conseil:target, .conseil--actif { display: block; }
.conseil:focus { outline: none; }
.conseil h2 { font-size: 1.4rem; }
.conseil__texte { font-size: 1.04rem; }
.conseil__vigilance { display: flex; gap: .5rem; background: var(--rouille-claire); border-radius: var(--rayon-petit); padding: 10px 14px; font-size: .95rem; }
.conseil__vigilance .pic { color: var(--rouille); margin-top: .15rem; }
.pas-a-pas { list-style: none; counter-reset: pas; padding: 0; }
.pas-a-pas > li { counter-increment: pas; position: relative; padding: 0 0 .9rem 2.6rem; }
.pas-a-pas > li::before { content: counter(pas); position: absolute; left: 0; top: .05rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--sauge); color: var(--papier); font-family: var(--mono); font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.groupe-famille { margin-bottom: 48px; }

/* ---------------------------------------------------------------- fiche produit */
.produit { display: grid; gap: 24px; padding-top: 16px; padding-bottom: 32px; }
@media (min-width: 960px) { .produit { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: start; } .album { position: sticky; top: 6rem; } }
.album__principale { background: var(--fond-photo); border-radius: var(--rayon); overflow: hidden; aspect-ratio: 1 / 1; }
.album__img { width: 100%; height: 100%; object-fit: cover; }
.album__vignettes { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.album__vignettes button { flex: none; width: 4.25rem; height: 4.25rem; padding: 0; border-radius: var(--rayon-petit); overflow: hidden; border: 2px solid transparent; background: var(--fond-photo); }
.album__vignettes button[aria-pressed="true"] { border-color: var(--sauge); }
.album__vignettes img { width: 100%; height: 100%; object-fit: cover; }
.produit__infos h1 { font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.3rem); margin: .6rem 0 .4rem; }
.produit__cote { font-family: var(--mono); font-size: .88rem; color: var(--anthracite-doux); margin-bottom: .6rem; }
.produit__accroche { font-size: 1.08rem; }
.produit__repere { display: flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--sauge); font-size: .93rem; margin-bottom: .5rem; }
.produit__repere--taille { color: var(--cire-foncee); }
.produit__prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .8rem; margin: .8rem 0 .3rem; }
.produit__prix .tarif { font-size: 1.9rem; }
.produit__mention { font-size: .85rem; color: var(--anthracite-doux); }
.produit__dispo { display: flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .93rem; margin-bottom: 1rem; }
.produit__dispo--ok { color: var(--ok); }
.produit__dispo--limite { color: var(--cire-foncee); }
.produit__dispo--ko { color: var(--rouille); }
.options { border: 0; padding: 0; margin: 0 0 1rem; }
.options legend { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; width: 100%; font-weight: 700; margin-bottom: .5rem; }
.options__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 8px; }
.options__choix { position: relative; cursor: pointer; }
.options__choix input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.options__choix span { display: flex; flex-direction: column; gap: .1rem; height: 100%; padding: 10px 12px; border: 1.5px solid var(--trait-fort); border-radius: var(--rayon-petit); background: var(--papier); font-weight: 700; }
.options__choix small { font-weight: 400; color: var(--anthracite-doux); font-size: .8rem; }
.options__choix .options__prix { font-family: var(--mono); color: var(--anthracite); }
.options__choix input:checked + span { border-color: var(--sauge); background: var(--sauge-claire); box-shadow: inset 0 0 0 1px var(--sauge); }
.options__choix input:disabled + span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.options__choix input:focus-visible + span { outline: 3px solid var(--cire); outline-offset: 2px; }
.produit__achat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; margin-bottom: 1rem; }
.produit__achat .bouton--acheter { grid-column: 2; } /* « Acheter maintenant » : sous « Ajouter au panier », même largeur */
@media (max-width: 340px) { .produit__achat { grid-template-columns: 1fr; } .produit__achat .bouton--acheter { grid-column: auto; } }
.produit__achat .bouton { flex: 1 1 12rem; min-height: 52px; }
.quantite { display: inline-flex; align-items: center; border: 1.5px solid var(--trait-fort); border-radius: 999px; background: var(--papier); }
.quantite button { width: 44px; height: 48px; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; }
.quantite input { width: 3rem; text-align: center; border: 0; background: none; font-family: var(--mono); font-size: 1.05rem; -moz-appearance: textfield; appearance: textfield; }
.quantite input::-webkit-outer-spin-button, .quantite input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.produit__vigilance { display: flex; gap: .6rem; background: var(--rouille-claire); border-radius: var(--rayon-petit); padding: 12px 14px; font-size: .92rem; }
.produit__vigilance .pic { color: var(--rouille); margin-top: .1rem; }
.produit__garanties { list-style: none; padding: 14px 0; margin: 0 0 1rem; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); display: grid; gap: .55rem; font-size: .92rem; }
.produit__garanties li { display: flex; gap: .55rem; }
.produit__garanties .pic { color: var(--sauge); margin-top: .1rem; }
.points { list-style: none; padding: 0; display: grid; gap: .4rem; }
.points li { display: flex; gap: .5rem; }
.points .pic { color: var(--cire-foncee); margin-top: .15rem; }
.section-produit { padding: 36px 0; border-top: 1px solid var(--trait); }
.deux-colonnes { display: grid; gap: 28px; }
@media (min-width: 900px) { .deux-colonnes { grid-template-columns: 1.15fr .85fr; gap: 48px; } }
.avant-visite { align-self: start; }
.avant-visite, .precautions { background: var(--papier); border-radius: var(--rayon); padding: 18px 20px; border: 1px solid var(--trait); }
.avant-visite h3, .precautions h3 { display: flex; align-items: center; gap: .5rem; }
.avant-visite dt { font-weight: 700; font-size: .9rem; color: var(--sauge); }
.avant-visite dd { margin: 0 0 .7rem; font-size: .94rem; }
.precautions { border-color: #e9c7ba; background: #fffaf6; margin-bottom: 16px; }
.precautions h3 .pic { color: var(--rouille); }
.precautions li { margin-bottom: .35rem; font-size: .94rem; }
.caracteristiques th, .caracteristiques td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--trait); vertical-align: top; font-size: .95rem; }
.caracteristiques th { width: 42%; padding-right: 12px; color: var(--anthracite-doux); font-weight: 600; }
.gpsr { font-size: .88rem; display: grid; grid-template-columns: auto 1fr; gap: .3rem .9rem; margin: 0; }
.gpsr dt { font-weight: 700; color: var(--anthracite-doux); }
.gpsr dd { margin: 0; }
.contenu-kit { list-style: none; padding: 0; display: grid; gap: 10px; }
.contenu-kit li { display: grid; grid-template-columns: 3.5rem 1fr auto; gap: 12px; align-items: center; background: var(--papier); padding: 8px 14px 8px 8px; border-radius: var(--rayon-petit); border: 1px solid var(--trait); }
.contenu-kit img, .pris-avec img, .suggestion img { width: 3.5rem; height: 3.5rem; object-fit: cover; border-radius: 6px; background: var(--fond-photo); }
.pris-avec ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.pris-avec li { display: grid; grid-template-columns: auto 3.5rem 1fr auto; gap: 12px; align-items: center; background: var(--papier); padding: 8px 14px 8px 12px; border-radius: var(--rayon-petit); border: 1px solid var(--trait); }
.pris-avec input { width: 1.25rem; height: 1.25rem; accent-color: var(--sauge); }
.pris-avec__vide { width: 1.25rem; }
.pris-avec label, .pris-avec__nom { display: flex; flex-direction: column; font-weight: 600; }
.pris-avec small { font-weight: 400; color: var(--anthracite-doux); }
.pris-avec__total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin-top: 14px; }

/* ---------------------------------------------------------------- panier, palier, suggestions */
.palier { margin-bottom: 16px; }
.palier__texte { display: flex; align-items: center; gap: .4rem; margin: 0 0 .45rem; font-size: .93rem; }
.palier--atteint .palier__texte { color: var(--ok); font-weight: 700; }
.palier__rail { height: 10px; border-radius: 999px; background: var(--creme-fonce); overflow: hidden; }
.palier__niveau { display: block; height: 100%; border-radius: 999px; background: repeating-linear-gradient(135deg, var(--cire) 0 8px, #d7a547 8px 16px); }
.palier--atteint .palier__niveau { background: var(--sauge-moyenne); }
.n0 { width: 0; } .n5 { width: 5%; } .n10 { width: 10%; } .n15 { width: 15%; } .n20 { width: 20%; } .n25 { width: 25%; } .n30 { width: 30%; }
.n35 { width: 35%; } .n40 { width: 40%; } .n45 { width: 45%; } .n50 { width: 50%; } .n55 { width: 55%; } .n60 { width: 60%; } .n65 { width: 65%; }
.n70 { width: 70%; } .n75 { width: 75%; } .n80 { width: 80%; } .n85 { width: 85%; } .n90 { width: 90%; } .n95 { width: 95%; } .n100 { width: 100%; }
.lignes-panier { list-style: none; padding: 0; margin: 0 0 16px; }
.ligne-panier { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--trait); }
.ligne-panier__photo img { width: 4.5rem; height: 4.5rem; object-fit: cover; border-radius: var(--rayon-petit); background: var(--fond-photo); }
.ligne-panier__infos { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.ligne-panier__nom { font-weight: 700; color: var(--anthracite); text-decoration: none; }
.ligne-panier__variante { font-size: .85rem; color: var(--anthracite-doux); }
.ligne-panier__alerte { font-size: .85rem; color: var(--rouille); font-weight: 700; }
.ligne-panier__qte { display: flex; align-items: center; gap: .4rem; margin-top: .3rem; }
.ligne-panier__prix { font-family: var(--mono); font-weight: 600; }
.ligne-panier--ko { opacity: .7; }
.qte { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--trait-fort); background: var(--papier); display: inline-flex; align-items: center; justify-content: center; }
.qte:disabled { opacity: .4; }
.qte__n { min-width: 1.6rem; text-align: center; font-family: var(--mono); }
.suggestions h2, .suggestions h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.suggestions p { font-size: .9rem; color: var(--anthracite-doux); }
.suggestions ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.suggestion { display: grid; grid-template-columns: 3.5rem 1fr auto auto; gap: 10px; align-items: center; background: var(--creme); border-radius: var(--rayon-petit); padding: 6px 8px; }
.suggestion__nom { font-weight: 600; font-size: .92rem; display: flex; flex-direction: column; line-height: 1.3; }
.suggestion__nom small { font-weight: 400; color: var(--anthracite-doux); }
.suggestion__prix { font-family: var(--mono); font-size: .9rem; }
.bilan { margin: 0 0 14px; }
.bilan > div { display: flex; justify-content: space-between; padding: .3rem 0; }
.bilan dt { color: var(--anthracite-doux); }
.bilan dd { margin: 0; font-family: var(--mono); }
.bilan__total { border-top: 1px solid var(--trait); margin-top: .3rem; padding-top: .6rem !important; font-weight: 700; font-size: 1.1rem; }
.bilan__total dt { color: var(--anthracite); }
.bilan__mention { margin: .2rem 0 0; font-size: .8rem; color: var(--anthracite-doux); text-align: right; }
.reassurance-courte { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: .35rem; font-size: .85rem; color: var(--anthracite-doux); }
.reassurance-courte li { display: flex; gap: .45rem; align-items: center; }
.reassurance-courte .pic { color: var(--sauge); }
.message { border-radius: var(--rayon-petit); padding: 12px 14px; font-size: .93rem; margin: 0 0 14px; }
.message--info { background: var(--sauge-claire); }
.message--alerte { background: var(--rouille-claire); color: #6e2a19; }
.message--ok { background: #e5efe2; color: var(--ok); font-weight: 700; }
.titre-panier { margin-top: 24px; }
.page-panier { display: grid; gap: 28px; padding-bottom: 56px; }
@media (min-width: 960px) { .page-panier { grid-template-columns: minmax(0, 1fr) 22rem; align-items: start; } .page-panier__resume { position: sticky; top: 6rem; } }
.page-panier__resume { background: var(--papier); border-radius: var(--rayon); padding: 20px; box-shadow: var(--ombre); }
.page-panier__resume h2 { font-size: 1.3rem; }
.note-paiement { font-size: .85rem; color: var(--anthracite-doux); text-align: center; margin: 0.5rem 0 0; }

/* ---------------------------------------------------------------- conseils et textes */
.article-conseil { padding-top: 20px; padding-bottom: 48px; }
.article-conseil h1 { margin-top: .2rem; }
.article-conseil h2 { margin-top: 2.2rem; scroll-margin-top: 6rem; }
.article-conseil .planche-schema { margin: 1.5rem 0; }
.meta-conseil { font-size: .88rem; color: var(--anthracite-doux); }
.sommaire { background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 16px 20px; margin: 1.2rem 0 1.8rem; }
.sommaire h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
.sommaire ol { margin: 0; }
.produits-cites { margin: 2.5rem 0; }
.texte-legal { padding-top: 20px; padding-bottom: 56px; }
.texte-legal h2 { margin-top: 2rem; font-size: 1.45rem; scroll-margin-top: 6rem; }
.texte-legal table:not(.comparatif) th, .texte-legal table:not(.comparatif) td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--trait); vertical-align: top; }
.texte-legal table:not(.comparatif) th { width: 40%; padding-right: 12px; font-weight: 600; color: var(--anthracite-doux); }
.introuvable { text-align: center; padding: 72px 16px; }
.introuvable p:last-child { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }

/* ---------------------------------------------------------------- bas de page */
.bas-de-page { background: var(--anthracite); color: #d9d4c6; padding: 48px 0 20px; font-size: .93rem; }
.bas-de-page__grille { display: grid; gap: 28px; }
@media (min-width: 800px) { .bas-de-page__grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.bas-de-page h2 { color: var(--cire-claire); font-size: 1.1rem; }
.bas-de-page a { color: #f1ead8; }
.bas-de-page a:hover { color: var(--cire); }
.liste-bas { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.bas-de-page__fin { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; margin-top: 36px; padding-top: 18px; border-top: 1px solid #3c4144; font-size: .84rem; }
.moyens { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.moyen { border: 1px solid #555b5e; border-radius: 4px; padding: .05rem .4rem; font-family: var(--mono); font-size: .78rem; }
.bas-de-page .a-completer { background: #4a4122; color: var(--cire-claire); }

/* ---------------------------------------------------------------- avis flottant */
.avis-flottant { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: .6rem; background: var(--anthracite); color: var(--papier); border-radius: 999px; padding: .7rem 1.1rem; box-shadow: var(--ombre-forte); font-size: .92rem; max-width: calc(100% - 32px); }
.avis-flottant .pic { color: var(--cire); }
.avis-flottant a { color: var(--cire-claire); font-weight: 700; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .haut, .bas-de-page, .bandeau-info, .volet, .plan-mobile, .produit__achat, .avis-flottant { display: none !important; }
}
