/* mm-pages.css — gabarit des pages éditoriales Lille Mobilité (2026-10-02)
   Héros en dégradé + pictogramme Font Awesome (pas de photo), cartes d'info, tableaux, FAQ, sources. */
/* Héros : voir « Bandeau titre » en fin de style_new.css (commun à toutes les pages à .breadcrumb-area). */

.mm-lead{font-size:17px;line-height:1.65;color:#1f2937;text-align:left;}
.mm-content p{text-align:left;hyphens:auto;}
.mm-content h2{margin-top:38px;margin-bottom:14px;}
.mm-content h3{margin-top:24px;margin-bottom:10px;font-size:20px;}

.mm-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin:22px 0;}
.mm-card{background:#fafaf9;border:1px solid #e7e5e4;border-radius:12px;padding:18px 20px;}
.mm-card .mm-card-ic{width:44px;height:44px;border-radius:50%;background:#f4e6ec;color:#711e3f;display:flex;align-items:center;justify-content:center;font-size:20px;margin-bottom:10px;}
.mm-card h3,.mm-card h4{font-size:17px;margin:0 0 8px;color:#1c1917;}
.mm-card p,.mm-card li{font-size:14.5px;color:#44403c;margin:0 0 6px;text-align:left;}
.mm-card ul{padding-left:18px;margin:0;}

.mm-table-wrap{overflow-x:auto;margin:16px 0 22px;}
.mm-table{width:100%;border-collapse:collapse;font-size:15px;}
.mm-table th{background:#711e3f;color:#fff;}
.mm-table th,.mm-table td{border:1px solid #d6d3d1 !important;padding:9px 12px;text-align:left;vertical-align:top;}
.mm-table tr:nth-child(even) td{background:#fafaf9;}

.mm-badge{display:inline-block;min-width:34px;text-align:center;padding:2px 8px;border-radius:6px;font-weight:700;font-size:13px;color:#fff;background:#711e3f;margin-right:4px;}
.mm-badge.m1{background:#fdc41f;color:#1c1917;} .mm-badge.m2{background:#e30613;}
.mm-badge.t{background:#0072ae;} .mm-badge.bus{background:#57534e;} .mm-badge.ferry{background:#51142c;}

.mm-note{background:#fffbeb;border-left:4px solid #f59e0b;padding:12px 16px;border-radius:6px;font-size:14.5px;color:#78350f;margin:18px 0;}
.mm-info{background:#ecfeff;border-left:4px solid #0891b2;padding:12px 16px;border-radius:6px;font-size:14.5px;color:#164e63;margin:18px 0;}

.mm-faq{margin:14px 0 10px;}
.mm-faq details{border:1px solid #e7e5e4;border-radius:10px;padding:12px 16px;margin:0 0 10px;background:#fff;}
.mm-faq summary{cursor:pointer;font-weight:700;color:#1c1917;}
.mm-faq details p{margin:10px 0 0;}

.mm-sources{margin-top:36px;padding-top:16px;border-top:1px solid #e7e5e4;font-size:13.5px;color:#78716c;}
.mm-sources h2{font-size:17px;margin:0 0 8px;}
.mm-sources ul{padding-left:18px;margin:0;}
.mm-sources a{color:#711e3f;word-break:break-word;}
.mm-updated{font-size:13.5px;color:#78716c;margin:0 0 18px;}
.mm-related{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0;}
.mm-related a{display:inline-block;padding:7px 14px;border:1px solid #711e3f;border-radius:999px;color:#711e3f;font-weight:600;font-size:14px;text-decoration:none;}
.mm-related a:hover{background:#711e3f;color:#fff;}

/* ===== Accueil (2026-10-02) : « Où allez-vous ? », accès directs, autour de moi ===== */
.mm-hero-sub{position:relative;z-index:2;color:#e6fffb;font-size:16px;line-height:1.5;margin:10px 0 0;max-width:640px;font-weight:500;}
.mm-where{margin:0 0 18px;}
.mm-where .mm-where-t{margin:0 0 12px !important;font-size:24px !important;}
.mm-where .mm-where-t{background:none !important;padding-top:0 !important;}
.mm-where-note{font-size:13.5px;color:#57534e;margin:10px 2px 0;}
.mm-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0 14px;}
.mm-q{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px 14px;background:#fff;border:1px solid #e7e5e4;
  border-radius:14px;color:#1c1917 !important;text-decoration:none !important;font:inherit;font-weight:700;text-align:left;cursor:pointer;
  box-shadow:0 2px 8px rgba(15,23,42,.05);transition:border-color .15s,box-shadow .15s,transform .15s;}
.mm-q:hover{border-color:#711e3f;box-shadow:0 8px 20px rgba(15,23,42,.10);transform:translateY(-1px);}
.mm-q-b,.mm-q-i{flex:0 0 40px;width:40px;height:40px;border-radius:10px;display:grid;place-items:center;font-size:16px;font-weight:800;}
.mm-q-i{background:#f4e6ec;color:#711e3f;font-size:17px;}
.mm-q-i.mm-q-alert{background:#fef3c7;color:#92400e;}
.mm-q-t{display:flex;flex-direction:column;line-height:1.25;font-size:15px;min-width:0;}
.mm-q-t small{font-weight:500;color:#57534e;font-size:12.5px;margin-top:2px;}
.mm-near{background:#fafaf9;border:1px solid #e7e5e4;border-radius:14px;padding:12px 14px;margin:0 0 14px;}
.mm-near ul{margin:0;padding:0;list-style:none;}
.mm-near li a{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:6px 4px;border-bottom:1px solid #e7e5e4;color:#1c1917;text-decoration:none;}
.mm-near li:last-child a{border-bottom:0;}
.mm-near li a:hover .mm-near-n{text-decoration:underline;}
.mm-near-n{font-weight:700;}
.mm-near-l{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px;}
.mm-near-l b{font-size:11.5px;padding:1px 6px;border-radius:5px;background:#e7e5e4;color:#1c1917;}
.mm-near-d{flex:0 0 auto;color:#57534e;font-size:13.5px;font-weight:600;}
.mm-near-msg{margin:0;color:#44403c;font-size:14.5px;}
.mm-lines{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px;}
.mm-lines-l{font-size:14px;font-weight:700;color:#44403c;margin-right:2px;}
.mm-chip{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:4px 12px 4px 4px;border:1px solid #e7e5e4;border-radius:999px;
  background:#fff;color:#1c1917 !important;font-size:14px;font-weight:600;text-decoration:none !important;}
.mm-chip:not(:has(b)){padding-left:12px;}
.mm-chip b{display:inline-grid;place-items:center;min-width:32px;height:30px;padding:0 7px;border-radius:999px;font-size:13.5px;}
.mm-chip:hover{border-color:#711e3f;}
@media(max-width:767px){
  .mm-quick{grid-template-columns:repeat(2,1fr);gap:10px;}
  .mm-q{min-height:60px;padding:10px 12px;gap:10px;}
  .mm-q-t{font-size:14.5px;}
  .mm-hero-sub{display:none;}
  .mm-where .mm-where-t{font-size:21px !important;}
}
.mm-seealso{margin:34px 0 8px;}
.mm-content > .mm-seealso h2.mm-seealso-t{font-size:18px !important;margin:0 0 6px !important;}
.mm-related a{min-height:40px;display:inline-flex;align-items:center;}

/* ===== Accueil (audit 2026-10-02 b) : pastilles lignes dans le héros, FAQ visible ===== */
.mm-hero-lines{position:relative;z-index:2;display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:16px 0 0;}
.mm-hl{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:44px;padding:0 12px;border-radius:12px;
  font-weight:800;font-size:17px;line-height:1;text-decoration:none !important;box-shadow:0 0 0 2px rgba(255,255,255,.85);transition:transform .15s;}
.mm-hl:hover,.mm-hl:focus-visible{transform:translateY(-1px);text-decoration:underline !important;}
.mm-hl:focus-visible,.mm-hl-all:focus-visible{outline:3px solid #fff;outline-offset:3px;}
.mm-hl-all{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 6px;color:#fff !important;font-weight:700;font-size:15.5px;
  text-decoration:underline !important;text-underline-offset:4px;}
.mm-quick{grid-template-columns:repeat(3,1fr);}
.mm-home-faq{margin:40px 0 10px;}
.mm-home-faq h2{margin-bottom:14px;}
.mm-home-faq-i{border:1px solid #e7e5e4;border-radius:12px;padding:16px 18px;margin:0 0 12px;background:#fff;}
.mm-home-faq-i h3{font-size:18px !important;margin:0 0 6px !important;color:#1c1917;}
.mm-home-faq-i p{margin:0;font-size:16.5px;line-height:1.6;color:#1f2937;}
.mm-home-faq-i a{color:#711e3f;text-decoration:underline;}
/* Corps des blocs éditoriaux de l'accueil : 17 px, interlignage 1,6 */
.mm-home-body > p{font-size:17px;line-height:1.6;color:#1f2937;}
@media(max-width:767px){
  .mm-quick{grid-template-columns:1fr 1fr;}
  .mm-quick > .mm-q:last-child:nth-child(odd){grid-column:1 / -1;}
  .mm-hero-lines{margin-top:12px;gap:2px 6px;}
  .mm-hl{min-width:44px;min-height:40px;padding:0 9px;font-size:15.5px;border-radius:10px;}
  .mm-hl-all{min-height:34px;font-size:15px;padding:0 2px;margin-left:2px;}
}

/* ===== Tableaux sur mobile (audit 2026-10-05) : montants insécables, colonnes plus serrées, ===== */
.mm-table .mm-price{white-space:nowrap;}
@media(max-width:600px){
  .mm-table{font-size:14px;}
  .mm-table th,.mm-table td{padding:8px;}
  .mm-table-tarifs td:first-child{min-width:120px;}
}
/* Listes de lignes (maillage) */
.mm-linelist{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 18px;padding:0;list-style:none;}
.mm-linelist a{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:40px;padding:0 10px;border-radius:10px;
  font-weight:700;font-size:14px;text-decoration:none;border:1px solid rgba(15,23,42,.12);}
.mm-linelist a:hover,.mm-linelist a:focus-visible{text-decoration:underline;}
