/* ================================
   PAGE "À PROPOS" - DESIGN PREMIUM
   ================================ */

/* Variables spécifiques à la page À propos - Utilise les couleurs du thème */
:root {
  --about-gradient: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  --about-gradient-light: linear-gradient(135deg, rgba(30, 111, 159, 0.1) 0%, rgba(255, 122, 89, 0.1) 100%);
  --about-shadow: 0 8px 32px rgba(30, 111, 159, 0.15);
  --about-shadow-hover: 0 16px 48px rgba(30, 111, 159, 0.25);
  --about-border: 1px solid rgba(255, 255, 255, 0.2);
  --about-border-light: 1px solid rgba(30, 111, 159, 0.1);
}

/* ================================
   LAYOUT PRINCIPAL
   ================================ */

.about-page {
  background: var(--about-light);
  min-height: 100vh;
}

.about-section {
  padding: var(--space-10) 0;
  position: relative;
}

.about-section:nth-child(even) {
  background: var(--about-gradient-light);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin: 0 0 var(--space-4);
  background: var(--about-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--c-muted);
  margin: 0;
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.6;
}

/* ================================
   HERO SECTION
   ================================ */

.about-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--about-gradient);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 20%,
      rgba(255, 122, 89, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(30, 111, 159, 0.3) 0%,
      transparent 50%
    );
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    );
  background-size: 100px 100px, 150px 150px;
  animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-100px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  margin: 0 0 var(--space-4);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin: 0 0 var(--space-6);
  opacity: 0.95;
  line-height: 1.6;
  animation: slideInUp 1s ease-out 0.2s both;
}

.hero-quote {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: var(--about-border);
  border-radius: 20px;
  padding: var(--space-6);
  margin: var(--space-8) 0 0;
  position: relative;
  animation: slideInUp 1s ease-out 0.4s both;
}

.quote-marks {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
}

.quote-mark {
  font-size: 4rem;
  color: var(--c-accent);
  font-family: serif;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-quote p {
  font-size: 1.1rem;
  margin: 0 0 var(--space-3);
  font-style: italic;
  line-height: 1.6;
}

.hero-quote cite {
  font-style: normal;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* ================================
   SECTION MISSION
   ================================ */

.about-mission {
  background: white;
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.mission-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--c-text);
  margin: 0 0 var(--space-6);
}

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

.stat-item {
  text-align: center;
  padding: var(--space-4);
  background: var(--about-gradient-light);
  border-radius: 16px;
  border: var(--about-border-light);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--about-shadow);
}

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

.stat-label {
  font-size: 0.9rem;
  color: var(--c-muted);
  font-weight: 500;
}

.mission-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ================================
   SECTION ÉQUIPE
   ================================ */

.about-team {
  background: var(--about-gradient-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.team-member {
  background: white;
  border-radius: 20px;
  padding: var(--space-6);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: var(--about-border-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--about-shadow-hover);
  border-color: var(--c-primary);
}

.member-image {
  margin-bottom: var(--space-4);
}

.member-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 var(--space-2);
  color: var(--c-text);
}

.member-role {
  color: var(--about-primary);
  font-weight: 600;
  margin: 0 0 var(--space-3);
  font-size: 0.95rem;
}

.member-description {
  color: var(--c-muted);
  line-height: 1.6;
  margin: 0;
  font-size: 0.9rem;
}

/* ================================
   SECTION VALEURS
   ================================ */

.about-values {
  background: white;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.value-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: var(--about-border-light);
  border-radius: 20px;
  padding: var(--space-6);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(102, 126, 234, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.value-card:hover::before {
  left: 100%;
}

.value-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--about-shadow-hover);
  border-color: var(--c-primary);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.value-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 var(--space-3);
  color: var(--c-text);
}

.value-description {
  color: var(--c-muted);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* ================================
   SECTION PHILOSOPHIE
   ================================ */

.about-philosophy {
  background: var(--about-gradient-light);
}

.philosophy-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.philosophy-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--c-text);
  margin: 0 0 var(--space-4);
}

.philosophy-points {
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: 0;
}

.philosophy-points li {
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
  position: relative;
  padding-left: var(--space-6);
}

.philosophy-points li:last-child {
  border-bottom: none;
}

.philosophy-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: var(--space-3);
  color: var(--c-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.philosophy-points strong {
  color: var(--c-primary);
}

/* ================================
   SECTION CTA
   ================================ */

.about-cta {
  background: var(--about-gradient);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin: 0 0 var(--space-4);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
  font-size: 1.2rem;
  margin: 0 0 var(--space-6);
  opacity: 0.9;
  max-width: 600px;
  margin-inline: auto;
}

.cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-6);
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn--primary {
  background: white;
  color: var(--about-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  color: var(--about-primary);
  text-decoration: none;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.btn--animated {
  position: relative;
  overflow: hidden;
}

.btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.btn--animated:hover .btn-shimmer {
  left: 100%;
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.cta-stat {
  text-align: center;
}

.cta-stat .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--space-2);
  color: var(--c-accent);
}

.cta-stat .stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
}

/* ================================
   PLACEHOLDERS D'IMAGES
   ================================ */

.image-placeholder {
  width: 100%;
  height: 300px;
  background: var(--about-gradient-light);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--c-primary);
  color: var(--c-primary);
  transition: all 0.3s ease;
}

.image-placeholder:hover {
  border-color: var(--about-secondary);
  background: var(--about-gradient-light);
  transform: scale(1.02);
}

.placeholder-border {
  width: 80px;
  height: 80px;
  border: 2px solid var(--about-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  background: rgba(102, 126, 234, 0.1);
}

.placeholder-text {
  font-size: 0.9rem;
  color: var(--about-primary);
  font-weight: 500;
  text-align: center;
  margin: 0;
  opacity: 0.8;
}

/* ================================
   ANIMATIONS
   ================================ */

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 1;
    transform: translateY(100vh) scale(1);
  }
  90% {
    opacity: 1;
    transform: translateY(-100px) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-100px) scale(0);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Classes d'animation */
.animate-in {
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.value-card.animate-in,
.team-member.animate-in {
  animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Animation des particules flottantes */
.floating-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  animation: floatUp 8s linear infinite;
}

/* Effet de tilt 3D */
.value-card,
.team-member {
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover,
.team-member:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(2deg);
}

/* Animation des boutons */
.btn--animated {
  position: relative;
  overflow: hidden;
}

.btn--animated::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.btn--animated:hover::before {
  left: 100%;
}

/* Animation des statistiques */
.stat-item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: var(--about-shadow-hover);
}

/* Animation des placeholders */
.image-placeholder {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-placeholder:hover {
  transform: scale(1.05);
  border-color: var(--about-secondary);
  box-shadow: var(--about-shadow);
}

/* Animation des citations */
.hero-quote {
  transition: all 0.4s ease;
}

.hero-quote:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Animation des titres */
.section-title {
  transition: all 0.3s ease;
}

.section-title:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1024px) {
  .mission-content,
  .philosophy-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: var(--space-8) 0;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 3rem);
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-quote {
    padding: var(--space-4);
    margin-top: var(--space-6);
  }

  .quote-marks {
    gap: 20px;
  }

  .quote-mark {
    font-size: 2.5rem;
  }

  .mission-stats {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .cta-stats {
    gap: var(--space-6);
  }

  .image-placeholder {
    height: 200px;
  }

  .placeholder-border {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 2.5rem);
  }

  .hero-quote p {
    font-size: 1rem;
  }

  .team-member,
  .value-card {
    padding: var(--space-4);
  }

  .cta-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
}

/* ================================
   ACCESSIBILITÉ
   ================================ */

@media (prefers-reduced-motion: reduce) {
  .about-page *,
  .about-page *::before,
  .about-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-particles {
    animation: none;
  }
}

/* ================================
   PRINT STYLES
   ================================ */

@media print {
  .about-hero {
    background: white !important;
    color: black !important;
  }

  .hero-gradient,
  .hero-particles {
    display: none;
  }

  .btn {
    border: 1px solid #ccc;
    background: white;
    color: black;
  }
}
