/* ============================================================
   HOOP N'FIT — ABOUT CSS
   Styles de la page À propos (page-a-propos.php), chargés avec home.css
   sur cette page seulement. home.css fournit la base (.hnf-home, boutons,
   badges, appel final) ; ici, uniquement les sections propres à la page,
   préfixées .ap-.
   ============================================================ */

/* --- premier écran : texte à gauche, portrait studio en tirage à droite --- */
.ap-hero { min-height: 720px; display: grid; grid-template-columns: 1.05fr 0.95fr; padding-inline: var(--hnf-edge); background: var(--hnf-black); }
.ap-hero__txt { display: flex; flex-direction: column; justify-content: flex-end; padding: 170px 40px 72px 0; position: relative; z-index: 2; }
.ap-hero__lead { font-size: 20px; color: var(--hnf-muted); max-width: 30em; margin-top: 22px; }
.ap-hero__photo { position: relative; margin: 0; padding: 150px 0 0; display: flex; align-items: flex-end; justify-content: center; }
.ap-hero__photo img { width: 86%; max-width: 560px; height: auto; display: block; border: 1px solid var(--hnf-line); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55); }
.ap-hero__photo figcaption { position: absolute; right: calc(7% + 12px); bottom: 12px; font-family: var(--font); text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 700; color: var(--hnf-muted); }

/* --- le chemin : frise verticale --- */
.hnf-home .ap-path { padding-block: 96px; background: var(--hnf-black2); }
.ap-path__head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.ap-path__head p { color: var(--hnf-muted); font-size: 19px; max-width: 28em; }
.ap-steps { position: relative; display: grid; }
.ap-steps::before { content: ""; position: absolute; left: 118px; top: 0; bottom: 0; width: 1px; background: var(--hnf-line); }
.ap-step { display: grid; grid-template-columns: 96px 44px 1fr 380px; gap: 0 24px; align-items: center; padding: 28px 0; }
.ap-step + .ap-step { border-top: 1px solid var(--hnf-line); }
.ap-step__when { font-family: var(--font); font-size: 34px; font-weight: 800; line-height: 1; color: var(--hnf-white); text-align: right; font-variant-numeric: tabular-nums; }
.ap-step__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--orange); justify-self: center; box-shadow: 0 0 0 6px var(--hnf-black2); }
.ap-step h3 { font-size: 24px; margin-bottom: 6px; }
.ap-step p { color: var(--hnf-muted); font-size: 17px; max-width: 32em; }
.ap-step figure { margin: 0; overflow: hidden; height: 190px; background: var(--hnf-black); position: relative; }
.ap-step figure img { width: 100%; height: 100%; object-fit: cover; }
.ap-step.is-method figure img { object-position: center 0; }
.ap-step__play { position: absolute; inset: 0; display: block; }
.ap-step__play::before { content: ""; position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; background: url(../images/Play.svg) center / cover no-repeat; transition: transform 0.15s ease; }
.ap-step__play:hover::before { transform: scale(1.08); }
.ap-step__play span { position: absolute; left: 12px; bottom: 10px; font-family: var(--font); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); }

/* --- qui nous sommes : deux portraits --- */
.hnf-home .ap-team { padding-block: 96px; background: var(--hnf-black); }
.ap-team__head { margin-bottom: 44px; }
.ap-team__head p { color: var(--hnf-muted); font-size: 19px; max-width: 30em; margin-top: 16px; }
.ap-team__claim { margin-top: 18px; font-family: var(--font); text-transform: uppercase; font-size: 24px; font-weight: 700; line-height: 1.15; max-width: 22em; color: var(--hnf-white) !important; }
.ap-people { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ap-person figure { margin: 0; height: 520px; overflow: hidden; background: var(--hnf-black2); }
.ap-person figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.ap-person__txt { padding: 22px 0 0; }
.ap-person__role { font-family: var(--font); text-transform: uppercase; letter-spacing: 0.14em; font-size: 14px; font-weight: 700; color: var(--orange); margin-bottom: 8px; }
.ap-person h3 { font-size: 34px; }
.ap-person p { color: var(--hnf-muted); font-size: 17px; margin-top: 10px; max-width: 30em; }

/* --- le terrain : trois photos --- */
.hnf-home .ap-field { padding-block: 96px; background: var(--hnf-black2); overflow: hidden; }
.ap-field__head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: end; margin-bottom: 40px; }
.ap-field__head p { color: var(--hnf-muted); font-size: 19px; max-width: 28em; }
.ap-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; grid-template-rows: 300px 300px; gap: 16px; }
.ap-grid figure { margin: 0; overflow: hidden; position: relative; background: var(--hnf-black); }
.ap-grid figure:first-child { grid-row: 1 / span 2; }
.ap-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.ap-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 18px 14px; background: linear-gradient(0deg, rgba(11, 15, 20, 0.9), rgba(11, 15, 20, 0)); font-family: var(--font); text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 700; }

/* --- conviction --- */
.hnf-home .ap-quote { padding-block: 110px; background: var(--hnf-black); text-align: center; }
.ap-quote blockquote { margin: 0 auto; max-width: 18em; font-family: var(--font); font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; text-transform: uppercase; line-height: 1.02; color: var(--hnf-white); }
.ap-quote p { color: var(--hnf-muted); margin-top: 22px; font-size: 17px; }

/* --- ils nous accompagnent --- */
.hnf-home .ap-partners { padding-block: 72px; background: var(--hnf-black2); border-top: 1px solid var(--hnf-line); }
.ap-partners__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.ap-partners__head p { color: var(--hnf-muted); max-width: 32em; }
.ap-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 500px; }
.ap-logo { background: #fff; height: 96px; display: grid; place-items: center; padding: 14px; }
.ap-logo img { max-height: 64px; max-width: 150px; width: auto; height: auto; }

/* --- étroit --- */
@media (max-width: 900px) {
  .ap-hero { grid-template-columns: 1fr; min-height: 0; padding-inline: 0; }
  .ap-hero__photo { order: -1; padding: 124px 20px 0; flex-direction: column; align-items: stretch; }
  .ap-hero__photo img { width: 100%; max-width: none; }
  .ap-hero__photo figcaption { position: static; margin-top: 10px; text-align: right; }
  .ap-hero__txt { padding: 28px 20px 44px; }
  .hnf-home .ap-path { padding-block: 44px; }
  .ap-path__head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; }
  .ap-path__head p { font-size: 17px; }
  .ap-steps::before { left: 7px; }
  .ap-step { grid-template-columns: 28px 1fr; gap: 6px 14px; padding: 20px 0; }
  .ap-step__when { grid-column: 2; text-align: left; font-size: 22px; color: var(--orange); }
  .ap-step__dot { grid-column: 1; grid-row: 1 / span 3; align-self: start; margin-top: 6px; box-shadow: 0 0 0 5px var(--hnf-black2); }
  .ap-step h3, .ap-step p { grid-column: 2; }
  .ap-step p { font-size: 16px; }
  .ap-step figure { grid-column: 2; height: 180px; margin-top: 10px; }
  .hnf-home .ap-team { padding-block: 44px; }
  .ap-team__head { margin-bottom: 24px; }
  .ap-team__head p { font-size: 17px; }
  .ap-team__claim { font-size: 20px; }
  .ap-people { grid-template-columns: 1fr; gap: 32px; }
  .ap-person figure { height: 360px; }
  .ap-person h3 { font-size: 28px; }
  .hnf-home .ap-field { padding-block: 44px; }
  .ap-field__head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
  .ap-field__head p { font-size: 17px; }
  .ap-grid { grid-template-columns: 1fr; grid-template-rows: 280px 220px 220px; }
  .ap-grid figure:first-child { grid-row: auto; }
  .hnf-home .ap-quote { padding-block: 56px; }
  .hnf-home .ap-partners { padding-block: 44px; }
  .ap-logos { gap: 8px; }
  .ap-logo { height: 72px; padding: 10px; }
}
