/* ==========================================================================
   Ligne Finition — Page Nous rejoindre (bloc acf/lignefinition-recrutement)
   Hero manifeste + pourquoi nous rejoindre + offres (accordeon) + candidature.
   ========================================================================== */

.lf-rc{ position: relative; width: 100vw; max-width: 100vw; left: 50%; transform: translateX(-50%); margin: 0; }
.lf-rc h1, .lf-rc h2, .lf-rc h3 { margin: 0; }
.lf-rc p { margin: 0; }

.lf-rc-h1{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.03; letter-spacing: -.02em; color: #F8F7F3; }
.lf-rc-h2{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.12; color: var(--lf-encre, #14161A); letter-spacing: -.01em; }
.lf-rc-lead{ font-family: var(--ff-serif, 'Roboto Slab', serif); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.6; color: var(--lf-gris-texte, #3A3D45); margin-top: .9rem; max-width: none; }
.lf-rc-trait{ display: block; width: 66px; height: 2px; background: var(--lf-or, #A79629); margin: 1.4rem 0; }
.lf-vrule{ display: block; width: 2px; height: 34px; background: var(--lf-or, #A79629); margin-bottom: 1.4rem; }

.lf-rc-btn{ display: inline-block; font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 600; letter-spacing: .03em; background: var(--lf-or, #A79629); color: var(--lf-encre,#14161A); padding: 1rem 2rem; text-decoration: none; border: 0; cursor: pointer; transition: background .4s var(--lf-ease), transform .4s var(--lf-ease); }
.lf-rc-btn:hover{ background: var(--lf-or-clair, #C9BC6A); transform: translateY(-2px); color: var(--lf-encre,#14161A); }
.lf-rc-btn--sm{ padding: .7rem 1.4rem; font-size: 14px; }
.lf-rc-link{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 500; letter-spacing: .03em; color: #F6F5F1; text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; }
.lf-rc-link svg{ width: 18px; height: 18px; transition: transform .3s var(--lf-ease); }
.lf-rc-link:hover svg{ transform: translateX(5px); }
.lf-rc-link--dark{ color: var(--lf-encre, #14161A); }

/* ---- HERO ---------------------------------------------------------------- */
.lf-rc-hero{ position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 120% at 82% 0%, #1a1c22 0%, var(--lf-encre, #14161A) 48%, #0B0C0F 100%);
  color: #F6F5F1; padding: clamp(130px, 16vh, 190px) clamp(1.5rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
/* Filigrane retire le 05/11/2026 : le client ne veut plus de motif decoratif sur les heros. */
.lf-rc-hero__flutes{ display:none; }
.lf-rc-hero__in{ position: relative; z-index: 1; max-width: 1200px; margin-inline: auto; }
.lf-rc-kicker{ display: block; font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 600; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--lf-or-clair, #C9BC6A); }
.lf-rc-lede{ font-family: var(--ff-serif, 'Roboto Slab', serif); font-weight: 300; font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.65; color: rgba(246,245,241,.82); max-width: none; }
.lf-rc-hero__cta{ display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.6rem; margin-top: 2.2rem; }

/* ---- POURQUOI NOUS REJOINDRE --------------------------------------------- */
.lf-rc-why{ background: var(--lf-clair, #F6F6F6); padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 4vw, 3rem); }
.lf-rc-why__in{ max-width: 1200px; margin-inline: auto; }
.lf-rc-head{ max-width: none; margin-bottom: clamp(2rem, 4vw, 3rem); }
.lf-rc-atouts{ display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.lf-rc-atout{ background: var(--lf-blanc, #fff); border-top: 2px solid var(--lf-or, #A79629); padding: 1.7rem 1.5rem 1.9rem; }
/* Le cartouche remplace le carre teinte : deux cadres feraient doublon. */
.lf-rc-atout__ic{ display: grid; place-items: center; width: 64px; height: 64px; color: var(--lf-or, #A79629); margin-bottom: 1.1rem; }
.lf-rc-atout__ic svg{ width: 64px; height: 64px; }
/* Contexte CLAIR. Mesure : sur blanc l'or #A79629 plafonne a 2,98:1 meme
   a pleine opacite, et le filet interieur tombait a 1,69:1. On passe donc a
   l'or fonce de la charte, et l'octogone recoit une plaque tres legere qui
   remplace le carre teinte d'origine. */
.lf-rc-atout__ic{ color: var(--lf-or-fonce, #7E711C); }
.lf-rc-atout__ic [data-lf-pic] > .lf-pc-f{ opacity: .95; fill: rgba(167,150,41,.09); }
.lf-rc-atout__ic [data-lf-pic] > .lf-pc-i{ opacity: .62; }  /* 2,1:1 : perceptible,
   et volontairement en retrait du filet exterieur a 3,86:1. Un second filet au meme
   contraste ne ferait plus un double filet mais un trait epais. */
.lf-rc-atout__t{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 700; font-size: 1.15rem; color: var(--lf-encre, #14161A); margin-bottom: .5rem; }
.lf-rc-atout__x{ font-size: .96rem; line-height: 1.6; color: var(--lf-gris-texte, #3A3D45); }

/* ---- OFFRES (listing cartes) --------------------------------------------- */
.lf-rc-offres{ background: var(--lf-blanc, #fff); padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 4vw, 3rem); }
.lf-rc-offres__in{ max-width: 1040px; margin-inline: auto; }
.lf-rc-list{ display: grid; gap: 1.4rem; }

.lf-offre-card{ background: var(--lf-encre, #14161A); color: #F6F5F1; padding: clamp(2rem, 3.2vw, 2.8rem); border: 1px solid rgba(255,255,255,.08); }
.lf-offre-card.is-pourvu{ opacity: .72; }
.lf-offre-card__t{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 800; font-size: clamp(1.35rem, 2.4vw, 1.9rem); color: #F8F7F3; margin: 2rem 0 0; }
.lf-offre-card__t a{ color: inherit; text-decoration: none; transition: color .25s var(--lf-ease); }
.lf-offre-card__t a:hover{ color: var(--lf-or-clair, #C9BC6A); }
.lf-offre-card__resume{ color: rgba(246,245,241,.72); line-height: 1.6; margin-top: .6rem; max-width: none; }

.lf-offre-badge{ display: flex; width: fit-content; margin: 0 0 1.6rem; align-items: center; gap: .7rem; font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 600; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; padding: .7rem 1.3rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: rgba(246,245,241,.86); }
.lf-offre-badge__d{ width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lf-offre-badge--open{ color: var(--lf-or-clair, #C9BC6A); border-color: rgba(201,188,106,.45); }
.lf-offre-badge--pourvu{ color: rgba(246,245,241,.6); }

.lf-offre-meta{ display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 1.4rem; border: 1px solid rgba(255,255,255,.12); }
.lf-offre-meta__cell{ padding: .9rem 1rem; border-right: 1px solid rgba(255,255,255,.12); }
.lf-offre-meta__cell:last-child{ border-right: 0; }
.lf-offre-meta__k{ display: block; font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 600; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--lf-or-clair, #C9BC6A); margin-bottom: .35rem; }
.lf-offre-meta__v{ display: block; font-size: 14px; line-height: 1.35; color: #F6F5F1; }

.lf-offre-tags{ list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.lf-offre-tags li{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 500; font-size: 13px; color: rgba(246,245,241,.82); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); padding: .45rem .8rem; }

.lf-offre-card__foot{ margin-top: 1.5rem; }
.lf-offre-card__closed{ font-family: var(--ff-serif, 'Roboto Slab', serif); font-style: italic; color: rgba(246,245,241,.6); }
.lf-offre-card__foot .lf-rc-btn{ display: inline-flex; align-items: center; gap: .5rem; }
.lf-offre-card__foot .lf-rc-btn svg{ width: 16px; height: 16px; }

@media (max-width: 900px){ .lf-offre-meta{ grid-template-columns: repeat(3, 1fr); } .lf-offre-meta__cell:nth-child(3){ border-right: 0; } }
@media (max-width: 560px){ .lf-offre-meta{ grid-template-columns: 1fr 1fr; } .lf-offre-meta__cell{ border-right: 1px solid rgba(255,255,255,.12); } .lf-offre-meta__cell:nth-child(2n){ border-right: 0; } }

/* ---- FICHE OFFRE (single) ------------------------------------------------ */
.lf-offre{ position: relative; width: 100vw; max-width: 100vw; left: 50%; transform: translateX(-50%); margin: 0; }
.lf-offre h1, .lf-offre h2 { margin: 0; }
.lf-offre__hero{ position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 120% at 82% 0%, #1a1c22 0%, var(--lf-encre, #14161A) 48%, #0B0C0F 100%); color: #F6F5F1; padding: clamp(120px, 15vh, 175px) clamp(1.5rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4rem); }
/* Filigrane retire le 05/11/2026 : le client ne veut plus de motif decoratif sur les heros. */
.lf-offre__flutes{ display:none; }
.lf-offre__hero-in{ position: relative; z-index: 1; max-width: 1040px; margin-inline: auto; }
.lf-offre__crumb{ display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: 13px; color: rgba(246,245,241,.6); }
.lf-offre__crumb a{ color: rgba(246,245,241,.6); text-decoration: none; }
.lf-offre__crumb a:hover{ color: var(--lf-or-clair, #C9BC6A); }
.lf-offre__title{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -.02em; color: #F8F7F3; margin-top: 1rem; }
.lf-offre__resume{ font-family: var(--ff-serif, 'Roboto Slab', serif); font-weight: 300; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.6; color: rgba(246,245,241,.82); margin-top: 1rem; max-width: none; }
.lf-offre__hero .lf-offre-badge{ margin-top: 1.3rem; }
.lf-offre-meta--hero{ margin-top: 1.8rem; }
.lf-offre-tags--light{ margin-top: 1.2rem; }
.lf-offre__body{ background: var(--lf-clair, #F6F6F6); padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem); }
.lf-offre__body-in{ max-width: 1040px; margin-inline: auto; display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.lf-offre__detail{ color: var(--lf-gris-texte, #3A3D45); font-size: 1rem; line-height: 1.75; }
.lf-offre__detail h2, .lf-offre__detail h3, .lf-offre__detail h4{ font-family: var(--ff-display, 'Raleway', sans-serif); color: var(--lf-encre, #14161A); font-weight: 700; font-size: 1.25rem; margin: 1.6rem 0 .6rem; }
.lf-offre__detail h2:first-child, .lf-offre__detail h3:first-child{ margin-top: 0; }
.lf-offre__detail p{ margin: 0 0 1rem; }
.lf-offre__detail ul{ margin: 0 0 1.1rem; padding: 0; list-style: none; display: grid; gap: .5rem; }
.lf-offre__detail li{ position: relative; padding-left: 1.5rem; }
.lf-offre__detail li::before{ content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 1.6px; background: var(--lf-or, #A79629); }
.lf-offre__detail a{ color: var(--lf-lien, #827419); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lf-offre__detail a:hover{ color: var(--lf-lien-survol, #645A12); text-decoration-thickness: 2px; }
.lf-offre__apply{ position: sticky; top: 96px; display: grid; gap: 1rem; }
.lf-offre__apply-card{ background: var(--lf-encre, #14161A); color: #F6F5F1; padding: 1.8rem 1.6rem; border-top: 3px solid var(--lf-or, #A79629); }
.lf-offre__apply-t{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 700; font-size: 1.2rem; color: #F8F7F3; margin-bottom: .7rem; }
.lf-offre__apply-x{ color: rgba(246,245,241,.76); line-height: 1.6; font-size: .95rem; margin-bottom: 1.3rem; }
.lf-offre__apply-tel{ display: block; margin-top: .9rem; font-size: 14px; color: rgba(246,245,241,.7); text-decoration: none; }
.lf-offre__apply-tel:hover{ color: var(--lf-or-clair, #C9BC6A); }
.lf-offre__back{ display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 600; font-size: 14px; color: var(--lf-encre, #14161A); text-decoration: none; }
.lf-offre__back svg{ width: 18px; height: 18px; transition: transform .3s var(--lf-ease); }
.lf-offre__back:hover svg{ transform: translateX(-4px); }
@media (max-width: 860px){ .lf-offre__body-in{ grid-template-columns: 1fr; } .lf-offre__apply{ position: static; } }

/* ---- ETATS CARTE POSTULER (single) --------------------------------------- */
button.lf-rc-btn{ font-family: var(--ff-display, 'Raleway', sans-serif); font-size: 15px; }
.lf-offre__apply-err{ background: rgba(180,40,40,.14); border-left: 3px solid #d05252; color: #f0d0d0; font-size: 14px; line-height: 1.5; padding: .7rem .9rem; margin-bottom: 1.1rem; }
.lf-offre__apply-ok-ic{ display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.1rem; color: var(--lf-encre, #14161A); background: var(--lf-or-clair, #C9BC6A); }
.lf-offre__apply-ok-ic svg{ width: 26px; height: 26px; }
.lf-offre__apply-x strong{ color: #F8F7F3; }

/* ---- MODALE CANDIDATURE --------------------------------------------------- */
.lf-apply-modal{ position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-start; justify-content: center; padding: clamp(1rem, 5vh, 4rem) 1rem; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s var(--lf-ease), visibility .3s var(--lf-ease); }
.lf-apply-modal.is-open{ opacity: 1; visibility: visible; }
.lf-apply-modal__backdrop{ position: fixed; inset: 0; background: rgba(10,11,14,.72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.lf-apply-modal__dialog{ position: relative; z-index: 1; width: min(580px, 100%); margin: auto 0; background: var(--lf-clair, #F6F6F6); box-shadow: 0 30px 80px -18px rgba(0,0,0,.6); transform: translateY(18px); transition: transform .35s var(--lf-ease); }
.lf-apply-modal.is-open .lf-apply-modal__dialog{ transform: none; }
.lf-apply-modal__x{ position: absolute; top: 8px; right: 8px; width: 42px; height: 42px; display: grid; place-items: center; background: transparent; border: 0; color: #F6F5F1; cursor: pointer; z-index: 2; }
.lf-apply-modal__x svg{ width: 22px; height: 22px; }
.lf-apply-modal__x:hover{ color: var(--lf-or-clair, #C9BC6A); }
.lf-apply-modal__head{ background: var(--lf-encre, #14161A); color: #F6F5F1; padding: 1.5rem clamp(1.4rem, 3vw, 2.2rem); border-top: 3px solid var(--lf-or, #A79629); }
.lf-apply-modal__eyebrow{ display: block; font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 600; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--lf-or-clair, #C9BC6A); margin-bottom: .5rem; }
.lf-apply-modal__title{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.55rem); line-height: 1.15; color: #F8F7F3; margin: 0; }

.lf-apply-form{ padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1rem; }
.lf-apply-form__err{ background: rgba(180,40,40,.1); border-left: 3px solid #b42828; color: #8a1f1f; font-size: 13.5px; line-height: 1.5; padding: .65rem .85rem; margin: 0; }
.lf-apply-form *{ box-sizing: border-box; }
.lf-apply-form__hp{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-apply-form__row{ display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lf-apply-form__field{ display: grid; gap: .4rem; }
.lf-apply-form__field > label{ font-family: var(--ff-display, 'Raleway', sans-serif); font-weight: 600; font-size: 13px; color: var(--lf-encre, #14161A); }
.lf-apply-form__field > label span[aria-hidden]{ color: var(--lf-or-fonce, #7E711C); }
.lf-apply-form__hint{ font-weight: 400; color: #6A6D75; }
.lf-apply-form input, .lf-apply-form textarea{ width: 100%; max-width: 100%; box-sizing: border-box; font-family: var(--ff-serif, 'Roboto Slab', serif); font-size: 15px; color: var(--lf-encre, #14161A); background: #fff; border: 1px solid rgba(20,22,26,.18); padding: .7rem .85rem; }
.lf-apply-form input:focus, .lf-apply-form textarea:focus{ outline: none; border-color: var(--lf-or, #A79629); box-shadow: 0 0 0 3px rgba(167,150,41,.16); }
.lf-apply-form input[type=file]{ font-family: var(--ff-display, 'Raleway', sans-serif); font-size: 13px; padding: .55rem .6rem; }
.lf-apply-form textarea{ resize: vertical; min-height: 92px; }
.lf-apply-form__consent{ display: flex; align-items: flex-start; gap: .6rem; font-size: 13.5px; line-height: 1.5; color: var(--lf-gris-texte, #3A3D45); }
.lf-apply-form__consent input{ width: 18px; height: 18px; flex: 0 0 18px; margin-top: .15rem; accent-color: var(--lf-or, #A79629); }
.lf-apply-form__consent span span[aria-hidden]{ color: var(--lf-or-fonce, #7E711C); }
.lf-apply-form__foot{ margin-top: .3rem; }
.lf-apply-form__foot .lf-rc-btn{ display: block; width: 100%; text-align: center; }
@media (max-width: 480px){ .lf-apply-form__row{ grid-template-columns: 1fr; } }

/* ---- CANDIDATURE SPONTANEE ----------------------------------------------- */
.lf-rc-spont{ background: var(--lf-encre, #14161A); color: #F6F5F1; padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 3rem); }
.lf-rc-spont__in{ max-width: 900px; margin-inline: auto; }
.lf-rc-spont .lf-rc-h2{ color: #F8F7F3; }
.lf-rc-spont .lf-rc-lead{ color: rgba(246,245,241,.78); }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 1024px){ .lf-rc-atouts{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .lf-rc-atouts{ grid-template-columns: 1fr; } }
