/* ==========================================================================
   Le Souq Market — feuille de style (mobile d'abord)
   Esprit : supermarché frais et méditerranéen.
   Couleurs du logo (vermillon, ardoise) + menthe, citron, sable.
   ========================================================================== */

:root {
  --rouge: #D2412C;
  --rouge-fonce: #B23421;
  --rouge-clair: #FCE9E5;
  --ardoise: #2D5263;
  --ardoise-nuit: #1B3441;
  --menthe: #2F8F6B;
  --menthe-clair: #E4F4EC;
  --citron: #F6C431;
  --citron-clair: #FFF5D1;
  --sable: #F7F2EA;
  --sable-fonce: #EEE5D6;
  --blanc: #FFFFFF;
  --encre: #1D2B33;
  --encre-douce: #5A6A72;
  --ligne: rgba(29, 43, 51, .1);

  /* alias utilisés par le plan d'accès */
  --vermillon: var(--rouge);
  --vermillon-700: var(--rouge-fonce);
  --ardoise-900: var(--ardoise-nuit);
  --papier: var(--blanc);
  --creme: #FBF6EE;
  --creme-fonce: var(--sable-fonce);

  --f-titre: "Outfit", "Avenir Next", system-ui, sans-serif;
  --f-texte: "Figtree", "Avenir Next", system-ui, sans-serif;

  --r-s: 12px;
  --r-m: 18px;
  --r-l: 26px;
  --wrap: 1240px;
  --ombre: 0 1px 2px rgba(27, 52, 65, .06), 0 10px 28px -12px rgba(27, 52, 65, .25);
  --ombre-forte: 0 2px 4px rgba(27, 52, 65, .06), 0 22px 44px -18px rgba(27, 52, 65, .4);
  --ease: cubic-bezier(.22, .8, .2, 1);

  /* Motif zellige (étoile à 8 branches), décliné en clair et en foncé */
  --zellige-clair: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.16' stroke-width='1.4'%3E%3Crect x='20' y='20' width='24' height='24'/%3E%3Crect x='20' y='20' width='24' height='24' transform='rotate(45 32 32)'/%3E%3Cpath d='M0 0l15 15M64 0L49 15M0 64l15-15M64 64L49 49M32 0v3M32 61v3M0 32h3M61 32h3'/%3E%3C/g%3E%3C/svg%3E");
  --zellige-nuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.07' stroke-width='1.4'%3E%3Crect x='20' y='20' width='24' height='24'/%3E%3Crect x='20' y='20' width='24' height='24' transform='rotate(45 32 32)'/%3E%3Cpath d='M0 0l15 15M64 0L49 15M0 64l15-15M64 64L49 49M32 0v3M32 61v3M0 32h3M61 32h3'/%3E%3C/g%3E%3C/svg%3E");
  --zellige-fonce: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%232D5263' stroke-opacity='.08' stroke-width='1.4'%3E%3Crect x='20' y='20' width='24' height='24'/%3E%3Crect x='20' y='20' width='24' height='24' transform='rotate(45 32 32)'/%3E%3Cpath d='M0 0l15 15M64 0L49 15M0 64l15-15M64 64L49 49M32 0v3M32 61v3M0 32h3M61 32h3'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font: 400 1rem/1.55 var(--f-texte);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-titre); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:where(ul[role="list"]) { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; border-radius: 8px; }
button { font: inherit; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 16px; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ardoise); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  border: 2px solid var(--bd); background: var(--bg); color: var(--fg);
  font: 700 .97rem/1 var(--f-titre); letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(27, 52, 65, .55); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1.02rem; }
.btn--rouge { --bg: var(--rouge); }
.btn--rouge:hover { --bg: var(--rouge-fonce); }
.btn--ardoise { --bg: var(--ardoise); }
.btn--ardoise:hover { --bg: var(--ardoise-nuit); }
.btn--blanc { --bg: #fff; --fg: var(--ardoise-nuit); }
.btn--contour { --bg: transparent; --fg: var(--ardoise-nuit); --bd: var(--sable-fonce); }
.btn--contour:hover { --bd: var(--ardoise); }
.btn__ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn__ico--plein { fill: currentColor; stroke: none; }

.icone-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sable); color: var(--ardoise-nuit); }
.icone-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.point { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #7ED39A; }
[data-ouvert="true"] .point { animation: pouls 2.2s infinite; }
[data-ouvert="false"] .point { background: #F08A78; }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 rgba(126, 211, 154, .7); } 70% { box-shadow: 0 0 0 7px rgba(126, 211, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 211, 154, 0); } }

.pastille-txt { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font: 700 .75rem/1 var(--f-titre); letter-spacing: .08em; text-transform: uppercase; }
.pastille-txt--menthe { background: var(--menthe); color: #fff; }
.pastille-txt--rouge { background: var(--rouge); color: #fff; }
.pastille-txt--ardoise { background: var(--ardoise-nuit); color: #fff; }

.surtitre { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 .78rem/1 var(--f-titre); letter-spacing: .12em; text-transform: uppercase; color: var(--rouge); }
.surtitre svg { width: 14px; height: 14px; fill: currentColor; }
.surtitre--clair { color: var(--citron); }
.titre { font-size: clamp(1.85rem, 6.5vw, 3rem); color: var(--ardoise-nuit); }
.titre--clair { color: #fff; }

.section { padding: 56px 0; }
.tete { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.tete__texte { margin: 0; color: var(--encre-douce); max-width: 36em; }

/* ---------- Bandeau du haut ---------- */
.topbar { background: var(--ardoise-nuit); color: #E7EFF2; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: center; min-height: 34px; gap: 16px; }
.topbar p { margin: 0; }
.topbar__statut { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.topbar__infos { display: none; gap: 20px; }
.topbar__infos a { text-decoration: none; opacity: .85; }
.topbar__infos a:hover { opacity: 1; text-decoration: underline; }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.5) blur(12px); -webkit-backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid var(--ligne); }
.header__inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.header__logo img { height: 36px; width: auto; }
.nav { display: none; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header__promos { display: none; }

/* ---------- À la une (carrousel + carte magasin) ---------- */
.une { padding: 16px 0 8px; }
.une__grid { display: grid; gap: 16px; }

.carrousel { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--ardoise-nuit); box-shadow: var(--ombre); }
.carrousel__piste { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carrousel__piste::-webkit-scrollbar { display: none; }
.carrousel__piste:focus-visible { outline-offset: -4px; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: 470px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 52, 65, 0) 30%, rgba(27, 52, 65, .55) 58%, rgba(27, 52, 65, .92) 100%); }
.slide__contenu { padding: 24px 22px 70px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.slide__titre { font-size: clamp(2rem, 8.6vw, 3.6rem); line-height: 1; letter-spacing: -.03em; color: #fff; }
.slide__texte { margin: 0; font-size: 1.02rem; max-width: 26em; opacity: .94; }
.slide .btn { margin-top: 4px; }

.slide--promo { background: var(--citron); color: var(--ardoise-nuit); }
.slide--promo::after { background: linear-gradient(180deg, rgba(246, 196, 49, 0) 25%, rgba(246, 196, 49, .92) 55%, var(--citron) 70%); }
.slide--promo .slide__img { height: 62%; }
.slide--promo .slide__titre { color: var(--ardoise-nuit); }
.slide--promo .slide__titre, .slide--promo .slide__texte { text-shadow: none; }
.tampon {
  position: absolute; top: 18px; right: 18px; width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: 2px;
  background: var(--rouge); color: #fff; transform: rotate(-10deg);
  font: 700 .62rem/1.1 var(--f-titre); letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 10px 24px -10px rgba(178, 52, 33, .8);
}
.tampon strong { font: 800 1.9rem/.9 var(--f-titre); letter-spacing: -.02em; text-transform: none; }
.tampon::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .6); }

.carrousel__ctrl { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; align-items: center; justify-content: center; gap: 12px; pointer-events: none; }
.carrousel__points { display: flex; gap: 8px; pointer-events: auto; }
.carrousel__points button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .3s var(--ease), background-color .3s; }
.carrousel__points button[aria-selected="true"] { width: 26px; background: #fff; }
.carrousel[data-courant="2"] .carrousel__points button { background: rgba(27, 52, 65, .3); }
.carrousel[data-courant="2"] .carrousel__points button[aria-selected="true"] { background: var(--ardoise-nuit); }
.carrousel__fleche { display: none; }

.mon-magasin { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px; border-radius: var(--r-l); background: var(--sable); background-image: var(--zellige-fonce); }
.mon-magasin__photo { border-radius: 999px 999px 14px 14px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ardoise); align-self: start; }
.mon-magasin__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 50%; }
.mon-magasin { grid-template-areas: "photo tete" "infos infos" "btns btns"; }
.mon-magasin__photo { grid-area: photo; }
.mon-magasin__tete { grid-area: tete; min-width: 0; align-self: center; }
.mon-magasin .surtitre { margin-bottom: 6px; }
.mon-magasin__nom { font-size: 1.3rem; color: var(--ardoise-nuit); margin-bottom: 8px; }
.statut { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 5px 11px; border-radius: 999px; background: #fff; font: 600 .85rem/1.2 var(--f-texte); color: var(--ardoise-nuit); }
.statut .point { background: var(--menthe); }
.statut[data-ouvert="false"] .point { background: var(--rouge); }
.mon-magasin__infos { grid-area: infos; display: grid; gap: 6px; font-size: .9rem; color: var(--encre-douce); }
.mon-magasin__infos li { display: flex; align-items: center; gap: 8px; }
.mon-magasin__infos svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--rouge); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mon-magasin__btns { grid-area: btns; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mon-magasin__btns .btn { padding: 0 12px; }

/* ---------- Engagements ---------- */
.atouts { padding: 16px 0 4px; }
.atouts__liste { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.atouts__liste li { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--r-m); background: var(--blanc); border: 1px solid var(--ligne); }
.atouts__liste p { margin: 0; font-size: .82rem; line-height: 1.25; color: var(--encre-douce); }
.atouts__liste strong { display: block; font: 700 .98rem/1.2 var(--f-titre); color: var(--ardoise-nuit); }
.atouts__ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.atouts__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.atouts__ico--menthe, .points__ico--menthe { background: var(--menthe-clair); color: var(--menthe); }
.atouts__ico--citron, .points__ico--citron { background: var(--citron-clair); color: #A07A00; }
.atouts__ico--rouge, .points__ico--rouge { background: var(--rouge-clair); color: var(--rouge); }
.atouts__ico--ardoise { background: #E3EEF3; color: var(--ardoise); }

/* ---------- Rayons ---------- */
.rayons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rayon {
  position: relative; display: flex; align-items: flex-end; min-height: 180px; padding: 14px;
  border-radius: var(--r-m); overflow: hidden; isolation: isolate; text-decoration: none; color: #fff;
  background: var(--ardoise);
}
.rayon__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.rayon::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 52, 65, 0) 40%, rgba(27, 52, 65, .85) 100%); }
.rayon__txt { display: flex; flex-direction: column; gap: 2px; }
.rayon__txt strong { font: 700 1.08rem/1.15 var(--f-titre); letter-spacing: -.01em; }
.rayon__txt small { font-size: .8rem; opacity: .88; line-height: 1.3; }
.rayon__go { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--rouge); transition: transform .3s var(--ease); }
.rayon__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
a.rayon:hover .rayon__img { transform: scale(1.06); }
a.rayon:hover .rayon__go { transform: translateX(3px); }
.rayon--xl { grid-column: span 2; min-height: 210px; padding: 18px; }
.rayon--xl .rayon__txt strong { font-size: 1.5rem; }
.rayon--xl .rayon__txt small { font-size: .9rem; }
.rayon--promo { background: var(--citron); background-image: var(--zellige-fonce); color: var(--ardoise-nuit); }
.rayon--promo::after { display: none; }
.rayon__pourcent { position: absolute; top: 4px; left: 12px; font: 800 5.2rem/1 var(--f-titre); color: var(--rouge); letter-spacing: -.04em; }

/* ---------- Bannière promo ---------- */
.promo-banniere { margin: 8px 0; background: var(--rouge); background-image: var(--zellige-clair); color: #fff; overflow: hidden; }
.promo-banniere__inner { display: grid; gap: 28px; padding: 48px 0; }
.promo-banniere__sur { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: var(--citron); color: var(--ardoise-nuit); font: 700 .75rem/1 var(--f-titre); letter-spacing: .1em; text-transform: uppercase; }
.promo-banniere__titre { font-size: clamp(2rem, 8vw, 3.4rem); line-height: 1; margin-bottom: 14px; }
.promo-banniere__texte > p:not(.promo-banniere__sur) { opacity: .92; max-width: 30em; margin-bottom: 22px; }
.promo-banniere__visuel { position: relative; justify-self: center; width: min(62vw, 360px); }
.promo-banniere__rond { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid rgba(255, 255, 255, .18); }
.promo-banniere__img { width: 100%; height: 100%; object-fit: cover; }
.etiquette-prix {
  position: absolute; left: -6%; bottom: 8%; padding: 12px 18px 14px; border-radius: 14px;
  background: var(--citron); color: var(--ardoise-nuit); transform: rotate(-6deg); text-align: center;
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .45); font: 700 .78rem/1 var(--f-titre); letter-spacing: .12em; text-transform: uppercase;
}
.etiquette-prix strong { display: block; margin-top: 2px; font-size: 2.2rem; letter-spacing: -.02em; text-transform: none; color: var(--rouge); }
.etiquette-prix::before { content: ""; position: absolute; top: 10px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: rgba(27, 52, 65, .2); }

/* ---------- Sections focus (primeur, boucherie) ---------- */
.focus__grid { display: grid; gap: 28px; }
.focus__visuel { position: relative; max-width: 460px; width: 100%; justify-self: center; padding-right: 14%; }
.arche { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-l) var(--r-l); overflow: hidden; background: var(--sable-fonce); box-shadow: var(--ombre-forte); }
.arche__img { width: 100%; height: 100%; object-fit: cover; }
.focus__vignette { position: absolute; right: 0; bottom: 10%; width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--blanc); box-shadow: var(--ombre-forte); }
.vignette__img { width: 100%; height: 100%; object-fit: cover; }
.focus__intro { font-size: 1.05rem; color: var(--encre-douce); margin: 14px 0 22px; max-width: 34em; }

.points { display: grid; gap: 10px; }
.points li { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r-m); background: var(--sable); }
.points__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.points__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.points div { font-size: .92rem; color: var(--encre-douce); line-height: 1.35; }
.points strong { display: block; font: 700 1.02rem/1.25 var(--f-titre); color: var(--ardoise-nuit); }

.focus--boucherie { background: var(--ardoise-nuit); background-image: var(--zellige-nuit); color: rgba(255, 255, 255, .85); }
.focus--boucherie .focus__intro { color: rgba(255, 255, 255, .82); }
.focus--boucherie .focus__vignette { border-color: var(--ardoise-nuit); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font: 600 .9rem/1 var(--f-titre); color: #fff; }
.engagements { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.engagements li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: .95rem; }
.engagements strong { flex: none; width: 92px; font: 700 1rem/1.4 var(--f-titre); color: var(--citron); }

/* ---------- Saveurs ---------- */
.saveurs { background: var(--sable); background-image: var(--zellige-fonce); }
.mosaique { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaique__item { position: relative; margin: 0; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 1; background: var(--sable-fonce); }
.mosaique__item:nth-child(1) { grid-row: span 2; aspect-ratio: auto; }
.mosaique__item:nth-child(4) { grid-column: span 2; aspect-ratio: 2 / 1; }
.mosaique__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mosaique figcaption { position: absolute; left: 10px; bottom: 10px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ardoise-nuit); font: 700 .82rem/1 var(--f-titre); }

/* ---------- Votre magasin ---------- */
.magasin__grid { display: grid; gap: 20px; }
.fiche { padding: 20px 18px; border-radius: var(--r-l); background: var(--sable); }
.fiche__statut { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; padding: 9px 14px; border-radius: 999px; background: var(--ardoise-nuit); color: #fff; font-weight: 600; font-size: .9rem; }
.fiche__liste { display: grid; gap: 16px; margin: 0 0 18px; }
.fiche__liste dt { display: flex; align-items: center; gap: 6px; font: 700 .72rem/1 var(--f-titre); letter-spacing: .12em; text-transform: uppercase; color: var(--encre-douce); margin-bottom: 6px; }
.fiche__liste dt svg { width: 15px; height: 15px; fill: none; stroke: var(--rouge); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fiche__liste dd { margin: 0; font: 700 1.15rem/1.35 var(--f-titre); color: var(--ardoise-nuit); }
.fiche__liste a { text-decoration: none; }
.fiche__liste a:hover { color: var(--rouge); }
.fiche__email { grid-column: 1 / -1; }
.fiche__email dd { font-size: 1.05rem; overflow-wrap: anywhere; }
.fiche__parking { display: flex; gap: 12px; align-items: flex-start; padding: 14px; margin-bottom: 18px; border-radius: var(--r-m); background: #fff; font-size: .93rem; color: var(--encre-douce); }
.fiche__parking p { margin: 0; }
.fiche__parking strong { color: var(--ardoise-nuit); }
.fiche__p { flex: none; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: #2F6DB0; color: #fff; font: 800 1.1rem/1 var(--f-titre); }
.horaires { width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: 18px; }
.horaires caption { text-align: left; font: 700 .72rem/1 var(--f-titre); letter-spacing: .12em; text-transform: uppercase; color: var(--encre-douce); padding-bottom: 10px; }
.horaires th, .horaires td { background: #fff; padding: 10px 14px; border-bottom: 1px solid var(--ligne); font-size: .95rem; text-align: left; }
.horaires tr:first-child th { border-top-left-radius: 14px; } .horaires tr:first-child td { border-top-right-radius: 14px; }
.horaires tr:last-child th { border-bottom-left-radius: 14px; border-bottom: 0; } .horaires tr:last-child td { border-bottom-right-radius: 14px; border-bottom: 0; }
.horaires th { font-weight: 500; }
.horaires td { text-align: right; color: var(--encre-douce); font-variant-numeric: tabular-nums; }
.horaires tr.aujourdhui th, .horaires tr.aujourdhui td { background: var(--citron-clair); color: var(--ardoise-nuit); font-weight: 700; }
.horaires tr.aujourdhui th::after { content: "Aujourd'hui"; margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: var(--ardoise-nuit); color: #fff; font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }
.fiche__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.fiche__btns .btn--rouge { flex: 1; }

/* ---------- Facebook ---------- */
.social { padding: 0 0 48px; }
.social__inner { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; padding: 20px; border-radius: var(--r-l); background: #E8F0FE; }
.social__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #1877F2; }
.social__ico svg { width: 30px; height: 30px; fill: #fff; }
.social__texte h2 { font-size: 1.25rem; color: var(--ardoise-nuit); margin-bottom: 4px; }
.social__texte p { margin: 0; font-size: .92rem; color: var(--encre-douce); }
.social .btn { grid-column: 1 / -1; }

/* ---------- Pied de page ---------- */
.footer { background: var(--ardoise-nuit); background-image: var(--zellige-nuit); color: rgba(255, 255, 255, .75); padding: 44px 0 0; font-size: .95rem; }
.footer__grid { display: grid; gap: 28px; padding-bottom: 36px; }
.footer__marque img { width: 190px; height: auto; margin-bottom: 14px; }
.footer__marque p { max-width: 24em; }
.footer__fb { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.footer__fb svg { width: 22px; height: 22px; fill: #fff; }
.footer h3 { font: 700 .76rem/1 var(--f-titre); letter-spacing: .14em; text-transform: uppercase; color: var(--citron); margin-bottom: 12px; }
.footer p { margin-bottom: .6em; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer li { margin-bottom: 7px; }
.footer__bas { display: grid; gap: 6px; padding: 18px 0 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; opacity: .75; }
.footer__bas p { margin: 0; }

/* ---------- Barre de navigation mobile ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--ligne);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -8px 24px -16px rgba(27, 52, 65, .35);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; min-height: 52px; padding: 4px 2px; border-radius: 12px; color: var(--encre-douce); text-decoration: none; font: 600 .7rem/1 var(--f-titre); }
.tabbar svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a.actif { color: var(--rouge); }
.tabbar__promo span { width: 50px; height: 50px; margin-top: -24px; border-radius: 50%; display: grid; place-items: center; background: var(--rouge); color: #fff; border: 4px solid #fff; box-shadow: 0 6px 16px -6px rgba(210, 65, 44, .8); }
.tabbar__promo { color: var(--rouge) !important; }

/* ---------- Apparitions ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   Tablette (≥ 700px)
   ========================================================================== */
@media (min-width: 700px) {
  .wrap { width: min(100% - 48px, var(--wrap)); }
  .topbar__inner { justify-content: space-between; }
  .topbar__infos { display: flex; }
  .header__logo img { height: 42px; }
  .header__promos { display: inline-flex; }
  .section { padding: 72px 0; }
  .tete { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
  .tete__texte { text-align: right; max-width: 28em; }

  .slide { min-height: 480px; }
  .slide__contenu { padding: 40px 40px 72px; }
  .tampon { top: 28px; right: 28px; width: 130px; height: 130px; font-size: .72rem; }
  .tampon strong { font-size: 2.5rem; }
  .mon-magasin { grid-template-columns: 150px 1fr; grid-template-areas: "photo tete" "photo infos" "photo btns"; padding: 18px; gap: 6px 22px; }
  .mon-magasin__tete { align-self: end; }

  .atouts__liste { grid-template-columns: repeat(4, 1fr); }
  .rayons { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .rayon { min-height: 220px; }
  .rayon--xl { min-height: 300px; }
  .rayons > :nth-last-child(-n+2) { grid-column: span 2; }
  .rayon__txt strong { font-size: 1.2rem; }

  .promo-banniere__inner { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 64px 0; }
  .focus__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .focus__grid--inverse .focus__visuel { order: 2; }
  .mosaique { grid-template-columns: repeat(4, 1fr); }
  .mosaique__item, .mosaique__item:nth-child(1), .mosaique__item:nth-child(4) { grid-row: auto; grid-column: auto; aspect-ratio: 3 / 4; }
  .fiche { padding: 28px; }
  .fiche__liste { grid-template-columns: 1fr 1fr; }
  .social__inner { grid-template-columns: auto 1fr auto; padding: 24px 28px; }
  .social .btn { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bas { display: flex; justify-content: space-between; }
}

/* ==========================================================================
   Ordinateur (≥ 1000px)
   ========================================================================== */
@media (min-width: 1000px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .header__inner { min-height: 78px; gap: 32px; }
  .header__logo img { height: 48px; }
  .nav { display: flex; gap: 4px; }
  .nav a { padding: 10px 12px; border-radius: 999px; text-decoration: none; white-space: nowrap; font: 600 .96rem/1 var(--f-titre); color: var(--ardoise-nuit); transition: background-color .2s, color .2s; }
  .nav a:hover { background: var(--sable); }
  .nav a.actif { color: var(--rouge); background: var(--rouge-clair); }

  .une { padding: 24px 0 8px; }
  .une__grid { grid-template-columns: 1fr 340px; gap: 20px; }
  .slide { min-height: 540px; }
  .slide__contenu { padding: 56px 56px 80px; max-width: 640px; }
  .slide::after { background: linear-gradient(90deg, rgba(27, 52, 65, .88) 0%, rgba(27, 52, 65, .55) 45%, rgba(27, 52, 65, 0) 75%); }
  .slide { align-items: center; }
  .slide--promo::after { background: linear-gradient(90deg, var(--citron) 0%, var(--citron) 38%, rgba(246, 196, 49, 0) 62%); }
  .slide--promo .slide__img { left: auto; width: 62%; height: 100%; }
  .carrousel__ctrl { justify-content: flex-start; padding-left: 56px; bottom: 28px; }
  .carrousel__fleche { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ardoise-nuit); cursor: pointer; pointer-events: auto; transition: background-color .2s; }
  .carrousel__fleche:hover { background: #fff; }
  .carrousel__fleche svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

  .mon-magasin { grid-template-columns: 1fr; grid-template-areas: "photo" "tete" "infos" "btns"; align-content: start; padding: 16px 16px 20px; gap: 14px; }
  .mon-magasin__photo { aspect-ratio: 16 / 11; border-radius: 120px 120px 14px 14px; }
  .mon-magasin__nom { font-size: 1.45rem; }
  .mon-magasin__tete { align-self: start; }

  .atouts { padding: 20px 0 8px; }
  .atouts__liste li { padding: 16px 18px; }
  .atouts__liste p { font-size: .88rem; }
  .atouts__liste strong { font-size: 1.05rem; }

  .section { padding: 96px 0; }
  .rayons { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; }
  .rayon--xl { grid-row: span 1; min-height: 0; }
  .rayon--xl .rayon__txt strong { font-size: 1.8rem; }
  .rayon__pourcent { font-size: 7rem; }

  .focus__visuel { max-width: 520px; }
  .points li { padding: 14px 16px; }

  .magasin__grid { grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: stretch; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
}

/* Entre 1000 et 1200px : menu resserré */
@media (min-width: 1000px) and (max-width: 1199px) {
  .nav a[href="#saveurs"] { display: none; }
  .header__inner { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}


/* ==========================================================================
   Plan d'accès (SVG)
   ========================================================================== */
.plan { position: relative; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: #ECE4D4; box-shadow: var(--ombre); isolation: isolate; }
.carte { position: relative; flex: 1; width: 100%; min-height: 440px; display: block; }
.c-sol { fill: #ECE4D4; }
.c-ilots > * { fill: #E1D6C2; }
.c-eau { fill: #B5D2D7; }
.c-riviere { fill: none; stroke: #B5D2D7; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.c-rue { filter: drop-shadow(0 0 1px rgba(90, 70, 40, .45)); }
.c-rue path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2000; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease); }
.c-rue--petite path { stroke: #FBF8F2; stroke-width: 12; }
.c-rue--moyenne path { stroke: #fff; stroke-width: 20; }
.c-rue--grande path { stroke: #F9DE98; stroke-width: 32; }
.js .plan:not(.visible) .c-rue path { stroke-dashoffset: 2000; }
.c-zone { fill: rgba(208, 69, 47, .07); stroke: var(--vermillon); stroke-width: 2; stroke-dasharray: 7 6; }
.c-voirie { fill: #E3DCCF; }
.c-parking { fill: #DCE7F0; }
.c-places { stroke: rgba(255, 255, 255, .9); stroke-width: 1.6; }
.c-parking-zone { fill: url(#places); stroke: #2F6DB0; stroke-width: 1.6; stroke-opacity: .55; }
.c-magasin { fill: #FFFCF6; stroke: #A8997F; stroke-width: 1.6; stroke-linejoin: round; transition: fill .25s; }
.c-magasin--souq { fill: var(--vermillon); stroke: var(--vermillon-700); }
.c-p rect { fill: #2F6DB0; }
.c-p text { fill: #fff; font: 800 16px var(--f-titre); text-anchor: middle; dominant-baseline: central; }
.c-nom text { font: 600 12.5px var(--f-texte); fill: #6E7A7F; text-anchor: middle; dominant-baseline: central; letter-spacing: .02em; }
.c-route rect { fill: var(--ardoise); }
.c-route text { fill: #fff; font: 700 12px var(--f-texte); text-anchor: middle; dominant-baseline: central; }
.c-direction text { font: 700 14px var(--f-titre); fill: var(--ardoise-900); paint-order: stroke; stroke: #ECE4D4; stroke-width: 5px; stroke-linejoin: round; }

.lieu { cursor: pointer; transition: opacity .6s var(--ease); }
.lieu__pt { fill: var(--ardoise); stroke: #fff; stroke-width: 3; transition: fill .25s, stroke-width .25s; }
.lieu__num { fill: #fff; font: 700 12px var(--f-texte); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.lieu__nom { font: 700 15px var(--f-titre); fill: var(--ardoise-900); text-anchor: end; dominant-baseline: central; paint-order: stroke; stroke: rgba(255, 252, 246, .95); stroke-width: 5px; stroke-linejoin: round; transition: fill .25s; }
.lieu.actif .lieu__pt { fill: var(--vermillon); stroke-width: 4; }
.lieu.actif .lieu__nom { fill: var(--vermillon-700); }
.js .plan:not(.visible) .lieu { opacity: 0; }
.lieu[data-lieu="wibra"] { transition-delay: .9s; }
.lieu[data-lieu="cash"] { transition-delay: 1.05s; }
.lieu[data-lieu="produo"] { transition-delay: 1.2s; }
.lieu[data-lieu="action"] { transition-delay: 1.35s; }
.lieu--souq { transition-delay: .6s; }

.souq__epingle path { fill: var(--vermillon); stroke: #fff; stroke-width: 3; }
.souq__epingle use { fill: var(--creme); }
.souq__epingle { transform-box: fill-box; transform-origin: 50% 100%; animation: rebond 2.8s ease-in-out infinite; }
@keyframes rebond { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-7px); } 90% { transform: translateY(0) scaleY(.94); } }
.souq__etiquette rect { fill: var(--ardoise-900); }
.souq__etiquette text { fill: #fff; font: 800 16px var(--f-titre); text-anchor: middle; dominant-baseline: central; letter-spacing: -.01em; }
.lieu--souq.actif .souq__etiquette rect { fill: var(--vermillon-700); }
.souq__onde { fill: var(--vermillon); transform-box: fill-box; transform-origin: center; animation: onde 2.6s ease-out infinite; }
.souq__onde--2 { animation-delay: 1.3s; }
@keyframes onde { from { transform: scale(1); opacity: .45; } to { transform: scale(4.5); opacity: 0; } }

.plan__boussole { position: absolute; top: 16px; right: 16px; margin: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--papier); box-shadow: 0 4px 14px -6px rgba(27,47,56,.4); display: grid; place-items: center; font: 800 .8rem/1 var(--f-titre); color: var(--ardoise-900); }
.plan__boussole::before { content: ""; position: absolute; top: 5px; left: 50%; margin-left: -5px; border: 5px solid transparent; border-bottom: 8px solid var(--vermillon); border-top: 0; }
.plan__boussole span { margin-top: 8px; }
.plan__legende { padding: 16px 14px 14px; background: var(--papier); border-top: 1px solid var(--ligne); }
.plan__legende ul { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.plan__legende-titre { margin: 0 8px 8px; font: 600 .7rem/1 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--encre-douce); }
.plan__legende button {
  display: flex; align-items: center; gap: 9px; padding: 7px 10px 7px 8px; border: 0; border-radius: 10px;
  background: none; color: var(--ardoise-900); font: 600 .92rem/1.2 var(--f-texte); text-align: left; cursor: pointer;
  transition: background-color .2s;
}
.plan__legende button:hover, .plan__legende button.actif { background: var(--creme-fonce); }
.pastille { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ardoise); color: #fff; font: 700 .75rem/1 var(--f-texte); font-style: normal; }
.pastille--souq { background: var(--vermillon); box-shadow: 0 0 0 3px rgba(208, 69, 47, .22); }
.pastille--p { border-radius: 6px; background: #2F6DB0; font-weight: 800; }
.plan__parking { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; padding: 10px 8px 0; border-top: 1px dashed var(--ligne); font-size: .85rem; line-height: 1.25; color: var(--encre-douce); }
.plan__parking strong { color: var(--ardoise-900); font-size: .92rem; margin-right: 4px; }
.plan__mention { position: absolute; left: 16px; top: 16px; margin: 0; padding: 5px 11px; border-radius: 999px; background: rgba(255, 252, 246, .85); font-size: .74rem; color: var(--encre-douce); }


@media (max-width: 600px) {
  .carte { flex: none; height: 400px; min-height: 0; }
  .lieu__nom { font-size: 17px; }
  .c-nom text { font-size: 14px; }
  .c-direction { display: none; }
  .plan__legende ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
}
