/*
 * COMMUNE VIVANTE — Proposition graphique Pasly / DataMaires
 * Toutes les règles sont limitées à .commune-theme.
 * Ajouter cette classe au body (ou au conteneur de page), puis appliquer
 * les classes dm-* de index.html aux composants existants.
 * Aucune police externe, aucune dépendance CSS ou JavaScript.
 */
.commune-theme {
  --dm-ink: #17332f;
  --dm-muted: #5c6c67;
  --dm-paper: #fffefa;
  --dm-cream: #f8f7ed;
  --dm-green: #087c62;
  --dm-green-dark: #075f4d;
  --dm-green-light: #e8f4e8;
  --dm-yellow: #ffda51;
  --dm-coral: #ee826d;
  --dm-line: #e4e8df;
  --dm-radius: 22px;
  --dm-width: 1240px;
  --dm-shadow: 0 12px 32px rgb(29 64 49 / 7%);
  --dm-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  margin: 0;
  background: var(--dm-paper);
  color: var(--dm-ink);
  font-family: var(--dm-font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color-scheme: light;
}
.commune-theme *, .commune-theme *::before, .commune-theme *::after { box-sizing: border-box; }
.commune-theme [hidden] { display: none !important; }
.commune-theme h1, .commune-theme h2, .commune-theme h3, .commune-theme p { margin: 0; }
.commune-theme a { color: inherit; text-decoration: none; }
.commune-theme button, .commune-theme input { font: inherit; }
.commune-theme button { color: inherit; cursor: pointer; }
.commune-theme img { display: block; max-width: 100%; }
.commune-theme button, .commune-theme a { -webkit-tap-highlight-color: transparent; }
.commune-theme :focus-visible { outline: 3px solid #244bc8; outline-offset: 5px; }
.commune-theme ::selection { background: var(--dm-yellow); color: var(--dm-ink); }
.commune-theme .dm-icon { display: inline-block; flex-shrink: 0; width: 24px; height: 24px; vertical-align: middle; }
.commune-theme .dm-wrap { width: min(calc(100% - 80px), var(--dm-width)); margin-inline: auto; }
.commune-theme .dm-skip { position: fixed; top: -100px; left: 20px; z-index: 100; background: white; padding: 14px 22px; border-radius: 8px; }
.commune-theme .dm-skip:focus { top: 10px; }
.commune-theme :is(#accueil, #mairie, #contact, #horaires) { scroll-margin-top: 24px; }

/* 1. Bandeau et navigation */
.commune-theme .dm-demo { background: #edf3e9; color: #536551; font-size: 11px; }
.commune-theme .dm-demo .dm-wrap { min-height: 32px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.commune-theme .dm-demo strong { font-weight: 750; }
.commune-theme .dm-demo-sep { padding-inline: 10px; color: #8b9882; }
.commune-theme .dm-demo-tag { font-size: 10px; letter-spacing: .035em; }
.commune-theme .dm-header { background: var(--dm-paper); border-bottom: 1px solid var(--dm-line); }
.commune-theme .dm-header-inner { min-height: 93px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.commune-theme .dm-brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.commune-theme .dm-brand img { width: 42px; height: 46px; object-fit: contain; mix-blend-mode: multiply; }
.commune-theme .dm-brand strong { display: block; font-size: 31px; font-weight: 800; letter-spacing: -1.4px; line-height: 1.1; }
.commune-theme .dm-brand-dot { color: var(--dm-green); }
.commune-theme .dm-brand small { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .025em; color: var(--dm-muted); }
.commune-theme .dm-nav { display: flex; align-items: center; gap: 27px; }
.commune-theme .dm-nav > a, .commune-theme .dm-nav > button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 0; padding: 0; background: none; font-size: 13px; font-weight: 650; white-space: nowrap; }
.commune-theme .dm-nav > :is(a, button):hover { color: var(--dm-green); }
.commune-theme .dm-nav > .dm-nav-contact { background: var(--dm-yellow); padding: 12px 20px; border-radius: 50px; color: var(--dm-ink); transition: background .2s; }
.commune-theme .dm-nav-contact .dm-icon { width: 17px; height: 17px; }
.commune-theme .dm-nav > .dm-nav-contact:hover { background: #f7cc37; }
.commune-theme .dm-menu-button { display: none; align-items: center; justify-content: center; min-height: 44px; gap: 8px; padding: 10px 14px; background: white; border: 1px solid var(--dm-line); border-radius: 12px; font-weight: 650; }

/* 2. Accueil : typographie éditoriale et photographie */
.commune-theme .dm-hero { overflow: hidden; background: var(--dm-cream); position: relative; }
.commune-theme .dm-hero-grid { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: 54px; padding-block: 43px 53px; }
.commune-theme .dm-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.commune-theme .dm-eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dm-coral); box-shadow: 0 0 0 5px #f7e2d5; margin-right: 4px; }
.commune-theme .dm-hero h1 { margin-top: 19px; font-size: clamp(42px, 4.55vw, 65px); font-weight: 780; line-height: 1.035; letter-spacing: -.055em; }
.commune-theme .dm-hero h1 > span { color: var(--dm-green); }
.commune-theme .dm-title-break { display: none; }
.commune-theme .dm-hero-copy > p { margin-top: 23px; color: var(--dm-muted); font-size: 15px; line-height: 1.75; }
.commune-theme .dm-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.commune-theme .dm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 1px solid transparent; border-radius: 14px; padding: 11px 19px; font-size: 13px; font-weight: 700; line-height: 1.25; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.commune-theme .dm-btn--primary { background: var(--dm-green); color: white; box-shadow: 0 5px 0 #d9e5d5; }
.commune-theme .dm-btn--secondary { background: #fffdf5; border-color: #dcded1; color: var(--dm-ink); }
.commune-theme .dm-btn--secondary > .dm-icon { width: 18px; height: 18px; color: var(--dm-green); }
.commune-theme .dm-button-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #ffffff20; margin-right: -7px; margin-block: -2px; }
.commune-theme .dm-button-icon .dm-icon { width: 17px; height: 17px; }
.commune-theme .dm-btn--primary:hover { background: var(--dm-green-dark); transform: translateY(-2px); box-shadow: 0 7px 0 #d9e5d5; }
.commune-theme .dm-btn--secondary:hover { background: white; transform: translateY(-2px); box-shadow: var(--dm-shadow); }
.commune-theme .dm-hero-visual { position: relative; margin-top: 10px; min-width: 0; isolation: isolate; }
.commune-theme .dm-visual-back { position: absolute; inset: 18px -13px -12px 13px; background: #eadf9f; border-radius: 175px 175px 34px 34px; transform: rotate(3deg); z-index: -1; }
.commune-theme .dm-hero-photo { width: 100%; height: auto; filter: saturate(1.025); }
.commune-theme .dm-flower-sticker { position: absolute; top: -24px; right: 0; display: grid; place-items: center; width: 82px; height: 82px; color: var(--dm-coral); transform: rotate(12deg); }
.commune-theme .dm-flower-sticker .dm-icon { width: 76px; height: 76px; stroke-width: 1.1; fill: #f8f7ed; }
.commune-theme .dm-photo-note { position: absolute; left: -26px; bottom: -23px; display: flex; align-items: center; gap: 12px; padding: 14px 21px 14px 13px; background: #fffefb; border: 1px solid #f3f0e6; border-radius: 17px; box-shadow: 0 12px 28px #213f3515; transform: rotate(-3deg); font-size: 14px; font-weight: 740; }
.commune-theme .dm-photo-note-icon { display: grid; place-items: center; width: 43px; height: 43px; background: #ebf1dc; color: var(--dm-green); border-radius: 13px; }
.commune-theme .dm-photo-note-icon .dm-icon { width: 23px; height: 23px; }
.commune-theme .dm-photo-note small { display: block; color: var(--dm-muted); font-size: 11px; margin-top: 1px; font-weight: 400; }

/* 3. Six rubriques : palettes cohérentes, vrais SVG et relief au survol */
.commune-theme .dm-shortcuts { padding-block: 31px 17px; }
.commune-theme .dm-section-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.commune-theme .dm-section-header h2 { font-size: clamp(23px, 2.1vw, 28px); letter-spacing: -.035em; line-height: 1.25; font-weight: 740; }
.commune-theme .dm-shortcuts h2 > span { color: var(--dm-green); }
.commune-theme .dm-section-aside { color: var(--dm-muted); font-size: 12px; padding-bottom: 3px; }
.commune-theme .dm-services { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; }
.commune-theme .dm-service { --card-color: #235bc9; --card-tint: #edf3ff; position: relative; isolation: isolate; display: flex; flex-direction: column; text-align: left; min-width: 0; padding: 19px 16px 18px; border: 1px solid transparent; border-bottom: 3px solid var(--card-color); border-radius: 18px; background: var(--card-tint); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.commune-theme .dm-service--pink { --card-color: #bd2e72; --card-tint: #ffedf4; }
.commune-theme .dm-service--teal { --card-color: #067e73; --card-tint: #e7f5ef; }
.commune-theme .dm-service--purple { --card-color: #7543c1; --card-tint: #f0ebff; }
.commune-theme .dm-service--orange { --card-color: #bb511d; --card-tint: #fff1df; }
.commune-theme .dm-service--navy { --card-color: #364e79; --card-tint: #eef1f9; }
.commune-theme .dm-service-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.commune-theme .dm-service-icon { display: grid; place-items: center; width: 57px; height: 57px; border-radius: 18px 18px 18px 7px; background: var(--card-color); color: white; transform: rotate(-5deg); box-shadow: 4px 5px 0 #ffffffb0; transition: transform .22s ease, border-radius .22s ease; }
.commune-theme .dm-service-icon .dm-icon { width: 32px; height: 32px; stroke-width: 1.6; }
.commune-theme .dm-service-arrow { color: var(--card-color); width: 17px; height: 17px; margin-top: 3px; transition: transform .22s; }
.commune-theme .dm-service-title { display: block; font-size: 14px; font-weight: 780; letter-spacing: -.025em; line-height: 1.4; }
.commune-theme .dm-service-desc { margin-top: 5px; font-size: 11px; color: #596960; line-height: 1.4; }
@media (hover: hover) {
  .commune-theme .dm-service:hover { transform: translateY(-6px); border-color: var(--card-color); box-shadow: 0 14px 22px rgb(35 64 49 / 9%); }
  .commune-theme .dm-service:hover .dm-service-icon { transform: rotate(0deg); border-radius: 18px; }
  .commune-theme .dm-service:hover .dm-service-arrow { transform: translate(2px, -2px); }
}
.commune-theme .dm-service:active { transform: translateY(-1px); }

/* 4. Contacts et horaires : informations immédiatement repérables */
.commune-theme .dm-townhall { padding-block: 24px 48px; }
.commune-theme .dm-overline { display: block; margin-bottom: 9px; color: var(--dm-green); font-size: 10px; letter-spacing: .16em; font-weight: 800; }
.commune-theme .dm-text-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 12px; font-weight: 650; color: var(--dm-green); }
.commune-theme .dm-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.commune-theme .dm-text-link .dm-icon { width: 18px; height: 18px; }
.commune-theme .dm-townhall-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.commune-theme .dm-contact-card, .commune-theme .dm-hours-card { border-radius: var(--dm-radius); padding: 26px 29px; }
.commune-theme .dm-contact-card { position: relative; overflow: hidden; isolation: isolate; color: white; background: var(--dm-green); }
.commune-theme .dm-contact-decoration { position: absolute; z-index: -1; width: 280px; height: 280px; border-radius: 50%; border: 45px solid #ffffff09; right: -130px; top: -90px; box-shadow: 0 0 0 36px #ffffff05; }
.commune-theme .dm-contact-heading { display: flex; align-items: center; gap: 12px; }
.commune-theme .dm-contact-heading > span:last-child { font-size: 10px; letter-spacing: .14em; font-weight: 650; color: #e2f5cc; }
.commune-theme .dm-contact-symbol { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #ffffff14; color: var(--dm-yellow); }
.commune-theme .dm-contact-symbol .dm-icon { width: 24px; height: 24px; }
.commune-theme .dm-contact-card h3 { margin-top: 13px; font-size: 28px; letter-spacing: -.04em; line-height: 1.2; }
.commune-theme .dm-address { display: flex; align-items: flex-start; gap: 10px; margin-top: 17px; font-size: 13px; line-height: 1.6; }
.commune-theme .dm-address .dm-icon { width: 17px; height: 17px; margin-top: 2px; color: #e0f4d1; }
.commune-theme .dm-contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 21px; }
.commune-theme .dm-contact-actions a { display: flex; align-items: center; gap: 9px; min-height: 58px; padding: 10px 12px; border: 1px solid #ffffff40; border-radius: 12px; font-size: 13px; font-weight: 600; transition: background .2s; }
.commune-theme .dm-contact-actions a:hover { background: #ffffff14; }
.commune-theme .dm-contact-actions a > .dm-icon:first-child { width: 18px; height: 18px; color: #fce78c; }
.commune-theme .dm-contact-actions a > .dm-icon:last-child { width: 14px; height: 14px; margin-left: auto; }
.commune-theme .dm-contact-actions small { display: block; margin-bottom: 1px; color: #ddf0e2; font-size: 10px; font-weight: 400; }
.commune-theme .dm-hours-card { background: white; border: 1px solid var(--dm-line); }
.commune-theme .dm-hours-heading { display: flex; align-items: center; gap: 14px; }
.commune-theme .dm-hours-symbol { width: 45px; height: 45px; display: grid; place-items: center; background: #f1edff; color: #7543c1; border-radius: 14px; }
.commune-theme .dm-hours-symbol .dm-icon { width: 25px; height: 25px; }
.commune-theme .dm-hours-heading h3 { font-size: 20px; letter-spacing: -.03em; font-weight: 720; line-height: 1.2; }
.commune-theme .dm-hours-heading p { font-size: 11px; color: var(--dm-muted); margin-top: 4px; }
.commune-theme .dm-hours { margin: 16px 0 0; }
.commune-theme .dm-hours > div { display: grid; grid-template-columns: 1fr 1.08fr; gap: 12px; padding-block: 11px; border-bottom: 1px solid var(--dm-line); }
.commune-theme .dm-hours dt { font-size: 12px; font-weight: 650; }
.commune-theme .dm-hours dd { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.commune-theme .dm-hours-unverified { color: var(--dm-muted); }
.commune-theme .dm-hours-note { display: flex; align-items: center; gap: 7px; margin-top: 13px; font-size: 10px; color: var(--dm-muted); }
.commune-theme .dm-hours-note .dm-icon { width: 14px; height: 14px; }

/* 5. Pied de page et fenêtres de démonstration */
.commune-theme .dm-footer { border-top: 1px solid var(--dm-line); background: #f5f6ef; }
.commune-theme .dm-footer .dm-wrap { min-height: 90px; display: flex; align-items: center; gap: 21px; }
.commune-theme .dm-footer-brand { font-size: 26px; font-weight: 800; letter-spacing: -1.3px; }
.commune-theme .dm-footer-brand > span { color: var(--dm-green); }
.commune-theme .dm-footer p { font-size: 12px; color: var(--dm-muted); }
.commune-theme .dm-footer-note { margin-left: auto; font-size: 10px; color: var(--dm-muted); }
.commune-theme .dm-footer a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #dbe0d0; display: grid; place-items: center; color: var(--dm-green); background: white; }
.commune-theme .dm-footer a .dm-icon { transform: rotate(-45deg); width: 18px; height: 18px; }
.commune-theme .dm-dialog { max-width: 540px; width: calc(100% - 32px); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid var(--dm-line); border-radius: 24px; background: var(--dm-paper); color: var(--dm-ink); padding: 28px; box-shadow: 0 30px 100px #17332f33; }
.commune-theme .dm-dialog::backdrop { background: #152d2bd0; backdrop-filter: blur(4px); }
.commune-theme .dm-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.commune-theme .dm-dialog-header .dm-overline { margin: 0; }
.commune-theme .dm-close { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--dm-line); border-radius: 50%; background: white; }
.commune-theme .dm-dialog h2 { font-size: 31px; letter-spacing: -.04em; margin-top: 15px; }
.commune-theme .dm-dialog-intro { font-size: 14px; margin-top: 9px; color: var(--dm-muted); }
.commune-theme .dm-dialog-items { margin-top: 23px; display: grid; gap: 10px; }
.commune-theme .dm-dialog-item { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 15px 17px; background: #edf3e9; border-radius: 12px; font-size: 14px; font-weight: 600; }
.commune-theme .dm-dialog-item small { font-size: 10px; color: var(--dm-muted); white-space: nowrap; font-weight: 400; }
.commune-theme .dm-dialog-note { font-size: 12px; color: var(--dm-muted); margin: 19px 0 22px; }
.commune-theme .dm-noscript { margin: 20px; padding: 20px; background: var(--dm-yellow); border-radius: 14px; }

/* 6. Tablette puis mobile ; aucune dépendance à un framework */
@media (min-width: 1350px) {
  .commune-theme .dm-title-break { display: block; }
  .commune-theme .dm-hero-grid { padding-block: 36px 45px; }
}
@media (max-width: 1100px) {
  .commune-theme .dm-nav { gap: 17px; }
  .commune-theme .dm-hero-grid { gap: 30px; }
  .commune-theme .dm-hero h1 { font-size: clamp(38px, 4.9vw, 53px); }
  .commune-theme .dm-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .commune-theme .dm-service { padding: 19px 20px; }
  .commune-theme .dm-service-title { font-size: 16px; }
  .commune-theme .dm-service-desc { font-size: 12px; }
  .commune-theme .dm-townhall-grid { grid-template-columns: 1fr; }
  .commune-theme .dm-hours > div { grid-template-columns: 1fr 1fr; }
  .commune-theme .dm-photo-note { left: -10px; padding: 11px; }
  .commune-theme .dm-section-aside { display: none; }
}
@media (max-width: 780px) {
  .commune-theme .dm-wrap { width: calc(100% - 40px); }
  .commune-theme .dm-header-inner { min-height: 83px; flex-wrap: wrap; gap: 0; padding-block: 15px; }
  .commune-theme .dm-brand strong { font-size: 28px; }
  .commune-theme .dm-nav { width: 100%; flex-wrap: wrap; gap: 12px 24px; padding-top: 18px; }
  .commune-theme.dm-js .dm-menu-button { display: inline-flex; }
  .commune-theme.dm-js .dm-nav { display: none; }
  .commune-theme.dm-js .dm-nav.is-open { display: flex; }
  .commune-theme .dm-hero-grid { grid-template-columns: 1fr; gap: 36px; padding-block: 34px 48px; }
  .commune-theme .dm-hero h1 { font-size: clamp(43px, 8vw, 62px); }
  .commune-theme .dm-hero-copy { max-width: 600px; }
  .commune-theme .dm-hero-copy > p { margin-top: 18px; font-size: 15px; }
  .commune-theme .dm-hero-actions { margin-top: 23px; }
  .commune-theme .dm-hero-visual { width: min(92%, 500px); justify-self: center; margin: 0; }
  .commune-theme .dm-flower-sticker { width: 65px; height: 65px; top: -18px; right: -8px; }
  .commune-theme .dm-flower-sticker .dm-icon { width: 60px; height: 60px; }
  .commune-theme .dm-photo-note { bottom: -20px; }
  .commune-theme .dm-shortcuts { padding-top: 29px; }
  .commune-theme .dm-service { padding: 17px 14px; }
  .commune-theme .dm-service-title { font-size: 14px; }
  .commune-theme .dm-service-desc { font-size: 11px; }
  .commune-theme .dm-service-icon { width: 53px; height: 53px; }
  .commune-theme .dm-townhall { padding-top: 19px; }
  .commune-theme .dm-section-header .dm-text-link { display: none; }
  .commune-theme .dm-footer .dm-wrap { flex-wrap: wrap; gap: 5px 15px; padding-block: 20px; }
  .commune-theme .dm-footer-note { margin-left: 0; width: calc(100% - 65px); }
  .commune-theme .dm-footer a { margin-left: auto; }
}
@media (max-width: 520px) {
  .commune-theme .dm-demo .dm-wrap { min-height: 30px; font-size: 9px; }
  .commune-theme .dm-demo-tag { font-size: 9px; }
  .commune-theme .dm-demo-sep { padding-inline: 4px; }
  .commune-theme .dm-brand small { font-size: 9px; }
  .commune-theme .dm-hero h1 { font-size: clamp(39px, 10.8vw, 53px); }
  .commune-theme .dm-hero-copy > p { font-size: 14px; }
  .commune-theme .dm-desktop-break { display: none; }
  .commune-theme .dm-eyebrow { font-size: 10px; }
  .commune-theme .dm-hero-actions { gap: 10px; }
  .commune-theme .dm-btn { font-size: 12px; padding: 11px 13px; gap: 7px; min-height: 49px; }
  .commune-theme .dm-hero-visual { width: 94%; }
  .commune-theme .dm-visual-back { inset: 10px -7px -7px 7px; }
  .commune-theme .dm-photo-note { font-size: 12px; gap: 9px; }
  .commune-theme .dm-photo-note small { font-size: 10px; }
  .commune-theme .dm-photo-note-icon { width: 37px; height: 37px; }
  .commune-theme .dm-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .commune-theme .dm-service { padding: 17px 16px; }
  .commune-theme .dm-service-top { margin-bottom: 14px; }
  .commune-theme .dm-contact-card, .commune-theme .dm-hours-card { padding: 23px 20px; }
  .commune-theme .dm-contact-card h3 { font-size: 27px; }
  .commune-theme .dm-contact-actions { grid-template-columns: 1fr; }
  .commune-theme .dm-contact-actions a { font-size: 14px; }
  .commune-theme .dm-hours-heading { gap: 11px; }
  .commune-theme .dm-hours-heading h3 { font-size: 18px; }
  .commune-theme .dm-hours-symbol { width: 40px; height: 40px; flex-shrink: 0; }
  .commune-theme .dm-hours > div { grid-template-columns: 1fr 1.1fr; }
  .commune-theme .dm-hours-note { align-items: flex-start; line-height: 1.6; }
  .commune-theme .dm-hours-note .dm-icon { margin-top: 2px; }
  .commune-theme .dm-footer p { font-size: 11px; }
  .commune-theme .dm-dialog { padding: 22px; }
  .commune-theme .dm-dialog-item { flex-wrap: wrap; gap: 4px; }
}
@media (max-width: 350px) {
  .commune-theme .dm-demo-tag { display: none; }
  .commune-theme .dm-wrap { width: calc(100% - 28px); }
  .commune-theme .dm-hero-actions { align-items: stretch; flex-direction: column; }
  .commune-theme .dm-service-title { font-size: 13px; }
}

/* 7. Mouvement réduit, couleurs forcées et impression */
@media (prefers-reduced-motion: reduce) {
  .commune-theme *, .commune-theme *::before, .commune-theme *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .commune-theme .dm-service, .commune-theme .dm-btn, .commune-theme .dm-contact-card, .commune-theme .dm-hours-card { border: 1px solid ButtonText; }
  .commune-theme .dm-service-icon, .commune-theme .dm-contact-symbol { border: 1px solid ButtonText; }
}
@media print {
  .commune-theme .dm-nav, .commune-theme .dm-demo, .commune-theme .dm-menu-button, .commune-theme .dm-hero-actions, .commune-theme .dm-dialog, .commune-theme .dm-footer a { display: none !important; }
  .commune-theme .dm-wrap { width: 100%; }
  .commune-theme .dm-contact-card { background: white; color: black; border: 1px solid #777; }
  .commune-theme .dm-contact-card small, .commune-theme .dm-contact-heading > span:last-child { color: #333; }
  .commune-theme .dm-contact-card, .commune-theme .dm-hours-card { break-inside: avoid; }
}
