/* ========== ABOUT SECTION ========== */
.about-section {
  background: transparent;
  position: relative;
  z-index: 2;
  padding: 6rem 0;
}

/* About Hero with Image - CARD AVEC FOND BLANC */
.about-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  padding: 2.5rem;
  border-radius: 2rem;
  transition: all 0.3s ease;
}

.about-text-large {
  flex: 1;
  text-align: left;
}

.about-text-large h3 {
  font-size: 2rem;
  font-family: 'Orbitron', monospace;
  margin-bottom: 0.5rem;
}

.about-text-large h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.about-text-large p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 2rem;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img:hover {
  transform: scale(1.02);
}

/* ========== MODE CLAIR - ABOUT HERO AVEC FOND BLANC ========== */
body.light-theme .about-hero {
  background: #FFFFFF;
  border: 1px solid rgba(0, 204, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

body.light-theme .about-text-large h3 {
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

body.light-theme .about-text-large h4 {
  color: #5A4A8A;
  font-weight: 600;
}

body.light-theme .about-text-large p {
  color: #1A1A2E;
  font-weight: 400;
}

body.light-theme .about-image img {
  border: 2px solid rgba(0, 204, 255, 0.3);
  background: #FFFFFF;
}

/* ========== MODE SOMBRE - ABOUT HERO ========== */
body.dark-theme .about-hero {
  background: rgba(170, 0, 255, 0.1);
  border: 1px solid rgba(170, 0, 255, 0.3);
}

body.dark-theme .about-text-large h3 {
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.dark-theme .about-text-large h4 {
  color: #AA88FF;
}

body.dark-theme .about-text-large p {
  color: #ffffff;
}

body.dark-theme .about-image img {
  border: 2px solid rgba(170, 0, 255, 0.3);
}

/* About Grid Cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-card {
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 2rem;
  font-family: 'Orbitron', monospace;
  margin-bottom: 0.5rem;
}

.about-card p {
  font-size: 0.9rem;
}

/* ========== MODE CLAIR - ABOUT CARDS ========== */
body.light-theme .about-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 204, 255, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

body.light-theme .about-card:hover {
  border-color: #00CCFF;
  box-shadow: 0 10px 25px rgba(0, 204, 255, 0.15);
}

body.light-theme .about-card i {
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.light-theme .about-card h3 {
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.light-theme .about-card p {
  color: #3A3A5A;
}

/* ========== MODE SOMBRE - ABOUT CARDS ========== */
body.dark-theme .about-card {
  background: rgba(170, 0, 255, 0.1);
  border: 1px solid rgba(170, 0, 255, 0.3);
}

body.dark-theme .about-card:hover {
  background: rgba(170, 0, 255, 0.2);
  border-color: #AA00FF;
}

body.dark-theme .about-card i {
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.dark-theme .about-card h3 {
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.dark-theme .about-card p {
  color: #ffffff;
}

/* Mission Text */
.mission-text {
  text-align: center;
  max-width: 900px;
  margin: 2rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
  padding: 2rem;
  border-radius: 1.5rem;
}

/* ========== MODE CLAIR - MISSION TEXT ========== */
body.light-theme .mission-text {
  background: #FFFFFF;
  color: #1A1A2E;
  border-left: 3px solid #AA00FF;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* ========== MODE SOMBRE - MISSION TEXT ========== */
body.dark-theme .mission-text {
  background: rgba(170, 0, 255, 0.1);
  color: #ffffff;
  border-left: 3px solid #AA00FF;
}

/* Legacy Section */
.legacy-section {
  margin: 3rem 0;
}

.legacy-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-family: 'Orbitron', monospace;
}

.legacy-timeline {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.legacy-item {
  flex: 1;
  min-width: 100px;
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  transition: 0.3s;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.legacy-item:hover {
  transform: translateY(-3px);
}

.legacy-year {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: 'Orbitron', monospace;
}

.legacy-stats {
  font-size: 0.8rem;
}

.legacy-name {
  font-weight: 600;
  margin-top: 0.3rem;
}

.legacy-total {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 1rem;
  letter-spacing: 1px;
}
.legacy-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.legacy-section {
  text-align: center;
}
/* ========== MODE CLAIR - LEGACY ========== */
body.light-theme .legacy-title {
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.light-theme .legacy-item {
  background: #FFFFFF;
  border: 1px solid rgba(0, 204, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

body.light-theme .legacy-item:hover {
  background: #FFFFFF;
  border-bottom-color: #00CCFF;
  border-color: #00CCFF;
  box-shadow: 0 5px 15px rgba(0, 204, 255, 0.1);
}

body.light-theme .legacy-year {
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.light-theme .legacy-stats {
  color: #5A4A8A;
}

body.light-theme .legacy-name {
  color: #2A2A3E;
}

body.light-theme .legacy-total {
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ========== MODE SOMBRE - LEGACY ========== */
body.dark-theme .legacy-title {
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.dark-theme .legacy-item {
  background: rgba(170, 0, 255, 0.1);
  border: 1px solid rgba(170, 0, 255, 0.2);
}

body.dark-theme .legacy-item:hover {
  background: rgba(170, 0, 255, 0.2);
  border-bottom-color: #AA00FF;
}

body.dark-theme .legacy-year {
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.dark-theme .legacy-stats {
  color: #AA88FF;
}

body.dark-theme .legacy-name {
  color: #ffffff;
}

body.dark-theme .legacy-total {
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Responsive */
@media (max-width: 768px) {
  .about-hero {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .about-text-large {
    text-align: center;
  }
  
  .legacy-timeline {
    justify-content: center;
  }
}

.voir-plus-btn {
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  border: none;
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 1px;
}

.voir-plus-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 204, 255, 0.4);
}

.about-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(15px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.about-modal.active {
  display: flex;
}

.about-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 10000;
}

.about-modal-content {
  background: linear-gradient(135deg, #0a0a1a, #050510);
  border: 2px solid #00CCFF;
  border-radius: 2rem;
  padding: 1.5rem;
  max-width: 920px;
  width: min(920px, 94vw);
  max-height: calc(100vh - 2rem);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body.light-theme .about-modal-content {
  background: #ffffff;
  border-color: #00CCFF;
}

.about-modal-content h2 {
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.7rem;
  margin-bottom: 0.35rem;
  text-align: center;
}

.about-modal-header {
  text-align: center;
}

.about-modal-summary {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.98rem;
  line-height: 1.5;
  opacity: 0.9;
}

.about-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.about-modal-card {
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid #00CCFF;
}

body.dark-theme .about-modal-card {
  background: rgba(170, 0, 255, 0.08);
}

body.light-theme .about-modal-card {
  background: rgba(0, 204, 255, 0.05);
}

.about-modal-card h3 {
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.about-modal-card p {
  font-size: 0.88rem;
  line-height: 1.45;
  opacity: 0.85;
}

.about-modal-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.about-modal-strip span {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 204, 255, 0.25);
  font-size: 0.82rem;
  color: inherit;
}

.about-modal-close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  background: transparent;
  border: 1px solid #00CCFF;
  color: #00CCFF;
  width: 35px; height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

.about-modal-close:hover {
  background: #00CCFF;
  color: #0a0a1a;
}

@media (max-width: 900px) {
  .about-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-modal-content {
    padding: 1.15rem;
    gap: 0.85rem;
    max-height: calc(100vh - 1rem);
  }

  .about-modal-grid {
    grid-template-columns: 1fr;
  }

  .about-modal-content h2 {
    font-size: 1.4rem;
  }

  .about-modal-summary {
    font-size: 0.9rem;
  }

  .about-modal-card {
    padding: 0.9rem 1rem;
  }
}