/* Variables CSS (identiques à terminale.css) */
:root {
  --primary-orange: #ff6a00;
  --secondary-yellow: #FFE066;
  --text-dark: #222;
  --text-gray: #666;
  --text-light: #888;
  --background-light: #fafafa;
  --gradient-primary: linear-gradient(135deg, #ff6a00, #ff9500);
  --gradient-secondary: linear-gradient(135deg, #FFE066, #FFF3A0);
  --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.12);
  --shadow-large: 0 15px 35px rgba(0, 0, 0, 0.15);
  --border-radius-small: 8px;
  --border-radius: 16px;
  --border-radius-large: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset et base (identiques à terminale.css) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  text-align: center;
  color: var(--text-dark);
  overflow-x: hidden;
  background: #fff2beff;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header de la section (styles de terminale.css) */
.testimonials-hero {
  padding: 50px 0 20px 0;
  background: transparent;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 40px;
}

.testimonials-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 106, 0, 0.1);
  color: var(--primary-orange);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 106, 0, 0.2);
}

.testimonials-header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 15px;
  color: var(--text-dark);
  letter-spacing: -1px;
}

.testimonials-subtitle {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* NOUVELLE GRILLE DE PARCOURS */
.parcours-grid {
  display: grid;
  /* Une seule colonne par défaut, on gérera les 2 colonnes en media query */
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 900px;
  /* Plus étroit pour une seule colonne, mais centré */
  margin: 0 auto;
}

/* NOUVELLE CARTE DE PARCOURS */
.parcours-card {
  background: #ffffff;
  /* Fond blanc pour contraster */
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
  padding: 30px;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.parcours-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
}

/* Header de la carte (photo + nom) */
.parcours-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.author-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
  border: 3px solid var(--primary-orange);
  background: var(--text-light);
  /* Fallback */
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.author-info .current-role {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-orange);
  line-height: 1.2;
}

.btn-contact {
  margin-left: auto;
  background: var(--primary-orange);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-small);
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  background: #e65c00;
}

/* Citation dans la carte */
.parcours-quote {
  font-style: italic;
  color: var(--text-gray);
  margin-bottom: 25px;
  position: relative;
  padding-left: 35px;
  /* Espace pour le guillemet */
  font-size: 1rem;
  line-height: 1.7;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: left;
}

.parcours-quote::before {
  content: '“';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--primary-orange);
  opacity: 0.3;
  position: absolute;
  top: 5px;
  left: 0;
  line-height: 1;
}

/* Timeline du parcours */
.parcours-journey h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.journey-steps {
  list-style: none;
  padding-left: 0;
  position: relative;
}

/* La ligne verticale de la timeline */
.journey-steps::before {
  content: '';
  position: absolute;
  left: 17px;
  /* (Icon width 35px / 2) - (Line width 2px / 2) */
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(255, 106, 0, 0.2);
}

.journey-step {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding-left: 55px;
  /* Espace pour l'icône (35px) + marge (20px) */
  margin-bottom: 15px;
}

.journey-step:last-child {
  margin-bottom: 0;
}

.step-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--primary-orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(255, 106, 0, 0.3);
  z-index: 2;
  /* Pour être au-dessus de la ligne */
}

.step-info {
  display: flex;
  flex-direction: column;
}

.step-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.step-year {
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 500;
}

/* Responsive Design */
@media (min-width: 1000px) {

  /* On passe à 2 colonnes sur les écrans larges */
  .parcours-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 1300px;
  }
}

@media (max-width: 768px) {
  .testimonials-header h1 {
    font-size: 1.8rem;
  }

  .testimonials-subtitle {
    font-size: 0.95rem;
  }

  .parcours-grid {
    /* Reste à 1 colonne, mais on réduit le gap */
    gap: 20px;
  }

  .parcours-card {
    padding: 25px;
  }

  .author-photo {
    width: 60px;
    height: 60px;
  }

  .author-info h4 {
    font-size: 1.2rem;
  }

  .author-info .current-role {
    font-size: 0.9rem;
  }

  .parcours-quote {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .testimonials-header h1 {
    font-size: 1.6rem;
  }

  .parcours-card {
    padding: 20px 15px;
  }

  .parcours-header {
    margin-bottom: 15px;
  }

  .author-photo {
    width: 50px;
    height: 50px;
    margin-right: 15px;
  }

  .author-info h4 {
    font-size: 1.1rem;
  }

  .parcours-quote {
    padding-left: 30px;
    font-size: 0.9rem;
  }

  .parcours-quote::before {
    font-size: 3rem;
    left: -5px;
  }

  .journey-step {
    padding-left: 50px;
    /* Un peu moins d'espace */
  }

  .step-icon {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .journey-steps::before {
    left: 14px;
    /* (30px / 2) - (2px / 2) */
  }

  .step-title {
    font-size: 0.9rem;
  }

  .step-year {
    font-size: 0.8rem;
  }
}