/* ==========================================================================
   Le Rebond des Joueurs — site public
   Palette : verts profonds (logo #1a5638), crème, blanc, accent balle (lime).
   Aucun style inline : tout passe par ces classes (CSP stricte).
   ========================================================================== */

:root {
  --g-950: #0a2417;
  --g-900: #0e2f20;
  --g-800: #134029;
  --g-700: #1a5638;
  --g-600: #237049;
  --g-500: #2f8a5c;
  --cream: #faf5ee;
  --cream-2: #f2eadc;
  --white: #fff;
  --ink: #10201a;
  --muted: #55675e;
  --lime: #d9e44f;
  --lime-2: #c6d33a;
  --line: rgba(16, 32, 26, .13);
  --err: #b3261e;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 30px 60px -28px rgba(10, 36, 23, .45);
  --shadow-sm: 0 12px 30px -16px rgba(10, 36, 23, .35);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --f-head: 'Fraunces', 'Times New Roman', serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-label: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
address { font-style: normal; }
blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--g-950); }

.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--lime); color: var(--g-950); padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 14px; }
.center { text-align: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(20px, 4.2vw, 56px); }
.wrap--narrow { max-width: 960px; }

.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* ---------- Typo ---------- */
.h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
.h2 { font-size: clamp(2.05rem, 4.2vw, 3.4rem); color: var(--g-800); }
.h2--light { color: var(--white); }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--g-800); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem; margin: 0 0 1.1rem;
  font: 600 .95rem/1 var(--f-label); letter-spacing: .26em; text-transform: uppercase; color: var(--g-600);
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow a { text-decoration: none; }
.eyebrow--light { color: var(--lime); }
.center .eyebrow, .section-head.center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.6; max-width: 40em; }
.lead--light { color: rgba(255, 255, 255, .88); }
.section-lead { font-size: 1.15rem; color: rgba(255, 255, 255, .82); max-width: 38em; }
.section-lead--dark { color: var(--muted); }
.center .section-lead, .center .lead { margin-inline: auto; }
.note { font-size: .92rem; color: var(--muted); }
.section--green .note, .section--dark .note { color: rgba(255, 255, 255, .7); }

.prose { max-width: 40em; }
.prose p { color: var(--muted); }
.prose--lead p:first-child { font-size: 1.22rem; color: var(--ink); }
.prose h2, .prose h3, .prose h4 { color: var(--g-800); margin: 1.6em 0 .5em; font-size: 1.5rem; }
.prose ul { margin: 0 0 1.2em; }
.prose li { position: relative; padding-left: 1.5rem; margin-bottom: .45em; color: var(--muted); }
.prose li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--g-600); }
.prose a { color: var(--g-700); font-weight: 600; }
.prose--article { max-width: none; font-size: 1.12rem; }
.prose--article p { color: var(--ink); opacity: .86; }
.section--green .prose p, .section--dark .prose p { color: rgba(255, 255, 255, .8); }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--g-700); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: gap .25s var(--ease), color .2s; }
.link-arrow:hover { gap: .8rem; color: var(--g-500); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--g-800); --fg: var(--white); --bd: var(--g-800);
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  padding: .95rem 1.7rem; border-radius: 999px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
  font: 700 .95rem/1 var(--f-body); letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn .ico { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(10, 36, 23, .55); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--lime { --bg: var(--lime); --fg: var(--g-950); --bd: var(--lime); }
.btn--lime:hover { --bg: #e6ef6a; --bd: #e6ef6a; }
.btn--green:hover { --bg: var(--g-700); --bd: var(--g-700); }
.btn--ghost { --bg: transparent; --fg: var(--white); --bd: rgba(255, 255, 255, .55); }
.btn--ghost:hover { --bg: var(--white); --fg: var(--g-900); --bd: var(--white); }
.btn--outline { --bg: transparent; --fg: var(--white); --bd: rgba(255, 255, 255, .7); }
.btn--outline:hover { --bg: var(--white); --fg: var(--g-900); }
.btn--outline-dark { --bg: transparent; --fg: var(--g-800); --bd: var(--g-800); }
.btn--outline-dark:hover { --bg: var(--g-800); --fg: var(--white); }
.btn--ghost-dark { --bg: transparent; --fg: var(--muted); --bd: var(--line); }
.btn--ghost-dark:hover { --bg: var(--cream-2); --fg: var(--ink); }
.btn--sm { padding: .72rem 1.25rem; font-size: .85rem; }
.btn--lg { padding: 1.15rem 2.1rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }

.chip { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: var(--white); font-weight: 600; font-size: .92rem; margin: 0 0 1.3rem; }
.chip .ico { color: var(--lime); }
.chip--dark { background: var(--cream-2); border-color: transparent; color: var(--g-800); }
.chip--dark .ico { color: var(--g-600); }

/* ---------- Logo ---------- */
.logo-img { height: 66px; width: auto; }
.site-footer .logo-img { height: 104px; }
.logo-lockup { display: inline-flex; align-items: center; gap: .7rem; color: var(--g-700); line-height: 1; }
.logo-mark { width: 54px; height: 34px; overflow: visible; }
.logo-word { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: .35rem; }
.logo-le { font: 600 .72rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; padding-bottom: .38rem; }
.logo-main { font: 700 1.95rem/.9 var(--f-head); letter-spacing: -.02em; }
.logo-sub { grid-column: 1 / -1; justify-self: end; font: 600 .74rem/1 var(--f-label); letter-spacing: .32em; text-transform: uppercase; margin-top: .2rem; }
.brand-light .logo-lockup, .site-footer .logo-lockup { color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background .35s, box-shadow .35s, height .35s var(--ease), transform .4s var(--ease); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-dark { display: none; }
.brand-light { display: block; }
body.is-solid .brand-dark, body.is-scrolled .brand-dark { display: block; }
body.is-solid .brand-light, body.is-scrolled .brand-light { display: none; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav ul { display: flex; align-items: center; gap: .3rem; }
.nav-link { position: relative; display: block; padding: .6rem .9rem; font: 600 .98rem/1 var(--f-body); color: var(--white); text-decoration: none; transition: color .2s; }
.nav-link::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .25rem; height: 1.5px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { margin-left: .4rem; }
body.is-solid .site-header, body.is-scrolled .site-header { background: rgba(250, 245, 238, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
body.is-solid .nav-link, body.is-scrolled .nav-link { color: var(--ink); }
body.is-solid .nav-cta, body.is-scrolled .nav-cta { --fg: var(--g-800); --bd: var(--g-800); }
body.is-solid .nav-cta:hover, body.is-scrolled .nav-cta:hover { --bg: var(--g-800); --fg: var(--white); }
body.is-scrolled .site-header { height: 70px; }
.nav-toggle { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); background: transparent; z-index: 120; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 1.8px; background: var(--white); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { top: 27px; }
body.is-solid .nav-toggle, body.is-scrolled .nav-toggle { border-color: var(--g-800); }
body.is-solid .nav-toggle span, body.is-scrolled .nav-toggle span { background: var(--g-800); }
.nav-toggle[aria-expanded="true"] { border-color: rgba(255, 255, 255, .6) !important; }
.nav-toggle[aria-expanded="true"] span { background: var(--white) !important; top: 23px !important; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--g-900); overflow: hidden; display: flex; align-items: flex-end; }
.hero--home { min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 3rem) 0 7rem; }
.hero--page { min-height: clamp(460px, 68vh, 640px); padding: calc(var(--header-h) + 4rem) 0 4.5rem; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 80% 70% at 78% 18%, rgba(47, 138, 92, .55), transparent 62%),
  radial-gradient(ellipse 70% 80% at 5% 100%, rgba(10, 36, 23, .9), transparent 60%),
  linear-gradient(160deg, var(--g-800), var(--g-950)); }
.hero-bg > img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(10, 36, 23, .62) 0%, rgba(10, 36, 23, .28) 38%, rgba(10, 36, 23, .86) 100%),
  linear-gradient(90deg, rgba(10, 36, 23, .55), transparent 60%); }
.court-bg { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, .22); }
.cb-lines > * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s var(--ease) .3s forwards; }
.cb-lines > *:nth-child(n+2) { animation-delay: 1.1s; }
.cb-arc { stroke: var(--lime); stroke-opacity: .85; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3s var(--ease) .8s forwards; }
.hero-in { position: relative; }
.hero-title { font-size: clamp(3rem, 8.2vw, 7.4rem); line-height: .98; font-weight: 600; letter-spacing: -.025em; margin: 0 0 1.6rem; max-width: 12em; text-wrap: balance; }
.hero-title--page { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 14em; }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .04em .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; transform: translateY(112%); animation: wordUp 1s var(--ease) forwards; }
.hero-title .w:nth-child(1) > span { animation-delay: .15s; }
.hero-title .w:nth-child(2) > span { animation-delay: .25s; }
.hero-title .w:nth-child(3) > span { animation-delay: .35s; }
.hero-title .w:nth-child(4) > span { animation-delay: .45s; }
.hero-title .w:nth-child(5) > span { animation-delay: .55s; }
.hero-title .w:nth-child(6) > span { animation-delay: .65s; }
.hero-title .w:nth-child(7) > span { animation-delay: .75s; }
.hero-title .w:nth-child(n+8) > span { animation-delay: .85s; }
.hero .eyebrow, .hero .lead, .hero-actions { opacity: 0; animation: fadeUp .9s var(--ease) forwards; }
.hero .eyebrow { animation-delay: .05s; }
.hero .lead { animation-delay: .7s; }
.hero-actions { animation-delay: .9s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-actions--center { justify-content: center; }
.hero-ball { position: absolute; right: clamp(6%, 11vw, 16%); bottom: 20%; width: 64px; height: 280px; pointer-events: none; z-index: 1; }
.ball { position: absolute; left: 0; top: 0; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #f0f68a, var(--lime) 45%, #aebd24); box-shadow: 0 18px 30px -10px rgba(0, 0, 0, .4); animation: bounce 2.6s infinite; }
.ball::before, .ball::after { content: ''; position: absolute; top: 8%; bottom: 8%; width: 46%; border: 2.5px solid rgba(255, 255, 255, .8); border-radius: 50%; }
.ball::before { left: -28%; clip-path: inset(0 0 0 52%); }
.ball::after { right: -28%; clip-path: inset(0 52% 0 0); }
.ball-shadow { position: absolute; left: 6px; bottom: 0; width: 52px; height: 10px; border-radius: 50%; background: rgba(0, 0, 0, .35); filter: blur(5px); animation: shadow 2.6s infinite; }
.hero-scroll { position: absolute; left: 50%; bottom: 1.8rem; width: 26px; height: 44px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--lime); animation: scrollDot 1.8s infinite; }

@keyframes wordUp { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1%, 1%); } }
@keyframes bounce {
  0% { transform: translateY(0) scale(1, 1); animation-timing-function: cubic-bezier(.3, 0, .8, .4); }
  42% { transform: translateY(210px) scale(1, 1); animation-timing-function: ease-out; }
  47% { transform: translateY(214px) scale(1.18, .8); animation-timing-function: ease-out; }
  52% { transform: translateY(210px) scale(1, 1); animation-timing-function: cubic-bezier(.2, .6, .4, 1); }
  100% { transform: translateY(0) scale(1, 1); }
}
@keyframes shadow { 0%, 100% { transform: scaleX(.4); opacity: .15; } 45% { transform: scaleX(1.15); opacity: .55; } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--green { background: radial-gradient(ellipse 60% 50% at 90% 0, rgba(47, 138, 92, .35), transparent 70%), linear-gradient(170deg, var(--g-800), var(--g-900)); color: var(--white); }
.section--dark { background: radial-gradient(ellipse 60% 60% at 0 100%, rgba(26, 86, 56, .6), transparent 70%), var(--g-950); color: var(--white); }
.section--form { background: radial-gradient(ellipse 50% 70% at 100% 0, rgba(47, 138, 92, .4), transparent 70%), linear-gradient(165deg, var(--g-900), var(--g-950)); color: var(--white); }
.section-head { max-width: 46rem; margin: 0 0 clamp(2.5rem, 5vw, 4.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-bottom: .35em; }

.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .reveal:not(.is-in) { opacity: 0; transform: translateY(34px); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* stats */
.stats { background: var(--g-900); color: var(--white); padding: clamp(2.8rem, 5vw, 4.2rem) 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 2rem 1rem; }
.stat { text-align: center; position: relative; padding: .4rem 1rem; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(255, 255, 255, .14); }
.stat-num { display: block; font: 600 clamp(2.6rem, 5.2vw, 4.4rem)/1 var(--f-head); color: var(--lime); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-lab { display: block; margin-top: .7rem; font: 600 .95rem/1.3 var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.stats--compact { padding: 2.6rem 0; }

/* split */
.split { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.split--center { align-items: center; }
.split-text .btn { margin-top: .8rem; }
.split-media { position: relative; }
.frame { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow); background: var(--g-800); }
.frame img, .frame .art, .act-media img, .act-media .art, .uni-media img, .uni-media .art, .space-media img, .space-media .art, .news-media img, .news-media .art, .gal-item img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--small { position: absolute; width: 46%; aspect-ratio: 1; left: -10%; bottom: -9%; border: 8px solid var(--cream); border-radius: var(--r); }
.intro .split-media { padding: 0 0 9% 10%; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1.2rem; margin: 2rem 0 0; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; gap: .15rem; }
.facts strong { font: 600 2.1rem/1 var(--f-head); color: var(--g-700); }
.facts span { font: 600 .9rem/1.3 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* art fallbacks */
.art { display: block; width: 100%; height: 100%; }
.art .a-bg { fill: var(--g-700); }
.art .a-l { fill: none; stroke: rgba(255, 255, 255, .78); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art .a-arc { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 5 7; }
.art .a-ball { fill: var(--lime); }
.art .a-shuttle { fill: var(--white); }

/* univers */
.uni-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.9rem, 1.6vw, 1.5rem); }
.uni-grid > .uni { grid-column: span 2; }
.uni-grid > .uni:nth-child(-n+2) { grid-column: span 3; }
.uni-grid--3 { grid-template-columns: repeat(3, 1fr); }
.uni-grid--3 > .uni, .uni-grid--3 > .uni:nth-child(-n+2) { grid-column: auto; }
.uni { position: relative; display: block; min-height: 340px; border-radius: var(--r); overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; background: var(--g-800); }
.uni:nth-child(-n+2) { min-height: 460px; }
.uni-grid--3 > .uni { min-height: 340px; }
.uni-media { position: absolute; inset: 0; z-index: -2; }
.uni-media img, .uni-media .art { transition: transform 1.1s var(--ease); }
.uni::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 36, 23, 0) 30%, rgba(10, 36, 23, .88) 100%); transition: background .5s; }
.uni:hover .uni-media img, .uni:hover .uni-media .art { transform: scale(1.07); }
.uni:hover::after { background: linear-gradient(180deg, rgba(10, 36, 23, .15) 0%, rgba(10, 36, 23, .94) 100%); }
.uni-body { position: absolute; inset: auto 0 0 0; padding: 1.6rem 1.8rem; }
.uni-eyebrow { display: block; font: 600 .85rem/1 var(--f-label); letter-spacing: .26em; text-transform: uppercase; color: var(--lime); margin-bottom: .6rem; }
.uni-title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: 0 0 .4rem; color: var(--white); }
.uni-text { margin: 0; max-width: 26em; color: rgba(255, 255, 255, .82); font-size: .98rem; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.uni:hover .uni-text, .uni:focus-visible .uni-text { max-height: 8em; opacity: 1; margin-bottom: .6rem; }
.uni-go { position: absolute; right: 1.5rem; top: -3.2rem; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--g-950); transform: translateY(8px) rotate(-45deg); opacity: 0; transition: .4s var(--ease); }
.uni:hover .uni-go { opacity: 1; transform: none; }
.uni-body { position: absolute; }

/* activités */
.act-list { display: grid; gap: clamp(3.5rem, 7vw, 6.5rem); }
.act { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.act--rev .act-media { order: 2; }
.act-media { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .55); background: var(--g-700); }
.act-stat { display: flex; align-items: baseline; gap: .8rem; margin: 0 0 .8rem; }
.act-stat-num { font: 600 clamp(3.4rem, 7vw, 6rem)/.9 var(--f-head); color: var(--lime); letter-spacing: -.03em; }
.act-stat-lab { font: 600 1rem/1.2 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.act-stat--dark .act-stat-num { color: var(--g-600); }
.act-stat--dark .act-stat-lab { color: var(--muted); }
.act-title { font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--white); margin-bottom: .3em; }
.act-tag { font-size: 1.18rem; color: rgba(255, 255, 255, .85); max-width: 28em; }
.act-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.act--light .act-title { color: var(--g-800); }
.act--light .act-tag { color: var(--muted); }
.act--light .act-media { box-shadow: var(--shadow); }
.act-list--light { gap: clamp(3.5rem, 6vw, 6rem); }

/* galerie */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(190px, 22vw, 290px); gap: clamp(.7rem, 1.4vw, 1.2rem); margin-bottom: 3rem; }
.gal-item { position: relative; padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--g-800); cursor: zoom-in; }
.gal-item:nth-child(5n+1) { grid-row: span 2; }
.gal-item:nth-child(5n+4) { grid-column: span 2; }
.gal-item img { transition: transform 1s var(--ease), filter .4s; }
.gal-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10, 36, 23, .5)); opacity: 0; transition: opacity .4s; }
.gal-item:hover img { transform: scale(1.06); }
.gal-item:hover::after { opacity: 1; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1400px); max-height: 94vh; margin: auto; overflow: visible; color: var(--white); }
.lightbox::backdrop { background: rgba(6, 20, 13, .94); backdrop-filter: blur(8px); }
.lightbox figure { margin: 0; }
.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: var(--r-sm); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7); }
.lightbox figcaption { text-align: center; padding-top: .9rem; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.lb-btn { position: fixed; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: rgba(10, 36, 23, .6); color: var(--white); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.lb-btn:hover { background: var(--lime); color: var(--g-950); border-color: var(--lime); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; margin-top: -26px; }
.lb-next { right: 20px; top: 50%; margin-top: -26px; }
.lb-prev .ico { transform: rotate(180deg); }

/* carte */
.carte-teaser { overflow: hidden; }
.signature { display: grid; gap: 1.4rem; padding: 2.4rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.signature li { padding-bottom: 1.2rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.signature li:last-child { border: 0; padding: 0; }
.signature .carte-name { color: var(--white); font-family: var(--f-head); font-size: 1.35rem; }
.signature .carte-price { color: var(--lime); }
.signature .carte-desc { color: rgba(255, 255, 255, .7); }
.signature-cat { display: block; margin-top: .4rem; font: 600 .8rem/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--lime); opacity: .85; }

.carte-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 auto 3rem; padding: .4rem; width: fit-content; max-width: 100%; background: var(--cream); border-radius: 999px; border: 1px solid var(--line); }
.carte-tab { padding: .8rem 1.6rem; border: 0; border-radius: 999px; background: transparent; font: 700 .9rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: background .3s, color .3s; }
.carte-tab:hover { color: var(--g-800); }
.carte-tab.is-active { background: var(--g-800); color: var(--white); }
.carte-panel { display: none; }
html:not(.js) .carte-panel { display: block; margin-bottom: 3rem; }
.carte-panel.is-active { display: block; animation: fadeUp .6s var(--ease); }
.carte-intro { text-align: center; max-width: 36em; margin: 0 auto 2.6rem; color: var(--muted); font-size: 1.1rem; }
.carte-cols { column-count: 2; column-gap: clamp(2.5rem, 6vw, 5.5rem); }
.carte-cat { break-inside: avoid; margin-bottom: 3rem; }
.carte-cat-title { font-size: 1.9rem; color: var(--g-800); margin: 0 0 .2em; padding-bottom: .5rem; border-bottom: 1.5px solid var(--g-700); display: flex; align-items: center; gap: .8rem; }
.carte-cat-title::after { content: ''; flex: none; width: 14px; height: 14px; margin-left: auto; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--g-700); }
.carte-cat-sub { color: var(--muted); font-style: italic; margin: .5rem 0 0; }
.carte-list { margin-top: 1.3rem; display: grid; gap: 1.25rem; }
.carte-line { display: flex; align-items: baseline; gap: .7rem; }
.carte-name { font: 700 1.04rem/1.3 var(--f-body); color: var(--ink); letter-spacing: .01em; }
.carte-dots { flex: 1; min-width: 1.5rem; border-bottom: 1.5px dotted rgba(16, 32, 26, .3); transform: translateY(-.28em); }
.signature .carte-dots { border-color: rgba(255, 255, 255, .3); }
.carte-price { font: 600 1.15rem/1 var(--f-head); color: var(--g-700); white-space: nowrap; font-variant-numeric: tabular-nums; }
.carte-desc { margin: .25rem 0 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.carte-tags { margin: .3rem 0 0; font: 600 .78rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--g-600); }
.carte-foot { text-align: center; margin-top: 1rem; color: var(--muted); font-size: .9rem; font-style: italic; }
.empty-state { color: var(--muted); font-size: 1.15rem; padding: 3rem 0; }
.empty-state .ico { width: 3rem; height: 3rem; color: var(--g-600); margin: 0 auto 1rem; }

/* bandeau */
.band { background: var(--g-800); color: var(--white); text-align: center; overflow: hidden; isolation: isolate; padding: clamp(5rem, 11vw, 9rem) 0; }
.band-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 90% at 50% 120%, rgba(47, 138, 92, .5), transparent 70%), linear-gradient(180deg, var(--g-800), var(--g-900)); }
.band-bg .court-bg { color: rgba(255, 255, 255, .13); }
.band-bg .cb-arc { stroke-opacity: .3; }
.hero--home .court-bg { inset: calc(var(--header-h) + .5rem) 0 auto 0; height: 46%; }
.hero--home .cb-arc { stroke-opacity: .8; }
.hero--page .cb-arc { stroke-opacity: .32; }
.hero--page .court-bg { color: rgba(255, 255, 255, .14); }
p.note { margin-top: 2.2rem; }
.band-in .section-lead { margin-inline: auto; margin-bottom: 2rem; }
.band-in .h2 { max-width: 16em; margin-inline: auto; }
.band-in .eyebrow { justify-content: center; }

/* témoignages */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.6rem; }
.quote { position: relative; margin: 0; padding: 2.2rem 2rem 1.9rem; background: var(--cream); border-radius: var(--r); display: flex; flex-direction: column; gap: 1.4rem; border: 1px solid var(--line); }
.quote-ico { width: 2.4rem; height: 2.4rem; color: var(--g-600); opacity: .5; stroke-width: 1.4; }
.quote blockquote { font: 500 1.2rem/1.55 var(--f-head); color: var(--g-900); font-style: italic; }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .92rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); font-size: 1rem; }

/* actus */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 2rem; }
.news-card { display: block; text-decoration: none; }
.news-media { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; margin-bottom: 1.2rem; background: var(--g-700); }
.news-media img, .news-media .art { transition: transform 1s var(--ease); }
.news-card:hover .news-media img, .news-card:hover .news-media .art { transform: scale(1.06); }
.news-date { font: 600 .85rem/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--g-600); margin: 0 0 .6rem; }
.news-card h3 { font-size: 1.55rem; color: var(--g-800); margin-bottom: .4rem; transition: color .2s; }
.news-card:hover h3 { color: var(--g-500); }
.news-card p:last-child { color: var(--muted); margin: 0; font-size: .98rem; }
.article-img { margin: 0 0 2.5rem; }
.article-cta { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.article { padding-top: calc(var(--header-h) + 4rem); }

/* infos pratiques */
.infos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 2.4rem; }
.info-card { padding: 2.2rem 2rem; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); }
.info-card h3 { display: flex; align-items: center; gap: .7rem; font-size: 1.4rem; color: var(--g-800); margin-bottom: 1.1rem; }
.info-card h3 .ico { color: var(--g-600); }
.info-card--app { background: var(--g-800); color: var(--white); border: 0; }
.info-card--app h3 { color: var(--white); }
.info-card--app h3 .ico { color: var(--lime); }
.info-card--app .btn--green { --bg: var(--lime); --fg: var(--g-950); --bd: var(--lime); }
.info-card--app .btn--outline-dark { --fg: var(--white); --bd: rgba(255, 255, 255, .5); }
.info-card--app .btn--outline-dark:hover { --bg: var(--white); --fg: var(--g-900); }
.store { display: flex; flex-wrap: wrap; gap: .6rem; }
.foot-sub { font: 600 .82rem/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--g-600); margin: 1.1rem 0 .5rem; }
.hours { margin: 0; display: grid; gap: .35rem; }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .96rem; padding-bottom: .35rem; border-bottom: 1px dashed var(--line); }
.hours dt { font-weight: 600; }
.hours dt, .hours dd { white-space: nowrap; }
.hours dd { margin: 0; color: var(--muted); text-align: right; }
.map { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); background: var(--cream-2); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(.7) contrast(1.05); }

/* features, formules, espaces, process */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.feat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feat { padding: 2.2rem 2rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.section--white .feat { background: var(--cream); }
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: transparent; }
.feat-ico { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.4rem; border-radius: 50%; background: var(--g-800); color: var(--lime); transition: transform .5s var(--ease), background .3s; }
.feat-ico .ico { width: 26px; height: 26px; }
.feat:hover .feat-ico { transform: rotate(-8deg) scale(1.08); background: var(--g-700); }
.feat h3 { font-size: 1.35rem; color: var(--g-800); }
.feat p { margin: 0; color: var(--muted); font-size: .98rem; }

.ticks { display: grid; gap: .65rem; margin: 1.4rem 0; }
.ticks li { display: flex; gap: .75rem; align-items: flex-start; font-size: .98rem; }
.ticks .ico { margin-top: .2em; color: var(--g-600); width: 1.15em; height: 1.15em; padding: 3px; border-radius: 50%; background: rgba(35, 112, 73, .14); }
.section--green .ticks .ico, .pack .ticks .ico { color: var(--g-950); background: var(--lime); }
.meta-row { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 1.2rem 0; font-weight: 600; color: var(--g-700); }
.meta-row span { display: inline-flex; align-items: center; gap: .5rem; }

.space-list { display: grid; gap: clamp(3rem, 6vw, 5.5rem); }
.space { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.space--rev .space-media { order: 2; }
.space-media { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--g-700); }

.pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; padding: 2.4rem 2.1rem; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); transition: transform .4s var(--ease), background .3s; }
.pack:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); }
.pack h3 { font-size: 1.7rem; color: var(--white); margin-bottom: .2em; }
.pack-sub { font: 600 .9rem/1.3 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--lime); margin-bottom: 1rem; }
.pack-price { font: 600 1.35rem/1.2 var(--f-head); color: var(--white); margin: 0 0 .8rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.pack-desc { color: rgba(255, 255, 255, .78); font-size: .98rem; }
.pack .ticks { flex: 1; color: rgba(255, 255, 255, .9); }
.pack .btn { align-self: flex-start; }
.pack--hi { background: var(--white); color: var(--ink); border-color: var(--white); transform: translateY(-14px); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6); }
.pack--hi:hover { background: var(--white); transform: translateY(-20px); }
.pack--hi h3 { color: var(--g-800); }
.pack--hi .pack-sub { color: var(--g-600); }
.pack--hi .pack-price { color: var(--g-700); border-color: var(--line); }
.pack--hi .pack-desc { color: var(--muted); }
.pack--hi .ticks { color: var(--ink); }
.pack--hi .btn--lime { --bg: var(--g-800); --fg: var(--white); --bd: var(--g-800); }
.pack-badge { position: absolute; top: -13px; left: 2.1rem; padding: .45rem 1rem; border-radius: 999px; background: var(--lime); color: var(--g-950); font: 700 .8rem/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; }

.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2.4rem; counter-reset: tl; }
.timeline li { position: relative; }
.timeline li:not(:last-child)::before { content: ''; position: absolute; top: 28px; left: 74px; right: -1.2rem; border-top: 1.5px dashed rgba(26, 86, 56, .4); }
.tl-num { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.3rem; border-radius: 50%; background: var(--g-800); color: var(--lime); font: 600 1.5rem/1 var(--f-head); box-shadow: 0 0 0 7px rgba(26, 86, 56, .12); }
.timeline h3 { font-size: 1.3rem; color: var(--g-800); }
.timeline p { color: var(--muted); font-size: .98rem; margin: 0; }

/* tarifs */
.tariffs { max-width: 620px; margin: 2.4rem auto 1.5rem; display: grid; gap: 1.1rem; }
.tariff { display: flex; align-items: baseline; gap: .8rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.tariff-name { font: 600 1.6rem/1 var(--f-head); color: var(--g-800); }
.tariff-price { font: 600 1.05rem/1.2 var(--f-body); color: var(--g-700); text-align: right; }
.tariff .carte-dots { flex: 1; }

/* side card */
.side-card { padding: 2.2rem; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); margin-bottom: 1.6rem; }
.side-price { font: 600 1.7rem/1.2 var(--f-head); color: var(--g-800); margin-bottom: .4rem; }

/* faq */
.faq { display: grid; gap: .9rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem 1.6rem; font: 600 1.15rem/1.35 var(--f-head); color: var(--g-800); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { width: 1.5rem; height: 1.5rem; padding: 4px; border-radius: 50%; background: var(--g-800); color: var(--lime); transition: transform .4s var(--ease); }
.faq-item[open] .faq-ico { transform: rotate(135deg); }
.faq-item .prose { padding: 0 1.6rem 1.4rem; max-width: none; }

/* formulaires */
.form-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.form-side { position: sticky; top: 110px; }
.side-list { display: grid; gap: 1rem; margin-top: 2rem; }
.side-list li { display: flex; align-items: flex-start; gap: .9rem; color: rgba(255, 255, 255, .88); }
.side-list .ico { color: var(--lime); margin-top: .25em; }
.side-list a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.side-list a:hover { border-color: var(--lime); }
.form-card { background: var(--white); color: var(--ink); border-radius: 24px; padding: clamp(1.6rem, 4vw, 3rem); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7); }
.form-card--light { background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); }
.steps { display: flex; align-items: center; gap: .6rem; margin: 0 0 2rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); counter-reset: st; }
.steps li { position: relative; display: flex; align-items: center; gap: .6rem; font: 700 .85rem/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); flex: 1; }
.steps li:not(:last-child)::after { content: ''; flex: 1; height: 1.5px; margin: 0 .3rem; background: var(--line); }
.steps li span { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); font: 600 1rem/1 var(--f-head); letter-spacing: 0; transition: .35s var(--ease); }
.steps li.is-active { color: var(--g-800); }
.steps li.is-active span { background: var(--g-800); border-color: var(--g-800); color: var(--lime); transform: scale(1.1); }
.steps li.is-done { color: var(--g-600); }
.steps li.is-done span { background: var(--lime); border-color: var(--lime); color: var(--g-950); }
.steps li.is-done::after { background: var(--g-600); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
html.js .is-steps .step:not(.is-active) { display: none; }
html.js .is-steps .step.is-active { animation: stepIn .5s var(--ease); }
html:not(.js) [data-next], html:not(.js) [data-prev] { display: none; }
html:not(.js) .step + .step { margin-top: 2rem; padding-top: 2rem; border-top: 1px dashed var(--line); }
@keyframes stepIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.25rem; min-width: 0; }
.grid2 > .field { margin-bottom: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .label { font: 700 .88rem/1.2 var(--f-body); color: var(--g-800); letter-spacing: .01em; }
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1.05rem; border: 1.5px solid rgba(16, 32, 26, .18); border-radius: var(--r-sm); background: var(--white); color: var(--ink);
  font: 500 1rem/1.4 var(--f-body); transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5638' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.2rem; padding-right: 2.7rem; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(16, 32, 26, .35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--g-600); box-shadow: 0 0 0 4px rgba(35, 112, 73, .16); }
.field [aria-invalid="true"], .field .is-invalid { border-color: var(--err); box-shadow: 0 0 0 4px rgba(179, 38, 30, .1); }
.field-err { margin: 0; color: var(--err); font-size: .84rem; font-weight: 600; }
.form-alert { padding: 1rem 1.2rem; margin: 0 0 1.6rem; border-radius: var(--r-sm); background: #fdecea; border: 1px solid rgba(179, 38, 30, .3); color: var(--err); font-weight: 600; font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip-check { position: relative; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.chip-check span { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.1rem; border-radius: 999px; border: 1.5px solid rgba(16, 32, 26, .2); font-weight: 600; font-size: .92rem; color: var(--ink); transition: .25s var(--ease); }
.chip-check:hover span { border-color: var(--g-600); transform: translateY(-1px); }
.chip-check input:checked + span { background: var(--g-800); border-color: var(--g-800); color: var(--white); }
.chip-check input:checked + span::before { content: ''; width: .45rem; height: .45rem; border-radius: 50%; background: var(--lime); }
.chip-check input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; box-shadow: 0 0 0 5px var(--g-800); }
.check { display: flex; align-items: flex-start; gap: .8rem; margin: 1.6rem 0 .4rem; font-size: .88rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 1.3rem; height: 1.3rem; margin: .1rem 0 0; accent-color: var(--g-700); cursor: pointer; }
.check--inline { margin: .4rem 0 0; font-size: .85rem; }
.check.has-err { color: var(--err); }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.step-nav .btn:only-child { margin-left: auto; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-info { display: grid; gap: 1.4rem; }
.contact-info .info-card { padding: 1.7rem; }
.thanks { padding-top: calc(var(--header-h) + 5rem); min-height: 80vh; display: grid; align-items: center; background: var(--cream); }
.thanks-ico { display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 2rem; border-radius: 50%; background: var(--g-800); color: var(--lime); box-shadow: 0 0 0 12px rgba(26, 86, 56, .12); animation: pop .8s var(--ease); }
.thanks-ico .ico { width: 44px; height: 44px; stroke-width: 2; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.err-code { font: 600 clamp(6rem, 18vw, 12rem)/1 var(--f-head); color: transparent; -webkit-text-stroke: 2px var(--g-700); margin: 0; letter-spacing: -.04em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--g-950); color: rgba(255, 255, 255, .78); padding: clamp(4rem, 7vw, 6rem) 0 2rem; font-size: .98rem; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-brand p { max-width: 24em; margin: 1.4rem 0; }
.foot-title { font: 600 .9rem/1 var(--f-label); letter-spacing: .28em; text-transform: uppercase; color: var(--lime); margin: 0 0 1.4rem; font-family: var(--f-label); }
.site-footer .foot-sub { color: rgba(255, 255, 255, .55); margin-top: 1rem; }
.foot-links { display: grid; gap: .7rem; }
.foot-links a, .foot-contact, .foot-bottom a { text-decoration: none; transition: color .2s; }
.foot-links a:hover, .foot-contact:hover, .foot-bottom a:hover { color: var(--lime); }
.foot-contact { display: inline-flex; align-items: center; gap: .6rem; }
.site-footer .hours > div { border-color: rgba(255, 255, 255, .12); font-size: .9rem; }
.site-footer .hours dd { color: rgba(255, 255, 255, .6); }
.socials { display: flex; gap: .6rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); transition: .3s var(--ease); }
.socials a:hover { background: var(--lime); border-color: var(--lime); color: var(--g-950); transform: translateY(-3px); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.8rem; font-size: .88rem; color: rgba(255, 255, 255, .55); }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: 1.6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .uni-grid { grid-template-columns: repeat(2, 1fr); }
  .uni-grid > .uni, .uni-grid > .uni:nth-child(-n+2) { grid-column: auto; min-height: 380px; }
  .uni-grid > .uni:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .uni-text { max-height: 8em; opacity: 1; margin-bottom: .6rem; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0; z-index: 110; flex-direction: column; justify-content: center; align-items: stretch; gap: 2rem; padding: 6rem clamp(24px, 8vw, 70px) 3rem; background: radial-gradient(ellipse 80% 60% at 100% 0, rgba(47, 138, 92, .5), transparent 70%), var(--g-950); opacity: 0; visibility: hidden; transform: translateY(-14px); transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s .5s; overflow-y: auto; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .5s var(--ease); }
  .nav ul { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .nav-link, body.is-solid .nav-link, body.is-scrolled .nav-link { color: var(--white); font: 500 clamp(2rem, 8vw, 3rem)/1.15 var(--f-head); padding: .45rem 0; }
  .nav-link::after { display: none; }
  .nav-cta, body.is-solid .nav-cta, body.is-scrolled .nav-cta { margin: .6rem 0 0; --fg: var(--white); --bd: rgba(255, 255, 255, .6); font-size: 1rem; padding: .9rem 1.6rem; }
  .nav-book { align-self: flex-start; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.nav-open .brand-dark { display: none; }
  body.nav-open .brand-light { display: block; position: relative; z-index: 120; }
  .split, .act, .space, .form-wrap, .contact-grid { grid-template-columns: 1fr; }
  .act--rev .act-media, .space--rev .space-media { order: 0; }
  .form-side { position: static; }
  .infos-grid, .feat-grid--3 { grid-template-columns: 1fr; }
  .pack--hi, .pack--hi:hover { transform: none; }
  .intro .split-media { padding: 0 0 8% 8%; }
  .carte-cols { column-count: 1; }
  .hero-ball { right: 6%; bottom: 24%; transform: scale(.7); transform-origin: top right; }
}
@media (max-width: 720px) {
  :root { --header-h: 72px; }
  body { font-size: 1rem; }
  .logo-main { font-size: 1.6rem; }
  .logo-mark { width: 44px; }
  .logo-img { height: 52px; }
  .site-footer .logo-img { height: 84px; }
  .hero--home { padding-bottom: 6rem; }
  .hero-ball { display: none; }
  .uni-grid, .uni-grid--3 { grid-template-columns: 1fr; }
  .uni-grid > .uni:last-child:nth-child(odd) { grid-column: auto; }
  .uni, .uni:nth-child(-n+2), .uni-grid > .uni, .uni-grid > .uni:nth-child(-n+2) { min-height: 320px; }
  .gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gal-item:nth-child(5n+4) { grid-column: auto; }
  .grid2 { grid-template-columns: 1fr; }
  .steps li { font-size: 0; gap: 0; }
  .steps li span { font-size: 1rem; }
  .steps li.is-active { font-size: .8rem; gap: .5rem; flex: 2; }
  .stat + .stat::before { display: none; }
  .foot-top { grid-template-columns: 1fr; gap: 2.4rem; }
  .map iframe { height: 320px; }
  .timeline li:not(:last-child)::before { display: none; }
  .frame--small { left: -4%; width: 40%; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-close { top: 10px; right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .w > span { transform: none; }
  .hero .eyebrow, .hero .lead, .hero-actions { opacity: 1; }
  .cb-lines > *, .cb-arc { stroke-dashoffset: 0; }
  html.js .reveal:not(.is-in) { opacity: 1; transform: none; }
  .hero-ball { display: none; }
}
