:root {
  --bg-color-dark: #121212;
  --bg-color-light: #f4f2ef; /* Blanc cassé / Parchemin */
  --text-color-dark: #222222; /* Gris charbon, pas noir pur */
  --text-color-light: #e8e6e3;
  --accent-color: #e5aa44;
  --muted-color: #666666;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.05);
  --font-serif: 'Lora', serif;
  --font-sans: 'Poppins', sans-serif;
  --bg-gradient: linear-gradient(135deg, #0d121c 0%, #0f172a 100%);
  --bg-gradient-light:linear-gradient(135deg, #e2e6ed 0%, #ffffff 100%);
  --bg-white: #ffffff;
  --white-alt:rgba(232, 230, 227, 0.9);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
.accent-color { color: var(--accent-color); }
/* --- THÈME CLAIR PAR DÉFAUT --- */
body {
  background-color: var(--bg-color-light);
  color: var(--text-color-dark);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 120px 0; background: var(--bg-gradient-light); }
.bg-white { background-color: var(--bg-white); }
.bg-alt{background: var(--bg-color-light)}

/* --- Animations & Transitions --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* --- Image --- */
.img-fluid {
  width: 100%;
  height: auto;
}

/* --- Navigation --- */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 2rem 0;
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.main-nav.is-scrolled {
  /* MODIFICATION : Le fond devient semi-transparent pour que le flou soit visible */
  background-color: rgba(255, 255, 255, 0.85); 
  padding: 1rem 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  /* AJOUT : Effet de verre dépoli (blur) */
  -webkit-backdrop-filter: blur(8px); /* Pour la compatibilité avec Safari */
  backdrop-filter: blur(8px);
}

.nav-content { display: flex; justify-content: space-between; align-items: center; }
@media (max-width: 768px) {
  .main-nav.is-scrolled {
      padding: 0.55rem 0;
  }

  .nav-content {
      justify-content: flex-start;
      align-items: center;
      position: relative;
  }

  .nav-links {
      position: fixed;
      top: 0;
      right: 0;
      width: 100%;
      height: 100vh;
      background-color: rgba(18, 18, 18, 0.95);
      backdrop-filter: blur(10px);
      transform: translateX(100%);
      transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
      z-index: 1000;
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .nav-links.is-active {
      transform: translateX(0);
  }

  .nav-menu {
      flex-direction: column;
      gap: 1.45rem;
      text-align: center;
  }

  .nav-menu a {
      font-size: 1.08rem;
      font-weight: 400;
      line-height: 1.35;
      letter-spacing: 0.01em;
      padding: 0.35rem 0;
  }

  .nav-menu a.cta {
      padding: 0.62rem 1.5rem;
      border-radius: 999px;
  }

  .nav-toggle {
      display: block;
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
  }

  .nav-toggle.is-active .hamburger {
      background-color: transparent;
  }
  .nav-toggle.is-active .hamburger::before {
      transform: rotate(45deg);
  }
  .nav-toggle.is-active .hamburger::after {
      transform: rotate(-45deg);
  }
  .main-nav.is-scrolled .nav-links.is-active .nav-menu a {
      color: var(--text-color-light);
  }
  
  /* Fait de même pour le bouton "Contact" pour qu'il garde son style initial */
  .main-nav.is-scrolled .nav-links.is-active .nav-menu a.cta {
      border-color: rgba(232, 230, 227, 0.3);
  }
}
.logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--text-color-light);
  transition: color 0.4s ease;
  text-decoration: none;
  text-align: center;
}

.logo.logo-stacked {
  display: inline-flex; /* Utiliser flex pour un meilleur contrôle */
  flex-direction: column; /* Aligner les éléments verticalement */
  align-items: center; /* Aligner à gauche */
  justify-content: center;
  line-height: 1; /* Rapprocher les lignes */
  text-decoration: none;
  text-align: center;
}

.logo-groupe {
  font-family: var(--font-sans); /* Poppins, pour le contraste moderne */
  font-weight: 400; /* Poids normal ou léger */
  font-size: 0.6em; /* Environ 50% de la taille de 'DUBOIS' */
  letter-spacing: 0.25em; /* Espacement large pour un effet premium */
  /* AJOUT : Compense l'espacement du dernier caractère pour un centrage parfait */
  margin-right: -0.25em;
  color: var(--text-color-light); /* Couleur par défaut (dans le hero) */
  margin-bottom: 0.3em; /* Petit espace entre les deux mots */
  text-transform: uppercase;
  transition: color 0.4s ease;
}

.logodot{
  font-size: 0.5em;
}

.logo-dubois {
  font-family: var(--font-serif); /* Lora, comme avant */
  font-weight: 600;
  font-size: 1.8rem; /* Taille de base du logo */
  color: var(--text-color-light); /* Couleur par défaut */
  transition: color 0.4s ease;
  margin-bottom: 2px;
}

/* --- Adaptation au scroll --- */
.main-nav.is-scrolled .logo-groupe,
.main-nav.is-scrolled .logo-dubois {
  color: var(--text-color-dark); /* Changement de couleur au scroll */
}

/* --- Ajustement pour l'ancien selecteur .logo --- */
/* On retire la taille de police pour qu'elle soit gérée par .logo-dubois */
.logo {
  font-size: inherit; 
}

.main-nav.is-scrolled .logo {
  color: var(--text-color-dark);
}

.nav-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-color-light);
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(232, 230, 227, 0.3);
  border-radius: 20px;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.nav-link:hover { background-color: var(--accent-color); color: var(--bg-color-dark); border-color: var(--accent-color); }

.nav-links ul {
margin: 0;
padding: 0;
list-style: none;
display: flex;
align-items: center;
gap: 2rem;
}

.nav-menu a {
color: var(--text-color-light);
text-decoration: none;
font-size: 0.9rem;
padding: 0.5rem 0;
position: relative;
transition: color 0.3s ease;
}

.main-nav.is-scrolled .nav-menu a {
  color: var(--text-color-dark);
}

.nav-menu a:not(.cta)::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 1px;
background-color: var(--accent-color);
transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-menu a:not(.cta):hover {
color: var(--text-color-light);
}
.main-nav.is-scrolled .nav-menu a:not(.cta):hover {
  color: var(--text-color-dark);
}

.nav-menu a:not(.cta):hover::after {
width: 100%;
}

.nav-menu a.cta {
padding: 0.6rem 1.2rem;
border: 1px solid rgba(232, 230, 227, 0.3);
border-radius: 20px;
transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.main-nav.is-scrolled .nav-menu a.cta {
  color: var(--text-color-dark);
  border-color: var(--text-color-dark);
}

.nav-menu a.cta:hover {
background-color: var(--accent-color);
color: var(--bg-color-dark);
border-color: var(--accent-color);
}
.nav-menu a.cta::after {
display: none;
}

.nav-toggle {
display: none;
background: transparent;
border: none;
cursor: pointer;
padding: 0.5rem;
z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
content: '';
display: block;
width: 28px;
height: 2px;
background-color: var(--text-color-light);
position: relative;
transition: transform 0.3s ease, background-color 0.4s ease;
}

.main-nav.is-scrolled .hamburger,
.main-nav.is-scrolled .hamburger::before,
.main-nav.is-scrolled .hamburger::after {
  background-color: var(--text-color-dark);
}

.hamburger::before {
transform: translateY(-8px);
}

.hamburger::after {
transform: translateY(8px);
}

@media (max-width: 768px) {
  .nav-links {
      position: fixed;
      top: 0;
      right: 0;
      width: 100%;
      height: 100vh;
      background-color: rgba(18, 18, 18, 0.95);
      backdrop-filter: blur(10px);
      transform: translateX(100%);
      transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
      z-index: 1000;
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .nav-links.is-active {
      transform: translateX(0);
  }

  .nav-menu {
      flex-direction: column;
      gap: 1.45rem;
      text-align: center;
  }

  .nav-menu a {
      font-size: 1.08rem;
      font-weight: 400;
      line-height: 1.35;
      letter-spacing: 0.01em;
      padding: 0.35rem 0;
  }

  .nav-menu a.cta {
      padding: 0.62rem 1.5rem;
      border-radius: 999px;
  }

  .nav-toggle {
      display: block;
  }

  .nav-toggle.is-active .hamburger {
      background-color: transparent;
  }
  .nav-toggle.is-active .hamburger::before {
      transform: rotate(45deg);
  }
  .nav-toggle.is-active .hamburger::after {
      transform: rotate(-45deg);
  }
  .main-nav.is-scrolled .nav-links.is-active .nav-menu a {
      color: var(--text-color-light);
  }
  
  /* Fait de même pour le bouton "Contact" pour qu'il garde son style initial */
  .main-nav.is-scrolled .nav-links.is-active .nav-menu a.cta {
      border-color: rgba(232, 230, 227, 0.3);
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  background-image: url(../images/bg2.webp);
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
  color: var(--text-color-light);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(192, 167, 131, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  width: 100%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 700px;
}
@media (min-width: 1024px){
  .hero-text h1:not(#mainslogan) {
    color: #ffffff;
    background-image: radial-gradient(circle, rgb(93 106 118) 0%, rgb(255 255 255) 69%);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
  }
}
.hero-text h1 strong { color: var(--accent-color); font-weight: 600; }
.hero-text p {
  font-size: 1.1rem;
  color: rgba(232, 230, 227, 0.85);
  line-height: 1.8;
  max-width: 550px;
}
.pagehero{
  padding-top:150px;
  padding-bottom: 100px;
  min-height: auto;
}
@media (max-width: 360px) {
  .pagehero{
    padding-top:100px;
    padding-bottom: 50px;
    min-height: auto;
  }
}

.home-manifest-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 9rem 0 6rem;
  color: var(--text-color-light);
  background: #0b1320;
}

.home-manifest-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: linear-gradient(90deg, rgba(6, 13, 27, 0.94) 0%, rgba(6, 13, 27, 0.76) 42%, rgba(6, 13, 27, 0.28) 100%), url('/assets/images/bg2.webp');
  background-size: cover;
  background-position: right top;
}

.home-manifest-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 16, 31, 0.24) 0%, rgba(8, 16, 31, 0.92) 100%),
    radial-gradient(ellipse at 20% 45%, rgba(229, 170, 68, 0.15), transparent 44%);
}

.home-manifest-hero-inner {
  width: 100%;
  position: relative;
  z-index: 1;
}

.home-manifest-hero-copy {
  max-width: 820px;
}

.home-manifest-kicker {
  margin-bottom: 1.25rem;
  color: rgba(232, 230, 227, 0.68);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
}

.home-manifest-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.6vw, 5.45rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.home-manifest-line {
  display: block;
}

.home-manifest-accent {
  color: var(--accent-color);
}

.home-manifest-lede {
  max-width: 640px;
  margin-top: 1.6rem;
  color: rgba(232, 230, 227, 0.82);
  font-size: 1.08rem;
  line-height: 1.85;
}

.home-manifest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.home-manifest-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 46px;
  border: 1px solid rgba(232, 230, 227, 0.34);
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  color: var(--text-color-light);
  text-decoration: none;
  font-size: 0.92rem;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.home-manifest-button::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.home-manifest-button:hover {
  border-color: var(--accent-color);
  background: var(--accent-color);
  color: #101010;
}

.home-manifest-button:hover {
  transform: translateY(-2px);
}

.home-manifest-button:hover::after {
  transform: rotate(45deg) translate(2px, -2px);
}

.home-manifest-rail {
  position: absolute;
  right: 0;
  bottom: -1rem;
  display: grid;
  gap: 0.65rem;
  color: rgba(232, 230, 227, 0.38);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-align: right;
  text-transform: uppercase;
}

.home-manifest-rail::before {
  content: "";
  width: 1px;
  height: 120px;
  justify-self: end;
  background: rgba(229, 170, 68, 0.5);
  animation: preview-line-drop 1.6s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.home-scroll-cue {
  display: none;
}

.home-scroll-cue span {
  display: block;
  width: 14px;
  height: 14px;
  border-right: 1px solid rgba(232, 230, 227, 0.74);
  border-bottom: 1px solid rgba(232, 230, 227, 0.74);
  transform: rotate(45deg);
}

@keyframes preview-title-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes preview-line-drop {
  from {
    transform: scaleY(0);
    transform-origin: top;
  }
  to {
    transform: scaleY(1);
    transform-origin: top;
  }
}

@keyframes home-scroll-cue-bob {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-manifest-hero *,
  .home-manifest-hero *::before,
  .home-manifest-hero *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(232, 230, 227, 0.5);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
  text-decoration: none;
  transition: color 0.3s ease;
}
.scroll-indicator:hover {
  color: var(--text-color-light);
}

/* --- Animation de texte "Typing" --- */
#typed-word.accent-color {
color: var(--accent-color);
font-weight: 600;
}
.cursor {
display: inline-block;
width: 3px;
height: 1em;
background-color: var(--accent-color);
margin-left: 8px;
animation: blink 1s infinite;
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}
/* --- Section Header (THÈME CLAIR) --- */
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  margin: 1.5rem auto 0;
}
.section-header p {
  color: var(--muted-color);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1rem;
}

/* --- Ateliers (Services) --- */
#ateliers {
  background: var(--bg-gradient);
}

#ateliers .section-header h2 {
  color: var(--text-color-light);
}

#ateliers .section-header h2::after {
  background: var(--accent-color);
}
#ateliers .section-header p {
  color: var(--white-alt);
}
.ateliers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}
.atelier-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2.5rem;
  backdrop-filter: blur(8px);
  transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.atelier-card:hover {
  background-color: var(--card-bg);
  border-color: transparent;
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.atelier-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.atelier-icon {
  font-size: 1.2rem;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0;
  width: 50px;
  height: 50px;
  background-color: rgba(192, 167, 131, 0.1);
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.atelier-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--text-color-light);
  transition: color 0.4s ease;
}
.atelier-card:hover h3 {
  color: var(--text-color-dark);
}
.atelier-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--white-alt);
  transition: color 0.4s ease;
}
.atelier-card:hover p {
  color: var(--muted-color);
}

/* --- Expertises (Services Visuels) --- */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: stretch;
}
.expertise-card {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.expertise-card.text-card {
  background-color: #f9f9f9;
  padding: 2.5rem;
  justify-content: center;
}
.expertise-card.text-card h3 {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-color-dark);
  margin-bottom: 1rem;
}
.expertise-card.text-card p {
  color: var(--muted-color);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: auto;
  padding-bottom: 1.5rem;
}
.expertise-card.text-card .learn-more {
  font-family: var(--font-sans);
  text-decoration: none;
  color: var(--text-color-dark);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}
.expertise-card.text-card .learn-more:hover {
  color: var(--accent-color);
}
.expertise-card.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.expertise-card.image-card:hover img {
  transform: scale(1.05);
}

.philosophie-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--muted-color);
}


/* --- Implications (Alliances) --- */
.implications-grid-alt {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.implication-card-alt {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(8px);
}

.implication-card-alt:hover {
    background-color: var(--card-bg);
    border-color: transparent;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-logo-container-alt {
    padding: 2.5rem;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-logo-container-alt img {
    max-height: 50px;
    width: auto;
    max-width: 180px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.implication-card-alt:hover .card-logo-container-alt img {
    opacity: 1;
    filter: none;
}

.card-content-alt {
    padding: 1.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-top-color 0.4s ease;
}

.implication-card-alt:hover .card-content-alt {
    border-top-color: var(--border-color);
}

.card-content-alt h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--text-color-light);
    font-family: var(--font-sans);
    transition: color 0.4s ease;
}

.implication-card-alt:hover .card-content-alt h3 {
    color: var(--text-color-dark);
}

.partner-builder-band {
  background-color: #0d121c;
  color: var(--text-color-light);
  padding: 1.7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.partner-builder-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.partner-builder-copy {
  max-width: 760px;
}

.partner-builder-kicker {
  margin-bottom: 0.45rem;
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.partner-builder-copy h2 {
  margin-bottom: 0.4rem;
  color: var(--text-color-light);
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.2vw, 2.15rem);
  font-weight: 600;
  line-height: 1.15;
}

.partner-builder-copy p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(232, 230, 227, 0.82);
  font-size: 1rem;
  line-height: 1.65;
}

.partner-builder-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 190px;
  padding: 0.8rem 0;
  text-decoration: none;
}

.partner-builder-logo img {
  display: block;
  width: 165px;
  max-width: 100%;
  height: auto;
  opacity: 0.95;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.partner-builder-logo:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

/* --- Styles pour la page Implications / Projets --- */
#implications-details {
  background-color: var(--card-bg);
  overflow-x: hidden;
  padding-bottom: 80px;
}

.projects-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  gap: 1.75rem;
}

.implication-entry {
  position: relative;
  isolation: isolate;
  min-height: 440px;
  background-color: #0d121c;
  background-position: right center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.implication-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-height: 100%;
  justify-content: center;
  margin-right: auto;
  padding: 2.5rem;
  text-align: left;
  width: min(100%, 560px);
  background: linear-gradient(90deg, rgba(13, 18, 28, 0.96) 0%, rgba(13, 18, 28, 0.88) 58%, rgba(13, 18, 28, 0.42) 88%, rgba(13, 18, 28, 0.04) 100%);
}

.implication-logo {
  width: fit-content;
  min-width: 170px;
  height: 78px;
  margin-bottom: 1.55rem;
  padding: 0.85rem 1rem;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.implication-logo img {
  max-height: 50px;
  width: auto;
  max-width: min(100%, 240px);
  object-fit: contain;
}

.implication-content h3 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.16;
  margin-bottom: 1rem;
  color: var(--text-color-light);
  word-wrap: break-word; 
}

.implication-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 32px;
  margin-bottom: 1.15rem;
  justify-content: flex-start;
  align-content: flex-start;
}

.implication-tags span {
  background-color: rgba(229, 170, 68, 0.14);
  color: var(--accent-color);
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.2;
}

.implication-content p {
  color: rgba(232, 230, 227, 0.78);
  font-size: 0.96rem;
  line-height: 1.72;
  margin-bottom: 1.4rem;
}

.implication-highlight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0.15rem;
  margin-bottom: 1.4rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.highlight-number {
  display: block;
  color: var(--accent-color);
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.08;
}

.highlight-label {
  margin-top: 0.36rem;
  color: rgba(232, 230, 227, 0.66);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.highlight-text {
  color: rgba(232, 230, 227, 0.92);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
}

.implication-content .btn-outline {
  margin-top: 0.2rem;
  align-self: flex-start;
}

.implication-highlight + .btn-outline {
  margin-top: 0;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-color-light);
  background-color: transparent;
  min-width: 168px;
  min-height: 46px;
  padding: 0.72rem 1.45rem;
  border: 1px solid rgba(232, 230, 227, 0.72);
  border-radius: 4px;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--bg-color-dark);
  border-color: var(--accent-color);
}

.external-link-button {
  min-width: 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  background: rgba(232, 230, 227, 0.08);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(232, 230, 227, 0.08);
}

.external-link-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.external-link-button::before {
  content: "";
  display: block;
  width: 19px;
  height: 19px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.external-link-button:hover {
  transform: translateY(-2px);
}

.external-link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.external-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 44px;
  padding: 0 1rem;
  color: var(--text-color-light);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border: 1px solid rgba(232, 230, 227, 0.62);
  border-radius: 999px;
  background: rgba(232, 230, 227, 0.08);
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.external-link-pill::after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.external-link-pill:hover {
  color: var(--bg-color-dark);
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.alliance-lexa {
  background-image:
    linear-gradient(90deg, rgba(13, 18, 28, 0.94) 0%, rgba(13, 18, 28, 0.86) 42%, rgba(13, 18, 28, 0.58) 66%, rgba(13, 18, 28, 0.22) 86%, rgba(13, 18, 28, 0.04) 100%),
    url('/assets/images/alliances/lexa-bg.webp');
  background-image:
    linear-gradient(90deg, rgba(13, 18, 28, 0.94) 0%, rgba(13, 18, 28, 0.86) 42%, rgba(13, 18, 28, 0.58) 66%, rgba(13, 18, 28, 0.22) 86%, rgba(13, 18, 28, 0.04) 100%),
    image-set(url('/assets/images/alliances/lexa-bg.avif') type('image/avif'), url('/assets/images/alliances/lexa-bg.webp') type('image/webp'));
}

.alliance-saison {
  background-image:
    linear-gradient(90deg, rgba(13, 18, 28, 0.94) 0%, rgba(13, 18, 28, 0.84) 42%, rgba(13, 18, 28, 0.56) 66%, rgba(13, 18, 28, 0.2) 86%, rgba(13, 18, 28, 0.04) 100%),
    url('/assets/images/alliances/saison.webp');
  background-image:
    linear-gradient(90deg, rgba(13, 18, 28, 0.94) 0%, rgba(13, 18, 28, 0.84) 42%, rgba(13, 18, 28, 0.56) 66%, rgba(13, 18, 28, 0.2) 86%, rgba(13, 18, 28, 0.04) 100%),
    image-set(url('/assets/images/alliances/saison.avif') type('image/avif'), url('/assets/images/alliances/saison.webp') type('image/webp'));
}

.alliance-eav {
  background-image:
    linear-gradient(90deg, rgba(13, 18, 28, 0.94) 0%, rgba(13, 18, 28, 0.86) 42%, rgba(13, 18, 28, 0.58) 66%, rgba(13, 18, 28, 0.22) 86%, rgba(13, 18, 28, 0.04) 100%),
    url('/assets/images/alliances/eav.webp');
  background-image:
    linear-gradient(90deg, rgba(13, 18, 28, 0.94) 0%, rgba(13, 18, 28, 0.86) 42%, rgba(13, 18, 28, 0.58) 66%, rgba(13, 18, 28, 0.22) 86%, rgba(13, 18, 28, 0.04) 100%),
    image-set(url('/assets/images/alliances/eav.avif') type('image/avif'), url('/assets/images/alliances/eav.webp') type('image/webp'));
}

.alliance-metropole {
  background-image:
    linear-gradient(90deg, rgba(13, 18, 28, 0.94) 0%, rgba(13, 18, 28, 0.86) 42%, rgba(13, 18, 28, 0.6) 66%, rgba(13, 18, 28, 0.24) 86%, rgba(13, 18, 28, 0.04) 100%),
    url('/assets/images/alliances/metropole.webp');
  background-image:
    linear-gradient(90deg, rgba(13, 18, 28, 0.94) 0%, rgba(13, 18, 28, 0.86) 42%, rgba(13, 18, 28, 0.6) 66%, rgba(13, 18, 28, 0.24) 86%, rgba(13, 18, 28, 0.04) 100%),
    image-set(url('/assets/images/alliances/metropole.avif') type('image/avif'), url('/assets/images/alliances/metropole.webp') type('image/webp'));
}

.alliance-intrus {
  background-image:
    linear-gradient(90deg, rgba(13, 18, 28, 0.94) 0%, rgba(13, 18, 28, 0.86) 42%, rgba(13, 18, 28, 0.58) 66%, rgba(13, 18, 28, 0.22) 86%, rgba(13, 18, 28, 0.03) 100%),
    url('/assets/images/alliances/intrus.webp');
  background-image:
    linear-gradient(90deg, rgba(13, 18, 28, 0.94) 0%, rgba(13, 18, 28, 0.86) 42%, rgba(13, 18, 28, 0.58) 66%, rgba(13, 18, 28, 0.22) 86%, rgba(13, 18, 28, 0.03) 100%),
    image-set(url('/assets/images/alliances/intrus.avif') type('image/avif'), url('/assets/images/alliances/intrus.webp') type('image/webp'));
}

.alliance-m360 {
  background-image:
    linear-gradient(90deg, rgba(13, 18, 28, 0.94) 0%, rgba(13, 18, 28, 0.86) 42%, rgba(13, 18, 28, 0.6) 66%, rgba(13, 18, 28, 0.24) 86%, rgba(13, 18, 28, 0.03) 100%),
    url('/assets/images/alliances/m360.webp');
  background-image:
    linear-gradient(90deg, rgba(13, 18, 28, 0.94) 0%, rgba(13, 18, 28, 0.86) 42%, rgba(13, 18, 28, 0.6) 66%, rgba(13, 18, 28, 0.24) 86%, rgba(13, 18, 28, 0.03) 100%),
    image-set(url('/assets/images/alliances/m360.avif') type('image/avif'), url('/assets/images/alliances/m360.webp') type('image/webp'));
}

.alliance-lisabel {
  background-image:
    linear-gradient(90deg, rgba(13, 18, 28, 0.94) 0%, rgba(13, 18, 28, 0.84) 42%, rgba(13, 18, 28, 0.54) 66%, rgba(13, 18, 28, 0.18) 86%, rgba(13, 18, 28, 0.02) 100%),
    url('/assets/images/alliances/lisabel-bg.webp');
  background-image:
    linear-gradient(90deg, rgba(13, 18, 28, 0.94) 0%, rgba(13, 18, 28, 0.84) 42%, rgba(13, 18, 28, 0.54) 66%, rgba(13, 18, 28, 0.18) 86%, rgba(13, 18, 28, 0.02) 100%),
    image-set(url('/assets/images/alliances/lisabel-bg.avif') type('image/avif'), url('/assets/images/alliances/lisabel-bg.webp') type('image/webp'));
}

.alliance-salon {
  background-position: right center;
  background-image:
    linear-gradient(90deg, rgba(13, 18, 28, 0.94) 0%, rgba(13, 18, 28, 0.86) 42%, rgba(13, 18, 28, 0.58) 66%, rgba(13, 18, 28, 0.22) 86%, rgba(13, 18, 28, 0.04) 100%),
    url('/assets/images/partenaires/salon-executif-espace.webp');
  background-image:
    linear-gradient(90deg, rgba(13, 18, 28, 0.94) 0%, rgba(13, 18, 28, 0.86) 42%, rgba(13, 18, 28, 0.58) 66%, rgba(13, 18, 28, 0.22) 86%, rgba(13, 18, 28, 0.04) 100%),
    image-set(url('/assets/images/partenaires/salon-executif-espace.avif') type('image/avif'), url('/assets/images/partenaires/salon-executif-espace.webp') type('image/webp'));
}

.alliance-salon .implication-logo {
  background: rgba(13, 18, 28, 0.58);
}

.alliance-salon .implication-logo img {
  max-height: 58px;
}

@media (min-width: 880px) {
  .projects-grid {
      grid-template-columns: minmax(0, 1fr);
      gap: 2rem;
  }

  .implication-logo {
      position: absolute;
      top: 2rem;
      right: 2rem;
      z-index: 1;
      min-width: 150px;
      height: 66px;
      margin-bottom: 0;
      padding: 0.75rem 0.95rem;
      justify-content: center;
      background: rgba(255, 255, 255, 0.9);
      box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
  }

  .implication-logo img {
      max-height: 42px;
      max-width: 210px;
  }

  .implication-content h3 {
      font-size: 2rem;
  }

  .implication-entry {
      min-height: 440px;
  }
}

@media (max-width: 767px) {
  .implication-entry {
      min-height: 520px;
      background-position: center;
  }

  .implication-content {
      width: 100%;
      padding: 1.55rem;
      background: linear-gradient(180deg, rgba(13, 18, 28, 0.42) 0%, rgba(13, 18, 28, 0.86) 38%, #0d121c 100%);
  }

  .implication-logo {
      min-width: 132px;
      height: 62px;
      margin-bottom: 1.25rem;
      padding: 0.62rem 0.8rem;
  }

  .implication-entry .implication-logo img {
      max-height: 38px;
      max-width: 188px;
  }
}

@media (max-width: 360px) {
  /* On réduit les marges du conteneur global sur cette page si besoin */
  #implications-details .container {
      padding: 0 1rem;
  }
  /* On réduit encore le padding interne de la carte */
  .implication-entry {
      min-height: 540px;
  }
}

.card-tags-alt {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.card-tags-alt span {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(232, 230, 227, 0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 400;
    transition: color 0.4s ease, background-color 0.4s ease;
}

.implication-card-alt:hover .card-tags-alt span {
    background-color: rgba(229, 170, 68, 0.1);
    color: #b98b37;
}

.card-content-alt p {
    color: var(--white-alt);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: auto;
    transition: color 0.4s ease;
}

.implication-card-alt:hover .card-content-alt p {
    color: var(--muted-color);
}

/* --- Fondateur Profiles --- */
.fondateurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.fondateur-profile {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.fondateur-profile:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.fondateur-avatar {
    width: 180px; /* Taille de l'avatar */
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fondateur-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fondateur-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fondateur-info h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color-dark);
}

.fondateur-info h4 {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fondateur-info p {
    color: var(--muted-color);
    font-size: 1rem;
    line-height: 1.8;
}

.fondateur-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}

.fondateur-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--bg-color-dark); /* Fond sombre pour les icônes */
    color: var(--accent-color); /* Couleur de l'icône */
    font-size: 1.2rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.fondateur-links a:hover {
    background-color: var(--accent-color);
    color: var(--bg-color-dark);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  color: var(--text-color-light); /* Cette couleur n'est plus utilisée directement mais on la garde */
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent-color);
  color: var(--bg-color-dark); /* De même ici */
}

/* C'est ici que la magie opère ! */
.social-icon {
  display: block;
  width: 20px;
  height: 20px;
  background-color: #ffffff; /* La couleur de base de votre icône */
  transition: background-color 0.3s ease;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.icon-linkedin {
  -webkit-mask-image: url(/assets/images/linkedin.svg);
  mask-image: url(/assets/images/linkedin.svg);
}

.icon-facebook {
  -webkit-mask-image: url(/assets/images/facebook.svg);
  mask-image: url(/assets/images/facebook.svg);
}


.icon-web {
  -webkit-mask-image: url(/assets/images/globe.svg);
  mask-image: url(/assets/images/globe.svg);
}

.icon-instagram {
  -webkit-mask-image: url(/assets/images/instagram.svg);
  mask-image: url(/assets/images/instagram.svg);
}

/* Changement de couleur au survol */
.social-links a:hover .social-icon {
  background-color: var(--bg-color-dark); /* Devient noir au survol */
}
 
.philosophie-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--muted-color);
}

.intro-separator {
  width: 100px;
  height: 2px;
  background-color: var(--border-color);
  margin: 4rem auto;
}

/* --- CTA --- */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #0d121c 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(173, 216, 230, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .section-header h2 {
    color: var(--text-color-light);
}
.cta-section .section-header p {
    color: var(--white-alt);
}
.cta-section .section-header h2::after {
    background: var(--accent-color);
}

.cta-button {
    display: inline-block;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--bg-color-dark);
    background-color: var(--accent-color);
    padding: 1.2rem 3rem;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(229, 170, 68, 0.2);
    filter: brightness(1.1);
}

/* --- NOUVEAU FOOTER --- */
.main-footer {
    background-color: #0d121c; /* Dark blue from the gradient */
    color: var(--white-alt);
    padding: 80px 0 40px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h3 {
    font-family: var(--font-sans);
    font-weight: 500;
    color: var(--text-color-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--text-color-light);
    text-decoration: none;
    display: block;
    margin-bottom: 1.5rem;
}

.footer-column.about p {
    line-height: 1.8;
    max-width: 350px;
    margin-bottom: 2rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: var(--white-alt);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-color);
}

.footer-column.contact p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    color: var(--text-color-light);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--bg-color-dark);
}

.icon-facebook::before { content: ''; font-family: "Font Awesome 5 Brands"; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #8A91A0;
}

.footer-bottom-links a {
    color: #8A91A0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}


.map-container {
  width: 100%;
  /* Hauteur par défaut pour les mobiles. 400px est une bonne base. */
  height: 400px; 
  /* Couleur de fond sombre pour éviter un flash blanc pendant le chargement */
  background-color: #0d121c; 
}

#map-canvas {
  width: 100%;
  height: 100%;
}

/* --- Media Query pour les écrans plus larges (tablettes et ordinateurs) --- */
@media (min-width: 768px) {
  .map-container {
      /* On remet la hauteur originale pour les écrans plus grands */
      height: 500px; 
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-content {
      grid-template-columns: 1fr;
      text-align: center;
  }
  .hero-text {
      order: 2;
  }
  .animation-container {
      width: 300px;
      height: 300px;
  }
}
@media (max-width: 992px) {
  .references-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid {
      grid-template-columns: 1fr 1fr;
  }
  .footer-column.about {
      grid-column: 1 / -1;
  }
}
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .home-manifest-hero {
      min-height: 100vh;
      min-height: 100svh;
      padding: 7.5rem 0 5.75rem;
  }
  .home-manifest-title {
      font-size: clamp(2.25rem, 10.8vw, 3.55rem);
      line-height: 1.02;
  }
  .home-manifest-lede {
      font-size: 1rem;
      line-height: 1.75;
  }
  .home-manifest-actions {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.7rem;
  }
  .home-manifest-button {
      width: auto;
      min-width: 160px;
      max-width: 260px;
      padding: 0.72rem 1.45rem;
      font-size: 0.9rem;
  }
  .home-manifest-rail {
      display: none;
  }
  .home-scroll-cue {
      position: absolute;
      left: 50%;
      bottom: 1.45rem;
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      color: var(--text-color-light);
      text-decoration: none;
      transform: translateX(-50%);
      animation: home-scroll-cue-bob 2.3s ease-in-out infinite;
  }
  .hero-text h1 { text-align: center; }
  .hero-text p { text-align: center; max-width: 100%; }
  .partner-builder-inner {
      align-items: flex-start;
      flex-direction: column;
      gap: 1.2rem;
  }
  .partner-builder-logo {
      justify-content: flex-start;
      min-width: 0;
      padding: 0;
  }
  .partner-builder-logo img {
      width: 150px;
  }
  .footer-grid {
      grid-template-columns: 1fr;
      gap: 3rem;
  }
  .footer-bottom {
      flex-direction: column;
      gap: 1rem;
  }
  .footer-links { margin-top: 1rem; }
  .footer-links a { margin: 0 0.75rem; }
  .expertise-grid { grid-template-columns: 1fr; }

  /* Ajustement pour les profils sur mobile */
  .fondateurs-grid {
      grid-template-columns: 1fr;
  }
  .fondateur-profile {
      padding: 2rem;
  }
  .fondateur-avatar {
      width: 140px;
      height: 140px;
  }
}

@media (max-width: 420px) {
  .home-manifest-kicker {
      font-size: 0.68rem;
  }
  .home-manifest-title {
      font-size: 2.12rem;
  }
}

/* --- ... (tout votre CSS existant) ... --- */


/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}
.contact-card {
  background-color: var(--card-bg);
  padding: 2.5rem;
  box-shadow: 0 10px 30px var(--shadow-color);
  border-top: 4px solid var(--accent-color);
  text-align: center;
}
.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color-dark);
}
.contact-card p, .contact-card a {
  color: var(--muted-color);
  font-size: 1rem;
  line-height: 1.8;
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-card a:hover {
  color: var(--accent-color);
}

#contact-details {
  padding-bottom: 0;
}

.global-map-section {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #020a14;
}

.global-map-picture {
  display: block;
  width: 100%;
}

.global-map-picture img {
  display: block;
  width: 100%;
  height: auto;
}

/* Styles pour la nouvelle section de la carte */
#map-section {
  padding-top: 0; /* On enlève le padding du haut pour que ça suive la section des contacts */
}
.introcard{
  margin-top: 50px;
}

/* Le conteneur de la carte prendra toute la largeur après le conteneur du titre */
.map-container {
  width: 100%;
  height: 500px; /* Hauteur par défaut pour les grands écrans */
  background-color: #0d121c; 
}

#map-canvas {
width: 100%;
height: 100%;
}

@media (max-width: 768px) {
.map-container {
    height: 400px; /* Hauteur réduite pour les mobiles */
}
}

/* --- Breadcrumbs (Fil d'Ariane) --- */
.breadcrumb-container {
  padding: 1.5rem 0;
  background-color: var(--card-bg); /* Utilise un fond blanc pour se détacher du header */
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap; /* Pour une meilleure gestion sur mobile */
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
}

/* Style du séparateur '>' */
.breadcrumb-list li:not(:last-child)::after {
  content: '›';
  margin: 0 0.75rem;
  color: var(--muted-color);
  font-size: 1.2rem;
}

.breadcrumb-list a {
  color: var(--muted-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
  color: var(--accent-color);
}

/* Style pour la page actuelle (non cliquable) */
.breadcrumb-list li[aria-current="page"] {
  color: var(--text-color-dark);
  font-weight: 500;
}

/* Accès direct au contenu au clavier. */
.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10000;
  padding: 0.8rem 1.2rem;
  color: var(--text-color-dark);
  background: var(--card-bg);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }
.home-approach-copy, .home-expertise-list {
  max-width: 800px;
  margin: 1.5rem auto;
  line-height: 1.9;
}
.home-expertise-list { padding-left: 1.5rem; }
.home-expertise-list a { color: var(--text-color-dark); text-underline-offset: 0.2em; }
.home-expertise-list a:hover { color: var(--accent-color); }
.fondateur-avatar picture { display: block; width: 100%; height: 100%; }
