/* ============================================================
   GIROGI ONG – Stylesheet v3
   Modèle de design : Google Material Design 3
   Typographie : Roboto · Icônes : Material Symbols
   Palette : Bleu #1A73E8 · Rouge #EA4335 · Jaune #F9AB00 · Vert #1E8E3E
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  /* ---- Google brand colors ---- */
  --g-blue:        #1a73e8;
  --g-blue-dark:   #0b57d0;
  --g-blue-light:  #4f9bf2;
  --g-blue-tint:   #e8f0fe;
  --g-red:         #ea4335;
  --g-red-tint:    #fce8e6;
  --g-yellow:      #f9ab00;
  --g-yellow-tint: #fef7e0;
  --g-green:       #1e8e3e;
  --g-green-dark:  #0d652d;
  --g-green-tint:  #e6f4ea;

  /* ---- Neutrals (Material grey scale) ---- */
  --g-white:    #ffffff;
  --g-grey-50:  #f8f9fa;
  --g-grey-100: #f1f3f4;
  --g-grey-200: #e8eaed;
  --g-grey-300: #dadce0;
  --g-grey-500: #9aa0a6;
  --g-grey-700: #5f6368;
  --g-grey-900: #202124;
  --g-black:    #0a0c0e;

  /* ---- Semantic surfaces ---- */
  --bg:           var(--g-white);
  --bg-alt:       var(--g-grey-50);
  --bg-dark:      var(--g-grey-900);
  --surface:      var(--g-white);
  --border:       var(--g-grey-300);
  --border-light: var(--g-grey-200);

  /* ---- Text ---- */
  --text:         var(--g-grey-900);
  --text-muted:   var(--g-grey-700);
  --text-dim:     var(--g-grey-500);
  --text-white:   #ffffff;
  --text-white-muted: rgba(255,255,255,0.78);

  /* ---- Semantic accent ---- */
  --accent:       var(--g-blue);
  --accent-dark:  var(--g-blue-dark);

  /* ---- Typography ---- */
  --font-display: 'Roboto', Arial, sans-serif;
  --font-body:    'Roboto', Arial, sans-serif;
  --font-mono:    'Roboto Mono', monospace;

  /* ---- Shape ---- */
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 100px;

  /* ---- Material elevation tokens ---- */
  --e1: 0 1px 2px 0 rgba(60,64,67,.30), 0 1px 3px 1px rgba(60,64,67,.15);
  --e2: 0 1px 2px 0 rgba(60,64,67,.30), 0 2px 6px 2px rgba(60,64,67,.15);
  --e3: 0 1px 3px 0 rgba(60,64,67,.30), 0 4px 8px 3px rgba(60,64,67,.15);
  --e4: 0 2px 3px 0 rgba(60,64,67,.30), 0 6px 10px 4px rgba(60,64,67,.15);

  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal; font-style: normal;
  font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap; word-wrap: normal;
  direction: ltr; -webkit-font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* ============================================================ GOOGLE 4-DOT ACCENT */
.g-dots { display: inline-flex; gap: 3px; margin-right: 4px; }
.g-dots i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.d-blue { background: var(--g-blue); }
.d-red { background: var(--g-red); }
.d-yellow { background: var(--g-yellow); }
.d-green { background: var(--g-green); }

/* ============================================================ TOP APP BAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0.7rem 0;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--e1);
  border-bottom-color: var(--border-light);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.logo-img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; }
.logo-text { display: flex; flex-direction: column; justify-content: center; }
.logo-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--text); letter-spacing: -0.01em; }
.logo-tagline { font-size: 0.65rem; color: var(--text-dim); letter-spacing: 0.02em; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 0.2rem; margin-left: auto; }
.nav-links li a {
  padding: 0.55rem 1rem; font-size: 0.9rem; font-weight: 500;
  color: var(--text-muted); border-radius: var(--radius-full);
  transition: var(--transition); position: relative;
}
.nav-links li a:hover { color: var(--g-blue); background: var(--g-blue-tint); }
.nav-links li a.active-nav { color: var(--g-blue); background: var(--g-blue-tint); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; margin-left: auto;
  width: 40px; height: 40px; border-radius: 50%; transition: var(--transition);
  color: var(--text);
}
.nav-toggle:hover { background: var(--g-grey-100); }

/* ============================================================ LANGUAGE TOGGLE */
.nav-lang-item { margin-left: 0.4rem; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--g-grey-100); border: 1px solid var(--border-light);
  border-radius: var(--radius-full); padding: 0.35rem 0.25rem;
  cursor: pointer; font-family: var(--font-display);
  transition: var(--transition);
}
.lang-toggle:hover { background: var(--g-grey-200); }
.lang-opt {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 0.25rem 0.6rem; border-radius: var(--radius-full);
  color: var(--text-dim); transition: var(--transition);
}
.lang-opt.active { background: var(--g-blue); color: var(--text-white); }
.lang-sep { color: var(--g-grey-300); font-size: 0.7rem; }


/* ============================================================ BUTTONS (Material) */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.6rem; border-radius: var(--radius-full);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  transition: var(--transition); cursor: pointer; border: none;
  position: relative; overflow: hidden;
}
.btn .material-symbols-outlined { font-size: 1.15rem; }
.btn-filled { background: var(--g-blue); color: var(--g-white); box-shadow: var(--e1); }
.btn-filled:hover { background: var(--g-blue-dark); box-shadow: var(--e2); transform: translateY(-1px); }
.btn-outlined { border: 1.5px solid var(--border); color: var(--g-blue); background: transparent; }
.btn-outlined:hover { background: var(--g-blue-tint); border-color: var(--g-blue); }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.5); transform: scale(0); animation: rippleAnim 0.6s ease-out; pointer-events: none; }
@keyframes rippleAnim { to { transform: scale(3); opacity: 0; } }

/* ============================================================ HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 7rem 2rem 4rem;
  background: var(--g-white);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.22; }
.blob-blue   { width: 480px; height: 480px; background: var(--g-blue);   top: -140px; right: 8%; }
.blob-green  { width: 360px; height: 360px; background: var(--g-green); bottom: -80px; left: 2%; }
.blob-yellow { width: 260px; height: 260px; background: var(--g-yellow); top: 45%; left: 38%; opacity: 0.15; }
.blob-red    { width: 220px; height: 220px; background: var(--g-red);   bottom: 18%; right: 28%; opacity: 0.12; }

.hero-content { position: relative; z-index: 1; max-width: 640px; animation: heroIn 0.8s ease forwards; }
@keyframes heroIn { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted);
  border: 1px solid var(--border); padding: 0.4rem 1rem 0.4rem 0.8rem;
  border-radius: var(--radius-full); background: var(--g-white);
  margin-bottom: 2rem; box-shadow: var(--e1);
}

.hero-title {
  font-family: var(--font-display); font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 1.4rem; color: var(--text);
  letter-spacing: -0.01em;
}
.title-line { display: block; }
.title-accent { display: block; color: var(--g-green); font-weight: 900; }

.hero-desc { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin-bottom: 2.2rem; line-height: 1.7; font-weight: 400; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats { display: flex; align-items: center; gap: 2rem; }
.stat-item { text-align: left; }
.stat-num { display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; line-height: 1; }
.stat-num[data-color="blue"] { color: var(--g-blue); }
.stat-num[data-color="green"] { color: var(--g-green); }
.stat-num[data-color="red"] { color: var(--g-red); }
.stat-num[data-color="yellow"] { color: var(--g-yellow); }
.stat-label { font-size: 0.78rem; color: var(--text-dim); letter-spacing: 0.01em; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-visual { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); z-index: 1; animation: heroIn 1.1s ease forwards; }
.hero-logo-display { position: relative; width: 260px; height: 260px; display: flex; align-items: center; justify-content: center; }
.hero-logo-img {
  width: 190px; height: 190px; object-fit: contain; border-radius: 50%;
  background: var(--g-white); padding: 18px; position: relative; z-index: 2;
  box-shadow: var(--e3);
}
.hero-logo-ring { position: absolute; border-radius: 50%; border: 1.5px solid; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: spin 24s linear infinite; }
.r1 { width: 100%; height: 100%; border-color: rgba(26,115,232,0.25); animation-duration: 28s; }
.r2 { width: 118%; height: 118%; border-style: dashed; border-color: rgba(30,142,62,0.22); animation-duration: 20s; animation-direction: reverse; }
.r3 { width: 134%; height: 134%; border-color: rgba(249,171,0,0.18); animation-duration: 38s; }
@keyframes spin { from{transform:translate(-50%,-50%) rotate(0)} to{transform:translate(-50%,-50%) rotate(360deg)} }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  color: var(--text-dim); font-size: 0.7rem; letter-spacing: 0.05em; z-index: 1;
}
.hero-scroll .material-symbols-outlined { animation: bounceDown 1.8s ease-in-out infinite; }
@keyframes bounceDown { 0%,100%{transform:translateY(0);} 50%{transform:translateY(6px);} }

/* ============================================================ SECTIONS COMMON */
.section { padding: 6rem 0; position: relative; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--g-blue); display: block; margin-bottom: 0.7rem; font-weight: 500;
}
.section-header.light .section-tag { color: var(--g-blue-light); }
.section-title {
  font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 700; color: var(--text); line-height: 1.2; margin-bottom: 0.8rem; letter-spacing: -0.01em;
}
.section-header.light .section-title { color: var(--g-white); }
.section-desc { font-size: 1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.section-header.light .section-desc { color: var(--text-white-muted); }

/* ============================================================ MISSION */
.mission-section { background: var(--bg); }
.mission-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 1.25rem; margin-bottom: 4.5rem; }
.mission-card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: var(--transition); box-shadow: var(--e1);
}
.mission-card:hover { box-shadow: var(--e3); transform: translateY(-3px); }
.mission-card--main { background: var(--g-blue); border-color: var(--g-blue); }
.mission-card--main h3, .mission-card--main p { color: var(--g-white); }
.mission-card--main p { color: rgba(255,255,255,0.85); }
.mc-icon {
  width: 52px; height: 52px; border-radius: var(--radius); margin-bottom: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.mc-icon .material-symbols-outlined { font-size: 1.7rem; }
.mc-blue { background: var(--g-blue-tint); color: var(--g-blue); }
.mc-green { background: var(--g-green-tint); color: var(--g-green); }
.mc-on-dark { background: rgba(255,255,255,0.18); color: var(--g-white); }
.mission-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; margin-bottom: 0.7rem; color: var(--text); }
.mission-card p { color: var(--text); font-size: 0.92rem; }

.buts-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; text-align: center; margin-bottom: 2.2rem; color: var(--text); }
.buts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.but-item {
  background: var(--bg-alt); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 1.3rem;
  display: flex; gap: 0.9rem; align-items: flex-start; transition: var(--transition);
}
.but-item:hover { background: var(--g-blue-tint); border-color: var(--g-blue); }
.but-num { font-family: var(--font-mono); font-size: 0.7rem; color: var(--g-blue); font-weight: 700; flex-shrink: 0; margin-top: 3px; }
.but-item p { font-size: 0.88rem; color: var(--text-muted); }

/* ============================================================ DOMAINES */
.domaines-section { background: var(--bg-alt); }
.domaines-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.domaine-card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 1.9rem;
  transition: var(--transition); box-shadow: var(--e1);
}
.domaine-card:hover { box-shadow: var(--e3); transform: translateY(-4px); }
.domaine-icon { width: 56px; height: 56px; border-radius: var(--radius); margin-bottom: 1.2rem; display: flex; align-items: center; justify-content: center; }
.domaine-icon .material-symbols-outlined { font-size: 1.9rem; }
.dc-blue { background: var(--g-blue-tint); color: var(--g-blue); }
.dc-red { background: var(--g-red-tint); color: var(--g-red); }
.dc-yellow { background: var(--g-yellow-tint); color: var(--g-yellow); }
.dc-green { background: var(--g-green-tint); color: var(--g-green); }
.domaine-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; margin-bottom: 0.6rem; color: var(--text); }
.domaine-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ============================================================ PROJETS */
.projets-section { background: var(--bg); }
.projets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.projet-card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 1.7rem;
  transition: var(--transition); box-shadow: var(--e1); position: relative;
}
.projet-card:hover { box-shadow: var(--e3); transform: translateY(-3px); }
.projet-featured { border-color: var(--g-blue); background: linear-gradient(160deg, var(--g-blue-tint), var(--g-white) 60%); }
.projet-status {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700;
  padding: 4px 10px 4px 8px; border-radius: var(--radius-full); margin-bottom: 0.8rem;
}
.projet-status .material-symbols-outlined { font-size: 0.95rem; }
.encours { background: var(--g-green-tint); color: var(--g-green-dark); }
.planifie { background: var(--g-grey-100); color: var(--text-muted); }
.projet-categorie { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--g-blue); margin-bottom: 0.6rem; font-weight: 700; }
.projet-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; margin-bottom: 0.7rem; color: var(--text); line-height: 1.4; }
.projet-card p { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 1rem; }
.projet-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.projet-tags span { font-size: 0.72rem; color: var(--g-blue); background: var(--g-blue-tint); padding: 3px 9px; border-radius: var(--radius-full); }
.projet-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim); }
.projet-meta span { display: flex; align-items: center; gap: 3px; }
.projet-meta .material-symbols-outlined { font-size: 0.95rem; }
.projet-appel { background: var(--g-green); border-color: var(--g-green); display: flex; align-items: center; justify-content: center; }
.projet-appel-inner { text-align: center; }
.appel-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.appel-icon .material-symbols-outlined { font-size: 1.8rem; color: var(--g-white); }
.projet-appel h3 { color: var(--g-white); font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.7rem; font-weight: 500; }
.projet-appel p { color: rgba(255,255,255,0.88); font-size: 0.88rem; margin-bottom: 1rem; }
.appel-contact { display: flex; align-items: center; justify-content: center; gap: 0.4rem; color: var(--g-white); font-size: 0.85rem; font-weight: 500; padding: 0.4rem 0; }
.appel-contact .material-symbols-outlined { font-size: 1.1rem; }
.appel-contact:hover { text-decoration: underline; }

/* ============================================================ RÉSULTATS (NEW) */
.resultats-section { background: var(--g-grey-900); overflow: hidden; }
.resultats-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 400px at 15% 20%, rgba(26,115,232,0.25), transparent),
              radial-gradient(ellipse 500px 400px at 85% 70%, rgba(30,142,62,0.2), transparent),
              radial-gradient(ellipse 300px 300px at 60% 10%, rgba(249,171,0,0.12), transparent);
}
.resultats-section .container { position: relative; z-index: 1; }

.resultats-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin-bottom: 4.5rem; }
.rstat-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 1.6rem 1.2rem; text-align: center;
  transition: var(--transition); backdrop-filter: blur(6px);
}
.rstat-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.rstat-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.9rem; }
.rstat-icon .material-symbols-outlined { font-size: 1.35rem; }
.rs-blue { background: rgba(26,115,232,0.25); color: var(--g-blue-light); }
.rs-green { background: rgba(30,142,62,0.25); color: #5bc97f; }
.rs-yellow { background: rgba(249,171,0,0.25); color: var(--g-yellow); }
.rs-red { background: rgba(234,67,53,0.25); color: #f28b82; }
.rstat-num { display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--g-white); line-height: 1; margin-bottom: 0.4rem; }
.rstat-label { font-size: 0.74rem; color: var(--text-white-muted); letter-spacing: 0.01em; }

.galerie-section { padding-top: 1rem; }
.galerie-header { text-align: center; margin-bottom: 2.2rem; }
.galerie-header h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--g-white); margin-bottom: 0.5rem; }
.galerie-header p { font-size: 0.88rem; color: var(--text-white-muted); max-width: 480px; margin: 0 auto; }
.galerie-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.galerie-item {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 1; box-shadow: var(--e2); transition: var(--transition);
}
.galerie-item:hover { transform: scale(1.03); box-shadow: var(--e4); }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galerie-logo img { object-fit: contain; background: var(--g-white); padding: 1rem; }
.galerie-item figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82), transparent 80%);
  padding: 1.6rem 0.9rem 0.7rem; display: flex; flex-direction: column;
}
.galerie-item figcaption strong { color: var(--g-white); font-size: 0.82rem; font-weight: 500; }
.galerie-item figcaption span { color: rgba(255,255,255,0.7); font-size: 0.7rem; }
.galerie-placeholder {
  aspect-ratio: 1; border-radius: var(--radius-lg);
  border: 2px dashed rgba(255,255,255,0.2); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.6rem;
  color: rgba(255,255,255,0.35); transition: var(--transition);
}
.galerie-placeholder:hover { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.55); }
.galerie-placeholder .material-symbols-outlined { font-size: 2rem; }
.galerie-placeholder p { font-size: 0.7rem; text-align: center; line-height: 1.4; }

/* ============================================================ GOUVERNANCE */
.gouvernance-section { background: var(--bg); }
.organes-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 1.25rem; margin-bottom: 4.5rem; }
.organe-card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 1.9rem; transition: var(--transition); box-shadow: var(--e1);
}
.organe-card:hover { box-shadow: var(--e3); }
.organe-card--main { background: var(--g-blue); border-color: var(--g-blue); }
.organe-card--main h3, .organe-card--main > p { color: var(--g-white); }
.organe-card--main > p { color: rgba(255,255,255,0.85); }
.organe-card--main .ca-poste { border-bottom-color: rgba(255,255,255,0.15); }
.organe-card--main .ca-poste strong { color: var(--g-white); }
.organe-card--main .ca-poste small { color: rgba(255,255,255,0.6); }
.organe-card--main .poste-icon { color: var(--g-white); }
.organe-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.organe-icon { width: 44px; height: 44px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.organe-icon .material-symbols-outlined { font-size: 1.5rem; }
.oi-blue { background: var(--g-blue-tint); color: var(--g-blue); }
.oi-green { background: var(--g-green-tint); color: var(--g-green); }
.oi-on-dark { background: rgba(255,255,255,0.18); color: var(--g-white); }
.organe-tag {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--g-blue); background: var(--g-blue-tint); padding: 3px 9px; border-radius: var(--radius-full);
}
.organe-tag--dark { background: rgba(255,255,255,0.18); color: var(--g-white); }
.organe-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; margin-bottom: 0.7rem; color: var(--text); }
.organe-card > p { font-size: 0.88rem; color: var(--text); margin-bottom: 1.1rem; }
.organe-attrs { border-top: 1px solid var(--border-light); padding-top: 0.9rem; }
.organe-attrs li { font-size: 0.84rem; color: var(--text-muted); padding: 0.3rem 0; padding-left: 1.2rem; position: relative; }
.organe-attrs li::before { content: "→"; color: var(--g-blue); position: absolute; left: 0; font-size: 0.75rem; }
.organe-quorum { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-mono); font-size: 0.7rem; color: var(--g-blue); margin-top: 1rem; padding: 0.4rem 0.8rem; background: var(--g-blue-tint); border-radius: var(--radius-full); }
.organe-quorum .material-symbols-outlined { font-size: 1rem; }
.ca-membres { margin-top: 0.9rem; }
.ca-poste { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.55rem 0; border-bottom: 1px solid var(--border-light); }
.ca-poste:last-child { border-bottom: none; }
.poste-icon { color: var(--g-blue); font-size: 1.1rem !important; flex-shrink: 0; margin-top: 1px; }
.ca-poste strong { font-size: 0.86rem; color: var(--text); display: block; font-weight: 500; }
.ca-poste small { font-size: 0.73rem; color: var(--text-dim); }
.be-postes { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.be-poste { font-size: 0.76rem; color: var(--g-blue); background: var(--g-blue-tint); padding: 4px 11px; border-radius: var(--radius-full); }

.fondateurs-section { text-align: center; }
.fondateurs-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--text); margin-bottom: 0.4rem; }
.fondateurs-sub { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--text-dim); margin-bottom: 1.8rem; }
.fondateurs-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.fondateur-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 1.3rem 1rem; width: 150px; transition: var(--transition); box-shadow: var(--e1);
}
.fondateur-card:hover { box-shadow: var(--e3); transform: translateY(-3px); }
.fondateur-photo { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; box-shadow: var(--e1); }
.fondateur-avatar {
  width: 58px; height: 58px; border-radius: 50%; background: var(--g-blue-tint);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--g-blue);
}
.fondateur-card span { font-size: 0.74rem; color: var(--text-muted); text-align: center; line-height: 1.4; }

/* ============================================================ FOOTER */
.footer {    background: #0B1F3A;    color: #ffffff;}
.footer-top { padding: 3.5rem 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1.3fr; gap: 2.5rem; }
.footer-logo-wrap { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer-logo-img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: var(--g-white); padding: 3px; }
.footer-logo-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--g-white); }
.footer-brand p { font-size: 0.86rem; color: var(--text-white-muted); margin-bottom: 0.5rem; max-width: 280px; }
.footer-motto { font-style: italic; color: rgba(255,255,255,0.4) !important; font-size: 0.82rem !important; }
.footer-email { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--g-blue-light); font-size: 0.88rem; font-weight: 500; margin-top: 0.6rem; }
.footer-email .material-symbols-outlined { font-size: 1.1rem; }
.footer-email:hover { color: var(--g-white); }
.footer-links h5 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1rem; font-weight: 500; }
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links ul li a { font-size: 0.86rem; color: var(--text-white-muted); transition: var(--transition); }
.footer-links ul li a:hover { color: var(--g-white); }

.resources-list li { margin-bottom: 0.4rem; }
.res-link {
  display: flex; align-items: center; gap: 0.6rem; font-size: 0.86rem;
  color: var(--text-white-muted); padding: 0.5rem 0.6rem; border-radius: var(--radius-sm);
  transition: var(--transition); cursor: pointer;
}
.res-link .material-symbols-outlined:first-child { font-size: 1.15rem; color: var(--g-blue-light); }
.res-text { flex: 1; }
.res-dl { font-size: 1.1rem !important; opacity: 0; transition: var(--transition); color: var(--g-white) !important; }
a.res-link:hover { background: rgba(255,255,255,0.08); color: var(--g-white); }
a.res-link:hover .res-dl { opacity: 1; transform: translateX(2px); }
.res-disabled { cursor: not-allowed; opacity: 0.55; }
.res-disabled .material-symbols-outlined:first-child { color: var(--text-dim); }
.res-soon {
  font-size: 0.6rem; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(255,255,255,0.1); padding: 2px 7px; border-radius: var(--radius-full); color: rgba(255,255,255,0.5);
}

.footer-legal p { font-size: 0.84rem; color: var(--text-white-muted); margin-bottom: 1rem; line-height: 1.6; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fbadge { font-family: var(--font-mono); font-size: 0.65rem; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); padding: 3px 10px; border-radius: var(--radius-full); color: var(--text-white-muted); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.3rem 0; text-align: center; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); font-family: var(--font-mono); margin-bottom: 0.2rem; }

/* ============================================================ TOAST */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: var(--g-white); border-radius: var(--radius);
  padding: 1rem 1.4rem; display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.88rem; color: var(--text); box-shadow: var(--e4);
  transform: translateY(100px); opacity: 0; transition: var(--transition);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { color: var(--g-green) !important; font-size: 1.3rem !important; }

/* ============================================================ REVEAL ANIMATION (added via JS) */
.reveal-init { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.revealed { opacity: 1 !important; transform: translateY(0) !important; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1024px) {
  .mission-grid { grid-template-columns: 1fr; }
  .buts-grid { grid-template-columns: repeat(2, 1fr); }
  .domaines-grid { grid-template-columns: repeat(2, 1fr); }
  .organes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .projets-grid { grid-template-columns: repeat(2, 1fr); }
  .resultats-stats { grid-template-columns: repeat(3, 1fr); }
  .galerie-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 66px; left: 0; right: 0; bottom: 0;
    height: calc(100vh - 66px);
    background: var(--g-white); padding: 1.5rem; gap: 0.3rem; z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; font-size: 1rem; padding: 0.9rem 1.2rem; }
  .nav-toggle { display: flex; }
  .nav-lang-item { margin: 0.8rem 0 0; width: 100%; display: flex; justify-content: center; }
  .nav-lang-item .lang-toggle { padding: 0.5rem 0.4rem; }
  .nav-lang-item .lang-opt { font-size: 0.85rem; padding: 0.4rem 1rem; }
  .hero { padding: 6rem 1.5rem 4rem; }
  .hero-stats { gap: 1rem; }
  .buts-grid { grid-template-columns: 1fr; }
  .domaines-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .projets-grid { grid-template-columns: 1fr; }
  .resultats-stats { grid-template-columns: repeat(2, 1fr); }
  .galerie-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .resultats-stats { grid-template-columns: 1fr 1fr; }
  .galerie-grid { grid-template-columns: 1fr 1fr; }
}
