/* ==========================================================================
   Emilien Briquet — Ostéopathe du sport à Douai
   ========================================================================== */

:root {
  --c-ink: #10282a;
  --c-ink-soft: #4a5f61;
  --c-primary: #0f3d3e;
  --c-primary-600: #155254;
  --c-accent: #5fb3a1;
  --c-accent-soft: #dff1ec;
  --c-honey: #ee9a2e;
  --c-sand: #f6f2ea;
  --c-bg: #fcfbf8;
  --c-surface: #ffffff;
  --c-line: #e4e2db;
  --c-ok: #15803d;
  --c-closed: #b4321f;

  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Fraunces", Georgia, serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(16 40 42 / .06), 0 2px 8px rgb(16 40 42 / .05);
  --shadow-md: 0 10px 30px -10px rgb(16 40 42 / .18);
  --shadow-lg: 0 30px 60px -20px rgb(16 40 42 / .28);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 600; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; margin-top: 2.5rem; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--c-primary); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; flex: none; }

.section-title { font-family: var(--f-serif); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.01em; }
.section-sub, .lead { color: var(--c-ink-soft); font-size: 1.15rem; }
.link { color: var(--c-primary-600); font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease-out); }
.link:hover { background-size: 100% 2px; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.1; text-align: center;
  transition: transform .3s var(--ease-out), background-color .25s, color .25s, border-color .25s, box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease-out); }
.btn:hover svg[aria-hidden] { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: 0 8px 20px -8px rgb(15 61 62 / .55); }
.btn-primary:hover { background: var(--c-primary-600); box-shadow: 0 14px 28px -10px rgb(15 61 62 / .6); }
.btn-ghost { border-color: var(--c-line); background: var(--c-surface); }
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-accent { background: var(--c-accent); color: var(--c-primary); }
.btn-accent:hover { background: #fff; }
.btn-outline-light { border-color: rgb(255 255 255 / .4); color: #fff; }
.btn-outline-light:hover { background: rgb(255 255 255 / .1); border-color: #fff; }
.btn-sm { padding: .6rem 1.1rem; font-size: .92rem; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.05rem; }

/* ---------- Barre de progression ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--c-accent), var(--c-primary));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; flex-direction: column; justify-content: center;
  transition: background-color .35s, box-shadow .35s, height .35s var(--ease-out), transform .45s var(--ease-out);
}
.site-header.is-scrolled {
  --header-h: 64px;
  height: 64px;
  background: rgb(252 251 248 / .85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--c-line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--c-primary); }
.brand-mark { width: 38px; height: 38px; flex: none; color: var(--c-primary); transition: transform .6s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-12deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--f-serif); font-weight: 600; font-size: 1.2rem; }
.brand-text small { font-size: .78rem; color: var(--c-ink-soft); }

.nav { margin-left: auto; }
.nav-list { display: flex; gap: .1rem; }
.nav-list a {
  position: relative; display: block; padding: .5rem .7rem; border-radius: 999px;
  font-size: .93rem; font-weight: 500; color: var(--c-ink-soft); transition: color .2s;
}
.nav-list a::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 2px;
  background: var(--c-accent); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--c-primary); }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--c-primary); border-radius: 2px; transition: transform .35s var(--ease-out), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; padding: 1rem 1.25rem 1.75rem;
  background: var(--c-bg); box-shadow: var(--shadow-lg);
  display: grid; gap: 1.25rem; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { display: grid; }
.mobile-menu a:not(.btn) { display: block; padding: .8rem 0; font-size: 1.2rem; font-family: var(--f-serif); border-bottom: 1px solid var(--c-line); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 3.5rem) 0 4rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob-1 { width: 560px; height: 560px; right: -120px; top: -80px; background: radial-gradient(circle at 30% 30%, var(--c-accent-soft), #bfe3d9 60%, transparent 70%); }
.blob-2 { width: 420px; height: 420px; left: -160px; bottom: -60px; background: radial-gradient(circle, #f3e3c4, transparent 70%); }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero-title {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(2.7rem, 6.4vw, 4.9rem); line-height: 1.03; letter-spacing: -.02em; margin-bottom: 1.4rem;
}
.hero-title em { font-style: italic; color: var(--c-accent); }
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; }
.hero-title .word > span { display: inline-block; }
.lead { max-width: 35rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.status-pill, .open-status { display: inline-flex; align-items: center; gap: .55rem; font-size: .95rem; font-weight: 500; }
.status-pill { margin: 1.6rem 0 0; padding: .45rem 1rem; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-surface); }
.status-pill .dot, .open-status .dot { width: .65rem; height: .65rem; border-radius: 50%; background: var(--c-ink-soft); flex: none; }
.is-open .dot { background: var(--c-ok); animation: ping 2.2s ease-out infinite; }
.is-closed .dot { background: var(--c-closed); }
.open-status { margin: .9rem 0 0; }
.open-status.is-open { color: var(--c-ok); }
.open-status.is-closed { color: var(--c-closed); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(21 128 61 / .5); } 70%, 100% { box-shadow: 0 0 0 .55rem rgb(21 128 61 / 0); } }

/* Collage de photos */
.hero-visual { perspective: 1200px; }
.collage {
  position: relative; width: 100%; max-width: 520px; margin-left: auto; aspect-ratio: 1 / 1.08;
  transform-style: preserve-3d; transition: transform .5s var(--ease-out);
}
.photo { position: absolute; padding: .45rem; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.photo picture { display: block; height: 100%; }
.photo-main { left: 0; top: 4%; width: 58%; aspect-ratio: 2 / 3; transform: rotate(-2deg) translateZ(30px); z-index: 2; }
.photo-main img { object-position: 50% 15%; }
.photo-b { right: 0; top: 0; width: 46%; aspect-ratio: 4 / 3; transform: rotate(3deg); }
.photo-c { right: 2%; bottom: 0; width: 46%; aspect-ratio: 5 / 6; transform: rotate(-1.5deg); }
.photo-c img { object-position: 50% 55%; }

.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: .7rem;
  padding: .75rem 1rem; border-radius: 16px; background: rgb(255 255 255 / .94);
  backdrop-filter: blur(8px); box-shadow: var(--shadow-md); font-size: .88rem; line-height: 1.3;
  transform: translateZ(70px); animation: float 6s ease-in-out infinite;
}
.float-chip strong { display: block; font-size: .95rem; }
.float-chip small { color: var(--c-ink-soft); }
.chip-1 { left: -6%; bottom: 10%; }
.chip-2 { right: -4%; top: 38%; animation-delay: -3s; transition: box-shadow .3s; }
.chip-2:hover { box-shadow: var(--shadow-lg); }
.chip-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--c-primary); color: #fff; }
.chip-icon svg { width: 20px; height: 20px; }
.rating, .stars { display: inline-flex; gap: 1px; color: #e0a526; }
.rating svg, .stars svg { width: 14px; height: 14px; }
@keyframes float { 50% { translate: 0 -10px; } }

.stats {
  margin: 4rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.stats > div { padding: 1.5rem 1.75rem; display: flex; flex-direction: column-reverse; }
.stats > div + div { border-left: 1px solid var(--c-line); }
.stats dt { color: var(--c-ink-soft); font-size: .9rem; line-height: 1.4; }
.stats dd { margin: 0; font-family: var(--f-serif); font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--c-primary); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 1.3rem 0; background: var(--c-primary); color: #d7ece6; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--f-serif); font-size: 1.35rem; padding: 0 1.6rem; display: inline-flex; align-items: center; gap: 3.2rem; white-space: nowrap; }
.marquee span::after { content: "✦"; font-size: .8rem; color: var(--c-accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7rem) 0; position: relative; }
.section-tint { background: var(--c-sand); }
.section-dark { background: var(--c-primary); color: #e9f3f0; }
.section-dark .section-title { color: #fff; }
.section-dark .section-sub { color: #b9d6cf; }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 3.25rem; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.fine { margin: 2rem auto 0; max-width: 46rem; text-align: center; font-size: .95rem; color: var(--c-ink-soft); }

/* ---------- Cartes ---------- */
.publics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  position: relative; padding: 1.9rem; border-radius: var(--radius); background: var(--c-surface);
  border: 1px solid var(--c-line); overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgb(95 179 161 / .16), transparent 70%);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card h3 { font-family: var(--f-serif); font-weight: 600; font-size: 1.4rem; }
.card p { margin: 0; color: var(--c-ink-soft); }
.card-lg { padding: 2.2rem 2rem; }
.card-icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.25rem; border-radius: 16px;
  background: var(--c-accent-soft); color: var(--c-primary); transition: transform .5s var(--ease-out), background-color .3s, color .3s;
}
.card-icon svg { width: 27px; height: 27px; }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); background: var(--c-primary); color: #fff; }

.feature-icon {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--c-accent-soft); color: var(--c-primary);
}
.feature-icon svg { width: 24px; height: 24px; }

/* ---------- Onglets motifs ---------- */
.tab-list {
  position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem; width: fit-content; max-width: 100%; margin: 0 auto 2rem;
  padding: .35rem; border-radius: 26px; background: var(--c-surface); border: 1px solid var(--c-line);
}
.tab-list::-webkit-scrollbar { display: none; }
.tab-list button {
  position: relative; z-index: 1; border: 0; background: none; padding: .7rem 1.2rem; border-radius: 999px;
  font-weight: 500; color: var(--c-ink-soft); white-space: nowrap; transition: color .3s;
}
.tab-list button[aria-selected="true"] { color: #fff; }
.tab-indicator {
  position: absolute; top: 0; left: 0; width: 0; height: 0; border-radius: 999px;
  background: var(--c-primary); transition: transform .5s var(--ease-out), width .5s var(--ease-out), height .5s var(--ease-out);
}
html:not(.js) .tab-list button[aria-selected="true"] { background: var(--c-primary); }

.tab-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow-sm);
}
.tab-panel[hidden] { display: none; }
.tab-panel h3 { grid-column: 1 / -1; font-family: var(--f-serif); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.tab-panel.is-entering > * { animation: panelIn .55s var(--ease-out) both; }
.tab-panel.is-entering > *:nth-child(2) { animation-delay: .06s; }
.tab-panel.is-entering > *:nth-child(3) { animation-delay: .12s; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.ticks li { position: relative; padding: .75rem 0 .75rem 2.1rem; border-bottom: 1px solid var(--c-line); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1rem; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--c-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230f3d3e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.panel-side p { color: var(--c-ink-soft); margin-bottom: 1.5rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.timeline-line { position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; background: var(--c-line); }
.timeline-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--c-accent), var(--c-primary)); transform-origin: left; transform: scaleX(var(--progress, 0)); }
.step { position: relative; }
.step-num {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.4rem;
  border-radius: 50%; background: var(--c-bg); border: 2px solid var(--c-line);
  font-family: var(--f-serif); font-weight: 600; color: var(--c-ink-soft);
  transition: background-color .5s, border-color .5s, color .5s, transform .5s var(--ease-out);
}
.step.is-active .step-num { background: var(--c-primary); border-color: var(--c-primary); color: #fff; transform: scale(1.08); }
.step h3 { font-family: var(--f-serif); font-weight: 600; font-size: 1.3rem; }
.step p { color: var(--c-ink-soft); margin: 0; }

/* ---------- Parcours ---------- */
.parcours { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem clamp(2rem, 6vw, 5rem); align-items: start; }
.xp { position: relative; display: grid; gap: 1.75rem; padding-top: .5rem; }
.xp::before { content: ""; position: absolute; left: 9px; top: 1.2rem; bottom: 1.2rem; width: 2px; background: rgb(255 255 255 / .18); }
.xp li { position: relative; display: flex; gap: 1.25rem; }
.xp-dot { flex: none; width: 20px; height: 20px; margin-top: .35rem; border-radius: 50%; border: 3px solid var(--c-accent); background: var(--c-primary); position: relative; z-index: 1; }
.xp-dot.is-now { background: var(--c-accent); box-shadow: 0 0 0 6px rgb(95 179 161 / .25); }
.xp strong { display: block; font-family: var(--f-serif); font-weight: 600; font-size: 1.3rem; color: #fff; margin-bottom: .2rem; }
.xp p { margin: 0; color: #b9d6cf; }

.formations { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgb(255 255 255 / .12); }
.formations-title { font-family: var(--f-serif); font-weight: 600; font-size: 1.5rem; color: #fff; margin-bottom: 1.25rem; }
.formation-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.formation-list li {
  display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.25rem; border-radius: var(--radius);
  background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); transition: background-color .3s, border-color .3s, transform .45s var(--ease-out);
}
.formation-list li:hover { background: rgb(255 255 255 / .1); border-color: var(--c-accent); }
.formation-list strong { display: block; color: #fff; font-size: 1.08rem; }
.formation-list small { color: #b9d6cf; }
.f-badge { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--c-accent); color: var(--c-primary); }
.f-badge svg { width: 20px; height: 20px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; margin-top: 3.5rem; grid-template-areas: "a a b c" "a a d d"; }
.gallery > :nth-child(1) { grid-area: a; }
.gallery > :nth-child(2) { grid-area: b; }
.gallery > :nth-child(3) { grid-area: c; }
.gallery > :nth-child(4) { grid-area: d; }
.g-item { position: relative; border-radius: var(--radius); overflow: hidden; background: #0b2d2e; }
.g-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-btn picture { display: block; height: 100%; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .5s; }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .9rem; pointer-events: none;
  background: linear-gradient(transparent, rgb(6 25 26 / .8)); color: #fff; font-size: .92rem; font-weight: 500;
}

.lightbox {
  width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: #0b2d2e; color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgb(6 20 21 / .85); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox-caption { margin: 0; padding: .9rem 1.2rem; font-size: .95rem; }
.lightbox-close {
  position: absolute; top: .6rem; right: .6rem; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgb(0 0 0 / .45); color: #fff; font-size: 1.6rem; line-height: 1;
}
.lightbox[open] { animation: lbIn .4s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }

/* ---------- Contact (clubs) ---------- */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--radius);
  background: var(--c-surface); border: 1px solid var(--c-line); min-width: 0;
}
.contact-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.contact-card small { color: var(--c-ink-soft); font-size: .82rem; }
.contact-value { font-family: var(--f-serif); font-size: 1.5rem; color: var(--c-primary); line-height: 1.25; }
.contact-mail { font-family: var(--f-sans); font-size: 1.05rem; font-weight: 600; overflow-wrap: anywhere; }
.icon-btn-light {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--c-line);
  background: var(--c-bg); color: var(--c-primary); transition: background-color .25s, transform .3s var(--ease-out);
}
.icon-btn-light:hover { background: var(--c-accent-soft); }
.icon-btn-light:active { transform: scale(.92); }
.icon-btn-light svg { width: 20px; height: 20px; }

/* ---------- Avis ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 1100px; margin: 0 auto; align-items: start; }
.quote { padding: 2rem; border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-line); display: flex; flex-direction: column; transition: transform .45s var(--ease-out), box-shadow .45s; }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.g-label { font-size: .8rem; font-weight: 600; color: var(--c-ink-soft); }
.quote blockquote { margin: 1rem 0 1.5rem; flex: 1; }
.quote blockquote p { margin: 0 0 .8em; font-family: var(--f-serif); font-size: 1.1rem; line-height: 1.55; }
.quote blockquote p:last-child { margin-bottom: 0; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; }
.quote small { display: block; color: var(--c-ink-soft); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.accordion { display: grid; gap: .8rem; }
.accordion details { border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-line); transition: box-shadow .3s, border-color .3s; }
.accordion details[open] { box-shadow: var(--shadow-sm); border-color: var(--c-accent); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem;
  font-weight: 600; cursor: pointer; list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--c-accent-soft); transition: transform .4s var(--ease-out), background-color .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--c-primary); border-radius: 2px; transition: transform .4s var(--ease-out); }
.plus::after { transform: rotate(90deg); }
details[open] .plus { transform: rotate(180deg); background: var(--c-primary); }
details[open] .plus::before, details[open] .plus::after { background: #fff; }
details[open] .plus::after { transform: rotate(0); }
.answer { overflow: hidden; }
.answer p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--c-ink-soft); }

/* ---------- Cabinet ---------- */
.cabinet { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cabinet-photo { padding: .55rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transform: rotate(-1.2deg); }
.cabinet-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 22px; }
.cabinet-info { display: grid; gap: 1rem; }
.info-card { display: flex; gap: 1.1rem; padding: 1.5rem; border-radius: var(--radius); background: var(--c-surface); border: 1px solid var(--c-line); }
.info-card h3 { font-family: var(--f-serif); font-weight: 600; font-size: 1.3rem; margin-bottom: .35rem; }
.info-card p, .info-card address { color: var(--c-ink-soft); margin: 0; }
.info-card .grow { flex: 1; min-width: 0; }
.info-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

.hours { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .5rem .7rem; border-bottom: 1px solid var(--c-line); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours .off td { color: var(--c-ink-soft); }
.hours tr.today th, .hours tr.today td { font-weight: 600; background: var(--c-accent-soft); }
.hours tr.today th { border-radius: 10px 0 0 10px; }
.hours tr.today td { border-radius: 0 10px 10px 0; }
.hours tr.today th::after { content: " · aujourd'hui"; font-weight: 400; color: var(--c-ink-soft); font-size: .85rem; }

.map-frame { margin-top: 1.5rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--c-line); }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Zone ---------- */
.section-zone { padding-top: clamp(3.5rem, 7vw, 5rem); }
.zone { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.towns { display: flex; flex-wrap: wrap; gap: .6rem; }
.towns li {
  padding: .6rem 1.1rem; border-radius: 999px; background: var(--c-surface); border: 1.5px solid var(--c-line); font-weight: 500;
  transition: border-color .3s, background-color .3s, color .3s;
}
.towns li:first-child { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.towns li:hover { border-color: var(--c-accent); }

/* ---------- Bandeau CTA ---------- */
.cta-band { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.cta-inner {
  position: relative; overflow: hidden; text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; border-radius: 32px;
  background: radial-gradient(circle at 85% 10%, rgb(95 179 161 / .45), transparent 45%), radial-gradient(circle at 10% 100%, rgb(238 154 46 / .25), transparent 45%), var(--c-primary);
  color: #e9f3f0;
}
.cta-inner h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; max-width: 40rem; margin-inline: auto; }
.cta-inner p { color: #b9d6cf; font-size: 1.1rem; }
.cta-inner .hero-actions { justify-content: center; margin-top: 1.75rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0b2d2e; color: #b8d2cc; padding: 4rem 0 2rem; font-size: .95rem; }
.site-footer .brand, .site-footer .brand-mark { color: #fff; }
.site-footer .brand-text small { color: #b8d2cc; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1.2fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgb(255 255 255 / .1); }
.footer-text { margin-top: 1.25rem; }
.footer-h { color: #fff; font-family: var(--f-sans); font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: .55rem; }
.site-footer a:hover { color: #fff; }
.site-footer li a { overflow-wrap: anywhere; }
.footer-bottom { padding-top: 1.75rem; font-size: .85rem; max-width: 60rem; }
.footer-bottom p { margin: 0 0 .5rem; }

/* ---------- Éléments flottants ---------- */
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%; background: var(--c-primary); color: #fff; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .35s, transform .45s var(--ease-out), background-color .25s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--c-primary-600); }
.to-top svg { width: 22px; height: 22px; }

.dock { display: none; }

.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 70; margin: 0; padding: .7rem 1.2rem; border-radius: 999px;
  background: var(--c-ink); color: #fff; font-size: .92rem; font-weight: 500; box-shadow: var(--shadow-md);
  transform: translate(-50%, 150%); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s; pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Animations d'apparition (actives seulement avec JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--delay, 0s); }
.js [data-reveal="left"] { transform: translateX(-40px) rotate(-1.2deg); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), box-shadow .45s, border-color .3s; transition-delay: calc(var(--i, 0) * 100ms); }
.js .is-inview[data-reveal] { opacity: 1; transform: none; }
.js .is-inview[data-reveal="left"] { transform: rotate(-1.2deg); }
.js [data-stagger].is-inview > * { opacity: 1; transform: none; }
.js [data-stagger].is-inview > *:hover { transition-delay: 0s; }
.js [data-stagger].is-inview > .card:hover, .js [data-stagger].is-inview > .quote:hover { transform: translateY(-6px); }
.js .hero-title .word > span { transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms + .1s); }
.js .hero-title.is-inview .word > span { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-list a { padding: .5rem .5rem; font-size: .88rem; }
  .nav-list a::after { left: .5rem; right: .5rem; }
}

@media (max-width: 1024px) {
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .timeline-line { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; grid-template-areas: "a a" "a a" "b c" "d d"; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header { background: rgb(252 251 248 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .hero { padding-top: calc(var(--header-h) + 2.5rem); }
  .hero-grid, .parcours, .faq-grid, .cabinet, .zone { grid-template-columns: 1fr; }
  .collage { margin: 0 auto; max-width: 440px; }
  .publics { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--c-line); }
  .faq-head { position: static; }
  .cabinet-photo { max-width: 420px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }

  /* barre de rendez-vous mobile */
  body { padding-bottom: 4.75rem; }
  .dock {
    display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom, 0px));
    background: rgb(252 251 248 / .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--c-line); transform: translateY(110%); transition: transform .4s var(--ease-out);
  }
  .dock.is-visible { transform: none; }
  .dock .btn { flex: 1; padding: .8rem .6rem; }
  .to-top { bottom: 5.5rem; }
  .toast { bottom: 5.5rem; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 2rem); }
  .timeline { grid-template-columns: 1fr; }
  .tab-panel { grid-template-columns: 1fr; }
  .contact-cards, .quotes, .formation-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: .6rem; }
  .g-item figcaption { font-size: .78rem; padding: 1.5rem .6rem .5rem; }
  .stats > div { padding: 1.1rem 1.2rem; }
  .float-chip { padding: .55rem .75rem; font-size: .78rem; }
  .float-chip strong { font-size: .85rem; }
  .chip-icon { width: 30px; height: 30px; border-radius: 9px; }
  .chip-1 { left: 0; }
  .chip-2 { right: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .tab-list button { padding: .6rem .95rem; font-size: .92rem; }
  .info-card { flex-direction: column; }
  .hours th, .hours td { padding-inline: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
}
