/* Page « Brigitte Macron » : ce qui n'existe pas déjà dans sujet.css (sommaire des causes, graphique des collectes). */

/* Sommaire : cinq causes, chacune avec sa photo et son chiffre */
.bm-causes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bm-causes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bm-causes { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.bm-causes a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; padding: 20px; border-radius: 24px; overflow: hidden; color: #fff; text-decoration: none; background: #111; isolation: isolate; }
@media (min-width: 1100px) { .bm-causes a { min-height: 300px; } }
.bm-causes img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.bm-causes a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.05) 100%); }
.bm-causes a:hover img, .bm-causes a:focus-visible img { transform: scale(1.04); }
.bm-causes small { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #FFD58A; }
.bm-causes b { display: block; margin-top: 6px; font-size: 22px; line-height: 1.1; letter-spacing: -.03em; font-weight: 760; }
.bm-causes em { display: block; margin-top: 8px; font-style: normal; font-size: 14.5px; line-height: 1.35; color: rgba(255,255,255,.82); }
@media (min-width: 640px) and (max-width: 1099px) { .bm-causes li:last-child { grid-column: 1 / -1; } }

/* Graphique des collectes annuelles de la Fondation */
.bm-collecte { margin: 0; padding: clamp(22px, 3vw, 36px); border-radius: 28px; background: var(--gris); }
.bm-collecte-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 26px; }
.bm-collecte-tete b { font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.05em; font-weight: 780; }
.bm-collecte-tete span { max-width: 520px; font-size: 15.5px; line-height: 1.45; color: var(--texte-2); }
.bm-barres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(6px, 1.4vw, 18px); align-items: end; height: clamp(220px, 28vw, 320px); border-bottom: 2px solid #1d1d1f; }
.bm-barres li { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.bm-barres .bm-v { display: block; margin-bottom: 6px; text-align: center; font-size: clamp(12.5px, 1.4vw, 16px); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.bm-barres .bm-b { display: block; height: calc(var(--v) * 1%); min-height: 4px; border-radius: 10px 10px 0 0; background: #b9c4f7; }
.bm-barres .bm-a { position: absolute; top: 100%; left: 0; right: 0; margin-top: 8px; text-align: center; font-size: 13px; color: var(--texte-2); }
.bm-barres .bm-elle .bm-b { background: var(--bleu); }
.bm-barres .bm-hors .bm-b { background: repeating-linear-gradient(135deg, #1F3FE0 0 10px, #4a64ea 10px 20px); }
.bm-barres .bm-hors .bm-b::after { content: ""; display: block; height: 10px; margin-top: 28%; background: var(--gris); transform: skewY(-8deg); }
.bm-barres .bm-hors .bm-v { color: var(--bleu); }
.bm-collecte-pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 44px; font-size: 13.5px; line-height: 1.45; color: var(--texte-2); }
.bm-collecte-pied i { font-style: normal; }
.bm-collecte-pied i::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 6px; border-radius: 3px; background: var(--bleu); vertical-align: -1px; }
.bm-collecte-pied i.bm-l-avant::before { background: #b9c4f7; }
.bm-collecte-pied i.bm-l-covid::before { background: repeating-linear-gradient(135deg, #1F3FE0 0 3px, #4a64ea 3px 6px); }
.bm-collecte + .pj-stats { margin-top: 16px; }

/* Citation en fin de frise */
.pj-frise .bm-cite { display: block; margin-top: 6px; font-size: 19px; line-height: 1.4; color: #fff; font-style: italic; }

/* Deux sources sur une même fiche */
.bm-srcs { margin: 0; } .bm-srcs .pj-src { margin-top: 10px; }
/* Bannière du harcèlement : plus haute sur téléphone pour que le titre ne couvre pas son visage */
@media (max-width: 640px) { #harcelement .pj-banniere { height: 520px; } }
