/* ==========================================================================
   Le Rucher de Rodemack — feuille de style
   ========================================================================== */

[hidden] { display: none !important; }

:root {
  --cire: #2B1A0E;
  --cire-2: #4A3322;
  --miel: #E3A23B;
  --miel-clair: #F6D58E;
  --creme: #FBF4E6;
  --papier: #F4EAD5;
  --sapin: #2F4A3A;
  --sapin-2: #3C5E4A;
  --texte: #2B1A0E;
  --texte-doux: #6B5645;
  --ligne: rgba(43, 26, 14, .14);
  --blanc: #FFFDF8;
  --danger: #A8322D;
  --ok: #2F6B45;

  --f-titre: "Fraunces", Georgia, serif;
  --f-texte: "Manrope", system-ui, sans-serif;

  --r: 18px;
  --r-s: 10px;
  --ombre: 0 1px 2px rgba(43, 26, 14, .06), 0 12px 32px -12px rgba(43, 26, 14, .22);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--f-texte);
  font-size: 17px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-titre); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--miel); outline-offset: 3px; border-radius: 6px; }

.conteneur { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.surtitre {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sapin); display: inline-flex; align-items: center; gap: 10px;
}
.surtitre::before { content: ""; width: 14px; height: 16px; background: currentColor;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .15s, background .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-miel { background: var(--miel); color: var(--cire); box-shadow: 0 6px 18px -6px rgba(227, 162, 59, .8); }
.btn-miel:hover { background: #EDB252; }
.btn-cire { background: var(--cire); color: var(--creme); }
.btn-cire:hover { background: var(--cire-2); }
.btn-contour { border-color: currentColor; background: transparent; }
.btn-contour:hover { background: rgba(43, 26, 14, .06); }
.btn[disabled] { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn svg { width: 18px; height: 18px; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 244, 230, .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ligne);
}
.entete .conteneur { width: min(100% - 32px, 1280px); display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-marque { width: 56px; height: 48px; flex: none; background: #141009; border-radius: 10px; display: grid; place-items: center; padding: 5px; }
.logo-marque img { width: 100%; height: auto; }
.logo-texte { font-family: var(--f-titre); font-size: 20px; font-weight: 600; line-height: 1; }
.logo-texte small { display: block; font-family: var(--f-texte); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-doux); font-weight: 600; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 2px; }
@media (min-width: 1301px) { .logo-texte { white-space: nowrap; } }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 9px; border-radius: 999px; color: var(--texte-doux); white-space: nowrap; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--texte); background: rgba(43, 26, 14, .06); }
.nav .btn { padding: 11px 20px; margin-left: 8px; }
.onglet-commande { position: relative; }
.pastille {
  position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 11px; background: var(--cire); color: var(--creme); font-size: 12px; font-weight: 800;
  display: grid; place-items: center; border: 2px solid var(--creme);
}
.pastille[hidden] { display: none; }
.burger { display: none; background: none; border: 0; padding: 8px; }
.burger svg { width: 28px; height: 28px; }

@media (max-width: 1300px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: var(--creme); border-bottom: 1px solid var(--ligne);
    transform: translateY(-120%); transition: transform .25s; z-index: -1;
  }
  .nav.ouvert { transform: none; }
  .nav a:not(.btn) { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- Héros ---------- */
.heros { position: relative; overflow: hidden; padding: 72px 0 96px; }
.heros .conteneur { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.heros h1 { font-size: clamp(42px, 6.4vw, 84px); font-weight: 500; letter-spacing: -.025em; }
.heros h1 em { font-style: italic; color: var(--miel); font-weight: 500; }
.heros .intro { font-size: 19px; color: var(--texte-doux); max-width: 34em; margin: 24px 0 36px; }
.heros .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.heros-faits { display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.heros-faits div { font-size: 14px; color: var(--texte-doux); }
.heros-faits strong { display: block; font-family: var(--f-titre); font-size: 30px; color: var(--texte); font-weight: 600; }
.heros-visuel { position: relative; aspect-ratio: 1; }
.heros-visuel .alveoles { position: absolute; inset: -10%; opacity: .9; }
.heros-visuel .pot-heros { position: absolute; width: 62%; left: 19%; top: 14%; filter: drop-shadow(0 30px 40px rgba(43, 26, 14, .25)); }
.heros-visuel .etiquette-flottante {
  position: absolute; background: var(--blanc); border-radius: 14px; padding: 12px 16px; box-shadow: var(--ombre);
  font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px;
}
.heros-visuel .etiquette-flottante span { font-size: 22px; }
.ef-1 { left: -4%; bottom: 18%; }
.ef-2 { right: -2%; top: 10%; }
@media (max-width: 860px) {
  .heros { padding: 40px 0 64px; }
  .heros .conteneur { grid-template-columns: 1fr; }
  .heros-visuel { max-width: 420px; width: 100%; margin: 0 auto; }
  .ef-1 { left: 0; } .ef-2 { right: 0; }
}

/* ---------- Bandeau retrait ---------- */
.bandeau-retrait { background: var(--cire); color: var(--creme); }
.bandeau-retrait .conteneur { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 24px; align-items: center; padding: 28px 0; }
.etape-mini { display: flex; gap: 14px; align-items: center; }
.etape-mini b { font-family: var(--f-titre); font-size: 34px; color: var(--miel); font-weight: 500; line-height: 1; }
.etape-mini p { font-size: 15px; line-height: 1.35; color: rgba(251, 244, 230, .85); }
.etape-mini strong { color: var(--creme); display: block; }
@media (max-width: 900px) { .bandeau-retrait .conteneur { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
section { padding: 104px 0; }
.titre-section { max-width: 720px; margin-bottom: 56px; }
.titre-section h2 { font-size: clamp(34px, 4.6vw, 56px); margin-top: 14px; }
.titre-section p { color: var(--texte-doux); margin-top: 18px; font-size: 18px; }
@media (max-width: 700px) { section { padding: 72px 0; } .titre-section { margin-bottom: 36px; } }

/* Terroir */
.terroir { background: var(--papier); }
.terroir-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.terroir-texte p + p { margin-top: 16px; }
.terroir-texte p { color: var(--texte-doux); }
.terroir-texte .lead { font-size: 20px; color: var(--texte); }
.trajets { list-style: none; margin: 0; padding: 0; position: relative; }
.trajets::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; border-left: 2px dashed rgba(43, 26, 14, .25); }
.trajet { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 18px 0; }
.trajet-pastille {
  width: 56px; height: 62px; display: grid; place-items: center; color: var(--creme); font-weight: 800; font-size: 13px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); position: relative; z-index: 1;
}
.trajet h3 { font-size: 24px; }
.trajet .lieu { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); margin-top: 4px; }
.trajet p { margin-top: 8px; color: var(--texte-doux); font-size: 16px; }
@media (max-width: 860px) { .terroir-grille { grid-template-columns: 1fr; gap: 40px; } }

/* Produits */
.filtres { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filtre {
  border: 1.5px solid var(--ligne); background: transparent; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
}
.filtre[aria-pressed="true"] { background: var(--cire); color: var(--creme); border-color: var(--cire); }
.grille-produits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.carte-produit {
  background: var(--blanc); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column;
  border: 1px solid var(--ligne); transition: transform .2s, box-shadow .2s;
}
@media (hover: hover) { .carte-produit:hover { transform: translateY(-3px); box-shadow: var(--ombre); } }
.carte-produit .visuel { background: var(--papier); border-radius: 12px; height: 200px; display: grid; place-items: center; margin-bottom: 18px; position: relative; }
.carte-produit .visuel .illu { height: 160px; width: auto; }
.carte-produit .origine { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sapin); }
.carte-produit h3 { font-size: 23px; margin: 6px 0 8px; }
.carte-produit .desc { color: var(--texte-doux); font-size: 15px; flex: 1; }
.formats-carte { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--ligne); }
.formats-carte li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--ligne); }
.formats-carte li:last-child { border-bottom: 0; padding-bottom: 0; }
.formats-carte .format-nom { font-size: 15px; color: var(--texte-doux); font-weight: 600; }
.formats-carte .prix { font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.formats-carte .ajout-format, .formats-carte .indispo { white-space: nowrap; }
.ajout-format { border: 1.5px solid var(--cire); background: transparent; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 14px; color: var(--cire); }
.ajout-format:hover { background: var(--cire); color: var(--creme); }
.cuvee .formats-carte { border-color: rgba(251, 244, 230, .16); margin-top: 22px; }
.cuvee .formats-carte li { border-color: rgba(251, 244, 230, .16); }
.cuvee .formats-carte .format-nom { color: rgba(251, 244, 230, .7); }
.cuvee .ajout-format { border-color: var(--creme); color: var(--creme); }
.cuvee .ajout-format:hover { background: var(--creme); color: var(--cire); }
.carte-produit .pied { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ligne); gap: 8px; }
.carte-produit .prix { font-weight: 800; font-size: 17px; }
.carte-produit .prix small { font-weight: 500; color: var(--texte-doux); font-size: 13px; }
.medaille {
  position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px;
  background: #F5E3B3; color: #6E4E0B;
}
.medaille.bronze { background: #EBD2BA; color: #6A3E17; }
.badge-dispo { position: absolute; top: 12px; right: 12px; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--cire); color: var(--creme); }
.est-indispo .illu { opacity: .45; filter: grayscale(.6); }
.indispo { font-size: 14px; font-weight: 700; color: var(--texte-doux); }
.note.indispo { color: var(--danger); }
.recap-devis { font-size: 13px; color: var(--miel-clair); margin-top: 8px; }
.lien-fleche { font-weight: 700; font-size: 15px; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; color: var(--cire); }
.lien-fleche:hover { color: var(--sapin); }

/* Hydromels */
.hydromels { background: var(--cire); color: var(--creme); position: relative; overflow: hidden; }
.hydromels .surtitre { color: var(--miel); }
.hydromels .titre-section p { color: rgba(251, 244, 230, .75); }
.cuvees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cuvee { background: rgba(251, 244, 230, .06); border: 1px solid rgba(251, 244, 230, .12); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; }
.cuvee .illu { height: 190px; width: auto; margin: 0 auto 20px; }
.cuvee .type { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--miel); font-weight: 700; }
.cuvee h3 { font-size: 32px; margin: 6px 0 12px; }
.cuvee p { color: rgba(251, 244, 230, .75); font-size: 15px; flex: 1; }
.cuvee .medaille { position: static; align-self: flex-start; margin-bottom: 14px; }
.cuvee .pied { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.cuvee .prix { font-weight: 800; }
.cuvee .btn-contour { color: var(--creme); padding: 10px 18px; font-size: 15px; }
.cuvee .btn-contour:hover { background: rgba(251, 244, 230, .1); }
.note-alcool { margin-top: 28px; font-size: 13px; color: rgba(251, 244, 230, .55); }
@media (max-width: 900px) { .cuvees { grid-template-columns: 1fr; } }

/* Abeilles */
.abeilles-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.carte-buckfast { background: var(--sapin); color: var(--creme); border-radius: var(--r); padding: 40px; grid-row: span 2; }
.carte-buckfast h3 { font-size: 40px; margin: 14px 0 18px; }
.carte-buckfast p { color: rgba(251, 244, 230, .82); }
.carte-buckfast .surtitre { color: var(--miel-clair); }
.qualites { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.qualites span { border: 1px solid rgba(251, 244, 230, .3); padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.carte-dispo { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); padding: 30px; display: flex; gap: 20px; align-items: flex-start; }
.carte-dispo .date { font-family: var(--f-titre); font-size: 15px; background: var(--miel); color: var(--cire); border-radius: 12px; padding: 10px 14px; text-align: center; line-height: 1.1; flex: none; font-weight: 600; }
.carte-dispo .date b { display: block; font-size: 26px; }
.carte-dispo h4 { font-size: 24px; }
.carte-dispo p { color: var(--texte-doux); margin-top: 6px; font-size: 15px; }
.carte-contact-abeilles { background: var(--papier); border-radius: var(--r); padding: 30px; }
.carte-contact-abeilles p { color: var(--texte-doux); font-size: 15px; margin-bottom: 14px; }
@media (max-width: 860px) { .abeilles-grille { grid-template-columns: 1fr; } .carte-buckfast { grid-row: auto; padding: 28px; } }

/* Histoire */
.histoire { background: var(--papier); }
.frise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.jalon { border-top: 3px solid var(--cire); padding-top: 20px; }
.jalon .annee { font-family: var(--f-titre); font-size: 56px; font-weight: 500; line-height: 1; color: var(--miel); }
.jalon h3 { font-size: 22px; margin: 12px 0 8px; }
.jalon p { color: var(--texte-doux); font-size: 16px; }
.citation { font-family: var(--f-titre); font-size: clamp(24px, 3vw, 34px); font-style: italic; font-weight: 400; line-height: 1.3; max-width: 860px; }
.citation-auteur { margin-top: 18px; font-weight: 700; color: var(--texte-doux); font-size: 15px; }
@media (max-width: 800px) { .frise { grid-template-columns: 1fr; gap: 32px; } }

/* Infos pratiques */
.infos-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; }
.carte-infos { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); padding: 36px; }
.carte-infos h3 { font-size: 30px; margin-bottom: 20px; }
.ligne-info { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--ligne); align-items: flex-start; }
.ligne-info svg { width: 22px; height: 22px; flex: none; color: var(--sapin); margin-top: 2px; }
.ligne-info a { font-weight: 700; text-decoration: none; }
.ligne-info a:hover { text-decoration: underline; }
.carte-cta { background: var(--miel); border-radius: var(--r); padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.carte-cta h3 { font-size: 34px; position: relative; }
.carte-cta p { position: relative; }
.carte-cta .btn { align-self: flex-start; position: relative; }
.carte-cta .deco { position: absolute; right: -40px; bottom: -40px; width: 220px; opacity: .25; }
@media (max-width: 860px) { .infos-grille { grid-template-columns: minmax(0, 1fr); } .carte-infos, .carte-cta { padding: 26px; } }

/* Pied de page */
.pied-page { background: var(--cire); color: rgba(251, 244, 230, .7); padding: 56px 0 32px; font-size: 14px; }
.pied-page .haut { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(251, 244, 230, .12); }
.pied-marque { display: flex; align-items: center; gap: 20px; line-height: 1.5; }
.pied-marque img { width: 120px; height: auto; }
.pied-page .logo-texte { color: var(--creme); }
.pied-page .logo-texte small { color: rgba(251, 244, 230, .55); }
.pied-page nav { display: flex; gap: 20px; flex-wrap: wrap; }
.pied-page a { text-decoration: none; }
.pied-page a:hover { color: var(--creme); }
.pied-legal { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px 40px; padding: 32px 0; border-bottom: 1px solid rgba(251, 244, 230, .12); font-size: 13px; line-height: 1.6; }
.pied-legal h4 { font-family: var(--f-texte); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--miel); margin: 0 0 8px; }
.pied-legal p + h4 { margin-top: 18px; }
.pied-legal p + p { margin-top: 8px; }
.pied-page .bas { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; }

/* ==========================================================================
   Page Commander
   ========================================================================== */
.page-commande { padding: 40px 0 120px; }
.cmd-entete { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.cmd-entete h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 500; }
.cmd-entete p { color: var(--texte-doux); margin-top: 10px; max-width: 36em; }

.etapes { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 32px; counter-reset: e; flex-wrap: wrap; }
.etapes li {
  counter-increment: e; flex: 1; min-width: 150px; padding: 14px 16px; border-radius: 12px; background: var(--papier);
  font-weight: 700; font-size: 15px; color: var(--texte-doux); display: flex; align-items: center; gap: 10px;
}
.etapes li::before {
  content: counter(e); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(43, 26, 14, .1); font-size: 14px; flex: none;
}
.etapes li.actif { background: var(--cire); color: var(--creme); }
.etapes li.actif::before { background: var(--miel); color: var(--cire); }
.etapes li.fait { color: var(--texte); }
.etapes li.fait::before { content: "✓"; background: var(--sapin); color: var(--creme); }
.etapes button { all: unset; cursor: pointer; }

.cmd-grille { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 980px) { .cmd-grille { grid-template-columns: minmax(0, 1fr); } }

.panneau { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); padding: 28px; }
.panneau h2 { font-size: 28px; margin-bottom: 6px; }
.panneau .aide { color: var(--texte-doux); font-size: 15px; margin-bottom: 22px; }
@media (max-width: 600px) { .panneau { padding: 20px; } }

/* Liste produits commande */
.liste-cmd { display: flex; flex-direction: column; }
.groupe-cmd + .groupe-cmd { margin-top: 28px; }
.groupe-cmd > h3 { font-size: 13px; font-family: var(--f-texte); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sapin); margin-bottom: 8px; }
.ligne-cmd { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--ligne); }
.ligne-cmd .mini { background: var(--papier); border-radius: 10px; height: 80px; display: grid; place-items: center; }
.ligne-cmd .mini .illu { height: 64px; width: auto; }
.illu.photo { object-fit: contain; filter: drop-shadow(0 8px 10px rgba(43, 26, 14, .18)); }
.ligne-cmd { grid-template-columns: 84px 1fr; }
.ligne-cmd .mini { height: 96px; }
.ligne-cmd .mini .illu.photo { height: 84px; }
.carte-produit .visuel .illu.photo { height: 176px; }
.ligne-cmd h4 { font-size: 19px; }
.ligne-cmd .sous { font-size: 13px; color: var(--texte-doux); }
.ligne-cmd .note { font-size: 13px; color: var(--sapin); margin-top: 4px; font-weight: 600; }
.formats { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.format { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.format .fl { font-size: 15px; }
.format .fl b { font-weight: 800; margin-left: 6px; }
.qte { display: inline-flex; align-items: center; border: 1.5px solid var(--ligne); border-radius: 999px; overflow: hidden; }
.qte button { width: 36px; height: 34px; border: 0; background: transparent; font-size: 18px; font-weight: 700; }
.qte button:hover { background: var(--papier); }
.qte button:disabled { opacity: .3; cursor: default; background: transparent; }
.qte output { min-width: 28px; text-align: center; font-weight: 800; }
.qte.actif { border-color: var(--miel); background: #FFF6E4; }

/* Créneaux */
.jours { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 24px; scroll-snap-type: x mandatory; }
.jour {
  flex: none; width: 88px; border: 1.5px solid var(--ligne); border-radius: 14px; background: var(--blanc); padding: 12px 8px;
  text-align: center; scroll-snap-align: start; line-height: 1.2;
}
.jour .j { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--texte-doux); }
.jour .n { font-family: var(--f-titre); font-size: 30px; font-weight: 600; display: block; margin: 4px 0; }
.jour .m { font-size: 13px; color: var(--texte-doux); }
.jour .dispo { font-size: 11px; font-weight: 700; color: var(--ok); margin-top: 6px; display: block; }
.jour[aria-pressed="true"] { background: var(--cire); color: var(--creme); border-color: var(--cire); }
.jour[aria-pressed="true"] .j, .jour[aria-pressed="true"] .m { color: rgba(251, 244, 230, .7); }
.jour[aria-pressed="true"] .dispo { color: var(--miel); }
.jour:disabled { opacity: .45; cursor: not-allowed; }
.jour:disabled .dispo { color: var(--danger); }
.plage-titre { font-size: 14px; font-weight: 700; color: var(--texte-doux); margin: 18px 0 10px; }
.creneaux { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 10px; }
.creneau { border: 1.5px solid var(--ligne); background: var(--blanc); border-radius: 12px; padding: 12px 8px; font-weight: 700; text-align: center; }
.creneau small { display: block; font-weight: 600; font-size: 12px; color: var(--texte-doux); }
.creneau:hover:not(:disabled) { border-color: var(--miel); }
.creneau[aria-pressed="true"] { background: var(--miel); border-color: var(--miel); }
.creneau[aria-pressed="true"] small { color: var(--cire); }
.creneau:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.vide { padding: 28px; text-align: center; color: var(--texte-doux); background: var(--papier); border-radius: 12px; }

/* Formulaire */
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ.large { grid-column: 1 / -1; }
.champ label, .legende { font-weight: 700; font-size: 14px; }
.champ input, .champ textarea {
  font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--ligne); background: var(--creme); color: var(--texte);
}
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--miel); background: var(--blanc); }
.champ textarea { min-height: 96px; resize: vertical; }
.champ .erreur { color: var(--danger); font-size: 13px; font-weight: 600; display: none; }
.champ.invalide input { border-color: var(--danger); }
.champ.invalide .erreur { display: block; }
@media (max-width: 600px) { .champs { grid-template-columns: 1fr; } }
.paiements { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 8px; }
.paiement { position: relative; }
.paiement input { position: absolute; opacity: 0; }
.paiement span { display: block; border: 1.5px solid var(--ligne); border-radius: 12px; padding: 14px; font-weight: 700; text-align: center; cursor: pointer; background: var(--blanc); }
.paiement input:checked + span { border-color: var(--cire); background: var(--cire); color: var(--creme); }
.paiement input:focus-visible + span { outline: 3px solid var(--miel); outline-offset: 2px; }
.encart-paiement { display: flex; gap: 14px; background: #EEF3EE; border-radius: 14px; padding: 16px 18px; margin-top: 24px; font-size: 15px; }
.encart-paiement svg { width: 24px; height: 24px; flex: none; color: var(--sapin); }
.case { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 15px; }
.case input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--cire); flex: none; }

.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.erreur-envoi { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: #F8E3E1; color: var(--danger); font-weight: 600; font-size: 15px; }

.navigation-etapes { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* Récap latéral */
.recap { position: sticky; top: 96px; background: var(--cire); color: var(--creme); border-radius: var(--r); padding: 26px; }
.recap h2 { font-size: 24px; margin-bottom: 16px; }
.recap-lignes { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.recap-lignes li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(251, 244, 230, .12); }
.recap-lignes li span:first-child { color: rgba(251, 244, 230, .85); }
.recap-vide { color: rgba(251, 244, 230, .6); font-size: 15px; padding: 8px 0 4px; }
.recap-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; font-weight: 800; }
.recap-total b { font-family: var(--f-titre); font-size: 32px; color: var(--miel); font-weight: 600; }
.recap-bloc { margin-top: 18px; padding: 14px; border-radius: 12px; background: rgba(251, 244, 230, .08); font-size: 14px; }
.recap-bloc .t { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--miel); font-weight: 800; margin-bottom: 4px; }
.recap .mention { font-size: 12px; color: rgba(251, 244, 230, .55); margin-top: 16px; }
@media (max-width: 980px) {
  .recap { position: static; }
}

/* Confirmation */
.confirmation { text-align: center; max-width: 720px; margin: 0 auto; }
.confirmation .coche { width: 84px; height: 94px; margin: 0 auto 24px; background: var(--sapin); color: var(--creme); display: grid; place-items: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.confirmation .coche svg { width: 40px; height: 40px; }
.confirmation h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 500; }
.confirmation .num { display: inline-block; margin: 18px 0; font-weight: 800; letter-spacing: .08em; background: var(--papier); padding: 8px 16px; border-radius: 999px; }
.ticket { text-align: left; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); padding: 28px; margin: 28px 0; }
.ticket-rdv { display: flex; gap: 18px; align-items: center; padding-bottom: 20px; border-bottom: 1px dashed var(--ligne); margin-bottom: 16px; }
.ticket-rdv .cal { background: var(--miel); border-radius: 14px; padding: 10px 16px; text-align: center; line-height: 1.1; font-weight: 700; flex: none; }
.ticket-rdv .cal b { display: block; font-family: var(--f-titre); font-size: 34px; }
.ticket-rdv h3 { font-size: 22px; }
.ticket-rdv p { color: var(--texte-doux); font-size: 15px; }
.ticket table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ticket td { padding: 7px 0; }
.ticket td:last-child { text-align: right; font-weight: 700; }
.ticket tfoot td { border-top: 1px solid var(--ligne); padding-top: 14px; font-size: 18px; font-weight: 800; }
.actions-conf { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--cire); color: var(--creme);
  padding: 14px 20px; border-radius: 14px; font-weight: 600; font-size: 15px; box-shadow: var(--ombre); transition: transform .3s; z-index: 100;
  display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px);
}
.toast.visible { transform: translate(-50%, 0); }
.toast a { color: var(--miel); font-weight: 800; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ==========================================================================
   Pages légales (mentions, CGV, confidentialité)
   ========================================================================== */
.page-legale { padding: 48px 0 120px; }
.legal { width: min(100% - 32px, 760px); margin-inline: auto; }
.legal-entete { margin-bottom: 40px; }
.legal-entete h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 500; margin-top: 12px; text-wrap: balance; }
.legal-entete .maj { color: var(--texte-doux); font-size: 15px; margin-top: 12px; }
.legal-onglets { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.legal-onglets a { text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--ligne); }
.legal-onglets a[aria-current="page"] { background: var(--cire); color: var(--creme); border-color: var(--cire); }
.sommaire { background: var(--papier); border-radius: var(--r); padding: 22px 26px; margin-bottom: 40px; font-size: 15px; }
.sommaire b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sapin); margin-bottom: 8px; }
.sommaire ol { margin: 0; padding-left: 20px; columns: 2 220px; column-gap: 32px; }
.sommaire li { padding: 2px 0; break-inside: avoid; }
.sommaire a { text-decoration: none; }
.sommaire a:hover { text-decoration: underline; }
.legal section { padding: 0; margin-bottom: 40px; }
.legal h2 { font-size: 26px; margin-bottom: 14px; text-wrap: balance; }
.legal h3 { font-family: var(--f-texte); font-size: 17px; font-weight: 800; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--texte); max-width: 68ch; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 10px 0 0; }
.legal li + li { margin-top: 6px; }
.legal a { font-weight: 600; }
.fiche { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; border-top: 1px solid var(--ligne); }
.fiche dt, .fiche dd { padding: 11px 0; border-bottom: 1px solid var(--ligne); margin: 0; }
.fiche dt { color: var(--texte-doux); font-size: 15px; padding-right: 16px; }
.fiche dd { font-weight: 600; }
@media (max-width: 560px) { .fiche { grid-template-columns: 1fr; } .fiche dt { border-bottom: 0; padding-bottom: 0; } }
.a-completer { background: #FCE7A6; color: #6E4E0B; padding: 1px 6px; border-radius: 5px; font-weight: 700; font-style: normal; }
.encadre { border: 1.5px solid var(--cire); border-radius: var(--r); padding: 20px 24px; margin-top: 16px; }
.encadre > b { display: block; margin-bottom: 8px; }
.tableau-donnees { overflow-x: auto; margin-top: 14px; }
.tableau-donnees table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.tableau-donnees th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); padding: 10px 12px 10px 0; border-bottom: 1.5px solid var(--cire); }
.tableau-donnees td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.formulaire-type { background: var(--blanc); border: 1px dashed var(--texte-doux); border-radius: 12px; padding: 20px 24px; margin-top: 14px; font-size: 15px; }
.formulaire-type p + p { margin-top: 10px; }
.mention-rgpd { font-size: 13px; color: var(--texte-doux); margin-top: 18px; line-height: 1.5; }
.case a, .mention-rgpd a { font-weight: 700; }

/* ==========================================================================
   Page Nos points de vente
   ========================================================================== */
.page-points { padding: 48px 0 120px; }
.page-points h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 500; margin-top: 14px; }
.points-vente { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .points-vente { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .points-vente { grid-template-columns: 1fr; } }
.point-vente { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.pv-ville { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sapin); display: inline-flex; align-items: center; gap: 8px; }
.pv-ville::before { content: ""; width: 10px; height: 11px; background: var(--miel); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.point-vente h2 { font-size: 24px; text-wrap: balance; }
.point-vente a { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--cire); }
.point-vente a:hover { color: var(--sapin); text-decoration: underline; }
.pv-rucher { margin-top: 40px; background: var(--miel); border-radius: var(--r); padding: 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.pv-rucher .surtitre { color: var(--cire); }
.pv-rucher h2 { font-size: 30px; margin: 10px 0 8px; }
.pv-rucher p { max-width: 52ch; }

/* Sur la table des chefs */
.chefs { padding: 72px 0 0; }
.chefs .titre-section h2 { font-size: clamp(30px, 4vw, 44px); }
.liste-chefs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.chef a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); text-decoration: none; transition: transform .2s, box-shadow .2s; }
@media (hover: hover) { .chef a:hover { transform: translateY(-3px); box-shadow: var(--ombre); } }
.chef-logo { height: 96px; display: grid; place-items: center; background: #fff; border: 1px solid var(--ligne); border-radius: 12px; margin-bottom: 10px; padding: 14px; }
.chef-logo:has(.chef-nom-logo) { background: var(--papier); border-color: transparent; }
.chef-logo img { width: 100%; height: 100%; object-fit: contain; }
.chef-nom-logo { font-family: var(--f-titre); font-style: italic; font-size: 20px; line-height: 1.15; text-align: center; color: var(--cire); text-wrap: balance; }
.chef-nom { font-family: var(--f-titre); font-size: 20px; font-weight: 600; line-height: 1.15; }
.chef-lien { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14px; color: var(--sapin); }
.chef a:hover .chef-lien { text-decoration: underline; }

/* ==========================================================================
   Photos du rucher (bords fondus dans le décor)
   ========================================================================== */
.photo-heros { position: absolute; inset: 3% 0 3% 0; margin: 0; }
.photo-heros img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
  /* Rectangle aux bords flous, fondu dans le fond et les alvéoles */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-composite: intersect;
}
.heros-visuel { aspect-ratio: 5 / 6; }
.heros-visuel .etiquette-flottante { z-index: 2; }
.ef-1 { left: 0; bottom: 14%; }
.ef-2 { right: 0; top: 12%; }
@media (max-width: 860px) { .ef-2 { top: 0; } .ef-1 { bottom: 8%; } }

/* Fondu des bords dans la couleur de fond */
.photo-fondue { margin: 0; }
.photo-fondue img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-panorama { grid-column: 1 / -1; height: clamp(240px, 34vw, 420px); margin-top: 8px; }
.photo-panorama img {
  object-position: 50% 18%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 80%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 80%, transparent);
  mask-composite: intersect;
}

.carte-buckfast { overflow: hidden; grid-row: span 3; }
@media (max-width: 860px) { .carte-buckfast { grid-row: auto; } }
.buckfast-photo { margin: -40px -40px 22px; height: 240px; }
.buckfast-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
@media (max-width: 860px) { .buckfast-photo { margin: -28px -28px 18px; height: 200px; } }

.histoire-bas { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.photo-histoire { aspect-ratio: 11 / 7; }
.photo-histoire img {
  object-position: 62% 40%;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, transparent 100%);
}
@media (max-width: 800px) { .histoire-bas { grid-template-columns: 1fr; gap: 16px; } }

/* ==========================================================================
   Téléphone : confort tactile et commande
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: rgba(227, 162, 59, .25); }
@media (min-width: 861px) { .carte-contact-abeilles { grid-column: 2; } }

/* Les étapes du tunnel : toute la pastille est cliquable */
.etapes li { position: relative; }
.etapes button::after { content: ""; position: absolute; inset: 0; }

@media (max-width: 860px) {
  .ajout-format { min-height: 44px; padding: 8px 16px; }
  .qte button { width: 44px; height: 44px; }
  .pied-page nav a, .pied-page .bas a { display: inline-block; padding: 11px 0; }
  .pied-page .bas nav { gap: 4px 18px !important; }
  .sommaire li { padding: 0; }
  .sommaire a { display: block; padding: 9px 0; }
  .point-vente a, .ligne-info a { display: inline-block; padding: 10px 0; }
  .creneau { min-height: 52px; }
  .jour { width: 80px; }
  .heros h1 { font-size: clamp(38px, 11vw, 52px); }
  .heros .intro { font-size: 17px; }
  .heros .actions .btn { flex: 1 1 100%; }
  section { padding: 64px 0; }
  .titre-section h2 { font-size: clamp(30px, 8.5vw, 40px); }
}

.barre-commande {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--cire); color: var(--creme); box-shadow: 0 -8px 24px -12px rgba(43, 26, 14, .5);
}
.barre-commande[hidden] { display: none; }
.barre-total { display: flex; flex-direction: column; line-height: 1.2; font-size: 13px; color: rgba(251, 244, 230, .75); }
.barre-total b { font-family: var(--f-titre); font-size: 22px; color: var(--miel); font-weight: 600; }
.barre-commande .btn { padding: 12px 18px; min-height: 48px; font-size: 15px; }
@media (min-width: 981px) { .barre-commande { display: none !important; } }
@media (max-width: 980px) {
  body.avec-barre { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  body.avec-barre .toast { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
}

/* Encoches et coins arrondis des téléphones (viewport-fit=cover) */
body { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.entete { padding-top: env(safe-area-inset-top, 0px); }

/* Petits écrans : rien ne doit élargir la page */
.ligne-info a, .ligne-info div, .pied-legal p, .legal dd { overflow-wrap: anywhere; }
.ligne-cmd > div:last-child { min-width: 0; }
.format .fl { min-width: 0; flex: 1; }
.format .fl b { white-space: nowrap; }
@media (max-width: 400px) {
  .logo-marque { width: 48px; height: 42px; }
  .logo-texte { font-size: 18px; }
  .logo-texte small { font-size: 10px; letter-spacing: .12em; }
  .formats-carte li { gap: 8px; }
  .ajout-format { padding: 8px 12px; }
  .carte-produit { padding: 18px; }
  .carte-infos, .carte-cta, .carte-buckfast { padding: 22px; }
  .buckfast-photo { margin: -22px -22px 18px; }
  .ligne-cmd { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .ligne-cmd .mini { height: 80px; }
  .ligne-cmd .mini .illu.photo { height: 70px; }
}

@media (max-width: 860px) {
  .heros-faits { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; margin-top: 36px; }
  .heros-faits strong { font-size: 26px; }
  .nav.ouvert { box-shadow: 0 18px 30px -18px rgba(43, 26, 14, .45); }
}

/* « 500 g » ne se coupe jamais ; le prix passe dessous s'il manque de place */
.format .fl { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.format .fl b { margin-left: 0; }
.fl-nom { white-space: nowrap; }

/* Boutons du tunnel de commande : pleine largeur et texte sur plusieurs lignes si besoin */
@media (max-width: 600px) {
  .navigation-etapes { flex-direction: column-reverse; align-items: stretch; }
  .navigation-etapes .btn { white-space: normal; text-align: center; width: 100%; min-height: 50px; }
  .actions-conf .btn { white-space: normal; flex: 1 1 100%; }
}
