/* ==========================================================================
   BikeLock — Design System
   Display : Cal Sans · Texte : Urbanist · Accent : #cfe904
   Direction : "label qualité premium" — near-black profond + lime, langage
   de sceau de certification.
   ========================================================================== */

/* ----- Fonts ------------------------------------------------------------- */
@font-face {
  font-family: 'Cal Sans';
  src: url('../fonts/CalSans-Regular.woff') format('woff');
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face { font-family:'Urbanist'; src:url('../fonts/Urbanist-Light.woff') format('woff'); font-weight:300; font-display:swap; }
@font-face { font-family:'Urbanist'; src:url('../fonts/Urbanist-Regular.woff') format('woff'); font-weight:400; font-display:swap; }
@font-face { font-family:'Urbanist'; src:url('../fonts/Urbanist-Medium.woff') format('woff'); font-weight:500; font-display:swap; }
@font-face { font-family:'Urbanist'; src:url('../fonts/Urbanist-SemiBold.woff') format('woff'); font-weight:600; font-display:swap; }
@font-face { font-family:'Urbanist'; src:url('../fonts/Urbanist-Bold.woff') format('woff'); font-weight:700; font-display:swap; }
@font-face { font-family:'Urbanist'; src:url('../fonts/Urbanist-ExtraBold.woff') format('woff'); font-weight:800; font-display:swap; }

/* ----- Tokens ------------------------------------------------------------ */
:root {
  --ink:        #0c0e08;
  --ink-soft:   #11140c;
  --ink-card:   #161a0f;
  --ink-raise:  #1d2114;
  --lime:       #cfe904;
  --lime-bright:#def62b;
  --lime-deep:  #9fb500;
  --bone:       #f5f6ef;
  --bone-2:     #eaece0;
  --bone-3:     #dcdfce;
  --fog:        #9da38c;
  --fog-2:      #6e7460;
  --charcoal:   #181b12;
  --line:       rgba(255,255,255,.09);
  --line-2:     rgba(255,255,255,.16);
  --line-dark:  rgba(12,14,8,.12);
  --line-dark-2:rgba(12,14,8,.22);

  --display: 'Cal Sans', 'Urbanist', system-ui, sans-serif;
  --body: 'Urbanist', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow: 0 18px 50px -22px rgba(0,0,0,.65);
  --shadow-lg: 0 40px 90px -40px rgba(0,0,0,.8);
  --glow: 0 0 0 1px rgba(207,233,4,.4), 0 14px 44px -14px rgba(207,233,4,.4);

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----- Reset & base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--bone);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 2.5px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----- Typography -------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -.01em; }
.h-hero { font-size: clamp(2.9rem, 8.2vw, 6.6rem); line-height: .94; letter-spacing: -.022em; }
.h-1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
.h-2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
.h-3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.28rem); color: var(--fog); font-weight: 400; line-height: 1.55; }
strong { font-weight: 700; }

/* Eyebrow — repris du badge ("• LABEL QUALITÉ •") */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--body);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime); flex: none;
  box-shadow: 0 0 12px rgba(207,233,4,.7);
}
.eyebrow.on-light { color: var(--lime-deep); }
.eyebrow.on-light::before { background: var(--lime-deep); box-shadow: none; }
.eyebrow.centered { justify-content: center; }

/* ----- Layout ------------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1440px; }

.section { padding-block: clamp(72px, 11vh, 140px); position: relative; }
.section--light { background: var(--bone); color: var(--charcoal); }
.section--soft { background: var(--ink-soft); }
.section--tight { padding-block: clamp(56px, 7vh, 96px); }
.section--light .lead { color: #5c6150; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vh, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h-2 { margin-top: 18px; }
.section-head p { margin-top: 18px; }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ----- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  padding: .92em 1.5em; border-radius: var(--r-pill);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap; border: 1px solid transparent;
}
.btn svg { width: 19px; height: 19px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--lime); color: var(--ink); }
.btn--primary:hover { background: var(--lime-bright); box-shadow: var(--glow); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); color: var(--bone); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--bone); }
.btn--dark:hover { background: var(--charcoal); transform: translateY(-2px); }
.btn--lg { padding: 1.05em 1.8em; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }
.section--light .btn--ghost { border-color: var(--line-dark-2); color: var(--charcoal); }
.section--light .btn--ghost:hover { border-color: var(--lime-deep); color: var(--lime-deep); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; color: var(--lime);
}
.link-arrow svg { width: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.section--light .link-arrow { color: var(--lime-deep); }

/* ----- Chips / badges ---------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .82rem; font-weight: 600;
  padding: .42em .85em; border-radius: var(--r-pill);
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  color: var(--bone);
}
.chip svg { width: 15px; height: 15px; color: var(--lime); }
.section--light .chip { background: rgba(12,14,8,.04); border-color: var(--line-dark); color: var(--charcoal); }
.section--light .chip svg { color: var(--lime-deep); }

/* Sceau de niveau (label) */
.seal {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .4em .7em .4em .55em; border-radius: var(--r-pill);
  border: 1px solid;
}
.seal svg { width: 14px; height: 14px; }
.seal.is-or { background: rgba(207,233,4,.14); color: var(--lime); border-color: rgba(207,233,4,.4); }
.seal.is-argent { background: rgba(220,224,210,.12); color: #d7dac6; border-color: rgba(220,224,210,.3); }
.seal.is-certifie { background: rgba(255,255,255,.06); color: var(--fog); border-color: var(--line-2); }
.section--light .seal.is-or { background: rgba(159,181,0,.14); color: var(--lime-deep); border-color: rgba(159,181,0,.4); }
.section--light .seal.is-argent { background: rgba(120,124,108,.1); color: #5d6150; border-color: rgba(120,124,108,.3); }
.section--light .seal.is-certifie { background: rgba(12,14,8,.05); color: #6e7460; border-color: var(--line-dark-2); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 16px;
  transition: background .35s var(--ease), border-color .35s var(--ease), padding .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,12,7,.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
  padding-block: 11px;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; border-radius: 50%; transition: width .3s var(--ease), height .3s var(--ease); }
.scrolled .brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--display); font-size: 1.32rem; letter-spacing: .01em; }
.brand-text span { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fog); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: .55em .9em; border-radius: var(--r-pill); font-weight: 600; font-size: .95rem; color: var(--bone); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--lime); }
.nav-links a.active { color: var(--lime); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--bone); }
.nav-toggle .ico-open, .nav-toggle .ico-close { display: inline-flex; align-items: center; justify-content: center; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: inline-flex; }
.nav-overlay { display: none; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav-actions { position: relative; z-index: 101; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--ink-soft); border-left: 1px solid var(--line);
    padding: 96px 22px 32px; transform: translateX(100%);
    transition: transform .4s var(--ease); z-index: 99;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: .9em 1em; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links .btn { margin-top: 14px; }
  .nav .desktop-cta { display: none; }
  .nav-install-li a { display: inline-flex; align-items: center; gap: 10px; color: var(--lime); font-weight: 700; }
  .nav-install-li a svg { flex: none; }
  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 90;
    background: rgba(6, 8, 4, .55);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
  }
  .nav-overlay.show { opacity: 1; pointer-events: auto; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 120px; padding-bottom: 64px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,9,5,.72) 0%, rgba(8,9,5,.5) 30%, rgba(8,9,5,.62) 60%, rgba(8,9,5,.96) 100%),
    radial-gradient(120% 80% at 78% 30%, rgba(207,233,4,.16), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: center; width: 100%; }
.hero-copy { max-width: 720px; }
.hero-copy .h-hero { margin-top: 22px; }
.hero-copy .h-hero em { font-style: normal; color: var(--lime); }
.hero-copy .lead { margin-top: 26px; max-width: 560px; color: #cfd3c4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-meta .stat b { font-family: var(--display); font-size: 2rem; display: block; line-height: 1; }
.hero-meta .stat span { font-size: .82rem; color: var(--fog); letter-spacing: .02em; }

/* Sceau flottant */
.hero-seal { justify-self: center; position: relative; width: min(330px, 70vw); aspect-ratio: 1; }
.hero-seal__badge { position: absolute; inset: 8%; border-radius: 50%; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); }
.hero-seal__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(207,233,4,.35); animation: spin 38s linear infinite; }
.hero-seal__ring.r2 { inset: -7%; border-style: dotted; border-color: rgba(255,255,255,.12); animation-duration: 60s; animation-direction: reverse; }
@keyframes float { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-14px) } }
@keyframes spin { to { transform: rotate(360deg) } }
@media (prefers-reduced-motion: reduce) { .hero-seal__badge, .hero-seal__ring { animation: none; } }

.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: inline-flex; flex-direction: column; align-items: center; gap: 8px; color: var(--fog); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.hero-scroll span:last-child { width: 1px; height: 34px; background: linear-gradient(var(--lime), transparent); animation: scrolldot 2.2s ease-in-out infinite; }
@keyframes scrolldot { 0%,100%{ opacity:.3; transform: scaleY(.6) } 50%{ opacity:1; transform: scaleY(1) } }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-seal { display: none; }
  .hero { min-height: auto; padding-top: 130px; }
}

/* Bandeau de villes certifiées (marquee) */
.marquee { border-block: 1px solid var(--line); background: var(--ink-soft); overflow: hidden; }
.marquee__track { display: flex; gap: 56px; padding-block: 18px; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 1.15rem; color: var(--fog); white-space: nowrap; }
.marquee__track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.stat-card { padding: 30px 28px; border-radius: var(--r-lg); background: var(--ink-card); border: 1px solid var(--line); position: relative; overflow: hidden; }
.stat-card b { font-family: var(--display); font-size: clamp(2.6rem, 4.5vw, 3.6rem); line-height: 1; display: block; }
.stat-card b .u { color: var(--lime); }
.stat-card span { display: block; margin-top: 10px; color: var(--fog); font-weight: 500; }
.stat-card::after { content:""; position:absolute; right:-30px; top:-30px; width:120px; height:120px; border-radius:50%; background: radial-gradient(circle, rgba(207,233,4,.1), transparent 70%); }

/* ==========================================================================
   "LE LABEL" — split feature
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media .floating-seal { position: absolute; right: -22px; bottom: -22px; width: 130px; }
.split__media .floating-seal img { border-radius: 50%; filter: drop-shadow(0 16px 30px rgba(0,0,0,.5)); }
.split ul.checklist { margin-top: 28px; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li .ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(207,233,4,.12); color: var(--lime); }
.section--light .checklist li .ic { background: rgba(159,181,0,.14); color: var(--lime-deep); }
.checklist li b { font-weight: 700; }
.checklist li p { color: var(--fog); font-size: .96rem; margin-top: 2px; }
.section--light .checklist li p { color: #5c6150; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--rev .split__media { order: 0; }
  .split__media { aspect-ratio: 3/2; }
}

/* ==========================================================================
   AVANTAGES (cards)
   ========================================================================== */
.feature-card {
  padding: 32px 30px; border-radius: var(--r-lg);
  background: var(--ink-card); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(207,233,4,.35); background: var(--ink-raise); }
.feature-card .ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(150deg, rgba(207,233,4,.18), rgba(207,233,4,.04)); color: var(--lime); margin-bottom: 22px; }
.feature-card .ic svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.32rem; }
.feature-card p { margin-top: 10px; color: var(--fog); font-size: .98rem; }
.feature-card .idx { font-family: var(--display); font-size: .9rem; color: var(--fog-2); float: right; }

/* ==========================================================================
   ÉQUIPEMENTS
   ========================================================================== */
.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 20px); }
.equip-card { padding: 26px 24px; border-radius: var(--r); border: 1px solid var(--line-dark); background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.equip-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.equip-card .ic { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--ink); color: var(--lime); margin-bottom: 18px; }
.equip-card h3 { font-size: 1.18rem; color: var(--charcoal); }
.equip-card p { margin-top: 8px; font-size: .92rem; color: #5c6150; }
.equip-card .recharge { display: inline-flex; align-items: center; gap: .4em; margin-top: 14px; font-size: .78rem; font-weight: 700; color: var(--lime-deep); }
.equip-card .recharge svg { width: 14px; }

/* Bloc vidéo BIKIBOX */
.video-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: clamp(48px, 7vh, 90px); }
.video-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; background: var(--ink); box-shadow: var(--shadow-lg); border: 1px solid var(--line-dark); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.video-frame .placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.video-frame .play-btn { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 14px; color: #fff; }
.video-frame .play-btn .disk { width: 76px; height: 76px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; box-shadow: var(--glow); transition: transform .3s var(--ease); }
.video-frame .play-btn .disk svg { width: 32px; height: 32px; }
.video-frame .play-btn:hover .disk { transform: scale(1.07); }
.video-frame .play-btn small { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8); }
@media (max-width: 820px) { .video-feature { grid-template-columns: 1fr; } .equip-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   ÉTAPES (process)
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 36px); counter-reset: step; }
.step { position: relative; padding-top: 30px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.step .num { counter-increment: step; font-family: var(--display); font-size: 2.4rem; color: var(--lime); line-height: 1; }
.step .num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.3rem; margin-top: 14px; }
.step p { margin-top: 10px; color: var(--fog); }
.section--light .step p { color: #5c6150; }
.section--light .step::before { background: var(--line-dark); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .feature-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CARTES ÉTABLISSEMENT
   ========================================================================== */
.estab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.estab-card {
  display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink-card); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.estab-card:hover { transform: translateY(-6px); border-color: rgba(207,233,4,.3); }
.estab-card__media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.estab-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.estab-card:hover .estab-card__media img { transform: scale(1.06); }
.estab-card__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 45%, rgba(10,12,7,.7)); }
.estab-card__seal { position: absolute; top: 14px; left: 14px; z-index: 2; }
.estab-card__cat { position: absolute; bottom: 14px; left: 14px; z-index: 2; }
.estab-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.estab-card__body h3 { font-size: 1.32rem; }
.estab-card__loc { display: inline-flex; align-items: center; gap: .4em; color: var(--fog); font-size: .9rem; margin-top: 7px; }
.estab-card__loc svg { width: 15px; color: var(--lime); }
.estab-card__equip { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.estab-card__equip .mini { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--lime); }
.estab-card__equip .mini svg { width: 17px; height: 17px; }
.estab-card__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; }
.estab-card__foot .cap { font-size: .84rem; color: var(--fog); }
.estab-card__foot .cap b { color: var(--bone); font-weight: 700; }

@media (max-width: 980px) { .estab-grid, .feature-grid, .equip-grid { grid-template-columns: repeat(2, 1fr); } .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .estab-grid, .feature-grid, .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, 1fr); } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,26px); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(44px, 7vw, 88px); background: var(--ink-card); border: 1px solid var(--line); }
.cta-band__bg { position: absolute; inset: 0; z-index: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .26; }
.cta-band__bg::after { content:""; position:absolute; inset:0; background: radial-gradient(90% 120% at 0% 0%, rgba(207,233,4,.16), transparent 50%); }
.cta-band__in { position: relative; z-index: 1; max-width: 640px; }
.cta-band .h-1 { margin-top: 18px; }
.cta-band p { margin-top: 18px; }
.cta-band .hero-cta { margin-top: 32px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink-soft); border-top: 1px solid var(--line); padding-top: clamp(56px, 8vh, 90px); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--fog); max-width: 320px; font-size: .96rem; }
.footer-col h4 { font-family: var(--body); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fog); margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; color: var(--bone); font-size: .96rem; transition: color .2s; }
.footer-col a:hover { color: var(--lime); }
.footer-contact a { display: inline-flex; align-items: center; gap: .6em; }
.footer-contact svg { width: 16px; color: var(--lime); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px; color: var(--fog); font-size: .85rem; }
.footer-bottom a { color: var(--fog); }
.footer-bottom a:hover { color: var(--lime); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ==========================================================================
   ANNUAIRE — carte + filtres + liste
   ========================================================================== */
.annuaire-hero { padding-top: 140px; padding-bottom: 30px; }
.annuaire-shell { display: grid; grid-template-columns: 420px 1fr; gap: 0; min-height: 70vh; border-top: 1px solid var(--line); }
.annuaire-panel { border-right: 1px solid var(--line); display: flex; flex-direction: column; max-height: calc(100svh - 80px); position: sticky; top: 72px; }
.annuaire-filters { padding: 22px var(--gutter) 18px; border-bottom: 1px solid var(--line); background: var(--ink-soft); }
.filter-search { position: relative; margin-bottom: 14px; }
.filter-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--fog); }
.filter-search input { width: 100%; padding: .85em 1em .85em 2.8em; border-radius: var(--r-pill); background: var(--ink-card); border: 1px solid var(--line); color: var(--bone); }
.filter-search input::placeholder { color: var(--fog-2); }
.filter-search input:focus { border-color: var(--lime); outline: none; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-row + .filter-row { margin-top: 10px; }
.filter-label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fog); font-weight: 700; width: 100%; margin-bottom: 2px; }
.pill {
  display: inline-flex; align-items: center; gap: .45em;
  font-size: .82rem; font-weight: 600; padding: .5em .9em; border-radius: var(--r-pill);
  background: var(--ink-card); border: 1px solid var(--line); color: var(--bone);
  transition: all .2s var(--ease);
}
.pill svg { width: 15px; height: 15px; color: var(--fog); }
.pill:hover { border-color: var(--line-2); }
.pill.active { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.pill.active svg { color: var(--ink); }
.annuaire-count { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--fog); }
.annuaire-count b { color: var(--bone); }
.annuaire-list { overflow-y: auto; flex: 1; padding: 12px var(--gutter) 28px; display: flex; flex-direction: column; gap: 12px; }
.annuaire-list::-webkit-scrollbar { width: 8px; }
.annuaire-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; }

.list-card { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--ink-card); cursor: pointer; transition: border-color .2s, transform .2s, background .2s; text-align: left; width: 100%; }
.list-card:hover, .list-card.active { border-color: var(--lime); background: var(--ink-raise); }
.list-card__img { width: 92px; height: 92px; border-radius: 11px; overflow: hidden; }
.list-card__img img { width: 100%; height: 100%; object-fit: cover; }
.list-card__b h3 { font-size: 1.06rem; line-height: 1.1; }
.list-card__b .loc { display: inline-flex; align-items: center; gap: .35em; color: var(--fog); font-size: .84rem; margin-top: 5px; }
.list-card__b .loc svg { width: 13px; color: var(--lime); }
.list-card__b .row { display: flex; align-items: center; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.list-card__b .mini-eq { display: inline-flex; gap: 4px; }
.list-card__b .mini-eq .m { width: 24px; height: 24px; border-radius: 7px; background: rgba(255,255,255,.05); border: 1px solid var(--line); display: grid; place-items: center; color: var(--lime); }
.list-card__b .mini-eq .m svg { width: 13px; }

.annuaire-map { position: sticky; top: 72px; height: calc(100svh - 80px); background: var(--ink-soft); }
#map { width: 100%; height: 100%; }
.map-empty { height: 100%; display: grid; place-items: center; text-align: center; color: var(--fog); padding: 30px; }

/* InfoWindow Google Maps — surcharge */
.gm-style .gm-style-iw-c { padding: 0 !important; border-radius: 16px !important; box-shadow: var(--shadow-lg) !important; }
.gm-style .gm-style-iw-d { overflow: hidden !important; }
.iw { width: 250px; font-family: var(--body); }
.iw img { width: 100%; height: 120px; object-fit: cover; }
.iw__b { padding: 13px 15px 15px; }
.iw__b h3 { font-family: var(--display); font-size: 1.1rem; color: var(--charcoal); }
.iw__b .loc { color: #6e7460; font-size: .82rem; display: flex; align-items: center; gap: .3em; margin-top: 4px; }
.iw__b a { display: inline-flex; align-items: center; gap: .4em; margin-top: 11px; font-weight: 700; color: var(--lime-deep); font-size: .88rem; }

.annuaire-toggle { display: none; }
@media (max-width: 900px) {
  .annuaire-shell { grid-template-columns: 1fr; }
  .annuaire-map { position: relative; top: 0; height: 56vh; order: -1; }
  .annuaire-panel { position: relative; top: 0; max-height: none; }
  .annuaire-list { max-height: none; }
}

/* ==========================================================================
   FICHE ÉTABLISSEMENT
   ========================================================================== */
.estab-hero { position: relative; min-height: 56vh; display: flex; align-items: flex-end; padding-top: 120px; padding-bottom: 48px; overflow: hidden; }
.estab-hero__bg { position: absolute; inset: 0; z-index: -1; }
.estab-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.estab-hero__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(8,9,5,.5), rgba(8,9,5,.92)); }
.estab-hero__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.estab-hero h1 { margin-top: 18px; }
.estab-hero .loc { display: inline-flex; align-items: center; gap: .45em; margin-top: 14px; color: #cfd3c4; }
.estab-hero .loc svg { color: var(--lime); }

.estab-body { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.estab-section + .estab-section { margin-top: 40px; }
.estab-section h2 { font-size: 1.6rem; margin-bottom: 16px; }
.estab-desc { color: var(--fog); font-size: 1.05rem; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; }
.gallery a { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.equip-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.equip-list .item { display: flex; gap: 13px; align-items: flex-start; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--ink-card); }
.equip-list .item .ic { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(207,233,4,.12); color: var(--lime); }
.equip-list .item b { font-weight: 700; }
.equip-list .item p { font-size: .86rem; color: var(--fog); margin-top: 3px; }

.estab-aside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; }
.info-card { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--ink-card); padding: 24px; }
.info-card h3 { font-family: var(--body); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fog); margin-bottom: 16px; }
.info-row { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); }
.info-row:first-of-type { border-top: none; padding-top: 0; }
.info-row svg { flex: none; width: 19px; color: var(--lime); margin-top: 2px; }
.info-row .k { font-size: .76rem; color: var(--fog); text-transform: uppercase; letter-spacing: .08em; }
.info-row .v { font-weight: 600; }
.info-row a.v:hover { color: var(--lime); }
.aside-map { height: 220px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.aside-map > div { width: 100%; height: 100%; }
@media (max-width: 900px) { .estab-body { grid-template-columns: 1fr; } .estab-aside { position: relative; top: 0; } .equip-list, .gallery { grid-template-columns: 1fr 1fr; } }

.breadcrumb { display: inline-flex; align-items: center; gap: .5em; color: var(--fog); font-size: .85rem; margin-bottom: 4px; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb svg { width: 14px; }

/* ==========================================================================
   PWA — bannière d'installation
   ========================================================================== */
.pwa-banner {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 140%);
  z-index: 200; width: min(440px, calc(100vw - 32px));
  background: var(--ink-card); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 18px 18px 18px 18px;
  display: flex; gap: 15px; align-items: center;
  transition: transform .5s var(--ease);
}
.pwa-banner.show { transform: translate(-50%, 0); }
.pwa-banner__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; overflow: hidden; }
.pwa-banner__icon img { width: 100%; height: 100%; }
.pwa-banner__b { flex: 1; }
.pwa-banner__b b { font-weight: 700; display: block; }
.pwa-banner__b span { font-size: .85rem; color: var(--fog); }
.pwa-banner__actions { display: flex; flex-direction: column; gap: 7px; }
.pwa-banner .btn { padding: .6em 1.1em; font-size: .86rem; }
.pwa-banner__close { position: absolute; top: 10px; right: 12px; color: var(--fog); width: 26px; height: 26px; display: grid; place-items: center; }
.pwa-banner__close:hover { color: var(--bone); }
@media (max-width: 480px) { .pwa-banner { flex-wrap: wrap; } .pwa-banner__actions { flex-direction: row; width: 100%; } .pwa-banner__actions .btn { flex: 1; } }

/* iOS instructions modal */
.ios-tip { position: fixed; inset: 0; z-index: 210; display: none; place-items: center; padding: 20px; background: rgba(6,7,4,.7); backdrop-filter: blur(6px); }
.ios-tip.show { display: grid; }
.ios-tip__card { max-width: 380px; background: var(--ink-card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; text-align: center; }
.ios-tip__card img { width: 60px; margin: 0 auto 16px; border-radius: 14px; }
.ios-tip__card p { color: var(--fog); margin-top: 10px; }
.ios-tip__card .share { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; vertical-align: middle; color: var(--lime); }

/* ==========================================================================
   Divers
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.text-center { text-align: center; }
.mt-cta { margin-top: clamp(36px, 5vh, 56px); }
.divider-dots { display: flex; justify-content: center; gap: 10px; }
.divider-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.divider-dots span:nth-child(2) { background: var(--lime); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.noscroll { overflow: hidden; }

/* Visibilité responsive (CTA du menu mobile) */
.mobile-only { display: none; }
@media (max-width: 940px) { .mobile-only { display: block; } }
