/* ═══════════════════════════════════════════════════════════════
   BIOGRAPHIE.CSS - Section biographie (texte gauche + photo droite)
═══════════════════════════════════════════════════════════════ */

#biographie {
  padding-top: calc(var(--header-height) + 6rem);
  padding-bottom: 8rem;
  background-color: var(--noir);
}

.bio-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 7rem;
}

/* ── Colonne texte ───────────────────────────────────────────── */
.bio-texte {
  flex: 1.1;
}

.bio-titre {
  font-family: var(--font-titre);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--blanc-pur);
}

.bio-titre em {
  font-style: italic;
  margin-left: 1rem;
  color: var(--or);
}

.bio-texte p {
  font-family: var(--font-corps);
  font-weight: 300;
  font-size: 0.97rem;
  line-height: 1.9;
  color: var(--gris-moyen);
  margin-bottom: 1.2rem;
}

.bio-texte p:last-child {
  margin-bottom: 0;
}

/* ── Séparateur bilingue FR / EN ─────────────────────────────── */
/*
  ✏️  Largeur : modifier max-width ci-dessous
  ✏️  Couleur : modifier les valeurs rgba()
*/
.bio-separateur {
  display: flex;
  justify-content: flex-start; /* Aligné à gauche comme le texte */
  margin: 1.8rem 0;
}

.bio-separateur-ligne {
  width: 100%;
  max-width: 220px;            /* ✏️  Largeur du trait */
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(184, 150, 46, 0.9) 0%,    /* ✏️  --or, opaque à gauche */
    rgba(212, 176, 96, 0.6) 60%,   /* ✏️  --or-clair, fondu */
    transparent 100%
  );
}
/*
  Le wrapper est ce qui "zoom" au hover via transform: scale.
  La photo remplit le wrapper à 100%, elle ne bouge pas.
  Le border doré est sur le wrapper → il zoome avec lui.
  Résultat : photo + cadre grossissent ensemble d'un bloc.
*/
.bio-photo-wrapper {
  flex: 0.85;
  border: 1px solid rgba(184, 150, 46, 0.5);  /* Cadre doré autour */
  display: inline-block;                        /* Se réduit à la taille de la photo */
  line-height: 0;                               /* Supprime l'espace sous l'image */
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.5s ease;
  cursor: default;
}

/* Zoom de l'ensemble (photo + cadre) au hover */
.bio-photo-wrapper:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.bio-photo {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  -webkit-user-drag: none;
  user-select: none;
  filter: grayscale(15%) contrast(1.05);
  transition: filter 0.5s ease;
}

.bio-photo-wrapper:hover .bio-photo {
  filter: grayscale(0%) contrast(1);
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .bio-inner {
    flex-direction: column;
    gap: 3.5rem;
  }

  .bio-photo-wrapper {
    width: 80%;
    max-width: 380px;
    align-self: center;
  }
}

@media (max-width: 600px) {
  #biographie {
    padding-top: calc(var(--header-height) + 3.5rem);
    padding-bottom: 5rem;
  }

  .bio-inner {
    padding: 0 1.2rem;
  }

  .bio-photo-wrapper {
    width: 100%;
    max-width: none;
  }
}
