/* ============================================================================
   NAEDRYS — Design System Library
   Bibliothèque de composants standalone — charte graphique complète
   À charger dans toutes les pages de services (hors index.html)
   Version : 2026-03-21 — Kairos
   ============================================================================

   USAGE :
   <link rel="stylesheet" href="lib/naedrys-theme.css">
   <script src="lib/naedrys-effects.js" defer></script>

   VARIANTES COULEUR DISPONIBLES :
   data-color="gold"    → --card-color: var(--n-gold-rgb)
   data-color="teal"    → --card-color: var(--n-teal-rgb)
   data-color="urgence" → --card-color: var(--n-urgence-rgb)
   ============================================================================ */

/* ============================================================================
   1. DESIGN TOKENS
   ============================================================================ */

:root {
  /* Colors */
  --n-bg:              #030303;
  --n-bg-card:         #0A0A0A;
  --n-bg-elevated:     #111111;
  --n-bg-surface:      #1A1A1A;

  --n-text:            #EAEAEA;
  --n-text-dim:        #888888;
  --n-text-muted:      rgba(234, 234, 234, 0.4);

  --n-gold:            #C4973B;
  --n-gold-dim:        rgba(196, 151, 59, 0.5);
  --n-gold-light:      rgba(196, 151, 59, 0.12);
  --n-gold-rgb:        196, 151, 59;

  --n-teal:            #5AC8AF;
  --n-teal-dim:        rgba(90, 200, 175, 0.5);
  --n-teal-light:      rgba(90, 200, 175, 0.12);
  --n-teal-rgb:        90, 200, 175;

  --n-urgence:         #B44B2A;
  --n-urgence-bg:      rgba(180, 75, 42, 0.15);
  --n-urgence-rgb:     180, 75, 42;

  --n-border:          rgba(255, 255, 255, 0.08);
  --n-border-hover:    rgba(255, 255, 255, 0.15);
  --n-border-gold:     rgba(196, 151, 59, 0.3);

  /* Typography */
  --n-font-display:    'Cormorant Garamond', 'Georgia', serif;
  --n-font-body:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --n-font-mono:       'JetBrains Mono', 'Fira Code', monospace;

  /* Type Scale — Fluid (charte officielle) */
  --n-text-display:    clamp(3.2rem, 8vw, 7.5rem);
  --n-text-h1:         clamp(2.5rem, 5vw, 4.5rem);
  --n-text-h2:         clamp(1.8rem, 3.5vw, 3rem);
  --n-text-h3:         clamp(1.3rem, 2vw, 1.75rem);
  --n-text-h4:         clamp(1.1rem, 1.5vw, 1.35rem);
  --n-text-body:       clamp(1rem, 1.1vw, 1.15rem);
  --n-text-body-lg:    clamp(1.1rem, 1.3vw, 1.35rem);
  --n-text-small:      0.875rem;
  --n-text-xs:         0.75rem;
  --n-text-micro:      0.65rem;

  /* Spacing */
  --n-space-2xs:       0.25rem;
  --n-space-xs:        0.5rem;
  --n-space-sm:        1rem;
  --n-space-md:        2rem;
  --n-space-lg:        4rem;
  --n-space-xl:        8rem;

  /* Layout */
  --n-container-max:   1280px;
  --n-container-narrow: 900px;
  --n-container-pad:   clamp(1.5rem, 4vw, 4rem);

  /* Transitions */
  --n-ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --n-ease-in-out:     cubic-bezier(0.4, 0, 0.2, 1);
  --n-ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --n-ease-expo:       cubic-bezier(0.19, 1, 0.22, 1);
  --n-duration-fast:   0.2s;
  --n-duration-base:   0.4s;
  --n-duration-slow:   0.8s;

  /* Borders */
  --n-radius-sm:       4px;
  --n-radius-md:       8px;
  --n-radius-lg:       16px;
  --n-radius-xl:       24px;
  --n-radius-full:     9999px;

  /* Z-index */
  --n-z-canvas:        1;
  --n-z-content:       10;
  --n-z-header:        100;
  --n-z-cursor:        9999;
  --n-z-grain:         9990;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --n-duration-fast: 0s;
    --n-duration-base: 0s;
    --n-duration-slow: 0s;
  }
}

/* ============================================================================
   2. RESET
   ============================================================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body { min-height: 100vh; line-height: 1.7; }

img, picture, video, canvas, svg { display: block; max-width: 100%; }

input, button, textarea, select { font: inherit; color: inherit; }

p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

button { background: none; border: none; cursor: pointer; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--n-gold); outline-offset: 2px; }

::selection { background-color: var(--n-gold); color: #000; }

/* ============================================================================
   3. BASE
   ============================================================================ */

body {
  font-family: var(--n-font-body);
  font-size: var(--n-text-body);
  color: var(--n-text);
  background-color: var(--n-bg);
  overflow-x: hidden;
}

@media (pointer: fine) { body { cursor: none; } }

h1, h2, h3, h4 {
  font-family: var(--n-font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--n-text);
}

h1 { font-size: var(--n-text-h1); }
h2 { font-size: var(--n-text-h2); }
h3 { font-size: var(--n-text-h3); }
h4 { font-size: var(--n-text-h4); }

p { max-width: 65ch; }

em { font-style: italic; color: var(--n-gold); }
strong { font-weight: 600; }

/* ============================================================================
   4. EFFETS DE FOND (canvas + grain + cursor)
   ============================================================================ */

/* Grain texture */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--n-z-grain);
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Canvas energy grid (fixe, derrière tout) */
.energy-grid-fixed {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: var(--n-z-canvas);
  pointer-events: none;
}

/* Canvas ambient particles */
.ambient-particles-fixed {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Curseur custom */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: var(--n-z-cursor);
  pointer-events: none;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: white;
  mix-blend-mode: difference;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  mix-blend-mode: difference;
  transition: width var(--n-duration-fast), height var(--n-duration-fast);
}

@media (pointer: coarse), (max-width: 768px) {
  .cursor-dot, .cursor-outline { display: none !important; }
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--n-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--n-ease-in-out);
}

.preloader.hidden { opacity: 0; pointer-events: none; }

.preloader__logo {
  font-family: var(--n-font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  color: var(--n-text);
  letter-spacing: -0.04em;
  animation: preloaderFade 1.4s var(--n-ease-out) forwards;
}

.preloader__logo span { color: var(--n-gold); }

@keyframes preloaderFade {
  0%   { opacity: 0; transform: scale(0.95); }
  40%  { opacity: 1; transform: scale(1); }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ============================================================================
   5. LAYOUT
   ============================================================================ */

.container {
  max-width: var(--n-container-max);
  margin: 0 auto;
  padding: 0 var(--n-container-pad);
}

.container--narrow { max-width: var(--n-container-narrow); }

.section {
  padding: clamp(4rem, 6vw, 6.5rem) 0;
  position: relative;
}

.section--elevated { background-color: var(--n-bg-card); }
.section--surface  { background-color: var(--n-bg-surface); }

.section-header { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-header.centered { text-align: center; }
.section-header.centered p { max-width: 52ch; margin: 0 auto; }
.section-header h2 { margin-bottom: var(--n-space-md); }
.section-header p { font-size: var(--n-text-body-lg); color: var(--n-text-dim); }

/* Grid 2 colonnes */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 5vw, 6rem);
  align-items: center;
}

/* Grid auto fill — cartes */
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .grid-2col, .grid-3col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .grid-auto { grid-template-columns: 1fr; }
}

/* ============================================================================
   6. HEADER
   ============================================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--n-z-header);
  padding: 1.25rem 0;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(3, 3, 3, 0.8);
  border-bottom: 1px solid var(--n-border);
  transition: padding var(--n-duration-base) var(--n-ease-in-out);
}

.header--scrolled {
  padding: 0.8rem 0;
  background-color: rgba(3, 3, 3, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--n-border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  font-family: var(--n-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--n-text);
}

.logo__n    { color: var(--n-text);  font-weight: 700; }
.logo__ae   { color: var(--n-gold); font-weight: 700; }
.logo__drys { color: var(--n-text); font-style: italic; font-weight: 400; }
.logo__dot  { color: var(--n-gold); }

/* Nav desktop */
.nav { display: flex; align-items: center; gap: 2rem; list-style: none; }

.nav a {
  font-size: var(--n-text-small);
  color: rgba(234, 234, 234, 0.65);
  transition: color var(--n-duration-fast);
  position: relative;
}

.nav a:hover { color: var(--n-text); }

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--n-gold);
  transition: width 0.3s;
}
.nav a:hover::after { width: 100%; }

.nav-cta::after { display: none !important; }

@media (max-width: 900px) { .nav { display: none; } }

.nav-cta {
  font-size: var(--n-text-micro) !important;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--n-gold) !important;
  border: 1px solid var(--n-border-gold);
  padding: 0.5rem 1.2rem;
  border-radius: var(--n-radius-full);
  transition: all var(--n-duration-fast) !important;
}

.nav-cta:hover {
  background: var(--n-gold-light);
  border-color: var(--n-gold);
}

/* Dropdown nav items */
.nav-item { position: relative; }

.nav-item__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--n-text-small);
  color: rgba(234, 234, 234, 0.65);
  transition: color var(--n-duration-fast);
  cursor: pointer;
}

.nav-item__toggle:hover,
.nav-item--open .nav-item__toggle { color: var(--n-gold); }

.nav-arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--n-duration-fast);
}

.nav-item--open .nav-arrow { transform: rotate(225deg) translateY(-2px); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-md);
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--n-duration-fast), transform var(--n-duration-fast);
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 0;
  right: 0;
  height: 1rem;
}

.nav-item--open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: var(--n-text-small);
  color: rgba(234, 234, 234, 0.7);
  border-radius: var(--n-radius-sm);
  transition: all var(--n-duration-fast);
}

.nav-dropdown a:hover { background: var(--n-border); color: var(--n-text); }

/* Dropdown — variante BEM (alignée sur index.html) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li > a,
.nav-links a.link-underline {
  font-size: var(--n-text-small);
  color: rgba(234, 234, 234, 0.65);
  transition: color var(--n-duration-fast);
}

.nav-links > li > a:hover,
.nav-links a.link-underline:hover { color: var(--n-gold); }

.nav-item--has-dropdown { position: relative; }

/* Pont hover invisible — couvre le gap entre le bouton et le dropdown.
   Sur le <li> parent (toujours hoverable), contrairement à .nav-dropdown::before
   qui est désactivé par pointer-events: none quand le dropdown est fermé. */
.nav-item--has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 1.5rem;
  z-index: 100;
}

.nav-item--has-dropdown:hover .nav-dropdown,
.nav-item--has-dropdown.nav-item--open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__label {
  display: block;
  padding: 0.4rem 1rem 0.25rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--n-text-muted, #6b6660);
}

.nav-dropdown__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  font-size: var(--n-text-small);
  color: rgba(234, 234, 234, 0.7);
  border-radius: var(--n-radius-sm);
  transition: background var(--n-duration-fast), color var(--n-duration-fast);
  white-space: nowrap;
  text-decoration: none;
}

.nav-dropdown__link:hover {
  background: rgba(196, 151, 59, 0.08);
  color: var(--n-gold);
}

.nav-dropdown__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(196, 151, 59, 0.45);
  flex-shrink: 0;
  transition: background var(--n-duration-fast);
}

.nav-dropdown__link:hover .nav-dropdown__dot { background: var(--n-gold); }

.nav-dropdown__sep {
  height: 1px;
  background: var(--n-border);
  margin: 0.4rem 0.5rem;
}

/* Menu mobile */
.menu-toggle {
  display: none;
  font-size: var(--n-text-small);
  color: var(--n-text-dim);
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: calc(var(--n-z-header) - 1);
  background: rgba(3, 3, 3, 0.98);
  backdrop-filter: blur(20px);
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
  font-family: var(--n-font-display);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  color: var(--n-text-dim);
  transition: color var(--n-duration-fast);
}

.mobile-menu a:hover { color: var(--n-text); }

.mobile-menu__link {
  font-family: var(--n-font-display);
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 500;
  color: var(--n-text);
  transition: color var(--n-duration-fast);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--n-border);
  text-decoration: none;
}

.mobile-menu__link:hover { color: var(--n-gold); }

/* Mobile — hub accordéon */
.mobile-hub { border-bottom: 1px solid var(--n-border); }

.mobile-hub__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 0.75rem 0;
  font-family: var(--n-font-display);
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 500;
  color: var(--n-text);
  cursor: pointer;
  text-align: left;
  transition: color var(--n-duration-fast);
}

.mobile-hub__toggle:hover,
.mobile-hub--open .mobile-hub__toggle { color: var(--n-gold); }

.mobile-hub__arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--n-duration-fast);
  flex-shrink: 0;
}

.mobile-hub--open .mobile-hub__arrow { transform: rotate(225deg); }

.mobile-hub__links {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0.25rem 0 1rem 1rem;
}

.mobile-hub--open .mobile-hub__links { display: flex; }

.mobile-hub__link {
  font-family: var(--n-font-body);
  font-size: 1rem;
  color: var(--n-text-dim);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color var(--n-duration-fast);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mobile-hub__link::before {
  content: '—';
  font-size: 0.7rem;
  color: rgba(196, 151, 59, 0.5);
}

.mobile-hub__link:hover { color: var(--n-gold); }

@media (max-width: 900px) {
  .nav,
  .nav-links { display: none; }
  .menu-toggle { display: block; }
}

/* ============================================================================
   7. BOUTONS — variantes complètes
   ============================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  font-family: var(--n-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--n-radius-full);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--n-duration-base) var(--n-ease-out),
    box-shadow var(--n-duration-base) var(--n-ease-out),
    border-color var(--n-duration-base) var(--n-ease-out),
    color var(--n-duration-base) var(--n-ease-out),
    background-color var(--n-duration-base) var(--n-ease-out);
}

/* — Gold (primaire) */
.btn-gold {
  background: linear-gradient(135deg, #B8882E 0%, #D4A843 35%, #C4973B 65%, #D4A843 100%);
  background-size: 250% 100%;
  color: var(--n-bg);
  animation: gold-flow 6s ease-in-out infinite;
}

@keyframes gold-flow {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}

.btn-gold:hover::before { animation: shimmer-sweep 0.65s cubic-bezier(0.4,0,0.2,1) forwards; }

@keyframes shimmer-sweep {
  0%   { left: -80%; }
  100% { left: 160%; }
}

.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 10px 40px rgba(var(--n-gold-rgb), 0.35),
    0 0 20px rgba(var(--n-gold-rgb), 0.15);
}

/* — Teal */
.btn-teal {
  background: linear-gradient(135deg, #47B09A 0%, #6BD4BB 35%, #5AC8AF 65%, #6BD4BB 100%);
  background-size: 250% 100%;
  color: var(--n-bg);
  animation: teal-flow 6s ease-in-out infinite;
}

@keyframes teal-flow {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.btn-teal::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}

.btn-teal:hover::before { animation: shimmer-sweep 0.65s cubic-bezier(0.4,0,0.2,1) forwards; }

.btn-teal:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 10px 40px rgba(var(--n-teal-rgb), 0.35),
    0 0 20px rgba(var(--n-teal-rgb), 0.15);
}

/* — Outline */
.btn-outline {
  border: 1.5px solid var(--n-text);
  color: var(--n-text);
  background: none;
}

.btn-outline:hover {
  background: var(--n-text);
  color: var(--n-bg);
  transform: translateY(-2px);
}

/* — Ghost */
.btn-ghost {
  border: 1px solid rgba(234,234,234,0.2);
  color: var(--n-text);
  background: none;
}

.btn-ghost:hover { border-color: var(--n-gold); color: var(--n-gold); transform: translateY(-3px); }

/* — Urgence */
.btn-urgence { background: var(--n-urgence); color: #fff; }

.btn-urgence:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 40px rgba(var(--n-urgence-rgb), 0.3);
}

/* — Arrow suffix (ajoute →) */
.btn-arrow::after {
  content: '\2192';
  display: inline-block;
  transition: transform var(--n-duration-fast) var(--n-ease-out);
}

.btn-arrow:hover::after { transform: translateX(4px); }

/* — Tailles */
.btn-sm { padding: 0.6rem 1.5rem; font-size: 0.65rem; }
.btn-lg { padding: 1.25rem 3rem; font-size: 0.78rem; }

/* ============================================================================
   8. LABELS & BADGES
   ============================================================================ */

.label {
  display: inline-block;
  font-family: var(--n-font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--n-gold);
  margin-bottom: 1rem;
  padding: 0.35em 1em;
  border: 1px solid rgba(var(--n-gold-rgb), 0.25);
  border-radius: 9999px;
  background: rgba(var(--n-gold-rgb), 0.08);
}

/* Override anti-conflit bundle.css : .section-header p (et autres conteneurs)
   pourrait écraser .label avec un font-size plus gros. On force la spécificité. */
.section-header .label,
.sh .label,
.hero .label,
.cta .label,
p.label,
span.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--n-gold);
  padding: 0.35em 1em;
  border: 1px solid rgba(var(--n-gold-rgb), 0.25);
  border-radius: 9999px;
  background: rgba(var(--n-gold-rgb), 0.08);
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Variantes (tiret simple — usage interne) */
.label-gold  { color: var(--n-gold);    border: 1px solid rgba(var(--n-gold-rgb),.3);    padding: .35em 1em; border-radius: var(--n-radius-full); background: rgba(var(--n-gold-rgb),.08); }
.label-teal  { color: var(--n-teal);    border: 1px solid rgba(var(--n-teal-rgb),.3);    padding: .35em 1em; border-radius: var(--n-radius-full); background: rgba(var(--n-teal-rgb),.08); }
.label-urgence { color: var(--n-urgence); border: 1px solid rgba(var(--n-urgence-rgb),.3); padding: .35em 1em; border-radius: var(--n-radius-full); background: rgba(var(--n-urgence-rgb),.08); }

/* Variantes BEM (double tiret — usage pages de services) */
.label.label--gold    { color: var(--n-gold);    border-color: rgba(var(--n-gold-rgb),.25);    background: rgba(var(--n-gold-rgb),.08); }
.label.label--teal    { color: var(--n-teal);    border-color: rgba(var(--n-teal-rgb),.2);     background: rgba(var(--n-teal-rgb),.08); }
.label.label--urgence { color: var(--n-urgence); border-color: rgba(var(--n-urgence-rgb),.25); background: rgba(var(--n-urgence-rgb),.08); }

/* Badge compact (sans padding) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: var(--n-text-micro);
  font-weight: 500;
  padding: .2em .6em;
  border-radius: var(--n-radius-sm);
}

.badge-gold    { background: rgba(var(--n-gold-rgb),.15);    color: var(--n-gold); }
.badge-teal    { background: rgba(var(--n-teal-rgb),.15);    color: var(--n-teal); }
.badge-urgence { background: rgba(var(--n-urgence-rgb),.15); color: var(--n-urgence); }

/* ============================================================================
   9. CARDS
   ============================================================================ */

/* — Holographique (principale) */
/* Usage : <div style="--card-color: var(--n-gold-rgb);" class="card-holo__wrapper"><div class="card-holo"> */

.card-holo__wrapper { perspective: 1000px; height: 100%; }

.card-holo {
  position: relative;
  height: 100%;
  min-height: 280px;
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(var(--card-color, var(--n-gold-rgb)), 0.12);
  border-radius: var(--n-radius-lg);
  padding: 2.5rem;
  overflow: hidden;
  transition: transform 0.1s, border-color 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 0 0 1px rgba(var(--card-color, var(--n-gold-rgb)), 0.05),
    0 6px 24px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.card-holo:hover {
  border-color: rgba(var(--card-color, var(--n-gold-rgb)), 0.45);
  box-shadow:
    0 22px 52px -8px rgba(0,0,0,0.6),
    0 0 0 1px rgba(var(--card-color, var(--n-gold-rgb)), 0.3),
    0 0 38px -6px rgba(var(--card-color, var(--n-gold-rgb)), 0.22),
    inset 0 1px 0 rgba(var(--card-color, var(--n-gold-rgb)), 0.12);
}

.card-holo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--card-color, var(--n-gold-rgb)), 0.8), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card-holo:hover::after { opacity: 1; }

/* Scanner light */
.card-holo__scanner {
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--card-color, var(--n-gold-rgb)), 0.1), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.5s;
  z-index: 0;
}

.card-holo:hover .card-holo__scanner { left: 100%; transition: left 0.8s ease-in-out; }

.card-holo__header { position: relative; z-index: 10; margin-bottom: 1rem; }
.card-holo__body   { position: relative; z-index: 10; flex: 1; }
.card-holo__footer { position: relative; z-index: 10; margin-top: 1.5rem; }

.card-holo__num {
  font-family: var(--n-font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  color: rgba(var(--card-color, var(--n-gold-rgb)), 0.15);
  line-height: 1;
  margin-bottom: 0.25rem;
  letter-spacing: -0.04em;
  /* Reset bundle.css overrides : pas de cadre/padding sur les chiffres holo */
  border: none;
  padding: 0;
  background: none;
}

/* Icône Lucide dans les cartes holo — pattern standard, voir [[patterns-site-naedrys]] */
.card-holo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(var(--card-color, var(--n-gold-rgb)), 0.08);
  border: 1px solid rgba(var(--card-color, var(--n-gold-rgb)), 0.22);
  margin-bottom: 1rem;
  transition: all 0.4s;
}

.card-holo:hover .card-holo__icon {
  background: rgba(var(--card-color, var(--n-gold-rgb)), 0.14);
  box-shadow: 0 0 18px rgba(var(--card-color, var(--n-gold-rgb)), 0.2);
}

.card-holo__icon svg {
  width: 22px;
  height: 22px;
  stroke: rgba(var(--card-color, var(--n-gold-rgb)), 1);
  stroke-width: 1.5;
}

.card-holo__title {
  font-family: var(--n-font-display);
  font-size: var(--n-text-h3);
  font-weight: 500;
  color: var(--n-text);
  margin-bottom: 0;
  line-height: 1.2;
}

.card-holo__desc {
  font-size: var(--n-text-body);
  color: var(--n-text-dim);
  line-height: 1.7;
}

/* Mobile / écrans tactiles — cards holo "vivantes" sans hover : glow permanent + scanner en boucle */
@media (hover: none) and (pointer: coarse) {
  .card-holo {
    border-color: rgba(var(--card-color, var(--n-gold-rgb)), 0.28);
    box-shadow:
      0 0 0 1px rgba(var(--card-color, var(--n-gold-rgb)), 0.12),
      0 6px 24px rgba(0,0,0,0.25),
      0 0 26px -8px rgba(var(--card-color, var(--n-gold-rgb)), 0.18),
      inset 0 1px 0 rgba(255,255,255,0.04);
  }
  .card-holo::after { opacity: 0.5; }
  .card-holo__scanner { animation: cardHoloScanLoop 7s ease-in-out infinite; }
  .card-holo__icon {
    background: rgba(var(--card-color, var(--n-gold-rgb)), 0.12);
    box-shadow: 0 0 14px rgba(var(--card-color, var(--n-gold-rgb)), 0.15);
  }
}

@keyframes cardHoloScanLoop {
  0%   { left: -100%; }
  55%  { left: 100%; }
  100% { left: 100%; }
}

/* — Minimale */
.card-minimal {
  background: var(--n-bg-card);
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-lg);
  padding: 2rem;
  transition: border-color var(--n-duration-base), box-shadow var(--n-duration-base);
}

.card-minimal:hover {
  border-color: var(--n-border-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* — Bordure colorée */
.card-bordered {
  background: var(--n-bg-card);
  border: 1px solid var(--n-border);
  border-top: 2px solid var(--n-gold);
  border-radius: var(--n-radius-lg);
  padding: 2rem;
}

.card-bordered.teal { border-top-color: var(--n-teal); }
.card-bordered.urgence { border-top-color: var(--n-urgence); }

/* ============================================================================
   10. HERO PATTERNS
   ============================================================================ */

/* Hero de base */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 6rem;
}

.hero__content {
  position: relative;
  z-index: var(--n-z-content);
  max-width: 860px;
  padding: 0 var(--n-container-pad);
}

.hero__label { margin-bottom: 1.5rem; }

.hero__title {
  font-size: var(--n-text-h1);
  margin-bottom: 1.5rem;
  animation: heroFadeUp 1s var(--n-ease-expo) both;
}

.hero__subtitle {
  font-size: var(--n-text-body-lg);
  color: var(--n-text-dim);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.85;
  animation: heroFadeUp 1s 0.2s var(--n-ease-expo) both;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: heroFadeUp 0.8s 0.4s var(--n-ease-expo) both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero gauche (texte aligné à gauche) */
.hero--left {
  justify-content: flex-start;
  text-align: left;
}

.hero--left .hero__content { margin: 0; }
.hero--left .hero__subtitle { margin-left: 0; }
.hero--left .hero__actions { justify-content: flex-start; }

/* Overlay gradient sur les héros à fond image/vidéo */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(3,3,3,0.3) 0%,
    rgba(3,3,3,0.5) 50%,
    rgba(3,3,3,0.85) 100%
  );
  z-index: 2;
}

.hero > canvas,
.hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* ============================================================================
   11. LISTES
   ============================================================================ */

/* — Feature list (icônes + texte) */
.feature-list { display: flex; flex-direction: column; gap: 1.25rem; }

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-list__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--n-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--n-gold);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.feature-list__icon.teal    { background: var(--n-teal-light); color: var(--n-teal); }
.feature-list__icon.urgence { background: var(--n-urgence-bg); color: var(--n-urgence); }

.feature-list__text h4 { font-family: var(--n-font-display); font-size: 1.1rem; margin-bottom: 0.25rem; }
.feature-list__text p  { font-size: var(--n-text-small); color: var(--n-text-dim); max-width: 45ch; }

/* — Timeline verticale */
.timeline { position: relative; padding-left: 2rem; }

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--n-gold), transparent);
}

.timeline__item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: -2.35rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--n-gold);
  border: 2px solid var(--n-bg);
  box-shadow: 0 0 8px rgba(var(--n-gold-rgb), 0.5);
}

.timeline__dot.teal { background: var(--n-teal); box-shadow: 0 0 8px rgba(var(--n-teal-rgb), 0.5); }

.timeline__label { font-size: var(--n-text-micro); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--n-gold); margin-bottom: 0.3rem; }
.timeline__title { font-family: var(--n-font-display); font-size: 1.2rem; margin-bottom: 0.4rem; }
.timeline__desc  { font-size: var(--n-text-small); color: var(--n-text-dim); line-height: 1.7; max-width: 50ch; }

/* — Timeline horizontale (étapes) */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
  padding-top: 1rem;
}

.step__num {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--n-gold-light);
  border: 1px solid var(--n-border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--n-font-display);
  font-size: 1.2rem;
  color: var(--n-gold);
  margin: 0 auto 1rem;
}

.step__num.teal { background: var(--n-teal-light); border-color: rgba(var(--n-teal-rgb),.3); color: var(--n-teal); }

.step__title { font-family: var(--n-font-display); font-size: 1.1rem; margin-bottom: 0.5rem; }
.step__desc  { font-size: var(--n-text-small); color: var(--n-text-dim); line-height: 1.7; }

/* — Liste numérotée large */
.numbered-list { display: flex; flex-direction: column; gap: 2rem; }

.numbered-list__item { display: flex; gap: 1.5rem; align-items: flex-start; }

.numbered-list__num {
  font-family: var(--n-font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: rgba(var(--n-gold-rgb), 0.25);
  line-height: 1;
  min-width: 3rem;
}

.numbered-list__content h3 { font-family: var(--n-font-display); font-size: 1.3rem; margin-bottom: 0.4rem; }
.numbered-list__content p  { font-size: var(--n-text-body); color: var(--n-text-dim); }

/* ============================================================================
   12. FORMULAIRES
   ============================================================================ */

/* — Minimal */
.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-size: var(--n-text-micro);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--n-text-muted);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--n-bg-card);
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-md);
  padding: 0.9rem 1.2rem;
  font-family: var(--n-font-body);
  font-size: var(--n-text-small);
  color: var(--n-text);
  transition: border-color var(--n-duration-fast), box-shadow var(--n-duration-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--n-gold);
  box-shadow: 0 0 0 3px rgba(var(--n-gold-rgb), 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--n-text-muted); }

.form-textarea { resize: vertical; min-height: 120px; }

/* — Highlighted (ligne seule) */
.form-input--line {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--n-border);
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}

.form-input--line:focus {
  border-bottom-color: var(--n-gold);
  box-shadow: none;
}

/* ============================================================================
   13. FAQ / ACCORDION
   ============================================================================ */

/* — Style 1 : minimal (lignes séparées) */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--n-border); }

.faq__item { border-bottom: 1px solid var(--n-border); }

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  font-family: var(--n-font-display);
  font-size: var(--n-text-h3);
  color: var(--n-text);
  cursor: pointer;
  text-align: left;
  transition: color var(--n-duration-fast);
}

.faq__question:hover { color: var(--n-gold); }

.faq__icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--n-text-muted);
  transition: transform var(--n-duration-base), color var(--n-duration-fast);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq__item.open .faq__icon { transform: rotate(45deg); color: var(--n-gold); }

.faq__answer {
  font-size: var(--n-text-body);
  color: var(--n-text-dim);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--n-ease-out), padding 0.3s;
  max-width: 65ch;
}

.faq__item.open .faq__answer { max-height: 400px; padding-bottom: 1.5rem; }

/* Support <details>/<summary> natif HTML */
summary.faq__question { list-style: none; }
summary.faq__question::-webkit-details-marker { display: none; }
details .faq__answer { max-height: none; overflow: visible; padding-bottom: 1.5rem; }
details[open] .faq__icon { transform: rotate(45deg); color: var(--n-gold); }

/* — Style 2 : cartes */
.faq-cards { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-card {
  background: var(--n-bg-card);
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-md);
  overflow: hidden;
  transition: border-color var(--n-duration-fast);
}

.faq-card.open { border-color: var(--n-border-gold); }

.faq-card__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-size: var(--n-text-body);
  font-weight: 500;
}

.faq-card__answer {
  font-size: var(--n-text-small);
  color: var(--n-text-dim);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--n-ease-out);
  padding: 0 1.5rem;
}

.faq-card.open .faq-card__answer { max-height: 300px; padding-bottom: 1.25rem; }

/* ============================================================================
   14. STATS / COMPTEURS
   ============================================================================ */

.stats-row {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 5vw, 5rem);
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat__num {
  font-family: var(--n-font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  color: var(--n-text);
}

.stat__num.gold    { color: var(--n-gold); }
.stat__num.teal    { color: var(--n-teal); }
.stat__num.urgence { color: var(--n-urgence); }

.stat__label {
  font-size: var(--n-text-small);
  color: var(--n-text-muted);
  margin-top: 0.5rem;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================================
   15. TÉMOIGNAGES
   ============================================================================ */

/* — Style 1 : Card avec avatar */
.testimonial {
  background: var(--n-bg-card);
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-lg);
  padding: 2rem;
}

.testimonial__stars {
  color: var(--n-gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial__quote {
  font-family: var(--n-font-display);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--n-text);
  margin-bottom: 1.5rem;
}

.testimonial__quote::before { content: '"'; color: var(--n-gold); }
.testimonial__quote::after  { content: '"'; color: var(--n-gold); }

.testimonial__author { display: flex; align-items: center; gap: 1rem; }

.testimonial__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--n-gold-light);
  border: 1px solid var(--n-border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--n-font-display);
  font-size: 1rem;
  color: var(--n-gold);
}

.testimonial__name { font-size: var(--n-text-small); font-weight: 500; }
.testimonial__role { font-size: var(--n-text-micro); color: var(--n-text-muted); }

/* — Style 2 : Citation large (style édito) */
.quote-large {
  border-left: 2px solid var(--n-gold);
  padding-left: 2rem;
  max-width: 55ch;
}

.quote-large__text {
  font-family: var(--n-font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--n-text);
  margin-bottom: 1rem;
}

.quote-large__author { font-size: var(--n-text-small); color: var(--n-text-muted); }

/* ============================================================================
   16. CALLOUTS
   ============================================================================ */

.callout {
  border-radius: var(--n-radius-md);
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--n-gold);
  background: var(--n-gold-light);
}

.callout.teal    { border-left-color: var(--n-teal);    background: var(--n-teal-light); }
.callout.urgence { border-left-color: var(--n-urgence); background: var(--n-urgence-bg); }

.callout p { font-size: var(--n-text-small); color: var(--n-text-dim); max-width: none; }
.callout strong { color: var(--n-text); }

/* ============================================================================
   17. SCROLL REVEALS (CSS only, activés par JS via IntersectionObserver)
   ============================================================================ */

.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity var(--n-duration-slow) var(--n-ease-out),
              transform var(--n-duration-slow) var(--n-ease-out);
}

.reveal       { transform: translateY(30px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--n-ease-out), transform 0.6s var(--n-ease-out);
}

.stagger.visible > * { opacity: 1; transform: none; }

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }

/* ============================================================================
   18. FOOTER
   ============================================================================ */

.footer {
  background-color: var(--n-bg);
  color: var(--n-text);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--n-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  grid-template-areas:
    "brand digi facture coaching"
    "legal digi facture coaching"
    "newsletter newsletter newsletter newsletter";
  gap: 1.25rem 3rem;
  margin-bottom: 2.5rem;
  align-items: start;
}
.footer-grid > :nth-child(1) { grid-area: brand; }
.footer-grid > :nth-child(2) { grid-area: digi; }
.footer-grid > :nth-child(3) { grid-area: facture; }
.footer-grid > :nth-child(4) { grid-area: coaching; }
.footer-grid > :nth-child(5) { grid-area: legal; }
.footer-grid > :nth-child(6) { grid-area: newsletter; }

.footer-brand .logo { display: inline-flex; margin-bottom: 0.8rem; }
.footer-brand p { color: var(--n-text-muted); font-size: var(--n-text-small); max-width: 28ch; }

.footer-col h4 {
  font-family: var(--n-font-body);
  font-size: var(--n-text-micro);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--n-text-dim);
  margin-bottom: 1rem;
}

.footer-col li { margin-bottom: 0.6rem; }

.footer-col a { font-size: var(--n-text-small); color: rgba(234,234,234,0.5); transition: color var(--n-duration-fast); }
.footer-col a:hover { color: var(--n-text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2.5rem;
  border-top: 1px solid var(--n-border);
  font-size: var(--n-text-xs);
  color: var(--n-text-muted);
}

.footer-bottom a { color: var(--n-text-muted); }
.footer-bottom a:hover { color: var(--n-text); }

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:
      "brand brand brand"
      "digi facture coaching"
      "legal legal legal"
      "newsletter newsletter newsletter";
    gap: 1.75rem 2rem;
  }
  .footer-brand { text-align: center; }
  .footer-brand .logo { justify-content: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "digi facture"
      "coaching legal"
      "newsletter newsletter";
    gap: 1.75rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  /* Newsletter : cadre arrondi avec input + bouton stacké en column */
  .footer-newsletter {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    padding: 0.95rem 1.1rem;
    border-radius: 16px;
  }
  .footer-newsletter__title { text-align: center; font-size: 0.68rem; }
  .footer-newsletter__form { flex-direction: column; gap: 0.5rem; }
  .footer-newsletter__input { width: 100%; padding: 0.6rem 0.95rem; font-size: 0.85rem; }
  .footer-newsletter__btn { width: 100%; padding: 0.6rem 1rem; font-size: 0.82rem; }
  .footer-newsletter__status { position: static; text-align: center; margin-top: 0.4rem; }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "digi"
      "facture"
      "coaching"
      "legal"
      "newsletter";
    text-align: center;
  }
  .footer-col h4 { margin-bottom: 0.75rem; }
}

/* ============================================================================
   19. HELPERS PAGES DE SERVICES
   ============================================================================ */

/* Section header shorthand */
.sh   { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sh.c { text-align: center; }
.sh p { color: var(--n-text-dim); max-width: 52ch; line-height: 1.8; }
.sh.c p { margin: 0 auto; }

/* Boutons alignés */
.actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Section CTA finale */
.cta-section { text-align: center; padding: clamp(5rem, 10vw, 9rem) 0; }
.cta-section h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 1rem; }
.cta-section p { color: var(--n-text-dim); max-width: 48ch; margin: 0 auto 2.5rem; line-height: 1.8; }

/* Pattern standard : .section.cta — voir [[patterns-site-naedrys]] */
.section.cta { text-align: center; padding: clamp(5rem, 10vw, 9rem) 0; }
.section.cta .reveal { max-width: 680px; margin: 0 auto; }
.section.cta .label { margin-bottom: 1.25rem; }
.section.cta h2 { font-family: var(--n-font-display); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; line-height: 1.15; }
.section.cta p { color: var(--n-text-dim); max-width: 48ch; margin: 0 auto 2.25rem; line-height: 1.8; font-size: 1rem; }
.section.cta .actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================================
   20. UTILITAIRES
   ============================================================================ */

.text-gold    { color: var(--n-gold); }
.text-teal    { color: var(--n-teal); }
.text-urgence { color: var(--n-urgence); }
.text-dim     { color: var(--n-text-dim); }
.text-muted   { color: var(--n-text-muted); }
.text-center  { text-align: center; }
.text-display { font-family: var(--n-font-display); }
.text-mono    { font-family: var(--n-font-mono); }

.mt-sm { margin-top: var(--n-space-sm); }
.mt-md { margin-top: var(--n-space-md); }
.mt-lg { margin-top: var(--n-space-lg); }
.mb-sm { margin-bottom: var(--n-space-sm); }
.mb-md { margin-bottom: var(--n-space-md); }
.mb-lg { margin-bottom: var(--n-space-lg); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.link-underline { position: relative; }
.link-underline::after { content: ''; position: absolute; bottom: -2px; left: 50%; width: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--n-gold), transparent); transition: width var(--n-duration-base), left var(--n-duration-base); }
.link-underline:hover::after { width: 100%; left: 0; }

/* Separator */
.sep { height: 1px; background: linear-gradient(90deg, transparent, var(--n-border), transparent); margin: 3rem 0; }

/* ============================================================================
   20. RESPONSIVE GLOBAL
   ============================================================================ */

@media (max-width: 768px) {
  .hero { min-height: 90vh; }
  .hero__actions { flex-direction: column; align-items: center; }
  .steps { grid-template-columns: 1fr; }
  .stats-row { gap: 2rem; }
}

/* ============================================================================
   FLOATING ACTIONS — Bouton WhatsApp + Bouton "Remonter en haut"
   Injectés par naedrys-effects.js sur toutes les pages
   ============================================================================ */

.fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column-reverse;
  gap: .65rem;
  z-index: 900;
  pointer-events: none;
}

.fab__btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(var(--n-teal-rgb, 90, 200, 175), 0.32);
  background: rgba(13, 13, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--n-teal);
  cursor: pointer;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.22,1,.36,1), background .3s, border-color .3s, box-shadow .3s, opacity .35s, visibility .35s;
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.38),
    0 0 18px -4px rgba(var(--n-teal-rgb, 90, 200, 175), 0.28);
  -webkit-tap-highlight-color: transparent;
}

.fab__btn:hover,
.fab__btn:focus-visible {
  background: rgba(var(--n-teal-rgb, 90, 200, 175), 0.16);
  border-color: var(--n-teal);
  transform: translateY(-3px);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.45),
    0 0 26px -2px rgba(var(--n-teal-rgb, 90, 200, 175), 0.5);
  outline: none;
}

.fab__btn--wa {
  animation: fabWaPulse 3.2s ease-in-out infinite;
}

.fab__btn--top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}

.fab.fab--show-top .fab__btn--top {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@keyframes fabWaPulse {
  0%, 100% {
    box-shadow:
      0 6px 22px rgba(0, 0, 0, 0.38),
      0 0 18px -4px rgba(var(--n-teal-rgb, 90, 200, 175), 0.28);
  }
  50% {
    box-shadow:
      0 6px 22px rgba(0, 0, 0, 0.38),
      0 0 28px -2px rgba(var(--n-teal-rgb, 90, 200, 175), 0.55);
  }
}

@media (max-width: 600px) {
  .fab__btn { width: 48px; height: 48px; }
}

/* ============================================================================
   SKIP-TO-CONTENT — Accessibilité (lecteurs d'écran + navigation clavier)
   ============================================================================ */

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.75rem 1.25rem;
  background: var(--n-bg);
  color: var(--n-gold);
  border: 1px solid var(--n-gold);
  border-radius: 0 0 var(--n-radius-md) 0;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  z-index: 10001;
  transform: translateY(-110%);
  transition: transform 0.2s var(--n-ease-out);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--n-gold);
  outline-offset: 2px;
}

/* ============================================================================
   FOOTER SOCIAL — Liens réseaux sociaux dans le footer-bottom
   ============================================================================ */

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  transition: transform 0.3s var(--n-ease-out), background 0.3s, box-shadow 0.3s;
}

.footer-social__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Une couleur Naedrys par réseau (charte graphique) */
.footer-social__link[href*="instagram"] {
  color: var(--n-gold);
  border-color: rgba(var(--n-gold-rgb), 0.35);
  background: rgba(var(--n-gold-rgb), 0.06);
}
.footer-social__link[href*="linkedin"] {
  color: var(--n-teal);
  border-color: rgba(var(--n-teal-rgb), 0.35);
  background: rgba(var(--n-teal-rgb), 0.06);
}
.footer-social__link[href*="youtube"] {
  color: var(--n-urgence);
  border-color: rgba(180, 75, 42, 0.4);
  background: rgba(180, 75, 42, 0.06);
}

.footer-social__link:hover {
  transform: translateY(-3px);
}
.footer-social__link[href*="instagram"]:hover {
  background: rgba(var(--n-gold-rgb), 0.14);
  box-shadow: 0 0 18px -2px rgba(var(--n-gold-rgb), 0.45);
}
.footer-social__link[href*="linkedin"]:hover {
  background: rgba(var(--n-teal-rgb), 0.14);
  box-shadow: 0 0 18px -2px rgba(var(--n-teal-rgb), 0.45);
}
.footer-social__link[href*="youtube"]:hover {
  background: rgba(180, 75, 42, 0.14);
  box-shadow: 0 0 18px -2px rgba(180, 75, 42, 0.45);
}

/* Liens footer colorés par catégorie (titre + hover lien)
   Footer canonique : Brand + Digitalisation + Facturation + Coaching + Légal */
.footer-grid > .footer-col:nth-child(2) h4,
.footer-grid > .footer-col:nth-child(2) a:hover {
  color: var(--n-teal);
}
.footer-grid > .footer-col:nth-child(3) h4,
.footer-grid > .footer-col:nth-child(3) a:hover {
  color: var(--n-urgence);
}
.footer-grid > .footer-col:nth-child(4) h4,
.footer-grid > .footer-col:nth-child(4) a:hover {
  color: var(--n-gold);
}
.footer-grid > .footer-col:nth-child(5) h4 {
  color: var(--n-text-dim);
}
.footer-grid > .footer-col:nth-child(5) a:hover {
  color: var(--n-text);
}

/* Sur tactile : les liens prennent leur couleur de catégorie en permanence
   (le :hover ne se déclenche pas sur écrans tactiles) */
@media (hover: none) and (pointer: coarse) {
  .footer-grid > .footer-col:nth-child(2) a { color: rgba(var(--n-teal-rgb), 0.75); }
  .footer-grid > .footer-col:nth-child(3) a { color: rgba(180, 75, 42, 0.85); }
  .footer-grid > .footer-col:nth-child(4) a { color: rgba(var(--n-gold-rgb), 0.75); }
  .footer-grid > .footer-col:nth-child(5) a { color: var(--n-text-dim); }
}

/* ============================================================================
   FOOTER NEWSLETTER — Bande ultra-compacte horizontale (dans le grid, area "newsletter")
   ============================================================================ */

.footer-newsletter {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.4rem 0.5rem 1.1rem;
  background: linear-gradient(90deg, rgba(var(--n-gold-rgb), 0.08), rgba(var(--n-gold-rgb), 0.02));
  border: 1px solid rgba(var(--n-gold-rgb), 0.35);
  border-radius: 100px;
  position: relative;
  box-shadow: 0 0 18px -4px rgba(var(--n-gold-rgb), 0.25), inset 0 0 0 1px rgba(var(--n-gold-rgb), 0.05);
}

.footer-newsletter__title {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--n-gold);
  white-space: nowrap;
}

.footer-newsletter__desc { display: none; }

.footer-newsletter__form {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 0.4rem;
  margin: 0;
}

.footer-newsletter__input {
  flex: 1;
  padding: 0.4rem 0.75rem;
  background: rgba(13, 13, 13, 0.5);
  border: 1px solid var(--n-border);
  border-radius: 100px;
  color: var(--n-text);
  font-family: var(--n-font-body);
  font-size: 0.74rem;
  transition: border-color 0.3s, background 0.3s;
}
.footer-newsletter__input::placeholder { color: var(--n-text-muted); }
.footer-newsletter__input:focus {
  outline: none;
  border-color: var(--n-gold);
  background: rgba(var(--n-gold-rgb), 0.04);
}

.footer-newsletter__btn {
  padding: 0.4rem 0.95rem;
  background: var(--n-gold);
  color: var(--n-bg);
  border: 1px solid var(--n-gold);
  border-radius: 100px;
  font-family: var(--n-font-body);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--n-ease-out);
}
.footer-newsletter__btn:hover,
.footer-newsletter__btn:focus-visible {
  background: transparent;
  color: var(--n-gold);
  outline: none;
}

.footer-newsletter__status {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  margin: 0;
  font-size: 0.68rem;
  transition: color 0.3s;
}
.footer-newsletter__status--success { color: var(--n-teal); }
.footer-newsletter__status--error { color: var(--n-urgence); }

.footer-newsletter__note { display: none; }

/* Newsletter mobile : cadre arrondi avec input + bouton stacké
   (placé après la règle de base pour bien override) */
@media (max-width: 768px) {
  .footer-newsletter {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    padding: 0.95rem 1.1rem;
    border-radius: 16px;
  }
  .footer-newsletter__title { text-align: center; font-size: 0.68rem; }
  .footer-newsletter__form { flex-direction: column; gap: 0.5rem; }
  .footer-newsletter__input { width: 100%; padding: 0.6rem 0.95rem; font-size: 0.85rem; }
  .footer-newsletter__btn { width: 100%; padding: 0.6rem 1rem; font-size: 0.82rem; }
  .footer-newsletter__status { position: static; text-align: center; margin-top: 0.4rem; }
}

/* ============================================================================
   COOKIE BANNER — Bandeau de consentement RGPD/CNIL
   Injecté par naedrys-cookies.js sur toutes les pages
   ============================================================================ */

.cookie-banner {
  position: fixed;
  bottom: clamp(1rem, 3vw, 1.75rem);
  left: 50%;
  width: min(720px, calc(100% - 2rem));
  z-index: 9500;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(13, 13, 13, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--n-border-h);
  border-radius: var(--n-radius-lg);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(var(--n-gold-rgb), 0.08);
  opacity: 0;
  transform: translateX(-50%) translateY(140%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s;
}

.cookie-banner--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(var(--n-gold-rgb), 0.1);
  border: 1px solid rgba(var(--n-gold-rgb), 0.28);
  color: var(--n-gold);
  margin-top: 0.15rem;
}

.cookie-banner__content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 220px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--n-text-dim);
  margin: 0;
}

.cookie-banner__link {
  color: var(--n-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s;
}
.cookie-banner__link:hover { color: var(--n-text); }

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  font-family: var(--n-font-body);
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s var(--n-ease-out);
}

.cookie-banner__btn--refuse {
  background: transparent;
  color: var(--n-text-dim);
  border-color: var(--n-border-h);
}
.cookie-banner__btn--refuse:hover,
.cookie-banner__btn--refuse:focus-visible {
  color: var(--n-text);
  border-color: var(--n-text-muted);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.cookie-banner__btn--accept {
  background: var(--n-gold);
  color: var(--n-bg);
  border-color: var(--n-gold);
}
.cookie-banner__btn--accept:hover,
.cookie-banner__btn--accept:focus-visible {
  background: transparent;
  color: var(--n-gold);
  box-shadow: 0 0 18px -2px rgba(var(--n-gold-rgb), 0.5);
  outline: none;
}

@media (max-width: 600px) {
  .cookie-banner {
    width: calc(100% - 1.5rem);
    padding: 1rem 1.1rem;
    flex-direction: column;
    gap: 0.85rem;
  }
  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .cookie-banner__actions {
    justify-content: space-between;
  }
  .cookie-banner__btn {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .footer-social { justify-content: center; order: -1; }
}
