/* ============================================================
   Groupe 3W — Site institutionnel
   Feuille de style commune
   ============================================================ */

:root {
  --ink: #0f0f0f;
  --blue: #2b2bfa;
  --gray: #ededed;
  --soft: #f6f7f9;
  --text: #3a3a3a;
  --muted: #6b6b6b;
  --muted-2: #8a8a8a;
  --light: #cfcfcf;
  --light-2: #bdbdbd;
  --border: #ededed;
  --font-body: 'Lexend', sans-serif;
  --font-label: 'Mulish', sans-serif;
  --font-display: 'Roc Grotesk', 'Hanken Grotesk', sans-serif;
}

* { box-sizing: border-box; }

/* L'attribut [hidden] doit toujours l'emporter, même sur les éléments
   qui définissent display (ex. .form { display: flex }). */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-body);
}

img { max-width: 100%; }
a { color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Typographie ---------- */

.eyebrow {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
}
.eyebrow--blue { color: var(--blue); }
.eyebrow--light { color: var(--gray); }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: pretty;
}
.display--home { font-size: clamp(44px, 5.4vw, 72px); line-height: 1.05; max-width: 820px; text-wrap: balance; }
.display--groupe { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.08; max-width: 760px; }
.display--act { font-size: clamp(40px, 5vw, 64px); }
.display--rejoindre { font-size: clamp(38px, 4.8vw, 62px); line-height: 1.07; max-width: 780px; }
.display--contact { font-size: clamp(38px, 4.6vw, 58px); line-height: 1.08; max-width: 720px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 48px;
}
.section-title--38 { font-size: 38px; line-height: 1.12; }
.section-title--36 { font-size: 36px; }
.section-title--34 { font-size: 34px; }

.lead {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

/* Lien d'évitement (accessibilité clavier) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 0 0 12px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo img { height: 34px; width: auto; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--blue); }
.nav-link.is-active { border-bottom-color: var(--blue); font-weight: 800; }

/* Dropdown : Nos activités */
.nav-dropdown { position: relative; }

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-dropdown__trigger .caret { font-size: 9px; line-height: 1; opacity: 0.6; }

.nav-dropdown__wrap {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 14px;
  width: 320px;
  display: none;
}
.nav-dropdown.is-open .nav-dropdown__wrap { display: block; }
@media (min-width: 961px) {
  .nav-dropdown:hover .nav-dropdown__wrap,
  .nav-dropdown:focus-within .nav-dropdown__wrap { display: block; }
}

.nav-dropdown__panel {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(15, 15, 15, 0.14);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown__panel::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 11px;
  cursor: pointer;
  text-decoration: none;
}
.nav-dropdown__item:hover { background: var(--gray); }
.nav-dropdown__item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nav-dropdown__item .item-name {
  display: block;
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.nav-dropdown__item .item-tag {
  display: block;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* Bouton burger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Boutons
   ============================================================ */

.btn {
  display: inline-block;
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  border: 0;
  text-align: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
}
.btn--dark { background: var(--ink); color: #ffffff; }
.btn--dark:hover { background: var(--blue); }
.btn--outline { background: #ffffff; color: var(--ink); border: 1.5px solid var(--ink); padding: 15px 28px; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--blue { background: var(--blue); color: #ffffff; padding: 16px 30px; }
.btn--blue:hover { opacity: 0.9; }
.btn--nav { padding: 12px 20px; font-size: 12px; }
.btn--lg { padding: 18px 32px; white-space: nowrap; }
.btn--ghost {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 15px 26px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.btn--ghost:hover { border-color: #ffffff; background: rgba(255, 255, 255, 0.08); }

/* Icône lien externe (↗) */
.btn-ext { font-size: 15px; line-height: 1; }
.btn--ghost .btn-ext { margin-left: 0; }
.ext-ico { font-size: 0.85em; margin-left: 0.15em; }
/* Icône flèche « lien externe » en SVG (évite l'emoji ↗ sur iOS/mobile) */
.ico-ext { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex-shrink: 0; }

/* Focus clavier visible et cohérent */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.act-hero a:focus-visible,
.act-hero button:focus-visible,
.site-footer a:focus-visible,
.section-dark a:focus-visible {
  outline-color: #ffffff;
}

/* ============================================================
   Sections génériques
   ============================================================ */

.section-dark { background: var(--ink); color: #ffffff; }
.section-gray { background: var(--gray); }
.section-soft { background: var(--soft); }

/* Mission & vision */
.mv-section { padding: 84px 0; }
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 56px;
}
.mv-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
.mv-label .bar {
  display: block;
  height: 3px;
  width: 32px;
  border-radius: 2px;
  background: var(--blue);
}
.mv-label .txt {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.mv-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}

/* Chiffres clés (fond noir) */
.stats-section { padding: 84px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 40px;
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: #ffffff;
}
.stat__value--60 { font-size: 60px; }
.stat__label {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--light-2);
}
.stats-note {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  color: var(--muted);
  margin: 36px 0 0;
}

/* Atouts (bordure haute) */
.atouts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 24px;
}
.atouts-grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 40px; }
.atout { border-top: 2px solid var(--ink); padding-top: 22px; }
.atout h3 {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--ink);
}
.atout p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* Cartes fonctionnalités */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}
.feature-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--ink); }
.feature-card--fill {
  background: #ffffff;
  border: 0;
  padding: 30px 28px;
}
.feature-card--fill:hover { border: 0; }
.feature-card .tick {
  height: 3px;
  width: 36px;
  border-radius: 2px;
  background: var(--blue);
}
.feature-card h3 {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  margin: 8px 0 0;
  color: var(--ink);
}
.feature-card--fill h3 { font-size: 16px; letter-spacing: 0.02em; }
.feature-card p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* Hero pages activités (fond noir) */
.act-hero { background: var(--ink); color: #ffffff; }
.act-hero__inner { padding: 96px 32px 90px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
}
.breadcrumb a { color: var(--muted-2); cursor: pointer; text-decoration: none; }
.breadcrumb a:hover { color: #ffffff; }
.breadcrumb .sep { color: #5a5a5a; }
.breadcrumb .current { color: var(--gray); }

.act-hero__logo { width: auto; margin: 0 0 30px; display: block; }
.act-hero__logo--invert { filter: brightness(0) invert(1); }

.act-hero .eyebrow { color: var(--gray); margin-bottom: 18px; }
.act-hero .lead { color: var(--light); max-width: 620px; margin: 26px 0 38px; font-size: 18px; }
.act-hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.act-hero__hint {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--light);
}
.act-hero__hint strong {
  font-family: var(--font-label);
  font-weight: 800;
  color: #ffffff;
}

/* Contact dédié */
.contact-card {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
}
.contact-card__photo {
  width: 150px;
  height: 180px;
  flex-shrink: 0;
  display: block;
  object-fit: cover;
  border-radius: 18px;
}
.contact-card__body { flex: 1 1 300px; }
.contact-card__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  margin: 0 0 4px;
  color: var(--ink);
}
.contact-card__role {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 20px;
}
.contact-card__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 24px;
  max-width: 460px;
}
.contact-card__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   Accueil
   ============================================================ */

.home-hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}
.home-hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  opacity: 0.28;
  /* Bords en fondu (effet halo) : les lignes se dissolvent sur les côtés et
     en haut au lieu d'être coupées net. Deux dégradés combinés (intersection). */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to top, #000 18%, transparent 78%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to top, #000 18%, transparent 78%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.home-hero__inner {
  position: relative;
  z-index: 1; /* place le contenu au-dessus de la vague */
  padding: 110px 32px 300px;
}
.home-hero .lead { font-size: 19px; max-width: 620px; margin: 28px 0 40px; }
.home-hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

.activities-section { padding: 90px 0 100px; }
.activities-section .section-title { max-width: 640px; }

.activities-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.activity-card {
  flex: 1 1 300px;
  max-width: 362px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px 28px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.activity-card:hover {
  border-color: var(--ink);
  box-shadow: 0 12px 32px rgba(15, 15, 15, 0.08);
}
.activity-card .accent {
  height: 4px;
  width: 44px;
  border-radius: 2px;
}
.activity-card .logo-slot {
  height: 60px;
  display: flex;
  align-items: center;
}
.activity-card .logo-slot img {
  max-height: 56px;
  max-width: 230px;
  object-fit: contain;
}
.activity-card .tag {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.activity-card .desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  flex: 1;
}
.activity-card .more {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Écosystème (SVG animé) */
.eco-wrap { margin-top: 64px; }
.eco-wrap svg {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1200px;
  margin: 0 auto;
}
.eco-wrap svg a { cursor: pointer; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@keyframes ecoflow { to { stroke-dashoffset: -28px; } }
@keyframes ecoring { to { stroke-dashoffset: -80px; } }
@keyframes ecopulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes ecospin { to { transform: rotate(360deg); } }
@keyframes ecotwinkle {
  0%, 100% { opacity: 0.18; }
  50% { opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
  [data-eco] { animation: none !important; }
  [data-eco] animateMotion { display: none; }
}

/* Chiffres accueil / groupe */
.chiffres-section { padding: 80px 0; }
.chiffres-section .eyebrow { color: var(--gray); margin: 0 0 40px; }

/* CTA contact */
.cta-section { padding: 90px 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 12px;
  max-width: 560px;
}
.cta-inner p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--text);
  margin: 0;
  max-width: 520px;
}

/* ============================================================
   Le Groupe
   ============================================================ */

.groupe-hero { background: #ffffff; border-bottom: 1px solid var(--border); }
.groupe-hero__inner { padding: 90px 32px 70px; }
.groupe-hero .lead { font-size: 18px; max-width: 620px; margin: 24px 0 0; }

.histoire-section { padding: 80px 0; }
.histoire-section .eyebrow { margin: 0 0 40px; }
.timeline { display: flex; flex-direction: column; }
.timeline__row {
  display: grid;
  grid-template-columns: 120px 40px 1fr;
  gap: 0 12px;
}
.timeline__year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--ink);
  padding-top: 2px;
}
.timeline__spine {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 10px;
  flex-shrink: 0;
}
.timeline__line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 6px;
}
.timeline__content { padding-bottom: 44px; }
.timeline__content h3 {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 8px 0 8px;
}
.timeline__content p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  max-width: 560px;
}

.gouvernance-section { padding: 80px 0; }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 32px; }
.team-member {
  flex: 1 1 200px;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.team-member__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  object-fit: cover;
}
.team-member__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.team-member__name {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 16px;
  margin: 0 0 4px;
}
.team-member__role {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.team-member__linkedin {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  margin-top: 2px;
  transition: background 0.15s;
}
.team-member__linkedin:hover { background: var(--blue); }

.valeurs-section { padding: 90px 0; }
.valeurs-section .section-title { margin-bottom: 20px; max-width: 640px; }
.valeurs-section .section-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  max-width: 640px;
  margin: 0 0 56px;
}
.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}
.valeur {
  border-top: 2px solid var(--ink);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.valeur h3 {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink);
}
.valeur p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* ============================================================
   Pages activités — sections communes
   ============================================================ */

.presentation-section { padding: 90px 0; }
.presentation-section .section-title { margin-bottom: 20px; }
.presentation-section .section-intro {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 44px;
}
.savoir-section { padding: 90px 0; }
.profils-section { padding: 90px 0; }
.profils-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}
.profil-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.profil-card .role {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--ink);
}
.profil-card p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.cas-section { padding: 90px 0 70px; }
.cas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 24px;
  margin: 0 0 64px;
}
.cas-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cas-card h3 {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 18px;
  margin: 0;
}
.cas-card p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}
.temoignage-card {
  background: var(--gray);
  border-radius: 20px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.temoignage-card .quote {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  flex: 1;
}
.temoignage-card .who {
  display: flex;
  align-items: center;
  gap: 14px;
}
.temoignage-card .who img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}
.temoignage-card .who .name {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 14px;
  margin: 0;
}
.temoignage-card .who .company {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--muted);
  margin: 2px 0 0;
}

.contact-dedie-section { padding: 90px 0; }
.contact-dedie-section .eyebrow { margin: 0 0 40px; }

/* ============================================================
   Rejoindre le groupe
   ============================================================ */

.rejoindre-hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.rejoindre-hero__illu {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(220px, 24vw, 340px);
  pointer-events: none;
  opacity: 0.28;
}
.rejoindre-hero__inner {
  position: relative;
  padding: 90px 32px 320px;
}
.rejoindre-hero .lead { font-size: 18px; max-width: 620px; margin: 24px 0 0; }

.pourquoi-section { padding: 88px 0; }
.pourquoi-section .section-title { max-width: 620px; }

.candidature-section { padding: 88px 0 96px; }
.candidature-section .container { max-width: 900px; }
.candidature-section .section-title { margin-bottom: 16px; max-width: 620px; }
.candidature-section .section-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  max-width: 620px;
  margin: 0 0 44px;
}

/* ============================================================
   Formulaires
   ============================================================ */

.form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 36px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.field input,
.field textarea,
.field select {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  padding: 13px 15px;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 43, 250, 0.18);
}
.field--error input,
.field--error textarea,
.field--error select { border-color: #c0392b; }
.field--error input:focus,
.field--error textarea:focus,
.field--error select:focus { box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.18); }
.field > .field-error {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: #c0392b;
}

.file-drop {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border: 1.5px dashed #c4c4c4;
  border-radius: 12px;
  padding: 22px 24px;
  cursor: pointer;
  background: #fafafa;
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}
.file-drop:hover { border-color: var(--blue); background: #f4f6ff; }
.file-drop--error { border-color: #c0392b; background: #fdf3f2; }
.file-drop .file-btn {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--ink);
  padding: 11px 20px;
  border-radius: 999px;
  white-space: nowrap;
}
.file-drop .file-hint {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--muted);
}
.file-drop .file-name {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--ink);
}
.file-drop input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

/* Champ pot de miel (antispam) : hors écran, invisible pour les humains */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form .btn { align-self: flex-start; margin-top: 6px; }
.form-legal {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-2);
  margin: 4px 0 0;
  max-width: 640px;
}
.form-legal a { color: var(--muted); }
.form-status {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.form-status--error { color: #c0392b; line-height: 1.6; }

.form-success {
  background: var(--gray);
  border-radius: 18px;
  padding: 40px 36px;
  margin-bottom: 32px;
}
.form-success--white {
  background: #ffffff;
  border-radius: 18px;
  padding: 44px 40px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  margin: 0 0 10px;
}
.form-success--white h3 { font-size: 28px; }
.form-success p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}
.form-success .dest {
  font-size: 14px;
  color: var(--muted);
  margin: 14px 0 0;
}
.form-success .dest strong {
  font-family: var(--font-label);
  font-weight: 800;
  color: var(--ink);
}

/* ============================================================
   Contact
   ============================================================ */

.contact-hero { background: #ffffff; border-bottom: 1px solid var(--border); }
.contact-hero__inner { padding: 84px 32px 60px; }
.contact-hero .lead { font-size: 18px; max-width: 600px; margin: 22px 0 0; }

.contact-section { padding: 72px 0 90px; }
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.contact-form-title {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.siege-card {
  background: var(--ink);
  color: #ffffff;
  border-radius: 18px;
  padding: 32px 30px;
}
.siege-card .siege-label {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #40c4ff;
  margin: 0 0 18px;
}
.siege-card .siege-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 14px;
}
.siege-card .siege-address {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
  margin: 0;
}
.map-frame {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  height: 320px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-link {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.map-link:hover { color: var(--blue); }

/* ============================================================
   Page stub (à venir)
   ============================================================ */

.stub-main {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}
.stub-inner { text-align: center; padding: 100px 32px; }
.stub-inner h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  margin: 0 0 16px;
}
.stub-inner p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--text);
  margin: 0 0 32px;
}
.btn--back {
  background: none;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 14px 26px;
}
.btn--back:hover { color: var(--blue); border-color: var(--blue); }

/* ============================================================
   Pages légales
   ============================================================ */

.legal-section { padding: 80px 0 100px; }
.legal-container { max-width: 820px; }
.legal-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.1;
  margin: 0 0 32px;
}
.legal-section h2 {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 44px 0 14px;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}
.legal-section p,
.legal-section li {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 12px;
}
.legal-section ul { margin: 0 0 12px; padding-left: 20px; }
.legal-section a { color: var(--ink); }
.legal-section a:hover { color: var(--blue); }
.legal-update {
  margin-top: 44px !important;
  font-size: 13px !important;
  color: var(--muted) !important;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--ink);
  color: #ffffff;
  padding: 60px 0 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-brand img {
  height: 24px;
  width: auto;
  align-self: flex-start;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--muted-2);
  margin: 0;
  max-width: 320px;
  line-height: 1.6;
}
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col .col-title {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0;
}
.footer-col a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--gray);
  cursor: pointer;
  text-decoration: none;
}
.footer-col a:hover { color: #ffffff; }
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid #2a2a2a;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  color: var(--muted-2);
}
.footer-bottom a {
  color: var(--muted-2);
  text-decoration: underline;
}
.footer-bottom a:hover { color: #ffffff; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 32px 24px;
    box-shadow: 0 18px 44px rgba(15, 15, 15, 0.1);
  }
  .main-nav.is-open { display: flex; }
  .main-nav {
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
  }
  .nav-link { padding: 10px 0; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown__wrap {
    position: static;
    transform: none;
    width: 100%;
    padding-top: 6px;
  }
  .nav-dropdown__panel { box-shadow: none; border: 0; padding: 0 0 6px 12px; }
  .nav-dropdown__panel::before { display: none; }
  .btn--nav { margin-top: 10px; }

  .home-hero__inner { padding: 80px 32px 220px; }
  .rejoindre-hero__inner { padding: 70px 32px 260px; }
  .contact-layout { grid-template-columns: 1fr; }
  .timeline__row { grid-template-columns: 70px 30px 1fr; }
  .timeline__year { font-size: 22px; }
}

@media (max-width: 760px) {
  /* SVG écosystème : masqué sur mobile */
  .eco-wrap { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .header-inner { padding: 0 22px; }
  .form-row { grid-template-columns: 1fr; }
  .section-title { font-size: 30px; }
  .stat__value, .stat__value--60 { font-size: 44px; }
  .act-hero__inner { padding: 70px 22px 64px; }
  .home-hero__inner { padding: 64px 22px 170px; }
  .rejoindre-hero__inner { padding: 64px 22px 200px; }
  .groupe-hero__inner { padding: 64px 22px 52px; }
  .contact-hero__inner { padding: 60px 22px 44px; }
  .main-nav { padding: 16px 22px 24px; }
  .cta-inner h2 { font-size: 30px; }
  .mv-text { font-size: 23px; }
  .form-card { padding: 28px 22px; }
  .contact-card { padding: 28px 22px; gap: 24px; }
  .form-success, .form-success--white { padding: 32px 24px; }
  /* iOS zoome sur tout champ < 16px : on force 16px sur mobile */
  .field input,
  .field textarea,
  .field select { font-size: 16px; }
  /* Équipe : 2 colonnes sur mobile */
  .team-grid { gap: 26px 16px; }
  .team-member { flex: 1 1 calc(50% - 8px); max-width: none; }
}
