/* ─── Page « À propos » — design épuré, courbes de niveau ────────────────── */

.apropos {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  color: var(--encre);
}

.apropos a:not([class]) { color: var(--mousse); }
.apropos a:not(.btn-primary):hover { text-decoration: none; }

/* ─── Intro ─────────────────────────────────────────────────────────────── */
.apropos-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.apropos-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mousse);
  margin-bottom: 1rem;
}

.apropos-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #3a3630;
  margin-bottom: 1.75rem;
}

.apropos-lead strong { color: var(--ardoise); }

/* Chiffres clés */
.apropos-chiffres {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--creme);
  padding-top: 1.5rem;
}

.apropos-chiffres li {
  display: flex;
  flex-direction: column;
}

.apropos-chiffres__valeur {
  font-family: var(--font-titre);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--ardoise);
}

.apropos-chiffres__libelle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pierre);
  max-width: 10rem;
}

/* Photo + courbes de niveau concentriques */
.apropos-intro__visuel {
  display: flex;
  justify-content: center;
}

.apropos-photo {
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 1;
}

.apropos-photo__courbes {
  position: absolute;
  /* -25% : déborde de 25% de chaque côté du cadre photo */
  inset: -25%;
  background-color: var(--lichen);
  -webkit-mask-image: url('/assets/curves2.svg');
  mask-image: url('/assets/curves2.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: cover;
  mask-size: cover;
  opacity: 0.85;
}

.apropos-photo__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* width: 82%; */
  height: 120%;
  object-fit: cover;
  /* border-radius: 50%; */
  /* background: var(--creme);
  border: 2px solid var(--blanc);
  box-shadow: var(--ombre); */
}

/* ─── Séparateur courbes de niveau ──────────────────────────────────────── */
.apropos-divider {
  width: 100%;
  height: 40px;
  margin: 1rem 0 2.5rem;
  color: var(--lichen);
  opacity: 0.7;
}

.apropos-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ─── Sections ──────────────────────────────────────────────────────────── */
.apropos-section {
  margin-top: 3.25rem;
}

.apropos-section--raid {
  padding: 2.5rem;
  border: 1px solid var(--creme);
  border-radius: var(--rayon);
  background: var(--neige);
  box-shadow: var(--ombre);
}

.apropos-titre {
  font-family: var(--font-titre);
  font-weight: normal;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: 0.02em;
  color: var(--ardoise);
  line-height: 1.25;
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* Courbes de niveau sous le titre */
.apropos-titre::after {
  content: "";
  display: block;
  width: 140px;
  height: 16px;
  opacity: 0.8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 24'%3E%3Cg fill='none' stroke='%237a9e6e' stroke-width='1'%3E%3Cpath d='M2 8 C 28 -2 58 18 88 8 S 148 -2 158 8'/%3E%3Cpath d='M2 14 C 28 4 58 24 88 14 S 148 4 158 14'/%3E%3Cpath d='M2 20 C 28 10 58 30 88 20 S 148 10 158 20'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 160px 16px;
}

.apropos-texte {
  max-width: 62ch;
  line-height: 1.7;
  color: #3a3630;
}

.apropos-texte + .apropos-texte { margin-top: 1rem; }
.apropos-texte strong { color: var(--ardoise); }
.apropos-texte a { color: var(--mousse); }

.apropos-lien { margin-top: 1.25rem; }

.apropos-logo { float: right; }

.apropos-logo img {
  display: inline-block;
  height: 88px;
  width: auto;
}

/* ─── Grilles de cartes ─────────────────────────────────────────────────── */
.apropos-grille {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.apropos-grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.apropos-carte {
  background: var(--neige);
  border: 1px solid var(--creme);
  border-radius: var(--rayon);
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.apropos-carte__icone { font-size: 1.6rem; line-height: 1; }

.apropos-carte h3 {
  font-family: var(--font-titre);
  font-weight: normal;
  font-size: 1.1rem;
  color: var(--ardoise);
}

.apropos-carte p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #3a3630;
}

/* ─── Palmarès (ligne du temps) ─────────────────────────────────────────── */
.apropos-palmares {
  list-style: none;
  columns: 2;
  column-gap: 2.5rem;
  margin-top: 1.75rem;
}

.apropos-palmares li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.45rem 0;
  border-bottom: 1px dotted var(--creme);
  break-inside: avoid;
}

.apropos-palmares__an {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--mousse);
  min-width: 2.6rem;
  flex-shrink: 0;
}

.apropos-palmares__ev {
  font-size: 0.92rem;
  color: var(--encre);
}

.apropos-palmares__drapeau {
  margin-left: auto;
  font-size: 1rem;
  line-height: 1;
}

/* ─── Bande CTA (témoignages) ───────────────────────────────────────────── */
.apropos-cta {
  position: relative;
  overflow: hidden;
  margin-top: 3.5rem;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: var(--rayon);
  background: var(--ardoise);
  color: var(--blanc);
}

.apropos-cta__courbes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--lichen);
  -webkit-mask-image: url('/assets/curves2.svg');
  mask-image: url('/assets/curves2.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: cover;
  mask-size: cover;
  opacity: 0.22;
}

.apropos-cta h2 {
  position: relative;
  font-family: var(--font-titre);
  font-weight: normal;
  font-size: 1.6rem;
  color: var(--neige);
  margin-bottom: 0.6rem;
}

.apropos-cta p {
  position: relative;
  color: var(--blanc);
  opacity: 0.9;
  max-width: 52ch;
  margin: 0 auto;
}

.apropos-cta__actions {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.apropos-cta__lien {
  color: var(--blanc);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
}

.apropos-cta__lien:hover { text-decoration: none; }
.apropos-cta__actions .btn-primary { color: var(--encre); }

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .apropos { padding: 2rem 1.25rem 3rem; }

  .apropos-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .apropos-intro__visuel { order: -1; }
  .apropos-photo { width: min(230px, 100%); }

  .apropos-chiffres { gap: 1.25rem; }

  .apropos-grille,
  .apropos-grille--3 { grid-template-columns: 1fr; }

  .apropos-palmares { columns: 1; }

  .apropos-section--raid { padding: 1.5rem 1.25rem; }

  .apropos-cta { padding: 2.25rem 1.25rem; }
  .apropos-cta__actions { flex-direction: column; }
}