.hero-section {
  background: linear-gradient(135deg, #5570B4 0%, #3d5a99 100%);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
  margin: 0 0 3rem 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  letter-spacing: 4px;
}

.hero-description {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.8;
  opacity: 0.95;
  text-align: justify;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #5570B4;
  margin: 4rem 0 2rem;
}

.stats-badge {
  display: inline-block;
  background: #10b981;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0;
}

.feature-card {
  background: white;
  border-radius: 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.10);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #5570B4;
  margin-bottom: 1rem;
}

/* ============================================================
   SECTION QUALIOPI
   ============================================================ */

.qualiopi-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.qualiopi-link:hover .qualiopi-section {
  border-left-color: #3d5a99;
  box-shadow: 0 4px 16px rgba(85, 112, 180, 0.2);
  cursor: pointer;
}

.qualiopi-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  background: #f8faff;
  border: 1px solid rgba(85, 112, 180, 0.18);
  border-left: 4px solid #5570B4;
  padding: 2.5rem 2.5rem;
  margin: 3rem 0;
}

.qualiopi-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 1rem;
}

.qualiopi-desc {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.qualiopi-points {
  margin-top: 1rem;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.qualiopi-points li {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.6;
}

.qualiopi-points li::marker {
  color: #5570B4;
}

.qualiopi-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qualiopi-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .qualiopi-section {
    grid-template-columns: 1fr;
  }
  .qualiopi-logo-wrap {
    justify-content: flex-start;
  }
}

.info-section {
  background: #f8f9fa;
  padding: 3rem 2rem;
  border-radius: 0;
  border: 1px solid rgba(15, 23, 42, 0.10);
  margin: 3rem 0;
}

.info-section h3 {
  color: #5570B4;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.info-section p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #4b5563;
}

.cta-section {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #5570B4 0%, #3d5a99 100%);
  color: white;
  border-radius: 0;

  margin: 3rem 0;
}

.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.btn-white {
  background: white;
  color: #5570B4;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: transform 0.3s;
}

.btn-white:hover {
  transform: scale(1.05);
  color: #5570B4;
}

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

.home-navbar {
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.home-navbar-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.home-nav-logo {
  height: 50px;
  width: auto;
}

.home-navbar-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #5570B4;
}

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

.section-description {
  text-align: center;
  font-size: 1.125rem;
  color: #4b5563;
  max-width: 900px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.stats-container {
  text-align: center;
}

/* ============================================================
   TAUX DE RÉUSSITE PAR FORMATION
   ============================================================ */

.results-stats-section {
  margin: 2rem 0 3rem;
}

.results-stats-intro {
  text-align: center;
  margin-bottom: 1.75rem;
}

.results-stats-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 0.4rem;
}

.results-stats-subtitle {
  font-size: 0.95rem;
  color: #64748b;
}

.results-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.results-stat-card {
  background: white;
  border: 1px solid rgba(85, 112, 180, 0.18);
  border-top: 4px solid #5570B4;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.results-stat-card:hover {
  box-shadow: 0 6px 18px rgba(85, 112, 180, 0.15);
  transform: translateY(-2px);
}

.results-stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.results-stat-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e3a8a;
}

.results-stat-avg {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
}

.avg-excellent {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.avg-good {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.avg-ok {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.results-stat-bars {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.results-bar-row {
  display: grid;
  grid-template-columns: 44px 1fr 52px;
  align-items: center;
  gap: 0.75rem;
}

.results-bar-year {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  text-align: right;
}

.results-bar-track {
  height: 12px;
  background: #f1f5f9;
  border-radius: 6px;
  overflow: hidden;
}

.results-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.5s ease;
}

.fill-excellent { background: linear-gradient(90deg, #10b981, #34d399); }
.fill-good      { background: linear-gradient(90deg, #5570B4, #6d8cc9); }
.fill-ok        { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.results-bar-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  text-align: left;
}

.info-paragraph {
  margin-top: 1rem;
}

.cta-phone {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cta-email {
  font-size: 1.125rem;
}

.final-section {
  margin-bottom: 3rem;
}


.partners-section {
  background: #f3f4f6;
  border-radius: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
  padding: 3rem 2rem;
  margin: 3rem 0;
}

.partners-description {
  margin-bottom: 2rem;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;

  justify-content: center;
}
.feature-card-img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.partner-logo-card {
  background: white;
  border-radius: 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.partner-logo-card:hover {
  border-color: rgba(85, 112, 180, 0.45);
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.08);
}

.partner-logo {
  max-width: 160px;
  max-height: 55px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ============================================================
   ÉVALUATIONS STAGIAIRES – STATS PAR ANNÉE
   ============================================================ */

.eval-stats-section {
  padding: 3rem 2rem;
}

.eval-stats-section > h3 {
  color: #5570B4;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.eval-stats-section > p {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 2rem;
}

/* ── Carte annuelle ── */
.eval-year-card {
  background: white;
  border: 1px solid rgba(85, 112, 180, 0.18);
  border-left: 4px solid #5570B4;
  padding: 1.75rem 2rem;
  margin-top: 2rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

/* ── Header ── */
.eval-year-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.eval-year-title {
  font-size: 1.4rem;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.eval-year-title i {
  color: #5570B4;
}

.eval-year-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.eval-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.eval-meta-responses {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.eval-meta-complete {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.eval-meta-inprogress {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

/* ── KPIs ── */
.eval-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.eval-kpi-box {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: 0;
  border: 1px solid transparent;
}

.eval-kpi-score {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.eval-kpi-sat {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.eval-kpi-resp {
  background: #f5f3ff;
  border-color: #ddd6fe;
}

.eval-kpi-crit {
  background: #fff7ed;
  border-color: #fed7aa;
}

.eval-kpi-value {
  font-size: 2rem;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1.1;
}

.eval-kpi-unit {
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
}

.eval-kpi-label {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.35rem;
  line-height: 1.4;
}

.eval-kpi-label small {
  display: block;
  font-size: 0.7rem;
  color: #94a3b8;
}

/* ── Sous-titre de section interne ── */
.eval-subsection-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5570B4;
  margin-bottom: 0.85rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── Répartition des appréciations ── */
.eval-repartition-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.eval-rep-item {
  display: grid;
  grid-template-columns: 48px 1fr 90px;
  align-items: center;
  gap: 0.75rem;
}

.eval-rep-pct {
  font-size: 0.85rem;
  font-weight: 700;
  text-align: right;
  color: #1e293b;
}

.eval-rep-bar {
  height: 10px;
  background: #f1f5f9;
  border-radius: 5px;
  overflow: hidden;
}

.eval-rep-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.4s ease;
}

.eval-rep-excellent .eval-rep-fill  { background: #10b981; }
.eval-rep-bon .eval-rep-fill        { background: #34d399; }
.eval-rep-satisfaisant .eval-rep-fill { background: #fbbf24; }
.eval-rep-moyen .eval-rep-fill      { background: #f97316; }
.eval-rep-mediocre .eval-rep-fill   { background: #ef4444; }

.eval-rep-label {
  font-size: 0.78rem;
  color: #64748b;
}

/* ── Catégories ── */
.eval-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.eval-cat-card {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.1rem 1rem;
  text-align: center;
}

.eval-cat-icon {
  font-size: 1.4rem;
  color: #5570B4;
  margin-bottom: 0.4rem;
}

.eval-cat-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.eval-cat-score {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.eval-cat-score span {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
}

.eval-cat-sat-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.eval-cat-sat-fill {
  height: 100%;
  background: linear-gradient(90deg, #5570B4, #10b981);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.eval-cat-sat-label {
  font-size: 0.72rem;
  color: #64748b;
}

/* ── Highlights point fort / axe amélioration ── */
.eval-highlights-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.eval-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-radius: 0;
  font-size: 0.875rem;
}

.eval-highlight > i {
  font-size: 1.3rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.eval-highlight-best {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.eval-highlight-best > i {
  color: #15803d;
}

.eval-highlight-improve {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.eval-highlight-improve > i {
  color: #1d4ed8;
}

.eval-highlight-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.eval-highlight-criterion {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.2rem;
}

.eval-highlight-score {
  font-size: 0.8rem;
  color: #64748b;
}

@media (max-width: 640px) {
  .eval-year-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .eval-highlights-row {
    grid-template-columns: 1fr;
  }
  .eval-kpi-row {
    grid-template-columns: 1fr 1fr;
  }
}
