/* ============================================================
   PAGE : DÉFINITION (À PROPOS)
   Layout : 3 éléments — définition / texte / photo
   Desktop  : définition + texte (col 1) | photo (col 2)
   Mobile   : définition → texte → photo (colonne unique)
   ============================================================ */

.about-page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: calc(var(--nav-h, 90px) + 10px) 6vw 5rem;
  box-sizing: border-box;
}

/* ── Grille principale ─────────────────────────────────── */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  grid-template-rows: auto 1fr;
  column-gap: 5vw;
  row-gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.about-definition { grid-column: 1; grid-row: 1; margin-bottom: 1.25rem; }
.about-text       { grid-column: 1; grid-row: 2; }
.about-photo      { grid-column: 2; grid-row: 2; align-self: start; margin-top: -30px; }

/* ── Élément 1 : FUGUE + définition ───────────────────── */
.about-title {
  font-family: 'AmbroiseStd', serif;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--yellow);
  margin: 0 0 0.175em;
}

.about-phonetic {
  font-family: 'AmbroiseStd', serif;
  font-size: clamp(0.8rem, 1.3vw, 1.05rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--yellow);
  margin: 0 0 0.4em;
}

.about-tagline {
  font-family: 'AmbroiseStd', serif;
  font-size: clamp(1.22rem, 2.2vw, 1.69rem);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.06em;
  color: var(--yellow);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

/* ── Élément 2 : Texte ─────────────────────────────────── */
.about-body {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.95;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.about-body:last-child { margin-bottom: 0; }

/* ── Élément 3 : Photo ─────────────────────────────────── */
.about-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, black 5%, black 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.about-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.9;
}

.about-photo-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right,  #000 0%, transparent 18%, transparent 82%, #000 100%),
    linear-gradient(to bottom, #000 0%, transparent 15%, transparent 85%, #000 100%);
}

/* ── Photo en dessous dès 1300px ───────────────────────── */
@media (max-width: 1325px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  .about-photo {
    grid-column: 1;
    grid-row: 3;
    margin-top: 2.5rem;
    align-self: auto;
  }
  .about-photo-wrap { height: auto; min-height: unset; }
  .about-photo-wrap img { height: auto; object-fit: unset; }
}

/* ── Tablet / Mobile ───────────────────────────────────── */
@media (max-width: 1200px) {
  .about-page {
    padding: calc(var(--nav-h, 70px) + 4vh) 3rem 4rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    column-gap: 0;
    row-gap: 0;
  }

  .about-definition { grid-column: 1; grid-row: 1; margin-bottom: 0.75rem; }
  .about-text       { grid-column: 1; grid-row: 2; }
  .about-photo      { grid-column: 1; grid-row: 3; margin-top: 2.5rem; align-self: auto; }

  .about-photo-wrap {
    height: auto;
    min-height: unset;
  }

  .about-photo-wrap img {
    height: auto;
    object-fit: unset;
  }

  .about-body { font-size: 0.95rem; line-height: 1.7; }
}

@media (max-width: 480px) {
  .about-title    { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .about-phonetic { font-size: 0.9rem; }
}
