/*
Theme Name: AlloTraining
Theme URI: https://allotraining.com
Author: AlloTraining Team
Description: Thème sur mesure pour le centre de formation professionnelle AlloTraining.
Version: 1.0.0
Text Domain: allotraining
*/

:root {
  --primary-blue: #0B2545;
  --secondary-blue: #134074;
  --accent-orange: #FF6B00;
  --accent-orange-hover: #E05D00;
  --light-bg: #F4F7FA;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --white: #FFFFFF;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: #FFFFFF;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header & Nav Structure */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: relative;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-menu a {
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s;
}

.nav-menu a:hover, 
.nav-menu .current-menu-item a {
  color: var(--accent-orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-inscription {
  background: var(--primary-blue);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s;
}

.btn-inscription:hover {
  background: var(--accent-orange);
}

/* Bouton Burger Mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-blue);
  cursor: pointer;
}

/* Language Switcher Styling */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--light-bg);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.lang-switcher ul {
  display: flex;
  list-style: none;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

.lang-switcher li a {
  color: var(--text-dark);
  text-decoration: none;
}

.lang-switcher li.current-lang a {
  color: var(--accent-orange);
  font-weight: 700;
}

.lang-link {
  color: var(--primary-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.lang-link:hover {
  color: var(--accent-orange);
}

/* --- Responsivité Header (Mobile & Tablette) --- */
@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }

  .nav-wrapper {
    display: none; /* Masqué par défaut sur mobile */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    gap: 1.5rem;
    align-items: stretch;
  }

  .nav-wrapper.is-open {
    display: flex; /* Affiché au clic sur le bouton burger */
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .header-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    width: 100%;
  }

  .btn-inscription {
    justify-content: center;
    width: 100%;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #FFFFFF 0%, #EBF3FA 100%);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.badge-tag {
  display: inline-block;
  background: #E0E8F5;
  color: var(--secondary-blue);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--accent-orange);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary {
  border: 2px solid var(--accent-orange);
  color: var(--accent-orange);
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
}

/* Feature Bar */
.features-bar {
  background: var(--primary-blue);
  color: var(--white);
  padding: 2rem 0;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-icon {
  background: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-orange);
}

/* Course Grid */
.courses-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.2rem;
  color: var(--primary-blue);
}

.category-filter {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--light-bg);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.course-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
}

.course-thumb {
  height: 200px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.course-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-title {
  font-size: 1.25rem;
  color: var(--primary-blue);
  margin-bottom: 0.8rem;
}

.course-meta {
  list-style: none;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.course-meta li {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.link-more {
  color: var(--accent-orange);
  font-weight: 600;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Stats Section */
.stats-section {
  background: #EBF3FA;
  padding: 3rem 2rem;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-blue);
}

/* Call to Action Banner */
.cta-banner {
  max-width: 1200px;
  margin: 4rem auto;
  background: var(--primary-blue);
  border-radius: 16px;
  padding: 3rem;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: radial-gradient(circle at right, rgba(255,107,0,0.2) 0%, transparent 60%);
}

.cta-banner .btn-cta {
  background: var(--accent-orange);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  background: #06152B;
  color: #94A3B8;
  padding: 4rem 2rem 1rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #1E293B;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* Language Switcher Styling */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--light-bg);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.lang-switcher ul {
  display: flex;
  list-style: none;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

.lang-switcher li a {
  color: var(--text-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.lang-switcher li.current-lang a {
  color: var(--accent-orange);
  font-weight: 700;
}

.lang-link {
  color: var(--primary-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.lang-link:hover {
  color: var(--accent-orange);
}

/* --- Correction de la taille du Logo --- */
.logo {
  display: flex;
  align-items: center;
  max-width: 70px; /* Largeur maximale du conteneur du logo */
}

.logo img,
.custom-logo {
  max-height: 70px; /* Hauteur maximale contrôlée */
  width: auto;      /* Maintient le ratio hauteur/largeur */
  height: auto;
  object-fit: contain;
  display: block;
}

/* Ajustement pour les mobiles */
@media (max-width: 768px) {
  .logo img,
  .custom-logo {
    max-height: 40px; /* Plus petit sur écran mobile */
  }
}


/* Top Contact Bar */
.top-contact-bar {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.5rem 2rem;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

.contact-info {
  display: flex;
  gap: 1.5rem;
}

.contact-info i {
  color: var(--accent-orange);
}

/* --- Section Partenaires (Agrandie) --- */
.partners-section {
  padding: 4rem 2rem;
  background: var(--light-bg);
  text-align: center;
}

.partners-grid {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.partner-item {
  background: var(--white);
  padding: 1rem 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.partner-item img {
  max-height: 90px;  /* Augmentation de la taille des logos */
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: all 0.3s ease;
}

.partner-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- Section Témoignages (Design Rehaussé) --- */

.testimonials-section {
  padding: 5.5rem 2rem;
  background: radial-gradient(circle at top right, rgba(19, 64, 116, 0.03) 0%, rgba(244, 247, 250, 0.4) 100%);
  position: relative;
}

.testimonials-grid {
  max-width: 1200px;
  margin: 3.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.8rem 2.2rem 2.2rem;
  border-radius: 18px;
  border: 1px solid rgba(19, 64, 116, 0.08);
  box-shadow: 0 12px 30px rgba(11, 37, 69, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 40px;
  height: 4px;
  background: var(--accent-orange);
  border-radius: 0 0 4px 4px;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(11, 37, 69, 0.08);
  border-color: rgba(255, 107, 0, 0.2);
}

.quote-icon {
  position: absolute;
  top: 1.8rem;
  right: 2.2rem;
  font-size: 2.6rem;
  color: var(--accent-orange);
  opacity: 0.12;
}

.stars-rating {
  color: #FFC107;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.25rem;
}

.testimonial-content {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.8rem;
  font-weight: 450;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  border-top: 1px solid #F1F5F9;
  padding-top: 1.4rem;
}

/* AVATAR & AVATAR PAR DEFAUT */
.author-avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.author-avatar .author-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-orange);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* Placeholder Avatar par défaut moderne */
.default-avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-orange);
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.default-avatar-placeholder i {
  font-size: 1.5rem;
  color: #0369A1;
}

.author-info h4 {
  font-size: 1.05rem;
  color: var(--primary-blue);
  margin: 0;
  font-weight: 700;
}

.author-info small {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: block;
  margin-top: 0.15rem;
  font-weight: 500;
}


.default-avatar-placeholder.round-person {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #E2E8F0; /* Fond gris/bleu très clair */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border: 2px solid var(--accent-orange);
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  overflow: hidden; /* Pour couper le bas des épaules */
  position: relative;
}

/* La tête de la personne (Ronde) */
.default-avatar-placeholder.round-person .avatar-head {
  width: 20px;
  height: 20px;
  background-color: #94A3B8; /* Couleur gris/bleu neutre */
  border-radius: 50%;
  margin-bottom: 3px;
  flex-shrink: 0;
}

/* Les épaules de la personne (Arrondies) */
.default-avatar-placeholder.round-person .avatar-shoulders {
  width: 38px;
  height: 18px;
  background-color: #94A3B8; /* Même couleur pour la cohérence */
  border-radius: 16px 16px 0 0; /* Épaules arrondies */
  flex-shrink: 0;
}

/* Badge catégorie dans le catalogue */
.course-thumb {
  position: relative;
}

.badge-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Page Single Formation */
.single-course-hero {
  background: var(--primary-blue);
  padding: 3rem 2rem;
}

.back-link {
  color: var(--accent-orange);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.single-course-container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.single-course-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.course-description-box {
  background: var(--white);
  margin-top: 2rem;
}

.course-description-box h2 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.cta-box-inner {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 12px;
  margin-top: 3rem;
  border-left: 4px solid var(--accent-orange);
}

.sidebar-card {
  background: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  position: sticky;
  top: 100px;
}

.sidebar-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.sidebar-info-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.sidebar-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.sidebar-info-list i {
  color: var(--accent-orange);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.sidebar-info-list strong {
  display: block;
  color: var(--primary-blue);
  font-size: 0.9rem;
}

.sidebar-info-list span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.btn-inscription-sidebar {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--accent-orange);
  color: var(--white);
  padding: 0.9rem;
  border-radius: 8px;
  font-weight: 700;
  margin-bottom: 0.8rem;
  transition: background 0.3s;
}

.btn-inscription-sidebar:hover {
  background: var(--accent-orange-hover);
}

.btn-contact-sidebar {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--light-bg);
  color: var(--primary-blue);
  padding: 0.8rem;
  border-radius: 8px;
  font-weight: 600;
}

/* Responsivité Single Page */
@media (max-width: 992px) {
  .single-course-layout {
    grid-template-columns: 1fr;
  }
}

/* --- Hero Banner Catalogue (Bleu Foncé) --- */
.catalog-hero-section {
  background: var(--primary-blue);
  padding: 4rem 2rem;
  position: relative;
  color: var(--white);
}

.badge-tag-catalog {
  display: inline-block;
  color: var(--accent-orange);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.hero-title-catalog {
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-desc-catalog {
  color: #CBD5E1;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* --- Ajustement des vignettes images du Catalogue --- */
.course-thumb {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--light-bg);
}

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

.badge-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

/* Coloration de l'élément de menu actif dans le Header */
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a,
.nav-menu .current-menu-ancestor > a,
.nav-menu li.current-post-ancestor > a {
  color: var(--accent-orange) !important;
  font-weight: 700;
}

/* Styling Formulaire Inscription Multi-Étapes */
.inscription-page-wrapper {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.stepper-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
}

.step-item.active {
  opacity: 1;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.inscription-container {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border: 1px solid #E2E8F0;
}

.form-step-panel {
  display: none;
}

.form-step-panel.active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
}

.step-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.btn-next, .btn-submit {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.btn-prev {
  background: var(--light-bg);
  border: 1px solid #CBD5E1;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  cursor: pointer;
}

.recap-box {
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
}

/* --- Structuration des Cartes de Sections (Étape 2) --- */
.form-section-card {
  background: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.8rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.03);
  transition: border-color 0.3s ease;
}

.form-section-card:hover {
  border-color: #CBD5E1;
}

.section-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.section-card-title i {
  color: var(--accent-orange);
  font-size: 1.25rem;
}

.section-card-title h3 {
  font-size: 1.15rem;
  color: var(--primary-blue);
  margin: 0;
}

.section-card-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

/* Grille des Formations Cliquables */
.formation-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.formation-card-option {
  border: 2px solid #E2E8F0;
  border-radius: 10px;
  padding: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  transition: all 0.25s ease;
  background: var(--light-bg);
}

.formation-card-option:hover {
  border-color: var(--accent-orange);
  transform: translateY(-2px);
  background: #FFF;
}

.formation-card-option.selected {
  border-color: var(--accent-orange);
  background: #FFF9F5;
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.12);
}

.card-option-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #EBF3FA;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.card-option-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-option-icon i {
  font-size: 1.4rem;
  color: var(--primary-blue);
}

.card-option-info h4 {
  font-size: 0.98rem;
  color: var(--primary-blue);
  margin: 0 0 0.2rem;
  font-weight: 700;
}

.card-option-info small {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.3;
  display: block;
}

.card-option-check {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  color: #CBD5E1;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.formation-card-option.selected .card-option-check {
  color: var(--accent-orange);
}

/* Boutons Sélecteurs (Pill-Options pour Niveau & Mode) */
.pill-selector-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.pill-option {
  position: relative;
  cursor: pointer;
}

.pill-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.pill-content {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.2rem;
  border: 2px solid #E2E8F0;
  border-radius: 8px;
  background: var(--light-bg);
  transition: all 0.25s ease;
}

.pill-option:hover .pill-content {
  border-color: var(--primary-blue);
  background: #FFF;
}

.pill-option input[type="radio"]:checked + .pill-content {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: var(--white);
}

.pill-option input[type="radio"]:checked + .pill-content small {
  color: #CBD5E1;
}

.pill-option input[type="radio"]:checked + .pill-content i {
  color: var(--accent-orange);
}

.pill-content strong {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.pill-content small {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pill-content i {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--primary-blue);
}

/* Grille du récapitulatif (Étape 4) */
.recap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .formation-selection-grid,
  .pill-selector-group,
  .recap-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Améliorations des Inputs avec Icônes (Étape 1) --- */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
}

.input-with-icon input {
  padding-left: 2.8rem !important;
}

.full-width {
  grid-column: 1 / -1;
}

.inline-pills {
  display: flex;
  gap: 1rem;
}

.inline-pills .pill-option {
  flex: 1;
}

.inline-pills .pill-content {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
}

/* --- Barre de Recherche & Grille Scrollable (Étape 2) --- */
.formation-search-box {
  position: relative;
  margin-bottom: 1rem;
}

.formation-search-box .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.formation-search-box input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.95rem;
}

.formation-selection-scroll-container {
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.5rem;
  margin-top: 0.5rem;
}

/* Scrollbar personnalisée */
.formation-selection-scroll-container::-webkit-scrollbar {
  width: 6px;
}

.formation-selection-scroll-container::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 10px;
}

.formation-selection-scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* --- Zone de Drag & Drop pour le CV (Étape 3) --- */
.file-upload-drag-zone {
  border: 2px dashed #CBD5E1;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--light-bg);
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-upload-drag-zone:hover {
  border-color: var(--accent-orange);
  background: #FFF9F5;
}

.upload-icon {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 0.8rem;
}

.upload-text {
  color: var(--text-dark);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.file-name-preview {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: #E2E8F0;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-top: 0.5rem;
}

.file-name-preview.active-file {
  background: #D1FAE5;
  color: #065F46;
  font-weight: 600;
}

.align-center {
  text-align: center;
  align-items: center;
}

/* Style des messages d'erreur de validation JS */
.field-error-msg {
  color: #EF4444;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.3rem;
  display: block;
}



/* ==========================================================================
   VARIABLES DE PERSONNALISATION (Ajustez vos couleurs ici)
   ========================================================================== */
:root {
  --contact-primary: #0B2545;       /* Couleur principale (Bleu sombre) */
  --contact-accent: #F97316;        /* Couleur d'accentuation (Orange) */
  --contact-accent-hover: #EA580C;  /* Orange survol */
  --contact-bg: #F8FAFC;            /* Fond de page */
  --contact-card-bg: #FFFFFF;       /* Fond des cartes */
  --contact-text: #1E293B;          /* Couleur texte principal */
  --contact-text-muted: #64748B;    /* Texte secondaire */
  --contact-border: #E2E8F0;        /* Bordures légères */
  --contact-radius: 16px;           /* Arrondi des cartes/champs */
  --contact-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
}

/* Base Wrapper */
.contact-page-wrapper {
  background-color: var(--contact-bg);
  padding-bottom: 4rem;
  font-family: inherit;
  color: var(--contact-text);
}

/* En-tête Hero */
.contact-hero {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0.04) 0%, rgba(248, 250, 252, 0) 100%);
}

.contact-badge {
  color: var(--contact-accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.contact-hero h1 {
  color: var(--contact-primary);
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0.5rem 0 1rem;
}

.contact-hero p {
  color: var(--contact-text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grille principale à 2 colonnes */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2rem;
}

/* Carte Coordonnées (Gauche) */
.contact-info-card {
  background: var(--contact-primary);
  color: #FFFFFF;
  border-radius: var(--contact-radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--contact-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-card h3 {
  color: #FFFFFF;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact-info-sub {
  color: #94A3B8;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.info-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.icon-box {
  background: rgba(255, 255, 255, 0.1);
  color: var(--contact-accent);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-details h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin: 0 0 0.2rem 0;
  font-weight: 600;
}

.info-details p, .info-details a {
  color: #CBD5E1;
  font-size: 0.95rem;
  margin: 0;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s;
}

.info-details a:hover {
  color: var(--contact-accent);
}

/* Réseaux Sociaux */
.contact-socials {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-socials h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--contact-accent);
  transform: translateY(-3px);
}

/* Carte Formulaire (Droite) */
.contact-form-card {
  background: var(--contact-card-bg);
  border-radius: var(--contact-radius);
  padding: 2.5rem;
  box-shadow: var(--contact-shadow);
  border: 1px solid var(--contact-border);
}

.contact-form-card h3 {
  color: var(--contact-primary);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.form-desc {
  color: var(--contact-text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Formulaire & Champs */
.custom-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

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

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  left: 1rem;
  color: var(--contact-text-muted);
  font-size: 1rem;
}

.input-with-icon input {
  padding-left: 2.8rem !important;
}

.custom-contact-form input,
.custom-contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--contact-border);
  border-radius: calc(var(--contact-radius) - 6px);
  background-color: #F8FAFC;
  font-size: 0.95rem;
  color: var(--contact-text);
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
  border-color: var(--contact-accent);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

/* Bouton d'envoi */
.btn-submit-contact {
  background: var(--contact-accent);
  color: #FFFFFF;
  border: none;
  border-radius: calc(var(--contact-radius) - 6px);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.btn-submit-contact:hover {
  background: var(--contact-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

/* Carte / Localisation */
.contact-map-section {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 0 1.5rem;
}

.map-container {
  border-radius: var(--contact-radius);
  overflow: hidden;
  box-shadow: var(--contact-shadow);
  border: 1px solid var(--contact-border);
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-hero h1 {
    font-size: 2rem;
  }
  .contact-form-card,
  .contact-info-card {
    padding: 1.5rem;
  }
}


/* ==========================================================================
   VARIABLES DE PERSONNALISATION (Nos Atouts)
   ========================================================================== */
:root {
  --atouts-primary: #0B2545;       /* Bleu principal */
  --atouts-accent: #F97316;        /* Orange d'accentuation */
  --atouts-accent-hover: #EA580C;  /* Orange survol */
  --atouts-bg: #F8FAFC;            /* Fond de page */
  --atouts-card-bg: #FFFFFF;       /* Fond des cartes */
  --atouts-text: #1E293B;          /* Couleur texte */
  --atouts-text-muted: #64748B;    /* Texte secondaire */
  --atouts-border: #E2E8F0;        /* Bordure */
  --atouts-radius: 16px;           /* Arrondi des cartes */
  --atouts-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
}

/* Base Wrapper */
.atouts-page-wrapper {
  background-color: var(--atouts-bg);
  padding-bottom: 4rem;
  color: var(--atouts-text);
  font-family: inherit;
}

/* Hero Section */
.atouts-hero {
  text-align: center;
  padding: 4.5rem 1.5rem 3.5rem;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0.04) 0%, rgba(248, 250, 252, 0) 100%);
}

.atouts-badge {
  color: var(--atouts-accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.atouts-hero h1 {
  color: var(--atouts-primary);
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0.5rem 0 1rem;
}

.atouts-hero p {
  color: var(--atouts-text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grille des Atouts */
.atouts-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.atouts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.atout-card {
  background: var(--atouts-card-bg);
  border-radius: var(--atouts-radius);
  padding: 2.25rem 2rem;
  border: 1px solid var(--atouts-border);
  box-shadow: var(--atouts-shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.atout-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.12);
  border-color: rgba(249, 115, 22, 0.3);
}

.atout-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--atouts-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.atout-card h3 {
  color: var(--atouts-primary);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.atout-card p {
  color: var(--atouts-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Section Statistiques */
.atouts-stats-section {
  max-width: 1200px;
  margin: 4rem auto 0;
  padding: 0 1.5rem;
}

.stats-container {
  background: var(--atouts-primary);
  border-radius: var(--atouts-radius);
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
  box-shadow: var(--atouts-shadow);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-number {
  color: var(--atouts-accent);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  color: #E2E8F0;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Section CTA */
.atouts-cta-section {
  max-width: 1200px;
  margin: 4rem auto 0;
  padding: 0 1.5rem;
}

.cta-card {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid var(--atouts-border);
  border-radius: var(--atouts-radius);
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: var(--atouts-shadow);
}

.cta-card h2 {
  color: var(--atouts-primary);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-card p {
  color: var(--atouts-text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: var(--atouts-accent);
  color: #FFFFFF;
  padding: 0.9rem 2rem;
  border-radius: calc(var(--atouts-radius) - 6px);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  background: var(--atouts-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.btn-cta-secondary {
  background: transparent;
  color: var(--atouts-primary);
  border: 1.5px solid var(--atouts-primary);
  padding: 0.85rem 2rem;
  border-radius: calc(var(--atouts-radius) - 6px);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: var(--atouts-primary);
  color: #FFFFFF;
}

/* Responsive */
@media (max-width: 768px) {
  .atouts-hero h1 {
    font-size: 2rem;
  }
  .cta-card h2 {
    font-size: 1.6rem;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn-cta-primary, .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}


/* ==========================================================================
   VARIABLES DE PERSONNALISATION (À Propos)
   ========================================================================== */
:root {
  --about-primary: #0B2545;       /* Bleu principal */
  --about-accent: #F97316;        /* Orange d'accentuation */
  --about-accent-hover: #EA580C;  /* Orange au survol */
  --about-bg: #F8FAFC;            /* Fond de page */
  --about-card-bg: #FFFFFF;       /* Fond des cartes */
  --about-text: #1E293B;          /* Couleur du texte */
  --about-text-muted: #64748B;    /* Texte secondaire */
  --about-border: #E2E8F0;        /* Bordures */
  --about-radius: 16px;           /* Arrondis */
  --about-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
}

/* Page Base */
.about-page-wrapper {
  background-color: var(--about-bg);
  padding-bottom: 4rem;
  color: var(--about-text);
}

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

/* Hero Section */
.about-hero {
  text-align: center;
  padding: 4.5rem 1.5rem 3.5rem;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0.04) 0%, rgba(248, 250, 252, 0) 100%);
}

.about-badge {
  color: var(--about-accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.about-hero h1 {
  color: var(--about-primary);
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0.5rem 0 1rem;
}

.about-hero p {
  color: var(--about-text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Section Fondateur */
.founder-section {
  padding: 2rem 0 4rem;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: center;
}

/* Image du Fondateur */
.founder-image-wrapper {
  position: relative;
}

.founder-image-card {
  position: relative;
  border-radius: var(--about-radius);
  overflow: hidden;
  box-shadow: var(--about-shadow);
  background: var(--about-primary);
  border: 1px solid var(--about-border);
}

.founder-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.founder-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(11, 37, 69, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.85rem 1.25rem;
  border-radius: calc(var(--about-radius) - 6px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.founder-badge i {
  color: var(--about-accent);
  font-size: 1.2rem;
}

/* Texte Fondateur */
.section-subtitle {
  color: var(--about-accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.founder-content h2 {
  color: var(--about-primary);
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0.3rem 0 0.2rem;
}

.founder-title {
  color: var(--about-accent);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.founder-bio {
  color: var(--about-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.founder-skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.skill-tag {
  background: rgba(11, 37, 69, 0.06);
  color: var(--about-primary);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.founder-socials {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.founder-socials a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--about-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.founder-socials a:hover {
  background: var(--about-accent);
  transform: translateY(-3px);
}

/* Vision / Mission / Valeurs */
.vision-section {
  padding: 2rem 0 4rem;
}

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

.vision-card {
  background: var(--about-card-bg);
  border-radius: var(--about-radius);
  padding: 2.5rem 2rem;
  border: 1px solid var(--about-border);
  box-shadow: var(--about-shadow);
  transition: all 0.3s ease;
}

.vision-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 115, 22, 0.3);
}

.vision-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--about-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.vision-card h3 {
  color: var(--about-primary);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.vision-card p {
  color: var(--about-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* CTA */
.about-cta-section {
  padding-top: 2rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--about-primary) 0%, #1E3A8A 100%);
  color: #FFFFFF;
  border-radius: var(--about-radius);
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: var(--about-shadow);
}

.cta-box h2 {
  color: #FFFFFF;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-box p {
  color: #CBD5E1;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: var(--about-accent);
  color: #FFFFFF;
  padding: 0.9rem 2rem;
  border-radius: calc(var(--about-radius) - 6px);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  background: var(--about-accent-hover);
  transform: translateY(-2px);
}

.btn-cta-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid #FFFFFF;
  padding: 0.85rem 2rem;
  border-radius: calc(var(--about-radius) - 6px);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: #FFFFFF;
  color: var(--about-primary);
}

/* Responsive */
@media (max-width: 992px) {
  .founder-grid {
    grid-template-columns: 1fr;
  }
  .founder-photo {
    height: 380px;
  }
}

@media (max-width: 640px) {
  .about-hero h1 {
    font-size: 2rem;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .btn-cta-primary, .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}


/* Section Équipe */
.team-section {
  padding: 3rem 0 5rem;
}

.section-title-center {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.section-title-center h2 {
  color: var(--about-primary);
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0.3rem 0 0.5rem;
}

.section-title-center p {
  color: var(--about-text-muted);
  font-size: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--about-card-bg);
  border-radius: var(--about-radius);
  border: 1px solid var(--about-border);
  box-shadow: var(--about-shadow);
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.12);
}

.team-photo-wrapper {
  width: 100%;
  height: 260px;
  overflow: hidden;
  background-color: var(--about-primary);
}

.team-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo-wrapper img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.5rem 1rem;
}

.team-info h3 {
  color: var(--about-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.3rem 0;
}

.team-role {
  display: block;
  color: var(--about-accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.team-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--about-bg);
  color: var(--about-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid var(--about-border);
}

.team-socials a:hover {
  background: var(--about-accent);
  color: #FFFFFF;
  border-color: var(--about-accent);
  transform: translateY(-2px);
}

.no-team-msg {
  text-align: center;
  grid-column: 1 / -1;
  color: var(--about-text-muted);
}


/* --- BLOG GENERAL & HERO --- */
.blog-hero, .post-header-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 4rem 1.5rem;
  text-align: center;
}

.blog-badge, .post-cat-badge {
  color: #F97316;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.blog-hero h1, .post-header-section h1 {
  font-size: 2.5rem;
  margin: 0.5rem 0 1rem;
  font-weight: 800;
}

.blog-hero p {
  color: #94A3B8;
  max-width: 600px;
  margin: 0 auto;
}

.post-meta-details {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  color: #94A3B8;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* --- LAYOUT GRID --- */
.blog-container, .post-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.blog-main-grid, .post-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .blog-main-grid, .post-layout-grid {
    grid-template-columns: 1fr;
  }
}

/* --- GRILLE DES ARTICLES (BLOG) --- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px -5px rgba(0,0,0,0.1);
}

.blog-card-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}

.blog-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #F97316;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.8rem;
  color: #64748B;
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card-title a {
  color: #0F172A;
  text-decoration: none;
}

.blog-card-excerpt {
  color: #64748B;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.btn-read-more {
  color: #F97316;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}

/* --- SIDEBAR & WIDGETS --- */
.widget-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.widget-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 1rem;
  border-bottom: 2px solid #F1F5F9;
  padding-bottom: 0.5rem;
}

.search-form {
  display: flex;
}

.search-form input {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 1px solid #CBD5E1;
  border-radius: 8px 0 0 8px;
  outline: none;
}

.search-form button {
  background: #F97316;
  color: #FFFFFF;
  border: none;
  padding: 0 1rem;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

.widget-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #F1F5F9;
}

.widget-list a {
  color: #475569;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
}

.recent-post-item {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.recent-thumb img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.recent-info h4 {
  font-size: 0.85rem;
  margin: 0 0 0.2rem 0;
}

.recent-info h4 a {
  color: #0F172A;
  text-decoration: none;
}

.recent-info span {
  font-size: 0.75rem;
  color: #94A3B8;
}

/* --- SINGLE POST --- */
.post-featured-image {
  width: 100%;
  max-height: 450px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.post-share-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  margin-top: 2rem;
}

.post-share-box a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}


/* --- BARRE DE FILTRES PAR CATÉGORIE --- */
.blog-filter-section {
  background-color: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 1rem 0;
}

.category-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  border-color: #F97316;
  color: #F97316;
  transform: translateY(-2px);
}

.filter-btn.active {
  background-color: #F97316;
  border-color: #F97316;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.25);
}

.filter-count {
  font-size: 0.75rem;
  opacity: 0.8;
}

.no-posts-found {
  text-align: center;
  padding: 3rem 1rem;
  color: #64748B;
}

.no-posts-found i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #CBD5E1;
}

/* --- ZONE & FORMULAIRE DE COMMENTAIRES --- */
.post-comments-wrapper {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
}

.comments-title, .comment-reply-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
}

.comment-list .comment-body {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.comment-list .avatar {
  border-radius: 50%;
}

.comment-author .fn {
  font-weight: 700;
  color: #0F172A;
  font-style: normal;
}

.comment-meta {
  font-size: 0.8rem;
  color: #94A3B8;
  margin-bottom: 0.5rem;
}

.comment-content p {
  margin: 0 0 0.5rem;
  color: #334155;
  line-height: 1.6;
}

.reply a {
  font-size: 0.85rem;
  font-weight: 700;
  color: #F97316;
  text-decoration: none;
}

/* Formulaire */
.comment-respond {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.comment-notes {
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 1.5rem;
}

.comment-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #1E293B;
}

.form-group .required {
  color: #EF4444;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: #F97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.btn-submit-comment {
  background-color: #F97316;
  color: #FFFFFF;
  font-weight: 700;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-submit-comment:hover {
  background-color: #EA580C;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
  background-color: var(--accent-orange, #F97316);
  transform: translateY(-3px);
}


/* --- BANDE BLEUE SUPÉRIEURE (TOPBAR) --- */
.topbar-blue {
  background-color: #0F172A; /* Couleur bleue foncée / navy */
  color: #FFFFFF;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-rentree {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(249, 115, 22, 0.15); /* Subtile mise en valeur orange */
  color: #F97316;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.topbar-rentree strong {
  color: #FFFFFF;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-contact a {
  color: #CBD5E1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.topbar-contact a:hover {
  color: #F97316;
}

.topbar-location {
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 768px) {
  .topbar-container {
    flex-direction: column;
    text-align: center;
  }
  .topbar-contact {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
}

/* ==========================================================================
   RESPONSIVE HERO SECTION (Page d'accueil & Catalogue Formations)
   ========================================================================== */

/* Écrans Tablettes & Mobiles (<= 992px) */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr; /* Passage en 1 colonne verticale */
    gap: 2rem;
    text-align: center;
  }

  .hero-title, 
  .hero-title-catalog {
    font-size: 2.2rem; /* Réduction de la taille des titres */
  }

  .hero-buttons {
    justify-content: center; /* Centrage des boutons */
  }

  .hero-image {
    order: -1; /* Optionnel : affiche l'image au-dessus du texte sur mobile */
    max-width: 500px;
    margin: 0 auto;
  }
}

/* Écrans Mobiles (<= 576px) */
@media (max-width: 576px) {
  .hero-section, 
  .catalog-hero-section {
    padding: 2.5rem 1rem; /* Réduction des espacements internes */
  }

  .hero-title, 
  .hero-title-catalog {
    font-size: 1.75rem;
  }

  .hero-desc, 
  .hero-desc-catalog {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column; /* Empilage vertical des boutons sur mobile */
    width: 100%;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

.contact-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}
.contact-alert.success { background:#e7f5e7; color:#1e7b1e; border-left:4px solid #1e7b1e; }
.contact-alert.error   { background:#fde8e8; color:#b32d2e; border-left:4px solid #b32d2e; }

/* --- BOUTONS DE TÉLÉCHARGEMENT CATALOGUE --- */
.btn-download-sidebar:hover {
  background-color: #059669 !important; /* Vert plus sombre au survol */
}

.btn-download-pdf:hover {
  background-color: #059669 !important;
}

/* Ajustements pour la réactivité sur mobile (<= 768px) */
@media (max-width: 768px) {
  .cta-action-buttons {
    flex-direction: column; /* Empilement vertical des boutons */
    width: 100%;
  }
  
  .cta-action-buttons a {
    width: 100%;
    justify-content: center; /* Centrage des textes et icônes */
    text-align: center;
  }
}