/* Mon Crousty · style « Orange ».
   Blanc et orange vif. Mobile d'abord, une colonne ; grilles fluides au-delà de 720 px.
   L'orange sert en aplat (bandeau, boutons, pastilles) ; le texte sur orange est toujours en encre ;
   aucun texte orange sur fond blanc. */

@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --nuage: #f5f6f8;       /* aplats neutres */
  --ink: #11151c;         /* encre */
  --muted: #5a6270;       /* gris froid : 6,15:1 sur blanc */
  --line: #dfe3e8;        /* filets */
  --accent: #f25c05;      /* orange vif : aplats seulement ; encre dessus = 5,50:1 */
  --accent-hover: #ff7a24;
  --accent-dark: #c94a00;
  --accent-clair: #fff1e7;
  --eteint: #8a929f;
  --voile: rgba(242, 92, 5, .45);
  --f-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --r: 12px;
  --courbe: 34px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px #fff; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; border-radius: 8px; }
.skip:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
h1, h2 { font-family: var(--f-display); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(34px, 8.6vw, 60px); }
h2 { font-size: clamp(24px, 3.6vw, 32px); }
h1 em { font-style: normal; color: #fff; }   /* gros corps gras : 3,33:1 sur l'orange, admis au-delà de 24 px */

/* ---------- En-tête : aplat orange semé de miettes ---------- */
.top {
  background-color: var(--accent);
  background-image: linear-gradient(var(--voile), var(--voile)), url("motif.svg");
  background-size: auto, 340px 340px;
  background-repeat: no-repeat, repeat;
  border-radius: 0 0 50% 50% / 0 0 22px 22px;
}
body.accueil .top { border-radius: 0; }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px 4px; }
.logo { display: inline-flex; flex-direction: column; gap: 0; text-decoration: none; color: var(--ink); min-height: 44px; justify-content: center; }
.logo:hover { color: var(--ink); }
.logo-nom { font-family: var(--f-display); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -.045em; }
.logo-sous { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.rubriques { display: flex; gap: 4px; background: #fff; padding: 4px; border-radius: 12px; }
.rubriques a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.rubriques a[aria-current] { background: var(--ink); color: #fff; }
.menu { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 8px 20px; }
.menu::-webkit-scrollbar { display: none; }
.menu a { flex: none; display: inline-flex; align-items: center; min-height: 44px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 7px 14px; border-radius: 10px; }
.menu a:hover { background: var(--accent-clair); }
.menu a[aria-current] { background: var(--ink); color: #fff; }

/* ---------- Fil d'Ariane ---------- */
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 14px 0 0; margin: 0; font-size: 14px; color: var(--muted); }
.ariane li + li::before { content: "›"; margin-right: 4px; }
.ariane a { color: var(--muted); }

/* ---------- Accueil : bandeau orange, barquette en vedette, recherche à cheval ---------- */
.hero {
  position: relative;
  background-color: var(--accent);
  background-image: linear-gradient(var(--voile), var(--voile)), url("motif.svg");
  background-size: auto, 340px 340px;
  background-repeat: no-repeat, repeat;
  border-radius: 0 0 50% 50% / 0 0 var(--courbe) var(--courbe);
  padding-bottom: calc(var(--courbe) + 12px);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 10px 0; }
.hero-txt { min-width: 0; }
.hero-txt::before { content: ""; float: right; width: 132px; height: 124px; }   /* réserve la place de la barquette sur téléphone */
.hero-art { position: absolute; top: 2px; right: max(10px, env(safe-area-inset-right, 0px)); width: 138px; pointer-events: none; }
.dessin { width: 100%; height: auto; display: block; animation: flotte 5s ease-in-out infinite; }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.eyebrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.chip { background: #fff; color: var(--ink); padding: 3px 10px; border-radius: 6px; letter-spacing: .04em; }
.lead { font-size: 18px; font-weight: 500; color: var(--ink); max-width: 60ch; margin: 12px 0 22px; }
.lead b { color: var(--ink); font-variant-numeric: tabular-nums; }
.hero .lead { clear: both; }

.outils { position: relative; clear: both; max-width: 560px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(17, 21, 28, .12); margin-bottom: calc(-1 * (var(--courbe) + 12px + 66px)); }
.search-wrap { position: relative; }
.search { display: flex; gap: 6px; background: #fff; border: 2px solid var(--ink); border-radius: var(--r); padding: 5px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 17px; padding: 9px 10px; color: var(--ink); outline: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 2px solid var(--ink); background: var(--accent); color: var(--ink); font: inherit; font-weight: 600; padding: 9px 18px; border-radius: 10px; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--accent-hover); color: var(--ink); }
.search .btn { border: 0; min-height: 44px; padding: 8px 16px; }
.btn-jaune { background: var(--accent); color: var(--ink); }   /* bouton principal (nom hérité du modèle) */
.btn-jaune:hover { background: var(--accent-hover); color: var(--ink); }
.panel-sombre .btn { background: #fff; border-color: #fff; color: var(--ink); }   /* sur fond encre */
.panel-sombre .btn:hover { background: var(--accent-clair); }
.btn-sec { background: #fff; color: var(--ink); }
.btn-sec:hover { background: var(--accent-clair); color: var(--ink); }
@media (max-width: 420px) { .search .btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; background: #fff; border: 2px solid var(--ink); border-radius: var(--r); max-height: min(60vh, 380px); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 14px 34px rgba(17, 21, 28, .16); padding-block: 4px; }
.sg { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 46px; padding: 10px 14px; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: var(--ink); text-decoration: none; }
.sg small { color: var(--muted); font-size: 14px; white-space: nowrap; }
.sg[aria-selected="true"], .sg:hover { background: var(--accent-clair); color: var(--ink); }
.sg-h { padding: 8px 14px 2px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: 8px; }
.qchip { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 14px; font: inherit; font-size: 16px; font-weight: 600; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); cursor: pointer; }
.qchip:hover { border-color: var(--ink); }
.qchip[aria-pressed="true"] { background: var(--accent); border-color: var(--ink); }
.qchip i { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); flex: none; }
.qchip[aria-pressed="true"] i { background: var(--ink); }
.qchip .ico { width: 22px; height: 22px; }
body.accueil main > .wrap { padding-top: 92px; }

/* ---------- Sections ---------- */
section { padding-block: 26px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.sub { color: var(--muted); margin: 0; font-size: 15px; }
.page-tete { padding-block: 18px 6px; display: grid; gap: 6px; justify-items: start; }
.page-tete .lead { margin: 4px 0 8px; color: var(--muted); font-weight: 400; }
.empty { color: var(--muted); }
.note { margin: 16px 0 0; padding: 12px 16px; background: var(--accent-clair); border-radius: var(--r); font-size: 15px; }
.more { margin: 16px 0 0; }
.petit { font-size: 14px; color: var(--muted); }
.avert { margin: 6px 0 0; padding: 8px 12px; border-left: 4px solid var(--accent); background: var(--nuage); border-radius: 0 8px 8px 0; font-size: 15px; }

.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: thin; }
.tab { flex: none; display: grid; gap: 1px; min-width: 92px; padding: 8px 12px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; line-height: 1.2; }
.tab:hover { border-color: var(--ink); }
.tab b { font-size: 15px; }
.tab small { font-size: 12px; color: var(--muted); }
.tab[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab[aria-current] small { color: #d5d9e0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.card { position: relative; display: grid; gap: 5px; align-content: start; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.card:hover { color: var(--ink); border-color: var(--ink); }
.card .nm { font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.15; letter-spacing: -.02em; padding-right: 44px; }
.card .loc { color: var(--muted); font-size: 15px; }
.card .hrs { font-size: 15px; font-variant-numeric: tabular-nums; }
.sticker { position: absolute; top: 8px; right: 10px; width: 44px; height: 44px; transform: rotate(-10deg); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none; }
.card:hover .sticker, .card:focus-visible .sticker { transform: rotate(-4deg) translateY(-2px) scale(1.06); }

.pill { justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 6px; font-size: 14px; font-weight: 600; background: var(--nuage); color: var(--ink); }
.pill.open { background: var(--accent-clair); }
.pill.open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pill.later { background: var(--nuage); }
.pill.later::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--ink); }
.pill.holiday { background: var(--nuage); color: var(--ink); }
.pill.unknown { background: transparent; border: 1.5px dashed var(--eteint); padding: 2px 9px; color: var(--muted); }

.deps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.dep { display: grid; gap: 2px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; }
.dep:hover { color: var(--ink); border-color: var(--ink); }
.dep .num { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .1em; }
.dep .dn { font-family: var(--f-display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.dep .cnt { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.dep .bar { height: 6px; border-radius: 3px; background: var(--nuage); margin-top: 10px; overflow: hidden; }
.dep .bar span { display: block; height: 100%; background: var(--accent); }

.cities { display: flex; flex-wrap: wrap; gap: 8px; }
.city { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 7px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; }
.city:hover { border-color: var(--ink); color: var(--ink); }
.city span { color: var(--muted); font-variant-numeric: tabular-nums; }

.groupe h2 { margin-bottom: 12px; display: flex; align-items: baseline; gap: 10px; }
.compte { font-family: var(--f-body); font-size: 16px; font-weight: 600; background: var(--accent); color: var(--ink); padding: 1px 10px; border-radius: 999px; letter-spacing: 0; }

.two { display: grid; gap: 14px; }
.panel { padding: 24px; background: var(--accent-clair); border-radius: 20px; }
.panel h2 { font-size: 26px; margin-bottom: 10px; }
.panel p { margin: 0 0 12px; max-width: 62ch; }
.panel-sombre { background: var(--ink); color: #fff; }
.panel-sombre h2 { color: #fff; }
.panel-sombre a:not(.btn) { color: #fff; text-decoration-color: var(--accent); }

.faq h2 { margin-bottom: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.faq details[open] { border-color: var(--ink); }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; }
.faq details p { margin: 0; padding: 0 16px 16px; max-width: 70ch; }

/* ---------- Fiche ---------- */
.fiche { display: grid; gap: 10px 32px; }
.adresse { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 0; font-size: 17px; }
.adresse .ico { margin-top: 3px; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 12px; }
.semaine { width: 100%; max-width: 560px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-variant-numeric: tabular-nums; margin-top: 12px; }
.semaine th, .semaine td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.semaine tr:last-child th, .semaine tr:last-child td { border-bottom: 0; }
.semaine td { text-align: right; }
.semaine th { font-weight: 500; white-space: nowrap; }
.semaine tr.auj { background: var(--accent-clair); font-weight: 700; box-shadow: inset 4px 0 0 var(--accent); }
.semaine small { font-weight: 600; color: var(--muted); }
.inconnu { margin-top: 12px; padding: 14px 16px; border: 2px dashed var(--eteint); border-radius: 14px; max-width: 560px; }
.inconnu p { margin: 0 0 8px; }
.inconnu code { font-size: 14px; word-break: break-word; }
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 20px 0 28px; }
.chiffres div { background: var(--nuage); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.chiffres b { font-size: 1.7rem; line-height: 1.1; }
.chiffres span { color: var(--muted, #6b7280); font-size: .9rem; }
.tableau { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th, .tbl td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.tbl thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #6b7280); }
.gmap { margin-top: 12px; max-width: 560px; }
.gmap-cadre { width: 100%; height: 320px; border: 1px solid var(--line); border-radius: 14px; }
.minicarte { height: 260px; max-width: 560px; margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--nuage); }
.fiche-cote { padding-block: 26px; display: grid; gap: 12px; align-content: start; }

/* ---------- Carte ---------- */
.quick-carte { margin: 0 0 12px; }
.mapbox { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--nuage); }
.carte { height: min(70vh, 640px); min-height: 380px; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 0 0; margin: 0; font-size: 14px; }
.legend li { display: flex; align-items: center; gap: 7px; }
.lg { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 1px var(--ink); }
.lg.open { background: var(--accent); } .lg.later { background: #fff; } .lg.unknown { background: var(--eteint); }
.leaflet-container { font-family: var(--f-body); }
.leaflet-popup-content { font-size: 15px; line-height: 1.35; }
.leaflet-popup-content b { font-size: 16px; }
.leaflet-popup-content a { font-weight: 600; }

/* ---------- Textes et formulaires ---------- */
.page-texte { max-width: 760px; padding-block: 24px 40px; }
.page-texte h2 { font-size: 26px; margin: 28px 0 8px; }
.page-texte p { max-width: 68ch; }
.form { display: grid; gap: 6px; max-width: 560px; }
.form label { font-weight: 600; margin-top: 10px; }
.form label small { font-weight: 400; color: var(--muted); }
.form input:not([type="radio"]), .form textarea { font: inherit; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form fieldset { border: 0; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.form legend { font-weight: 600; margin-bottom: 6px; width: 100%; }
.form .choix { font-weight: 400; margin: 0; display: flex; gap: 8px; align-items: center; min-height: 40px; }
.form .btn { justify-self: start; margin-top: 16px; }
.pot { position: absolute; left: -9999px; }
.erreur { padding: 10px 14px; background: var(--accent-clair); border-left: 4px solid var(--accent-dark); border-radius: 0 10px 10px 0; }

/* ---------- Pied de page ---------- */
.pied { margin-top: 30px; background: var(--ink); color: #d5d9e0; border-radius: 28px 28px 0 0; }
.pied-in { padding-block: 28px 32px; display: grid; gap: 14px; font-size: 15px; }
.pied-marque { display: grid; gap: 2px; }
.pied-marque b { font-family: var(--f-display); font-weight: 800; color: #fff; font-size: 24px; letter-spacing: -.04em; }
.pied nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.pied a { color: #fff; text-decoration-color: var(--accent); }
.credits { margin: 0; font-size: 13px; color: #b3bac5; }

/* ---------- Écrans larges ---------- */
@media (min-width: 720px) {
  :root { --courbe: 60px; }
  .wrap { padding-inline: 24px; }
  .top { border-radius: 0 0 50% 50% / 0 0 30px 30px; }
  .hero-in { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: end; padding-block: 28px 0; gap: 8px; }
  .hero-txt::before { display: none; }
  .hero-art { position: static; width: auto; display: flex; justify-content: center; align-self: end; margin-bottom: calc(var(--courbe) * 0 + 0px); }
  .dessin { width: min(100%, 26rem); }
  .hero .lead { font-size: 20px; }
  .outils { padding: 14px; }
  .two { grid-template-columns: 1fr 1fr; }
  .fiche { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .logo-nom { font-size: 32px; }
  body.accueil main > .wrap { padding-top: 104px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* ---------- Espace professionnel et gestion ---------- */
.ok { padding: 10px 14px; background: var(--accent-clair); border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; }
.code { white-space: pre-wrap; word-break: break-all; padding: 12px 14px; background: var(--nuage); border: 2px dashed var(--ink); border-radius: var(--r); font-size: 14px; }
.pro-bloc { margin-top: 28px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; max-width: 720px; }
.pro-bloc h2 { margin-bottom: 12px; }
.svc { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; }
.svc-h { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.svc-h span { color: var(--muted); font-variant-numeric: tabular-nums; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg button { min-height: 52px; font: inherit; font-weight: 600; font-size: 18px; border: 2px solid var(--ink); border-radius: var(--r); background: #fff; color: var(--ink); cursor: pointer; }
.seg button.on { background: var(--accent); border-color: var(--ink); color: var(--ink); }
.seg button.off.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.svc-ex { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.svc-ex input, .grille input, .grille select, .form select { font: inherit; padding: 8px 10px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--bg); color: var(--ink); min-height: 44px; }
.ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.grille { display: grid; gap: 10px; }
.grille .jour { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); }
.grille legend { font-weight: 700; padding: 0 4px; }
.grille label { display: inline-flex; align-items: center; gap: 6px; }
.jour[data-m="ferme"] .t-services, .jour[data-m="ferme"] .t-continu, .jour[data-m="ferme"] .t-lieu,
.jour[data-m="services"] .t-continu, .jour[data-m="continu"] .t-services { display: none; }
.grille .btn { justify-self: start; }
.lieux { list-style: none; padding: 0; margin: 0 0 12px; }
.lieux li, .g-liste li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.g-liste { list-style: none; padding: 0; margin: 0; max-width: 900px; }
.g-liste li > span { min-width: 0; flex: 1 1 320px; }
.g-liste .msg { white-space: normal; color: var(--muted); }
.gestion section { margin-top: 28px; }
.grille select { min-width: 12em; }

/* État « rien d'ouvert » */
.rien { display: flex; align-items: center; gap: 20px; background: var(--accent-clair); border-radius: var(--r); padding: 16px 22px; margin: 0 0 18px; }
.dessin-rien { flex: none; width: 112px; height: auto; }
.rien-t { margin: 0 0 4px; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; font-size: 1.35rem; line-height: 1.15; color: var(--ink); }
.rien-s { margin: 0; color: var(--muted); }
@media (max-width: 719px) { .rien { gap: 14px; padding: 14px 16px; } .dessin-rien { width: 84px; } .rien-t { font-size: 1.15rem; } }

/* Menu : sur téléphone, les liens passent à la ligne au lieu de défiler */
@media (max-width: 719px) { .menu { flex-wrap: wrap; overflow: visible; } .menu a { min-height: 40px; padding: 6px 12px; font-size: 14px; } }

.tag-halal { justify-self: start; display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 6px; font-size: 13px; font-weight: 600; background: var(--accent-clair); color: var(--ink); border: 1px solid var(--accent); }
.halal-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- Page vendeurs : étapes numérotées ---------- */
.etapes { list-style: none; counter-reset: e; display: grid; gap: 12px; padding: 0; margin: 0 0 20px; }
.etapes li { counter-increment: e; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.etapes li::before { content: counter(e); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; }
.page-texte .search { margin: 18px 0 8px; }

/* ---- Carte de France de l'accueil ---- */
.carte-grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 820px) { .carte-grille { grid-template-columns: 1fr; gap: 18px; } }
.mc-boite { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 18px; box-shadow: 0 8px 28px rgba(17, 21, 28, .06); min-height: 220px; }
.mc-boite svg { display: block; width: 100%; height: auto; max-height: 78vh; }
.mc-boite path { stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: fill .15s ease; cursor: pointer; }
.mc-boite path:focus { outline: none; }
.mc-boite path:focus-visible, .mc-boite path:hover { stroke: var(--ink); stroke-width: 2.2; }
.q0 { fill: #eceef2; background: #eceef2; }
.q1 { fill: #ffe3d1; background: #ffe3d1; }
.q2 { fill: #ffc59d; background: #ffc59d; }
.q3 { fill: #ff9a57; background: #ff9a57; }
.q4 { fill: #f25c05; background: #f25c05; }
.q5 { fill: #c94a00; background: #c94a00; }
.mc-tip { position: absolute; pointer-events: none; z-index: 5; transform: translate(-50%, -130%); background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.mc-legende { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 4px 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--muted); }
.mc-legende i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgba(17, 21, 28, .12); }


.mc-boite:not(.actif) { display: none; }
.mc-cote h3 { margin: 0 0 4px; font-family: var(--f-display); font-weight: 800; font-size: 28px; letter-spacing: -.02em; }
.mc-cote .sub { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.mc-retour { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--muted); font: 600 15px var(--f-body); padding: 10px 0; min-height: 44px; cursor: pointer; }
.mc-retour:hover { color: var(--ink); }
.mc-liste { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 340px) { .mc-liste { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .mc-liste { gap: 8px; } .mc-liste a { padding: 11px 12px; min-height: 0; } .mc-liste b { font-size: 15px; } .mc-liste span { font-size: 13px; } }
.mc-liste a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; min-height: 64px; transition: transform .15s ease, box-shadow .15s ease; }
.mc-liste a:hover, .mc-liste a:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(17, 21, 28, .1); }
.mc-liste b { font-family: var(--f-display); font-size: 17px; letter-spacing: -.01em; line-height: 1.2; }
.mc-liste span { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.mc-liste a.soon b { color: var(--muted); }
.mc-liste-om a { min-height: 0; padding: 10px 14px; }
.carte-grille:has(.mc-boite:not(.actif)) { grid-template-columns: 1fr; }

/* Note Google sur la fiche */
.note-g { margin: 0; color: var(--muted); font-size: 15px; }
.note-g b { color: var(--ink); }
.note-g .etoile { color: var(--accent); }

/* ---------- Partage « Vous y allez ? » ---------- */
.partage { background: var(--nuage); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 16px; margin-block: 20px; }
.partage h2 { margin: 0 0 4px; font-size: 21px; }
.partage-aide { margin: 0 0 14px; color: var(--muted); }
.partage-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ps { width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; text-decoration: none; transition: transform .12s; }
.ps svg { width: 32px; height: 32px; display: block; }
.ps:hover { transform: translateY(-2px); }
.ps:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.ps-fb { background: #1877f2; } .ps-wa { background: #25d366; } .ps-x { background: #000; } .ps-tt { background: #000; }
.ps-ig { background: linear-gradient(45deg, #feda75, #fa7e1e 28%, #d62976 55%, #962fbf 78%, #4f5bd5); }
.ps-sms { background: var(--accent); } .ps-mail { background: var(--muted); } .ps-lien { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.partage-note { margin: 12px 0 0; font-weight: 600; word-break: break-all; }
.partage-note[hidden] { display: none; }
.partage-conf { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
