/* =========================================================
   BeOoh — À propos (a-propos.html)
   ========================================================= */

/* ---------- shared bits ---------- */
.ab-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); flex-shrink: 0; }
.ab-dot--m { background: var(--magenta); box-shadow: 0 0 12px var(--magenta); }
.ab-dot--a { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.ab-dot--g { background: var(--green); box-shadow: 0 0 12px var(--green); animation: blink 1.8s infinite; }
.ab-head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 72px); }
.ab-head .eyebrow { margin-bottom: 20px; }
.ab-head .lead { margin-top: 24px; }

/* gradient words survive split-text (background-clip on transformed children) */
[data-split] .grad-text .word > span {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- HERO ---------- */
.ab-hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 140px 0 120px; overflow: hidden; isolation: isolate;
}
.ab-hero__pixels { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9;
  -webkit-mask-image: radial-gradient(ellipse at 60% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 50%, #000 20%, transparent 75%); }
.ab-hero__inner { position: relative; z-index: 1; }
.ab-hero__eyebrow { margin-bottom: 28px; }
.ab-hero__title { max-width: 14ch; font-size: clamp(48px, 9.4vw, 150px); }
.ab-glow { filter: drop-shadow(0 0 28px rgba(123,92,255,.45)); }
.ab-hero__lead { margin-top: 36px; }
.ab-hero__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.ab-hero__meta li {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03); backdrop-filter: blur(8px);
  font-size: 14px; color: var(--muted);
}
.ab-scroll { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 1px solid var(--line-2); display: grid; justify-items: center; padding-top: 8px; }
.ab-scroll span { width: 4px; height: 8px; border-radius: 2px; background: var(--cyan); box-shadow: var(--glow-cyan); animation: ab-scroll 1.8s var(--ease) infinite; }
@keyframes ab-scroll { 0% { transform: translateY(0); opacity: 1; } 80%,100% { transform: translateY(16px); opacity: 0; } }

/* ---------- MANIFESTO (scrub) ---------- */
.ab-manifesto { padding-top: clamp(40px, 6vw, 80px); }
.ab-manifesto .eyebrow { margin-bottom: 28px; }
.ab-manifesto__text { font-family: var(--f-display); font-weight: 600; line-height: 1.12; max-width: 1100px; }
.ab-manifesto__text em { font-style: normal; }
.ab-mw { color: rgba(244,246,251,.14); transition: color .2s linear; }
.ab-mw.is-on { color: var(--text); }
.ab-mw.is-hl.is-on { color: var(--cyan); text-shadow: 0 0 24px rgba(0,229,255,.45); }

/* ---------- STORY + CHAIN ---------- */
.ab-story__grid { gap: clamp(40px, 7vw, 110px); align-items: start; }
.ab-story__intro .eyebrow { margin-bottom: 20px; }
.ab-story__intro .h-1 { margin-bottom: 28px; }
.ab-story__p { margin-top: 20px; max-width: 58ch; }
.ab-story__p strong { color: var(--text); }
.ab-story__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.ab-story__facts div { padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.ab-story__facts strong { display: block; font-family: var(--f-display); font-size: clamp(32px, 3.4vw, 46px); line-height: 1; letter-spacing: -.04em; }
.ab-story__facts span { font-size: 13px; color: var(--muted); }

.ab-chain { position: relative; list-style: none; display: grid; gap: 22px; padding-left: 0; }
.ab-chain__rail { position: absolute; left: 31px; top: 32px; bottom: 32px; width: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.ab-chain__fill { position: absolute; inset: 0; background: linear-gradient(var(--cyan), var(--violet), var(--magenta)); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 16px var(--cyan); }
.ab-chain__step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; }
.ab-chain__node {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 15px; color: var(--dim); background: var(--bg-2); border: 1px solid var(--line-2);
  transition: color .5s, border-color .5s, box-shadow .5s, background .5s;
}
.ab-chain__body { padding: 22px 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); transition: border-color .5s, translate .6s var(--ease); }
.ab-chain__body p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.ab-chain__step.is-lit .ab-chain__node { color: #fff; border-color: transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: 0 0 28px rgba(0,229,255,.35); }
.ab-chain__step.is-lit .ab-chain__body { border-color: var(--line-2); translate: 6px 0; }
.no-scrub .ab-chain__fill { transform: scaleY(1); }

/* ---------- BAND ---------- */
.ab-band { border-block: 1px solid var(--line); padding: 26px 0; background: var(--bg-2); }
.ab-band .marquee__track { align-items: center; }
.ab-band span { font-family: var(--f-display); font-size: clamp(28px, 4vw, 56px); font-weight: 600; letter-spacing: -.03em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(244,246,251,.35); }
.ab-band span:nth-child(4n+1) { color: var(--text); -webkit-text-stroke: 0; }
.ab-band i { width: 14px; height: 14px; border-radius: 3px; background: var(--grad); box-shadow: var(--glow-magenta); flex-shrink: 0; }

/* ---------- VALUES ---------- */
.ab-value { display: flex; flex-direction: column; gap: 14px; min-height: 360px; padding: 30px 28px; }
.ab-value__icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 0 0 rgba(0,0,0,0); transition: box-shadow .5s, transform .6s var(--ease);
}
.ab-value__icon svg { width: 30px; height: 30px; }
.ab-value__icon svg * { stroke-dasharray: 160; stroke-dashoffset: 0; }
.ab-value:hover .ab-value__icon { box-shadow: 0 0 36px color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-4px) rotate(-4deg); }
.ab-value:hover .ab-value__icon svg * { animation: ab-draw 1.2s var(--ease) both; }
@keyframes ab-draw { from { stroke-dashoffset: 160; } to { stroke-dashoffset: 0; } }
.ab-value__idx { position: absolute; top: 26px; right: 28px; color: var(--dim); font-size: 13px; }
.ab-value h3 { margin-top: 18px; }
.ab-value p { font-size: 15px; flex: 1; }
.ab-value__bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.ab-value__bar span { display: block; height: 100%; width: 28%; background: var(--accent); box-shadow: 0 0 14px var(--accent); transition: width .9s var(--ease); }
.ab-value:hover .ab-value__bar span { width: 100%; }
.ab-value::before { content: ''; position: absolute; inset: auto -40% -60% auto; width: 240px; height: 240px; border-radius: 50%; background: var(--accent); filter: blur(90px); opacity: .08; transition: opacity .5s; pointer-events: none; }
.ab-value:hover::before { opacity: .22; }

/* ---------- WHY LED ---------- */
.ab-why { position: relative; background: radial-gradient(ellipse at 80% 30%, rgba(123,92,255,.16), transparent 60%), var(--bg); }
.ab-why__pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; }
.ab-why__inner { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ab-why__head .eyebrow { margin-bottom: 20px; }
.ab-why__note { margin-top: 20px; font-size: 13px; font-family: var(--f-mono); }
.ab-why__progress { margin-top: 36px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; max-width: 320px; }
.ab-why__progress span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: var(--glow-cyan); }
.no-scrub .ab-why__progress span { width: 100%; }
.ab-why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ab-stat {
  position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: border-color .5s, box-shadow .5s;
}
.ab-stat::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--accent) 40%, transparent) 1px, transparent 1.3px); background-size: 10px 10px; opacity: var(--lit, 0); transition: opacity .3s; pointer-events: none;
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 65%); mask-image: linear-gradient(135deg, #000, transparent 65%); }
.ab-stat.is-lit { border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: 0 0 50px color-mix(in srgb, var(--accent) 18%, transparent); }
.ab-stat__num { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 6px; font-family: var(--f-display); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-size: clamp(40px, 4.6vw, 72px); color: var(--accent); text-shadow: 0 0 30px color-mix(in srgb, var(--accent) 45%, transparent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ab-stat__num small { font-size: .34em; letter-spacing: 0; font-family: var(--f-mono); font-weight: 600; color: var(--muted); text-shadow: none; }
.ab-stat__pre { font-size: .7em; }
.ab-stat h3 { position: relative; z-index: 1; font-size: 19px; margin-top: 18px; }
.ab-stat p { position: relative; z-index: 1; color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ---------- TEAM ---------- */
.ab-team__grid { align-items: center; gap: clamp(40px, 6vw, 96px); }
.ab-team .eyebrow { margin-bottom: 20px; }
.ab-team .lead { margin-top: 28px; }
.ab-person { position: relative; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; transition: transform .5s var(--ease); }
.ab-avatar { position: relative; width: 148px; height: 148px; display: grid; place-items: center; }
.ab-avatar__ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--cyan), var(--violet), var(--magenta), var(--amber), var(--cyan));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  animation: ab-spin 6s linear infinite; filter: drop-shadow(0 0 10px rgba(0,229,255,.7)) drop-shadow(0 0 22px rgba(255,45,155,.5)); }
.ab-avatar__orbit { position: absolute; inset: -12px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.12); animation: ab-spin 14s linear infinite reverse; }
.ab-avatar__orbit i { position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.ab-avatar__core { position: relative; width: calc(100% - 18px); height: calc(100% - 18px); border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: 46px; letter-spacing: -.04em;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.14), transparent 45%), radial-gradient(circle at 70% 80%, rgba(255,45,155,.35), transparent 60%), var(--surface-2);
  box-shadow: inset 0 0 30px rgba(0,229,255,.2); }
.ab-avatar__core::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.2px); background-size: 6px 6px; mix-blend-mode: overlay; }
@keyframes ab-spin { to { transform: rotate(360deg); } }
.ab-person__body .chip { margin-bottom: 14px; }
.ab-person__role { color: var(--cyan); font-size: 13px; margin-top: 8px; letter-spacing: .04em; }
.ab-person__quote { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.55; border-left: 2px solid var(--magenta); padding-left: 16px; }
.ab-person__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ab-person__actions .btn { padding: 13px 20px; font-size: 14px; }
.ab-icon-btn { width: 48px; justify-content: center; padding: 13px 0 !important; font-family: var(--f-display); font-weight: 700; }

/* ---------- ZONE / MAP ---------- */
.ab-zone__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: stretch; }
.ab-map { margin: 0; padding: clamp(18px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; background-color: var(--surface); }
.ab-map svg { width: 100%; height: auto; overflow: visible; }
.ab-map__land { opacity: .9; }
.ab-map__border { stroke-dasharray: 2400; stroke-dashoffset: 0; }
.ab-map__links path { opacity: .85; stroke-dasharray: 400; stroke-dashoffset: 0; }
.ab-map__flow use { animation: ab-flow 1.4s linear infinite; }
@keyframes ab-flow { to { stroke-dashoffset: -32; } }
.ab-city circle { fill: var(--bg); stroke: var(--cyan); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(0,229,255,.8)); }
.ab-city text, .ab-hq__label { font-family: var(--f-mono); font-size: 14px; fill: var(--text); letter-spacing: .02em; paint-order: stroke; stroke: var(--bg); stroke-width: 4px; }
.ab-hq__dot { fill: var(--magenta); filter: drop-shadow(0 0 10px var(--magenta)); }
.ab-hq__label { font-size: 15px; font-weight: 600; fill: #fff; }
.ab-hq__ring { fill: none; stroke: var(--magenta); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ab-ring 3s var(--ease) infinite; opacity: 0; }
.ab-hq__ring--2 { animation-delay: 1s; }
.ab-hq__ring--3 { animation-delay: 2s; stroke: var(--cyan); }
@keyframes ab-ring { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(6); opacity: 0; } }
.ab-map__caption { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }

.ab-cities { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ab-cities li { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease); }
.ab-cities li:hover { border-color: var(--cyan); transform: translateX(6px); }
.ab-cities__name { font-family: var(--f-display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.ab-cities__km { color: var(--cyan); font-size: 13px; }
.ab-cities__all { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box !important; border: 1px solid transparent !important; }
.ab-cities__all .ab-cities__km { color: var(--magenta); }

/* ---------- CTA ---------- */
.ab-cta__box { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(56px, 9vw, 120px) clamp(24px, 6vw, 80px); border-radius: var(--r-lg);
  background: radial-gradient(ellipse at 50% 120%, rgba(255,45,155,.3), transparent 60%), radial-gradient(ellipse at 50% -20%, rgba(0,229,255,.22), transparent 60%), var(--surface);
  border: 1px solid var(--line-2); }
.ab-cta__grid { position: absolute; inset: 0; z-index: -1; opacity: .7; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); mask-image: radial-gradient(ellipse at center, #000, transparent 70%); }
.ab-cta__box .eyebrow { margin-bottom: 22px; }
.ab-cta__box .lead { margin: 24px auto 0; }
.ab-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .ab-why__inner { grid-template-columns: 1fr; }
  .ab-zone__grid { grid-template-columns: 1fr; }
  .ab-cities { display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .ab-value { min-height: 0; }
}
@media (max-width: 760px) {
  .ab-person { grid-template-columns: 1fr; text-align: left; }
  .ab-avatar { width: 120px; height: 120px; }
  .ab-avatar__core { font-size: 38px; }
}
@media (max-width: 640px) {
  .ab-hero { padding: 120px 0 100px; }
  .ab-hero__meta li { font-size: 13px; padding: 8px 14px; }
  .ab-story__facts { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .ab-story__facts div { padding: 14px; }
  .ab-chain__step { grid-template-columns: 48px 1fr; gap: 14px; }
  .ab-chain__node { width: 48px; height: 48px; border-radius: 14px; font-size: 13px; }
  .ab-chain__rail { left: 23px; }
  .ab-chain__body { padding: 18px; }
  .ab-why__pin { min-height: 0; padding: 80px 0; }
  .ab-why__grid { grid-template-columns: 1fr; }
  .ab-cities { grid-template-columns: 1fr; }
  .ab-city text, .ab-hq__label { font-size: 18px; }
  .ab-person__actions .btn { flex: 1 1 auto; justify-content: center; }
  .ab-icon-btn { flex: 0 0 48px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .ab-mw { color: var(--text); }
  .ab-mw.is-hl { color: var(--cyan); }
  .ab-chain__fill { transform: scaleY(1); }
  .ab-hq__ring { opacity: .5; transform: scale(2.2); }
  .ab-hq__ring--2 { transform: scale(3.6); opacity: .3; }
  .ab-hq__ring--3 { transform: scale(5); opacity: .15; }
  .ab-why__progress span { width: 100%; }
}

/* ---------- polish ---------- */
.ab-hero__title .word, .ab-head .word, .ab-story__intro .word, .ab-team .word { padding-bottom: .1em; margin-bottom: -.1em; }
.ab-why__head .h-1 { font-size: clamp(40px, 4.4vw, 68px); }
