/* ==========================================================================
   Cartoine — sections de l'accueil (hors hero)
   Réalisations (vedette, reels, photos), « Moi, c'est Antoine » + étapes,
   « Ce que je fais », bandeau Inspection drone.
   ========================================================================== */

/* --- Projet vedette ------------------------------------------------------ */
.featured-work__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-surface);
  border-radius: var(--radius);
}

.featured-work__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.featured-work__media:hover .featured-work__img { transform: scale(1.03); }

/* --- Reels : texte à gauche, 2 vidéos verticales à droite ---------------- */
.home-reels__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  justify-self: end;
  width: 100%;
  max-width: 34rem;
}

/* --- Séries photo : mosaïque en colonnes (chaque carte à son ratio) ------- */
.home-photos { columns: 3 16rem; column-gap: 1.25rem; }
.home-photos > .project-card { break-inside: avoid; margin-bottom: 1.75rem; }

/* --- « Moi, c'est Antoine » ----------------------------------------------- */
.about__photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.about__text { font-size: var(--fs-lead); line-height: var(--lh-lead); }

.steps {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Étapes sur une ligne (jusqu'à 6, page Inspection drone) */
.steps--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }

.steps__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--c-line);
}

/* Numéro d'étape en or (charte) */
.steps__number {
  color: var(--c-or);
  font-size: 1.5rem;
  font-weight: var(--fw-black);
}

.steps__title {
  color: var(--c-clair);
  font-size: var(--fs-h4);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  text-transform: uppercase;
}

.steps__text { color: var(--c-texte-2); font-size: .95rem; line-height: 1.6; }

/* --- « Ce que je fais » : un trait teal au-dessus de chaque prestation ------ */
.services { margin: 0; padding: 0; list-style: none; }

.services__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: 1.25rem;
  border-top: 3px solid var(--c-teal);
}

.services__title {
  color: var(--c-clair);
  font-size: var(--fs-h4);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  text-transform: uppercase;
}

/* --- Bandeau Inspection drone ------------------------------------------- */
.drone-band__inner { padding-block: clamp(3rem, 6vw, 4.5rem); }

.drone-band__title {
  color: var(--c-clair);
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.05;
  text-transform: uppercase;
}

.drone-band__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (prefers-reduced-motion: reduce) {
  .featured-work__img { transition: none; }
  .featured-work__media:hover .featured-work__img { transform: none; }
}

/* --- Page À propos ------------------------------------------------------- */
/* Portrait recadré en 4:5 : on garde le haut de la photo (le visage), pas le centre */
.about__photo--portrait { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }

/* Matériel : le nom en clair (pas en capitales grises comme les autres fiches) */
.gear { max-width: 52rem; }
.gear__name {
  color: var(--c-clair);
  font-size: var(--fs-body);
  letter-spacing: normal;
  text-transform: none;
}
