/* Direction : étiquette d'apéritif au coucher du soleil — bandes bordeaux et crème en alternance, titres condensés en capitales, produits en cadres ronds. */
body { background: var(--fond); }
h1, h2, h3 { font-family: var(--police-titre); font-weight: 500; text-transform: uppercase; letter-spacing: .005em; line-height: 1.02; }
h1 { font-size: var(--t-1); line-height: .98; }
h2 { font-size: var(--t-2); margin-bottom: var(--e-3); }
h3 { font-size: 1.5rem; line-height: 1.1; font-weight: 500; }
p { color: var(--encre-2); }
.annonce { margin: 0; max-width: none; background: var(--olive); color: var(--papier); text-align: center; font-size: .9375rem; padding: 9px var(--gouttiere); }
.entete { background: var(--papier); backdrop-filter: none; border-bottom: 1px solid var(--filet); top: 0; }
.marque { font-family: var(--police-titre); text-transform: uppercase; font-weight: 600; font-size: 1.625rem; letter-spacing: .02em; color: var(--bordeaux); line-height: 1; }
.marque small { text-transform: none; font-family: var(--police-texte); font-weight: 500; font-size: .75rem; letter-spacing: 0; color: var(--encre-2); margin-top: 3px; }
.menu a { font-weight: 600; }
.lien-panier { display: inline-flex; align-items: center; gap: 8px; }
.compte { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 9999px; background: var(--bordeaux); color: var(--papier); font-size: .8125rem; font-weight: 700; font-family: var(--police-texte); }
.compte.saute { animation: saute 320ms var(--ease-rebond); }
@keyframes saute { 40% { transform: scale(1.4); } }
.panier-mobile { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; color: var(--bordeaux); text-decoration: none; margin-left: auto; margin-right: 8px; }
.panier-mobile svg { width: 24px; height: 24px; }
.menu-bouton { border: 1.5px solid var(--bordeaux); color: var(--bordeaux); }
.menu-mobile { background: var(--papier); }
.menu-mobile a:active { background: var(--kraft); }
.bouton { background: var(--bordeaux); color: var(--papier); border-color: var(--bordeaux); border-radius: 9999px; font-weight: 700; padding: 13px 26px; letter-spacing: .01em; }
.bouton:hover { background: #4d1426; border-color: #4d1426; }
.bouton-corail { background: var(--corail); border-color: var(--corail); color: var(--corail-encre); }
.bouton-corail:hover { background: #f58a9b; border-color: #f58a9b; }
.bouton-second { background: transparent; color: inherit; border-color: currentColor; }
.bouton-second:hover { background: var(--papier); color: var(--bordeaux); border-color: var(--papier); }
.carte .bouton, .achat .bouton { width: 100%; }
::selection { background: var(--bordeaux); color: var(--papier); }

/* premier écran : bande bordeaux, titre en capitales déposé, photo en arche */
section.hero[data-slot] { background: var(--bordeaux); color: var(--papier); padding: var(--e-4) var(--gouttiere) var(--e-8); }
.hero h1 { color: var(--papier); }
.hero .contenu { gap: var(--e-4); align-items: center; }
.hero-texte p.chapo { color: #f0dccf; font-size: 1.1875rem; max-width: 46ch; margin-block: var(--e-3); }
.hero .bouton-second { color: var(--papier); }
.hero-visuel { position: relative; max-width: 520px; margin-inline: auto; width: 100%; }
.hero-visuel img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: var(--cadrage, 50% 30%); border-radius: 9999px 9999px 24px 24px; background: #7d3248; animation: none; }
.tampon { position: absolute; left: -10px; bottom: 28px; transform: rotate(-5deg); background: var(--papier); color: var(--bordeaux); border: 2px solid var(--bordeaux); border-radius: 9999px; padding: 10px 20px; font-family: var(--police-titre); text-transform: uppercase; font-weight: 500; letter-spacing: .03em; font-size: 1rem; line-height: 1.1; max-width: 230px; margin: 0; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .hero-visuel img { animation: arche 1000ms var(--ease-sortie) 120ms both; }
  @keyframes arche { from { opacity: 0; transform: translateX(8%); clip-path: inset(0 0 0 40% round 9999px 9999px 24px 24px); } to { opacity: 1; transform: none; clip-path: inset(0 round 9999px 9999px 24px 24px); } }
  .hero .tampon { animation: tamponner 650ms var(--ease-rebond) 1000ms both; }
  @keyframes tamponner { from { opacity: 0; transform: rotate(-16deg) scale(1.5); } to { opacity: 1; transform: rotate(-5deg); } }
}

/* rayons */
.rayons { background: var(--fond); }
.cats { list-style: none; margin: var(--e-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--e-4) var(--e-3); }
.cats a { display: grid; justify-items: center; text-align: center; gap: 6px; text-decoration: none; color: var(--encre); }
.rond { display: block; width: 100%; max-width: 220px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--kraft); transition: transform 240ms var(--ease-sortie); }
.rond img { width: 100%; height: 100%; object-fit: cover; }
.cats a:hover .rond { transform: scale(1.04) rotate(-2deg); }
.cats a:active .rond { transform: scale(.97); }
.nom-cat { font-family: var(--police-titre); text-transform: uppercase; font-weight: 500; font-size: 1.5rem; letter-spacing: .01em; color: var(--bordeaux); }
.desc-cat { font-size: .9375rem; color: var(--encre-2); max-width: 22ch; }

/* produits */
.phares { background: var(--papier); }
.tete-sec { display: grid; gap: var(--e-1); margin-bottom: var(--e-6); }
.tete-sec p { margin: 0; max-width: 58ch; }
.grille-produits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--e-6) var(--e-3); }
.carte { display: grid; align-content: start; gap: 8px; }
.carte[hidden] { display: none; }
.vignette { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--kraft); margin-bottom: 8px; }
.vignette img { width: 100%; height: 100%; object-fit: cover; }
.distance { position: absolute; right: 8%; bottom: 8%; background: var(--papier); color: var(--bordeaux); border: 1.5px solid var(--bordeaux); border-radius: 9999px; padding: 3px 12px; font-size: .875rem; font-weight: 700; white-space: nowrap; }
.carte h3 { font-size: 1.375rem; }
.carte h3 a { color: inherit; text-decoration: none; }
.carte h3 a:hover { text-decoration: underline; text-decoration-color: var(--corail); text-underline-offset: 4px; }
.producteur { margin: 0; font-size: .9375rem; color: var(--encre-2); }
.vars { display: flex; flex-wrap: wrap; gap: 8px; }
.var { font: inherit; font-weight: 600; font-size: .9375rem; border: 1.5px solid var(--bordeaux); background: transparent; color: var(--bordeaux); border-radius: 9999px; padding: 6px 16px; min-height: 40px; transition: background-color var(--duree-clic), color var(--duree-clic), transform var(--duree-clic) var(--ease-rebond); }
.var:active { transform: scale(.95); }
.var[aria-pressed="true"] { background: var(--bordeaux); color: var(--papier); }
.var:disabled { opacity: .5; text-decoration: line-through; cursor: not-allowed; }
.ligne-prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 4px 0 4px; color: var(--encre); }
.prix { font-family: var(--police-titre); font-weight: 500; font-size: 1.625rem; letter-spacing: .01em; color: var(--bordeaux); font-variant-numeric: lining-nums tabular-nums; }
.stock { font-size: .875rem; font-weight: 700; color: var(--bordeaux); }
.stock:empty { display: none; }
.suite { margin-top: var(--e-6); text-align: center; }
.suite .bouton-second { color: var(--bordeaux); }
.suite .bouton-second:hover { background: var(--bordeaux); color: var(--papier); border-color: var(--bordeaux); }

/* route des producteurs : bande bordeaux */
.route { background: var(--bordeaux); color: var(--papier); }
.route h2 { color: var(--papier); }
.route p { color: #f0dccf; }
.route-grille { display: grid; gap: var(--e-6); align-items: start; }
.distances { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(254, 246, 238, .5); }
.distances li { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid rgba(254, 246, 238, .3); align-items: baseline; }
.qui { font-weight: 600; } .qui small { display: block; font-weight: 400; color: #f0dccf; font-size: .875rem; }
.km { font-family: var(--police-titre); font-size: 1.5rem; font-weight: 500; letter-spacing: .01em; }
.barre { grid-column: 1 / -1; height: 6px; background: rgba(254, 246, 238, .22); border-radius: 9999px; overflow: hidden; }
.barre i { display: block; height: 100%; width: var(--l); background: var(--corail); border-radius: 9999px; }

/* coffret et livraison */
.coffret { background: var(--fond); }
.coffret .contenu { display: grid; gap: var(--e-6); align-items: start; }
.coffret .suite { text-align: left; margin-top: var(--e-3); }
.encart-livraison { margin: 0; background: var(--papier); border-radius: 24px; padding: var(--e-4); }
.encart-livraison figcaption { font-family: var(--police-titre); text-transform: uppercase; font-size: 1.75rem; font-weight: 500; color: var(--bordeaux); margin-bottom: var(--e-2); line-height: 1.05; }
.encart-livraison ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.encart-livraison li { padding: 14px 0; border-top: 1px solid var(--filet); color: var(--encre-2); }
.encart-livraison b { display: block; color: var(--encre); font-size: 1.125rem; }

.histoire { background: var(--papier); }
.maison-grille { display: grid; gap: var(--e-6); align-items: center; }
.histoire figure { margin: 0; }
.histoire img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 24px; background: #dcc2ae; }
.histoire figcaption { margin-top: 8px; font-size: .875rem; color: var(--encre-2); }
.faq-liste { margin-top: var(--e-4); }
.faq-liste summary { font-weight: 600; }
.faq-liste summary::after { color: var(--bordeaux); }

.lettre { background: var(--corail); }
.lettre h2 { color: var(--encre); } .lettre p { color: var(--encre); }
.lettre-grille { display: grid; gap: var(--e-4); align-items: center; }
.formulaire-ligne { background: transparent !important; border: 0 !important; padding: 0 !important; }
.lettre .bouton-corail { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--papier); }
.lettre .bouton-corail:hover { background: #4d1426; }
.formulaire input, .formulaire textarea, .formulaire select { font: inherit; border: 1.5px solid var(--encre); border-radius: 12px; background: var(--papier); color: var(--encre); min-height: 48px; padding: 12px 14px; width: 100%; }
.formulaire input:focus, .formulaire select:focus { outline: 2px solid var(--bordeaux); outline-offset: 2px; box-shadow: none; }
.formulaire .confirmation { background: var(--bordeaux); color: var(--papier); border-radius: 12px; }

/* pied */
.pied { background: var(--olive); color: var(--papier); border-top: 0; padding: var(--e-6) 0 var(--e-8); font-size: 1rem; }
.pied p, .pied a { color: var(--papier); }
.pied-grille { display: grid; gap: var(--e-4); margin-bottom: var(--e-4); }
.pied-mention { opacity: .85; font-size: .875rem; }

/* toast */
.toast { visibility: hidden; position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%); z-index: 60; display: flex; align-items: center; gap: 16px; background: var(--encre); color: var(--papier); border-radius: 9999px; padding: 12px 14px 12px 22px; font-weight: 600; transition: transform 260ms var(--ease-sortie); max-width: calc(100% - 24px); }
.toast[data-visible] { transform: translate(-50%, 0); visibility: visible; }
.toast a { background: var(--corail); color: var(--corail-encre); border-radius: 9999px; padding: 8px 16px; text-decoration: none; font-weight: 700; white-space: nowrap; }

/* pages intérieures */
.tete-page { padding: var(--e-6) var(--gouttiere) var(--e-4); background: var(--fond); }
.tete-page h1 { color: var(--bordeaux); font-size: clamp(3rem, 1.4rem + 6vw, 5.5rem); }
.tete-page p { max-width: 60ch; margin-top: var(--e-2); }
.catalogue { padding: var(--e-4) var(--gouttiere) var(--e-section); }
.barre-outils { display: grid; gap: var(--e-2); margin-bottom: var(--e-3); align-items: center; }
.filtre { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { font: inherit; font-weight: 700; border: 1.5px solid var(--bordeaux); background: transparent; color: var(--bordeaux); border-radius: 9999px; padding: 8px 18px; min-height: 44px; transition: background-color var(--duree-clic), color var(--duree-clic), transform var(--duree-clic) var(--ease-rebond); }
.puce:active { transform: scale(.96); }
.puce[aria-pressed="true"] { background: var(--bordeaux); color: var(--papier); }
.tri { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tri select { font: inherit; border: 1.5px solid var(--bordeaux); border-radius: 9999px; padding: 8px 14px; background: var(--papier); color: var(--encre); min-height: 44px; }
.resultat { margin: 0 0 var(--e-3); font-size: .9375rem; }
.livraison { background: var(--papier); }
.liv-grille { display: grid; gap: var(--e-4); }

.fil { padding: var(--e-3) var(--gouttiere) 0; font-size: .9375rem; color: var(--encre-2); }
.fil a { color: var(--bordeaux); }
.fiche { padding: var(--e-4) var(--gouttiere) var(--e-8); }
.fiche-grille { display: grid; gap: var(--e-6); align-items: start; }
.fiche-photo { margin: 0; position: relative; max-width: 560px; width: 100%; margin-inline: auto; }
.rond-grand { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--kraft); }
.rond-grand img { width: 100%; height: 100%; object-fit: cover; }
.distance-grand { right: 4%; bottom: 6%; font-size: 1rem; padding: 6px 16px; }
.fiche-info h1 { color: var(--bordeaux); font-size: clamp(2.75rem, 1.4rem + 4.4vw, 4.75rem); margin-bottom: 8px; }
.court { font-size: 1.1875rem; max-width: 52ch; color: var(--encre); }
.bloc-var { margin: var(--e-3) 0 var(--e-1); }
.lbl { margin: 0 0 8px; font-weight: 700; color: var(--encre); }
.ligne-prix.gros .prix { font-size: 2.5rem; }
.unite { color: var(--encre-2); font-size: 1rem; }
.tva { margin: 0 0 var(--e-2); font-size: .875rem; }
.age { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 var(--e-2); font-weight: 600; }
.age input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--bordeaux); }
.achat { display: flex; gap: var(--e-2); align-items: stretch; flex-wrap: wrap; margin-bottom: var(--e-3); }
.achat .bouton { flex: 1; min-width: 220px; }
.quantite { display: inline-flex; align-items: center; border: 1.5px solid var(--bordeaux); border-radius: 9999px; }
.quantite button { font: inherit; font-size: 1.5rem; width: 48px; height: 48px; border: 0; background: transparent; color: var(--bordeaux); border-radius: 9999px; }
.quantite button:active { background: var(--kraft); }
.quantite output { min-width: 28px; text-align: center; font-weight: 700; }
.assurances { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 1rem; }
.assurances li { padding-top: 10px; border-top: 1px solid var(--filet); color: var(--encre-2); }
.assurances b { color: var(--encre); }
.avertissement { font-size: .875rem; margin-top: var(--e-2); }
.fiche-detail { background: var(--papier); padding: var(--e-8) var(--gouttiere); }
.detail-grille { display: grid; gap: var(--e-6); }
.fiche-tech { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--filet); align-self: start; }
.fiche-tech div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--filet); }
.fiche-tech dt { font-weight: 700; } .fiche-tech dd { margin: 0; color: var(--encre-2); }
.alerg { font-size: 1rem; }

/* panier */
.panier { padding: var(--e-4) var(--gouttiere) var(--e-section); }
.vide { text-align: center; padding: var(--e-8) 0; } .vide p { margin-inline: auto; font-size: 1.25rem; }
.panier-grille { display: grid; gap: var(--e-6); align-items: start; }
.lignes-panier { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--bordeaux); }
.ligne { display: grid; grid-template-columns: 84px 1fr auto; gap: 8px 16px; padding: var(--e-2) 0; border-bottom: 1px solid var(--filet); align-items: center; }
.ligne img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: var(--kraft); grid-row: span 2; }
.ligne h3 { font-size: 1.25rem; } .ligne .variante { font-size: .9375rem; color: var(--encre-2); margin: 0; }
.ligne .prix-l { font-family: var(--police-titre); font-size: 1.375rem; color: var(--bordeaux); font-weight: 500; text-align: right; }
.ligne .actions { grid-column: 2 / -1; display: flex; align-items: center; gap: 16px; }
.ligne .quantite button { width: 44px; height: 44px; }
.retirer { font: inherit; background: none; border: 0; color: var(--encre-2); text-decoration: underline; min-height: 44px; }
.barre-franco { margin-top: var(--e-3); background: var(--papier); border-radius: 16px; padding: 16px 20px; }
.barre-franco p { margin: 0 0 10px; color: var(--encre); font-weight: 600; }
.jauge { height: 8px; background: var(--kraft); border-radius: 9999px; overflow: hidden; }
.jauge i { display: block; height: 100%; width: 0; background: var(--corail); border-radius: 9999px; transition: width 300ms var(--ease-sortie); }
.commande { background: var(--papier); border-radius: 24px; padding: var(--e-4); display: grid; gap: var(--e-2); }
.commande h2 { font-size: 2rem; margin: 0; color: var(--bordeaux); }
.commande label { display: grid; gap: 6px; font-weight: 600; font-size: 1rem; }
.commande input[type=text], .commande input[type=email], .commande input[type=tel], .commande select { font: inherit; border: 1.5px solid var(--encre); border-radius: 12px; background: #fff; color: var(--encre); min-height: 48px; padding: 12px 14px; width: 100%; }
.commande input.invalide, .commande select.invalide { border-color: #b00020; background: #fff5f6; }
.modes { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.modes legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.mode { display: flex !important; grid-template-columns: none; gap: 12px !important; align-items: flex-start; border: 1.5px solid var(--filet); border-radius: 16px; padding: 14px 16px; cursor: pointer; transition: border-color var(--duree-clic), background-color var(--duree-clic); font-weight: 400 !important; }
.mode:has(input:checked) { border-color: var(--bordeaux); background: #fff; }
.mode:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.mode input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--bordeaux); flex: none; }
.mode b { display: block; } .mode small { display: block; color: var(--encre-2); font-weight: 400; font-size: .9375rem; }
.note-colis { margin: 0; font-size: .9375rem; color: #7a1f2b; font-weight: 600; }
.duo { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
.case { display: flex !important; gap: 10px !important; align-items: flex-start; font-weight: 400 !important; }
.case input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--bordeaux); flex: none; }
.totaux { margin: var(--e-1) 0 0; display: grid; gap: 0; }
.totaux div { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--filet); }
.totaux dt { color: var(--encre-2); } .totaux dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.totaux .total { border-top: 1.5px solid var(--bordeaux); font-size: 1.25rem; } .totaux .total dt { color: var(--encre); font-weight: 700; }
.erreur { margin: 0; background: #fff5f6; border: 1.5px solid #b00020; color: #7a0016; border-radius: 12px; padding: 12px 14px; font-weight: 600; max-width: none; }
.gros-bouton { width: 100%; padding: 16px 22px; text-align: center; line-height: 1.2; }
.note-demo { margin: 0; font-size: .875rem; }
.confirmation-commande { max-width: 720px; margin: var(--e-6) auto; background: var(--papier); border-radius: 24px; padding: var(--e-6); }
.confirmation-commande h2 { color: var(--bordeaux); }

@media (min-width: 900px) {
  .panier-mobile { display: none; }
  .cats { grid-template-columns: repeat(5, 1fr); }
  .grille-produits { grid-template-columns: repeat(4, 1fr); gap: var(--e-6) var(--e-4); }
  .hero .contenu { grid-template-columns: 1.15fr .85fr; }
  .hero-visuel img { max-height: 74vh; }
  .route-grille { grid-template-columns: 1fr 1.2fr; gap: var(--e-8); }
  .coffret .contenu { grid-template-columns: 1fr 1fr; gap: var(--e-8); }
  .maison-grille { grid-template-columns: 1fr 1fr; gap: var(--e-8); }
  .lettre-grille { grid-template-columns: 1fr 1fr; gap: var(--e-8); }
  .formulaire-ligne { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
  .formulaire-ligne .confirmation { grid-column: 1 / -1; }
  .pied-grille { grid-template-columns: 1.1fr 1.4fr 1fr; gap: var(--e-6); }
  .barre-outils { grid-template-columns: 1fr auto; }
  .liv-grille { grid-template-columns: 1fr 1.6fr; gap: var(--e-8); }
  .fiche-grille { grid-template-columns: 1fr 1fr; gap: var(--e-8); }
  .detail-grille { grid-template-columns: 1.2fr 1fr; gap: var(--e-8); }
  .panier-grille { grid-template-columns: 1.3fr 1fr; gap: var(--e-6); }
  .commande { position: sticky; top: 100px; }
}
@media (min-width: 700px) and (max-width: 899px) { .grille-produits { grid-template-columns: repeat(3, 1fr); } .cats { grid-template-columns: repeat(3, 1fr); } .menu { display: none; } .menu-bouton, .menu-mobile { display: inline-flex; } .menu-mobile { display: grid; } }
@media (max-width: 899px) {
  .menu { display: none; }
  .menu-bouton { display: inline-flex; }
  .menu-mobile { display: grid; }
  .hero-visuel img { --cadrage: 50% 28%; }
  .marque { font-size: 1.375rem; white-space: nowrap; }
  .marque small { display: none; }
  .hero h1 { font-size: 3rem; }
  .tampon { left: 0; bottom: 14px; font-size: .875rem; padding: 8px 14px; max-width: 190px; }
  .ligne { grid-template-columns: 72px 1fr; }
  .ligne img { width: 72px; height: 72px; }
  .ligne .prix-l { grid-column: 2; text-align: left; }
  .ligne .actions { grid-column: 1 / -1; }
  .fiche-tech div { grid-template-columns: 7rem 1fr; }
}
@media (max-width: 480px) {
  .marque { font-size: 1.125rem; }
  .menu-bouton .libelle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-bouton { padding: 10px 12px; }
  .panier-mobile { padding: 0 6px; margin-right: 4px; }
}
.vignette { overflow: visible; background: none; }
.vignette img { border-radius: 50%; background: var(--kraft); }
.carte { display: flex; flex-direction: column; }
.carte .ligne-prix { margin-top: auto; }
.producteur { margin-bottom: 8px; }
.livraison { padding: var(--e-section) var(--gouttiere); }
.rond-grand { overflow: hidden; }
.hero .bouton-second:hover { color: var(--bordeaux); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* premier écran : les étiquettes « à N km » défilent au chargement, du producteur le plus proche au plus lointain */
.km-defile { position: absolute; right: -8px; top: 22px; --h: 44px; height: var(--h); overflow: hidden; background: var(--papier); color: var(--bordeaux); border: 2px solid var(--bordeaux); border-radius: 9999px; padding: 0 18px; z-index: 2; }
.km-defile ul { list-style: none; margin: 0; padding: 0; }
.km-defile li { height: var(--h); display: flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 600; font-size: .9375rem; }
.km-defile b { font-family: var(--police-titre); text-transform: uppercase; font-weight: 500; font-size: 1.25rem; letter-spacing: .01em; }
@media (prefers-reduced-motion: no-preference) {
  .km-defile ul { animation: defile 1700ms steps(5, end) 450ms both; }
  @keyframes defile { to { transform: translateY(calc(var(--h) * -5)); } }
}
@media (prefers-reduced-motion: reduce) { .km-defile ul { transform: translateY(calc(var(--h) * -5)); } }

/* barre fixe mobile : le bouton « Faire ses courses » reste à portée de pouce */
.barre-mobile { position: fixed; inset: auto 0 0 0; z-index: 30; padding: 10px var(--gouttiere) calc(10px + env(safe-area-inset-bottom)); background: var(--papier); border-top: 2px solid var(--bordeaux); display: flex; gap: 10px; transition: transform 240ms var(--ease-sortie); }
.barre-mobile .bouton { flex: 1; white-space: nowrap; padding-inline: 12px; }
.barre-mobile .bouton:first-child { flex: 1.6; }
.barre-mobile .bouton-second { color: var(--bordeaux); }
.barre-mobile .bouton-second:hover { background: var(--bordeaux); color: var(--papier); border-color: var(--bordeaux); }
.barre-mobile[data-cachee] { transform: translateY(110%); }
@media (max-width: 699px) {
  body:has(.barre-mobile) { padding-bottom: 76px; }
  .hero-visuel { max-width: 300px; }
  .km-defile { top: 14px; right: -6px; --h: 38px; padding: 0 14px; }
  .km-defile li { font-size: .8125rem; }
  .km-defile b { font-size: 1.0625rem; }
}
@media (min-width: 700px) { .barre-mobile { display: none; } }
