/* Vertivoire — feuille de style unique, pensée d'abord pour les téléphones Android. */
:root {
  --feuille: #1E5B34;      /* vert profond, couleur principale */
  --feuille-2: #2C7A46;
  --pousse: #7FB539;       /* vert tendre */
  --brume: #EEF4EC;        /* fond de page */
  --papier: #FFFFFF;
  --terre: #6B4E37;        /* terre de la parcelle */
  --terre-clair: #E9DFD3;
  --tomate: #C8382A;       /* promotions, alertes */
  --soleil: #E9A23B;       /* en attente */
  --encre: #17221A;
  --gris: #5C695F;
  --trait: #D6E0D3;
  --rayon: 14px;
  --ombre: 0 1px 2px rgba(23, 34, 26, .06), 0 4px 14px rgba(23, 34, 26, .05);
  --barre-h: 64px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--brume); color: var(--encre);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  padding-bottom: calc(var(--barre-h) + env(safe-area-inset-bottom));
}
img, svg { display: block; max-width: 100%; }
a { color: var(--feuille-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 1.6rem; font-weight: 800; }
h2 { font-size: 1.2rem; font-weight: 750; }
h3 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 .75em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pousse); outline-offset: 2px; }
[hidden] { display: none !important; }
.saut { position: absolute; left: -999px; }
.saut:focus { left: 8px; top: 8px; z-index: 99; background: #fff; padding: 8px; }
.muet { color: var(--gris); }
.petit { font-size: .875rem; }
.centre { text-align: center; padding: 2rem 0; }

/* ---------- En-tête et navigation ---------- */
.entete {
  position: sticky; top: 0; z-index: 20; background: var(--papier);
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; border-bottom: 1px solid var(--trait);
}
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--feuille); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.logo { width: 32px; height: 32px; color: var(--pousse); display: grid; place-items: center; }
.logo img { width: 32px; height: 32px; object-fit: contain; border-radius: 8px; }
.entete-admin { display: none; font-size: .85rem; color: var(--gris); }
body.mode-admin .entete-admin { display: block; }
body.mode-admin .barre { display: none; }
body.mode-admin { padding-bottom: 0; }

.barre {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--papier); border-top: 1px solid var(--trait);
  height: calc(var(--barre-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
}
.barre a {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; color: var(--gris); font-size: .72rem; font-weight: 600;
}
.barre svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.barre a[aria-current] { color: var(--feuille); }
.barre a[aria-current] svg { stroke-width: 2.4; }
.badge {
  position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--tomate); color: #fff; font-size: .7rem; line-height: 18px; text-align: center;
}
.hors-ligne { margin: 0; padding: 8px 16px; background: var(--terre); color: #fff; font-size: .875rem; }

main { max-width: 1080px; margin: 0 auto; padding: 16px; outline: none; }
.titre-page { margin-top: 4px; }
.retour { display: inline-block; margin-bottom: 10px; text-decoration: none; font-weight: 600; }

/* ---------- Boutons et champs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; background: none; text-align: center;
}
.btn:disabled { opacity: .55; cursor: wait; }
.btn-primary { background: var(--feuille); color: #fff; }
.btn-primary:hover { background: var(--feuille-2); }
.btn-clair { background: #fff; color: var(--feuille); }
.btn-ghost { border-color: var(--trait); color: var(--feuille); background: var(--papier); }
.btn-danger { background: var(--tomate); color: #fff; }
.btn-danger-ghost { border-color: #E9B8B1; color: var(--tomate); background: var(--papier); }
.btn-large { width: 100%; min-height: 52px; font-size: 1.05rem; }
.btn-petit { min-height: 34px; padding: 0 12px; font-size: .85rem; }

.form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.form legend { font-weight: 800; font-size: 1.05rem; margin-bottom: 10px; color: var(--feuille); }
.champ { display: block; margin-bottom: 14px; }
.champ > span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.champ i { font-weight: 400; color: var(--gris); }
.champ small { display: block; color: var(--gris); font-size: .8rem; margin-top: 4px; }
.champ input, .champ select, .champ textarea, .filtres input {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--trait); border-radius: 10px; background: var(--papier);
}
.champ textarea { min-height: 72px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--feuille-2); outline: none; box-shadow: 0 0 0 3px rgba(127, 181, 57, .3); }
.case { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.case input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--feuille); }

.choix { display: grid; gap: 10px; margin-bottom: 14px; }
@media (min-width: 520px) { .choix { grid-template-columns: 1fr 1fr; } }
.choix-carte { position: relative; display: block; cursor: pointer; }
.choix-carte input { position: absolute; opacity: 0; }
.choix-carte span { display: block; padding: 12px 14px 12px 44px; border: 1.5px solid var(--trait); border-radius: 12px; background: var(--papier); }
.choix-carte span::before { content: ""; position: absolute; left: 14px; top: 15px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--trait); background: #fff; }
.choix-carte small { display: block; color: var(--gris); font-size: .82rem; }
.choix-carte input:checked + span { border-color: var(--feuille); background: #F4F9F1; }
.choix-carte input:checked + span::before { border-color: var(--feuille); box-shadow: inset 0 0 0 4px #fff; background: var(--feuille); }
.choix-carte input:focus-visible + span { outline: 3px solid var(--pousse); }

.info { background: #F4F9F1; border-left: 4px solid var(--pousse); padding: 10px 12px; border-radius: 0 10px 10px 0; }
.alerte { color: var(--tomate); font-weight: 600; }
p.alerte[role=alert] { background: #FBECEA; padding: 10px 12px; border-radius: 10px; }
.bandeau { background: var(--soleil); color: #3A2600; padding: 10px 14px; border-radius: 10px; font-weight: 600; }

/* ---------- Accueil ---------- */
/* Le motif de sillons : la parcelle vue du ciel */
.hero {
  position: relative; overflow: hidden; margin: -16px -16px 22px; padding: 34px 20px 30px;
  color: #fff; background-color: var(--feuille);
  background-image:
    linear-gradient(180deg, rgba(20, 60, 34, .25), rgba(20, 60, 34, .9)),
    var(--hero-img, repeating-linear-gradient(-12deg, transparent 0 22px, rgba(127, 181, 57, .22) 22px 26px, transparent 26px 40px));
  background-size: cover; background-position: center;
}
.hero-txt { max-width: 620px; position: relative; }
.hero-lieu { font-size: .9rem; opacity: .85; font-weight: 600; }
.hero h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); line-height: 1.05; letter-spacing: -.025em; margin-bottom: .35em; }
.hero p { opacity: .92; max-width: 46ch; }
.hero-actions { margin-top: 18px; }

.bloc { margin-bottom: 30px; }
.bloc-tete { display: flex; align-items: baseline; justify-content: space-between; }
.bloc-tete a { font-weight: 700; text-decoration: none; }

.champ.bloc, section.champ { background: var(--terre-clair); margin-left: -16px; margin-right: -16px; padding: 22px 16px; }
section.champ h2 { color: var(--terre); }
.liste-champ { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .liste-champ { grid-template-columns: 1fr 1fr; } }
.liste-champ a { display: flex; gap: 14px; align-items: center; padding: 12px; background: #FBF8F4; border-radius: 12px; text-decoration: none; color: inherit; }
.liste-champ h3 { margin-bottom: 6px; }

.comment .etapes-cmd { margin: 0; padding: 0; list-style: none; counter-reset: e; display: grid; gap: 12px; }
.etapes-cmd li { counter-increment: e; position: relative; padding-left: 44px; }
.etapes-cmd li::before { content: counter(e); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--feuille); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* ---------- Ligne de culture ---------- */
.culture { font-size: .85rem; }
.liste-champ a > div:last-child { flex: 1; min-width: 0; }
.sillon { width: 100%; display: flex; gap: 4px; list-style: none; margin: 0 0 6px; padding: 0; max-width: 220px; }
.sillon li { flex: 1; height: 8px; border-radius: 4px; background: #D3C4B2; }
.sillon li.fait { background: #9DBF6B; }
.sillon li.actuel { background: var(--feuille-2); position: relative; }
.sillon li.actuel span { position: absolute; right: -3px; top: -4px; width: 16px; height: 16px; border-radius: 50%; background: var(--pousse); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--feuille-2); }
.culture-label { margin: 0; color: var(--terre); }
.culture-label b { color: var(--encre); }
.culture-detail { background: var(--terre-clair); padding: 14px; border-radius: 12px; margin: 16px 0; }
.culture-detail .sillon { max-width: none; }
.culture-note { margin: 8px 0 0; }

/* ---------- Catalogue ---------- */
.filtres { position: sticky; top: 57px; z-index: 5; background: var(--brume); padding: 6px 0 10px; margin-bottom: 6px; }
.puces { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; scrollbar-width: none; }
.puce { flex: none; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--trait); background: var(--papier); font-weight: 600; cursor: pointer; }
.puce[aria-pressed=true] { background: var(--feuille); border-color: var(--feuille); color: #fff; }

.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 980px) { .grille { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.carte { position: relative; display: flex; flex-direction: column; background: var(--papier); border-radius: var(--rayon); box-shadow: var(--ombre); overflow: hidden; }
.carte .visuel { aspect-ratio: 1; width: 100%; object-fit: cover; }
.visuel-illu { display: grid; place-items: center; background: linear-gradient(160deg, #F4F9F1, #E3EFDC); }
.visuel-illu svg { width: 62%; }
.carte.epuise .visuel { filter: grayscale(.6) opacity(.7); }
.carte-corps { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.carte h3 { margin: 0; font-size: 1rem; }
.carte h3 a { color: inherit; text-decoration: none; }
.carte .btn-ajout { margin-top: auto; min-height: 40px; width: 100%; }
.carte .dispo { margin-bottom: 8px; }
.pastille { position: absolute; top: 10px; left: 10px; background: var(--feuille); color: #fff; font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 6px; }
.pastille.promo { background: var(--tomate); }
.ligne-prix { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.prix b { font-size: 1.05rem; }
.prix s { color: var(--gris); font-size: .8rem; }
.par { color: var(--gris); font-size: .85rem; }
.ligne-prix.grand .prix b { font-size: 1.5rem; }
.dispo { font-size: .8rem; font-weight: 700; }
.dispo.oui { color: var(--feuille-2); }
.dispo.peu { color: #A8661A; }
.dispo.bientot { color: var(--terre); }
.dispo.non { color: var(--gris); }

/* ---------- Fiche ---------- */
.fiche { display: grid; gap: 16px; }
@media (min-width: 760px) { .fiche { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; } }
.fiche-visuel { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--rayon); }
.desc { max-width: 60ch; }
.ajout { margin-top: 16px; display: grid; gap: 10px; }
.stepper { display: inline-flex; align-items: center; background: var(--papier); border: 1.5px solid var(--trait); border-radius: 999px; overflow: hidden; width: fit-content; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.4rem; color: var(--feuille); cursor: pointer; }
.stepper input { width: 58px; height: 44px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; background: none; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.st-unite { color: var(--gris); font-size: .85rem; padding-right: 4px; }

/* ---------- Panier et récapitulatif ---------- */
.panier { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.panier li { display: flex; gap: 12px; background: var(--papier); padding: 12px; border-radius: var(--rayon); box-shadow: var(--ombre); }
.panier li.souci { outline: 2px solid #F0C3BC; }
.vignette { width: 64px; height: 64px; flex: none; border-radius: 10px; object-fit: cover; }
.vignette.visuel-illu svg { width: 78%; }
.pl-corps { flex: 1; min-width: 0; }
.pl-tete { display: flex; justify-content: space-between; gap: 8px; }
.pl-bas { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.pl-bas .stepper button { width: 38px; height: 38px; }
.pl-bas .stepper input { height: 38px; width: 50px; }
.lien-suppr { border: 0; background: none; color: var(--gris); text-decoration: underline; cursor: pointer; font-size: .85rem; }
.recap { background: var(--papier); padding: 16px; border-radius: var(--rayon); box-shadow: var(--ombre); display: grid; gap: 10px; }
.recap-articles { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.recap-articles li, .recap-ligne { display: flex; justify-content: space-between; gap: 12px; }
.recap-articles li > span:last-child, .recap-ligne > :last-child { white-space: nowrap; }
.recap-ligne.total { font-size: 1.15rem; border-top: 1px solid var(--trait); padding-top: 10px; }

/* ---------- Commandes et suivi ---------- */
.liste-cmd { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.liste-cmd a { display: block; background: var(--papier); padding: 14px; border-radius: var(--rayon); box-shadow: var(--ombre); color: inherit; text-decoration: none; }
.lc-tete { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lc-total { margin: 0; font-weight: 800; }
.statut { font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.s-attente { background: #FCEFD8; color: #8A5300; }
.s-ok { background: #DDF0D4; color: var(--feuille); }
.s-fini { background: var(--feuille); color: #fff; }
.s-annule { background: #EEE; color: #666; }
.retrouver { background: var(--papier); border-radius: var(--rayon); padding: 12px 14px; }
.retrouver summary { font-weight: 700; cursor: pointer; color: var(--feuille); }
.retrouver form { margin-top: 12px; }

.succes { background: var(--feuille); color: #fff; padding: 16px; border-radius: var(--rayon); margin-bottom: 18px; }
.succes h2 { margin-bottom: .3em; }
.succes p { margin: 0; }
.suivi-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.suivi-tete h1 { margin: 0; }

/* Frise de suivi */
.frise { list-style: none; margin: 18px 0; padding: 0; }
.frise li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; color: var(--gris); }
.frise li:last-child { padding-bottom: 0; }
.frise li::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--trait); }
.frise li:last-child::before { display: none; }
.frise .pt { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--trait); background: var(--papier); position: relative; z-index: 1; }
.frise li.fait, .frise li.actuel { color: var(--encre); }
.frise li.fait .pt { background: var(--feuille-2); border-color: var(--feuille-2); }
.frise li.fait .pt::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.frise li.fait::before { background: var(--feuille-2); }
.frise li.actuel .pt { border-color: var(--feuille-2); box-shadow: 0 0 0 5px rgba(127, 181, 57, .3); background: var(--pousse); }
.frise small { display: block; color: var(--gris); font-size: .8rem; }
.annule-info { background: #F2F2F2; padding: 14px; border-radius: 12px; margin: 16px 0; }
.annule-info p { margin: 4px 0 0; }
.bloc-cmd { background: var(--papier); padding: 16px; border-radius: var(--rayon); box-shadow: var(--ombre); margin-bottom: 12px; }
.bloc-cmd h2 { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 1.05rem; }
.bloc-cmd .recap-articles { margin-bottom: 10px; }
.bloc-cmd .recap-ligne { margin-bottom: 6px; }
.reserve { font-size: .75rem; font-weight: 800; background: #DDF0D4; color: var(--feuille); padding: 3px 10px; border-radius: 999px; }
.paiement { margin: 10px 0 0; font-weight: 700; font-size: .9rem; }
.p-paye { color: var(--feuille-2); }
.p-a_verifier { color: #A8661A; }
.p-non_paye { color: var(--gris); }
.actions-cmd { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.vide { text-align: center; padding: 40px 16px; }
.vide p { color: var(--gris); max-width: 40ch; margin: 0 auto 18px; }
.contact { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.contact li { display: flex; justify-content: space-between; gap: 12px; background: var(--papier); padding: 12px 14px; border-radius: 12px; }
.contact span { color: var(--gris); }
.simple { padding-left: 20px; margin: 0 0 20px; }

/* ---------- Messages et boîtes ---------- */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--barre-h) + 14px + env(safe-area-inset-bottom));
  z-index: 50; max-width: calc(100% - 32px); width: max-content; padding: 12px 16px; border-radius: 12px;
  background: var(--encre); color: #fff; font-weight: 600; box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}
.toast.erreur { background: var(--tomate); }
.toast.info { background: var(--terre); }
body.mode-admin .toast { bottom: 20px; }
.dlg { border: 0; border-radius: 16px; padding: 20px; width: min(440px, calc(100% - 32px)); }
.dlg::backdrop { background: rgba(23, 34, 26, .45); }
.dlg-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; flex-wrap: wrap; }

/* ---------- Administration ---------- */
.adm { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.adm > * { min-width: 0; }
@media (min-width: 900px) { .adm { grid-template-columns: 210px minmax(0, 1fr); align-items: start; } }
.adm-menu { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 900px) { .adm-menu { flex-direction: column; position: sticky; top: 72px; } }
.adm-menu a { flex: none; padding: 9px 14px; border-radius: 10px; text-decoration: none; color: var(--encre); font-weight: 600; background: var(--papier); white-space: nowrap; }
.adm-menu a[aria-current] { background: var(--feuille); color: #fff; }
.adm-menu .compteur { background: var(--soleil); color: #3A2600; border-radius: 999px; padding: 0 7px; font-size: .75rem; margin-left: 6px; }
.adm-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.adm-tete h1 { margin: 0; font-size: 1.4rem; }
.panneau { background: var(--papier); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 16px; margin-bottom: 14px; }
.panneau h2 { font-size: 1.05rem; }
.chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
@media (min-width: 720px) { .chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.chiffre { background: var(--papier); border-radius: 12px; padding: 14px; box-shadow: var(--ombre); }
.chiffre b { display: block; font-size: 1.35rem; letter-spacing: -.02em; }
.chiffre span { color: var(--gris); font-size: .85rem; }
.chiffre.attention { background: #FCEFD8; }
.onglets { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; scrollbar-width: none; }
.table-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.table-liste > li { background: var(--papier); border-radius: 12px; padding: 12px 14px; box-shadow: var(--ombre); }
.tl-tete { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.tl-ligne { display: flex; gap: 12px; align-items: center; }
.tl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.stock-barre { height: 6px; border-radius: 3px; background: var(--brume); overflow: hidden; margin-top: 6px; display: flex; }
.stock-barre i { display: block; background: var(--pousse); }
.stock-barre i.res { background: var(--soleil); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--brume); color: var(--gris); }
.tag.rouge { background: #FBECEA; color: var(--tomate); }
.tag.vert { background: #DDF0D4; color: var(--feuille); }
.grille-form { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .grille-form { grid-template-columns: 1fr 1fr; } .grille-form .large { grid-column: 1 / -1; } }
.photo-zone { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.photo-zone .vignette { width: 96px; height: 96px; }
.barres-jour { display: flex; align-items: flex-end; gap: 4px; height: 120px; padding-top: 10px; }
.barres-jour div { flex: 1; background: var(--pousse); border-radius: 4px 4px 0 0; min-height: 2px; position: relative; }
.barres-jour div:hover::after { content: attr(data-t); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: var(--encre); color: #fff; font-size: .7rem; padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
.connexion { max-width: 380px; margin: 30px auto; }
table.simple-t { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.simple-t td, table.simple-t th { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--trait); }
table.simple-t td.n, table.simple-t th.n { text-align: right; }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  main { padding-top: 70px; }
  .barre { position: fixed; top: 57px; bottom: auto; height: auto; grid-template-columns: repeat(5, auto); justify-content: center; gap: 8px; border-top: 0; border-bottom: 1px solid var(--trait); padding: 6px; }
  .barre a { flex-direction: row; padding: 8px 14px; font-size: .9rem; border-radius: 10px; }
  .barre a[aria-current] { background: var(--brume); }
  .badge { position: static; margin-left: 2px; }
  .filtres { top: 112px; }
  .toast { bottom: 24px; }
  .hero { margin: 0 0 26px; border-radius: 20px; padding: 56px 40px; }
  section.champ { margin-left: 0; margin-right: 0; border-radius: 20px; padding: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .frise li.actuel .pt { animation: pulse 2s ease-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(127, 181, 57, .12); } }
}
