/* ex-inline about.html — externalisé pour la mise en cache */
/* ============================================================================
   VARIABLES
   ============================================================================ */
:root {
  --primary-color: #0066cc;
  --primary-light: #5ba3e0;
  --text-dark: #1c1d1f;
  --text-medium: #6a6f73;
  --text-light: #9fa5ad;
  --border-color: #d1d7dc;
  --bg-gray: #f7f9fa;
  --success-color: #10b981;
  --warning-color: #f59e0b;
}

/* ============================================================================
   HERO COMPACT
   ============================================================================ */
.about-hero-compact {
  background: linear-gradient(to bottom, var(--bg-gray) 0%, #fff 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
}

.breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--text-medium);
}

.breadcrumb-item a {
  color: var(--text-medium);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--primary-color);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin: 0;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.info-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
}

.info-badge i {
  color: var(--primary-color);
}

.hero-illustration img {
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1));
}

/* ============================================================================
   QUICK STATS BAR
   ============================================================================ */
.quick-stats-bar {
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.quick-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quick-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  display: block;
}

.quick-stat-label {
  font-size: 0.875rem;
  color: var(--text-medium);
  font-weight: 500;
}

/* ============================================================================
   SECTION STYLES
   ============================================================================ */
.section-padding {
  padding: 80px 0;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
}

/* ============================================================================
   VISION & MISSION SECTION
   ============================================================================ */
.content-block {
  padding-right: 2rem;
}

.vision-features,
.mission-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon-modern {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-content-modern h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.feature-content-modern p {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin: 0;
  line-height: 1.5;
}

/* Image Frame */
.image-frame {
  position: relative;
}

.image-frame img {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.floating-badge {
  position: absolute;
  background: white;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  animation: float 4s ease-in-out infinite;
}

.badge-1 {
  top: 10%;
  right: -5%;
}

.badge-2 {
  bottom: 15%;
  left: -5%;
  animation-delay: 2s;
}

.floating-badge i {
  font-size: 1.25rem;
  color: var(--primary-color);
}

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

.stats-overlay {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: flex;
  gap: 2rem;
}

.stat-item-overlay {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-medium);
  font-weight: 600;
}

/* Mission Pillars */
.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.pillar-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}

.pillar-number {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pillar-content h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.pillar-content p {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin: 0;
}

/* ============================================================================
   DEPARTMENTS SECTION
   ============================================================================ */
.department-card-modern {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.department-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.department-header-modern {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.department-icon-modern {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.department-title-modern h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.department-title-modern p {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin: 0;
  line-height: 1.5;
}

.department-responsibilities {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.department-responsibilities h6 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.department-responsibilities ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.department-responsibilities li {
  font-size: 0.85rem;
  color: var(--text-medium);
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.department-responsibilities li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

/* ============================================================================
   STRATEGIC ROADMAP SECTION
   ============================================================================ */
.phase-card-modern {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.phase-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.phase-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.phase-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-right: 3rem;
}

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

.phase-objectives li {
  font-size: 0.9rem;
  color: var(--text-medium);
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.5;
}

.phase-objectives li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: 700;
}

/* ============================================================================
   TESTIMONIALS SECTION
   ============================================================================ */
.testimonial-card-modern {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-rating {
  color: #f59e0b;
  margin-bottom: 1rem;
}

.testimonial-rating i {
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.author-info h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.1rem;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-medium);
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */
.cta-about-section {
  background: linear-gradient(135deg, var(--bg-gray) 0%, #e9ecef 100%);
}

.cta-about-card {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
}

.cta-about-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.cta-about-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.cta-about-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cta-about-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.cta-about-benefits i {
  color: var(--success-color);
  font-size: 1.1rem;
}

.btn-cta-about {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border: none;
  color: white;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-cta-about:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
  color: white;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 991px) {
  .page-title {
    font-size: 2rem;
  }
  
  .content-block {
    padding-right: 0;
  }
  
  .stats-overlay {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 1.5rem;
    justify-content: center;
  }
  
  .floating-badge {
    position: relative;
    margin-bottom: 1rem;
  }
  
  .badge-1, .badge-2 {
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
  }
}

@media (max-width: 767px) {
  .page-title {
    font-size: 1.75rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .quick-stat-number {
    font-size: 1.5rem;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .cta-about-card {
    padding: 2rem;
  }
  
  .cta-about-title {
    font-size: 1.75rem;
  }
  
  .cta-about-subtitle {
    font-size: 1rem;
  }
  
  .btn-cta-about {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .feature-row,
  .pillar-item {
    flex-direction: column;
    text-align: center;
  }
  
  .stats-overlay {
    flex-direction: column;
    gap: 1rem;
  }
}
