/* about.css - Styles spécifiques à la page À propos */

.about-page {
  padding-bottom: 0;
}

/* ========================================
   BACK BUTTON
======================================== */
.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  z-index: 100;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.back-btn:hover {
  transform: translateX(-5px);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   HEADER
======================================== */
.about-header {
  padding: 100px 0 60px;
  text-align: center;
}

.header-content {
  animation: fadeInUp 0.8s ease-out;
}

.avatar-container {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.avatar {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
  animation: bounce 2s ease-in-out infinite;
}

.avatar-emoji {
  font-size: 60px;
}

.status-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(207, 81, 102, 0.95);
  box-shadow: 0 0 10px rgba(207, 81, 102, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: white;

  animation: bounce 2s ease-in-out infinite;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.page-title {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.page-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

/* ========================================
   CONTENT SECTIONS
======================================== */
.content-section {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  animation: fadeInUp 0.6s ease-out both;
}

.content-section:nth-child(1) {
  animation-delay: 0.1s;
}

.content-section:nth-child(2) {
  animation-delay: 0.2s;
}

.content-section:nth-child(3) {
  animation-delay: 0.3s;
}

.content-section:nth-child(4) {
  animation-delay: 0.4s;
}

.content-section:nth-child(5) {
  animation-delay: 0.5s;
}

.content-section.highlight {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.content-section.highlight h2,
.content-section.highlight p {
  color: white;
}

.section-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
}

.content-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.content-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 15px;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section strong {
  color: var(--primary);
  font-weight: 600;
}

.highlight strong {
  color: white;
  text-decoration: underline;
}

/* ========================================
   TIMELINE
======================================== */
.timeline {
  margin-top: 30px;
}

.timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 50px;
  width: 2px;
  height: calc(100% - 20px);
  background: rgba(255, 255, 255, 0.3);
}

.timeline-marker {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 3px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 1;
}

.timeline-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}

.timeline-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   TECH GRID
======================================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.tech-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--light);
  border-radius: 12px;
  transition: var(--transition);
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.tech-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.tech-card p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* ========================================
   STATS SECTION
======================================== */
.stats-section {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.stats-section h2 {
  color: white;
  text-align: center;
  margin-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-box {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.stat-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.stat-value {
  font-size: 48px;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.cta-section h2,
.cta-section p {
  color: white;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn.primary {
  background: white;
  color: var(--primary);
}

.cta-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-btn.secondary {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-aspect-ratio: 1/1) {
  .back-btn {
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    font-size: 14px;
    /* au lieu de 3vw */
  }

  .about-header {
    padding: 60px 0 30px;
  }

  .status-badge {
    font-size: 8px;
    padding: 4px 8px;
  }

  .status-dot {
    width: 6px;
    height: 6px;
  }

  .page-title {
    font-size: 28px;
    /* au lieu de 32px si trop grand sur mobile */
  }

  .page-subtitle {
    font-size: 20px;
    /* au lieu de 6vw */
  }

  .avatar {
    width: 80px;
    height: 80px;
  }

  .avatar-emoji {
    font-size: 24px;
    /* au lieu de 5vw */
  }

  .content-section {
    padding: 20px 16px;
  }

  .content-section h2,
  .section-icon {
    font-size: 18px;
    /* au lieu de 4vw */
    justify-content: center;
  }

  .content-section h3 {
    font-size: 16px;
    /* au lieu de 3.5vw */
  }

  .content-section p {
    font-size: 14px;
    /* au lieu de 3vw */
  }

  .tech-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-icon,
  .tech-icon,
  .section-icon {
    font-size: 24px;
    /* au lieu de 5vw */
  }

  .stat-value {
    font-size: 18px;
    /* au lieu de 4vw */
  }

  .stat-label {
    font-size: 16px;
    /* au lieu de 3.5vw */
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
    font-size: 16px;
    /* au lieu de 4vw */
    justify-content: center;
  }

  .cta-btn svg {
    width: 16px;
    /* au lieu de 4% */
    height: 16px;
  }
}

/* Animation fadeInUp reste inchangée */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}