/* =========================================================
   PAGE À PROPOS — utilise les cartes de la page Prestations (prestations.css)
   et ajoute seulement une grille à deux colonnes.
   ========================================================= */

.presta__grille--deux {
  grid-template-columns: minmax(0, 0.78fr) repeat(2, minmax(0, 1fr));
}

/* Photo : portrait aux coins arrondis, à ses proportions naturelles, centré à gauche des cartes */
.apropos__photo {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 1.5px solid rgba(255, 248, 238, 0.95);
  border-radius: calc(var(--u) * 1.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 calc(var(--u) * 0.15) calc(var(--u) * 0.4) rgba(90, 40, 15, 0.10),
    0 calc(var(--u) * 0.9) calc(var(--u) * 2.2) rgba(90, 40, 15, 0.16);
  animation: carte-entree 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s backwards;
}

.apropos__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 960px) {
  .presta__grille--deux {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apropos__photo {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: center;
    width: min(100%, 320px);
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 640px) {
  .presta__grille--deux {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apropos__photo {
    animation: none;
  }
}

