/* ===== FONTS — auto-hébergées (cf. § 10.2) ===== */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/assets/fonts/fraunces-roman.48282a415e.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('/assets/fonts/fraunces-italic.4af9c759c8.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter.c940764593.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces Fallback';
  src: local('Times New Roman'), local('Times');
  size-adjust: 100%;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107.4%;
  ascent-override: 90.5%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

/* ===== RESET & BASE ===== */
:root {
  --color-primary: #6d4dff;
  --color-primary-rgb: 109, 77, 255;
  --color-accent: #d4af37;
  --color-accent-soft: #c9a961;
  --color-bg: #fafaf8;
  --color-surface: rgba(0, 0, 0, 0.04);
  --color-surface-muted: rgba(0, 0, 0, 0.03);
  --color-text: #1a1a2e;
  --color-text-muted: #5a5a72;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-strong: rgba(0, 0, 0, 0.18);
  --font-display: 'Fraunces', 'Fraunces Fallback', 'Times New Roman', Georgia, serif;
  --font-body: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.45);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --font-scale: 1;
  --accent: var(--color-primary);
  --accent-glow: rgba(109, 77, 255, 0.25);
  --surface: var(--color-surface);
  --surface-border: var(--color-border);
  --bg-card: var(--color-surface-muted);
  --text: var(--color-text);
  --text-muted: var(--color-text-muted);
  --text-dim: #9999aa;
  --gold: var(--color-accent);
  --gold-subtle: var(--color-accent-soft);
  --gold-glow: rgba(212, 175, 55, 0.2);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(160deg, #fafaf8 0%, #f4f2ef 100%) fixed;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}
h1, h2 {
  font-family: 'Fraunces', 'Fraunces Fallback', 'Times New Roman', Georgia, serif;
  font-weight: 300;
  font-style: normal;
}
h3 {
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
}
a { color: inherit; text-decoration: none; }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--color-primary);
  color: #ffffff;
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), 0.35);
  transition: top 280ms var(--ease-out-expo);
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .skip-link { transition: none; }
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: max(32px, env(safe-area-inset-left));
  padding-right: max(32px, env(safe-area-inset-right));
}

/* ===== HEADER ===== */
header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.94);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top);
  transition: background 320ms cubic-bezier(.25,.46,.45,.94),
              box-shadow 320ms cubic-bezier(.25,.46,.45,.94),
              border-bottom-color 320ms cubic-bezier(.25,.46,.45,.94);
}
header[role="banner"]::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.30) 22%,
    rgba(212, 175, 55, 0.55) 50%,
    rgba(212, 175, 55, 0.30) 78%,
    transparent 100%);
  opacity: 0;
  transition: opacity 360ms cubic-bezier(.25,.46,.45,.94);
  pointer-events: none;
}
html.is-scrolled header[role="banner"] {
  background: rgba(250, 250, 248, 0.96);
  box-shadow:
    0 10px 28px -16px rgba(26, 26, 46, 0.20),
    0  4px 12px  -6px rgba(26, 26, 46, 0.10);
}
html.is-scrolled header[role="banner"]::after { opacity: 1; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  height: clamp(72px, 8vh, 88px);
  transition: height 320ms cubic-bezier(.25,.46,.45,.94);
}
html.is-scrolled .header-inner {
  height: clamp(68px, 7.4vh, 84px);
}

.logo {
  display: flex;
  align-items: center;
  transition: transform 0.35s cubic-bezier(.25,.46,.45,.94),
              filter 0.35s cubic-bezier(.25,.46,.45,.94);
}
.logo-img-header {
  height: 32px;
  width: auto;
  display: block;
  transition: filter 0.35s cubic-bezier(.25,.46,.45,.94);
}
.logo:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.38));
}
.logo:hover .logo-img-header { opacity: 1; }

nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
nav a {
  padding: 10px 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.015em;
  font-feature-settings: 'ss01', 'cv11';
  color: var(--text-muted);
  transition: color .18s ease, background .18s ease;
  white-space: nowrap;
  position: relative;
}
nav a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.025);
}
nav a:not(.btn-nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.65) 28%,
    #f4d77a 50%,
    rgba(212, 175, 55, 0.65) 72%,
    transparent 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.32s cubic-bezier(.16, 1, 0.3, 1);
}
nav a:not(.btn-nav-cta):hover::after { transform: scaleX(1); }

/* ===== CTA NAV ===== */
@property --btn-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes btn-border-rotate { to { --btn-angle: 360deg; } }

.btn-nav-cta {
  padding: 10px 22px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg,
    #6d4dff 0%,
    #7a5cff 50%,
    #9a7be0 88%,
    #b59538 130%) !important;
  background-size: 180% 100% !important;
  background-position: 0% 50% !important;
  color: #fff !important;
  font-weight: 600 !important;
  letter-spacing: 0.018em !important;
  font-feature-settings: 'ss01', 'cv11' !important;
  position: relative;
  z-index: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 6px 18px -6px rgba(109, 77, 255, 0.42) !important;
  transition: transform .28s cubic-bezier(.25,.46,.45,.94),
              box-shadow .35s cubic-bezier(.25,.46,.45,.94),
              background-position .65s cubic-bezier(.25,.46,.45,.94),
              filter .25s ease !important;
  animation: none !important;
}
.btn-nav-cta:hover {
  transform: scale(1.035) !important;
  background-position: 100% 50% !important;
  filter: brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    inset 0 -1px 0 rgba(0, 0, 0, 0.20),
    0  0 18px rgba(212, 175, 55, 0.48),
    0  0 38px rgba(212, 175, 55, 0.22),
    0 14px 36px -8px rgba(109, 77, 255, 0.52) !important;
}
.btn-nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: 10px;
  background: conic-gradient(
    from var(--btn-angle),
    transparent 0%, transparent 22%,
    rgba(244, 215, 122, .52) 36%,
    rgba(255, 255, 255, .82) 50%,
    rgba(244, 215, 122, .52) 64%,
    transparent 78%, transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: btn-border-rotate 4s linear infinite;
  pointer-events: none;
}

/* ===== BUTTONS ===== */
@keyframes btn-pulse {
  0%, 60%  { box-shadow: 0 12px 40px -8px rgba(109,77,255,.45), 0 0 0 0   rgba(109,77,255,.38); }
  80%      { box-shadow: 0 12px 40px -8px rgba(109,77,255,.45), 0 0 0 20px rgba(109,77,255,0);  }
  100%     { box-shadow: 0 12px 40px -8px rgba(109,77,255,.45), 0 0 0 0   rgba(109,77,255,0);  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 13px;
  background: linear-gradient(135deg, #6d4dff 0%, #8b6dff 100%);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  position: relative;
  z-index: 0;
  transition: transform .25s cubic-bezier(.25,.46,.45,.94),
              box-shadow .35s cubic-bezier(.25,.46,.45,.94),
              filter .25s ease;
  animation: btn-pulse 3s ease-out 2s infinite;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px -8px rgba(109, 77, 255, 0.55),
              0 22px 60px -10px rgba(109, 77, 255, 0.65) !important;
  filter: brightness(1.05);
  animation-play-state: paused;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 14px;
  background: conic-gradient(
    from var(--btn-angle),
    transparent 0%, transparent 22%,
    rgba(196,181,253,.48) 38%,
    rgba(255,255,255,.84) 50%,
    rgba(196,181,253,.48) 62%,
    transparent 78%, transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: btn-border-rotate 4s linear infinite;
  pointer-events: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  transition: transform .2s, background .15s;
}
.btn-secondary:hover { transform: translateY(-2px); background: rgba(0, 0, 0, 0.06); }

/* ===== SECTION CTA ===== */
.section-cta { padding: clamp(72px, 9vw, 112px) 0; position: relative; isolation: isolate; }
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 50% 50%, rgba(109, 77, 255, 0.12) 0%, transparent 60%),
    radial-gradient(circle 600px at 50% 100%, rgba(212, 175, 55, 0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.section-cta > .container { position: relative; z-index: 1; }
.cta-band {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  padding: 48px 40px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; will-change: auto; }
  .btn-primary,
  .btn-nav-cta,
  .btn-primary::before,
  .btn-nav-cta::before { animation: none !important; }
}

/* ===== FOOTER ===== */
footer[role="contentinfo"] {
  background: linear-gradient(to bottom, transparent 0%, #f0ede8 120px, #f0ede8 100%);
  padding: 80px 0 calc(52px + env(safe-area-inset-bottom));
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.footer-sig {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  color: inherit;
  transition: opacity 0.2s;
}
.footer-sig:hover { opacity: 0.72; }
.footer-sig-logo {
  height: clamp(36px, 5.5vw, 60px);
  width: auto;
  display: block;
  margin-bottom: 6px;
}
.footer-sig-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.35);
  margin-bottom: 56px;
}
.footer-sep {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.12), rgba(0,0,0,0));
  margin: 0 auto 40px;
}
.footer-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.38);
  display: inline-block;
  transition: color 0.18s ease, transform 0.18s ease;
}
.footer-links a:hover {
  color: rgba(0, 0, 0, 0.80);
  transform: translateX(4px);
}
.footer-copy {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.30);
  letter-spacing: 0.04em;
}

/* ===== ACCESSIBILITY ===== */
nav a:focus-visible,
.btn-secondary:focus-visible,
.btn-primary:focus-visible,
.btn-nav-cta:focus-visible,
.logo:focus-visible,
.footer-links a:focus-visible,
.footer-sig:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* ===== MOBILE HAMBURGER MENU ===== */
.nav-toggle-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}

.nav-toggle-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 12px;
  background: transparent;
  z-index: 102;
  transition: background .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-btn:hover {
  background: rgba(26, 26, 46, 0.05);
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .38s cubic-bezier(.32, .72, 0, 1),
              opacity .26s cubic-bezier(.32, .72, 0, 1);
}
.nav-toggle-checkbox:focus-visible + .nav-toggle-btn {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
html:has(.nav-toggle-checkbox:checked) .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
html:has(.nav-toggle-checkbox:checked) .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
html:has(.nav-toggle-checkbox:checked) .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 24, 0.62);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
  backdrop-filter: blur(8px) saturate(115%);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity .48s cubic-bezier(.32, .72, 0, 1);
}

.nav-legal-link {
  display: none;
}

@media (max-width: 767px) {
  .nav-toggle-btn { display: flex; }
  header[role="banner"] nav[aria-label="Navigation principale"] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding:
      calc(clamp(96px, 14vh, 120px) + env(safe-area-inset-top))
      max(24px, env(safe-area-inset-right))
      calc(clamp(32px, 6vh, 48px) + env(safe-area-inset-bottom))
      24px;
    background: linear-gradient(180deg,
                  rgba(250, 250, 248, 0.985) 0%,
                  rgba(248, 245, 238, 0.985) 100%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
    box-shadow: -28px 0 64px -18px rgba(26, 26, 46, 0.28);
    border-left: 1px solid rgba(212, 175, 55, 0.20);
    transform: translateX(100%);
    transition: transform .48s cubic-bezier(.32, .72, 0, 1),
                box-shadow .48s cubic-bezier(.32, .72, 0, 1),
                visibility 0s linear .48s;
    z-index: 101;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    will-change: transform;
  }
  header[role="banner"] nav[aria-label="Navigation principale"] a {
    width: 100%;
    padding: 16px 12px;
    font-size: 16px;
    line-height: 1.3;
    color: var(--text);
    border-radius: 10px;
    border-bottom: 1px solid rgba(26, 26, 46, 0.06);
    white-space: normal;
  }
  header[role="banner"] nav[aria-label="Navigation principale"] a:hover {
    background: rgba(109, 77, 255, 0.05);
    color: var(--text);
  }
  header[role="banner"] nav[aria-label="Navigation principale"] a:not(.btn-nav-cta)::after {
    display: none;
  }
  header[role="banner"] nav[aria-label="Navigation principale"] .btn-nav-cta {
    width: 100%;
    margin-top: 22px;
    padding: 14px 22px !important;
    text-align: center;
    border-radius: 12px !important;
    border-bottom: none;
  }
  .nav-legal-link {
    display: block;
    font-size: 13px !important;
    color: var(--text-muted) !important;
    letter-spacing: 0.02em;
    padding: 12px 12px !important;
    border-bottom: none !important;
  }
  .nav-legal-link:first-of-type {
    margin-top: 22px;
    padding-top: 18px !important;
    border-top: 1px solid rgba(26, 26, 46, 0.10);
  }
  .nav-backdrop { display: block; }
  html:has(.nav-toggle-checkbox:checked) header[role="banner"] nav[aria-label="Navigation principale"] {
    transform: translateX(0);
    visibility: visible;
    transition: transform .48s cubic-bezier(.32, .72, 0, 1),
                box-shadow .48s cubic-bezier(.32, .72, 0, 1),
                visibility 0s linear 0s;
    box-shadow: -32px 0 80px -16px rgba(26, 26, 46, 0.36);
  }
  html:has(.nav-toggle-checkbox:checked) .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  html:has(.nav-toggle-checkbox:checked),
  html:has(.nav-toggle-checkbox:checked) body {
    overflow: hidden;
  }
  html:has(.nav-toggle-checkbox:checked) .nav-toggle-btn {
    background: rgba(26, 26, 46, 0.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  header[role="banner"] nav[aria-label="Navigation principale"],
  .nav-backdrop,
  .nav-toggle-bar { transition: none !important; }
}
html.fx-static:not(.fx-light) header[role="banner"] nav[aria-label="Navigation principale"],
html.fx-static:not(.fx-light) .nav-backdrop,
html.fx-static:not(.fx-light) .nav-toggle-bar {
  transition: none !important;
}

/* ===== TOUCH TARGETS ===== */
@media (max-width: 768px), (pointer: coarse) {
  .btn-nav-cta {
    min-height: 44px !important;
    padding: 12px 22px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .footer-links a {
    display: inline-block;
    padding: 10px 8px;
    min-height: 44px;
    line-height: 24px;
  }
}

/* ===== ITEM-013 — Header mobile layout ===== */
@media (min-width: 768px) {
  nav { margin-left: auto; }
  .btn-nav-cta { order: 1; }
}
@media (max-width: 767px) {
  .btn-nav-cta { margin-left: auto; }
}
@media (max-width: 480px) {
  .logo-img-header { height: 26px; }
  .header-inner { gap: 8px; }
  .btn-nav-cta__arrow { display: none; }
  .btn-nav-cta { padding: 12px 14px !important; }
  html.is-scrolled .header-inner { height: clamp(56px, 6.4vh, 64px); }
}

/* ===== MESH BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  inset: -12% -12% -12% -12%;
  z-index: -2;
  background:
    radial-gradient(ellipse 1100px 720px at 12% 18%, rgba(109, 77, 255, 0.20) 0%, transparent 58%),
    radial-gradient(ellipse 900px 700px at 88% 22%, rgba(212, 175, 55, 0.16) 0%, transparent 62%),
    radial-gradient(ellipse 1200px 820px at 25% 78%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 1000px 720px at 78% 82%, rgba(109, 77, 255, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 900px 600px at 50% 50%, rgba(255, 248, 220, 0.22) 0%, transparent 60%);
  background-repeat: no-repeat;
  filter: blur(40px) saturate(118%);
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  animation: mesh-drift 60s linear infinite;
  pointer-events: none;
  will-change: transform;
}
@keyframes mesh-drift {
  0%   { background-position:   0%   0%, 100%   0%,   0% 100%, 100% 100%,  50%  50%; }
  50%  { background-position:   8%  12%,  92%   8%,  12%  88%,  88%  92%,  52%  48%; }
  100% { background-position:   0%   0%, 100%   0%,   0% 100%, 100% 100%,  50%  50%; }
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  background-repeat: repeat;
  opacity: 0.035;
  mix-blend-mode: multiply;
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none !important; transform: none !important; will-change: auto; }
}
@media (pointer: coarse), (max-width: 767px) {
  body::before { animation: none !important; transform: none !important; filter: blur(34px) saturate(112%); will-change: auto; }
  body::after { opacity: 0.025; }
}
html.fx-static body::before { animation: none !important; transform: none !important; will-change: auto; }

/* ===== HUB FX ===== */
html.fx-static .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
}
html.fx-static:not(.fx-light) .btn-primary,
html.fx-static:not(.fx-light) .btn-primary::before,
html.fx-static:not(.fx-light) .btn-nav-cta,
html.fx-static:not(.fx-light) .btn-nav-cta::before {
  animation: none !important;
}
html.fx-static:not(.fx-light) .logo-img-header,
html.fx-static:not(.fx-light) nav a:not(.btn-nav-cta)::after,
html.fx-static:not(.fx-light) .footer-links a,
html.fx-static:not(.fx-light) .footer-sig {
  transition: none !important;
  transform: none !important;
}

/* ===== body.has-sticky-cta ===== */
body.has-sticky-cta {
  padding-bottom: calc(100px + env(safe-area-inset-bottom));
}

/* ===== ORG PAGE COMPONENTS ===== */

/* Hero */
.org-hero {
  min-height: 60vh;
  padding: 120px 0 80px;
  background: linear-gradient(160deg, var(--org-brand, #6d4dff) 0%, var(--org-accent, #321478) 100%);
  position: relative;
}
.org-hero__inner {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}
.org-hero__logo {
  max-width: 120px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  background: white;
  padding: 16px;
  object-fit: contain;
  flex-shrink: 0;
}
.org-hero__logo--initial {
  width: 96px;
  height: 96px;
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', 'Fraunces Fallback', 'Times New Roman', Georgia, serif;
  font-size: 48px;
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
}
.org-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.org-hero__eyebrow {
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}
.org-hero__title {
  font-family: 'Fraunces', 'Fraunces Fallback', 'Times New Roman', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: white;
  line-height: 1.1;
}
.org-hero__op {
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  font-weight: 400;
}
.org-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: white;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s;
  margin-top: 16px;
  -webkit-tap-highlight-color: transparent;
}
.org-back:hover { background: rgba(255,255,255,.2); }

/* Sections */
.org-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border);
}
.org-section__label {
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 8px;
}
.org-section__title {
  font-family: 'Fraunces', 'Fraunces Fallback', 'Times New Roman', Georgia, serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: var(--color-text);
  margin-bottom: 20px;
}
.org-section__body {
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 72ch;
}

/* Gallery */
.org-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.org-gallery__item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  position: relative;
  aspect-ratio: 9/16;
  margin: 0;
}
.org-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.org-gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
  color: white;
  font-size: 13px;
  font-weight: 500;
}

/* Feature grid */
.org-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.org-feature-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.org-feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  background: var(--color-surface);
}
.org-feature-card__title {
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 8px;
}
.org-feature-card__body {
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Tunnel */
.org-tunnel {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 32px;
}
.org-tunnel__step {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.org-tunnel__step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.org-tunnel__step-img {
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
}
.org-tunnel__step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.org-tunnel__caption {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 10px;
  text-align: center;
}

/* Live Wall */
.org-livewall {
  background: var(--org-brand, #1a1a2e);
  color: white;
  border-radius: 20px;
  padding: 48px;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}
.org-livewall::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.06), transparent 60%);
  pointer-events: none;
}
.org-livewall__title {
  font-family: 'Fraunces', 'Fraunces Fallback', 'Times New Roman', Georgia, serif;
  font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: white;
  margin-bottom: 16px;
  position: relative;
}
.org-livewall__body {
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  max-width: 64ch;
  position: relative;
}
.org-livewall__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  font-size: 13px;
  font-weight: 600;
  margin-top: 24px;
  color: white;
  position: relative;
}

/* Sticky CTA */
.org-cta-sticky {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.org-cta-sticky__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6d4dff, #8b6dff);
  color: white;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(109,77,255,.4);
  transition: transform .28s cubic-bezier(.25,.46,.45,.94), box-shadow .28s;
  -webkit-tap-highlight-color: transparent;
}
.org-cta-sticky__btn:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(109,77,255,.55);
}
.org-cta-sticky__btn--live {
  background: linear-gradient(135deg, var(--org-brand, #6d4dff), var(--org-accent, #321478));
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .org-hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .org-hero__title {
    font-size: clamp(1.8rem, 8vw, 3.8rem);
  }
  .org-gallery {
    grid-template-columns: 1fr;
  }
  .org-tunnel {
    flex-direction: column;
  }
  .org-livewall {
    padding: 32px 24px;
  }
  .org-cta-sticky {
    left: 16px;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    align-items: stretch;
  }
  .org-cta-sticky__btn {
    justify-content: center;
  }
  footer[role="contentinfo"] {
    padding: 56px 0 calc(32px + env(safe-area-inset-bottom));
  }
  .footer-sig-tagline {
    margin-bottom: 32px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .footer-sep {
    height: 24px;
    margin: 0 auto 24px;
  }
  .footer-links {
    gap: 18px;
    font-size: 12px;
  }
  .footer-links a {
    font-size: 12px;
  }
  .footer-copy {
    font-size: 10px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
}

/* ===== CTA FIXED ORG (alias pour les pages org) ===== */
.cta-fixed-org {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  right: 24px;
  z-index: 90;
}
