/* Issy Natation — sections des compositions (accueil puis pages intérieures). */

/* ════════════════════════ ACCUEIL ════════════════════════ */

/* ───────── Intro de première visite (2,3 s, une fois par session, jamais en mouvement réduit) ───────── */
html.intro-on:not(.intro-ready) body::after { content: ""; position: fixed; inset: 0; z-index: 1000; background: var(--c-abysse); }
html.intro-lock { overflow: hidden; scrollbar-gutter: stable; }
.intro-on .hero, .intro-on .hero *, .intro-on .hero *::before, .intro-on .hero *::after { animation-play-state: paused !important; }
.intro { --line: 61%; --wave-h: clamp(90px, 13vw, 170px); position: fixed; inset: 0; z-index: 1000; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.intro__sheet { position: absolute; inset: 0; background: var(--c-abysse); animation: intro-lift 800ms 1500ms cubic-bezier(0.76, 0, 0.24, 1) forwards; }
@keyframes intro-lift { to { transform: translateY(calc(-100% - var(--wave-h))); } }
.intro__glow { position: absolute; inset: 0; background: radial-gradient(70% 55% at 50% var(--line), rgb(22 100 196 / 0.38), transparent 70%); }
.intro__water { position: absolute; left: 0; right: 0; top: var(--line); bottom: 0; background: linear-gradient(180deg, rgb(69 166 239 / 0.22), rgb(22 100 196 / 0.08) 45%, transparent 85%); }
.intro__water::after { content: ""; position: absolute; inset: 0; opacity: 0.16; mix-blend-mode: screen; background: var(--caustics) center / 700px auto repeat; -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); animation: caustics 9s linear infinite alternate; }
.intro__layer { position: absolute; inset: 0; pointer-events: none; }
.intro__layer--air { clip-path: inset(0 0 calc(100% - var(--line)) 0); }
.intro__layer--under { clip-path: inset(var(--line) 0 0 0); opacity: 0.32; filter: blur(1.5px); }
.intro__layer--under svg { fill: var(--c-chlore); }
.intro__logo { position: absolute; left: 50%; bottom: calc(100% - var(--line) + clamp(18px, 3vh, 30px)); width: min(58vw, 340px); translate: -50% 0; }
.intro__dive { transform-origin: 50% 60%; animation: intro-dive 620ms 860ms forwards; }
.intro__logo svg { display: block; width: 100%; height: auto; overflow: visible; fill: #fff; }
.intro__logo g[class] { transform-box: fill-box; transform-origin: 50% 50%; }
@keyframes intro-dive {
	0% { transform: none; animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1); }
	26% { transform: translateY(-8%) rotate(-5deg); animation-timing-function: cubic-bezier(0.6, 0, 0.9, 0.4); }
	100% { transform: translateY(165%) rotate(17deg) scale(0.9); }
}
.il-wave { opacity: 0; animation: il-glide 700ms calc(140ms + var(--k) * 90ms) var(--ease-nage) forwards; }
@keyframes il-glide { from { opacity: 0; transform: translateX(var(--from, -10%)); } to { opacity: 1; transform: none; } }
.il-letter { opacity: 0; animation: il-rise 560ms calc(330ms + var(--k) * 70ms) var(--ease-nage) forwards; }
@keyframes il-rise { from { opacity: 0; transform: translateY(45%); } to { opacity: 1; transform: none; } }
.il-name { opacity: 0; animation: il-fade 500ms 580ms var(--ease-nage) forwards; }
@keyframes il-fade { from { opacity: 0; transform: translateY(30%); } to { opacity: 1; transform: none; } }
.intro__rope { position: absolute; left: 50%; top: var(--line); translate: -50% -50%; display: block; height: 14px; overflow: visible; }
.intro__rope .rope-cable { stroke: rgb(255 255 255 / 0.35); stroke-width: 1.5; transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); animation: rope-cable 640ms 40ms var(--ease-nage) forwards; }
@keyframes rope-cable { to { transform: scaleX(1); } }
.intro__rope circle { transform-box: fill-box; transform-origin: 50% 50%; transform: scale(0); animation: rope-float 420ms var(--d) var(--ease-rebond) forwards; }
@keyframes rope-float { to { transform: scale(1); } }
.intro__rope-bob { animation: rope-bob 760ms 1120ms var(--ease-vague); }
@keyframes rope-bob { 30% { transform: translateY(5px); } 65% { transform: translateY(-2px); } }
.intro__mark { position: absolute; top: calc(var(--line) + 18px); font-family: var(--f-chrono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; color: var(--c-chlore); opacity: 0; animation: il-fade 400ms 520ms var(--ease-nage) forwards; }
.intro__mark--start { left: 6%; }
.intro__mark--end { right: 6%; }
.intro__ripple { position: absolute; left: 50%; top: var(--line); width: min(70vw, 420px); aspect-ratio: 8 / 1; translate: -50% -50%; border: 3px solid var(--c-chlore); border-radius: 50%; opacity: 0; transform: scale(0.08); box-shadow: 0 0 18px rgb(139 230 242 / 0.45), inset 0 0 14px rgb(139 230 242 / 0.35); animation: intro-ripple 900ms calc(1130ms + var(--k) * 140ms) cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
@keyframes intro-ripple { 0% { opacity: 0.95; transform: scale(0.08); } 100% { opacity: 0; transform: scale(1); } }
.intro__drop { position: absolute; left: 50%; top: var(--line); width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: var(--c-chlore); opacity: 0; animation: intro-drop 640ms calc(1120ms + var(--k) * 30ms) cubic-bezier(0.2, 0.6, 0.4, 1) forwards; }
@keyframes intro-drop { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 45% { opacity: 1; transform: translate(calc(var(--dx) * 0.7), var(--dy)) scale(0.9); } 100% { opacity: 0; transform: translate(var(--dx), 30px) scale(0.5); } }
.intro__wave { position: absolute; left: 0; top: calc(100% - 2px); width: 100%; height: var(--wave-h); overflow: hidden; transform: scaleY(-1); }
.intro__wave svg { width: 200%; max-width: none; height: 100%; animation: intro-drift 2.6s linear infinite; }
@keyframes intro-drift { to { transform: translateX(-50%); } }
.intro__wave .w1 { fill: var(--c-bassin); opacity: 0.55; }
.intro__wave .w2 { fill: var(--c-issy); opacity: 0.9; }
.intro__wave .w3 { fill: var(--c-abysse); }
.intro__skip { position: absolute; right: max(var(--gutter), env(safe-area-inset-right)); bottom: calc(var(--gutter) + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px 0 18px; border-radius: var(--r-pill); border: 1px solid rgb(255 255 255 / 0.3); background: rgb(255 255 255 / 0.08); color: #fff; font: 700 0.9rem var(--f-texte); cursor: pointer; opacity: 0; animation: il-fade 400ms 250ms var(--ease-nage) forwards, intro-out 300ms 1450ms forwards; }
.intro__skip:hover { background: rgb(255 255 255 / 0.16); }
.intro__skip .kbd { background: transparent; color: var(--c-chlore); border-color: rgb(139 230 242 / 0.4); }
@media (hover: none) { .intro__skip .kbd { display: none; } .intro__skip { padding-right: 18px; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
.intro.is-leaving { animation: intro-out 280ms var(--ease-vague) forwards; }
.intro.is-leaving * { animation-play-state: paused; }

/* ───────── Hero vidéo ───────── */
@property --lvl { syntax: "<length>"; inherits: false; initial-value: 0.95em; }
@property --wx { syntax: "<length>"; inherits: false; initial-value: 0em; }
.hero {
	--hero-h: clamp(620px, calc(100svh - var(--header-h) - 44px), 940px);
	--hero-pt: clamp(2rem, 1rem + 2.5vw, 3.25rem);
	--hero-pb: clamp(6.5rem, 4.5rem + 4.5vw, 8.75rem);
	--wave-fill: #fff;
	position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
	min-height: var(--hero-h); padding: var(--hero-pt) 0 var(--hero-pb); color: var(--on-dark); background: var(--c-abysse);
}
.hero__ambient { position: absolute; inset: -6%; z-index: -4; }
.hero__ambient img, .hero__ambient canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(44px) saturate(1.3); opacity: 0.5; }
.hero__ambient canvas { opacity: 0; transition: opacity 1.2s var(--ease-nage); }
.hero__ambient canvas.is-live { opacity: 0.62; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(90deg, rgb(6 26 58 / 0.97) 0%, rgb(6 26 58 / 0.86) 42%, rgb(25 42 86 / 0.5) 100%), linear-gradient(180deg, rgb(6 26 58 / 0.4), transparent 35%); }
.hero__caustics { position: absolute; inset: -10%; z-index: -1; pointer-events: none; background: var(--caustics) center / 900px auto repeat; mix-blend-mode: soft-light; opacity: 0.4; animation: caustics 40s linear infinite alternate; }
@keyframes caustics { to { transform: translate3d(-6%, 4%, 0) rotate(2deg) scale(1.08); } }
.hero__inner { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 1024px) { .hero__inner { grid-template-columns: minmax(0, 1fr) auto; } }
.hero__content { display: grid; justify-items: start; gap: var(--sp-5); container-type: inline-size; min-width: 0; }
.hero__content > * { margin: 0; }
@media (min-width: 1024px) and (max-height: 980px) { .hero__content { gap: var(--sp-4); } }
.hero__status { animation: rise 700ms 100ms var(--ease-nage) both; }
.hero__title {
	display: grid; color: #fff; font-size: min(var(--fs-hero), 16cqi, 14.5svh) !important; font-style: italic; font-weight: 900; font-stretch: 122%;
	line-height: 0.84 !important; letter-spacing: -0.035em; text-transform: uppercase; margin: var(--sp-1) 0 0 -0.04em !important; padding-right: 0.08em;
	animation: swim-in 1000ms 150ms var(--ease-nage) both;
}
@keyframes swim-in { from { clip-path: inset(0 100% 0 0); transform: translateX(-0.25em) skewX(-8deg); } to { clip-path: inset(0 -10% 0 0); transform: none; } }
.hero__title mark {
	display: block; padding-right: 0.08em; color: transparent !important; background-color: transparent !important;
	-webkit-text-stroke: clamp(1.5px, 0.2vw, 2.5px) rgb(255 255 255 / 0.92);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 22 Q50 2 100 22 T200 22 V40 H0Z' fill='%238be6f2'/%3E%3C/svg%3E"), linear-gradient(180deg, #8be6f2, #3cc4f2 70%, #2bb3f0);
	background-repeat: repeat-x, no-repeat; background-size: 1.1em 0.16em, 100% 100%;
	background-position: var(--wx) var(--lvl), 0 calc(var(--lvl) + 0.155em);
	-webkit-background-clip: text; background-clip: text;
	animation: swim-in 1000ms 300ms var(--ease-nage) both, water-fill 2600ms 900ms var(--ease-nage) forwards, water-x 2.8s linear infinite;
}
@keyframes water-fill { to { --lvl: 0.1em; } }
@keyframes water-x { to { --wx: 1.1em; } }
@media (prefers-reduced-motion: reduce) { .hero__title mark { --lvl: 0.1em; } }
.is-shot .hero__title mark { --lvl: 0.1em; }
.hero__tagline { max-width: 46ch; font-family: var(--f-display); font-weight: 750; font-stretch: 105%; font-size: clamp(1.35rem, 1.05rem + 1.2vw, 2.1rem) !important; line-height: 1.12; color: #fff; letter-spacing: -0.01em; animation: rise 800ms 600ms var(--ease-nage) both; }
.hero__text { max-width: 48ch; font-size: var(--fs-md) !important; color: #c3d3f0; animation: rise 800ms 700ms var(--ease-nage) both; }
.hero__ctas { animation: rise 800ms 800ms var(--ease-nage) both; }
.hero__ctas .is-style-teaser { display: none; }
.hero__coaches { display: flex; align-items: center; gap: 12px; max-width: 46ch; font-size: 0.9rem; line-height: 1.45; color: #b6c8ea; animation: rise 800ms 950ms var(--ease-nage) both; }
.hero__coaches > * { margin: 0; }
.hero__coaches strong { color: #fff; }
.hero__stage {
	--stage-h: calc(var(--hero-h) - var(--hero-pt) - var(--hero-pb) - 8px);
	position: relative; isolation: isolate; margin: 0; height: var(--stage-h); aspect-ratio: 9 / 16; border-radius: 32px; overflow: hidden; background: var(--c-marine);
	box-shadow: 0 60px 90px -40px rgb(0 0 0 / 0.75), 0 0 0 1px rgb(255 255 255 / 0.14), 0 0 80px -20px rgb(69 166 239 / 0.35);
	animation: stage-in 1100ms 380ms var(--ease-nage) both;
}
@keyframes stage-in { from { opacity: 0; transform: translateY(40px) scale(0.96); clip-path: inset(18% 0 0 0 round 32px); } to { clip-path: inset(0 0 0 0 round 32px); } }
.hero__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__stage-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(6 26 58 / 0.45) 0%, transparent 22%, transparent 62%, rgb(6 26 58 / 0.85) 100%); }
.hero__stage-cap { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-pill); background: rgb(6 26 58 / 0.45); border: 1px solid rgb(255 255 255 / 0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--f-chrono); font-size: 0.7rem; font-weight: 600; color: #fff; letter-spacing: 0.02em; }
.hero__stage-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-bouee); }
.hero__toggle { right: 14px; top: 12px; }
.hero__teaser { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: 22px; color: #fff; text-decoration: none; background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.24); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); transition: background var(--t-base) var(--ease-nage); }
.hero__teaser:hover { background: rgb(255 255 255 / 0.2); color: #fff; }
.hero__teaser-ico { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--c-abysse); transition: transform var(--t-base) var(--ease-rebond); }
.hero__teaser-ico .icon { width: 20px; height: 20px; margin-left: 3px; fill: currentColor; }
.hero__teaser-ico::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgb(255 255 255 / 0.5); opacity: 0; transform: scale(0.85); transition: opacity var(--t-base), transform var(--t-slow) var(--ease-nage); }
.hero__teaser:hover .hero__teaser-ico { transform: scale(1.06); }
.hero__teaser:hover .hero__teaser-ico::after { opacity: 1; transform: none; }
.hero__teaser-txt { display: grid; line-height: 1.25; }
.hero__teaser-txt b { font-size: 1rem; }
.hero__teaser-txt small { font-size: 0.8rem; color: #cfe0ff; }
@media (max-width: 1023px) {
	.hero { --hero-h: max(540px, calc(100svh - var(--header-h) - var(--tabbar-h) - 48px)); --hero-pb: clamp(5rem, 3.5rem + 6vw, 6.5rem); align-items: flex-end; }
	.hero__ambient, .hero__stage-cap, .hero__teaser { display: none; }
	.hero__inner { display: block; }
	.hero__stage { position: absolute; inset: 0; z-index: -3; height: auto; aspect-ratio: auto; border-radius: 0; box-shadow: none; animation: none; }
	.hero__stage-shade { display: none; }
	.hero::before { background: linear-gradient(180deg, rgb(6 26 58 / 0.55) 0%, rgb(6 26 58 / 0.1) 18%, rgb(6 26 58 / 0.25) 34%, rgb(6 26 58 / 0.86) 56%, rgb(6 26 58 / 0.97) 78%); }
	.hero__toggle { position: absolute; top: 14px; right: var(--gutter); }
	.hero__content { gap: var(--sp-4); }
	.hero__ctas .is-style-teaser { display: block; }
	.hero__caustics { opacity: 0.25; }
}
@media (max-width: 599px) {
	.hero__text, .hero__coaches { display: none; }
	.hero__ctas { width: 100%; display: grid !important; grid-template-columns: 1fr 1fr; }
	.hero__ctas .wp-block-button__link { width: 100%; min-height: 52px; padding: 0 0.9em; font-size: 0.95rem; }
	.hero__ctas .is-style-blanc { grid-column: 1 / -1; }
	.hero__ctas .is-style-teaser .wp-block-button__link { justify-content: flex-start; padding: 0; }
}

/* Modale du teaser */
.teaser-modal { width: 100vw; height: 100dvh; margin: 0; padding: var(--sp-4); display: grid; place-items: center; opacity: 0; transition: opacity 280ms var(--ease-nage), overlay 320ms allow-discrete, display 320ms allow-discrete; }
.teaser-modal:not([open]) { display: none; }
.teaser-modal[open] { opacity: 1; }
@starting-style { .teaser-modal[open] { opacity: 0; } }
.teaser-modal::backdrop { background: rgb(6 26 58 / 0.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.teaser-modal__inner { display: grid; justify-items: center; gap: var(--sp-3); transform: translateY(16px) scale(0.97); transition: transform 420ms var(--ease-nage); }
.teaser-modal[open] .teaser-modal__inner { transform: none; }
@starting-style { .teaser-modal[open] .teaser-modal__inner { transform: translateY(16px) scale(0.97); } }
.teaser-modal__frame { position: relative; height: min(calc(100dvh - 120px), 820px); aspect-ratio: 9 / 16; max-width: calc(100vw - 2 * var(--sp-4)); border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 50px 100px -30px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(255 255 255 / 0.12); }
.teaser-modal__frame video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.teaser-modal__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgb(6 26 58 / 0.6); border: 1px solid rgb(255 255 255 / 0.3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; }
.teaser-modal__close:hover { background: rgb(6 26 58 / 0.85); }
.teaser-modal__meta { display: grid; justify-items: center; gap: 2px; margin: 0; text-align: center; color: #b9c9e8; font-size: 0.84rem; }
.teaser-modal__meta b { color: #fff; font-family: var(--f-display); font-size: 1.02rem; font-weight: 800; }
@media (max-width: 600px) { .teaser-modal { padding: var(--sp-3); } .teaser-modal__frame { height: min(calc(100dvh - 100px), calc((100vw - 24px) * 16 / 9)); } }

/* ───────── Repère de distance 0 → 100 m (construit par le script à partir des sur-titres) ───────── */
.lane-tracker, .lane-chip { --p: 0; }
.lane-tracker { position: fixed; z-index: 80; right: 22px; top: 50%; translate: 0 -50%; width: 40px; height: 444px; opacity: 0; visibility: hidden; transform: translateX(16px); transition: opacity var(--t-slow) var(--ease-nage), transform var(--t-slow) var(--ease-nage), visibility 0s linear var(--t-slow); }
.lane-tracker.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lane-tracker__rope { position: absolute; left: 50%; top: 0; bottom: 0; width: 12px; margin-left: -6px; }
.lane-tracker__rope::before, .lane-tracker__rope::after { content: ""; position: absolute; inset: 0; border-radius: 6px; }
.lane-tracker__rope::before { background: radial-gradient(circle, #c3d1ea 0 4px, transparent 4.5px) 50% 0 / 12px 12px repeat-y; }
.lane-tracker__rope::after { background: radial-gradient(circle, #fff 0 4px, transparent 4.5px) 50% 0 / 12px 60px repeat-y, radial-gradient(circle, var(--c-issy) 0 4px, transparent 4.5px) 50% 0 / 12px 12px repeat-y; clip-path: inset(0 -4px calc((1 - var(--p)) * 100%) -4px); }
.lane-tracker__ends { position: absolute; left: 50%; width: 12px; margin-left: -6px; height: 36px; background: radial-gradient(circle, var(--c-bouee) 0 4px, transparent 4.5px) 50% 0 / 12px 12px repeat-y; }
.lane-tracker__ends--top { top: 0; }
.lane-tracker__ends--bottom { bottom: 0; }
.lane-tracker ol { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.lane-tracker li { position: absolute; left: 50%; top: calc(var(--at) * 100%); }
.lane-tracker a { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; color: var(--c-abysse); }
.lane-tracker a::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2.5px solid var(--c-ligne-forte); box-shadow: 0 2px 6px rgb(6 26 58 / 0.18); transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-base) var(--ease-rebond); }
.lane-tracker a.is-passed::before { border-color: var(--c-issy); }
.lane-tracker a[aria-current="true"]::before { background: var(--c-issy); border-color: #fff; box-shadow: 0 0 0 3px var(--c-issy); }
.lane-tracker a:hover::before, .lane-tracker a:focus-visible::before { transform: scale(1.25); }
.lane-tracker__label { position: absolute; right: calc(100% + 10px); top: 50%; translate: 0 -50%; display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; padding: 6px 12px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.95); box-shadow: var(--sh-md); border: 1px solid var(--c-ligne); font-size: 0.82rem; font-weight: 700; opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity var(--t-base) var(--ease-nage), transform var(--t-base) var(--ease-nage); }
.lane-tracker__label small { font-family: var(--f-chrono); font-size: 0.68rem; font-weight: 600; color: var(--c-ardoise); }
.lane-tracker:hover .lane-tracker__label, .lane-tracker:focus-within .lane-tracker__label { opacity: 1; transform: none; }
.lane-tracker:hover .lane-tracker__label { transition-delay: calc(var(--n) * 25ms); }
.lane-tracker__swimmer { position: absolute; right: calc(50% + 16px); top: calc(var(--p) * 100%); translate: 0 -50%; display: inline-flex; align-items: baseline; gap: 3px; padding: 5px 10px; border-radius: var(--r-pill); background: var(--c-abysse); color: #fff; box-shadow: var(--sh-md); font-family: var(--f-chrono); font-size: 0.68rem; font-weight: 600; white-space: nowrap; transition: opacity var(--t-base); }
.lane-tracker__swimmer b { font-size: 0.86rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.lane-tracker:hover .lane-tracker__swimmer, .lane-tracker:focus-within .lane-tracker__swimmer { opacity: 0; }
.lane-tracker__head { position: absolute; left: 50%; top: calc(var(--p) * 100%); width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: linear-gradient(145deg, var(--c-bassin), var(--c-issy)); box-shadow: 0 0 0 3px #fff, var(--sh-issy); pointer-events: none; }
.lane-chip { position: fixed; z-index: 85; right: 16px; bottom: calc(var(--tabbar-h) + 12px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 10px; padding: 7px 12px 7px 10px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.92); border: 1px solid var(--c-ligne); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); box-shadow: var(--sh-md); color: var(--c-abysse); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity var(--t-slow) var(--ease-nage), transform var(--t-slow) var(--ease-nage); }
.lane-chip.is-visible { opacity: 1; transform: none; }
.lane-chip__bar { position: relative; width: 54px; height: 10px; flex: none; background: radial-gradient(circle, var(--c-ligne-forte) 0 3px, transparent 3.5px) 0 50% / 9px 10px repeat-x; }
.lane-chip__bar span { position: absolute; inset: 0; background: radial-gradient(circle, var(--c-issy) 0 3px, transparent 3.5px) 0 50% / 9px 10px repeat-x; clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0); }
.lane-chip__dist { font-family: var(--f-chrono); font-size: 0.7rem; font-weight: 600; white-space: nowrap; }
.lane-chip__dist b { font-size: 0.86rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.lane-chip__label { max-width: 9.5em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.78rem; font-weight: 650; color: var(--c-ardoise); }
@media (max-width: 1359px), (max-height: 620px) { .lane-tracker { display: none; } .lane-chip { display: inline-flex; } }
@media (min-width: 1024px) and (max-width: 1359px) { .lane-chip { bottom: 20px; right: 20px; } }
@media (max-width: 380px) { .lane-chip__label { display: none; } }
.is-shot .lane-tracker, .is-shot .lane-chip { display: none; }

/* ───────── 000 m · Le club ───────── */
.club-intro__grid { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5rem); align-items: start; }
@media (min-width: 1024px) { .club-intro__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.club-intro__text { display: grid; gap: var(--sp-5); justify-items: start; }
.club-intro__text > *, .club-intro__side > * { margin: 0; }
.club-intro__text h2 { font-size: var(--fs-2xl); max-width: 16ch; }
.club-intro__sub { font-family: var(--f-texte) !important; font-size: 0.95rem !important; font-weight: 750 !important; letter-spacing: 0; color: var(--c-abysse); margin-top: var(--sp-3) !important; }
.missions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-6); width: 100%; }
.missions > * { margin: 0; }
.mission { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; align-content: start; }
.mission > * { margin: 0; }
.mission .picto { grid-row: span 2; }
.mission__title { font-family: var(--f-display); font-size: 1.06rem; font-weight: 800; font-stretch: 104%; color: var(--c-abysse); line-height: 1.2; }
.mission > p:last-child { font-size: 0.92rem; color: var(--c-ardoise); line-height: 1.5; }
@media (max-width: 560px) { .missions { grid-template-columns: 1fr; } }
.club-intro__side { display: grid; gap: var(--sp-5); }
.club-photo { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 3 / 2; background: var(--c-ecume); box-shadow: var(--sh-lg); }
.club-photo img { width: 100%; height: 100%; object-fit: cover; }
.club-photo figcaption { position: absolute; left: 14px; bottom: 14px; margin: 0; padding: 6px 12px; border-radius: var(--r-pill); background: rgb(6 26 58 / 0.6); color: #fff; font-size: 0.8rem; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.club-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--c-ligne); }
.club-facts > div { padding: var(--sp-4) var(--sp-3); display: grid; gap: 2px; margin: 0; }
.club-facts > div > * { margin: 0; }
.club-facts > div + div { border-left: 1px solid var(--c-ligne); padding-left: var(--sp-4); }
.club-facts__label { font-size: 0.8rem; font-weight: 600; color: var(--c-ardoise); }
.club-facts__value { white-space: nowrap; font-family: var(--f-display); font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); font-weight: 850; font-style: italic; font-stretch: 112%; color: var(--c-abysse); line-height: 1.1; }
@media (max-width: 480px) { .club-facts > div { padding: var(--sp-3) var(--sp-2); } .club-facts > div + div { padding-left: var(--sp-3); } .club-facts__label { font-size: 0.72rem; line-height: 1.3; } .club-facts__value { font-size: 1rem; } }
.coaches { display: grid; gap: var(--sp-3); }
.coaches > * { margin: 0 !important; }
.coach-lines { display: grid; gap: var(--sp-3); }
.coach-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; border-radius: var(--r-lg); background: var(--c-carrelage); border: 1px solid var(--c-ligne); }
.coach-line__avatar { font-family: var(--f-display); font-style: italic; font-stretch: 112%; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--c-ligne-forte); }
.coach-line__body { display: grid; gap: 1px; line-height: 1.35; min-width: 0; }
.coach-line__body b { color: var(--c-abysse); font-size: 1.02rem; }
.coach-line__body > span:not(.coach-line__groups) { font-size: 0.86rem; color: var(--c-ardoise); }
.coach-line__groups { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; }
.coach-line__groups .act-tag { font-size: 0.74rem; }
.coach-line__todo { font-family: var(--f-chrono); font-size: 0.64rem; font-weight: 600; color: var(--c-ardoise); padding: 3px 8px; border: 1px dashed var(--c-ligne-forte); border-radius: var(--r-pill); white-space: nowrap; }
@media (max-width: 420px) { .coach-line { grid-template-columns: auto minmax(0, 1fr); } .coach-line__todo { grid-column: 2; justify-self: start; } }

/* Bouton « lien texte » (lien avec flèche dans un groupe de boutons) */
.is-style-lien > .wp-block-button__link { --btn-bg: transparent; --btn-fg: var(--c-issy); min-height: 0; padding: 0; border: 0; gap: 6px; overflow: visible; }
.is-style-lien > .wp-block-button__link::before { display: none; }
.is-style-lien > .wp-block-button__link:hover { --btn-bg: transparent; box-shadow: none; }
.is-dark .is-style-lien > .wp-block-button__link, .join .is-style-lien > .wp-block-button__link { --btn-fg: var(--c-chlore); }
.is-style-grands .is-style-lien > .wp-block-button__link { min-height: 0; padding: 0; }

/* ───────── 015 m · Trouver son groupe ───────── */
.groups-layout { display: grid; gap: var(--sp-5); align-items: start; }
.groups-layout > * { margin: 0; }
@media (min-width: 1024px) { .groups-layout { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: var(--sp-6); } }
.group-list { display: grid; gap: var(--sp-3); margin: 0; padding: 0; list-style: none; }
.group-list li { margin: 0; }
.group-lane { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px 14px 10px 10px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-ligne); box-shadow: var(--sh-xs); color: inherit; text-decoration: none; transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base) var(--ease-nage); }
.group-lane::before { content: ""; position: absolute; left: -1px; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--act); }
.group-lane:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--act) 55%, var(--c-ligne)); box-shadow: var(--sh-md); }
.group-lane__media { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--c-ecume); }
.group-lane__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-nage); }
.group-lane:hover .group-lane__media img { transform: scale(1.08); }
.group-lane--prepa .group-lane__media img { object-position: 50% 62%; }
.group-lane__body { display: grid; gap: 3px; min-width: 0; line-height: 1.3; }
.group-lane__name { font-family: var(--f-display); font-weight: 900; font-style: italic; font-stretch: 115%; font-size: 1.4rem; line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; color: var(--c-abysse); }
.group-lane__meta { font-size: 0.88rem; font-weight: 600; color: var(--c-encre); }
.group-lane__days { font-size: 0.84rem; color: var(--c-ardoise); }
.round-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--c-ligne-forte); color: var(--c-issy); transition: all var(--t-base) var(--ease-nage); }
.group-lane:hover .round-go { background: var(--act); border-color: var(--act); color: #fff; transform: rotate(-45deg); }
@media (max-width: 420px) { .group-lane { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; } .group-lane__media { width: 64px; height: 64px; } .group-lane .round-go { display: none; } .group-lane__name { font-size: 1.2rem; } }
.groups-note { position: relative; padding-left: 1.5em; margin: var(--sp-5) 0 0 !important; font-size: var(--fs-sm); color: var(--c-ardoise); }
.groups-note::before { content: ""; position: absolute; left: 0; top: 0.25em; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Assistant « Trouver mon groupe » */
.finder { padding: 0; overflow: hidden; box-shadow: var(--sh-md); }
.finder__lane { position: relative; height: 64px; margin: 0; background: radial-gradient(circle at 50% 50%, #fff 0 3.5px, transparent 4px) 30px 3px / 60px 8px repeat-x, radial-gradient(circle at 50% 50%, var(--c-issy) 0 3.5px, transparent 4px) 0 3px / 10px 8px repeat-x, radial-gradient(circle at 50% 50%, #fff 0 3.5px, transparent 4px) 30px calc(100% - 3px) / 60px 8px repeat-x, radial-gradient(circle at 50% 50%, var(--c-issy) 0 3.5px, transparent 4px) 0 calc(100% - 3px) / 10px 8px repeat-x, linear-gradient(180deg, #e8f5ff, #d6edff); }
.finder__lane::before { content: ""; position: absolute; left: 6%; right: 6%; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: rgb(6 26 58 / 0.12); }
.finder__mark { position: absolute; top: 50%; left: calc(6% + var(--p) * 88%); transform: translate(-50%, -50%); font-family: var(--f-chrono); font-size: 0.65rem; font-weight: 600; color: var(--c-ardoise); white-space: nowrap; background: #fff; border-radius: var(--r-pill); padding: 2px 7px; box-shadow: var(--sh-xs); }
.finder__swimmer { position: absolute; top: 50%; left: calc(6% + var(--progress, 0) * 88%); width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; display: grid; place-items: center; color: #fff; z-index: 1; background: linear-gradient(145deg, var(--c-bassin), var(--c-issy)); box-shadow: var(--sh-issy); transition: left 900ms var(--ease-nage); }
.finder__body { padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); min-height: 330px; }
.finder__q { font-size: var(--fs-xl); margin: 0 0 var(--sp-2); }
.finder__hint { color: var(--c-ardoise); margin: 0 0 var(--sp-5); font-size: 0.95rem; }
.finder__opts { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.opt { display: grid; justify-items: start; align-content: start; gap: 4px; text-align: left; padding: var(--sp-4); border-radius: var(--r-lg); border: 1.5px solid var(--c-ligne-forte); background: #fff; cursor: pointer; transition: border-color var(--t-fast), transform var(--t-base) var(--ease-nage), box-shadow var(--t-base), background var(--t-fast); animation: rise 500ms calc(var(--i, 0) * 70ms) var(--ease-nage) both; }
.opt:hover { border-color: var(--c-issy); transform: translateY(-3px); box-shadow: var(--sh-md); }
.opt[aria-checked="true"] { border-color: var(--c-issy); background: var(--c-ecume); }
.opt__ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--c-ecume); color: var(--c-issy); margin-bottom: 6px; }
.opt b { color: var(--c-abysse); font-size: 1rem; line-height: 1.3; }
.opt small { color: var(--c-ardoise); font-size: 0.84rem; line-height: 1.35; }
.finder__back { margin-top: var(--sp-5); display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0; border: 0; background: none; color: var(--c-ardoise); font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.finder__back:hover { color: var(--c-issy); }
.result { display: grid; gap: var(--sp-4); animation: rise 600ms var(--ease-nage) both; }
.result > * { margin: 0; }
.result__head { display: flex; align-items: center; gap: var(--sp-4); }
.result__ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: var(--act, var(--c-issy)); box-shadow: 0 12px 26px -12px var(--act, var(--c-issy)); flex: none; }
.result__ico .icon { width: 28px; height: 28px; }
.result__kicker { margin: 0; font-size: 0.82rem; font-weight: 700; color: var(--c-succes); }
.result__name { margin: 0; font-size: var(--fs-xl); }
.result__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); }
.result__fact { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); background: var(--c-carrelage); border: 1px solid var(--c-ligne); }
.result__fact small { display: block; color: var(--c-ardoise); font-size: 0.78rem; }
.result__fact b { color: var(--c-abysse); font-size: 0.96rem; line-height: 1.3; }
.result__slots { display: grid; gap: 8px; }
.result__slot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: 10px 14px; border-radius: var(--r-md); border: 1px solid var(--c-ligne); font-size: 0.92rem; }
.result__slot b { font-family: var(--f-chrono); font-size: 0.86rem; color: var(--c-abysse); }
.result__slot .muted { display: inline-flex; align-items: center; gap: 6px; color: var(--c-ardoise); font-size: var(--fs-sm); }
.result__note { font-size: var(--fs-sm); color: var(--c-ardoise); }
.result__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
@media (max-width: 520px) {
	.result__facts { grid-template-columns: 1fr; }
	.result__slot { flex-wrap: wrap; }
	.opt { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 12px 14px; }
	.opt__ico { grid-row: span 2; margin-bottom: 0; }
	.finder__body { min-height: 0; }
}

/* ───────── 025 m · La semaine au bassin ───────── */
.week-layout { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.week-layout > * { margin: 0; }
@media (min-width: 1100px) { .week-layout { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); } }
.week-intro { display: grid; gap: var(--sp-5); justify-items: start; }
.week-intro > * { margin: 0; }
.week-intro h2 { font-size: var(--fs-2xl); max-width: 13ch; }
.week-place { display: flex; gap: 14px; align-items: center; margin: 0; font-style: normal; font-size: 0.92rem; line-height: 1.45; color: var(--c-ardoise); }
.week-place b { display: block; color: var(--c-abysse); font-size: 1rem; }
.week-place__ico { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--c-ecume); color: var(--c-issy); }
.week-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font-size: 0.86rem; font-weight: 600; color: var(--c-ardoise); }
.week-legend li { display: inline-flex; align-items: center; gap: 8px; }
.week-legend__dot { width: 12px; height: 12px; border-radius: 4px; background: var(--act); }
.week {
	--q: 26px;
	display: grid; grid-template-columns: 46px repeat(var(--days, 4), minmax(0, 1fr)); gap: 0 10px; margin: 0;
	padding: var(--sp-5); border-radius: var(--r-xl); background: var(--c-carrelage); border: 1px solid var(--c-ligne);
}
.week__axis { position: relative; margin-top: calc(var(--sp-3) + 1.5rem + var(--sp-3)); height: calc(var(--rows, 16) * var(--q)); }
.week__axis span { position: absolute; right: 0; top: calc(var(--h) * 4 * var(--q)); translate: 0 -50%; font-family: var(--f-chrono); font-size: 0.68rem; font-weight: 600; color: var(--c-brume); white-space: nowrap; }
.week__day { display: grid; grid-template-rows: auto auto; gap: var(--sp-3); min-width: 0; }
.week__name { margin: 0; font-family: var(--f-display); font-size: 1rem !important; font-weight: 800; font-stretch: 105%; height: 1.5rem; display: flex; align-items: center; gap: 6px; padding-top: var(--sp-3); box-sizing: content-box; }
.week__track { position: relative; display: grid; grid-template-rows: repeat(var(--rows, 16), var(--q)); gap: 0; margin: 0; padding: 0; list-style: none; border-radius: var(--r-md); background: repeating-linear-gradient(180deg, var(--c-ligne) 0 1px, transparent 1px calc(4 * var(--q))), #fff; border-bottom: 1px solid var(--c-ligne); }
.week__day--sat .week__track { background: repeating-linear-gradient(180deg, var(--c-ligne) 0 1px, transparent 1px calc(4 * var(--q))), repeating-linear-gradient(135deg, rgb(6 26 58 / 0.035) 0 6px, transparent 6px 12px), #fff; }
.slot { --tint: color-mix(in srgb, var(--act, var(--g)) 12%, #fff); position: relative; grid-row: var(--r); grid-column: 1; margin: 3px 4px; padding: 8px 10px 8px 14px; border-radius: 10px; display: grid; align-content: start; gap: 1px; overflow: hidden; background: var(--tint); line-height: 1.25; box-shadow: 0 1px 2px rgb(6 26 58 / 0.06); }
.slot::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--act); }
.slot time { font-family: var(--f-chrono); font-size: 0.7rem; font-weight: 600; color: var(--c-ardoise); white-space: nowrap; }
.slot b { font-size: 0.9rem; color: var(--c-abysse); }
.slot small { font-size: 0.74rem; color: var(--c-ardoise); line-height: 1.3; }
.slot.slot--duo, .week-legend__dot[data-color2]:not([data-color3]) { --act: linear-gradient(180deg, var(--g) 50%, var(--g2) 50%); --tint: color-mix(in srgb, var(--g) 10%, #fff); }
.slot.slot--all, .week-legend__dot[data-color3] { --act: linear-gradient(180deg, var(--g) 33%, var(--g2) 33% 66%, var(--g3) 66%); --tint: color-mix(in srgb, var(--g3) 10%, #fff); }
.slot--annule { background: repeating-linear-gradient(135deg, #fff5f4 0 8px, #fff 8px 16px); }
.slot--annule b, .slot--annule time { text-decoration: line-through; color: var(--c-ardoise); }
.slot__cancel { display: inline-flex; align-items: center; gap: 4px; color: var(--c-bouee) !important; }
.slot__cancel svg { width: 12px; height: 12px; }
.slot__actions { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 720px) {
	.week { grid-template-columns: 1fr; gap: 0; padding: var(--sp-2) var(--sp-4); }
	.week__axis { display: none; }
	.week__day { grid-template-columns: 84px minmax(0, 1fr); grid-template-rows: none; align-items: start; gap: var(--sp-3); padding-block: var(--sp-3); }
	.week__day + .week__day { border-top: 1px solid var(--c-ligne); }
	.week__name { height: auto; padding-top: 10px; font-size: 0.98rem !important; }
	.week__track { display: grid; grid-template-rows: none; gap: 8px; background: none !important; border: 0; }
	.slot { grid-row: auto; margin: 0; padding: 10px 12px 10px 16px; }
	.slot time { font-size: 0.74rem; }
}

/* ───────── 035 m · Nos nageurs ───────── */
.swimmers-section .sec-head { margin-bottom: var(--sp-5); }
@media (min-width: 900px) { .swimmers-section .issy-swimmers__filters { justify-content: flex-end; margin-top: calc(-40px - var(--sp-5)); margin-bottom: var(--sp-5); margin-left: auto; max-width: 50%; } }
.swimmers-more { margin-top: var(--sp-3) !important; }

/* ───────── 050 m · La vie du club ───────── */
.life-section { overflow: hidden; isolation: isolate; }
.life-section::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.1; background: var(--caustics) center / cover; mix-blend-mode: screen; }
.life-section::after { content: "Virage"; position: absolute; z-index: -1; right: calc(-1 * var(--gutter)); top: clamp(1.5rem, 1rem + 3vw, 4rem); font-family: var(--f-display); font-weight: 900; font-style: italic; font-stretch: 125%; font-size: clamp(5rem, 2rem + 13vw, 15rem); line-height: 0.8; letter-spacing: -0.04em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgb(139 230 242 / 0.14); pointer-events: none; white-space: nowrap; }
.life-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: clamp(300px, 30vw, 430px) clamp(220px, 21vw, 300px); grid-auto-rows: clamp(220px, 21vw, 300px); }
.life-grid > * { position: relative; margin: 0 !important; overflow: hidden; border-radius: var(--r-lg); background: var(--c-marine); grid-column: span 3; }
.life-grid > :first-child { grid-column: span 6; }
.life-grid img, .life-grid video { display: block; width: 100%; height: 100% !important; object-fit: cover; transition: transform 1.4s var(--ease-nage); }
.life-grid > .wp-block-image:hover img { transform: scale(1.05); }
.life-grid > :first-child img { object-position: 50% 45%; }
.life-grid > *::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgb(6 26 58 / 0.82)); }
.life-grid figcaption { position: absolute; z-index: 1; left: var(--sp-4); right: var(--sp-4); bottom: var(--sp-4); display: grid; gap: 2px; margin: 0 !important; color: var(--c-chlore); font-size: 0.8rem; font-weight: 600; line-height: 1.2; text-align: left; }
.life-grid figcaption strong { color: #fff; font-family: var(--f-display); font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); font-weight: 800; font-stretch: 106%; }
.life-grid .video-toggle { top: 12px; right: 12px; }
@media (max-width: 1023px) {
	.life-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; }
	.life-grid > * { grid-column: span 1; aspect-ratio: 1; }
	.life-grid > :first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
	.life-grid > :nth-child(2), .life-grid > :nth-child(3) { aspect-ratio: 3 / 4; }
}
@media (min-width: 640px) and (max-width: 1023px) {
	.life-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.life-grid > :first-child { grid-column: span 4; aspect-ratio: 16 / 9; }
	.life-grid > :nth-child(2), .life-grid > :nth-child(3) { grid-column: span 2; aspect-ratio: 4 / 5; }
}

/* ───────── 065 m · Actualités (boucle de requête) ───────── */
.news-home .news-layout { display: grid; gap: var(--sp-4); margin: 0; padding: 0; list-style: none; }
@media (min-width: 960px) { .news-home .news-layout { grid-template-columns: 1.25fr 1fr; } .news-home .news-layout > li:first-child { grid-row: span 2; } }
.news-layout > li { position: relative; display: flex; flex-direction: column; margin: 0; background: #fff; border: 1px solid var(--c-ligne); border-radius: var(--r-lg); box-shadow: var(--sh-xs); overflow: hidden; transition: transform var(--t-base) var(--ease-nage), box-shadow var(--t-base) var(--ease-nage), border-color var(--t-base); }
.news-layout > li:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--c-ligne-forte); }
.news-card__media { margin: 0; overflow: hidden; background: var(--c-ecume); aspect-ratio: 16 / 9; }
.news-card__media a, .news-card__media img { display: block; width: 100%; height: 100% !important; object-fit: cover; transition: transform 1.2s var(--ease-nage); }
.news-layout > li:hover .news-card__media img { transform: scale(1.04); }
.news-card__body { display: grid; gap: var(--sp-3); padding: var(--sp-6); align-content: start; flex: 1; }
.news-card__body > * { margin: 0; }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.news-card__meta > * { margin: 0; }
.news-card__cat a { display: inline-flex; padding: 4px 10px; border-radius: var(--r-pill); background: var(--c-ecume); color: var(--c-issy-700); font-family: var(--f-chrono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.news-layout > li:first-child .news-card__cat a { background: var(--c-issy); color: #fff; }
.news-card__date { font-family: var(--f-chrono); font-size: var(--fs-sm); color: var(--c-ardoise); letter-spacing: -0.02em; }
.news-card__title { font-size: var(--fs-lg) !important; line-height: 1.15; }
.news-card__title a { color: var(--c-abysse); text-decoration: none; }
.news-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.news-card__excerpt { color: var(--c-ardoise); }
.news-card__excerpt p { margin: 0; }
.news-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c-issy); text-decoration: none; }
.news-card__more::after { content: ""; width: 1.15em; height: 1.15em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform var(--t-base) var(--ease-nage); }
.news-layout > li:hover .news-card__more::after { transform: translateX(4px); }
.news-home .news-layout > li:first-child .news-card__title { font-size: var(--fs-xl) !important; }
@media (min-width: 960px) {
	.news-home .news-layout > li:not(:first-child) { flex-direction: row; }
	.news-home .news-layout > li:not(:first-child) .news-card__media { width: 38%; flex: none; aspect-ratio: auto; min-height: 190px; }
	.news-home .news-layout > li:not(:first-child) .news-card__body { padding: var(--sp-5); align-content: center; gap: var(--sp-2); }
	.news-home .news-layout > li:not(:first-child) .news-card__title { font-size: 1.15rem !important; }
	.news-home .news-layout > li:not(:first-child) .news-card__excerpt { font-size: var(--fs-sm); }
	.news-home .news-layout > li:not(:first-child) .news-card__more { display: none; }
}
@media (max-width: 520px) { .news-card__body { padding: var(--sp-5); } }

/* ───────── 075 m · Compétitions ───────── */
.comp-section { background: var(--c-ecume); }
.comp-grid { display: grid; gap: var(--sp-7); align-items: center; }
.comp-grid > * { margin: 0; }
@media (min-width: 1024px) { .comp-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.comp-text { display: grid; gap: var(--sp-5); justify-items: start; }
.comp-text > * { margin: 0; }
.comp-text h2 { font-size: var(--fs-2xl); max-width: 14ch; }
.meet-board { position: relative; overflow: hidden; margin: 0; color: #dbe6fb; background: linear-gradient(180deg, #0a1730, #050c19); border: 1px solid rgb(139 230 242 / 0.16); border-radius: var(--r-xl); box-shadow: 0 40px 80px -30px rgb(6 26 58 / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.06); }
.meet-board p { margin: 0; }
.meet-board__head { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); padding: var(--sp-5) var(--sp-5) var(--sp-4); border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.meet-board__event { font-family: var(--f-display); font-weight: 850; font-style: italic; font-stretch: 112%; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); color: #fff; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1; }
.meet-board__sub { font-size: 0.82rem; color: var(--c-chlore); font-weight: 600; }
.meet-board__clock { flex: none; padding: 8px 12px; border-radius: 10px; background: #000; color: var(--c-podium); font-size: 1.05rem; text-shadow: 0 0 12px rgb(245 179 1 / 0.6); border: 1px solid rgb(245 179 1 / 0.25); }
.meet-board__cols, .meet-board__rows li { display: grid; grid-template-columns: 30px 0.8fr 1.6fr 0.9fr; gap: 14px; align-items: center; padding: 0 var(--sp-5); }
.meet-board__cols { padding-block: 12px; font-size: 0.74rem; font-weight: 700; color: #7f95c0; }
.meet-board__cols span:first-child { grid-column: 2; }
.meet-board__rows { margin: 0; padding: 0; list-style: none; }
.meet-board__rows li { min-height: 58px; border-top: 1px solid rgb(255 255 255 / 0.05); }
.meet-board__lane { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; font-family: var(--f-chrono); font-size: 0.78rem; font-weight: 700; background: rgb(255 255 255 / 0.08); color: #6f86b3; }
.meet-board__ghost { display: block; height: 10px; width: var(--w); border-radius: 5px; background: rgb(255 255 255 / 0.07); }
.meet-board__date { color: var(--c-podium); font-size: 0.86rem; }
.meet-board__name { display: grid; line-height: 1.25; padding-block: 8px; }
.meet-board__name a { color: #fff; font-weight: 700; text-decoration: none; }
.meet-board__name a:hover { text-decoration: underline; }
.meet-board__name small, .meet-board__groups { color: #a9bde3; font-size: 0.8rem; }
.meet-board__empty { position: relative; margin: var(--sp-2) auto var(--sp-5); width: min(calc(100% - 2 * var(--sp-5)), 400px); display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-lg); background: rgb(10 23 48 / 0.92); border: 1px solid rgb(139 230 242 / 0.25); box-shadow: 0 20px 40px -20px #000; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.meet-board__empty p { display: grid; font-size: 0.84rem; color: #a9bde3; line-height: 1.4; }
.meet-board__empty b { color: #fff; font-size: 0.98rem; }
.meet-board__empty-ico { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgb(139 230 242 / 0.12); color: var(--c-chlore); }
@media (max-width: 520px) {
	.meet-board__cols, .meet-board__rows li { grid-template-columns: 26px 0.8fr 1.4fr; padding-inline: var(--sp-4); gap: 10px; }
	.meet-board__cols span:last-child, .meet-board__rows li > :last-child { display: none; }
	.meet-board__head { padding-inline: var(--sp-4); }
	.meet-board__empty { width: calc(100% - 2 * var(--sp-4)); }
}

/* ───────── 085 m · Séance d'essai (composition « Appel séance d'essai ») ───────── */
.trial { --notch: 22px; position: relative; display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); border-radius: var(--r-xl); background: var(--c-carrelage); border: 1px solid var(--c-ligne); overflow: hidden; }
.trial > * { margin: 0 !important; }
.trial__media { position: relative; min-height: 100%; background: var(--c-ecume); }
.trial__media img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 18%; }
.trial__body { position: relative; display: grid; gap: var(--sp-5); justify-items: start; align-content: center; padding: clamp(1.75rem, 1rem + 3vw, 3.75rem); border-left: 2px dashed var(--c-ligne-forte); }
.trial__body > * { margin: 0; }
.trial__body::before, .trial__body::after { content: ""; position: absolute; left: calc(var(--notch) / -2 - 1px); width: var(--notch); height: var(--notch); border-radius: 50%; background: var(--section-bg, #fff); border: 1px solid var(--c-ligne); }
.trial__body::before { top: calc(var(--notch) / -2); }
.trial__body::after { bottom: calc(var(--notch) / -2); }
.trial__title { font-size: var(--fs-2xl) !important; font-style: italic; font-weight: 900; font-stretch: 115%; letter-spacing: -0.025em; max-width: 14ch; }
.trial__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-5); width: 100%; }
.trial__facts > * { margin: 0; }
.trial-fact { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--c-ardoise); line-height: 1.35; }
.trial-fact > * { margin: 0; }
.trial-fact strong { color: var(--c-abysse); font-size: 0.96rem; }
@media (max-width: 860px) {
	.trial { grid-template-columns: 1fr; }
	.trial__media { aspect-ratio: 16 / 9; min-height: 0; }
	.trial__body { border-left: 0; border-top: 2px dashed var(--c-ligne-forte); }
	.trial__body::before, .trial__body::after { top: calc(var(--notch) / -2 - 1px); bottom: auto; }
	.trial__body::before { left: calc(var(--notch) / -2); }
	.trial__body::after { left: auto; right: calc(var(--notch) / -2); }
}
@media (max-width: 480px) { .trial__facts { grid-template-columns: 1fr; } .trial__media { aspect-ratio: 4 / 3; } }

/* ───────── 100 m · Adhésion (composition « Appel adhésion ») ───────── */
.join-section { padding-bottom: clamp(4rem, 3rem + 4vw, 7rem); }
.join { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: var(--sp-7); align-items: center; padding: clamp(2rem, 1.5rem + 4vw, 4.5rem); border-radius: var(--r-xl); color: #dbe6fb; background: radial-gradient(90% 120% at 100% 0%, rgb(69 166 239 / 0.5), transparent 55%), radial-gradient(70% 90% at 0% 100%, rgb(22 100 196 / 0.6), transparent 60%), var(--c-marine); }
.join > * { margin: 0 !important; }
.join::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.22; background: var(--caustics) center / cover; mix-blend-mode: screen; }
.join::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: linear-gradient(100deg, transparent 30%, rgb(139 230 242 / 0.35) 48%, transparent 66%); transform: translateX(-100%); }
.join.is-touched::after { animation: touch-pad 1100ms var(--ease-nage) both; }
@keyframes touch-pad { 0% { opacity: 1; transform: translateX(-100%); } 100% { opacity: 1; transform: translateX(100%); } }
@media (min-width: 1024px) {
	.join { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); grid-template-areas: "content side" "cta side"; row-gap: var(--sp-6); }
	.join__content { grid-area: content; align-self: end; }
	.join__side { grid-area: side; }
	.join__cta { grid-area: cta; align-self: start; }
}
.join__content { display: grid; gap: var(--sp-5); justify-items: start; }
.join__content > * { margin: 0; }
.join__title { color: #fff; font-size: var(--fs-3xl) !important; font-style: italic; font-weight: 900; font-stretch: 118%; letter-spacing: -0.03em; }
.join .wp-block-list.is-style-etapes li br { display: none; }
.join__side { display: grid; gap: var(--sp-5); }
.join__prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.join__price { display: grid; gap: 2px; padding: var(--sp-4); border-radius: var(--r-lg); background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.14); }
.join__price small { font-size: 0.8rem; color: #b9cdf0; line-height: 1.3; }
.join__price b { font-family: var(--f-display); font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); font-weight: 900; font-style: italic; font-stretch: 112%; color: #fff; line-height: 1.05; letter-spacing: -0.02em; }
.join__price span { font-family: var(--f-chrono); font-size: 0.74rem; color: var(--c-chlore); }
.all-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.all-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; }
.all-list .issy-icon, .all-list .icon { flex: none; margin-top: 2px; color: var(--c-chlore); stroke-width: 3; }
.join__visual { display: grid; place-items: center; perspective: 1000px; padding-top: var(--sp-3); }
.member-card { width: min(340px, 100%); aspect-ratio: 1.586; border-radius: 22px; padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; position: relative; overflow: hidden; background: radial-gradient(120% 140% at 0% 0%, #45a6ef 0%, transparent 50%), linear-gradient(135deg, var(--c-issy), var(--c-marine) 70%); box-shadow: 0 40px 70px -30px rgb(0 0 0 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.3); transform: rotateY(-12deg) rotateX(8deg) rotateZ(-3deg); transition: transform 600ms var(--ease-nage); }
.member-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 0.22) 45%, transparent 60%); transform: translateX(var(--shine, -60%)); transition: transform 600ms var(--ease-nage); }
.member-card::after { content: ""; position: absolute; right: -30%; bottom: -60%; width: 120%; height: 120%; border-radius: 50%; border: 18px solid rgb(139 230 242 / 0.14); }
.member-card__top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.member-card__logo { height: 48px; width: auto; }
.member-card__chip { width: 44px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #f8d77a, #c99a2e); position: relative; z-index: 1; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.15); }
.member-card__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; position: relative; z-index: 1; }
.member-card__bottom > div { display: grid; line-height: 1.25; }
.member-card__bottom small { font-size: 0.68rem; color: #cfe0ff; }
.member-card__bottom b { font-size: 1.1rem; }
.member-card__qr { width: 56px; height: 56px; border-radius: 10px; flex: none; background-color: #fff; background-image: linear-gradient(90deg, #061a3a 50%, transparent 0), linear-gradient(#061a3a 50%, transparent 0); background-size: 10px 10px, 10px 10px; background-position: 4px 4px, 9px 9px; box-shadow: inset 0 0 0 5px #fff; }
.join__cta .is-grand > .wp-block-button__link { min-height: 58px; padding: 0 1.7em; font-size: 1.04rem; }
@media (max-width: 1023px) { .join__visual { display: none; } .join { gap: var(--sp-6); } }
@media (max-width: 480px) {
	.join__cta, .join__cta .wp-block-button { width: 100%; }
	.join__cta .wp-block-button__link { width: 100%; }
	.join__price { padding: var(--sp-3) var(--sp-3) var(--sp-3) 14px; }
	.join__price span { font-size: 0.66rem; white-space: nowrap; letter-spacing: -0.03em; }
}
@media (max-width: 340px) { .join__prices { grid-template-columns: 1fr; } }

/* ════════════════════════ PAGES INTÉRIEURES ════════════════════════ */

/* Élément pictogramme + texte (missions, engagements, points clés) */
.picto-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start; }
.picto-item > * { margin: 0; }
.picto-item p { color: var(--c-ardoise); font-size: 0.92rem; line-height: 1.45; }
.picto-item strong { display: block; color: var(--c-abysse); font-size: 1rem; line-height: 1.3; }
.picto-item br { display: none; }
.trial-fact { gap: 12px; }
.trial-fact p { font-size: 0.88rem; line-height: 1.35; }
.trial-fact strong { font-size: 0.96rem; }

/* Ancres en pastilles de verre dans un en-tête de page */
.hero-anchors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--sp-4) !important; }
.hero-anchors a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.06); color: var(--on-dark); font-weight: 650; font-size: 0.86rem; text-decoration: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background var(--t-base), border-color var(--t-base), transform var(--t-base) var(--ease-nage); }
.hero-anchors a:hover { background: rgb(255 255 255 / 0.16); border-color: #fff; transform: translateY(-2px); color: #fff; }
@media (max-width: 640px) { .hero-anchors { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); max-width: 100vw; } .hero-anchors::-webkit-scrollbar { display: none; } .hero-anchors a { flex: none; } }
@media (min-width: 1024px) {
	.club-hero .page-hero__media { left: 34%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%); mask-image: linear-gradient(90deg, transparent, #000 34%); }
	.club-hero .page-hero__media.duo img { opacity: 0.66; }
}

/* ───────── Le club : présentation ───────── */
.club-pres { display: grid; gap: var(--sp-7); }
.club-pres > * { margin: 0; }
@media (min-width: 1024px) {
	.club-pres { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); grid-template-areas: "text media" "mission media" "stats stats"; column-gap: clamp(3rem, 1rem + 4vw, 6rem); row-gap: var(--sp-7); }
	.club-pres__text { grid-area: text; }
	.club-pres__media { grid-area: media; align-self: start; }
	.club-mission { grid-area: mission; }
	.club-stats { grid-area: stats; }
}
.club-pres__text { display: grid; gap: var(--sp-4); justify-items: start; }
.club-pres__text > * { margin: 0; }
.club-pres__text .sec-head { margin-bottom: var(--sp-2); }
.club-pres__media { position: relative; margin: 0; }
.club-pres__media > .wp-block-image { margin: 0; }
.club-pres__media > .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; border-radius: var(--r-xl); background: var(--c-ecume); box-shadow: var(--sh-lg); }
.club-id { position: relative; overflow: hidden; display: grid; gap: var(--sp-4); margin: -64px var(--sp-4) 0; padding: 0 var(--sp-5) var(--sp-5); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-ligne); box-shadow: var(--sh-md); }
.club-id > * { margin: 0; }
.club-id .wp-block-separator { --rope-bg: #fff; margin: 10px calc(-1 * var(--sp-5)) 0 !important; width: auto; }
.club-id__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.club-id__list > *, .club-id__list > * > * { margin: 0; }
.club-id__label { font-family: var(--f-chrono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ardoise); }
.club-id__value { margin-top: 2px !important; font-weight: 700; font-size: 0.95rem; line-height: 1.3; color: var(--c-abysse); }
.club-id__value.chrono { font-size: 0.88rem; color: var(--c-issy-700); }
@media (min-width: 600px) and (max-width: 1023px) { .club-pres__media { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: end; } .club-id { z-index: 1; margin: 0 0 var(--sp-6) calc(-1 * var(--sp-7)); } }
@media (min-width: 1024px) { .club-id { position: absolute; left: calc(-1 * clamp(1.5rem, 0.5rem + 2vw, 3rem)); bottom: var(--sp-6); width: min(330px, 100%); margin: 0; } }
.club-mission > * { margin: 0; }
.club-mission__intro { font-family: var(--f-display); font-weight: 750; font-stretch: 104%; font-size: var(--fs-md); color: var(--c-abysse); margin-bottom: var(--sp-3) !important; }
.club-mission__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-6); }
@media (max-width: 640px) { .club-mission__list { grid-template-columns: 1fr; } }
.club-mission__item { margin: 0; gap: 4px var(--sp-4); padding: var(--sp-5) 0; border-top: 1px solid var(--c-ligne); }
.club-mission__item .picto { grid-row: span 2; }
.club-mission__item strong { font-family: var(--f-display); font-size: 1.14rem; font-weight: 800; margin-bottom: 4px; }
.club-mission__item p { font-size: 0.95rem; line-height: 1.5; }
.club-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
@media (max-width: 860px) { .club-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.club-stats .stat { align-content: start; margin: 0; padding: var(--sp-5); border-radius: var(--r-lg); background: var(--c-carrelage); border: 1px solid var(--c-ligne); }
.club-stats .picto { width: 44px; height: 44px; border-radius: 14px; margin-bottom: var(--sp-3); }
.club-stats .stat__num { font-size: var(--fs-2xl) !important; }
@media (max-width: 420px) { .club-stats .stat { padding: var(--sp-4); } .club-stats .stat__label { font-size: 0.85rem; } }

/* ───────── Frise « ligne d'eau » (blocs issy/frise et issy/jalon) ───────── */
.tl { --fill: 0; --dot: 52px; --spine: calc(var(--dot) / 2); position: relative; margin: 0; }
.tl__rope { position: absolute; z-index: 0; top: calc(var(--dot) / 2); bottom: 0; left: var(--spine); width: 14px; margin-left: -7px; pointer-events: none; background: radial-gradient(circle at 7px 7px, var(--c-ligne-forte) 0 4.5px, transparent 5px) 0 100% / 14px 14px repeat-y, linear-gradient(90deg, transparent 6px, var(--c-ligne) 6px 8px, transparent 8px); }
.tl__rope::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 98px; background: radial-gradient(circle at 7px 7px, color-mix(in srgb, var(--c-bouee) 60%, #fff) 0 4.5px, transparent 5px) 0 100% / 14px 14px repeat-y, linear-gradient(90deg, transparent 6px, var(--c-ligne) 6px 8px, transparent 8px), var(--c-carrelage); }
.tl__fill { position: absolute; z-index: 1; left: 0; top: 0; width: 14px; height: calc(var(--fill) * 100%); background: radial-gradient(circle at 7px 7px, #fff 0 2.2px, transparent 2.7px) 0 0 / 14px 70px repeat-y, radial-gradient(circle at 7px 7px, var(--c-issy) 0 4.5px, transparent 5px) 0 0 / 14px 14px repeat-y, linear-gradient(90deg, transparent 6px, var(--c-issy) 6px 8px, transparent 8px), var(--c-carrelage); transition: height 220ms linear; }
.tl__swimmer { position: absolute; left: 50%; top: 100%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; display: grid; place-items: center; color: var(--c-issy); background: #fff; border: 2px solid var(--c-issy); box-shadow: var(--sh-issy), 0 0 0 4px var(--c-carrelage); }
.tl__swimmer .icon { width: 20px; height: 20px; }
.tl__swimmer::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--c-bassin); opacity: 0; }
.motion-ok .tl.is-now .tl__swimmer::after { animation: tl-ping 2.4s var(--ease-nage) infinite; }
@keyframes tl-ping { from { opacity: 0.9; transform: scale(0.85); } to { opacity: 0; transform: scale(1.5); } }
.tl__list { position: relative; z-index: 2; display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); margin: 0; padding: 0; list-style: none; }
.tl-item { display: grid; grid-template-columns: var(--dot) minmax(0, 1fr); column-gap: var(--sp-4); row-gap: var(--sp-3); align-items: start; margin: 0; }
.tl-item__dot { grid-column: 1; grid-row: 1 / span 2; width: var(--dot); height: var(--dot); border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--c-ligne-forte); color: var(--c-ardoise); box-shadow: 0 0 0 6px var(--c-carrelage); transition: background var(--t-slow) var(--ease-nage), border-color var(--t-slow), color var(--t-slow), transform var(--t-slow) var(--ease-rebond); }
.tl-item__dot .icon { width: 22px; height: 22px; }
.tl-item.is-reached .tl-item__dot, .is-shot .tl-item:not(.tl-item--next) .tl-item__dot { background: var(--c-issy); border-color: var(--c-issy); color: #fff; transform: scale(1.05); box-shadow: 0 0 0 6px var(--c-carrelage), 0 12px 24px -10px rgb(22 100 196 / 0.7); }
.tl-item--next .tl-item__dot, .tl-item--next.is-reached .tl-item__dot { background: #fff; border-style: dashed; border-color: var(--c-bouee); color: var(--c-bouee); transform: none; box-shadow: 0 0 0 6px var(--c-carrelage); }
.tl-item__when { grid-column: 2; grid-row: 1; min-height: var(--dot); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; margin: 0; }
.tl-item__when time { display: block; }
.tl-item__when b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 115%; font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.6rem); line-height: 1; letter-spacing: -0.025em; color: var(--c-abysse); }
.tl-item__when sup { font-size: 0.5em; position: relative; top: -0.15em; }
.tl-item__when b + span { display: block; margin-top: 5px; font-family: var(--f-chrono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-issy); }
.tl-item--next .tl-item__when b { color: var(--c-ardoise); }
.tl-item__card { grid-column: 2; grid-row: 2; min-width: 0; display: grid; gap: var(--sp-3); justify-items: start; padding: var(--sp-5); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-ligne); box-shadow: var(--sh-xs); }
.tl-item__card > * { margin: 0; }
.tl-item__card h3 { font-size: var(--fs-lg); }
.tl-item__card > p { max-width: 60ch; }
.tl-item--next .tl-item__card { background: transparent; border: 2px dashed var(--c-ligne-forte); box-shadow: none; }
.tl-photos { justify-self: stretch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px !important; max-width: 540px; }
.tl-photos--trio { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.tl-photos > * { margin: 0 !important; }
.tl-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-md); background: var(--c-ecume); }
@media (max-width: 520px) { .tl-photos--trio { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .tl-photos--trio > :first-child { grid-row: span 2; position: relative; } .tl-photos--trio > :first-child img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; } .tl-photos--trio > :not(:first-child) img { aspect-ratio: 1 / 1; } }
.tl-record { justify-self: stretch; max-width: none !important; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 12px 16px; border-radius: var(--r-md); background: var(--c-carrelage); border: 1px dashed var(--c-ligne-forte); font-family: var(--f-chrono); font-size: 0.82rem; font-weight: 600; color: var(--c-issy-700); }
.tl-record strong { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-texte); font-size: 0.88rem; font-weight: 700; color: var(--c-abysse); }
.tl-record strong::before { content: ""; flex: none; width: 1.1em; height: 1.1em; background: var(--c-issy); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2Z'/%3E%3Cpath d='M14 2v6h6M9 13h6M9 17h4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2Z'/%3E%3Cpath d='M14 2v6h6M9 13h6M9 17h4'/%3E%3C/svg%3E") center / contain no-repeat; }
.tl-season { justify-self: stretch; display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--r-md); background: var(--c-ecume); }
.tl-season > * { margin: 0; }
.tl-season__label { font-weight: 700; font-size: 0.9rem; color: var(--c-issy-700); }
.tl-season__track { position: relative; height: 10px; background: radial-gradient(circle at 5px 5px, var(--c-ligne-forte) 0 3px, transparent 3.5px) 0 0 / 10px 10px repeat-x; }
.tl-season__fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); background: radial-gradient(circle at 5px 5px, var(--c-issy) 0 3px, transparent 3.5px) 0 0 / 10px 10px repeat-x, var(--c-ecume); }
.tl-season__now { position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--c-bouee); box-shadow: 0 0 0 3px #fff; }
.tl-season__ends { display: flex; justify-content: space-between; gap: 8px; font-size: 0.7rem; color: var(--c-ardoise); }
@media (max-width: 520px) { .tl { --dot: 44px; } .tl-item { column-gap: var(--sp-3); } .tl-item__dot .icon { width: 19px; height: 19px; } .tl-item__card { padding: var(--sp-4); } .tl-photos { gap: 6px; } }
@media (min-width: 900px) {
	.tl { --spine: 50%; }
	.tl-item { grid-template-columns: minmax(0, 1fr) var(--dot) minmax(0, 1fr); column-gap: clamp(1.5rem, 0.5rem + 2.5vw, 3.5rem); row-gap: 0; }
	.tl-item__dot { grid-column: 2; grid-row: 1; }
	.tl-item__when { grid-column: 1; grid-row: 1; align-items: flex-end; text-align: right; }
	.tl-item__card { grid-column: 3; grid-row: 1; }
	.tl-item:nth-child(even) .tl-item__when { grid-column: 3; align-items: flex-start; text-align: left; }
	.tl-item:nth-child(even) .tl-item__card { grid-column: 1; }
}

/* ───────── Valeurs ───────── */
.club-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
@media (max-width: 1023px) { .club-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.club-value { display: grid; grid-template-rows: auto 1fr; overflow: hidden; margin: 0; border-radius: var(--r-lg); background: var(--c-carrelage); border: 1px solid var(--c-ligne); transition: transform var(--t-base) var(--ease-nage), box-shadow var(--t-base); }
.club-value:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.club-value__media { margin: 0 !important; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-ecume); }
.club-value__media img { width: 100%; height: 100% !important; object-fit: cover; transition: transform 1.1s var(--ease-nage); }
.club-value:hover .club-value__media img { transform: scale(1.05); }
.club-value__body { position: relative; display: grid; gap: var(--sp-2); align-content: start; margin: 0; padding: 0 var(--sp-5) var(--sp-5); }
.club-value__body > * { margin: 0; }
.club-value__body .picto { width: 56px; height: 56px; margin: -28px 0 var(--sp-2); border-radius: 18px; box-shadow: var(--sh-issy), 0 0 0 4px var(--c-carrelage); transition: transform var(--t-slow) var(--ease-rebond); }
.club-value__body .picto .icon { width: 26px; height: 26px; }
.club-value:hover .club-value__body .picto { transform: rotate(-8deg) scale(1.06); }
.club-value h3 { font-size: var(--fs-xl); font-style: italic; font-stretch: 112%; }
@media (min-width: 560px) and (max-width: 1023px) { .club-value__media { aspect-ratio: 1 / 1; } }
@media (max-width: 559px) {
	.club-values { grid-template-columns: 1fr; gap: var(--sp-3); }
	.club-value { grid-template-columns: 118px minmax(0, 1fr); grid-template-rows: none; }
	.club-value__media { aspect-ratio: auto; height: 100%; min-height: 168px; }
	.club-value__body { padding: var(--sp-4); }
	.club-value__body .picto { width: 40px; height: 40px; margin: 0; border-radius: 12px; box-shadow: var(--sh-issy); }
	.club-value__body .picto .icon { width: 20px; height: 20px; }
	.club-value h3 { font-size: var(--fs-lg); }
	.club-value p { font-size: 0.92rem; line-height: 1.5; }
}

/* ───────── Nos nageurs (page Le club) ───────── */
@media (min-width: 1024px) { .club-swimmers .swimmers--rail { display: flex; flex-wrap: wrap; justify-content: center; } .club-swimmers .swimmer-card { flex: 0 0 calc((100% - 3 * var(--sp-4)) / 4); } }
.club-note { position: relative; padding-left: 1.5em; margin: var(--sp-5) 0 0 !important; font-size: var(--fs-sm); color: var(--c-ardoise); }
.club-note::before { content: ""; position: absolute; left: 0; top: 0.25em; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ───────── Piscine ───────── */
.pool { display: grid; overflow: hidden; margin: 0; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--c-ligne); box-shadow: var(--sh-sm); }
.pool > * { margin: 0; }
@media (min-width: 900px) { .pool { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.pool__plan { --lane: 56px; position: relative; isolation: isolate; overflow: hidden; min-height: 300px; display: grid; place-content: center; justify-items: center; gap: var(--sp-3); background: var(--caustics) center / cover, linear-gradient(160deg, var(--c-bassin), var(--c-issy) 58%, var(--c-issy-700)); background-blend-mode: soft-light, normal; }
.pool__plan > * { margin: 0; }
.pool__plan::before { content: ""; position: absolute; z-index: -1; inset: 0 9%; background: linear-gradient(transparent calc(50% - 3px), rgb(6 26 58 / 0.26) calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px)) 0 0 / 100% var(--lane) repeat-y; }
.pool__plan::after { content: ""; position: absolute; z-index: -1; inset: calc(var(--lane) - 3px) 0 0; background: radial-gradient(circle at 6px 3px, rgb(255 255 255 / 0.9) 0 2.6px, transparent 3.1px) 0 0 / 12px var(--lane) repeat; }
.pool__plan .picto { position: relative; width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 16px 30px -10px rgb(6 26 58 / 0.55); }
.pool__plan .picto .icon { width: 28px; height: 28px; }
.pool__plan .picto::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgb(255 255 255 / 0.75); animation: pool-ping 2.6s var(--ease-nage) infinite; }
@keyframes pool-ping { from { transform: scale(0.8); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.pool__plan-name { padding: 4px 16px; border-radius: var(--r-pill); background: rgb(6 26 58 / 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 118%; font-size: var(--fs-lg); letter-spacing: -0.01em; color: #fff; }
.pool__body { display: grid; gap: var(--sp-4); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); align-content: center; justify-items: start; }
.pool__body > * { margin: 0; }
.pool__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pool__badges > * { margin: 0; }
.pool__name { font-size: var(--fs-xl) !important; }
.pool__addr { display: flex; align-items: flex-start; gap: 8px; color: var(--c-ardoise); font-weight: 600; }
.pool__addr::before { content: ""; flex: none; width: 1em; height: 1em; margin-top: 4px; background: var(--c-issy); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.facts { display: grid; margin: 0; border-top: 1px solid var(--c-ligne); width: 100%; }
.facts > div { display: grid; grid-template-columns: 96px 1fr; gap: var(--sp-3); margin: 0; padding: 10px 0; border-bottom: 1px solid var(--c-ligne); font-size: 0.92rem; }
.facts > div > * { margin: 0; }
.facts__label { font-family: var(--f-chrono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ardoise); padding-top: 3px; }
.facts__value { color: var(--c-encre); }
@media (max-width: 420px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } .pool__plan { min-height: 220px; } }

/* ───────── Partenaires ───────── */
.partner-join { display: grid; gap: var(--sp-6); align-items: stretch; }
.partner-join > * { margin: 0; }
@media (min-width: 1024px) { .partner-join { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(3rem, 1rem + 4vw, 6rem); } }
.partner-join__text > * { margin: 0; }
.partner-join__text .sec-head { margin-bottom: var(--sp-5); }
.partner-why { display: grid; margin-bottom: var(--sp-5) !important; }
.partner-why__item { margin: 0; gap: 2px var(--sp-4); padding: var(--sp-4) 0; border-top: 1px solid var(--c-ligne); }
.partner-why__item:last-child { border-bottom: 1px solid var(--c-ligne); }
.partner-why__item .picto { grid-row: span 2; }
.partner-why__item strong { font-size: 1.02rem; }
.partner-why__item p { font-size: 0.93rem; }
.partner-cta { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end; justify-items: start; gap: var(--sp-4); min-height: 420px; margin: 0; padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border-radius: var(--r-xl); }
.partner-cta > * { margin: 0; }
.partner-cta > .partner-cta__media { position: absolute; inset: 0; z-index: -2; margin: 0; background: var(--c-abysse); }
.partner-cta > .partner-cta__media img { width: 100%; height: 100% !important; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(1.08); mix-blend-mode: screen; opacity: 0.92; }
.partner-cta > .partner-cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, #c8f4ff, #74d3f6 40%, #3f86ee 100%); mix-blend-mode: multiply; }
.partner-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(6 26 58 / 0.1) 0%, rgb(6 26 58 / 0.72) 48%, rgb(6 26 58 / 0.96) 100%); }
.partner-cta__title { font-size: var(--fs-xl) !important; font-style: italic; font-weight: 900; font-stretch: 114%; }
.partner-cta__mail a { font-family: var(--f-display); font-weight: 800; font-stretch: 104%; font-size: clamp(1.15rem, 0.9rem + 1.2vw, 1.75rem); line-height: 1.2; color: var(--c-chlore); text-decoration-thickness: 2px; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.partner-cta__mail a:hover { color: #fff; }
@media (max-width: 1023px) { .partner-cta { min-height: 340px; } }
@media (max-width: 520px) { .partner-cta { min-height: 360px; justify-items: stretch; } .partner-cta .wp-block-buttons { width: 100%; } .partner-cta .wp-block-button { flex: 1 1 100%; } .partner-cta .wp-block-button__link { width: 100%; justify-content: center; } }

/* ───────── Documents ───────── */
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); }
.docs > * { margin: 0; }
@media (max-width: 1000px) { .docs { grid-template-columns: 1fr; } }
.doc { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: var(--sp-4); padding: var(--sp-4); border-radius: var(--r-md); border: 1px solid var(--c-ligne); background: var(--c-carrelage); text-decoration: none; color: inherit; transition: border-color var(--t-fast), box-shadow var(--t-base), transform var(--t-base) var(--ease-nage); }
a.doc:hover { border-color: var(--c-issy); box-shadow: var(--sh-sm); transform: translateY(-2px); }
.doc__ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--c-erreur-bg); color: var(--c-erreur); }
.doc__txt { display: grid; line-height: 1.35; min-width: 0; }
.doc__txt b { color: var(--c-abysse); }
.doc__txt small { color: var(--c-ardoise); font-size: 0.82rem; }
.doc__go { color: var(--c-issy); }
.doc--todo { grid-template-columns: 48px 1fr; border: 2px dashed var(--c-ligne-forte); background: transparent; }
.doc--todo .doc__ico { background: var(--c-ecume); color: var(--c-issy); }

/* ───────── Appel aux bénévoles ───────── */
.volunteer-cta { position: relative; isolation: isolate; overflow: hidden; display: grid; margin: 0; border-radius: var(--r-xl); color: var(--on-dark); background: var(--c-abysse); }
.volunteer-cta > * { margin: 0; }
@media (min-width: 960px) { .volunteer-cta { grid-template-columns: 0.9fr 1.1fr; } }
.volunteer-cta__media { position: relative; min-height: 260px; margin: 0 !important; background: var(--c-abysse); overflow: hidden; }
.volunteer-cta__media img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(1.08); mix-blend-mode: screen; opacity: 0.92; }
.volunteer-cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, #c8f4ff, #74d3f6 40%, #3f86ee 100%); mix-blend-mode: multiply; }
.volunteer-cta__content { display: grid; gap: var(--sp-5); justify-items: start; padding: clamp(1.75rem, 1.25rem + 3vw, 3.5rem); }
.volunteer-cta__content > * { margin: 0; }
.volunteer-cta__title { color: #fff; font-size: var(--fs-2xl) !important; font-style: italic; font-weight: 900; font-stretch: 116%; }
.volunteer-cta__roles { display: grid; gap: var(--sp-3); width: 100%; }
.volunteer-cta__role { margin: 0; gap: var(--sp-4); align-items: center; padding: 12px 14px; border-radius: var(--r-md); background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.1); }
.volunteer-cta__role .picto { width: 36px; height: 36px; border-radius: 10px; }
.volunteer-cta__role strong { color: #fff; }
.volunteer-cta__role p { color: var(--on-dark-muted); font-size: 0.86rem; }

/* ───────── Encadrement et bureau (bloc issy/equipe) ───────── */
.coach-duo { display: grid; gap: var(--sp-5); }
@media (min-width: 1100px) { .coach-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.coach-card { display: grid; grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr); min-height: 300px; overflow: hidden; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--c-ligne); box-shadow: var(--sh-sm); transition: transform var(--t-base) var(--ease-nage), box-shadow var(--t-base); }
.coach-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.board-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); margin: 0; padding: 0; list-style: none; }
@media (max-width: 699px) { .board-grid { grid-template-columns: 1fr; gap: var(--sp-3); } }

/* ═════════ Groupes & tarifs ═════════ */
:root { --on-dark-dim: color-mix(in srgb, var(--c-bassin) 45%, #fff); }
#tarifs, #essai, #planning, #documents, #faq-tarifs, .activity { scroll-margin-top: calc(var(--header-h-compact) + 80px); }
.tarifs-promises { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: var(--sp-4) 0 0 !important; padding: 0; list-style: none; }
.tarifs-promises li { font-weight: 650; font-size: 0.92rem; color: var(--on-dark); }
.tarifs-promises .icon { margin-right: 8px; vertical-align: -0.2em; color: var(--c-chlore); }

/* Sous-navigation collante : pastille de couleur ou pictogramme selon l'ancre visée. */
.tarifs-nav { position: sticky; top: var(--header-h-compact); z-index: 60; margin: 0 !important; padding-block: 12px; background: color-mix(in srgb, #fff 92%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); border-bottom: 1px solid var(--c-ligne); }
.tarifs-nav__links { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) !important; padding: 0 var(--gutter); scroll-padding-inline: var(--gutter); scroll-snap-type: x proximity; }
.tarifs-nav__links::-webkit-scrollbar { display: none; }
.tarifs-nav__links a { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--c-ligne-forte); background: #fff; color: var(--c-encre); font-weight: 650; font-size: 0.86rem; text-decoration: none; scroll-snap-align: start; transition: all var(--t-fast); }
.tarifs-nav__links a:hover { border-color: var(--c-issy); color: var(--c-issy); }
.tarifs-nav__links a[aria-current="true"] { background: var(--c-abysse); border-color: var(--c-abysse); color: #fff; }
.tarifs-nav__links a::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--dot, var(--c-issy)); }
.tarifs-nav__links a[href="#juniors"] { --dot: var(--act-juniors); margin-left: 9px; }
.tarifs-nav__links a[href="#seniors"] { --dot: var(--act-seniors); }
.tarifs-nav__links a[href="#masters"] { --dot: var(--act-masters); }
.tarifs-nav__links a[href="#prepa"] { --dot: var(--act-prepa); }
.tarifs-nav__links a[href="#essai"] { margin-left: 9px; }
.tarifs-nav__links a[href="#juniors"]::after, .tarifs-nav__links a[href="#essai"]::after { content: ""; position: absolute; left: -10px; top: 4px; bottom: 4px; width: 1px; background: var(--c-ligne-forte); }
.tarifs-nav__links a:is([href="#tarifs"], [href="#essai"], [href="#planning"], [href="#documents"])::before { width: 16px; height: 16px; border-radius: 0; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.tarifs-nav__links a[href="#tarifs"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 7a7 7 0 1 0 0 10M4 10h9M4 14h9'/%3E%3C/svg%3E"); }
.tarifs-nav__links a[href="#essai"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v4M12 17v4M3 12h4M17 12h4M5.6 5.6l2.8 2.8M15.6 15.6l2.8 2.8M5.6 18.4l2.8-2.8M15.6 8.4l2.8-2.8'/%3E%3C/svg%3E"); }
.tarifs-nav__links a[href="#planning"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); }
.tarifs-nav__links a[href="#documents"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2Z'/%3E%3Cpath d='M14 2v6h6M9 13h6M9 17h4'/%3E%3C/svg%3E"); }
@media (min-width: 1280px) { .tarifs-nav__links { flex-wrap: wrap; margin-inline: 0 !important; padding-inline: 0; } }

/* Tarifs : cartes du bloc issy/tarifs posées dans la grille, bascule 1× / 3× alignée sur l'en-tête. */
.segmented { display: inline-flex; padding: 4px; gap: 2px; border-radius: var(--r-pill); background: #e9eef7; }
.segmented button { appearance: none; display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: transparent; font: inherit; font-weight: 650; font-size: 0.88rem; color: var(--c-ardoise); cursor: pointer; transition: color var(--t-base); }
.segmented [aria-pressed="true"] { color: var(--c-abysse); background: #fff; box-shadow: var(--sh-sm); }
.price-grid { position: relative; display: grid; gap: var(--sp-4); grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.price-grid > * { margin: 0 !important; }
.price-grid > .issy-tarifs { display: contents; }
.price-grid .segmented { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 1024px) { .price-grid .segmented { position: absolute; right: 0; bottom: calc(100% + clamp(2rem, 1.5rem + 2vw, 3.5rem)); } }
@media (max-width: 1023px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .price-incl { grid-column: 1 / -1; } }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { display: grid; gap: var(--sp-4); align-content: start; padding: var(--sp-6); border-radius: var(--r-xl); background: #fff; border: 1.5px solid var(--c-ligne); box-shadow: var(--sh-sm); transition: transform var(--t-base) var(--ease-nage), box-shadow var(--t-base), border-color var(--t-base); }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--c-issy); }
.price-card > *, .price-card__head > * { margin: 0; }
.price-card__head { display: grid; gap: 8px; justify-items: start; }
.price-card__head h3 { font-size: var(--fs-xl); }
.price-card__desc, .price-card__note { font-size: 0.875rem; color: var(--c-ardoise); }
.price-card__amount { font-family: var(--f-display); font-weight: 900; font-style: italic; font-stretch: 115%; font-size: clamp(2.6rem, 2rem + 2.5vw, 3.6rem); line-height: 1; color: var(--c-abysse); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price-card__note { margin-top: -8px; }
.price-card .btn { justify-content: center; }
.price-incl { display: grid; gap: var(--sp-4); align-content: start; padding: var(--sp-6); border-radius: var(--r-xl); color: var(--on-dark); background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--c-bassin) 55%, transparent), transparent 60%), linear-gradient(160deg, var(--c-issy), var(--c-marine) 75%); }
.price-incl > * { margin: 0 !important; }
.price-incl .is-style-coches li { color: var(--on-dark); }
.price-incl .is-style-coches strong { color: #fff; }
.price-incl__don { position: relative; padding-left: 1.6em; font-size: 0.875rem; color: var(--on-dark-muted); }
.price-incl__don::before, .slot-note::before, .incl-docs .callout::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.1em; height: 1.1em; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.price-incl__don::before { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v4M12 17v4M3 12h4M17 12h4M5.6 5.6l2.8 2.8M15.6 15.6l2.8 2.8M5.6 18.4l2.8-2.8M15.6 8.4l2.8-2.8'/%3E%3C/svg%3E"); background: var(--c-chlore); }
.price-incl__don a { color: #fff; font-weight: 700; }

/* Fiches des groupes : photo collante, faits clés, créneaux tirés du planning, tarif et actions. */
.act-juniors { --act: var(--act-juniors); }
.act-seniors { --act: var(--act-seniors); }
.act-masters { --act: var(--act-masters); }
.act-prepa { --act: var(--act-prepa); }
.tarifs-list__inner { display: grid; gap: clamp(3rem, 2rem + 4vw, 6rem); }
.tarifs-list__inner > * { margin: 0 !important; }
.activity { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3.5rem); align-items: start; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.activity:nth-child(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.activity:nth-child(even) > .activity__media { order: 2; }
.activity > * { margin: 0 !important; }
.activity__media { position: sticky; top: calc(var(--header-h-compact) + 84px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--sh-md); background: color-mix(in srgb, var(--act) 18%, var(--c-ecume)); }
.activity__media::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 8px; background: var(--act); }
.activity__media img, .activity__media video { display: block; width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 18%; transition: transform 1.1s var(--ease-nage); }
.activity:hover .activity__media img { transform: scale(1.03); }
.activity__media video { object-position: 50% 50%; }
.activity__media .video-toggle { top: auto; left: auto; right: 16px; bottom: 24px; width: 48px; height: 48px; }
.activity__media .video-toggle .icon { width: 20px; height: 20px; }
@media (max-width: 960px) {
	.activity, .activity:nth-child(even) { grid-template-columns: 1fr; }
	.activity:nth-child(even) > .activity__media { order: 0; }
	.activity__media { position: relative; top: auto; aspect-ratio: 4 / 3; }
	.activity__media img { object-position: 50% 22%; }
}
.activity__content { display: grid; gap: var(--sp-5); align-content: start; min-width: 0; }
.activity__content > *, .activity__head > *, .activity__foot > * { margin: 0 !important; }
.activity__head { display: flex; align-items: center; gap: var(--sp-4); }
.activity__num { font-family: var(--f-chrono); font-size: 0.75rem; font-weight: 700; color: var(--c-brume); padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--c-ligne); }
.activity__title { font-size: var(--fs-2xl) !important; }
.activity__title em { font-style: italic; color: var(--act); font-stretch: 112%; filter: saturate(1.1) brightness(0.85); }
.activity__lead { font-size: var(--fs-md); color: var(--c-ardoise); max-width: 60ch; }
.activity__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); }
.activity__facts > p { margin: 0 !important; padding: 12px 14px; border-radius: var(--r-md); background: var(--c-carrelage); border: 1px solid var(--c-ligne); border-top: 3px solid var(--act); font-family: var(--f-chrono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; line-height: 1.4; text-transform: uppercase; color: var(--c-brume); }
.activity__facts strong { display: block; margin-top: 4px; font-family: var(--f-texte); font-size: 0.95rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; text-transform: none; color: var(--c-abysse); }
@media (max-width: 640px) { .activity__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.slot-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.slot-list li { display: grid; gap: 2px; padding: 10px 14px; border-radius: var(--r-md); background: var(--c-carrelage); border: 1px solid var(--c-ligne); border-left: 4px solid var(--act, var(--c-issy)); font-size: 0.92rem; }
.slot-list b { color: var(--c-abysse); }
.activity__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-5); border-radius: var(--r-lg); background: linear-gradient(135deg, color-mix(in srgb, var(--act) 12%, #fff), #fff 70%); border: 1px solid color-mix(in srgb, var(--act) 30%, #fff); }
.activity__price { display: grid; line-height: 1.15; }
.activity__price small { font-size: 0.8rem; color: var(--c-ardoise); }
.activity__price b { font-family: var(--f-display); font-weight: 900; font-style: italic; font-stretch: 115%; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); color: var(--c-abysse); letter-spacing: -0.02em; }
.slot-note { position: relative; padding-left: 1.6em; font-size: 0.875rem; color: var(--c-ardoise); }
.slot-note::before, .incl-docs .callout::before { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E"); }
@media (max-width: 520px) { .activity__foot .wp-block-buttons, .activity__foot .wp-block-button, .activity__foot .wp-block-button__link { width: 100%; } .activity__foot .wp-block-button__link { justify-content: center; } }

/* Séance d'essai (bandeau photo) et appel final, sur fond marine. */
.essai-band, .tarifs-cta { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); }
.essai-band::before, .tarifs-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--caustics) center / cover; mix-blend-mode: screen; }
.essai-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; color: var(--on-dark); background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--c-bassin) 45%, transparent), transparent 55%), var(--c-marine); }
.essai-band::before { opacity: 0.16; }
.essai-band > *, .essai-band__body > * { margin: 0 !important; }
.essai-band__media { min-height: 100%; }
.essai-band__media img { width: 100%; height: 100% !important; min-height: 320px; object-fit: cover; object-position: 50% 40%; }
.essai-band__body { display: grid; gap: var(--sp-4); align-content: center; padding: clamp(1.75rem, 1.25rem + 2.5vw, 3.5rem); }
.essai-band__title, .tarifs-cta__title { font-size: var(--fs-2xl) !important; font-style: italic; font-weight: 900; font-stretch: 114%; }
.essai-band__title em, .tarifs-cta__title em { color: var(--c-chlore); }
.essai-band__body > p:not(.is-style-sur-titre) { color: var(--on-dark-muted); max-width: 54ch; }
.essai-band__list li { align-items: center; font-weight: 650; color: var(--on-dark); }
:is(.essai-band, .tarifs-cta) .is-style-sur-titre .eyebrow__dist, .price-incl .eyebrow__dist { color: var(--on-dark-dim); }
@media (max-width: 900px) { .essai-band { grid-template-columns: 1fr; } .essai-band__media img { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 520px) { :is(.essai-band, .tarifs-cta) :is(.wp-block-buttons, .wp-block-button, .wp-block-button__link) { width: 100%; } :is(.essai-band, .tarifs-cta) .wp-block-button__link { justify-content: center; } }
.tarifs-cta { display: grid; gap: var(--sp-6); align-items: center; padding: clamp(2rem, 1.5rem + 3vw, 4rem); color: var(--on-dark-muted); background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--c-bassin) 50%, transparent), transparent 55%), radial-gradient(70% 90% at 0% 100%, color-mix(in srgb, var(--c-issy) 55%, transparent), transparent 60%), var(--c-marine); }
.tarifs-cta::before { opacity: 0.2; }
@media (min-width: 960px) { .tarifs-cta { grid-template-columns: 1.3fr auto; } }
.tarifs-cta > *, .tarifs-cta__text > * { margin: 0 !important; }
.tarifs-cta__text { display: grid; gap: var(--sp-4); }
.tarifs-cta__title { font-stretch: 116%; }
.tarifs-cta__actions { display: grid !important; gap: var(--sp-3); justify-items: stretch; }
.tarifs-cta__actions .wp-block-button__link { width: 100%; justify-content: center; }

/* Planning en colonnes (une carte par jour). */
.issy-planning__week { display: grid; grid-template-columns: repeat(var(--days, 4), minmax(0, 1fr)); gap: var(--sp-3); }
@media (max-width: 900px) { .issy-planning__week { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .issy-planning__week { grid-template-columns: 1fr; } }
.planning-day { display: grid; gap: 8px; align-content: start; padding: var(--sp-4); border-radius: var(--r-lg); background: var(--c-carrelage); border: 1px solid var(--c-ligne); }
.planning-day:has(.planning-slot--conditionnel) { border-style: dashed; border-color: var(--c-ligne-forte); }
.planning-day__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 4px !important; font-size: 1.05rem !important; }
.planning-day__today { display: none; }
.planning-day.is-today .planning-day__today { display: inline-flex; padding: 3px 8px; border-radius: var(--r-pill); background: var(--c-issy); color: #fff; font-family: var(--f-chrono); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; }
.planning-day__slots { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.planning-slot { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--r-md); background: #fff; border-left: 4px solid var(--g, var(--c-issy)); font-size: 0.9rem; }
.planning-slot__time { font-variant-numeric: tabular-nums; }
.planning-slot__label { font-weight: 700; color: var(--c-abysse); }
.planning-slot__note { font-size: 0.8rem; color: var(--c-ardoise); }
.planning-slot--conditionnel .planning-slot__note { font-family: var(--f-chrono); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-alerte); }

/* Inclus, pièces à fournir, questions. */
.incl-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
@media (max-width: 900px) { .incl-docs { grid-template-columns: 1fr; } }
.incl-docs > *, .incl-docs .panel > * { margin: 0 !important; }
.incl-docs .panel { display: grid; gap: var(--sp-4); align-content: start; }
.incl__title { font-size: var(--fs-xl) !important; }
.req-item { align-items: center; gap: 4px var(--sp-4); }
.req-item p { font-size: 0.86rem; line-height: 1.35; }
.req-item strong { font-size: 1rem; color: var(--c-abysse); }
.incl-docs .callout { position: relative; display: block; padding-left: calc(var(--sp-5) + 1.6em); }
.incl-docs .callout::before { left: var(--sp-5); top: calc(var(--sp-4) + 0.2em); }
.tarifs-faq { display: grid; gap: var(--sp-6); align-items: start; }
.tarifs-faq > * { margin: 0 !important; }
@media (min-width: 1024px) { .tarifs-faq { grid-template-columns: 0.8fr 1.2fr; gap: var(--sp-8); } }
.tarifs-faq .sec-head { margin-bottom: 0; }
.accordion > * { margin-block: 0; }

/* ═════════ Créneaux & présences ═════════ */
.cr-hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.2rem) !important; max-width: 18ch; }
.section.cr-planner { padding-top: var(--sp-6); }
.issy-planning--agenda { display: grid; gap: var(--sp-4); }
.issy-planning--agenda > * { margin: 0; }
.agenda-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.agenda-bar > * { margin: 0; }
.agenda-count { font-size: 0.9rem; color: var(--c-ardoise); }
.agenda-count b { color: var(--c-abysse); font-variant-numeric: tabular-nums; }
.agenda-bar__week { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.agenda-bar__week p { min-width: 214px; margin: 0; text-align: center; font-size: 0.95rem; color: var(--c-ardoise); }
.agenda-bar__week b { color: var(--c-abysse); }
.agenda-bar__today { min-height: 34px; margin-left: 6px; text-decoration: none; font-size: 0.82rem; background: var(--c-ecume); border-color: transparent; color: var(--c-issy); }
.issy-planning__filters { padding: 14px 16px; background: #fff; border: 1px solid var(--c-ligne); border-radius: var(--r-lg); box-shadow: var(--sh-xs); }
.issy-planning__filters .chip { cursor: pointer; font: inherit; font-weight: 650; font-size: 0.9rem; }
.issy-planning__filters .chip__dot { --g: var(--act-juniors); }
.issy-planning__filters .chip__dot[data-color] { background: var(--g); }
.issy-planning--agenda .week-legend { font-size: 0.8rem; }
.week--agenda { --q: 24px; background: #fff; box-shadow: var(--sh-sm); }
.week--agenda .week__name { height: 3.2rem; padding-top: 0; flex-direction: column; justify-content: center; gap: 2px; }
.week--agenda .week__axis { margin-top: calc(3.2rem + var(--sp-3)); }
.week__dow { font-family: var(--f-chrono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-brume); }
.week__num { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; line-height: 1; color: var(--c-abysse); }
.week__day.is-today .week__num { background: var(--c-issy); color: #fff; box-shadow: var(--sh-issy); }
.week__day.is-today .week__dow { color: var(--c-issy); }
.week--agenda .slot { padding-bottom: 6px; }
.week--agenda .slot__actions .wp-element-button, .week--agenda .slot__actions .btn { font-size: 0.76rem; }
@media (max-width: 760px) {
	.agenda-bar__week { width: 100%; margin-left: 0; justify-content: space-between; }
	.agenda-bar__week p { min-width: 0; flex: 1; font-size: 0.88rem; }
	.agenda-bar__today { display: none; }
	.agenda-count { order: 2; }
	.issy-planning__filters { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.week--agenda .week__name { height: auto; flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 6px; padding-top: 10px; }
	.week--agenda .week__num { width: auto; height: auto; font-size: 1.1rem; }
	.week__day.is-today .week__num { background: none; color: var(--c-issy); box-shadow: none; }
}
.cr-rules__grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cr-rules__grid > * { margin: 0 !important; }
.cr-rule { position: relative; display: grid; gap: var(--sp-3); align-content: start; padding: var(--sp-6) var(--sp-5) var(--sp-5); background: var(--c-carrelage); border: 1px solid var(--c-ligne); border-radius: var(--r-lg); }
.cr-rule > * { margin: 0 !important; }
.cr-rule__n { position: absolute; top: 18px; right: 20px; font-family: var(--f-chrono); font-size: 0.8rem; font-weight: 600; color: var(--c-brume); }
.cr-rule h3 { font-size: 1.2rem; }
.cr-rule p.is-style-discret { font-size: 0.95rem; }
.cr-essai-band { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: var(--sp-5) var(--sp-6); margin-top: var(--sp-6) !important; padding: var(--sp-4) var(--sp-6) var(--sp-4) var(--sp-4); border-radius: var(--r-xl); color: var(--on-dark); background: radial-gradient(90% 140% at 100% 0%, color-mix(in srgb, var(--c-bassin) 45%, transparent), transparent 60%), var(--c-marine); }
.cr-essai-band::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.16; background: var(--caustics) center / cover; mix-blend-mode: screen; }
.cr-essai-band > *, .cr-essai-band__txt > * { margin: 0 !important; }
.cr-essai-band__img img { width: 150px; height: 170px !important; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.cr-essai-band__txt { display: grid; gap: 6px; }
.cr-essai-band h3 { font-size: var(--fs-xl); font-style: italic; font-stretch: 112%; }
.cr-essai-band__txt p:not(.is-style-sur-titre) { color: var(--on-dark-muted); max-width: 56ch; }
.cr-essai-band .is-style-sur-titre .eyebrow__dist { color: var(--on-dark-dim); }
@media (max-width: 900px) {
	.cr-essai-band { grid-template-columns: 110px minmax(0, 1fr); padding: var(--sp-4); }
	.cr-essai-band__img img { width: 110px; height: 140px !important; }
	.cr-essai-band > .wp-block-buttons { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.cr-essai-band { grid-template-columns: 1fr; }
	.cr-essai-band__img img { width: 100%; height: 180px !important; }
	.cr-essai-band :is(.wp-block-button, .wp-block-button__link) { width: 100%; justify-content: center; }
}
