/* ══════════════════════════════════════════════════════
   sections/apropos.css — Section À propos
   Layout 2 colonnes compact : texte + slider
   ══════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   GRILLE
───────────────────────────────────────── */
.apropos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 860px) {
  .apropos__grid {
    grid-template-columns: 1fr minmax(280px, 0.85fr);
    align-items: center;
  }
}

/* ─────────────────────────────────────────
   COLONNE TEXTE
───────────────────────────────────────── */
.apropos__content {
  position: relative;
  padding-left: 1.5rem;
}

@media (min-width: 860px) {
  .apropos__content {
    padding-right: 2rem;
  }
}

.apropos__content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--color-accent) 0%,
    rgba(36, 111, 159, 0.2) 100%
  );
  border-radius: 2px;
}

/* ─────────────────────────────────────────
   TITRE
───────────────────────────────────────── */
.apropos__title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  color: var(--color-dark);
  line-height: 1.15;
  margin-block: 0.75rem 1.5rem;
}

.apropos__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
}

/* ─────────────────────────────────────────
   PARAGRAPHES
───────────────────────────────────────── */
.apropos__text {
  font-size: 0.95rem;
  color: var(--color-mid);
  line-height: 1.8;
  max-width: 50ch;
}

.apropos__text + .apropos__text {
  margin-top: 0.9rem;
}

/* ─────────────────────────────────────────
   STATS — barre horizontale avec séparateurs
───────────────────────────────────────── */
.apropos__stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(28, 26, 27, 0.1);
}

.apropos__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.apropos__stat-number {
  font-family: var(--font-title);
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.apropos__stat-label {
  font-size: 0.75rem;
  color: var(--color-light);
  line-height: 1.4;
}

.apropos__stat-sep {
  width: 1px;
  height: 2.25rem;
  background: rgba(28, 26, 27, 0.12);
  flex-shrink: 0;
}

@media (max-width: 479px) {
  .apropos__stats {
    gap: 1rem;
  }

  .apropos__stat-sep {
    display: none;
  }
}

/* ─────────────────────────────────────────
   COLONNE IMAGE
───────────────────────────────────────── */
.apropos__image-wrap {
  position: relative;
}

.apropos__image-wrap::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 55%;
  height: 55%;
  background: rgba(36, 111, 159, 0.08);
  border-radius: var(--radius-md);
  z-index: 0;
}

@media (max-width: 859px) {
  .apropos__image-wrap::after {
    right: 0;
    bottom: -0.75rem;
  }
}

/* ─────────────────────────────────────────
   SLIDER crossfade
───────────────────────────────────────── */
.apropos__slider {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep, 0 28px 64px rgba(15, 25, 40, 0.22));
}

.apropos__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: aproposFade 7s ease-in-out infinite;
}

.apropos__slide:nth-child(2) {
  animation-delay: -3.5s;
}

@keyframes aproposFade {
  0%, 40%  { opacity: 1; }
  50%, 90% { opacity: 0; }
  100%     { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .apropos__slide { animation: none; opacity: 1; }
  .apropos__slide:nth-child(2) { opacity: 0; }
}
