/* =====================================================================================================
   Yoca média - ABOUT PAGE (07_a-propos.html, en/07_about.html)
   -----------------------------------------------------------------------------------------------------
   Copy of the NuxCine reference "About" page (nuxcines-beautiful-site-e-9444959f0c9ea.webflow.io/about):
   black page (#0a0a0a), centred "Notre Histoire." title, sticky timeline (giant date on the left, white dot
   in the middle, text + picture on the right, gold-to-red progress line filled as you scroll), then the
   team list ("Les talents derrière le média") whose photo follows the mouse. Yoca additions, same style:
   "Ils nous ont fait confiance" (partner wall), "Comment on travaille ensemble" (4 steps, links to the
   advertisers and partnerships pages) and the closing call to action.
   Behaviour (progress line, active dates, hover photo): assets/js/yoca-about.js.
   Pictures: the camouflage visual is the demo picture of the reference site, to be replaced in Webflow.
   ===================================================================================================== */

.about { --ink: #0a0a0a; --line: #e7e7e714; --soft: #ffffffa6; --gold: #eba901; background: var(--ink); color: #fff; }
.about ::selection { background: var(--red); color: #fff; }
.about-container { width: 90vw; max-width: 1360px; margin: 0 auto; }
.about p { margin: 0; }
.about strong { color: #fff; font-weight: 700; }
/* Rubric names quoted in the text (« Le savais-tu ? »): the site-wide em is dark, unreadable on black. */
.about em { color: var(--gold); font-style: normal; font-weight: 600; white-space: nowrap; }
.about a:not(.roll-button) { border: 0; }

/* ---------- Hero: "Notre Histoire." ---------- */
.about-hero { padding: 200px 0 120px; }
.about-hero__inner { max-width: 680px; margin: 0 auto; text-align: center; }
.about-hero h1 { margin: 0 0 32px; font-size: clamp(3.4rem, 8vw, 6.4rem); line-height: 1.02; letter-spacing: -.02em; color: #fff; }
.about-dot { color: var(--red); }
.about-hero__lead { margin-bottom: 24px !important; font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; color: #fff; }
.about-hero__text { display: grid; gap: 18px; font-size: 20px; letter-spacing: -.02em; line-height: 1.55; color: var(--soft); }

/* ---------- Timeline ---------- */
.timeline-x { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 1320px; margin: 0 auto; }
.timeline-x__progress { position: absolute; top: 0; bottom: 0; left: 50%; z-index: 0; width: 3px; margin-left: -1.5px; background: #414141; }
.timeline-x__bar { position: absolute; top: 0; left: 0; width: 100%; height: var(--progress, 0px); background: linear-gradient(var(--gold), var(--red) 60%, #711d2d); box-shadow: 0 0 18px #f1291e66; }
.timeline-x__fade { position: absolute; inset: 0 0 auto; z-index: 3; height: 80px; background: linear-gradient(var(--ink), #0a0a0a00); pointer-events: none; }

.timeline-x__item { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 180px 1fr; width: 100%; padding: 80px 0; }
.timeline-x__left { text-align: right; }
.timeline-x__date {
  position: sticky; top: 50vh;
  font-family: Lato, var(--main-font); font-size: 70px; font-weight: 900; line-height: 1.2; letter-spacing: -.03em;
  color: #fff; opacity: .22; transform: translateY(-50%);
  transition: opacity .6s var(--ease-site);
}
.timeline-x__centre { display: flex; justify-content: center; }
.timeline-x__circle {
  position: sticky; top: 50vh;
  width: 15px; height: 15px; border-radius: 50%;
  background: #5a5a5a; box-shadow: 0 0 0 8px var(--ink);
  transition: background-color .5s var(--ease-site), box-shadow .5s var(--ease-site);
}
.timeline-x__item.is-active .timeline-x__date { opacity: 1; }
.timeline-x__item.is-active .timeline-x__circle { background: #fff; box-shadow: 0 0 0 8px var(--ink), 0 0 0 9px #f1291e59, 0 0 24px 8px #f1291e40; }

.timeline-x__right { max-width: 620px; }
.timeline-x__kicker { margin-bottom: 14px !important; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.timeline-x__title { margin: 0 0 32px; font-size: clamp(2.2rem, 3.6vw, 3.6rem); line-height: 1.08; letter-spacing: -.01em; color: #fff; }
.timeline-x__text { display: grid; gap: 1.1em; font-size: 1.25rem; font-weight: 500; line-height: 1.4; color: #fff; }
.timeline-x__text .is-soft { color: var(--soft); }
.timeline-x__quote { padding-left: 18px; border-left: 3px solid var(--red); font-family: var(--heading-font); font-size: 1.6rem; font-weight: 400; line-height: 1.3; }
.timeline-x__media { margin-top: 56px; overflow: hidden; border-radius: 12px; background: linear-gradient(138deg, #000, #0000 28%), #1a1a1a; }
.timeline-x__media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease-out-expo); }
.timeline-x__item.is-active .timeline-x__media img { transform: none; }

/* ---------- Team: "Les talents derrière le média" ---------- */
.about-team { padding: 9rem 0 8rem; overflow: hidden; }
.about-team__intro { max-width: 760px; margin: 0 auto 5rem; text-align: center; }
.about-team__intro h2 { margin: 0 0 22px; font-size: clamp(3rem, 6.4vw, 4.8rem); font-weight: 700; line-height: 1.1; color: #fff; }
.about-team__sub { margin-bottom: 26px !important; font-size: 20px; font-weight: 600; color: #fff; }
.about-team__intro p:not(.about-team__sub) { font-size: 18px; line-height: 1.6; color: var(--soft); }
.about-team__intro p + p { margin-top: 14px; }

.works-label { display: flex; align-items: center; gap: .625rem; padding: 0 0 1.6rem 2.5rem; font-size: 1rem; color: #fff; }
.works-label svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; animation: about-bob 2.4s var(--ease-site) infinite; }
@keyframes about-bob { 50% { transform: translateY(4px); } }

.works { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.work-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 16px; min-height: 8rem; padding: 2rem 2.5rem; border-top: 1px solid var(--line); color: #f7f7f7; cursor: default; transition: opacity .4s var(--ease-site); }
.works:hover .work-row:not(:hover) { opacity: .35; }
.work-row__left { display: flex; align-items: center; }
.work-row__icon { display: flex; flex: none; justify-content: center; align-items: center; width: 0; height: 2rem; margin-right: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 100rem; opacity: 0; transition: width .6s var(--ease-out-expo), margin .6s var(--ease-out-expo), opacity .4s var(--ease-site), background-color .4s var(--ease-site); }
.work-row__icon svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.work-row:hover .work-row__icon { width: 3.5rem; margin-right: 1.25rem; opacity: 1; background: var(--red); border-color: var(--red); }
.work-row h3 { margin: 0; padding-top: .625rem; font-family: var(--main-font); font-size: 2.8rem; font-weight: 400; line-height: .85; text-transform: uppercase; color: #fff; }
.work-row__right { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-size: 1rem; }
.work-row__right strong { font-weight: 700; }
.work-row__right span { color: var(--soft); }
.about .about-team__outro { max-width: 760px; margin: 5rem auto 0; text-align: center; font-family: var(--heading-font); font-size: 1.6rem; line-height: 1.4; color: #fff; }

/* Photo that follows the mouse (desktop with a mouse only). */
.work-photo { position: fixed; top: 0; left: 0; z-index: 50; width: 25rem; max-width: 34vw; aspect-ratio: 1; margin: -6rem 0 0 -6rem; overflow: hidden; border-radius: .2rem; pointer-events: none; opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(.9); transition: opacity .35s var(--ease-site), transform .5s var(--ease-out-expo); }
.work-photo.is-on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(1); }
.work-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.work-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0d0d0d00 55%, #0d0d0d99); }

/* ---------- Former members (About page and team page) ---------- */
.team-former .works-label { padding-left: 0; color: #ffffffb3; }
.former-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.former-row { display: grid; grid-template-columns: 1.4fr 1fr auto; align-items: center; gap: 16px; padding: 1.6rem 0; border-top: 1px solid var(--line); color: #ffffff8c; }
.former-row h3 { margin: 0; font-family: var(--main-font); font-size: 1.8rem; font-weight: 400; line-height: 1; text-transform: uppercase; color: #ffffffb3; }
.former-row__period { font-size: 15px; text-align: right; }
.former-row__tag { justify-self: start; margin-left: 12px; padding: 3px 10px; border: 1px dashed #ffffff40; border-radius: 50px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; color: #ffffff8c; }

/* Featured members on the About page: "see the whole team" button, then former members. */
.about-team__more { display: flex; justify-content: center; margin-top: 3rem; }
.about-former { margin-top: 5rem; }
.about-former .works-label { padding-left: 2.5rem; color: #ffffffb3; }
.about-former .former-row { padding: 1.4rem 2.5rem; }
.about-former__link { display: inline-flex; margin: 22px 0 0 2.5rem; font-size: 15px; font-weight: 600; color: #ffffffb3; border-bottom: 1px solid #ffffff40 !important; transition: color .3s var(--ease-site), border-color .3s var(--ease-site); }
.about-former__link:hover { color: #fff; border-color: var(--red) !important; }

/* ---------- Shared head for the Yoca additions ---------- */
.about-band { padding: 7rem 0; border-top: 1px solid var(--line); }
.about-band__head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 4rem; }
.about-band__head h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.08; color: #fff; }
.about-band__head p { font-size: 18px; line-height: 1.6; color: var(--soft); }
.about-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px !important; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.about-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- "Ils nous ont fait confiance": partner wall ---------- */
.trust-wall { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.trust-wall li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-logo { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; min-height: 190px; padding: 28px; color: #fff; text-align: center; transition: background-color .5s var(--ease-site); }
.trust-logo:hover { background: #ffffff08; color: #fff; }
.trust-logo__name { font-family: var(--heading-font); font-size: 30px; line-height: 1.1; letter-spacing: -.01em; opacity: .85; transition: opacity .4s var(--ease-site); }
.trust-logo:hover .trust-logo__name { opacity: 1; }
.trust-logo__role { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #ffffff73; }
.trust-logo.is-open { border: 0; }
.trust-logo.is-open .trust-logo__name { font-family: var(--main-font); font-size: 18px; font-weight: 600; color: #ffffffb3; }
.trust-logo.is-open::before { content: ""; position: absolute; inset: 18px; border: 1px dashed #ffffff26; border-radius: 10px; transition: border-color .4s var(--ease-site); }
.trust-logo.is-open:hover::before { border-color: var(--red); }
.trust-note { margin-top: 18px !important; font-size: 14px; color: #ffffff73; }

/* ---------- "Comment on travaille ensemble": 4 steps + 2 doors ---------- */
.work-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; counter-reset: step; }
.work-steps li { position: relative; padding: 34px 28px 30px 0; border-top: 1px solid #ffffff2e; counter-increment: step; }
.work-steps li::before { content: "0" counter(step); display: block; margin-bottom: 26px; font-family: Lato, var(--main-font); font-size: 15px; font-weight: 900; letter-spacing: .08em; color: var(--gold); }
.work-steps li::after { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--red); transition: width 1.2s var(--ease-out-expo); }
.work-steps li:hover::after { width: 100%; }
.work-steps h3 { margin: 0 0 12px; font-size: 26px; line-height: 1.2; color: #fff; }
.work-steps p { font-size: 17px; line-height: 1.55; color: var(--soft); }

.work-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 4rem; }
.work-door { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 280px; padding: 36px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #121212; color: #fff; isolation: isolate; transition: border-color .5s var(--ease-site), transform .8s var(--ease-out-expo); }
.work-door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, #f1291e3d, #f1291e00 60%); opacity: 0; transition: opacity .6s var(--ease-site); }
.work-door:hover { border-color: #f1291e80; color: #fff; transform: translateY(-4px); }
.work-door:hover::before { opacity: 1; }
.work-door__tag { align-self: flex-start; padding: 5px 12px; border: 1px solid #ffffff33; border-radius: 50px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #ffffffb3; }
.work-door h3 { margin: 10px 0 0; font-size: 34px; line-height: 1.1; color: #fff; }
.work-door p { max-width: 46ch; font-size: 17px; line-height: 1.55; color: var(--soft); }
.work-door__go { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; font-size: 16px; font-weight: 600; }
.work-door__go svg { width: 3.5rem; height: 2rem; padding: 0 1rem; border: 1px solid #ffffff33; border-radius: 100rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: background-color .4s var(--ease-site), border-color .4s var(--ease-site), transform .6s var(--ease-out-expo); }
.work-door:hover .work-door__go svg { background: var(--red); border-color: var(--red); transform: translateX(6px); }

/* ---------- Closing call to action ---------- */
.about-cta { padding: 9rem 0 10rem; border-top: 1px solid var(--line); text-align: center; }
.about-cta__inner { max-width: 780px; margin: 0 auto; }
.about-cta h2 { margin: 0 0 34px; font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 700; line-height: 1.08; color: #fff; }
.about-cta__text { display: grid; gap: 14px; margin-bottom: 40px; font-size: 20px; line-height: 1.5; color: var(--soft); }
.about-cta__alt { margin: 56px auto 22px !important; max-width: 560px; padding-top: 40px; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.55; color: var(--soft); }

/* Pill buttons with the text roll of the reference ("Voir toute l'équipe"). */
.roll-button { display: inline-flex; align-items: center; height: 58px; padding: 0 30px; overflow: hidden; border: 1px solid #fff; border-radius: 50px; background: #fff; color: var(--ink); font-size: 17px; font-weight: 600; white-space: nowrap; transition: background-color .4s var(--ease-site), color .4s var(--ease-site), border-color .4s var(--ease-site); }
.roll-button:hover { border-color: var(--red); background: var(--red); color: #fff; }
.roll-button--ghost { background: transparent; border-color: #ffffff59; color: #fff; }
.roll-button--ghost:hover { border-color: #fff; background: #fff; color: var(--ink); }
.roll-button__text { position: relative; display: block; line-height: 58px; transition: transform .7s var(--ease-out-expo); }
.roll-button__text::after { content: attr(data-text); position: absolute; top: 100%; left: 0; }
.roll-button:hover .roll-button__text, .roll-button:focus-visible .roll-button__text { transform: translateY(-100%); }

.about :focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ---------- Responsive (same breakpoints as the reference) ---------- */
@media (max-width: 991px) {
  .about-hero { padding: 170px 0 90px; }
  .timeline-x__item { grid-template-columns: 1fr 100px 1fr; }
  .timeline-x__date { font-size: 52px; }
  .work-row h3 { font-size: 2.2rem; }
  .trust-wall { grid-template-columns: repeat(2, 1fr); }
  .work-steps { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .about-band__head { grid-template-columns: 1fr; gap: 18px; }
  .work-photo { display: none; }
}
@media (max-width: 767px) {
  .about-hero { padding: 140px 0 70px; }
  .about-hero__text, .about-hero__lead { font-size: 18px; }
  .timeline-x__progress { left: 6px; margin-left: 0; }
  .timeline-x__item { grid-template-columns: 64px 1fr; padding: 56px 0; }
  .timeline-x__left { grid-area: 1 / 2 / 2 / 3; text-align: left; }
  .timeline-x__centre { grid-area: 1 / 1 / 3 / 2; justify-content: flex-start; }
  .timeline-x__right { grid-area: 2 / 2 / 3 / 3; }
  .timeline-x__date { position: static; margin-bottom: 24px; font-size: 36px; opacity: 1; transform: none; }
  .timeline-x__text { font-size: 1.125rem; }
  .timeline-x__media { margin-top: 36px; }
  .about-team { padding: 5rem 0; }
  .works-label { padding-left: 0; }
  .work-row { grid-template-columns: 1fr; gap: 10px; min-height: 0; padding: 1.5rem 0; }
  .work-row h3 { font-size: 2rem; line-height: 1; }
  .work-row__right { align-items: flex-start; text-align: left; }
  .work-row__icon { display: none; }
  .works:hover .work-row:not(:hover) { opacity: 1; }
  .former-row { grid-template-columns: 1fr; gap: 6px; padding: 1.3rem 0; }
  .former-row h3 { font-size: 1.4rem; }
  .former-row__period { text-align: left; }
  .about-former .works-label { padding-left: 0; }
  .about-former .former-row { padding: 1.3rem 0; }
  .about-former__link { margin-left: 0; }
  .about .about-team__outro { margin-top: 3.5rem; font-size: 1.35rem; }
  .about-band { padding: 5rem 0; }
  .trust-logo { min-height: 150px; }
  .trust-logo__name { font-size: 24px; }
  .work-steps { grid-template-columns: 1fr; }
  .work-doors { grid-template-columns: 1fr; }
  .work-door { min-height: 0; padding: 28px; }
  .about-cta { padding: 6rem 0 7rem; }
  .about-cta .button-row { flex-direction: column; align-items: center; }
}
@media (max-width: 479px) {
  .timeline-x__item { grid-template-columns: 48px 1fr; }
  .timeline-x__date { font-size: 32px; }
  .trust-wall { grid-template-columns: 1fr; }
  .roll-button { height: 54px; padding: 0 24px; font-size: 16px; }
  .roll-button__text { line-height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .timeline-x__date, .timeline-x__circle, .timeline-x__media img, .work-row, .work-row__icon, .work-photo, .work-door, .work-steps li::after, .roll-button__text { transition: none !important; }
  .timeline-x__media img { transform: none; }
  .works-label svg { animation: none; }
}
