/* =========================================================
   RECUP CULTURE – Design System & Styles (Dark Mode Pop)
   Couleurs du logo : Vert (#77b841) & Bleu (#1e88e5)
   ========================================================= */

/* --- Variables CSS globales --- */
:root {
  /* Couleurs de marque du logo */
  --logo-green: #77b841;
  --logo-green-bright: #8ce44c;
  --logo-green-glow: rgba(119, 184, 65, 0.45);
  --logo-green-tint: rgba(119, 184, 65, 0.12);

  --logo-blue: #1e88e5;
  --logo-blue-bright: #38bdf8;
  --logo-blue-glow: rgba(30, 136, 229, 0.45);
  --logo-blue-tint: rgba(30, 136, 229, 0.12);

  --accent-amber: #f59e0b;
  --accent-red: #ef4444;

  /* Dégradés signature */
  --brand-gradient: linear-gradient(135deg, #77b841 0%, #1e88e5 100%);
  --brand-gradient-hover: linear-gradient(135deg, #8ce44c 0%, #38bdf8 100%);
  --green-gradient: linear-gradient(135deg, #77b841 0%, #43a047 100%);
  --blue-gradient: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%);

  /* Palette Sombre Moderne */
  --bg-root: #070b12;
  --bg-surface-1: #0b121e;
  --bg-surface-2: #0f1826;
  --bg-surface-card: rgba(15, 24, 38, 0.72);
  --bg-surface-card-hover: rgba(20, 32, 51, 0.9);
  --bg-surface-elevated: #152236;

  /* Bordures & Ombres */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.16);
  --border-green: rgba(119, 184, 65, 0.4);
  --border-blue: rgba(30, 136, 229, 0.4);

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-green-glow: 0 0 35px rgba(119, 184, 65, 0.35);
  --shadow-blue-glow: 0 0 35px rgba(30, 136, 229, 0.35);
  --shadow-brand-glow: 0 0 40px rgba(119, 184, 65, 0.3), 0 0 60px rgba(30, 136, 229, 0.25);

  /* Typographie & Textes */
  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Rayons */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 78px;
}

/* --- Thème Clair (Light Mode Pop & Harmonieux) --- */
[data-theme="light"] {
  /* Palette Claire Lumineuse */
  --bg-root: #f8fafc;
  --bg-surface-1: #ffffff;
  --bg-surface-2: #f1f5f9;
  --bg-surface-card: #ffffff;
  --bg-surface-card-hover: #f8fafc;
  --bg-surface-elevated: #ffffff;

  /* Typographie haute clarté */
  --text-white: #0f172a;       /* Slate 900 pour tous les titres */
  --text-primary: #1e293b;     /* Slate 800 */
  --text-secondary: #334155;   /* Slate 700 */
  --text-muted: #64748b;       /* Slate 500 */
  --text-dim: #94a3b8;         /* Slate 400 */

  /* Nuances du logo adaptées au fond clair pour contraste parfait */
  --logo-green-bright: #4e8c1e;
  --logo-green-glow: rgba(119, 184, 65, 0.25);
  --logo-green-tint: rgba(119, 184, 65, 0.1);

  --logo-blue-bright: #0284c7;
  --logo-blue-glow: rgba(30, 136, 229, 0.25);
  --logo-blue-tint: rgba(30, 136, 229, 0.1);

  /* Bordures fines & élégantes */
  --border-subtle: #e2e8f0;
  --border-highlight: #cbd5e1;
  --border-green: rgba(119, 184, 65, 0.45);
  --border-blue: rgba(30, 136, 229, 0.45);

  /* Ombres réalistes et diffuses */
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.1);
  --shadow-green-glow: 0 6px 25px rgba(119, 184, 65, 0.2);
  --shadow-blue-glow: 0 6px 25px rgba(30, 136, 229, 0.2);
  --shadow-brand-glow: 0 8px 30px rgba(119, 184, 65, 0.18), 0 8px 30px rgba(30, 136, 229, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-root);
  color-scheme: dark;
  transition: background-color 0.3s ease, color 0.3s ease;
}

html[data-theme="light"] {
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  color: var(--text-secondary);
  background-color: var(--bg-root);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

/* =========================================================
   Typographie
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-white);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  line-height: 1.7;
}

.highlight-green {
  color: var(--logo-green-bright);
  text-shadow: 0 0 20px var(--logo-green-glow);
}

.highlight-blue {
  color: var(--logo-blue-bright);
  text-shadow: 0 0 20px var(--logo-blue-glow);
}

/* =========================================================
   Container & Sections
   ========================================================= */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 110px 0;
  position: relative;
  background-color: var(--bg-surface-1);
}

.section-alt {
  background-color: var(--bg-surface-2);
}

.section-dark {
  background: linear-gradient(180deg, var(--bg-root) 0%, #060910 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  margin: 14px 0 16px;
  color: var(--text-white);
}

.section-header p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(119, 184, 65, 0.12);
  color: var(--logo-green-bright);
  border: 1px solid rgba(119, 184, 65, 0.35);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 18px rgba(119, 184, 65, 0.15);
}

.section-tag.blue {
  background: rgba(30, 136, 229, 0.12);
  color: var(--logo-blue-bright);
  border-color: rgba(30, 136, 229, 0.35);
  box-shadow: 0 0 18px rgba(30, 136, 229, 0.15);
}

/* =========================================================
   Boutons
   ========================================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--brand-gradient);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 25px rgba(119, 184, 65, 0.35), 0 2px 10px rgba(30, 136, 229, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(119, 184, 65, 0.5), 0 4px 18px rgba(30, 136, 229, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-highlight);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--logo-blue-bright);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 136, 229, 0.25);
}

.btn-full {
  width: 100%;
}

/* =========================================================
   NAVIGATION (Navbar Dark Glass)
   ========================================================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  background: rgba(7, 11, 18, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

#navbar.scrolled {
  background: rgba(7, 11, 18, 0.94);
  border-bottom: 1px solid var(--border-highlight);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.03);
}

/* Logo nettement plus grand dans la navbar */
.nav-logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: filter 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 16px var(--logo-green-glow)) drop-shadow(0 0 20px var(--logo-blue-glow));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links .nav-cta {
  background: var(--brand-gradient);
  color: var(--text-white) !important;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  margin-left: 10px;
  box-shadow: 0 4px 18px rgba(119, 184, 65, 0.3);
}

.nav-links .nav-cta:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(119, 184, 65, 0.45);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Bouton Sélecteur de Thème (Switch Fluide Clair / Sombre) */
.theme-toggle {
  position: relative;
  width: 66px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: rgba(15, 24, 38, 0.85);
  border: 1px solid var(--border-highlight);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  user-select: none;
}

.theme-toggle:hover {
  border-color: var(--logo-green-bright);
  box-shadow: 0 0 16px var(--logo-green-glow);
  transform: scale(1.04);
}

.theme-toggle:focus-visible {
  box-shadow: 0 0 0 3px var(--logo-green-glow);
}

.theme-toggle-track {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  position: relative;
  pointer-events: none;
}

.theme-icon-sun {
  font-size: 0.85rem;
  color: #94a3b8;
  transition: all 0.3s ease;
  z-index: 2;
  opacity: 0.5;
}

.theme-icon-moon {
  font-size: 0.85rem;
  color: #38bdf8;
  transition: all 0.3s ease;
  z-index: 2;
  opacity: 0.95;
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.8));
}

.theme-toggle-thumb {
  position: absolute;
  top: 50%;
  left: 2px;
  transform: translateY(-50%) translateX(32px);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%);
  box-shadow: 0 2px 8px rgba(30, 136, 229, 0.6);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

/* En Thème Clair : déplacement du curseur vers le soleil */
[data-theme="light"] .theme-toggle {
  background: #e2e8f0;
  border-color: #cbd5e1;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .theme-toggle:hover {
  border-color: var(--logo-green);
  box-shadow: 0 0 16px rgba(119, 184, 65, 0.25);
}

[data-theme="light"] .theme-toggle-thumb {
  transform: translateY(-50%) translateX(0px);
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.6);
}

[data-theme="light"] .theme-icon-sun {
  color: #ffffff;
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.8));
}

[data-theme="light"] .theme-icon-moon {
  color: #94a3b8;
  opacity: 0.55;
  filter: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* =========================================================
   HERO SECTION BOOSTÉE (Dark + Grand Logo + Glow)
   ========================================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + 50px) 0 80px;
  background: radial-gradient(ellipse 1200px 700px at 50% 20%, #0c1c2e 0%, var(--bg-root) 80%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Orbes lumineuses et dégradés ambiants */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 650px 500px at 20% 35%, rgba(119, 184, 65, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 700px 550px at 80% 45%, rgba(30, 136, 229, 0.25) 0%, transparent 70%),
    radial-gradient(circle 400px at 50% 70%, rgba(14, 165, 233, 0.15) 0%, transparent 60%);
  animation: heroPulse 10s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  0% { opacity: 0.75; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.06); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 1.5px at 15% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 85% 15%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
    radial-gradient(circle 1px at 45% 75%, rgba(255, 255, 255, 0.25) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 75% 80%, rgba(255, 255, 255, 0.18) 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px 24px;
  max-width: 960px;
  margin: 0 auto;
}

/* Badge supérieur */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 25, 40, 0.85);
  border: 1px solid rgba(119, 184, 65, 0.35);
  color: var(--text-white);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  animation: fadeInDown 0.8s ease both;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--logo-green-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--logo-green-bright);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(140, 228, 76, 0.7); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(140, 228, 76, 0); }
  100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(140, 228, 76, 0); }
}

/* Wrapper du logo central - VRAIMENT GRAND & AVEC HALO */
.hero-logo-wrapper {
  position: relative;
  display: inline-block;
  margin: 0 auto 36px;
  animation: floatHeroLogo 5s ease-in-out infinite alternate;
}

.hero-logo-halo {
  position: absolute;
  inset: -25px -40px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 50%, rgba(119, 184, 65, 0.45) 0%, transparent 65%),
              radial-gradient(ellipse at 65% 50%, rgba(30, 136, 229, 0.5) 0%, transparent 65%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.hero-logo {
  display: block;
  max-width: 440px;
  width: 90%;
  height: auto;
  max-height: 250px;
  margin: 0 auto;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6))
         drop-shadow(0 0 25px rgba(119, 184, 65, 0.25))
         drop-shadow(0 0 35px rgba(30, 136, 229, 0.3));
  transition: transform 0.4s ease;
}

.hero-logo-wrapper:hover .hero-logo {
  transform: scale(1.04);
}

@keyframes floatHeroLogo {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

.hero-title {
  color: var(--text-white);
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--text-white);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Barre de statistiques / métriques en bas de hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

.hero-stat-card {
  background: var(--bg-surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.hero-stat-card:hover {
  background: var(--bg-surface-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.hero-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hero-stat-icon.green {
  background: var(--logo-green-tint);
  color: var(--logo-green-bright);
  border: 1px solid rgba(119, 184, 65, 0.3);
  box-shadow: 0 0 16px rgba(119, 184, 65, 0.2);
}

.hero-stat-icon.blue {
  background: var(--logo-blue-tint);
  color: var(--logo-blue-bright);
  border: 1px solid rgba(30, 136, 229, 0.3);
  box-shadow: 0 0 16px rgba(30, 136, 229, 0.2);
}

.hero-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounceIndicator 2s ease-in-out infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2.5px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2.5px solid rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
}

@keyframes bounceIndicator {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Reveal Animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   MISSION SECTION (Dark Glass + Connexion Fléchée)
   ========================================================= */
.mission-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.mission-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: calc(16.67% + 30px);
  right: calc(16.67% + 30px);
  height: 2px;
  background: linear-gradient(90deg, var(--logo-green-bright), var(--logo-blue-bright));
  opacity: 0.4;
  z-index: 0;
}

.mission-step {
  text-align: center;
  position: relative;
  z-index: 1;
  background: var(--bg-surface-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  transition: var(--transition);
}

.mission-step:hover {
  background: var(--bg-surface-card-hover);
  border-color: var(--border-green);
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(119, 184, 65, 0.2);
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--text-white);
  position: relative;
  z-index: 1;
  transition: transform 0.3s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.mission-step:nth-child(1) .step-icon {
  background: var(--green-gradient);
  box-shadow: 0 8px 24px rgba(119, 184, 65, 0.4);
}

.mission-step:nth-child(2) .step-icon {
  background: var(--blue-gradient);
  box-shadow: 0 8px 24px rgba(30, 136, 229, 0.4);
}

.mission-step:nth-child(3) .step-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.mission-step:hover .step-icon {
  transform: scale(1.1);
}

.mission-step h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-white);
}

.mission-step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =========================================================
   COLLECT CARDS (Livres, CD, DVD, Jeux Vidéo)
   ========================================================= */
.collect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.collect-card {
  background: var(--bg-surface-card);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 38px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.collect-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.collect-card:hover {
  transform: translateY(-8px);
  background: var(--bg-surface-card-hover);
  border-color: var(--border-green);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(119, 184, 65, 0.2);
}

.collect-card:hover::before {
  opacity: 1;
}

.collect-icon {
  width: 76px;
  height: 76px;
  background: rgba(119, 184, 65, 0.12);
  border: 1px solid rgba(119, 184, 65, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 2rem;
  color: var(--logo-green-bright);
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(119, 184, 65, 0.15);
}

.collect-card:nth-child(even) .collect-icon {
  background: rgba(30, 136, 229, 0.12);
  border-color: rgba(30, 136, 229, 0.3);
  color: var(--logo-blue-bright);
  box-shadow: 0 0 20px rgba(30, 136, 229, 0.15);
}

.collect-card:hover .collect-icon {
  transform: scale(1.12);
}

.collect-card:nth-child(odd):hover .collect-icon {
  background: var(--green-gradient);
  color: var(--text-white);
  box-shadow: 0 0 25px rgba(119, 184, 65, 0.5);
}

.collect-card:nth-child(even):hover .collect-icon {
  background: var(--blue-gradient);
  color: var(--text-white);
  box-shadow: 0 0 25px rgba(30, 136, 229, 0.5);
}

.collect-card h3 {
  margin-bottom: 12px;
  color: var(--text-white);
  font-size: 1.25rem;
}

.collect-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* =========================================================
   IMPACT SECTION (Graphiques Circulaires Lumineux)
   ========================================================= */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.impact-card {
  background: var(--bg-surface-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  transition: var(--transition);
}

.impact-card:hover {
  background: var(--bg-surface-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.impact-ring {
  position: relative;
  width: 130px;
  height: 130px;
}

.impact-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-progress {
  transition: stroke-dashoffset 2s ease;
}

.impact-card:nth-child(1) .ring-progress {
  stroke: var(--logo-green-bright);
  filter: drop-shadow(0 0 8px rgba(140, 228, 76, 0.6));
}

.impact-card:nth-child(2) .ring-progress {
  stroke: var(--logo-blue-bright);
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
}

.impact-card:nth-child(3) .ring-progress {
  stroke: var(--accent-amber);
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
}

.impact-card:nth-child(4) .ring-progress {
  stroke: #a855f7;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6));
}

.impact-card:nth-child(5) .ring-progress {
  stroke: #ec4899;
  filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.6));
}

.impact-card:nth-child(6) .ring-progress {
  stroke: #14b8a6;
  filter: drop-shadow(0 0 8px rgba(20, 184, 166, 0.6));
}

.impact-ring .impact-percent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-white);
}

.impact-ring span:last-child {
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
}

.impact-info {
  text-align: center;
}

.impact-info i {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.impact-card:nth-child(1) .impact-info i { color: var(--logo-green-bright); }
.impact-card:nth-child(2) .impact-info i { color: var(--logo-blue-bright); }
.impact-card:nth-child(3) .impact-info i { color: var(--accent-amber); }

.impact-info h3 {
  color: var(--text-white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.impact-info p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* =========================================================
   MAP SECTION (Points de dépôt & Leaflet)
   ========================================================= */
.map-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: stretch;
}

.collect-map {
  min-height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-highlight);
  position: relative;
  z-index: 1;
}

.collect-points-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.point-card {
  background: var(--bg-surface-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  cursor: pointer;
  transition: var(--transition);
}

.point-card:hover, .point-card.active {
  background: var(--bg-surface-card-hover);
  border-color: var(--logo-green-bright);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(119, 184, 65, 0.25);
  transform: translateX(-4px);
}

.point-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 8px;
}

.point-card-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(119, 184, 65, 0.3);
}

.point-card h4 {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 2px;
}

.point-card .point-address {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.point-card .point-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
}

.point-card .point-hours {
  font-size: 0.82rem;
  color: var(--logo-green-bright);
  margin-top: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Customisation popup Leaflet */
.leaflet-popup-content-wrapper {
  background: #0f1826 !important;
  color: #f1f5f9 !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(30, 136, 229, 0.3) !important;
  border: 1px solid var(--border-highlight) !important;
}

.leaflet-popup-tip {
  background: #0f1826 !important;
}

.leaflet-popup-content h4 {
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: 1.05rem !important;
  margin-bottom: 4px !important;
}

.leaflet-popup-content p {
  color: #cbd5e1 !important;
  font-size: 0.85rem !important;
  margin: 4px 0 !important;
}

/* =========================================================
   BOUTIQUE SECTION (La Halle aux Artistes)
   ========================================================= */
.boutique-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.boutique-content h2 {
  margin-bottom: 20px;
}

.boutique-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.boutique-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.boutique-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  background: var(--bg-surface-card);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.boutique-info-item:hover {
  background: var(--bg-surface-card-hover);
  border-color: var(--border-green);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.boutique-info-item i {
  font-size: 1.4rem;
  color: var(--logo-green-bright);
  margin-top: 2px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px var(--logo-green-glow));
}

.boutique-info-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.boutique-info-item span {
  color: var(--text-white);
  font-size: 0.98rem;
}

.boutique-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.boutique-card-visual {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #123d24 0%, #112d4e 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-white);
  box-shadow: var(--shadow-lg), 0 0 45px rgba(30, 136, 229, 0.25);
  position: relative;
  overflow: hidden;
}

.boutique-card-visual::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(140, 228, 76, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.boutique-card-visual::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.boutique-card-visual i {
  font-size: 4rem;
  color: var(--logo-green-bright);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px var(--logo-green-glow));
}

.boutique-card-visual p {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.boutique-card-visual span {
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

/* =========================================================
   ESAT SECTION (Économie circulaire & Inclusive)
   ========================================================= */
/* =========================================================
   ESAT SECTION (Économie circulaire & Inclusive)
   ========================================================= */
.section-esat {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(15, 76, 129, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(46, 125, 50, 0.1) 0%, transparent 50%);
}

.nav-link-esat {
  color: var(--logo-green-bright) !important;
  font-weight: 600;
}

/* Spotlight Hero Card ESAT */
.esat-hero-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  background: var(--bg-surface-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 44px;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(30, 136, 229, 0.15);
  align-items: center;
}

.esat-hero-media {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.esat-photo-fallback {
  background: linear-gradient(135deg, #0e2a47 0%, #103b29 100%);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-white);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
}

.esat-fallback-icon {
  width: 72px;
  height: 72px;
  background: var(--brand-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto 16px;
  box-shadow: 0 0 25px rgba(119, 184, 65, 0.4);
}

.esat-photo-fallback h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: var(--text-white);
}

.esat-photo-fallback p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.esat-fallback-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(119, 184, 65, 0.2);
  border: 1px solid rgba(119, 184, 65, 0.4);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--logo-green-bright);
  font-weight: 500;
}

.esat-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 340px;
}

.esat-photo-frame img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.esat-photo-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 12px 18px;
  background: linear-gradient(to top, rgba(10, 18, 30, 0.92) 0%, transparent 100%);
  color: var(--text-white);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Partner Info */
.esat-partner-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.esat-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--logo-blue-tint);
  border: 1px solid rgba(30, 136, 229, 0.35);
  border-radius: var(--radius-pill);
  color: var(--logo-blue-bright);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: fit-content;
}

.esat-partner-info h3 {
  font-size: 1.6rem;
  color: var(--text-white);
  line-height: 1.3;
}

.esat-partner-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.esat-pill-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.esat-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.esat-pill i {
  color: var(--logo-green-bright);
  font-size: 1rem;
}

.esat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.esat-card {
  background: var(--bg-surface-card);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 38px 28px;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.esat-card:hover {
  transform: translateY(-6px);
  background: var(--bg-surface-card-hover);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(30, 136, 229, 0.2);
}

.esat-icon {
  width: 60px;
  height: 60px;
  background: var(--logo-blue-tint);
  border: 1px solid rgba(30, 136, 229, 0.35);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--logo-blue-bright);
  margin-bottom: 22px;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(30, 136, 229, 0.2);
}

.esat-card:hover .esat-icon {
  background: var(--blue-gradient);
  color: var(--text-white);
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(30, 136, 229, 0.5);
}

.esat-card h3 {
  margin-bottom: 12px;
  color: var(--text-white);
  font-size: 1.25rem;
}

.esat-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* Callout Join Banner */
.esat-join-banner {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.25) 0%, rgba(46, 125, 50, 0.2) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.esat-join-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.esat-join-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.esat-join-content h4 {
  color: var(--text-white);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.esat-join-content p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin: 0;
}

@media (max-width: 860px) {
  .esat-hero-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .esat-grid {
    grid-template-columns: 1fr;
  }
  .esat-join-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
}

/* =========================================================
   ACTUALITÉS SECTION
   ========================================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--bg-surface-card);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  background: var(--bg-surface-card-hover);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lg);
}

.news-card-header {
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.news-badge {
  font-size: 0.76rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.news-badge.boutique {
  background: var(--logo-green-tint);
  color: var(--logo-green-bright);
  border: 1px solid rgba(119, 184, 65, 0.3);
}

.news-badge.evenement {
  background: var(--logo-blue-tint);
  color: var(--logo-blue-bright);
  border: 1px solid rgba(30, 136, 229, 0.3);
}

.news-badge.actualite {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.news-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.news-card-body {
  padding: 0 24px 26px;
  flex: 1;
}

.news-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-white);
  line-height: 1.4;
}

.news-card-body .news-excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.news-empty i {
  font-size: 3.2rem;
  margin-bottom: 16px;
  display: block;
  color: var(--text-dim);
}

/* =========================================================
   ÉQUIPE SECTION
   ========================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg-surface-card);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 42px 32px;
  text-align: center;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  background: var(--bg-surface-card-hover);
  border-color: var(--border-green);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(119, 184, 65, 0.2);
}

.team-avatar {
  width: 96px;
  height: 96px;
  background: var(--brand-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 2.2rem;
  color: var(--text-white);
  box-shadow: 0 8px 26px rgba(119, 184, 65, 0.35);
  overflow: hidden;
  position: relative;
  border: 3px solid rgba(119, 184, 65, 0.4);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card h3 {
  margin-bottom: 6px;
  color: var(--text-white);
  font-size: 1.35rem;
}

.team-role {
  display: inline-block;
  font-size: 0.84rem;
  color: var(--logo-green-bright);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.team-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* =========================================================
   PHOTOS D'ILLUSTRATION DU SITE (ESAT, BOUTIQUE, NEWS)
   ========================================================= */
.esat-showcase-banner {
  margin-bottom: 36px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-card);
  box-shadow: var(--shadow-md);
  position: relative;
  max-height: 380px;
}

.esat-showcase-banner img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.esat-showcase-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 16px 24px;
  background: linear-gradient(to top, rgba(10, 18, 30, 0.92) 0%, rgba(10, 18, 30, 0.4) 65%, transparent 100%);
  color: var(--text-white);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.boutique-photo-wrapper {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-highlight);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(30, 136, 229, 0.2);
  position: relative;
}

.boutique-photo-wrapper img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.news-card-media {
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.news-card:hover .news-card-media img {
  transform: scale(1.05);
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-social {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  transition: var(--transition);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-card);
}

.social-link i {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-white);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--bg-surface-card-hover);
  color: var(--text-white);
  border-color: var(--border-blue);
  transform: translateX(4px);
}

.social-link:hover i {
  background: var(--blue-gradient);
  box-shadow: 0 0 16px rgba(30, 136, 229, 0.5);
}

.contact-form {
  background: var(--bg-surface-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(11, 18, 30, 0.85);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--logo-green-bright);
  background: rgba(14, 23, 38, 0.95);
  box-shadow: 0 0 0 3px rgba(119, 184, 65, 0.25);
}

.form-group select option {
  background: #0d1624;
  color: var(--text-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 20px;
  background: rgba(119, 184, 65, 0.15);
  border: 1px solid rgba(119, 184, 65, 0.4);
  border-radius: var(--radius-sm);
  color: var(--logo-green-bright);
  font-size: 0.92rem;
}

.form-success.show {
  display: flex;
}

.form-success i {
  font-size: 1.3rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #04070c;
  color: var(--text-muted);
  padding: 70px 0 32px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--logo-green-bright), var(--logo-blue-bright), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 300px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--logo-green-bright);
}

.footer-social {
  display: flex;
  flex-direction: column;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 8px 0;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--logo-blue-bright);
}

.footer-social i {
  width: 18px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* =========================================================
   RÈGLES SPÉCIFIQUES AU THÈME CLAIR (Light Mode)
   Harmonie exacte avec le Dark Mode : Vert (#77b841) & Bleu (#1e88e5)
   ========================================================= */

/* Typographie & accents */
[data-theme="light"] .highlight-green {
  color: #4e8c1e;
  text-shadow: none;
}

[data-theme="light"] .highlight-blue {
  color: #0284c7;
  text-shadow: none;
}

[data-theme="light"] .section-tag {
  background: rgba(119, 184, 65, 0.1);
  color: #4e8c1e;
  border-color: rgba(119, 184, 65, 0.35);
  box-shadow: 0 0 14px rgba(119, 184, 65, 0.1);
}

[data-theme="light"] .section-tag.blue {
  background: rgba(30, 136, 229, 0.1);
  color: #0284c7;
  border-color: rgba(30, 136, 229, 0.35);
  box-shadow: 0 0 14px rgba(30, 136, 229, 0.1);
}

/* Bouton secondaire */
[data-theme="light"] .btn-secondary {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--logo-blue-bright);
  color: var(--logo-blue-bright);
  box-shadow: 0 6px 20px rgba(30, 136, 229, 0.16);
}

/* Navigation principale */
[data-theme="light"] #navbar {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] #navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #cbd5e1;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .nav-links a {
  color: #334155;
}

[data-theme="light"] .nav-links a:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.05);
}

/* Hero section */
[data-theme="light"] #hero {
  background: radial-gradient(ellipse 1200px 700px at 50% 15%, #e0f2fe 0%, #f0fdf4 35%, var(--bg-root) 85%);
}

[data-theme="light"] .hero-bg::before {
  opacity: 0.6;
}

[data-theme="light"] .hero-bg::after {
  background-image:
    radial-gradient(circle 1.5px at 15% 20%, rgba(15, 23, 42, 0.06) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 85% 15%, rgba(15, 23, 42, 0.06) 0%, transparent 100%),
    radial-gradient(circle 1px at 45% 75%, rgba(15, 23, 42, 0.06) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 75% 80%, rgba(15, 23, 42, 0.06) 0%, transparent 100%);
}

[data-theme="light"] .hero-badge {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(119, 184, 65, 0.35);
  color: #0f172a;
  box-shadow: 0 4px 18px rgba(119, 184, 65, 0.12);
}

[data-theme="light"] .hero-title {
  color: #0f172a;
  text-shadow: none;
}

[data-theme="light"] .hero-subtitle strong {
  color: #0f172a;
}

[data-theme="light"] .hero-logo {
  filter: drop-shadow(0 12px 30px rgba(15, 23, 42, 0.1))
         drop-shadow(0 0 25px rgba(119, 184, 65, 0.2))
         drop-shadow(0 0 35px rgba(30, 136, 229, 0.2));
}

[data-theme="light"] .hero-stat-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .hero-stat-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .hero-stat-icon.green {
  background: rgba(119, 184, 65, 0.12);
  color: #4e8c1e;
  border-color: rgba(119, 184, 65, 0.3);
}

[data-theme="light"] .hero-stat-icon.blue {
  background: rgba(30, 136, 229, 0.12);
  color: #0284c7;
  border-color: rgba(30, 136, 229, 0.3);
}

[data-theme="light"] .scroll-arrow {
  border-right-color: rgba(15, 23, 42, 0.4);
  border-bottom-color: rgba(15, 23, 42, 0.4);
}

/* Sections sombres converties en sections élégantes */
[data-theme="light"] .section-dark {
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f6 100%);
}

/* Impact Rings */
.impact-unit {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  transition: color 0.3s ease;
}

.ring-bg {
  stroke: rgba(255, 255, 255, 0.1);
  transition: stroke 0.3s ease;
}

[data-theme="light"] .ring-bg {
  stroke: #e2e8f0;
}

/* Points de collecte */
[data-theme="light"] .point-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .point-card:hover,
[data-theme="light"] .point-card.active {
  background: #ffffff;
  border-color: #4e8c1e;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08), 0 0 20px rgba(119, 184, 65, 0.15);
}

[data-theme="light"] .point-card .point-hours {
  color: #4e8c1e;
}

/* Popup Leaflet en mode clair */
[data-theme="light"] .leaflet-popup-content-wrapper {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12), 0 0 20px rgba(30, 136, 229, 0.15) !important;
}

[data-theme="light"] .leaflet-popup-tip {
  background: #ffffff !important;
}

[data-theme="light"] .leaflet-popup-content h4 {
  color: #0f172a !important;
}

[data-theme="light"] .leaflet-popup-content p {
  color: #475569 !important;
}

/* Formulaire de contact */
[data-theme="light"] .contact-form {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 15px 45px rgba(15, 23, 42, 0.07);
}

[data-theme="light"] .form-group label {
  color: #0f172a;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
  color: #94a3b8;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
  border-color: #4e8c1e;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(119, 184, 65, 0.2);
}

[data-theme="light"] .form-group select option {
  background: #ffffff;
  color: #0f172a;
}

/* Footer soigné en mode clair */
[data-theme="light"] .footer {
  background: #f1f5f9;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
}

[data-theme="light"] .footer::before {
  background: linear-gradient(90deg, transparent, var(--logo-green-bright), var(--logo-blue-bright), transparent);
}

[data-theme="light"] .footer-brand p {
  color: #475569;
}

[data-theme="light"] .footer-links h4,
[data-theme="light"] .footer-social h4 {
  color: #0f172a;
}

[data-theme="light"] .footer-links a {
  color: #64748b;
}

[data-theme="light"] .footer-links a:hover {
  color: #4e8c1e;
}

[data-theme="light"] .footer-social a {
  color: #64748b;
}

[data-theme="light"] .footer-social a:hover {
  color: #0284c7;
}

[data-theme="light"] .footer-bottom {
  border-top-color: #e2e8f0;
  color: #94a3b8;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .collect-grid { grid-template-columns: repeat(2, 1fr); }
  .map-layout { grid-template-columns: 1fr; }
  .collect-map { min-height: 400px; }
  .boutique-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .mission-steps::before { display: none; }
  .hero-stats { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  .section { padding: 76px 0; }

  .nav-logo-img { height: 46px; }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--nav-height) + 8px);
    left: 14px;
    right: 14px;
    background: var(--bg-surface-1); /* Fond 100% opaque adapté au thème */
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px var(--logo-green-tint);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 4px;
    padding: 16px 14px;
    z-index: 1000;
  }
  .nav-links.open {
    display: flex;
    animation: mobileMenuDrop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  @keyframes mobileMenuDrop {
    from { opacity: 0; transform: translateY(-10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  .nav-links a {
    font-size: 1.05rem;
    padding: 12px 18px;
    color: var(--text-white) !important;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
  }
  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--logo-green-bright) !important;
  }
  .nav-links .nav-cta {
    margin-left: 0;
    margin-top: 10px;
    text-align: center;
    justify-content: center;
  }
  .nav-toggle { display: flex; }

  [data-theme="light"] .nav-links {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14), 0 0 30px rgba(119, 184, 65, 0.1);
  }
  [data-theme="light"] .nav-links a {
    color: #0f172a !important;
  }
  [data-theme="light"] .nav-links a:hover,
  [data-theme="light"] .nav-links a.active {
    background: rgba(119, 184, 65, 0.08);
    color: #4e8c1e !important;
  }
  [data-theme="light"] .nav-toggle span {
    background: #0f172a;
  }

  .mission-steps { grid-template-columns: 1fr; gap: 24px; }
  .impact-grid { grid-template-columns: 1fr; gap: 24px; }
  .esat-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 420px; }
  .footer-content { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }

  .hero-logo { max-width: 320px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .collect-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}
