/* ============================================
   HISTOIRE.CSS — Page Notre Histoire
   ============================================ */

/* ========== HERO ========== */
.about-hero {
  padding: var(--space-4xl) 0 var(--space-2xl);
}

.about-hero-title {
  font-size: clamp(1.8rem, 4vw, var(--text-4xl));
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.about-hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== FONDATEUR ========== */
.founder-section {
  padding: 0 0 var(--space-4xl);
}

.founder-card {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  max-width: 780px;
  margin: 0 auto;
}

.founder-photo {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-border);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-text h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.founder-text p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.founder-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
}

/* ========== TIMELINE ========== */
.timeline-section {
  padding: 0 0 var(--space-4xl);
}

.timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

/* Ligne verticale */
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-2xl);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* Pastille sur la ligne */
.timeline-marker {
  position: absolute;
  left: -40px;
  top: 0;
  display: flex;
  align-items: center;
}

.timeline-marker::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
  flex-shrink: 0;
}

.timeline-year {
  position: absolute;
  left: 28px;
  top: -1px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
}

.timeline-content {
  padding-top: var(--space-xs);
}

.timeline-content h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  padding-left: 90px;
}

.timeline-content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  padding-left: 90px;
}

/* ========== VALEURS — Colonnes verticales ========== */
.values-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-alt);
}

.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--space-2xl);
}

.value-col {
  padding: var(--space-2xl) var(--space-xl);
  border-left: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.value-col:first-child {
  border-left: none;
  padding-left: 0;
}

.value-col:last-child {
  padding-right: 0;
}

.value-col .value-icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  margin-bottom: var(--space-2xl);
}

.value-col .value-icon svg {
  width: 80%;
  height: 80%;
}

.value-col h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  margin-top: auto;
}

.value-col p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========== CTA ========== */
.about-cta-section {
  padding: var(--space-4xl) 0;
}

.about-cta-section .cta-box {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.about-cta-section .cta-box h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.about-cta-section .cta-box p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .values-row {
    grid-template-columns: 1fr;
  }

  .value-col {
    border-left: none;
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-xl) 0;
  }

  .value-col:first-child {
    padding-left: 0;
  }

  .value-col:last-child {
    border-bottom: none;
    padding-right: 0;
  }

  .founder-card {
    flex-direction: column;
    text-align: center;
  }

  .founder-photo {
    width: 140px;
    height: 140px;
  }

  .about-hero-title {
    font-size: var(--text-2xl);
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline-marker {
    left: -30px;
  }

  .timeline-year {
    position: relative;
    left: auto;
    top: auto;
    display: block;
    margin-left: 28px;
  }

  .timeline-content {
    padding-top: var(--space-lg);
  }

  .timeline-content h3,
  .timeline-content p {
    padding-left: 0;
    margin-left: 28px;
  }
}
