/* ============================================================================
   ANIMATIONS SUPPLEMENT - Styles additionnels pour nouveau contenu
   ============================================================================ */

/* ===== ABOUT SECTION ===== */
.about-hero {
  text-align: center;
  margin-bottom: var(--space-4, 1rem);
}

.about-title {
  font-size: var(--text-4xl, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-4, 1rem);
  line-height: 1.2;
}

.about-tagline {
  font-size: var(--text-lg, 1.125rem);
  color: var(--color-text-muted, #666);
  font-weight: 500;
}

.about-story {
  max-width: 800px;
  margin: 0 auto;
}

.lead-text {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: var(--space-3, 0.75rem);
  color: var(--color-text-primary, #2d3748);
}

.body-text {
  font-size: var(--text-base, 1rem);
  line-height: 1.7;
  margin-bottom: var(--space-8, 2rem);
  color: var(--color-text-secondary, #4a5568);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-6, 1.5rem);
  margin-top: var(--space-10, 2.5rem);
}

/* ===== SERVICE SECTION ===== */
.service-title {
  font-size: var(--text-lg, 1.125rem) !important;
  margin-bottom: 0 !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.service-description {
  font-size: var(--text-base, 1rem) !important;
  line-height: 1.5 !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.service-icon-wrapper {
  margin-bottom: var(--space-2, 0.5rem) !important;
}

.icon-gradient {
  width: 60px !important;
  height: 60px !important;
  font-size: 1.5rem !important;
}

/* Blue bottom bar and hover effects removed - using orange certificate style from enhancements.css */
.clickable-card {
  position: relative;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

/* Blue effects removed
.clickable-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6FC0F2, #5BACDE);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.clickable-card:hover::after {
  transform: scaleX(1);
}

.clickable-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 16px 32px rgba(99, 146, 185, 0.3);
}

.clickable-card:active {
  transform: translateY(-10px) scale(1.01);
} */

.service-cta-badge {
  margin-top: var(--space-3, 0.75rem);
  padding: var(--space-2, 0.5rem) var(--space-3, 0.75rem);
  background: linear-gradient(135deg, #6FC0F2 0%, #5BACDE 100%);
  color: white;
  border-radius: var(--radius-full, 9999px);
  font-size: var(--text-xs, 0.75rem);
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1, 0.25rem);
  transition: all 0.2s ease;
}

.clickable-card:hover .service-cta-badge {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(99, 146, 185, 0.4);
}


.service-metrics {
  display: flex;
  gap: var(--space-4, 1rem);
  margin: var(--space-6, 1.5rem) 0;
  flex-wrap: wrap;
}

.metric {
  flex: 1;
  min-width: 120px;
  padding: var(--space-3, 0.75rem);
  background: rgba(99, 146, 185, 0.05);
  border-radius: var(--radius-md, 0.5rem);
  text-align: center;
}

.metric-value {
  display: block;
  font-size: var(--text-2xl, 1.5rem);
  font-weight: 700;
  color: var(--color-accent, #6FC0F2);
  margin-bottom: var(--space-1, 0.25rem);
}

.metric-label {
  display: block;
  font-size: var(--text-xs, 0.75rem);
  color: var(--color-text-muted, #666);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== TIMELINE ENHANCEMENTS ===== */
.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3, 0.75rem);
  flex-wrap: wrap;
  gap: var(--space-2, 0.5rem);
}

.timeline-description {
  margin: var(--space-4, 1rem) 0;
  line-height: 1.6;
  color: var(--color-text-secondary, #4a5568);
}

.impact-metrics {
  display: flex;
  flex-direction: column;
  gap: var(--space-3, 0.75rem);
  margin: var(--space-6, 1.5rem) 0;
}

.timeline-highlights {
  margin: var(--space-6, 1.5rem) 0;
}

.timeline-highlights h4 {
  font-size: var(--text-sm, 0.875rem);
  font-weight: 600;
  color: var(--color-text-primary, #2d3748);
  margin-bottom: var(--space-3, 0.75rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-highlights li {
  padding: var(--space-2, 0.5rem) 0;
  color: var(--color-text-secondary, #4a5568);
  line-height: 1.6;
}

.tech-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2, 0.5rem);
  margin-top: var(--space-4, 1rem);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .about-title {
    font-size: var(--text-3xl, 2rem);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4, 1rem);
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-metrics {
    flex-direction: column;
  }

  .metric {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .lead-text {
    font-size: var(--text-lg, 1.125rem);
  }
}

/* ===== DIPLOMAS SECTION ===== */
.diplomas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6, 1.5rem);
  margin-top: var(--space-8, 2rem);
}

.diploma-card {
  background: var(--color-bg-card, #fff);
  border-radius: var(--radius-lg, 0.75rem);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--color-border, #e2e8f0);
  cursor: pointer;
}

.diploma-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(99, 146, 185, 0.2);
}

.diploma-thumbnail {
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: var(--space-8, 2rem);
  text-align: center;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diploma-preview {
  position: relative;
  z-index: 1;
}

.diploma-badge {
  position: absolute;
  top: var(--space-4, 1rem);
  right: var(--space-4, 1rem);
  background: var(--color-accent, #6FC0F2);
  color: white;
  padding: var(--space-2, 0.5rem) var(--space-3, 0.75rem);
  border-radius: var(--radius-full, 9999px);
  font-size: var(--text-xs, 0.75rem);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-1, 0.25rem);
  box-shadow: 0 2px 8px rgba(99, 146, 185, 0.3);
}

.diploma-info {
  padding: var(--space-6, 1.5rem);
}

.diploma-info h4 {
  font-size: var(--text-lg, 1.125rem);
  font-weight: 600;
  color: var(--color-text-primary, #2d3748);
  margin-bottom: var(--space-2, 0.5rem);
}

.diploma-info p {
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-text-muted, #666);
  margin-bottom: var(--space-4, 1rem);
}

.btn-view-diploma {
  width: 100%;
  padding: var(--space-3, 0.75rem) var(--space-4, 1rem);
  background: linear-gradient(135deg, #6FC0F2 0%, #5BACDE 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md, 0.5rem);
  font-size: var(--text-sm, 0.875rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2, 0.5rem);
}

.btn-view-diploma:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 146, 185, 0.4);
}

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

.diploma-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2, 0.5rem);
  margin-top: var(--space-3, 0.75rem);
}

.diploma-tag {
  display: inline-block;
  padding: var(--space-1, 0.25rem) var(--space-3, 0.75rem);
  background: rgba(99, 146, 185, 0.1);
  color: var(--color-accent, #6FC0F2);
  border-radius: var(--radius-full, 9999px);
  font-size: var(--text-xs, 0.75rem);
  font-weight: 500;
  border: 1px solid rgba(99, 146, 185, 0.2);
}

/* Modal pour documents */
.document-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4, 1rem);
}

.document-modal-content {
  background: white;
  width: 100%;
  max-width: 900px;
  height: 90vh;
  border-radius: var(--radius-lg, 0.75rem);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.document-modal-header {
  padding: var(--space-4, 1rem);
  background: var(--color-bg-card, #fff);
  border-bottom: 1px solid var(--color-border, #e2e8f0);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.document-modal-title {
  font-size: var(--text-lg, 1.125rem);
  font-weight: 600;
  color: var(--color-text-primary, #2d3748);
}

.document-modal-close {
  background: none;
  border: none;
  font-size: var(--text-2xl, 1.5rem);
  cursor: pointer;
  color: var(--color-text-muted, #666);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md, 0.5rem);
  transition: all 0.2s ease;
}

.document-modal-close:hover {
  background: var(--color-gray-light, #f0f0f0);
  color: var(--color-text-primary, #2d3748);
}

.document-modal-body {
  flex: 1;
  overflow: auto;
  background: #f8f9fa;
}

.document-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .diplomas-grid {
    grid-template-columns: 1fr;
  }

  .document-modal-content {
    max-width: 100%;
    height: 100vh;
    border-radius: 0;
  }
}
