/* =========================================================================
   Revue UX/UI de Simon (09/10/2026). Chargé sur tout le site, après theme.css.
   1. Largeur  2. En-tête, logo, menu  3. Accueil (bandeau, carrousel, mission, angles,
   services, avis)  4. Pied  5. Avertissement de sortie  6. Recherche instantanée
   ========================================================================= */

/* ---------- 1. Largeur : le contenu occupe l'écran (le conteneur plafonnait à 1040 px utiles) ---------- */
:root { --hm-conteneur: 1280px; --hm-gouttiere: clamp(16px, 4vw, 48px); }
@media (min-width: 1500px) { :root { --hm-conteneur: 1440px; } }

/* ---------- 2. En-tête ---------- */
/* Logo sans fond blanc (fichier transparent) */
.hm-logo__img { background: none; }

/* Entre 900 et 1199 px, menu + 4 boutons ne tiennent pas sur une ligne : bouton Menu, comme sur téléphone. */
@media (min-width: 900px) and (max-width: 1199.98px) {
	.hm-nav, .hm-entete__actions { display: none; }
	.hm-entete__mobile { display: flex; }
}
@media (min-width: 1200px) {
	.hm-entete__in { gap: 16px; }
	.hm-nav { display: flex; justify-content: center; min-width: 0; }
	.hm-nav__liste { flex-wrap: nowrap; gap: 2px; }
	/* Même hauteur, même corps et même forme pour les liens du menu et les boutons d'action */
	.hm-nav__liste a, .hm-nav__liste .hm-nav__ouvrir {
		min-height: 40px; padding: 8px 14px; font-size: 15px; font-weight: 700; line-height: 1;
	}
	.hm-entete__actions { gap: 8px; }
	.hm-entete__actions .hm-btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
	.hm-entete__actions .hm-bouton-icone { width: 40px; height: 40px; }
}
@media (min-width: 1200px) and (max-width: 1379.98px) {
	/* « Mon espace » se réduit à son icône pour garder une seule ligne (le nom reste lu). */
	.hm-entete__actions .hm-btn--fantome { padding-inline: 10px; font-size: 0; gap: 0; }
	.hm-entete__actions .hm-btn--fantome .hm-ic { font-size: 15px; }
}

/* Sous-menu « Lire et écouter » */
.hm-nav__liste .menu-item-has-children { position: relative; }
.hm-nav__liste .hm-nav__ouvrir {
	display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: var(--hm-r-pilule);
	background: transparent; color: var(--hm-encre); font-family: inherit; cursor: pointer; white-space: nowrap;
}
.hm-nav__liste .hm-nav__ouvrir::after, .hm-nav__liste .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg); transition: transform 0.2s;
}
.hm-nav__liste .hm-nav__ouvrir[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 3px; }
.hm-nav__liste .hm-nav__ouvrir:hover, .hm-nav__liste .hm-nav__ouvrir[aria-expanded="true"] { background: var(--hm-surface); }
.hm-nav__liste .hm-nav__ouvrir:focus-visible { outline: 3px solid var(--hm-lagune-2); outline-offset: 2px; }
.hm-nav__liste .sub-menu {
	/* Revue UX du 11/10/2026 : calé sur le bord gauche du bouton parent (le centrage le décalait). */
	position: absolute; top: calc(100% + 8px); left: 0; z-index: 70; display: none; min-width: 230px;
	margin: 0; padding: 8px; list-style: none;
	background: var(--hm-surface); border: 1px solid var(--hm-filet); border-radius: 16px; box-shadow: var(--hm-ombre-3);
}
/* Pont invisible : la souris traverse l'écart sans refermer le sous-menu */
.hm-nav__liste .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.hm-nav__liste .sub-menu a { display: flex; width: 100%; border-radius: 10px; padding: 12px 14px; }
.hm-nav__liste .sub-menu a:hover { background: var(--hm-fond); }
.hm-nav__liste .menu-item-has-children.is-ouvert > .sub-menu,
html:not(.hm-js) .hm-nav__liste .menu-item-has-children:hover > .sub-menu,
html:not(.hm-js) .hm-nav__liste .menu-item-has-children:focus-within > .sub-menu { display: block; }
.hm-nav__liste .menu-item-has-children.is-cur > .hm-nav__ouvrir,
.hm-nav__liste .menu-item-has-children:has(.is-cur) > .hm-nav__ouvrir { background: var(--hm-lagune-pale); color: var(--hm-lagune); }

/* ---------- 3. Accueil ---------- */
/* Bandeau : photo plus grande, franchement rectangulaire */
@media (min-width: 900px) {
	.hm-bandeau__in { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 64px); }
	.hm-bandeau__media img { aspect-ratio: 3 / 2; border-radius: var(--hm-r-sm); }
}
.hm-bandeau__media img { border-radius: var(--hm-r-sm); }

/* Carrousel de tous les numéros : défile seul, sans barre visible */
.hm-carrousel {
	overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none;
	padding-inline: max(var(--hm-gouttiere), calc((100vw - var(--hm-conteneur)) / 2 + var(--hm-gouttiere)));
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	cursor: grab;
}
.hm-carrousel::-webkit-scrollbar { display: none; }
.hm-carrousel.is-tire { cursor: grabbing; }
.hm-carrousel.is-auto { padding-inline: 0; overflow: hidden; touch-action: pan-y; cursor: grab; }
.hm-carrousel.is-auto .hm-couvertures__rangee { will-change: transform; }
.hm-carrousel .hm-couvertures__rangee { width: max-content; overflow: visible; scroll-snap-type: none; padding: 10px 0 18px; }
.hm-carrousel .hm-couvertures__rangee li { width: 112px; scroll-snap-align: none; }
@media (min-width: 900px) { .hm-carrousel .hm-couvertures__rangee li { width: 140px; } }
.hm-carrousel img { -webkit-user-drag: none; user-select: none; }
/* La copie ne sert qu'à la boucle animée */
html:not(.hm-js) .hm-couvertures__copie { display: none; }
@media (prefers-reduced-motion: reduce) { .hm-couvertures__copie { display: none; } }


/* Angles : onglets dynamiques */
.hm-angles__pastilles { margin-top: 24px; margin-bottom: 18px; }
.hm-angles__pastille { cursor: pointer; background: transparent; font-family: inherit; }
.hm-angles__pastille.is-on { background: var(--hm-encre); color: var(--hm-fond); }
.hm-angles__panneau[hidden] { display: none; }
.hm-angles__panneau .hm-angles__grille { margin-top: 0; }
.hm-angles__panneau.is-entree .hm-angle { animation: hm-angle-entree 0.45s var(--hm-ease) both; }
.hm-angles__panneau.is-entree .hm-angle:nth-child(2) { animation-delay: 0.05s; }
.hm-angles__panneau.is-entree .hm-angle:nth-child(3) { animation-delay: 0.1s; }
.hm-angles__panneau.is-entree .hm-angle:nth-child(4) { animation-delay: 0.15s; }
@keyframes hm-angle-entree { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hm-angle__nombre { margin-top: 4px; font-size: 14px; font-weight: 600; opacity: 0.9; }
.hm-angle__nom--article { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.2; }
.hm-angle--article { background: var(--hm-brume-fonce); }
.hm-angles__tout { margin: 16px 0 0; }

/* Compagnon et boutique : deux cartes compactes côte à côte */
.hm-services { padding: 0 0 var(--hm-section); }
.hm-services__in { display: grid; gap: 20px; }
@media (min-width: 900px) { .hm-services__in { grid-template-columns: 1.15fr 0.85fr; gap: 24px; } }
.hm-service { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: var(--hm-r); }
.hm-service__etiquette { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: var(--hm-t-etiquette); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.hm-service__titre { margin: 0; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.hm-service__texte { margin: 0; font-size: 16px; }
.hm-service__note { margin: auto 0 0; font-size: 14px; opacity: 0.85; }
.hm-service__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.hm-service__lien { font-weight: 700; color: inherit; text-underline-offset: 4px; }
.hm-service--compagnon { background: linear-gradient(135deg, var(--hm-prune), var(--hm-prune-fonce)); color: #fff; }
.hm-service--compagnon .hm-service__titre, .hm-service--compagnon .hm-service__lien { color: #fff; }
.hm-service--compagnon .hm-service__etiquette { color: #ffe1e5; }
.hm-service__question { display: flex; gap: 8px; padding: 6px; border-radius: var(--hm-r-pilule); background: #fff; }
.hm-service__question input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 14px; font: inherit; font-size: 16px; color: var(--hm-encre); }
.hm-service__question input:focus { outline: none; }
.hm-service__question:focus-within { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55); }
.hm-service__question button { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--hm-prune); color: #fff; cursor: pointer; }
.hm-service__question button:hover { background: var(--hm-prune-fonce); }
.hm-service--boutique { background: var(--hm-argile-pale); color: var(--hm-texte); }
.hm-service--boutique .hm-service__etiquette { color: var(--hm-argile); }
.hm-service__rayons { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hm-service__rayons a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: var(--hm-r-pilule); background: var(--hm-surface); color: var(--hm-argile); font-weight: 700; text-decoration: none; }
.hm-service__rayons a:hover { background: #fff; box-shadow: var(--hm-ombre-1); }

/* Avis (« Ils nous aiment ») : un message en vedette, les autres en colonnes */
.hm-avis { padding: var(--hm-section) 0; background: var(--hm-surface); border-block: 1px solid var(--hm-filet); }
.hm-avis__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 28px; }
.hm-avis__tete h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); }
.hm-avis__tete p { margin: 0; color: var(--hm-secondaire); }
.hm-avis__grille { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .hm-avis__grille { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; } }
/* Revue UX du 11/10/2026 : fond clair (l'encre était trop sombre), guillemet dans sa propre ligne. */
.hm-avis__une { position: relative; margin: 0; padding: clamp(28px, 3.5vw, 44px); border-radius: var(--hm-r); background: var(--hm-lagune-brume); border: 1px solid var(--hm-lagune-pale); color: var(--hm-encre); }
@media (min-width: 900px) { .hm-avis__une { position: sticky; top: calc(var(--hm-entete-h) + 20px); } }
.hm-avis__guillemet { display: block; margin: 0 0 10px; font-family: var(--hm-police-titre); font-weight: 700; font-size: 64px; line-height: 1; color: var(--hm-accent, #c4253a); }
.hm-avis__une blockquote { margin: 0 0 22px; }
.hm-avis__une blockquote p { margin: 0; font-family: var(--hm-police); font-weight: 400; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.7; letter-spacing: 0.005em; color: var(--hm-encre); text-wrap: pretty; }
.hm-avis__une cite { color: var(--hm-encre); }
.hm-avis__colonnes { columns: 2 260px; column-gap: 16px; }
.hm-avis__carte { break-inside: avoid; margin: 0 0 16px; padding: 20px 22px; border: 1px solid var(--hm-filet); border-radius: 14px; background: var(--hm-fond); }
.hm-avis__carte blockquote { margin: 0 0 14px; }
.hm-avis__carte blockquote p { margin: 0; font-family: var(--hm-police); font-weight: 400; font-size: 17px; line-height: 1.65; letter-spacing: 0.005em; color: var(--hm-texte); text-wrap: pretty; }
.hm-avis figcaption { display: flex; align-items: center; gap: 10px; }
.hm-avis cite { font-style: normal; font-family: var(--hm-police-titre); font-weight: 600; font-size: 16px; letter-spacing: 0.01em; color: var(--hm-encre); }
.hm-avis__initiale { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--hm-lagune-pale); color: var(--hm-lagune); font-weight: 700; font-size: 14px; }
.hm-avis__une .hm-avis__initiale { background: var(--hm-accent, #c4253a); color: #fff; }
.hm-avis__plus { display: none; margin: 8px auto 0; min-height: 44px; padding: 10px 22px; border: 1.5px solid var(--hm-encre); border-radius: var(--hm-r-pilule); background: transparent; color: var(--hm-encre); font: 700 15px var(--hm-police); cursor: pointer; }
@media (max-width: 899.98px) {
	html.hm-js .hm-avis:not(.is-tout) .hm-avis__carte--suite { display: none; }
	html.hm-js .hm-avis__plus { display: block; }
}

/* ---------- 4. Pied ---------- */
.hm-pied__marque .hm-logo { padding: 0; background: none; }
.hm-pied__marque .hm-logo__img { filter: brightness(0) invert(1); height: 44px; }
/* Lettre d'information centrée */
.hm-pied__newsletter { margin-inline: auto; text-align: center; }
.hm-pied__newsletter .hmm-newsletter__ligne { justify-content: center; }
.hm-pied__newsletter .hmm-newsletter__texte, .hm-pied__newsletter .hmm-newsletter__note { margin-inline: auto; }

/* ---------- 5. Avertissement avant la boutique (nouvel onglet) ---------- */
.hm-avertissement {
	position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 120;
	display: flex; align-items: center; gap: 10px; max-width: min(92vw, 460px); padding: 14px 18px;
	border-radius: 14px; background: var(--hm-encre); color: #fff; font-size: 15px; font-weight: 600;
	box-shadow: var(--hm-ombre-3); transform: translate(-50%, 0); transition: opacity 0.25s, transform 0.25s var(--hm-ease);
}
.hm-avertissement[hidden] { display: none; }
.hm-avertissement.is-sortie { opacity: 0; transform: translate(-50%, 12px); }
@media (max-width: 899.98px) { .hm-avertissement { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- 6. Recherche instantanée ---------- */
.hm-recherche { position: relative; }
.hm-suggestions {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 80; margin: 0; padding: 8px; list-style: none;
	max-height: min(60vh, 460px); overflow-y: auto; background: var(--hm-surface); border: 1px solid var(--hm-filet);
	border-radius: 16px; box-shadow: var(--hm-ombre-3); text-align: left;
}
.hm-suggestions[hidden] { display: none; }
.hm-suggestions a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--hm-encre); text-decoration: none; }
.hm-suggestions a:hover, .hm-suggestions a:focus-visible, .hm-suggestions a.is-actif { background: var(--hm-fond); outline: none; }
.hm-suggestions small { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hm-lagune); }
.hm-suggestions b { font-weight: 700; }
.hm-suggestions__vide { padding: 12px; color: var(--hm-secondaire); }
.hm-suggestions__tout { border-top: 1px solid var(--hm-filet); margin-top: 6px; padding-top: 6px; }

/* ---------- 7. Pages : contenu centré, pleine largeur utile ---------- */
.hmm-page { padding-inline: var(--hm-gouttiere); }
.hm-page__in { justify-content: center; }
.hm-page__in > .hm-prose { width: 100%; max-width: 760px; margin-inline: auto; }
@media (min-width: 900px) { .hm-page__in--sommaire { grid-template-columns: 240px minmax(0, 760px); justify-content: center; } }
.hm-prose img { border-radius: var(--hm-r-sm); }

/* ---------- 8. Blog : rubriques ---------- */
.hm-liste .hm-rubriques { gap: 8px; }
.hm-liste .hm-rubriques .hm-pastille { min-height: 40px; padding: 8px 16px; font-size: 15px; text-transform: none; letter-spacing: 0; }
.hm-liste .hm-rubriques .hm-pastille.is-cur { background: var(--hm-encre); border-color: var(--hm-encre); color: var(--hm-fond); }
@media (max-width: 639.98px) {
	.hm-liste .hm-rubriques { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--hm-gouttiere) * -1); padding-inline: var(--hm-gouttiere); }
	.hm-liste .hm-rubriques::-webkit-scrollbar { display: none; }
	.hm-liste .hm-rubriques .hm-pastille { flex: none; }
}
.hm-liste.is-chargement .hm-grille { opacity: 0.4; transition: opacity 0.2s; }

/* ---------- 9. Article ---------- */
/* Encart Compagnon : une seule boîte (le module et le thème en dessinaient deux), boutons pleine largeur */
.hm-encart-compagnon { padding: 24px; }
.hm-encart-compagnon .hmm-compagnon-encart { margin: 0; padding: 0; background: none; border-radius: 0; }
.hm-encart-compagnon .hmm-compagnon-encart__titre { font-family: var(--hm-police-titre); font-size: 20px; }
.hm-encart-compagnon .hmm-compagnon-encart__texte { font-size: 15px; color: var(--hm-texte); }
.hm-encart-compagnon .hmm-compagnon-encart__actions { display: grid; gap: 8px; }
.hm-encart-compagnon .hmm-compagnon-encart__titre .hmm-ic { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--hm-prune); color: #fff; }
@media (min-width: 900px) { .hm-single__corps { grid-template-columns: minmax(0, 1fr) 320px; } }
/* Précédent / suivant : vignette de l'article */
.hm-voisin { flex-direction: row; align-items: center; gap: 16px; }
.hm-voisin__texte { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hm-voisin--suivant { justify-content: flex-end; }
.hm-voisin--suivant .hm-voisin__texte { align-items: flex-end; }
.hm-voisin__img { flex: none; width: 84px; height: 84px; object-fit: cover; border-radius: 12px; }

/* ---------- 10. Volet Compagnon : palette E « sauge et rouge » (choix du 11/10/2026) ---------- */
.hmm-compagnon-volet { border: 1px solid rgba(31, 47, 37, 0.14); }
.hmm-compagnon-volet__tete { background: #d9e4dc; color: #1f2f25; border-bottom: 1px solid rgba(31, 47, 37, 0.14); }
.hmm-compagnon-volet__tete strong { font-family: var(--hm-police-titre); color: #1f2f25; }
.hmm-compagnon-volet__ouvrir { color: #34503f; font-weight: 700; }
.hmm-compagnon-volet__fermer { background: #c3d3c8; color: #1f2f25; }
.hmm-compagnon-volet__fermer:hover { background: #3f5a48; color: #fff; }
.hmm-compagnon-volet__cadre { background: #f7faf8; }

/* ---------- 11. Numéros : fil d'Ariane, cartes du magazine ---------- */
.hmm-numero__retour { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }
.hmm-numero__retour .hm-ariane { margin: 0; }
.hmm-numero__tous { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 1.5px solid var(--hm-filet-fort); border-radius: var(--hm-r-pilule); color: var(--hm-encre); font-weight: 700; font-size: 15px; text-decoration: none; }
.hmm-numero__tous:hover { background: var(--hm-surface); border-color: var(--hm-encre); }
.hmm-carte--numero .hmm-carte__titre { margin-top: 10px; font-family: var(--hm-police-titre); font-size: 20px; color: var(--hm-encre); }
.hmm-carte--numero .hmm-carte__saison { font-size: 14px; }

/* ---------- 12. Ressources : cartes avec couverture ---------- */
.hmm-grille--ressources { gap: 20px; }
.hmm-carte--ressource { padding: 0; overflow: hidden; border-radius: var(--hm-r); transition: transform 0.3s var(--hm-ease), box-shadow 0.3s var(--hm-ease); }
.hmm-carte--ressource:hover { transform: translateY(-4px); box-shadow: var(--hm-ombre-2); }
.hmm-carte--ressource .hmm-carte__lien { height: 100%; gap: 6px; padding-bottom: 20px; }
.hmm-carte--ressource .hmm-carte__lien > :not(.hmm-carte__couv) { margin-inline: 20px; }
.hmm-carte--ressource, .hmm-carte--ressource .hmm-carte__lien { background: var(--hm-surface, #fff); }
.hmm-carte__couv { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 8px; background: var(--hm-lagune-brume); }
.hmm-carte__couv img { background: var(--hm-lagune-brume); }
.hmm-carte__couv img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; transition: transform 0.6s var(--hm-ease); }
.hmm-carte--ressource:hover .hmm-carte__couv img { transform: scale(1.05); }
.hmm-carte__couv-vide { font-family: var(--hm-police-titre); font-weight: 700; font-size: 56px; color: var(--hm-lagune); }
.hmm-carte--ressource .hmm-carte__type { display: inline-block; justify-self: start; padding: 4px 10px; border-radius: var(--hm-r-pilule); background: var(--hm-lagune-pale); color: var(--hm-lagune); font-size: 13px; font-weight: 700; }
.hmm-carte--ressource .hmm-carte__titre { font-family: var(--hm-police-titre); font-size: 19px; line-height: 1.25; color: var(--hm-encre); }
@media (prefers-reduced-motion: no-preference) {
	.hmm-grille--ressources .hmm-carte { animation: hm-carte-entree 0.5s var(--hm-ease) both; }
	.hmm-grille--ressources .hmm-carte:nth-child(3n+2) { animation-delay: 0.06s; }
	.hmm-grille--ressources .hmm-carte:nth-child(3n) { animation-delay: 0.12s; }
}
@keyframes hm-carte-entree { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 13. Contact ---------- */
.hm-contact { padding-bottom: var(--hm-section); }
.hm-contact__tete { padding-top: 24px; margin-bottom: 32px; }
.hm-contact__tete h1 { margin-bottom: 10px; }
.hm-contact__chapo { max-width: 60ch; font-size: 19px; color: var(--hm-secondaire); }
.hm-contact__grille { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) {
	.hm-contact__grille { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; }
	.hm-contact__formulaire { position: sticky; top: calc(var(--hm-entete-h) + 20px); }
}
.hm-contact__infos { display: grid; gap: 14px; }
.hm-contact__carte { display: flex; gap: 16px; padding: 20px 22px; border: 1px solid var(--hm-filet); border-radius: var(--hm-r); background: var(--hm-surface); }
.hm-contact__icone { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--hm-lagune-pale); color: var(--hm-lagune); }
.hm-contact__carte-texte { min-width: 0; }
.hm-contact__carte h2 { margin: 0 0 4px; font-size: 20px; }
.hm-contact__carte p { margin: 0; font-size: 15px; color: var(--hm-secondaire); }
.hm-contact__adresse { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px !important; }
.hm-contact__adresse a { font-weight: 700; font-size: 17px; color: var(--hm-lagune); overflow-wrap: anywhere; }
.hm-contact__copier { min-height: 32px; padding: 4px 12px; border: 1px solid var(--hm-filet-fort); border-radius: var(--hm-r-pilule); background: transparent; color: var(--hm-encre); font: 700 13px var(--hm-police); cursor: pointer; }
.hm-contact__copier:hover { background: var(--hm-fond); }
.hm-contact__lien-carte { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 18px 22px; border-radius: var(--hm-r); background: var(--hm-lagune-brume); color: var(--hm-encre); text-decoration: none; transition: transform 0.2s var(--hm-ease); }
.hm-contact__lien-carte:hover { transform: translateX(3px); }
.hm-contact__lien-carte b { font-family: var(--hm-police-titre); font-size: 18px; }
.hm-contact__lien-carte span { grid-column: 1; font-size: 15px; color: var(--hm-secondaire); }
.hm-contact__lien-carte .hm-ic { grid-column: 2; grid-row: 1 / span 2; color: var(--hm-lagune); }
.hm-contact__lien-carte--compagnon { background: var(--hm-prune-pale); }
.hm-contact__lien-carte--compagnon .hm-ic { color: var(--hm-prune); }
.hm-contact__photo { margin: 6px 0 0; }
.hm-contact__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--hm-r); }
.hm-contact__photo figcaption { margin-top: 6px; font-size: 13px; color: var(--hm-secondaire); }
.hm-contact__formulaire { padding: clamp(24px, 3vw, 40px); border-radius: var(--hm-r); background: var(--hm-surface); border: 1px solid var(--hm-filet); box-shadow: var(--hm-ombre-1); }
.hm-contact__formulaire h2 { margin: 0 0 6px; font-size: 26px; }
.hm-contact__aide { margin: 0 0 18px; font-size: 15px; color: var(--hm-secondaire); }
.hm-contact__formulaire .hmm-contact { margin: 0; padding: 0; border: 0; box-shadow: none; background: none; }
.hm-contact__formulaire .hmm-contact .hmm-btn { width: 100%; min-height: 50px; justify-content: center; }

/* ---------- 14. Podcast ---------- */
.hm-podcast-page { padding-bottom: var(--hm-section); }
.hm-podcast-page__intro { display: grid; gap: 28px; align-items: start; margin-top: 12px; }
@media (min-width: 900px) {
	.hm-podcast-page__intro { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
	.hm-podcast-page__visuel { position: sticky; top: calc(var(--hm-entete-h) + 20px); }
}
.hm-podcast-page__visuel { margin: 0; }
.hm-podcast-page__visuel img { width: 100%; height: auto; border-radius: var(--hm-r); box-shadow: var(--hm-ombre-2); }
.hm-podcast-page__texte { max-width: 68ch; }
.hm-podcast-page__episodes { margin-top: var(--hm-section); padding-top: 32px; border-top: 1px solid var(--hm-filet); }
.hm-podcast-page__episodes .hmm-podcast { display: grid; gap: 20px; margin: 0; }
.hm-podcast-page__episodes .hmm-podcast__plateformes { margin: 0; padding: 16px 20px; border-radius: var(--hm-r); background: var(--hm-surface); border: 1px solid var(--hm-filet); }
.hm-podcast-page__episodes .hmm-podcast__lecteur { margin: 0; }
.hm-podcast-page__episodes .hmm-podcast__titre { margin: 12px 0 0; }
/* Revue UX du 11/10/2026 : plateformes en bandeau sur toute la largeur, puis lecteur et épisodes
   alignés en haut côte à côte (avant, le titre « Les épisodes » tombait sous le lecteur). */
@media (min-width: 1000px) {
	.hm-podcast-page__episodes .hmm-podcast { max-width: 920px; margin-inline: auto; }
}
/* Revue UX du 15/10/2026 : une seule liste d'épisodes, plus lisible (grande vignette, titre fort, lecteur à fond teinté). */
.hm-podcast-page__episodes .hmm-podcast__liste { gap: 24px; }
.hm-podcast-page__episodes .hmm-episode { padding: 24px; border-radius: var(--hm-r); }
@media (min-width: 640px) { .hm-podcast-page__episodes .hmm-episode { grid-template-columns: 180px 1fr; gap: 28px; } }
.hm-podcast-page__episodes .hmm-episode__image img { width: 180px; height: 180px; border-radius: var(--hm-r-sm); }
.hm-podcast-page__episodes .hmm-episode__titre { font-size: var(--hm-t-h3, 24px); line-height: 1.2; margin-bottom: 6px; }
.hm-podcast-page__episodes .hmm-episode__meta { font-weight: 700; color: var(--hm-accent); }
.hm-podcast-page__episodes .hmm-episode__audio { max-width: none; height: 48px; padding: 4px; border-radius: var(--hm-r-pilule); background: var(--hm-lagune-brume); }

/* Compte pro connecté : photo de profil + petit menu dans l'en-tête, à la place de « Mon espace » (revue du 11/10). */
.hm-compte-entete { position: relative; }
.hm-compte-entete__resume {
	display: flex; align-items: center; gap: 4px; min-height: 40px; padding: 2px 8px 2px 2px; border-radius: var(--hm-r-pilule);
	list-style: none; cursor: pointer; color: var(--hm-encre);
}
.hm-compte-entete__resume::-webkit-details-marker { display: none; }
.hm-compte-entete__resume:hover { background: var(--hm-surface-2); }
.hm-compte-entete__resume:focus-visible { outline: 3px solid var(--hm-brume); outline-offset: 2px; }
.hm-compte-entete__resume > .hm-ic { transform: rotate(90deg); transition: transform 0.2s; }
.hm-compte-entete[open] .hm-compte-entete__resume > .hm-ic { transform: rotate(-90deg); }
.hm-compte-entete .hmm-pro-avatar {
	display: inline-grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden;
	background: var(--hm-brume-pale); color: var(--hm-brume-fonce); font-weight: 800; font-size: 14px;
}
.hm-compte-entete .hmm-pro-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hm-compte-entete__menu {
	position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 220px; margin: 0; padding: 8px; list-style: none;
	background: var(--hm-surface); border: 1px solid var(--hm-brume-pale); border-radius: 14px; box-shadow: var(--hm-ombre-2);
}
.hm-compte-entete__qui { padding: 8px 12px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--hm-surface-2); line-height: 1.25; }
.hm-compte-entete__qui b { display: block; font-size: 15px; }
.hm-compte-entete__qui small { display: block; font-size: 13px; color: var(--hm-brume); }
.hm-compte-entete__menu a {
	display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 10px;
	color: var(--hm-encre); font-weight: 600; text-decoration: none;
}
.hm-compte-entete__menu a:hover, .hm-compte-entete__menu a:focus-visible { background: var(--hm-brume-pale); color: var(--hm-brume-fonce); }

/* Revue UX du 11/10/2026 : portraits de l'équipe en vignettes noir et blanc, couverture des maternités réduite. */
.hm-page-equipe .hm-prose figure { float: left; clear: left; width: 160px; margin: 0.35em 40px 32px 0; }
.hm-page-equipe .hm-prose figure img { aspect-ratio: 1; object-fit: cover; object-position: center 25%; border-radius: 50%; filter: grayscale(1); }
.hm-page-equipe .hm-prose h2 { clear: both; padding-top: 16px; }
.hm-page-equipe .hm-prose figure + p, .hm-page-equipe .hm-prose p + figure { margin-top: 0.35em; }
.hm-page-equipe .hm-prose p:has(+ figure) { margin-bottom: 40px; }
/* Les logos (ANSM, pharmacovigilance) restent entiers, côte à côte, sans recadrage. */
.hm-page-equipe .hm-prose figure:has(img[alt^="Logo"]) { float: none; display: inline-block; vertical-align: middle; width: 200px; margin: 0.6em 24px 12px 0; }
.hm-page-equipe .hm-prose figure:has(img[alt^="Logo"]) img { aspect-ratio: auto; max-height: 90px; object-fit: contain; object-position: left center; border-radius: 0; filter: none; }
.hm-page-equipe .hm-prose p { overflow-wrap: anywhere; }
.hm-page-equipe .hm-equipe-partenaires { clear: both; }
.hm-page-equipe .hm-equipe-partenaires__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 48px; margin: 1.6em 0 0; }
.hm-page-equipe .hm-equipe-partenaires__logos figure:has(img[alt^="Logo"]) { float: none; display: block; width: auto; max-width: 220px; margin: 0; }
.hm-page-equipe .hm-equipe-partenaires__logos figure:has(img[alt^="Logo"]) img { width: auto; max-width: 100%; max-height: 90px; margin-inline: auto; object-position: center; }
.hm-page-equipe .hm-prose::after { content: ""; display: table; clear: both; }
@media (max-width: 599px) {
	.hm-page-equipe .hm-prose figure { float: none; width: 128px; margin: 2em 0 16px; }
}
.hm-page-maternites .hm-prose figure:has(.wp-image-211) { width: min(100%, 280px); margin-inline: auto; }

/* Moules de mise en forme des articles (panneau Rédaction, mise en forme par l'IA, 11/10/2026).
   L'IA ne produit que ces formes : les étiquettes viennent d'ici, jamais du texte. */
.hm-prose .hm-moule-citation { margin: 1.6em 0; padding: 0.4em 0 0.4em 1.2em; border-left: 4px solid var(--hm-accent, #c4253a); font-size: 1.15em; font-style: italic; color: var(--hm-encre, #16202b); }
.hm-prose .hm-moule-citation p { margin: 0 0 0.4em; }
.hm-prose .hm-moule-citation cite { display: block; font-style: normal; font-size: 0.8em; font-weight: 700; color: var(--hm-brume, #3d5a72); }
.hm-prose .hm-moule-citation cite::before { content: "— "; }
.hm-prose .hm-moule-retenir { margin: 1.8em 0; padding: 1.1em 1.3em; border-radius: 14px; background: var(--hm-brume-pale, #dfe7ee); }
.hm-prose .hm-moule-retenir::before { content: "À retenir"; display: block; margin-bottom: 0.5em; font-family: var(--hm-police-titre, inherit); font-size: 0.8em; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hm-brume-fonce, #22364a); }
.hm-prose .hm-moule-retenir > :last-child { margin-bottom: 0; }
.hm-prose .hm-moule-question { margin-top: 1.6em; font-family: var(--hm-police-titre, inherit); font-weight: 700; color: var(--hm-accent, #c4253a); }
.hm-prose .hm-moule-chiffre { padding: 0.8em 1em; border-left: 4px solid var(--hm-brume, #3d5a72); background: #f4f6f5; }
.hm-prose .hm-moule-chiffre strong { display: block; font-family: var(--hm-police-titre, inherit); font-size: 2em; line-height: 1.1; color: var(--hm-brume-fonce, #22364a); }
