/*
 * ANMITRHA — HOME Horizon, phase 4.
 *
 * Cette feuille ne contient volontairement aucune animation. Le même contenu
 * est composé verticalement sur mobile/tablette et horizontalement sur les
 * écrans pilotés par un pointeur fin.
 */

.horizon-main--home,
.horizon-main--home > .wp-block-post-content {
  margin: 0;
  max-width: none !important;
  padding: 0 !important;
}

.home {
  overflow-x: clip;
}

/*
 * Le thème historique masque le débordement de `.wp-site-blocks`. Sur les
 * parcours verticaux, ce parent devient alors le bloc de référence du header
 * sticky et l'emporte avec le contenu. La HOME contient déjà ses débordements
 * horizontaux au niveau du body et de la scène : elle peut donc libérer ce
 * parent sans réintroduire de barre de défilement latérale.
 */
.home .wp-site-blocks {
  overflow: visible;
}

/*
 * Le bloc visuel du menu est enveloppé par le template-part WordPress. Un
 * élément sticky ne peut pas dépasser la hauteur de ce parent : rendre
 * l'enveloppe elle-même sticky garde donc réellement le menu à l'écran sur le
 * parcours vertical, sans retirer sa hauteur du flux initial.
 */
.home > .wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-bar.home > .wp-site-blocks > header.wp-block-template-part {
  top: var(--wp-admin--admin-bar--height, 32px);
}

.horizon-home-phase4 {
  --h4-night: #171642;
  --h4-night-soft: #242058;
  --h4-blue: #312782;
  --h4-violet: #655681;
  --h4-bordeaux: #9e2b41;
  --h4-rose: #ead8de;
  --h4-ivory: #f7f3ed;
  --h4-ink: #272642;
  --h4-muted: #535164;
  --h4-mobile-gutter: clamp(18px, 5vw, 24px);
  --h4-tablet-gutter: clamp(28px, 4vw, 48px);
  --h4-desktop-gutter: clamp(32px, 4vw, 80px);
  --h4-header-clearance: clamp(106px, 8vw, 122px);
  --h4-scene-pad-start: clamp(60px, 7svh, 72px);
  --h4-scene-pad-end: clamp(44px, 5svh, 56px);
  --h4-content-gap: clamp(24px, 3svh, 34px);
  /*
   * Échelle typographique commune aux dix scènes. Les valeurs ci-dessous
   * constituent le socle vertical ; le panorama desktop les redéfinit une
   * seule fois, depuis son propre conteneur, sans correctif par résolution.
   */
  --h4-type-display-xl: clamp(2.85rem, 11.2vw, 4.6rem);
  --h4-type-display-lg: clamp(2.55rem, 10vw, 4.5rem);
  --h4-type-display-md: clamp(2.45rem, 9.5vw, 4.25rem);
  --h4-type-heading: clamp(2.4rem, 10vw, 4.2rem);
  --h4-type-panel: clamp(1.45rem, 6vw, 2.15rem);
  --h4-type-card-title: clamp(1.15rem, 4.5vw, 1.55rem);
  --h4-type-body: clamp(1rem, 4.1vw, 1.18rem);
  --h4-type-body-compact: .94rem;
  --h4-type-field: .88rem;
  --h4-type-action: .88rem;
  --h4-type-label: clamp(.67rem, 2.7vw, .78rem);
  --h4-type-caption: .75rem;
  --h4-type-meta: .72rem;
  --h4-leading-display: .96;
  --h4-leading-heading: 1.08;
  --h4-leading-body: 1.65;
  --h4-tracking-display: -.055em;
  --h4-space-label-title: 13px;
  --h4-space-title-body: 22px;
  --h4-shadow: 0 18px 50px rgba(18, 15, 58, .13);
  position: relative;
  left: auto;
  width: 100vw;
  max-width: none !important;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
  overflow: clip;
  color: var(--h4-ink);
  background: var(--h4-ivory);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.horizon-home-phase4 *,
.horizon-home-phase4 *::before,
.horizon-home-phase4 *::after {
  box-sizing: border-box;
}

.horizon-home-phase4 a {
  color: inherit;
  text-decoration: none;
}

.horizon-home-phase4 a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #272642;
}

.horizon-home-phase4__viewport,
.horizon-home-phase4__track {
  position: relative;
  width: 100%;
}

.horizon-home-phase4__viewport {
  container-name: horizon-home-viewport;
  container-type: inline-size;
}

.horizon-home-phase4__track {
  isolation: isolate;
}

.horizon-home-phase4__atmosphere {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.horizon-home-phase4__thread-layer {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: none;
  overflow: hidden;
  pointer-events: none;
}

.horizon-home-phase4__thread-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.horizon-home-phase4__thread {
  position: absolute;
  overflow: visible;
  pointer-events: none;
}

.horizon-home-phase4__thread--desktop {
  display: none;
}

.horizon-home-phase4__thread-depth,
.horizon-home-phase4__thread-line,
.horizon-home-phase4__thread-light,
.horizon-home-phase4__branches use,
.horizon-home-phase4__branches path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.horizon-home-phase4__thread-depth {
  opacity: .12;
  stroke: rgba(15, 12, 56, .5);
  stroke-width: 5px;
}

.horizon-home-phase4__thread-line,
.horizon-home-phase4__branches use,
.horizon-home-phase4__branches path {
  stroke: url(#horizon-home-phase4-thread-colour);
  stroke-width: 2.6px;
}

.horizon-home-phase4__thread-light {
  opacity: .32;
  stroke: rgba(255, 246, 233, .92);
  stroke-width: .5px;
}

.horizon-home-scene {
  position: relative;
  z-index: auto;
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--h4-content-gap);
  padding-top: var(--h4-scene-pad-start);
  padding-right: var(--h4-mobile-gutter);
  padding-bottom: var(--h4-scene-pad-end);
  padding-left: var(--h4-mobile-gutter);
  overflow: clip;
}

.horizon-home-scene > * {
  position: relative;
  z-index: 4;
  min-width: 0;
  max-width: 100%;
}

.horizon-home-scene__snap-anchor {
  position: absolute !important;
  z-index: -1 !important;
  top: 50%;
  left: 50%;
  width: 1px !important;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

[data-horizon-thread-occluder] {
  position: relative;
  z-index: 4;
}

.horizon-home-copy,
.horizon-home-surface,
.horizon-home-professions-head,
.horizon-home-field-cluster,
.horizon-home-life-item,
.horizon-home-life-link,
.horizon-home-signature,
.horizon-home-quick {
  position: relative;
  z-index: 4;
}

.horizon-home-copy h1,
.horizon-home-copy h2,
.horizon-home-surface h2,
.horizon-home-professions-head h2,
.horizon-home-life-item h3,
.horizon-home-evolved h3 {
  margin: 0;
  text-wrap: balance;
}

.horizon-home-copy h1,
.horizon-home-copy h2,
.horizon-home-surface h2,
.horizon-home-professions-head h2 {
  color: inherit;
  font-size: var(--h4-type-display-lg);
  font-weight: 760;
  line-height: var(--h4-leading-display);
  letter-spacing: var(--h4-tracking-display);
}

.horizon-home-copy h1 em,
.horizon-home-copy h2 em {
  color: #bd3d5a;
  font-style: normal;
}

.horizon-home-copy > p:not(.horizon-home-eyebrow),
.horizon-home-join > p,
.horizon-home-signature > p {
  margin: var(--h4-space-title-body) 0 0;
  color: var(--h4-muted);
  font-size: var(--h4-type-body);
  line-height: var(--h4-leading-body);
}

.horizon-home-eyebrow,
.horizon-home-life-item > div > span {
  margin: 0 0 var(--h4-space-label-title);
  color: var(--h4-bordeaux);
  font-size: var(--h4-type-label);
  font-weight: 850;
  letter-spacing: .17em;
  line-height: 1.35;
  text-transform: uppercase;
}

.horizon-home-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.horizon-home-buttons a,
.horizon-home-section-link,
.horizon-home-life-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid currentColor;
  border-radius: 10px;
  font-size: var(--h4-type-action);
  font-weight: 800;
  line-height: 1.2;
}

.horizon-home-buttons a:first-child {
  border-color: var(--h4-bordeaux);
  color: #fff;
  background: var(--h4-bordeaux);
}

.horizon-home-buttons a:last-child {
  color: inherit;
  background: rgba(255, 255, 255, .05);
}

.horizon-home-photo {
  position: relative;
  z-index: 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 16px;
  background: var(--h4-night);
  box-shadow: var(--h4-shadow);
}

.horizon-home-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(1.015);
}

.horizon-home-photo:has(figcaption)::after {
  display: none;
}

.horizon-home-photo figcaption {
  position: absolute;
  z-index: 2;
  right: auto;
  bottom: 16px;
  left: 18px;
  width: max-content;
  max-width: min(82%, 42rem);
  margin: 0;
  padding: 9px 12px 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(112deg, rgba(13, 12, 48, .96), rgba(43, 30, 74, .93));
  box-shadow: 0 8px 22px rgba(9, 8, 31, .24), inset 0 1px rgba(255, 255, 255, .08);
  font-size: var(--h4-type-caption);
  font-weight: 760;
  line-height: 1.4;
  -webkit-backdrop-filter: blur(8px) saturate(.78);
  backdrop-filter: blur(8px) saturate(.78);
}

.horizon-home-surface {
  border: 1px solid rgba(49, 39, 130, .11);
  color: var(--h4-ink);
  background: rgba(247, 243, 237, .96);
  box-shadow: var(--h4-shadow);
}

/* 01 — ouverture */
.horizon-home-scene--hero {
  color: #fff;
  background:
    radial-gradient(circle at 84% 13%, rgba(139, 118, 180, .34), transparent 25rem),
    radial-gradient(circle at 8% 94%, rgba(158, 43, 65, .3), transparent 27rem),
    linear-gradient(145deg, #15143e, #2c2669 66%, #51314f);
}

.horizon-home-copy--hero {
  max-width: 680px;
}

.horizon-home-copy--hero .horizon-home-eyebrow,
.horizon-home-copy--purpose .horizon-home-eyebrow,
.horizon-home-copy--news .horizon-home-eyebrow,
.horizon-home-join .horizon-home-eyebrow {
  color: #f2a0b2;
}

.horizon-home-copy--hero h1 {
  font-size: var(--h4-type-display-xl);
}

.horizon-home-copy--hero h1 em,
.horizon-home-copy--purpose h2 em {
  color: #ef869f;
}

.horizon-home-copy--hero > p:not(.horizon-home-eyebrow),
.horizon-home-copy--purpose > p:not(.horizon-home-eyebrow),
.horizon-home-copy--news > p:not(.horizon-home-eyebrow),
.horizon-home-join > p {
  color: rgba(255, 255, 255, .85);
}

.horizon-home-photo--hero {
  aspect-ratio: 4 / 3;
}

.horizon-home-photo--hero img {
  object-position: 54% 52%;
}

.horizon-home-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(13, 12, 48, .84), rgba(49, 39, 130, .67));
  box-shadow: inset 0 1px rgba(255, 255, 255, .1), 0 16px 42px rgba(10, 8, 37, .22);
}

.horizon-home-quick a {
  display: grid;
  min-height: 68px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-right: 1px solid rgba(255, 255, 255, .13);
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  color: #fff;
}

.horizon-home-quick a:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid #fff;
  outline-offset: -4px;
  box-shadow: inset 0 0 0 6px #272642;
}

.horizon-home-quick a:nth-child(2n) {
  border-right: 0;
}

.horizon-home-quick a:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.horizon-home-quick i {
  color: #f0a1b3;
  font-size: .62rem;
  font-style: normal;
  font-weight: 900;
}

.horizon-home-quick strong {
  font-size: var(--h4-type-action);
  font-weight: 800;
  line-height: 1.2;
}

.horizon-home-quick a > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  color: #f0a1b3;
  font-size: .65rem;
}

/* 02 — bénéfices */
.horizon-home-scene--purpose {
  color: #fff;
  background:
    radial-gradient(circle at 96% 5%, rgba(189, 61, 90, .18), transparent 24rem),
    linear-gradient(165deg, #242058, #171642 74%);
}

.horizon-home-copy--purpose h2 {
  font-size: var(--h4-type-display-lg);
}

.horizon-home-benefits {
  margin: 0;
  padding: 22px 22px 10px;
  border-radius: 16px;
  list-style: none;
}

.horizon-home-benefits li {
  display: flex;
  min-height: 66px;
  align-items: center;
  padding: 15px 6px 15px 25px;
  border-top: 1px solid rgba(49, 39, 130, .16);
  color: #37354d;
  font-size: var(--h4-type-body-compact);
  font-weight: 720;
  line-height: 1.38;
}

.horizon-home-benefits li::before,
.horizon-home-field-cluster span::before {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin: 0 12px 1px -18px;
  border-radius: 50%;
  background: var(--h4-bordeaux);
  content: "";
}

/* 03–05 — professions et recomposition */
.horizon-home-scene--profession-intro,
.horizon-home-scene--professions {
  background: linear-gradient(180deg, #d9d5e1, #e6e3e9);
}

.horizon-home-scene--recompose {
  background: linear-gradient(180deg, #e6e3e9, #eee6e6);
}

.horizon-home-photo--profession {
  width: min(82vw, 430px);
  aspect-ratio: 3 / 4;
  justify-self: start;
}

.horizon-home-photo--profession img {
  object-position: 48% 44%;
}

.horizon-home-profession-detail {
  padding-top: 18px;
  border-top: 1px solid rgba(49, 39, 130, .16);
  font-size: var(--h4-type-body-compact) !important;
}

.horizon-home-professions-head {
  max-width: 900px;
}

.horizon-home-professions-head h2 {
  font-size: var(--h4-type-heading);
}

.horizon-home-field-cluster {
  display: grid;
  gap: 10px;
}

.horizon-home-field-cluster span {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 12px 16px 12px 28px;
  border: 1px solid rgba(49, 39, 130, .12);
  border-radius: 8px;
  color: #2d2b52;
  background: rgba(247, 243, 237, .97);
  font-size: var(--h4-type-field);
  font-weight: 780;
  line-height: 1.3;
}

.horizon-home-copy--community {
  max-width: 760px;
}

.horizon-home-copy--profession h2 {
  font-size: var(--h4-type-display-md);
}

.horizon-home-copy--community .horizon-home-eyebrow {
  margin-bottom: 18px;
}

.horizon-home-network-lead {
  margin-top: 0 !important;
}

.horizon-home-photo--community {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
}

.horizon-home-photo--community img {
  object-fit: contain;
  object-position: 50% 50%;
  background: #1c1934;
}

.horizon-home-evolved {
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: 14px;
}

.horizon-home-evolved h3 {
  color: var(--h4-night);
  font-size: var(--h4-type-panel);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.horizon-home-evolved-fields {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.horizon-home-evolved-fields span {
  padding: 9px 13px;
  border: 1px solid rgba(158, 43, 65, .2);
  border-radius: 999px;
  color: var(--h4-night);
  background: rgba(234, 216, 222, .7);
  font-size: var(--h4-type-action);
  font-weight: 800;
}

/* 06 — rencontres */
.horizon-home-scene--meetings {
  background: linear-gradient(180deg, #eee6e6, #f3e9e5);
}

.horizon-home-copy--meetings {
  max-width: 760px;
}

.horizon-home-copy--meetings h2 {
  font-size: var(--h4-type-heading);
}

.horizon-home-photo--simulation {
  aspect-ratio: 3 / 4;
}

.horizon-home-photo--practice {
  width: min(82vw, 510px);
  aspect-ratio: 1 / 1;
  justify-self: end;
}

.horizon-home-photo--practice img {
  object-position: 54% 52%;
}

/* 07 — vie associative */
.horizon-home-scene--life {
  color: #fff;
  background:
    radial-gradient(circle at 8% 42%, rgba(114, 90, 145, .3), transparent 27rem),
    linear-gradient(150deg, #292452, #171642 64%, #2d2148);
}

.horizon-home-copy--life h2 {
  font-size: var(--h4-type-display-lg);
}

.horizon-home-life-item {
  display: grid;
  gap: 18px;
}

.horizon-home-life-item > div {
  position: relative;
  z-index: 7;
}

.horizon-home-life-item h3 {
  margin-top: 6px;
  color: #fff;
  font-size: var(--h4-type-panel);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.horizon-home-life-item p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: var(--h4-type-body-compact);
  line-height: 1.55;
}

.horizon-home-life-item--memory {
  position: relative;
  min-height: 0;
  align-items: start;
  overflow: visible;
}

.horizon-home-life-item--memory .horizon-home-photo {
  position: relative;
  z-index: 4;
  inset: auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 16px;
}

.horizon-home-life-item--memory .horizon-home-photo::after {
  display: none;
}

.horizon-home-life-item--memory::after {
  display: none;
}

.horizon-home-life-item--memory > div {
  padding: 0;
}

.horizon-home-life-item--memory > div > span {
  color: #ff9caf;
}

.horizon-home-life-item--memory > div > p {
  color: rgba(255, 255, 255, .96);
  font-weight: 500;
}

.horizon-home-photo--actions,
.horizon-home-photo--volunteer {
  aspect-ratio: 4 / 3;
}

.horizon-home-photo-credit {
  right: 12px !important;
  bottom: 10px !important;
  left: auto !important;
  max-width: calc(100% - 24px) !important;
  padding: 6px 9px 7px !important;
  transform: none !important;
  font-size: var(--h4-type-meta) !important;
}

.horizon-home-life-link {
  width: fit-content;
  color: #fff;
  background: rgba(255, 255, 255, .05);
}

/* 08 — actualités */
.horizon-home-scene--news {
  color: #fff;
  background:
    radial-gradient(circle at 94% 82%, rgba(158, 43, 65, .2), transparent 24rem),
    linear-gradient(160deg, #171642, #292452);
}

.horizon-home-copy--news h2 {
  font-size: var(--h4-type-heading);
}

.horizon-home-copy--news .horizon-home-section-link {
  margin-top: 28px;
}

.horizon-home-news-feed {
  min-height: 330px;
  padding: clamp(24px, 6vw, 42px);
  border-radius: 16px;
  background: linear-gradient(130deg, #eee9f0, #f7f3ed);
}

.horizon-home-news-feed .horizon-premium-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0;
}

.horizon-home-news-feed .horizon-premium-news-card {
  display: grid;
  gap: 9px;
  padding: 22px 0;
  border: 0;
  border-top: 1px solid rgba(49, 39, 130, .16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* La carte mise en avant est claire dans la HOME : neutraliser explicitement
 * les couleurs blanches de sa variante générique sur les autres pages. */
.horizon-home-news-feed .horizon-premium-news-card.is-primary {
  grid-row: auto;
  grid-column: auto;
  min-height: 0;
  color: var(--h4-night);
  background: transparent;
}

.horizon-home-news-feed .horizon-premium-news-card:not(.is-primary) h3 {
  margin-top: 0;
  font-size: var(--h4-type-card-title);
}

.horizon-home-news-feed .horizon-premium-news-card:not(.is-primary) p {
  display: block;
}

.horizon-home-news-feed .horizon-premium-news-card.is-primary > div span,
.horizon-home-news-feed .horizon-premium-news-card.is-primary > a {
  color: var(--h4-bordeaux);
}

.horizon-home-news-feed .horizon-premium-news-card.is-primary > div time,
.horizon-home-news-feed .horizon-premium-news-card.is-primary p {
  color: #555266;
}

.horizon-home-news-feed .horizon-premium-news-card.is-primary h3 a {
  color: #302e4d;
}

.horizon-home-news-feed .horizon-premium-news-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.horizon-home-news-feed .horizon-premium-news-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  align-items: baseline;
  justify-content: flex-start;
}

.horizon-home-news-feed .horizon-premium-news-card > div span {
  color: var(--h4-bordeaux);
  font-size: var(--h4-type-meta);
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.horizon-home-news-feed time {
  color: #5b586b;
  font-size: var(--h4-type-meta);
}

.horizon-home-news-feed h3 {
  margin: 0;
  color: #302e4d;
  font-size: var(--h4-type-card-title);
  line-height: 1.25;
  letter-spacing: -.025em;
}

.horizon-home-news-feed p {
  margin: 0;
  color: #555266;
  font-size: var(--h4-type-body-compact);
  line-height: 1.5;
}

.horizon-home-news-feed .horizon-premium-news-card > a {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  color: var(--h4-bordeaux);
  font-size: var(--h4-type-action);
  font-weight: 850;
  margin-top: 0;
}

.horizon-home-news-feed > .horizon-premium-empty,
.horizon-home-news-feed .horizon-premium-empty {
  display: grid;
  min-height: 260px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  color: #555266;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.horizon-home-news-feed > .horizon-premium-empty::before {
  width: 52px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--h4-bordeaux), #655681);
  content: "";
}

@media (max-width: 1199px),
  (min-width: 1200px) and (max-width: 1439px) and (any-pointer: coarse) {
  .horizon-home-phase4__viewport,
  .horizon-home-phase4__track,
  .horizon-home-scene,
  .horizon-home-scene > *,
  .horizon-home-copy,
  .horizon-home-copy > *,
  .horizon-home-surface,
  .horizon-home-professions-head,
  .horizon-home-professions-head > *,
  .horizon-home-field-cluster,
  .horizon-home-field-cluster > *,
  .horizon-home-life-item,
  .horizon-home-life-item > *,
  .horizon-home-news-feed,
  .horizon-home-agenda,
  .horizon-home-join,
  .horizon-home-signature,
  .horizon-home-quick,
  .horizon-home-buttons,
  .horizon-home-evolved-fields {
    min-width: 0;
    max-width: 100%;
  }

  .horizon-home-copy h1,
  .horizon-home-copy h2,
  .horizon-home-surface h2,
  .horizon-home-professions-head h2,
  .horizon-home-life-item h3,
  .horizon-home-evolved h3,
  .horizon-home-quick strong,
  .horizon-home-field-cluster span {
    overflow-wrap: anywhere;
  }

  .horizon-home-photo,
  .horizon-home-photo img {
    max-width: 100%;
  }

  .horizon-home-buttons a,
  .horizon-home-section-link,
  .horizon-home-life-link,
  .horizon-home-socials a,
  .horizon-home-utility-links a {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 699px) {
  .horizon-home-phase4 {
    --h4-mobile-stage: 38rem;
    --h4-type-display-xl: clamp(2.35rem, 9.8vw, 3.7rem);
    --h4-type-display-lg: clamp(2rem, 8.8vw, 3.35rem);
    --h4-type-display-md: clamp(2rem, 8.8vw, 3.35rem);
    --h4-type-heading: clamp(2rem, 8.8vw, 3.35rem);
  }

  .horizon-home-scene {
    padding-right: max(22px, env(safe-area-inset-right));
    padding-left: max(22px, env(safe-area-inset-left));
  }

  .horizon-home-scene > * {
    width: min(100%, var(--h4-mobile-stage));
    margin-right: auto;
    margin-left: auto;
    justify-self: center;
  }

  .horizon-home-copy,
  .horizon-home-professions-head,
  .horizon-home-agenda,
  .horizon-home-join,
  .horizon-home-signature {
    justify-self: center;
  }

  .horizon-home-copy h1,
  .horizon-home-copy h2,
  .horizon-home-surface h2,
  .horizon-home-professions-head h2,
  .horizon-home-agenda h2,
  .horizon-home-join h2 {
    overflow-wrap: normal;
    text-align: center;
    word-break: normal;
  }

  .horizon-home-copy--hero h1 {
    max-width: 10ch;
    margin-inline: auto;
  }

  .horizon-home-eyebrow,
  .horizon-home-life-item > div > span {
    text-align: center;
  }

  .horizon-home-copy > p:not(.horizon-home-eyebrow),
  .horizon-home-join > p,
  .horizon-home-signature > p {
    width: min(100%, 34rem);
    margin-right: auto;
    margin-left: auto;
  }

  .horizon-home-copy--hero > p:not(.horizon-home-eyebrow),
  .horizon-home-copy--purpose > p:not(.horizon-home-eyebrow),
  .horizon-home-copy--news > p:not(.horizon-home-eyebrow),
  .horizon-home-join > p,
  .horizon-home-signature > p {
    text-align: center;
  }

  .horizon-home-buttons {
    width: min(100%, 22rem);
    margin-right: auto;
    margin-left: auto;
  }

  .horizon-home-buttons a {
    width: 100%;
  }

  .horizon-home-photo,
  .horizon-home-photo--profession,
  .horizon-home-photo--practice {
    width: min(100%, var(--h4-mobile-stage));
    margin-right: auto;
    margin-left: auto;
    justify-self: center;
  }

  .horizon-home-photo--profession {
    max-width: 29rem;
  }

  .horizon-home-photo figcaption {
    right: auto;
    bottom: 14px;
    left: 50%;
    width: max-content;
    max-width: min(86%, calc(100% - 28px));
    padding: 9px 11px 10px;
    transform: translateX(-50%);
    text-align: center;
  }

  .horizon-home-quick,
  .horizon-home-benefits,
  .horizon-home-field-cluster,
  .horizon-home-evolved,
  .horizon-home-life-item,
  .horizon-home-news-feed,
  .horizon-home-agenda,
  .horizon-home-join,
  .horizon-home-signature {
    width: min(100%, var(--h4-mobile-stage));
    margin-right: auto;
    margin-left: auto;
  }

  .horizon-home-field-cluster span {
    min-height: 64px;
  }

  .horizon-home-evolved h3 {
    text-align: center;
  }

  .horizon-home-life-item > div {
    text-align: center;
  }

  .horizon-home-life-item p,
  .horizon-home-news-feed,
  .horizon-home-agenda-feed {
    text-align: left;
  }

  .horizon-home-life-link,
  .horizon-home-agenda .horizon-home-section-link,
  .horizon-home-copy--news .horizon-home-section-link {
    margin-right: auto;
    margin-left: auto;
  }

  .horizon-home-agenda > .horizon-home-eyebrow,
  .horizon-home-agenda > h2 {
    text-align: center;
  }

  .horizon-home-signature {
    justify-items: center;
    text-align: center;
  }

  .horizon-home-signature > a:first-child {
    width: min(100%, 21rem);
    margin-inline: auto;
  }

  .horizon-home-socials,
  .horizon-home-utility-links {
    justify-content: center;
  }
}

/* 09 — agenda */
.horizon-home-scene--agenda {
  background: linear-gradient(180deg, #d0ccd9, #ece7e8);
}

.horizon-home-agenda {
  display: grid;
  gap: 20px;
  padding: clamp(28px, 7vw, 54px);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.horizon-home-agenda h2 {
  font-size: var(--h4-type-heading);
}

.horizon-home-agenda .horizon-home-section-link {
  width: fit-content;
}

.horizon-home-agenda-feed {
  margin-top: 12px;
}

.horizon-home-agenda-feed .horizon-premium-empty {
  display: grid;
  min-height: 210px;
  gap: 10px;
  align-content: center;
  padding: 28px 0;
  border-top: 1px solid rgba(49, 39, 130, .18);
  border-bottom: 1px solid rgba(49, 39, 130, .18);
}

.horizon-home-agenda-feed .horizon-premium-empty::before {
  color: var(--h4-bordeaux);
  content: "○";
  font-size: 3.6rem;
  font-weight: 300;
  line-height: 1;
}

.horizon-home-agenda-feed .horizon-premium-empty strong {
  color: var(--h4-night);
  font-size: 1.25rem;
  line-height: 1.2;
}

.horizon-home-agenda-feed .horizon-premium-empty span {
  color: var(--h4-muted);
  font-size: var(--h4-type-body-compact);
  line-height: 1.5;
}

.horizon-home-agenda-feed .horizon-premium-event-list {
  display: grid;
  gap: 0;
}

.horizon-home-agenda-feed .horizon-premium-event {
  display: grid;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(49, 39, 130, .18);
}

.horizon-home-agenda-feed .horizon-premium-event:last-child {
  border-bottom: 1px solid rgba(49, 39, 130, .18);
}

.horizon-home-agenda-feed .horizon-premium-event time {
  display: grid;
  min-height: 72px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  padding: 9px 12px;
  border-radius: 12px;
  color: #fff;
  background: var(--h4-night);
}

.horizon-home-agenda-feed .horizon-premium-event time strong {
  font-size: 2.9rem;
  line-height: 1;
}

.horizon-home-agenda-feed .horizon-premium-event time span,
.horizon-home-agenda-feed .horizon-premium-event p {
  font-size: var(--h4-type-meta);
  line-height: 1.4;
}

.horizon-home-agenda-feed .horizon-premium-event time span {
  color: #f2a0b2;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.horizon-home-agenda-feed .horizon-premium-event h3 {
  margin: 0;
  color: var(--h4-night);
  font-size: var(--h4-type-card-title);
}

.horizon-home-agenda-feed .horizon-premium-event h3 a {
  color: inherit;
  text-decoration: none;
}

.horizon-home-agenda-feed .horizon-premium-event p {
  margin: 7px 0 0;
  color: var(--h4-muted);
}

.horizon-home-agenda-feed .horizon-premium-event > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--h4-bordeaux);
  font-size: var(--h4-type-action);
  font-weight: 850;
}

/* 10 — adhésion et signature de la HOME */
.horizon-home-scene--join {
  color: #fff;
  background:
    radial-gradient(circle at 20% 12%, rgba(234, 216, 222, .24), transparent 23rem),
    linear-gradient(145deg, #efe8e8 0 30%, #3a2c68 68%, #171642 100%);
}

.horizon-home-join {
  padding: clamp(30px, 8vw, 58px);
  border-color: rgba(255, 255, 255, .15);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, rgba(35, 31, 92, .98), rgba(54, 35, 79, .97));
  box-shadow: 0 20px 56px rgba(10, 8, 37, .22);
}

.horizon-home-join h2 {
  font-size: var(--h4-type-display-lg);
}

.horizon-home-signature {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(22px, 6vw, 30px);
  border: 1px solid rgba(49, 39, 130, .12);
  border-radius: 12px;
  color: var(--h4-night);
  background: rgba(247, 243, 237, .94);
  box-shadow: 0 18px 44px rgba(13, 10, 48, .14);
}

.horizon-home-signature > a:first-child {
  display: grid;
  width: min(74vw, 340px);
  min-height: 100px;
  place-items: center;
  padding: 14px 18px;
  border: 1px solid rgba(49, 39, 130, .11);
  border-radius: 12px;
  background: rgba(247, 243, 237, .96);
  box-shadow: 0 14px 34px rgba(18, 15, 58, .1);
}

.horizon-home-signature img {
  display: block;
  width: 100%;
  height: auto;
}

.horizon-home-signature > p {
  max-width: 580px;
  margin: 0;
  color: #454358;
}

.horizon-home-socials,
.horizon-home-utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.horizon-home-socials a {
  display: inline-grid;
  min-height: 44px;
  grid-template-columns: 25px auto;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 7px;
  border: 1px solid rgba(49, 39, 130, .24);
  border-radius: 999px;
  color: var(--h4-night);
  background: rgba(247, 243, 237, .68);
}

.horizon-home-socials a > span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--h4-night);
  font-size: .65rem;
  font-weight: 900;
}

.horizon-home-socials strong {
  font-size: var(--h4-type-action);
}

.horizon-home-utility-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #403e55;
  font-size: var(--h4-type-action);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(49, 39, 130, .25);
}

.horizon-home-signature small {
  color: #565368;
  font-size: var(--h4-type-meta);
  font-weight: 700;
}

@media (max-width: 699px) {
  .horizon-home-copy--community h2.horizon-home-eyebrow {
    margin-bottom: 18px;
    color: var(--h4-bordeaux);
    line-height: 1.35;
    letter-spacing: .17em;
  }

  .horizon-home-scene--agenda .horizon-home-agenda {
    padding-right: 0;
    padding-left: 0;
  }

  .horizon-home-scene--join .horizon-home-signature > a:first-child {
    width: min(100%, 21rem);
  }
}

@media (min-width: 700px) and (max-width: 1199px) {
  .horizon-home-phase4 {
    --h4-type-display-xl: clamp(3rem, 5.1vw, 4.1rem);
    --h4-type-display-lg: clamp(2.8rem, 4.7vw, 3.7rem);
    --h4-type-display-md: clamp(2.8rem, 4.7vw, 3.7rem);
    --h4-type-heading: clamp(2.55rem, 4.1vw, 3.35rem);
    --h4-type-panel: clamp(1.65rem, 3.1vw, 2.15rem);
    --h4-type-card-title: clamp(1.2rem, 2.2vw, 1.55rem);
    --h4-type-body: clamp(1rem, 1.65vw, 1.18rem);
    --h4-type-body-compact: clamp(.94rem, 1.45vw, 1.06rem);
    --h4-type-field: clamp(.9rem, 1.35vw, 1rem);
    --h4-type-action: clamp(.9rem, 1.35vw, 1rem);
    --h4-type-label: clamp(.72rem, 1.05vw, .8rem);
    --h4-type-caption: clamp(.78rem, 1.15vw, .88rem);
    --h4-type-meta: clamp(.74rem, 1.05vw, .82rem);
  }

  .horizon-home-scene {
    grid-template-columns: minmax(0, 1fr);
    padding-right: var(--h4-tablet-gutter);
    padding-left: var(--h4-tablet-gutter);
  }

  .horizon-home-copy,
  .horizon-home-professions-head,
  .horizon-home-quick,
  .horizon-home-benefits,
  .horizon-home-evolved,
  .horizon-home-life-item--memory,
  .horizon-home-news-feed,
  .horizon-home-agenda,
  .horizon-home-join,
  .horizon-home-signature {
    grid-column: 1 / -1;
  }

  .horizon-home-field-cluster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column: 1 / -1;
  }

  .horizon-home-photo--practice {
    width: 100%;
    align-self: end;
  }

  .horizon-home-life-item--actions,
  .horizon-home-life-item--volunteer {
    align-content: start;
  }

  .horizon-home-news-feed .horizon-premium-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
  }

  .horizon-home-news-feed .horizon-premium-news-card:nth-child(2) {
    border-top: 0;
    padding-top: 0;
  }

  .horizon-home-photo--hero,
  .horizon-home-photo--community,
  .horizon-home-photo--simulation,
  .horizon-home-photo--practice,
  .horizon-home-photo--actions,
  .horizon-home-photo--volunteer {
    width: 100%;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .horizon-home-scene {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .horizon-home-copy--hero,
  .horizon-home-photo--hero,
  .horizon-home-copy--profession,
  .horizon-home-photo--profession,
  .horizon-home-copy--meetings,
  .horizon-home-photo--simulation {
    grid-column: auto;
  }

  .horizon-home-photo--profession {
    width: 100%;
  }

  .horizon-home-signature {
    grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr);
    align-items: start;
  }

  .horizon-home-signature > p,
  .horizon-home-socials,
  .horizon-home-utility-links,
  .horizon-home-signature small {
    grid-column: 2;
  }
}

/* Une grande largeur ne garantit pas un panorama confortable : fenêtre basse,
 * écran tactile et mouvement réduit conservent la lecture verticale. Ce mode
 * dispose de sa propre composition bornée afin de ne pas étirer une colonne
 * mobile sur 1200 px et plus. */
@media (min-width: 1200px) and (max-height: 699px),
  (min-width: 1200px) and (hover: none),
  (min-width: 1200px) and (pointer: coarse),
  (min-width: 1200px) and (pointer: none),
  (min-width: 1200px) and (any-pointer: coarse),
  (min-width: 1200px) and (prefers-reduced-motion: reduce) {
  .horizon-home-phase4 {
    --h4-type-display-xl: clamp(4rem, 4.1vw, 5.5rem);
    --h4-type-display-lg: clamp(3.5rem, 3.65vw, 4.9rem);
    --h4-type-display-md: clamp(3.25rem, 3.35vw, 4.5rem);
    --h4-type-heading: clamp(3rem, 3vw, 4.25rem);
    --h4-type-panel: clamp(1.9rem, 1.85vw, 2.5rem);
    --h4-type-card-title: clamp(1.3rem, 1.25vw, 1.75rem);
    --h4-type-body: clamp(1.05rem, .92vw, 1.25rem);
    --h4-type-body-compact: clamp(1rem, .82vw, 1.16rem);
    --h4-type-field: clamp(.96rem, .8vw, 1.1rem);
    --h4-type-action: clamp(.96rem, .8vw, 1.1rem);
    --h4-type-label: clamp(.76rem, .62vw, .9rem);
    --h4-type-caption: clamp(.82rem, .68vw, .96rem);
    --h4-type-meta: clamp(.76rem, .62vw, .9rem);
  }

  .horizon-home-scene {
    grid-template-columns: repeat(2, minmax(0, 42rem));
    justify-content: center;
    padding-right: var(--h4-desktop-gutter);
    padding-left: var(--h4-desktop-gutter);
  }

  .horizon-home-copy,
  .horizon-home-professions-head,
  .horizon-home-quick,
  .horizon-home-benefits,
  .horizon-home-evolved,
  .horizon-home-life-item--memory,
  .horizon-home-news-feed,
  .horizon-home-agenda,
  .horizon-home-join,
  .horizon-home-signature {
    grid-column: 1 / -1;
    width: 100%;
  }

  .horizon-home-field-cluster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column: 1 / -1;
  }

  .horizon-home-copy--hero,
  .horizon-home-photo--hero,
  .horizon-home-copy--profession,
  .horizon-home-photo--profession,
  .horizon-home-copy--meetings,
  .horizon-home-photo--simulation {
    grid-column: auto;
  }

  .horizon-home-photo--hero,
  .horizon-home-photo--profession,
  .horizon-home-photo--community,
  .horizon-home-photo--simulation,
  .horizon-home-photo--practice,
  .horizon-home-photo--actions,
  .horizon-home-photo--volunteer {
    width: 100%;
  }

  .horizon-home-signature {
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    align-items: start;
  }

  .horizon-home-signature > p,
  .horizon-home-socials,
  .horizon-home-utility-links,
  .horizon-home-signature small {
    grid-column: 2;
  }
}

/*
 * Les grandes tablettes tactiles occupent souvent 1366/1368 px en paysage.
 * Elles restent dans la famille éditoriale tablette : deux colonnes souples,
 * une échelle typographique continue et aucun panorama horizontal. Cette
 * rupture de composition couvre aussi les appareils hybrides qui disposent
 * simultanément d'un écran tactile et d'une souris.
 */
@media (min-width: 1200px) and (max-width: 1439px) and (any-pointer: coarse) {
  .horizon-home-phase4 {
    --h4-type-display-xl: clamp(3rem, 5.1vw, 4.1rem);
    --h4-type-display-lg: clamp(2.8rem, 4.7vw, 3.7rem);
    --h4-type-display-md: clamp(2.8rem, 4.7vw, 3.7rem);
    --h4-type-heading: clamp(2.55rem, 4.1vw, 3.35rem);
    --h4-type-panel: clamp(1.65rem, 3.1vw, 2.15rem);
    --h4-type-card-title: clamp(1.2rem, 2.2vw, 1.55rem);
    --h4-type-body: clamp(1rem, 1.65vw, 1.18rem);
    --h4-type-body-compact: clamp(.94rem, 1.45vw, 1.06rem);
    --h4-type-field: clamp(.9rem, 1.35vw, 1rem);
    --h4-type-action: clamp(.9rem, 1.35vw, 1rem);
    --h4-type-label: clamp(.72rem, 1.05vw, .8rem);
    --h4-type-caption: clamp(.78rem, 1.15vw, .88rem);
    --h4-type-meta: clamp(.74rem, 1.05vw, .82rem);
  }

  .horizon-home-scene {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    padding-right: var(--h4-tablet-gutter);
    padding-left: var(--h4-tablet-gutter);
  }

  .horizon-home-field-cluster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .horizon-home-photo--practice {
    align-self: end;
  }

  .horizon-home-life-item--actions,
  .horizon-home-life-item--volunteer {
    align-content: start;
  }

  .horizon-home-news-feed .horizon-premium-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
  }

  .horizon-home-news-feed .horizon-premium-news-card:nth-child(2) {
    border-top: 0;
    padding-top: 0;
  }

  .horizon-home-signature {
    grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr);
  }
}

/*
 * Panorama desktop. Le breakpoint exige un pointeur fin : les tablettes et
 * interfaces tactiles gardent le parcours vertical, y compris en paysage.
 */
@media (min-width: 1200px) and (min-height: 700px) and (hover: hover) and (pointer: fine) and (not (any-pointer: coarse)) and (prefers-reduced-motion: no-preference) {
  .home {
    --h4-header-action: clamp(15px, calc(12px + .28vw), 18px);
  }

  .horizon-home-phase4__thread-layer {
    display: block;
  }

  .home .horizon-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 200;
    width: 100%;
    min-height: 0;
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
  }

  .admin-bar.home .horizon-header {
    top: var(--wp-admin--admin-bar--height, 32px);
  }

  .home .horizon-header::after {
    display: none;
  }

  .home .horizon-header > .wp-block-group {
    width: calc(100% - (2 * var(--h4-desktop-gutter, clamp(32px, 4vw, 80px))));
    max-width: none;
    min-height: clamp(74px, calc(62px + .75vw), 84px);
    margin-inline: auto;
    padding: 14px 0 0 !important;
    pointer-events: none;
  }

  .home .horizon-header .horizon-brand,
  .home .horizon-header nav.wp-block-navigation {
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 12px 34px rgba(7, 6, 31, .18);
    pointer-events: auto;
  }

  .home .horizon-header .horizon-brand {
    min-height: clamp(58px, calc(50px + .65vw), 68px);
    padding: clamp(6px, .45vw, 9px) clamp(12px, .9vw, 18px);
    border-color: rgba(49, 39, 130, .13);
    border-radius: 12px;
    background: rgba(247, 243, 237, .985);
  }

  .home .horizon-header .horizon-brand-logo,
  .home .horizon-header.is-scrolled .horizon-brand-logo {
    width: clamp(128px, calc(104px + 2.5vw), 168px);
  }

  .home .horizon-header nav.wp-block-navigation {
    min-height: clamp(58px, calc(50px + .65vw), 68px);
    padding: clamp(5px, .42vw, 8px) clamp(7px, .58vw, 11px) clamp(5px, .42vw, 8px) clamp(10px, .75vw, 14px);
    border-radius: 12px;
    color: rgba(255, 255, 255, .88);
    background: linear-gradient(108deg, rgba(23, 22, 66, .985), rgba(43, 35, 92, .98) 65%, rgba(57, 37, 79, .98));
  }

  .home .horizon-header .wp-block-navigation__container {
    gap: 2px;
  }

  .home .horizon-header .wp-block-navigation-item__content {
    align-items: center;
    display: flex;
    min-height: clamp(42px, calc(36px + .5vw), 50px);
    padding: 0 clamp(9px, .68vw, 14px);
    border: 0;
    border-radius: 8px;
    color: rgba(255, 255, 255, .87);
    font-size: var(--h4-header-action);
    font-weight: 760;
    white-space: nowrap;
  }

  .home .horizon-header .wp-block-navigation-item__content:hover,
  .home .horizon-header .wp-block-navigation-item__content:focus-visible,
  .home .horizon-header .current-menu-item > .wp-block-navigation-item__content,
  .home .horizon-header .current-menu-ancestor > .wp-block-navigation-item__content {
    color: #fff;
    background: rgba(255, 255, 255, .1);
  }

  .home .horizon-header .current-menu-item > .wp-block-navigation-item__content::after,
  .home .horizon-header .current-menu-ancestor > .wp-block-navigation-item__content::after {
    display: none;
  }

  .home .horizon-header .horizon-nav-join .wp-block-navigation-item__content {
    margin-left: 4px;
    padding-inline: 14px;
    color: #fff;
    background: var(--h4-bordeaux, #9e2b41);
    box-shadow: none;
  }

  .home .horizon-header .horizon-nav-login .wp-block-navigation-item__content {
    padding-inline: 14px;
    border: 1px solid rgba(255, 255, 255, .34);
    color: #fff;
    background: transparent;
  }

  .home .horizon-header .wp-block-navigation__submenu-container {
    min-width: 300px !important;
    padding: 9px !important;
    border: 1px solid rgba(49, 39, 130, .15) !important;
    border-radius: 12px;
    color: var(--h4-night, #171642);
    background: rgba(247, 243, 237, .99) !important;
    box-shadow: 0 20px 48px rgba(8, 7, 34, .24);
  }

  .home .horizon-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    min-height: 38px;
    color: var(--h4-night, #171642);
    white-space: normal;
  }

  .home .horizon-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
  .home .horizon-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
    color: var(--h4-night, #171642);
    background: rgba(49, 39, 130, .08);
  }

  .horizon-home-phase4 {
    overflow: visible;
  }

  .horizon-home-phase4__viewport {
    /* Le cqw reste attaché à la composition, tandis que cqh retombe sur svh.
     * Ainsi la barre de défilement du fallback peut disparaître après le
     * démarrage du moteur sans modifier les mesures verticales. */
    container-type: inline-size;
    height: max(700px, 100svh);
    min-height: 700px;
    overflow-x: auto;
    overflow-y: hidden;
    background: var(--h4-night);
    scrollbar-color: #ae3853 rgba(255, 255, 255, .14);
    scrollbar-width: thin;
  }

  .horizon-home-phase4__viewport::-webkit-scrollbar {
    height: 10px;
  }

  .horizon-home-phase4__viewport::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .12);
  }

  .horizon-home-phase4__viewport::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 99px;
    background: #ae3853;
    background-clip: padding-box;
  }

  .horizon-home-phase4__track {
    /*
     * L'échelle desktop est calculée depuis le viewport réellement disponible,
     * pas depuis chacune des scènes de largeur variable. Les bornes garantissent
     * la densité du 1280 × 720 et la présence du 2560/ultra-wide. La hauteur ne
     * réduit que les grands displays, jamais les textes de lecture.
     */
    --h4-type-display-xl: clamp(64px, min(calc(36px + 2.2cqw), calc(42px + 5.4cqh)), 100px);
    --h4-type-display-lg: clamp(54px, min(calc(38px + 1.8cqw), calc(40px + 4.8cqh)), 88px);
    --h4-type-display-md: clamp(50px, min(calc(34px + 1.55cqw), calc(38px + 4.3cqh)), 76px);
    --h4-type-heading: clamp(44px, min(calc(33px + 1.25cqw), calc(36px + 3.8cqh)), 68px);
    --h4-type-panel: clamp(27px, calc(17px + 1cqw), 42px);
    --h4-type-card-title: clamp(20px, calc(16px + .55cqw), 28px);
    --h4-type-body: clamp(16px, calc(13px + .3cqw), 20px);
    --h4-type-body-compact: clamp(15.5px, calc(13.5px + .22cqw), 18.5px);
    --h4-type-field: clamp(15px, calc(12.5px + .26cqw), 18px);
    --h4-type-action: clamp(14.5px, calc(12px + .26cqw), 18px);
    --h4-type-label: clamp(12.5px, calc(11px + .16cqw), 15px);
    --h4-type-caption: clamp(13px, calc(11.5px + .18cqw), 16px);
    --h4-type-meta: clamp(12px, calc(10.8px + .14cqw), 14.5px);
    --h4-leading-display: .94;
    --h4-leading-body: 1.58;
    --h4-tracking-display: -.052em;
    --h4-space-label-title: clamp(12px, 1.45cqh, 18px);
    --h4-space-title-body: clamp(18px, 2.35cqh, 28px);
    --h4-measure-reading: clamp(29rem, 36cqw, 48rem);
    --h4-measure-wide-copy: clamp(36rem, 44cqw, 58rem);
    width: 1068vw;
    height: max(700px, 100svh);
    min-height: 700px;
    overflow: hidden;
    color: #fff;
  }

  .horizon-home-phase4__atmosphere {
    background: linear-gradient(90deg,
      #15143e 0%,
      #201b50 5.056%,
      #342c68 10.112%,
      #494174 14.794%,
      #c9c3d5 18.727%,
      #c9c3d5 19.476%,
      #dfdce7 23.596%,
      #dcdde8 28.464%,
      #e4e2eb 34.270%,
      #d8d8e4 40.075%,
      #ece5e8 45.131%,
      #f2e7e4 50.187%,
      #f3ebe5 55.618%,
      #eee3df 61.049%,
      #292452 66.854%,
      #1a183f 72.659%,
      #292452 77.060%,
      #c9c3d6 81.461%,
      #e2dfe8 85.487%,
      #f2e7e1 89.513%,
      #30245a 94.757%,
      #171642 100%);
  }

  .horizon-home-phase4__thread--desktop {
    display: block;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .horizon-home-scene {
    position: absolute;
    z-index: 3;
    top: 0;
    display: block;
    height: 100%;
    min-height: 0;
    padding: 0;
    overflow: visible;
    color: var(--h4-night);
    background: transparent;
  }

  .horizon-home-copy,
  .horizon-home-surface,
  .horizon-home-professions-head,
  .horizon-home-field-cluster,
  .horizon-home-life-item,
  .horizon-home-life-link,
  .horizon-home-signature,
  .horizon-home-quick,
  .horizon-home-photo {
    position: absolute;
  }

  .horizon-home-copy h1,
  .horizon-home-copy h2,
  .horizon-home-surface h2,
  .horizon-home-professions-head h2 {
    font-size: var(--h4-type-heading);
    /*
     * Les largeurs de colonne pilotent la composition. Un nowrap global
     * ignorait ces limites et faisait glisser les titres sous les surfaces
     * voisines. Les <br> éditoriaux restent prioritaires, mais chaque segment
     * peut désormais se recomposer proprement sur un petit desktop.
     */
    white-space: normal;
  }

  .horizon-home-copy > p:not(.horizon-home-eyebrow),
  .horizon-home-join > p,
  .horizon-home-signature > p {
    font-size: var(--h4-type-body);
    line-height: var(--h4-leading-body);
  }

  .horizon-home-eyebrow,
  .horizon-home-life-item > div > span {
    font-size: var(--h4-type-label);
  }

  .horizon-home-buttons {
    flex-direction: row;
  }

  .horizon-home-buttons a {
    min-height: 48px;
    font-size: var(--h4-type-action);
  }

  .horizon-home-section-link {
    font-size: var(--h4-type-action);
  }

  .horizon-home-photo {
    border-radius: 12px;
  }

  .horizon-home-photo figcaption {
    right: auto;
    bottom: 20px;
    left: 24px;
    width: max-content;
    max-width: min(78%, 42rem);
    padding: clamp(10px, .72cqw, 12px) clamp(14px, .95cqw, 17px) clamp(11px, .78cqw, 13px);
    font-size: var(--h4-type-caption);
  }

  .horizon-home-scene--hero {
    /*
     * La photographie cède un peu de largeur aux petits desktops, puis
     * retrouve progressivement sa proportion de référence. Cela conserve le
     * segment éditorial « professionnels MITHA » sur une ligne sans réduire
     * artificiellement le corps du titre.
     */
    --h4-hero-photo-left: clamp(51cqw, calc(307px + 35cqw), 59cqw);
    left: 0;
    width: 108vw;
    color: #fff;
  }

  .horizon-home-copy--hero {
    top: 19%;
    left: 5.2vw;
    width: calc(var(--h4-hero-photo-left) - 6cqw);
    max-width: none;
  }

  .horizon-home-copy--hero h1 {
    font-size: var(--h4-type-display-xl);
  }

  .horizon-home-copy--hero h1 em {
    white-space: nowrap;
  }

  .horizon-home-copy--hero > p:not(.horizon-home-eyebrow) {
    width: min(100%, var(--h4-measure-reading));
  }

  .horizon-home-photo--hero {
    top: max(12%, var(--h4-header-clearance));
    left: var(--h4-hero-photo-left);
    width: calc(100cqw - var(--h4-hero-photo-left) - var(--h4-desktop-gutter));
    height: 72%;
    aspect-ratio: auto;
  }

  .horizon-home-quick {
    bottom: 3.5%;
    left: 5.2vw;
    width: min(62vw, 1056px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 5px;
    border-radius: 12px;
  }

  .horizon-home-quick a {
    min-height: clamp(48px, calc(40px + .62cqw), 56px);
    padding: 7px 10px;
    border-right: 1px solid rgba(255, 255, 255, .16);
    border-bottom: 0;
    border-radius: 7px;
  }

  .horizon-home-quick a:nth-child(2n) {
    border-right: 1px solid rgba(255, 255, 255, .16);
  }

  .horizon-home-quick a:last-child {
    border-right: 0;
  }

  .horizon-home-quick strong {
    overflow: visible;
    font-size: var(--h4-type-action);
    text-overflow: clip;
    text-wrap: balance;
    white-space: normal;
  }

  .horizon-home-scene--purpose {
    --purpose-frame: min(100vw, max(1208.8889px, 177.7778svh));
    --purpose-inset: calc((100vw - var(--purpose-frame)) / 2);
    left: 108vw;
    width: 100vw;
    color: #fff;
  }

  .horizon-home-copy--purpose {
    top: clamp(108px, 18cqh, 260px);
    left: calc(var(--purpose-inset) + min(5.3vw, 9.4222svh));
    width: min(55cqw, 75rem, 97.7778svh);
    max-width: none;
  }

  .horizon-home-copy--purpose h2 {
    font-size: var(--h4-type-heading);
  }

  .horizon-home-purpose-intro {
    width: min(100%, var(--h4-measure-reading), 67.5556svh);
  }

  .horizon-home-benefits {
    top: clamp(100px, 17cqh, 260px);
    left: calc(var(--purpose-inset) + min(64vw, 113.7778svh));
    display: grid;
    width: min(33vw, 58.6667svh);
    margin: 0;
    padding: clamp(20px, 3cqh, 48px) min(2.5vw, 4.4444svh) clamp(16px, 2.4cqh, 38px);
    border-radius: 12px;
  }

  .horizon-home-benefits li {
    min-height: clamp(60px, 8.5cqh, 124px);
    padding: clamp(9px, 1.1cqh, 18px) .6vw clamp(9px, 1.1cqh, 18px) 1.8vw;
    font-size: var(--h4-type-body-compact);
  }

  .horizon-home-scene--profession-intro {
    left: 200vw;
    width: 104vw;
  }

  .horizon-home-photo--profession {
    top: clamp(96px, 14vh, 170px);
    left: 8vw;
    width: 28.5vw;
    height: clamp(420px, min(65vh, 42vw), 1100px);
    aspect-ratio: auto;
  }

  .horizon-home-copy--profession {
    top: clamp(112px, 18vh, 210px);
    left: 50.8vw;
    width: min(47cqw, var(--h4-measure-wide-copy));
    max-width: var(--h4-measure-wide-copy);
  }

  .horizon-home-copy--profession h2 {
    font-size: var(--h4-type-display-md);
  }

  .horizon-home-copy--profession > p:not(.horizon-home-eyebrow) {
    width: min(100%, var(--h4-measure-reading));
  }

  .horizon-home-profession-detail {
    font-size: var(--h4-type-body-compact) !important;
  }

  .horizon-home-scene--professions {
    --h4-professions-width: min(92cqw, 2600px);
    --h4-professions-left: max(16cqw, calc((124cqw - var(--h4-professions-width)) / 2));
    left: 304vw;
    width: 124vw;
  }

  .horizon-home-professions-head {
    top: var(--h4-header-clearance);
    left: var(--h4-professions-left);
    width: min(65cqw, 1560px);
    max-width: none;
  }

  .horizon-home-professions-head h2 {
    font-size: var(--h4-type-heading);
  }

  .horizon-home-field-cluster {
    left: var(--h4-professions-left);
    width: var(--h4-professions-width);
    gap: clamp(14px, 1.15cqw, 28px);
  }

  .horizon-home-field-cluster--upper {
    top: max(clamp(184px, 26vh, 360px), calc(var(--h4-header-clearance) + 80px));
    grid-template-columns: .9fr 1.14fr 1.12fr .84fr;
  }

  .horizon-home-field-cluster--middle {
    top: clamp(330px, 48vh, 690px);
    grid-template-columns: .96fr 1.02fr 1.15fr 1.09fr;
  }

  .horizon-home-field-cluster--lower {
    top: clamp(480px, 70vh, 1010px);
    grid-template-columns: 1.18fr .82fr .75fr 1fr;
  }

  .horizon-home-field-cluster span {
    height: clamp(60px, 8vh, 88px);
    min-height: 60px;
    padding: 10px clamp(12px, .9vw, 16px) 10px clamp(22px, 1.55vw, 27px);
    font-size: var(--h4-type-field);
  }

  .horizon-home-field-cluster--upper span:nth-child(2),
  .horizon-home-field-cluster--middle span:nth-child(4),
  .horizon-home-field-cluster--lower span:nth-child(3) {
    top: clamp(-10px, -0.6cqh, -4px);
  }

  .horizon-home-field-cluster--upper span:nth-child(4),
  .horizon-home-field-cluster--middle span:nth-child(1),
  .horizon-home-field-cluster--lower span:nth-child(2) {
    top: clamp(4px, .6cqh, 10px);
  }

  .horizon-home-scene--recompose {
    left: 428vw;
    width: 108vw;
  }

  .horizon-home-copy--community {
    top: clamp(100px, 16vh, 190px);
    left: calc(4vw + var(--h4-desktop-gutter));
    width: 24.8vw;
    max-width: none;
  }

  .horizon-home-network-lead {
    font-size: var(--h4-type-body) !important;
    line-height: 1.55 !important;
  }

  .horizon-home-photo--community {
    top: max(clamp(88px, 13vh, 160px), var(--h4-header-clearance));
    left: 34.3vw;
    width: min(63cqw, calc(63cqh * 16 / 9), 1920px);
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .horizon-home-photo--community img {
    object-fit: cover;
  }

  .horizon-home-evolved {
    right: auto;
    bottom: clamp(24px, 5vh, 64px);
    left: calc(4vw + var(--h4-desktop-gutter));
    display: grid;
    width: calc(100vw - (2 * var(--h4-desktop-gutter)));
    grid-template-columns: minmax(0, 49vw) minmax(0, 1fr);
    gap: 3.5vw;
    align-items: end;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .horizon-home-evolved h3 {
    font-size: var(--h4-type-panel);
  }

  .horizon-home-evolved-fields {
    justify-content: flex-start;
  }

  .horizon-home-evolved-fields span {
    font-size: var(--h4-type-action);
  }

  .horizon-home-copy--community h2.horizon-home-eyebrow {
    margin-bottom: 18px;
    font-size: var(--h4-type-label);
    line-height: 1.35;
    letter-spacing: .17em;
  }

  .horizon-home-scene--meetings {
    left: 536vw;
    width: 116vw;
  }

  .horizon-home-copy--meetings {
    top: var(--h4-header-clearance);
    left: 10cqw;
    width: min(40cqw, var(--h4-measure-wide-copy));
    max-width: var(--h4-measure-wide-copy);
  }

  .horizon-home-copy--meetings h2 {
    font-size: var(--h4-type-heading);
  }

  .horizon-home-copy--meetings > p:not(.horizon-home-eyebrow) {
    width: min(100%, var(--h4-measure-reading));
    font-size: var(--h4-type-body-compact);
  }

  .horizon-home-photo--simulation {
    top: var(--h4-header-clearance);
    left: 50cqw;
    width: min(29cqw, 1040px);
    height: calc(78% - var(--h4-header-clearance) / 3);
    aspect-ratio: auto;
  }

  .horizon-home-photo--practice {
    top: 54%;
    left: 81.5cqw;
    width: min(24cqw, 780px);
    height: 38%;
    aspect-ratio: auto;
  }

  .horizon-home-scene--life {
    left: 652vw;
    width: 124vw;
    color: #fff;
  }

  .horizon-home-copy--life {
    top: var(--h4-header-clearance);
    left: calc(12vw + var(--h4-desktop-gutter));
    width: 42vw;
    color: var(--h4-night);
  }

  .horizon-home-copy--life::before {
    display: none;
  }

  .horizon-home-copy--life h2 {
    font-size: var(--h4-type-display-lg);
  }

  .horizon-home-life-item {
    position: absolute;
    display: block;
    gap: 0;
  }

  .horizon-home-life-item > div {
    position: absolute;
  }

  .horizon-home-life-item h3 {
    font-size: var(--h4-type-card-title);
  }

  .horizon-home-life-item p {
    font-size: var(--h4-type-body-compact);
    line-height: 1.45;
  }

  .horizon-home-life-item--memory {
    --h4-life-memory-photo-width: clamp(340px, 26vw, 660px);
    --h4-life-memory-copy-width: clamp(220px, 14vw, 340px);
    --h4-life-memory-gap: clamp(22px, 1.4vw, 36px);
    bottom: 5%;
    left: calc(12vw + var(--h4-desktop-gutter));
    width: max(44vw, calc(var(--h4-life-memory-photo-width) + var(--h4-life-memory-copy-width) + var(--h4-life-memory-gap)));
    height: 44%;
    min-height: 0;
    overflow: visible;
    border-radius: 0;
  }

  .horizon-home-life-item--memory .horizon-home-photo {
    inset: 0 auto 0 0;
    width: var(--h4-life-memory-photo-width);
    height: 100%;
    aspect-ratio: auto;
    border: 0;
    border-radius: 12px;
    box-shadow: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .horizon-home-life-item--memory > div {
    top: 0;
    right: auto;
    bottom: 0;
    left: calc(var(--h4-life-memory-photo-width) + var(--h4-life-memory-gap));
    display: grid;
    width: var(--h4-life-memory-copy-width);
    align-content: center;
    padding: 0;
  }

  .horizon-home-life-item--memory > div > p {
    color: rgba(255, 255, 255, .96);
    font-size: var(--h4-type-body-compact);
    font-weight: 500;
  }

  .horizon-home-life-item--actions {
    top: var(--h4-header-clearance);
    left: 58vw;
    width: calc(54vw - var(--h4-desktop-gutter));
    height: 37%;
  }

  .horizon-home-life-item--actions .horizon-home-photo {
    top: 0;
    left: 0;
    width: 24vw;
    height: 100%;
  }

  .horizon-home-life-item--actions > div {
    top: 5%;
    left: 27vw;
    width: calc(27vw - var(--h4-desktop-gutter));
  }

  .horizon-home-life-item--volunteer {
    right: auto;
    bottom: 5%;
    left: 63vw;
    width: calc(49vw - var(--h4-desktop-gutter));
    height: 37%;
  }

  .horizon-home-life-item--volunteer .horizon-home-photo {
    bottom: 0;
    left: 0;
    width: 22vw;
    height: 100%;
  }

  .horizon-home-life-item--volunteer > div {
    right: 0;
    bottom: 3%;
    width: calc(24vw - var(--h4-desktop-gutter));
  }

  .horizon-home-life-link {
    /*
     * Le CTA suit la hauteur utile de la composition : à 720/768 px il reste
     * sous le titre recomposé, puis respire davantage sur les grands écrans
     * sans venir toucher la photographie Mémoire.
     */
    top: clamp(315px, 39cqh, 560px);
    left: calc(12vw + var(--h4-desktop-gutter));
    width: auto;
    min-height: 44px;
    font-size: var(--h4-type-action);
  }

  .horizon-home-scene--news {
    left: 776vw;
    width: 94vw;
    color: #fff;
  }

  .horizon-home-copy--news {
    top: 20%;
    left: 5vw;
    width: 31vw;
  }

  .horizon-home-copy--news h2 {
    font-size: var(--h4-type-heading);
  }

  .horizon-home-news-feed {
    top: 15%;
    left: 40vw;
    width: 46vw;
    height: min(72cqh, 900px);
    min-height: 0;
    padding: clamp(38px, 3vw, 54px) clamp(38px, 3.2vw, 58px);
    overflow: auto;
    border-radius: 12px;
  }

  .horizon-home-news-feed .horizon-premium-news-grid {
    height: 100%;
    margin-top: 0;
    grid-template-rows: none;
    align-content: center;
  }

  .horizon-home-news-feed .horizon-premium-news-card:not(.is-primary) h3 {
    margin-top: 0;
    font-size: var(--h4-type-card-title);
  }

  .horizon-home-news-feed .horizon-premium-news-card:not(.is-primary) p {
    display: block;
  }

  .horizon-home-news-feed:has(> .horizon-premium-empty) {
    top: 34%;
    width: min(42cqw, 980px);
    height: auto;
    min-height: 230px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: rgba(255, 255, 255, .88);
    background: transparent;
    box-shadow: none;
  }

  .horizon-home-news-feed:has(> .horizon-premium-empty) > .horizon-premium-empty {
    min-height: 230px;
    padding: clamp(28px, 3cqw, 52px) 0;
    border-top: 1px solid rgba(255, 255, 255, .28);
    border-bottom: 1px solid rgba(255, 255, 255, .28);
    color: rgba(255, 255, 255, .88);
  }

  .horizon-home-news-feed .horizon-premium-news-card.is-primary {
    grid-row: auto;
    grid-column: auto;
    min-height: 0;
  }

  .horizon-home-news-feed .horizon-premium-news-card.is-primary:only-child {
    min-height: min(390px, 100%);
  }

  /* Un seul article devient une vraie composition éditoriale, plutôt qu'un
   * petit item perdu au sommet d'un grand panneau prévu pour trois. */
  .horizon-home-news-feed:has(.horizon-premium-news-card:only-child) {
    top: 24%;
    height: min(58cqh, 680px);
  }

  .horizon-home-news-feed .horizon-premium-news-grid:has(> .horizon-premium-news-card:only-child) {
    align-content: stretch;
  }

  .horizon-home-news-feed .horizon-premium-news-card:only-child {
    grid-template-columns: clamp(110px, 8cqw, 190px) minmax(0, 1fr);
    align-content: center;
  }

  .horizon-home-news-feed .horizon-premium-news-card:only-child h3 {
    font-size: var(--h4-type-panel);
    line-height: var(--h4-leading-heading);
  }

  .horizon-home-news-feed .horizon-premium-news-card:only-child p {
    max-width: var(--h4-measure-reading);
    font-size: var(--h4-type-body);
  }

  .horizon-home-news-feed .horizon-premium-news-grid:has(.horizon-premium-news-card:nth-child(2)) .horizon-premium-text-link {
    margin-top: 0;
  }

  .horizon-home-news-feed .horizon-premium-news-card {
    grid-template-columns: 10vw 1fr;
    gap: 8px 20px;
    padding: 14px 0;
  }

  .horizon-home-news-feed .horizon-premium-news-card > div,
  .horizon-home-news-feed .horizon-premium-news-card h3,
  .horizon-home-news-feed .horizon-premium-news-card p,
  .horizon-home-news-feed .horizon-premium-news-card > a {
    grid-column: 2;
  }

  .horizon-home-news-feed .horizon-premium-news-card > div {
    grid-row: 1 / span 4;
    grid-column: 1;
    align-content: start;
  }

  .horizon-home-news-feed h3 {
    font-size: var(--h4-type-card-title);
  }

  .horizon-home-news-feed .horizon-premium-news-card > div span,
  .horizon-home-news-feed time {
    font-size: var(--h4-type-meta);
  }

  .horizon-home-news-feed p {
    font-size: var(--h4-type-body-compact);
  }

  .horizon-home-news-feed .horizon-premium-news-card > a {
    min-height: 44px;
    font-size: var(--h4-type-action);
  }

  .horizon-home-scene--agenda {
    left: 870vw;
    width: 86vw;
  }

  .horizon-home-agenda {
    top: max(var(--h4-header-clearance), 15%);
    bottom: var(--h4-desktop-gutter);
    left: 5vw;
    display: grid;
    width: min(77cqw, 2100px);
    height: auto;
    min-height: 0;
    max-height: none;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    gap: clamp(10px, 1.4vh, 20px);
    align-content: start;
    padding: clamp(22px, 3.8vh, 48px) clamp(44px, 4.1vw, 70px);
    overflow: hidden;
  }

  .horizon-home-agenda h2 {
    font-size: var(--h4-type-heading);
  }

  .horizon-home-agenda .horizon-home-section-link {
    width: fit-content;
    min-height: 48px;
    align-self: start;
    justify-self: start;
    font-size: var(--h4-type-action);
  }

  .horizon-home-agenda-feed {
    min-height: 0;
    margin-top: 0;
    overflow: hidden;
  }

  .horizon-home-agenda-feed .horizon-premium-event-list,
  .horizon-home-agenda-feed .horizon-premium-empty {
    margin-top: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .horizon-home-agenda-feed .horizon-premium-event-list {
    height: 100%;
  }

  .horizon-home-agenda-feed .horizon-premium-event-list:has(> .horizon-premium-event:only-child) {
    grid-template-rows: minmax(0, 1fr);
  }

  .horizon-home-agenda-feed .horizon-premium-event:only-child time {
    min-height: clamp(80px, 9cqh, 132px);
  }

  .horizon-home-agenda-feed .horizon-premium-event:only-child time strong {
    font-size: clamp(3rem, 5cqh, 4.5rem);
  }

  .horizon-home-agenda-feed .horizon-premium-event:only-child h3 {
    max-width: var(--h4-measure-wide-copy);
    font-size: var(--h4-type-panel);
    line-height: var(--h4-leading-heading);
  }

  .horizon-home-agenda-feed .horizon-premium-event:only-child p {
    max-width: var(--h4-measure-reading);
    font-size: var(--h4-type-body);
  }

  .horizon-home-agenda-feed .horizon-premium-event-list:has(> .horizon-premium-event:nth-child(2)):not(:has(> .horizon-premium-event:nth-child(3))) {
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .horizon-home-agenda-feed .horizon-premium-event-list:has(> .horizon-premium-event:nth-child(3)) {
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .horizon-home-agenda-feed .horizon-premium-empty {
    min-height: clamp(140px, 22vh, 240px);
  }

  .horizon-home-agenda-feed .horizon-premium-empty span,
  .horizon-home-agenda-feed .horizon-premium-event time span,
  .horizon-home-agenda-feed .horizon-premium-event p {
    font-size: var(--h4-type-body-compact);
  }

  .horizon-home-agenda-feed .horizon-premium-event h3 {
    font-size: var(--h4-type-card-title);
  }

  .horizon-home-agenda-feed .horizon-premium-event > a {
    font-size: var(--h4-type-action);
  }

  .horizon-home-agenda-feed .horizon-premium-event {
    grid-template-columns: clamp(84px, 6.2vw, 116px) minmax(0, 1fr) auto;
    gap: clamp(20px, 1.5vw, 32px);
    align-items: center;
    min-height: 0;
    padding-block: clamp(10px, 1.45cqh, 20px);
  }

  .horizon-home-agenda-feed .horizon-premium-event > a {
    justify-self: end;
    white-space: nowrap;
  }

  .horizon-home-scene--join {
    left: 956vw;
    width: 112vw;
    color: #fff;
  }

  .horizon-home-join {
    top: 18%;
    left: 44vw;
    width: clamp(720px, 47cqw, 1440px);
    min-height: 0;
    padding: clamp(48px, 4vw, 68px) clamp(42px, 3.65vw, 62px);
    border-radius: 12px;
  }

  .horizon-home-join h2 {
    font-size: var(--h4-type-heading);
  }

  .horizon-home-signature {
    top: 18%;
    left: 16vw;
    display: grid;
    width: clamp(330px, calc(30cqw - var(--h4-desktop-gutter)), 720px);
    gap: 14px;
    padding: clamp(18px, 1.45vw, 28px);
    border: 0;
    border-left: 2px solid rgba(158, 43, 65, .5);
    border-radius: 0;
    color: var(--h4-night);
    background: transparent;
    box-shadow: none;
  }

  .horizon-home-signature > a:first-child {
    width: 100%;
    max-width: clamp(360px, 18cqw, 520px);
    min-height: 0;
    padding: 18px 22px;
    border-radius: 10px;
  }

  .horizon-home-signature > p {
    width: 100%;
    max-width: none;
    font-size: var(--h4-type-body);
  }

  .horizon-home-socials,
  .horizon-home-utility-links {
    gap: 8px;
  }

  .horizon-home-socials a {
    min-height: 42px;
  }

  .horizon-home-socials strong,
  .horizon-home-utility-links a {
    font-size: var(--h4-type-action);
  }

  .horizon-home-signature small {
    font-size: var(--h4-type-meta);
  }

  .horizon-home-photo-credit {
    font-size: var(--h4-type-meta) !important;
  }
}

/* Sur les panoramas peu hauts, la fin du fil traverse l'espace laissé entre
 * les réseaux sociaux et les liens légaux. Le contenu descend sans recréer
 * une carte autour de la signature ni altérer la trajectoire validée. */
@media (min-width: 1200px) and (min-height: 700px) and (max-height: 900px) and (hover: hover) and (pointer: fine) and (not (any-pointer: coarse)) and (prefers-reduced-motion: no-preference) {
  .horizon-home-scene--join .horizon-home-utility-links {
    margin-top: clamp(78px, 12cqh, 108px);
  }
}

/* Trois publications doivent rester parfaitement séparées même au plus petit
 * format du panorama (1280 × 720). L’extrait de la première est alors omis :
 * le titre et l’accès à l’article restent présents, sans collision interne. */
@media (min-width: 1200px) and (min-height: 700px) and (max-height: 800px) and (hover: hover) and (pointer: fine) and (not (any-pointer: coarse)) and (prefers-reduced-motion: no-preference) {
  .horizon-home-news-feed .horizon-premium-news-grid:has(.horizon-premium-news-card:nth-child(2)):not(:has(.horizon-premium-news-card:nth-child(3))) {
    grid-template-rows: repeat(2, minmax(0, 1fr));
    align-content: stretch;
  }

  .horizon-home-news-feed .horizon-premium-news-grid:has(.horizon-premium-news-card:nth-child(3)) {
    grid-template-rows: repeat(3, minmax(0, 1fr));
    align-content: stretch;
  }

  .horizon-home-news-feed .horizon-premium-news-grid:has(.horizon-premium-news-card:nth-child(2)) .horizon-premium-news-card {
    min-height: 0;
    padding-block: 10px;
  }

  .horizon-home-news-feed .horizon-premium-news-grid:has(.horizon-premium-news-card:nth-child(2)) .horizon-premium-news-card.is-primary p {
    display: none;
  }

  .horizon-home-news-feed .horizon-premium-news-grid:has(.horizon-premium-news-card:nth-child(3)) .horizon-premium-news-card p {
    display: none;
  }

  .horizon-home-news-feed .horizon-premium-news-grid:has(.horizon-premium-news-card:nth-child(3)) .horizon-premium-news-card > a {
    min-height: 44px;
  }

  .horizon-home-news-feed .horizon-premium-news-grid:has(.horizon-premium-news-card:nth-child(2)) h3 {
    font-size: clamp(18px, 1.45vw, 20px);
    line-height: 1.18;
  }

  .horizon-home-agenda {
    gap: 8px;
    padding-block: 18px;
  }

  .horizon-home-agenda-feed .horizon-premium-event time {
    min-height: 60px;
  }

  .horizon-home-agenda-feed .horizon-premium-event time strong {
    font-size: clamp(2.05rem, 3.1cqh, 2.5rem);
  }
}

@media (max-width: 480px) {
  .horizon-home-photo--hero {
    aspect-ratio: 3 / 2;
  }

  /* L'agenda ne conserve pas sa grille desktop à trois colonnes sur les
   * téléphones étroits : la date reste un repère stable tandis que le titre
   * et l'action disposent de toute la largeur de lecture restante. */
  .horizon-home-agenda-feed .horizon-premium-event {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
  }

  .horizon-home-agenda-feed .horizon-premium-event time {
    grid-row: 1 / span 2;
    grid-column: 1;
    align-self: center;
    padding-inline: 8px;
  }

  .horizon-home-agenda-feed .horizon-premium-event > div {
    grid-row: 1;
    grid-column: 2;
    min-width: 0;
  }

  .horizon-home-agenda-feed .horizon-premium-event > a {
    grid-row: 2;
    grid-column: 2;
    width: fit-content;
    justify-self: start;
    white-space: normal;
  }

}

@media (max-width: 359px) {
  .horizon-home-quick {
    grid-template-columns: minmax(0, 1fr);
  }

  .horizon-home-quick a,
  .horizon-home-quick a:nth-child(2n),
  .horizon-home-quick a:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
  }

  .horizon-home-quick a:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .horizon-home-phase4,
  .horizon-home-phase4 *,
  .horizon-home-phase4 *::before,
  .horizon-home-phase4 *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .horizon-home-phase4 [data-horizon-home-reveal],
  .horizon-home-phase4 [data-horizon-motion-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
