/**
 * Espace presse ([mpe_presse], inc/espace-presse.php).
 */

.mpe-presse {
	--mpe-pr-bleu: #1f53f3;
	--mpe-pr-marine: #000034;
	--mpe-pr-rose: #ff00a3;
	--mpe-pr-bleu-clair: #eef3ff;
	--mpe-pr-gris: #5b6175;
	--mpe-pr-bord: #e6e6ea;
	color: var(--mpe-pr-marine);
}
.mpe-presse h2 { margin: 0 0 8px; font-size: 30px; line-height: 1.15; color: var(--mpe-pr-marine); }
.mpe-presse h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.25; color: var(--mpe-pr-marine); }
.mpe-presse p { margin: 0; }

/* Haut : contact + chiffres */
.mpe-presse__haut { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; }
.mpe-presse__contact,
.mpe-presse__bref { padding: 36px; border-radius: 20px; }
.mpe-presse__contact { background: var(--mpe-pr-bleu-clair); }
.mpe-presse__contact > p:not(.mpe-presse__surtitre) { font-size: 17px; line-height: 1.55; color: #384050; }
.mpe-presse__surtitre { margin-bottom: 10px !important; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mpe-pr-rose); }
.mpe-presse__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.mpe-presse__btn {
	display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px;
	font-weight: 600; font-size: 16px; text-decoration: none !important;
	background: var(--mpe-pr-bleu); color: #fff !important; transition: background .2s;
}
.mpe-presse__btn:hover { background: #1d49f1; }
.mpe-presse__btn--clair { background: #fff; color: var(--mpe-pr-marine) !important; box-shadow: inset 0 0 0 1px #c9d4f5; }
.mpe-presse__btn--clair:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--mpe-pr-bleu); }

.mpe-presse__bref { background: var(--mpe-pr-marine); color: #fff; }
.mpe-presse__bref h2 { color: #fff; margin-bottom: 20px; }
.mpe-presse__chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 !important; padding: 0 !important; list-style: none; }
.mpe-presse__chiffres li { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.mpe-presse__nb { font-size: 38px; font-weight: 800; line-height: 1; color: #fff; }
.mpe-presse__lib { font-size: 14px; line-height: 1.3; color: #c9cbe0; word-break: normal; overflow-wrap: normal; hyphens: none; }

/* Blocs */
.mpe-presse__bloc { margin-top: 64px; }
.mpe-presse__tete { margin-bottom: 20px; }
.mpe-presse__tete p { font-size: 16px; color: var(--mpe-pr-gris); }

/* Présentation à copier */
.mpe-presse__texte { position: relative; padding: 28px 32px; border: 1px solid var(--mpe-pr-bord); border-radius: 20px; background: #fff; }
.mpe-presse__texte-contenu p { font-size: 17px; line-height: 1.65; color: #2a3042; }
.mpe-presse__texte-contenu p + p { margin-top: 12px; }
.mpe-presse__copier {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 10px 18px; border: 0; border-radius: 999px;
	font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
	background: var(--mpe-pr-bleu-clair); color: var(--mpe-pr-bleu); transition: background .2s, color .2s;
}
.mpe-presse__copier:hover { background: #dde7ff; }
.mpe-presse__copier.is-ok { background: #dcfce7; color: #15803d; }
.mpe-presse__copier-ico,
.mpe-presse__dl-ico { display: inline-block; width: 18px; height: 18px; flex: none; background: currentColor; }
.mpe-presse__copier-ico {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Cpath d='M16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Cpath d='M16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mpe-presse__copier.is-ok .mpe-presse__copier-ico {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* Cartes */
.mpe-presse__carte { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--mpe-pr-bord); border-radius: 20px; background: #fff; }
.mpe-presse__carte--logos { padding: 20px; gap: 20px; }
.mpe-presse__apercus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mpe-presse__apercu { display: grid; place-items: center; aspect-ratio: 16 / 7; padding: 24px 32px; border-radius: 14px; }
.mpe-presse__apercu img { width: 100%; max-width: 300px; height: auto; }
.mpe-presse__apercu--clair { background: #f5f6fa; }
.mpe-presse__apercu--fonce { background: var(--mpe-pr-marine); }

.mpe-presse__dls { display: flex; flex-wrap: wrap; gap: 10px; }
.mpe-presse__dl {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
	font-size: 15px; font-weight: 600; text-decoration: none !important;
	background: var(--mpe-pr-marine); color: #fff !important; transition: background .2s;
}
.mpe-presse__dl:hover { background: var(--mpe-pr-bleu); }
.mpe-presse__dl-poids { font-weight: 400; font-size: 13px; opacity: .7; }
.mpe-presse__dl-ico {
	width: 16px; height: 16px;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m0 0-4.5-4.5M12 15l4.5-4.5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m0 0-4.5-4.5M12 15l4.5-4.5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mpe-presse__dl-ico--lien {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 5h5v5M19 5l-8 8M18 14v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 5h5v5M19 5l-8 8M18 14v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4'/%3E%3C/svg%3E");
}

.mpe-presse__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mpe-presse__visuel { aspect-ratio: 4 / 3; overflow: hidden; background: #f5f6fa; }
.mpe-presse__visuel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mpe-presse__visuel--maillot { background: #fff; border-bottom: 1px solid var(--mpe-pr-bord); }
.mpe-presse__visuel--maillot img { object-fit: contain; padding: 16px; box-sizing: border-box; }
.mpe-presse__visuel--media { background: #0f172a; }
.mpe-presse__visuel--media img { object-position: left top; }
.mpe-presse__corps { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px 22px 22px; }
.mpe-presse__corps p { margin-bottom: 16px !important; font-size: 15px; line-height: 1.5; color: var(--mpe-pr-gris); }
.mpe-presse__corps .mpe-presse__dl { margin-top: auto; }

/* Liens utiles + réseaux */
.mpe-presse__liens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mpe-presse__lien {
	display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--mpe-pr-bord); border-radius: 16px;
	font-weight: 600; font-size: 16px; text-decoration: none !important; color: var(--mpe-pr-marine) !important; background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.mpe-presse__lien:hover { border-color: var(--mpe-pr-bleu); box-shadow: 0 4px 16px rgba(31, 83, 243, .1); }
.mpe-presse__lien-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--mpe-pr-bleu-clair); color: var(--mpe-pr-bleu); }
.mpe-presse__lien-ico svg { width: 22px; height: 22px; }
.mpe-presse__fleche { margin-left: auto; color: var(--mpe-pr-bleu); transition: transform .2s; }
.mpe-presse__lien:hover .mpe-presse__fleche { transform: translateX(3px); }

.mpe-presse__reseaux { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0 !important; padding: 0 !important; list-style: none; }
.mpe-presse__reseaux li { margin: 0; }
.mpe-presse__reseaux a {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 999px;
	font-size: 15px; font-weight: 600; text-decoration: none !important; color: var(--mpe-pr-marine) !important; background: #f5f6fa;
	transition: background .2s, color .2s;
}
.mpe-presse__reseaux a:hover { background: var(--mpe-pr-marine); color: #fff !important; }
.mpe-presse__reseaux svg { width: 18px; height: 18px; }

@media (max-width: 1000px) {
	.mpe-presse__haut { grid-template-columns: 1fr; }
	.mpe-presse__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mpe-presse__liens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.mpe-presse h2 { font-size: 26px; }
	.mpe-presse__contact, .mpe-presse__bref { padding: 24px; }
	.mpe-presse__nb { font-size: 32px; }
	.mpe-presse__chiffres { gap: 10px; }
	.mpe-presse__chiffres li { padding: 14px; }
	.mpe-presse__lib { font-size: 13px; }
	.mpe-presse__bloc { margin-top: 48px; }
	.mpe-presse__apercus, .mpe-presse__grille, .mpe-presse__liens { grid-template-columns: 1fr; }
	.mpe-presse__texte { padding: 22px; }
	.mpe-presse__actions .mpe-presse__btn { width: 100%; justify-content: center; }
}

/* ------------------------------------------------------------------
 * Refonte « éditoriale » (nov. 2026) : moins de cartes, plus de typo.
 * Titres en Toroka, traits de séparation, intitulé à gauche / contenu à droite.
 * ------------------------------------------------------------------ */
.mpe-presse { --mpe-pr-trait: #e3e6ef; --mpe-pr-toroka: Toroka, Helvetica, Arial, sans-serif; }
.mpe-presse h2 { font-family: var(--mpe-pr-toroka); font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; line-height: 1.05; }
.mpe-presse h3 { font-family: var(--mpe-pr-toroka); font-size: 22px; font-weight: 700; line-height: 1.1; }

/* Haut : contact à gauche, chiffres à droite, sans encadrés */
.mpe-presse__haut { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.mpe-presse__contact,
.mpe-presse__bref { padding: 0; border-radius: 0; background: none; }
.mpe-presse__contact h2 { font-size: clamp(34px, 3.4vw, 48px); margin-bottom: 16px; }
.mpe-presse__contact > p:not(.mpe-presse__surtitre) { font-size: 19px; line-height: 1.5; color: var(--mpe-pr-marine); text-wrap: pretty; }
.mpe-presse__surtitre { margin-bottom: 12px !important; font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.mpe-presse__actions { margin-top: 32px; }
.mpe-presse__btn { font-weight: 700; }
.mpe-presse__btn:not(.mpe-presse__btn--clair):hover { background: var(--mpe-pr-marine); }
.mpe-presse__btn--clair:hover { background: #fff; color: var(--mpe-pr-bleu) !important; box-shadow: inset 0 0 0 2px var(--mpe-pr-bleu); }

.mpe-presse__bref { color: var(--mpe-pr-marine); }
.mpe-presse__bref h2 { margin: 0 0 12px; font-family: inherit; font-size: 14px; font-weight: 800; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; color: var(--mpe-pr-rose); }
.mpe-presse__chiffres { gap: 0 48px; border-top: 1px solid var(--mpe-pr-trait); }
.mpe-presse__chiffres li { gap: 6px; padding: 24px 0; border-radius: 0; background: none; border-bottom: 1px solid var(--mpe-pr-trait); }
.mpe-presse__nb { font-family: var(--mpe-pr-toroka); font-size: clamp(44px, 4.4vw, 64px); font-weight: 700; color: var(--mpe-pr-bleu); }
.mpe-presse__lib { font-size: 16px; color: var(--mpe-pr-marine); }

/* Blocs : intitulé à gauche, contenu à droite, trait au-dessus */
.mpe-presse__bloc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 32px 72px; margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--mpe-pr-trait); }
.mpe-presse__tete { margin: 0; }
.mpe-presse__tete p { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--mpe-pr-gris); }

/* Présentation : du texte, pas une carte */
.mpe-presse__texte { padding: 0; border: 0; border-radius: 0; background: none; }
.mpe-presse__texte-contenu p { font-size: 19px; line-height: 1.6; color: var(--mpe-pr-marine); }
.mpe-presse__texte-contenu p + p { margin-top: 16px; }
.mpe-presse__copier { margin-top: 24px; padding: 0 0 2px; border-radius: 0; background: none; color: var(--mpe-pr-bleu); font-weight: 700; font-size: 16px; border-bottom: 2px solid currentColor; }
.mpe-presse__copier:hover { background: none; color: var(--mpe-pr-marine); }
.mpe-presse__copier.is-ok { background: none; color: #15803d; }

/* Logos : aperçus seuls */
.mpe-presse__carte--logos { padding: 0; border: 0; border-radius: 0; overflow: visible; }
.mpe-presse__apercu { border-radius: 12px; }

/* Documents : visuel + texte, sans cadre */
.mpe-presse__grille { gap: 32px; }
.mpe-presse__carte { border: 0; border-radius: 0; background: none; overflow: visible; }
.mpe-presse__visuel { border-radius: 12px; }
.mpe-presse__visuel--maillot { border: 1px solid var(--mpe-pr-trait); }
.mpe-presse__corps { padding: 20px 0 0; gap: 8px; }
.mpe-presse__corps p { font-size: 16px; }
.mpe-presse__dl { font-weight: 700; }

/* Suivre l'équipe : une liste à traits, comme l'agenda de l'accueil */
.mpe-presse__liens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--mpe-pr-trait); }
.mpe-presse__lien { padding: 20px 0; border: 0; border-bottom: 1px solid var(--mpe-pr-trait); border-radius: 0; background: none; font-family: var(--mpe-pr-toroka); font-size: 22px; font-weight: 700; }
.mpe-presse__lien:hover { border-color: var(--mpe-pr-trait); box-shadow: none; color: var(--mpe-pr-bleu) !important; }
.mpe-presse__lien-ico { width: auto; height: auto; border-radius: 0; background: none; color: var(--mpe-pr-rose); }
.mpe-presse__lien-ico svg { width: 24px; height: 24px; }
/* Toroka : les lettres sont basses dans leur ligne (centre des capitales ~2 px sous le centre de la boîte) ; on descend le picto d'autant. */
.mpe-presse__lien-ico { transform: translateY(2px); }
.mpe-presse__fleche { font-family: Arial, Helvetica, sans-serif; font-weight: 400; }
.mpe-presse__reseaux { grid-column: 2; margin-top: 24px !important; }

@media (max-width: 1000px) {
	.mpe-presse__haut { gap: 48px; }
	.mpe-presse__bloc { grid-template-columns: 1fr; gap: 24px; }
	.mpe-presse__reseaux { grid-column: auto; }
	.mpe-presse__liens { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.mpe-presse__contact, .mpe-presse__bref { padding: 0; }
	.mpe-presse__chiffres { gap: 0 24px; }
	.mpe-presse__chiffres li { padding: 18px 0; }
	.mpe-presse__bloc { margin-top: 56px; padding-top: 32px; }
	.mpe-presse__texte { padding: 0; }
}
