/* ================================================
   L'Arche, le chemin vers la Vie
   Design System & Styles
   ================================================ */

/* --- Custom Properties --- */
:root {
  /* Colors */
  --c-primary:       #3D8B7A;
  --c-primary-dark:  #2d6b5e;
  --c-primary-light: #56a898;
  --c-gold:          #C4963A;
  --c-dark:          #0d0d0d;
  --c-dark-2:        #161616;
  --c-dark-3:        #222222;
  --c-light:         #f6f4ef;
  --c-light-2:       #ece8df;
  --c-white:         #ffffff;
  --c-text:          #1c1c1c;
  --c-text-muted:    #6a6a6a;
  --c-text-light:    #aaaaaa;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

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

  /* Layout */
  --max-w:        1200px;
  --max-w-narrow: 780px;
  --nav-h:        80px;

  /* Effects */
  --shadow:          0 4px 30px rgba(0,0,0,0.08);
  --shadow-lg:       0 20px 60px rgba(0,0,0,0.15);
  --transition:      0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
  --radius:          4px;
  --radius-lg:       10px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Typography Scale --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(3rem,   6vw, 6.5rem); }
h2 { font-size: clamp(2rem,   4vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.9rem); }

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text-muted);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-primary);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
  border-radius: var(--radius);
  white-space: nowrap;
}

.btn--primary {
  background: var(--c-primary);
  color: #ffffff !important;
}
.btn--primary:hover {
  background: var(--c-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(61,139,122,0.35);
}

.btn--outline {
  border: 1px solid rgba(255,255,255,0.45);
  color: #ffffff !important;
}
.btn--outline:hover {
  border-color: var(--c-white);
  background: rgba(255,255,255,0.1);
}

/* --- Link Arrow --- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-primary);
  transition: gap var(--transition-fast);
}
.link-arrow:hover { gap: 0.85rem; }
.link-arrow svg {
  width: 15px; height: 15px;
  transition: transform var(--transition-fast);
}
.link-arrow:hover svg { transform: translateX(3px); }

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  transition: background var(--transition);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  gap: 2rem;
}

.nav__logo img {
  height: 58px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Logo text fallback */
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: #ffffff !important;
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin: 0 auto;
}

.nav__link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 2px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--c-primary);
  transition: width var(--transition-fast);
}
.nav__link:hover { color: var(--c-white); }
.nav__link:hover::after { width: 100%; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--c-white);
  transition: var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--c-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav__mobile.open { display: flex; }

.nav__mobile-link {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition-fast);
  font-weight: 300;
}
.nav__mobile-link:hover { color: var(--c-primary); }

.nav__mobile-close {
  position: absolute;
  top: 1.75rem; right: 2rem;
  color: rgba(255,255,255,0.5);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}
.nav__mobile-close:hover { color: var(--c-white); }

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff !important;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(4, 14, 11, 0.85) 0%,
    rgba(61, 139, 122, 0.18) 50%,
    rgba(4, 14, 11, 0.78) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  max-width: 860px;
}

.hero__logo {
  height: 90px;
  width: auto;
  margin: 0 auto 2.5rem;
  filter: brightness(0) invert(1);
}

.hero__eyebrow {
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.22em;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

.hero__title {
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 600;
  color: #ffffff !important;
  line-height: 1.05;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.7), 0 0 80px rgba(0,0,0,0.4);
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: #ffffff !important;
  display: block;
  font-size: 0.82em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.7), 0 0 80px rgba(0,0,0,0.4);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 0 auto 3rem;
  font-weight: 300;
  line-height: 1.85;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}
.hero__scroll span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: scrollLine 2.2s ease infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* Wave divider */
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  z-index: 2;
  line-height: 0;
}
.hero__wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ================================================
   INTRO SECTION
   ================================================ */
.intro {
  padding: var(--space-xl) 0;
  background: var(--c-white);
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.intro__tag  { margin-bottom: 1.25rem; }
.intro__title { margin-bottom: 1.75rem; color: var(--c-text); }

.intro__text { margin-bottom: 1.25rem; }

.intro__list {
  margin: 0.5rem 0 1.5rem 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.intro__list li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--c-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}
.intro__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
}

.intro__values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.5rem;
}
.intro__value {
  padding: 0.38rem 1rem;
  border: 1px solid var(--c-primary);
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.intro__image    { position: relative; }
.intro__img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--c-light-2);
}
.intro__image-badge {
  position: absolute;
  bottom: -2rem; left: -2rem;
  background: var(--c-primary);
  color: #ffffff !important;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.intro__image-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1;
}
.intro__image-badge span {
  font-size: 0.78rem;
  opacity: 0.8;
  margin-top: 0.25rem;
  display: block;
}

/* ================================================
   STATS SECTION
   ================================================ */
.stats {
  background: var(--c-primary);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
/* Subtle dot pattern */
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3.5rem 1rem;
  text-align: center;
}

/* Ligne 1 : 3 stats centrées sur 2 colonnes chacune */
.stats__grid .stat:nth-child(1) { grid-column: 1 / 3; }
.stats__grid .stat:nth-child(2) { grid-column: 3 / 5; }
.stats__grid .stat:nth-child(3) { grid-column: 5 / 7; }

/* Ligne 2 : 2 stats centrées → décalées d'1 colonne */
.stats__grid .stat:nth-child(4) { grid-column: 2 / 4; }
.stats__grid .stat:nth-child(5) { grid-column: 4 / 6; }

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 300;
  color: #ffffff !important;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat__label {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ================================================
   ACTIONS SECTION
   ================================================ */
.actions {
  background: var(--c-dark);
  padding: var(--space-xl) 0;
}

.section-header { margin-bottom: 4rem; }
.section-header--center { text-align: center; }
.section-header .eyebrow { margin-bottom: 1rem; }
.section-header h2 { color: var(--c-white); margin-bottom: 1rem; }
.section-header p  { color: rgba(255,255,255,0.45); max-width: 540px; }
.section-header--center p { margin: 0 auto; }

.actions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
}

.action-card {
  padding: 2.75rem 2.25rem;
  background: var(--c-dark);
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}
.action-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--c-primary);
  transition: width var(--transition);
}
.action-card:hover { background: var(--c-dark-2); }
.action-card:hover::after { width: 100%; }

.action-card__icon {
  width: 44px; height: 44px;
  margin-bottom: 1.5rem;
  color: var(--c-primary);
}
.action-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-primary);
  border: 1px solid var(--c-primary);
  border-radius: 20px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 0.75rem;
}

.action-card--project {
  border: 1px solid rgba(61, 139, 122, 0.35);
  background: rgba(61, 139, 122, 0.07);
}

.action-card--project .action-card__text em {
  display: block;
  margin-top: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.5;
}

.action-card__title {
  font-size: 1.25rem;
  color: #ffffff !important;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
}
.action-card__text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.85;
  margin-bottom: 2rem;
}

/* ================================================
   QUOTE SECTION
   ================================================ */
.quote-section {
  padding: var(--space-xl) 0;
  background: var(--c-light);
}
.quote-section__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 0.55;
  color: var(--c-primary);
  opacity: 0.25;
  display: block;
  margin-bottom: 1.5rem;
}
blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--c-text);
  line-height: 1.45;
  margin-bottom: 2rem;
}
.quote-source {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

/* ================================================
   MARAUDE SECTION
   ================================================ */
.maraude {
  padding: var(--space-xl) 0;
  background: var(--c-dark);
}

.maraude .section-header h2 { color: var(--c-white); }
.maraude .section-header .eyebrow { color: var(--c-primary-light); }
.maraude .section-header { margin-bottom: 3rem; }

.maraude__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
  margin-top: 0;
}

.maraude__video-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,0.15);
}

.maraude__video {
  width: 100%;
  min-height: 380px;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.maraude__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.maraude__text p {
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  font-size: 0.95rem;
}

.maraude__text strong {
  color: #ffffff !important;
}

.maraude__quote {
  border-left: 3px solid var(--c-primary);
  padding: 1rem 1.5rem;
  margin: 0;
  background: rgba(61, 139, 122, 0.12);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

.maraude__quote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-style: normal;
  font-family: var(--font-body);
  color: var(--c-primary-light);
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ================================================
      PROCESSUS SECTION
   ================================================ */
.processus {
  padding: var(--space-xl) 0;
  background: var(--c-white);
}
.processus .section-header h2 { color: var(--c-text); }
.processus .section-header p  { color: var(--c-text-muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
  margin-top: 5rem;
}
.steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 1px;
  background: var(--c-light-2);
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.6rem;
  position: relative;
  z-index: 1;
}
.step__number {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  color: #ffffff !important;
  background: var(--c-primary);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}
.step:hover .step__number {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(61,139,122,0.4);
}
.step__title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.step__desc {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ================================================
   CTA JOIN
   ================================================ */
.cta-join {
  position: relative;
  padding: var(--space-xl) 0;
  background: var(--c-dark);
  overflow: hidden;
  text-align: center;
}
.cta-join__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/maraude-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}
/* Teal gradient overlay */
.cta-join::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(61,139,122,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-join__inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem;
}
.cta-join .eyebrow { margin-bottom: 1.5rem; }
.cta-join h2 {
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  color: #ffffff !important;
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.cta-join h2 em { font-style: italic; color: var(--c-primary-light); }
.cta-join p {
  color: rgba(255,255,255,0.5);
  max-width: 460px;
  margin: 0 auto 3rem;
}
.cta-join__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================
   NEWS SECTION
   ================================================ */
.news {
  padding: var(--space-xl) 0;
  background: var(--c-white);
}
.news__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}
.news__header h2 { color: var(--c-text); }
.news__header .eyebrow { margin-bottom: 0.75rem; }

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

.news-card__img-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  aspect-ratio: 16 / 10;
  background: var(--c-light-2);
}
.news-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.news-card:hover .news-card__img { transform: scale(1.04); }

/* Logo dans une carte actualité : pas de crop, fond blanc */
.news-card__img--logo {
  object-fit: contain;
  padding: 1.5rem;
  background: var(--c-white);
}
.news-card:hover .news-card__img--logo { transform: none; }

.news-card__tag {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.news-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--c-text);
  margin-bottom: 0.75rem;
  line-height: 1.25;
  transition: color var(--transition-fast);
}
.news-card:hover .news-card__title { color: var(--c-primary); }

.news-card__excerpt {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.75;
  flex: 1;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-primary);
  text-decoration: none;
  transition: gap var(--transition-fast);
}
.news-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}
.news-card:hover .news-card__link { gap: 0.7rem; }
.news-card:hover .news-card__link svg { transform: translateX(3px); }

.news-card__date {
  font-size: 0.76rem;
  color: var(--c-text-light);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-light-2);
  display: block;
}

/* ================================================
   PROJETS À VENIR
   ================================================ */
.projets {
  padding: var(--space-xl) 0;
  background: var(--c-dark);
}

.projets .section-header h2 { color: var(--c-white); }
.projets .section-header .eyebrow { color: var(--c-primary-light); }
.projets .section-header { margin-bottom: 3.5rem; }

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

.projet-card {
  display: flex;
  flex-direction: column;
  background: var(--c-dark-2);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.projet-card__img-wrap {
  overflow: hidden;
  height: 260px;
  flex-shrink: 0;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.projet-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease;
}

.projet-card:hover .projet-card__img { transform: scale(1.05); }

.projet-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.projet-card__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-primary-light);
  border: 1px solid var(--c-primary);
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  width: fit-content;
}

.projet-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--c-white);
  line-height: 1.3;
}

.projet-card__text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}

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

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

.projet-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.projet-card__list li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  padding-left: 1.2rem;
  position: relative;
}

.projet-card__list li::before {
  content: "•";
  color: var(--c-primary);
  position: absolute;
  left: 0;
  font-weight: 700;
}

.projet-card--soon { opacity: 0.75; }
.projet-card--soon .projet-card__img { filter: grayscale(40%); }

.projet-card__badge--soon {
  color: var(--c-gold);
  border-color: var(--c-gold);
}

.projet-card__text--soon {
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--c-dark);
  color: rgba(255,255,255,0.5);
  padding: 5.5rem 0 2.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer__brand img {
  height: 48px;
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
}
.footer__brand-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: #ffffff !important;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer__brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.85;
  max-width: 270px;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.footer__social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  transition: var(--transition-fast);
}
.footer__social a:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff !important;
  margin-bottom: 1.5rem;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition-fast);
}
.footer__links a:hover { color: var(--c-primary); }

.footer__contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
}
.footer__contact-item svg {
  flex-shrink: 0;
  color: var(--c-primary);
  margin-top: 2px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.22);
}

/* ================================================
   ANIMATIONS
   ================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.85s ease;
}
.fade-in.visible { opacity: 1; }

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.00s; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.08s; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.16s; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.24s; }
.stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.32s; }
.stagger.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.40s; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
  .intro__grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .maraude__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro__image { order: -1; }
  .intro__img   { height: 420px; }
  .intro__image-badge { left: 0; }

  /* Stats : 2+2+1 centré sur tablette */
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem 1rem;
  }
  .stats__grid .stat:nth-child(1) { grid-column: 1 / 3; }
  .stats__grid .stat:nth-child(2) { grid-column: 3 / 5; }
  .stats__grid .stat:nth-child(3) { grid-column: 1 / 3; }
  .stats__grid .stat:nth-child(4) { grid-column: 3 / 5; }
  .stats__grid .stat:nth-child(5) { grid-column: 2 / 4; }

  .actions__grid { grid-template-columns: repeat(2, 1fr); }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    row-gap: 3.5rem;
  }
  .steps::before { display: none; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --space-xl: 5rem; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero__logo { height: 65px; }
  .hero__ctas { flex-direction: column; align-items: center; }

  .actions__grid { grid-template-columns: 1fr; }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .news__grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  /* Stats : 1 colonne sur mobile */
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .stats__grid .stat:nth-child(1),
  .stats__grid .stat:nth-child(2),
  .stats__grid .stat:nth-child(3),
  .stats__grid .stat:nth-child(4),
  .stats__grid .stat:nth-child(5) {
    grid-column: 1 / 2;
  }
  .steps       { grid-template-columns: 1fr; }
  .hero__title { font-size: 3.2rem; }
}

/* ================================================
   Modal — Je veux m'engager
   ================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: overlay-in 0.2s ease;
}
.modal-overlay[hidden] { display: none; }

@keyframes overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal {
  background: var(--c-white);
  border-radius: 16px;
  padding: 2.8rem 2.5rem 2.5rem;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modal-in 0.25s cubic-bezier(0.34,1.3,0.64,1);
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.modal__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-gray);
  padding: 0.3rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.modal__close:hover { color: var(--c-dark); background: var(--c-light); }

.modal__form { display: flex; flex-direction: column; gap: 1.2rem; }

.modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.modal__field { display: flex; flex-direction: column; gap: 0.4rem; }

.modal__field label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--c-dark);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.modal__field input,
.modal__field textarea {
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  font-family: var(--font-body);
  color: var(--c-dark);
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  resize: vertical;
}
.modal__field input:focus,
.modal__field textarea:focus {
  border-color: var(--c-primary);
  background: var(--c-white);
}
.modal__field input.error,
.modal__field textarea.error { border-color: #e05252; }

.modal__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem 0 1rem;
  color: var(--c-gray);
  font-size: 0.95rem;
}
.modal__success[hidden] { display: none; }

@media (max-width: 520px) {
  .modal { padding: 2rem 1.4rem 1.8rem; }
  .modal__row { grid-template-columns: 1fr; }
}
