/* ==========================================================================
   FICHIER GÉNÉRÉ — NE PAS ÉDITER DIRECTEMENT.
   Sources : css/src/page-tools/*.css
   Régénérer : php tools/build-page-tools.php
   ========================================================================== */
/* ===================================================================
   Le-Coran.com — CSS pages outils/contenu
   =================================================================== */

/* ===================================================================
   14. PAGES DE CONTENU (body.fr) — largeur de lecture confortable
   =================================================================== */
body.fr .container, body.pfr .container { max-width: var(--lc-maxw); }
body.fr .navbar .container, body.pfr .navbar .container { max-width: var(--lc-maxw); }
body.fr .zone_titre, body.pfr .zone_titre { text-align: left; }
body.fr .zone_titre h1, body.pfr .zone_titre h1 { margin-bottom: .4em; }
/* prose lisible */
body.fr .container p, body.pfr .container p,
body.fr .container li, body.pfr .container li { line-height: 1.75; }
body.fr h2, body.pfr h2 { margin-top: 1.6em; }


/* largeur de lecture des paragraphes sur pages contenu (sans effet dans les cartes étroites) */
body.fr .container > .row > p, body.pfr .container > .row > p { max-width: 80ch; }
body.fr .container .lc-cards p, body.pfr .container .lc-cards p,
body.fr .container .lc-info-card p, body.pfr .container .lc-info-card p { max-width: none; }

/* -------------------------------------------------------------------
   Pages outils : Juz/Hizb, recherche, apprentissage
   ------------------------------------------------------------------- */
.lc-tool-page,
.lc-juz-page {
  background: #fff;
}
html.lc-dark .lc-tool-page,
html.lc-dark .lc-juz-page {
  background: var(--lc-bg);
}
.lc-tool-page .lc-tool-wrap,
.lc-juz-page .lc-hero-text,
.lc-juz-page .lc-juz-overview,
.lc-juz-page .lc-juz-prevnext,
.lc-juz-page .lc-juz-layout {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.lc-tool-hero,
.lc-juz-hero {
  padding: 28px 0 10px;
}
.lc-tool-hero h1,
.lc-juz-hero h1 {
  margin: 0 0 10px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}
.lc-tool-hero h1 .lc-hero-icon,
.lc-juz-hero h1 .lc-hero-icon {
  flex: 0 0 auto;
  align-self: center;
}
.lc-tool-hero h1 .lc-h1-sub,
.lc-juz-hero h1 .lc-h1-sub {
  display: inline;
  margin-left: 6px;
}
.lc-tool-hero p,
.lc-juz-hero p {
  max-width: none;
  width: 100%;
  margin: 0;
  text-align: center;
  color: var(--lc-ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}
.lc-tool-grid,
.lc-juz-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  margin-bottom: 22px;
}
.lc-tool-card,
.lc-juz-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  min-height: 88px;
  padding: 16px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background: var(--lc-surface);
  color: var(--lc-ink);
  text-decoration: none;
  box-shadow: var(--lc-shadow-sm);
}
@media (hover: hover) {.lc-tool-card:hover,
.lc-juz-stat:hover{
  color: var(--lc-ink);
  border-color: rgba(42,127,98,.28);
  box-shadow: var(--lc-shadow);
}}
.lc-tool-card span:first-child,
.lc-juz-stat span {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  font-weight: 800;
  font-size: 1.18rem;
}
.lc-tool-card strong,
.lc-juz-stat strong {
  font-size: 1.05rem;
  line-height: 1.2;
}
.lc-tool-card small,
.lc-juz-stat small {
  color: var(--lc-ink-soft);
  font-size: .88rem;
}
/* Cartes overview (30 Juz / 60 Hizb / Audio) : contenu centré comme les feature cards */
.lc-juz-stat {
  grid-template-columns: none;
  grid-template-rows: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  row-gap: 4px;
  padding: 18px 16px;
}
.lc-juz-stat span {
  grid-row: auto;
  margin-bottom: 4px;
}
.lc-tool-panel {
  margin-top: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background: var(--lc-surface);
  box-shadow: var(--lc-shadow-sm);
}
.lc-search-form {
  position: relative;
}
.lc-search-form input[type="text"] {
  width: 100% !important;
  height: 56px;
  padding: 0 18px 0 48px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-pill);
  background: var(--lc-surface-2);
  color: var(--lc-ink);
  font-size: 1rem;
  box-shadow: none;
}
.lc-search-form::before {
  content: "\f002";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 19px;
  top: 18px;
  color: var(--lc-green);
  z-index: 1;
}
.lc-tool-page .presentation,
.lc-juz-page .presentation {
  width: 100%;
  max-width: none;
  margin: 28px 0 0;
  padding: clamp(28px, 4vw, 56px) !important;
  columns: 2;
  column-gap: 56px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background: var(--lc-surface);
  box-shadow: var(--lc-shadow-sm);
  color: var(--lc-ink-soft);
}
.lc-tool-page .zone_titre > h1,
.lc-juz-page .zone_titre > h1 {
  width: min(var(--lc-maxw), calc(100% - 36px));
  margin: 28px auto 10px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.lc-tool-page .zone_titre > h1::before,
.lc-juz-page .zone_titre > h1::before {
  content: "\f02d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--lc-green);
  font-size: .82em;
}
.lc-tool-page .order:not(.lc-tool-wrap),
.lc-tool-page > .col-md-12,
.lc-tool-page > .col-lg-12,
.lc-tool-page .lc-blog-shell,
.lc-tool-page .contact-page,
.lc-tool-page .about-page,
.lc-tool-page #mentions_legales + .col-md-12 {
  width: min(var(--lc-maxw), calc(100% - 36px));
  margin-left: auto;
  margin-right: auto;
}
.lc-tool-page .order {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.lc-tool-page .order::before,
.lc-tool-page .order::after {
  content: none;
}
.lc-tool-page .download-panel,
.lc-tool-page #droite {
  min-width: 0;
}
.lc-tool-page .download-panel {
  display: grid;
  gap: 12px;
}
.lc-tool-page .download-card {
  border-radius: var(--lc-r);
  border: 1px solid var(--lc-line);
  background: var(--lc-surface);
  box-shadow: var(--lc-shadow-sm);
}
.lc-tool-page .download-section-title {
  margin: 10px 0 0;
  color: var(--lc-ink);
  font-weight: 800;
}
.lc-tool-page .contact-shell,
.lc-tool-page .about-wrap,
.lc-tool-page .lc-blog-wrap {
  width: min(var(--lc-maxw), calc(100% - 36px));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.lc-tool-page .qz-intro,
.lc-tool-page .qz-grid,
.lc-tool-page .qz-seo-text,
.lc-tool-page .qz-login-prompt,
.lc-tool-page .qz-meta-bar,
.lc-tool-page .qz-quiz-header,
.lc-tool-page .qz-results,
.lc-tool-page .question {
  max-width: none;
}
.lc-tool-page .qz-intro,
.lc-tool-page .qz-seo-text,
.lc-tool-page .qz-login-prompt {
  border-radius: var(--lc-r);
}
.lc-tool-page .table,
.lc-tool-page .recuperer_code,
.lc-tool-page input,
.lc-tool-page textarea,
.lc-tool-page select {
  max-width: 100%;
}
.lc-tool-page .presentation h2,
.lc-juz-page .presentation h2 {
  column-span: all;
  color: var(--lc-ink);
}
.lc-tool-page .presentation p,
.lc-tool-page .presentation ul,
.lc-tool-page .presentation blockquote,
.lc-juz-page .presentation p,
.lc-juz-page .presentation ul,
.lc-juz-page .presentation blockquote {
  break-inside: avoid;
}
.lc-tool-page .order,
.lc-juz-page .order {
  width: 100%;
}
.lc-juz-prevnext {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 0;
}
.lc-juz-prevnext .btn {
  border-radius: var(--lc-pill);
  border: 0;
  padding: 10px 16px;
  font-weight: 800;
  box-shadow: none;
}
.lc-juz-layout {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.lc-juz-layout::before,
.lc-juz-layout::after {
  content: none;
}
.lc-juz-page #gauche,
.lc-juz-page #centre,
.lc-juz-page #droite,
.lc-juz-page .presentation,
.lc-tool-page #droite,
.lc-tool-page .presentation {
  min-width: 0;
}
.lc-juz-page #gauche {
  background: var(--lc-surface);
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  box-shadow: var(--lc-shadow-sm);
  padding: 16px;
}
.lc-juz-page #centre {
  flex: 1 1 auto;
  min-width: 0;
}
.lc-juz-list {
  display: grid;
  gap: 16px;
  width: 100%;
}
.lc-juz-card {
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background: var(--lc-surface);
  box-shadow: var(--lc-shadow-sm);
  overflow: hidden;
}
.lc-juz-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--lc-line);
  background: var(--lc-surface-2);
}
.lc-juz-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--lc-green-d);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}
.lc-juz-card h2 {
  margin: 0;
  font-size: 1.3rem;
}
.lc-juz-lang-links,
.lc-hizb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lc-juz-lang-links a,
.lc-hizb-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: var(--lc-pill);
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}
@media (hover: hover) {.lc-juz-lang-links a:hover,
.lc-hizb-actions a:hover{
  background: var(--lc-green);
  color: #fff;
}}
.lc-hizb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}
.lc-hizb-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-sm);
  background: #fff;
}
.lc-hizb-main {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--lc-ink);
  text-decoration: none;
}
.lc-hizb-main span {
  color: var(--lc-ink-soft);
  font-weight: 700;
}
.lc-hizb-main strong {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lc-orange-tint);
  color: var(--lc-orange);
  font-size: 1rem;
}
.lc-hizb-range {
  color: var(--lc-ink-soft);
  font-size: .84rem;
}
.lc-jzc[hidden] {
  display: none !important;
}
.lc-juz-page .audio_gauche audio,
.lc-juz-page #audioPlayer,
.lc-juz-page #audioPlayer_arabe {
  width: 100%;
}
.lc-juz-page .audio_gauche.bismillah {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--lc-r-sm);
  background: var(--lc-surface-2);
}
.lc-juz-page .listetitre,
.lc-juz-page .listefermer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 14px 0 0;
  padding: 8px 12px;
  border-radius: var(--lc-pill);
  background: var(--lc-green);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.lc-juz-page .transition_sourate {
  margin: 18px 0 10px;
  padding: 12px 14px;
  border-radius: var(--lc-r-sm);
  background: var(--lc-surface-2);
  color: var(--lc-ink);
}
.lc-juz-page #div_des_versets {
  display: grid;
  gap: 10px;
}
.lc-juz-page .verset {
  border-radius: var(--lc-r-sm);
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--lc-line);
  line-height: 1.8;
}
.lc-juz-page .verset_arabe,
.lc-juz-page .verset_en_arabe {
  font-family: var(--lc-arab);
  font-size: 1.35rem;
  line-height: 2.1;
}
.lc-juz-page .num_verset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  font-weight: 800;
}

@media (max-width: 820px) {
  .lc-tool-grid,
  .lc-juz-overview {
    grid-template-columns: 1fr;
  }
  .lc-tool-page .presentation,
  .lc-juz-page .presentation {
    columns: 1;
  }
  .lc-juz-layout {
    display: grid;
  }
  .lc-juz-page #gauche,
  .lc-juz-page #centre,
  .lc-juz-page #droite {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .lc-juz-page #gauche {
    padding: 14px;
  }
  .lc-juz-card-head {
    display: grid;
  }
  .lc-hizb-grid {
    grid-template-columns: 1fr;
  }
  .lc-tool-page .order {
    display: grid;
    gap: 16px;
  }
  .lc-tool-page .presentation,
  .lc-tool-page #droite,
  .lc-tool-page .download-panel {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ===================================================================
   21. Pages prose (.my_text) : carte pleine largeur, 2 colonnes magazine
   =================================================================== */
.lc-modern-variant .my_text {
  max-width: none !important;
  margin: 26px 0 0 !important;
  padding: clamp(28px, 3.5vw, 54px) !important;
  background: var(--lc-surface);
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  box-shadow: var(--lc-shadow-sm);
  color: var(--lc-ink-soft);
  columns: 2;
  column-gap: 56px;
}
.lc-modern-variant .my_text h1,
.lc-modern-variant .my_text h2,
.lc-modern-variant .my_text h3 {
  column-span: all; color: var(--lc-ink); font-family: var(--lc-serif);
  font-size: 1.3rem; margin: 1.3em 0 .5em; padding-top: .4em;
}
.lc-modern-variant .my_text > h1:first-child,
.lc-modern-variant .my_text > h2:first-child,
.lc-modern-variant .my_text > *:first-child { margin-top: 0; }
.lc-modern-variant .my_text p,
.lc-modern-variant .my_text ul,
.lc-modern-variant .my_text ol,
.lc-modern-variant .my_text blockquote,
.lc-modern-variant .my_text pre,
.lc-modern-variant .my_text table { break-inside: avoid; }
.lc-modern-variant .my_text p { margin: 0 0 1em; line-height: 1.8; }
.lc-modern-variant .my_text pre,
.lc-modern-variant .my_text table,
.lc-modern-variant .my_text .lc-embed,
.lc-modern-variant .my_text figure { column-span: all; }
.lc-modern-variant .my_text blockquote {
  background: var(--lc-surface-2); border-left: 4px solid var(--lc-green);
  border-radius: 0 var(--lc-r-sm) var(--lc-r-sm) 0; padding: 14px 18px; margin: 0 0 1.1em;
  color: var(--lc-ink); font-style: italic;
}
@media (max-width: 820px) { .lc-modern-variant .my_text { columns: 1; } }

/* Pages légales/prose nue (texte direct dans .container) : largeur de lecture confortable
   (le hero .zone_titre et la page restent pleine largeur) */
.lc-modern-variant .container > p,
.lc-modern-variant .container > ul,
.lc-modern-variant .container > ol,
.lc-modern-variant .container > blockquote,
.lc-modern-variant .container > h2,
.lc-modern-variant .container > h3,
.lc-modern-variant .container > strong,
.lc-modern-variant .container > b,
.lc-modern-variant .container > div:not([class]) {
  max-width: 1060px;
  line-height: 1.8;
}
.lc-modern-variant .container > h2,
.lc-modern-variant .container > h3 { color: var(--lc-ink); font-family: var(--lc-serif); margin-top: 1.5em; }

/* Pages légales : carte pleine largeur, 2 colonnes magazine */
.lc-legal {
  max-width: none !important; margin: 26px 0 0; padding: clamp(28px, 3.5vw, 54px);
  background: var(--lc-surface); border: 1px solid var(--lc-line); border-radius: var(--lc-r);
  box-shadow: var(--lc-shadow-sm); color: var(--lc-ink-soft);
  columns: 2; column-gap: 56px;
}
.lc-legal h2, .lc-legal h3 { color: var(--lc-ink); font-family: var(--lc-serif); font-size: 1.2rem; margin: 1.4em 0 .5em; break-after: avoid; break-inside: avoid; }
.lc-legal > *:first-child { margin-top: 0; }
.lc-legal p, .lc-legal ul, .lc-legal ol, .lc-legal blockquote, .lc-legal li { break-inside: avoid; }
.lc-legal p { margin: 0 0 1em; line-height: 1.8; }
.lc-legal a { font-weight: 600; }
@media (max-width: 820px) { .lc-legal { columns: 1; } }

/* ===================================================================
   22. Pages Téléchargement : cards designées
   =================================================================== */
.lc-tool-page .download-panel { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.lc-tool-page .download-card {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto;
  column-gap: 16px; row-gap: 3px; align-content: center;
  padding: 18px 20px; border-radius: var(--lc-r); border: 1px solid var(--lc-line);
  background: var(--lc-surface); box-shadow: var(--lc-shadow-sm); color: var(--lc-ink);
  text-decoration: none;
  transition: transform var(--lc-trans), box-shadow var(--lc-trans), border-color var(--lc-trans);
}
@media (hover: hover) {.lc-tool-page .download-card:hover{ transform: translateY(-2px); box-shadow: var(--lc-shadow); border-color: var(--lc-green); color: var(--lc-ink); }}
.lc-tool-page .download-card img { display: none; }
.lc-tool-page .download-card::before {
  content: "\f56d"; font-family: "Font Awesome 5 Free"; font-weight: 900;
  grid-column: 1; grid-row: 1 / 4; align-self: center;
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--lc-green-tint); color: var(--lc-green); font-size: 1.25rem;
}
.lc-tool-page .download-card .download-type {
  grid-column: 2; grid-row: 1; justify-self: start;
  font-size: .68rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  color: var(--lc-green); background: var(--lc-green-tint); padding: 3px 9px; border-radius: 99px;
}
.lc-tool-page .download-card strong { grid-column: 2; grid-row: 2; font-size: .98rem; color: var(--lc-ink); line-height: 1.3; }
.lc-tool-page .download-card small { grid-column: 2; grid-row: 3; color: var(--lc-ink-soft); font-size: .82rem; line-height: 1.45; }
@media (max-width: 700px) { .lc-tool-page .download-panel { grid-template-columns: 1fr; } }

/* Titre de section dans la grille de téléchargement : pleine largeur */
.lc-tool-page .download-panel .download-section-title { grid-column: 1 / -1; margin: 6px 0 2px; font-family: var(--lc-serif); font-size: 1.2rem; color: var(--lc-ink); }

/* ===================================================================
   23. Fond motif islamique discret (hero)
   =================================================================== */
.page_index .zone_titre,
.lc-tool-page .zone_titre,
.lc-juz-page .zone_titre {
  background-image: url(/img/v2/pattern-faint.png);
  background-repeat: repeat;
  background-size: 300px auto;
  background-position: top center;
}

/* ===================================================================
   24. Grande recherche centrale (accueil)
   =================================================================== */
.lc-search-hero { max-width: 840px; margin: 6px auto 0; }
.lc-search-box { position: relative; display: flex; align-items: center; gap: 6px; background: var(--lc-surface); border: 2px solid var(--lc-line); border-radius: var(--lc-pill); box-shadow: var(--lc-shadow); padding: 6px 8px 6px 22px; }
.lc-search-box:focus-within { border-color: var(--lc-green); box-shadow: 0 0 0 4px var(--lc-green-tint), var(--lc-shadow); }
.lc-search-ic { color: var(--lc-green); font-size: 1.15rem; flex: 0 0 auto; }
#lc-central-search { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font-size: 1.08rem; padding: 13px 12px; outline: none; color: var(--lc-ink); font-family: var(--lc-sans); }
.lc-search-btn { flex: 0 0 auto; border: 0; background: var(--lc-green); color: #fff; font-weight: 700; font-size: .98rem; padding: 13px 26px; border-radius: var(--lc-pill); cursor: pointer; transition: background var(--lc-trans); }
@media (hover: hover) {.lc-search-btn:hover{ background: var(--lc-green-d); }}
.lc-search-suggest { display: none; position: absolute; top: calc(100% + 12px); left: 0; right: 0; z-index: 60; background: var(--lc-surface); border: 1px solid var(--lc-line); border-radius: var(--lc-r); box-shadow: var(--lc-shadow-lg); max-height: 72vh; overflow: auto; text-align: left; }
@media (max-width: 600px) {
  .lc-search-box { padding-left: 16px; }
  .lc-search-btn span { display: none; }
  .lc-search-btn::after { content: "\f002"; font-family: "Font Awesome 5 Free"; font-weight: 900; }
  #lc-central-search { font-size: 1rem; }
}

/* ===================================================================
   25. Page Recherche (rechercher-une-sourate)
   =================================================================== */
.lc-tool-page .lc-search-box--page { max-width: none; margin: 0 0 22px; }
.lc-search-results { margin-bottom: 10px; }
.lc-search-results.is-on { background: var(--lc-surface); border: 1px solid var(--lc-line); border-radius: var(--lc-r); box-shadow: var(--lc-shadow-sm); overflow: hidden; }
.lc-search-results .lc-suggest-panel { position: static; box-shadow: none; border: 0; }
.lc-search-loading { padding: 34px; text-align: center; color: var(--lc-green); font-size: 1.5rem; }
.lc-pop-title { font-family: var(--lc-serif); font-size: 1.3rem; color: var(--lc-ink); margin: 4px 0 14px; }
.lc-pop-title i { color: var(--lc-green); }
/* En-tête de section "souvent recherchés" : badge icône + titre + sous-titre + filet */
.lc-pop-head { display: flex; align-items: center; gap: 14px; margin: 6px 0 18px; padding-bottom: 15px; border-bottom: 1px solid var(--lc-line); }
.lc-search-popular .lc-pop-head + .lc-popv-grid + .lc-pop-head,
.lc-search-popular .lc-pop-head:not(:first-child) { margin-top: 30px; }
.lc-pop-head-ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; background: var(--lc-green-tint); color: var(--lc-green); display: grid; place-items: center; font-size: 1.15rem; }
.lc-pop-head-tx { min-width: 0; }
.lc-search-popular .lc-pop-head-tx h2 { font-family: var(--lc-serif); font-size: 1.32rem; color: var(--lc-ink); margin: 0 !important; padding: 0; line-height: 1.2; }
.lc-search-popular .lc-pop-head-tx p { margin: 3px 0 0 !important; color: var(--lc-ink-soft); font-size: .86rem; line-height: 1.4; }
.lc-pop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 12px; }
.lc-pop-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--lc-r); border: 1px solid var(--lc-line); background: var(--lc-surface); box-shadow: var(--lc-shadow-sm); text-decoration: none; color: var(--lc-ink); transition: transform var(--lc-trans), box-shadow var(--lc-trans), border-color var(--lc-trans); }
@media (hover: hover) {.lc-pop-card:hover{ transform: translateY(-2px); box-shadow: var(--lc-shadow); border-color: var(--lc-green); color: var(--lc-ink); }}
.lc-pop-num { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 9px; background: var(--lc-green-tint); color: var(--lc-green); font-weight: 800; display: grid; place-items: center; font-size: .92rem; }
.lc-pop-tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.lc-pop-tx b { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-pop-tx small { color: var(--lc-ink-soft); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-pop-ar { flex: 0 0 auto; font-family: 'Amiri', serif; font-size: 1.4rem; color: var(--lc-green); }
/* Versets souvent recherchés */
.lc-popv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 34px; }
@media (max-width: 900px) { .lc-popv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lc-popv-grid { grid-template-columns: 1fr; } }
.lc-popv-card { display: flex; flex-direction: column; gap: 9px; padding: 16px 18px; border-radius: var(--lc-r); border: 1px solid var(--lc-line); background: var(--lc-surface); box-shadow: var(--lc-shadow-sm); text-decoration: none; color: var(--lc-ink); transition: transform var(--lc-trans), box-shadow var(--lc-trans), border-color var(--lc-trans); }
@media (hover: hover) {.lc-popv-card:hover{ transform: translateY(-2px); box-shadow: var(--lc-shadow); border-color: var(--lc-green); color: var(--lc-ink); }}
.lc-popv-ar { font-family: 'Amiri', serif; font-size: 1.45rem; color: var(--lc-green); line-height: 1.9; direction: rtl; text-align: right; }
.lc-popv-tx { font-size: .93rem; color: var(--lc-ink); line-height: 1.55; }
.lc-popv-lab { color: var(--lc-ink-soft); font-size: .8rem; font-weight: 700; }
.lc-search-popular .lc-pop-title + .lc-pop-grid { margin-top: 0; }

/* ===================================================================
   26. Page Apprendre / Mémorisation (lc-memo)
   =================================================================== */
.lc-memo-intro { background: var(--lc-green-tint); border: 1px solid var(--lc-line); border-radius: var(--lc-r); padding: 15px 20px; margin-bottom: 24px; }
.lc-memo-intro p { margin: 0; color: var(--lc-ink); font-size: .98rem; line-height: 1.5; }
.lc-memo-intro i { color: var(--lc-green); margin-right: 4px; }
.lc-memo-label, .lc-memo-range { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--lc-ink); margin: 0 0 12px; font-size: 1.02rem; flex-wrap: wrap; }
.lc-memo-step { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--lc-green); color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 800; }
.lc-memo .nav_rapide, .lc-memo #verset1, .lc-memo #verset2 {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  border: 1.5px solid var(--lc-line); border-radius: 12px;
  background-color: var(--lc-surface);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394b100' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding: 12px 40px 12px 16px; font-size: 1rem; color: var(--lc-ink); font-family: var(--lc-sans); cursor: pointer; max-width: 100%;
}
.lc-memo .nav_rapide { width: 100%; max-width: 580px; margin-bottom: 28px; }
.lc-memo .nav_rapide:focus, .lc-memo #verset1:focus, .lc-memo #verset2:focus { outline: none; border-color: var(--lc-green); box-shadow: 0 0 0 3px var(--lc-green-tint); }
.lc-memo #change_verset { background: var(--lc-surface); border: 1px solid var(--lc-line); border-radius: var(--lc-r); padding: 18px 20px; box-shadow: var(--lc-shadow-sm); }
.lc-memo #change_verset p.lc-memo-range { margin: 0; }
.lc-memo #verset1, .lc-memo #verset2 { min-width: 88px; padding: 9px 34px 9px 14px; font-weight: 600; }
.lc-memo #change_verset input[type="submit"] { border: 0; background: var(--lc-green); color: #fff; font-weight: 700; padding: 10px 26px; border-radius: var(--lc-pill); cursor: pointer; font-size: .95rem; margin-left: 8px; transition: background var(--lc-trans); }
@media (hover: hover) {.lc-memo #change_verset input[type="submit"]:hover{ filter: brightness(.93); }}
.lc-memo #audioPlayer { width: 100%; margin-top: 20px; }


/* Source: css/m-apprar.css */
/* =========================================================
   m-apprar.css — Page "Apprendre / mémoriser le Coran en arabe"
   Design v2 le-coran.com — préfixe .mapprar-
   N'édite jamais common.css / header / footer.
   ========================================================= */

.mapprar-wrap { display: block; }

/* ---------- HERO ---------- */
.mapprar-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: 28px;
  align-items: stretch;
  margin: 6px 0 30px;
}

.mapprar-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.4vw, 52px);
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background:
    linear-gradient(135deg, var(--lc-surface), var(--lc-surface-2)),
    radial-gradient(circle at 82% 14%, var(--lc-green-tint), transparent 38%);
  box-shadow: var(--lc-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mapprar-intro::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border: 1px solid var(--lc-gold);
  opacity: .26;
  transform: rotate(45deg);
  pointer-events: none;
}

.mapprar-ornament {
  font-family: var(--lc-serif);
  font-size: 30px;
  line-height: 1;
  color: var(--lc-gold);
}

.mapprar-eyebrow {
  margin: 18px 0 0;
  color: var(--lc-green-d);
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .18em;
  font-weight: 800;
}

.mapprar-hero h1 {
  margin: 12px 0 16px;
  max-width: 16ch;
  color: var(--lc-ink);
  font-family: var(--lc-serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.07;
}
.mapprar-hero h1 span {
  display: block;
  color: var(--lc-green-d);
  font-size: .62em;
  margin-top: 6px;
}

.mapprar-lead {
  max-width: 60ch;
  margin: 0;
  color: var(--lc-ink-soft);
  font-size: 1.06rem;
  line-height: 1.72;
}

.mapprar-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}
.mapprar-metric {
  padding: 16px 18px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-sm);
  background: var(--lc-surface);
  box-shadow: var(--lc-shadow-sm);
}
.mapprar-metric strong {
  display: block;
  color: var(--lc-ink);
  font-family: var(--lc-serif);
  font-size: 1.85rem;
  line-height: 1;
  margin-bottom: 8px;
}
.mapprar-metric span {
  display: block;
  font-size: .82rem;
  color: var(--lc-ink-soft);
  line-height: 1.35;
}

/* ---------- PANEL (config) ---------- */
.mapprar-panel {
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background: var(--lc-surface);
  box-shadow: var(--lc-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mapprar-panel-head {
  padding: 22px 26px;
  background: linear-gradient(135deg, var(--lc-footer-bg), #28332e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mapprar-panel-head h2 {
  margin: 0;
  color: #fff;
  font-family: var(--lc-serif);
  font-weight: 500;
  font-size: 1.55rem;
}
.mapprar-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: var(--lc-pill);
  background: rgba(148,177,0,.18);
  color: #eff8bf;
  border: 1px solid rgba(148,177,0,.34);
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
}

.mapprar-setup {
  padding: 26px;
  display: grid;
  gap: 22px;
}
.mapprar-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  font-weight: 800;
  font-size: .82rem;
  margin-right: 6px;
}
.mapprar-field label,
.mapprar-range-label,
.mapprar-small-label {
  display: block;
  margin-bottom: 10px;
  color: var(--lc-ink);
  font-size: .9rem;
  font-weight: 800;
}
.mapprar-small-label {
  font-size: .78rem;
  color: var(--lc-ink-soft);
}

.mapprar-setup select {
  width: 100% !important;
  max-width: 100%;
  height: 54px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-xs);
  background: var(--lc-bg);
  color: var(--lc-ink);
  padding: 0 16px;
  font: 700 .95rem var(--lc-sans);
  box-shadow: none;
  cursor: pointer;
  appearance: auto;
}
.mapprar-setup select:focus {
  outline: none;
  border-color: var(--lc-green);
  box-shadow: 0 0 0 3px var(--lc-green-tint);
}

.mapprar-range-form {
  margin: 0;
  padding: 20px;
  border-radius: var(--lc-r-sm);
  background: var(--lc-surface-2);
  border: 1px solid var(--lc-line);
  display: grid;
  gap: 16px;
}
.mapprar-range-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: end;
}
.mapprar-range-row em {
  align-self: center;
  margin-top: 22px;
  color: var(--lc-gold);
  font-family: var(--lc-serif);
  font-size: 1.6rem;
  font-style: normal;
}
.mapprar-go {
  width: 100%;
  border: 0;
  cursor: pointer;
  padding: 14px 20px;
  border-radius: var(--lc-pill);
  background: linear-gradient(135deg, var(--lc-green), var(--lc-green-d));
  color: #fff;
  font: 800 .98rem var(--lc-sans);
  letter-spacing: .01em;
  box-shadow: 0 12px 28px -14px rgba(124,150,0,.8);
  transition: filter var(--lc-trans), transform var(--lc-trans);
}
@media (hover: hover) {.mapprar-go:hover{ filter: brightness(1.05); transform: translateY(-1px); }}

.mapprar-hint {
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--lc-r-sm);
  background: var(--lc-surface-2);
  border: 1px dashed var(--lc-line);
  color: var(--lc-ink-soft);
  font-size: .92rem;
  line-height: 1.5;
}

.mapprar-verse-picker ~ .mapprar-range-form {
  display: none;
}

.mapprar-verse-picker {
  display: grid;
  gap: 14px;
  margin: 0;
}

.mapprar-picker-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-sm);
  background: var(--lc-surface-2);
}

.mapprar-picker-head strong,
.mapprar-picker-state {
  display: block;
}

.mapprar-picker-head strong {
  color: var(--lc-ink);
  font-size: .95rem;
}

.mapprar-picker-state {
  margin-top: 5px;
  color: var(--lc-ink-soft);
  font-size: .82rem;
  line-height: 1.4;
}

.mapprar-picker-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.mapprar-picker-actions button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-xs);
  background: var(--lc-surface);
  color: var(--lc-ink);
  cursor: pointer;
  font: 800 .78rem var(--lc-sans);
}

@media (hover: hover) {.mapprar-picker-actions button:hover{
  border-color: var(--lc-green);
  color: var(--lc-green-d);
}}

.mapprar-picker-grid {
  display: grid;
  gap: 9px;
  max-height: 430px;
  overflow: auto;
  padding-right: 4px;
}

.mapprar-picker-verse {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-sm);
  background: var(--lc-surface);
  color: var(--lc-ink);
  cursor: pointer;
  text-align: left;
  transition: background var(--lc-trans), border-color var(--lc-trans), box-shadow var(--lc-trans);
}

.mapprar-picker-verse:hover,
.mapprar-picker-verse:focus {
  border-color: rgba(148,177,0,.45);
  background: var(--lc-green-tint);
  outline: none;
}

.mapprar-picker-verse.is-current,
.mapprar-picker-verse.is-in-range {
  background: rgba(148,177,0,.12);
}

.mapprar-picker-verse.is-start,
.mapprar-picker-verse.is-end {
  border-color: var(--lc-green);
  box-shadow: inset 3px 0 0 var(--lc-green);
}

.mapprar-picker-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  font-weight: 900;
}

.mapprar-picker-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.mapprar-picker-ar {
  color: var(--lc-green-d);
  font-family: var(--lc-arab);
  font-size: 1.28rem;
  line-height: 1.7;
  text-align: right;
}

.mapprar-picker-fr {
  color: var(--lc-ink);
  font-size: .9rem;
  line-height: 1.45;
}

.mapprar-picker-ph {
  color: var(--lc-ink-soft);
  font-size: .78rem;
  font-style: italic;
  line-height: 1.35;
}

/* ---------- STAGE (lecteur) ---------- */
.mapprar-stage {
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background: var(--lc-surface);
  box-shadow: var(--lc-shadow);
  overflow: hidden;
  margin-bottom: 28px;
  padding: clamp(18px, 2vw, 26px);
}
.mapprar-player { padding-top: 10px; padding-bottom: 6px; }
.mapprar-reader { padding-bottom: 4px; }
.mapprar-stage-head {
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--lc-line);
  background: linear-gradient(180deg, var(--lc-surface), var(--lc-surface-2));
}
.mapprar-seal {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--lc-gold);
  font-family: var(--lc-serif);
  font-size: 1.3rem;
}
.mapprar-seal::before,
.mapprar-seal::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}
.mapprar-seal::after { inset: 12px; opacity: .65; transform: rotate(0); }
.mapprar-stage-title h2 {
  margin: 0 0 4px;
  color: var(--lc-ink);
  font-family: var(--lc-serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}
.mapprar-stage-title p { margin: 0; color: var(--lc-ink-soft); font-size: .92rem; }
.mapprar-stage-title .mapprar-ar {
  font-family: var(--lc-arab);
  color: var(--lc-green-d);
  font-size: 1.5rem;
  direction: rtl;
}

.mapprar-player {
  padding: 4px 0 0;
  display: grid;
  gap: 14px;
}
.mapprar-player-lead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--lc-ink);
  font-weight: 700;
  font-size: .95rem;
}
.mapprar-player-lead i { color: var(--lc-green-d); }
.mapprar-player audio {
  width: 100%;
  height: 50px;
  border-radius: var(--lc-pill);
  outline: none;
}

/* empty state */
.mapprar-empty {
  padding: clamp(34px, 5vw, 64px) 30px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
}
.mapprar-empty-ic {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  font-size: 1.7rem;
}
.mapprar-empty h2 {
  margin: 0;
  color: var(--lc-ink);
  font-family: var(--lc-serif);
  font-weight: 500;
  font-size: 1.5rem;
}
.mapprar-empty p {
  margin: 0;
  max-width: 52ch;
  color: var(--lc-ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

/* ---------- 2-COL (quick pick + steps) ---------- */
.mapprar-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, .9fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 8px;
}

.mapprar-card {
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background: var(--lc-surface);
  box-shadow: var(--lc-shadow-sm);
  overflow: hidden;
}
.mapprar-card-head {
  padding: 22px 26px;
  border-bottom: 1px solid var(--lc-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.mapprar-card-head h2,
.mapprar-card-head h3 {
  margin: 0;
  color: var(--lc-ink);
  font-family: var(--lc-serif);
  font-weight: 500;
  font-size: 1.4rem;
}
.mapprar-card-head p { margin: 4px 0 0; color: var(--lc-ink-soft); font-size: .86rem; }
.mapprar-pill--soft {
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  border: 1px solid rgba(148,177,0,.3);
}

/* quick pick grid */
.mapprar-pick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mapprar-pick a {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 120px;
  padding: 20px;
  border-right: 1px solid var(--lc-line);
  border-bottom: 1px solid var(--lc-line);
  background: var(--lc-surface);
  color: var(--lc-ink);
  transition: background var(--lc-trans);
}
@media (hover: hover) {.mapprar-pick a:hover{ background: var(--lc-green-tint); color: var(--lc-ink); }}
.mapprar-pick a:nth-child(3n) { border-right: 0; }
.mapprar-pick a:nth-last-child(-n+3) { border-bottom: 0; }
.mapprar-pick .ar {
  font-family: var(--lc-arab);
  color: var(--lc-green-d);
  font-size: 1.4rem;
  line-height: 1.2;
  direction: rtl;
}
.mapprar-pick strong { color: var(--lc-ink); font-size: .98rem; overflow-wrap: anywhere; }
.mapprar-pick span { color: var(--lc-ink-soft); font-size: .8rem; overflow-wrap: anywhere; }
.mapprar-pick a { min-width: 0; overflow: hidden; }
@media (min-width: 992px) and (max-width: 1500px) {
  .mapprar-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mapprar-pick a:nth-child(3n) { border-right: 1px solid var(--lc-line); }
  .mapprar-pick a:nth-child(2n) { border-right: 0; }
}

/* steps */
.mapprar-steps {
  padding: 22px 26px;
  display: grid;
  gap: 16px;
}
.mapprar-step-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--lc-line-2);
}
.mapprar-step-row:last-child { border-bottom: 0; padding-bottom: 0; }
.mapprar-step-num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  font-weight: 800;
  font-family: var(--lc-serif);
}
.mapprar-step-row strong { display: block; color: var(--lc-ink); font-size: .98rem; margin-bottom: 3px; }
.mapprar-step-row span { color: var(--lc-ink-soft); font-size: .86rem; line-height: 1.5; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .mapprar-hero,
  .mapprar-cols { grid-template-columns: 1fr; }
  .mapprar-panel { order: -1; }
}
@media (max-width: 680px) {
  .mapprar-metrics { grid-template-columns: 1fr; }
  .mapprar-range-row { grid-template-columns: 1fr; }
  .mapprar-range-row em { display: none; }
  .mapprar-pick { grid-template-columns: 1fr; }
  .mapprar-pick a:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--lc-line); }
  .mapprar-pick a:last-child { border-bottom: 0; }
  .mapprar-stage-head { flex-direction: column; text-align: center; }
}

/* ============================================================
   Moteur de mémorisation : contrôles + reader (rythme, verset/verset, masquer/révéler)
   ============================================================ */
.mapprar-controls { margin-top: 18px; padding: 20px 22px; background: var(--lc-surface, #fff); border: 1px solid var(--lc-line, #e3e6db); border-radius: var(--lc-r, 16px); box-shadow: var(--lc-shadow-sm, 0 1px 2px rgba(0,0,0,.05)); }
.mapprar-ctrl-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.mapprar-ctrl-head h3 { margin: 0; font-size: 1.02rem; color: var(--lc-ink, #2c2f27); display: flex; align-items: center; gap: 9px; }
.mapprar-ctrl-head h3 i { color: var(--lc-green, #6f8f00); }
.mapprar-counters { display: flex; gap: 10px; }
.mapprar-counter { display: flex; flex-direction: column; align-items: center; line-height: 1.15; padding: 7px 14px; border-radius: 12px; background: var(--lc-green-tint, #eef2df); border: 1px solid var(--lc-line, #e3e6db); }
.mapprar-counter small { font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: var(--lc-ink-soft, #6d7064); }
.mapprar-counter b { font-size: 1.02rem; color: var(--lc-green-d, #4f6b00); font-weight: 800; }
.mapprar-counter b i { font-style: normal; font-weight: 400; color: var(--lc-ink-soft, #6d7064); font-size: .85em; }

.mapprar-rhythm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mapprar-rhythm button { appearance: none; cursor: pointer; padding: 11px 8px; border-radius: 12px; border: 1px solid var(--lc-line, #e3e6db); background: var(--lc-surface-2, #f6f7f0); color: var(--lc-ink, #2c2f27); font-weight: 700; font-size: .9rem; transition: all .18s ease; }
@media (hover: hover) {.mapprar-rhythm button:hover{ border-color: var(--lc-green, #6f8f00); }}
.mapprar-rhythm button.is-on { background: var(--lc-green, #6f8f00); border-color: var(--lc-green, #6f8f00); color: #fff; box-shadow: 0 3px 10px rgba(111,143,0,.28); }

.mapprar-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.mapprar-mode { display: flex; align-items: flex-start; gap: 12px; padding: 14px 15px; border-radius: 13px; border: 1px solid var(--lc-line, #e3e6db); background: var(--lc-surface-2, #f6f7f0); cursor: pointer; transition: border-color .18s ease, background .18s ease; }
@media (hover: hover) {.mapprar-mode:hover{ border-color: var(--lc-green, #6f8f00); }}
.mapprar-mode:has(input:checked) { background: var(--lc-green-tint, #eef2df); border-color: var(--lc-green, #6f8f00); }
.mapprar-mode-tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mapprar-mode-tx b { font-size: .92rem; color: var(--lc-ink, #2c2f27); }
.mapprar-mode-tx small { font-size: .8rem; color: var(--lc-ink-soft, #6d7064); line-height: 1.4; }
.mapprar-mode input { position: absolute; opacity: 0; width: 0; height: 0; }
.mapprar-switch { flex: 0 0 auto; width: 42px; height: 24px; border-radius: 999px; background: #cfd3c4; position: relative; transition: background .2s ease; margin-top: 2px; }
.mapprar-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s ease; }
.mapprar-mode input:checked + .mapprar-switch { background: var(--lc-green, #6f8f00); }
.mapprar-mode input:checked + .mapprar-switch::after { transform: translateX(18px); }
.mapprar-mode input:focus-visible + .mapprar-switch { outline: 2px solid var(--lc-green, #6f8f00); outline-offset: 2px; }

.mapprar-validate { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; padding: 12px 20px; border: 0; border-radius: 12px; background: var(--lc-green, #6f8f00); color: #fff; font-weight: 800; font-size: .95rem; cursor: pointer; transition: filter .18s ease; }
@media (hover: hover) {.mapprar-validate:hover{ filter: brightness(1.06); }}

/* Reader : cartes versets */
.mapprar-reader { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.mapprar-vcard { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border: 1px solid var(--lc-line, #e3e6db); border-radius: var(--lc-r, 16px); background: var(--lc-surface, #fff); box-shadow: var(--lc-shadow-sm, 0 1px 2px rgba(0,0,0,.05)); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; position: relative; }
.mapprar-vcard.is-active { border-color: var(--lc-green, #6f8f00); box-shadow: 0 6px 22px rgba(111,143,0,.16); background: linear-gradient(180deg, var(--lc-green-tint, #eef2df) 0%, var(--lc-surface, #fff) 40%); }
.mapprar-vcard.is-done { opacity: .72; }
.mapprar-vseal { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--lc-green-tint, #eef2df); color: var(--lc-green-d, #4f6b00); font-weight: 800; border: 1px solid var(--lc-line, #e3e6db); }
.mapprar-vcard.is-active .mapprar-vseal { background: var(--lc-green, #6f8f00); color: #fff; border-color: var(--lc-green, #6f8f00); }
.mapprar-vbody { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; transition: filter .35s ease, opacity .35s ease; }
.mapprar-var { font-family: 'Amiri', 'Traditional Arabic', serif; font-size: 1.7rem; line-height: 1.9; color: var(--lc-green-d, #3f5a00); text-align: right; }
.mapprar-vfr { font-size: 1rem; color: var(--lc-ink, #2c2f27); line-height: 1.55; }
.mapprar-vph { font-size: .86rem; color: var(--lc-ink-soft, #6d7064); font-style: italic; }
.mapprar-vstate { flex: 0 0 auto; align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--lc-ink-soft, #6d7064); padding: 4px 10px; border-radius: 999px; background: var(--lc-surface-2, #f6f7f0); border: 1px solid var(--lc-line, #e3e6db); }
.mapprar-vcard.is-active .mapprar-vstate { color: var(--lc-green-d, #4f6b00); background: #fff; }
.mapprar-vcard.is-done .mapprar-vstate { color: #4f6b00; }
.mapprar-vcard.is-done .mapprar-vstate::before { content: "\2713 "; }

/* Masquer le texte */
.mapprar-vcard.is-hidden .mapprar-vbody { filter: blur(9px); opacity: .3; user-select: none; }
/* Révéler progressivement : le flou se lève au fil des répétitions (--rev de 0 à 1) */
.mapprar-vcard.is-frag .mapprar-vbody { filter: blur(calc((1 - var(--rev, 0)) * 7px)); opacity: calc(.35 + var(--rev, 0) * .65); }

@media (max-width: 720px) {
  .mapprar-rhythm { grid-template-columns: repeat(2, 1fr); }
  .mapprar-modes { grid-template-columns: 1fr; }
  .mapprar-var { font-size: 1.45rem; }
}

/* Rythme déplacé dans le panneau "Session de mémorisation" */
.mapprar-panel .mapprar-ctrl-block { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--lc-line, #e3e6db); }
.mapprar-panel .mapprar-ctrl-head h3 { font-size: .98rem; }
.mapprar-panel .mapprar-rhythm { grid-template-columns: repeat(2, 1fr); }

/* Sélecteur de sourate façon "lc-jump" (dropdown custom) dans le panneau */
.mapprar-jump { display: block; margin-top: 8px; }
.mapprar-jump .lc-jump-btn { width: 100%; min-width: 0; justify-content: flex-start; }
.mapprar-jump .lc-jump-panel { left: 0; right: 0; width: auto; }
.mapprar-jump .lc-jump-item.is-current { background: var(--lc-green-tint, #eef2df); }
.mapprar-jump .lc-jump-item.is-current .lc-jump-num { background: var(--lc-green, #6f8f00); color: #fff; border-color: var(--lc-green, #6f8f00); }
/* Dropdown sourate dans un panneau étroit : tailles réduites pour éviter le chevauchement */
.mapprar-jump .lc-jump-tx b { font-size: .84rem; }
.mapprar-jump .lc-jump-tx small { font-size: .7rem; }
.mapprar-jump .lc-jump-ar { font-size: 1.05rem; padding-left: 8px; }
.mapprar-jump .lc-jump-item { gap: 10px; }

/* Sélecteur sourate pleine largeur (bat le socle commun) */
.mapprar-field .mapprar-jump { display: block !important; width: 100%; }
.mapprar-field .mapprar-jump .lc-jump-btn { display: flex !important; width: 100% !important; min-width: 0 !important; box-sizing: border-box; justify-content: flex-start; }

/* ===== Lecteur audio personnalisé ===== */
.mapprar-audio-native { display: none !important; }
.mapprar-pl { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--lc-surface, #fff); border: 1px solid var(--lc-line, #e3e6db); border-radius: 16px; box-shadow: var(--lc-shadow-sm, 0 1px 2px rgba(0,0,0,.05)); }
.mapprar-pl-play { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; background: var(--lc-green, #6f8f00); color: #fff; font-size: 1.25rem; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(111,143,0,.32); transition: transform .12s ease, filter .18s ease; }
@media (hover: hover) {.mapprar-pl-play:hover{ filter: brightness(1.06); transform: scale(1.04); }}
.mapprar-pl-play i { margin-left: 2px; }
.mapprar-pl-play i.fa-pause { margin-left: 0; }
.mapprar-pl-main { flex: 1 1 auto; min-width: 0; }
.mapprar-pl-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.mapprar-pl-label { font-weight: 700; color: var(--lc-ink, #2c2f27); font-size: .95rem; }
.mapprar-pl-label i { color: var(--lc-green, #6f8f00); margin-right: 6px; }
.mapprar-pl-time { font-variant-numeric: tabular-nums; color: var(--lc-ink-soft, #6d7064); font-size: .85rem; white-space: nowrap; }
.mapprar-pl-bar { position: relative; height: 8px; border-radius: 999px; background: var(--lc-green-tint, #e7ecd4); cursor: pointer; }
.mapprar-pl-fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 999px; background: var(--lc-green, #6f8f00); transition: width .12s linear; }
.mapprar-pl-knob { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--lc-green, #6f8f00); transform: translate(-50%, -50%); left: var(--k, 0); display: none; }
.mapprar-pl-mini { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; border: 1px solid var(--lc-line, #e3e6db); background: var(--lc-surface-2, #f6f7f0); color: var(--lc-ink-soft, #6d7064); transition: all .16s ease; }
@media (hover: hover) {.mapprar-pl-mini:hover{ border-color: var(--lc-green, #6f8f00); color: var(--lc-green, #6f8f00); }}

/* ===== Réglages dans le panneau : plus pédagogique ===== */
.mapprar-setting { margin-top: 16px; }
.mapprar-q { margin: 0 0 9px; font-size: .84rem; font-weight: 700; color: var(--lc-ink, #2c2f27); }
.mapprar-panel .mapprar-modes { grid-template-columns: 1fr; gap: 8px; margin-top: 0; }
.mapprar-panel .mapprar-mode { padding: 12px 13px; }
.mapprar-validate { width: 100%; justify-content: center; margin-top: 16px; }

/* Anneau de progression de la session */
.mapprar-stage-head { display: flex; align-items: center; gap: 16px; }
.mapprar-ring { position: relative; flex: 0 0 auto; margin-left: auto; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--lc-green, #6f8f00) calc(var(--p,0)*1%), var(--lc-green-tint, #e7ecd4) 0); }
.mapprar-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--lc-surface, #fff); }
.mapprar-ring span { position: relative; font-weight: 800; font-size: .92rem; color: var(--lc-green-d, #4f6b00); }
@media (max-width: 720px){ .mapprar-stage-head { flex-wrap: wrap; } .mapprar-ring { margin-left: 0; } }

/* ===== Grille 2 colonnes : lecteur + sidebar ===== */
.mapprar-main-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 20px; align-items: start; }
@media (max-width: 980px){ .mapprar-main-grid { grid-template-columns: 1fr; } }
.mapprar-learn-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 16px; }
@media (max-width: 980px){ .mapprar-learn-side { position: static; } }
.mapprar-surface { background: var(--lc-surface,#fff); border: 1px solid var(--lc-line,#e3e6db); border-radius: 16px; box-shadow: var(--lc-shadow-sm,0 1px 2px rgba(0,0,0,.05)); overflow: hidden; }
.mapprar-surface-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--lc-line,#e3e6db); }
.mapprar-surface-head h3 { margin: 0; font-family: var(--lc-serif, 'Cormorant Garamond', serif); font-size: 1.12rem; color: var(--lc-ink,#2c2f27); }
.mapprar-surface-body { padding: 16px 18px; }
.mapprar-counter3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.mapprar-counter3 > div { text-align: center; padding: 12px 6px; border-radius: 12px; background: var(--lc-surface-2,#f6f7f0); border: 1px solid var(--lc-line,#e3e6db); }
.mapprar-counter3 strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--lc-green-d,#4f6b00); line-height: 1.1; }
.mapprar-counter3 span { font-size: .72rem; color: var(--lc-ink-soft,#6d7064); }
.mapprar-progress { height: 8px; border-radius: 999px; background: var(--lc-green-tint,#e7ecd4); overflow: hidden; }
.mapprar-progress-fill { height: 100%; width: 0; background: var(--lc-green,#6f8f00); border-radius: 999px; transition: width .3s ease; }
.mapprar-progress-note { margin: 10px 0 0; font-size: .82rem; color: var(--lc-ink-soft,#6d7064); }
.mapprar-progress-note span { color: var(--lc-ink,#2c2f27); font-weight: 700; }
.mapprar-switches { display: flex; flex-direction: column; }
.mapprar-switch-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--lc-line,#e3e6db); cursor: pointer; }
.mapprar-switch-row:last-child { border-bottom: 0; padding-bottom: 0; }
.mapprar-switch-row:first-child { padding-top: 0; }
.mapprar-switch-row > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mapprar-switch-row strong { font-size: .9rem; color: var(--lc-ink,#2c2f27); font-weight: 700; }
.mapprar-switch-row span { font-size: .77rem; color: var(--lc-ink-soft,#6d7064); line-height: 1.35; }
.mapprar-switch-row input { position: absolute; opacity: 0; width: 0; height: 0; }
.mapprar-switch-row input:checked + .mapprar-switch { background: var(--lc-green,#6f8f00); }
.mapprar-switch-row input:checked + .mapprar-switch::after { transform: translateX(18px); }
/* Affichage : masquer arabe / traduction / phonétique dans le reader */
#mappReader.hide-ar .mapprar-var { display: none; }
#mappReader.hide-fr .mapprar-vfr { display: none; }
#mappReader.hide-ph .mapprar-vph { display: none; }

/* Source: css/m-contact.css */
/* ==========================================================================
   m-contact.css — Page Contact (le-coran.com v2)
   Inspirée de maquettes/contact-modern.html — préfixe .mcontact-
   ========================================================================== */

.mcontact-page{
  position:relative;
  width:100%;
  box-sizing:border-box;
  color:var(--lc-ink);
  font-family:var(--lc-sans);
}
.mcontact-page *{box-sizing:border-box;}

.mcontact-wrap{
  width:min(var(--lc-maxw), calc(100% - 36px));
  margin-left:auto;
  margin-right:auto;
}

/* ---------- Hero ---------- */
.mcontact-hero{
  position:relative;
  padding:46px 0 30px;
  text-align:center;
}
.mcontact-ornament{
  width:330px;
  height:42px;
  margin:0 auto 14px;
  position:relative;
  color:var(--lc-green-d);
}
.mcontact-ornament::before,
.mcontact-ornament::after{
  content:"";
  position:absolute;
  top:20px;
  width:128px;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(59,65,61,.30), transparent);
}
.mcontact-ornament::before{left:0;}
.mcontact-ornament::after{right:0;}
.mcontact-ornament-mark{
  position:absolute;
  left:50%;
  top:50%;
  width:54px;
  height:54px;
  transform:translate(-50%,-50%) rotate(45deg);
  border:1px solid rgba(148,177,0,.42);
  background:rgba(232,234,221,.68);
  box-shadow:inset 0 0 0 9px rgba(255,255,255,.55);
}
.mcontact-ornament-mark::after{
  content:"";
  position:absolute;
  inset:14px;
  border-radius:50%;
  background:var(--lc-green);
  box-shadow:0 0 0 7px rgba(148,177,0,.12);
}
.mcontact-eyebrow{
  margin:0 0 12px;
  color:var(--lc-green-d);
  font-weight:800;
  text-transform:uppercase;
  font-size:13px;
  letter-spacing:.08em;
}
.mcontact-hero h1{
  max-width:none;
  margin:0 auto 20px;
  color:var(--lc-ink);
  font-family:var(--lc-serif);
  font-weight:500;
  font-size:clamp(38px,5vw,76px);
  line-height:1.02;
  letter-spacing:0;
}
.mcontact-lead{
  max-width:none;
  margin:0 auto;
  color:var(--lc-ink-soft);
  font-size:clamp(16px,1.4vw,20px);
  line-height:1.7;
}

/* ---------- Shell : formulaire + panneau latéral ---------- */
.mcontact-shell{
  display:grid;
  grid-template-columns:minmax(0,1.42fr) minmax(360px,.58fr);
  gap:28px;
  align-items:stretch;
  margin:0 auto 32px;
}

/* ---------- Panneau formulaire ---------- */
.mcontact-form-panel{
  position:relative;
  border:1px solid var(--lc-line);
  border-radius:var(--lc-r);
  background:
    linear-gradient(135deg, rgba(255,255,255,.97), rgba(232,234,221,.62)),
    radial-gradient(circle at 92% 10%, rgba(148,177,0,.13), transparent 25%);
  box-shadow:var(--lc-shadow);
  overflow:hidden;
}
.mcontact-form-panel::after{
  content:"";
  position:absolute;
  right:-92px;
  bottom:-116px;
  width:340px;
  height:340px;
  border:1px solid rgba(198,154,69,.18);
  transform:rotate(45deg);
  box-shadow:inset 0 0 0 32px rgba(255,255,255,.24), inset 0 0 0 64px rgba(148,177,0,.045);
  pointer-events:none;
}
.mcontact-form-head{
  position:relative;
  z-index:1;
  padding:clamp(28px,3vw,46px) clamp(24px,3.5vw,54px) 24px;
  display:flex;
  justify-content:space-between;
  gap:28px;
  border-bottom:1px solid rgba(217,220,203,.86);
}
.mcontact-form-head h2{
  max-width:760px;
  margin:0 0 12px;
  color:var(--lc-ink);
  font-family:var(--lc-serif);
  font-weight:500;
  font-size:clamp(30px,3.2vw,52px);
  line-height:1.06;
}
.mcontact-form-head p{
  max-width:780px;
  margin:0;
  color:var(--lc-ink-soft);
  font-size:16px;
  line-height:1.7;
}
.mcontact-stamp{
  width:128px;
  height:128px;
  flex:0 0 auto;
  align-self:center;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid #c8d0ac;
  background:rgba(255,255,255,.72);
  text-align:center;
  box-shadow:var(--lc-shadow-sm);
}
.mcontact-stamp strong{
  display:block;
  margin-bottom:6px;
  color:var(--lc-green-d);
  font-family:var(--lc-serif);
  font-size:34px;
  line-height:.9;
  font-weight:500;
}
.mcontact-stamp span{
  display:block;
  padding:0 14px;
  color:var(--lc-ink-soft);
  font-size:11px;
  font-weight:800;
  line-height:1.3;
  text-transform:uppercase;
  letter-spacing:.04em;
}

/* ---------- Formulaire ---------- */
.mcontact-form{
  position:relative;
  z-index:1;
  padding:30px clamp(24px,3.5vw,54px) clamp(30px,3.5vw,54px);
  display:grid;
  gap:20px;
  margin:0;
}
.mcontact-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.mcontact-field{
  display:grid;
  gap:9px;
}
.mcontact-field.full{grid-column:1 / -1;}
.mcontact-field label{
  color:var(--lc-ink);
  font-size:13px;
  font-weight:800;
  text-align:left;
}
.mcontact-field .mcontact-req{color:var(--lc-red);}

.mcontact-form input,
.mcontact-form select,
.mcontact-form textarea{
  width:100%;
  max-width:100%;
  border:1px solid var(--lc-line);
  border-radius:var(--lc-r-xs);
  background:rgba(255,255,255,.92);
  color:var(--lc-ink);
  outline:0;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
  font-family:var(--lc-sans);
  transition:border-color var(--lc-trans), box-shadow var(--lc-trans);
}
.mcontact-form input,
.mcontact-form select{
  height:56px;
  padding:0 18px;
  font-weight:700;
  font-size:15px;
}
.mcontact-form select{
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  padding-right:42px;
  background:rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23565348' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.mcontact-form textarea{
  min-height:184px;
  resize:vertical;
  padding:16px 18px;
  line-height:1.7;
  font-size:15px;
  font-weight:500;
}
.mcontact-form input::placeholder,
.mcontact-form textarea::placeholder{color:var(--lc-ink-faint);font-weight:500;}
.mcontact-form input:focus,
.mcontact-form select:focus,
.mcontact-form textarea:focus{
  border-color:rgba(148,177,0,.68);
  box-shadow:0 0 0 4px rgba(148,177,0,.12);
}

/* ---------- Nature de la demande ---------- */
.mcontact-choice-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.mcontact-choice{
  position:relative;
  min-height:76px;
  padding:14px 16px;
  border:1px solid var(--lc-line);
  border-radius:var(--lc-r-sm);
  background:rgba(255,255,255,.68);
  color:var(--lc-ink-soft);
  display:flex;
  align-items:center;
  gap:12px;
  font-size:13px;
  line-height:1.35;
  cursor:pointer;
  transition:border-color var(--lc-trans), background var(--lc-trans), box-shadow var(--lc-trans);
}
.mcontact-choice input{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  opacity:0;
  cursor:pointer;
}
.mcontact-choice span{
  position:relative;
  z-index:1;
}
.mcontact-choice::before{
  content:"";
  width:16px;
  height:16px;
  flex:0 0 auto;
  border-radius:50%;
  border:1px solid #b9c1a5;
  background:#fff;
  box-shadow:inset 0 0 0 4px #fff;
}
.mcontact-choice.active,
.mcontact-choice:has(input:checked){
  border-color:rgba(148,177,0,.58);
  background:rgba(148,177,0,.10);
  color:var(--lc-green-dd);
  font-weight:800;
}
.mcontact-choice.active::before,
.mcontact-choice:has(input:checked)::before{background:var(--lc-green);box-shadow:inset 0 0 0 3px #fff;}
.mcontact-choice:focus-within{box-shadow:0 0 0 4px rgba(148,177,0,.12);}

.mcontact-context{
  display:none;
  grid-column:1 / -1;
  padding:18px;
  border:1px solid rgba(148,177,0,.28);
  border-radius:var(--lc-r-sm);
  background:rgba(251,252,247,.86);
}
.mcontact-context.is-active{display:block;}
.mcontact-context-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}
.mcontact-context-head strong{
  color:var(--lc-ink);
  font-size:15px;
}
.mcontact-context-head span{
  max-width:560px;
  color:var(--lc-ink-soft);
  font-size:13px;
  line-height:1.5;
}
.mcontact-context-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.mcontact-help{
  display:block;
  color:var(--lc-ink-soft);
  font-size:12px;
  line-height:1.45;
}
.mcontact-links{
  min-height:92px !important;
}
.mcontact-upload{
  position:relative;
  min-height:118px;
  padding:20px;
  border:1px dashed rgba(86,83,72,.38);
  border-radius:var(--lc-r-sm);
  background:rgba(255,255,255,.72);
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:16px;
  align-items:center;
  cursor:pointer;
  transition:border-color var(--lc-trans), background var(--lc-trans), box-shadow var(--lc-trans);
}
.mcontact-upload.is-dragover{
  border-color:rgba(148,177,0,.78);
  background:rgba(148,177,0,.09);
  box-shadow:0 0 0 4px rgba(148,177,0,.12);
}
.mcontact-upload input{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
}
.mcontact-upload-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(148,177,0,.14);
  color:var(--lc-green-dd);
}
.mcontact-upload strong{
  display:block;
  color:var(--lc-ink);
  font-size:15px;
  margin-bottom:5px;
}
.mcontact-upload span{
  display:block;
  color:var(--lc-ink-soft);
  font-size:13px;
  line-height:1.45;
}
.mcontact-file-list{
  display:grid;
  gap:8px;
  padding:0;
  margin:10px 0 0;
  list-style:none;
}
.mcontact-file-list li{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border:1px solid var(--lc-line);
  border-radius:var(--lc-r-xs);
  background:rgba(255,255,255,.78);
  color:var(--lc-ink-soft);
  font-size:13px;
}
.mcontact-file-list strong{
  min-width:0;
  color:var(--lc-ink);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.mcontact-file-list span{white-space:nowrap;}
.mcontact-upload-progress{
  height:8px;
  margin-top:12px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(86,83,72,.14);
}
.mcontact-upload-progress span{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg, var(--lc-green), #c69a45);
  transition:width .18s ease;
}
.mcontact-upload-status{
  min-height:18px;
  margin:8px 0 0;
  color:var(--lc-ink-soft);
  font-size:12px;
}

/* ---------- Bas du formulaire ---------- */
.mcontact-form-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding-top:4px;
}
.mcontact-privacy{
  max-width:640px;
  margin:0;
  color:var(--lc-ink-soft);
  font-size:13px;
  line-height:1.55;
}
.mcontact-submit{
  min-height:56px;
  min-width:210px;
  padding:0 26px;
  border:0;
  border-radius:var(--lc-r-xs);
  background:linear-gradient(180deg, #7b9300, #536500);
  color:#fff;
  font-weight:800;
  font-size:15px;
  font-family:var(--lc-sans);
  box-shadow:0 14px 32px rgba(83,101,0,.22);
  cursor:pointer;
  transition:filter var(--lc-trans), transform var(--lc-trans);
}
@media (hover: hover) {.mcontact-submit:hover{filter:brightness(1.06);transform:translateY(-1px);}}

/* ---------- Alertes ---------- */
.mcontact-alert{
  border-radius:var(--lc-r-sm);
  padding:16px 18px;
  font-size:15px;
  font-weight:600;
  line-height:1.5;
  margin:0;
}
.mcontact-alert--ok{
  background:var(--lc-green-tint);
  color:#43560a;
  border:1px solid rgba(148,177,0,.45);
}
.mcontact-alert--err{
  background:#fbe4e1;
  color:#8a2b1d;
  border:1px solid rgba(214,87,69,.4);
}
.mcontact-alert--ok strong{display:block;font-size:18px;margin-bottom:4px;color:#3b4d07;}

/* ---------- Panneau latéral sombre ---------- */
.mcontact-side{
  position:relative;
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--lc-r);
  background:
    linear-gradient(150deg, rgba(59,65,61,.98), rgba(31,42,37,.98)),
    radial-gradient(circle at 82% 8%, rgba(148,177,0,.22), transparent 32%);
  color:rgba(255,255,255,.78);
  box-shadow:var(--lc-shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.mcontact-side::after{
  content:"";
  position:absolute;
  right:-92px;
  top:42px;
  width:280px;
  height:280px;
  border:1px solid rgba(255,255,255,.10);
  transform:rotate(45deg);
  pointer-events:none;
}
.mcontact-side-content{
  position:relative;
  z-index:1;
  padding:34px;
}
.mcontact-side .mcontact-eyebrow{color:#aecb4a;}
.mcontact-side h2{
  margin:8px 0 14px;
  color:#fff;
  font-family:var(--lc-serif);
  font-weight:500;
  font-size:clamp(26px,2.4vw,36px);
  line-height:1.08;
}
.mcontact-side > .mcontact-side-content > p{
  margin:0;
  line-height:1.7;
  font-size:15px;
}
.mcontact-info-list{
  margin:30px 0 0;
  display:grid;
  gap:14px;
}
.mcontact-info-card{
  padding:18px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--lc-r-sm);
  background:rgba(255,255,255,.06);
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:14px;
  align-items:start;
}
.mcontact-info-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(148,177,0,.16);
  color:#d7ed70;
  font-weight:900;
  font-size:18px;
}
.mcontact-info-card strong{
  display:block;
  margin-bottom:5px;
  color:#fff;
  font-size:14px;
}
.mcontact-info-card span,
.mcontact-info-card a{
  display:block;
  color:rgba(255,255,255,.75);
  font-size:14px;
  line-height:1.5;
  word-break:break-word;
}
@media (hover: hover) {.mcontact-info-card a:hover{color:#d7ed70;}}
.mcontact-social-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:11px;
}
.mcontact-social{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:14px;
  transition:background var(--lc-trans), color var(--lc-trans);
}
@media (hover: hover) {.mcontact-social:hover{background:rgba(148,177,0,.22);color:#d7ed70;}}

.mcontact-quote{
  position:relative;
  z-index:1;
  margin:0 34px 34px;
  padding:26px;
  border-radius:var(--lc-r-sm);
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}
.mcontact-quote .mcontact-arabic{
  margin-bottom:12px;
  color:#eff8bf;
  text-align:right;
  font-family:var(--lc-arab),var(--lc-serif);
  font-size:30px;
  line-height:1.6;
  direction:rtl;
}
.mcontact-quote p{
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:15px;
  line-height:1.6;
}

/* ---------- FAQ (SEO/aide en bas, full-width) ---------- */
.mcontact-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  margin:54px 0 22px;
}
.mcontact-section-head h2{
  margin:0;
  color:var(--lc-ink);
  font-family:var(--lc-serif);
  font-weight:500;
  font-size:clamp(28px,3vw,48px);
  line-height:1.05;
}
.mcontact-section-head p{
  max-width:660px;
  margin:9px 0 0;
  color:var(--lc-ink-soft);
  line-height:1.6;
}
.mcontact-pill{
  min-height:42px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #bec8a1;
  border-radius:var(--lc-pill);
  background:rgba(255,255,255,.7);
  color:var(--lc-green-dd);
  font-weight:800;
  font-size:13px;
  white-space:nowrap;
  flex:0 0 auto;
}
.mcontact-faq-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin:0 0 24px;
}
.mcontact-faq-card{
  min-height:200px;
  padding:28px;
  border:1px solid var(--lc-line);
  border-radius:var(--lc-r);
  background:var(--lc-surface);
  box-shadow:var(--lc-shadow-sm);
  position:relative;
  overflow:hidden;
}
.mcontact-faq-card::before{
  content:"";
  position:absolute;
  top:0;left:0;right:0;
  height:3px;
  background:linear-gradient(90deg, var(--lc-green), rgba(198,154,69,.72));
}
.mcontact-faq-card h3{
  margin:0 0 13px;
  color:var(--lc-ink);
  font-family:var(--lc-serif);
  font-weight:500;
  font-size:26px;
  line-height:1.15;
}
.mcontact-faq-card p{
  margin:0;
  color:var(--lc-ink-soft);
  line-height:1.65;
  font-size:15px;
}

/* ---------- Bande SEO texte ---------- */
.mcontact-seo{
  width:100%;
  margin:8px 0 0;
  padding:clamp(28px,4vw,52px) !important;
  border:1px solid var(--lc-line);
  border-radius:var(--lc-r);
  background:var(--lc-surface);
  box-shadow:var(--lc-shadow-sm);
  color:var(--lc-ink-soft);
  columns:2;
  column-gap:56px;
}
.mcontact-seo h2{
  column-span:all;
  margin:0 0 18px;
  padding-bottom:16px;
  border-bottom:3px solid var(--lc-green);
  width:fit-content;
  max-width:100%;
  color:var(--lc-ink);
  font-family:var(--lc-serif);
  font-weight:500;
  font-size:1.5rem;
}
.mcontact-seo p{
  margin:0 0 1em;
  line-height:1.8;
  font-size:15px;
  break-inside:avoid;
}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  .mcontact-shell{grid-template-columns:1fr;}
  .mcontact-faq-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:820px){
	  .mcontact-form-head{display:block;}
	  .mcontact-stamp{margin-top:22px;}
	  .mcontact-grid,
	  .mcontact-context-grid,
	  .mcontact-choice-row,
	  .mcontact-faq-grid{grid-template-columns:1fr;}
	  .mcontact-context-head{display:block;}
	  .mcontact-context-head span{display:block;margin-top:6px;}
	  .mcontact-form-bottom{display:block;}
  .mcontact-submit{width:100%;margin-top:16px;}
  .mcontact-section-head{display:block;}
  .mcontact-pill{margin-top:14px;}
  .mcontact-seo{columns:1;}
  .mcontact-side-content,
  .mcontact-quote{padding-left:22px;padding-right:22px;}
  .mcontact-quote{margin-left:22px;margin-right:22px;}
}
@media (max-width:520px){
  .mcontact-ornament{width:260px;}
  .mcontact-ornament::before,.mcontact-ornament::after{width:90px;}
}

/* --- Icônes info en SVG (email / réseaux) --- */
.mcontact-info-icon svg{ display:block; }
/* --- En-tête FAQ centré --- */
.mcontact-section-head{ flex-direction:column; align-items:center; text-align:center; gap:14px; }
.mcontact-section-head p{ margin-left:auto; margin-right:auto; }
/* --- Titre "Contacter Le-Coran.com" centré (le corps SEO reste à gauche) --- */
.mcontact-seo h2{ margin-left:auto; margin-right:auto; text-align:center; }
/* Corps SEO aligné à gauche (seul le titre reste centré) */
.mcontact-seo{ text-align:left; }
.mcontact-seo h2{ text-align:center; }
/* Cartes contact : texte aligné à gauche à côté de l'icône (pas centré) */
.mcontact-info-card{ text-align:left; }
/* "Envoyer un message" : en-tête centré dans sa section */
.mcontact-form-head{ justify-content:center; text-align:center; }
.mcontact-form-head > div{ max-width:640px; }
/* Icônes email/réseaux : SVG parfaitement centré dans le rond */
.mcontact-info-icon{ display:flex; align-items:center; justify-content:center; }
.mcontact-info-icon svg{ display:block; }
/* Priorité sur ".mcontact-info-card span{display:block}" pour centrer le SVG */
.mcontact-info-card span.mcontact-info-icon{ display:flex; align-items:center; justify-content:center; }
/* Icônes réseaux sociaux : SVG centré (bat ".mcontact-info-card a{display:block}") */
.mcontact-info-card a.mcontact-social{ display:flex; align-items:center; justify-content:center; }
.mcontact-social svg{ display:block; }

/* Source: css/m-integ.css */
/* =====================================================================
   m-integ.css — Page "Intégrer le Coran" (integrer-coran-site.php)
   Refonte full-width inspirée de la maquette codex, cohérente common.css.
   Toutes les classes sont préfixées .minteg- — n'édite jamais common.css.
   ===================================================================== */

.lc-tool-page #page_integrer,
body#page_integrer { background: var(--lc-bg); }
/* Bande titre du header vide sur cette page (le hero est dans le contenu) */
#page_integrer .zone_titre { display: none; }
/* Hero pleine largeur (au lieu d'un bloc rétréci à gauche) */
.minteg-page .minteg-hero { max-width: none; margin: 0 0 8px; padding-top: clamp(24px, 3vw, 46px); }
.minteg-page .minteg-lead { max-width: none; margin-left: auto; margin-right: auto; }

/* Conteneur principal pleine largeur ------------------------------- */
.minteg-page {
  width: 100%;
  max-width: var(--lc-maxw);
  margin: 0 auto;
  padding: 0 18px 10px;
  float: none;
  box-sizing: border-box;
  color: var(--lc-ink);
}
.minteg-page::after { content: ""; display: block; clear: both; }
.minteg-page *,
.minteg-hero * { box-sizing: border-box; }

/* ---------------------------------------------------------------- HERO */
.minteg-hero {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 40px) 18px 8px;
  text-align: center;
}
.minteg-ornament {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  position: relative;
  transform: rotate(45deg);
  border: 1px solid rgba(148,177,0,.42);
  background: var(--lc-green-tint);
  box-shadow: inset 0 0 0 9px rgba(255,255,255,.45);
  border-radius: 6px;
}
.minteg-ornament span {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: var(--lc-green);
  box-shadow: 0 0 0 7px rgba(148,177,0,.14);
}
.minteg-eyebrow {
  margin: 0 0 12px;
  color: var(--lc-green-d);
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: .12em;
  font-weight: 800;
}
.minteg-hero h1 {
  margin: 0 auto 18px;
  font-family: var(--lc-serif);
  font-weight: 500;
  color: var(--lc-ink);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
  line-height: 1.08;
}
.minteg-lead {
  max-width: 760px;
  margin: 0 auto;
  color: var(--lc-ink-soft);
  font-size: clamp(1rem, .96rem + .35vw, 1.2rem);
  line-height: 1.7;
}
.minteg-actions {
  margin: 26px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.minteg-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-pill);
  background: var(--lc-surface);
  color: var(--lc-ink);
  box-shadow: var(--lc-shadow-sm);
  font-size: 13px;
  font-weight: 700;
}
.minteg-pill b {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  font-size: 12px;
}

/* Carte partagée --------------------------------------------------- */
.minteg-config,
.minteg-preview,
.minteg-code,
.minteg-step,
.minteg-ucard,
.minteg-ocard {
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background: var(--lc-surface);
  box-shadow: var(--lc-shadow-sm);
}

/* ------------------------------------------------------------- BUILDER */
.minteg-builder {
  display: grid;
  grid-template-columns: 440px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin: clamp(20px, 3vw, 40px) 0 34px;
}

.minteg-config { overflow: hidden; }
.minteg-panel-head {
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--lc-line);
  background:
    linear-gradient(135deg, var(--lc-surface), var(--lc-surface-2));
}
.minteg-panel-head h2 {
  margin: 0 0 6px;
  font-family: var(--lc-serif);
  font-weight: 500;
  color: var(--lc-ink);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  line-height: 1.12;
}
.minteg-panel-head p {
  margin: 0;
  color: var(--lc-ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.minteg-fields {
  display: grid;
  gap: 16px;
  padding: 22px 26px 26px;
}
.minteg-field { display: grid; gap: 8px; }
.minteg-field > label {
  color: var(--lc-ink);
  font-size: 13px;
  font-weight: 800;
}
.minteg-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.minteg-iwrap {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-xs);
  background: var(--lc-bg);
  transition: border-color var(--lc-trans), box-shadow var(--lc-trans);
}
.minteg-iwrap:focus-within {
  border-color: var(--lc-green);
  box-shadow: 0 0 0 3px rgba(148,177,0,.14);
}
.minteg-ico {
  width: 32px; height: 32px;
  flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  font-weight: 800;
  font-size: 14px;
}
.minteg-iwrap input[type=text] {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--lc-ink);
  font-weight: 600;
  font-size: 14px;
  padding: 0;
}
.minteg-iwrap input.minteg-prefix {
  flex: 0 1 auto;
  width: auto;
  max-width: 50%;
  color: var(--lc-ink-faint);
  font-weight: 600;
}
.minteg-iwrap input.minteg-prefix + input {
  border-left: 1px solid var(--lc-line);
  padding-left: 10px;
}
.minteg-hint {
  color: var(--lc-ink-soft);
  font-size: 12.5px;
  line-height: 1.5;
}
.minteg-hint code {
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 12px;
}

/* Couleur ---------------------------------------------------------- */
.minteg-color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.minteg-iwrap--color {
  flex: 1 1 180px;
  cursor: pointer;
}
.minteg-iwrap--color span { color: var(--lc-ink-soft); font-size: 13px; font-weight: 600; }
.minteg-iwrap--color input[type=color] {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--lc-line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.minteg-swatches { display: flex; gap: 8px; }
.minteg-swatch {
  width: 36px; height: 36px;
  border: 1px solid var(--lc-line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: transform var(--lc-trans), box-shadow var(--lc-trans);
}
.minteg-swatch::before {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 50%;
  background: var(--sw, var(--lc-green));
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.5);
}
@media (hover: hover) {.minteg-swatch:hover{ transform: translateY(-1px); box-shadow: var(--lc-shadow-sm); }}

/* Toggles langues -------------------------------------------------- */
.minteg-toggles {
  display: grid;
  gap: 2px;
  margin-top: 4px;
}
.minteg-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--lc-line-2);
  cursor: pointer;
}
.minteg-toggle:first-child { border-top: 0; }
.minteg-toggle span { display: block; }
.minteg-toggle strong { display: block; color: var(--lc-ink); font-size: 14px; }
.minteg-toggle small { display: block; color: var(--lc-ink-soft); font-size: 12px; margin-top: 2px; }
.minteg-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.minteg-switch {
  flex: 0 0 auto;
  width: 50px; height: 28px;
  border-radius: var(--lc-pill);
  background: #d8dbcf;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(59,65,61,.16);
  transition: background var(--lc-trans);
}
.minteg-switch::after {
  content: "";
  position: absolute;
  top: 4px; left: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(59,65,61,.22);
  transition: left var(--lc-trans);
}
.minteg-toggle input:checked + .minteg-switch { background: var(--lc-green); }
.minteg-toggle input:checked + .minteg-switch::after { left: 26px; }
.minteg-toggle input:focus-visible + .minteg-switch {
  outline: 2px solid var(--lc-green-d);
  outline-offset: 2px;
}

/* ------------------------------------------------------------- PREVIEW */
.minteg-preview {
  min-height: 100%;
  padding: clamp(18px, 2.4vw, 28px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--lc-surface), var(--lc-surface-2));
}
.minteg-preview-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.minteg-preview-top h2 {
  margin: 0;
  font-family: var(--lc-serif);
  font-weight: 500;
  color: var(--lc-ink);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
  line-height: 1.06;
}
.minteg-preview-top p {
  margin: 7px 0 0;
  max-width: 460px;
  color: var(--lc-ink-soft);
  font-size: 14px;
  line-height: 1.55;
}
.minteg-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.minteg-tab {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-pill);
  background: var(--lc-surface);
  color: var(--lc-ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--lc-trans);
}
@media (hover: hover) {.minteg-tab:hover{ border-color: var(--lc-green); }}
.minteg-tab.is-active {
  background: var(--lc-green-dd);
  border-color: var(--lc-green-dd);
  color: #fff;
}

.minteg-frame {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  border: 10px solid var(--lc-green-dd);
  border-radius: 14px;
  background: #f9f9f2;
  box-shadow: var(--lc-shadow-lg);
  overflow: hidden;
  transition: max-width var(--lc-trans);
}
.minteg-frame-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: linear-gradient(135deg, var(--lc-green-dd), #26312d);
  color: #fff;
}
.minteg-frame-bar b {
  margin-left: 8px;
  font-family: var(--lc-serif);
  font-weight: 500;
  font-size: 16px;
}
.minteg-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); }
.minteg-dot:nth-child(1) { background: #e2685b; }
.minteg-dot:nth-child(2) { background: #e7c14a; }
.minteg-dot:nth-child(3) { background: #7fae3e; }
.minteg-frame-body {
  background: #fff;
  min-height: 360px;
  line-height: 0;
}
.minteg-frame-body iframe {
  display: block;
  width: 100% !important;
  border: 0;
}
.minteg-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: var(--lc-ink-soft);
  font-size: 13px;
  font-weight: 600;
}

/* --------------------------------------------------------- CODE + STEPS */
.minteg-code-workflow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
  margin: 0 0 34px;
}
.minteg-code { overflow: hidden; display: flex; flex-direction: column; }
.minteg-code-head {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--lc-line);
}
.minteg-code-head h2 {
  margin: 0;
  font-family: var(--lc-serif);
  font-weight: 500;
  color: var(--lc-ink);
  font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem);
}
.minteg-copy {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--lc-r-xs);
  background: linear-gradient(180deg, var(--lc-green), var(--lc-green-d));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 12px 26px -12px rgba(83,101,0,.5);
  transition: transform var(--lc-trans), filter var(--lc-trans);
}
@media (hover: hover) {.minteg-copy:hover{ transform: translateY(-1px); filter: brightness(1.04); }}
.minteg-copy.is-done { background: var(--lc-green-dd); }

textarea.minteg-snippet {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  min-height: 150px;
  padding: 22px;
  border: 0;
  resize: vertical;
  display: block;
  color: #edf1df;
  background:
    linear-gradient(135deg, #3b413d, #1f2a25);
  font: 13.5px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
  word-break: break-all;
  box-sizing: border-box;
}
textarea.minteg-snippet:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--lc-green); }

.minteg-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.minteg-step {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, var(--lc-surface), var(--lc-surface));
}
.minteg-step-num {
  width: 50px; height: 50px;
  margin-bottom: 14px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--lc-green-tint);
  border: 1px solid var(--lc-line);
  color: var(--lc-green-d);
  font-family: var(--lc-serif);
  font-size: 22px;
}
.minteg-step h3 {
  margin: 0 0 8px;
  font-family: var(--lc-serif);
  font-weight: 500;
  color: var(--lc-ink);
  font-size: 1.35rem;
  line-height: 1.1;
}
.minteg-step p { margin: 0; color: var(--lc-ink-soft); font-size: 14px; line-height: 1.6; }

.minteg-note {
  margin: 0 0 34px;
  padding: 14px 18px;
  border: 1px solid var(--lc-line);
  border-left: 4px solid var(--lc-gold);
  border-radius: 0 var(--lc-r-sm) var(--lc-r-sm) 0;
  background: var(--lc-surface);
  color: var(--lc-ink-soft);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ------------------------------------------------- SECTION HEAD + OPTIONS */
.minteg-sec {
  margin: 0 0 clamp(28px, 4vw, 48px);
}
.minteg-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 18px;
}
.minteg-sec-head h2 {
  margin: 0;
  font-family: var(--lc-serif);
  font-weight: 500;
  color: var(--lc-ink);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  line-height: 1.05;
}
.minteg-sec-head p {
  margin: 8px 0 0;
  max-width: 640px;
  color: var(--lc-ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}
.minteg-quicknav { display: flex; gap: 9px; flex-wrap: wrap; }
.minteg-qpill {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-pill);
  background: var(--lc-surface);
  color: var(--lc-ink);
  font-size: 13px;
  font-weight: 700;
}
.minteg-qpill.is-active { background: var(--lc-green-dd); color: #fff; border-color: var(--lc-green-dd); }

.minteg-ogrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.minteg-ocard { padding: 24px; }
.minteg-oico {
  width: 48px; height: 48px;
  margin-bottom: 16px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  font-weight: 800;
  font-size: 18px;
}
.minteg-ocard h3 {
  margin: 0 0 8px;
  font-family: var(--lc-serif);
  font-weight: 500;
  color: var(--lc-ink);
  font-size: 1.3rem;
  line-height: 1.12;
}
.minteg-ocard p { margin: 0; color: var(--lc-ink-soft); font-size: 14px; line-height: 1.6; }

/* Adresses utiles -------------------------------------------------- */
.minteg-ugrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.minteg-ucard { padding: 22px 24px; }
.minteg-ucard h3 {
  margin: 0 0 14px;
  font-family: var(--lc-serif);
  font-weight: 500;
  color: var(--lc-ink);
  font-size: 1.25rem;
}
.minteg-urow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid var(--lc-line-2);
  font-size: 14px;
}
.minteg-urow:first-of-type { border-top: 0; }
.minteg-urow span { color: var(--lc-ink-soft); }
.minteg-urow code {
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 13px;
  font-weight: 700;
}

/* ----------------------------------------------------------------- SEO */
.minteg-seo {
  margin: 0 0 18px;
  padding: clamp(26px, 4vw, 54px);
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background: var(--lc-surface);
  box-shadow: var(--lc-shadow-sm);
  color: var(--lc-ink-soft);
}
.minteg-seo > h2 {
  text-align: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 26px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--lc-green);
  font-family: var(--lc-serif);
  font-weight: 500;
  color: var(--lc-ink);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}
.minteg-seo-body { columns: 2; column-gap: 56px; }
.minteg-seo-body p { margin: 0 0 1em; line-height: 1.8; break-inside: avoid; }
.minteg-seo-body strong { color: var(--lc-ink); }

/* ------------------------------------------------------- RESPONSIVE */
@media (max-width: 1180px) {
  .minteg-builder,
  .minteg-code-workflow { grid-template-columns: 1fr; }
  .minteg-steps { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
  .minteg-ogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .minteg-ugrid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .minteg-preview-top,
  .minteg-sec-head { display: block; }
  .minteg-tabs,
  .minteg-quicknav { margin-top: 14px; justify-content: flex-start; }
  .minteg-steps { grid-template-columns: 1fr; }
  .minteg-ogrid { grid-template-columns: 1fr; }
  .minteg-grid2 { grid-template-columns: 1fr; }
  .minteg-seo-body { columns: 1; }
  .minteg-hero { text-align: center; }
}

/* URL "Page à afficher" : préfixe entièrement visible */
.minteg-iwrap input.minteg-prefix{ max-width:none; width:auto; flex:0 0 auto; }
.minteg-iwrap input.minteg-prefix + input{ flex:1 1 auto; min-width:60px; }
/* Option "Sans logo" + champ logo désactivé */
.minteg-check{ display:inline-flex; align-items:center; gap:8px; margin:2px 0 10px; font-size:.9rem; font-weight:600; color:var(--lc-ink); cursor:pointer; }
.minteg-check input{ width:16px; height:16px; accent-color:var(--lc-green); }
.minteg-check-hint{ color:var(--lc-ink-soft); font-weight:400; }
.minteg-field.is-disabled .minteg-iwrap{ opacity:.5; pointer-events:none; }

/* Source: css/m-membre.css */
/* ===================================================================
   Espace membre — refonte v2 (slug: membre)
   Vue connexion / inscription full-width, cohérente avec l'accueil.
   Toutes les classes sont préfixées .mmembre-
   N'édite jamais common.css : ce fichier réutilise les tokens --lc-*.
   =================================================================== */

.mmembre-wrap{
  --mm-head:   var(--lc-footer-bg);
  --mm-head-2: #28332e;
  --mm-olive:  var(--lc-green);
  --mm-olive-d:var(--lc-green-d);
  --mm-green:  #1f7a52;
  --mm-block:  var(--lc-surface-2);
  --mm-paper:  #fbfbf6;
  --mm-line:   var(--lc-line);
  --mm-ink:    #24241f;
  --mm-text:   var(--lc-ink);
  --mm-muted:  var(--lc-ink-soft);
  --mm-gold:   var(--lc-gold);
  --mm-r:      var(--lc-r);
  --mm-shadow: 0 18px 55px rgba(59,65,61,.10);
  --mm-soft:   0 8px 28px rgba(59,65,61,.08);
  --mm-serif:  var(--lc-serif);

  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 8px 0 10px;
}

.mmembre-wrap *{ box-sizing: border-box; }

/* ---------- HERO ---------- */
.mmembre-hero{
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
  gap: 30px;
  align-items: stretch;
  margin-bottom: 30px;
}

.mmembre-intro{
  position: relative;
  overflow: hidden;
  padding: 50px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r);
  background:
    linear-gradient(135deg, rgba(255,255,255,.93), rgba(232,234,221,.86)),
    radial-gradient(circle at 80% 14%, rgba(148,177,0,.17), transparent 34%);
  box-shadow: var(--mm-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mmembre-intro::after{
  content:"";
  position: absolute;
  right: -128px; bottom: -154px;
  width: 420px; height: 420px;
  border: 1px solid rgba(184,138,52,.30);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 32px rgba(255,255,255,.22), inset 0 0 0 64px rgba(148,177,0,.05);
  pointer-events: none;
}

.mmembre-ornament{
  display: inline-grid;
  grid-template-columns: 56px auto 56px;
  align-items: center;
  gap: 14px;
  width: fit-content;
  color: var(--mm-gold);
  font-family: var(--mm-serif);
  font-size: 22px;
}
.mmembre-ornament::before,
.mmembre-ornament::after{
  content:""; height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.mmembre-ornament::after{ background: linear-gradient(90deg, currentColor, transparent); }

.mmembre-eyebrow{
  margin: 24px 0 0;
  color: var(--mm-green);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 800;
}

#espace_membre .mmembre-intro h1{
  margin: 16px 0 16px;
  max-width: 900px;
  color: var(--mm-ink);
  font-family: var(--mm-serif);
  font-weight: 500;
  font-size: clamp(38px, 3.6vw, 64px);
  line-height: 1.05;
}

.mmembre-intro-text{
  position: relative; z-index: 1;
  max-width: 760px;
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--mm-text);
}

.mmembre-benefits{
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 38px;
}
.mmembre-benefit{
  min-height: 142px;
  padding: 20px;
  border: 1px solid rgba(217,219,204,.86);
  border-radius: var(--lc-r-sm);
  background: rgba(255,255,255,.60);
  box-shadow: 0 8px 24px rgba(59,65,61,.05);
}
.mmembre-benefit-icon{
  width: 42px; height: 42px;
  margin-bottom: 14px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mm-block);
  color: var(--mm-olive-d);
  font-size: 16px;
}
.mmembre-benefit strong{
  display: block; margin-bottom: 6px;
  color: var(--mm-ink); font-size: 15px;
}
.mmembre-benefit span{
  color: var(--mm-muted); font-size: 13px; line-height: 1.45;
}

/* ---------- MEMBER PREVIEW CARD ---------- */
.mmembre-card{
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r);
  background: var(--mm-paper);
  box-shadow: var(--mm-shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.mmembre-card-head{
  padding: 26px 30px;
  background: linear-gradient(135deg, var(--mm-head), var(--mm-head-2));
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
#espace_membre .mmembre-card-head h2{
  margin: 0; color:#fff;
  font-family: var(--mm-serif); font-weight: 500; font-size: 30px;
}
.mmembre-pill{
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 7px 14px;
  border-radius: var(--lc-pill);
  background: rgba(148,177,0,.16);
  color: #eff8bf;
  border: 1px solid rgba(148,177,0,.32);
  font-size: 12px; font-weight: 800; white-space: nowrap;
}
.mmembre-preview{ padding: 28px; display: grid; gap: 20px; }

.mmembre-resume{
  padding: 26px;
  border: 1px solid var(--mm-line);
  border-radius: var(--lc-r-sm);
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(232,234,221,.72)),
    radial-gradient(circle at 88% 20%, rgba(148,177,0,.14), transparent 28%);
}
.mmembre-resume-top{
  display: flex; justify-content: space-between; gap: 18px; align-items: start;
  margin-bottom: 22px;
}
#espace_membre .mmembre-resume-top h3{
  margin: 0; color: var(--mm-ink);
  font-family: var(--mm-serif); font-weight: 500; font-size: 28px; line-height: 1.12;
}
.mmembre-resume-top p{ margin: 8px 0 0; color: var(--mm-muted); line-height: 1.5; font-size: 14px; }
.mmembre-seal{
  width: 68px; height: 68px; flex: 0 0 auto;
  display: grid; place-items: center;
  color: var(--mm-gold); font-family: var(--mm-serif); font-size: 20px;
  position: relative;
}
.mmembre-seal::before,
.mmembre-seal::after{
  content:""; position: absolute; inset: 8px;
  border: 1px solid currentColor; transform: rotate(45deg);
}
.mmembre-seal::after{ inset: 14px; opacity: .68; transform: rotate(0deg); }

.mmembre-progress{
  height: 9px; overflow: hidden; border-radius: var(--lc-pill);
  background: #dfe2d4; box-shadow: inset 0 1px 3px rgba(59,65,61,.12);
}
.mmembre-progress span{
  display: block; width: 64%; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--mm-olive), var(--mm-green));
}

.mmembre-stats{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.mmembre-stat{
  min-height: 100px; padding: 18px;
  border: 1px solid var(--mm-line); border-radius: var(--lc-r-sm);
  background: #fff; box-shadow: 0 7px 22px rgba(59,65,61,.06);
}
.mmembre-stat strong{
  display: block; margin-bottom: 6px; color: var(--mm-head);
  font: 500 32px/1 var(--mm-serif);
}
.mmembre-stat span{ color: var(--mm-muted); font-size: 13px; line-height: 1.4; }

.mmembre-saved{ display: grid; gap: 11px; }
.mmembre-saved-row{
  min-height: 66px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center;
  padding: 13px 16px;
  border: 1px solid rgba(217,219,204,.88); border-radius: var(--lc-r-sm);
  background: rgba(255,255,255,.78);
}
.mmembre-saved-num{
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  background: var(--mm-block); color: var(--mm-head); font-weight: 800; font-size: 13px;
}
.mmembre-saved-row b{ display: block; margin-bottom: 3px; color: var(--mm-ink); font-size: 14px; }
.mmembre-saved-row .mmembre-saved-sub{ color: var(--mm-muted); font-size: 13px; }
.mmembre-saved-tag{ color: var(--mm-olive-d); font-style: normal; font-size: 12px; font-weight: 800; white-space: nowrap; }

/* ---------- FORMS ---------- */
.mmembre-forms{
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
  align-items: start; margin: 0 0 40px;
}
.mmembre-panel{
  border: 1px solid var(--mm-line); border-radius: var(--mm-r);
  background: rgba(255,255,255,.85);
  box-shadow: var(--mm-shadow); overflow: hidden;
}
.mmembre-panel.mmembre-featured{
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(251,251,246,.84)),
    radial-gradient(circle at 88% 8%, rgba(148,177,0,.11), transparent 24%);
}
.mmembre-panel-title{
  padding: 28px 32px 22px;
  border-bottom: 1px solid var(--mm-line);
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,248,242,.78));
}
#espace_membre .mmembre-panel-title h2{
  margin: 0 0 9px; color: var(--mm-ink);
  font-family: var(--mm-serif); font-weight: 500;
  font-size: clamp(30px, 2.6vw, 44px); line-height: 1.06;
}
.mmembre-panel-title p{ margin: 0; max-width: 620px; color: var(--mm-muted); line-height: 1.55; font-size: 15px; }

.mmembre-form-body{ padding: 30px 32px 32px; display: grid; gap: 18px; }

.mmembre-field{ display: grid; gap: 9px; }
.mmembre-field label{ color: var(--mm-ink); font-size: 13px; font-weight: 800; margin: 0; }

#espace_membre .mmembre-field .form-control,
#espace_membre .mmembre-field input{
  width: 100%; height: 56px;
  border: 1px solid var(--mm-line); border-radius: var(--lc-r-xs);
  background: #fff; color: var(--mm-ink);
  padding: 0 18px; font-size: 15px; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  outline: 0; transition: border-color var(--lc-trans), box-shadow var(--lc-trans);
}
#espace_membre .mmembre-field .form-control::placeholder{ font-weight: 500; color: #a7a294; }
#espace_membre .mmembre-field .form-control:focus,
#espace_membre .mmembre-field input:focus{
  border-color: rgba(148,177,0,.72);
  box-shadow: 0 0 0 4px rgba(148,177,0,.12);
}

.mmembre-split{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.mmembre-primary{
  width: 100%; min-height: 56px;
  border: 0; border-radius: var(--lc-r-xs);
  background: linear-gradient(180deg, #7b9300, #536500);
  color: #fff; font-size: 15px; font-weight: 800;
  box-shadow: 0 14px 32px rgba(83,101,0,.22);
  cursor: pointer; transition: filter var(--lc-trans), transform var(--lc-trans);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
}
@media (hover: hover) {.mmembre-primary:hover{ filter: brightness(1.05); transform: translateY(-1px); color:#fff; }}

/* checkbox rows (réelles cases du formulaire) */
.mmembre-check{
  display: flex; align-items: flex-start; gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--lc-line-2); border-radius: var(--lc-r-xs);
  background: rgba(255,255,255,.6);
}
.mmembre-check input[type="checkbox"]{
  margin: 2px 0 0; flex: 0 0 auto;
  width: 18px; height: 18px; accent-color: var(--mm-olive);
}
.mmembre-check label{ margin: 0; font-size: 13px; font-weight: 500; color: var(--mm-text); line-height: 1.5; }
.mmembre-check label a{ color: var(--mm-olive-d); font-weight: 700; text-decoration: underline; }
.mmembre-check.mmembre-check-key{ background: var(--lc-green-tint); border-color: rgba(148,177,0,.28); }

.mmembre-note{
  margin: 2px 0 0; color: var(--mm-muted); font-size: 13px; line-height: 1.55;
}
.mmembre-forgot{ text-align: right; }
.mmembre-forgot a{ color: var(--mm-green); font-weight: 700; font-size: 13px; }

/* alerts */
.mmembre-alert{ padding: 13px 16px; border-radius: var(--lc-r-xs); font-size: 14px; line-height: 1.6; }
.mmembre-alert a{ font-weight: 700; text-decoration: underline; }
.mmembre-alert-error{ background: #fdf2f2; color: #9e2b2b; border: 1px solid rgba(158,43,43,.18); }
.mmembre-alert-error a{ color: #9e2b2b; }
.mmembre-alert-success{ background: var(--lc-green-tint); color: #3d6b1e; border: 1px solid rgba(148,177,0,.25); }

/* ---------- SUPPORT BAND (bas de page) ---------- */
.mmembre-support{
  margin: 0 0 36px; padding: 26px 0;
  border-block: 1px solid var(--mm-line);
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center;
}
.mmembre-support-card{
  min-height: 94px;
  display: flex; align-items: center; gap: 16px;
  padding: 18px;
  border: 1px solid var(--mm-line); border-radius: var(--mm-r);
  background: rgba(255,254,248,.66);
  transition: box-shadow var(--lc-trans), transform var(--lc-trans);
}
@media (hover: hover) {.mmembre-support-card:hover{ box-shadow: var(--mm-soft); transform: translateY(-2px); text-decoration: none; }}
.mmembre-support-card.mmembre-next{ justify-content: flex-end; text-align: right; }
.mmembre-support-icon{
  width: 46px; height: 46px; flex: 0 0 auto;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--mm-head); color: #fff; font-weight: 800;
}
.mmembre-support-card .mmembre-support-k{ display: block; margin-bottom: 3px; color: var(--mm-muted); font-size: 13px; }
.mmembre-support-card b{ color: var(--mm-ink); font-size: 15px; }
.mmembre-center-seal{
  width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid #c8d0ac; background: var(--mm-block);
  color: var(--mm-olive-d); font-family: var(--mm-serif); font-size: 24px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1240px){
  .mmembre-hero,
  .mmembre-forms{ grid-template-columns: 1fr; }
  .mmembre-benefits{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px){
  .mmembre-intro{ padding: 30px 22px; }
  .mmembre-intro-text{ font-size: 16px; }
  .mmembre-benefits,
  .mmembre-stats,
  .mmembre-split,
  .mmembre-support{ grid-template-columns: 1fr; }
  .mmembre-card-head,
  .mmembre-resume-top{ display: block; }
  .mmembre-card-head .mmembre-pill,
  .mmembre-resume-top .mmembre-seal{ margin-top: 14px; }
  .mmembre-preview,
  .mmembre-form-body,
  .mmembre-panel-title{ padding: 22px; }
  .mmembre-saved-row{ grid-template-columns: auto 1fr; }
  .mmembre-saved-tag{ grid-column: 2; }
  .mmembre-support{ padding: 22px 0; }
  .mmembre-support-card.mmembre-next{ justify-content: flex-start; text-align: left; }
  .mmembre-center-seal{ display: none; }
}

/* Source: css/m-quizz.css */
/* ===================================================================
   Quizz Islam — m-quizz.css
   Refonte v2 le-coran.com — page liste des QCM
   Inspiré de maquettes/quizz-modern.html, tokens var(--lc-*).
   Toutes les classes préfixées mquizz-. Aucune édition de common.css.
   =================================================================== */

/* --- Barre de titre (zone_titre) --- */
#quizz_islam .zone_titre {
  text-align: center;
}
#quizz_islam .zone_titre h1 {
  font-family: var(--lc-serif);
  color: var(--lc-ink);
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem) !important;
  line-height: 1.08;
  margin: 0 auto .25em;
}

/* --- Wrapper plein largeur --- */
#quizz_islam .mquizz-wrap {
  margin-top: 8px;
}

/* ====================  HERO  ==================== */
.mquizz-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
  gap: 26px;
  align-items: stretch;
  margin-bottom: 34px;
}

.mquizz-intro {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(28px, 3vw, 48px);
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background:
    linear-gradient(135deg, #ffffff, var(--lc-surface-2)),
    radial-gradient(circle at 82% 14%, rgba(148,177,0,.16), transparent 36%);
  box-shadow: var(--lc-shadow);
}
.mquizz-intro::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(198,154,69,.28);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 30px rgba(255,255,255,.22), inset 0 0 0 64px rgba(148,177,0,.05);
  pointer-events: none;
}
.mquizz-ornament {
  color: var(--lc-gold);
  font-family: var(--lc-serif);
  font-size: 26px;
  line-height: 1;
}
.mquizz-eyebrow {
  display: block;
  margin: 16px 0 0;
  color: var(--lc-green-d);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 800;
}
.mquizz-intro .mquizz-h2 {
  margin: 14px 0 14px;
  max-width: 16ch;
  font-family: var(--lc-serif);
  font-weight: 500;
  color: var(--lc-ink);
  font-size: clamp(28px, 2.6vw, 46px);
  line-height: 1.05;
}
.mquizz-lead {
  margin: 0;
  max-width: 60ch;
  color: var(--lc-ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.mquizz-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.mquizz-metric {
  padding: 18px 18px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-sm);
  background: rgba(255,255,255,.62);
  box-shadow: var(--lc-shadow-sm);
}
.mquizz-metric strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--lc-serif);
  font-weight: 500;
  color: var(--lc-ink);
  font-size: 32px;
  line-height: 1;
}
.mquizz-metric span {
  color: var(--lc-ink-soft);
  font-size: 13px;
  line-height: 1.35;
}

/* --- Panneau session (à droite) --- */
.mquizz-panel {
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background: #fbfbf6;
  box-shadow: var(--lc-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mquizz-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 26px;
  background:
    linear-gradient(135deg, var(--lc-footer-bg), #28332e),
    radial-gradient(circle at top right, rgba(148,177,0,.30), transparent 42%);
  color: #fff;
}
.mquizz-panel-head h2 {
  margin: 0;
  font-family: var(--lc-serif);
  font-weight: 500;
  color: #fff;
  font-size: 26px;
  line-height: 1.15;
}
.mquizz-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: var(--lc-pill);
  background: rgba(148,177,0,.18);
  color: #eff8bf;
  border: 1px solid rgba(148,177,0,.34);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.mquizz-panel-body {
  display: grid;
  gap: 20px;
  padding: 26px;
}
.mquizz-focus {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-sm);
  background: linear-gradient(135deg, #ffffff, rgba(232,234,221,.65));
}
.mquizz-seal {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--lc-gold);
  font-family: var(--lc-serif);
  font-size: 22px;
}
.mquizz-seal::before,
.mquizz-seal::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}
.mquizz-seal::after { inset: 16px; opacity: .6; transform: rotate(0deg); }
.mquizz-focus b {
  display: block;
  margin-bottom: 6px;
  color: var(--lc-ink);
  font-size: 15px;
  font-weight: 700;
}
.mquizz-focus span {
  color: var(--lc-ink-soft);
  font-size: 13px;
  line-height: 1.5;
}
.mquizz-quickstats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  text-align: center;
}
.mquizz-qstat {
  padding: 15px 8px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-sm);
  background: var(--lc-surface-2);
}
.mquizz-qstat strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--lc-serif);
  font-weight: 500;
  color: var(--lc-ink);
  font-size: 28px;
  line-height: 1;
}
.mquizz-qstat span {
  color: var(--lc-ink-soft);
  font-size: 12px;
  font-weight: 700;
}
.mquizz-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: var(--lc-r-xs);
  background: linear-gradient(135deg, var(--lc-green), var(--lc-green-d));
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(148,177,0,.6);
  transition: transform var(--lc-trans), box-shadow var(--lc-trans);
}
.mquizz-cta::after { content: "→"; font-size: 18px; }
@media (hover: hover) {.mquizz-cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -12px rgba(148,177,0,.7);
  text-decoration: none;
  color: #fff !important;
}}

/* ====================  SECTION HEAD  ==================== */
.mquizz-sectionhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 22px;
}
.mquizz-sectionhead h2 {
  margin: 0;
  font-family: var(--lc-serif);
  font-weight: 500;
  color: var(--lc-ink);
  font-size: clamp(26px, 2.4vw, 42px);
  line-height: 1.06;
}
.mquizz-sectionhead p {
  margin: 8px 0 0;
  max-width: 70ch;
  color: var(--lc-ink-soft);
  line-height: 1.6;
}
.mquizz-count-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: var(--lc-pill);
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  border: 1px solid rgba(148,177,0,.3);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

/* ====================  GRILLE DE CARTES  ==================== */
.mquizz-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.mquizz-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background:
    linear-gradient(180deg, #ffffff, #fbfbf6),
    radial-gradient(circle at 16% 10%, rgba(148,177,0,.08), transparent 30%);
  box-shadow: var(--lc-shadow-sm);
  transition: transform var(--lc-trans), box-shadow var(--lc-trans), border-color var(--lc-trans);
}
@media (hover: hover) {.mquizz-card:hover{
  transform: translateY(-3px);
  border-color: rgba(148,177,0,.5);
  box-shadow: var(--lc-shadow-lg);
}}
.mquizz-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.mquizz-card-seal {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--lc-gold);
  font-family: var(--lc-serif);
  font-size: 19px;
}
.mquizz-card-seal::before,
.mquizz-card-seal::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}
.mquizz-card-seal::after { inset: 12px; opacity: .62; transform: rotate(0deg); }
.mquizz-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.mquizz-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--lc-pill);
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.mquizz-badge.level {
  background: #f4f1e7;
  color: var(--lc-footer-bg);
  border: 1px solid #e2ddcd;
}
.mquizz-card-title {
  margin: 0 0 10px;
  font-family: var(--lc-serif);
  font-weight: 500;
  color: var(--lc-ink);
  font-size: 22px;
  line-height: 1.15;
}
.mquizz-card-desc {
  margin: 0 0 18px;
  color: var(--lc-ink-soft);
  font-size: 14px;
  line-height: 1.6;
  flex: 1 1 auto;
}
.mquizz-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.mquizz-start {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--lc-r-xs);
  background: var(--lc-green);
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background var(--lc-trans), transform var(--lc-trans);
}
.mquizz-start::after { content: "→"; }
@media (hover: hover) {.mquizz-start:hover{
  background: var(--lc-green-d);
  text-decoration: none;
  color: #fff !important;
}}
.mquizz-start.ghost {
  background: transparent;
  color: var(--lc-green-d) !important;
  border: 1px solid rgba(148,177,0,.4);
}
.mquizz-start.ghost::after { content: ""; }
@media (hover: hover) {.mquizz-start.ghost:hover{
  background: var(--lc-green-tint);
  color: var(--lc-green-d) !important;
}}

/* ====================  SEO (bas de page)  ==================== */
.mquizz-seo {
  margin: 8px 0 40px;
  padding: clamp(26px, 3vw, 44px);
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbf6 100%);
  box-shadow: var(--lc-shadow-sm);
}
.mquizz-seo-title {
  margin: 0 0 8px;
  font-family: var(--lc-serif);
  font-weight: 500;
  color: var(--lc-ink);
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1.1;
}
.mquizz-seo-sub {
  margin: 0 0 24px;
  color: var(--lc-green-d);
  font-weight: 700;
  font-size: 14px;
}
.mquizz-seo-body {
  column-count: 2;
  column-gap: 40px;
  column-rule: 1px solid var(--lc-line-2);
  color: var(--lc-ink-soft);
  font-size: 15px;
  line-height: 1.8;
}
.mquizz-seo-body p { margin: 0 0 14px; }
.mquizz-seo-body strong { color: var(--lc-green-d); }
.mquizz-seo-body ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.mquizz-seo-body li { margin-bottom: 6px; }

/* ====================  RESPONSIVE  ==================== */
@media (max-width: 1280px) {
  .mquizz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .mquizz-hero { grid-template-columns: 1fr; }
  .mquizz-panel { order: -1; }
}
@media (max-width: 900px) {
  .mquizz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mquizz-seo-body { column-count: 1; }
}
@media (max-width: 600px) {
  .mquizz-grid { grid-template-columns: 1fr; }
  .mquizz-metrics,
  .mquizz-quickstats { grid-template-columns: 1fr 1fr; }
  .mquizz-sectionhead { flex-direction: column; align-items: flex-start; }
}

/* "Approfondir ses connaissances" : centré + moins d'espace au-dessus */
.mquizz-seo { padding-top: clamp(22px, 2vw, 30px); }
.mquizz-seo-title, .mquizz-seo-sub { text-align: center; }
.mquizz-seo-title { margin-top: 0; }
/* Bloc contributeur (Sonia) dans le SEO */
.mquizz-seo-contrib { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--lc-line); }
.mquizz-seo-contrib .contributeur { padding: 16px 20px; background: var(--lc-surface-2); border: 1px solid var(--lc-line); border-radius: var(--lc-r); }
.mquizz-seo-contrib .nom_contributeur { font-weight: 700; color: var(--lc-ink); margin: 0 0 6px; }
.mquizz-seo-contrib .description_contributeur { color: var(--lc-ink-soft); font-size: 14px; line-height: 1.6; margin: 0; }

/* Source: css/m-telar.css */
/* ============================================================
   m-telar.css — Page "Télécharger le Coran (arabe)"
   Refonte v2 le-coran.com — inspirée de maquettes/telecharger-modern.html
   Toutes les classes sont préfixées .mtelar- (zéro collision).
   Charge apres common.css → on garde des sélecteurs autonomes,
   et on monte la spécificité quand on doit neutraliser v2.
   ============================================================ */

:root {
  --mtelar-dark:   var(--lc-footer-bg, #3b413d);
  --mtelar-darker: #26312d;
  --mtelar-olive:  var(--lc-green, #94b100);
  --mtelar-olive-d:var(--lc-green-d, #7d9600);
  --mtelar-block:  var(--lc-surface-2, #e8eadd);
  --mtelar-paper:  var(--lc-surface, #fffef8);
  --mtelar-ink:    var(--lc-ink, #2b2f29);
  --mtelar-muted:  var(--lc-ink-soft, #77756b);
  --mtelar-line:   var(--lc-line, #d9dccb);
  --mtelar-gold:   var(--lc-gold, #b78a36);
  --mtelar-teal:   #1f6f55;
  --mtelar-r:      var(--lc-r, 16px);
  --mtelar-rs:     var(--lc-r-sm, 10px);
  --mtelar-serif:  var(--lc-serif, Georgia, "Times New Roman", serif);
  --mtelar-shadow: var(--lc-shadow, 0 18px 55px rgba(59,65,61,.11));
  --mtelar-soft:   var(--lc-shadow-sm, 0 10px 28px rgba(59,65,61,.08));
  --mtelar-wrap:   min(var(--lc-maxw, 1680px), calc(100% - 48px));
}

/* ---- neutralise le bloc-titre vide / centré hérité de v2 ---- */
body#telecharger_arabe .zone_titre {
  text-align: left;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body#telecharger_arabe .zone_titre > h1 { /* sécurité : pas de h1 direct stylé v2 */
  width: auto; margin: 0;
}

/* ---- conteneur centré commun ---- */
.mtelar-hero-inner,
.mtelar-page {
  width: var(--mtelar-wrap);
  margin-inline: auto;
}
.mtelar-page { position: relative; z-index: 1; padding-bottom: 24px; }

/* =================== HERO =================== */
.mtelar-hero { padding: clamp(28px, 3vw, 48px) 0 10px; }

.mtelar-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
  gap: 32px;
  align-items: stretch;
}

.mtelar-hero-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 3.2vw, 58px);
  border: 1px solid var(--mtelar-line);
  border-radius: var(--mtelar-r);
  background:
    linear-gradient(135deg, var(--mtelar-paper), color-mix(in srgb, var(--mtelar-block) 70%, transparent)),
    radial-gradient(circle at 82% 18%, rgba(148,177,0,.16), transparent 32%);
  box-shadow: var(--mtelar-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mtelar-hero-copy::after {
  content: "";
  position: absolute;
  right: -110px; bottom: -140px;
  width: 380px; height: 380px;
  border: 1px solid rgba(184,138,52,.28);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 32px rgba(255,255,255,.16), inset 0 0 0 60px rgba(148,177,0,.05);
  pointer-events: none;
}

.mtelar-ornament {
  position: relative;
  width: 300px; height: 40px;
  margin-bottom: 22px;
  display: block;
}
.mtelar-ornament::before,
.mtelar-ornament::after {
  content: "";
  position: absolute; top: 19px;
  width: 116px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86,83,72,.4), transparent);
}
.mtelar-ornament::before { left: 0; }
.mtelar-ornament::after  { right: 0; }
.mtelar-ornament i {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border: 1px solid rgba(148,177,0,.45);
  border-radius: 50%;
  background: var(--mtelar-block);
  color: var(--mtelar-olive-d);
  font-size: 17px;
}

.mtelar-eyebrow {
  margin: 0 0 12px;
  color: var(--mtelar-olive-d);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: .09em;
}

.mtelar-hero-copy h1 {
  margin: 0 0 22px;
  max-width: 980px;
  color: var(--mtelar-ink);
  font-family: var(--mtelar-serif);
  font-weight: 500;
  font-size: clamp(38px, 4.4vw, 74px);
  line-height: 1.02;
  letter-spacing: 0;
}
.mtelar-hero-copy h1::before { content: none !important; } /* pas d'icône FA héritée */

.mtelar-lead {
  margin: 0;
  max-width: 820px;
  color: var(--mtelar-ink);
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 1.74;
}

.mtelar-actions {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 38px;
}
.mtelar-btn {
  min-height: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 20px;
  border-radius: var(--lc-pill, 999px);
  border: 1px solid #c9cfb9;
  background: var(--mtelar-paper);
  color: var(--mtelar-dark);
  font-size: 13.5px; font-weight: 800;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease;
}
@media (hover: hover) {.mtelar-btn:hover{ transform: translateY(-2px); box-shadow: var(--mtelar-soft); }}
.mtelar-btn .ic {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  font-size: 12px;
}
.mtelar-btn-primary {
  border-color: transparent; color: #fff;
  background: linear-gradient(180deg, #7b9300, #536500);
  box-shadow: 0 14px 32px rgba(83,101,0,.22);
}
.mtelar-btn-primary .ic { background: rgba(255,255,255,.18); }
.mtelar-btn-dark {
  border-color: rgba(59,65,61,.2); color: #fff;
  background: linear-gradient(180deg, var(--mtelar-dark), var(--mtelar-darker));
}
.mtelar-btn-dark .ic { background: rgba(255,255,255,.16); }

/* ---- panneau hero (sélection rapide) ---- */
.mtelar-hero-panel {
  border: 1px solid var(--mtelar-line);
  border-radius: var(--mtelar-r);
  background: var(--mtelar-paper);
  box-shadow: var(--mtelar-shadow);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.mtelar-panel-head {
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--mtelar-dark), var(--mtelar-darker));
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.mtelar-panel-head h2 {
  margin: 0; color: #fff;
  font-family: var(--mtelar-serif); font-weight: 500; font-size: 28px;
}
.mtelar-pill {
  min-height: 34px;
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(148,177,0,.16);
  color: #eff8bf;
  border: 1px solid rgba(148,177,0,.34);
  font-size: 11.5px; font-weight: 800;
  white-space: nowrap;
}

.mtelar-featured { padding: 26px 28px; display: grid; gap: 16px; align-content: start; }
.mtelar-fline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px; align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mtelar-line);
  color: inherit;
  transition: background .15s ease;
}
.mtelar-fline:last-child { padding-bottom: 0; border-bottom: 0; }
@media (hover: hover) {.mtelar-fline:hover{ background: color-mix(in srgb, var(--mtelar-block) 45%, transparent); }}
.mtelar-fline h3 {
  margin: 0 0 5px;
  color: var(--mtelar-ink);
  font-family: var(--mtelar-serif); font-weight: 500;
  font-size: 21px; line-height: 1.12;
}
.mtelar-fline .meta { color: var(--mtelar-muted); font-size: 12.5px; line-height: 1.5; }

.mtelar-fico {
  width: 64px; height: 72px;
  display: grid; place-items: center;
  border: 1px solid #d7d3c1;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--mtelar-paper), var(--mtelar-block));
  color: var(--mtelar-dark);
  font-family: var(--mtelar-serif); font-size: 17px; font-weight: 600;
  position: relative;
  box-shadow: 0 8px 24px rgba(59,65,61,.06);
  flex: 0 0 auto;
}
.mtelar-fico::before {
  content: ""; position: absolute; top: -1px; right: -1px;
  border-top: 18px solid var(--mtelar-block);
  border-left: 18px solid transparent;
  border-radius: 0 8px 0 0;
}
.mtelar-fico.audio { color: var(--mtelar-teal); border-color: rgba(31,111,85,.26); }
.mtelar-fico.vv    { color: var(--mtelar-teal); border-color: rgba(31,111,85,.26); }

.mtelar-mini {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(31,111,85,.26);
  background: rgba(31,111,85,.08);
  color: var(--mtelar-teal);
  font-weight: 900;
  flex: 0 0 auto;
}

.mtelar-storage {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--mtelar-line);
  background: var(--mtelar-block);
}
.mtelar-storage > div {
  padding: 20px 22px;
  border-right: 1px solid rgba(217,220,203,.9);
}
.mtelar-storage > div:last-child { border-right: 0; }
.mtelar-storage strong {
  display: block; margin-bottom: 6px;
  color: var(--mtelar-ink);
  font-family: var(--mtelar-serif); font-weight: 500;
  font-size: 28px; line-height: 1;
}
.mtelar-storage span { color: var(--mtelar-muted); font-size: 11.5px; line-height: 1.45; font-weight: 700; }

/* =================== STATS =================== */
.mtelar-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px; margin: 36px 0 48px;
}
.mtelar-stat {
  padding: 24px;
  border: 1px solid var(--mtelar-line);
  border-radius: var(--mtelar-r);
  background: var(--mtelar-paper);
  box-shadow: var(--mtelar-soft);
}
.mtelar-stat strong {
  display: block; margin-bottom: 7px;
  font-family: var(--mtelar-serif); font-weight: 500;
  font-size: 40px; line-height: 1;
  color: var(--mtelar-dark);
}
.mtelar-stat span { font-size: 13.5px; line-height: 1.45; color: var(--mtelar-muted); }

/* =================== SECTION HEAD =================== */
.mtelar-section { margin-bottom: 52px; }
.mtelar-shead {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; margin: 0 0 22px;
}
.mtelar-shead h2 {
  margin: 0; color: var(--mtelar-ink);
  font-family: var(--mtelar-serif); font-weight: 500;
  font-size: clamp(30px, 2.8vw, 50px); line-height: 1.05;
}
.mtelar-shead p { max-width: 700px; margin: 9px 0 0; line-height: 1.6; color: var(--mtelar-muted); }
.mtelar-qnav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mtelar-tag-pill {
  min-height: 40px; padding: 0 17px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #bec8a1; border-radius: 999px;
  background: var(--mtelar-paper);
  color: var(--mtelar-dark); font-weight: 800; font-size: 12.5px;
}
.mtelar-tag-pill.is-active { background: var(--mtelar-dark); color: #fff; border-color: var(--mtelar-dark); }

/* =================== SHELL + GRID DE CARTES =================== */
.mtelar-shell {
  border: 1px solid var(--mtelar-line);
  border-radius: var(--mtelar-r);
  background: var(--mtelar-paper);
  box-shadow: var(--mtelar-shadow);
  overflow: hidden;
}
.mtelar-ctop {
  padding: 26px 32px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center;
  border-bottom: 1px solid var(--mtelar-line);
  background:
    linear-gradient(135deg, var(--mtelar-paper), color-mix(in srgb, var(--mtelar-block) 65%, transparent)),
    radial-gradient(circle at 96% 12%, rgba(148,177,0,.1), transparent 26%);
}
.mtelar-seal {
  width: 70px; height: 70px;
  display: grid; place-items: center;
  color: var(--mtelar-gold);
  font-family: var(--mtelar-serif); font-size: 18px; font-weight: 600;
  position: relative; flex: 0 0 auto;
}
.mtelar-seal::before, .mtelar-seal::after {
  content: ""; position: absolute; inset: 9px;
  border: 1px solid currentColor; transform: rotate(45deg);
}
.mtelar-seal::after { inset: 16px; opacity: .68; transform: rotate(0); }
.mtelar-ctop h2 {
  margin: 0 0 7px; color: var(--mtelar-ink);
  font-family: var(--mtelar-serif); font-weight: 500; font-size: 32px; line-height: 1.08;
}
.mtelar-ctop p { margin: 0; max-width: 820px; color: var(--mtelar-muted); line-height: 1.55; }
.mtelar-ctotal { min-width: 150px; text-align: right; color: var(--mtelar-muted); font-size: 12.5px; font-weight: 700; }
.mtelar-ctotal strong {
  display: block; margin-bottom: 5px; color: var(--mtelar-dark);
  font-family: var(--mtelar-serif); font-weight: 500; font-size: 34px; line-height: 1;
}

.mtelar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mtelar-card {
  min-height: 290px; padding: 26px;
  border-right: 1px solid var(--mtelar-line);
  border-bottom: 1px solid var(--mtelar-line);
  background:
    linear-gradient(180deg, var(--mtelar-paper), color-mix(in srgb, var(--mtelar-paper) 75%, transparent)),
    radial-gradient(circle at 18% 12%, rgba(148,177,0,.08), transparent 30%);
  display: flex; flex-direction: column; gap: 16px;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.mtelar-card:nth-child(3n) { border-right: 0; }
.mtelar-card:nth-last-child(-n+3) { border-bottom: 0; }
@media (hover: hover) {.mtelar-card:hover{
  transform: translateY(-2px);
  background-color: color-mix(in srgb, var(--mtelar-olive) 7%, var(--mtelar-paper));
  box-shadow: 0 18px 40px rgba(59,65,61,.12);
}}
.mtelar-card.is-featured {
  background:
    linear-gradient(135deg, var(--mtelar-dark), var(--mtelar-darker)),
    radial-gradient(circle at top right, rgba(148,177,0,.28), transparent 36%);
  color: rgba(255,255,255,.8);
}
@media (hover: hover) {.mtelar-card.is-featured:hover{ background-color: var(--mtelar-darker); }}

.mtelar-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.mtelar-card-tag {
  min-height: 32px; display: inline-flex; align-items: center; padding: 0 12px;
  border-radius: 999px; background: rgba(148,177,0,.14);
  color: var(--mtelar-olive-d); font-size: 11.5px; font-weight: 800; white-space: nowrap;
}
.mtelar-card.is-featured .mtelar-card-tag { background: rgba(255,255,255,.1); color: #d7ed70; }
.mtelar-card h3 {
  margin: 0; color: var(--mtelar-ink);
  font-family: var(--mtelar-serif); font-weight: 500; font-size: 25px; line-height: 1.14;
}
.mtelar-card.is-featured h3 { color: #fff; }
.mtelar-card p { margin: 0; min-height: 64px; color: var(--mtelar-muted); font-size: 13.5px; line-height: 1.56; }
.mtelar-card.is-featured p { color: rgba(255,255,255,.74); }

.mtelar-fmeta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: auto; }
.mtelar-fmeta span {
  min-height: 42px; padding: 9px 11px;
  border: 1px solid rgba(190,200,161,.75); border-radius: 8px;
  background: color-mix(in srgb, var(--mtelar-block) 55%, transparent);
  color: var(--mtelar-dark); font-size: 11.5px; font-weight: 800;
  display: flex; align-items: center;
}
.mtelar-card.is-featured .mtelar-fmeta span { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); }

.mtelar-dl {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 16px; border-radius: 8px;
  background: rgba(31,111,85,.08); border: 1px solid rgba(31,111,85,.26);
  color: var(--mtelar-teal); font-size: 13px; font-weight: 800;
}
.mtelar-dl::after {
  content: "\2193"; width: 26px; height: 26px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(31,111,85,.1);
}
.mtelar-card.is-featured .mtelar-dl { color: #d7ed70; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.1); }
.mtelar-card.is-featured .mtelar-dl::after { color: #fff; background: rgba(255,255,255,.14); }

/* =================== BUNDLE BAND =================== */
.mtelar-bundle {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px;
  margin: 0 0 52px; align-items: stretch;
}
.mtelar-bfeature {
  position: relative; overflow: hidden;
  padding: clamp(28px, 3vw, 50px);
  border: 1px solid var(--mtelar-line); border-radius: var(--mtelar-r);
  background:
    linear-gradient(135deg, var(--mtelar-dark), var(--mtelar-darker)),
    radial-gradient(circle at top right, rgba(148,177,0,.32), transparent 36%);
  color: rgba(255,255,255,.8);
  box-shadow: var(--mtelar-shadow);
}
.mtelar-bfeature::after {
  content: ""; position: absolute; right: -72px; bottom: -118px;
  width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.12);
  transform: rotate(45deg); box-shadow: inset 0 0 0 32px rgba(255,255,255,.05);
  pointer-events: none;
}
.mtelar-bfeature .mtelar-eyebrow { color: #d7ed70; }
.mtelar-bfeature h2 {
  position: relative; z-index: 1; margin: 0 0 16px; max-width: 820px; color: #fff;
  font-family: var(--mtelar-serif); font-weight: 500;
  font-size: clamp(32px, 3.2vw, 58px); line-height: 1.02;
}
.mtelar-bfeature > p {
  position: relative; z-index: 1; margin: 0 0 28px; max-width: 720px;
  font-size: clamp(15px, 1vw, 18px); line-height: 1.7;
}
.mtelar-bdetails {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 800px;
}
.mtelar-bdetails span {
  min-height: 76px; padding: 16px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 8px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.86);
  font-size: 12.5px; line-height: 1.5; font-weight: 700;
}
.mtelar-bdetails b {
  display: block; margin-bottom: 5px; color: #d7ed70;
  font-family: var(--mtelar-serif); font-weight: 500; font-size: 23px; line-height: 1;
}

.mtelar-bside {
  padding: 30px; border: 1px solid var(--mtelar-line); border-radius: var(--mtelar-r);
  background: var(--mtelar-paper); box-shadow: var(--mtelar-soft);
  display: grid; gap: 18px; align-content: start;
}
.mtelar-bside h3 {
  margin: 0; color: var(--mtelar-ink);
  font-family: var(--mtelar-serif); font-weight: 500; font-size: 29px; line-height: 1.12;
}
.mtelar-srow {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 0; border-top: 1px solid rgba(217,220,203,.82);
  color: var(--mtelar-muted); font-size: 13.5px;
}
.mtelar-srow b { color: var(--mtelar-dark); }
.mtelar-bside .mtelar-btn { width: 100%; }

/* =================== OPTIONS (aide au choix) =================== */
.mtelar-options {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  margin: 0 0 56px;
}
.mtelar-option {
  padding: 28px; border: 1px solid var(--mtelar-line); border-radius: var(--mtelar-r);
  background: var(--mtelar-paper); box-shadow: var(--mtelar-soft);
}
.mtelar-option h3 {
  margin: 0 0 12px; color: var(--mtelar-ink);
  font-family: var(--mtelar-serif); font-weight: 500; font-size: 26px;
}
.mtelar-option p { margin: 0 0 18px; color: var(--mtelar-muted); line-height: 1.6; }
.mtelar-orow { display: flex; flex-wrap: wrap; gap: 9px; }
.mtelar-chip {
  padding: 8px 13px; border-radius: 999px;
  background: var(--mtelar-block); color: var(--mtelar-dark);
  font-weight: 800; font-size: 11.5px;
}

/* =================== SEO (texte long, 2 colonnes) =================== */
.mtelar-seo {
  padding: clamp(28px, 3.4vw, 54px);
  border: 1px solid var(--mtelar-line); border-radius: var(--mtelar-r);
  background: var(--mtelar-paper); box-shadow: var(--mtelar-soft);
  color: var(--mtelar-muted);
  margin-bottom: 8px;
}
.mtelar-seo > h2 {
  columns: 1; margin: 0 0 18px; color: var(--mtelar-ink);
  font-family: var(--mtelar-serif); font-weight: 500;
  font-size: clamp(26px, 2.4vw, 40px); line-height: 1.1;
}
.mtelar-seo-cols { columns: 2; column-gap: 52px; }
.mtelar-seo-cols p { margin: 0 0 1.05em; line-height: 1.72; font-size: 15px; }
.mtelar-seo-cols i { color: var(--mtelar-ink); font-style: italic; }
.mtelar-seo-cols strong { color: var(--mtelar-ink); }
.mtelar-seo-cols p:first-child { margin-top: 0; }
.mtelar-seo .contributeur {
  break-inside: avoid;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--mtelar-line);
}
.mtelar-seo .nom_contributeur { margin: 0 0 6px; color: var(--mtelar-ink); font-weight: 800; }
.mtelar-seo .description_contributeur { margin: 0; font-size: 13.5px; line-height: 1.6; }

/* RTL (arabe) : on garde l'alignement à droite pour le texte SEO */
body.ar .mtelar-seo-cols,
body.ar .mtelar-lead,
body.ar .mtelar-hero-copy h1 { text-align: right; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1240px) {
  .mtelar-hero-inner,
  .mtelar-bundle { grid-template-columns: 1fr; }
  .mtelar-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mtelar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mtelar-card:nth-child(3n) { border-right: 1px solid var(--mtelar-line); }
  .mtelar-card:nth-child(2n) { border-right: 0; }
  .mtelar-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--mtelar-line); }
  .mtelar-card:nth-last-child(-n+2) { border-bottom: 0; }
  .mtelar-options { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --mtelar-wrap: min(var(--lc-maxw, 1680px), calc(100% - 28px)); }
  .mtelar-stats,
  .mtelar-storage,
  .mtelar-bdetails,
  .mtelar-grid { grid-template-columns: 1fr; }
  .mtelar-shead,
  .mtelar-ctop { display: block; }
  .mtelar-qnav { margin-top: 16px; overflow-x: auto; padding-bottom: 4px; }
  .mtelar-seal, .mtelar-ctotal { margin-bottom: 16px; text-align: left; }
  .mtelar-ctotal { margin-top: 16px; }
  .mtelar-card,
  .mtelar-card:nth-child(2n),
  .mtelar-card:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--mtelar-line); }
  .mtelar-card:last-child { border-bottom: 0; }
  .mtelar-storage > div { border-right: 0; border-bottom: 1px solid rgba(217,220,203,.9); }
  .mtelar-storage > div:last-child { border-bottom: 0; }
  .mtelar-seo-cols { columns: 1; }
}

/* Filtres cliquables, attachés au contenu (dans la carte) */
.mtelar-tag-pill{ cursor:pointer; user-select:none; }
.mtelar-tag-pill:focus-visible{ outline:2px solid var(--lc-green); outline-offset:2px; }
.mtelar-shell .mtelar-qnav{ margin:2px 0 18px; padding-top:16px; border-top:1px solid var(--lc-line); }

/* Source: css/m-telfr.css */

body#page_recherche.lc-tool-page .order {
  display: block;
  max-width: min(var(--lc-maxw), calc(100% - 64px));
  margin-left: auto;
  margin-right: auto;
}

body#page_recherche.lc-tool-page .order::before,
body#page_recherche.lc-tool-page .order::after {
  content: none;
}

body#page_recherche.lc-tool-page .my_text {
  margin-top: 34px !important;
}

@media (max-width: 760px) {
  body#page_recherche.lc-tool-page .order {
    max-width: calc(100% - 24px);
  }
}
/* ===================================================================
   m-telfr.css — Page Télécharger le Coran en français (slug: telfr)
   Refonte full-width inspirée de maquettes/telecharger-modern.html
   Utilise les tokens du design system v2 (var(--lc-*)). Toutes les
   classes sont préfixées par "mtelfr-" pour éviter toute collision.
   =================================================================== */

.mtelfr-main {
  display: block;
  padding-bottom: 18px;
}

/* Petits utilitaires partagés -------------------------------------- */
.mtelfr-eyebrow {
  margin: 0 0 12px;
  color: var(--lc-green-d);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .09em;
}

.mtelfr-ornament {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 177, 0, .4);
  border-radius: 14px;
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  font-size: 1.5rem;
}

/* ===================================================================
   1. HERO
   =================================================================== */
.mtelfr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 26px;
  align-items: stretch;
  padding: 26px 0 26px;
}

.mtelfr-hero-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 52px);
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background:
    linear-gradient(135deg, var(--lc-surface), var(--lc-surface-2) 130%),
    radial-gradient(circle at 84% 16%, var(--lc-green-tint), transparent 36%);
  box-shadow: var(--lc-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mtelfr-hero-copy::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(148, 177, 0, .22);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 30px rgba(255, 255, 255, .14),
              inset 0 0 0 60px rgba(148, 177, 0, .05);
  pointer-events: none;
}

.mtelfr-hero-copy > * { position: relative; z-index: 1; }

.mtelfr-hero-copy h1 {
  margin: 0 0 18px;
  font-family: var(--lc-serif);
  font-weight: 400;
  color: var(--lc-ink);
  font-size: clamp(2.1rem, 3.6vw, 3.6rem);
  line-height: 1.04;
}

.mtelfr-lead {
  max-width: 720px;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--lc-ink-soft);
}

.mtelfr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.mtelfr-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--lc-pill);
  border: 1px solid var(--lc-line);
  background: var(--lc-surface);
  color: var(--lc-ink);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--lc-trans), box-shadow var(--lc-trans),
              border-color var(--lc-trans), background var(--lc-trans), color var(--lc-trans);
}
@media (hover: hover) {.mtelfr-btn:hover{ transform: translateY(-2px); box-shadow: var(--lc-shadow); color: var(--lc-ink); border-color: var(--lc-green); }}

.mtelfr-btn--primary {
  border-color: transparent;
  color: #fff;
  background: var(--lc-green);
  box-shadow: 0 12px 26px -14px var(--lc-green);
}
@media (hover: hover) {.mtelfr-btn--primary:hover{ background: var(--lc-green-d); color: #fff; }}

.mtelfr-btn--dark {
  border-color: transparent;
  color: #fff;
  background: var(--lc-footer-bg);
}
@media (hover: hover) {.mtelfr-btn--dark:hover{ color: #fff; background: #2c322e; }}

.mtelfr-btn .mtelfr-btn-ic {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  font-size: .8rem;
}
.mtelfr-btn:not(.mtelfr-btn--primary):not(.mtelfr-btn--dark) .mtelfr-btn-ic {
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
}

/* Hero panel (sélection rapide) ------------------------------------ */
.mtelfr-hero-panel {
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background: var(--lc-surface);
  box-shadow: var(--lc-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mtelfr-panel-head {
  padding: 22px 26px;
  background: var(--lc-footer-bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mtelfr-panel-head h2 {
  margin: 0;
  color: #fff;
  font-family: var(--lc-serif);
  font-weight: 400;
  font-size: 1.5rem;
}
.mtelfr-panel-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: var(--lc-pill);
  background: rgba(148, 177, 0, .18);
  color: #e7f3a4;
  border: 1px solid rgba(148, 177, 0, .34);
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
}

.mtelfr-featured {
  padding: 12px 26px;
  flex: 1 1 auto;
}
.mtelfr-fline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--lc-line);
  color: var(--lc-ink);
  text-decoration: none;
  transition: color var(--lc-trans);
}
.mtelfr-fline:last-child { border-bottom: 0; }
@media (hover: hover) {.mtelfr-fline:hover{ color: var(--lc-green-d); }}
@media (hover: hover) {.mtelfr-fline:hover .mtelfr-mini{ background: var(--lc-green); color: #fff; border-color: var(--lc-green); }}

.mtelfr-fline-tx { min-width: 0; }
.mtelfr-fline-tx strong {
  display: block;
  font-family: var(--lc-serif);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--lc-ink);
  line-height: 1.15;
  margin-bottom: 4px;
}
.mtelfr-fline-tx small {
  display: block;
  color: var(--lc-ink-soft);
  font-size: .78rem;
  line-height: 1.45;
}

.mtelfr-mini {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--lc-line);
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  font-weight: 900;
  transition: background var(--lc-trans), color var(--lc-trans), border-color var(--lc-trans);
}

/* Icône de format -------------------------------------------------- */
.mtelfr-ficon {
  flex: 0 0 auto;
  width: 60px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid var(--lc-line);
  border-radius: 9px;
  background: linear-gradient(135deg, var(--lc-surface), var(--lc-surface-2));
  color: var(--lc-footer-bg);
  font-family: var(--lc-serif);
  font-size: 1rem;
  font-weight: 400;
  position: relative;
  box-shadow: var(--lc-shadow-sm);
}
.mtelfr-ficon::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  border-top: 16px solid var(--lc-surface-2);
  border-left: 16px solid transparent;
  border-radius: 0 9px 0 0;
}
.mtelfr-ficon--audio { color: var(--lc-green-d); border-color: rgba(148, 177, 0, .32); }
.mtelfr-ficon--pdf { color: #8b5d20; border-color: rgba(183, 138, 54, .34); }

.mtelfr-storage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--lc-line);
  background: var(--lc-surface-2);
}
.mtelfr-storage > div {
  padding: 18px 20px;
  border-right: 1px solid var(--lc-line);
}
.mtelfr-storage > div:last-child { border-right: 0; }
.mtelfr-storage strong {
  display: block;
  margin-bottom: 5px;
  color: var(--lc-ink);
  font-family: var(--lc-serif);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1;
}
.mtelfr-storage span {
  color: var(--lc-ink-soft);
  font-size: .72rem;
  line-height: 1.4;
  font-weight: 600;
}

/* ===================================================================
   2. STATS
   =================================================================== */
.mtelfr-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 36px;
}
.mtelfr-stat {
  padding: 22px 24px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background: var(--lc-surface);
  box-shadow: var(--lc-shadow-sm);
}
.mtelfr-stat strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--lc-serif);
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--lc-green-d);
}
.mtelfr-stat span {
  font-size: .88rem;
  line-height: 1.45;
  color: var(--lc-ink-soft);
}

/* ===================================================================
   3. EN-TÊTE DE SECTION
   =================================================================== */
.mtelfr-section { margin: 0 0 40px; }

.mtelfr-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 20px;
  flex-wrap: wrap;
}
.mtelfr-section-head h2 {
  margin: 0;
  font-family: var(--lc-serif);
  font-weight: 400;
  color: var(--lc-ink);
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  line-height: 1.08;
}
.mtelfr-section-head p {
  max-width: 640px;
  margin: 8px 0 0;
  line-height: 1.6;
  color: var(--lc-ink-soft);
}

.mtelfr-pills {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.mtelfr-pill {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-pill);
  background: var(--lc-surface);
  color: var(--lc-ink);
  font-weight: 700;
  font-size: .82rem;
  text-decoration: none;
  transition: background var(--lc-trans), color var(--lc-trans), border-color var(--lc-trans);
}
@media (hover: hover) {.mtelfr-pill:hover{ border-color: var(--lc-green); color: var(--lc-green-d); }}
.mtelfr-pill.is-active { background: var(--lc-footer-bg); color: #fff; border-color: var(--lc-footer-bg); }

/* ===================================================================
   4. BUNDLE BAND (pack principal)
   =================================================================== */
.mtelfr-bundle {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 26px;
  margin: 0 0 40px;
  align-items: stretch;
}
.mtelfr-bundle-feature {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 48px);
  border-radius: var(--lc-r);
  border: 1px solid var(--lc-line);
  background:
    linear-gradient(135deg, var(--lc-footer-bg), #2a322d),
    radial-gradient(circle at top right, rgba(148, 177, 0, .3), transparent 36%);
  color: rgba(255, 255, 255, .8);
  box-shadow: var(--lc-shadow);
}
.mtelfr-bundle-feature::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, .12);
  transform: rotate(45deg);
  pointer-events: none;
}
.mtelfr-bundle-feature .mtelfr-eyebrow { color: #cfe06a; position: relative; z-index: 1; }
.mtelfr-bundle-feature h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--lc-serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.02;
}
.mtelfr-bundle-feature > p {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 0 26px;
  font-size: 1.04rem;
  line-height: 1.7;
}
.mtelfr-bundle-details {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.mtelfr-bundle-details span {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 9px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .88);
  font-size: .8rem;
  line-height: 1.5;
  font-weight: 600;
}
.mtelfr-bundle-details b {
  display: block;
  margin-bottom: 5px;
  color: #d7ed70;
  font-family: var(--lc-serif);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
}

.mtelfr-bundle-side {
  padding: 28px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background: var(--lc-surface);
  box-shadow: var(--lc-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mtelfr-bundle-side h3 {
  margin: 0;
  font-family: var(--lc-serif);
  font-weight: 400;
  color: var(--lc-ink);
  font-size: 1.5rem;
}
.mtelfr-side-rows { display: block; }
.mtelfr-side-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--lc-line);
  color: var(--lc-ink-soft);
  font-size: .9rem;
}
.mtelfr-side-row b { color: var(--lc-ink); font-weight: 700; }
.mtelfr-bundle-side .mtelfr-btn { margin-top: auto; justify-content: center; }

/* ===================================================================
   5. GRILLE DE CARTES DE TÉLÉCHARGEMENT
   =================================================================== */
.mtelfr-shell {
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background: var(--lc-surface);
  box-shadow: var(--lc-shadow);
  overflow: hidden;
}
.mtelfr-shell-top {
  padding: 26px 30px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid var(--lc-line);
  background:
    linear-gradient(135deg, var(--lc-surface), var(--lc-surface-2)),
    radial-gradient(circle at 96% 12%, var(--lc-green-tint), transparent 26%);
}
.mtelfr-seal {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  font-family: var(--lc-serif);
  font-weight: 400;
  font-size: 1.05rem;
  flex: 0 0 auto;
}
.mtelfr-shell-top h2 {
  margin: 0 0 6px;
  font-family: var(--lc-serif);
  font-weight: 400;
  color: var(--lc-ink);
  font-size: 1.7rem;
  line-height: 1.1;
}
.mtelfr-shell-top p {
  max-width: 760px;
  margin: 0;
  color: var(--lc-ink-soft);
  line-height: 1.55;
  font-size: .92rem;
}
.mtelfr-shell-total {
  min-width: 130px;
  text-align: right;
  color: var(--lc-ink-soft);
  font-size: .8rem;
  font-weight: 600;
}
.mtelfr-shell-total strong {
  display: block;
  color: var(--lc-green-d);
  font-family: var(--lc-serif);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 4px;
}

.mtelfr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mtelfr-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border-right: 1px solid var(--lc-line);
  border-bottom: 1px solid var(--lc-line);
  background: var(--lc-surface);
  color: var(--lc-ink);
  text-decoration: none;
  transition: transform var(--lc-trans), background var(--lc-trans), box-shadow var(--lc-trans);
}
.mtelfr-grid .mtelfr-card:nth-child(3n) { border-right: 0; }
.mtelfr-grid .mtelfr-card:nth-last-child(-n+3) { border-bottom: 0; }
@media (hover: hover) {.mtelfr-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--lc-shadow);
  color: var(--lc-ink);
  z-index: 1;
}}

.mtelfr-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.mtelfr-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: var(--lc-pill);
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
}
.mtelfr-card h3 {
  margin: 0;
  font-family: var(--lc-serif);
  font-weight: 400;
  color: var(--lc-ink);
  font-size: 1.35rem;
  line-height: 1.15;
}
.mtelfr-card > p {
  margin: 0;
  color: var(--lc-ink-soft);
  font-size: .9rem;
  line-height: 1.55;
  flex: 1 1 auto;
}
.mtelfr-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.mtelfr-meta span {
  padding: 9px 12px;
  border: 1px solid var(--lc-line);
  border-radius: 7px;
  background: var(--lc-surface-2);
  color: var(--lc-ink);
  font-size: .74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}
.mtelfr-dl {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 9px;
  border: 1px solid rgba(148, 177, 0, .34);
  background: var(--lc-green-tint);
  color: var(--lc-green-d);
  font-size: .85rem;
  font-weight: 800;
}
.mtelfr-dl::after {
  content: "\f019";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(148, 177, 0, .16);
  font-size: .78rem;
}
@media (hover: hover) {.mtelfr-card:hover .mtelfr-dl{ background: var(--lc-green); color: #fff; border-color: var(--lc-green); }}
@media (hover: hover) {.mtelfr-card:hover .mtelfr-dl::after{ background: rgba(255, 255, 255, .2); color: #fff; }}

/* Carte mise en avant (sombre) */
.mtelfr-card--featured {
  background:
    linear-gradient(135deg, var(--lc-footer-bg), #2a322d),
    radial-gradient(circle at top right, rgba(148, 177, 0, .26), transparent 38%);
  color: rgba(255, 255, 255, .8);
}
.mtelfr-card--featured h3 { color: #fff; }
.mtelfr-card--featured > p { color: rgba(255, 255, 255, .74); }
.mtelfr-card--featured .mtelfr-tag { background: rgba(255, 255, 255, .12); color: #d7ed70; }
.mtelfr-card--featured .mtelfr-ficon {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}
.mtelfr-card--featured .mtelfr-ficon::before { border-top-color: rgba(255, 255, 255, .14); }
.mtelfr-card--featured .mtelfr-meta span {
  color: #fff;
  border-color: rgba(255, 255, 255, .17);
  background: rgba(255, 255, 255, .08);
}
.mtelfr-card--featured .mtelfr-dl {
  color: #d7ed70;
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
}
.mtelfr-card--featured .mtelfr-dl::after { background: rgba(255, 255, 255, .14); color: #fff; }
@media (hover: hover) {.mtelfr-card--featured:hover .mtelfr-dl{ background: var(--lc-green); color: #fff; border-color: var(--lc-green); }}

/* ===================================================================
   6. AIDE AU CHOIX (reading options)
   =================================================================== */
.mtelfr-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 44px;
}
.mtelfr-option {
  padding: 28px;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r);
  background: var(--lc-surface);
  box-shadow: var(--lc-shadow-sm);
}
.mtelfr-option h3 {
  margin: 0 0 12px;
  font-family: var(--lc-serif);
  font-weight: 400;
  color: var(--lc-ink);
  font-size: 1.4rem;
}
.mtelfr-option p {
  margin: 0 0 18px;
  color: var(--lc-ink-soft);
  line-height: 1.6;
  font-size: .92rem;
}
.mtelfr-option-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.mtelfr-option-tags span {
  padding: 8px 13px;
  border-radius: var(--lc-pill);
  background: var(--lc-surface-2);
  color: var(--lc-ink);
  font-weight: 700;
  font-size: .76rem;
}

/* ===================================================================
   7. RESPONSIVE
   =================================================================== */
@media (max-width: 1080px) {
  .mtelfr-hero { grid-template-columns: 1fr; }
  .mtelfr-bundle { grid-template-columns: 1fr; }
  .mtelfr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mtelfr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mtelfr-grid .mtelfr-card:nth-child(3n) { border-right: 1px solid var(--lc-line); }
  .mtelfr-grid .mtelfr-card:nth-child(2n) { border-right: 0; }
  .mtelfr-grid .mtelfr-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--lc-line); }
  .mtelfr-grid .mtelfr-card:nth-last-child(-n+2) { border-bottom: 0; }
  .mtelfr-options { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .mtelfr-stats { grid-template-columns: 1fr; }
  .mtelfr-storage { grid-template-columns: 1fr; }
  .mtelfr-storage > div { border-right: 0; border-bottom: 1px solid var(--lc-line); }
  .mtelfr-storage > div:last-child { border-bottom: 0; }
  .mtelfr-bundle-details { grid-template-columns: 1fr; }
  .mtelfr-shell-top { grid-template-columns: 1fr; text-align: left; }
  .mtelfr-shell-total { text-align: left; }
  .mtelfr-grid { grid-template-columns: 1fr; }
  .mtelfr-grid .mtelfr-card,
  .mtelfr-grid .mtelfr-card:nth-child(2n),
  .mtelfr-grid .mtelfr-card:nth-child(3n) { border-right: 0; }
  .mtelfr-grid .mtelfr-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--lc-line); }
  .mtelfr-grid .mtelfr-card:last-child { border-bottom: 0; }
}

/* Filtres cliquables */
.mtelfr-pill{ cursor:pointer; user-select:none; }
.mtelfr-pill:focus-visible{ outline:2px solid var(--lc-green); outline-offset:2px; }
/* Filtres attachés au contenu (dans la carte des téléchargements) */
.mtelfr-shell .mtelfr-pills{ margin:2px 0 18px; padding-top:16px; border-top:1px solid var(--lc-line); }


/* Bloc contributeur (sonia.php) sur la page integrer — même style que quizz */
.minteg-page .mquizz-seo-contrib { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--lc-line); }
.minteg-page .mquizz-seo-contrib .contributeur { padding: 16px 20px; background: var(--lc-surface-2); border: 1px solid var(--lc-line); border-radius: var(--lc-r); }
.minteg-page .mquizz-seo-contrib .nom_contributeur { font-weight: 700; color: var(--lc-ink); margin: 0 0 6px; }
.minteg-page .mquizz-seo-contrib .description_contributeur { color: var(--lc-ink-soft); font-size: 14px; line-height: 1.6; margin: 0; }

/* Étiquette « aperçu » sur le tableau de bord de démonstration (espace membre) */
.mmembre-demo-tag {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  padding: 3px 10px; border-radius: 99px;
  background: var(--lc-gold-soft, #f3ecd8); color: var(--lc-ink-soft, #6d6f66);
  font-size: .62em; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}


/* ===================================================================
   Dropdown .lc-jump — styles de base (portés de page-index.css ;
   requis par les pages apprendre-fr/ar qui chargent le bundle tools)
   =================================================================== */
/* --- Dropdown custom "Aller à une sourate" (pur CSS) --- */
.lc-surah-nav::before { content: none; }
.lc-jump { position: relative; display: inline-block; }
.lc-jump-cb { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lc-jump-btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 11px 18px; border-radius: var(--lc-pill);
  border: 1px solid var(--lc-line); background: var(--lc-surface);
  box-shadow: var(--lc-shadow-sm); font-weight: 600; color: var(--lc-ink);
  min-width: 230px; transition: border-color var(--lc-trans), box-shadow var(--lc-trans);
}
.lc-jump-btn > span { margin-right: auto; }
.lc-jump-btn > i:first-child { color: var(--lc-green); }
@media (hover: hover) {.lc-jump-btn:hover{ border-color: var(--lc-green); box-shadow: var(--lc-shadow); }}
.lc-jump-caret { color: var(--lc-ink-faint); font-size: .78rem; transition: transform var(--lc-trans); }
.lc-jump-cb:checked ~ .lc-jump-btn { border-color: var(--lc-green); box-shadow: 0 0 0 3px var(--lc-green-tint); }
.lc-jump-cb:checked ~ .lc-jump-btn .lc-jump-caret { transform: rotate(180deg); }

.lc-jump-backdrop { display: none; position: fixed; inset: 0; z-index: 40; cursor: default; }
.lc-jump-cb:checked ~ .lc-jump-backdrop { display: block; }

.lc-jump-panel {
  display: none; position: absolute; top: calc(100% + 10px); right: 0; z-index: 50;
  width: 360px; max-height: 60vh; overflow-y: auto; padding: 8px;
  background: var(--lc-surface); border: 1px solid var(--lc-line);
  border-radius: var(--lc-r); box-shadow: var(--lc-shadow-lg);
  animation: lcDrop .16s ease;
}
.lc-jump-cb:checked ~ .lc-jump-panel { display: block; }
.lc-jump-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--lc-r-xs); color: var(--lc-ink); }
@media (hover: hover) {.lc-jump-item:hover{ background: var(--lc-green-tint); color: var(--lc-ink); }}
.lc-jump-num { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--lc-surface-2); border: 1px solid var(--lc-line); font-weight: 700; font-size: .78rem; color: var(--lc-ink-soft); }
.lc-jump-tx { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.lc-jump-tx b { font-weight: 700; font-size: .92rem; }
.lc-jump-tx small { color: var(--lc-ink-soft); font-size: .78rem; }
.lc-jump-ar { margin-left: auto; font-family: var(--lc-arab); color: var(--lc-green); font-size: 1.3rem; white-space: nowrap; }

@media (max-width: 991px) {
  .lc-jump { display: block; }
  .lc-jump-btn { width: 100%; min-width: 0; justify-content: flex-start; }
  .lc-jump-panel { left: 0; right: 0; width: auto; }
}
@media (max-width: 860px) {
  .page_index .zone_titre h1 { justify-content: center; }
}

/* Bloc contributeur (sonia.php) — style carte par défaut sur toutes les pages outils */
.presentation .contributeur {
  padding: 16px 20px; margin-top: 26px;
  background: var(--lc-surface-2); border: 1px solid var(--lc-line); border-radius: var(--lc-r);
}
.presentation .contributeur .nom_contributeur { font-weight: 700; color: var(--lc-ink); margin: 0 0 6px; }
.presentation .contributeur .description_contributeur { color: var(--lc-ink-soft); font-size: 14px; line-height: 1.6; margin: 0; }

/* Carte SEO : pas de marge parasite au-dessus du premier titre */
.presentation > h2:first-child { margin-top: 0; }

/* ===================================================================
   MODE NUIT (html.lc-dark) — pages outils du header
   Bascule des composants à fond clair codé en dur (mquizz / mcontact /
   mmembre) vers les tokens sombres. N'affecte jamais le mode clair.
   Les textes utilisent déjà var(--lc-ink*) : seuls les fonds/bordures/
   ombres codés en dur et quelques couleurs vert-foncé (--lc-green-dd,
   qui devient sombre en nuit) doivent être corrigés ici.
   Ajouté 2026-07-04.
   =================================================================== */

/* ------------------------------------------------------------------
   QUIZZ (quizz-islam.php)
   ------------------------------------------------------------------ */
html.lc-dark .mquizz-intro {
  background:
    linear-gradient(135deg, var(--lc-surface), var(--lc-surface-2)),
    radial-gradient(circle at 82% 14%, rgba(148,177,0,.16), transparent 36%);
}
html.lc-dark .mquizz-intro::after {
  border-color: rgba(216,181,102,.22);
  box-shadow: inset 0 0 0 30px rgba(255,255,255,.05), inset 0 0 0 64px rgba(148,177,0,.06);
}
html.lc-dark .mquizz-metric { background: var(--lc-surface-2); box-shadow: none; }
html.lc-dark .mquizz-panel { background: var(--lc-surface); }
html.lc-dark .mquizz-focus {
  background: linear-gradient(135deg, var(--lc-surface-2), var(--lc-surface));
}
html.lc-dark .mquizz-card {
  background:
    linear-gradient(180deg, var(--lc-surface), var(--lc-surface-2)),
    radial-gradient(circle at 16% 10%, rgba(148,177,0,.10), transparent 30%);
}
html.lc-dark .mquizz-badge.level {
  background: var(--lc-surface-2);
  color: var(--lc-ink);
  border-color: var(--lc-line);
}
html.lc-dark .mquizz-seo {
  background: linear-gradient(180deg, var(--lc-surface) 0%, var(--lc-surface-2) 100%);
}

/* ------------------------------------------------------------------
   CONTACT (contact.php)
   Le panneau latéral sombre (.mcontact-side) et la FAQ (var(--lc-surface))
   sont déjà corrects : on ne touche que le formulaire clair.
   ------------------------------------------------------------------ */
html.lc-dark .mcontact-form-panel {
  background:
    linear-gradient(135deg, var(--lc-surface), var(--lc-surface-2)),
    radial-gradient(circle at 92% 10%, rgba(148,177,0,.10), transparent 25%);
}
html.lc-dark .mcontact-form-panel::after {
  border-color: rgba(216,181,102,.16);
  box-shadow: inset 0 0 0 32px rgba(255,255,255,.05), inset 0 0 0 64px rgba(148,177,0,.05);
}
html.lc-dark .mcontact-form-head { border-bottom-color: var(--lc-line); }
html.lc-dark .mcontact-stamp {
  background: var(--lc-surface-2);
  border-color: var(--lc-line);
  box-shadow: none;
}
html.lc-dark .mcontact-form input,
html.lc-dark .mcontact-form select,
html.lc-dark .mcontact-form textarea {
  background: var(--lc-surface-2);
  box-shadow: none;
}
html.lc-dark .mcontact-form select {
  background: var(--lc-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a7a99b' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 16px center;
}
html.lc-dark .mcontact-choice {
  background: var(--lc-surface-2);
}
html.lc-dark .mcontact-choice::before {
  border-color: var(--lc-line);
  background: var(--lc-surface);
  box-shadow: inset 0 0 0 4px var(--lc-surface);
}
html.lc-dark .mcontact-choice.active,
html.lc-dark .mcontact-choice:has(input:checked) {
  background: var(--lc-green-tint);
  color: var(--lc-green);
}
html.lc-dark .mcontact-choice.active::before,
html.lc-dark .mcontact-choice:has(input:checked)::before {
  box-shadow: inset 0 0 0 3px var(--lc-surface);
}
html.lc-dark .mcontact-context { background: var(--lc-surface-2); }
html.lc-dark .mcontact-upload {
  background: var(--lc-surface-2);
  border-color: rgba(167,169,155,.35);
}
html.lc-dark .mcontact-upload-icon { color: var(--lc-green); }
html.lc-dark .mcontact-file-list li { background: var(--lc-surface-2); }
html.lc-dark .mcontact-ornament-mark {
  background: var(--lc-surface-2);
  box-shadow: inset 0 0 0 9px rgba(255,255,255,.06);
}
html.lc-dark .mcontact-pill {
  background: var(--lc-surface-2);
  border-color: var(--lc-line);
  color: var(--lc-green);
}
html.lc-dark .mcontact-alert--ok { color: var(--lc-green); }
html.lc-dark .mcontact-alert--ok strong { color: var(--lc-green); }
html.lc-dark .mcontact-alert--err {
  background: rgba(214,87,69,.14);
  color: #f0b3a8;
  border-color: rgba(214,87,69,.45);
}

/* ------------------------------------------------------------------
   ESPACE MEMBRE (espace-membre.php)
   Remappe les variables locales claires (--mm-paper, --mm-ink) puis
   corrige les fonds/ombres codés en dur. L'aperçu tableau de bord à
   en-tête sombre (--mm-head) reste sombre.
   ------------------------------------------------------------------ */
html.lc-dark .mmembre-wrap {
  --mm-paper: var(--lc-surface);
  --mm-ink:   var(--lc-ink);
  --mm-shadow: 0 18px 55px rgba(0,0,0,.45);
  --mm-soft:   0 8px 28px rgba(0,0,0,.4);
}
html.lc-dark .mmembre-intro {
  background:
    linear-gradient(135deg, var(--lc-surface), var(--lc-surface-2)),
    radial-gradient(circle at 80% 14%, rgba(148,177,0,.17), transparent 34%);
}
html.lc-dark .mmembre-intro::after {
  border-color: rgba(216,181,102,.22);
  box-shadow: inset 0 0 0 32px rgba(255,255,255,.05), inset 0 0 0 64px rgba(148,177,0,.06);
}
html.lc-dark .mmembre-benefit {
  background: var(--lc-surface-2);
  border-color: var(--lc-line);
  box-shadow: none;
}
html.lc-dark .mmembre-resume {
  background:
    linear-gradient(135deg, var(--lc-surface), var(--lc-surface-2)),
    radial-gradient(circle at 88% 20%, rgba(148,177,0,.14), transparent 28%);
}
html.lc-dark .mmembre-progress {
  background: var(--lc-surface-2);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.4);
}
html.lc-dark .mmembre-stat {
  background: var(--lc-surface-2);
  box-shadow: none;
}
html.lc-dark .mmembre-stat strong { color: var(--lc-ink); }
html.lc-dark .mmembre-saved-row {
  background: var(--lc-surface-2);
  border-color: var(--lc-line);
}
html.lc-dark .mmembre-saved-num { color: var(--lc-ink); }
html.lc-dark .mmembre-panel { background: var(--lc-surface); }
html.lc-dark .mmembre-panel.mmembre-featured {
  background:
    linear-gradient(180deg, var(--lc-surface), var(--lc-surface-2)),
    radial-gradient(circle at 88% 8%, rgba(148,177,0,.11), transparent 24%);
}
html.lc-dark .mmembre-panel-title {
  background: linear-gradient(180deg, var(--lc-surface), var(--lc-surface-2));
  border-bottom-color: var(--lc-line);
}
html.lc-dark #espace_membre .mmembre-field .form-control,
html.lc-dark #espace_membre .mmembre-field input {
  background: var(--lc-surface-2);
  box-shadow: none;
}
html.lc-dark #espace_membre .mmembre-field .form-control::placeholder { color: var(--lc-ink-faint); }
html.lc-dark .mmembre-check {
  background: var(--lc-surface-2);
  border-color: var(--lc-line);
}
html.lc-dark .mmembre-alert-error {
  background: rgba(158,43,43,.16);
  color: #f0a9a9;
  border-color: rgba(158,43,43,.35);
}
html.lc-dark .mmembre-alert-error a { color: #f0a9a9; }
html.lc-dark .mmembre-alert-success { color: var(--lc-green); }
html.lc-dark .mmembre-support-card {
  background: var(--lc-surface);
  border-color: var(--lc-line);
}
html.lc-dark .mmembre-center-seal { border-color: var(--lc-line); }

/* ============================================================
   SYNC MODE NUIT depuis les sources m-*.css (bundle assemblé à la main).
   Blocs telar/telfr/apprar/integ : bugs texte-sur-fond-sombre non
   détectés par la passe fonds. Portés ici pour être réellement servis.
   ============================================================ */
/* Source: css/m-telar.css (mode nuit) */
html.lc-dark .mtelar-btn { border-color: var(--lc-line); }
html.lc-dark .mtelar-btn:not(.mtelar-btn-primary):not(.mtelar-btn-dark) { color: var(--lc-ink); }
html.lc-dark .mtelar-fico { border-color: var(--lc-line); }
html.lc-dark .mtelar-fico:not(.audio):not(.vv) { color: var(--lc-ink); }
html.lc-dark .mtelar-storage > div { border-right-color: var(--lc-line); }
html.lc-dark .mtelar-tag-pill:not(.is-active) { border-color: var(--lc-line); color: var(--lc-ink); }
html.lc-dark .mtelar-fmeta span { border-color: var(--lc-line); color: var(--lc-ink); }
html.lc-dark .mtelar-srow { border-top-color: var(--lc-line); }
html.lc-dark .mtelar-srow b { color: var(--lc-ink); }
html.lc-dark .mtelar-chip { color: var(--lc-ink); }
html.lc-dark .mtelar-stat strong { color: var(--lc-ink); }
html.lc-dark .mtelar-ctotal strong { color: var(--lc-ink); }
html.lc-dark .mtelar-ornament::before,
html.lc-dark .mtelar-ornament::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent); }
/* Source: css/m-telfr.css (mode nuit) */
html.lc-dark .mtelfr-ficon { color: var(--lc-ink); }
html.lc-dark .mtelfr-ficon--audio { color: var(--lc-green-d); }
html.lc-dark .mtelfr-ficon--pdf { color: var(--lc-gold); }
/* Source: css/m-apprar.css (mode nuit) */
html.lc-dark .mapprar-switch { background: #3a3f34; }
html.lc-dark .mapprar-vcard.is-active .mapprar-vstate { background: var(--lc-surface-2); }
html.lc-dark .mapprar-vcard.is-done .mapprar-vstate { color: var(--lc-green); }
/* Source: css/m-integ.css (mode nuit) */
html.lc-dark .minteg-swatch { background: var(--lc-surface-2); }
html.lc-dark .minteg-switch { background: #3a3f34; }
