:root {
  --navy-950: #031a39;
  --navy-900: #05234b;
  --navy-800: #0a356d;
  --gold: #c79438;
  --gold-light: #e6bd6e;
  --gold-deep: #70490d;
  --ice: #eef7ff;
  --ink: #10233d;
  --muted: #66768b;
  --white: #fff;
  --shadow: 0 16px 40px rgba(7, 35, 75, 0.14);
  --radius: 20px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

/* Course de canards */
.duck-race-page { min-height: 70vh; padding-bottom: 5rem; background: linear-gradient(180deg,#eaf9ff 0,#f8fcff 24rem,#fff 100%); }
body:has(.duck-race-page) .brand { top:0; padding:0 .7rem .85rem; border:1px solid rgba(7,51,83,.12); border-top:0; border-radius:0 0 24px 24px; background:rgba(255,255,255,.98); box-shadow:0 16px 34px rgba(1,41,70,.18); }
body:has(.duck-race-page) .brand img { position:relative; z-index:1; }
.duck-race-hero { overflow: hidden; position: relative; padding: 10rem 0 5rem; background: radial-gradient(circle at 80% 20%,rgba(255,204,65,.28),transparent 25%),linear-gradient(135deg,#063f73,#087b9d 55%,#29a7ad); color: #fff; }
.duck-race-hero::after { content:""; position:absolute; inset:auto -5% -3rem; height:6rem; border-radius:50% 50% 0 0; background:rgba(255,255,255,.13); transform:rotate(-2deg); }
.duck-race-hero-inner { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:clamp(1rem,3vw,3rem); }
.duck-race-hero-copy { position:relative; z-index:3; min-width:0; }
.duck-race-hero h1 { max-width:780px; margin:.25rem 0 .8rem; font-size:clamp(2.5rem,7vw,5rem); line-height:.96; letter-spacing:-.045em; }
.duck-race-hero p { max-width:700px; margin:0; color:#e9fbff; font-size:clamp(1.05rem,2vw,1.3rem); }
.duck-race-kicker { color:#ffd772; font-size:.78rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.duck-race-mascot { position:relative; flex:0 0 clamp(310px,30vw,420px); width:clamp(310px,30vw,420px); height:370px; margin:-4.5rem -1rem -4rem 0; pointer-events:none; }
.duck-race-mascot-image { position:absolute; z-index:1; right:1.75rem; bottom:-1.25rem; width:min(100%,390px); filter:drop-shadow(0 24px 24px rgba(1,41,70,.28)); }
.duck-race-price-bubble { position:absolute; z-index:2; right:0; bottom:2rem; display:grid; place-items:center; width:180px; aspect-ratio:1; padding:1.25rem; border:5px solid rgba(255,255,255,.82); border-radius:50%; background:#ffcb3d; color:#073353; box-shadow:0 20px 45px rgba(1,41,70,.3); transform:rotate(5deg); text-align:center; }
.duck-race-price-bubble span { font-size:.85rem; font-weight:850; text-transform:uppercase; }
.duck-race-price-bubble strong { font-size:2rem; line-height:1; }
.duck-race-shell { display:grid; gap:1.5rem; padding-top:2rem; }
.duck-prizes { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:-4rem; position:relative; z-index:2; }
.duck-prizes article { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.25rem 1.4rem; border:1px solid #d7e9ef; border-radius:18px; background:#fff; box-shadow:0 16px 34px rgba(4,61,91,.12); }
.duck-prizes span { font-weight:800; color:#36566c; }
.duck-prizes strong { color:#07577a; font-size:1.55rem; }
.duck-race-permit { display:flex; align-items:center; justify-content:center; gap:.55rem; margin:-.35rem 0 0; color:#526f7e; font-size:.86rem; }
.duck-race-permit span { font-weight:700; }
.duck-race-permit strong { padding:.22rem .65rem; border:1px solid #d8b158; border-radius:999px; background:#fff8df; color:#073353; letter-spacing:.035em; }
.duck-confirmation { display:flex; gap:1rem; padding:1.4rem; border:2px solid #4db47a; border-radius:18px; background:#effcf4; box-shadow:0 14px 32px rgba(34,120,75,.12); }
.duck-confirmation-icon { font-size:2rem; }
.duck-confirmation > div { min-width:0; }
.duck-confirmation h2,.duck-confirmation p { margin:0; }
.duck-confirmation p { overflow-wrap:anywhere; }
.duck-confirmation p + p { margin-top:.35rem; }
.duck-confirmation a { color:#07577a; text-decoration:underline; font-weight:800; }
.payment-reference { display:grid; gap:.65rem; margin-top:1rem; padding:1rem; border:2px solid #087b9d; border-radius:14px; background:#fff; box-shadow:0 10px 24px rgba(5,92,121,.1); }
.payment-reference-label { color:#07577a; font-size:.78rem; font-weight:900; letter-spacing:.055em; text-transform:uppercase; }
.payment-reference-row { display:flex; align-items:center; gap:.75rem; }
.payment-reference code { flex:1; min-width:0; padding:.75rem 1rem; border:2px dashed #e6ad2f; border-radius:10px; background:#fff8df; color:#073353; font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace; font-size:clamp(1.15rem,3vw,1.55rem); font-weight:900; letter-spacing:.035em; overflow-wrap:anywhere; text-align:center; }
.payment-reference p { color:#31586c; line-height:1.5; }
.payment-reference-explanation { display:grid; gap:.45rem; margin:.25rem 0 0; }
.payment-reference-explanation img { display:block; width:100%; height:auto; border:1px solid #c9dce5; border-radius:12px; background:#f4f8fa; }
.payment-reference-explanation figcaption { color:#526f7e; font-size:.8rem; text-align:center; }
.payment-copy-reference { flex:0 0 auto; min-height:48px; padding:.72rem 1rem; border:0; border-radius:999px; background:#087b9d; color:#fff; cursor:pointer; font-weight:900; box-shadow:0 8px 18px rgba(5,92,121,.18); transition:background .15s ease,transform .15s ease; }
.payment-copy-reference:hover { transform:translateY(-2px); }
.payment-copy-reference:focus-visible { outline:3px solid rgba(8,123,157,.3); outline-offset:2px; }
.payment-copy-reference.is-copied { background:#268a54; }
.payment-copy-feedback { min-height:1.25rem; color:#197046; font-size:.84rem; font-weight:800; }
.duck-confirmation + .duck-prizes { margin-top:0; }
.duck-race-alert { padding:1rem 1.2rem; border:1px solid #d96a55; border-radius:12px; background:#fff1ed; color:#7c261b; font-weight:750; }
.duck-race-alert-neutral { border-color:#8fc5d6; background:#eefaff; color:#124e65; }
.duck-race-closed { padding:4rem 1.5rem; text-align:center; }
.duck-race-closed span { font-size:5rem; }
.duck-race-closed h2 { margin:.5rem 0 0; color:var(--navy-900); }
.duck-race-closed p { margin:.25rem 0; color:var(--muted); }
.duck-picker { overflow:hidden; border:1px solid #d9e8ed; border-radius:24px; background:#fff; box-shadow:0 22px 55px rgba(5,56,83,.1); }
.duck-picker-header { display:flex; align-items:flex-end; justify-content:space-between; gap:2rem; padding:2rem 2rem 1.25rem; }
.duck-picker-header h2 { margin:.15rem 0; color:var(--navy-900); font-size:clamp(1.8rem,4vw,2.7rem); }
.duck-picker-header p { max-width:680px; margin:0; color:var(--muted); }
.duck-race-counts { flex:0 0 auto; display:grid; grid-template-columns:repeat(3,auto); gap:.65rem; }
.duck-race-counts span { display:grid; min-width:92px; padding:.65rem .8rem; border-radius:12px; background:#f1f7f9; color:#587081; text-align:center; font-size:.76rem; font-weight:800; }
.duck-race-counts strong { color:#113c55; font-size:1.25rem; }
.duck-legend { display:flex; flex-wrap:wrap; gap:.65rem 1.25rem; padding:0 2rem 1.25rem; color:#496579; font-size:.86rem; font-weight:750; }
.duck-legend span { display:flex; align-items:center; gap:.45rem; }
.duck-legend i { width:.9rem; height:.9rem; border-radius:50%; box-shadow:inset 0 0 0 1px rgba(0,0,0,.08); }
.duck-legend .is-available { background:#43b96e; }.duck-legend .is-selected { background:#ffcb3d; }.duck-legend .is-pending { background:#f3a93a; }.duck-legend .is-paid { background:#dc4f4f; }
.duck-picker-toolbar { position:sticky; z-index:5; top:0; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 2rem; border-block:1px solid #dce9ee; background:rgba(247,252,253,.95); backdrop-filter:blur(10px); }
.duck-selection-summary { display:grid; min-width:0; }
.duck-selection-summary strong { color:#073e5e; font-size:1.05rem; }
.duck-selection-summary span { overflow:hidden; max-width:520px; color:#5a7180; font-size:.86rem; text-overflow:ellipsis; white-space:nowrap; }
.duck-picker-actions { display:flex; flex-wrap:wrap; gap:.65rem; }
.duck-action { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:.75rem 1.05rem; border:0; border-radius:999px; cursor:pointer; font-weight:900; transition:transform .15s ease,opacity .15s ease,box-shadow .15s ease; }
.duck-action:hover:not(:disabled) { transform:translateY(-2px); }
.duck-action:focus-visible { outline:3px solid rgba(5,107,151,.3); outline-offset:2px; }
.duck-action:disabled { cursor:not-allowed; opacity:.48; }
.duck-action-random { border:2px solid #087d9b; background:#fff; color:#076581; }
.duck-action-reserve,.duck-action-confirm { background:#ffcb3d; color:#15374b; box-shadow:0 8px 20px rgba(198,139,13,.22); }
.duck-action-confirm { width:100%; border-radius:12px; }
.duck-picker-message { min-height:1.6rem; margin:.65rem 2rem 0; color:#197046; font-size:.88rem; font-weight:750; }
.duck-picker-message.is-error { color:#a12f2f; }
.duck-grid { display:grid; grid-template-columns:repeat(10,minmax(0,1fr)); gap:.65rem; max-height:760px; overflow-y:auto; padding:1rem 2rem 2.25rem; scrollbar-color:#83b7c6 #eef6f8; }
.duck-number { position:relative; display:grid; place-items:center; min-width:0; aspect-ratio:1/.9; padding:.35rem; border:2px solid transparent; border-radius:15px; color:#fff; cursor:pointer; box-shadow:inset 0 -4px 0 rgba(0,0,0,.1),0 4px 9px rgba(25,70,83,.1); transition:transform .13s ease,filter .13s ease; }
.duck-number span { font-size:clamp(1rem,2vw,1.5rem); line-height:1; filter:grayscale(1) brightness(0) invert(1); opacity:.9; }
.duck-number strong { font-size:.83rem; line-height:1; }
.duck-number.is-available { background:#38aa65; }.duck-number.is-pending { background:#ee9c2f; }.duck-number.is-paid { background:#d94747; }
.duck-number.is-selected { border-color:#073c58; background:#ffcb3d; color:#103d54; transform:translateY(-3px) rotate(-2deg); box-shadow:0 8px 16px rgba(9,67,88,.22); }
.duck-number.is-selected span { filter:none; opacity:1; }
.duck-number:hover:not(:disabled) { transform:translateY(-3px); filter:brightness(1.05); }
.duck-number:disabled { cursor:not-allowed; opacity:.75; }
.duck-reservation-dialog { width:min(720px,calc(100% - 1.5rem)); max-width:none; max-height:92vh; padding:0; border:0; border-radius:22px; background:transparent; }
.duck-reservation-dialog::backdrop { background:rgba(2,28,48,.76); backdrop-filter:blur(4px); }
.duck-dialog-panel { position:relative; overflow-y:auto; max-height:92vh; padding:clamp(1.35rem,4vw,2.4rem); border-radius:22px; background:#fff; box-shadow:0 30px 70px rgba(0,0,0,.3); }
.duck-dialog-panel h2 { margin:.2rem 2.5rem .6rem 0; color:var(--navy-900); font-size:2rem; }
.duck-dialog-panel > p { color:#526d7d; }
.duck-dialog-close { position:absolute; top:.9rem; right:.9rem; display:grid; place-items:center; width:42px; height:42px; padding:0; border:0; border-radius:50%; background:#eaf2f5; color:#20465b; cursor:pointer; font-size:1.6rem; line-height:1; }
.duck-dialog-order { display:flex; justify-content:space-between; gap:1rem; padding:1rem; border-radius:14px; background:#eaf9ff; color:#0b536f; }
.duck-dialog-order strong { font-size:1.25rem; }
.duck-reservation-form { display:grid; gap:1rem; margin-top:1.2rem; }
.duck-reservation-form label { display:grid; gap:.35rem; color:#193e54; font-weight:800; }
.duck-reservation-form label small { color:#6a7f8d; font-weight:600; }
.duck-reservation-form input { width:100%; padding:.78rem .9rem; border:1px solid #bed0d9; border-radius:10px; }
.duck-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.duck-consent { grid-template-columns:auto 1fr!important; align-items:start; font-size:.88rem; line-height:1.5; }
.duck-consent input { width:auto; margin-top:.25rem; }
.duck-consent a { color:#07577a; text-decoration:underline; }
.duck-reservation-form .cf-turnstile.is-complete { display:none; }
.duck-honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.duck-picker.is-busy .duck-grid { opacity:.7; pointer-events:none; }
@media (max-width:900px) { .duck-race-mascot{flex-basis:300px;width:300px;height:315px;margin:-3rem -1.5rem -3rem 0}.duck-race-mascot-image{right:1.25rem;bottom:-1rem;width:285px}.duck-grid{grid-template-columns:repeat(8,minmax(0,1fr));}.duck-picker-header{align-items:flex-start;flex-direction:column}.duck-race-counts{width:100%;grid-template-columns:repeat(3,1fr)}.duck-prizes{grid-template-columns:1fr;margin-top:-2.5rem}.duck-race-price-bubble{bottom:1.5rem;width:140px}.duck-picker-toolbar{align-items:stretch;flex-direction:column}.duck-picker-actions>*{flex:1}.duck-selection-summary span{max-width:100%} }
@media (max-width:640px) { body:has(.duck-race-page) .brand{padding:0 .35rem .55rem;border-radius:0 0 18px 18px}.duck-race-hero{padding:8.5rem 0 4rem}.duck-race-hero-inner{align-items:flex-start;flex-direction:column;gap:0}.duck-race-mascot{align-self:flex-end;flex-basis:auto;width:235px;height:210px;margin:-.5rem -1rem -3.4rem 0}.duck-race-mascot-image{right:1.5rem;bottom:-1.5rem;width:220px}.duck-race-price-bubble{right:0;bottom:.25rem;width:112px;padding:.75rem;border-width:3px}.duck-race-price-bubble strong{font-size:1.35rem}.duck-picker-header,.duck-legend,.duck-picker-toolbar{padding-inline:1rem}.duck-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:.48rem;padding:1rem}.duck-number{border-radius:11px}.duck-number span{font-size:1rem}.duck-number strong{font-size:.72rem}.duck-picker-actions{display:grid;grid-template-columns:1fr}.duck-form-grid{grid-template-columns:1fr}.duck-race-counts span{min-width:0;padding:.55rem .25rem}.duck-prizes article{padding:1rem}.duck-confirmation{align-items:flex-start}.payment-reference-row{align-items:stretch;flex-direction:column}.payment-copy-reference{width:100%}.duck-picker-message{margin-inline:1rem} }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 30;
  inset: 0 0 auto;
  color: #fff;
}

.header-shell {
  position: relative;
}

.header-nav-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  padding: 6px 0 4px 140px;
}

.brand {
  position: absolute;
  z-index: 20;
  left: 0;
  top: 4px;
}

.brand img {
  max-height: 168px;
  padding-top: 15px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}

.main-navigation {
  display: flex;
  gap: 26px;
  align-items: center;
}

.navigation-branch {
  position: relative;
  display: flex;
  align-items: center;
}

.submenu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.6;
  text-transform: uppercase;
}

.submenu-toggle-label { min-width: 0; }

.submenu-toggle-icon {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
  transform: translateY(-1px) rotate(0deg);
  transition: transform .2s ease;
}

.navigation-submenu {
  position: absolute;
  z-index: 40;
  top: calc(100% - 2px);
  left: 0;
  display: none;
  min-width: 230px;
  padding: .55rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: var(--navy-950);
  box-shadow: 0 18px 44px rgba(3,26,57,.24);
}

.navigation-submenu a {
  display: block;
  padding: .7rem .8rem;
  border-radius: 7px;
  color: #fff;
  line-height: 1.35;
  white-space: nowrap;
}

.navigation-submenu a:hover,
.navigation-submenu a:focus-visible {
  background: rgba(255,255,255,.1);
}

.navigation-branch:hover .navigation-submenu,
.navigation-branch:focus-within .navigation-submenu,
.navigation-branch.submenu-open .navigation-submenu {
  display: block;
}

.navigation-branch.submenu-open .submenu-toggle-icon,
.submenu-toggle[aria-expanded="true"] .submenu-toggle-icon {
  transform: translateY(-1px) rotate(90deg);
}

.main-navigation a {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 0;
  position: relative;
}

.main-navigation a:after,
.submenu-toggle:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  transition: 0.25s;
}

.main-navigation a:hover:after,
.main-navigation a.active:after,
.submenu-toggle:hover:after,
.submenu-toggle[aria-expanded="true"]:after,
.navigation-branch.active > .submenu-toggle:after {
  right: 0;
}

.mobile-registration-link {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  border-radius: 8px;
  padding: 8px 11px;
  align-items: center;
  gap: 7px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.menu-toggle-icon { font-size: 1.1rem; line-height: 1; }

.menu-toggle:focus-visible,
.main-navigation a:focus-visible,
.submenu-toggle:focus-visible,
.header-cta:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 14px 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  cursor: pointer;
  transition: 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 10px 28px rgba(199, 148, 56, 0.25);
}

.btn-outline {
  border: 1px solid var(--gold);
  color: #fff;
  background: transparent;
}

.hero {
  height: 800px;
  min-height: 800px;
  background: radial-gradient(
    circle at 30% 35%,
    #0b427d 0,
    #052652 35%,
    #031a39 72%
  );
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 205px 0 185px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 4;
}

.hero-copy {
  max-width: 520px;
}

.hero-eyebrow {
  color: var(--gold-light);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
}

.hero h1 {
  font:
    700 clamp(3.2rem, 6vw, 6.2rem)/0.95 Georgia,
    serif;
  margin: 18px 0 24px;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  font-size: 1.08rem;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 30px;
}

.hero-media {
  position: absolute;
  right: 0;
  top: 82px;
  bottom: 0;
  width: 55%;
  -webkit-clip-path: ellipse(76% 96% at 78% 48%);
  clip-path: ellipse(76% 96% at 78% 48%);
  overflow: hidden;
  isolation: isolate;
  z-index: 1;
}

.hero-media-zoom,
.hero-media-picture {
  position: absolute;
  inset: -2px;
  display: block;
  z-index: 0;
}

.hero-media-zoom {
  transform: scale(var(--hero-zoom, 1));
  transform-origin: var(--hero-x, 50%) var(--hero-y, 29%);
}

.hero-media-picture {
  inset: 0;
  background-image: var(--hero-image);
  background-repeat: no-repeat;
  background-position: var(--hero-x, 50%) var(--hero-y, 29%);
  background-size: cover;
  transform: scaleX(var(--hero-flip-x, 1));
  transform-origin: 50% 50%;
}

.hero-transition {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 145px;
  background: #fff;
  clip-path: polygon(0 78%, 100% 18%, 100% 100%, 0 100%);
  z-index: 6;
}

.hero-decoration {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Traces fixes des lames. Le SVG ne se déplace et ne tourne jamais. */
.blade-traces {
  position: absolute;
  width: 540px;
  height: 980px;
  left: 39%;
  top: -185px;
  overflow: visible;
  transform: rotate(24deg);
  transform-origin: center;
}

.blade-trace {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.blade-trace-base {
  stroke: rgba(199, 148, 56, 0.38);
  stroke-width: 1.5;
}

.blade-trace-two.blade-trace-base {
  opacity: 0.72;
}

/* Le trait doré est dessiné par-dessus la trace fixe avec stroke-dashoffset. */
.blade-trace-gold {
  --trace-length: 2450;
  stroke: rgba(239, 207, 137, 0.96);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 2450;
  stroke-dashoffset: 2450;
  animation: blade-trace-draw 18s ease-in-out infinite;
}

.blade-trace-two.blade-trace-gold {
  --trace-length: 2240;
  stroke-dasharray: 2240;
  stroke-dashoffset: 2240;
  animation-duration: 18s;
  animation-delay: 0s;
  opacity: 0.86;
}

.star {
  position: absolute;
  z-index: 1;
  color: var(--gold-light);
  line-height: 1;
  opacity: 0.62;
  text-shadow: 0 0 12px rgba(231, 199, 130, 0.24);
  transform: rotate(var(--star-rotation, 0deg)) scale(0.92);
  transform-origin: center;
  /* Les étoiles sont statiques par défaut pour limiter le coût graphique. */
  animation: none;
}

/* Seulement quatre étoiles scintillent lentement. Aucun filtre animé ni
   synchronisation individuelle avec le tracé : l'effet reste léger, même
   sur Firefox et les appareils moins puissants. */
.star.s2,
.star.s4,
.star.s6,
.star.s11 {
  animation: hero-star-twinkle-light var(--twinkle-duration, 18s) linear infinite;
  animation-delay: var(--twinkle-delay, 0s);
  will-change: opacity, transform;
}


/* Éclats supplémentaires : deux trajectoires parallèles qui prolongent
   les traces de lames jusque sous le menu, sans masquer le trait doré. */
.s8 {
  left: 45.2%;
  top: 7%;
  font-size: 0.62rem;
  --star-rotation: -14deg;
  --twinkle-duration: 7.6s;
  --twinkle-delay: -3.2s;
}

.s9 {
  left: 41.7%;
  top: 10.5%;
  font-size: 1.08rem;
  --star-rotation: 9deg;
  --twinkle-duration: 6.3s;
  --twinkle-delay: -1.4s;
}

.s10 {
  left: 44.4%;
  top: 14.5%;
  font-size: 0.72rem;
  --star-rotation: -5deg;
  --twinkle-duration: 8.1s;
  --twinkle-delay: -5.5s;
}

.s11 {
  left: 40.7%;
  top: 18%;
  font-size: 1.32rem;
  --star-rotation: 16deg;
  --twinkle-duration: 24s;
  --twinkle-delay: -17.1s;
}

.s12 {
  left: 43.4%;
  top: 21.5%;
  font-size: 0.58rem;
  --star-rotation: -17deg;
  --twinkle-duration: 7.2s;
  --twinkle-delay: -0.9s;
}

.s13 {
  left: 40%;
  top: 24.5%;
  font-size: 0.86rem;
  --star-rotation: 4deg;
  --twinkle-duration: 6.8s;
  --twinkle-delay: -4.6s;
}

/* Éclats répartis le long des deux trajectoires abaissées vers le hero-transition. */
.s1 {
  left: 39.5%;
  top: 26%;
  font-size: 0.75rem;
  --star-rotation: -12deg;
  --twinkle-duration: 6.4s;
  --twinkle-delay: -1.8s;
}

.s2 {
  left: 42.2%;
  top: 35%;
  font-size: 1.5rem;
  --star-rotation: 8deg;
  --twinkle-duration: 14s;
  --twinkle-delay: -3.2s;
}

.s3 {
  left: 39.8%;
  top: 46%;
  font-size: 0.95rem;
  --star-rotation: -8deg;
  --twinkle-duration: 7.1s;
  --twinkle-delay: -2.6s;
}

.s4 {
  left: 43.5%;
  top: 56%;
  font-size: 1.2rem;
  --star-rotation: 15deg;
  --twinkle-duration: 17s;
  --twinkle-delay: -8.4s;
}

.s5 {
  left: 40.8%;
  top: 66%;
  font-size: 0.7rem;
  --star-rotation: -18deg;
  --twinkle-duration: 6.8s;
  --twinkle-delay: -5.2s;
}

.s6 {
  left: 43.7%;
  top: 82%;
  font-size: 1.45rem;
  --star-rotation: 5deg;
  --twinkle-duration: 20s;
  --twinkle-delay: -12.6s;
}

.s7 {
  left: 40.7%;
  top: 75%;
  font-size: 0.85rem;
  --star-rotation: -5deg;
  --twinkle-duration: 7.4s;
  --twinkle-delay: -1.1s;
}

@keyframes blade-trace-draw {
  0%, 8% {
    stroke-dashoffset: var(--trace-length, 2450);
    opacity: 0;
  }
  14% {
    opacity: 0.95;
  }
  68% {
    stroke-dashoffset: 0;
    opacity: 0.95;
  }
  86%, 100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes hero-star-twinkle-light {
  0%,
  47%,
  53%,
  100% {
    opacity: 0.62;
    transform: rotate(var(--star-rotation, 0deg)) scale(0.92);
  }
  50% {
    opacity: 0.94;
    transform: rotate(var(--star-rotation, 0deg)) scale(1.04);
  }
}

.features-wrap {
  margin-top: -28px;
  position: relative;
  z-index: 10;
}

.home-duck-cta {
  position: relative;
  z-index: 12;
  margin-top: -34px;
}

.home-duck-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 170px;
  overflow: hidden;
  border: 4px solid #ffd76b;
  border-radius: 28px;
  padding: 20px 28px 20px 12px;
  background:
    radial-gradient(circle at 76% 10%, rgba(255, 226, 126, 0.28), transparent 24%),
    linear-gradient(118deg, #075f91 0%, #087da0 48%, #063c76 100%);
  box-shadow: 0 22px 48px rgba(3, 26, 57, 0.22);
  color: #fff;
}

.home-duck-cta-card::before,
.home-duck-cta-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.home-duck-cta-card::before {
  inset: auto -7% -92px 35%;
  height: 145px;
  border: 3px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transform: rotate(-4deg);
}

.home-duck-cta-card::after {
  top: 19px;
  right: 27%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffd35d;
  box-shadow:
    34px 23px 0 -3px rgba(255, 255, 255, 0.82),
    74px -4px 0 2px rgba(255, 211, 93, 0.65),
    118px 29px 0 -2px rgba(255, 255, 255, 0.68);
}

.home-duck-cta-mascot {
  position: relative;
  z-index: 2;
  align-self: end;
  height: 142px;
}

.home-duck-cta-mascot img {
  position: absolute;
  left: -3px;
  bottom: -39px;
  width: 158px;
  height: auto;
  filter: drop-shadow(0 10px 10px rgba(3, 26, 57, 0.25));
}

.home-duck-cta-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 0 28px 0 8px;
}

.home-duck-cta-kicker {
  display: block;
  margin-bottom: 5px;
  color: #ffe18a;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-duck-cta h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.home-duck-cta p {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.home-duck-cta p strong {
  color: #ffe18a;
}

.home-duck-cta-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  border: 2px solid #fff0b7;
  border-radius: 999px;
  padding: 14px 23px;
  background: linear-gradient(180deg, #ffd967, #e5a916);
  box-shadow: 0 11px 24px rgba(3, 26, 57, 0.24);
  color: #032654;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
}

.home-duck-cta-button span {
  font-size: 1.2rem;
  line-height: 1;
}

.home-duck-cta-button:hover,
.home-duck-cta-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(3, 26, 57, 0.3);
}

.home-duck-cta + .features-wrap {
  margin-top: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 18px 0 42px;
}

.feature {
  padding: 10px 28px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  border-right: 1px solid #e6edf5;
}

.feature:last-child {
  border-right: 0;
}

.feature-icon {
  font-size: 2rem;
}

.feature h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  margin: 0 0 4px;
  color: var(--navy-900);
}

.feature p {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
}

.section,
.page-main {
  padding: 95px 0;
}

.page-main {
  padding-top: 150px;
  min-height: 70vh;
}

.section-kicker {
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.section-title {
  font:
    700 clamp(2.3rem, 4vw, 4rem)/1.05 Georgia,
    serif;
  margin: 12px 0 22px;
  color: var(--navy-900);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.about-card img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.text-link {
  color: var(--gold);
  font-weight: 800;
}

.programs {
  background: linear-gradient(180deg, #f7fbff, #fff);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}

.program-card {
  background: #fff;
  border: 1px solid #e5edf6;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(4, 31, 67, 0.07);
}

.program-card .icon {
  font-size: 2.3rem;
}

.program-card h2,
.program-card h3 {
  font:
    700 1.45rem Georgia,
    serif;
  color: var(--navy-900);
}

.events {
  background: var(--navy-950);
  color: #fff;
}

.events .section-title {
  color: #fff;
}

.events-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 70px;
}

.event-list {
  display: grid;
  gap: 14px;
}

.event-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 20px;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
  border-radius: 14px;
}

.event-date {
  background: #fff;
  color: var(--navy-900);
  border-radius: 10px;
  text-align: center;
  padding: 8px;
}

.event-date strong {
  font:
    700 1.8rem Georgia,
    serif;
  display: block;
}

.event-date span {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--gold);
}

.event-item h3 {
  margin: 0;
}

.event-item p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.event-empty {
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 14px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.news-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e5edf6;
  background: #fff;
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-card-content {
  padding: 24px;
}

.news-card h2,
.news-card h3 {
  font:
    700 1.35rem Georgia,
    serif;
  margin: 8px 0;
  color: var(--navy-900);
}

.news-card time,
.listing-card time {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
}

.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #edf7ff, #fff7e8);
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}

.listing {
  display: grid;
  gap: 24px;
}

.listing-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  padding: 20px;
  border: 1px solid #e5edf6;
  border-radius: 18px;
}

.listing-card img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.prose {
  max-width: 850px;
}

.prose .cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 18px;
  margin: 25px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.contact-form {
  display: grid;
  gap: 18px;
  background: #f7fbff;
  padding: 30px;
  border-radius: 18px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #cbd8e6;
  border-radius: 8px;
}

.contact-turnstile {
  min-height: 65px;
  display: flex;
  align-items: center;
  overflow-x: auto;
}

.contact-turnstile .cf-turnstile {
  width: 100%;
}

.contact-antispam-note {
  margin: -10px 0 0;
  color: #66788d;
  font-size: 0.78rem;
  line-height: 1.5;
}

.contact-antispam-note a {
  color: var(--navy-800);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .contact-form {
    padding: 18px;
  }
}

.success {
  padding: 12px;
  background: #e6f7ed;
  color: #176a3a;
  border-radius: 8px;
}

.site-footer {
  background: #02152e;
  color: #fff;
  padding: 60px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  max-height: 120px;
  width: auto;
  filter: brightness(0) invert(1);
}

.site-footer h4 {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 981px) {
  .main-navigation .mobile-registration-link {
    display: none;
  }
}

@media (max-width: 980px) {
  .brand {
    z-index: 2;
  }
  .header-nav-row {
    padding-left: 170px;
  }
  .brand img {
    max-height: 138px;
    padding-top: 15px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .main-navigation {
    position: absolute;
    z-index: 10;
    left: 20px;
    right: 20px;
    top: 82px;
    background: var(--navy-950);
    border-radius: 14px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    max-height: calc(100vh - 102px);
    max-height: calc(100dvh - 102px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .navigation-branch {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0,1fr);
  }
  .submenu-toggle {
    width: 100%;
    min-height: 42px;
    justify-content: space-between;
  }
  .navigation-submenu {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    margin: .15rem 0 .4rem;
    border-color: rgba(255,255,255,.12);
    box-shadow: none;
  }
  .navigation-branch:hover:not(.submenu-open) .navigation-submenu {
    display: none;
  }
  .navigation-branch:focus-within:not(.submenu-open) .navigation-submenu {
    display: none;
  }
  .main-navigation.is-open {
    display: flex;
  }
  body.mobile-menu-open { overflow: hidden; }
  .mobile-registration-link {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    color: var(--navy-950);
  }
  .mobile-registration-link::after {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .hero {
    height: auto;
    min-height: 745px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-media {
    right: 0;
    top: 76px;
    width: 80%;
    opacity: 0.5;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid,
  .events-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .card-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }
  .header-nav-row {
    padding-left: 128px;
    min-height: 62px;
  }
  .brand img {
    max-height: 121px;
    padding-top: 15px;
    max-width: 122px;
  }
  .hero {
    min-height: 690px;
    padding: 185px 0 150px;
  }
  .hero h1 {
    font-size: 3.4rem;
  }
  .hero-media {
    right: 0;
    top: 66px;
    width: 100%;
  }
  .hero-transition {
    height: 90px;
    clip-path: polygon(0 82%, 100% 36%, 100% 100%, 0 100%);
  }
  .features,
  .card-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  .feature {
    border-right: 0;
    border-bottom: 1px solid #e6edf5;
  }
  .section,
  .page-main {
    padding: 70px 0;
  }
  .page-main {
    padding-top: 125px;
  }
  .cta-box,
  .footer-grid,
  .listing-card {
    grid-template-columns: 1fr;
  }
  .listing-card img {
    width: 100%;
  }
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.preview-banner {
  margin: 0 0 28px;
  padding: 13px 16px;
  border: 1px solid #e5bd69;
  background: #fff8e8;
  color: #745016;
  border-radius: 9px;
  font-weight: 750;
}

.event-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 0 0 24px;
  color: var(--muted);
}

.event-detail-meta time {
  color: var(--gold);
  font-weight: 800;
}

.listing-card h2 a:hover,
.event-item h3 a:hover {
  color: var(--gold);
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.album-card {
  border: 1px solid #e5edf6;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: 0.25s;
}

.album-card:hover {
  transform: translateY(-5px);
}

.album-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.album-card div {
  padding: 24px;
}

.album-card h2 {
  font:
    700 1.55rem Georgia,
    serif;
  color: var(--navy-900);
  margin: 0 0 8px;
}

.album-card p {
  color: var(--muted);
  margin: 0;
}

.gallery-index-heading {
  max-width: 820px;
}

.gallery-index-heading > p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.gallery-filter-panel {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid #dfe8f2;
  border-radius: 20px;
  background: #f7fafc;
  box-shadow: 0 16px 36px rgba(3, 26, 57, 0.06);
}

.gallery-filter-grid {
  display: grid;
  grid-template-columns: minmax(190px, 1.35fr) repeat(4, minmax(130px, 0.75fr));
  gap: 14px;
  align-items: end;
}

.gallery-filter-grid label {
  display: grid;
  gap: 7px;
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 800;
}

.gallery-filter-grid input,
.gallery-filter-grid select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd8e6;
  border-radius: 10px;
  background: #fff;
  color: var(--navy-900);
  font: inherit;
  font-weight: 500;
}

.gallery-filter-grid input:focus,
.gallery-filter-grid select:focus {
  outline: 3px solid rgba(202, 153, 65, 0.22);
  border-color: var(--gold);
}

.gallery-filter-actions,
.gallery-results-bar,
.gallery-year-jumps,
.gallery-year-heading {
  display: flex;
  align-items: center;
}

.gallery-filter-actions {
  gap: 18px;
  margin-top: 18px;
}

.gallery-results-bar {
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
}

.gallery-results-bar p {
  margin: 0;
  color: var(--muted);
}

.gallery-year-jumps {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.gallery-year-jumps a {
  padding: 6px 11px;
  border: 1px solid #d9e4ef;
  border-radius: 999px;
  color: var(--navy-900);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
}

.gallery-year-jumps a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.gallery-album-date,
.album-date,
.gallery-timeline-copy time {
  display: block;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-album-date {
  margin: -10px 0 22px;
}

.album-date {
  margin-bottom: 8px;
}

.gallery-album-count {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  font-weight: 800;
}

.gallery-cover-placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  background: linear-gradient(135deg, #edf5fb, #dbe9f5);
  color: var(--gold);
  font-size: 2rem;
}

.gallery-empty-state {
  margin-top: 34px;
  padding: 58px 24px;
  border: 1px dashed #cbd8e6;
  border-radius: 20px;
  background: #f8fafc;
  text-align: center;
}

.gallery-empty-state h2 {
  margin-top: 0;
  color: var(--navy-900);
  font-family: Georgia, serif;
}

.gallery-empty-state p {
  color: var(--muted);
}

.gallery-timeline {
  display: grid;
  gap: 52px;
  margin-top: 28px;
}

.gallery-year-group {
  scroll-margin-top: 24px;
}

.gallery-year-heading {
  gap: 14px;
  margin-bottom: 18px;
  align-items: baseline;
}

.gallery-year-heading h2 {
  margin: 0;
  color: var(--navy-900);
  font: 700 2rem Georgia, serif;
}

.gallery-year-heading span {
  color: var(--muted);
  font-size: 0.88rem;
}

.gallery-year-items {
  position: relative;
  display: grid;
  gap: 22px;
  padding-left: 42px;
}

.gallery-year-items::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 11px;
  width: 2px;
  background: linear-gradient(var(--gold), #dce7f1);
}

.gallery-timeline-item {
  position: relative;
}

.gallery-timeline-item::before {
  content: "";
  position: absolute;
  top: 34px;
  left: -37px;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--gold);
}

.gallery-timeline-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  overflow: hidden;
  border: 1px solid #e2eaf2;
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.gallery-timeline-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(3, 26, 57, 0.14);
}

.gallery-timeline-media {
  min-width: 0;
  background: #eaf2f8;
}

.gallery-timeline-media img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-timeline-media .photo-credit {
  padding: 0 14px 10px;
}

.gallery-timeline-copy {
  padding: 28px;
}

.gallery-timeline-copy h3 {
  margin: 8px 0 10px;
  color: var(--navy-900);
  font: 700 1.55rem Georgia, serif;
}

.gallery-timeline-copy p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.gallery-year-group.is-undated .gallery-year-items {
  padding-left: 0;
}

.gallery-year-group.is-undated .gallery-year-items::before,
.gallery-year-group.is-undated .gallery-timeline-item::before {
  display: none;
}

.gallery-filtered-grid .gallery-cover-placeholder {
  min-height: 280px;
}

.gallery-album-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid #dfe8f1;
  border-radius: 14px;
  background: #f7fafc;
}

.gallery-album-toolbar p {
  margin: 0;
  color: var(--muted);
}

.gallery-share-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-share-actions a,
.gallery-share-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #cbd8e6;
  border-radius: 999px;
  background: #fff;
  color: var(--navy-900);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.gallery-share-actions a:hover,
.gallery-share-button:hover {
  border-color: var(--gold);
  color: #77571d;
}

.gallery-pagination {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 16px;
  margin: 28px 0;
}

.gallery-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid #d6e1eb;
  border-radius: 999px;
  background: #fff;
  color: var(--navy-900);
  font-weight: 800;
  text-decoration: none;
}

.gallery-pagination a:hover,
.gallery-pagination a.is-current {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

.gallery-pagination a.is-disabled {
  pointer-events: none;
  opacity: 0.42;
}

.gallery-pagination-edge:last-child {
  justify-self: end;
}

.gallery-pagination-pages {
  display: flex;
  align-items: center;
  gap: 7px;
}

.public-gallery-grid {
  display: grid;
  gap: 6px;
  margin-top: 40px;
  padding: 6px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.public-gallery-row {
  display: grid;
  gap: 6px;
}

.public-gallery-row.is-standard-layout {
  grid-template-columns: repeat(var(--gallery-count, 4), minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 20vw, 260px);
}

.public-gallery-row.is-featured-layout {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(180px, 20vw, 260px));
}

.public-gallery-grid figure {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 25px;
}

.public-gallery-row.is-featured-layout figure.is-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.public-gallery-row.has-3-companions .gallery-companion:last-child,
.public-gallery-row.has-2-companions .gallery-companion,
.public-gallery-row.has-1-companions .gallery-companion {
  grid-column: span 2;
}

.public-gallery-row.has-1-companions .gallery-companion {
  grid-row: span 2;
}

.public-gallery-row.has-0-companions figure.is-featured {
  grid-column: span 4;
}

.public-gallery-grid a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.public-gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
  border-radius: 25px;
  background-color: transparent;
  overflow: hidden;
}

.public-gallery-grid a:hover img,
.public-gallery-grid a:focus-visible img {
  transform: scale(1.018);
}

.public-gallery-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  max-height: 72%;
  padding: 38px 14px 11px;
  overflow: hidden;
  background: linear-gradient(transparent, rgba(3, 26, 57, 0.9));
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.35;
  pointer-events: none;
}

.public-gallery-grid figcaption > span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

html.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  width: min(96vw, 1420px);
  max-width: none;
  height: min(94vh, 980px);
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #031a39;
  color: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
}

.gallery-lightbox::backdrop {
  background: rgba(2, 13, 30, 0.88);
  backdrop-filter: blur(5px);
}

.gallery-lightbox > figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.gallery-lightbox-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  place-items: center;
  padding: 24px 76px;
}

.gallery-lightbox-stage img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.gallery-lightbox figcaption {
  display: grid;
  gap: 5px;
  max-height: min(34vh, 280px);
  max-height: min(34dvh, 280px);
  overflow-y: auto;
  padding: 14px 22px;
  background: #fff;
  color: var(--navy-900);
}

.gallery-lightbox figcaption > span,
.gallery-lightbox figcaption > small {
  color: var(--muted);
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  appearance: none;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(3, 26, 57, 0.28);
  color: var(--navy-900);
  cursor: pointer;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  line-height: 1;
  backdrop-filter: blur(10px);
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.gallery-lightbox-close span,
.gallery-lightbox-nav span {
  display: block;
  filter: drop-shadow(0 1px 1px rgba(3, 26, 57, 0.18));
}

.gallery-lightbox-close {
  top: 14px;
  right: 14px;
  width: 52px;
  height: 52px;
  font-size: 1.45rem;
}

.gallery-lightbox-nav {
  top: 50%;
  width: 58px;
  height: 66px;
  transform: translateY(-50%);
  font-size: 1.8rem;
}

.gallery-lightbox-nav.is-previous {
  left: 14px;
}

.gallery-lightbox-nav.is-next {
  right: 14px;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:not(:disabled):hover {
  background: #fff;
  box-shadow: 0 14px 34px rgba(3, 26, 57, 0.36);
}

.gallery-lightbox-close:hover {
  transform: scale(1.07);
}

.gallery-lightbox-nav:not(:disabled):hover {
  transform: translateY(-50%) scale(1.07);
}

.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.gallery-lightbox-nav:disabled {
  cursor: default;
  filter: grayscale(1);
  opacity: 0.34;
}

.gallery-lightbox-share {
  margin-top: 7px;
}

.coach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 42px;
}

.coach-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e5edf6;
  background: #fff;
}

.coach-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

.coach-card > div {
  padding: 25px;
}

.coach-card .coach-role {
  display: block;
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}

.coach-card h2 {
  font:
    700 1.55rem Georgia,
    serif;
  color: var(--navy-900);
  margin: 0 0 6px;
}

.structured-public-section {
  margin-top: var(--structured-margin-top, 0);
  margin-bottom: var(--structured-margin-bottom, 0);
  padding: var(--structured-padding-top, 80px) 0 var(--structured-padding-bottom, 80px);
}

/* Le fond d’une section structurée dépend uniquement du style choisi. */
.structured-public-section:nth-child(even) {
  background: transparent;
}

.structured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.structured-grid.left .structured-media {
  order: -1;
}

.structured-grid.right .structured-copy {
  order: -1;
}

.type-image_text .structured-grid.left.image-size-compact {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.type-image_text .structured-grid.right.image-size-compact {
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
}

.type-image_text .structured-grid.left.image-size-large {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
}

.type-image_text .structured-grid.right.image-size-large {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.structured-media img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.type-image_text .image-size-compact .structured-media img {
  height: 320px;
}

.type-image_text .image-size-large .structured-media img {
  height: 520px;
}

.structured-copy .btn {
  margin-top: 22px;
}

/* Le type décrit la structure; le thème choisi contrôle le fond. */
.type-highlight {
  color: inherit;
}

.type-highlight .section-title {
  color: inherit;
}

.type-cta .structured-grid {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 800px;
}

.page-intro {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 800px;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .album-grid,
  .coach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .structured-grid {
    grid-template-columns: 1fr;
  }
  .type-image_text .structured-grid {
    grid-template-columns: 1fr !important;
  }
  .structured-grid .structured-media {
    order: -1 !important;
  }
  .type-image_text .structured-media img {
    height: min(70vw, 420px) !important;
  }
}

@media (max-width: 600px) {
  .album-grid,
  .coach-grid {
    grid-template-columns: 1fr;
  }
  .public-gallery-grid {
    gap: 4px;
    padding: 4px;
  }
  .public-gallery-row {
    gap: 4px;
  }
  .public-gallery-row.is-standard-layout,
  .public-gallery-row.is-featured-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(140px, 42vw, 200px);
    grid-template-rows: none;
  }
  .public-gallery-row.is-standard-layout.has-1-photos {
    grid-template-columns: 1fr;
  }
  .public-gallery-row.is-standard-layout.has-3-photos figure:last-child {
    grid-column: 1 / -1;
  }
  .public-gallery-row.is-featured-layout figure.is-featured,
  .public-gallery-row.has-0-companions figure.is-featured {
    grid-column: 1 / -1;
    grid-row: span 2;
  }
  .public-gallery-row.has-2-companions .gallery-companion {
    grid-column: span 1;
  }
  .public-gallery-row.has-1-companions .gallery-companion {
    grid-column: 1 / -1;
    grid-row: span 1;
  }
  .gallery-album-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .gallery-pagination {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-pagination-pages {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-content: center;
  }
  .gallery-pagination-edge {
    grid-row: 2;
  }
  .gallery-lightbox {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }
  .gallery-lightbox-stage {
    padding: 58px 12px 12px;
  }
  .gallery-lightbox-nav {
    top: 50%;
    bottom: auto;
    width: 52px;
    height: 56px;
    transform: translateY(-50%);
  }
  .gallery-lightbox-nav:not(:disabled):hover {
    transform: translateY(-50%) scale(1.06);
  }
  .gallery-lightbox figcaption {
    max-height: 44vh;
    max-height: 44dvh;
    padding: 12px 14px;
  }
  .coach-card img {
    height: 320px;
  }
  .gallery-filter-panel {
    padding: 18px;
  }
  .gallery-filter-grid {
    grid-template-columns: 1fr;
  }
  .gallery-filter-actions,
  .gallery-results-bar {
    align-items: flex-start;
    flex-direction: column;
  }
  .gallery-timeline-card {
    grid-template-columns: 1fr;
  }
  .gallery-timeline-media img {
    height: 240px;
  }
  .gallery-year-items {
    padding-left: 30px;
  }
  .gallery-year-items::before {
    left: 7px;
  }
  .gallery-timeline-item::before {
    left: -28px;
  }
  .gallery-timeline-copy {
    padding: 22px;
  }
}

/* Header lisible sur les pages internes */

body.is-inner .site-header {
  position: relative;
  background: #fff;
  color: var(--navy-900);
  border-bottom: 1px solid #e6edf5;
  box-shadow: 0 8px 26px rgba(3, 26, 57, 0.06);
}

body.is-inner .brand img {
  filter: none;
}

body.is-inner .main-navigation a,
body.is-inner .submenu-toggle {
  color: var(--navy-900);
}

body.is-inner .navigation-submenu {
  border-color: #dbe5ef;
  background: #fff;
}

body.is-inner .navigation-submenu a {
  color: var(--navy-900);
}

body.is-inner .navigation-submenu a:hover,
body.is-inner .navigation-submenu a:focus-visible {
  background: #edf3f8;
}

body.is-inner .menu-toggle {
  color: var(--navy-900);
  border-color: #cbd8e6;
}

body.is-inner .page-main {
  padding-top: 120px;
}

.error-page-card {
  max-width: 760px;
  text-align: center;
  padding: 56px 24px;
}

.error-page-card .btn { margin-top: 18px; }

@media (max-width: 980px) {
  body.is-inner .main-navigation {
    background: #fff;
    border: 1px solid #e1e9f2;
    box-shadow: var(--shadow);
  }
  body.is-inner .main-navigation a,
  body.is-inner .submenu-toggle {
    color: var(--navy-900);
  }
}

/* Rendu sécurisé du texte riche */

.rich-text {
  line-height: 1.75;
}

.rich-text p {
  margin: 0 0 1em;
}

.rich-text h2,
.rich-text h3 {
  font-family: Georgia, serif;
  color: var(--navy-900);
  line-height: 1.2;
  margin: 1.3em 0 0.55em;
}

.rich-text h2 {
  font-size: 1.8rem;
}

.rich-text h3 {
  font-size: 1.4rem;
}

.rich-text ul,
.rich-text ol {
  padding-left: 1.5em;
  margin: 0 0 1em;
}

.rich-text blockquote {
  margin: 1.25em 0;
  padding: 14px 20px;
  border-left: 3px solid var(--gold);
  background: #f7fbff;
  color: var(--muted);
}

.rich-text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-rich-text {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  margin: 0 0 30px;
}

.hero-rich-text p:last-child,
.cta .rich-text p:last-child,
.site-footer .rich-text p:last-child {
  margin-bottom: 0;
}

.hero .rich-text h2,
.hero .rich-text h3,
.site-footer .rich-text h2,
.site-footer .rich-text h3 {
  color: inherit;
}

/* Logo variants: white treatment on home, blue original on internal pages. */

.is-inner .brand img {
  filter: none;
}

.footer-logo {
  width: 96px !important;
  height: 96px !important;
  aspect-ratio: 1/1;
  object-fit: contain !important;
  object-position: center;
  display: block;
}

/* Hero : le fondu vertical s'applique uniquement à la photo;
   la position et la courbe gauche restent contrôlées par .hero-media. */

.hero-media-zoom {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.42) 3.5%,
    #000 10%,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.42) 3.5%,
    #000 10%,
    #000 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

@media (max-width: 980px) {
  .hero-media-zoom {
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.55) 2.5%,
      #000 8%,
      #000 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.55) 2.5%,
      #000 8%,
      #000 100%
    );
  }
}

/* Partenaires */

.partners-section {
  background: linear-gradient(180deg, #fff 0, #f7fbff 100%);
  border-top: 1px solid #edf2f7;
}

.partners-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: 50px;
  align-items: end;
  margin-bottom: 52px;
}

.partners-heading p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.02rem;
}

.partner-groups {
  display: grid;
  gap: 48px;
}

.partner-group {
  display: grid;
  gap: 24px;
}

.partner-group-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.partner-group-title span {
  height: 1px;
  background: linear-gradient(90deg, transparent, #d9c18f);
}

.partner-group-title span:last-child {
  background: linear-gradient(90deg, #d9c18f, transparent);
}

.partner-group-title h3 {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.partner-logo-card {
  min-height: 150px;
  padding: 26px;
  border: 1px solid #e4ebf3;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(7, 35, 75, 0.06);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.partner-logo-visual {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 90px;
}

.partner-logo-card img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.76;
  transition:
    filter 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.partner-logo-name {
  display: block;
  color: var(--navy);
  font-size: .9rem;
  line-height: 1.35;
  text-align: center;
}

.partner-logo-name-only {
  display: grid;
  place-items: center;
  min-height: 112px;
  font-family: Georgia, serif;
  font-size: 1.08rem;
}

a.partner-logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 148, 56, 0.6);
  box-shadow: 0 16px 36px rgba(7, 35, 75, 0.11);
}

a.partner-logo-card:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.03);
}

@media (max-width: 980px) {
  .partner-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .partners-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 38px;
  }
  .partner-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .partner-logo-grid {
    grid-template-columns: 1fr;
  }
  .partner-logo-card {
    min-height: 130px;
  }
}

/* Fiches détaillées des programmes */
.section-lead {
  max-width: 760px;
  color: #60758d;
  font-size: 1.08rem;
  line-height: 1.75;
}
.program-index-grid {
  display: grid;
  gap: 34px;
  margin-top: 46px;
}
.program-index-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  background: #fff;
  border: 1px solid #e4ecf4;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(4, 31, 67, 0.08);
}
.program-index-image {
  min-height: 330px;
}
.program-index-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.program-index-copy {
  padding: 42px;
}
.program-index-copy h2 {
  font:
    700 clamp(1.7rem, 3vw, 2.35rem) Georgia,
    serif;
  margin: 8px 0 10px;
}
.program-index-copy h2 a {
  color: var(--navy-900);
}
.program-level {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
}
.program-subtitle {
  font-size: 1.08rem;
  color: #526a83;
}
.program-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 20px 0;
  color: #526a83;
  font-weight: 700;
}
.program-detail {
  background: #fff;
}
.program-hero {
  padding: 90px 0 70px;
  background: linear-gradient(180deg, #f5f9fd, #fff);
}
.program-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  gap: 70px;
  align-items: center;
}
.program-hero h1 {
  font:
    700 clamp(2.7rem, 6vw, 5.4rem) Georgia,
    serif;
  color: var(--navy-950);
  line-height: 1.03;
  margin: 12px 0 20px;
}
.program-hero-subtitle {
  font-size: 1.3rem;
  color: #526a83;
}
.program-summary {
  font-size: 1.08rem;
}
.program-hero-image {
  position: relative;
  display: inline-block;
  padding: 14px;
  margin: 10px 0;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transform: rotate(2deg);
  transform-origin: center;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.1),
    0 26px 60px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* Deuxième photo derrière pour donner de la profondeur */
.program-hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f7f7f7;
  border-radius: 4px;
  transform: rotate(-3deg) translate(-12px, 10px);
  z-index: -1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.program-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.program-hero-image:hover {
  transform: rotate(0.8deg) translateY(-6px);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.12),
    0 36px 80px rgba(0, 0, 0, 0.2);
}

.program-hero-image:hover::before {
  transform: rotate(-4deg) translate(-15px, 12px);
}

@media (max-width: 900px) {
  .program-hero-image,
  .program-hero-image:hover {
    transform: none;
  }
  .program-hero-image::before {
    display: none;
  }
  .program-hero-image {
    padding: 10px;
  }
}
.program-body {
  padding: 80px 0;
}
.program-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 70px;
  align-items: start;
}
.program-section + .program-section {
  margin-top: 65px;
}
.program-section h2,
.program-facts h2 {
  font:
    700 2.15rem Georgia,
    serif;
  color: var(--navy-900);
}
.program-learning {
  padding: 38px;
  border-radius: 22px;
  background: #f5f9fd;
}
.program-facts {
  position: sticky;
  top: 110px;
  padding: 30px;
  border: 1px solid #dde7f1;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(4, 31, 67, 0.07);
}
.program-facts > div {
  display: grid;
  gap: 4px;
  padding: 15px 0;
  border-bottom: 1px solid #e7edf3;
}
.program-facts span {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7a8da1;
}
.program-facts strong {
  color: var(--navy-900);
}
.program-facts .btn {
  margin-top: 24px;
  width: 100%;
  text-align: center;
}
.program-coaches,
.program-gallery,
.program-documents {
  padding: 78px 0;
}
.program-coaches {
  background: var(--navy-950);
  color: #fff;
}
.program-coaches .section-title {
  color: #fff;
}
.program-coach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 38px;
}
.program-coach-grid article {
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
  border-radius: 18px;
}
.program-coach-grid img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 12px;
}
.program-coach-grid h3 {
  font:
    700 1.3rem Georgia,
    serif;
  margin-bottom: 4px;
}
.program-gallery {
  background: #f5f9fd;
}
.program-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.program-gallery-grid img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 16px;
}
.document-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 35px;
}
.document-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid #dce6ef;
  border-radius: 14px;
  color: var(--navy-900);
  font-weight: 800;
  background: #fff;
}
.document-list a:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .program-index-card,
  .program-hero-grid,
  .program-content-grid {
    grid-template-columns: 1fr;
  }
  .program-index-image {
    min-height: 250px;
  }
  .program-hero {
    padding-top: 55px;
  }
  .program-hero-image {
    order: -1;
    padding: 0;
  }
  .program-hero-image img {
    aspect-ratio: 4/3;
    border-radius: 2px;
    transform: none;
  }
  .program-hero-image img:hover {
    transform: none;
  }
  .program-facts {
    position: static;
  }
  .program-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .program-index-copy {
    padding: 28px;
  }
  .program-gallery-grid,
  .document-list {
    grid-template-columns: 1fr;
  }
  .program-gallery-grid img {
    height: 250px;
  }
  .program-learning {
    padding: 25px;
  }
}

/* Inscriptions */
.registration-section {
  padding: 70px 0 100px;
}
.registration-shell {
  max-width: 980px;
}
.registration-form,
.registration-notice,
.registration-confirmation {
  background: #fff;
  border: 1px solid #dfe8f1;
  border-radius: 24px;
  padding: clamp(25px, 5vw, 52px);
  box-shadow: 0 20px 55px rgba(4, 31, 67, 0.08);
}
.form-section + .form-section {
  margin-top: 42px;
  padding-top: 36px;
  border-top: 1px solid #e4ebf2;
}
.form-section h2,
.registration-notice h2,
.registration-confirmation h2 {
  font:
    700 1.8rem Georgia,
    serif;
  color: var(--navy-900);
  margin-top: 0;
}
.public-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.public-form-grid .full {
  grid-column: 1/-1;
}
.registration-form label {
  display: grid;
  gap: 8px;
  font-weight: 750;
  color: var(--navy-900);
}
.registration-form input,
.registration-form select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #cbd8e5;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  color: #18324f;
}

#packageSelect option,
#packageSelect optgroup {
  font-size: 0.9rem;
}

#packageSelect option {
  font-weight: 600;
}

#packageSelect optgroup {
  color: var(--navy-900);
  font-weight: 800;
}

.registration-package-choice-summary {
  display: grid;
  gap: 3px;
  margin-top: -2px;
  padding: 10px 12px;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: rgba(238, 244, 250, 0.86);
  color: var(--navy-900);
}

.registration-package-choice-summary[hidden] {
  display: none;
}

.registration-package-choice-summary span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
}
.session-choice-grid,
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 20px;
}
.session-card,
.public-check {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 12px !important;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #d9e3ed;
  border-radius: 12px;
  background: #f9fbfd;
  cursor: pointer;
}
.session-card input,
.public-check input,
.radio-row input {
  width: auto;
  margin-top: 3px;
}
.session-card span {
  display: grid;
  gap: 3px;
}
.session-card small {
  color: #60758d;
}
.session-card:has(input:checked),
.public-check:has(input:checked) {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(199, 148, 56, 0.18);
}
.registration-price {
  margin-top: 18px;
  padding: 18px;
  border-radius: 12px;
  background: var(--navy-950);
  color: #fff;
  font-weight: 850;
  font-size: 1.15rem;
}
.registration-member-credit { display:grid; gap:.25rem; margin:.8rem 0 1rem; padding:.9rem 1rem; border:1px solid #7ac49a; border-radius:12px; background:#effaf3; color:#1d6240; }
.registration-member-credit span { color:#426b55; font-size:.88rem; line-height:1.45; }
.registration-member-credit-reasons { display:grid; gap:.2rem; margin:.35rem 0 0; padding-left:1.2rem; color:#315f46; font-size:.88rem; line-height:1.4; }
.registration-member-credit-reasons strong { color:#1d6240; }
.member-registration-discount { margin:.75rem 0 0; padding:.65rem .8rem; border-radius:9px; background:#effaf3; color:#35654b; font-size:.88rem; }
.member-registration-facts dd small { display:block; color:#60758d; font-weight:500; }
.consent-check {
  line-height: 1.55;
}
.registration-form fieldset {
  border: 0;
  padding: 0;
  margin: 28px 0 0;
}
.registration-form legend {
  font-weight: 850;
  color: var(--navy-900);
  margin-bottom: 12px;
}
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.radio-row label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
}
.public-alert {
  margin-bottom: 25px;
  padding: 15px;
  border-radius: 10px;
  background: #fff0f0;
  color: #8f2222;
}
.registration-confirmation {
  border-top: 5px solid var(--gold);
}
.registration-payment-confirmation {
  margin: 1.5rem 0;
  padding: 1.15rem 1.25rem;
  border: 1px solid #d9b96f;
  border-radius: 14px;
  background: #fff9eb;
}
.registration-payment-confirmation h3 { margin: 0 0 .85rem; color: var(--navy-900); }
.registration-payment-confirmation dl {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .75rem;
  margin: 0;
}
.registration-payment-confirmation dl > div { display: grid; gap: .2rem; }
.registration-payment-confirmation dt { color: #6a798b; font-size: .75rem; font-weight: 850; text-transform: uppercase; }
.registration-payment-confirmation dd { margin: 0; color: var(--navy-900); font-weight: 800; }
.registration-payment-confirmation p { margin: 1rem 0 0; line-height: 1.6; }

@media (max-width: 700px) {
  .public-form-grid,
  .session-choice-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
  .registration-section {
    padding-top: 40px;
  }
  .registration-form,
  .registration-notice,
  .registration-confirmation {
    border-radius: 16px;
  }
  .registration-payment-confirmation dl { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .blade-trace-gold,
  .star {
    animation: none;
  }

  .star {
    opacity: 0.75;
    transform: rotate(var(--star-rotation, 0deg));
  }
}

@media (max-width: 768px) {
  .star {
    display: none;
  }
}

/* Photo Hero décorative sur les pages internes */
@media (min-width: 981px) {
  body.is-inner {
    position: relative;
    overflow-x: hidden;
  }
  body.is-inner .site-header {
    position: relative;
    z-index: 50;
  }

  body.is-inner .page-main,
  body.is-inner > main {
    position: relative;
    z-index: 1;
  }
  .inner-page-hero-art {
    position: fixed;
    z-index: 0;
    top: 72px;
    right: 0;
    width: min(58vw, 1080px);
    height: clamp(900px, 115vh, 1450px);
    pointer-events: none;
    background-image: var(--inner-hero-image);
    background-repeat: no-repeat;
    background-position: var(--inner-hero-x, 50%) var(--inner-hero-y, 29%);
    background-size: cover;
    opacity: 0.14;
    filter: saturate(0.68) contrast(0.88);
    -webkit-mask-image:
      linear-gradient(to left, #000 0%, #000 42%, transparent 100%),
      linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.35) 3%,
        #000 10%,
        #000 72%,
        transparent 100%
      );
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to left, #000 0%, #000 42%, transparent 100%),
      linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.35) 3%,
        #000 10%,
        #000 72%,
        transparent 100%
      );
    mask-composite: intersect;
  }
}

@media (max-width: 980px) {
  body.is-inner {
    position: relative;
    overflow-x: hidden;
  }

  body.is-inner .site-header {
    position: relative;
    z-index: 50;
  }

  body.is-inner .page-main,
  body.is-inner > main {
    position: relative;
    z-index: 1;
  }

  .inner-page-hero-art {
    position: fixed;
    z-index: 0;
    top: 72px;
    right: 0;
    width: 100vw;
    height: calc(100vh - 72px);
    height: calc(100svh - 72px);
    min-height: 640px;
    pointer-events: none;
    background-image: var(--inner-hero-image);
    background-repeat: no-repeat;
    background-position: var(--inner-hero-x, 50%) var(--inner-hero-y, 29%);
    background-size: cover;
    opacity: 0.08;
    filter: saturate(0.68) contrast(0.88);
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    contain: paint;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.35) 5%,
      #000 16%,
      #000 78%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.35) 5%,
      #000 16%,
      #000 78%,
      transparent 100%
    );
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }
}

/* Harmonisation de l'espacement supérieur des pages internes */
body.is-inner {
  --inner-page-top-spacing: 120px;
}

body.is-inner .page-main {
  padding-top: var(--inner-page-top-spacing);
}

/* Les fiches de programme utilisent le même dégagement que les autres pages internes. */
body.is-inner .program-detail {
  position: relative;
  z-index: 1;
}

body.is-inner .program-hero {
  padding-top: var(--inner-page-top-spacing);
  background: transparent;
}

@media (max-width: 980px) {
  body.is-inner {
    --inner-page-top-spacing: 88px;
  }

  body.is-inner .program-detail,
  body.is-inner .registration-page {
    background: transparent;
  }

  body.is-inner .program-hero {
    background: linear-gradient(
      180deg,
      rgba(245, 249, 253, 0.78),
      rgba(255, 255, 255, 0.58)
    );
  }
}

/* Le header des pages internes doit toujours rester au-dessus du contenu. */
@media (min-width: 981px) {
  body.is-inner .site-header {
    position: relative;
    z-index: 50;
  }
  body.is-inner .brand {
    z-index: 51;
  }
  body.is-inner .program-detail,
  body.is-inner .program-hero,
  body.is-inner .page-main,
  body.is-inner > main {
    z-index: 1;
  }
}

/* Laisse apparaître le fond Hero décoratif dès le haut des fiches de programme. */
@media (min-width: 981px) {
  body.is-inner .program-detail {
    background: transparent;
  }
  body.is-inner .program-hero,
  body.is-inner .program-body {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.68) 46%,
      rgba(255, 255, 255, 0.24) 70%,
      rgba(255, 255, 255, 0) 100%
    );
  }
}

/* Types enrichis des pages structurées */
.structured-grid.no-media,
.type-text .structured-grid,
.type-highlight .structured-grid,
.type-cta .structured-grid,
.type-quote .structured-grid,
.type-stats .structured-grid,
.type-fundraising_goal .structured-grid,
.type-cards .structured-grid {
  grid-template-columns: minmax(0, 1fr);
}

.structured-grid.no-media .structured-copy,
.type-text .structured-copy,
.type-highlight .structured-copy,
.type-stats .structured-copy,
.type-fundraising_goal .structured-copy,
.type-cards .structured-copy {
  width: 100%;
}

.type-text .structured-copy .rich-text {
  max-width: none;
}

.type-quote {
  text-align: center;
}

.type-quote .structured-copy {
  max-width: 900px;
  margin: 0 auto;
}

.structured-quote {
  margin: 0;
  color: var(--navy-900);
  font: 700 clamp(1.35rem, 2.6vw, 2.25rem)/1.4 Georgia, serif;
}

.structured-quote p { margin: 0; }
.structured-quotes {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}
.structured-quotes figure {
  margin: 0;
  padding: 30px clamp(20px, 4vw, 48px);
  border: 1px solid rgba(10, 53, 109, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}
.structured-quotes figcaption {
  display: grid;
  gap: 3px;
  margin-top: 20px;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}
.structured-quotes figcaption small { font-weight: 500; }

.structured-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.structured-stat {
  padding: 28px 20px;
  border: 1px solid rgba(10, 53, 109, 0.12);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(10, 53, 109, 0.08);
}

.structured-stat strong {
  display: block;
  color: var(--gold);
  font: 700 clamp(2rem, 4vw, 3.4rem)/1 Georgia, serif;
}

.structured-stat span {
  display: block;
  margin-top: 10px;
  color: var(--navy-900);
  font-weight: 700;
}

.structured-fundraising-copy {
  max-width: 980px;
  margin-inline: auto;
}

.structured-fundraising {
  display: grid;
  grid-template-columns: minmax(130px, 220px) minmax(220px, 1fr);
  align-items: center;
  gap: clamp(28px, 7vw, 82px);
  margin-top: 34px;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid rgba(10, 53, 109, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(10, 53, 109, 0.1);
}

.structured-fundraising-chart {
  display: grid;
  place-items: center;
  min-width: 0;
}

.structured-fundraising-summary {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.structured-fundraising-summary strong {
  color: var(--gold);
  font: 700 clamp(3.4rem, 9vw, 7rem)/0.92 Georgia, serif;
}

.structured-fundraising-summary span {
  color: var(--navy-900);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
}

.structured-fundraising-summary small {
  color: var(--muted);
  font-size: 0.98rem;
}

.fundraising-thermometer {
  position: relative;
  width: 66px;
  height: 260px;
  margin-bottom: 31px;
  overflow: visible;
  border: 8px solid var(--navy-900);
  border-bottom: 0;
  border-radius: 36px 36px 12px 12px;
  background: #edf2f7;
  box-shadow: inset 0 0 0 6px #fff;
}

.fundraising-thermometer::after {
  position: absolute;
  left: 50%;
  bottom: -31px;
  z-index: 2;
  width: 94px;
  height: 94px;
  border: 8px solid var(--navy-900);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 7px #fff;
  content: "";
  transform: translateX(-50%);
}

.fundraising-thermometer span {
  position: absolute;
  inset: auto 8px 0;
  height: var(--fundraising-progress);
  min-height: 0;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #efcc6a, var(--gold));
}

.fundraising-bar {
  position: relative;
  overflow: hidden;
  border: 6px solid var(--navy-900);
  background: #edf2f7;
  box-shadow: inset 0 0 0 4px #fff;
}

.fundraising-bar span {
  display: block;
  background: linear-gradient(135deg, #efcc6a, var(--gold));
}

.chart-horizontal {
  grid-template-columns: minmax(260px, 1fr) minmax(190px, 0.7fr);
}

.chart-horizontal .fundraising-bar {
  width: 100%;
  height: 58px;
  border-radius: 30px;
}

.chart-horizontal .fundraising-bar span {
  width: var(--fundraising-progress);
  height: 100%;
  border-radius: 22px;
}

.chart-vertical .fundraising-bar {
  width: 86px;
  height: 270px;
  border-radius: 28px 28px 14px 14px;
}

.chart-vertical .fundraising-bar span {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: var(--fundraising-progress);
}

.theme-navy .structured-fundraising,
.theme-gradient .structured-fundraising {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

.theme-navy .structured-fundraising-summary span,
.theme-navy .structured-fundraising-summary small,
.theme-gradient .structured-fundraising-summary span,
.theme-gradient .structured-fundraising-summary small {
  color: #fff;
}

@media (max-width: 680px) {
  .structured-fundraising,
  .chart-horizontal {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .structured-fundraising-summary {
    justify-items: center;
  }
  .chart-horizontal .structured-fundraising-chart {
    width: 100%;
  }
}

.structured-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.structured-cards article {
  padding: 28px;
  border: 1px solid rgba(10, 53, 109, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(10, 53, 109, 0.07);
}

.structured-cards h3 {
  margin: 0 0 10px;
  color: var(--navy-900);
  font: 700 1.35rem Georgia, serif;
}

.structured-cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.type-highlight .structured-cards article,
.type-highlight .structured-stat {
  color: var(--navy-900);
}


/* Blocs de pages structurées — CMS 2.0 */
/* Styles visuels des sections structurées */
.structured-public-section.theme-transparent {
  background: transparent;
}

.structured-public-section.theme-translucent {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.structured-public-section.theme-navy {
  background: var(--navy-950);
  color: #fff;
}

.structured-public-section.theme-gold {
  background: linear-gradient(135deg, #fffaf0 0%, #f8edcf 55%, #efd9a6 100%);
  box-shadow: inset 0 0 0 1px rgba(112, 73, 13, 0.14);
  color: var(--navy-950);
}

.structured-public-section.theme-gradient {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 62%, #b88b35 135%);
  color: #fff;
}

.theme-navy .section-title,
.theme-navy .rich-text,
.theme-navy .rich-text p,
.theme-gradient .section-title,
.theme-gradient .rich-text,
.theme-gradient .rich-text p {
  color: #fff;
}

.theme-gold .section-title,
.theme-gold .rich-text,
.theme-gold .rich-text p {
  color: var(--navy-950);
}

.theme-gold .section-kicker {
  color: var(--gold-deep);
}

/* Les composants internes ne doivent pas masquer complètement le fond transparent. */
.theme-transparent .structured-cards article,
.theme-transparent .structured-stat,
.theme-transparent .structured-faq details,
.theme-transparent .structured-accordion details {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.theme-navy .structured-cards article,
.theme-navy .structured-stat,
.theme-navy .structured-faq details,
.theme-navy .structured-accordion details,
.theme-gradient .structured-cards article,
.theme-gradient .structured-stat,
.theme-gradient .structured-faq details,
.theme-gradient .structured-accordion details {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.theme-navy .structured-cards h3,
.theme-navy .structured-cards p,
.theme-navy .structured-stat span,
.theme-gradient .structured-cards h3,
.theme-gradient .structured-cards p,
.theme-gradient .structured-stat span {
  color: #fff;
}

.theme-gold .structured-cards article,
.theme-gold .structured-stat,
.theme-gold .structured-faq details,
.theme-gold .structured-accordion details {
  border-color: rgba(112, 73, 13, 0.2);
  background: rgba(255, 255, 255, 0.72);
}
.type-hero,
.type-hero.theme-navy {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(3,26,57,.92), rgba(3,26,57,.48)),
    var(--block-bg, linear-gradient(135deg, #31506f, #031a39)) center/cover;
  color: #fff;
  display: flex;
  min-height: 470px;
}
.type-hero.theme-gradient {
  background:
    linear-gradient(110deg, rgba(3,26,57,.96), rgba(10,53,109,.67) 62%, rgba(184,139,53,.46)),
    var(--block-bg, linear-gradient(135deg, #31506f, #031a39)) center/cover;
}
.type-hero.theme-gold {
  background:
    linear-gradient(90deg, rgba(213,173,91,.96), rgba(199,148,56,.72)),
    var(--block-bg, linear-gradient(135deg, #d5ad5b, #c79438)) center/cover;
  color: var(--navy-950);
}
.type-hero.theme-translucent {
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.72)),
    var(--block-bg, linear-gradient(135deg, #edf3f9, #cbd9e7)) center/cover;
  color: var(--navy-950);
}
.structured-hero-copy { max-width: 760px; padding-block: 6rem; }
.type-hero .section-title, .type-hero .rich-text { color: #fff; }
.type-hero.theme-gold .section-title,
.type-hero.theme-gold .rich-text,
.type-hero.theme-gold .rich-text p,
.type-hero.theme-translucent .section-title,
.type-hero.theme-translucent .rich-text,
.type-hero.theme-translucent .rich-text p {
  color: var(--navy-950);
}
.structured-columns { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.structured-columns article { padding-top: 1.25rem; border-top: 3px solid var(--gold); }
.structured-columns h3 { margin: 0 0 .65rem; color: var(--navy-900); font: 700 1.3rem Georgia, serif; }
.structured-columns p { margin: 0; line-height: 1.7; }
.structured-column-media { margin: 0 0 1rem; overflow: hidden; border-radius: 14px; background: rgba(3, 26, 57, .08); }
.structured-column-media.is-after-text { margin: 1rem 0 0; }
.structured-column-media.is-text-start { float: left; width: min(46%, 180px); margin: .15rem 1rem .65rem 0; }
.structured-column-media img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; }
.structured-column-media .photo-credit { display: block; padding: .45rem .65rem; font-size: .75rem; line-height: 1.3; }
.structured-column-text::after { display: block; clear: both; content: ''; }
@media (max-width: 540px) {
  .structured-column-media.is-text-start { float: none; width: 100%; margin: 0 0 1rem; }
}
.structured-faq, .structured-accordion { display: grid; gap: .75rem; }
.structured-faq details, .structured-accordion details { background: #fff; border: 1px solid #dfe5ec; border-radius: 10px; padding: 1rem 1.2rem; }
.structured-faq summary, .structured-accordion summary { cursor: pointer; font-weight: 700; }
.structured-faq details p, .structured-accordion details div { margin: .8rem 0 0; line-height: 1.65; }
.structured-timeline { border-left: 2px solid #c79438; display: grid; gap: 1.5rem; margin-left: .5rem; padding-left: 1.5rem; }
.structured-timeline article { display: grid; gap: 1rem; grid-template-columns: minmax(75px, auto) 1fr; position: relative; }
.structured-timeline article::before { background: #c79438; border-radius: 50%; content: ''; height: 10px; left: -1.88rem; position: absolute; top: .45rem; width: 10px; }
.structured-timeline time { color: #c79438; font-weight: 800; }
.structured-timeline-content.has-media { align-items: start; display: grid; gap: 1.25rem; grid-template-columns: minmax(150px, 240px) minmax(0, 1fr); }
.structured-timeline-copy h3 { margin-top: 0; }
.structured-timeline-copy p:last-child { margin-bottom: 0; }
.structured-timeline-media { background: rgba(3, 26, 57, .08); border-radius: 14px; margin: 0; overflow: hidden; }
.structured-timeline-media img { display: block; height: auto; object-fit: contain; width: 100%; }
.structured-timeline-media .photo-credit { display: block; font-size: .75rem; line-height: 1.3; padding: .45rem .65rem; }
@media (max-width: 700px) {
  .structured-timeline { padding-left: 1.15rem; }
  .structured-timeline article { grid-template-columns: 1fr; gap: .45rem; }
  .structured-timeline article::before { left: -1.53rem; }
  .structured-timeline-content.has-media { grid-template-columns: 1fr; }
  .structured-timeline-media { max-width: 100%; }
}
.structured-video { aspect-ratio: 16/9; overflow: hidden; }
.structured-video iframe { border: 0; height: 100%; width: 100%; }
.structured-table-wrap { overflow-x: auto; }
.structured-table-wrap table { border-collapse: collapse; width: 100%; }
.structured-table-wrap th, .structured-table-wrap td { border-bottom: 1px solid #dfe5ec; padding: .8rem; text-align: left; }
.structured-table-wrap th { color: var(--navy-900); font-weight: 800; }
.structured-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 22px; }
.structured-buttons .btn { margin-top: 0; }
.btn-structured-outline { border: 1px solid var(--navy-800); background: transparent; color: var(--navy-900); }
.structured-button-link { color: var(--navy-800); font-weight: 800; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.structured-button-link:hover { color: var(--gold); }
.theme-navy .structured-quote,
.theme-gradient .structured-quote,
.theme-navy .structured-quotes figcaption,
.theme-gradient .structured-quotes figcaption,
.theme-navy .structured-columns h3,
.theme-gradient .structured-columns h3,
.theme-navy .structured-table-wrap th,
.theme-gradient .structured-table-wrap th,
.theme-navy .structured-button-link,
.theme-gradient .structured-button-link { color: #fff; }
.theme-navy .structured-quotes figure,
.theme-gradient .structured-quotes figure { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.1); }
.theme-navy .structured-table-wrap th,
.theme-navy .structured-table-wrap td,
.theme-gradient .structured-table-wrap th,
.theme-gradient .structured-table-wrap td { border-color: rgba(255,255,255,.2); }
.theme-navy .btn-structured-outline,
.theme-gradient .btn-structured-outline,
.type-hero .btn-structured-outline { border-color: #fff; color: #fff; }
.type-hero .structured-button-link { color: #fff; }

/* Réglages éditoriaux communs des blocs structurés. */
.text-size-small :is(.structured-copy, .structured-hero-copy) {
  font-size: 0.9rem;
}

.text-size-large :is(.structured-copy, .structured-hero-copy) {
  font-size: 1.15rem;
}

.text-align-left :is(.structured-copy, .structured-hero-copy) {
  text-align: left;
}

.text-align-center :is(.structured-copy, .structured-hero-copy) {
  text-align: center;
}

.text-align-right :is(.structured-copy, .structured-hero-copy) {
  text-align: right;
}

.text-align-center .structured-buttons {
  justify-content: center;
}

.text-align-right .structured-buttons {
  justify-content: flex-end;
}

.text-color-navy { --structured-text-color: var(--navy-950); }
.text-color-blue { --structured-text-color: var(--navy-800); }
.text-color-gold { --structured-text-color: var(--gold); }
.text-color-muted { --structured-text-color: var(--muted); }
.text-color-black { --structured-text-color: #000; }
.text-color-white { --structured-text-color: #fff; }

[class*="text-color-"] :is(.structured-copy, .structured-hero-copy) {
  color: var(--structured-text-color);
}

[class*="text-color-"] :is(
  .section-kicker,
  .section-title,
  .rich-text,
  .rich-text p,
  .rich-text li,
  .structured-copy h3,
  .structured-copy p,
  .structured-copy summary,
  .structured-copy figcaption,
  .structured-copy time,
  .structured-copy small,
  .structured-stat strong,
  .structured-stat span
) {
  color: inherit;
}

/* Cadrage personnalisé des photos d'entraîneurs */
.coach-card-photo {
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  background: #eef2f6;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

.coach-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--coach-x, 50%) var(--coach-y, 0%);
  transform: scale(var(--coach-zoom, 1));
  transform-origin: var(--coach-x, 50%) var(--coach-y, 0%);
}

.coach-card > img {
  display: none;
}


/* Liens entre les programmes et les fiches d'entraîneurs */
.program-coach-card {
  display: block;
  padding: 18px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.program-coach-card:hover,
.program-coach-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(230, 189, 110, 0.65);
  background: rgba(255, 255, 255, 0.12);
}

.program-coach-card:focus-visible {
  outline: 3px solid rgba(230, 189, 110, 0.35);
  outline-offset: 3px;
}

.program-coach-photo {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.program-coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--coach-x, 50%) var(--coach-y, 0%);
  transform: scale(var(--coach-zoom, 1));
  transform-origin: var(--coach-x, 50%) var(--coach-y, 0%);
}

.program-coach-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.coach-grid.is-single {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

.coach-back-link {
  margin: -8px 0 28px;
}

/* P6.2 — contenus connectés */
.connected-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}

.connected-logo-card {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(10, 53, 109, 0.12);
  border-radius: 16px;
  background: #fff;
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

a.connected-logo-card:hover,
a.connected-logo-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); }
.connected-logo-card img { width: 100%; height: 72px; object-fit: contain; }
.connected-logo-card small { color: var(--muted); font-size: .76rem; font-weight: 700; text-align: center; }

.connected-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.connected-gallery-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: var(--ice); }
.connected-gallery-grid figure.is-featured { grid-column: span 2; }
.connected-gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.connected-gallery-grid figure.is-featured img { aspect-ratio: 16 / 10; }
.connected-gallery-grid figure:hover img { transform: scale(1.025); }
.connected-gallery-grid figcaption { position: absolute; inset: auto 0 0; padding: 24px 14px 10px; background: linear-gradient(transparent, rgba(3,26,57,.8)); color: #fff; font-size: .82rem; }
.structured-source-link { display: inline-block; margin-top: 20px; color: var(--navy-800); font-weight: 800; }

/* Crédit centralisé des médias — absent du rendu lorsque le champ est vide. */
.photo-credit {
  display: block;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
}
.photo-credit-overlay {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  max-width: min(75%, 420px);
  margin: 0;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(3, 26, 57, 0.7);
  color: #fff;
  text-align: right;
  backdrop-filter: blur(3px);
}
.hero-media .photo-credit-overlay { bottom: 132px; }
.hero-photo-credit-mobile { display: none; }
.photo-credit-after-cover { margin: -17px 0 25px; text-align: right; }
.photo-credit-on-dark { color: rgba(255, 255, 255, 0.74); }
.photo-credit-compact { margin-top: 2px; font-size: 0.64rem; text-align: center; }
.news-card > .photo-credit,
.program-card > .photo-credit,
.album-card > .photo-credit,
.coach-card > .photo-credit { padding-inline: 16px; }
.about-card > .photo-credit { text-align: right; }
.public-gallery-grid figcaption .photo-credit,
.connected-gallery-grid figcaption .photo-credit { margin-top: 3px; color: inherit; }
.connected-gallery-grid figcaption > span { display: block; }
.listing-card-media {
  display: grid;
  grid-template-rows: 180px auto;
  width: 260px;
  min-height: 180px;
}
.listing-card-media > a { display: block; min-height: 180px; }
.listing-card-media .photo-credit { padding-inline: 4px; }
.events-index .listing-card-media > a {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f8fb;
}
.events-index .listing-card-media img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 0;
}
.listing-card-placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  width: 100%;
  height: 180px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(145deg, var(--navy-900), #0a4d89);
  color: #fff;
}
.listing-card-placeholder small {
  max-width: 210px;
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}
.listing-card-placeholder strong {
  margin-top: 4px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 3.2rem;
  line-height: 1;
}
.listing-card-content {
  min-width: 0;
  align-self: center;
}
.event-external-action { margin-top: 28px; }
.program-index-media { display: grid; grid-template-rows: minmax(330px, 1fr) auto; min-width: 0; }
.program-index-image { display: block; }
.program-index-media > .photo-credit { margin: 0; padding: 8px 14px; background: #f5f8fb; }
.program-hero-image > .photo-credit { margin: 9px 4px 0; text-align: right; }
.program-gallery-grid figure { margin: 0; }
.program-gallery-grid figure > .photo-credit { padding-inline: 5px; }
.type-hero { position: relative; }
@media (max-width: 900px) {
  .program-index-media { grid-template-rows: minmax(250px, auto) auto; }
}

@media (max-width: 980px) {
  .home-duck-cta {
    margin-top: 8px;
  }
  .home-duck-cta-card {
    grid-template-columns: 118px minmax(0, 1fr);
    padding: 18px 20px 18px 8px;
  }
  .home-duck-cta-mascot {
    height: 128px;
  }
  .home-duck-cta-mascot img {
    left: -9px;
    bottom: -30px;
    width: 132px;
  }
  .home-duck-cta-copy {
    padding: 0 0 0 7px;
  }
  .home-duck-cta-button {
    grid-column: 1 / -1;
    justify-self: stretch;
    margin-top: 12px;
  }
  .hero-photo-credit-desktop { display: none; }
  .hero-transition .hero-photo-credit-mobile {
    position: absolute;
    right: 14px;
    bottom: 7px;
    display: block;
    max-width: min(68%, 420px);
    margin: 0;
    padding: 3px 7px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    color: rgba(3, 26, 57, 0.72);
    font-size: 0.64rem;
    line-height: 1.25;
    text-align: right;
  }
}

@media (max-width: 640px) {
  .home-duck-cta {
    margin-top: 12px;
  }
  .home-duck-cta-card {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 0;
    border-width: 3px;
    border-radius: 21px;
    padding: 16px 14px 15px 5px;
  }
  .home-duck-cta-mascot {
    height: 105px;
  }
  .home-duck-cta-mascot img {
    left: -15px;
    bottom: -24px;
    width: 108px;
  }
  .home-duck-cta-copy {
    padding-left: 4px;
  }
  .home-duck-cta-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }
  .home-duck-cta h2 {
    font-size: 1.45rem;
  }
  .home-duck-cta p {
    gap: 3px 6px;
    font-size: 0.79rem;
    line-height: 1.35;
  }
  .home-duck-cta-button {
    min-height: 50px;
    margin-top: 10px;
    padding: 12px 16px;
  }
  .listing-card-media { width: 100%; }
}

.connected-event-calendar { display: grid; gap: 14px; }
.connected-event-calendar.is-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.connected-event-calendar article { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 18px; padding: 20px; border: 1px solid rgba(10,53,109,.12); border-radius: 16px; background: #fff; color: var(--ink); }
.connected-event-calendar time { display: grid; align-content: center; justify-items: center; min-height: 70px; border-radius: 12px; background: var(--navy-900); color: #fff; line-height: 1; }
.connected-event-calendar time strong { color: var(--gold-light); font-size: .68rem; letter-spacing: .08em; }
.connected-event-calendar time span { margin-top: 5px; font-size: 1.7rem; font-weight: 850; }
.connected-event-calendar h3 { margin: 0; color: var(--navy-900); }
.connected-event-calendar p { margin: 3px 0 0; color: var(--muted); font-size: .86rem; }
.connected-event-calendar .rich-text { margin-top: 8px; font-size: .9rem; }

.public-weekly-schedule {
  display: grid;
  gap: 7px;
}

.public-weekly-schedule-day {
  display: grid;
  grid-template-columns: minmax(82px, 0.7fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 9px 11px;
  border: 1px solid rgba(10, 53, 109, 0.12);
  border-radius: 9px;
  background: #f8fafc;
  color: var(--navy-900);
  font-size: 0.82rem;
  line-height: 1.45;
}

.public-weekly-schedule-day > span {
  color: var(--muted);
}

.program-current-schedule {
  display: grid;
  gap: 14px;
  margin: 2px 0;
  padding: 14px 0;
  border-top: 1px solid rgba(10, 53, 109, 0.1);
  border-bottom: 1px solid rgba(10, 53, 109, 0.1);
}

.program-current-schedule > span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.program-current-schedule h3 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(199, 148, 56, 0.3);
  font-size: 0.94rem;
}

.program-current-schedule-package {
  padding: 15px 14px 16px;
  border: 1px solid rgba(10, 53, 109, 0.14);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 7px 18px rgba(4, 31, 67, 0.06);
}

.program-current-schedule h4 {
  margin: 0 0 8px;
  color: var(--navy-900);
  font-size: 0.78rem;
}

.program-current-schedule-group + .program-current-schedule-group {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(10, 53, 109, 0.1);
}

.program-current-schedule-group.is-off-ice h4 {
  color: #69501d;
}

.registration-program-schedule {
  margin: 14px 0 20px;
  padding: 18px;
  border: 1px solid rgba(10, 53, 109, 0.12);
  border-radius: 14px;
  background: #fff;
}

.registration-program-schedule h3 {
  margin: 0 0 12px;
  color: var(--navy-900);
  font-size: 1rem;
}

.registration-program-schedule-group + .registration-program-schedule-group {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(10, 53, 109, 0.12);
}

.registration-program-schedule-group.is-off-ice h3 {
  color: #69501d;
}

.registration-program-schedule .public-weekly-schedule {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.connected-documents { display: grid; gap: 18px; }
.connected-documents article { overflow: hidden; border: 1px solid rgba(10,53,109,.14); border-radius: 16px; background: #fff; color: var(--ink); }
.connected-document-heading { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 16px; }
.connected-document-heading > span { padding: 8px 7px; border-radius: 6px; background: #c53535; color: #fff; font-size: .7rem; font-weight: 900; }
.connected-document-heading h3 { margin: 0; color: var(--navy-900); font-size: 1rem; }
.connected-document-heading small { color: var(--muted); }
.connected-document-heading a { color: var(--navy-800); font-weight: 800; }
.connected-documents iframe { display: block; width: 100%; height: min(72vh, 760px); border: 0; border-top: 1px solid #e0e7ef; background: #eef2f6; }
.connected-document-demo { display: grid; place-items: center; min-height: 260px; border-top: 1px solid #e0e7ef; background: linear-gradient(135deg, #eef3f8, #fff); color: var(--muted); font-weight: 800; }

/* P6.3 — formulaires et sondages */
.structured-form { margin-top: 24px; }
.structured-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.structured-form-field { min-width: 0; }
.structured-form-field.is-full { grid-column: 1 / -1; }
.structured-form-label { display: block; margin-bottom: 7px; font-weight: 800; }
.structured-form input:not([type="radio"]):not([type="checkbox"]),
.structured-form select,
.structured-form textarea { width: 100%; padding: 12px 13px; border: 1px solid #cbd6e1; border-radius: 9px; background: #fff; color: var(--ink); }
.structured-form input:focus,
.structured-form select:focus,
.structured-form textarea:focus { outline: 3px solid rgba(199,148,56,.24); border-color: var(--gold); }
.structured-form-field small { display: block; margin-top: 5px; color: var(--muted); }
.structured-choice-group { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0; padding: 11px 0; border: 0; }
.structured-choice-group label { display: inline-flex; align-items: center; gap: 6px; }
.structured-scale-group { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; border: 0; }
.structured-scale-group label { cursor: pointer; }
.structured-scale-group input { position: absolute; opacity: 0; pointer-events: none; }
.structured-scale-group span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #cbd6e1; border-radius: 50%; background: #fff; color: var(--navy-900); font-weight: 800; }
.structured-scale-group input:checked + span { border-color: var(--gold); background: var(--navy-900); color: #fff; }
.structured-scale-group input:focus-visible + span { outline: 3px solid rgba(199,148,56,.35); }
.structured-scale-legend { display: flex; justify-content: space-between; max-width: 488px; margin-top: 5px; color: var(--muted); font-size: .72rem; }
.structured-form-consent { display: flex; align-items: flex-start; gap: 9px; margin: 24px 0 18px; padding: 14px; border-radius: 10px; background: var(--ice); color: var(--ink); }
.structured-form-consent input { margin-top: 5px; }
.structured-form-consent a { color: var(--navy-800); text-decoration: underline; }
.structured-form-success,
.structured-form-error,
.structured-form-notice { display: grid; gap: 4px; margin-top: 22px; padding: 16px; border-radius: 10px; }
.structured-form-success { border: 1px solid #a6d5b1; background: #effaf2; color: #195d2b; }
.structured-form-error { border: 1px solid #e6aaaa; background: #fff2f2; color: #8a2424; }
.structured-form-notice { border: 1px solid #cbd6e1; background: #f5f8fb; color: var(--muted); }
.form-honeypot,
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.theme-navy .structured-source-link,
.theme-gradient .structured-source-link { color: var(--gold-light); }

@media (max-width: 700px) {
  .connected-gallery-grid,
  .structured-form-fields { grid-template-columns: 1fr; }
  .connected-gallery-grid figure.is-featured { grid-column: span 1; }
  .structured-form-field.is-half { grid-column: 1 / -1; }
  .connected-document-heading { grid-template-columns: auto minmax(0, 1fr); }
  .connected-document-heading a { grid-column: 2; }
  .structured-scale-group span { width: 34px; height: 34px; }
}
/* Contributions communautaires */
.community-contribution-page { min-height: 70vh; }
.community-contribution-heading { max-width: 780px; margin-bottom: 2rem; }
.community-contribution-heading > p { color: #52637a; font-size: 1.05rem; line-height: 1.75; }
.community-contribution-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.4rem; }
.community-contribution-choices > a { display: grid; gap: .65rem; min-height: 260px; padding: 2rem; border: 1px solid #dce3ec; border-radius: 24px; background: #fff; color: var(--navy-900); box-shadow: 0 16px 40px rgba(3,26,57,.08); text-decoration: none; }
.community-contribution-choices > a:hover { border-color: #c79438; transform: translateY(-2px); }
.community-contribution-choices span { font-size: 2.5rem; }
.community-contribution-choices strong { font-size: 1.45rem; }
.community-contribution-choices small { color: #637389; font-size: .98rem; line-height: 1.65; }
.community-contribution-choices b { margin-top: auto; color: #936c24; }
.community-contribution-switch { display: flex; gap: .35rem; margin-bottom: 1.5rem; padding: .3rem; width: fit-content; border-radius: 999px; background: #edf2f7; }
.community-contribution-switch a { padding: .7rem 1rem; border-radius: 999px; color: var(--navy-900); text-decoration: none; }
.community-contribution-switch a[aria-current="page"] { background: #fff; box-shadow: 0 3px 12px rgba(3,26,57,.12); font-weight: 700; }
.community-contribution-form { max-width: 900px; margin: 0; }
.community-contribution-form fieldset { display: grid; gap: 1rem; margin: 0; padding: 1.25rem; border: 1px solid #dce3ec; border-radius: 16px; }
.community-contribution-form legend { padding: 0 .45rem; color: var(--navy-900); font-weight: 800; }
.community-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.community-contribution-form label small { display: block; margin-top: .35rem; color: #66768b; font-weight: 400; line-height: 1.45; }
.community-contribution-form select { width: 100%; padding: 12px; border: 1px solid #cbd8e6; border-radius: 8px; background: #fff; color: inherit; }
.community-contribution-form .check { display: flex; grid-template-columns: none; align-items: flex-start; gap: .65rem; line-height: 1.55; }
.community-contribution-form .check input { flex: 0 0 auto; width: 1.1rem; margin-top: .2rem; }
.community-upload-resume { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 900px; margin: 0 0 1rem; padding: 1rem 1.15rem; border: 1px solid #d8b66e; border-radius: 14px; background: #fff8e9; color: var(--navy-900); }
.community-upload-resume[hidden] { display: none; }
.community-upload-resume p { margin: .25rem 0 0; color: #52637a; line-height: 1.5; }
.community-upload-resume .btn { flex: 0 0 auto; }
.community-upload-progress { display: grid; gap: .6rem; padding: 1rem; border-radius: 14px; background: #edf4fa; }
.community-upload-progress > div { display: flex; justify-content: space-between; gap: 1rem; }
.community-upload-progress progress { width: 100%; height: .8rem; accent-color: #c79438; }
.community-upload-progress p { margin: 0; color: #52637a; }
.community-upload-results { display: grid; gap: .45rem; max-height: 320px; overflow: auto; margin: .25rem 0 0; padding: 0; list-style: none; }
.community-upload-results:empty { display: none; }
.community-upload-results li { display: grid; grid-template-columns: 1.5rem minmax(0,1fr); align-items: start; gap: .55rem; padding: .65rem .75rem; border: 1px solid #d7e1eb; border-radius: 10px; background: #fff; }
.community-upload-results li > span:first-child { text-align: center; }
.community-upload-results li > span:last-child { display: grid; gap: .12rem; min-width: 0; }
.community-upload-results strong { overflow: hidden; color: var(--navy-900); font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.community-upload-results small { color: #66768b; font-size: .78rem; line-height: 1.35; }
.community-upload-results .is-success { border-color: #a9d8b8; background: #f1faf4; }
.community-upload-results .is-error { border-color: #e7b1b1; background: #fff4f4; }
.community-upload-results .is-error small { color: #8a2d2d; }
.community-upload-results .is-active { border-color: #d8b66e; background: #fff9ed; }
.community-contribution-success { display: grid; gap: .35rem; }
.community-callout { position: relative; isolation: isolate; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 1.5rem; overflow: hidden; margin: 2rem 0; padding: clamp(1.4rem,3vw,2.25rem); border: 1px solid rgba(199,148,56,.4); border-radius: 24px; background: linear-gradient(135deg,#05234b 0%,#0a356d 100%); color: #fff; box-shadow: 0 18px 45px rgba(3,26,57,.16); }
.community-callout::after { content: ""; position: absolute; z-index: -1; right: -70px; bottom: -110px; width: 260px; height: 260px; border: 45px solid rgba(255,255,255,.06); border-radius: 50%; }
.community-callout-icon { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; background: rgba(255,255,255,.1); font-size: 2rem; }
.community-callout-copy { max-width: 760px; }
.community-callout .section-kicker { margin-bottom: .35rem; color: var(--gold-light); }
.community-callout h2 { margin: 0; color: #fff; font-size: clamp(1.35rem,2.4vw,2rem); }
.community-callout p { margin: .65rem 0 0; color: rgba(255,255,255,.82); line-height: 1.7; }
.community-callout .btn { flex-shrink: 0; text-align: center; }
.community-callout-history { margin-bottom: clamp(2rem,5vw,4rem); }
.community-history-items { display: grid; gap: 1rem; margin: 1.5rem 0; }
.community-history-items article { display: grid; grid-template-columns: minmax(90px,150px) 1fr; gap: 1.25rem; padding: 1.15rem 0; border-bottom: 1px solid rgba(102,118,139,.25); }
.community-history-items.is-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
.community-history-items.is-cards article { grid-template-columns: 1fr; padding: 1.25rem; border: 1px solid rgba(102,118,139,.25); border-radius: 18px; }
.community-history-items time { color: #9a7229; font-weight: 800; }
.community-history-items h3 { margin: 0 0 .45rem; }
.community-history-items p { margin: 0; white-space: normal; }
.community-history-items small { display: block; margin-top: .55rem; color: #66768b; }
.community-history-cta { margin-top: 1rem; }
@media (max-width: 720px) {
  .community-contribution-choices,.community-form-grid,.community-history-items.is-cards { grid-template-columns: 1fr; }
  .community-contribution-choices > a { min-height: 220px; }
  .community-contribution-form { padding: 1rem; }
  .community-upload-resume { align-items: stretch; flex-direction: column; }
  .community-upload-resume .btn { width: 100%; }
  .community-history-items article { grid-template-columns: 1fr; gap: .45rem; }
  .community-callout { grid-template-columns: 1fr; align-items: start; }
  .community-callout-icon { width: 58px; height: 58px; border-radius: 16px; font-size: 1.6rem; }
  .community-callout .btn { width: 100%; }
}
.structured-form-preview-fields {
  display: contents;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

/* Portail membre P8.3 */
.header-member-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: inherit;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.header-member-link > span:first-child {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1rem;
}
.header-member-link:hover,
.header-member-link.active { color: var(--gold-light); }
body.is-inner .header-member-link { color: var(--navy-900); }
body.is-inner .header-member-link:hover,
body.is-inner .header-member-link.active { color: #936c24; }
.mobile-member-link { display: none; }

.member-page { min-height: 70vh; }
.member-page-hero {
  padding: clamp(7rem,10vw,8.5rem) 0 clamp(2.5rem,6vw,4.5rem);
  background: linear-gradient(125deg,var(--navy-950),#0b4778 70%,#17649a);
  color: #fff;
}
.member-page-hero h1,
.member-page-hero p { color: #fff; }
body.is-member {
  background: #f4f7fa;
}
body.is-member .site-header {
  background: var(--navy-950);
  color: #fff;
  border-bottom-color: rgba(255,255,255,.12);
  box-shadow: none;
}
body.is-member .brand img {
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,.18));
}
body.is-member .main-navigation a,
body.is-member .submenu-toggle,
body.is-member .header-member-link,
body.is-member .menu-toggle {
  color: #fff;
}
body.is-member .menu-toggle { border-color: rgba(255,255,255,.4); }
body.is-member .page-main { padding-top: 0; }
body.is-member .navigation-submenu {
  border-color: rgba(255,255,255,.18);
  background: var(--navy-950);
}
body.is-member .navigation-submenu a { color: #fff; }
body.is-member .navigation-submenu a:hover,
body.is-member .navigation-submenu a:focus-visible,
body.is-member .navigation-submenu a.active {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.member-shell,
.member-auth-shell {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(4rem,8vw,7rem);
}
.member-auth-shell { max-width: 760px; }
.member-logout-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: -1.2rem 0 2rem; }
.member-logout-row form { margin: 0; }
.member-logout-row .btn { background: rgba(255,255,255,.97); box-shadow: 0 10px 26px rgba(3,26,57,.09); }
.member-section-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .4rem;
  border: 1px solid #dce5ee;
  border-radius: 14px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 10px 26px rgba(3,26,57,.09);
}
.member-section-nav a {
  padding: .6rem .75rem;
  border-radius: 9px;
  color: var(--navy-900);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
}
.member-section-nav a:hover,
.member-section-nav a:focus-visible { background: #fff4d8; color: #75520d; }
.member-section-nav a.is-active,
.member-section-nav a[aria-selected="true"] {
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 5px 14px rgba(3,26,57,.16);
}
.member-tabs-ready > .member-section { margin-top: clamp(1.25rem,3vw,2rem); }
.member-tabs-ready > .member-section[hidden] { display: none !important; }
.member-card {
  padding: clamp(1.25rem,3vw,2rem);
  border: 1px solid #dce5ee;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(3,26,57,.07);
}
.member-card h2,
.member-card h3 { margin-top: 0; color: var(--navy-900); }
.member-card p { color: #52637a; line-height: 1.65; }
.member-card small { color: #68798d; }
.member-onboarding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
  border-color: rgba(199,148,56,.5);
  background: #fffaf0;
}
.member-onboarding h2 { margin: .25rem 0; }
.member-onboarding p { margin: 0; }
.member-section { margin-top: clamp(2.25rem,5vw,4rem); scroll-margin-top: 7rem; }
.member-section-heading,
.member-registration-title,
.member-music-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}
.member-section-heading { align-items: center; margin-bottom: 1rem; }
.member-section-heading h2 { margin: .25rem 0 0; color: var(--navy-900); }
.member-profile-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 1rem;
}
.member-profile-card { display: flex; overflow: hidden; flex-direction: column; padding: 0; }
.member-profile-banner {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: clamp(1.25rem,3vw,2.5rem);
  padding: clamp(1.2rem,3vw,1.75rem) clamp(1.25rem,3vw,2rem);
  border-bottom: 3px solid var(--gold);
  background: linear-gradient(120deg,#031a33 0%,#123f68 100%);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.08);
}
.member-profile-banner-main { grid-column: 1; min-width: 0; }
.member-profile-banner-main h3 { margin: 0 0 .25rem; color: #fff; }
.member-profile-banner-main p { margin: 0 0 .2rem; color: #e8f0f7; }
.member-profile-banner-main small { color: #bdccda; }
.member-duck-sales-badge {
  position: relative;
  z-index: 0;
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-content: center;
  width: 7.35rem;
  aspect-ratio: 1;
  padding: .75rem .5rem .65rem 1.75rem;
  border: 2px solid #ffe9a3;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 22%,rgba(255,255,255,.95) 0 4%,rgba(255,255,255,0) 18%),
    radial-gradient(circle at 30% 25%,#fff1ad 0,#f7ce5b 25%,#d99b1e 62%,#b8750f 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255,250,211,.38),
    inset -8px -10px 16px rgba(123,70,5,.22),
    inset 7px 7px 13px rgba(255,255,255,.38),
    0 0 0 3px rgba(214,159,47,.28),
    0 12px 26px rgba(0,0,0,.3);
  color: #08284b;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  transition: transform .2s ease,box-shadow .2s ease;
}
.member-duck-sales-badge::after {
  position: absolute;
  z-index: -1;
  inset: .34rem;
  border: 1px solid rgba(255,244,184,.55);
  border-radius: inherit;
  background: linear-gradient(115deg,rgba(255,255,255,.34),transparent 27%,transparent 62%,rgba(99,50,0,.12));
  content: "";
  pointer-events: none;
}
.member-duck-sales-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  max-width: 4.6rem;
  color: #06284d;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255,255,255,.42);
}
.member-duck-sales-copy strong {
  font-size: clamp(1.9rem,3vw,2.35rem);
  font-weight: 950;
  letter-spacing: -.04em;
  line-height: .9;
}
.member-duck-sales-copy span { margin-top: .3rem; font-size: .86rem; line-height: 1.02; }
.member-duck-sales-mascot {
  position: absolute;
  z-index: 3;
  top: -.85rem;
  left: -2.75rem;
  width: 5.35rem;
  height: 5.35rem;
  object-fit: contain;
  filter: drop-shadow(0 6px 5px rgba(57,30,0,.28));
  pointer-events: none;
  transform: rotate(-7deg);
  transform-origin: 55% 70%;
}
.member-duck-sales-bubbles { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.member-duck-sales-bubbles i {
  position: absolute;
  display: block;
  width: .48rem;
  height: .48rem;
  border: 1px solid rgba(255,247,201,.9);
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  box-shadow: inset .1rem .1rem .14rem rgba(255,255,255,.65),0 0 .4rem rgba(255,218,108,.55);
}
.member-duck-sales-bubbles i:nth-child(1) { top: -.35rem; right: .75rem; }
.member-duck-sales-bubbles i:nth-child(2) { top: 1.05rem; right: -.75rem; width: .7rem; height: .7rem; }
.member-duck-sales-bubbles i:nth-child(3) { right: -.3rem; bottom: .85rem; width: .32rem; height: .32rem; }
.member-duck-sales-badge:hover {
  transform: translateY(-2px) scale(1.025);
  box-shadow:
    inset 0 0 0 2px rgba(255,250,211,.4),
    inset -8px -10px 16px rgba(123,70,5,.2),
    inset 7px 7px 13px rgba(255,255,255,.42),
    0 0 0 4px rgba(241,194,85,.32),
    0 16px 30px rgba(0,0,0,.34);
  color: #08284b;
}
.member-duck-sales-badge:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.member-profile-membership { display: flex; grid-column: 3; align-items: center; justify-content: flex-end; gap: 1rem; }
.member-profile-patcan { margin: 0; }
.member-profile-patcan div { display: grid; gap: .15rem; text-align: right; }
.member-profile-patcan dt { color: #bdccda; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.member-profile-patcan dd { margin: 0; color: #fff; font-weight: 850; }
.member-profile-body { display: flex; flex: 1; flex-direction: column; padding: clamp(1.25rem,3vw,2rem); }
.member-profile-link-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e3eaf1;
}
.member-profile-link-actions p { margin: 0; }
.member-profile-link-actions .member-inline-form { flex: 0 0 auto; margin: 0; }
.member-profile-registrations {
  display: grid;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.member-profile-registrations-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.member-profile-registrations-heading strong { color: #52667d; font-size: .82rem; }
.member-profile-registrations .member-profile-registration { margin-bottom: 0; }
.member-profile-registration {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid #d9e4ed;
  border-radius: 14px;
  background: rgba(242,247,251,.82);
}
.member-profile-registration-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.member-profile-registration-heading h4 { margin: .25rem 0; color: var(--navy-900); font-size: 1.05rem; }
.member-profile-schedule { display: grid; gap: .25rem; }
.member-profile-schedule > strong { color: var(--navy-900); }
.member-profile-schedule p { margin: 0; color: #3f536b; }
.member-profile-schedule small { display: block; }
.member-profile-payment {
  display: grid;
  gap: .3rem;
  padding: .8rem .9rem;
  border: 1px solid #d9c37b;
  border-radius: 11px;
  background: #fffaf0;
}
.member-profile-payment strong { color: var(--navy-900); }
.member-profile-payment p { margin: 0; color: #3f536b; font-weight: 750; }
.member-profile-payment small { color: #52667d; line-height: 1.55; }
.member-profile-progress {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid #d9e4ed;
  border-radius: 14px;
  background: #fff;
}
.member-profile-progress-heading h4 { margin: .25rem 0 0; color: var(--navy-900); }
.member-profile-progress > p { margin: 0; }
.member-progress-quick-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: .65rem; }
.member-progress-quick-card {
  position: relative;
  display: grid;
  gap: .35rem;
  min-width: 0;
  padding: .8rem;
  border-radius: 11px;
  background: #f2f6f9;
}
.member-progress-quick-card small { color: #68798d; font-weight: 750; }
.member-progress-quick-card strong { overflow-wrap: anywhere; color: var(--navy-900); }
.member-progress-quick-card > span { position: absolute; right: .8rem; bottom: .72rem; color: #52637a; font-size: .72rem; font-weight: 800; }
.member-profile-progress progress { width: 100%; height: 8px; accent-color: var(--gold); }
.member-progress-quick-card progress { width: calc(100% - 2.6rem); margin-top: .2rem; }
.member-progress-details { border-top: 1px solid #e3eaf1; padding-top: .9rem; }
.member-progress-details > summary { color: var(--navy-900); font-weight: 850; cursor: pointer; }
.member-progress-sections { display: grid; gap: 1rem; margin-top: 1rem; }
.member-progress-section { display: grid; gap: .75rem; padding: 1rem; border: 1px solid #dce5ee; border-radius: 12px; }
.member-progress-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.member-progress-section-heading h5 { margin: 0 0 .2rem; color: var(--navy-900); font-size: 1rem; }
.member-progress-section-heading > strong { color: #78540d; }
.member-progress-groups { display: grid; grid-template-columns: repeat(auto-fill,minmax(210px,1fr)); gap: .65rem; }
.member-progress-group { padding: .75rem; border: 1px solid #dde6ee; border-radius: 10px; background: #fafcfd; }
.member-progress-group.is-complete { border-color: #a9d8bc; background: #f0faf4; }
.member-progress-group.is-current { border-color: #d9b96f; background: #fff9eb; }
.member-progress-group h6 { margin: 0 0 .55rem; color: var(--navy-900); font-size: .88rem; }
.member-progress-group ul { display: grid; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.member-progress-group li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: .4rem; color: #52637a; font-size: .82rem; }
.member-progress-group li.is-passed { color: #1d6741; }
.member-progress-group li.is-omitted { color: #7b641f; }
.member-progress-group li small { grid-column: 2; }
.member-profile-music { margin-top: 1.1rem; }
.member-profile-music h4 { margin: 0 0 .7rem; color: var(--navy-900); font-size: .92rem; }
.member-profile-music-list {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(190px,1fr));
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.member-profile-music-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 150px;
  padding: 1rem;
  border: 1px solid #dce5ee;
  border-radius: 14px;
  background: #f7fafc;
}
.member-profile-music-file {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  color: var(--navy-900);
  line-height: 1.35;
  text-decoration: none;
}
.member-profile-music-file:hover strong { color: #78540d; text-decoration: underline; }
.member-profile-music-file strong { overflow-wrap: anywhere; }
.member-profile-music-file small { overflow-wrap: anywhere; }
.member-profile-music-icon { font-size: 1.35rem; }
.member-profile-music-add-card {
  padding: 0;
  border: 2px dashed #b6c7d7;
  background: #fff;
}
.member-profile-music-add-card button {
  display: grid;
  width: 100%;
  min-height: 146px;
  place-items: center;
  align-content: center;
  gap: .5rem;
  padding: 1rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--navy-900);
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.member-profile-music-add-card:hover { border-color: var(--gold); background: #fffaf0; }
.member-profile-music-add-card:focus-within { outline: 3px solid rgba(199,148,56,.35); outline-offset: 2px; }
.member-profile-music-add-card button:disabled { cursor: wait; opacity: .65; }
.member-profile-music-add-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-size: 1.35rem;
}
.member-music-item-actions { display: flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: .75rem; }
.member-music-item-actions form { margin: 0; }
.member-music-remove-button { min-height: 34px; padding: .4rem .7rem; }
.member-add-skater-card {
  display: grid;
  place-items: center;
  align-content: center;
  gap: .4rem;
  min-height: 170px;
  border: 2px dashed #b6c7d7;
  color: var(--navy-900);
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.member-add-skater-card:hover { border-color: var(--gold); background: #fffaf0; transform: translateY(-2px); }
.member-add-skater-card:focus-visible { outline: 3px solid rgba(199,148,56,.35); outline-offset: 3px; }
.member-add-skater-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: .25rem;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-size: 1.8rem;
}
.member-add-skater-card small { color: #68798d; }
.member-registration-list,
.member-music-list { display: grid; gap: 1rem; }
.member-registration-card { display: grid; gap: 1.15rem; }
.member-registration-title h3 { margin: .25rem 0; }
.member-registration-title p { margin: 0; }
.member-invoice-list { display: grid; gap: 1rem; }
.member-invoice-card { display: grid; gap: 1.15rem; }
.member-invoice-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.member-invoice-heading h3 { margin: .25rem 0; }
.member-invoice-heading p { margin: 0; }
.member-invoice-facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; margin: 0; }
.member-invoice-facts > div { padding: .85rem; border-radius: 12px; background: #f5f8fb; }
.member-invoice-facts dt { color: #6a798b; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.member-invoice-facts dd { margin: .25rem 0 0; color: var(--navy-900); font-weight: 750; }
.member-invoice-reason { padding: .9rem 1rem; border-left: 4px solid #c7d4e0; background: #f8fafc; }
.member-invoice-reason strong { color: var(--navy-900); }
.member-invoice-reason p { margin: .35rem 0 0; }
.member-invoice-payment { display: grid; gap: .4rem; padding: 1rem; border: 1px solid #d9c37b; border-radius: 12px; background: #fffaf0; color: #52637a; }
.member-invoice-payment > strong { color: var(--navy-900); }
.member-invoice-payment p { margin: 0; }
.member-invoice-payment p span { color: var(--navy-900); font-weight: 850; overflow-wrap: anywhere; }
.member-invoice-payment small { line-height: 1.55; }
.member-invoice-paid { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid #a9d8bc; border-radius: 12px; background: #f0faf4; }
.member-invoice-paid > div { display: grid; gap: .25rem; color: #1d6741; }
.member-invoice-paid .btn { flex: 0 0 auto; }
.member-invoice-cancelled { margin: 0; padding: .9rem 1rem; border-radius: 12px; background: #f7e4e4; color: #8c3030 !important; font-weight: 750; }
.member-invoice-archive {
  margin-top: 1rem;
  border: 1px solid #dce5ee;
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  overflow: hidden;
}
.member-invoice-archive > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  color: var(--navy-900);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}
.member-invoice-archive > summary::-webkit-details-marker { display: none; }
.member-invoice-archive > summary::after { content: '＋'; margin-left: auto; color: #7a8795; font-size: 1.1rem; }
.member-invoice-archive[open] > summary::after { content: '−'; }
.member-invoice-archive > summary strong {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #def4e7;
  color: #1d6741;
  font-size: .8rem;
}
.member-invoice-archive > .member-invoice-list { padding: 0 1rem 1rem; }
.member-invoice-cancelled-archive > summary strong { background: #f7e4e4; color: #8c3030; }
.member-status {
  display: inline-flex;
  padding: .45rem .7rem;
  border-radius: 999px;
  background: #eef2f6;
  color: #52637a;
  font-size: .76rem;
  font-weight: 850;
  white-space: nowrap;
}
.member-status.status-confirmed { background: #def4e7; color: #1d6741; }
.member-status.status-issued { background: #fff0cf; color: #79520b; }
.member-status.status-paid { background: #def4e7; color: #1d6741; }
.member-status.status-review { background: #e8f0fb; color: #245982; }
.member-status.status-waitlisted { background: #fff0cf; color: #79520b; }
.member-status.status-cancelled { background: #f7e4e4; color: #8c3030; }
.member-registration-facts,
.payment-receipt dl {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: .8rem;
  margin: 0;
}
.member-registration-facts > div {
  padding: .85rem;
  border-radius: 12px;
  background: #f5f8fb;
}
.member-registration-facts dt,
.payment-receipt dt { color: #6a798b; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.member-registration-facts dd,
.payment-receipt dd { margin: .25rem 0 0; color: var(--navy-900); font-weight: 750; }
.member-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.member-card-actions form { margin: 0; }
.member-card-actions .btn { min-height: 42px; padding: 10px 15px; }
.member-auth-card { margin-top: -1.5rem; }
.member-form { display: grid; gap: 1rem; }
.member-form label { display: grid; gap: .4rem; color: var(--navy-900); font-weight: 750; }
.member-form input,
.member-form select {
  width: 100%;
  min-height: 46px;
  padding: .75rem .85rem;
  border: 1px solid #cbd8e6;
  border-radius: 9px;
  background: #fff;
  color: var(--navy-900);
  font: inherit;
}
.member-form > small { color: #68798d; line-height: 1.5; }
.member-account-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
.member-account-address,
.member-account-form .member-account-type,
.member-account-newsletter,
.member-account-submit { grid-column: 1 / -1; }
.member-account-submit { display: flex; justify-content: flex-start; }
.member-security-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1rem;
}
.member-security-card h3 { margin-bottom: .35rem; }
.member-security-card p { margin: 0; }
.member-security-card form { flex: 0 0 auto; margin: 0; }
.member-form .member-account-newsletter {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem;
  border: 1px solid #dce5ee;
  border-radius: 12px;
  background: #f8fbfd;
  line-height: 1.45;
}
.member-form .member-account-newsletter input {
  width: auto;
  min-height: 0;
  margin-top: .25rem;
}
.field-optional { color: #68798d; font-size: .82em; font-weight: 600; }
.member-inline-form,
.member-remove-profile-form { margin: 0; }
.member-link-request-form { width: 100%; }
.member-link-request-form .btn,
.member-inline-form .btn,
.member-remove-profile-form .btn { width: auto; min-height: 38px; padding: .55rem .8rem; }
.member-profile-editor {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e3eaf1;
}
.member-profile-editor summary { color: var(--navy-900); font-size: .86rem; font-weight: 850; cursor: pointer; }
.member-profile-editor .member-form { margin-top: 1rem; }
.member-profile-editor .member-remove-profile-form { margin-top: .8rem; }
.btn-danger-outline {
  border-color: #d9a9a9;
  background: #fff;
  color: #8c3030;
}
.btn-danger-outline:hover { border-color: #b95b5b; background: #fff4f4; color: #702323; }
.member-account-type {
  display: grid;
  gap: .7rem;
  padding: 1rem;
  border: 1px solid #dce5ee;
  border-radius: 12px;
}
.member-account-type legend { padding: 0 .4rem; color: var(--navy-900); font-weight: 800; }
.member-account-type label { display: flex; grid-template-columns: none; align-items: flex-start; gap: .6rem; }
.member-account-type input { width: auto; min-height: 0; margin-top: .2rem; }
.member-social-login { display: grid; gap: .7rem; }
.member-oauth-registration-form { display: grid; gap: .7rem; }
.member-provider-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 48px;
  padding: .8rem 1rem;
  border: 1px solid #cbd8e6;
  border-radius: 10px;
  background: #fff;
  color: var(--navy-900);
  font-weight: 800;
  font-family: inherit;
  font-size: inherit;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  width: 100%;
}
.member-provider-button:hover { border-color: #8ca3bb; background: #f6f9fb; }
.member-provider-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}
.member-auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; color: #7a899a; }
.member-auth-divider::before,
.member-auth-divider::after { content: ""; flex: 1; height: 1px; background: #dce5ee; }
.member-auth-switch { margin: 1.5rem 0 0; text-align: center; }
.member-login-help { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #e1e8ef; }
.member-login-help summary { cursor: pointer; color: var(--navy-900); font-weight: 800; }
.member-inline-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .7rem; margin-top: .9rem; }
.member-inline-form label { display: grid; gap: .35rem; }
.member-inline-form input { min-height: 42px; padding: .65rem .75rem; border: 1px solid #cbd8e6; border-radius: 8px; }
.member-inline-form .contact-turnstile { grid-column: 1 / -1; }
.member-security-check {
  display: grid;
  gap: .55rem;
  padding: 1rem;
  border: 1px solid #d9b96f;
  border-radius: 12px;
  background: #fff9eb;
  color: var(--navy-900);
}
.member-security-check > span { color: #596a7e; line-height: 1.5; }
.member-security-check > small { color: #596a7e; font-weight: 750; }
.member-security-check > small[data-state="error"] { color: #8c3030; }
.member-security-check > small[data-state="success"] { color: #247447; }
.member-family-security { margin-bottom: 1rem; }
.member-music-row { align-items: center; }
.member-dialog {
  width: min(92vw,560px);
  max-height: min(88vh,760px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--navy-900);
  box-shadow: 0 28px 90px rgba(3,26,57,.32);
}
.member-dialog::backdrop { background: rgba(3,26,57,.7); backdrop-filter: blur(3px); }
.member-dialog-panel { position: relative; overflow-y: auto; max-height: min(88vh,760px); padding: clamp(1.35rem,4vw,2.25rem); border-radius: 20px; background: #fff; }
.member-dialog-panel h2 { margin: .25rem 2rem .5rem 0; color: var(--navy-900); }
.member-dialog-panel > p { margin-top: 0; color: #52637a; line-height: 1.6; }
.member-dialog-close-form { position: absolute; top: .8rem; right: .8rem; margin: 0; }
.member-dialog-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #edf3f8;
  color: var(--navy-900);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.member-dialog-close:hover { background: #dce7f0; }
.member-duck-sales-dialog { width: min(94vw,700px); }
.member-duck-sales-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 .8rem;
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid #e1be68;
  border-radius: 16px;
  background: linear-gradient(135deg,#fff9e8,#f7df9d);
  color: var(--navy-900);
}
.member-duck-sales-summary strong {
  grid-row: 1 / span 2;
  font-family: Georgia, serif;
  font-size: clamp(2.2rem,7vw,3.5rem);
  line-height: .9;
}
.member-duck-sales-summary span { align-self: end; font-weight: 900; }
.member-duck-sales-summary small { align-self: start; color: #68551f; font-weight: 750; }
.member-duck-sales-reference-list { display: grid; gap: .8rem; }
.member-duck-sales-reference {
  display: grid;
  grid-template-columns: minmax(150px,.55fr) minmax(0,1fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #dce5ed;
  border-radius: 14px;
  background: #f8fbfd;
}
.member-duck-sales-reference > div { display: grid; gap: .2rem; }
.member-duck-sales-reference > div strong { color: var(--navy-900); font-size: .95rem; }
.member-duck-sales-reference > div span { color: #244967; font-size: .9rem; font-weight: 800; }
.member-duck-sales-reference > div small { color: #607086; }
.member-duck-sales-reference ul {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}
.member-duck-sales-reference li {
  min-width: 3.15rem;
  padding: .5rem .65rem;
  border: 1px solid #d5a936;
  border-radius: 999px;
  background: linear-gradient(145deg,#fff2b9,#dca326);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
  color: #08284b;
  font-weight: 950;
  text-align: center;
}
.member-duck-sales-empty {
  padding: 1rem 1.15rem;
  border: 1px dashed #c6d2dd;
  border-radius: 14px;
  background: #f8fbfd;
}
.member-duck-sales-empty p { margin: .35rem 0 0; color: #607086; line-height: 1.5; }
.member-duck-sales-actions { display: flex; justify-content: flex-end; margin-top: 1.25rem; }
.member-music-dialog { width: min(94vw,640px); }
.member-music-dialog-note {
  display: grid;
  gap: .35rem;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid #d9b96f;
  border-radius: 12px;
  background: #fff9eb;
}
.member-music-dialog-note h3,
.member-music-dialog-note p { margin: 0; }
.member-music-dialog-note p { color: #52637a; line-height: 1.55; }
.member-music-upload-progress {
  display: grid;
  gap: .55rem;
  padding: .85rem 1rem;
  border: 1px solid #cbd8e6;
  border-radius: 12px;
  background: #f8fbfd;
}
.member-music-upload-progress > div { display: flex; justify-content: space-between; gap: 1rem; }
.member-music-upload-progress progress { width: 100%; height: 12px; accent-color: var(--gold); }
.member-music-upload-progress progress::-webkit-progress-bar { border-radius: 999px; background: #dce5ee; }
.member-music-upload-progress progress::-webkit-progress-value { border-radius: 999px; background: var(--gold); }
.member-music-upload-progress progress::-moz-progress-bar { border-radius: 999px; background: var(--gold); }
.member-music-upload-progress small { color: #596a7e; }
.member-music-upload-submit:disabled { cursor: wait; opacity: .72; }
.member-security-dialog .member-security-check { margin-top: 1rem; }
.registration-member-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid #d9b96f;
  border-radius: 14px;
  background: #fff9eb;
}
.registration-member-callout div { display: grid; gap: .25rem; }
.registration-member-callout span { color: #596a7e; line-height: 1.5; }
.registration-profile-summary {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #d8e4ee;
  border-radius: 14px;
  background: #f7fafc;
}
.registration-profile-summary > div { display: grid; gap: .2rem; min-width: 0; }
.registration-profile-summary .registration-profile-summary-actions { gap: .35rem; }
.registration-profile-summary span {
  color: #60758d;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.registration-profile-summary strong { color: var(--navy-900); overflow-wrap: anywhere; }
.registration-profile-summary small { color: #60758d; }
.registration-profile-summary a { color: var(--navy-800); font-weight: 800; white-space: nowrap; }
.registration-profile-summary[hidden] { display: none; }
.registration-capacity {
  margin-top: .75rem;
  padding: .8rem 1rem;
  border-radius: 10px;
  font-weight: 750;
}
.registration-capacity.is-available { background: #edf8f1; color: #246743; }
.registration-capacity.is-waitlist { background: #fff2d8; color: #78530f; }
.receipt-shell { max-width: 820px; padding-top: 2rem; padding-bottom: 3rem; }
.receipt-actions { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; }
.payment-receipt { padding: clamp(1.35rem,3.5vw,2.5rem); border: 1px solid #d6e0e9; background: #fff; box-shadow: 0 18px 50px rgba(3,26,57,.1); }
.payment-receipt > header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 2px solid var(--navy-900); }
.payment-receipt > header img { width: 72px; height: 72px; object-fit: contain; }
.payment-receipt > header h1 { margin: 0 0 .4rem; color: var(--navy-900); }
.payment-receipt dl { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 .9rem; margin: 1.25rem 0; }
.payment-receipt dl > div { padding: .65rem 0; border-bottom: 1px solid #e0e7ee; }
.payment-receipt .receipt-total { grid-column: 1 / -1; display: flex; align-items: end; justify-content: space-between; }
.payment-receipt .receipt-total dd { font-size: 1.55rem; }
.payment-receipt > footer { display: grid; gap: .35rem; color: #52637a; }
.payment-receipt > footer small { margin-top: .55rem; }
.coach-receipt-reason { margin: 0 0 1.25rem; padding: 1rem; border-radius: 10px; background: #f5f8fb; color: #52637a; }
.coach-receipt-reason strong { color: var(--navy-900); }
.coach-receipt-reason p { margin: .4rem 0 0; }

@media (max-width: 1180px) and (min-width: 981px) {
  .header-nav-row { gap: 14px; }
  .main-navigation { gap: 16px; }
  .header-member-link > span:last-child { display: none; }
}
@media (max-width: 980px) {
  .header-member-link { display: none; }
  .mobile-member-link { display: inline-flex; width: 100%; }
  .mobile-member-link::after { display: none; }
  body.is-member .main-navigation {
    border-color: rgba(255,255,255,.12);
    background: var(--navy-950);
  }
  body.is-member .main-navigation a,
  body.is-member .submenu-toggle { color: #fff; }
}
@media (max-width: 760px) {
  .member-profile-grid,
  .member-account-form,
  .member-security-card,
  .member-registration-facts,
  .member-invoice-facts,
  .payment-receipt dl { grid-template-columns: 1fr; }
  .member-section-heading,
  .member-registration-title,
  .member-invoice-heading,
  .member-invoice-paid,
  .member-music-row,
  .member-onboarding,
  .registration-member-callout { align-items: stretch; flex-direction: column; }
  .registration-profile-summary { grid-template-columns: 1fr; align-items: start; }
  .registration-profile-summary a { white-space: normal; }
  .member-section-heading .btn,
  .registration-member-callout .btn { width: 100%; }
  .member-logout-row { align-items: stretch; flex-direction: column; margin-top: -.5rem; }
  .member-section-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .member-section-nav a { text-align: center; }
  .member-logout-row form { align-self: flex-end; }
  .member-inline-form { grid-template-columns: 1fr; }
  .member-account-address,
  .member-account-form .member-account-type,
  .member-account-submit { grid-column: auto; }
  .member-security-card { align-items: stretch; flex-direction: column; }
  .member-security-card .btn { width: 100%; }
  .member-invoice-paid .btn { width: 100%; }
  .member-profile-registrations-heading,
  .member-profile-registration-heading,
  .member-profile-link-actions { align-items: flex-start; flex-direction: column; }
  .member-profile-banner { grid-template-columns: minmax(0,1fr); gap: 1.15rem; }
  .member-profile-banner-main { grid-column: 1; }
  .member-duck-sales-badge { grid-column: 1; justify-self: center; margin: .35rem 0 .25rem; }
  .member-duck-sales-reference { grid-template-columns: 1fr; }
  .member-duck-sales-reference ul { justify-content: flex-start; }
  .member-duck-sales-actions .btn { width: 100%; }
  .member-profile-membership { grid-column: 1; }
  .member-profile-membership { width: 100%; align-items: flex-start; justify-content: space-between; }
  .member-profile-patcan div { text-align: left; }
  .member-progress-section-heading { align-items: flex-start; flex-direction: column; }
  .member-add-skater-card { min-height: 150px; }
  .payment-receipt .receipt-total { grid-column: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .member-duck-sales-mascot { animation: member-duck-cheer 3.1s ease-in-out infinite; }
  .member-duck-sales-bubbles i { animation: member-duck-bubble 2.5s ease-in-out infinite; }
  .member-duck-sales-bubbles i:nth-child(2) { animation-delay: -.9s; }
  .member-duck-sales-bubbles i:nth-child(3) { animation-delay: -1.65s; }
}

@keyframes member-duck-cheer {
  0%,100% { transform: rotate(-7deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-.18rem); }
}

@keyframes member-duck-bubble {
  0%,100% { opacity: .35; transform: translateY(.22rem) scale(.8); }
  45% { opacity: 1; transform: translateY(-.28rem) scale(1.08); }
}
@page {
  size: auto;
  margin: 10mm;
}
@media print {
  .site-header,
  .site-footer,
  .no-print,
  .inner-page-hero-art { display: none !important; }
  html,
  body { margin: 0 !important; background: #fff !important; }
  body.is-inner .page-main,
  body.is-member .page-main,
  .receipt-page { min-height: 0 !important; margin: 0 !important; padding: 0 !important; }
  .receipt-shell { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
  .payment-receipt {
    padding: 6mm !important;
    border: 0;
    box-shadow: none;
    font-size: 10pt;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .payment-receipt > header { padding-bottom: 4mm; }
  .payment-receipt > header img { width: 20mm; height: 20mm; }
  .payment-receipt > header h1 { font-size: 20pt; }
  .payment-receipt dl {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 0 5mm;
    margin: 4mm 0 !important;
  }
  .payment-receipt dl > div { padding: 2.2mm 0 !important; }
  .payment-receipt .receipt-total { grid-column: 1 / -1 !important; }
  .payment-receipt .receipt-total dd { font-size: 16pt; }
  .payment-receipt > footer { gap: 1mm; }
  .payment-receipt > footer small { margin-top: 2mm; }
  .coach-receipt-reason { margin-bottom: 4mm; padding: 3mm; break-inside: avoid; page-break-inside: avoid; }
}
/* Présences à la carte dans le portail membre */
.member-drop-in-declaration {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(10rem, .45fr) auto;
    gap: .8rem;
    align-items: end;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(194, 139, 28, .35);
    border-radius: 14px;
    background: rgba(194, 139, 28, .08);
}

.member-drop-in-declaration > div,
.member-drop-in-declaration label {
    display: grid;
    gap: .3rem;
}

.member-drop-in-declaration small,
.member-drop-in-invoice small {
    display: block;
}

.program-drop-in-price {
    margin: 0 0 1rem;
    padding: .75rem;
    border-radius: 10px;
    background: rgba(194, 139, 28, .1);
}

@media (max-width: 760px) {
    .member-drop-in-declaration {
        grid-template-columns: 1fr;
    }
}
