/**
 * assets/css/outils-mur.css — Outils publics : carte « résultat prêt » et fenêtre d'inscription
 * [2026-11] Voir core/views/partials/outils_mur.php et assets/js/outils-mur.js.
 * Plus de flou ni de grisé : tant que le visiteur n'est pas connecté, le résultat
 * est remplacé par une carte colorée qui l'invite à le découvrir.
 */
[data-mur-cta] { display: none; }
html.mc-mur [data-mur] { display: none !important; }
html.mc-mur [data-mur-cta] { display: grid; }

/* Carte « résultat prêt » */
.mur-cta { grid-template-columns: 52px minmax(0, 1fr); gap: 4px 14px; align-items: center; margin: 14px 0 6px; padding: 18px;
  border-radius: 22px; background: linear-gradient(135deg, #efeaff 0%, #fff1ea 100%); border: 1px solid #e6defc;
  font-family: 'DM Sans', system-ui, sans-serif; color: #1e1b4b; text-align: left; animation: mur-pop .35s ease-out; }
.mur-cta::before { content: ''; grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 16px; background: #22c58b
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 28px no-repeat;
  box-shadow: 0 8px 18px rgba(34, 197, 139, .35); }
.mur-cta strong { font: 800 17px/1.25 'Outfit', 'DM Sans', system-ui, sans-serif; color: #1e1b4b; }
.mur-cta p { margin: 0; font-size: 14px; line-height: 1.45; color: #4b4a6b; }
.mur-cta button, .mur-cta a.mur-cta-b { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 10px; padding: 0 22px;
  border: 0; border-radius: 999px; background: #1e1b4b; color: #fff; font: 800 15px/1 'DM Sans', system-ui, sans-serif; cursor: pointer; text-decoration: none;
  box-shadow: 0 10px 22px rgba(30, 27, 75, .22); transition: transform .15s; }
.mur-cta button::after, .mur-cta a.mur-cta-b::after { content: '→'; font-size: 17px; }
.mur-cta button:hover { transform: translateY(-1px); }
.mur-cta::after { content: '1 mois offert · sans carte bancaire · aucune donnée de patient'; grid-column: 1 / -1; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: #6d5dfc; }
.mur-cta--plat { margin-top: 10px; }
@keyframes mur-pop { from { transform: translateY(8px); opacity: 0; } }
@media (max-width: 420px) { .mur-cta button { justify-self: stretch; justify-content: center; } }

/* Fenêtre */
.mur-ouvert { overflow: hidden; }
.mur-w { position: fixed; inset: 0; z-index: 100100; display: flex; align-items: flex-end; justify-content: center; font-family: 'DM Sans', system-ui, sans-serif; }
.mur-w[hidden] { display: none; }
.mur-bg { position: absolute; inset: 0; background: rgba(30, 27, 75, .5); backdrop-filter: blur(2px); }
.mur { position: relative; width: 100%; max-width: 460px; max-height: 94vh; overflow: auto; padding: 0 22px calc(18px + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0; background: #fff; color: #1e1b4b; box-shadow: 0 -10px 40px rgba(30, 27, 75, .25); animation: mur-up .22s ease-out; outline: none; text-align: center; }
@media (min-width: 640px) { .mur-w { align-items: center; } .mur { border-radius: 28px; padding-bottom: 22px; } }
@keyframes mur-up { from { transform: translateY(30px); opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .mur, .mur-cta { animation: none; } }
.mur-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.8); font-size: 22px; color: #1e1b4b; cursor: pointer; }
.mur-hero { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 -22px 14px; padding: 26px 20px 18px;
  background: radial-gradient(120% 90% at 50% 0%, #e4dcff 0%, #f6f3ff 60%, #fff 100%); }
.mur-hero--mint { background: radial-gradient(120% 90% at 50% 0%, #c9f2df 0%, #effbf5 60%, #fff 100%); }
.mur-hero--sun { background: radial-gradient(120% 90% at 50% 0%, #ffe9a6 0%, #fffaf0 60%, #fff 100%); }
.mur-hero--sky { background: radial-gradient(120% 90% at 50% 0%, #cfe6ff 0%, #f1f8ff 60%, #fff 100%); }
.mur-hero--peach { background: radial-gradient(120% 90% at 50% 0%, #ffd8c9 0%, #fff4ef 60%, #fff 100%); }
.mur-hico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: #fff; color: #1e1b4b; box-shadow: 0 12px 28px rgba(30, 27, 75, .14); transform: rotate(-4deg); }
.mur-hico svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mur-cadeau { padding: 5px 12px; border-radius: 999px; background: #1e1b4b; color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.mur-t { margin: 0 0 6px; font: 800 23px/1.2 'Outfit', 'DM Sans', system-ui, sans-serif; color: #1e1b4b; }
.mur-s { margin: 0 auto 14px; max-width: 380px; font-size: 14.5px; line-height: 1.45; color: #5b5b7a; }
.mur-plus { list-style: none; margin: 0 auto 16px; padding: 0; display: inline-grid; gap: 7px; text-align: left; }
.mur-plus li { position: relative; padding-left: 28px; font-size: 14.5px; font-weight: 700; color: #1e1b4b; }
.mur-plus li::before { content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #22c58b
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.mur-qui { margin: 0 0 8px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #8a88a8; }
.mur-esp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 0 14px; }
.mur-tab { min-height: 42px; padding: 0 10px; border-radius: 14px; border: 1.5px solid #e8e8f2; background: #fff; color: #3a3590; font: 700 13.5px/1.15 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.mur-tab[aria-checked="true"] { background: #f1edff; border-color: #6d5dfc; color: #1e1b4b; box-shadow: inset 0 0 0 1px #6d5dfc; }
.mur-btn { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 18px; border-radius: 999px; border: 0;
  color: #1e1b4b; font: 800 16px/1.2 'DM Sans', system-ui, sans-serif; text-decoration: none; text-align: center; }
.mur-btn--go { background: #ff7a59; box-shadow: 0 12px 26px rgba(255, 122, 89, .4); transition: transform .15s; }
.mur-btn--go:hover { transform: translateY(-1px); }
.mur-deja { margin: 10px 0 0; font-size: 14px; color: #5b5b7a; }
.mur-deja a { color: #3a3590; font-weight: 800; }
.mur-tous { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #efeef7; }
.mur-tous-t { margin: 0 0 10px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #8a88a8; }
.mur-tous-t span { margin-left: 4px; padding: 2px 7px; border-radius: 999px; background: #f1edff; color: #5b21b6; letter-spacing: 0; }
.mur-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.mur-o { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: #f8f7fd; font-size: 12.5px; font-weight: 700; color: #3a3590; }
.mur-o.is-vise { background: #fff1ea; color: #9a3412; }
.mur-ico { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.mur-ico svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mur-o--lav .mur-ico { background: #e4dcff; color: #5b21b6; } .mur-o--mint .mur-ico { background: #ccf3e0; color: #0b5c40; }
.mur-o--sun .mur-ico { background: #ffeaa1; color: #854d0e; } .mur-o--sky .mur-ico { background: #cde7ff; color: #1e3a8a; }
.mur-o--peach .mur-ico { background: #ffd9cc; color: #9a3412; }
.mur-fin { margin: 14px 0 0; font-size: 12px; line-height: 1.45; color: #8a88a8; }
.mur-btn:focus-visible, .mur-tab:focus-visible, .mur-x:focus-visible, .mur-deja a:focus-visible { outline: 3px solid #6d5dfc; outline-offset: 2px; }
@media (max-width: 380px) { .mur-t { font-size: 20px; } .mur-hero { padding-top: 20px; } .mur-hico { width: 54px; height: 54px; } }

/* Encart « Passez à la pratique » des articles — [2026-11] allégé : liste sobre */
.bo { margin: 34px 0 6px; padding: 18px 18px 14px; border-radius: 20px; background: #fff; border: 1px solid #ecebf5; font-family: 'DM Sans', system-ui, sans-serif; }
.bo-t { margin: 0 0 2px !important; font: 800 17px/1.3 'Outfit', 'DM Sans', system-ui, sans-serif !important; color: #1e1b4b; }
.bo-s { margin: 0 0 10px !important; font-size: 13.5px !important; color: #6b6a88; }
.bo-g { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; gap: 2px; }
.bo-g li { margin: 0 !important; padding: 0 !important; }
.bo-g li::before { display: none !important; content: none !important; }
.bo-c { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 0 12px; align-items: center; padding: 10px 8px; border-radius: 14px;
  color: #1e1b4b !important; text-decoration: none !important; transition: background .15s; }
.bo-c:hover { background: #f8f7fd; }
.bo-c .mur-ico { grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 11px; }
.bo-c strong { font: 800 15px/1.25 'Outfit', 'DM Sans', system-ui, sans-serif; }
.bo-c span.d { grid-column: 2; font-size: 13px; line-height: 1.4; color: #6b6a88; }
.bo-c span.go { grid-column: 3; grid-row: 1 / span 2; font-size: 12.5px; font-weight: 800; color: #6d5dfc; white-space: nowrap; }
@media (max-width: 520px) { .bo-c { grid-template-columns: 36px minmax(0, 1fr); } .bo-c span.go { grid-column: 2; grid-row: auto; margin-top: 3px; } }
.bo-c--lav .mur-ico { background: #e4dcff; color: #5b21b6; } .bo-c--mint .mur-ico { background: #ccf3e0; color: #0b5c40; }
.bo-c--sun .mur-ico { background: #ffeaa1; color: #854d0e; } .bo-c--sky .mur-ico { background: #cde7ff; color: #1e3a8a; }
.bo-c--peach .mur-ico { background: #ffd9cc; color: #9a3412; }
.bo-n { margin: 8px 0 0 !important; padding: 0 8px; font-size: 12.5px !important; color: #8a88a8; }
.bo-n a { color: #3a3590; font-weight: 800; }

/* [2026-11] Mention d'un outil dans le texte : lien discret, pointillés + mini icône */
.blog-article-content a.bo-in { color: inherit !important; text-decoration: none !important; border-bottom: 2px dotted #a99cf8; padding-bottom: 1px; transition: background .15s, border-color .15s; border-radius: 3px; }
.blog-article-content a.bo-in:hover { background: #f1edff; border-bottom-style: solid; }
.bo-in-i { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-left: 4px; vertical-align: -2px; border-radius: 6px; background: #efeaff; color: #5b21b6; }
.bo-in-i svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bo-in--mint { border-bottom-color: #6fd6a8 !important; } .bo-in--mint .bo-in-i { background: #dcf6ea; color: #0b5c40; }
.bo-in--sun { border-bottom-color: #f2c94c !important; } .bo-in--sun .bo-in-i { background: #fff1c2; color: #854d0e; }
.bo-in--sky { border-bottom-color: #8cc4ff !important; } .bo-in--sky .bo-in-i { background: #e0efff; color: #1e3a8a; }
.bo-in--peach { border-bottom-color: #ffad94 !important; } .bo-in--peach .bo-in-i { background: #ffe6dc; color: #9a3412; }

/* [2026-11] Ligne « Outil associé » au fil de l'article */
.blog-article-content a.bo-mi { display: flex; align-items: center; gap: 12px; margin: 22px 0; padding: 10px 14px 10px 10px; border-radius: 16px; background: #faf9ff;
  border: 1px solid #eeebfb; color: #1e1b4b !important; text-decoration: none !important; font-family: 'DM Sans', system-ui, sans-serif; font-size: 14px; line-height: 1.4; transition: border-color .15s, background .15s; }
.blog-article-content a.bo-mi:hover { border-color: #c9bffb; background: #f4f1ff; }
.bo-mi .mur-ico { width: 34px; height: 34px; border-radius: 11px; }
.bo-mi .mur-ico svg { width: 18px; height: 18px; }
.bo-mi-t { flex: 1; min-width: 0; color: #5b5b7a; }
.bo-mi-t strong { color: #1e1b4b; }
.bo-mi-k { display: inline-block; margin-right: 4px; padding: 1px 7px; border-radius: 999px; background: #fff; border: 1px solid #e6e1fb; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #6d5dfc; vertical-align: 1px; }
.bo-mi-go { font-weight: 800; color: #6d5dfc; }
.bo-mi--lav .mur-ico { background: #e4dcff; color: #5b21b6; } .bo-mi--mint .mur-ico { background: #ccf3e0; color: #0b5c40; }
.bo-mi--sun .mur-ico { background: #ffeaa1; color: #854d0e; } .bo-mi--sky .mur-ico { background: #cde7ff; color: #1e3a8a; }
.bo-mi--peach .mur-ico { background: #ffd9cc; color: #9a3412; }

/* Article-sommaire des outils */
.hub { max-width: 860px; margin: 0 auto 28px; }
.hub .bo-t { margin-top: 18px !important; }
.hub .bo-t:first-child { margin-top: 0 !important; }
.hub .bo-g { margin-bottom: 6px !important; }
.bo-c em { font-style: normal; font-weight: 700; color: #3a3590; }
.bo-c .mur-ico svg { width: 18px; height: 18px; }
/* Annuaire : la carte n'apparaît qu'une fois des résultats affichés */
.ann-out:empty + .mur-cta--ann, .ann-out[aria-busy="true"] + .mur-cta--ann { display: none !important; }
/* Messages (aucun résultat, erreur) et chargement restent visibles */
html.mc-mur .ann-out[aria-busy="true"], html.mc-mur .ann-out:has(> .ann-msg) { display: block !important; }
.ann-out:has(> .ann-msg) + .mur-cta--ann { display: none !important; }
@media (min-width: 720px) { .hub .bo-g { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .hub .bo-c { border: 1px solid #efeef7; } }

/* [2026-11] Rappel : MediContrat, c'est d'abord le contrat de remplacement signé en ligne */
.mur-contrat { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 12px 14px; border-radius: 16px; background: #eef6ff; border: 1px solid #cfe3fb; text-align: left; }
.mur-contrat-i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #0b6fb8; box-shadow: 0 4px 10px rgba(11, 111, 184, .12); }
.mur-contrat-i svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mur-contrat p { margin: 0; font-size: 13.5px; line-height: 1.4; color: #35537a; }
.mur-contrat strong { display: block; font-size: 14.5px; color: #0f2f57; }
