/* ================================================================
   KTF — about.css  |  Page À Propos
   ================================================================ */

/* ════════════════════════════════════════════════
   1. QUI SOMMES-NOUS (intro + images)
   ════════════════════════════════════════════════ */
   
   /* ── Barre de progression ── */
.trk-scroll-bar {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; width: 0%;
  background: linear-gradient(90deg,
    var(--blue) 0%, var(--red) 33%, var(--orange) 66%, var(--yellow) 100%);
  transition: width .1s linear; pointer-events: none;
}

.about-intro {
  padding: 6rem 0;
  background: var(--white);
}
.about-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Colonne images empilées */
.about-intro__visuals {
  position: relative;
}
.about-intro__img-main {
  border-radius: var(--r3);
  overflow: hidden;
  box-shadow: var(--sh-lift);
  position: relative;
}
.about-intro__img-main img {
  width: 100%; height: 420px;
  object-fit: cover; display: block;
  transition: transform 6s ease;
}
.about-intro__img-main:hover img { transform: scale(1.04); }

.about-intro__img-secondary {
  position: absolute;
  bottom: -2.5rem; right: -2rem;
  width: 200px;
  border-radius: var(--r2);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--sh-lift);
}
.about-intro__img-secondary img {
  width: 100%; height: 150px;
  object-fit: cover; display: block;
}

/* Badge "Depuis 2004" */
.about-intro__badge {
  position: absolute;
  top: 2rem; left: -1.5rem;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--r2);
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: 0 8px 28px rgba(30,170,226,.45);
  min-width: 110px;
}
.about-intro__badge-year {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  display: block;
}
.about-intro__badge-lbl {
  font-family: var(--fs);
  font-size: .65rem;
  opacity: .85;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .2rem;
  display: block;
}

/* Colonne texte */
.about-intro__text {}
.about-intro__text p {
  font-family: var(--fs);
  font-size: .97rem;
  line-height: 1.85;
  color: var(--g700);
  margin-bottom: 1.1rem;
}
.about-intro__text p strong {
  color: var(--dark);
  font-weight: 700;
}

/* ════════════════════════════════════════════════
   2. TIMELINE (histoire)
   ════════════════════════════════════════════════ */
.about-timeline {
  padding: 6rem 0;
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
}
.about-timeline::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 0% 50%,
    rgba(30,170,226,.07) 0%, transparent 65%
  );
  pointer-events: none;
}
.about-timeline__header {
  text-align: center;
  margin-bottom: 4rem;
}
.about-timeline__header .section-title { color: var(--white); }
.about-timeline__header .section-title span { color: var(--blue-lt); }

/* Ligne centrale */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    var(--blue) 8%,
    rgba(30,170,226,.3) 92%,
    transparent
  );
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
  margin-bottom: 3rem;
  position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }

/* Contenu gauche/droite */
.timeline-item__content {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r2);
  padding: 1.5rem 1.75rem;
  transition: background .25s;
  position: relative;
}
.timeline-item__content:hover { background: rgba(255,255,255,.09); }

.timeline-item:nth-child(odd)  .timeline-item__content { grid-column: 1; }
.timeline-item:nth-child(odd)  .timeline-item__dot      { grid-column: 2; }
.timeline-item:nth-child(odd)  .timeline-item__empty    { grid-column: 3; }
.timeline-item:nth-child(even) .timeline-item__empty    { grid-column: 1; }
.timeline-item:nth-child(even) .timeline-item__dot      { grid-column: 2; }
.timeline-item:nth-child(even) .timeline-item__content  { grid-column: 3; }

/* Flèche pointant vers le centre */
.timeline-item:nth-child(odd) .timeline-item__content::after {
  content: '';
  position: absolute;
  right: -10px; top: 1.5rem;
  width: 0; height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid rgba(255,255,255,.08);
}
.timeline-item:nth-child(even) .timeline-item__content::after {
  content: '';
  position: absolute;
  left: -10px; top: 1.5rem;
  width: 0; height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 10px solid rgba(255,255,255,.08);
}

/* Nœud central */
.timeline-item__dot {
  display: flex;
  justify-content: center;
  padding-top: 1.2rem;
  position: relative;
  z-index: 2;
}
.timeline-item__dot-inner {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 3px solid var(--blue);
  background: var(--dark-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: .9rem;
  flex-shrink: 0;
  transition: all .25s;
}
.timeline-item:hover .timeline-item__dot-inner {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.1);
}
.timeline-item__empty {}

/* Contenu texte */
.timeline-item__year {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: .04em;
  color: var(--blue-lt);
  display: block;
  margin-bottom: .35rem;
  line-height: 1;
}
.timeline-item__title {
  font-family: var(--fd);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--white);
  margin-bottom: .4rem;
}
.timeline-item__desc {
  font-family: var(--fs);
  font-size: .85rem;
  line-height: 1.65;
  color: rgba(255,255,255,.5);
}

/* ════════════════════════════════════════════════
   3. CHIFFRES CLÉS (compteurs)
   ════════════════════════════════════════════════ */
.about-stats {
  padding: 5.5rem 0;
  background: var(--off);
  position: relative;
  overflow: hidden;
}
.about-stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg,
    var(--blue) 0%, var(--red) 33%, var(--orange) 66%, var(--yellow) 100%);
}
.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.about-stat-card {
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: var(--r3);
  padding: 2.25rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.about-stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  transform: scaleX(0); transform-origin: center;
  transition: transform .35s var(--ease);
}
.about-stat-card:nth-child(1)::before,
.about-stat-card:nth-child(4)::before { background: var(--blue); }
.about-stat-card:nth-child(2)::before,
.about-stat-card:nth-child(5)::before { background: var(--red); }
.about-stat-card:nth-child(3)::before,
.about-stat-card:nth-child(6)::before { background: var(--orange); }
.about-stat-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lift); }
.about-stat-card:hover::before { transform: scaleX(1); }

.about-stat-card__icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1.25rem;
  transition: transform .3s var(--ease);
}
.about-stat-card:hover .about-stat-card__icon { transform: scale(1.12) rotate(-8deg); }
.about-stat-card:nth-child(1) .about-stat-card__icon,
.about-stat-card:nth-child(4) .about-stat-card__icon { background: rgba(30,170,226,.1); color: var(--blue); }
.about-stat-card:nth-child(2) .about-stat-card__icon,
.about-stat-card:nth-child(5) .about-stat-card__icon { background: rgba(217,58,43,.1); color: var(--red); }
.about-stat-card:nth-child(3) .about-stat-card__icon,
.about-stat-card:nth-child(6) .about-stat-card__icon { background: rgba(240,120,40,.1); color: var(--orange); }

.about-stat-card__num {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--dark);
  margin-bottom: .3rem;
}
.about-stat-card:nth-child(1) .about-stat-card__num,
.about-stat-card:nth-child(4) .about-stat-card__num { color: var(--blue); }
.about-stat-card:nth-child(2) .about-stat-card__num,
.about-stat-card:nth-child(5) .about-stat-card__num { color: var(--red); }
.about-stat-card:nth-child(3) .about-stat-card__num,
.about-stat-card:nth-child(6) .about-stat-card__num { color: var(--orange); }

.about-stat-card__lbl {
  font-family: var(--fb);
  font-weight: 600;
  font-size: .88rem;
  color: var(--dark);
  margin-bottom: .3rem;
}
.about-stat-card__sub {
  font-family: var(--fs);
  font-size: .75rem;
  color: var(--g500);
}

/* ════════════════════════════════════════════════
   4. VALEURS
   ════════════════════════════════════════════════ */
.about-values {
  padding: 6rem 0;
  background: var(--white);
}
.about-values__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.about-values__header .section-divider { justify-content: center; }

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card {
  border: 1px solid var(--g100);
  border-radius: var(--r3);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all .3s var(--ease);
  background: var(--white);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lift); border-color: transparent; }

/* Numéro grand en fond */
.value-card__num {
  position: absolute;
  top: .75rem; right: 1.25rem;
  font-family: var(--fd);
  font-weight: 700;
  font-size: 5rem;
  line-height: 1;
  color: var(--g100);
  pointer-events: none;
  user-select: none;
  transition: color .3s;
}
.value-card:hover .value-card__num { color: rgba(30,170,226,.06); }

.value-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--r2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  transition: transform .3s var(--ease);
}
.value-card:hover .value-card__icon { transform: scale(1.1) rotate(-6deg); }

/* Couleurs alternées */
.value-card:nth-child(1) .value-card__icon { background: rgba(30,170,226,.1); color: var(--blue); }
.value-card:nth-child(2) .value-card__icon { background: rgba(217,58,43,.1); color: var(--red); }
.value-card:nth-child(3) .value-card__icon { background: rgba(240,120,40,.1); color: var(--orange); }
.value-card:nth-child(4) .value-card__icon { background: rgba(30,170,226,.1); color: var(--blue); }
.value-card:nth-child(5) .value-card__icon { background: rgba(217,58,43,.1); color: var(--red); }
.value-card:nth-child(6) .value-card__icon { background: rgba(240,120,40,.1); color: var(--orange); }

.value-card__title {
  font-family: var(--fd);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--dark);
  margin-bottom: .75rem;
}
.value-card__text {
  font-family: var(--fs);
  font-size: .88rem;
  line-height: 1.75;
  color: var(--g500);
}

/* ════════════════════════════════════════════════
   5. ÉQUIPE
   ════════════════════════════════════════════════ */
.about-team {
  padding: 6rem 0;
  background: var(--off);
}
.about-team__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}
.about-team__header .section-divider { justify-content: center; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--r3);
  overflow: hidden;
  box-shadow: var(--sh-card);
  transition: all .3s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lift); }

.team-card__img {
  width: 100%; height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 5s ease;
}
.team-card:hover .team-card__img { transform: scale(1.05); }

.team-card__body {
  padding: 1.4rem 1.25rem 1.25rem;
}
.team-card__name {
  font-family: var(--fd);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--dark);
  margin-bottom: .2rem;
}
.team-card__role {
  font-family: var(--fs);
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .15rem;
}
.team-card__location {
  font-family: var(--fs);
  font-size: .76rem;
  color: var(--g500);
  display: flex; align-items: center; gap: .3rem;
  margin-bottom: .85rem;
}
.team-card__desc {
  font-family: var(--fs);
  font-size: .82rem;
  line-height: 1.65;
  color: var(--g700);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.team-card__socials {
  display: flex; gap: .5rem;
}
.team-card__socials a {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--g100);
  display: flex; align-items: center; justify-content: center;
  color: var(--g500); font-size: .68rem;
  transition: all .22s;
}
.team-card__socials a:hover {
  background: var(--blue); border-color: var(--blue);
  color: var(--white); transform: translateY(-2px);
}

/* ════════════════════════════════════════════════
   6. SERVICES RAPIDES (grille liens)
   ════════════════════════════════════════════════ */
.about-services {
  padding: 5.5rem 0;
  background: var(--white);
}
.about-services__header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3rem;
}
.about-services__header .section-divider { justify-content: center; }

.about-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.about-service-link {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.4rem 1.6rem;
  background: var(--off);
  border: 1px solid var(--g100);
  border-radius: var(--r2);
  text-decoration: none;
  transition: all .25s var(--ease);
  position: relative; overflow: hidden;
}
.about-service-link::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; border-radius: 2px 0 0 2px;
  background: var(--blue);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .25s var(--ease);
}
.about-service-link:nth-child(2)::after { background: var(--red); }
.about-service-link:nth-child(3)::after { background: var(--orange); }
.about-service-link:nth-child(4)::after { background: var(--blue); }
.about-service-link:nth-child(5)::after { background: var(--red); }
.about-service-link:nth-child(6)::after { background: var(--orange); }
.about-service-link:hover {
  background: var(--white);
  box-shadow: var(--sh-card);
  border-color: transparent;
  transform: translateX(4px);
}
.about-service-link:hover::after { transform: scaleY(1); }
.about-service-link__icon {
  width: 44px; height: 44px;
  border-radius: var(--r1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.about-service-link:nth-child(1) .about-service-link__icon { background: rgba(30,170,226,.1); color: var(--blue); }
.about-service-link:nth-child(2) .about-service-link__icon { background: rgba(217,58,43,.1); color: var(--red); }
.about-service-link:nth-child(3) .about-service-link__icon { background: rgba(240,120,40,.1); color: var(--orange); }
.about-service-link:nth-child(4) .about-service-link__icon { background: rgba(30,170,226,.1); color: var(--blue); }
.about-service-link:nth-child(5) .about-service-link__icon { background: rgba(217,58,43,.1); color: var(--red); }
.about-service-link:nth-child(6) .about-service-link__icon { background: rgba(240,120,40,.1); color: var(--orange); }
.about-service-link__info {}
.about-service-link__title {
  font-family: var(--fd);
  font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--dark);
  margin-bottom: .18rem;
}
.about-service-link__desc {
  font-family: var(--fs);
  font-size: .78rem; line-height: 1.5; color: var(--g500);
}
.about-service-link__arr {
  margin-left: auto; color: var(--g300);
  font-size: .8rem; flex-shrink: 0;
  transition: all .22s;
}
.about-service-link:hover .about-service-link__arr { color: var(--blue); transform: translateX(3px); }

/* ════════════════════════════════════════════════
   7. BANNIÈRE CTA
   ════════════════════════════════════════════════ */
.about-cta {
  padding: 5rem 0;
  background: var(--dark);
  position: relative; overflow: hidden;
}
.about-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(108deg,
    rgba(30,170,226,.12) 0%, transparent 50%, rgba(240,120,40,.08) 100%);
  pointer-events: none;
}
.about-cta::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg,
    var(--blue) 0%, var(--red) 33%, var(--orange) 66%, var(--yellow) 100%);
}
.about-cta__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.about-cta__title {
  font-family: var(--fd); font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--white); line-height: 1.1;
  margin-bottom: .5rem;
}
.about-cta__title span { color: var(--blue-lt); }
.about-cta__sub {
  font-family: var(--fs); font-size: .97rem;
  color: rgba(255,255,255,.55); max-width: 480px;
}
.about-cta__actions {
  display: flex; align-items: center; gap: .85rem;
  flex-shrink: 0; flex-wrap: wrap;
}
.btn-white {
  background: var(--white); color: var(--dark);
  font-family: var(--fb); font-weight: 700;
  box-shadow: 0 5px 20px rgba(0,0,0,.2);
}
.btn-white:hover { background: var(--off); transform: translateY(-3px); }

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */
@media (max-width: 1060px) {
  .about-intro__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-intro__visuals { order: -1; }
  .about-intro__img-secondary { right: 1rem; bottom: -1.5rem; }
  .about-intro__badge { left: 1rem; }
  .about-stats__grid { grid-template-columns: repeat(3, 1fr); }
  .about-values__grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  /* ── Timeline mobile : colonne unique gauche → droite ── */
  .timeline { max-width: 100%; padding: 0 .25rem; }
  .timeline::before {
    left: 20px;           /* ligne verticale collée à gauche */
    transform: none;
  }
  .timeline-item {
    grid-template-columns: 44px 1fr;  /* dot | contenu */
    grid-template-rows: auto;
    gap: 0 .85rem;
    margin-bottom: 2rem;
  }
  /* Tous les items : dot colonne 1, contenu colonne 2 */
  .timeline-item__dot              { grid-column: 1; grid-row: 1; padding-top: .5rem; justify-content: center; }
  .timeline-item__content          { grid-column: 2; grid-row: 1; }
  .timeline-item__empty            { display: none !important; }
  /* Réinitialiser les inversions pair/impair */
  .timeline-item:nth-child(odd)  .timeline-item__content { grid-column: 2; }
  .timeline-item:nth-child(odd)  .timeline-item__dot     { grid-column: 1; }
  .timeline-item:nth-child(even) .timeline-item__content { grid-column: 2; }
  .timeline-item:nth-child(even) .timeline-item__dot     { grid-column: 1; }
  /* Masquer toutes les flèches latérales */
  .timeline-item__content::after  { display: none !important; }
  /* Dot plus petit sur mobile */
  .timeline-item__dot-inner { width: 36px; height: 36px; font-size: .78rem; }
  /* Padding contenu réduit */
  .timeline-item__content { padding: 1rem 1.25rem; }
  .timeline-item__year    { font-size: 1.3rem; }
  /* CTA */
  .about-cta__inner   { flex-direction: column; text-align: center; }
  .about-cta__actions { justify-content: center; }
}
@media (max-width: 640px) {
  .about-intro { padding: 4rem 0; }
  .about-timeline { padding: 4rem 0; }
  .about-stats { padding: 4rem 0; }
  .about-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .about-values { padding: 4rem 0; }
  .about-values__grid { grid-template-columns: 1fr; }
  .about-team { padding: 4rem 0; }
  .team-grid { grid-template-columns: 1fr; }
  .about-services__grid { grid-template-columns: 1fr; }
  .about-intro__img-main img { height: 300px; }
  .about-intro__img-secondary { display: none; }
}
