/* ═══════════════════════════════════════════════════════════════════
   MARCHÉ DES OFFRES — accueil public + détail d'une offre
   Refonte V7 (29/11/2026, maquette Claude Design « V7 · Ordinateur ») : en-tête à onglets et recherche en pilule,
   bloc catégories / vitrines / diaporama, bandeau confiance, rangées d'offres, pied de page vert.
   Couleurs validées : vert #017D0D, jaune #FFD22F, blanc, noir. Police : Poppins. Icônes : Tabler.
   Préfixe « mch- » : ces règles ne touchent aucune autre page.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --mch-vert: #017D0D;
  --mch-vert-fonce: #015F0A;
  --mch-jaune: #FFD22F;
  --mch-jaune-texte: #E5B800; /* « AKADY » sous le logo */
  --mch-encre: #0A3311;       /* texte principal */
  --mch-gris: #4A6650;        /* texte secondaire (contraste 6:1 sur blanc) */
  --mch-trait: #E3EEE4;       /* bordures */
  --mch-trait-fort: #DCE6DB;  /* bordure de la pilule et des boutons ronds */
  --mch-vert-pale: #EEF6EE;
  --mch-vert-gris: #F4F8F3;   /* fond des vitrines et des liens du volet */
  --mch-jaune-pale: #FFF7D6;
  --mch-pied-texte: #D9ECDA;  /* texte clair sur le pied vert */
  --mch-blanc: #FFFFFF;
  --mch-ombre-verte: 0 18px 34px -18px rgba(1, 125, 13, .5);
  --mch-largeur: 1400px;
}

/* ── Base ─────────────────────────────────────────────────────────── */
.mch-body {
  margin: 0;
  background: var(--mch-blanc);
  color: var(--mch-encre);
  font-family: 'Poppins', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.mch-body a { color: var(--mch-vert); }
.mch-body a:hover { color: var(--mch-vert-fonce); }
.mch-body button { font-family: inherit; cursor: pointer; }
.mch-body *, .mch-body *::before, .mch-body *::after { box-sizing: border-box; }
.mch-body h1, .mch-body h2, .mch-body h3 { margin: 0; }
/* Un élément marqué « hidden » reste caché même si sa classe lui donne un display (boutons montrés par le JavaScript). */
.mch-body [hidden] { display: none !important; }
.mch-largeur { max-width: var(--mch-largeur); margin: 0 auto; padding-left: 36px; padding-right: 36px; }
.mch-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mch-vert { color: var(--mch-vert); }
.mch-body :focus-visible { outline: 3px solid var(--mch-jaune); outline-offset: 2px; }

/* Rayure kente (tissu togolais) : vert, jaune, blanc. */
.mch-kente {
  display: block;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .28) 3px 4px),
    repeating-linear-gradient(90deg, var(--mch-vert) 0 26px, var(--mch-jaune) 26px 30px, var(--mch-vert) 30px 34px,
      #fff 34px 36px, var(--mch-jaune) 36px 52px, #fff 52px 54px, var(--mch-vert) 54px 58px, var(--mch-jaune) 58px 62px);
  background-size: auto, 62px 100%;
}
.mch-kente-fine { height: 4px; }
.mch-kente-pied { height: 6px; }
.mch-kente-bas, .mch-kente-banniere { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; }

/* Tache jaune derrière une icône (signature visuelle de la maquette). */
.mch-tache {
  position: absolute; inset: 12% 8% 8% 18%;
  background: var(--mch-jaune);
  border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%;
}

/* ── Boutons ──────────────────────────────────────────────────────── */
.mch-bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border: 0; border-radius: 24px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform .15s, background .2s;
}
.mch-bouton:hover { transform: translateY(-2px); }
.mch-bouton:active { transform: scale(.96); }
.mch-bouton i { font-size: 19px; }
.mch-body .mch-bouton-vert { background: var(--mch-vert); color: #fff; }
.mch-body .mch-bouton-vert:hover { background: var(--mch-vert-fonce); color: #fff; }
.mch-body .mch-bouton-jaune { background: var(--mch-jaune); color: var(--mch-encre); }
.mch-body .mch-bouton-jaune:hover { color: var(--mch-encre); }
.mch-bouton-grand { height: 58px; font-size: 17px; border-radius: 18px; }
.mch-bouton-large { width: 100%; }
.mch-bouton-petit { height: 44px; font-size: 14px; border-radius: 22px; margin-top: 4px; }

/* ── Logo (partials.marche_logo) ──────────────────────────────────── */
.mch-logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.mch-logo-marque { display: inline-flex; align-items: center; gap: 10px; }
.mch-logo-disque { flex: none; }
.mch-logo-point { transform-box: fill-box; transform-origin: center; animation: mch-signal 4s ease-in-out infinite; }
.mch-logo-point-2 { animation-delay: .2s; }
.mch-logo-point-3 { animation-delay: .35s; }
.mch-logo-mots { line-height: 1; }
.mch-logo-nom { font-size: 23px; letter-spacing: -.6px; }
.mch-logo-share { font-weight: 700; color: var(--mch-vert); }
.mch-logo-win { font-weight: 800; font-style: italic; color: var(--mch-jaune); }
.mch-logo-akady { display: block; text-align: right; font-size: 10px; font-weight: 600; letter-spacing: 2px; color: var(--mch-jaune-texte); margin-top: 2px; }
.mch-logo-marque-clair .mch-logo-share { color: #fff; }
.mch-logo-marque-clair .mch-logo-akady { color: var(--mch-jaune); }

/* ── En-tête ──────────────────────────────────────────────────────── */
.mch-entete {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(#fff 70%, #F7FBF6);
  border-bottom: 1px solid var(--mch-trait);
}
.mch-entete-dedans { max-width: var(--mch-largeur); margin: 0 auto; padding: 0 36px 16px; }
.mch-entete-ligne { position: relative; height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* Onglets au centre (inspiration « grand site de réservation ») : icône sur tache jaune, trait vert sous l'onglet actif. */
.mch-onglets {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  height: 80px; display: flex; align-items: center; gap: 30px;
}
.mch-onglet {
  display: flex; align-items: center; gap: 8px; height: 56px;
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.mch-body .mch-onglet { color: var(--mch-gris); }
.mch-body .mch-onglet[aria-current="page"] { color: var(--mch-encre); font-weight: 600; border-bottom-color: var(--mch-vert); }
.mch-onglet-icone { position: relative; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.mch-onglet-icone i { position: relative; font-size: 24px; color: var(--mch-vert); transition: transform .5s cubic-bezier(.2, 1.6, .4, 1); }
.mch-onglet:hover .mch-onglet-icone i { transform: rotate(-10deg) scale(1.15) translateY(-3px); }
.mch-onglet[aria-current="page"] .mch-onglet-icone i { animation: mch-agite .9s cubic-bezier(.2, 1.6, .4, 1) .3s; }

.mch-entete-actions { display: flex; align-items: center; gap: 6px; }
.mch-lien-entete {
  height: 44px; padding: 0 14px; border-radius: 22px;
  display: flex; align-items: center; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.mch-body .mch-lien-entete { color: var(--mch-encre); }
.mch-lien-entete:hover { background: var(--mch-vert-pale); }
.mch-rond-pale {
  width: 44px; height: 44px; border: 0; border-radius: 22px;
  background: var(--mch-vert-pale); color: var(--mch-vert); font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Sélecteur de langue commun (partials.selecteur_langue) : ici, toujours le bouton rond compact « FR / EN »
   (comme la maquette), même sur ordinateur ; la proposition « Switch to English » laisse la place à l'en-tête. */
.mch-langue { display: flex; align-items: center; }
.mch-langue .sw-langue { display: none; }
.mch-langue .sw-langue-compact { display: inline-flex; }
.mch-body .sw-langue-suggestion { display: none; }
.mch-langue .sw-langue-compact-btn { min-height: 44px; border-radius: 22px; border-color: transparent; background: var(--mch-vert-pale); color: var(--mch-vert); }

/* Menu et connexion : <details> (s'ouvre sans JavaScript). */
.mch-menu { position: relative; }
.mch-menu-bouton {
  height: 46px; padding: 0 6px 0 14px; border-radius: 23px; border: 1px solid var(--mch-trait-fort); background: #fff;
  color: var(--mch-encre); display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none;
  box-shadow: 0 1px 2px rgba(1, 125, 13, .08); font-size: 18px;
}
.mch-menu-bouton::-webkit-details-marker { display: none; }
.mch-menu[open] .mch-menu-bouton, .mch-menu-bouton:hover { box-shadow: 0 4px 12px rgba(1, 125, 13, .18); }
.mch-menu-avatar {
  width: 34px; height: 34px; border-radius: 17px; background: var(--mch-vert); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
}
.mch-menu-liste {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: 270px;
  background: #fff; border: 1px solid var(--mch-trait); border-radius: 18px; padding: 8px;
  box-shadow: 0 20px 40px -20px rgba(1, 125, 13, .45);
  display: flex; flex-direction: column;
}
.mch-menu-liste a {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 12px;
  font-size: 14px; text-decoration: none;
}
.mch-body .mch-menu-liste a { color: var(--mch-encre); }
.mch-menu-liste a:hover { background: var(--mch-vert-pale); }
.mch-menu-liste i { font-size: 20px; color: var(--mch-vert); }
.mch-menu-fort { font-weight: 600; }
.mch-menu-trait { height: 1px; background: var(--mch-trait); margin: 6px 4px; }

/* Recherche en pilule : Quoi / Où / Budget, micro, bouton qui s'élargit au survol. */
.mch-pilule-recherche {
  width: 860px; max-width: 100%; margin: 2px auto 0; height: 66px; border-radius: 33px;
  border: 1px solid var(--mch-trait-fort); background: #fff; box-shadow: 0 6px 20px -8px rgba(1, 125, 13, .25);
  display: flex; align-items: center; transform-origin: center top;
}
.mch-segment-recherche {
  flex: 1; min-width: 0; height: 100%; border-radius: 33px; padding: 0 24px;
  display: flex; flex-direction: column; justify-content: center; cursor: text; transition: background .2s;
}
.mch-segment-recherche:first-child { flex: 1.3; padding-left: 28px; }
.mch-segment-recherche:hover { background: var(--mch-vert-pale); }
.mch-segment-recherche:focus-within { background: #fff; box-shadow: inset 0 0 0 2px var(--mch-vert); }
.mch-segment-titre { font-size: 12px; font-weight: 600; }
.mch-segment-recherche input {
  width: 100%; border: 0; outline: 0; background: transparent; padding: 0;
  font-family: inherit; font-size: 14px; color: var(--mch-encre);
}
.mch-segment-recherche input::placeholder { color: #5E7663; }
.mch-segment-recherche input:focus-visible { outline: none; } /* l'anneau est porté par le segment */
.mch-segment-trait { width: 1px; height: 32px; background: var(--mch-trait); flex: none; }
.mch-recherche-micro {
  width: 44px; height: 44px; flex: none; margin-right: 6px; border: 0; border-radius: 22px;
  background: var(--mch-jaune-pale); color: var(--mch-vert); font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center;
}
.mch-recherche-micro.est-ecoute { animation: mch-battement 1s ease-in-out infinite; }
.mch-recherche-go {
  width: 50px; height: 50px; flex: none; margin-right: 8px; border: 0; border-radius: 25px; overflow: hidden;
  background: var(--mch-vert); color: #fff; font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: width .3s cubic-bezier(.2, 1, .3, 1);
}
.mch-recherche-go i { font-size: 20px; }
.mch-recherche-go span { display: none; }
.mch-pilule-recherche:hover .mch-recherche-go, .mch-pilule-recherche:focus-within .mch-recherche-go { width: 132px; }
.mch-pilule-recherche:hover .mch-recherche-go span, .mch-pilule-recherche:focus-within .mch-recherche-go span { display: inline; }

/* Grand écran : en défilant, l'en-tête se réduit et la pilule remonte à la place des onglets
   (seulement si le navigateur sait animer au défilement ; sinon l'en-tête reste complet). */
@media (min-width: 1200px) {
  @supports (animation-timeline: scroll()) {
    .mch-entete { height: 168px; animation: mch-entete-reduit linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
    .mch-onglets { animation: mch-onglets-partent linear both; animation-timeline: scroll(root); animation-range: 0 90px; }
    .mch-pilule-recherche { animation: mch-pilule-monte linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
  }
}

/* ── Accueil façon grand marché en ligne (30/11/2026) ─────────────────
   Page gris très clair, cadres blancs : chaque partie se détache nettement. */
.mch-accueil { background: #F4F6F4; }
.mch-accueil .mch-entete { background: #fff; }

/* Haut de page : diaporama des annonces (2/3) | deux bannières (1/3). */
.mch-une { padding-top: 22px; }
.mch-une-grille {
  display: grid; gap: 10px; height: 320px;
  grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
.mch-une-cote { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.mch-cote {
  position: relative; overflow: hidden; border-radius: 16px; padding: 18px 20px;
  display: flex; align-items: center; gap: 12px; text-decoration: none; transition: transform .2s;
}
.mch-cote:hover { transform: translateY(-2px); }
.mch-body .mch-cote-jaune { background: var(--mch-jaune); color: var(--mch-encre); }
.mch-body .mch-cote-vert { background: var(--mch-vert); color: #fff; }
.mch-cote-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mch-cote-tag { align-self: flex-start; font-size: 11px; font-weight: 600; border-radius: 8px; padding: 3px 9px; background: #fff; color: var(--mch-vert); }
.mch-cote-titre { font-size: 19px; font-weight: 700; line-height: 1.15; letter-spacing: -.4px; }
.mch-cote-action { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.mch-cote-icone { position: relative; width: 84px; height: 84px; flex: none; display: flex; align-items: center; justify-content: center; }
.mch-cote-icone i { position: relative; font-size: 56px; color: var(--mch-vert); }
.mch-cote-jaune .mch-tache { background: #fff; }
.mch-cote-vert .mch-cote-icone i { color: #fff; }

/* Raccourcis : une icône, un mot. */
.mch-raccourcis {
  margin-top: 10px; background: #fff; border-radius: 16px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mch-raccourci {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 12px;
  font-size: 14px; font-weight: 500; text-decoration: none; transition: background .15s;
}
.mch-body .mch-raccourci { color: var(--mch-encre); }
.mch-raccourci:hover { background: var(--mch-vert-gris); }
.mch-raccourci + .mch-raccourci { border-left: 1px solid #EEF2EE; }
.mch-raccourci-icone { position: relative; width: 34px; height: 34px; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.mch-raccourci-icone i { position: relative; font-size: 21px; color: var(--mch-vert); }
.mch-raccourci:first-child { border-radius: 16px 0 0 16px; }
.mch-raccourci:last-child { border-radius: 0 16px 16px 0; }

/* Cadre blanc commun (catégories, rangée populaire, résultats). */
.mch-cadre { background: #fff; border-radius: 16px; padding: 18px 20px 20px; }
.mch-body .mch-cadre-titre {
  font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--mch-gris);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.mch-body .mch-cadre-titre-vert { color: var(--mch-vert); }
.mch-cadre-titre i { font-size: 20px; color: var(--mch-jaune-texte); }

/* Catégories : une image + un mot. Deux lignes qui défilent de côté s'il y a plus de catégories que de place. */
.mch-cats { padding-top: 16px; }
.mch-cats .mch-cadre { padding: 16px 0 0; }
.mch-cats .mch-cadre-titre { padding: 0 20px 12px; border-bottom: 1px solid #EEF2EE; }
/* Grand écran : 6 par ligne, lues de gauche à droite. Écran plus petit : deux lignes qui défilent de côté. */
.mch-cats-grille {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  scrollbar-width: thin; scrollbar-color: #C9D6CB transparent;
}
@media (max-width: 1199px) {
  .mch-cats-grille {
    grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(2, auto);
    grid-auto-columns: 118px; overflow-x: auto;
  }
}
.mch-cat {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px 14px; min-width: 0;
  text-align: center; text-decoration: none; border-right: 1px solid #EEF2EE; border-bottom: 1px solid #EEF2EE;
  transition: box-shadow .2s, transform .2s;
}
.mch-body .mch-cat { color: var(--mch-encre); }
.mch-cat:hover { position: relative; z-index: 1; box-shadow: 0 6px 20px -8px rgba(1, 125, 13, .35); transform: translateY(-1px); }
.mch-cat-image {
  width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: none;
  background: var(--mch-vert-gris); display: flex; align-items: center; justify-content: center;
}
.mch-cat-image img { width: 100%; height: 100%; object-fit: cover; }
.mch-cat-image i { font-size: 42px; color: var(--mch-vert); }
.mch-cat-nom {
  font-size: 13px; line-height: 1.3; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mch-cat-total { font-size: 11px; font-weight: 600; color: var(--mch-vert); }

/* Diaporama : une piste qui glisse (au doigt sans JavaScript, seule avec). */
.mch-diapo { position: relative; min-width: 0; height: 100%; border-radius: 16px; overflow: hidden; background: var(--mch-vert-pale); }
.mch-banniere.mch-banniere-image { padding: 0; background: var(--mch-vert-pale); }
.mch-pub { display: block; width: 100%; height: 100%; }
.mch-pub img, .mch-pub video { display: block; width: 100%; height: 100%; object-fit: cover; }
.mch-diapo-piste {
  display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.mch-diapo-piste::-webkit-scrollbar { display: none; }
.mch-banniere {
  flex: 0 0 100%; height: 100%; position: relative; scroll-snap-align: start;
  display: flex; gap: 12px; padding: 26px 26px 46px;
}
.mch-banniere-vert { background: var(--mch-vert); color: #fff; }
.mch-banniere-jaune { background: var(--mch-jaune); color: var(--mch-encre); }
.mch-banniere-pale { background: var(--mch-vert-pale); color: var(--mch-encre); }
.mch-banniere-texte { flex: 1; min-width: 0; position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.mch-banniere-tag { align-self: flex-start; font-size: 12px; font-weight: 600; border-radius: 9px; padding: 4px 10px; background: var(--mch-jaune); color: var(--mch-encre); }
.mch-banniere-jaune .mch-banniere-tag { background: var(--mch-vert); color: #fff; }
.mch-banniere-titre {
  font-size: 27px; font-weight: 700; line-height: 1.12; letter-spacing: -.6px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mch-banniere-sous { margin: 0; font-size: 13px; opacity: .9; }
.mch-banniere-bouton {
  align-self: flex-start; margin-top: 4px; height: 44px; padding: 0 20px; border-radius: 22px;
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap;
  transition: transform .15s;
}
.mch-banniere-bouton:hover { transform: translateY(-2px); }
.mch-body .mch-banniere-vert .mch-banniere-bouton { background: #fff; color: var(--mch-vert); }
.mch-body .mch-banniere-jaune .mch-banniere-bouton,
.mch-body .mch-banniere-pale .mch-banniere-bouton { background: var(--mch-vert); color: #fff; }
.mch-banniere-visuel { width: 130px; flex: none; display: flex; align-items: center; justify-content: center; }
.mch-banniere-visuel img { width: 130px; height: 130px; object-fit: cover; border-radius: 24px; }
.mch-banniere-icone { position: relative; width: 130px; height: 130px; display: flex; align-items: center; justify-content: center; }
.mch-banniere-icone i { position: relative; font-size: 92px; color: var(--mch-vert); }
.mch-banniere-vert .mch-banniere-icone i { color: #fff; }
.mch-banniere-jaune .mch-tache { background: #fff; }
/* Offre exclusive avec photo (01/12/2026, v3 façon affiche de grande plateforme).
   Tout le cadre est une affiche : fond vert ShareWin en dégradé, halos jaunes et petits points décoratifs.
   La photo est ENTIÈRE (jamais recadrée ni recouverte), posée dans un cadre blanc légèrement incliné,
   avec le prix en pastille jaune. À gauche : l'étiquette, le titre en grand, le vendeur et le bouton. */
.mch-banniere-photo {
  overflow: hidden; isolation: isolate; color: #fff;
  background:
    radial-gradient(circle at 78% 50%, rgba(255, 210, 47, .38) 0, rgba(255, 210, 47, 0) 42%),
    radial-gradient(circle at 8% 110%, rgba(255, 210, 47, .22) 0, rgba(255, 210, 47, 0) 35%),
    linear-gradient(120deg, #015A0A 0%, var(--mch-vert) 48%, #02A314 100%);
}
/* Points décoratifs (confettis discrets) : uniquement sur le fond, jamais sur la photo. */
.mch-une-decor {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .55) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 55%);
          mask-image: linear-gradient(100deg, #000 0%, transparent 55%);
}
.mch-une-affiche {
  position: absolute; top: 18px; bottom: 30px; right: 4%; width: 46%; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.mch-une-nette {
  display: block; max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; width: auto; height: auto; object-fit: contain;
  box-sizing: border-box; border: 7px solid #fff; border-radius: 18px; background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .32), 0 0 0 1px rgba(0, 0, 0, .04);
  transform: rotate(-2deg);
  /* Rendu soigné : contraste et couleurs légèrement relevés, lissage de qualité au redimensionnement. */
  filter: contrast(1.04) saturate(1.06);
  image-rendering: -webkit-optimize-contrast;
}
.mch-une-prix {
  position: absolute; top: 2px; right: 0; z-index: 2;
  padding: 8px 14px; border-radius: 14px; transform: rotate(6deg);
  background: var(--mch-jaune); color: var(--mch-encre);
  font-size: 18px; font-weight: 800; letter-spacing: -.3px; white-space: nowrap;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .25);
}
.mch-banniere-photo .mch-banniere-texte { max-width: calc(50% - 30px); }
.mch-banniere-photo .mch-banniere-titre { color: #fff; font-size: 34px; font-weight: 800; letter-spacing: -.8px; }
.mch-banniere-photo .mch-banniere-sous { color: #fff; opacity: .9; }
.mch-body .mch-banniere-photo .mch-banniere-bouton { background: var(--mch-jaune); color: var(--mch-encre); box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }

/* Étiquette « Exclusivité ShareWin » : pastille blanche, éclat vert, comme les grandes plateformes. */
.mch-banniere-tag.mch-tag-une {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; white-space: nowrap;
  background: #fff; color: var(--mch-vert);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.mch-tag-une i { font-size: 14px; color: #E0A800; }

.mch-diapo-fleche {
  /* En bas, de part et d'autre des points : ne cache jamais le texte de la bannière. */
  position: absolute; bottom: 10px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 18px;
  background: rgba(255, 255, 255, .9); color: var(--mch-vert); font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center;
}
.mch-diapo-fleche-g { left: 8px; }
.mch-diapo-fleche-d { right: 8px; }
.mch-diapo-points { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.mch-diapo-point {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px;
  background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(1, 125, 13, .25); transition: width .3s, background .3s;
}
.mch-diapo-point.est-actif { width: 26px; background: #fff; }

/* ── Rangées d'offres ─────────────────────────────────────────────── */
.mch-rangees { padding-top: 16px; display: flex; flex-direction: column; gap: 16px; }
.mch-rangee, .mch-resultats { display: flex; flex-direction: column; gap: 14px; }
.mch-rangee-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mch-titre-section { font-size: 23px; font-weight: 700; letter-spacing: -.5px; }
.mch-titre-detail { font-size: 18px; font-weight: 500; color: var(--mch-gris); }
.mch-lien-fort { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.mch-vide { color: var(--mch-gris); margin: 0; }
.mch-rangee-fleches { display: flex; gap: 8px; }
.mch-fleche {
  width: 40px; height: 40px; border: 1px solid var(--mch-trait-fort); border-radius: 20px; background: #fff;
  color: var(--mch-vert); font-size: 18px; display: inline-flex; align-items: center; justify-content: center;
}
.mch-fleche:disabled { color: #B9CBBB; cursor: default; }
/* Piste horizontale : 5 cartes visibles sur grand écran ; glisse au doigt ou avec les flèches. */
.mch-rangee-piste {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  margin: 0 -4px; padding: 4px 4px 6px;
}
.mch-rangee-piste::-webkit-scrollbar { display: none; }
.mch-rangee-piste > .mch-carte { flex: 0 0 calc((100% - 50px) / 6); scroll-snap-align: start; }
.mch-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
/* « À découvrir aujourd'hui » : titre sur bandeau blanc, souligné de vert, puis la grille. */
.mch-decouvrir { display: flex; flex-direction: column; gap: 12px; }
.mch-body .mch-decouvrir-titre {
  background: #fff; border-radius: 16px 16px 0 0; border-bottom: 4px solid var(--mch-vert); padding: 14px;
  text-align: center; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--mch-vert);
}

/* ── Carte d'une offre (façon grand marché, 30/11/2026) ───────────────
   Fond blanc, bord fin, photo carrée qui remplit tout le haut (object-fit: cover), nom sur 2 lignes, prix en vert.
   Au survol : bord vert et légère ombre. */
.mch-carte {
  position: relative; min-width: 0; background: #fff; border: 1px solid #E9EEE9; border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.mch-carte:hover { border-color: var(--mch-vert); box-shadow: 0 8px 22px -12px rgba(1, 125, 13, .45); transform: translateY(-2px); }
.mch-carte-photo { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.mch-defile { display: flex; height: 100%; transition: transform .7s cubic-bezier(.7, 0, .2, 1); }
.mch-defile img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.mch-points { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; }
.mch-points span { height: 6px; width: 6px; border-radius: 3px; background: rgba(255, 255, 255, .75); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); transition: width .3s, background .3s; }
.mch-points span.est-actif { width: 18px; background: #fff; }
.mch-sans-photo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--mch-vert-gris); }
.mch-sans-photo .mch-tache { inset: 26% 28% 22% 34%; }
.mch-sans-photo i { position: relative; font-size: 70px; color: var(--mch-vert); }
.mch-sans-photo-grand i { font-size: 130px; }
.mch-badge-verifiee {
  position: absolute; top: 8px; left: 8px; background: #fff; color: var(--mch-vert);
  font-size: 11px; font-weight: 600; border-radius: 6px; padding: 3px 7px 3px 5px;
  display: flex; align-items: center; gap: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
.mch-badge-verifiee i { font-size: 14px; }
/* Remise pour le client : étiquette jaune en haut à droite de la photo. */
.mch-badge-remise {
  position: absolute; top: 0; right: 0; background: var(--mch-jaune); color: var(--mch-encre);
  font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 0 0 0 10px;
}
.mch-ecouter-rond {
  position: absolute; bottom: 8px; right: 8px; z-index: 2;
  width: 36px; height: 36px; border: 0; border-radius: 18px; background: rgba(255, 255, 255, .94); color: var(--mch-vert); font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
/* Haut de la carte : la photo (lien) et le bouton « écouter » posé dessus. */
.mch-carte-haut { position: relative; }
.mch-carte-corps { padding: 8px 10px 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.mch-carte-nom {
  font-weight: 500; font-size: 14px; line-height: 1.35; min-height: 2.7em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mch-body .mch-carte-nom a { color: var(--mch-encre); text-decoration: none; }
.mch-carte-vendeur { font-size: 12px; color: var(--mch-gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mch-carte-ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 6px; margin-top: auto; }
.mch-carte-prix { font-size: 17px; font-weight: 700; white-space: nowrap; color: var(--mch-vert); }
.mch-pastille-commission { background: var(--mch-jaune); color: var(--mch-vert); border-radius: 6px; padding: 2px 7px; font-size: 11px; font-weight: 700; }
.mch-pastille-verrou {
  background: var(--mch-jaune-pale); border-radius: 6px; padding: 2px 7px; font-size: 11px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 3px; text-decoration: none;
}
.mch-body .mch-pastille-verrou { color: var(--mch-encre); }
.mch-pastille-verrou i { font-size: 12px; }
.mch-carte-remise { font-size: 11.5px; color: var(--mch-gris); }
.mch-carte-remise b { color: var(--mch-encre); }

/* Carte de fin de rangée : d'autres entreprises arrivent. */
.mch-carte-arrivent {
  background: var(--mch-vert-pale); border-color: transparent; padding: 24px 20px;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
.mch-carte-arrivent:hover { transform: none; box-shadow: none; }
.mch-carte-arrivent .mch-bouton { padding: 0 12px; font-size: 14px; }
.mch-carte-arrivent h3 { font-size: 19px; font-weight: 700; letter-spacing: -.4px; }
.mch-carte-arrivent p { margin: 0; color: var(--mch-gris); font-size: 14px; line-height: 1.5; }
.mch-carte-arrivent-icone {
  width: 56px; height: 56px; border-radius: 18px; background: var(--mch-vert); color: var(--mch-jaune);
  display: inline-flex; align-items: center; justify-content: center; font-size: 30px;
}

/* ── Deux publics ─────────────────────────────────────────────────── */
.mch-publics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mch-public { position: relative; overflow: hidden; border-radius: 28px; padding: 30px 32px; display: flex; align-items: center; gap: 24px; }
.mch-public-vert { background: var(--mch-vert); color: #fff; }
.mch-public-jaune { background: var(--mch-jaune); color: var(--mch-encre); }
.mch-public-texte { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.mch-public h2 { font-size: 26px; font-weight: 700; letter-spacing: -.5px; line-height: 1.15; }
.mch-public p { margin: 0; font-size: 14px; }
.mch-public-vert p { opacity: .9; }
.mch-public .mch-bouton { margin-top: 4px; }
.mch-public-visuel { flex: none; display: flex; }
.mch-public-rond {
  width: 120px; height: 120px; flex: none; border-radius: 60px; background: #fff; color: var(--mch-vert);
  display: inline-flex; align-items: center; justify-content: center; font-size: 60px;
}

/* ── Pied de page vert ────────────────────────────────────────────── */
.mch-pied { margin-top: 64px; background: var(--mch-vert); color: #fff; }
.mch-pied-dedans {
  max-width: var(--mch-largeur); margin: 0 auto; padding: 44px 36px 28px;
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px;
}
.mch-pied-marque { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.mch-pied-texte { margin: 0; max-width: 330px; font-size: 14px; line-height: 1.6; color: var(--mch-pied-texte); }
.mch-body .mch-pied-petit { font-size: 12px; color: var(--mch-pied-texte); }
.mch-pied-colonne { display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-style: normal; }
.mch-body .mch-pied-titre { font-weight: 700; font-size: 15px; color: var(--mch-jaune); margin-bottom: 4px; }
.mch-body .mch-pied-colonne a { color: #fff; text-decoration: none; }
.mch-body .mch-pied-colonne a:hover { text-decoration: underline; }
.mch-pied-contact { gap: 12px; }
.mch-contact { display: flex; align-items: center; gap: 10px; }
.mch-contact-rond {
  width: 36px; height: 36px; flex: none; border-radius: 18px; background: rgba(255, 255, 255, .14);
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
}
.mch-contact-rond-jaune { background: var(--mch-jaune); color: var(--mch-vert); }
.mch-contact-titre { display: block; font-size: 12px; color: var(--mch-pied-texte); }
.mch-pied-bas { border-top: 1px solid rgba(255, 255, 255, .18); }
.mch-pied-bas-dedans {
  max-width: var(--mch-largeur); margin: 0 auto; padding: 16px 36px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 12px; color: var(--mch-pied-texte);
}
.mch-pied-reseaux { display: flex; gap: 16px; }
.mch-body .mch-pied-reseaux a { color: var(--mch-pied-texte); }
.mch-body .mch-pied-reseaux a:hover { color: #fff; }

/* Barre d'actions du téléphone : cachée sur ordinateur. */
.mch-barre-mobile { display: none; }

/* ── Détail d'une offre (inchangé depuis la V6) ───────────────────── */
.mch-offre { padding-top: 28px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.mch-galerie { position: relative; height: 520px; border-radius: 30px; overflow: hidden; background: var(--mch-vert-pale); }
.mch-galerie-bande { display: flex; height: 100%; transition: transform .7s cubic-bezier(.7, 0, .2, 1); }
.mch-galerie-bande img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.mch-galerie-segments { position: absolute; top: 12px; left: 14px; right: 14px; display: flex; gap: 5px; }
.mch-segment { flex: 1; height: 22px; border: 0; background: transparent; padding: 8px 0; }
.mch-segment span { display: block; height: 5px; border-radius: 3px; background: var(--mch-trait); overflow: hidden; position: relative; }
.mch-segment span::after {
  content: ''; position: absolute; inset: 0; background: var(--mch-vert);
  transform: scaleX(0); transform-origin: left;
}
.mch-segment.est-fait span::after { transform: scaleX(1); }
.mch-segment.est-actif span::after { animation: mch-barre var(--mch-duree, 3.2s) linear both; }
.mch-segment-blanc span { background: rgba(255, 255, 255, .55); height: 4px; }
.mch-segment-blanc span::after { background: #fff; }
.mch-galerie-fleche {
  position: absolute; top: calc(50% - 21px); width: 42px; height: 42px; border: 0; border-radius: 21px;
  background: rgba(255, 255, 255, .9); color: var(--mch-vert); font-size: 22px;
  display: inline-flex; align-items: center; justify-content: center;
}
.mch-galerie-fleche-g { left: 12px; }
.mch-galerie-fleche-d { right: 12px; }
.mch-galerie-compte { position: absolute; right: 14px; bottom: 22px; background: #fff; border-radius: 10px; padding: 4px 10px; font-size: 12px; font-weight: 600; color: var(--mch-vert); }
.mch-galerie-retour, .mch-galerie-ecouter {
  position: absolute; top: 36px; height: 46px; border: 0; border-radius: 23px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-size: 22px;
}
.mch-body .mch-galerie-retour { left: 14px; width: 46px; background: #fff; color: var(--mch-vert); }
.mch-galerie-ecouter { right: 14px; padding: 0 16px; background: var(--mch-jaune); color: var(--mch-vert); font-weight: 600; font-size: 14px; }
.mch-galerie-ecouter i { font-size: 20px; }
.mch-offre-infos { display: flex; flex-direction: column; gap: 16px; }
.mch-offre-nom { font-size: 34px; font-weight: 700; letter-spacing: -.8px; line-height: 1.15; }
.mch-offre-lieu { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; font-size: 14px; color: var(--mch-gris); }
.mch-offre-lieu span { display: flex; align-items: center; gap: 4px; }
.mch-offre-description { margin: 0; font-size: 15px; line-height: 1.6; color: var(--mch-encre); white-space: pre-line; }
.mch-vendeur { border: 1.5px solid var(--mch-trait); border-radius: 22px; overflow: hidden; }
.mch-vendeur-tete { padding: 14px; display: flex; align-items: center; gap: 12px; }
.mch-vendeur-initiale {
  width: 52px; height: 52px; border-radius: 18px; background: var(--mch-vert); color: var(--mch-jaune);
  font-weight: 700; font-size: 21px; display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.mch-vendeur-nom { font-weight: 600; font-size: 16px; }
.mch-vendeur-verifiee { font-size: 13px; color: var(--mch-vert); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.mch-vendeur-note { margin: 0; padding: 0 14px 12px; font-size: 12px; color: var(--mch-gris); }
.mch-vendeur-chiffres { display: flex; border-top: 1.5px solid var(--mch-trait); }
.mch-vendeur-chiffres div { flex: 1; padding: 12px 14px; display: flex; flex-direction: column; }
.mch-vendeur-chiffres div + div { border-left: 1.5px solid var(--mch-trait); }
.mch-vendeur-chiffres b { font-size: 22px; font-weight: 700; }
.mch-vendeur-chiffres span { font-size: 12px; color: var(--mch-gris); }
.mch-prix { border: 1.5px solid var(--mch-trait); border-radius: 22px; overflow: hidden; }
.mch-prix-ligne { padding: 10px 14px; display: flex; justify-content: space-between; font-size: 15px; animation: mch-ligne .5s cubic-bezier(.2, .8, .2, 1) both; }
.mch-prix-ligne span:first-child { color: var(--mch-gris); }
.mch-prix-ligne:nth-child(2) { animation-delay: .15s; }
.mch-prix-ligne:nth-child(3) { animation-delay: .3s; }
.mch-prix-ligne-pale { background: var(--mch-vert-pale); font-size: 16px; padding: 12px 14px; }
.mch-prix-commission { padding: 16px 14px; display: flex; justify-content: space-between; align-items: center; background: var(--mch-jaune); }
.mch-prix-commission-titre { font-weight: 600; }
.mch-prix-commission-note { font-size: 12px; }
.mch-prix-commission-montant { font-size: 32px; font-weight: 800; letter-spacing: -1px; color: var(--mch-vert); animation: mch-pop .8s cubic-bezier(.2, 1.6, .4, 1) .6s both; }
.mch-prix-verrou {
  padding: 14px; display: flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--mch-jaune-pale); border-top: 1.5px dashed #E9D27A;
}
.mch-body .mch-prix-verrou { color: var(--mch-encre); }
.mch-prix-verrou i { font-size: 20px; color: var(--mch-vert); }
.mch-prix-verrou span { flex: 1; font-size: 14px; }
.mch-prix-verrou b { color: var(--mch-vert); }
.mch-offre-actions { display: flex; flex-direction: column; gap: 10px; }
.mch-offre-actions .mch-bouton-grand { border-radius: 18px; }
.mch-offre-deja { margin: 0; text-align: center; font-size: 14px; color: var(--mch-gris); }

/* Bouton « Écouter » pendant la lecture. */
.mch-body .est-lecture { background: var(--mch-vert); color: #fff; }

/* Message bref (lien copié). */
.mch-message {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 50;
  max-width: calc(100% - 32px); background: var(--mch-encre); color: #fff;
  font-size: 14px; padding: 12px 18px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

/* ── Animations ───────────────────────────────────────────────────── */
@keyframes mch-barre { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes mch-ligne { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes mch-pop { from { opacity: 0; transform: scale(.5) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes mch-battement { 50% { transform: scale(1.12); } }
@keyframes mch-signal { 0%, 10%, 100% { transform: none; } 5% { transform: scale(1.3); } }
@keyframes mch-agite { 30% { transform: rotate(-12deg) scale(1.15); } 60% { transform: rotate(8deg); } }
@keyframes mch-entete-reduit { to { height: 84px; } }
@keyframes mch-onglets-partent { to { opacity: 0; transform: translateX(-50%) translateY(-16px) scale(.9); visibility: hidden; } }
@keyframes mch-pilule-monte { to { transform: translateY(-82px) scale(.62); } }
/* Apparition au défilement : seulement si le navigateur sait le faire (sinon tout reste visible). */
@supports (animation-timeline: view()) {
  .mch-apparait { animation: mch-vient linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
  @keyframes mch-vient { from { opacity: .2; transform: translateY(50px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .mch-body *, .mch-body *::before, .mch-body *::after { animation: none !important; transition: none !important; }
  .mch-rangee-piste { scroll-behavior: auto; }
}

/* ═══ ÉCRANS MOYENS ═════════════════════════════════════════════════ */
@media (max-width: 1299px) {
  .mch-lien-entete { display: none; } /* reste dans le menu, la bannière et la barre du bas */
}
@media (max-width: 1199px) {
  .mch-rangee-piste > .mch-carte { flex-basis: calc((100% - 54px) / 4); }
  .mch-rangee-piste > .mch-carte { flex-basis: calc((100% - 40px) / 5); }
  .mch-cote-titre { font-size: 17px; }
  .mch-cote-icone { width: 64px; height: 64px; }
  .mch-cote-icone i { font-size: 44px; }
}
@media (max-width: 980px) {
  /* Les onglets passent sous le logo. */
  .mch-entete-ligne { height: auto; flex-wrap: wrap; padding: 10px 0 4px; row-gap: 4px; }
  .mch-onglets { position: static; transform: none; order: 3; width: 100%; height: auto; justify-content: center; }
  .mch-onglet { height: 48px; }
  .mch-une-grille { grid-template-columns: minmax(0, 1fr); height: auto; grid-template-rows: auto; }
  .mch-diapo { height: 280px; }
  .mch-une-cote { grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mch-rangee-piste > .mch-carte { flex-basis: calc((100% - 36px) / 3); }
  .mch-publics { grid-template-columns: 1fr; }
  .mch-pied-dedans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ═══ TÉLÉPHONE ═════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  .mch-largeur { padding-left: 14px; padding-right: 14px; }

  /* En-tête */
  .mch-entete { position: static; background: #fff; }
  .mch-entete-dedans { padding: 0 14px 12px; }
  .mch-entete-ligne { padding: 8px 0 0; gap: 8px; }
  .mch-logo-disque { width: 38px; height: 38px; }
  .mch-logo-nom { font-size: 19px; }
  .mch-logo-akady { font-size: 9px; }
  .mch-entete-actions { gap: 4px; }
  .mch-menu-bouton { height: 44px; padding: 0 4px 0 10px; gap: 6px; }
  .mch-menu-avatar { width: 32px; height: 32px; }
  .mch-onglets { justify-content: space-between; gap: 0; }
  .mch-onglet { height: 46px; font-size: 13px; gap: 4px; }
  .mch-onglet-icone { width: 30px; height: 30px; }
  .mch-onglet-icone i { font-size: 19px; }
  .mch-pilule-recherche { height: 56px; margin-top: 6px; border-radius: 28px; }
  .mch-segment-option { display: none; } /* téléphone : « Quoi » seulement (Où et Budget restent dans l'adresse) */
  .mch-segment-recherche:first-child { padding-left: 20px; border-radius: 28px; }
  .mch-segment-titre { font-size: 11px; }
  .mch-recherche-micro { width: 40px; height: 40px; }
  .mch-recherche-go { width: 44px; height: 44px; margin-right: 6px; border-radius: 22px; }
  .mch-pilule-recherche:hover .mch-recherche-go, .mch-pilule-recherche:focus-within .mch-recherche-go { width: 44px; }
  .mch-pilule-recherche:hover .mch-recherche-go span, .mch-pilule-recherche:focus-within .mch-recherche-go span { display: none; }

  /* Haut de page : diaporama, puis les deux bannières côte à côte ; raccourcis en 2 × 2. */
  .mch-une { padding-top: 12px; }
  .mch-une-cote { gap: 8px; }
  .mch-cote { padding: 12px; border-radius: 14px; }
  .mch-cote-titre { font-size: 14px; }
  .mch-cote-tag, .mch-cote-icone { display: none; }
  .mch-cote-action { font-size: 12px; }
  .mch-raccourcis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mch-raccourci { justify-content: flex-start; padding: 10px 12px; font-size: 12.5px; }
  .mch-raccourci + .mch-raccourci { border-left: 0; }
  .mch-raccourci:nth-child(even) { border-left: 1px solid #EEF2EE; }
  .mch-raccourci:nth-child(n + 3) { border-top: 1px solid #EEF2EE; }
  .mch-raccourci:first-child, .mch-raccourci:last-child { border-radius: 0; }
  /* Catégories : deux lignes qui défilent au doigt, comme dans les applications de vente. */
  .mch-cats { padding-top: 10px; }
  .mch-cats-grille { grid-auto-columns: 92px; scrollbar-width: none; }
  .mch-cats-grille::-webkit-scrollbar { display: none; }
  .mch-cat { padding: 12px 4px 10px; gap: 6px; }
  .mch-cat-image { width: 60px; height: 60px; }
  .mch-cat-image i { font-size: 30px; }
  .mch-cat-nom { font-size: 11.5px; }
  .mch-cat-total { display: none; }
  .mch-cadre { padding: 14px 12px 14px; border-radius: 14px; }
  .mch-diapo { height: 230px; border-radius: 20px; }
  .mch-banniere { padding: 20px 18px 34px; }
  .mch-banniere-titre { font-size: 20px; letter-spacing: -.4px; }
  /* Téléphone : même affiche, photo entière à droite, cadre et prix plus petits. */
  .mch-une-affiche { top: 14px; bottom: 28px; right: 3%; width: 46%; }
  .mch-une-nette { border-width: 4px; border-radius: 12px; }
  .mch-une-prix { font-size: 13px; padding: 5px 9px; border-radius: 10px; }
  .mch-banniere-photo .mch-banniere-texte { max-width: calc(52% - 16px); }
  .mch-banniere-photo .mch-banniere-titre { font-size: 19px; -webkit-line-clamp: 3; }
  .mch-banniere-photo .mch-banniere-sous { font-size: 12px; }
  .mch-banniere-photo .mch-banniere-bouton { height: 38px; padding: 0 14px; font-size: 13px; }
  .mch-banniere-tag.mch-tag-une { font-size: 9.5px; padding: 5px 8px 5px 7px; letter-spacing: .2px; }
  .mch-banniere-visuel, .mch-banniere-visuel img, .mch-banniere-icone { width: 92px; height: 92px; }
  .mch-banniere-visuel { height: auto; }
  .mch-banniere-icone i { font-size: 60px; }
  .mch-diapo-fleche { display: none; }

  .mch-rangees { padding-top: 10px; gap: 10px; }
  .mch-titre-section { font-size: 19px; }
  .mch-titre-detail { font-size: 15px; }
  .mch-rangee-fleches { display: none; } /* au doigt sur téléphone */
  .mch-rangee-piste { gap: 8px; margin: 0 -12px; padding: 4px 12px 6px; scroll-padding: 0 12px; }
  .mch-rangee-piste > .mch-carte { flex-basis: 42%; }
  .mch-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mch-carte:hover { transform: none; box-shadow: none; }

  /* Deux publics */
  .mch-public { border-radius: 24px; padding: 22px 20px 30px; gap: 14px; }
  .mch-public h2 { font-size: 21px; }
  .mch-public h2 br { display: none; }
  .mch-public .mch-bouton { display: none; } /* remplacés par la barre du bas */
  .mch-public-visuel .mch-logo-disque, .mch-public-rond { width: 72px; height: 72px; }
  .mch-public-rond { font-size: 36px; }

  /* Pied */
  .mch-pied { margin-top: 32px; }
  .mch-pied-dedans { grid-template-columns: 1fr; padding: 28px 14px 20px; gap: 26px; }
  .mch-pied-bas-dedans { padding: 14px 14px 100px; justify-content: center; text-align: center; }

  .mch-barre-mobile {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--mch-trait); padding: 10px 14px 16px;
  }
  .mch-barre-mobile .mch-bouton { flex: 1; height: 54px; font-size: 13px; padding: 0 10px; border-radius: 16px; }
  /* La carte « Installer ShareWin » (partials.pwa) se place au-dessus de la barre au lieu de la cacher. */
  .mch-body #pwa-install-bar { bottom: 92px; }

  /* Détail d'une offre */
  .mch-body-offre .mch-entete { display: none; }
  .mch-offre { display: block; padding-top: 0; }
  .mch-galerie { height: 330px; border-radius: 0; margin: 0 -14px; }
  .mch-offre-infos { padding-top: 18px; }
  .mch-offre-nom { font-size: 24px; letter-spacing: -.6px; }
  .mch-offre-actions { display: none; } /* « Recommander » est dans la barre du bas */
}
