/* Widgets JIDH. Les couleurs reprennent celles du thème, avec des valeurs de repli. */
:root {
	--jw-bleu: var(--bleu, #003893);
	--jw-bleu-fonce: var(--bleu-fonce, #00296b);
	--jw-rouge: var(--rouge, #d21034);
	--jw-rouge-fonce: var(--rouge-fonce, #a80d29);
	--jw-nuit: var(--nuit, #2c3e50);
	--jw-encre: var(--encre, #1b2634);
	--jw-douce: var(--encre-douce, #4a5668);
	--jw-papier: var(--papier, #faf8f4);
	--jw-filet: var(--filet, #e4e0d8);
	--jw-voile: var(--voile, #e8eef9);
	--jw-rose: #ffb3c0;
	--jw-titre: var(--titre, "Fraunces", Georgia, serif);
	--jw-texte: var(--texte, "Public Sans", system-ui, sans-serif);
	--jw-rayon: 8px;
}

.jw-wrap { width: min(100% - 2.5rem, 1180px); margin-inline: auto; }
.jw-icon { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* --- Sections ----------------------------------------------------------- */

.jw-section { position: relative; font-family: var(--jw-texte); font-size: 1.0625rem; line-height: 1.6; color: var(--jw-encre); }
.jw-space--serre { padding-block: clamp(2rem, 4vw, 3.25rem); }
.jw-space--normal { padding-block: clamp(3.75rem, 8vw, 6.5rem); }
.jw-space--large { padding-block: clamp(4.75rem, 10vw, 8.5rem); }

.jw-tone--papier { background: var(--jw-papier); }
.jw-tone--blanc { background: #fff; }
.jw-tone--bleu { background: var(--jw-bleu); color: #fff; }
.jw-tone--nuit { background: var(--jw-nuit); color: #fff; }
.jw-tone--rouge { background: var(--jw-rouge); color: #fff; }
.jw-tone--bleu .jw-title, .jw-tone--nuit .jw-title,
.jw-tone--bleu .jw-subtitle, .jw-tone--nuit .jw-subtitle { color: #fff; }
.jw-tone--bleu .jw-eyebrow, .jw-tone--nuit .jw-eyebrow { color: var(--jw-rouge); }
.jw-tone--bleu .jw-intro, .jw-tone--nuit .jw-intro { color: #d5dde6; }

/* Motif ondulé en filigrane. Fond clair : l'image blanche et beige se fond dans la couleur de la section (multiplication).
   Fond sombre : l'image est inversée puis ajoutée en clair (écran), ce qui ne laisse que de fines ondes plus claires. */
.jw-pattern--ondes { isolation: isolate; overflow: hidden; }
.jw-pattern--ondes::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("img/motif-ondes.jpg") center / cover no-repeat; mix-blend-mode: multiply; opacity: .22; pointer-events: none; }
/* Les ondes beiges deviennent blanches : inversion, puis forte luminosité, puis addition de lumière à faible opacité. */
.jw-tone--nuit.jw-pattern--ondes::before, .jw-tone--bleu.jw-pattern--ondes::before { filter: invert(1) brightness(9); mix-blend-mode: screen; opacity: .018; }

.jw-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.jw-eyebrow { width: fit-content; max-width: 100%; padding: .4rem .85rem; border-left: 14px solid currentColor; border-right: 14px solid currentColor; border-top: 1px dashed var(--jw-bleu); border-bottom: 1px dashed var(--jw-bleu); background: #fff; border-radius: 2px; margin: 0 0 1rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--jw-rouge); }
.jw-title { margin: 0 0 .65rem; font-family: var(--jw-titre); font-weight: 700; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); line-height: 1.1; letter-spacing: -.015em; color: var(--jw-encre); text-wrap: balance; }
.jw-intro { margin: 0; font-size: 1.2rem; line-height: 1.55; color: var(--jw-douce); text-wrap: pretty; }
.jw-subtitle { margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.25rem; font-family: var(--jw-titre); font-size: 1.5rem; font-weight: 700; color: var(--jw-encre); }

.jw-more { margin: clamp(2rem, 4vw, 2.75rem) 0 0; }
.jw-editor-note { margin: 0; padding: 1rem 1.25rem; border: 2px dashed #b8c2d1; border-radius: 6px; background: #f4f6fa; color: #475467; font: 500 14px/1.5 system-ui, sans-serif; }

/* --- Boutons ------------------------------------------------------------ */

.jw-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: .75rem 1.5rem;
	font: 700 .95rem/1.2 var(--jw-texte); text-decoration: none; cursor: pointer;
	border: 2px solid transparent; border-radius: 6px;
	transition: background-color .15s, color .15s, border-color .15s;
}
.jw-btn--red { background: var(--jw-rouge); color: #fff; }
.jw-btn--red:hover { background: var(--jw-rouge-fonce); color: #fff; }
.jw-btn--blue { background: var(--jw-bleu); color: #fff; }
.jw-btn--blue:hover { background: var(--jw-bleu-fonce); color: #fff; }
.jw-btn--ghost { color: var(--jw-bleu); border-color: var(--jw-bleu); }
.jw-btn--ghost:hover { background: var(--jw-bleu); color: #fff; }
.jw-btn--light { color: #fff; border-color: rgba(255, 255, 255, .7); }
.jw-btn--light:hover { background: #fff; color: var(--jw-nuit); border-color: #fff; }
.jw-section a:focus-visible { outline: 3px solid var(--jw-rouge); outline-offset: 3px; }
.jw-tone--nuit a:focus-visible, .jw-tone--bleu a:focus-visible, .jw-hero a:focus-visible { outline-color: #fff; }

/* --- Bandeau d'accueil : carrousel ------------------------------------- */

.jw-hero { position: relative; background: #0d1b2e; color: #fff; font-family: var(--jw-texte); }
.jw-hero__stage { position: relative; height: clamp(460px, 62vh, 540px); overflow: hidden; }

.jw-slide { position: absolute; inset: 0; display: flex; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.jw-slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; }

/* La photo occupe la partie droite du bandeau : sur toute la largeur, un bandeau si bas ne montrerait qu'une bande étroite et très agrandie. */
.jw-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: min(66%, 960px); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.jw-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, #0d1b2e 0%, #0d1b2e 32%, rgba(13, 27, 46, .55) 52%, rgba(13, 27, 46, .12) 100%); }
/* Sélecteur renforcé : « .elementor img { height: auto } » l'emporterait sinon. */
.jw-hero .jw-hero__media .jw-hero__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }

.jw-hero__inner { position: relative; z-index: 1; flex: 0 1 auto; width: min(100% - 2.5rem, 1180px); margin-inline: auto; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(2rem, 5vw, 3.5rem) 4.25rem; }
.jw-hero .jw-eyebrow { color: var(--jw-rouge); }
.jw-hero__title { max-width: 22ch; margin: 0 0 1rem; font-family: var(--jw-titre); font-weight: 700; font-size: clamp(2.1rem, 1rem + 3.7vw, 3.8rem); line-height: 1.04; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.jw-hero__intro { max-width: 36rem; margin: 0 0 1.6rem; font-size: clamp(1rem, .95rem + .4vw, 1.2rem); line-height: 1.55; color: #dbe3ec; }
.jw-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.jw-hero__actions:empty { display: none; }

/* Indicateurs centrés : une barre par diapositive, celle de la diapositive active se remplit. */
.jw-hero__dots { position: absolute; left: 50%; bottom: .9rem; z-index: 3; display: flex; transform: translateX(-50%); }
.jw-dot { display: grid; place-items: center; width: 3.4rem; height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; }
.jw-dot__track { display: block; width: 2.6rem; height: 4px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .35); transition: background-color .15s; }
.jw-dot:hover .jw-dot__track { background: rgba(255, 255, 255, .55); }
.jw-dot__fill { display: block; width: 100%; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.jw-dot[aria-current="true"] .jw-dot__fill { transform: scaleX(1); }
.jw-hero.is-auto .jw-dot[aria-current="true"] .jw-dot__fill { animation: jw-progress var(--jw-interval, 7000ms) linear forwards; }
.jw-hero.is-held .jw-dot__fill { animation-play-state: paused; }
.jw-dot:focus-visible { outline: 3px solid #fff; outline-offset: -2px; border-radius: 8px; }

@keyframes jw-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.jw-hero__bar { position: relative; z-index: 1; background: var(--jw-bleu); color: #fff; }
.jw-hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; padding-block: 1.3rem; }
.jw-fact { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.jw-fact__icon { display: grid; place-items: center; flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; }
.jw-fact__icon .jw-icon { width: 1.35rem; height: 1.35rem; }
.jw-fact__text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.jw-fact__label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #c3d4f7; }
.jw-fact__value { font-family: var(--jw-titre); font-weight: 700; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); line-height: 1.25; color: #fff; }
.jw-fact__value--long { font-size: 1rem; line-height: 1.35; font-weight: 600; }
.jw-countdown__cells { display: flex; gap: 1.1rem; font-size: .9rem; color: #dbe6ff; }
.jw-countdown__cells b { font-family: var(--jw-titre); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
@media (max-width: 820px) {
	/* Mobile : chaque information est centrée, l'icône au-dessus du texte. */
	.jw-hero__facts { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: .5rem; }
	.jw-fact { flex-direction: column; justify-content: center; gap: .6rem; padding-block: 1.1rem; text-align: center; }
	.jw-fact + .jw-fact { border-top: 1px solid rgba(255, 255, 255, .18); }
	.jw-fact__text { align-items: center; }
	.jw-countdown__cells { justify-content: center; }
	.jw-hero__stage { height: auto; min-height: 600px; }
	.jw-hero__title { max-width: 16ch; }
	.jw-hero__media { width: 100%; -webkit-mask-image: none; mask-image: none; }
	.jw-hero__shade { background: linear-gradient(180deg, rgba(13, 27, 46, .88) 0%, rgba(13, 27, 46, .7) 60%, rgba(13, 27, 46, .45) 100%); }
}
@media (prefers-reduced-motion: reduce) {
	.jw-slide, .jw-slide.is-active { transition: none; }
}

/* --- Chiffres clés ------------------------------------------------------ */

.jw-figure-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.jw-figure { display: flex; flex-direction: column; gap: .3rem; padding: .5rem clamp(1rem, 3vw, 2.5rem); border-left: 1px solid var(--jw-filet); }
.jw-figure:first-child { padding-left: 0; border-left: 0; }
.jw-figure__value { font-family: var(--jw-titre); font-weight: 700; font-size: clamp(2.6rem, 1.8rem + 3vw, 4.4rem); line-height: 1; letter-spacing: -.02em; color: var(--jw-bleu); }
.jw-figure__label { font-size: .98rem; color: var(--jw-douce); }
@media (max-width: 760px) {
	.jw-figure-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
	.jw-figure:nth-child(odd) { padding-left: 0; border-left: 0; }
}

/* --- Mission et vision -------------------------------------------------- */

.jw-mission__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); }
.jw-mission__top.has-photo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.jw-mission__top.has-photo .jw-mission__statements { display: grid; gap: 2rem; }
.jw-mission__statements { display: contents; }
.jw-photo { position: relative; margin: 0; }
.jw-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 72% 40%; border-radius: 6px; }
.jw-section .jw-photo img { max-width: 100%; }

.jw-statement__label { margin: 0 0 1rem; font: 700 .8rem/1 var(--jw-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--jw-rouge); }
.jw-statement__text { margin: 0; color: var(--jw-douce); }
.jw-statement__text--big { font-family: var(--jw-titre); font-weight: 600; font-size: clamp(1.4rem, 1.05rem + 1.2vw, 2rem); line-height: 1.3; color: var(--jw-encre); text-wrap: pretty; }

.jw-general { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem 2.5rem; align-items: baseline; margin-top: clamp(2.5rem, 6vw, 4.5rem); padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--jw-rayon); background: var(--jw-nuit); color: #fff; }
.jw-general__label { align-self: start; width: fit-content; max-width: 100%; padding: .4rem .85rem; border-left: 14px solid currentColor; border-right: 14px solid currentColor; border-top: 1px dashed var(--jw-bleu); border-bottom: 1px dashed var(--jw-bleu); background: #fff; border-radius: 2px; margin: 0; font: 700 .78rem/1.3 var(--jw-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--jw-rouge); }
.jw-general__text { margin: 0; font-family: var(--jw-titre); font-weight: 600; font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); line-height: 1.4; }
@media (max-width: 820px) {
	.jw-mission__top, .jw-mission__top.has-photo { grid-template-columns: minmax(0, 1fr); }
	.jw-photo img { aspect-ratio: 16 / 11; }
	.jw-general { grid-template-columns: minmax(0, 1fr); }
}

/* --- Cartes (objectifs, axes, formats) ---------------------------------- */

.jw-cards { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.jw-card { display: flex; flex-direction: column; gap: .65rem; padding: 1.6rem; background: #fff; border: 1px solid var(--jw-filet); border-radius: var(--jw-rayon); transition: border-color .15s; }
.jw-card:hover { border-color: var(--jw-bleu); }
.jw-card__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--jw-voile); color: var(--jw-bleu); }
.jw-card__icon .jw-icon { width: 1.45rem; height: 1.45rem; }
.jw-card__title { margin: .35rem 0 0; font-family: var(--jw-titre); font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
.jw-card__title a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.jw-card__title a:hover { color: var(--jw-bleu); text-decoration: underline; }
.jw-card__text { margin: 0; font-size: .96rem; line-height: 1.55; color: var(--jw-douce); }

/* Cinq éléments : trois en haut, deux plus larges dessous. */
.jw-cards--n5, .jw-cards--n3, .jw-cards--n6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.jw-cards--n5 .jw-card, .jw-cards--n3 .jw-card, .jw-cards--n6 .jw-card { grid-column: span 2; }
.jw-cards--n5 .jw-card:nth-child(n+4) { grid-column: span 3; }
.jw-cards--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jw-cards--n1, .jw-cards--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) {
	.jw-cards--n5, .jw-cards--n3, .jw-cards--n6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jw-cards--n5 .jw-card, .jw-cards--n3 .jw-card, .jw-cards--n6 .jw-card, .jw-cards--n5 .jw-card:nth-child(n+4) { grid-column: auto; }
	.jw-cards--n5 .jw-card:last-child, .jw-cards--n3 .jw-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.jw-cards--n5, .jw-cards--n3, .jw-cards--n6, .jw-cards--n4, .jw-cards--n1, .jw-cards--n2 { grid-template-columns: minmax(0, 1fr); }
	.jw-cards--n5 .jw-card:last-child, .jw-cards--n3 .jw-card:last-child { grid-column: auto; }
}

/* Axes : cartes sur fond bleu nuit. */
.jw-cards--tiles .jw-card { gap: .75rem; padding: 1.75rem; }
.jw-cards--tiles .jw-card__title { font-size: 1.35rem; }
.jw-tone--nuit .jw-cards--tiles .jw-card, .jw-tone--bleu .jw-cards--tiles .jw-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); }
.jw-tone--nuit .jw-cards--tiles .jw-card:hover, .jw-tone--bleu .jw-cards--tiles .jw-card:hover { border-color: rgba(255, 255, 255, .5); }
.jw-tone--nuit .jw-cards--tiles .jw-card__icon, .jw-tone--bleu .jw-cards--tiles .jw-card__icon { background: rgba(255, 255, 255, .12); color: #fff; }
.jw-tone--nuit .jw-cards--tiles .jw-card__title, .jw-tone--bleu .jw-cards--tiles .jw-card__title { color: #fff; }
.jw-tone--nuit .jw-cards--tiles .jw-card__text, .jw-tone--bleu .jw-cards--tiles .jw-card__text { color: #cfd8e3; }
.jw-card__top { display: flex; align-items: center; justify-content: space-between; }
.jw-card__num { font-family: var(--jw-titre); font-weight: 700; font-size: 1.1rem; letter-spacing: .06em; color: var(--jw-rouge); }
.jw-tone--nuit .jw-card__num, .jw-tone--bleu .jw-card__num { color: var(--jw-rose); }
.jw-cards--tiles .jw-card__num { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fff; color: var(--jw-nuit); font-size: 1rem; letter-spacing: 0; }
.jw-tone--nuit .jw-cards--tiles .jw-card__num, .jw-tone--bleu .jw-cards--tiles .jw-card__num { color: var(--jw-nuit); }
.jw-card__go { margin-top: auto; padding-top: .5rem; font-weight: 700; color: var(--jw-bleu); text-underline-offset: .2em; }
.jw-tone--nuit .jw-card__go, .jw-tone--bleu .jw-card__go { color: #fff; }
.jw-card__go::after { content: " →"; }
.jw-card__go:hover { color: var(--jw-rouge); }
.jw-tone--nuit .jw-card__go:hover, .jw-tone--bleu .jw-card__go:hover { color: var(--jw-rose); }

/* Formats : petites cartes à icône. */
.jw-cards--grid { gap: 1rem; }
.jw-cards--c1 { grid-template-columns: minmax(0, 1fr); }
.jw-cards--c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jw-cards--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jw-cards--c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jw-card--compact { gap: .5rem; padding: 1.4rem; }
.jw-card--compact .jw-card__title { margin-top: .6rem; font-size: 1.1rem; }
@media (max-width: 960px) { .jw-cards--c3, .jw-cards--c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .jw-cards--c2, .jw-cards--c3, .jw-cards--c4 { grid-template-columns: minmax(0, 1fr); } }

/* --- Points clés : filets ----------------------------------------------- */

.jw-points { counter-reset: point; display: grid; gap: 2.25rem 2.5rem; margin: 0; padding: 0; list-style: none; }
.jw-points--1 { grid-template-columns: minmax(0, 1fr); gap: 0; }
.jw-points--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jw-points--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jw-points--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jw-point { counter-increment: point; padding-top: 1.1rem; border-top: 2px solid var(--jw-encre); }
.jw-points--1 .jw-point { padding-block: 1.2rem; border-top-width: 1px; border-color: var(--jw-filet); }
.jw-point__title { margin: 0 0 .4rem; font-family: var(--jw-titre); font-weight: 700; font-size: 1.3rem; line-height: 1.25; }
.is-numbered .jw-point__title::before { content: counter(point, decimal-leading-zero); display: block; margin-bottom: .35rem; font: 700 .85rem/1 var(--jw-texte); letter-spacing: .1em; color: var(--jw-rouge); }
.jw-point__text { margin: 0; color: var(--jw-douce); font-size: .98rem; }
@media (max-width: 960px) { .jw-points--3, .jw-points--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .jw-points--2, .jw-points--3, .jw-points--4 { grid-template-columns: minmax(0, 1fr); } }

/* --- Points clés : étapes reliées --------------------------------------- */

.jw-steps { position: relative; display: grid; gap: 2rem 2.5rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.jw-steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jw-steps--3, .jw-steps--1 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jw-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jw-steps::before { content: ""; position: absolute; top: 1.4rem; left: 1.4rem; right: 1.4rem; height: 2px; background: rgba(255, 255, 255, .35); }
.jw-step { position: relative; padding-top: 4rem; }
.jw-step__marker { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: #fff; color: var(--jw-bleu); font-family: var(--jw-titre); font-weight: 700; font-size: 1.2rem; }
.jw-step__title { margin: 0 0 .5rem; font-family: var(--jw-titre); font-weight: 700; font-size: 1.45rem; color: #fff; }
.jw-step__text { margin: 0; max-width: 24rem; color: #d5dde6; }
.jw-tone--papier .jw-steps::before, .jw-tone--blanc .jw-steps::before { background: var(--jw-filet); }
.jw-tone--papier .jw-step__marker, .jw-tone--blanc .jw-step__marker { background: var(--jw-bleu); color: #fff; }
.jw-tone--papier .jw-step__title, .jw-tone--blanc .jw-step__title { color: var(--jw-encre); }
.jw-tone--papier .jw-step__text, .jw-tone--blanc .jw-step__text { color: var(--jw-douce); }
@media (max-width: 760px) {
	.jw-steps--2, .jw-steps--3, .jw-steps--4, .jw-steps--1 { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
	.jw-steps::before { top: 1.4rem; bottom: 1.4rem; left: 1.4rem; right: auto; width: 2px; height: auto; }
	.jw-step { padding: 0 0 0 4rem; }
}

/* --- Points clés : liste à coches --------------------------------------- */

.jw-checks { display: grid; gap: 0 3rem; margin: 0; padding: 0; list-style: none; }
.jw-checks--1 { grid-template-columns: minmax(0, 1fr); }
.jw-checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jw-check { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--jw-filet); }
.jw-checks--1 .jw-check:first-child { border-top: 1px solid var(--jw-filet); }
.jw-check__mark { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; margin-top: .1rem; border-radius: 50%; background: var(--jw-voile); color: var(--jw-bleu); }
.jw-check__mark .jw-icon { width: 1.05rem; height: 1.05rem; stroke-width: 2.5; }
.jw-check__body { display: flex; flex-direction: column; gap: .2rem; }
.jw-check__body strong { font-weight: 600; font-size: 1.08rem; line-height: 1.4; }
.jw-check__body span { color: var(--jw-douce); font-size: .96rem; }
@media (max-width: 720px) { .jw-checks--2 { grid-template-columns: minmax(0, 1fr); } }

/* --- Titre à gauche, contenu à droite ----------------------------------- */

.jw-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.jw-split__head { position: sticky; top: 7rem; }
.jw-split__head .jw-head { margin-bottom: 0; }
@media (max-width: 900px) {
	.jw-split { grid-template-columns: minmax(0, 1fr); }
	.jw-split__head { position: static; }
	.jw-split__head .jw-head { margin-bottom: 1.75rem; }
}

/* --- Programme ---------------------------------------------------------- */

.jw-event-list { border-top: 2px solid var(--jw-encre); }
.jw-event { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 1.5rem; align-items: center; padding: 1.4rem .25rem; border-bottom: 1px solid var(--jw-filet); }
.jw-event__date { display: grid; justify-items: center; line-height: 1; text-align: center; }
.jw-event__day { font-family: var(--jw-titre); font-weight: 700; font-size: 2.7rem; color: var(--jw-bleu); }
.jw-event__month { margin-top: .25rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--jw-rouge); }
.jw-event__year { margin-top: .2rem; font-size: .75rem; color: var(--jw-douce); }
.jw-event__tag { margin: 0 0 .3rem; font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--jw-douce); }
.jw-event__title { margin: 0; font-family: var(--jw-titre); font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); line-height: 1.2; }
.jw-event__title a { color: var(--jw-encre); text-decoration: none; }
.jw-event__title a:hover { color: var(--jw-bleu); text-decoration: underline; }
.jw-event__meta { margin: .35rem 0 0; font-size: .95rem; color: var(--jw-douce); }

.jw-empty-card { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.25rem); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--jw-rayon); background: var(--jw-voile); }
.jw-empty-card__icon { display: grid; place-items: center; flex: none; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: #fff; color: var(--jw-bleu); }
.jw-empty-card__icon .jw-icon { width: 2rem; height: 2rem; }
.jw-empty-card__text { margin: 0 0 1.1rem; max-width: 34rem; font-family: var(--jw-titre); font-weight: 600; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.35; }
@media (max-width: 600px) { .jw-empty-card { flex-direction: column; align-items: flex-start; } }

/* --- Intervenants ------------------------------------------------------- */

.jw-people { display: grid; gap: 2rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.jw-people--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jw-people--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jw-people--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
/* --- Slider d'intervenants ---------------------------------------------- */

.jw-slider__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.jw-slider__top .jw-head { margin-bottom: 0; }
.jw-slider__nav { display: flex; gap: .6rem; flex: none; }
.jw-arrow { display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; color: var(--jw-bleu); background: #fff; border: 1px solid #c9d1de; border-radius: 50%; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s cubic-bezier(.22, .8, .3, 1); }
.jw-arrow .jw-icon { width: 1.25rem; height: 1.25rem; stroke-width: 2.25; }
.jw-arrow:hover:not(:disabled) { color: #fff; background: var(--jw-bleu); border-color: var(--jw-bleu); }
.jw-arrow:active:not(:disabled) { transform: scale(.94); }
.jw-arrow:disabled { opacity: .35; cursor: default; }
.jw-arrow:focus-visible { outline: 3px solid var(--jw-rouge); outline-offset: 3px; }
.jw-slider.is-static .jw-slider__nav, .jw-slider.is-static .jw-slider__bar { display: none; }

/* Deux lignes de cartes : le slider défile par colonnes et chaque colonne s'arrête au bord gauche du cadre. */
.jw-people.jw-people--slider { --cols: 4; --gap: 1.5rem; display: grid; grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: calc((100% - var(--gap) * (var(--cols) - 1)) / var(--cols)); gap: 2rem var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .25rem; cursor: grab; }
.jw-people.jw-people--slider.jw-people--3 { --cols: 3; }
.jw-people.jw-people--slider.jw-people--5 { --cols: 5; }
.jw-people--slider::-webkit-scrollbar { display: none; }
.jw-people--slider.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.jw-people--slider:focus-visible { outline: 3px solid var(--jw-rouge); outline-offset: 6px; border-radius: 8px; }
.jw-people--slider > li { scroll-snap-align: start; min-width: 0; }
.jw-people--slider .jw-person__photo { aspect-ratio: 1 / 1.1; }
.jw-slider__bar { position: relative; height: 3px; margin-top: clamp(1.5rem, 3vw, 2rem); overflow: hidden; border-radius: 99px; background: #dfe3ec; }
.jw-slider__fill { display: block; height: 100%; border-radius: 99px; background: var(--jw-bleu); transform-origin: left; transition: transform .15s linear; }
.jw-more--center { text-align: center; }
@media (max-width: 1000px) { .jw-people.jw-people--slider, .jw-people.jw-people--slider.jw-people--3, .jw-people.jw-people--slider.jw-people--5 { --cols: 3; } }
@media (max-width: 640px) {
	.jw-slider__top { flex-direction: column; align-items: flex-start; }
	.jw-people.jw-people--slider, .jw-people.jw-people--slider.jw-people--3, .jw-people.jw-people--slider.jw-people--5 { --cols: 1.6; --gap: 1rem; gap: 1.5rem var(--gap); }
}
@media (prefers-reduced-motion: reduce) { .jw-arrow, .jw-slider__fill { transition: none; } }

.jw-person__link { display: block; text-decoration: none; color: inherit; }
.jw-person__photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: .9rem; border-radius: 6px; background: var(--jw-voile); }
.jw-section .jw-person__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.jw-person__initials { display: grid; place-items: center; height: 100%; font-family: var(--jw-titre); font-weight: 700; font-size: 3rem; color: var(--jw-bleu); }
.jw-person__name { display: block; font-family: var(--jw-titre); font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
.jw-person__link:hover .jw-person__name { color: var(--jw-bleu); text-decoration: underline; }
.jw-person__role { display: block; margin-top: .25rem; font-size: .9rem; line-height: 1.4; color: var(--jw-douce); }
@media (max-width: 1000px) { .jw-people--4, .jw-people--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .jw-people--3, .jw-people--4, .jw-people--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; } }

/* --- Niveaux de partenariat --------------------------------------------- */

/* Onglets Partenaires / Exposants */
.jw-tabs { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 2.25rem; gap: .25rem; padding: .3rem; border-radius: 14px; background: #e9ecf3; }
.jw-tab { min-height: 44px; padding: .6rem 1.4rem; border: 0; border-radius: 10px; background: transparent; color: var(--jw-douce); font: 600 .95rem/1.2 var(--jw-texte); cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
.jw-tab:hover { color: var(--jw-encre); }
.jw-tab[aria-selected="true"] { background: #fff; color: var(--jw-bleu); box-shadow: 0 1px 2px rgba(16, 24, 40, .1), 0 0 0 1px rgba(16, 24, 40, .04); }
.jw-tab:focus-visible { outline: 3px solid var(--jw-rouge); outline-offset: 2px; }
.jw-tier-panel[hidden] { display: none; }

.jw-tier-grid { display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; align-items: stretch; }
.jw-tier-grid--main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jw-tier-grid--other { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.jw-tier {
	position: relative; display: flex; flex-direction: column;
	padding: 2rem 1.75rem 1.75rem;
	background: #fff; border-radius: 20px;
	box-shadow: 0 0 0 1px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04), 0 14px 32px -14px rgba(16, 24, 40, .14);
	transition: box-shadow .2s;
}
.jw-tier:hover { box-shadow: 0 0 0 1px rgba(0, 56, 147, .28), 0 2px 4px rgba(16, 24, 40, .05), 0 22px 44px -18px rgba(0, 56, 147, .3); }

.jw-tier__name { margin: 0; font: 700 1.02rem/1.3 var(--jw-texte); color: var(--jw-encre); }
.jw-tier__amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; margin: 1.1rem 0 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #eceef3; color: var(--jw-encre); }
.jw-tier__from { font-family: var(--jw-titre); font-weight: 700; font-size: clamp(1.7rem, 1.2rem + 1vw, 2.1rem); line-height: 1.1; letter-spacing: -.01em; white-space: nowrap; }
.jw-tier__to { flex-basis: 100%; font-size: .95rem; font-weight: 600; color: var(--jw-douce); }
.jw-tier.is-featured .jw-tier__to { color: #c3d4f7; }
.jw-tier__perks { display: grid; gap: .8rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.jw-tier__perks li { display: flex; align-items: flex-start; gap: .7rem; font-size: .93rem; line-height: 1.45; color: var(--jw-douce); }
.jw-tier__tick { display: grid; place-items: center; flex: none; width: 1.3rem; height: 1.3rem; margin-top: .05rem; border-radius: 50%; background: var(--jw-voile); color: var(--jw-bleu); }
.jw-tier__tick .jw-icon { width: .75rem; height: .75rem; stroke-width: 3; }
.jw-tier__cta { margin: auto 0 0; }
.jw-tier__cta .jw-btn { width: 100%; border-radius: 10px; }

/* Première carte : mise en avant sur fond bleu. */
.jw-tier.is-featured { background: linear-gradient(160deg, #0a3a9c 0%, #002a70 100%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 48px -16px rgba(0, 41, 107, .55); }
.jw-tier.is-featured:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 30px 56px -18px rgba(0, 41, 107, .65); }
.jw-tier.is-featured .jw-tier__name, .jw-tier.is-featured .jw-tier__amount, .jw-tier.is-featured .jw-tier__from { color: #fff; }
.jw-tier.is-featured .jw-tier__amount { border-color: rgba(255, 255, 255, .2); }
.jw-tier.is-featured .jw-tier__perks li { color: #dbe6ff; }
.jw-tier.is-featured .jw-tier__tick { background: rgba(255, 255, 255, .16); color: #fff; }
.jw-tier__badge { position: absolute; top: 0; right: 1.5rem; transform: translateY(-50%); padding: .4rem .85rem; border-radius: 99px; background: var(--jw-rouge); color: #fff; font: 700 .72rem/1 var(--jw-texte); letter-spacing: .04em; box-shadow: 0 6px 14px -6px rgba(210, 16, 52, .6); }

.jw-tier--other { padding: 1.6rem 1.5rem; border-radius: 16px; }
.jw-tier--other .jw-tier__amount { margin: .9rem 0 1.15rem; padding-bottom: 1.15rem; }
.jw-tier--other .jw-tier__from { font-size: 1.5rem; }
.jw-tier--other .jw-tier__amount { margin-top: .75rem; }

@media (max-width: 1100px) {
	.jw-tier-grid--main, .jw-tier-grid--other { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .jw-tier-grid--main, .jw-tier-grid--other { grid-template-columns: minmax(0, 1fr); } }

/* --- Partenaires -------------------------------------------------------- */

.jw-logos { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.jw-logos li { display: grid; place-items: center; width: 190px; height: 100px; padding: 1rem; border: 1px solid var(--jw-filet); border-radius: 6px; background: #fff; font-weight: 700; text-align: center; }
.jw-section .jw-logos img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.jw-logos a { display: grid; place-items: center; width: 100%; height: 100%; color: inherit; text-decoration: none; }

/* --- Appel à l'action --------------------------------------------------- */

.jw-cta { overflow: hidden; }
.jw-cta__media { position: absolute; inset: 0; }
.jw-cta__media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 35%; }
.jw-cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 32, 44, .94) 0%, rgba(20, 32, 44, .82) 55%, rgba(20, 32, 44, .65) 100%); }
.jw-cta .jw-wrap { position: relative; z-index: 1; }
.jw-cta .jw-head { margin-bottom: 1.75rem; }
.jw-cta__grid { display: grid; gap: 2.5rem; align-items: center; }
.jw-cta__grid.has-card { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); }
.jw-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.jw-contact { display: grid; gap: 1.1rem; margin: 0; padding: clamp(1.5rem, 3vw, 2.25rem); list-style: none; border-radius: var(--jw-rayon); background: #fff; color: var(--jw-encre); }
.jw-contact li { display: flex; align-items: center; gap: 1rem; font-size: 1.05rem; font-weight: 600; overflow-wrap: anywhere; }
.jw-contact .jw-icon { box-sizing: content-box; width: 1.25rem; height: 1.25rem; padding: .65rem; border-radius: 50%; background: var(--jw-voile); color: var(--jw-bleu); }
.jw-contact a { color: var(--jw-encre); text-decoration: none; }
.jw-contact a:hover { color: var(--jw-bleu); text-decoration: underline; }
@media (max-width: 860px) { .jw-cta__grid.has-card { grid-template-columns: minmax(0, 1fr); } }

/* Cinq cartes : trois en haut, deux plus larges dessous. */
.jw-cards--grid.jw-cards--fan5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.jw-cards--fan5 .jw-card { grid-column: span 2; }
.jw-cards--fan5 .jw-card:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 900px) {
	.jw-cards--grid.jw-cards--fan5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jw-cards--fan5 .jw-card, .jw-cards--fan5 .jw-card:nth-child(n+4) { grid-column: auto; }
	.jw-cards--fan5 .jw-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .jw-cards--grid.jw-cards--fan5 { grid-template-columns: minmax(0, 1fr); } .jw-cards--fan5 .jw-card:last-child { grid-column: auto; } }

/* --- En-tête de page ---------------------------------------------------- */

.jw-pagehead { overflow: hidden; }
.jw-pagehead.jw-space--normal { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem); }
.jw-pagehead .jw-wrap { position: relative; z-index: 1; }
.jw-pagehead .jw-head { margin-bottom: 0; max-width: 48rem; }
.jw-pagehead .jw-title { font-size: clamp(2.4rem, 1.3rem + 3.8vw, 4.2rem); line-height: 1.04; letter-spacing: -.02em; }
.jw-pagehead .jw-intro { margin-top: 1.1rem; font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); }
.jw-pagehead__back { display: inline-block; margin-bottom: 1.5rem; font-size: .92rem; font-weight: 600; color: var(--jw-rose); text-decoration: none; }
.jw-pagehead__back:hover { text-decoration: underline; color: #fff; }
.jw-pagehead__media { position: absolute; inset: 0; }
.jw-pagehead__media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 40%; }
.jw-pagehead__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13, 27, 46, .95) 0%, rgba(13, 27, 46, .82) 50%, rgba(13, 27, 46, .55) 100%); }

/* --- Texte -------------------------------------------------------------- */

.jw-prose { font-size: 1.1rem; line-height: 1.75; color: var(--jw-encre); }
.jw-prose--narrow { max-width: 46rem; }
.jw-prose > * + * { margin-top: 1.15em; }
.jw-prose h3 { margin-top: 2em; font-family: var(--jw-titre); font-size: 1.5rem; line-height: 1.2; }
.jw-prose h4 { margin-top: 1.6em; font-size: 1.15rem; font-weight: 700; }
.jw-prose ul, .jw-prose ol { padding-left: 1.3em; }
.jw-prose li + li { margin-top: .45em; }
.jw-prose a { color: var(--jw-bleu); text-underline-offset: .2em; }
.jw-prose a:hover { color: var(--jw-rouge); }
.jw-prose blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 3px solid var(--jw-filet); font-family: var(--jw-titre); font-size: 1.3rem; }
.jw-richtext .jw-split { align-items: start; }

/* --- Galerie de photos -------------------------------------------------- */

.jw-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); align-items: start; margin: 0; padding: 0; list-style: none; }
.jw-gallery--n1 { grid-template-columns: minmax(0, 1fr); }
.jw-gallery--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jw-gallery--n3 > li:nth-child(2) { margin-top: clamp(1.5rem, 4vw, 3rem); }
.jw-gallery--n4, .jw-gallery--n6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.jw-tile { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 16px; background: #0d1b2e; isolation: isolate; }
/* Sélecteur renforcé : « .elementor img { height: auto } » l'emporterait sinon. */
.jw-section .jw-tile img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.jw-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13, 27, 46, 0) 38%, rgba(13, 27, 46, .55) 62%, rgba(13, 27, 46, .94) 100%); pointer-events: none; }
.jw-tile__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: .45rem; padding: clamp(1.1rem, 2.4vw, 1.6rem); color: #fff; }
.jw-tile__label { font: 700 .74rem/1.2 var(--jw-texte); letter-spacing: .13em; text-transform: uppercase; color: var(--jw-rouge); }
.jw-tile__text { font-size: .98rem; line-height: 1.5; color: #e8eef9; text-wrap: pretty; }

@media (prefers-reduced-motion: no-preference) {
	.jw-section .jw-tile img { transition: transform .8s cubic-bezier(.22, .8, .3, 1); }
	.jw-tile:hover img { transform: scale(1.05); }
}

@media (max-width: 900px) {
	.jw-gallery, .jw-gallery--n3 { grid-template-columns: minmax(0, 1fr); }
	.jw-gallery--n3 > li:nth-child(2) { margin-top: 0; }
	.jw-tile { aspect-ratio: 4 / 4.2; }
}

/* --- Formulaire natif : la carte du formulaire est dans JIDH Core ------- */
.jw-formwrap .jf { margin-inline: 0; }

/* --- Formulaire ou carte intégrés --------------------------------------- */

.jw-embed__box { max-width: 860px; margin-inline: auto; }
.jw-embed__box.is-wide { max-width: none; }
.jw-embed__box iframe { display: block; width: 100%; border: 0; border-radius: 12px; background: #fff; }
.jw-embed__box.is-framed { padding: .75rem; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04), 0 14px 32px -14px rgba(16, 24, 40, .14); }

@media (prefers-reduced-motion: reduce) { .jw-btn, .jw-card, .jw-tier, .jw-tab { transition: none; } }


/* --- Mouvement au survol ------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
	.jw-btn { transition: background-color .15s, color .15s, border-color .15s, transform .2s cubic-bezier(.22, .8, .3, 1), box-shadow .2s; }
	.jw-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(16, 24, 40, .45); }
	.jw-btn:active { transform: translateY(0) scale(.98); box-shadow: none; }

	.jw-card { transition: border-color .2s, transform .3s cubic-bezier(.22, .8, .3, 1), box-shadow .3s; }
	.jw-card:hover { transform: translateY(-4px); box-shadow: 0 18px 32px -18px rgba(16, 24, 40, .35); }
	.jw-tone--nuit .jw-card:hover, .jw-tone--bleu .jw-card:hover { box-shadow: 0 18px 32px -18px rgba(0, 0, 0, .6); }
	.jw-card__icon { transition: transform .3s cubic-bezier(.22, .8, .3, 1), background-color .2s, color .2s; }
	.jw-card:hover .jw-card__icon { transform: scale(1.1) rotate(-4deg); }
	.jw-card__go::after { display: inline-block; transition: transform .25s cubic-bezier(.22, .8, .3, 1); }
	.jw-card__go:hover::after { transform: translateX(4px); }

	.jw-tier { transition: box-shadow .3s, transform .3s cubic-bezier(.22, .8, .3, 1); }
	.jw-tier:hover { transform: translateY(-5px); }

	.jw-person__photo img { transition: transform .6s cubic-bezier(.22, .8, .3, 1); }
	.jw-person__link:hover .jw-person__photo img { transform: scale(1.05); }
	.jw-person__name { transition: color .15s; }

	.jw-event { transition: background-color .2s; }
	.jw-event:hover { background: rgba(0, 56, 147, .035); }
	.jw-event__day { transition: transform .3s cubic-bezier(.22, .8, .3, 1); }
	.jw-event:hover .jw-event__day { transform: scale(1.08); }

	.jw-dot__track { transition: background-color .15s, transform .2s; }
	.jw-dot:hover .jw-dot__track { transform: scaleY(1.6); }

	.jw-tab { transition: background-color .2s, color .2s, box-shadow .2s, transform .15s; }
	.jw-tab:active { transform: scale(.97); }

	.jw-logos li { transition: transform .25s cubic-bezier(.22, .8, .3, 1), box-shadow .25s; }
	.jw-logos li:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -14px rgba(16, 24, 40, .35); }
}

/* Le trait se dessine d'une étape à la suivante : 1 vers 2, puis 2 vers 3, puis 3 jusqu'au bout. Chaque étape trace le tronçon qui part de son rond. */
.jw-step::after { content: ""; position: absolute; top: 1.4rem; left: 2.8rem; width: calc(100% - .3rem); height: 2px; background: #fff; transform-origin: left center; transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
.jw-step:last-child::after { width: calc(100% - 4.2rem); }
.jw-step:nth-child(2)::after { transition-delay: .9s; }
.jw-step:nth-child(3)::after { transition-delay: 1.8s; }
.jw-step:nth-child(4)::after { transition-delay: 2.7s; }
.jw-steps.is-pending .jw-step::after { transform: scaleX(0); transition: none; }
.jw-tone--papier .jw-step::after,
.jw-tone--blanc .jw-step::after { background: var(--jw-bleu); }
@media (max-width: 760px) {
	.jw-step::after { top: 2.8rem; left: 1.4rem; width: 2px; height: calc(100% - .8rem); transform-origin: center top; }
	.jw-step:last-child::after { display: none; }
	.jw-steps.is-pending .jw-step::after { transform: scaleY(0); }
	.jw-step::after { transition-duration: .7s; }
	.jw-step:nth-child(2)::after { transition-delay: .7s; }
	.jw-step:nth-child(3)::after { transition-delay: 1.4s; }
}
@media (prefers-reduced-motion: reduce) { .jw-step::after { transition: none; } }

/* --- Articles (widget JIDH : articles) --------------------------------------- */
.jw-posts { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.jw-posts--feature { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; }
.jw-posts--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jw-posts__side { display: grid; gap: 1.5rem; grid-auto-rows: 1fr; }
.jw-post { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--jw-filet); border-radius: 12px; background: #fff; color: var(--jw-encre); }
.jw-post__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--jw-voile, #e8eef9); }
.jw-post .jw-post__media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.jw-post__body { display: flex; flex-direction: column; flex: 1; gap: .65rem; padding: 1.4rem 1.5rem 1.6rem; }
.jw-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem 1rem; margin: 0; font-size: .8rem; line-height: 1.4; color: var(--jw-douce); }
.jw-post__cat { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--jw-rouge); }
.jw-post__title { margin: 0; font-family: var(--jw-titre); font-weight: 700; font-size: 1.3rem; line-height: 1.25; text-wrap: balance; }
.jw-post__title a { color: inherit; text-decoration: none; }
/* Toute la carte est cliquable : le lien du titre s'étend sur elle. */
.jw-post__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.jw-post__title a:focus-visible { outline: none; }
.jw-post__title a:focus-visible::after { outline: 3px solid var(--jw-bleu); outline-offset: -3px; }
.jw-post__excerpt { margin: 0; color: var(--jw-douce); font-size: .98rem; line-height: 1.6; }
.jw-post__more { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: .6rem; font-weight: 700; font-size: .92rem; color: var(--jw-bleu); }
.jw-post__more .jw-icon { width: 1.05em; height: 1.05em; }
.jw-post--lead .jw-post__media { aspect-ratio: 16 / 9; }
.jw-post--lead .jw-post__body { padding: 1.75rem 2rem 2rem; gap: .8rem; }
.jw-post--lead .jw-post__title { font-size: clamp(1.55rem, 1.15rem + 1.2vw, 2.15rem); line-height: 1.15; }
.jw-post--lead .jw-post__excerpt { font-size: 1.04rem; }
.jw-post--compact { flex-direction: row; }
.jw-post--compact .jw-post__media { flex: 0 0 47%; aspect-ratio: auto; padding: .75rem; box-sizing: border-box; }
/* Dans la colonne de droite l'image est affichée en entier, sans rognage : le cadre est haut, une photo en paysage y serait coupée. */
.jw-post--compact .jw-post__media img { object-fit: contain; }
.jw-post--compact .jw-post__body { justify-content: flex-start; padding: 1.4rem 1.5rem 1.5rem; gap: .55rem; }
.jw-post--compact .jw-post__title { font-size: 1.15rem; }
.jw-post--compact .jw-post__excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; font-size: .94rem; line-height: 1.55; }
.jw-news .jw-more { margin: 2.25rem 0 0; }
@media (prefers-reduced-motion: no-preference) {
	.jw-post { transition: transform .3s cubic-bezier(.22, .8, .3, 1), box-shadow .3s, border-color .3s; }
	.jw-post:hover { transform: translateY(-4px); border-color: #cfd8e6; box-shadow: 0 18px 34px -20px rgba(16, 24, 40, .35); }
	.jw-post__media img { transition: transform .7s cubic-bezier(.22, .8, .3, 1); }
	.jw-post:hover .jw-post__media img { transform: scale(1.045); }
	.jw-post__more .jw-icon { transition: transform .25s; }
	.jw-post:hover .jw-post__more .jw-icon { transform: translateX(4px); }
}
.jw-post__title a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 960px) {
	.jw-posts--feature { grid-template-columns: minmax(0, 1fr); }
	.jw-posts__side { grid-auto-rows: auto; }
	.jw-posts--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.jw-posts--grid { grid-template-columns: minmax(0, 1fr); }
	.jw-post--compact { flex-direction: column; }
	.jw-post--compact .jw-post__media { flex: none; aspect-ratio: 16 / 10; }
	.jw-post--lead .jw-post__body { padding: 1.4rem 1.4rem 1.6rem; }
}

/* --- Billetterie (widget JIDH : billetterie) --------------------------------- */
.jw-ticket { position: relative; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); margin-top: 2.5rem; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--jw-filet), 0 28px 50px -30px rgba(0, 56, 147, .5); }
.jw-ticket__main { position: relative; padding: clamp(1.75rem, 4vw, 2.75rem); }
.jw-ticket__label { margin: 0 0 .5rem; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--jw-rouge); }
.jw-ticket__name { margin: 0; font-family: var(--jw-titre); font-weight: 700; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); line-height: 1; letter-spacing: -.02em; color: var(--jw-bleu); }
.jw-ticket__facts { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px dashed var(--jw-filet); }
.jw-ticket__facts div { min-width: 0; }
.jw-ticket__facts dt { margin: 0 0 .15rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--jw-douce); }
.jw-ticket__facts dd { margin: 0; font-family: var(--jw-titre); font-weight: 600; font-size: 1.2rem; line-height: 1.3; color: var(--jw-encre); }
.jw-ticket__stub { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: 0 16px 16px 0; background: var(--jw-bleu); color: #fff; }
/* Perforation entre le billet et son talon : pointillé et deux encoches. */
.jw-ticket__stub::before { content: ""; position: absolute; top: 1.25rem; bottom: 1.25rem; left: 0; border-left: 2px dashed rgba(255, 255, 255, .5); }
.jw-ticket__main::before, .jw-ticket__main::after { content: ""; position: absolute; right: -14px; z-index: 2; width: 28px; height: 28px; border-radius: 50%; background: var(--jw-papier); }
.jw-ticket__main::before { top: -14px; }
.jw-ticket__main::after { bottom: -14px; }
.jw-tone--blanc .jw-ticket__main::before, .jw-tone--blanc .jw-ticket__main::after { background: #fff; }
.jw-tone--bleu .jw-ticket__main::before, .jw-tone--bleu .jw-ticket__main::after { background: var(--jw-bleu); }
.jw-tone--nuit .jw-ticket__main::before, .jw-tone--nuit .jw-ticket__main::after { background: var(--jw-nuit); }
.jw-ticket__btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: .85rem 1.5rem; border-radius: 6px; background: #fff; color: var(--jw-bleu); font-weight: 700; font-size: 1.02rem; text-decoration: none; }
.jw-ticket__btn .jw-icon { width: 1.15em; height: 1.15em; }
.jw-ticket__btn:hover { background: var(--jw-voile); }
.jw-ticket__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.jw-ticket__note { margin: 0; font-size: .86rem; line-height: 1.5; color: #c9d6f0; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
	.jw-ticket__btn { transition: background-color .2s, transform .25s cubic-bezier(.22, .8, .3, 1); }
	.jw-ticket__btn:hover { transform: translateY(-2px); }
	.jw-ticket__btn .jw-icon { transition: transform .25s; }
	.jw-ticket__btn:hover .jw-icon { transform: translateX(4px); }
}
@media (max-width: 760px) {
	.jw-ticket { grid-template-columns: minmax(0, 1fr); }
	.jw-ticket__stub { border-radius: 0 0 16px 16px; }
	.jw-ticket__stub::before { top: 0; bottom: auto; left: 1.25rem; right: 1.25rem; border-left: 0; border-top: 2px dashed rgba(255, 255, 255, .5); }
	.jw-ticket__main::before { top: auto; bottom: -14px; right: auto; left: -14px; }
	.jw-ticket__main::after { bottom: -14px; right: -14px; }
}

.jw-embed__fallback { max-width: 860px; margin: 1rem auto 0; font-size: .9rem; text-align: center; color: var(--jw-douce); }
.jw-embed__fallback a { color: var(--jw-bleu); font-weight: 600; }

/* Questions fréquentes */
.jw-faq__list { display: grid; gap: .75rem; }
.jw-faq__item { background: #fff; border: 1px solid var(--jw-filet); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.jw-faq__item[open] { border-color: var(--jw-bleu); box-shadow: 0 10px 26px -18px rgba(0, 56, 147, .5); }
.jw-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.15rem 1.4rem; cursor: pointer; list-style: none; font-family: var(--jw-titre); font-weight: 700; font-size: 1.15rem; line-height: 1.3; color: var(--jw-encre); }
.jw-faq__q::-webkit-details-marker { display: none; }
.jw-faq__q:hover { color: var(--jw-bleu); }
.jw-faq__q:focus-visible { outline: 3px solid var(--jw-rouge); outline-offset: 2px; border-radius: 12px; }
.jw-faq__mark { position: relative; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--jw-voile); }
.jw-faq__mark::before, .jw-faq__mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 2px; margin: -1px 0 0 -.4rem; background: var(--jw-bleu); transition: transform .25s; }
.jw-faq__mark::after { transform: rotate(90deg); }
.jw-faq__item[open] .jw-faq__mark { background: var(--jw-bleu); }
.jw-faq__item[open] .jw-faq__mark::before, .jw-faq__item[open] .jw-faq__mark::after { background: #fff; }
.jw-faq__item[open] .jw-faq__mark::after { transform: rotate(0deg); }
.jw-faq__a { padding: 0 1.4rem 1.35rem; font-size: 1.02rem; line-height: 1.7; color: var(--jw-douce); }
.jw-faq__a p { margin: 0; }
.jw-faq__a > * + * { margin-top: .9em; }
.jw-tone--bleu .jw-faq__item, .jw-tone--nuit .jw-faq__item { color: var(--jw-encre); }
@media (prefers-reduced-motion: reduce) { .jw-faq__item, .jw-faq__mark::before, .jw-faq__mark::after { transition: none; } }

/* Fond rouge : titres et texte blancs, bouton principal blanc (un bouton rouge disparaîtrait sur le fond) */
.jw-tone--rouge .jw-title, .jw-tone--rouge .jw-subtitle, .jw-tone--rouge .jw-intro { color: #fff; }
.jw-tone--rouge .jw-intro { opacity: .95; }
.jw-tone--rouge .jw-eyebrow { color: var(--jw-rouge); }
.jw-tone--rouge .jw-btn--red { background: #fff; color: var(--jw-rouge-fonce); }
.jw-tone--rouge .jw-btn--red:hover { background: var(--jw-nuit); color: #fff; }
.jw-tone--rouge .jw-btn--light:hover { color: var(--jw-rouge-fonce); }
.jw-tone--rouge a:focus-visible { outline-color: #fff; }
.jw-tone--rouge.jw-pattern--ondes::before { filter: invert(1) brightness(9); mix-blend-mode: screen; opacity: .035; }
