/* ============================================================================
   REFONTE 2026 — Identité Vivalys
   Le socle sombre est conservé, mais discipliné : plus d'anneau qui tourne, plus
   de sphères qui dérivent, plus de titre qui écrase la page. Le logo reprend la
   place centrale, la typographie se calme, les pôles passent en grille.
   Ce bloc surcharge le thème précédent sans le réécrire : toutes les pages du
   site en héritent.
   ========================================================================== */

:root {
  --bg: #0b0908;
  --bg-soft: #14110f;
  --or: #e89020;
  --or-clair: #f2b84b;
  --braise: #a0381b;
  --texte: #f5f2ea;
  --texte-doux: #b9afa4;
  --texte-faible: #8a8078;
  --ivoire: #f5f1e8;
  --encre: #16202e;
  --ligne-sombre: rgba(255, 255, 255, 0.09);
  --ligne-claire: #e0d8c8;
  --serif-titre: 'Poppins', 'Inter', sans-serif;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  background: var(--bg);
  color: var(--texte);
}

h1, h2, h3, h4, .section-title, .bs-tagline, .page-hero h1 {
  font-family: var(--serif-titre);
  letter-spacing: -0.01em;
}

/* palette : on garde le chaud du logo, on retire le criard */
.grad,
.grad-text {
  background: linear-gradient(100deg, var(--or) 0%, var(--or-clair) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- on retire les décors qui tournent ---------- */
.orb,
.brand-rays,
.brand-showcase::before,
.brand-showcase::after {
  display: none !important;
}

#logo3d-container {
  display: none !important;
}

/* ---------- navigation : sobre, filet fin ---------- */
nav.main-nav {
  background: rgba(11, 9, 8, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ligne-sombre);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* ---------- HERO ---------- */
.hero {
  min-height: auto;
  padding: 7rem 2rem 4rem;
  text-align: center;
  /* le clip du badge a un fond noir pur : le haut du hero est noir pur
     puis se fond vers le fond de page, pour qu'aucun cadre ne se voie */
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(232, 144, 32, 0.10), transparent 70%),
    linear-gradient(180deg, #000000 0%, #000000 78%, var(--bg) 100%);
}

.hero-logo {
  display: block;
  width: auto;
  height: 150px;
  margin: 0 auto 1.6rem;
  filter: drop-shadow(0 12px 34px rgba(232, 144, 32, 0.28));
}

/* Badge animé (Flow) — taille réelle du fichier, aucun redimensionnement */
.hero-flow {
  display: block;
  width: 352px;
  height: 640px;
  max-width: 100%;
  margin: -1rem auto 0.5rem;
  border: 0;
  outline: 0;
  background: transparent;
  /* le clip a un fond quasi noir : on éteint ses quatre bords en douceur
     pour qu'aucun cadre, aucune forme ne se voie — la flamme s'évanouit
     simplement dans le noir de la page */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 74px, #000 calc(100% - 74px), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 74px, #000 calc(100% - 74px), transparent 100%);
  mask-composite: intersect;
}


.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 auto 1.8rem;
  padding: 0.72rem 1.35rem;
  border: 1px solid rgba(232, 144, 32, 0.38);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(232, 144, 32, 0.10), rgba(232, 144, 32, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
}

.badge-point {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--or);
  box-shadow: 0 0 0 0 rgba(232, 144, 32, 0.55);
  animation: badge-pulse 2.6s ease-out infinite;
  flex-shrink: 0;
}

@keyframes badge-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232, 144, 32, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(232, 144, 32, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 144, 32, 0); }
}

.badge-fort {
  font-weight: 700;
  color: #ffffff;
}

.badge-sep {
  width: 1px;
  height: 12px;
  background: rgba(232, 144, 32, 0.45);
}

.badge-doux {
  font-weight: 600;
  color: var(--or);
}

.hero h1 {
  font-family: 'Poppins', 'Inter', sans-serif !important;
  font-size: clamp(30px, 4.2vw, 46px) !important;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 20ch;
  margin: 0 auto;
  color: #ffffff;
}

.hero h1 br {
  display: none;
}

.hero h1 .line2 {
  display: block;
  margin-top: 0.2rem;
}

.hero-sub {
  max-width: 62ch !important;
  margin: 1.4rem auto 0 !important;
  font-size: 15px;
  line-height: 1.8;
  color: var(--texte-doux);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 2.2rem;
}

/* boutons : angles droits, sobres */
.btn-gold,
.btn-ghost {
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95rem 1.7rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-gold {
  background: var(--or);
  color: #14110f;
  border: 1px solid var(--or);
}

.btn-gold:hover {
  background: var(--or-clair);
  border-color: var(--or-clair);
}

.btn-ghost {
  background: transparent;
  color: var(--texte);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  border-color: var(--or);
  color: var(--or);
}

/* ---------- les 9 pôles : grille à filets, plus de pastilles ---------- */
.hero-grid {
  display: grid !important;
  position: static !important;
  transform: none !important;
  width: 100% !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  opacity: 1 !important;
  animation: none !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ligne-sombre);
  border: 1px solid var(--ligne-sombre);
  margin: 3rem auto 0;
  max-width: 940px;
  padding: 0;
}

.hero-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg);
  border: none;
  border-radius: 0;
  padding: 1.1rem 1.2rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--texte-doux);
  transition: background 0.2s ease, color 0.2s ease;
  position: relative;
}

.hero-pill::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--or);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hero-pill:hover {
  background: var(--bg-soft);
  color: #ffffff;
}

.hero-pill:hover::before {
  opacity: 1;
}

.hero-pill .icon {
  font-size: 16px;
  filter: grayscale(0.35);
}

/* ---------- section brand : le texte reste, le décor disparaît ---------- */
.brand-showcase {
  padding: 4rem 2rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--ligne-sombre);
  border-bottom: 1px solid var(--ligne-sombre);
}

.bs-logo-wrapper {
  display: none;
}

.bs-tagline {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  font-weight: 600;
  text-transform: uppercase;
  max-width: 26ch;
  margin: 0 auto 1rem;
}

.bs-sub {
  max-width: 66ch;
  margin: 0 auto 1.8rem;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--texte-doux);
}

/* ---------- bandeau de chiffres ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ligne-sombre);
  border: none;
  padding: 0;
  max-width: none;
}

.stat-item {
  background: var(--bg);
  padding: 2rem 1rem;
  text-align: center;
}

.stat-num {
  font-family: var(--serif-titre);
  font-size: 32px;
  font-weight: 700;
  color: var(--or);
  line-height: 1;
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--texte-faible);
}

/* ---------- titres de section ---------- */
.section-title {
  font-family: 'Poppins', 'Inter', sans-serif !important;
  font-size: clamp(24px, 3vw, 32px) !important;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--or);
}

.section-line {
  width: 48px;
  height: 2px;
  background: var(--or);
  margin: 1rem 0 1.4rem;
}

/* ---------- cartes et puces : angles droits ---------- */
.val-chip {
  border-radius: 0;
  border: 1px solid var(--ligne-sombre);
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-doux);
  padding: 0.5rem 0.9rem;
}

/* ---------- pied de page ---------- */
footer.main-footer {
  border-top: 1px solid var(--ligne-sombre);
  background: #080706;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 6rem 1.2rem 3rem;
  }
  .hero-logo {
    height: 110px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-pill {
    padding: 0.95rem 1rem;
  }
}

/* ============================================================================
   SOUS-PAGES — même identité que l'accueil
   Les pages intérieures (services, pôles, contact, mentions…) portaient encore
   les gros titres Syne de 80 px et les cartes arrondies en verre de l'ancien
   thème. On les aligne sur l'accueil : Poppins, angles droits, filets fins.
   ========================================================================== */

.page-hero {
  padding: 8rem 2rem 3.6rem;
  text-align: center;
  border-bottom: 1px solid var(--ligne-sombre);
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(232, 144, 32, 0.08), transparent 70%),
    linear-gradient(180deg, #000000 0%, #000000 55%, var(--bg) 100%);
}

.page-hero .crumbs {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--texte-faible);
  margin-bottom: 1.2rem;
}

.page-hero .ph-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  filter: grayscale(0.35);
}

.page-hero h1 {
  font-family: 'Poppins', 'Inter', sans-serif !important;
  font-size: clamp(28px, 3.6vw, 44px) !important;
  font-weight: 700 !important;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 24ch;
  margin: 0 auto 1rem;
  color: #ffffff;
}

.page-hero p {
  max-width: 62ch;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 400;
  color: var(--texte-doux);
}

/* ---------- cartes, tuiles, étapes : angles droits, filets, zéro verre ---------- */
.service-card,
.pillar,
.card,
.stat-card,
.glass-card,
.feature-item,
.gallery-item,
.process-step,
.service-detail {
  border-radius: 0 !important;
  background: var(--bg-soft);
  border: 1px solid var(--ligne-sombre);
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.service-card:hover,
.pillar:hover,
.card:hover,
.stat-card:hover,
.glass-card:hover,
.feature-item:hover {
  transform: none !important;
  border-color: rgba(232, 144, 32, 0.45);
  background: rgba(232, 144, 32, 0.05);
  box-shadow: none !important;
}

/* ---------- titres de cartes ---------- */
.s-name,
.card-title,
.modal-title,
.stat-value {
  font-family: var(--serif-titre);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- formulaires : champs droits, fonds pleins ---------- */
.form-input,
.form-select {
  border-radius: 0 !important;
  background: var(--bg-soft) !important;
  border: 1px solid var(--ligne-sombre) !important;
  color: var(--texte) !important;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--or) !important;
  outline: none;
  box-shadow: none !important;
}

/* ---------- boutons secondaires ---------- */
.btn-outline,
.btn-sm {
  border-radius: 0 !important;
}

/* ---------- responsive ---------- */
@media (max-width: 600px) {
  .page-hero {
    padding: 6.5rem 1.2rem 2.8rem;
  }
}



/* ============================================================================
   SECTIONS CLAIRES — registre institutionnel
   Le hero et le pied de page restent noirs (la video du logo en a besoin).
   Les sections de contenu passent en blanc, texte encre. Les variables de
   l'ancien theme sont redefinies localement : cartes, FAQ, filets et textes
   suivent sans qu'on ait a reprendre chaque composant.
   ========================================================================== */

:root{
  --blanc: #ffffff;
  --blanc-casse: #f7f5f1;
  --encre: #141210;
  --encre-doux: #4d463d;
  --encre-faible: #6f6659;
  --filet-clair: #e3ddd2;
  --or-fonce: #a85c12;
}

:is(.services-section, .mission-section, .section-clair) {
  color: var(--encre);
  /* l'or clair et le crème de l'ancien thème tombent sous 2,6:1 sur blanc :
     dans ces sections, --gold devient de l'or brûlé et --cream de l'encre douce.
     Les boutons dorés rétablissent l'or vif plus bas. */
  --gold: var(--or-fonce);
  --cream: var(--encre-doux);
  --dark-4: var(--blanc-casse);
  --text: var(--encre);
  --texte: var(--encre);
  --muted: var(--encre-doux);
  --texte-doux: var(--encre-doux);
  --texte-faible: var(--encre-faible);
  --bg-soft: var(--blanc);
  --ligne-sombre: var(--filet-clair);
  --glass: var(--blanc);
  --glass-strong: var(--blanc);
  --glass-border: var(--filet-clair);
}

:is(.services-section, .section-clair) {
  background: var(--blanc) !important;
  border-top: 1px solid var(--filet-clair);
  border-bottom: 1px solid var(--filet-clair);
}

.mission-section {
  background: var(--blanc-casse) !important;
  border-top: 1px solid var(--filet-clair);
  border-bottom: 1px solid var(--filet-clair);
}

.section-media {
  background: #000000 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

:is(.services-section, .mission-section, .section-clair) h1, :is(.services-section, .mission-section, .section-clair) h2, :is(.services-section, .mission-section, .section-clair) h3, :is(.services-section, .mission-section, .section-clair) h4, :is(.services-section, .mission-section, .section-clair) h5, :is(.services-section, .mission-section, .section-clair) h6,
:is(.services-section, .mission-section, .section-clair) .section-title { color: var(--encre) !important; }

:is(.services-section, .mission-section, .section-clair) p, :is(.services-section, .mission-section, .section-clair) li { color: var(--encre-doux); }

:is(.services-section, .mission-section, .section-clair) .tag { color: var(--or-fonce) !important; }
:is(.services-section, .mission-section, .section-clair) .muted { color: var(--encre-faible) !important; }

:is(.services-section, .mission-section, .section-clair) .grad-text,
:is(.services-section, .mission-section, .section-clair) .s-name,
:is(.services-section, .mission-section, .section-clair) .s-link,
:is(.services-section, .mission-section, .section-clair) .stat-value,
:is(.services-section, .mission-section, .section-clair) .card-title,
:is(.services-section, .mission-section, .section-clair) .tl-date,
:is(.services-section, .mission-section, .section-clair) strong {
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  color: var(--or-fonce) !important;
}

:is(.services-section, .mission-section, .section-clair) .s-desc { color: var(--encre-doux) !important; }

:is(.services-section, .mission-section, .section-clair) .service-card,
:is(.services-section, .mission-section, .section-clair) .card,
:is(.services-section, .mission-section, .section-clair) .stat-card,
:is(.services-section, .mission-section, .section-clair) .glass-card,
:is(.services-section, .mission-section, .section-clair) .feature-item,
:is(.services-section, .mission-section, .section-clair) .process-step,
:is(.services-section, .mission-section, .section-clair) .tl-item,
:is(.services-section, .mission-section, .section-clair) .service-detail,
:is(.services-section, .mission-section, .section-clair) .pillar,
:is(.services-section, .mission-section, .section-clair) .related-card,
:is(.services-section, .mission-section, .section-clair) .val-chip,
:is(.services-section, .mission-section, .section-clair) .legal-content,
:is(.services-section, .mission-section, .section-clair) .faq-item {
  background: var(--blanc) !important;
  border: 1px solid var(--filet-clair) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

:is(.services-section, .mission-section, .section-clair) .service-card:hover,
:is(.services-section, .mission-section, .section-clair) .card:hover,
:is(.services-section, .mission-section, .section-clair) .pillar:hover,
:is(.services-section, .mission-section, .section-clair) .related-card:hover {
  background: #fffdf8 !important;
  border-color: var(--or-fonce) !important;
}

:is(.services-section, .mission-section, .section-clair) .faq-q { color: var(--encre) !important; }
:is(.services-section, .mission-section, .section-clair) .faq-q::after { color: var(--or-fonce) !important; }
:is(.services-section, .mission-section, .section-clair) .faq-a { color: var(--encre-doux) !important; }

:is(.services-section, .mission-section, .section-clair) .section-line {
  background: linear-gradient(to right, var(--or-fonce), transparent) !important;
}

:is(.services-section, .mission-section, .section-clair) .form-input,
:is(.services-section, .mission-section, .section-clair) .form-select,
:is(.services-section, .mission-section, .section-clair) textarea {
  background: var(--blanc) !important;
  border: 1px solid var(--filet-clair) !important;
  color: var(--encre) !important;
}

:is(.services-section, .mission-section, .section-clair) .form-label { color: var(--encre-doux) !important; }

:is(.services-section, .mission-section, .section-clair) .btn-ghost,
:is(.services-section, .mission-section, .section-clair) .btn-outline {
  color: var(--encre) !important;
  border-color: rgba(20, 18, 16, 0.35) !important;
}

:is(.services-section, .mission-section, .section-clair) .btn-ghost:hover,
:is(.services-section, .mission-section, .section-clair) .btn-outline:hover {
  border-color: var(--encre) !important;
  background: rgba(20, 18, 16, 0.04) !important;
}

:is(.services-section, .mission-section, .section-clair) .btn-gold,
:is(.services-section, .mission-section, .section-clair) .btn-submit,
:is(.services-section, .mission-section, .section-clair) .btn-primary,
:is(.services-section, .mission-section, .section-clair) .nav-cta {
  background: linear-gradient(135deg, #e89020, #ffc940) !important;
  color: #17120c !important;
}


/* les liens sur fond clair passent en or brûlé (l'or clair tombe à 2,5:1) */
:is(.services-section, .mission-section, .section-clair) a:not(.btn-gold):not(.btn-ghost):not(.btn-outline):not(.btn) {
  color: var(--or-fonce) !important;
}

:is(.services-section, .mission-section, .section-clair) a:not(.btn-gold):not(.btn-ghost):not(.btn-outline):not(.btn):hover {
  color: var(--encre) !important;
}


/* ---------- pictogrammes Adinkra ---------- */
.adk {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: -0.19em;
  fill: currentColor;
  stroke: none;
  overflow: visible;
}

.s-icon .adk,
.p-icon .adk,
.c-icon .adk,
.card-icon .adk,
.fi-icon .adk { width: 1em; height: 1em; vertical-align: middle; }

.ph-icon .adk { width: 1em; height: 1em; vertical-align: middle; }


/* ============================================================================
   CHIFFRES CLÉS — bande éditoriale, sans cases
   L'ancienne version alignait quatre cellules fermées par des filets : on
   lisait une grille de tableau, pas une signature. Ici les chiffres vivent
   seuls dans l'espace : libellé au-dessus, nombre en grand dessous, aucun
   cadre, aucun fond, aucun séparateur.
   ========================================================================== */

.stats-bar {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--filet-clair) !important;
  border-bottom: 1px solid var(--filet-clair) !important;
  background: var(--blanc) !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  max-width: none !important;
  padding: 3.2rem 4rem 3.4rem !important;
}

.stat-item {
  border: 0 !important;
  padding: 0 1.4rem !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column-reverse !important;
  align-items: flex-start !important;
  gap: 0.55rem !important;
  background: none !important;
}

.stat-num {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(40px, 4.6vw, 62px) !important;
  font-weight: 700 !important;
  line-height: 0.92 !important;
  letter-spacing: -0.035em !important;
  color: var(--encre) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

.stat-label {
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--or-fonce) !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

@media (max-width: 860px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    row-gap: 2.4rem !important;
    padding: 2.6rem 1.6rem !important;
  }
  .stat-item { padding: 0 0.4rem !important; }
  .stat-num { font-size: clamp(34px, 10vw, 46px) !important; }
}



/* ---------- les 100 % : neuf arcs, un par pôle, qui se referment ---------- */
.anneau { width: 64px; height: 64px; }
.segments .seg {
  fill: none;
  stroke: url(#orArc);
  stroke-width: 4.2;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.stats-bar.vu .segments .seg { stroke-dashoffset: 0 !important; }
.anneau-coeur { stroke: rgba(201, 116, 26, 0.18); stroke-width: 1; }

@media (prefers-reduced-motion: reduce) {
  .segments .seg { transition: none; }
}


/* ---------- alignement des quatre cellules ---------- */
.stat-item {
  grid-template-rows: 66px 58px auto !important;
  align-content: start !important;
}
.stat-visuel { grid-row: 1; }
.stat-num    { grid-row: 2; align-self: start; }
.stat-label  { grid-row: 3; align-self: start; }

.stat-infinie {
  grid-row: 1 / span 2 !important;
  display: flex;
  align-items: center;
  height: 132px;
}
.stat-infinie .inf { width: 96px; height: 66px; overflow: visible; }

.inf-trace {
  fill: none;
  stroke: url(#orInf);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.stats-bar.vu .inf-trace { stroke-dashoffset: 0; }

.inf-flux {
  fill: none;
  stroke: #fff0cc;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 9 100;
  opacity: 0;
}
.stats-bar.vu .inf-flux {
  opacity: 0.9;
  animation: flux-infini 3.4s linear infinite 1.6s;
}
@keyframes flux-infini {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -109; }
}

/* ---------- animation du globe ---------- */
.gl-afrique, .gl-europe, .gl-ameriques { opacity: 0; }
.stats-bar.vu .gl-ameriques { animation: terre-apparait 0.9s ease-out 0.15s forwards; }
.stats-bar.vu .gl-europe    { animation: terre-apparait 0.9s ease-out 0.45s forwards; }
.stats-bar.vu .gl-afrique   { animation: terre-apparait 0.9s ease-out 0.75s forwards; }

@keyframes terre-apparait {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.gl-lueur {
  opacity: 0;
  transform-origin: 0 0;
}
.stats-bar.vu .gl-lueur {
  opacity: 1;
  animation: lueur-globe 9s linear infinite;
}
@keyframes lueur-globe {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.gl-cercle {
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1.4s ease-out;
}
.stats-bar.vu .gl-cercle { stroke-dashoffset: 0; }

@media (max-width: 860px) {
  .stat-item { grid-template-rows: 56px 50px auto !important; }
  .stat-infinie { height: 114px; }
  .stat-infinie .inf { width: 82px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .stats-bar.vu .gl-lueur,
  .stats-bar.vu .inf-flux { animation: none; }
  .gl-afrique, .gl-europe, .gl-ameriques { opacity: 1; }
  .inf-trace, .gl-cercle { stroke-dashoffset: 0; }
}

/* ---------- chiffres clés : les visuels ---------- */
.stat-item {
  display: grid !important;
  grid-template-rows: 66px 58px auto !important;
  align-content: start !important;
  gap: 0.7rem !important;
}

.stat-visuel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* le 9 : les neuf symboles des pôles, en micro-grille */
.stat-visuel--grille {
  display: grid;
  grid-template-columns: repeat(3, 16px);
  grid-template-rows: repeat(3, 16px);
  gap: 4px;
  align-content: center;
}

.adk-mini {
  width: 16px !important;
  height: 16px !important;
  color: var(--or-fonce);
  opacity: 0.92;
}

/* le globe */
.stat-visuel--globe .globe { width: 64px; height: 64px; }
.gl-actif { fill: #c9741a; }
.gl-reste { fill: #e7e0d3; }
.gl-cercle { stroke: #c9741a; stroke-width: 1.3; opacity: 0.45; }

/* l'anneau des 100 % */
.stat-visuel--anneau .anneau { width: 64px; height: 64px; }
.anneau-fond { stroke: #ece6da; stroke-width: 4; }
.anneau-trait {
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 169.65;
  stroke-dashoffset: 169.65;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 1.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.stats-bar.vu .anneau-trait { stroke-dashoffset: 0; }  /* obsolète */

/* l'infini occupe les deux premières rangées */
.stat-infinie {
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 86px;
  line-height: 1;
  font-weight: 600;
}

/* or en dégradé pour les quatre signes */
.chiffre-or,
.stats-bar .chiffre-or {
  background: linear-gradient(135deg, #c9741a 0%, #e89020 45%, #ffc940 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

@media (max-width: 860px) {
  .stat-item { grid-template-rows: 56px 50px auto !important; }
  .stat-visuel--grille { grid-template-columns: repeat(3, 13px); grid-template-rows: repeat(3, 13px); gap: 3px; }
  .adk-mini { width: 13px !important; height: 13px !important; }
  .stat-visuel--globe .globe,
  .stat-visuel--anneau .anneau { width: 54px; height: 54px; }
  .stat-infinie { font-size: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .anneau-trait { transition: none; }
}


/* ============================================================================
   ADINKRA ANIMÉS — les pictogrammes respirent
   Chaque glyphe s'allume à l'entrée dans l'écran, en vague, puis respire
   lentement. Aucune animation ne démarre si JavaScript est absent : la classe
   .js-adk n'est posée que par script, donc les glyphes restent visibles en
   dur si le JS est coupé.
   ========================================================================== */

.js-adk .adk {
  opacity: 0;
  transform: scale(0.84);
  transform-origin: 50% 50%;
  transform-box: fill-box;
  transition: opacity 0.55s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-adk .adk.vu {
  opacity: 1;
  transform: scale(1);
  transition-delay: var(--d, 0s);
  animation: adinkra-respire 6.4s ease-in-out infinite;
  animation-delay: calc(var(--d, 0s) + 0.75s);
}

@keyframes adinkra-respire {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.055); }
}

/* survol d'une carte : le glyphe s'ouvre et s'éclaire */
.service-card:hover .adk,
.pillar:hover .adk,
.card:hover .adk,
.p-card:hover .adk,
.feature-item:hover .adk,
.step-card:hover .adk {
  transform: scale(1.16);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* la micro-grille des 9 pôles : vague en diagonale */
.stat-visuel--grille .adk.vu {
  animation-duration: 5.2s;
}

@media (prefers-reduced-motion: reduce) {
  .js-adk .adk,
  .js-adk .adk.vu {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ══════════════ RÉALISATIONS — SITES CONÇUS ══════════════ */
.rea-section { padding: 6rem 0; }
.rea-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.6rem;
}
.rea-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.rea-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232,144,32,0.45);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.rea-shot { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #0b0f16; }
.rea-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
  transition: transform .5s ease; }
.rea-card:hover .rea-shot img { transform: scale(1.04); }
.rea-shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.rea-corps { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .45rem; }
.rea-tag {
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  color: #E89020; font-weight: 700;
}
.rea-nom { font-family: 'Poppins', sans-serif; font-size: 1.02rem; font-weight: 700; color: #fff; }
.rea-desc { font-size: .8rem; color: var(--muted, #9aa4b2); line-height: 1.6; }
.rea-lien { margin-top: .35rem; font-size: .74rem; font-weight: 700; color: #E89020; letter-spacing: .04em; }
.rea-actions { display: flex; justify-content: center; margin-top: 2.6rem; }
@media (max-width: 1024px) { .rea-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .rea-grid { grid-template-columns: 1fr; gap: 1rem; }
  .rea-section { padding: 3.5rem 0; }
}
.rea-intro { max-width: 62ch; margin: 1rem auto 0; color: var(--muted, #9aa4b2);
  font-size: .95rem; line-height: 1.8; text-align: center; }

/* ══════════════ ÉVÉNEMENTS ══════════════ */
.ev-section { padding: 6rem 0 2rem; }
.ev-bloc { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
  margin-bottom: 5rem; }
.ev-bloc.inverse .ev-texte { order: -1; }
.ev-visuel { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.ev-visuel img { display: block; width: 100%; height: auto; }
.ev-visuel::after { content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.45)); pointer-events:none; }
.ev-kicker { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: #E89020;
  font-weight: 700; display: block; margin-bottom: .8rem; }
.ev-titre { font-family: 'Poppins', sans-serif; font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800; line-height: 1.15; margin: 0 0 1rem; color: #fff; }
.ev-texte p { color: var(--muted, #9aa4b2); font-size: .95rem; line-height: 1.8; margin: 0 0 1rem; }
.ev-liste { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.ev-liste li { position: relative; padding-left: 1.5rem; font-size: .88rem; color: #cfd6df; }
.ev-liste li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px;
  background: #E89020; border-radius: 50%; }
.ev-vignettes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 1.4rem; }
.ev-vignettes img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.09); display: block; }
.ev-galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 0 0 5rem; }
.ev-galerie img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.09); display: block; transition: transform .4s ease; }
.ev-galerie img:hover { transform: scale(1.03); }
@media (max-width: 900px) {
  .ev-bloc { grid-template-columns: 1fr; gap: 1.6rem; margin-bottom: 3.5rem; }
  .ev-bloc.inverse .ev-texte { order: 0; }
  .ev-galerie { grid-template-columns: repeat(2, 1fr); }
  .ev-section { padding: 3.5rem 0 1rem; }
}
.ev-galerie a { display: block; overflow: hidden; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.09); }
.ev-galerie a img { border: 0; border-radius: 0; }

/* ══════════════ VIDÉOS D'ÉVÉNEMENTS ══════════════ */
.ev-videos { margin: 0 0 5rem; }
.ev-videos-tete { margin-bottom: 2rem; }
.ev-videos-piste { display: flex; gap: 1rem; overflow-x: auto; padding: .3rem .3rem 1.2rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.ev-videos-piste::-webkit-scrollbar { height: 6px; }
.ev-videos-piste::-webkit-scrollbar-thumb { background: rgba(232,144,32,.5); border-radius: 3px; }
.ev-video-carte { flex: 0 0 auto; width: 236px; scroll-snap-align: start; border: 0; padding: 0;
  background: #0b0f16; border-radius: 16px; overflow: hidden; cursor: pointer; position: relative;
  border: 1px solid rgba(255,255,255,.1); font-family: inherit; }
.ev-video-carte img { display: block; width: 100%; aspect-ratio: 9/16; object-fit: cover;
  transition: transform .45s ease; }
.ev-video-carte:hover img { transform: scale(1.04); }
.ev-video-carte::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.7) 100%); pointer-events: none; }
.ev-play { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%; background: rgba(232,144,32,.92); display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: transform .3s ease; }
.ev-play::after { content: ""; margin-left: 4px; border-left: 14px solid #111; border-top: 9px solid transparent;
  border-bottom: 9px solid transparent; }
.ev-video-carte:hover .ev-play { transform: scale(1.1); }
.ev-video-titre { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: .8rem .9rem;
  font-size: .78rem; font-weight: 700; color: #fff; text-align: left; line-height: 1.3; }
.ev-video-duree { position: absolute; top: .6rem; right: .6rem; z-index: 2; background: rgba(0,0,0,.65);
  color: #fff; font-size: .62rem; font-weight: 700; padding: .2rem .45rem; border-radius: 4px; }
.ev-modal { position: fixed; inset: 0; z-index: 9999; background: rgba(5,7,10,.94);
  display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.ev-modal.ouvert { display: flex; }
.ev-modal video { max-width: min(520px, 92vw); max-height: 88vh; border-radius: 14px; background: #000; }
.ev-modal-fermer { position: absolute; top: 1rem; right: 1.2rem; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.5);
  color: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; }
@media (max-width: 620px) { .ev-video-carte { width: 190px; } }

/* lecteur vidéo : barre de fermeture toujours accessible (iOS superpose le <video>) */
.ev-modal { flex-direction: column; gap: .8rem; padding: 1rem; }
.ev-modal-barre { width: 100%; max-width: 560px; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; }
.ev-modal-titre { color: #fff; font-size: .9rem; font-weight: 700; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-modal-fermer { position: static; width: auto; height: auto; padding: .6rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.12); color: #fff;
  font-size: .85rem; font-weight: 700; cursor: pointer; flex: 0 0 auto; }
.ev-modal-fermer:active { background: rgba(255,255,255,.25); }
.ev-modal video { max-height: 72vh; width: auto; max-width: min(560px, 96vw); }

/* galerie photos + visionneuse */
.ev-visuel { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: #0b0f16; }
.ev-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1.3rem; }
.ev-photo { padding: 0; border: 0; background: #0b0f16; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.ev-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .35s ease; }
.ev-photo:hover img { transform: scale(1.05); }
.ev-modal-photo img { max-width: min(920px, 94vw); max-height: 76vh; width: auto; border-radius: 12px; }
@media (max-width: 620px) { .ev-photos { grid-template-columns: repeat(2, 1fr); } }

/* ══════════════ BANDE DÉROULANTE ÉVÉNEMENTS (accueil) ══════════════ */
.ev-bande { position: relative; }
.ev-bande-piste { display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden;
  padding: .4rem .4rem 1.2rem; scrollbar-width: none; -ms-overflow-style: none; }
.ev-bande-piste::-webkit-scrollbar { display: none; }
.ev-carte { flex: 0 0 auto; width: 250px; height: 320px; position: relative; padding: 0; border: 0;
  border-radius: 14px; overflow: hidden; background: #0b0f16; cursor: pointer;
  border: 1px solid rgba(255,255,255,.1); font-family: inherit; text-align: left; }
.ev-carte img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.ev-carte:hover img { transform: scale(1.05); }
.ev-carte::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 52%, rgba(0,0,0,.78) 100%); }
.ev-carte-leg { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: .7rem .75rem;
  font-size: .72rem; font-weight: 700; line-height: 1.3; color: #fff; }
.ev-bande-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(10,12,16,.75); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding-bottom: 4px; }
.ev-bande-btn:hover { background: #E89020; border-color: #E89020; color: #111; }
.ev-bande-prev { left: 6px; }
.ev-bande-next { right: 6px; }
@media (max-width: 620px) {
  .ev-carte { width: 190px; height: 250px; }
  .ev-bande-btn { width: 38px; height: 38px; font-size: 1.2rem; }
}
/* légendes longues : deux lignes max au lieu d'une troncature */
.ev-modal-titre { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.3; }

/* légendes des visionneuses : sur deux lignes maximum, jamais coupées */
.ev-modal-titre { white-space: normal; overflow: visible; text-overflow: clip;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  font-size: .86rem; }
.ev-modal-barre { align-items: flex-start; }
.ev-modal-fermer { margin-top: 1px; }
.ev-modal-fermer, .ev-modal-barre { touch-action: manipulation; -webkit-tap-highlight-color: rgba(255,255,255,.2); }
.ev-modal-barre { cursor: pointer; }
.ev-modal-legende { max-width: min(920px, 94vw); margin: 0; color: #E4E8ED; font-size: .86rem; line-height: 1.55;
  text-align: left; white-space: normal; overflow: visible; text-overflow: clip; }
.ev-modal-photo .ev-modal-titre { -webkit-line-clamp: unset; display: block; }

/* en-tête : 8 rubriques + 2 boutons — jamais de retour à la ligne */
.nav-links { flex-wrap: nowrap; }
.nav-links a, .nav-cta, .nav-membre { white-space: nowrap; }
@media (max-width: 1500px) {
  .nav-links { gap: 1.15rem; }
  .nav-links a { font-size: .72rem; letter-spacing: .05em; }
  .nav-cta { padding: .5rem 1.05rem; }
}
@media (max-width: 1280px) {
  .nav-links { gap: .85rem; }
  .nav-links a { font-size: .66rem; letter-spacing: .03em; }
  .nav-cta { padding: .45rem .85rem; font-size: .68rem; }
  .main-nav { gap: .8rem; }
}

/* en-tête : la barre de menu tient sur une seule ligne */
.nav-links { flex-wrap: nowrap; }
.nav-links a { white-space: nowrap; }
.nav-cta, .nav-membre { white-space: nowrap; }
@media (max-width: 1500px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: .72rem; letter-spacing: .05em; }
  .nav-cta, .nav-membre { padding: .5rem .8rem; font-size: .68rem; }
}
@media (max-width: 1300px) {
  .nav-links { gap: .8rem; }
  .nav-links a { font-size: .68rem; letter-spacing: .03em; }
}
.ev-carte-leg { display: none !important; }
/* bande déroulante de l'accueil : aucune légende sur les vignettes */
.ev-carte-leg { display: none !important; }

/* bouton "page entière" sur les cartes réalisations */
.rea-zoom { position: absolute; right: 10px; bottom: 10px; z-index: 3; padding: .45rem .8rem;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.55); background: rgba(10,12,16,.78);
  color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .04em; cursor: pointer;
  font-family: inherit; touch-action: manipulation; }
.rea-zoom:hover { background: #E89020; border-color: #E89020; color: #111; }
.rea-full { position: fixed; inset: 0; z-index: 9999; background: rgba(6,8,11,.96); display: none;
  flex-direction: column; padding: 1rem; }
.rea-full.ouvert { display: flex; }
.rea-full-barre { display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  color: #fff; font-size: .86rem; font-weight: 700; margin-bottom: .6rem; }
.rea-full-fermer { padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.12); color: #fff; font-weight: 700; cursor: pointer; font-family: inherit; }
.rea-full-scroll { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; text-align: center; }
.rea-full-scroll img { width: min(980px, 96vw); height: auto; border-radius: 8px; }
