@charset "UTF-8";
:root {
  --primary: #2c5f7d;
  --primary-light: #4a8db8;
  --primary-dark: #1f4459;
  --secondary: #3a7a9f;
  --secondary-light: #5ba3d0;
  --accent: #d4af37;
  --accent-light: #e5c965;
  --bg-white: #ffffff;
  --bg-light: #f7fafc;
  --bg-lighter: #edf2f7;
  --bg-cream: #e8f4f8;
  --text-dark: #2d3748;
  --text-medium: #4a5568;
  --text-light: #718096;
  --shadow-sm: 0 2px 8px rgba(44,95,125,.08);
  --shadow-md: 0 4px 16px rgba(44,95,125,.12);
  --shadow-lg: 0 8px 32px rgba(44,95,125,.16);
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  padding-top: 60px;
}

.section-header {
  text-align: center;
  margin: 60px 0;
}
.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
}

.underline {
  width: 80px;
  height: 4px;
  margin: 16px auto;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.lead {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-medium);
  max-width: 900px;
  margin: 0 auto 64px;
  text-align: center;
}

/* ========================================
   📱 NAVBAR - STRUCTURE PRINCIPALE
======================================== */
/* ========================================
   🍔  MENU BURGER - BOUTON
======================================== */
.menu-toggle {
  display: none; /* Caché par défaut sur desktop */
  position: fixed;
  top: 20px;
  right: 10px;
  z-index: 99999;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: #fff6d5;
  border: 2px solid #000;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animation du burger en X */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(47deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR FIXE AVEC TRANSITION
   ═══════════════════════════════════════════════════════════ */
nav,
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background-color: #fef9de;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

nav.scrolled,
.navbar.scrolled {
  background-color: transparent;
  box-shadow: none;
  padding: 10px 0;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Ajuster les éléments de la navbar au scroll */
nav.scrolled .logo, .navbar.scrolled .logo {
  transform: scale(1.25); /* Logo plus petit */
  transition: transform 0.3s ease;
}

nav.scrolled .nav-links a, .navbar.scrolled .nav-links a {
  padding: 8px 15px; /* Liens plus compacts */
  transition: padding 0.3s ease;
}

/* ========================================
   🔗 NAVBAR - LISTE DE NAVIGATION
======================================== */
.navbar-nav {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-left: 200px;
  padding-right: 200px;
}

.navbar-fixed-top {
  margin-left: -51px;
}

.navbar-nav > li {
  position: relative;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
  z-index: 1;
}

/* ========================================
   🔗 LIENS DE NAVIGATION
======================================== */
.navbar a {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  text-decoration: none;
  color: #000;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
  display: inline-block; /* Important pour la transformation */
}

.navbar a:hover {
  transform: scale(1.1); /* Agrandit de 10% */
  opacity: 0.5;
}

/* ========================================
   📂 MENU DROPDOWN - ANNUAIRE
======================================== */
/* Conteneur du dropdown */
.nav-item.dropdown {
  position: relative;
}

/* Lien principal avec flèche */
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.dropdown-toggle .arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

/* Rotation de la flèche au survol */
.nav-item.dropdown:hover .arrow {
  transform: rotate(180deg);
}

/* Menu déroulant caché par défaut */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 143%;
  transform: translateX(-50%);
  min-width: 250px;
  margin-top: 10px;
  padding: 10px 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

/* Affichage au survol */
.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Items du dropdown */
.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 14px;
}

.dropdown-menu li a:hover {
  background: #f0f0f0;
  color: #a67c52;
  padding-left: 25px;
}

/* Séparateur */
.dropdown-menu .divider {
  height: 1px;
  margin: 8px 0;
  background: #e0e0e0;
}

/* ========================================
   🖼️ LOGO
======================================== */
.logo-navbar {
  width: 100px; /* ajuste la taille */
  height: auto; /* conserve les proportions */
  display: block; /* enlève l'espace baseline */
  margin-top: 5px;
}

.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  color: var(--primary);
  background: white;
}

.btn-primary:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--accent);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.button-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 24px;
}

/* ═══════════════════════════════════════════════════════════
   3️⃣ QUI SOMMES-NOUS
   ═══════════════════════════════════════════════════════════ */
.about-us {
  background: white;
  padding-bottom: 50px;
}

.section-header h1 {
  font-size: 2.5rem;
  font-weight: 750;
  color: var(--primary-dark);
}

.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-text {
  font-size: 1.125rem;
  color: var(--text-medium);
  margin-bottom: 32px;
  line-height: 1.8;
}

.checklist {
  list-style: none;
  margin-bottom: 40px;
}

.checklist li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 12px;
  transition: var(--transition);
}

.checklist li:hover {
  background: var(--bg-lighter);
  transform: translateX(8px);
}

.check-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.checklist strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.checklist p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 10px;
}

.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(44, 95, 125, 0.95), transparent);
  padding: 32px;
  color: white;
}

.overlay-content {
  display: flex;
  flex-direction: column;
}

.overlay-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.overlay-text {
  font-size: 1.125rem;
  opacity: 0.95;
}

/* ═══════════════════════════════════════════════════════════
   4️⃣ NOS MISSIONS
   ═══════════════════════════════════════════════════════════ */
.missions {
  background: var(--bg-light);
  padding: 80px 20px;
}

.mission-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.mission-card {
  background: white;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border-top: 4px solid transparent;
}

.mission-card:nth-child(1) {
  display: none;
}

.mission-card:nth-child(2) {
  border-top-color: #48bb78;
}

.mission-card:nth-child(3) {
  border-top-color: #ed8936;
}

.mission-card:nth-child(4) {
  display: none;
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.mission-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--bg-light), var(--bg-lighter));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 2.5rem;
}

.mission-card h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.mission-card p {
  color: var(--text-medium);
  flex-grow: 1;
  margin-bottom: 24px;
  line-height: 1.7;
}

.card-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.card-link:hover {
  color: var(--primary-dark);
  padding-left: 8px;
}

/* ========================================
   👥 SECTION NOTRE ÉQUIPE
======================================== */
.equipe-section {
  padding: 50px 20px;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 50px;
}

/* Grille des membres */
.equipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales */
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Carte membre */
.membre-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px 20px 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membre-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Photo du membre */
.membre-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #d4af37;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.membre-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Informations membre */
.membre-info {
  margin-top: 20px;
}

.membre-nom {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.membre-role {
  font-size: 15px;
  color: #666;
  font-style: italic;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════
   2️⃣ INTRO PSYCHOGÉNÉALOGIE
   ═══════════════════════════════════════════════════════════ */
.intro-psychogenealogy {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.stat-card {
  background: white;
  padding: 40px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.stat-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-medium);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════
    Arbre généalogique
   ═══════════════════════════════════════════════════════════ */
.arbre-gene {
  background: white;
}

.services-cards {
  padding: 100px 20px;
  background: #fff;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: linear-gradient(135deg, #fff 0%, #f8f5f1 100%);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #6a9e7f, #4a7c5e);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(106, 158, 127, 0.15);
}

.service-card .icon {
  font-size: 4rem;
  margin-bottom: 20px;
  filter: grayscale(20%);
}

.service-card h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-family: "Playfair Display", serif;
}

.service-card p {
  color: #5a6c7d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card a {
  color: #6a9e7f;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-card a:hover {
  color: #4a7c5e;
  padding-left: 5px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 3px;
  height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--accent), var(--accent-light)) !important;
}

.timeline-item {
  position: relative;
  margin: 50px 0;
  display: flex;
  align-items: center;
}

.timeline-marker {
  width: 20px;
  height: 20px;
  background: var(--accent-light);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 5px #fff, 0 0 0 8px var(--accent-light);
  z-index: 2;
}

.timeline-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(44, 95, 125, 0.3);
  border: 4px solid white;
}

.timeline-content {
  background: white;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  width: 45%;
}

.timeline-item:hover .timeline-content {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.timeline-content h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.timeline-content p {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 16px;
}

.timeline-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
  margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 55%;
}

.tag {
  background: white;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--primary);
}

.process-cta {
  text-align: center;
  margin-top: 64px;
  padding: 48px 32px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 20px;
  color: white;
  margin-bottom: 80px;
}

.process-cta p {
  font-size: 1.25rem;
  margin-bottom: 24px;
  font-weight: 500;
}

.process-cta .btn-primary {
  background: white;
  color: var(--primary);
}

.process-cta .btn-primary:hover {
  background: white;
  transform: scale(1.1);
}

/* ═══════════════════════════════════════════════════════════
   6️⃣ POUR QUI
   ═══════════════════════════════════════════════════════════ */
.target-audience {
  background: var(--bg-lighter);
  padding: 25px 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.audience-card:nth-child(1) {
  border-top-color: #48bb78;
}

.audience-card {
  background: white;
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.audience-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.audience-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--bg-light), var(--bg-lighter));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.emoji {
  font-size: 2.5rem;
}

.audience-card h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.audience-card > p {
  color: var(--text-medium);
  margin-bottom: 24px;
  line-height: 1.7;
}

.audience-list {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.audience-list li {
  color: var(--text-medium);
  margin-bottom: 12px;
  padding-left: 8px;
}

/* ═══════════════════════════════════════════════════════════
   📖 DÉFINITION
   ═══════════════════════════════════════════════════════════ */
.definition-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

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

.underline {
  width: 80px;
  height: 4px;
  margin: 1 auto;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-top: 16px;
}

.definition-content {
  max-width: 1000px;
  margin: 0 auto;
}

.definition-main {
  margin-bottom: 60px;
}

.definition-main p {
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.8;
}

.key-concepts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.concept-card {
  background: var(--bg-light);
  padding: 40px 32px;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.concept-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.concept-icon {
  font-size: 3.5rem;
  margin-bottom: 24px;
}

.concept-card h3 {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.concept-card p {
  color: var(--text-medium);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   📜 HISTOIRE
   ═══════════════════════════════════════════════════════════ */
.timeline-year {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

/* ═══════════════════════════════════════════════════════════
   🛠️ MÉTHODES
   ═══════════════════════════════════════════════════════════ */
.methods-section {
  padding: 100px 0;
  background-color: var(--bg-lighter);
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.method-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 40px;
  transition: var(--transition);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.method-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
  background: var(--bg-white);
}

.method-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.method-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.method-card h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.method-card > p {
  color: var(--text-medium);
  margin-bottom: 20px;
  line-height: 1.7;
}

.method-card ul {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.method-card ul li {
  color: var(--text-medium);
  padding-left: 28px;
  margin-bottom: 12px;
  position: relative;
}

.method-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.method-visual {
  background: white;
  padding: 24px;
  border-radius: 12px;
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.method-visual svg {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.method-badge,
.method-example {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 20px;
  font-size: 0.95rem;
  font-weight: 600;
}

.method-example {
  background: var(--bg-cream);
  color: var(--text-dark);
  font-style: italic;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════
   🌟 BIENFAITS
   ═══════════════════════════════════════════════════════════ */
.benefits-section {
  padding: 10px 0;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-cream) 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

.benefit-card {
  background: white;
  padding: 40px 32px;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  font-size: 3.5rem;
  margin-bottom: 24px;
}

.benefit-card h3 {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.benefit-card p {
  color: var(--text-medium);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   🔬 VALIDATION SCIENTIFIQUE
   ═══════════════════════════════════════════════════════════ */
.science-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.section-header-left {
  text-align: left;
  margin-bottom: 32px;
}

.section-header-left h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.section-header-left .underline {
  margin: 0;
}

.content-left > p {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 40px;
  line-height: 1.8;
}

.science-points {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.science-point {
  display: flex;
  gap: 20px;
  align-items: start;
}

.science-point-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.science-point h4 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.science-point p {
  color: var(--text-medium);
  line-height: 1.7;
}

.research-box {
  background: linear-gradient(135deg, var(--bg-light), var(--bg-cream));
  padding: 48px;
  border-radius: 20px;
  border: 2px solid var(--primary-light);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

.research-box h3 {
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.research-list {
  list-style: none;
  margin-bottom: 32px;
}

.research-list li {
  padding: 20px;
  margin-bottom: 16px;
  background: white;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.research-list li:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.research-list li strong {
  color: var(--primary);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 8px;
}

.research-cta {
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   ❓ FAQ
   ═══════════════════════════════════════════════════════════ */
.faq-section {
  background: linear-gradient(180deg, var(--bg-lighter) 0%, var(--bg-light) 100%);
  padding: 4rem 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  /* ✅ CORRECTION : Désactive l'alignement automatique des hauteurs */
  align-items: start;
  grid-auto-rows: auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  /* ✅ CORRECTION : Isole visuellement chaque FAQ */
  contain: layout style paint;
  isolation: isolate;
  height: auto;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 24px 32px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--bg-light);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-cream);
}

.faq-question h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.faq-toggle {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 300;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  /* ✅ CORRECTION : Ajoute l'opacité pour une animation plus fluide */
  transition: max-height 0.3s ease-out, opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  /* ✅ CORRECTION : Active l'opacité */
  transition: max-height 0.5s ease-in, opacity 0.4s ease;
  opacity: 1;
}

.faq-answer p {
  padding: 24px 32px;
  color: var(--text-medium);
  line-height: 1.8;
  border-top: 1px solid var(--bg-light);
}

.faq-answer strong {
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════
   🚀 CTA FINAL
   ═══════════════════════════════════════════════════════════ */
.cta-primary {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(135deg, #6a9e7f 0%, #4a7c5e 100%);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(106, 158, 127, 0.3);
  transition: all 0.4s ease;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(106, 158, 127, 0.4);
}

.cta-final {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--secondary));
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   HERO ANNUAIRE
   ═══════════════════════════════════════════════════════════ */
.hero-annuaire {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 50px 0 0px;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  color: var(--primary-dark);
}

.annuaire-description {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════════════
   SECTION FILTRES
   ═══════════════════════════════════════════════════════════ */
.filters-section {
  background: var(--bg-light);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
}

.filters-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Barre de recherche */
.search-bar {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.search-bar input {
  width: 100%;
  padding: 16px 60px 16px 20px;
  border: 2px solid var(--text-dark);
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-bar input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(114, 103, 215, 0.1);
}

.search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-50%) scale(1.05);
}

/* Grille de filtres */
.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.filter-select {
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: 12px;
  font-size: 0.95rem;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-select:hover, .filter-select:focus {
  border-color: var(--primary-color);
  outline: none;
}

.reset-filters {
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-dark);
}

.reset-filters:hover {
  background: var(--bg-light);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* ═══════════════════════════════════════════════════════════
   SECTION ANNUAIRE
   ═══════════════════════════════════════════════════════════ */
.annuaire-section {
  padding: 60px 0;
}

.results-count {
  text-align: center;
  margin-bottom: 40px;
}

.results-count p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.results-count span {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.3rem;
}

/* ═══════════════════════════════════════════════════════════
   GRILLE DE PROFESSIONNELS
   ═══════════════════════════════════════════════════════════ */
.professionals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

/* ═══════════════════════════════════════════════════════════
   CARTE PROFESSIONNEL
   ═══════════════════════════════════════════════════════════ */
.pro-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pro-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Header de la carte */
.pro-card-header {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
  padding: 30px 20px 20px;
  position: relative;
  text-align: center;
}

.pro-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 4px solid white;
  box-shadow: var(--shadow-md);
}

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

.pro-badge {
  display: inline-block;
  background: var(--success-color);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Corps de la carte */
.pro-card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pro-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.pro-title {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.pro-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pro-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.pro-info-item svg {
  flex-shrink: 0;
  stroke: var(--primary-color);
}

.pro-specialites {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.pro-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Footer de la carte */
.pro-card-footer {
  padding: 20px 25px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 10px;
}

.btn-contact {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-profile {
  flex: 1;
}

/* ═══════════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.pagination-btn {
  width: 44px;
  height: 44px;
  border: 2px solid var(--border-light);
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: var(--text-dark);
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.pagination-btn.active {
  background: var(--primary-color);
  color: var(--accent);
  border-color: var(--primary-color);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════
   CTA ANNUAIRE
   ═══════════════════════════════════════════════════════════ */
.cta-annuaire {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--primary);
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   PAGINATION - ELLIPSES
   ═══════════════════════════════════════════════════════════ */
.pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text-secondary);
  font-weight: 600;
  user-select: none;
}

/* Animation des boutons de pagination */
.pagination-btn {
  position: relative;
  overflow: hidden;
}

.pagination-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(114, 103, 215, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.pagination-btn:hover::before {
  width: 100%;
  height: 100%;
}

.pagination-btn.active::before {
  width: 100%;
  height: 100%;
  background: transparent;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero-events {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-events::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  color: white;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--primary-dark);
  max-width: 600px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   FILTRES
   ═══════════════════════════════════════════════════════════ */
.filters-section {
  background: white;
  padding: 30px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 70px;
  z-index: 100;
}

.filters-wrapper {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 28px;
  border: 2px solid #e0e0e0;
  background: white;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: #667eea;
  color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.filter-btn.active {
  background: var(--primary);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* ═══════════════════════════════════════════════════════════
   LISTE DES ÉVÈNEMENTS
   ═══════════════════════════════════════════════════════════ */
.events-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 30px;
}

/* === MESSAGE AUCUN RÉSULTAT === */
.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  margin: 40px auto;
  max-width: 500px;
}

.no-results svg {
  color: var(--primary, #007bff);
  margin-bottom: 24px;
  opacity: 0.8;
  animation: fadeIn 0.5s ease-in-out;
}

.no-results h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color, #333);
  margin-bottom: 12px;
}

.no-results p {
  font-size: 1rem;
  color: var(--text-muted, #666);
  line-height: 1.6;
  margin: 0;
}

/* Animation d'apparition */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 0.8;
    transform: translateY(0);
  }
}
/* ═══════════════════════════════════════════════════════════
   CARTE ÉVÈNEMENT
   ═══════════════════════════════════════════════════════════ */
.event-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  opacity: 1;
  transform: scale(1);
}

.event-card.hide {
  opacity: 0;
  transform: scale(0.9);
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Badge catégorie */
.event-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.badge-conference {
  background: var(--accent);
  color: white;
}

.badge-formation {
  background: var(--primary-light);
  color: white;
}

.badge-atelier {
  background: rgba(16, 185, 129, 0.95);
  color: white;
}

.badge-webinaire {
  background: rgba(245, 158, 11, 0.95);
  color: white;
}

/* Image */
.event-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.1);
}

.event-overlay {
  position: absolute;
  bottom: 15px;
  left: 15px;
}

.event-status {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.event-status.available {
  background: rgba(16, 185, 129, 0.95);
  color: white;
}

.event-status.limited {
  background: rgba(245, 158, 11, 0.95);
  color: white;
}

.event-status.full {
  background: rgba(239, 68, 68, 0.95);
  color: white;
}

/* Contenu */
.event-content {
  display: flex;
  gap: 20px;
  padding: 25px;
}

/* Date */
.event-date {
  flex-shrink: 0;
  text-align: center;
  padding: 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  color: white;
  min-width: 70px;
  height: fit-content;
}

.date-day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
}

.date-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.date-month {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.date-year {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* Détails */
.event-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 12px;
  line-height: 1.3;
}

.event-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* Métadonnées */
.event-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #555;
  font-size: 0.9rem;
}

.meta-item svg {
  color: #667eea;
  flex-shrink: 0;
}

/* Footer carte */
.event-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.event-price {
  font-weight: 700;
  color: #667eea;
  font-size: 1rem;
}

.btn-register {
  padding: 10px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-register.disabled {
  background: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   AUCUN RÉSULTAT
   ═══════════════════════════════════════════════════════════ */
.no-results {
  text-align: center;
  padding: 80px 20px;
}

.no-results svg {
  color: #ccc;
  margin-bottom: 20px;
}

.no-results h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.no-results p {
  color: #666;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   🔒 ÉCRAN DE VERROUILLAGE - STYLE PAGE CONTACT
   ═══════════════════════════════════════════════════════════ */
.lock-screen {
  min-height: calc(100vh - 80px - 400px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px;
  margin-top: 110px;
  background: linear-gradient(135deg, var(--bg-light) 0%, #f0f4f8 100%);
}

.lock-container {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  max-width: 1200px;
  width: 100%;
  animation: slideUpFade 0.7s ease-out;
  gap: 40px;
  align-items: start;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ═══════════════════════════════════════════════════════════
   📋 PARTIE GAUCHE - FORMULAIRE EN HAUT
   ═══════════════════════════════════════════════════════════ */
/* Forcer le formulaire à apparaître en PREMIER */
.lock-container > div:last-child {
  background: white;
  border-radius: 20px;
  padding: 45px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  grid-column: 1;
  grid-row: 1;
  order: -1; /* Force à apparaître en premier */
}

/* Instructions en DESSOUS */
.lock-container .access-instructions {
  background: white;
  border-radius: 20px;
  padding: 45px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  grid-column: 2;
  grid-row: 1;
}

/* ═══════════════════════════════════════════════════════════
   🎨 STYLE DU FORMULAIRE
   ═══════════════════════════════════════════════════════════ */
.lock-icon {
  font-size: 85px;
  margin-bottom: 25px;
  color: var(--primary);
  filter: drop-shadow(0 8px 20px rgba(74, 144, 226, 0.3));
  display: block;
  text-align: center;
}

.lock-icon h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.lock-container > div:last-child > p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 35px;
}

/* Groupe de formulaire */
.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 15px;
}

.form-group input {
  width: 100%;
  padding: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

/* Bouton */
.lock-container button {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.lock-container button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(74, 144, 226, 0.4);
  background: var(--primary-light);
}

.lock-container button:active {
  transform: translateY(-1px);
}

/* Note de pied */
.footer-note {
  margin-top: 25px;
  padding-top: 25px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 2px solid #f0f4f8;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   📝 PARTIE DROITE - INSTRUCTIONS
   ═══════════════════════════════════════════════════════════ */
.instruction-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f4f8;
}

.instruction-header svg {
  color: var(--primary);
  flex-shrink: 0;
}

.instruction-header h3 {
  color: var(--text-dark);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

/* Steps numérotés */
.instruction-steps {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.step {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  align-items: start;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.step-number {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
  transition: all 0.3s ease;
}

.step:hover .step-number {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(74, 144, 226, 0.4);
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 5px;
}

.step-content strong {
  color: var(--text-dark);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.step-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* Box d'aide */
.help-box {
  background: #f8f9fa;
  border-left: 4px solid var(--primary);
  padding: 20px;
  border-radius: 12px;
  margin-top: 25px;
}

.help-box p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.help-box strong {
  color: var(--text-dark);
  font-weight: 700;
}

.help-box a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.help-box a:hover {
  border-bottom-color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════
   ✅ CONTENU DÉVERROUILLÉ
   ═══════════════════════════════════════════════════════════ */
.protected-content {
  min-height: calc(100vh - 80px - 400px);
  padding: 100px 20px 60px;
  background: var(--bg-light);
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.content-header h1 {
  color: var(--text-dark);
  font-size: 32px;
  margin: 0;
}

.lock-btn {
  padding: 12px 24px;
  background: #e74c3c;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.lock-btn:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.info-box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-box.success {
  border-left-color: var(--primary-light);
  background: #f0fff4;
}

.info-box.warning {
  border-left-color: #f39c12;
  background: #fffbf0;
}

.content-section {
  background: white;
  padding: 30px;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-section h2 {
  color: var(--text-dark);
  font-size: 24px;
  margin-bottom: 15px;
}

.resources-list {
  list-style: none;
  padding: 0;
  line-height: 2;
  color: var(--text-muted);
}

.resources-list li {
  padding: 8px 0;
}

/* ═══════════════════════════════════════════════════════════
   📋 INSTRUCTIONS D'ACCÈS
   ═══════════════════════════════════════════════════════════ */
.access-instructions {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  padding: 30px;
  margin: 30px 0;
  text-align: left;
  border: 2px solid #dee2e6;
}

.instruction-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: var(--primary-dark);
}

.instruction-header svg {
  flex-shrink: 0;
  color: dark;
}

.instruction-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

/* Étapes numérotées */
.instruction-steps {
  margin-bottom: 20px;
}

.step {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  border-left: 4px solid var(--primary-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.step:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(74, 157, 111, 0.15);
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(74, 114, 157, 0.3);
}

.step-content {
  flex: 1;
}

.step-content strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.step-content p {
  margin: 0;
  color: #495057;
  line-height: 1.6;
}

/* Boîte d'aide */
.help-box {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border-left: 4px solid #ffc107;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.help-box p {
  margin: 0;
  color: #856404;
  line-height: 1.7;
}

.help-box a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: underline;
}

.help-box a:hover {
  color: #4a9d6f;
}

/* Boîte "Pas encore membre" */
.not-member-box {
  background: linear-gradient(135deg, #a2d0ec 0%, #5ba3d0 100%);
  border-left: 4px solid var(--secondary-light);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.not-member-box p {
  margin: 0;
  color: var(--primary);
}

.join-link {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 25px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 89, 167, 0.3);
}

.join-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 82, 167, 0.4);
  background: var(--accent-light);
}

/* Label du formulaire */
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #495057;
  font-weight: 500;
  text-align: left;
}

/* ═══════════════════════════════════════════════════════════
  🎥 Carousel
   ═══════════════════════════════════════════════════════════ */
.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll 25s linear infinite;
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.carousel-track.dragging {
  transition: none;
  cursor: grabbing;
}

.carousel-track:not(.dragging) {
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.carousel-track:active {
  cursor: grabbing;
}

/* Animation */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.video-card {
  min-width: 280px;
  flex-shrink: 0;
}

.video-card img {
  width: 100%;
  display: block;
}

.video-info {
  padding: 12px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  font-size: 17px;
  padding: 10px 14px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* ═══════════════════════════════════════════════════════════
  🎥 Vidéo
   ═══════════════════════════════════════════════════════════ */
.content-section {
  margin-bottom: 40px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.video-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--bg-white);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.video-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.video-info {
  padding: 12px 15px;
}

.video-info h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bg-white);
}

.video-info p {
  font-size: 13px;
  opacity: 0.9;
  margin: 0;
  line-height: 1.4;
  color: var(--bg-lighter);
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
}

.resources-list {
  list-style: none;
  padding: 0;
}

.resources-list li {
  margin-bottom: 15px;
  line-height: 1.6;
  padding-left: 25px;
  position: relative;
  color: var(--text-medium);
}

.resources-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.resources-list a {
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════
   FORMULAIRE DE CONTACT
   ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero-contact {
  background: linear-gradient(135deg, var(--primary-color) 0%, #5848C2 100%);
  padding: 120px 0 80px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
  background-size: 50px 50px;
  animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* ═══════════════════════════════════════════════════════════
   SECTION CONTACT
   ═══════════════════════════════════════════════════════════ */
.contact-section {
  padding: 50px 0;
  background: var(--bg-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

/* ═══════════════════════════════════════════════════════════
   INFORMATIONS DE CONTACT
   ═══════════════════════════════════════════════════════════ */
.contact-info {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 100px;
}

.contact-info h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.info-intro {
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: var(--accent-light);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), #5848C2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  flex-shrink: 0;
}

.info-content h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.info-content p,
.info-content a {
  color: var(--text-secondary);
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.info-content a:hover {
  color: var(--primary-color);
}

/* Réseaux sociaux */
.social-links {
  padding-top: 30px;
  border-top: 2px solid var(--border-color);
}

.social-links h3 {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.social-icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.social-icon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Effet de fond au survol */
.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Facebook - Bleu */
.social-icon:nth-child(1):hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(66, 103, 178, 0.4);
}

.social-icon:nth-child(1)::before {
  background: linear-gradient(135deg, #4267B2, #3b5998);
}

.social-icon:nth-child(1):hover::before {
  opacity: 1;
}

/* Instagram - Dégradé */
.social-icon:nth-child(2):hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.social-icon:nth-child(2)::before {
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
}

.social-icon:nth-child(2):hover::before {
  opacity: 1;
}

/* LinkedIn - Bleu professionnel */
.social-icon:nth-child(3):hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

.social-icon:nth-child(3)::before {
  background: linear-gradient(135deg, #0077B5, #00669c);
}

.social-icon:nth-child(3):hover::before {
  opacity: 1;
}

/* YouTube - Rouge */
.social-icon:nth-child(4):hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.social-icon:nth-child(4)::before {
  background: linear-gradient(135deg, #FF0000, #cc0000);
}

.social-icon:nth-child(4):hover::before {
  opacity: 1;
}

/* Icônes SVG au-dessus du fond */
.social-icon svg {
  position: relative;
  z-index: 1;
}

.contact-form-wrapper {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-header {
  margin-bottom: 40px;
}

.form-header h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.form-header p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Message de retour */
.form-message {
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideDown 0.5s ease;
}

.form-message.success {
  background: #D4EDDA;
  color: #155724;
  border: 1px solid #C3E6CB;
}

.form-message.error {
  background: #F8D7DA;
  color: #721C24;
  border: 1px solid #F5C6CB;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Formulaire */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 15px 20px;
  border: 2px solid black;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(114, 103, 215, 0.1);
}

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

/* Messages d'erreur */
.error-message {
  color: var(--error-color);
  font-size: 0.85rem;
  display: none;
  margin-top: -5px;
}

.form-group.error input,
.form-group.error textarea {
  border-color: var(--error-color);
}

.form-group.error .error-message {
  display: block;
}

/* Bouton submit */
.submit-btn {
  background: white;
  color: black;
  border: black;
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(114, 103, 215, 0.4);
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:active {
  transform: translateY(0);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
  transform: translateX(5px);
}

/* État de chargement */
.submit-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.submit-btn.loading .btn-text::after {
  content: "...";
  animation: dots 1.5s infinite;
}

@keyframes dots {
  0%, 20% {
    content: ".";
  }
  40% {
    content: "..";
  }
  60%, 100% {
    content: "...";
  }
}
/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ========================================
   📜 PAGE CGU
======================================== */
.cgu-section {
  padding: 120px 20px 80px;
  background: white;
  min-height: 100vh;
}

.container-cgu {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 50px 60px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.cgu-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 10px;
  border-bottom: 3px solid #d4af37;
  padding-bottom: 15px;
}

.cgu-date {
  text-align: center;
  font-size: 14px;
  color: #888;
  font-style: italic;
  margin-bottom: 40px;
}

.cgu-article {
  margin-bottom: 40px;
}

.cgu-article h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 15px;
  border-left: 4px solid var(--primary-dark);
  padding-left: 15px;
}

.cgu-article p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
  text-align: justify;
}

.cgu-article p strong {
  color: #333;
  font-weight: 600;
}

.cgu-link {
  color: #d4af37;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cgu-link:hover {
  color: #b8941f;
}

.cgu-contact {
  margin-top: 50px;
  padding: 30px;
  background: #fff6d5;
  border-radius: 10px;
  border-left: 5px solid #d4af37;
}

.cgu-contact h2 {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.cgu-contact p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.cgu-contact a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cgu-contact a:hover {
  color: #b8941f;
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   📞 FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: linear-gradient(135deg, #1a3a4a 0%, #2c5f7d 100%);
  color: white;
  margin-top: 80px;
}

.footer-content {
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 48px;
}

/* 🏢 LOGO & DESCRIPTION */
.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.footer-logo h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* 🌐 RÉSEAUX SOCIAUX */
.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* Facebook - Bleu */
.social-icon:nth-child(1):hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(66, 103, 178, 0.4);
}

.social-icon:nth-child(1)::before {
  background: linear-gradient(135deg, #4267B2, #3b5998);
}

.social-icon:nth-child(1):hover::before {
  opacity: 1;
}

/* Instagram - Dégradé */
.social-icon:nth-child(2):hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.social-icon:nth-child(2)::before {
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
}

.social-icon:nth-child(2):hover::before {
  opacity: 1;
}

/* LinkedIn - Bleu professionnel */
.social-icon:nth-child(3):hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

.social-icon:nth-child(3)::before {
  background: linear-gradient(135deg, #0077B5, #00669c);
}

.social-icon:nth-child(3):hover::before {
  opacity: 1;
}

/* YouTube - Rouge */
.social-icon:nth-child(4):hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.social-icon:nth-child(4)::before {
  background: linear-gradient(135deg, #FF0000, #cc0000);
}

.social-icon:nth-child(4):hover::before {
  opacity: 1;
}

/* 📋 TITRES */
.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* 🔗 LIENS */
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: white;
  padding-left: 8px;
}

/* 📞 CONTACT */
.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  stroke: var(--accent);
  margin-top: 2px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  word-break: break-word;
}

.footer-contact a:hover {
  color: white;
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 🛡️ BADGE RGPD */
.rgpd-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  border-radius: 8px;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.rgpd-badge svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

.rgpd-badge span {
  font-size: 0.875rem;
  font-weight: 600;
}

/* 📄 BARRE COPYRIGHT */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  margin-top: 40px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-credits a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

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

/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE — ≤ 1200px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .navbar-nav {
    padding-left: 100px;
    padding-right: 100px;
    gap: 30px;
  }
  .logo-navbar {
    width: 80px;
  }
  .reseaux-container {
    left: 16px;
    gap: 12px;
  }
  .reseaux-sociaux img {
    height: 40px;
  }
  .logo.facebook,
  .logo.linkedin {
    height: 50px;
  }
  .events-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  }
}
/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE — ≤ 1024px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .split-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .research-box,
  .contact-info {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE — ≤ 992px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  .navbar-nav {
    padding-left: 50px;
    padding-right: 50px;
    gap: 20px;
  }
  .navbar-fixed-top::before {
    height: 80px;
  }
  .navbar a {
    font-size: 14px;
  }
  .btn-connexion {
    padding: 12px 24px;
    font-size: 14px;
  }
  .reseaux-container {
    display: none;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .events-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
  }
  lock-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .lock-container > div:last-child {
    grid-column: 1;
    order: 0;
  }
  .access-instructions {
    grid-column: 1;
  }
}
/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE — ≤ 768px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  body {
    padding: 0px;
    overflow-x: hidden;
  }
  .container {
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  /* --- NAVBAR / BURGER --- */
  .menu-toggle {
    display: flex;
  }
  .navbar-fixed-top {
    margin-left: 0;
  }
  .navbar-fixed-top::before {
    display: none;
  }
  .navbar-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    padding: 80px 30px 30px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
    background: #fff6d5;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: visible;
  }
  .navbar-nav.active {
    right: 0;
  }
  .navbar-nav > li,
  .navbar-nav .nav-item {
    width: 100%;
    text-align: center;
  }
  .navbar-nav .logo {
    order: -1;
    margin-bottom: 20px;
  }
  .logo-navbar {
    width: 120px;
    height: auto;
    margin: 0 auto;
  }
  .navbar a {
    font-size: 20px;
    display: block;
    padding: 10px 0;
  }
  nav.scrolled, .navbar.scrolled {
    padding: 0px;
  }
  .dropdown {
    position: relative;
    transition: margin-bottom 0.3s ease; /* ← Animation fluide */
  }
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 250px;
    margin-top: 10px;
    padding: 10px 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    overflow: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999 !important;
  }
  .dropdown-menu li a {
    font-size: 16px;
  }
  /* --- SECTIONS GLOBALES --- */
  .section-header h2 {
    font-size: 2rem;
  }
  .content-right {
    order: -1;
  }
  .stats-grid,
  .mission-cards,
  .audience-grid,
  .methods-grid,
  .benefits-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .concept-card {
    margin-bottom: 50px;
  }
  /* --- TIMELINE --- */
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    padding-left: 70px;
  }
  .timeline-marker {
    transform: translateX(-180px); /* Négatif = gauche */
  }
  .timeline-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 0%;
  }
  .timeline-content {
    width: 80%;
  }
  .timeline-content h3 {
    font-size: 1rem;
  }
  /*-- Équipe--*/
  .equipe-section {
    padding: 50px 15px;
  }
  .section-title {
    font-size: 28px;
  }
  .section-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .equipe-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 25px;
  }
  .membre-photo {
    width: 120px;
    height: 120px;
  }
  .membre-nom {
    font-size: 20px;
  }
  .membre-role {
    font-size: 14px;
  }
  /*-- Psychogenealogie--*/
  .definition-section {
    padding: 0px;
  }
  /* --- CONTACT --- */
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .contact-section {
    padding: 50px 0;
    overflow-x: hidden;
  }
  .contact-form-wrapper,
  .contact-info {
    padding: 30px 20px;
  }
  .contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Espace entre les deux sections */
    margin: 0 15px;
  }
  .contact-info {
    width: 100%;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  }
  .contact-form {
    width: 100%;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  }
  /* Email qui déborde */
  .info-content a {
    word-break: break-word;
    font-size: 0.85rem;
    line-height: 1.4;
  }
  /* Adresse qui déborde */
  .info-content p {
    word-break: break-word;
    font-size: 0.9rem;
  }
  .info-item {
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .form-header h2 {
    font-size: 1.6rem;
  }
  .submit-btn {
    width: 100%;
  }
  .lock-screen {
    padding: 40px 15px;
  }
  .access-instructions,
  .lock-container > div:last-child {
    padding: 35px 25px;
    border-radius: 15px;
  }
  .lock-icon {
    font-size: 70px;
  }
  .lock-container h1 {
    font-size: 24px;
  }
  .instruction-header h3 {
    font-size: 20px;
  }
  .step {
    grid-template-columns: 50px 1fr;
    gap: 15px;
  }
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
  .step-content strong {
    font-size: 16px;
  }
  .step-content p {
    font-size: 14px;
  }
  .filters-section {
    padding: 25px 0;
  }
  .filters-wrapper {
    gap: 15px;
  }
  .search-bar input {
    padding: 12px 45px 12px 16px;
    font-size: 0.95rem;
  }
  .search-btn {
    width: 36px;
    height: 36px;
  }
  .filters-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .filter-select {
    padding: 11px 30px 11px 14px;
    font-size: 0.9rem;
  }
  .reset-filters {
    grid-column: span 2;
    padding: 11px 20px;
    font-size: 0.9rem;
  }
  .no-results {
    padding: 40px 16px;
  }
  .no-results svg {
    width: 64px;
    height: 64px;
  }
  .no-results h3 {
    font-size: 1.25rem;
  }
  .no-results p {
    font-size: 0.9rem;
  }
  .video-card {
    min-width: 220px;
  }
  /* --- FOOTER --- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-logo {
    justify-content: center;
  }
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-column {
    text-align: center;
    align-items: center;
  }
  .footer-links,
  .footer-contact {
    width: 100%;
  }
  .footer-contact li {
    justify-content: center;
  }
  .cgu-link {
    font-size: 13px;
  }
  .cgu-article p strong {
    font-size: 13px;
  }
}
/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE — ≤ 480px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-contact {
    padding: 80px 0 50px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .contact-info h2,
  .form-header h2 {
    font-size: 1.4rem;
  }
  .info-item {
    padding: 15px;
  }
  .info-icon {
    width: 40px;
    height: 40px;
  }
  .event-title {
    font-size: 1.15rem;
  }
  .event-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .btn-register {
    width: 100%;
    text-align: center;
  }
  .social-icons {
    gap: 8px;
  }
  .social-icon {
    width: 42px;
    height: 42px;
  }
}

/*# sourceMappingURL=style.css.map */
