/* ==========================================================================
   Proposition 5 : la fusion retenue le 16 novembre 2026.
   La proposition 4 garde son ergonomie ; cette couche la rapproche du magazine
   (charte de mars 2022 et numéros de 2026) :
   - les couleurs du logo : bleu marine « Pharma », bleu lavande « ceutiques » ;
   - les polices du magazine : Times New Roman pour les titres et le texte, DIN pour
     les intitulés (« MAGAZINE / LE NUMÉRO DU MOIS »), les chapôs et les chiffres ;
   - les filets fins, les encadrés bleu-gris, les tuiles « En chiffres » ;
   - des textes gris plus foncés, pour la lisibilité.
   Elle reprend aussi de la proposition 2 le méga menu avec photos.
   Les séparations, les surtitres et les finitions du 16 novembre au soir sont dans magazine.css.
   ========================================================================== */

/* Polices du magazine (paquet InDesign de la maquette 2022) : Times New Roman, DIN 1451 Mittelschrift,
   FF DIN et DIN Condensed Bold. Les fichiers de la maquette sont des licences bureau : le site utilise
   Times New Roman installé sur l'ordinateur (Tinos, de même chasse, sinon) et D-DIN, version libre du
   DIN 1451 (licence OFL, fichiers de licence dans fonts/). */
@font-face { font-family: "D-DIN"; src: url("fonts/d-din-regular.woff2") format("woff2"); font-weight: 300 550; font-style: normal; font-display: swap; }
@font-face { font-family: "D-DIN"; src: url("fonts/d-din-bold.woff2") format("woff2"); font-weight: 551 900; font-style: normal; font-display: swap; }
@font-face { font-family: "D-DIN"; src: url("fonts/d-din-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "D-DIN Condensed"; src: url("fonts/d-din-condensed-bold.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Tinos"; src: url("fonts/tinos-latin-400-normal.woff2") format("woff2"); font-weight: 300 550; font-style: normal; font-display: swap; }
@font-face { font-family: "Tinos"; src: url("fonts/tinos-latin-700-normal.woff2") format("woff2"); font-weight: 551 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Tinos"; src: url("fonts/tinos-latin-400-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
	--ink: #111a2b;
	/* Gris des textes secondaires : 7,6:1 sur blanc (5,4:1 dans la proposition 4). */
	--muted: #4a5466;
	--line: #dde3ec;
	--paper: #f4f6f9;
	--marine: #0e4a87;
	--lavande: #7f97c5;
	--encadre: #e4ebf4;
	--encadre-fort: #c9d7e8;
	--beige: #f4ecdc;
	--beige-fort: #8a6a2e;
	--navy: #0e4a87;
	--navy-deep: #0a2f57;
	--night: #0b2541;
	--accent: #0e4a87;
	--sky: #7f97c5;
	--mint: #b9cbe6;
	--gradient: linear-gradient(120deg, #0e4a87 0%, #2f66a8 55%, #7f97c5 100%);
	/* Les polices du magazine : Times New Roman (titres en gras, texte), DIN (intitulés, chapôs, interface),
	   DIN Condensed (grands chiffres). */
	--times: "Times New Roman", Tinos, Times, serif;
	--titre: var(--times);
	--din: "D-DIN", "DIN 1451 Std", "DIN Alternate", "Helvetica Neue", Arial, sans-serif;
	--din-cond: "D-DIN Condensed", "DIN Condensed", "Arial Narrow", sans-serif;
	--serif: var(--times);
	--sans: var(--din);
	--display: var(--din);
	--label: var(--din);
	--r-lg: 22px;
	--r: 16px;
	--r-sm: 12px;
	/* Variables lues par la feuille des communiqués (présentation de la proposition 2). */
	--tile: 16px;
	--tile-in: 12px;
	--soft: var(--shadow);
	--lift: var(--shadow-hover);
}

.p5Sec-actualites { --sec: #1d63b0; }
.p5Sec-healthtech { --sec: #c23b5b; }
.p5Sec-magazine { --sec: #0e4a87; }
.p5Sec-pharma_rdp { --sec: #4f68b0; }
.p5Sec-evenements { --sec: #c8513f; }
.p5Sec-formation { --sec: #1f7f57; }
.p5Sec-videotheque { --sec: #1a7f93; }
.p5Sec-emploi { --sec: #2a7f47; }
.p5Hero, .p5 .previewListArticle:not(.evenements):not(.video):not(.formations) { --sec: #1d63b0; }
.p5 .previewListArticle.evenements { --sec: #c8513f; }

/* Halo du haut de page : les bleus du logo, plus discrets. */
.p5 .site::before {
	background:
		radial-gradient(42% 60% at 8% 0%, rgba(127, 151, 197, .22), transparent 70%),
		radial-gradient(38% 52% at 92% 0%, rgba(14, 74, 135, .10), transparent 70%);
}
.p5 ::selection { background: rgba(127, 151, 197, .35); }

/* --- Typographie : serif pour les titres, capitales condensées pour les intitulés --- */

.p5 :is(.p5BandTitle, .titreSlide, .titlePharmaHome, .titleArticle, .p5SecTitle, .titleEventsSlider, .titreVideoHome, .evenement-slim-title, .formation-slim-title, .titleAbo, .titlePrevActu, .titlePrevActu.evenements, .replays-title, .podcasts-title, .simplePage h1, .simplePage .inner > h2:first-child, .woocommerce-page h1, .emploi .welcome h3, .emploi .revuepresse h3, .actuWrapper h1, .emploi h1, .articleWrapper > h2, .articleWrapper > h3, .p5FilHead h2) { font-family: var(--titre); font-weight: 700; letter-spacing: -.012em; }
.p5 :is(.titlePreviewArticle, .p5MegaHead, .wrap-article h3, .p5Fil li a, .infosPreviewArticle h3, .item_emploi h3, .p5PhotoTitle) { font-family: var(--titre); font-weight: 650; letter-spacing: -.005em; }
.p5 :is(.pop, #p5Force) :is(h2, h3, h4), .p5 .qr-step :is(h2, h3, h4), .p5 .popup-header h3 { font-family: var(--titre); font-weight: 700; letter-spacing: -.01em; }

/* Étiquettes de rubrique : capitales condensées, sans pastille. */
.p5 :is(.cat-label, .itemSlider .cat-label, .previewListArticle.evenements .infosPreviewArticle > strong) {
	background: none !important;
	border-radius: 0;
	color: var(--sec) !important;
	font-family: var(--din);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .07em;
	padding: 0;
	text-transform: uppercase;
}
.p5 :is(.cat-label, .previewListArticle.evenements .infosPreviewArticle > strong)::before { display: none !important; }
.p5 :is(.p5MegaLabel, .p5LiveKicker, .evenement-slim-category, .formation-slim-category, .evt-category-text, .category-text, .headerInfosEventsSlider a, .p5Eyebrow, .p5Label, .titreMainBlocHome, .titleFormationsHome, .titleEventsHome, .titleVideoHome, .titleEmploiHome, .titleActuFilters, .twitterTitleActu) { font-family: var(--din); font-size: 14px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }

/* Lisibilité : résumés plus grands et plus foncés. */
.p5 .infosPreviewArticle p, .p5 .p5Feature > p, .p5 .lastActu .infos-pane p { color: var(--muted); }
.p5 .infosPreviewArticle p { font-size: 15px; }
.p5 .p5Block .wrap-mag-articles .wrap-article .infosPreviewArticle p { font-size: 15px; }

/* --- En-tête : le logo un peu plus grand --------------------------------- */

.p5 .logoLink img { height: 36px; }
@media (min-width: 1001px) and (max-width: 1200px) { .p5 .logoLink img { height: 31px; } }
@media (min-width: 1001px) and (max-width: 1080px) { .p5 .logoLink img { height: 28px; } }
@media (max-width: 1000px) { .p5 .logoLink img { height: 30px; } }
.p5 .mainMenuLink.current, .p5 .mainMenuItem.current-page-ancestor > .mainMenuLink { background: color-mix(in srgb, var(--marine) 9%, transparent); color: var(--marine); }
.p5 .p5Subscribe .mainMenuLink { box-shadow: 0 8px 20px -10px rgba(14, 74, 135, .7); }

/* --- Méga menu avec photos, comme dans la proposition 2 ------------------- */

.p5MegaCards { gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p5 .p5MegaCard { border-radius: var(--r-sm); display: block; margin: 0; padding: 0; }
.p5 .p5MegaCard:hover, .p5 .p5MegaCard:focus-visible { background: none; }
.p5MegaThumb { aspect-ratio: 16 / 9; background: var(--encadre); border-radius: var(--r-sm); display: block; margin-bottom: 10px; overflow: hidden; }
.p5MegaThumb:empty { background: var(--marine); }
.p5MegaThumb:empty::after { color: rgba(255, 255, 255, .7); content: "Pharmaceutiques"; font-family: var(--din); font-size: 18px; font-style: normal; font-weight: 600; }
.p5MegaThumb img { transition: transform .6s var(--ease); }
.p5 .p5MegaCard:hover .p5MegaThumb img { transform: scale(1.04); }
.p5MegaHead { font-size: 15.5px; line-height: 1.28; }
.p5 .p5MegaCard time { display: block; font-size: 13px; margin-top: 6px; }
@media (min-width: 1001px) {
	.p5MegaLinks { flex-basis: 250px; }
	.p5MegaLinks:has(.dropDown li:nth-child(5)) { flex-basis: 400px; }
}

/* --- Bandeau de rubrique : titre serif, filet fin comme en tête des pages du magazine --- */

.p5 .p5BandIn { border-bottom: 1px solid var(--ink); padding-bottom: 18px; }
.p5 .p5BandTitle { font-size: 50px; letter-spacing: -.02em; }

/* --- Accueil : en-têtes de section ---------------------------------------- */

.p5SecHead { border-top: 2px solid var(--ink); padding-top: 16px; }
.p5 .p5SecTitle { font-size: 34px; letter-spacing: -.015em; }
.p5 .p5SecTitle::before { display: none; }
.p5 .p5Dark .p5SecHead { border-top-color: rgba(255, 255, 255, .5); }
.p5Paid { background: var(--encadre); box-shadow: none; color: var(--marine); font-family: var(--din); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }

/* Intitulé des blocs : « MAGAZINE / LE NUMÉRO DU MOIS », le second terme en gris. */
.p5RowHead { align-items: center; border-bottom: 1px solid var(--ink); display: flex; gap: 12px; justify-content: space-between; margin: 0 0 16px; padding: 0 0 10px; }
.p5 .p5Kicker { color: var(--ink); font-family: var(--din); font-size: 16px; font-weight: 600; letter-spacing: .08em; line-height: 1.1; margin: 0; text-transform: uppercase; }
.p5 .p5Kicker span { color: #7d8797; }
.p5 .p5RowHead .p5Pill { flex: none; }

/* --- Accueil : la une resserrée ------------------------------------------- */

/* Les titres posés sur les photos : capitales blanches, sans pastille. */
/* Sélecteur renforcé : celui des étiquettes compte un :is() très spécifique. */
.p5 .p5Hero .itemSlider .infoSlide .cat-label { -webkit-backdrop-filter: none; backdrop-filter: none; background: none !important; box-shadow: none; color: #fff !important; }
.p5 .p5Hero .itemSlider .titreSlide { font-size: 20px; letter-spacing: -.01em; line-height: 1.2; }
.p5 .p5Hero .itemSlider .imgLinkSlider::after { background: linear-gradient(180deg, rgba(10, 30, 55, 0) 25%, rgba(10, 30, 55, .55) 55%, rgba(10, 30, 55, .92) 100%); }

@media (min-width: 1001px) {
	/* Une moins haute et moins large (la proposition 4 occupait 8 colonnes sur 470 px). */
	.p5 .p5Hero .itemSlider:nth-child(1) { grid-column: 1 / span 6; grid-row: 1 / span 2; min-height: 400px; }
	.p5 .p5Hero .itemSlider:nth-child(1) .infoSlide { padding: 28px 30px 28px !important; }
	.p5 .p5Hero .itemSlider:nth-child(1) .titreSlide { font-size: 31px; letter-spacing: -.018em; line-height: 1.1; }
	.p5 .p5Hero .itemSlider:nth-child(1) .infos-pane p { -webkit-box-orient: vertical; -webkit-line-clamp: 2; display: -webkit-box; font-size: 15.5px; overflow: hidden; }
	.p5 .p5Hero .itemSlider:nth-child(2) { grid-column: 7 / span 3; grid-row: 1; min-height: 190px; }
	.p5 .p5Hero .itemSlider:nth-child(3) { grid-column: 7 / span 3; grid-row: 2; min-height: 190px; }
	.p5 .p5Hero .itemSlider:not(:nth-child(1)) .infoSlide { padding: 18px 20px !important; }
	.p5 .p5Hero .itemSlider:not(:nth-child(1)) .titreSlide { -webkit-box-orient: vertical; -webkit-line-clamp: 3; display: -webkit-box; font-size: 17.5px; overflow: hidden; }
	.p5 .p5Hero .itemSlider:not(:nth-child(1)) .pubDate { display: none; }
	.p5 .p5Fil { grid-column: 10 / span 3; grid-row: 1 / span 2; }

	/* Variante C : pas de fil à côté de la une, il passe en vignettes dessous. */
	.p5Home-c .p5Hero .itemSlider:nth-child(1) { grid-column: 1 / span 7; }
	.p5Home-c .p5Hero .itemSlider:nth-child(2) { grid-column: 8 / span 5; }
	.p5Home-c .p5Hero .itemSlider:nth-child(3) { grid-column: 8 / span 5; }
}

/* Le fil : un encadré bleu-gris, comme les « Et aussi… » du magazine. */
.p5 .p5Fil { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--encadre); border-radius: var(--r-lg); box-shadow: none; padding: 20px 20px 12px; }
.p5 .p5FilHead { border-bottom: 1px solid var(--ink); margin-bottom: 6px; padding-bottom: 10px; }
.p5 .p5FilHead h2 { font-family: var(--din); font-size: 19px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.p5Pulse { background: #c23b5b; }
.p5 .p5Fil ol::before { background: linear-gradient(var(--encadre-fort), var(--encadre-fort)) no-repeat; }
.p5 .p5Fil li::before { background: var(--encadre); border-color: var(--marine); }
.p5 .p5Fil li:hover::before { background: var(--marine); }
.p5 .p5Fil li { padding: 9px 0 9px 22px; }
.p5 .p5Fil li a { font-size: 15px; line-height: 1.3; }
.p5 .p5Fil time { color: #3f4a5c; }

/* Communiqués dans le fil : fond beige et mention écrite, pour ne pas les confondre avec les articles. */
.p5PubliTag { color: var(--beige-fort); display: block; font-family: var(--din); font-size: 13.5px; font-weight: 600; letter-spacing: .07em; line-height: 1.2; margin: 0 0 4px; text-transform: uppercase; }
.p5 .p5Fil li.p5FilPubli { background: var(--beige); border-radius: 12px; margin: 4px -10px; padding: 10px 10px 10px 32px; }
.p5 .p5Fil li.p5FilPubli::before { background: var(--beige); border-color: var(--beige-fort); left: 10px; top: 14px; }

/* --- Variante C : les dernières actualités en vignettes ------------------- */

.p5Photos { margin-top: 30px; }
.p5PhotosGrid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p5 a.p5Photo { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); color: var(--ink); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .45s var(--ease), transform .45s var(--ease); }
.p5 a.p5Photo:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.p5PhotoImg { aspect-ratio: 16 / 9; background: var(--encadre); display: block; overflow: hidden; }
.p5PhotoImg img { display: block; height: 100%; object-fit: cover; transition: transform .9s var(--ease); width: 100%; }
.p5 a.p5Photo:hover .p5PhotoImg img { transform: scale(1.045); }
.p5PhotoText { display: flex; flex: 1 1 auto; flex-direction: column; gap: 6px; padding: 14px 18px 18px; }
.p5PhotoRub { color: var(--sec, #1d63b0); font-family: var(--din); font-size: 14px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.p5PhotoTitle { font-size: 18.5px; line-height: 1.25; }
.p5PhotoMeta { color: var(--muted); font-size: 13.5px; margin-top: auto; }
.p5 a.p5PhotoPubli { background: var(--beige); box-shadow: inset 0 0 0 1px rgba(138, 106, 46, .18); }
.p5 a.p5PhotoPubli .p5PhotoImg:not(:has(img)) { background: repeating-linear-gradient(135deg, #efe3cb 0 12px, #f4ecdc 12px 24px); }
.p5 a.p5PhotoPubli .p5PhotoImg:not(:has(img))::after { color: var(--beige-fort); content: "Communiqué"; display: grid; font-family: var(--din); font-size: 22px; font-weight: 600; height: 100%; letter-spacing: .08em; place-items: center; text-transform: uppercase; }

/* --- Évènement, magazine et revue de presse : visibles dès le premier écran --- */

.p5Rdv { display: grid; gap: 20px; margin-top: 28px; }
.p5RdvTrio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p5 .p5Card.p5RdvItem { background: var(--card); border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow); box-sizing: border-box; display: flex; flex-direction: column; min-width: 0; padding: 18px 20px 20px; }

/* Évènement : la photo, puis la date, le lieu et le titre. */
.p5 .p5RdvItem.eventsHome .sliderEvents, .p5 .p5RdvItem.eventsHome .wrapSliderEvents { height: auto; width: 100% !important; }
.p5 .p5RdvItem.eventsHome ul { list-style: none; margin: 0; padding: 0; transform: none !important; width: 100% !important; }
.p5 .p5RdvItem .sliderEventsItem { display: flex; flex-direction: column; gap: 12px; }
.p5 .p5RdvItem .sliderEventsItem:not(:first-child) { display: none; }
.p5 .p5RdvItem .imgSliderEvents { aspect-ratio: 16 / 9; border-radius: var(--r-sm); height: auto; margin: 0; overflow: hidden; width: 100%; }
.p5 .p5RdvItem .imgSliderEvents a, .p5 .p5RdvItem .imgSliderEvents img { display: block; height: 100%; object-fit: cover; width: 100%; }
.p5 .p5RdvItem .iconEventsInfos { display: none; }
.p5 .p5RdvItem .headerInfosEventsSlider { margin: 0 0 6px; }
.p5 .p5RdvItem .headerInfosEventsSlider a { color: var(--sec); }
.p5 .p5RdvItem .headerInfosEventsSlider a span { display: none; }
.p5 .p5RdvItem .titleEventsSlider { font-size: 19px; line-height: 1.25 !important; margin: 0 0 6px; }
.p5 .p5RdvItem .titleEventsSlider * { line-height: 1.25 !important; }
.p5 .p5RdvItem .titleEventsSlider a { color: var(--ink); }
.p5 .p5RdvItem .titleEventsSlider .capitale { display: block; margin-bottom: 8px; text-transform: none; }
/* La date de l'évènement suit le titre dans le même lien : elle passe en capitales condensées. */
.p5 .p5RdvItem .titleEventsSlider a { font-family: var(--din); font-size: 17px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.p5 .p5RdvItem .titleEventsSlider a .capitale { font-family: var(--titre); font-size: 19.5px; font-weight: 700; letter-spacing: -.005em; text-transform: none; }
.p5 .p5RdvItem .placeEventsSlider a { color: var(--muted); font-size: 14.5px; }
.p5 .p5RdvItem .extrait, .p5 .p5RdvItem .extrait p { -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: var(--muted); display: -webkit-box; font-size: 15px; line-height: 1.45; margin: 8px 0 0; overflow: hidden; }
.p5 .p5RdvItem .sliderNav, .p5 .p5RdvItem .nextEventsButton { display: none; }

/* Magazine : la couverture en grand, à la verticale. L'image du site est un bandeau avec la couverture
   au centre (gabarit identique d'un numéro à l'autre) : le cadre n'en montre que la couverture.
   En production, un champ « Couverture » serait plus sûr. */
.p5 .p5RdvItem.pharmaMagHome > .thumbPharmaHome, .p5 .p5MagBody > .thumbPharmaHome { background: var(--encadre); border-radius: var(--r); float: none; margin: 0 0 16px; padding: 22px 0; width: auto; }
.p5 .p5RdvItem .thumbPharmaHome > a { aspect-ratio: 300 / 392; box-shadow: 0 2px 4px rgba(11, 37, 65, .2), 0 18px 34px -14px rgba(11, 37, 65, .55); display: block; height: auto; margin: 0 auto; overflow: hidden; position: relative; transition: transform .5s var(--ease); width: min(190px, 56%); }
.p5 .p5RdvItem .thumbPharmaHome > a:hover { transform: translateY(-3px) rotate(-.6deg); }
.p5 .p5RdvItem .thumbPharmaHome img { height: auto; left: -120.67%; max-width: none; position: absolute; top: -7.14%; transform: none !important; width: 341.33%; }
.p5 .p5RdvItem.pharmaMagHome .titlePharmaHome { font-size: 20px; line-height: 1.22; margin: 0 0 8px; }
.p5 .p5RdvItem .titlePharmaHome a, .p5 .p5RdvItem .titlePharmaHome strong { color: var(--ink); font-weight: 700; }
.p5 .p5RdvItem.pharmaMagHome > p, .p5 .p5MagBody > p { -webkit-box-orient: vertical; -webkit-line-clamp: 4; color: var(--muted); display: -webkit-box; font-size: 15px; line-height: 1.5; margin: 0; overflow: hidden; }
.p5 .p5RdvItem .wrap-mag-articles:empty, .p5 .p5RdvItem .clear { display: none; }

/* Revue de presse : sa « une », avec la date et le chiffre du jour, en regard de la couverture. */
.p5 a.p5RdpUne { background: var(--marine); border-radius: var(--r); color: #fff; display: flex; flex-direction: column; isolation: isolate; margin: 0 0 16px; overflow: hidden; padding: 20px 22px 22px; position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.p5 a.p5RdpUne::before { background: radial-gradient(60% 70% at 100% 0%, rgba(127, 151, 197, .55), transparent 70%); content: ""; inset: 0; position: absolute; z-index: -1; }
.p5 a.p5RdpUne:hover { box-shadow: 0 18px 34px -16px rgba(11, 37, 65, .7); transform: translateY(-2px); }
.p5RdpUneHead { border-bottom: 1px solid rgba(255, 255, 255, .3); display: flex; flex-wrap: wrap; font-family: var(--din); font-size: 14px; font-weight: 600; gap: 4px 10px; justify-content: space-between; letter-spacing: .07em; padding-bottom: 10px; text-transform: uppercase; }
.p5RdpUneHead span { color: rgba(255, 255, 255, .7); }
.p5RdpUneLabel { color: var(--mint); font-family: var(--din); font-size: 15px; font-weight: 600; letter-spacing: .07em; margin-top: 18px; text-transform: uppercase; }
.p5RdpUneValeur { font-family: var(--din); font-size: 78px; font-weight: 700; letter-spacing: -.01em; line-height: .95; margin-top: 4px; }
.p5RdpUneUnite { font-family: var(--din); font-size: 22px; font-weight: 600; letter-spacing: .02em; line-height: 1.1; }
.p5RdpUneTexte { -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: rgba(255, 255, 255, .86); display: -webkit-box; font-size: 14.5px; line-height: 1.45; margin-top: 10px; overflow: hidden; }
/* Le titre de la revue suit ; son résumé répétait le chiffre du jour, et sa photo est la même chaque jour. */
.p5 .p5RdvTrio .rdpHome > .thumbPharmaHome, .p5 .p5RdvTrio .rdpHome > p { display: none; }
.p5 .p5RdvItem.rdpHome .titlePharmaHome { font-size: 18px; line-height: 1.25; margin: 0 0 4px; }
.p5 .p5RdvItem .wrap-mag-articles { border-top: 1px solid var(--line); display: block; margin: 8px 0 0; padding: 4px 0 0; width: auto; }
.p5 .p5RdvItem .wrap-mag-articles .wrap-article { align-items: start; border-top: 1px dotted #9aa5b5; column-gap: 0; display: block; padding: 10px 0; }
.p5 .p5RdvItem .wrap-mag-articles .wrap-article:first-child { border-top: 0; }
.p5 .p5RdvItem .wrap-mag-articles .wrap-article figure { display: none; }
.p5 .p5RdvItem .wrap-mag-articles .wrap-article h3 { font-size: 16px; line-height: 1.3; margin: 0; }
.p5 .p5RdvItem .wrap-mag-articles .wrap-article h3 a { color: var(--ink); }
.p5 .p5RdvItem .wrap-mag-articles .wrap-article p { -webkit-line-clamp: 2; color: var(--muted); font-size: 14.5px; margin: 4px 0 0; }

/* --- Variante B : le magazine en grand, la revue et l'évènement à côté ---- */

.p5RdvMag { align-items: start; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.p5RdvSide { display: grid; gap: 20px; min-width: 0; }
.p5MagBody { column-gap: 28px; display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); }
.p5 .p5MagBody > .thumbPharmaHome { grid-column: 1; grid-row: 1 / span 3; margin: 0; padding: 26px 0; }
.p5 .p5MagBody > .thumbPharmaHome > a { width: 76%; }
.p5 .p5MagBody > .titlePharmaHome { font-size: 25px; grid-column: 2; line-height: 1.15; margin: 0 0 10px; }
.p5 .p5MagBody > p { -webkit-line-clamp: 6; grid-column: 2; }
.p5MagList { grid-column: 2; margin-top: 16px; }
.p5 .p5MagListTitle { border-bottom: 1px solid var(--ink); color: var(--ink); font-family: var(--din); font-size: 15px; font-weight: 600; letter-spacing: .08em; margin: 0 0 4px; padding-bottom: 6px; text-transform: uppercase; }
.p5MagList ul { list-style: none; margin: 0; padding: 0; }
.p5MagList li { border-bottom: 1px dotted #9aa5b5; }
.p5MagList li:last-child { border-bottom: 0; }
.p5 .p5MagList a { color: var(--ink); display: block; font-family: var(--titre); font-size: 15.5px; font-weight: 650; line-height: 1.3; padding: 9px 0; }
.p5 .p5MagList a:hover { color: var(--marine); }
.p5 .p5RdvMag .rdpHome > .thumbPharmaHome { display: none; }
.p5 .p5RdvMag .rdpHome > p { -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--muted); display: -webkit-box; font-size: 15px; margin: 0; overflow: hidden; }
.p5 .p5RdvMag .eventsHome .sliderEventsItem { display: grid; gap: 0 16px; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); }
.p5 .p5RdvMag .eventsHome .extrait { display: none; }

/* « En chiffres » : les tuiles bleues du magazine, avec les derniers chiffres du jour. */
.p5Chiffres { margin-top: 36px; }
.p5 .p5ChiffresTitle { color: var(--ink); font-family: var(--din); font-size: 20px; font-weight: 700; letter-spacing: .06em; margin: 0 0 12px; text-align: center; text-decoration: underline; text-decoration-thickness: 2px; text-transform: uppercase; text-underline-offset: 5px; }
.p5ChiffresGrid { display: grid; gap: 4px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p5 a.p5ChiffreTuile { background: #2d6a9a; color: #fff; display: flex; flex-direction: column; padding: 20px 22px 18px; text-align: center; transition: filter .3s; }
.p5 a.p5ChiffreTuile:nth-child(2) { background: var(--marine); }
.p5 a.p5ChiffreTuile:nth-child(3) { background: #5f87b3; }
.p5 a.p5ChiffreTuile:hover { filter: brightness(1.08); }
.p5ChiffresGrid > :first-child { border-radius: var(--r) 0 0 var(--r); }
.p5ChiffresGrid > :last-child { border-radius: 0 var(--r) var(--r) 0; }
.p5ChiffreValeur { font-family: var(--din); font-size: 60px; font-weight: 700; line-height: 1; }
.p5ChiffreUnite { font-family: var(--din); font-size: 21px; font-weight: 600; line-height: 1.1; margin-top: 2px; }
.p5ChiffreTexte { font-size: 14.5px; font-weight: 500; line-height: 1.4; margin-top: 10px; }
.p5ChiffreSource { color: rgba(255, 255, 255, .7); font-family: var(--din); font-size: 13px; font-weight: 600; letter-spacing: .06em; margin-top: auto; padding-top: 12px; text-transform: uppercase; }

/* --- HealthTech et vidéothèque -------------------------------------------- */

.p5 .p5Dark { background: var(--night); }
.p5 .p5Dark::before { background: radial-gradient(34% 60% at 10% 0%, rgba(127, 151, 197, .3), transparent 70%), radial-gradient(30% 55% at 92% 100%, rgba(47, 102, 168, .35), transparent 70%); }
.p5Duo.p5Solo { grid-template-columns: minmax(0, 1fr); }
.p5 .p5Solo .videoHomeContainer { grid-template-columns: minmax(0, 58%) minmax(0, 1fr); }
.p5 .p5Dark .p5Duo .headerInfosEventsSlider a { color: var(--mint); }
.p5 .p5Duo :is(.titleEventsSlider a, .titreVideoHome a):hover { color: #c9d7e8; }

/* --- Listes et articles : quelques marques du magazine --------------------- */

.p5 .mostConsultItem::before { -webkit-background-clip: border-box; background: none; background-clip: border-box; color: var(--lavande); font-family: var(--din); font-size: 36px; font-style: normal; font-weight: 700; }
.p5 .titleArticle { font-size: 44px; letter-spacing: -.02em; line-height: 1.08; }
/* Citations : en gris et en capitales condensées, comme les exergues du magazine. */
.p5 .articleWrapper > blockquote { color: #6b7586; font-family: var(--din); font-size: 30px; font-style: normal; font-weight: 600; line-height: 1.15; padding-left: 0; }
.p5 .articleWrapper > blockquote::before { background: none; bottom: auto; color: var(--lavande); content: "«"; font-size: 64px; left: -4px; line-height: 1; position: relative; top: auto; width: auto; display: block; height: 40px; }
.p5 .articleWrapper a:not([class]) { color: var(--marine); text-decoration-color: color-mix(in srgb, var(--marine) 35%, transparent); }
.p5 .articleWrapper a:not([class]):hover { text-decoration-color: var(--marine); }
@supports (animation-timeline: scroll()) { body.p5.single::after { background: var(--marine); } }

/* --- Sélecteur de variante de l'accueil ------------------------------------ */

.p5Variantes { -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); align-items: center; background: rgba(255, 255, 255, .88); border-radius: 999px; bottom: 16px; box-shadow: 0 0 0 1px rgba(11, 21, 38, .1), 0 18px 40px -16px rgba(11, 21, 38, .45); display: flex; font-size: 14px; gap: 4px; left: 50%; max-width: calc(100% - 24px); padding: 5px; position: fixed; transform: translateX(-50%); z-index: 950; }
.p5VariantesLabel { color: var(--muted); font-family: var(--din); font-weight: 600; letter-spacing: .07em; padding: 0 8px 0 12px; text-transform: uppercase; }
.p5 .p5Variantes a { border-radius: 999px; color: var(--ink); font-weight: 600; padding: 8px 14px; transition: background .2s; white-space: nowrap; }
.p5 .p5Variantes a b { font-family: var(--din); font-size: 15px; margin-right: 2px; }
.p5 .p5Variantes a:hover { background: var(--encadre); }
.p5 .p5Variantes a[aria-current="page"] { background: var(--marine); color: #fff; }

/* --- Tablette et mobile ----------------------------------------------------- */

@media (max-width: 1100px) {
	.p5RdvMag { grid-template-columns: minmax(0, 1fr); }
	.p5RdvSide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.p5 .p5RdvMag .eventsHome .sliderEventsItem { display: flex; }
}
@media (max-width: 1000px) {
	.p5RdvTrio, .p5PhotosGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.p5RdvTrio > .eventsHome { grid-column: 1 / -1; }
	.p5RdvTrio > .eventsHome .sliderEventsItem { display: grid; gap: 0 18px; grid-template-columns: minmax(0, 45%) minmax(0, 1fr); }
	.p5ChiffresGrid { grid-template-columns: minmax(0, 1fr); }
	.p5ChiffresGrid > :first-child { border-radius: var(--r) var(--r) 0 0; }
	.p5ChiffresGrid > :last-child { border-radius: 0 0 var(--r) var(--r); }
	.p5 .p5Hero .itemSlider:nth-child(1) { min-height: 360px; }
	.p5 .p5Hero .itemSlider:nth-child(1) .titreSlide { font-size: 28px; }
}
@media (max-width: 720px) {
	.p5RdvTrio, .p5PhotosGrid, .p5RdvSide { grid-template-columns: minmax(0, 1fr); }
	.p5RdvTrio > .eventsHome .sliderEventsItem { display: flex; }
	.p5MagBody { grid-template-columns: minmax(0, 1fr); }
	.p5 .p5MagBody > .thumbPharmaHome { grid-row: auto; margin-bottom: 16px; }
	.p5 .p5MagBody > :is(.titlePharmaHome, p), .p5MagList { grid-column: 1; }
	.p5 .p5Hero .itemSlider:nth-child(1) { min-height: 380px; }
	.p5 .p5Hero .itemSlider:nth-child(1) .titreSlide { font-size: 25px; }
	.p5 .p5BandTitle { font-size: 34px; }
	.p5 .p5SecTitle { font-size: 28px; }
	.p5 .titleArticle { font-size: 31px; }
	.p5RdpUneValeur { font-size: 64px; }
	.p5ChiffreValeur { font-size: 52px; }
	.p5 .articleWrapper > blockquote { font-size: 25px; }
	.p5Variantes { bottom: 10px; font-size: 13px; }
	.p5VariantesLabel { display: none; }
	.p5 .p5Variantes a { padding: 8px 11px; }
}

@media print { .p5Variantes { display: none; } }

/* Le lien « Tout voir » du fil garde sa forme de pastille (la règle des liens du fil le passait en bloc). */
.p5 .p5Fil .p5FilHead a.p5Pill { display: inline-flex; font-family: var(--sans); font-size: 13px; font-weight: 600; }

/* Le cadre de la couverture : le socle force les vignettes du magazine en 2:1. */
.p5 .p5RdvItem .thumbPharmaHome { aspect-ratio: auto; height: auto; overflow: visible; }

/* En-tête du fil sur une ligne, même étroit. */
.p5 .p5FilHead h2 { font-size: 17px; white-space: nowrap; }

/* HealthTech à côté de l'encart : l'image et le sujet principal, puis la liste dessous sur deux colonnes. */
@media (min-width: 1101px) {
	.p5 .p5WithPub .p5Feature { grid-template-columns: 240px minmax(0, 1fr); }
	.p5 .p5WithPub .p5Feature > .wrap-mag-articles { border-left: 0; border-top: 1px solid var(--line); column-gap: 28px; display: grid; grid-column: 1 / -1; grid-row: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; padding: 6px 4px 0; }
	.p5 .p5Block .p5WithPub .p5Feature .wrap-mag-articles .wrap-article:nth-child(2) { border-top: 0; padding-top: 6px; }
}

/* Variante B : la couverture reste en haut de sa colonne ; le chiffre du jour n'apparaît que dans « En chiffres ». */
.p5 .p5MagBody > .thumbPharmaHome { align-self: start; }
.p5 .p5RdvMag .rdpHome > p { display: none; }

/* Variante C : une actualité sans photo garde une vignette, aux couleurs du logo. */
.p5 a.p5Photo:not(.p5PhotoPubli) .p5PhotoImg:not(:has(img)) { align-items: center; background: var(--marine); background-image: radial-gradient(60% 80% at 100% 0%, rgba(127, 151, 197, .6), transparent 70%); display: flex; justify-content: center; }
.p5 a.p5Photo:not(.p5PhotoPubli) .p5PhotoImg:not(:has(img))::after { color: rgba(255, 255, 255, .85); content: "Pharmaceutiques"; font-family: var(--din); font-size: 24px; font-weight: 600; }

/* Mobile : les deux sujets secondaires de la une sont moins hauts, pour remonter les blocs suivants. */
@media (max-width: 720px) {
	.p5 .p5Hero .itemSlider:nth-child(2), .p5 .p5Hero .itemSlider:nth-child(3) { min-height: 190px; }
}
