/* =========================================================
   KADRO TALENTS — sections-2.css
   Expertises · bandeau de fonctions · registre des fonctions
   engagements · deux publics · contact · pied de page · responsive
   ========================================================= */

/* ---------- EXPERTISES (surfaces) ---------- */
.sectors > .section { padding-bottom: 0; }
.sectors__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--rule); }
.surface {
  --fg: #fff; --muted: rgba(255, 255, 255, .72); --glow: rgba(255, 255, 255, .1);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 24px;
  min-height: clamp(400px, 34vw, 500px); padding: 28px;
  color: var(--fg); background: var(--bg);
}
.surface::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 70%); transition: opacity .6s var(--ease); }
.surface::after { content: ""; position: absolute; inset: 14px; pointer-events: none; border: 1px solid color-mix(in srgb, currentColor 28%, transparent); opacity: 0; transform: scale(1.03); transition: opacity .5s var(--ease), transform .8s var(--ease); }
.surface:hover::before, .surface:hover::after { opacity: 1; }
.surface:hover::after { transform: none; }
.surface--navy { --bg: linear-gradient(160deg, var(--navy-2), var(--navy) 60%, var(--navy-deep)); }
.surface--paper { --bg: var(--paper); --fg: var(--ink); --muted: var(--quiet); --glow: rgba(215, 37, 61, .07); }
.surface--red { --bg: var(--red); --glow: rgba(255, 255, 255, .16); }
.surface--night { --bg: var(--navy-deep); }
.surface--white { --bg: #fff; --fg: var(--ink); --muted: var(--quiet); --glow: rgba(15, 42, 74, .06); }
.surface__top { display: flex; justify-content: space-between; align-items: center; }
.surface__num { font: italic 500 24px/1 var(--serif); color: var(--muted); }
.surface--red .mark-o { border-color: #fff; }
.surface:hover .mark-o { border-width: 7px; transform: scale(1.25); }
.surface__body { display: grid; gap: 12px; margin-top: auto; }
.surface__title { font: 500 clamp(30px, 2.8vw, 40px)/1.08 var(--serif); letter-spacing: -.01em; transition: transform .7s var(--ease); }
.surface:hover .surface__title { transform: translateX(8px); }
.surface__text { max-width: 34ch; font-size: 16.5px; line-height: 1.45; color: var(--muted); }
.surface__roles { display: flex; flex-wrap: wrap; gap: 6px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .7s var(--ease), opacity .5s var(--ease); }
.surface__roles span { padding: 7px 10px; font: 500 9.5px/1 var(--brand); text-transform: uppercase; letter-spacing: .12em; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); border-radius: 2px; }
.surface:hover .surface__roles, .surface:focus-visible .surface__roles { max-height: 90px; opacity: 1; }
.surface__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.surface .link-mono { font-size: 11.5px; }
.surface--red .link-mono:hover::after { background: #fff; }
.surface__count { font: 500 10px/1 var(--brand); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); text-align: right; }

/* ---------- BANDEAU DE FONCTIONS ---------- */
.ticker { padding-block: clamp(48px, 6vw, 96px); overflow: hidden; }
.ticker__row { overflow: hidden; white-space: nowrap; }
.ticker__row + .ticker__row { margin-top: 4px; }
.ticker__track { display: inline-flex; align-items: center; gap: clamp(24px, 3vw, 52px); padding-right: clamp(24px, 3vw, 52px); font: 500 clamp(48px, 8vw, 128px)/1.14 var(--serif); letter-spacing: -.025em; will-change: transform; }
.ticker__track span { transition: color .4s var(--ease); }
.ticker__track em { font-weight: 400; color: var(--steel); transition: color .4s var(--ease); }
.ticker__track span:hover, .ticker__track span:hover em { color: var(--red); }
.ticker .sq { width: clamp(14px, 1.4vw, 22px); height: clamp(14px, 1.4vw, 22px); border-width: clamp(4px, .42vw, 7px); }

/* ---------- ENGAGEMENTS (mosaïque) ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "quote quote quote portrait" "metric brand nav portrait"; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.cell { position: relative; min-height: 230px; padding: 24px; overflow: hidden; background: #fff; }
.cell--quote { grid-area: quote; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 400px; padding: clamp(24px, 3.4vw, 48px); }
.cell__quote { font: 500 clamp(26px, 2.9vw, 42px)/1.18 var(--serif); letter-spacing: -.01em; text-wrap: pretty; }
.cell__who { display: grid; gap: 8px; }
.cell__who b { font: 500 10.5px/1.3 var(--brand); text-transform: uppercase; letter-spacing: .16em; color: var(--red); }
.cell__who span { font-size: 14.5px; color: var(--quiet); }
.cell--portrait { grid-area: portrait; display: flex; flex-direction: column; padding: 0; color: #fff; background: var(--navy); }
.portrait { position: relative; flex: 1; min-height: 340px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(90% 70% at 50% 30%, var(--navy-2), var(--navy) 70%); }
.portrait__frame { position: absolute; width: 62%; aspect-ratio: 1; border: clamp(14px, 1.6vw, 22px) solid var(--red); transition: transform 1.2s var(--ease); }
.cell--portrait:hover .portrait__frame { transform: scale(.9); }
.portrait__initials { position: relative; font: italic 500 clamp(56px, 6vw, 88px)/1 var(--serif); }
.portrait__cap { display: grid; gap: 5px; padding: 16px 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.portrait__cap b { font: 500 19px/1.2 var(--serif); }
.portrait__cap span { font: 500 9.5px/1.3 var(--brand); text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .65); }
.cell--metric { grid-area: metric; display: flex; flex-direction: column; justify-content: space-between; background: var(--paper); }
.cell--metric .eyebrow { color: var(--quiet); }
.cell__metric { font: 500 clamp(52px, 5.2vw, 84px)/1 var(--serif); letter-spacing: -.02em; color: var(--red); font-variant-numeric: lining-nums; }
.cell--brand { grid-area: brand; display: grid; place-items: center; background: var(--navy); }
.cell--nav { grid-area: nav; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.cell__index { font: 500 11px/1 var(--brand); letter-spacing: .14em; color: var(--quiet); font-variant-numeric: tabular-nums; }
.cell__index b { font-weight: 600; color: var(--ink); }
.cell__progress { position: relative; height: 2px; background: var(--rule); }
.cell__progress i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
.cell__btns { display: flex; gap: 8px; }
.sq-btn { display: grid; place-items: center; width: 50px; height: 50px; font-size: 17px; border: 1px solid var(--steel); transition: background-color .4s, color .4s, border-color .4s; }
.sq-btn:hover { color: #fff; background: var(--red); border-color: var(--red); }
.mosaic [data-s] { transition: opacity .5s var(--ease) var(--sd, 0s), transform .7s var(--ease) var(--sd, 0s); }
.mosaic.is-out [data-s] { opacity: 0; transform: translateY(-16px); }
.mosaic.is-pre [data-s] { opacity: 0; transform: translateY(16px); transition: none; }
.cell--metric { --sd: .12s; }

/* ---------- DEUX PUBLICS ---------- */
.audience { display: flex; min-height: clamp(520px, 50vw, 680px); }
.aud { position: relative; isolation: isolate; overflow: hidden; flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding: clamp(28px, 3.6vw, 60px); color: #fff; transition: flex-grow .9s var(--ease); }
.aud::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 40%), rgba(255, 255, 255, .12), transparent 70%); transition: opacity .6s var(--ease); }
.aud:hover::before { opacity: 1; }
.aud--company { background: linear-gradient(160deg, var(--navy-2), var(--navy) 55%, var(--navy-deep)); }
.aud--talent { background: var(--red); }
.audience:hover .aud { flex-grow: .78; }
.audience .aud:hover { flex-grow: 1.4; }
.aud__mark { position: absolute; top: clamp(28px, 3.6vw, 60px); right: clamp(28px, 3.6vw, 60px); width: clamp(56px, 6vw, 92px); height: clamp(56px, 6vw, 92px); border-width: clamp(17px, 1.85vw, 28px); }
.aud--talent .aud__mark { border-color: #fff; }
.aud:hover .aud__mark { transform: scale(.82); }
.aud__title { max-width: 11em; font: 500 clamp(40px, 4.6vw, 72px)/1.02 var(--serif); letter-spacing: -.012em; }
.aud__title em { font-style: italic; }
.aud__text { max-width: 38ch; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, .84); }
.aud__list { display: grid; max-width: 440px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .8s var(--ease), opacity .6s var(--ease); }
.aud:hover .aud__list, .aud:focus-visible .aud__list { max-height: 200px; opacity: 1; }
.aud__list span { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 15px; border-top: 1px solid rgba(255, 255, 255, .22); }
.aud__list span::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--red); }
.aud--talent .aud__list span::before { background: #fff; }
.aud .link-mono { align-self: flex-start; margin-top: 6px; }
.aud--talent .link-mono:hover::after, .aud--talent:hover > .link-mono::after { background: #fff; }

/* ---------- CONTACT ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; gap: clamp(40px, 6vw, 104px); }
.contact__intro { position: sticky; top: calc(var(--header-h) + 40px); display: grid; justify-items: start; gap: 24px; }
.founder { display: flex; align-items: center; gap: 18px; margin-top: 4px; }
.founder__photo { position: relative; display: grid; place-items: center; flex: none; width: 64px; height: 64px; font: italic 500 24px/1 var(--serif); color: #fff; background: var(--navy); }
.founder__photo::after { content: ""; position: absolute; inset: -6px; border: 2px solid var(--red); transition: inset .6s var(--ease); }
.founder:hover .founder__photo::after { inset: -10px; }
.founder__txt { display: grid; gap: 4px; }
.founder__txt b { font: 500 21px/1.2 var(--serif); }
.founder__txt span { font: 500 10px/1.3 var(--brand); text-transform: uppercase; letter-spacing: .14em; color: var(--quiet); }
.contact__meta { display: grid; width: 100%; margin-top: 8px; border-top: 1px solid var(--rule); }
.contact__meta div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.contact__meta dt { font: 500 10px/1.8 var(--brand); text-transform: uppercase; letter-spacing: .14em; color: var(--quiet); }
.contact__meta dd { font-weight: 500; text-align: right; }
.contact__meta a { background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1px no-repeat; transition: background-size .55s var(--ease), color .3s; }
.contact__meta a:hover { color: var(--red); background-size: 100% 1px; }
.form { position: relative; display: grid; gap: 20px; padding: 28px; overflow: hidden; background: #fff; border: 1px solid var(--rule); box-shadow: 0 40px 80px -50px rgba(15, 42, 74, .35); }
.form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--red); }
.form__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 16px; font: 500 10px/1 var(--brand); text-transform: uppercase; letter-spacing: .14em; color: var(--quiet); border-bottom: 1px solid var(--rule); }
.form__head b { font-weight: 600; color: var(--red); font-variant-numeric: tabular-nums; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--steel); border-radius: var(--r); }
.seg__ind { position: absolute; left: 4px; top: 4px; bottom: 4px; width: calc(50% - 4px); background: var(--navy); border-radius: 2px; transition: transform .6s var(--ease); }
.seg.is-2 .seg__ind { transform: translateX(100%); }
.seg label { position: relative; z-index: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label span { display: grid; place-items: center; padding: 14px; font: 500 11px/1 var(--brand); text-transform: uppercase; letter-spacing: .14em; transition: color .45s var(--ease); }
.seg input:checked + span { color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 4px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field.is-hidden { display: none; }
.field input, .field textarea { width: 100%; padding: 26px 14px 10px; font-size: 16px; background: #fff; border: 1px solid var(--steel); border-radius: 0; outline: none; resize: vertical; transition: border-color .4s; }
.field textarea { min-height: 132px; }
.field label { position: absolute; left: 15px; top: 19px; font-size: 16px; color: var(--quiet); pointer-events: none; transform-origin: left top; transition: transform .45s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.72); }
.field:focus-within label { color: var(--red); }
.field:focus-within input, .field:focus-within textarea { border-color: var(--navy); }
.field::after {
  content: ""; position: absolute; inset: -6px; pointer-events: none; opacity: 0; transform: scale(1.03); transition: opacity .35s, transform .55s var(--ease);
  background:
    linear-gradient(var(--red), var(--red)) top left / 12px 2px no-repeat, linear-gradient(var(--red), var(--red)) top left / 2px 12px no-repeat,
    linear-gradient(var(--red), var(--red)) top right / 12px 2px no-repeat, linear-gradient(var(--red), var(--red)) top right / 2px 12px no-repeat,
    linear-gradient(var(--red), var(--red)) bottom left / 12px 2px no-repeat, linear-gradient(var(--red), var(--red)) bottom left / 2px 12px no-repeat,
    linear-gradient(var(--red), var(--red)) bottom right / 12px 2px no-repeat, linear-gradient(var(--red), var(--red)) bottom right / 2px 12px no-repeat;
}
.field:focus-within::after { opacity: 1; transform: none; }
.field--file input { position: absolute; inset: 0; z-index: 1; width: 100%; padding: 0; opacity: 0; cursor: pointer; }
.field--file label { position: static; display: flex; align-items: center; gap: 14px; padding: 12px; font-size: 14px; color: var(--quiet); border: 1px dashed var(--steel); transform: none !important; transition: border-color .3s; }
.field--file:hover label { border-color: var(--red); }
.field__btn { padding: 10px 12px; font: 500 10px/1 var(--brand); text-transform: uppercase; letter-spacing: .14em; color: #fff; background: var(--navy); }
.field.is-error input, .field.is-error textarea { border-color: var(--red); animation: shake .5s var(--ease); }
.field.is-error label { color: var(--red); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.form__legal { font-size: 12.5px; color: var(--quiet); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .arw { animation: spin .8s linear infinite; }
.form__done { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 32px; text-align: center; background: #fff; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.form.is-sent .form__done { opacity: 1; visibility: visible; transition-delay: 0s; }
.form__done-o { width: 60px; height: 60px; border: 19px solid var(--red); transform: scale(0) rotate(-90deg); transition: transform .9s var(--ease-back) .2s; }
.form.is-sent .form__done-o { transform: none; }
.form__done-title { font: 500 40px/1.1 var(--serif); }
.form__done-text { max-width: 34ch; color: var(--quiet); }
.form__done-text b { font-weight: 600; color: var(--red); }

/* ---------- PIED DE PAGE ---------- */
.footer { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(80px, 10vw, 140px); color: #fff; background: var(--navy-deep); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 104px); }
.footer__brand { display: grid; align-content: start; gap: 24px; max-width: 430px; }
.footer__brand .logo { justify-self: start; font-size: 34px; }
.footer__brand > p { font-size: 15px; color: rgba(255, 255, 255, .7); }
.news { display: grid; gap: 10px; }
.news__label { font: 500 10.5px/1.2 var(--brand); text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .8); }
.news__row { display: flex; padding: 4px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--r); transition: border-color .4s; }
.news__row:focus-within { border-color: var(--red); }
.news input { flex: 1; min-width: 0; padding: 10px 12px; color: #fff; background: transparent; border: 0; outline: none; }
.news input::placeholder { color: rgba(255, 255, 255, .4); }
.news__msg { min-height: 14px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer__cols div { display: grid; align-content: start; gap: 12px; }
.footer__h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font: 500 10.5px/1 var(--brand); text-transform: uppercase; letter-spacing: .16em; color: rgba(255, 255, 255, .55); }
.footer__h::before { content: ""; width: 6px; height: 6px; background: var(--red); }
.footer__cols a { position: relative; justify-self: start; font-size: 15px; color: rgba(255, 255, 255, .82); transition: color .3s, transform .5s var(--ease); }
.footer__cols a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: var(--red); opacity: 0; transition: opacity .3s; }
.footer__cols a:hover { color: #fff; transform: translateX(14px); }
.footer__cols a:hover::before { opacity: 1; }
.footer__word { display: flex; justify-content: center; align-items: baseline; overflow: hidden; margin-top: clamp(64px, 8vw, 120px); padding-top: .12em; font: 800 clamp(100px, 24vw, 400px)/.8 var(--brand); letter-spacing: .03em; user-select: none; }
.footer__word .ch { display: inline-block; transform: translateY(var(--ty, 0%)); transition: color .4s var(--ease); }
.footer__word .ch:hover { color: var(--red-soft); }
.footer__word .ch--o { display: inline-flex; align-items: baseline; }
.footer__word .logo__o { width: .58em; height: .58em; margin-left: .045em; border-width: .18em; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; font: 500 10px/1.5 var(--brand); text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .55); border-top: 1px solid var(--line-dark); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__bottom a { transition: color .3s; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Appareils tactiles : tout le contenu visible ---------- */
@media (hover: none) {
  .surface__roles, .aud__list { max-height: none; opacity: 1; }
  .jp { display: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .metrics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .trio { grid-template-columns: 1fr 1fr; }
  .card--night { grid-column: 1 / -1; min-height: 0; }
  .sectors__grid { grid-template-columns: 1fr 1fr; }
  .jobs__head, .job { grid-template-columns: 44px minmax(0, 1fr) 150px 84px 24px; gap: 18px; }
  .job__examples, .jobs__head span:nth-child(3) { display: none; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-areas: "quote quote" "portrait metric" "portrait brand" "nav nav"; }
}
@media (max-width: 900px) {
  .hero { --overlap: 120px; }
  .dossier__body { grid-template-columns: 1fr; }
  .dossier__id { border-right: 0; border-bottom: 1px solid var(--rule); }
  .method__head { flex-direction: column; align-items: flex-start; }
  .audience { flex-direction: column; }
  .aud { min-height: 480px; }
  .audience:hover .aud, .audience .aud:hover { flex-grow: 1; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__intro { position: static; }
  .footer__top { grid-template-columns: 1fr; }
  .jp { display: none; }
}
@media (max-width: 640px) {
  .hero__meta { gap: 8px 18px; }
  .dossier__head { gap: 8px 12px; padding: 18px 16px; }
  .dossier__ref { margin-left: 0; }
  .dossier__id { padding: 18px 16px; }
  .chk { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; padding: 14px 16px; }
  .chk__meta { display: none; }
  .chk__status { min-width: 0; }
  .dossier__foot { padding: 14px 16px; }
  .metrics__grid { grid-template-columns: 1fr; }
  .metric { min-height: 240px; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--rule); }
  .trio { grid-template-columns: 1fr; }
  .sectors__grid { grid-template-columns: 1fr; }
  .surface { padding: 24px 20px; }
  .jobs__head { display: none; }
  .job { grid-template-columns: 36px minmax(0, 1fr); grid-template-areas: "num family" "num levels"; gap: 6px 14px; padding: 18px 4px; }
  .job__num { grid-area: num; } .job__family { grid-area: family; } .job__levels { grid-area: levels; }
  .job__tension, .job__arrow { display: none; }
  .mosaic { grid-template-columns: 1fr; grid-template-areas: "quote" "portrait" "metric" "brand" "nav"; }
  .form { padding: 20px; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; }
}

/* ---------- OFFRES D'EMPLOI ---------- */
.offers { background: var(--paper); }
.offers__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.offers__filters { position: relative; display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r); }
.offers__ind { position: absolute; left: 0; top: 0; width: var(--iw, 0); height: var(--ih, 0); transform: translate(var(--ix, 0), var(--iy, 0)); background: var(--navy); border-radius: 2px; transition: transform .55s var(--ease), width .55s var(--ease), height .55s var(--ease); }
.offers__filters button { position: relative; z-index: 1; padding: 12px 16px; font: 500 10.5px/1 var(--brand); text-transform: uppercase; letter-spacing: .12em; color: var(--ink); border-radius: 2px; transition: color .4s var(--ease); }
.offers__filters button:not(.is-active):hover { color: var(--red); }
.offers__filters button.is-active { color: #fff; }
.offers__search { display: flex; flex: 0 1 340px; align-items: center; gap: 10px; padding: 0 14px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r); transition: border-color .3s; }
.offers__search:focus-within { border-color: var(--navy); }
.offers__search svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--quiet); stroke-width: 1.6; stroke-linecap: round; }
.offers__search input { flex: 1; min-width: 0; padding: 14px 0; font-size: 15px; background: transparent; border: 0; outline: none; }
.offers__count { margin-bottom: 26px; font: 500 10.5px/1 var(--brand); text-transform: uppercase; letter-spacing: .14em; color: var(--quiet); }
.offers__count b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.offers__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.offer { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 330px; padding: 26px; background: #fff; border: 1px solid var(--rule); cursor: pointer; transition: transform .7s var(--ease), box-shadow .7s var(--ease), border-color .5s var(--ease); }
.offer[hidden] { display: none; }
.offer::after { content: ""; position: absolute; inset: 9px; border: 2px solid var(--red); opacity: 0; transform: scale(1.03); pointer-events: none; transition: opacity .4s var(--ease), transform .7s var(--ease); }
.offer:hover { transform: translateY(-8px); border-color: var(--steel); box-shadow: 0 34px 60px -34px rgba(15, 42, 74, .3); }
.offer:hover::after { opacity: 1; transform: none; }
.offer__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.offer__cat { font: 500 10px/1.3 var(--brand); text-transform: uppercase; letter-spacing: .14em; color: var(--red); }
.offer__title { font: 500 clamp(24px, 2vw, 30px)/1.15 var(--serif); transition: transform .6s var(--ease); }
.offer__title span { font-size: .6em; color: var(--quiet); white-space: nowrap; }
.offer:hover .offer__title { transform: translateX(6px); }
.offer__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.offer__meta li { padding: 7px 10px; font-size: 13px; background: var(--paper); border-radius: 2px; }
.offer__text { font-size: 15px; color: var(--quiet); }
.offer__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--rule); }
.offer__ref { font: 500 10px/1 var(--brand); text-transform: uppercase; letter-spacing: .12em; color: var(--quiet); }
.offer:hover .link-mono::after { animation: rule-swap .9s var(--ease); background: var(--red); }
.offer:hover .link-mono .arw { transform: translateX(5px); }
.offers__spont { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 16px; padding: 28px; color: #fff; background: var(--navy); }
.offers__spont .mark-o { width: 34px; height: 34px; border-width: 10.5px; }
.offers__spont-txt { flex: 1 1 360px; font-size: 16.5px; color: rgba(255, 255, 255, .78); }
.offers__spont-txt b { display: block; margin-bottom: 4px; font: 500 26px/1.2 var(--serif); color: #fff; }
.offers__spont .btn { --bg: #fff; --fg: var(--navy); --fill: var(--red); --fg-h: #fff; }
.offers__empty { margin-top: 16px; padding: 28px; text-align: center; color: var(--quiet); border: 1px dashed var(--steel); }
@media (max-width: 1100px) { .offers__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .offers__grid { grid-template-columns: 1fr; }
  .offers__search { flex: 1 1 100%; }
  .offer { min-height: 0; }
  .offers__spont { padding: 24px 20px; }
}

/* ---------- OFFRE RPO ---------- */
.rpo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 104px); }
.rpo__intro { display: grid; justify-items: start; gap: 24px; }
.rpo__points { display: grid; width: 100%; border-top: 1px solid var(--rule); }
.rpo__points li { display: grid; grid-template-columns: 190px 1fr; gap: 6px 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.rpo__points b { font: 500 19px/1.3 var(--serif); }
.rpo__points span { font-size: 15px; color: var(--quiet); }
.rpo__intro .btn { margin-top: 6px; }
.mission { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--rule); border-radius: var(--r); box-shadow: 0 50px 90px -50px rgba(10, 31, 56, .45); }
.mission::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--red); }
.mission__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px; font: 500 10px/1.2 var(--brand); text-transform: uppercase; letter-spacing: .14em; color: var(--quiet); border-bottom: 1px solid var(--rule); }
.mission__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.mission__kpis div { display: grid; gap: 12px; padding: 20px 24px; }
.mission__kpis div + div { border-left: 1px solid var(--rule); }
.mission__kpis b { font: 500 50px/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.mission__kpis div:nth-child(2) b { color: var(--red); }
.mission__roles { display: grid; padding: 6px 24px 14px; }
.mission__roles li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px 12px; padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--rule); }
.mission__roles li:last-child { border-bottom: 0; }
.mission__roles li:nth-child(2) { --k: 1; } .mission__roles li:nth-child(3) { --k: 2; } .mission__roles li:nth-child(4) { --k: 3; }
.mission__roles em { font: 500 9.5px/1.4 var(--brand); font-style: normal; text-transform: uppercase; letter-spacing: .13em; text-align: right; color: var(--quiet); }
.mission__roles li.is-done em { color: var(--red); }
.mission__roles i { position: relative; grid-column: 1 / -1; height: 3px; overflow: hidden; background: var(--rule); }
.mission__roles i::after { content: ""; position: absolute; inset: 0; background: var(--navy); transform-origin: left; transform: scaleX(var(--v)); transition: transform 1.4s var(--ease) calc(var(--k, 0) * .12s + .35s); }
.mission__roles li.is-done i::after { background: var(--red); }
.js .rpo__visual:not(.is-in) .mission__roles i::after { transform: scaleX(0); }
.mission__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 12px; padding: 14px 24px; font: 500 9.5px/1 var(--brand); text-transform: uppercase; letter-spacing: .14em; color: var(--quiet); background: var(--paper); border-top: 1px solid var(--rule); }
.mission__live { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.rpo__cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 104px); border-block: 1px solid var(--rule); }
.case { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 250px; padding: 28px 24px; transition: background-color .6s var(--ease), color .6s var(--ease); }
.case + .case { border-left: 1px solid var(--rule); }
.case::after { content: ""; position: absolute; right: 24px; top: 28px; width: 12px; height: 12px; border: 3.5px solid var(--red); transform: scale(0) rotate(-90deg); transition: transform .7s var(--ease-back); }
.case:hover { color: #fff; background: var(--navy); }
.case:hover::after { transform: none; }
.case__num { font: italic 500 22px/1 var(--serif); color: var(--red); }
.case__title { margin-top: auto; font: 500 25px/1.15 var(--serif); }
.case__text { font-size: 14.5px; color: var(--quiet); transition: color .6s; }
.case:hover .case__text { color: rgba(255, 255, 255, .72); }
.hero__rpo { border-bottom: 1px solid rgba(255, 255, 255, .35); transition: border-color .3s, color .3s; }
.hero__rpo:hover { color: #fff; border-color: var(--red); }
@media (max-width: 1240px) { .header__nav { margin-left: 16px; } .header__nav a { padding: 12px 10px; } }
@media (max-width: 1100px) {
  .rpo__cases { grid-template-columns: 1fr 1fr; }
  .case:nth-child(3) { border-left: 0; }
  .case:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 900px) { .rpo__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .rpo__points li { grid-template-columns: 1fr; }
  .rpo__cases { grid-template-columns: 1fr; }
  .case { min-height: 200px; }
  .case + .case { border-left: 0; border-top: 1px solid var(--rule); }
  .mission__head, .mission__foot { padding-inline: 16px; }
  .mission__kpis div { padding: 16px; }
  .mission__kpis b { font-size: 36px; }
  .mission__roles { padding: 4px 16px 12px; }
}
.rpo.section { padding-bottom: 0; }

/* Cas d'usage RPO : titres alignés en haut, réservés sur 2 lignes pour que les textes s'alignent aussi */
.case { justify-content: flex-start; }
.case__title { margin-top: 36px; min-height: 2.3em; }
@media (max-width: 640px) { .case__title { margin-top: 22px; min-height: 0; } }

/* Photo du fondateur dans le cadre rouge de la mosaïque */
.portrait__frame { width: 78%; overflow: hidden; border-width: clamp(10px, 1.1vw, 16px); background: var(--navy); }
.portrait__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease); }
.cell--portrait:hover .portrait__frame { transform: none; }
.cell--portrait:hover .portrait__img { transform: scale(1.06); }
/* Cadre un peu plus grand et léger zoom sur le visage */
.portrait__frame { width: 84%; }
.portrait__img { transform: scale(1.1); transform-origin: 50% 30%; }
.cell--portrait:hover .portrait__img { transform: scale(1.16); }

/* Photo du fondateur dans le bloc Contact (zoom sur le visage, cadre rouge décalé conservé) */
.founder__photo { width: 72px; height: 72px; }
.founder__img { position: absolute; inset: 0; overflow: hidden; }
.founder__img img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.7); transform-origin: 50% 30%; transition: transform .8s var(--ease); }
.founder:hover .founder__img img { transform: scale(1.8); }
