/* ═══════════════════════════════════════════════════════
   NOVE — Site officiel
   Design System: Navy / Teal / Gold (cohérent avec les contrats)
   ═══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  color-scheme: light;
  /* NOVE brand palette - warm, elegant, human */
  --c-navy:       #2C3E50;
  --c-navy-deep:  #1a252f;
  --c-navy-mid:   #34495E;
  --c-teal:       #5D6D7E;
  --c-teal-med:   #85929E;
  --c-teal-lt:    #F4F6F7;
  --c-teal-xl:    #F8F9F9;
  --c-gold:       #B8860B;
  --c-gold-lt:    #FDF5E6;
  --c-gold-dim:   #8B6914;
  --c-cream:      #FAF8F5;
  --c-white:      #FFFFFF;
  --c-bg:         #FAF8F5;
  --c-surface:    #FFFFFF;
  --c-border:     #E8E4DF;
  --c-text:       #2D2D2D;
  --c-text-med:   #4A4A4A;
  --c-text-muted: #7A7A7A;

  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-hero: clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem;
  --sp-4: 1rem;    --sp-5: 1.25rem; --sp-6: 1.5rem;
  --sp-8: 2rem;    --sp-10: 2.5rem; --sp-12: 3rem;
  --sp-16: 4rem;   --sp-20: 5rem;   --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --max-w: 72rem;
  --nav-h: 4rem;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Satoshi', system-ui, sans-serif;
  --font-body:    'Satoshi', system-ui, sans-serif;

  /* Radii */
  --r-sm: 0.375rem;
  --r-md: 0.625rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(13,33,55,.07);
  --shadow-md: 0 4px 16px rgba(13,33,55,.10);
  --shadow-lg: 0 8px 32px rgba(13,33,55,.14);

  /* Transitions */
  --ease: cubic-bezier(.22,.68,0,1.2);
  --dur: 220ms;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: none; background: none; font: inherit; -webkit-tap-highlight-color: transparent; }
svg { flex-shrink: 0; }

/* ── CONTAINER ─────────────────────────────────────────── */
.container {
  width: min(var(--max-w), 100% - var(--sp-8));
  margin-inline: auto;
}

/* ── NAVIGATION ────────────────────────────────────────── */
.site-nav {
  position: fixed; inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(26, 37, 47, 0.95);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid rgba(184,134,11,.25);
  transition: box-shadow var(--dur);
}
.site-nav.scrolled { box-shadow: 0 2px 24px rgba(26,37,47,.4); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
  width: min(var(--max-w), 100% - var(--sp-8));
  margin-inline: auto;
}
.nav-logo {
  display: flex; align-items: center; gap: var(--sp-3);
  text-decoration: none;
}
.nav-logo-wrap {
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(184,134,11,.5);
  flex-shrink: 0;
  position: relative;
}
.nav-logo-img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1.18);
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: .04em;
}
.nav-links {
  display: flex; align-items: center; gap: var(--sp-1);
}
.nav-link {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,.75);
  border-radius: var(--r-sm);
  transition: color var(--dur), background var(--dur);
}
.nav-link:hover, .nav-link.active { color: var(--c-white); background: rgba(255,255,255,.08); }
.nav-link.nav-cta {
  background: var(--c-gold);
  color: var(--c-white);
  font-weight: 600;
  padding: var(--sp-2) var(--sp-5);
}
.nav-link.nav-cta:hover { background: var(--c-gold-dim); }
.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: var(--sp-2);
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  z-index: 200;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform var(--dur), opacity var(--dur);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + var(--sp-16)) var(--sp-8) var(--sp-20);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--c-navy-deep) 0%, var(--c-navy) 50%, #4A3728 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(184,134,11,.15) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(184,134,11,.1) 0%, transparent 50%);
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 48rem;
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-5);
}
.hero-logo-wrap {
  width: clamp(10rem, 22vw, 15rem);
  height: clamp(10rem, 22vw, 15rem);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(184,134,11,.6);
  box-shadow: 0 0 50px rgba(184,134,11,.3), 0 0 100px rgba(184,134,11,.15);
  flex-shrink: 0;
  position: relative;
}
.hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.18);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-eyebrow {
  font-size: var(--text-sm);
  color: var(--c-gold);
  letter-spacing: .06em;
  font-weight: 500;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  color: var(--c-white);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.hero-title em { font-style: normal; color: var(--c-gold); }
.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.9);
  line-height: 1.6;
  max-width: 38rem;
  font-weight: 500;
}
.hero-actions {
  display: flex; gap: var(--sp-4); flex-wrap: wrap; justify-content: center;
  margin-top: var(--sp-2);
}
.hero-scroll-hint {
  position: absolute; bottom: var(--sp-8); left: 50%; transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-hint span {
  display: block; width: 1.5px; height: 3rem;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint { 0%,100% { opacity: .6; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.15); } }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  min-height: 44px;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--r-md);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  border: 1.5px solid transparent;
  line-height: 1;
  text-decoration: none;
}
.btn-primary {
  background: var(--c-gold);
  color: var(--c-white);
  border-color: var(--c-gold);
}
.btn-primary:hover { background: var(--c-gold-dim); border-color: var(--c-gold-dim); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(184,134,11,.4); }
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: var(--c-white);
  border-color: rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }
.btn-outline {
  background: transparent;
  color: var(--c-gold-dim);
  border-color: var(--c-gold);
}
.btn-outline:hover { background: var(--c-gold-lt); transform: translateY(-1px); }
.btn-sm { padding: var(--sp-2) var(--sp-4); font-size: var(--text-xs); }
.btn-full { width: 100%; justify-content: center; margin-top: var(--sp-4); }

/* ── SECTIONS ───────────────────────────────────────────── */
.section {
  padding: clamp(var(--sp-16), 8vw, var(--sp-32)) 0;
  background: var(--c-bg);
}
.section-alt { background: var(--c-white); }
.section-dark {
  background: linear-gradient(160deg, var(--c-navy) 0%, #3D2914 100%);
}
.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}
.section-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-teal);
  background: var(--c-teal-lt);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-4);
}
.section-tag--light { color: var(--c-gold); background: rgba(201,168,76,.12); }
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--c-navy);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.section-title--light { color: var(--c-white); }
.section-desc {
  margin-top: var(--sp-4);
  color: var(--c-text-med);
  font-size: var(--text-base);
  max-width: 40rem;
  margin-inline: auto;
  font-weight: 500;
}

/* ── ASSOCIATION ────────────────────────────────────────── */
.assoc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}
.assoc-text p {
  color: var(--c-text);
  line-height: 1.75;
  margin-bottom: var(--sp-4);
  font-size: var(--text-base);
  font-weight: 500;
}
.assoc-lead {
  font-size: var(--text-lg) !important;
  font-weight: 500;
  color: var(--c-navy) !important;
}
.mission-box {
  background: var(--c-navy);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  margin-top: var(--sp-6);
  border-bottom: 3px solid var(--c-gold);
}
.mission-text {
  color: #ffffff !important;
  font-weight: 700;
  font-size: var(--text-base);
  line-height: 1.6;
}
.values-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--c-navy);
  margin-bottom: var(--sp-5);
}
.values-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.value-chip {
  background: var(--c-teal-lt);
  color: var(--c-teal);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  text-align: center;
  border: 1px solid var(--c-border);
  transition: all var(--dur);
}
.value-chip:nth-child(even) { background: var(--c-gold-lt); color: var(--c-gold-dim); border-color: rgba(201,168,76,.25); }
.value-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.legal-info {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  color: var(--c-text-muted);
  font-size: var(--text-xs);
  line-height: 1.6;
}
.legal-info svg { color: var(--c-teal); margin-top: 2px; }

/* ── ACTIVITIES ─────────────────────────────────────────── */
.activities-zones {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}
.activities-zone-header {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.activities-zone-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .10em;
  padding: var(--sp-1) var(--sp-4);
  border-radius: 2rem;
  white-space: nowrap;
}
.activities-zone-label--active {
  background: rgba(10,126,140,.15);
  color: #0A7E8C;
  border: 1px solid rgba(10,126,140,.25);
}
.activities-zone-label--dev {
  background: rgba(184,134,11,.12);
  color: var(--c-gold-dim);
  border: 1px solid rgba(184,134,11,.25);
}
.activities-zone-line {
  flex: 1;
  height: 1px;
  background: var(--c-border);
}
.activities-zone-grid {
  display: grid;
  gap: var(--sp-5);
}
.activities-zone-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 48rem;
  margin-inline: auto;
  width: 100%;
}
.activities-zone-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.activity-card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  border: 1px solid var(--c-border);
  transition: all var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}
.activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--c-gold); }
.activity-card--alt { background: var(--c-navy-mid); border-color: rgba(184,134,11,.3); }
.activity-card--alt .activity-title { color: var(--c-white); }
.activity-card--alt .activity-text  { color: rgba(255,255,255,.85); }
.activity-card--alt .activity-tag   { color: var(--c-gold); background: rgba(184,134,11,.15); }
.activity-icon { width: 2.5rem; height: 2.5rem; margin-bottom: var(--sp-4); }
.activity-icon svg { width: 100%; height: 100%; }
.activity-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-teal-med);
  background: var(--c-teal-lt);
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-3);
}
.activity-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--c-navy);
  margin-bottom: var(--sp-3);
  letter-spacing: -.01em;
}
.activity-text {
  color: var(--c-text);
  font-size: var(--text-base);
  line-height: 1.7;
  font-weight: 500;
}

/* ── DOCUMENTS ──────────────────────────────────────────── */
.docs-tabs {
  display: flex; gap: var(--sp-2); flex-wrap: wrap;
  border-bottom: 2px solid var(--c-border);
  margin-bottom: var(--sp-8);
}
.docs-tab {
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-text-muted);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--dur);
  cursor: pointer;
}
.docs-tab:hover { color: var(--c-teal); }
.docs-tab.active { color: var(--c-teal); border-bottom-color: var(--c-teal); background: var(--c-teal-lt); }
.docs-panel { display: none; }
.docs-panel.active { display: block; }
.docs-intro {
  margin-bottom: var(--sp-6);
  color: var(--c-text-med);
  font-size: var(--text-sm);
  max-width: 52rem;
}
.docs-info-box {
  display: flex; align-items: center; gap: var(--sp-3);
  background: var(--c-gold-lt);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-xs);
  color: var(--c-gold-dim);
  font-weight: 600;
  margin-top: var(--sp-3);
}
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-5);
}
.docs-grid--list { grid-template-columns: 1fr; gap: var(--sp-3); }
.docs-grid--simple { justify-content: center; }
.doc-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: all var(--dur);
  box-shadow: var(--shadow-sm);
}
.doc-card:hover { box-shadow: var(--shadow-md); border-color: var(--c-gold); transform: translateY(-2px); }
.doc-card--featured { display: grid; grid-template-columns: auto 1fr auto; gap: var(--sp-5); align-items: start; }
.doc-icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.doc-icon svg { width: 1.25rem; height: 1.25rem; }
.doc-icon--navy { background: var(--c-navy); color: var(--c-gold); }
.doc-icon--teal { background: var(--c-gold-lt); color: var(--c-gold-dim); }
.doc-icon--gold { background: var(--c-gold-lt); color: var(--c-gold-dim); }
.doc-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-teal);
  margin-bottom: var(--sp-2);
}
.doc-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--c-navy);
  margin-bottom: var(--sp-2);
  line-height: 1.35;
}
.doc-desc {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  line-height: 1.65;
  margin-bottom: var(--sp-3);
}
.doc-meta {
  display: flex; gap: var(--sp-2); flex-wrap: wrap;
  font-size: var(--text-xs);
  color: var(--c-text-muted);
}
.doc-actions { display: flex; flex-direction: column; gap: var(--sp-2); align-items: flex-end; }
.doc-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--c-navy);
  color: var(--c-gold);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-sm);
  white-space: nowrap;
}
/* List rows */
.doc-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  transition: all var(--dur);
}
.doc-row:hover { border-color: var(--c-teal); background: var(--c-teal-xl); }
.doc-row-left { display: flex; align-items: center; gap: var(--sp-4); }
.doc-code {
  font-family: monospace;
  font-size: var(--text-xs);
  font-weight: 700;
  background: var(--c-navy);
  color: var(--c-gold);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-sm);
  white-space: nowrap;
  letter-spacing: .04em;
}
.doc-code--teal { background: var(--c-teal); color: var(--c-white); }
.doc-row-title {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--c-navy);
  margin-bottom: var(--sp-1);
}
.doc-row-sub {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
}

/* ── CONTACT ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}
.contact-desc {
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  margin-top: var(--sp-5);
  font-size: var(--text-base);
}
.contact-ways {
  display: flex; flex-direction: column; gap: var(--sp-4);
  margin-top: var(--sp-8);
}
.contact-way {
  display: flex; align-items: center; gap: var(--sp-3);
  color: rgba(255,255,255,.8);
  font-size: var(--text-sm);
}
.contact-way svg { color: var(--c-gold); flex-shrink: 0; }
.contact-card {
  background: var(--c-surface);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-lg);
}
.contact-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--c-navy);
  margin-bottom: var(--sp-6);
}
.contact-info-list {
  display: flex; flex-direction: column; gap: var(--sp-4);
  margin-bottom: var(--sp-2);
}
.contact-info-item {
  display: flex; align-items: center; gap: var(--sp-3);
  color: var(--c-text-med);
  font-size: var(--text-sm);
  font-weight: 500;
}
.contact-info-item svg { color: var(--c-teal); flex-shrink: 0; }
.contact-info-item a { color: var(--c-text-med); transition: color var(--dur); }
.contact-info-item a:hover { color: var(--c-teal); }

.contact-form { margin-bottom: var(--sp-6); }
.form-group { margin-bottom: var(--sp-4); }
.form-group label { display: block; font-size: var(--text-xs); font-weight: 600; color: var(--c-navy); margin-bottom: var(--sp-2); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  font-size: 1rem; /* 16px min — prevents iOS auto-zoom */
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.form-group input,
.form-group select { min-height: 44px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(10,126,140,.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--c-text-muted); }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B8FA0' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-status {
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  margin-bottom: var(--sp-4);
  display: none;
}
.form-status.success { display: block; background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-status.error { display: block; background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.contact-alt { border-top: 1px solid var(--c-border); padding-top: var(--sp-6); }
.contact-alt-text { font-size: var(--text-xs); color: var(--c-text-muted); margin-bottom: var(--sp-4); }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: #1a1a1a;
  border-top: 1px solid rgba(184,134,11,.2);
  padding: var(--sp-16) 0 var(--sp-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
.footer-logo {
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(184,134,11,.4);
  margin-bottom: var(--sp-4);
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: var(--sp-3);
}
.footer-legal {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  line-height: 1.6;
}
.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-4);
}
.footer-links-col {
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.footer-links-col a, .footer-links-col span {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  transition: color var(--dur);
}
.footer-links-col a:hover { color: var(--c-white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,.08);
  flex-wrap: wrap; gap: var(--sp-4);
}
.footer-copy { font-size: var(--text-xs); color: var(--c-text-muted); }
.footer-pplx {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  transition: color var(--dur);
}
.footer-pplx:hover { color: var(--c-white); }

/* ══════════════════════════════════════════════════════════
   PAGES PROJET
   ══════════════════════════════════════════════════════════ */

/* ── Fil d'Ariane ────────────────────────────────────────── */
.breadcrumb {
  background: var(--c-teal-xl);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-3) 0;
  margin-top: var(--nav-h);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
}
.breadcrumb-list li {
  display: flex;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--c-text-muted);
}
.breadcrumb-list li:not(:last-child)::after {
  content: '›';
  margin: 0 var(--sp-2);
  color: var(--c-text-muted);
}
.breadcrumb-list a { color: var(--c-text-muted); transition: color var(--dur); }
.breadcrumb-list a:hover { color: var(--c-navy); }
.breadcrumb-list [aria-current="page"] { color: var(--c-text); font-weight: 500; }

/* ── Hero projet ─────────────────────────────────────────── */
.project-hero {
  background: var(--c-navy-deep);
  padding: var(--sp-20) 0 var(--sp-16);
  position: relative;
  overflow: hidden;
}
.project-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 0%, rgba(184,134,11,.12) 0%, transparent 70%);
  pointer-events: none;
}
.project-hero .container { position: relative; }
.project-status {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: var(--sp-1) var(--sp-3);
  border-radius: 2rem;
  margin-bottom: var(--sp-3);
}
.project-status--active {
  background: rgba(184,134,11,.15);
  color: var(--c-gold-dim);
  border: 1px solid rgba(184,134,11,.3);
}
.project-status--dev {
  background: rgba(93,109,126,.15);
  color: var(--c-teal-med);
  border: 1px solid rgba(93,109,126,.3);
}
.project-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.55);
  margin-bottom: var(--sp-4);
  margin-left: var(--sp-3);
}
.project-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--c-white);
  line-height: 1.15;
  margin-bottom: var(--sp-5);
  max-width: 36rem;
}
.project-lead {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.8);
  line-height: 1.65;
  max-width: 42rem;
}

/* ── Corps principal ─────────────────────────────────────── */
.project-main { padding: var(--sp-16) 0; }
.project-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}
.project-content { min-width: 0; }

/* ── Sections éditoriales ────────────────────────────────── */
.project-section { margin-bottom: var(--sp-12); }
.project-section:last-child { margin-bottom: 0; }
.project-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--c-navy);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--c-border);
  position: relative;
}
.project-section h2::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 2.5rem; height: 2px;
  background: var(--c-gold);
}
.project-section p,
.project-section li {
  color: var(--c-text-med);
  line-height: 1.75;
  max-width: 65ch;
}
.project-section p { margin-bottom: var(--sp-4); }
.project-section p:last-child { margin-bottom: 0; }
.project-section ol,
.project-section ul { margin: var(--sp-3) 0 var(--sp-4) var(--sp-6); }
.project-section li { margin-bottom: var(--sp-2); }
.project-section strong { color: var(--c-navy); font-weight: 600; }

/* ── FAQ native <details>/<summary> ─────────────────────── */
.project-section--faq h2 { margin-bottom: var(--sp-6); }
.faq-list {
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  list-style: none;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--c-navy);
  cursor: pointer;
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  background: var(--c-surface);
  transition: background var(--dur);
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; content: ''; }
.faq-question:hover { background: var(--c-teal-xl); }
.faq-question::after {
  content: '›';
  font-size: 1.25rem;
  color: var(--c-gold);
  transition: transform var(--dur) var(--ease);
  flex-shrink: 0;
  line-height: 1;
}
details[open] > .faq-question { background: var(--c-teal-lt); }
details[open] > .faq-question::after { transform: rotate(90deg); }
.faq-answer {
  padding: 0 var(--sp-6) var(--sp-5);
  background: var(--c-surface);
}
.faq-answer p {
  color: var(--c-text-med);
  line-height: 1.75;
  max-width: 65ch;
  margin: 0;
  padding-top: var(--sp-2);
}

/* ── Sidebar ─────────────────────────────────────────────── */
.project-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-6));
}
.project-card-info,
.project-card-cta {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
}
.project-card-info h3,
.project-card-cta h3 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-navy);
  margin-bottom: var(--sp-5);
}
.project-card-cta {
  background: var(--c-navy);
  border-color: rgba(184,134,11,.3);
}
.project-card-cta h3 { color: var(--c-gold); }

/* ── Repères (stats) ─────────────────────────────────────── */
.project-stats { list-style: none; }
.project-stats li {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--c-border);
}
.project-stats li:first-child { padding-top: 0; }
.project-stats li:last-child { border-bottom: none; padding-bottom: 0; }
.project-stats strong {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--c-gold);
  line-height: 1.1;
}
.project-stats span {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: 1.4;
}

/* ── CTA sidebar ─────────────────────────────────────────── */
.project-cta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.project-cta-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.8);
  line-height: 1.5;
}
.project-cta-list li::before {
  content: '→';
  color: var(--c-gold);
  flex-shrink: 0;
  margin-top: 1px;
}
.project-cta-list a { color: rgba(255,255,255,.8); }
.project-cta-list a:hover { color: var(--c-white); }

/* ── Autres activités ────────────────────────────────────── */
.other-activities { border-top: 1px solid var(--c-border); }
.other-activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}
.other-activity-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}
.other-activity-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-gold);
}
.other-activity-card-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-teal);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.other-activity-card-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--c-navy);
  line-height: 1.3;
}
.other-activity-card-desc {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: 1.5;
  flex: 1;
}
.other-activity-card-cta {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-gold-dim);
  margin-top: var(--sp-1);
}

/* ── Cartes activité cliquables (index.html) ─────────────── */
.activity-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--r-lg);
  outline: none;
}
.activity-card-link:focus-visible .activity-card {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}
.activity-card-link:hover .activity-card {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-gold);
}
.activity-card-link:hover .activity-card--alt { border-color: var(--c-gold); }
.activity-card-link:hover .activity-card-arrow { transform: translateX(4px); }

.activity-card-arrow {
  display: inline-block;
  margin-top: var(--sp-4);
  font-size: 1rem;
  color: var(--c-teal-med);
  transition: transform var(--dur) var(--ease);
}
.activity-card--alt .activity-card-arrow { color: var(--c-gold); }

/* ── Responsive pages projet ─────────────────────────────── */
@media (max-width: 1024px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
    order: -1; /* Sidebar avant le contenu sur tablette/mobile */
  }
  .other-activities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .project-hero { padding: var(--sp-12) 0 var(--sp-10); }
  .project-main { padding: var(--sp-10) 0; }
  .faq-question { padding: var(--sp-4); }
  .faq-answer { padding: 0 var(--sp-4) var(--sp-4); }
  .project-sidebar {
    grid-template-columns: 1fr; /* Empilé sur mobile */
  }
}
@media (max-width: 480px) {
  .other-activities-grid { grid-template-columns: 1fr; }
}

/* ── SCROLL ANIMATIONS ──────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 80ms; }
.fade-up:nth-child(3) { transition-delay: 160ms; }
.fade-up:nth-child(4) { transition-delay: 240ms; }
.fade-up:nth-child(5) { transition-delay: 320ms; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .activities-zone-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: var(--c-navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: var(--sp-6);
    gap: var(--sp-2);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    overflow-y: auto;
    z-index: 150;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { padding: var(--sp-4); font-size: var(--text-base); border-radius: var(--r-md); }
  .nav-link.nav-cta { text-align: center; }
  .nav-burger { 
    display: flex; 
    position: relative;
    z-index: 200;
  }

  .assoc-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .activities-grid { grid-template-columns: 1fr; }
  .activities-zone-grid--2,
  .activities-zone-grid--3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .doc-card--featured { grid-template-columns: auto 1fr; }
  .doc-card--featured .doc-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .docs-tabs { gap: var(--sp-1); }
  .docs-tab { font-size: var(--text-xs); padding: var(--sp-2) var(--sp-3); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .doc-row { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  .doc-row .btn { align-self: flex-start; }
  /* Doc card — stack completement */
  .doc-card--featured {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }
  .doc-card--featured .doc-actions {
    grid-column: 1;
    flex-direction: row;
    justify-content: flex-start;
  }
  /* Contact card + form */
  .contact-card {
    padding: var(--sp-4);
    border-radius: var(--r-lg);
  }
  /* Section spacing */
  .section { padding: var(--sp-10) 0; }
  /* Project pages */
  .project-main { padding: var(--sp-8) 0; }
  .project-section { margin-bottom: var(--sp-8); }
}

/* ── MOBILE IMPROVEMENTS — 768px ───────────────────────── */
@media (max-width: 768px) {
  /* Hero — logo réduit, padding réduit */
  .hero {
    padding: calc(var(--nav-h) + var(--sp-10)) var(--sp-6) var(--sp-10);
  }
  .hero-logo-wrap {
    width: clamp(6rem, 35vw, 10rem);
    height: clamp(6rem, 35vw, 10rem);
  }
  .hero-content { gap: var(--sp-4); }
  .hero-sub { font-size: var(--text-base); }
  /* Cacher le scroll hint — chevauche le contenu sur mobile */
  .hero-scroll-hint { display: none; }

  /* Section header moins espacé */
  .section-header { margin-bottom: var(--sp-8); }

  /* Activités zone */
  .activities-zone-header { margin-bottom: var(--sp-4); }

  /* Contact card */
  .contact-card { padding: var(--sp-5); }
  .contact-card-title {
    font-size: var(--text-lg);
    margin-bottom: var(--sp-4);
  }
  .contact-ways { margin-top: var(--sp-5); }

  /* Mission box */
  .mission-box { padding: var(--sp-4); }

  /* Activity card */
  .activity-card { padding: var(--sp-5); }

  /* Doc card */
  .doc-card { padding: var(--sp-5); }

  /* Footer */
  .site-footer { padding: var(--sp-10) 0 var(--sp-6); }
  .footer-grid { gap: var(--sp-6); margin-bottom: var(--sp-8); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--sp-2); }

  /* Pages projet */
  .project-hero { padding: var(--sp-10) 0 var(--sp-8); }
  .project-title { font-size: var(--text-xl); }
  .project-lead { font-size: var(--text-base); }
  .project-section h2 { font-size: var(--text-lg); }
  .other-activities-grid { grid-template-columns: 1fr 1fr; }
}
