/* Mode Pas Cher : thème (header, footer, pages, home, widgets) */
:root {
  --mpc-accent: #C2410C;
  --mpc-survol: #9A3412;
  --mpc-deco: #FF7A1A;
  --mpc-bord: #E5E9F0;
  --mpc-alt: #F6F7F9;
  --mpc-doux: #FFF4EC;
  --mpc-nuit: #0F1219;
  --mpc-encre: #1A1D24;
  --mpc-encre-2: #4A5160;
  --mpc-titre: 'Lora', Georgia, serif;
  --mpc-texte: 'Atkinson Hyperlegible', system-ui, sans-serif;
  --mpc-header: 72px;
  --mpc-bandeau-h: 40px;
}
body.mpc { margin: 0; background: #FFFFFF; color: var(--mpc-encre); font-family: var(--mpc-texte); }
body.mpc h1, body.mpc h2, body.mpc h3 { font-family: var(--mpc-titre); color: var(--mpc-encre); }
body.mpc a { color: inherit; }
.card-surface { background: #FFFFFF; border: 1px solid var(--mpc-bord); border-radius: 12px; }

/* Bandeau */
.mpc-header [data-bandeau].mpc-bandeau {
  position: sticky; top: 0; left: 0; width: 100%; box-sizing: border-box; z-index: 60;
  display: flex; align-items: center; gap: 16px; min-height: var(--mpc-bandeau-h);
  padding: 0 8px 0 16px; background: #0F1219; color: #FFFFFF; font-size: 14px;
}
.mpc-bandeau-pastille { flex: none; padding: 2px 10px; border-radius: 999px; background: #FFB36B; color: #0F1219; font-weight: 700; font-size: 13px; }
.mpc-bandeau-defile { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.mpc-bandeau-defile a { color: #FFFFFF; text-decoration: none; margin-right: 40px; }
.mpc-bandeau-defile a:hover { text-decoration: underline; }
.mpc-bandeau [data-fermer] { flex: none; width: 44px; height: 44px; border: 0; background: transparent; color: #FFFFFF; font-size: 22px; cursor: pointer; }

/* Header */
.mpc-header { position: relative; z-index: 50; background: #FFFFFF; border-bottom: 1px solid var(--mpc-bord); }
.mpc-barre { display: flex; align-items: center; gap: 32px; height: var(--mpc-header); max-width: 1280px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.mpc-logo { display: flex; align-items: center; flex: none; min-height: 44px; }
.mpc-logo img { display: block; height: 44px; width: auto; }
.mpc-nav { display: flex; align-items: center; gap: 24px; flex: 1; min-width: 0; }
.mpc-nav a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--mpc-encre); display: inline-flex; align-items: center; min-height: 44px; }
.mpc-nav a:hover, .mpc-nav a[aria-current="page"] { color: var(--mpc-accent); }
.mpc-actions { display: flex; align-items: center; gap: 32px; margin-left: auto; flex: none; }
.mpc-icone { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; color: var(--mpc-encre); }
.mpc-icone:hover { color: var(--mpc-accent); background: var(--mpc-doux); }
.mpc-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--mpc-bord); border-radius: 8px; background: #FFFFFF; color: var(--mpc-encre); cursor: pointer; align-items: center; justify-content: center; }
.mpc-menu { border-top: 1px solid var(--mpc-bord); background: #FFFFFF; padding: 8px 16px 16px; }
.mpc-menu[hidden] { display: none; }
.mpc-menu a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--mpc-bord); }
@media (max-width: 1180px) {
  .mpc-nav, .mpc-btn-news { display: none; }
  .mpc-burger { display: inline-flex; }
  .mpc-barre { gap: 32px; }
}
@media (max-width: 640px) {
  .mpc-barre { padding: 0 16px; height: 64px; }
  .mpc-logo img { height: 34px; }
  .mpc-actions { gap: 8px; }
}

/* Boutons, pastilles, liens */
.mpc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 8px; background: var(--mpc-accent); color: #FFFFFF !important; font-weight: 700; text-decoration: none; border: 1px solid var(--mpc-accent); white-space: nowrap; }
.mpc-btn:hover { background: var(--mpc-survol); border-color: var(--mpc-survol); }
.mpc-btn-2 { background: #FFFFFF; color: var(--mpc-accent) !important; }
.mpc-btn-2:hover { background: var(--mpc-doux); color: var(--mpc-survol) !important; }
.mpc-boutons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.mpc-pastille { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 12px; border-radius: 999px; background: rgba(194, 65, 12, .1); border: 1px solid rgba(194, 65, 12, .3); color: var(--mpc-accent) !important; font-size: 13px; font-weight: 700; text-decoration: none; }
a.mpc-pastille { min-height: 44px; box-sizing: border-box; }
a.mpc-pastille:hover { background: rgba(194, 65, 12, .18); }
.mpc-pastilles { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 16px 0 0; }
.mpc-lien { display: inline-flex; align-items: center; min-height: 44px; color: var(--mpc-accent) !important; font-weight: 700; }
.mpc-lien:hover { color: var(--mpc-survol) !important; }
.mpc-meta { color: var(--mpc-encre-2); font-size: 14px; }
.mpc-texte { max-width: 70ch; line-height: 1.65; color: var(--mpc-encre-2); }

/* Pages internes */
.mpc-interne { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 64px; box-sizing: border-box; }
.mpc-interne p, .mpc-interne li { max-width: 70ch; }
.mpc-interne h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; margin: 8px 0 12px; }
.mpc-h2 { font-size: 26px; margin: 40px 0 16px; }
.mpc-fil { font-size: 14px; color: var(--mpc-encre-2); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mpc-fil a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mpc-accent); }
.mpc-page-tete { margin-bottom: 32px; }
.mpc-auteur { display: flex; gap: 24px; align-items: flex-start; }
.mpc-auteur img { width: 120px; height: 120px; border-radius: 999px; object-fit: cover; flex: none; }
.mpc-role { color: var(--mpc-accent); font-weight: 700; }
.mpc-prose { max-width: 70ch; line-height: 1.7; }
.mpc-prose h2 { font-size: 24px; margin: 32px 0 8px; }
.mpc-prose a { color: var(--mpc-accent); }
.mpc-encart { background: var(--mpc-doux); border-radius: 12px; padding: 24px; margin: 24px 0; max-width: 70ch; }
.mpc-grille-equipe { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 24px; }
.mpc-grille-equipe li { padding: 24px; display: block; }
.mpc-grille-equipe li img { margin-bottom: 16px; }
.mpc-form-contact { display: grid; gap: 16px; max-width: 560px; margin: 0 0 40px; }
.mpc-champ textarea { padding: 12px 14px; border: 1px solid var(--mpc-bord); border-radius: 8px; font: inherit; font-weight: 400; resize: vertical; }
.mpc-form-contact .mpc-btn { justify-self: start; min-height: 48px; border: 0; cursor: pointer; }
.mpc-pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mpc-retour { margin: 0; font-weight: 600; }
.mpc-retour:empty { display: none; }
.mpc-grille-equipe img { width: 96px; height: 96px; border-radius: 999px; object-fit: cover; flex: none; }
.mpc-grille-equipe h2 { font-size: 20px; margin: 0 0 4px; }
.mpc-404 { padding: 48px 32px; text-align: center; margin: 32px auto; max-width: 720px; }
.mpc-404 .mpc-boutons { justify-content: center; }
.mpc-champ { display: flex; flex-direction: column; gap: 8px; max-width: 560px; font-weight: 700; }
.mpc-champ input { min-height: 48px; padding: 0 14px; border: 1px solid var(--mpc-bord); border-radius: 8px; font: inherit; font-weight: 400; }
.mpc-resultats { list-style: none; padding: 0; display: grid; gap: 16px; margin-top: 24px; }
.mpc-resultats li { padding: 16px 20px; }
.mpc-resultats a { font-family: var(--mpc-titre); font-weight: 700; font-size: 19px; color: var(--mpc-encre); }
.mpc-plan { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; }
.mpc-plan ul { padding-left: 18px; line-height: 1.6; }
.mpc-plan a { display: inline-block; padding: 6px 0; }

/* Liste d'articles */
.mpc-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.mpc-ligne { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 16px; align-items: center; }
.mpc-ligne-img img { display: block; width: 240px; height: 160px; object-fit: cover; border-radius: 8px; }
.mpc-ligne-texte h2 { font-size: 22px; margin: 8px 0; line-height: 1.25; }
.mpc-ligne-texte h2 a { text-decoration: none; }
.mpc-ligne-texte h2 a:hover { color: var(--mpc-accent); }
.mpc-ligne-texte p { margin: 4px 0; }
@media (max-width: 700px) {
  .mpc-ligne { grid-template-columns: 1fr; }
  .mpc-ligne-img img { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .mpc-auteur { flex-direction: column; }
}

/* Article (enveloppe du kit) */
.mpc-article { width: min(1280px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 64px; box-sizing: border-box; }
.mpc-tete h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.15; margin: 12px 0; }
.mpc-chapo { font-size: 20px; line-height: 1.55; color: var(--mpc-encre-2); max-width: 70ch; }
.mpc-tete-img { display: block; width: 100%; height: auto; border-radius: 12px; margin-top: 16px; }

/* Footer */
.mpc-footer { background: #0F1219; color: #D7DBE3; margin-top: 0; }
.mpc-footer-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; max-width: 1280px; margin: 0 auto; padding: 56px 24px 32px; box-sizing: border-box; }
.mpc-footer h2 { color: #FFFFFF !important; font-size: 17px; margin: 0 0 12px; }
.mpc-footer ul { list-style: none; padding: 0; margin: 0; }
.mpc-footer a { color: #E5E7EB; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.mpc-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.mpc-footer .mpc-logo img { height: 44px; filter: brightness(0) invert(1); }
.mpc-footer address { font-style: normal; line-height: 1.6; }
.mpc-footer p { line-height: 1.6; }
.mpc-footer-legal { max-width: 1280px; margin: 0 auto; padding: 16px 24px 32px; border-top: 1px solid #262B36; font-size: 14px; box-sizing: border-box; }
@media (max-width: 900px) { .mpc-footer-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mpc-footer-grille { grid-template-columns: 1fr; } }

/* Widgets */
.mpc-widget { background: #FFF4EC; border: 1px solid #F6D9C4; border-radius: 12px; padding: 24px; max-width: 520px; width: 100%; box-sizing: border-box; }
.mpc-widget h3 { margin-top: 0; font-size: 21px; }
.mpc-calcul { display: grid; gap: 16px; }
.mpc-calcul label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.mpc-calcul input { min-height: 48px; padding: 0 14px; border: 1px solid var(--mpc-bord); border-radius: 8px; font: inherit; font-weight: 400; background: #FFFFFF; }
.mpc-calcul-res { font-size: 18px; margin: 0; }
.mpc-calcul-res output { font-family: var(--mpc-titre); font-size: 28px; font-weight: 700; color: var(--mpc-accent); }
.mpc-widget .kv-interrupteur { display: flex; gap: 8px; margin-bottom: 16px; }
.mpc-widget .kv-interrupteur button, .mpc-widget [data-quiz] button, .mpc-widget button { min-height: 44px; min-width: 44px; }
.mpc-widget .kv-interrupteur button { flex: 1; border: 1px solid var(--mpc-accent); border-radius: 8px; background: #FFFFFF; color: var(--mpc-accent); font-weight: 700; cursor: pointer; }
.mpc-widget .kv-interrupteur button[aria-pressed="true"], .mpc-widget .kv-interrupteur .kv-actif { background: var(--mpc-accent); color: #FFFFFF; }
.mpc-puces { padding-left: 20px; line-height: 1.6; }
.mpc-widget [data-question] { padding: 12px 0; border-bottom: 1px solid #F6D9C4; }

/* Home */
.mpc-main-home { display: block; }
.bh-mpc-in { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.bh-mpc-bloc { padding: 64px 0; }
.bh-mpc-alt { background: #F6F7F9; }
.bh-mpc-titre { font-size: clamp(26px, 3vw, 34px); margin: 0 0 24px; line-height: 1.2; }
.bh-mpc-titre a { text-decoration: none; }
.bh-mpc-entete { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.bh-mpc-grille { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.bh-mpc-g2 { grid-template-columns: repeat(2, 1fr); }
.bh-mpc-g3 { grid-template-columns: repeat(3, 1fr); }
.bh-mpc-g4 { grid-template-columns: repeat(4, 1fr); }
.bh-mpc-g5 { grid-template-columns: repeat(5, 1fr); }
.bh-mpc-carte { overflow: hidden; display: flex; flex-direction: column; }
.bh-mpc-carte img { display: block; width: 100%; max-width: 480px; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.bh-mpc-carte-txt { padding: 16px 20px 20px; }
.bh-mpc-carte h3, .bh-mpc-horiz h3, .bh-mpc-court h3 { font-size: 19px; line-height: 1.3; margin: 8px 0; }
.bh-mpc-carte h3 a, .bh-mpc-horiz h3 a, .bh-mpc-court h3 a { text-decoration: none; }
.bh-mpc-carte h3 a:hover, .bh-mpc-horiz h3 a:hover, .bh-mpc-court h3 a:hover { color: var(--mpc-accent); }
.bh-mpc-carte p, .bh-mpc-horiz p, .bh-mpc-court p { color: var(--mpc-encre-2); line-height: 1.55; margin: 0; }
.bh-mpc-horiz { display: grid; grid-template-columns: 220px 1fr; overflow: hidden; align-items: stretch; }
.bh-mpc-horiz img { display: block; width: 220px; height: 100%; min-height: 180px; object-fit: cover; }
.bh-mpc-court { padding: 24px; }
.bh-mpc-widget-in { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 48px; align-items: center; }
.bh-mpc-dossier { display: grid; grid-template-columns: 480px 1fr; gap: 40px; align-items: center; }
.bh-mpc-dossier img { display: block; width: 480px; max-width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 12px; }
.bh-mpc-portrait { padding: 20px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.bh-mpc-portrait img { width: 96px; height: 96px; border-radius: 999px; object-fit: cover; }
.bh-mpc-portrait a { font-family: var(--mpc-titre); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.bh-mpc-portrait a:hover { color: var(--mpc-accent); }
.bh-mpc-portrait span { font-size: 14px; color: var(--mpc-encre-2); }
.bh-mpc-news { background: #0F1219; color: #FFFFFF; padding: 56px 0; }
.bh-mpc-news-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.bh-mpc-news h2 { color: #FFFFFF !important; margin: 0 0 8px; font-size: 30px; }
.bh-mpc-news p { margin: 0; color: #D7DBE3; max-width: 60ch; }

/* Hero */
.bh-mpc-hero { --mpc-hh: 117px; position: relative; width: 100%; height: calc(100svh - var(--mpc-hh)); min-height: 0; display: flex; align-items: center; background: linear-gradient(180deg, #FFF4EC 0%, #FFFFFF 100%); padding: 24px 0 56px; box-sizing: border-box; }
.bh-mpc-bloc.bh-mpc-compact { padding: 32px 0; }
.bh-mpc-compact .bh-mpc-titre { margin-bottom: 12px; }
.bh-mpc-titre-icone { display: flex; align-items: center; gap: 10px; }
.bh-mpc-titre-icone svg { flex: none; color: var(--mpc-accent); }
.mpc-header { position: sticky; top: 0; }
.mpc-actions { flex: 0 1 auto; min-width: 0; }
@media (max-width: 1180px) { .mpc-actions .mpc-btn-news { display: none; } }
@media (max-width: 640px) {
  .mpc-barre { gap: 12px; }
  .mpc-article { width: calc(100% + 24px); margin-inline: -12px; }
  .mpc-footer-grille { padding: 40px 12px 24px; }
}
.mpc-main-home .bh-mpc-hero { width: min(1100px, 100%); margin-inline: auto; }
.bh-mpc-hero-une-titre { margin: 0; font: inherit; color: #FFFFFF; }
.bh-mpc-hero-une-titre a { color: #FFFFFF; text-decoration: none; }
.bh-mpc-hero-une-titre a::after { content: ""; position: absolute; inset: 0; }
.bh-mpc-hero-une-txt .bh-mpc-hero-rub { margin: 0 0 6px; }
.bh-mpc-hero-une-meta { margin: 8px 0 0; font-family: var(--mpc-texte); font-size: 14px; font-weight: 400; color: #E5E7EB; }
.mpc-main-home .bh-mpc-news { padding: 32px 0; }
.bh-mpc-news-icone { flex: none; color: #FFB36B; }
@media (max-width: 900px) {
  .mpc-main-home .bh-mpc-hero { --mpc-hh: 109px; align-items: stretch; padding: 16px 0 48px; }
  .mpc-main-home .bh-mpc-hero-in { display: flex; flex-direction: column; gap: 16px; width: 100%; padding: 0 12px; box-sizing: border-box; }
  .mpc-main-home .bh-mpc-hero-cote { flex: 1; min-height: 0; display: flex; }
  .mpc-main-home .bh-mpc-hero-une { flex: 1; min-height: 0; aspect-ratio: auto; max-height: none; }
  .mpc-main-home .bh-mpc-h1 { font-size: 40px; margin: 8px 0; }
  .mpc-main-home .bh-mpc-hero-chapo { font-size: 16px; line-height: 1.5; }
}
@media (max-width: 640px) {
  .mpc-main-home .bh-mpc-in { width: calc(100% - 24px); }
  .mpc-main-home .bh-mpc-carte-txt { padding: 12px; }
  .mpc-main-home .bh-mpc-court { padding: 16px 12px; }
  .mpc-main-home .mpc-widget { padding: 16px 12px; }
  .mpc-main-home .mpc-puces { padding-left: 18px; }
  .mpc-main-home .bh-mpc-widget-in { width: 100%; }
  .mpc-main-home .bh-mpc-bloc.bh-mpc-compact { padding: 24px 0; }
}
.bh-mpc-hero-in { width: min(1200px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.bh-mpc-h1 { font-size: clamp(44px, 6.5vw, 80px); line-height: 1.05; margin: 16px 0; background: linear-gradient(90deg, #C2410C, #9A3412); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.bh-mpc-hero-chapo { font-size: 20px; line-height: 1.6; color: var(--mpc-encre-2); max-width: 52ch; margin: 0; }
.bh-mpc-hero-cote { display: grid; gap: 16px; }
.bh-mpc-hero-une { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 62svh; text-decoration: none; }
.bh-mpc-hero-une img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bh-mpc-hero-une-txt { position: absolute; inset: auto 0 0 0; padding: 64px 24px 24px; background: linear-gradient(180deg, rgba(15, 18, 25, 0) 0%, rgba(15, 18, 25, .88) 100%); color: #FFFFFF; font-family: var(--mpc-titre); font-size: 22px; font-weight: 700; line-height: 1.25; }
.bh-mpc-hero-rub { display: block; font-family: var(--mpc-texte); font-size: 13px; color: #FFB36B; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.bh-mpc-hero-sec { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.bh-mpc-hero-sec a { display: block; padding: 14px 16px; border: 1px solid var(--mpc-bord); border-radius: 12px; background: #FFFFFF; text-decoration: none; font-family: var(--mpc-titre); font-weight: 700; line-height: 1.3; }
.bh-mpc-hero-sec a:hover { border-color: var(--mpc-accent); }
.bh-mpc-hero-sec span { display: block; font-family: var(--mpc-texte); font-size: 12px; color: var(--mpc-accent); margin-bottom: 4px; }
.bh-mpc-chevron { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--mpc-accent); }

@media (max-width: 1100px) {
  .bh-mpc-g4 { grid-template-columns: repeat(2, 1fr); }
  .bh-mpc-widget-in, .bh-mpc-dossier { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .bh-mpc-hero-in { grid-template-columns: 1fr; }
  .bh-mpc-hero-une { max-height: none; }
  .bh-mpc-g2, .bh-mpc-g3, .bh-mpc-g5 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bh-mpc-g4, .bh-mpc-g5 { grid-template-columns: 1fr; }
  .bh-mpc-hero-sec { grid-template-columns: 1fr; }
  .bh-mpc-horiz { grid-template-columns: 1fr; }
  .bh-mpc-horiz img { width: 100%; height: auto; aspect-ratio: 3 / 2; min-height: 0; }
  .bh-mpc-bloc { padding: 48px 0; }
}

/* Header : groupe menu + actions, au moins 16 px avant la loupe */
.mpc-nav { flex: 0 1 auto; gap: 20px; }
.mpc-nav a:last-child { margin-right: 24px; }
.mpc-actions { gap: 24px; margin-left: auto; }
@media (max-width: 1320px) and (min-width: 1181px) { .mpc-nav { gap: 14px; } .mpc-nav a { font-size: 13px; } }

/* Hero : carte de une sous voile sombre, titres secondaires */
.bh-mpc-hero-une { max-height: 50svh; }
.bh-mpc-hero-une-txt { background: linear-gradient(180deg, rgba(15, 18, 25, .35) 0%, rgba(15, 18, 25, .92) 45%); }
body.mpc .bh-mpc-hero-une-titre, body.mpc .bh-mpc-hero-une-titre a { color: #FFFFFF; text-decoration: none; }
.bh-mpc-hero-rub { color: #FFFFFF; }
.bh-mpc-hero-sec li { padding: 12px 14px; border: 1px solid var(--mpc-bord); border-radius: 12px; background: #FFFFFF; position: relative; }
.bh-mpc-hero-sec li:hover { border-color: var(--mpc-accent); }
.bh-mpc-hero-sec a { padding: 0; border: 0; background: none; font-size: 16px; color: var(--mpc-encre); }
.bh-mpc-hero-sec a::after { content: ""; position: absolute; inset: 0; }
.bh-mpc-hero-sec span.mpc-meta { margin: 6px 0 0; font-size: 12px; color: var(--mpc-encre-2); }
@media (max-width: 900px) {
  .mpc-main-home .bh-mpc-hero-cote { flex-direction: column; gap: 10px; }
  .bh-mpc-hero-sec { grid-template-columns: 1fr; gap: 8px; }
  .bh-mpc-hero-sec li { padding: 8px 10px; }
  .bh-mpc-hero-sec a { font-size: 14px; }
  .bh-mpc-hero-sec span.mpc-meta { font-size: 11px; }
}

/* Cartes 16:10 partagées (home, listes, rubriques, auteur) */
.bh-mpc-carte img { max-width: none; }
.bh-mpc-carte .bh-mpc-carte-titre { font-size: 19px; line-height: 1.3; margin: 8px 0; font-family: var(--mpc-titre); }
.bh-mpc-carte .bh-mpc-carte-titre a { text-decoration: none; }
.bh-mpc-carte .bh-mpc-carte-titre a:hover { color: var(--mpc-accent); }
.bh-mpc-carte p.bh-mpc-carte-meta { margin-top: 10px; font-size: 14px; }
.mpc-grille-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 24px 0 48px; }
.mpc-grille-cartes .mpc-carte-l2 { grid-column: span 2; }
.mpc-grille-cartes .mpc-carte-l3 { grid-column: 1 / -1; }
.mpc-grille-cartes .mpc-carte-l2 img, .mpc-grille-cartes .mpc-carte-l3 img { max-height: 420px; }
.mpc-grille-cartes [hidden] { display: none; }
@media (max-width: 900px) {
  .mpc-grille-cartes { grid-template-columns: 1fr; }
  .mpc-grille-cartes .mpc-carte-l2 { grid-column: auto; }
}

/* Calculateur */
.mpc-calcul-case { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.mpc-calcul-case input { width: 20px; height: 20px; }

/* Bascule */
[data-usine-bloc="bascule"] .mpc-widget [data-choix], [data-usine-bloc="bascule"] .kv-interrupteur { border-radius: 8px; }
.bh-mpc-icones { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.bh-mpc-icones li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; line-height: 1.5; }
.bh-mpc-icones svg { color: var(--mpc-accent); margin-top: 1px; }
.bh-mpc-icones[hidden] { display: none; }
[data-usine-bloc="bascule"] .mpc-lien { display: inline-flex; margin-top: 12px; }
@media (max-width: 640px) {
  .mpc-main-home [data-usine-bloc="bascule"] .bh-mpc-widget-in { grid-template-columns: 1fr; gap: 20px; }
  .mpc-main-home [data-usine-bloc="bascule"] .mpc-widget { max-width: none; }
}

/* Dossier */
.bh-mpc-dossier { grid-template-columns: 560px 1fr; min-height: 320px; }
.bh-mpc-dossier img { width: 560px; aspect-ratio: 16 / 10; }
.bh-mpc-dossier .bh-mpc-dossier-titre { font-family: var(--mpc-titre); margin: 12px 0; }
.bh-mpc-dossier .bh-mpc-chapo { font-size: 18px; line-height: 1.6; }
@media (max-width: 900px) {
  .bh-mpc-dossier { grid-template-columns: minmax(0, 1fr); }
  .bh-mpc-dossier img { width: 100%; height: auto; }
}

/* Quiz : boutons rounded-lg */
[data-usine-bloc="quiz"] .mpc-widget[data-quiz] button, [data-usine-bloc="quiz"] [data-quiz] .kv-bouton { border-radius: 8px; }

/* Sous-thèmes */
.bh-mpc-tags { list-style: none; padding: 0; margin: 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.bh-mpc-tag { display: flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--mpc-bord); border-radius: 8px; background: #FFFFFF; text-decoration: none; font-weight: 600; color: var(--mpc-encre); box-sizing: border-box; gap: 12px; height: 100%; }
.bh-mpc-tag svg { flex: none; color: var(--mpc-accent); }
.bh-mpc-tag-txt { display: flex; flex-direction: column; }
.bh-mpc-tag-n { font-size: 13px; font-weight: 400; color: var(--mpc-encre-2); }
.bh-mpc-tag:hover { border-color: var(--mpc-accent); color: var(--mpc-accent); }

/* Pages catégorie : intro et filtre */
.mpc-page-tete .mpc-texte { max-width: 680px; }
.mpc-filtres { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.mpc-filtres .mpc-filtre { border: 1px solid var(--mpc-bord); border-radius: 8px; padding: 8px 16px; background: #FFFFFF; color: var(--mpc-encre); cursor: pointer; min-height: 44px; font: inherit; font-weight: 600; }
.mpc-filtres .mpc-filtre:hover { border-color: var(--mpc-accent); color: var(--mpc-accent); }
.mpc-filtres .mpc-filtre[aria-pressed="true"] { background: var(--mpc-accent); border-color: var(--mpc-accent); color: #FFFFFF; }

/* Article : kit plus large, marges mobiles */
.mpc-article { width: min(1320px, calc(100% - 32px)); }
@media (max-width: 640px) { .mpc-article { width: calc(100% - 16px); margin-inline: auto; } }
@media (max-width: 640px) { body.mpc .mpc-article .ka-auteur { padding: 12px; margin-inline: -12px; } }

/* Page rédaction : 2 colonnes au plus, pleine largeur sur mobile */
.mpc-grille-equipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mpc-grille-equipe p { max-width: none; }
@media (max-width: 900px) { .mpc-grille-equipe { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .mpc-grille-equipe li { padding: 16px; } }
