/* Page À propos — s'appuie sur realisations-v2.css (palette, nav, boutons, CTA, pied de page). */

/* 1. Héros : texte à gauche, portrait dans un viseur à droite. */
.ab-hero { padding: clamp(120px, 16vh, 180px) 0 clamp(60px, 9vw, 120px); min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.ab-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: center; width: 100%; }
.ab-title { margin: 0 0 24px; font-family: var(--display); font-weight: 400; font-size: clamp(52px, 8.4vw, 136px); line-height: .9; letter-spacing: -.05em; }
.ab-title span { display: block; }
.ab-title em { font-style: normal; color: var(--muted); }
.ab-lede { max-width: 44ch; margin: 0 0 32px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); }
.ab-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ab-portrait { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.ab-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.08); filter: blur(10px) saturate(.6); transition: transform 1600ms var(--ease-out), filter 1200ms var(--ease-out); }
.ab-portrait.is-locked img { transform: none; filter: none; }
.ab-vf { position: absolute; inset: 18px; pointer-events: none; }
.ab-vf i { position: absolute; width: 28px; height: 28px; border: 0 solid rgba(243, 241, 236, .85); }
.ab-vf i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.ab-vf i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.ab-vf i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.ab-vf i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
/* La boîte AF part grande et se pose sur le visage, puis passe au vert. */
.ab-af { position: absolute; left: 32%; top: 14%; width: 36%; height: 34%; color: #f3f1ec; transform: scale(1.9); opacity: 0; transition: transform 1100ms var(--ease-out) 200ms, opacity 400ms ease 200ms, color 250ms ease 1200ms; pointer-events: none; }
.ab-portrait.is-locked .ab-af { transform: none; opacity: .95; color: #9be29b; }
.ab-af i { position: absolute; width: 14px; height: 14px; border: 0 solid currentColor; }
.ab-af i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.ab-af i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.ab-af i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.ab-af i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.ab-af b { position: absolute; top: -18px; left: 0; font: 500 10px/1 var(--display); letter-spacing: .14em; white-space: nowrap; }
.ab-portrait figcaption { position: absolute; left: 30px; right: 30px; bottom: 30px; display: flex; justify-content: space-between; font: 500 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #f3f1ec; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.ab-portrait figcaption span:first-child { color: #ff7b7f; }

/* Entrée du héros, ligne par ligne. */
/* Animation CSS pure : le texte apparaît même si le script ne se charge pas. */
[data-ab-in] { animation: ab-in 900ms var(--ease-out) both; }
[data-ab-in]:nth-child(2) { animation-delay: 90ms; }
[data-ab-in]:nth-child(3) { animation-delay: 180ms; }
[data-ab-in]:nth-child(4) { animation-delay: 270ms; }
@keyframes ab-in { from { opacity: 0; transform: translateY(24px); } }

/* 2. Histoire : grande citation à gauche, texte à droite. */
.ab-story { padding: clamp(80px, 12vw, 180px) 0; background: var(--paper); color: var(--bg); }
.ab-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.ab-quote { position: sticky; top: 120px; }
.ab-story .ab-quote em { color: var(--muted-light); }
.ab-story-text p { margin: 0 0 22px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; }
.ab-story-text p:last-child { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); line-height: 1.3; letter-spacing: -.02em; margin-top: 36px; }

/* 3. Sur le terrain : photo de tournage pleine largeur + fiche technique. */
.ab-field { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg); }
.ab-field-media { position: absolute; inset: -10% 0; will-change: transform; }
.ab-field-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.ab-field-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 24, 23, .92) 0%, rgba(21, 24, 23, .55) 45%, rgba(21, 24, 23, .1) 100%), linear-gradient(0deg, rgba(21, 24, 23, .85), transparent 55%); }
.ab-field-body { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; padding-top: 140px; padding-bottom: clamp(60px, 9vw, 120px); }
.ab-field-lede { max-width: 44ch; color: var(--muted); margin: 0; }
.ab-kit { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ab-kit div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ab-kit dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ab-kit dd { margin: 0; font-family: var(--display); font-size: clamp(16px, 1.4vw, 19px); text-align: right; }

/* 4. Méthode : trois étapes. */
.ab-method { padding: clamp(90px, 12vw, 180px) 0; background: var(--bg); }
.ab-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); list-style: none; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0; }
.ab-steps li { padding-top: 22px; border-top: 1px solid var(--line); }
.ab-steps span { font-family: var(--display); color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.ab-steps h3 { margin: 14px 0 10px; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.03em; }
.ab-steps p { margin: 0; color: var(--muted); max-width: 34ch; }

/* 5. Bande de photos qui défile en continu. */
.ab-strip { padding: 0 0 clamp(80px, 10vw, 140px); background: var(--bg); overflow: hidden; }
.ab-strip-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.ab-marquee-track { display: flex; gap: 16px; width: max-content; animation: ab-slide 60s linear infinite; }
.ab-marquee-track img { height: clamp(180px, 26vw, 340px); width: auto; border-radius: 12px; }
.ab-strip:hover .ab-marquee-track { animation-play-state: paused; }
@keyframes ab-slide { to { transform: translateX(-50%); } }

/* 6. FAQ. */
.ab-faq { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg-2); }
.ab-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.ab-q { border-top: 1px solid var(--line); }
.ab-q:last-child { border-bottom: 1px solid var(--line); }
.ab-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-family: var(--display); font-size: clamp(19px, 1.7vw, 24px); }
.ab-q summary::-webkit-details-marker { display: none; }
.ab-q summary::after { content: "+"; color: var(--muted); transition: transform 200ms var(--ease-out); }
.ab-q[open] summary::after { transform: rotate(45deg); }
.ab-q p { margin: 0 0 22px; color: var(--muted); max-width: 60ch; }
.rx-cta p a { color: inherit; }

@media (max-width: 900px) {
  .ab-hero { min-height: 0; }
  .ab-hero-grid, .ab-story-grid, .ab-field-body, .ab-faq-grid { grid-template-columns: 1fr; }
  .ab-hero { padding-top: 104px; }
  .ab-portrait { order: -1; width: min(100%, 300px); aspect-ratio: 1; }
  .ab-portrait figcaption { left: 22px; right: 22px; bottom: 22px; }
  .ab-quote { position: static; }
  .ab-steps { grid-template-columns: 1fr; }
  .ab-field-media::after { background: linear-gradient(0deg, rgba(21, 24, 23, .95) 0%, rgba(21, 24, 23, .7) 55%, rgba(21, 24, 23, .25) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  [data-ab-in] { animation: none; }
  .ab-portrait img { transform: none; filter: none; transition: none; }
  .ab-af { transform: none; opacity: .95; color: #9be29b; transition: none; }
  .ab-marquee-track { animation: none; }
  .ab-field-media { transform: none !important; }
}
