/* =====================================================================
   Identité « Bento citoyen » (mairies) — photo en carte arrondie, menu en onglet blanc autour du blason et,
   par-dessus la photo, des tuiles vives : l'alerte du moment puis les services les plus demandés.
   Titres Poppins, texte Inter. Teintes des tuiles choisies pour le contraste AA (texte blanc ou encre).
   ===================================================================== */

:root[data-identite="bento"] {
  --v-display: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  --v-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --v-bg: #f3f4f7;
  --v-surface: #ffffff;
  --v-surface-2: #e9ebf1;
  --v-ink: 31 36 51;
  --v-muted: 84 91 108;
  --v-line: 225 228 236;
  --v-radius: 1.25rem;
  --v-radius-lg: 1.75rem;
  --v-shadow: 0 1px 2px rgb(31 36 51 / .05), 0 14px 34px -20px rgb(31 36 51 / .3);
  --m-ink: rgb(31 36 51);
  --m-shadow-lg: 0 28px 60px -28px rgb(31 36 51 / .45);
  /* Tuiles */
  --bnt-orange: #f59e0b; --bnt-orange-ink: #231400;
  --bnt-coral: #d42f45;
  --bnt-blue: #2563eb;
  --bnt-violet: #7c3aed;
  --bnt-night: #262d3d;
  --bnt-frame: 1.25rem;
}
[data-identite="bento"] body { background: var(--v-bg); color: rgb(var(--v-ink)); font-family: var(--v-body); }
[data-identite="bento"] :is(h1, h2, h3, .v-title, .m-title, .m-pagehero__title, .m-brand__name, .m-mega__label, .m-footer__name) { font-family: var(--v-display); }

/* ------------------------------------------------------------------ Barre : onglet blanc, blason dans l'encoche */
[data-identite="bento"] .m-topbar { display: none; }
[data-identite="bento"] .m-actions__cta { display: none; }
[data-identite="bento"] .m-nav__btn { font-family: var(--v-display); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 0 .95rem; }
[data-identite="bento"] .m-nav__btn svg { display: none; }
[data-identite="bento"] .m-nav__btn::after { left: .95rem; right: .95rem; height: 2px; bottom: .9rem; }
[data-identite="bento"] .m-iconbtn { border-radius: 999px; }
@media (min-width: 1180px) {
  [data-identite="bento"] .m-header { background: transparent; }
  [data-identite="bento"] .m-header.is-scrolled { box-shadow: none; }
  [data-identite="bento"] .m-mainbar { background: transparent; border-bottom: 0; pointer-events: none; }
  [data-identite="bento"] .m-mainbar__row { pointer-events: auto; position: relative; width: fit-content; max-width: none; margin: 0 auto; min-height: 3.9rem; padding: 0 1rem; gap: 0; background: #fff; border-radius: 0 0 1.4rem 1.4rem; box-shadow: 0 16px 34px -20px rgb(31 36 51 / .4); }
  [data-identite="bento"] .m-mainbar .m-brand { position: absolute; left: 50%; top: 0; transform: translateX(-50%); z-index: 2; padding: .55rem .95rem .7rem; background: #fff; border-radius: 0 0 1.4rem 1.4rem; }
  [data-identite="bento"] .m-mainbar .m-brand::before, [data-identite="bento"] .m-mainbar .m-brand::after { content: ''; position: absolute; top: 3.9rem; width: 1rem; height: 1rem; background: radial-gradient(circle at var(--x) 100%, transparent 1rem, #fff 1.02rem); }
  [data-identite="bento"] .m-mainbar .m-brand::before { left: -1rem; --x: 0%; }
  [data-identite="bento"] .m-mainbar .m-brand::after { right: -1rem; --x: 100%; }
  [data-identite="bento"] .m-mainbar .m-brand__logo { height: 3.5rem; max-width: 3.3rem; }
  [data-identite="bento"] .m-mainbar .m-brand__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  [data-identite="bento"] .m-nav--split { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem minmax(0, 1fr); }
  [data-identite="bento"] .m-nav__list--a { justify-content: flex-end; }
  [data-identite="bento"] .m-nav__list--b { justify-content: flex-start; }
  [data-identite="bento"] .m-nav__item { display: flex; align-items: center; }
  [data-identite="bento"] .m-nav__item + .m-nav__item::before { content: ''; width: 1px; height: .85rem; background: rgb(var(--v-ink) / .3); }
  [data-identite="bento"] .m-nav__btn { height: 3.9rem; }
  /* Recherche et Espace : deux pastilles blanches à droite de l'onglet */
  [data-identite="bento"] .m-actions { position: absolute; left: calc(100% + .75rem); top: .55rem; gap: .4rem; }
  [data-identite="bento"] .m-actions .m-iconbtn { width: 2.75rem; height: 2.75rem; background: #fff; box-shadow: 0 10px 24px -14px rgb(31 36 51 / .5); }
  [data-identite="bento"] .m-actions .m-iconbtn:hover { background: var(--v-bg); }
  [data-identite="bento"] .m-mega { top: calc(100% + .5rem); left: var(--bnt-frame); right: var(--bnt-frame); border-radius: 1.5rem; border: 0; box-shadow: 0 30px 70px -30px rgb(31 36 51 / .5); }
  /* Page intérieure ou défilement : l'onglet reste blanc au-dessus de la page */
  [data-identite="bento"] .m-header[data-variant="page"] { padding-bottom: 0; }
}
@media (min-width: 1180px) and (max-width: 1320px) { [data-identite="bento"] .m-nav__btn { padding: 0 .65rem; letter-spacing: .05em; } }
@media (max-width: 1179px) {
  [data-identite="bento"] .m-mainbar { background: #fff; }
}

/* ------------------------------------------------------------------ Bannière */
.m-bnt { color: var(--m-ink); padding: 0 var(--bnt-frame) 1.5rem; background: transparent; overflow: visible; }
@media (min-width: 1180px) { .m-bnt { margin-top: calc(-3.9rem - 1px); } }
.m-bnt__frame { max-width: 1280px; margin: 0 auto; padding-top: .75rem; }
@media (min-width: 1180px) { .m-bnt__frame { padding-top: 0; } }
.m-bnt__photo { position: relative; isolation: isolate; overflow: hidden; border-radius: 2rem; height: clamp(24rem, 60svh, 37rem); background: var(--bnt-night); color: #fff; box-shadow: 0 30px 60px -40px rgb(31 36 51 / .6); }
.m-bnt__photo .m-portail__bg { z-index: -1; }
.m-bnt__photo .m-portail__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 14 24 / .62) 0%, rgb(10 14 24 / .25) 40%, transparent 62%), linear-gradient(180deg, rgb(10 14 24 / .18), transparent 30%); }
.m-bnt__intro { position: absolute; left: clamp(1.5rem, 4vw, 3.25rem); top: clamp(5.25rem, 12vh, 7.25rem); width: min(34rem, calc(100% - 3rem)); }
@media (max-width: 1179px) { .m-bnt__intro { top: 2rem; } }
.m-bnt__eyebrow { font-family: var(--v-display); font-weight: 600; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: rgb(255 255 255 / .85); }
.m-bnt__h1 { margin-top: .4rem; font-family: var(--v-display); font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; text-shadow: 0 2px 24px rgb(0 0 0 / .3); }
.m-bnt__lead { margin-top: .8rem; font-size: 1rem; line-height: 1.5; color: rgb(255 255 255 / .9); max-width: 28rem; text-shadow: 0 1px 12px rgb(0 0 0 / .4); }
.m-bnt .m-search { margin-top: 1.3rem; max-width: 32rem; padding: .35rem .35rem .35rem 1rem; border-radius: 999px; box-shadow: 0 16px 34px -16px rgb(0 0 0 / .5); }
.m-bnt .m-search input { padding: .7rem 0; font-size: .95rem; text-overflow: ellipsis; }
.m-bnt .m-search .v-btn { border-radius: 999px; padding: .7rem 1.1rem !important; background: var(--bnt-night); border-color: var(--bnt-night); }
.m-bnt .m-status { margin-top: .9rem; background: rgb(0 0 0 / .3); border-color: rgb(255 255 255 / .25); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.m-bnt .m-portail__pause { top: 1rem; bottom: auto; right: 1rem; }
.m-bnt .m-credit-pop { top: 1rem; bottom: auto; right: 4rem; }
.m-bnt .m-credit-pop__text { top: calc(100% + .5rem); bottom: auto; }

/* Tuiles : la première (alerte du jour) sur deux rangées, les quatre autres en damier */
.m-bnt__grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(10rem, auto); gap: 1.1rem; margin: clamp(-11.5rem, -16vh, -8rem) clamp(1rem, 3.5vw, 3rem) 0; }
.m-bnt__slot { grid-row: span 2; display: flex; }
.m-bnt__slot > .m-bnt__tile { flex: 1; }
.m-bnt__tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .55rem; padding: 1.55rem 1.7rem 1.6rem; border-radius: 1.4rem; color: #fff; background: var(--bnt-night); box-shadow: 0 22px 44px -26px rgb(31 36 51 / .65); transition: transform .22s ease, box-shadow .22s ease; text-decoration: none; }
a.m-bnt__tile:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -26px rgb(31 36 51 / .7); }
a.m-bnt__tile:focus-visible { outline: 3px solid var(--bnt-night); outline-offset: 3px; }
.m-bnt__title { font-family: var(--v-display); font-weight: 600; font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.12; letter-spacing: -0.015em; max-width: 72%; }
.m-bnt__text { font-size: .9rem; line-height: 1.45; max-width: 68%; color: rgb(255 255 255 / .92); }
.m-bnt__art { position: absolute; right: 1.25rem; bottom: 1.1rem; width: 3.75rem !important; height: 3.75rem !important; stroke-width: 1.4; opacity: .42; pointer-events: none; }
.m-bnt__label { display: inline-flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.m-bnt__tile--a { padding: 1.9rem 1.9rem 2rem; }
.m-bnt__tile--a .m-bnt__title { font-size: clamp(1.55rem, 2.3vw, 2.05rem); max-width: none; }
.m-bnt__tile--a .m-bnt__text { max-width: none; }
.m-bnt__tile--a .m-bnt__art { width: 7.5rem !important; height: 7.5rem !important; right: 1.4rem; bottom: 1.4rem; opacity: .22; }
.m-bnt__btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem; padding: .7rem 1.2rem; border-radius: 999px; border: 1.5px solid currentColor; font-weight: 600; font-size: .9rem; color: inherit; position: relative; z-index: 1; }
.m-bnt__btn:hover { background: rgb(255 255 255 / .16); }
.m-bnt__more { margin-top: .35rem; display: grid; gap: .4rem; font-size: .85rem; font-weight: 600; }
.m-bnt__more li { display: flex; gap: .45rem; align-items: flex-start; }
.m-bnt__more svg { flex: none; margin-top: .1rem; }
.m-bnt__tile--orange, .m-bnt__tile--jaune, .m-bnt__tile--open { background: linear-gradient(150deg, #fbb238, var(--bnt-orange) 55%, #f08a12); color: var(--bnt-orange-ink); }
.m-bnt__tile--jaune { background: linear-gradient(150deg, #fde68a, #fcd34d); }
.m-bnt__tile--orange .m-bnt__text, .m-bnt__tile--jaune .m-bnt__text, .m-bnt__tile--open .m-bnt__text { color: rgb(35 20 0 / .86); }
.m-bnt__tile--orange .m-bnt__btn:hover, .m-bnt__tile--jaune .m-bnt__btn:hover, .m-bnt__tile--open .m-bnt__btn:hover { background: rgb(0 0 0 / .08); }
.m-bnt__tile--rouge { background: linear-gradient(150deg, #dc2626, #b91c1c); }
.m-bnt__tile--info { background: linear-gradient(150deg, rgb(var(--pal-primary-700)), rgb(var(--pal-primary-900))); }
.m-bnt__tile--vert { background: linear-gradient(150deg, #059669, #047857); }
.m-bnt__tile--coral { background: linear-gradient(150deg, #e0414f, var(--bnt-coral)); }
.m-bnt__tile--blue { background: linear-gradient(150deg, #3b82f6, var(--bnt-blue) 60%); }
.m-bnt__tile--violet { background: linear-gradient(150deg, #8b5cf6, var(--bnt-violet) 60%); }
.m-bnt__tile--night { background: linear-gradient(150deg, #323a4e, var(--bnt-night)); }
.m-bnt__rest { margin: 1.1rem clamp(1rem, 3.5vw, 3rem) 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .88rem; color: rgb(var(--v-muted)); }
.m-bnt__rest > span { font-weight: 600; margin-right: .25rem; }
.m-bnt__rest a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; background: #fff; color: var(--m-ink); font-weight: 600; box-shadow: var(--v-shadow); transition: transform .15s ease; }
.m-bnt__rest a:hover { transform: translateY(-1px); }
@media (max-width: 1023px) {
  .m-bnt__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: -4.5rem .75rem 0; gap: .75rem; grid-auto-rows: minmax(8.5rem, auto); }
  .m-bnt__slot { grid-column: 1 / -1; grid-row: auto; }
  .m-bnt__tile { padding: 1.2rem 1.25rem; border-radius: 1.2rem; }
  .m-bnt__title { max-width: none; font-size: 1.2rem; }
  .m-bnt__text { max-width: none; font-size: .84rem; }
  .m-bnt__art { width: 2.6rem !important; height: 2.6rem !important; right: .9rem; top: .9rem; bottom: auto; }
  a.m-bnt__tile .m-bnt__title { padding-right: 2.6rem; }
  .m-bnt__tile--a .m-bnt__art { width: 4.5rem !important; height: 4.5rem !important; top: auto; bottom: 1rem; }
  .m-bnt__photo { height: auto; min-height: 31rem; border-radius: 1.5rem; }
  .m-bnt__intro { position: relative; left: auto; top: auto; width: auto; padding: 2rem 1.4rem 6rem; }
  .m-bnt__rest { margin: .9rem .75rem 0; }
}
@media (max-width: 479px) { .m-bnt { padding: 0 .6rem 1rem; } .m-bnt__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Rubriques */
[data-identite="bento"] .v-section { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
[data-identite="bento"] :is(.v-title, .m-title) { font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; font-size: clamp(1.9rem, 3.8vw, 3rem); }
[data-identite="bento"] :is(.v-title, .m-title) .v-italic { font-style: normal; color: var(--bnt-blue); }
[data-identite="bento"] .m-section--ink :is(.v-title, .m-title) .v-italic { color: #fcd34d; }
[data-identite="bento"] .v-eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; background: #fff; box-shadow: var(--v-shadow); font-family: var(--v-display); font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--m-ink); }
[data-identite="bento"] .v-eyebrow::before { content: ''; width: .55rem; height: .55rem; border-radius: 999px; background: var(--bnt-coral); }
[data-identite="bento"] section:nth-of-type(3n) .v-eyebrow::before { background: var(--bnt-blue); }
[data-identite="bento"] section:nth-of-type(3n+1) .v-eyebrow::before { background: var(--bnt-violet); }
[data-identite="bento"] .m-section--ink .v-eyebrow { background: rgb(255 255 255 / .12); color: #fff; box-shadow: none; }
[data-identite="bento"] .v-btn { border-radius: 999px; font-family: var(--v-display); font-weight: 600; }
[data-identite="bento"] .v-btn--primary { background: var(--bnt-night); border-color: var(--bnt-night); color: #fff; }
[data-identite="bento"] .v-btn--primary:hover { background: var(--bnt-blue); border-color: var(--bnt-blue); }
[data-identite="bento"] .v-btn--ghost { background: #fff; border-color: transparent; box-shadow: var(--v-shadow); color: var(--m-ink); }
[data-identite="bento"] .m-more { font-weight: 600; color: #1d4ed8; }
[data-identite="bento"] :is(.v-card, .m-card, .m-rubcard, .m-linkcard, .m-service, .m-contact, .m-doc, .m-aside__card, .m-tablewrap, .m-demgroup, .m-event, .m-maire--letter) { border: 0; border-radius: var(--v-radius-lg); background: #fff; box-shadow: var(--v-shadow); }
[data-identite="bento"] .m-section--surface { background: var(--v-surface-2); }
/* Couleurs du bento en accent : catégories, dates, pictogrammes */
[data-identite="bento"] .m-date { border-radius: 1rem; background: var(--bnt-violet); color: #fff; }
[data-identite="bento"] .m-demgroup:nth-child(4n+1) .m-ico, [data-identite="bento"] .m-demgroup:nth-child(4n+1) [class*="__ico"] { background: rgb(212 47 69 / .1); color: var(--bnt-coral); }
[data-identite="bento"] .m-demgroup:nth-child(4n+2) .m-ico, [data-identite="bento"] .m-demgroup:nth-child(4n+2) [class*="__ico"] { background: rgb(37 99 235 / .1); color: var(--bnt-blue); }
[data-identite="bento"] .m-demgroup:nth-child(4n+3) .m-ico, [data-identite="bento"] .m-demgroup:nth-child(4n+3) [class*="__ico"] { background: rgb(124 58 237 / .1); color: var(--bnt-violet); }
[data-identite="bento"] .m-demgroup:nth-child(4n) .m-ico, [data-identite="bento"] .m-demgroup:nth-child(4n) [class*="__ico"] { background: rgb(245 158 11 / .16); color: #b45309; }
[data-identite="bento"] .m-sign__mono { background: var(--bnt-coral); color: #fff; }
[data-identite="bento"] .m-section--ink { background: var(--bnt-night); }
[data-identite="bento"] .m-commune__side .v-photo { border-radius: var(--v-radius-lg); }
[data-identite="bento"] .m-stat { border: 0; border-radius: 1.2rem; }
[data-identite="bento"] .m-stat:nth-child(1) { background: var(--bnt-coral); color: #fff; }
[data-identite="bento"] .m-stat:nth-child(2) { background: var(--bnt-blue); color: #fff; }
[data-identite="bento"] .m-stat:nth-child(3) { background: var(--bnt-violet); color: #fff; }
[data-identite="bento"] .m-stat:nth-child(4) { background: var(--bnt-orange); color: var(--bnt-orange-ink); }
[data-identite="bento"] .m-stat :is(.m-stat__label, .m-stat__icon) { color: inherit !important; }
[data-identite="bento"] .m-faq details { background: #fff; border: 0; border-radius: 1.1rem; margin-bottom: .6rem; box-shadow: var(--v-shadow); }
[data-identite="bento"] .m-faq { border-top: 0; }
[data-identite="bento"] .m-faq summary { padding-left: 1.25rem; padding-right: 1.25rem; font-family: var(--v-display); font-weight: 600; }
[data-identite="bento"] .m-faq .v-faq__a { padding-left: 1.25rem; padding-right: 1.25rem; }

/* ------------------------------------------------------------------ Pied de page */
[data-identite="bento"] .m-footer { background: var(--bnt-night); margin: 0 var(--bnt-frame) var(--bnt-frame); border-radius: 2rem; overflow: hidden; }
[data-identite="bento"] .m-footer__ridge { display: none; }

/* ------------------------------------------------------------------ Pages intérieures : bannière en carte, sous l'onglet */
[data-identite="bento"] .m-pagehero { margin: 0 var(--bnt-frame); border-radius: 2rem; }
@media (min-width: 1180px) { [data-identite="bento"] .m-pagehero { padding-top: 5rem; } }
[data-identite="bento"] .m-pagehero:not(.m-pagehero--photo) { background: #fff; box-shadow: var(--v-shadow); }
[data-identite="bento"] .m-pagehero__ridge { display: none; }
[data-identite="bento"] .m-pagehero__title { font-weight: 700; letter-spacing: -0.035em; }
[data-identite="bento"] .m-pagehero__icon { border-radius: 1rem; background: var(--bnt-blue); box-shadow: none; }
[data-identite="bento"] .m-aside__nav a[aria-current] { background: rgb(37 99 235 / .1); color: #1d4ed8; }
[data-identite="bento"] .m-prose :is(h2, h3) { font-family: var(--v-display); font-weight: 600; }
[data-identite="bento"] .m-prose:not(.m-prose--light) a { color: #1d4ed8; }
[data-identite="bento"] .m-prose:not(.m-prose--light) a:hover { color: #1e3a8a; }
[data-identite="bento"][data-motif] :is(.m-portail__title, .m-title, .m-pagehero__title, .v-title) .v-italic { font-style: normal; font-weight: inherit; }

/* L'alerte du jour est dans la grande tuile orange : pas de bandeau en double sur l'accueil */
body:has(.m-bnt .m-bnt__tile--a:not(.m-bnt__tile--open)) .m-alertes { display: none; }

/* ------------------------------------------------------------------ Signature : actualités en bento (bandeau de couleur, catégorie en pastille) */
[data-identite="bento"] [data-news-list] > article { border-radius: 1.6rem; }
[data-identite="bento"] [data-news-list] > article > div:first-child { margin: .6rem .6rem 0; border-radius: 1.15rem; aspect-ratio: 16 / 10; }
[data-identite="bento"] [data-news-list] > article h3 { font-family: var(--v-display); font-weight: 600; font-size: 1.15rem; }
[data-identite="bento"] [data-news-list] > article p:first-child > span:last-child { padding: .2rem .6rem; border-radius: 999px; color: #fff; letter-spacing: .06em; }
[data-identite="bento"] [data-news-list] > article:nth-child(3n+1) p:first-child > span:last-child { background: var(--bnt-coral); }
[data-identite="bento"] [data-news-list] > article:nth-child(3n+2) p:first-child > span:last-child { background: var(--bnt-blue); }
[data-identite="bento"] [data-news-list] > article:nth-child(3n) p:first-child > span:last-child { background: var(--bnt-violet); }
[data-identite="bento"] [data-news-list] > article .v-accent { color: var(--bnt-blue) !important; }
/* Agenda : dates en pastilles colorées, cartes blanches */
[data-identite="bento"] .m-event { padding: 1.1rem 1.25rem; }
[data-identite="bento"] .m-events > .m-event:nth-child(3n+2) .m-date { background: var(--bnt-coral); }
[data-identite="bento"] .m-events > .m-event:nth-child(3n) .m-date { background: var(--bnt-blue); }
[data-identite="bento"] .m-date__d { font-family: var(--v-display); font-weight: 700; }
[data-identite="bento"] .m-event__title { font-family: var(--v-display); font-weight: 600; }
/* Mot du maire : carte avec liseré violet */
[data-identite="bento"] .m-maire--letter { position: relative; overflow: hidden; }
[data-identite="bento"] .m-maire--letter::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--bnt-coral), var(--bnt-violet)); }

/* Mobile et tablette : l’Espace de la mairie est dans le menu (≡), le nom de la commune garde sa place */
@media (max-width: 1179px) { [data-identite="bento"] .m-actions__account { display: none; } }

/* Menu trop long pour la ligne (noms de rubriques longs, écran moyen) : espacement resserré par paliers (mairie/navbar.js) */
[data-identite="bento"] .m-header[data-nav-fit] .m-nav__btn::after { left: .3rem; right: .3rem; }
[data-identite="bento"] .m-header[data-nav-fit="1"] .m-nav__btn { padding-left: .5rem; padding-right: .5rem; letter-spacing: .05em; }
[data-identite="bento"] .m-header[data-nav-fit="2"] .m-nav__btn { padding-left: .38rem; padding-right: .38rem; letter-spacing: .03em; font-size: .72rem; }
[data-identite="bento"] .m-header[data-nav-fit="3"] .m-nav__btn { padding-left: .28rem; padding-right: .28rem; letter-spacing: .01em; font-size: .68rem; }
[data-identite="bento"] .m-header[data-nav-fit="4"] .m-nav__btn { padding-left: .2rem; padding-right: .2rem; letter-spacing: 0; font-size: .64rem; }

/* Contrastes AA : catégories de l'agenda foncées sur les fonds teintés ; légendes des chiffres clés sur fond sombre */
[data-identite="bento"] .m-event__cat { color: color-mix(in srgb, var(--evt, currentColor) 70%, black) !important; }
[data-identite="bento"] .m-section--ink .m-stat__label { color: inherit; }
