/* Core de métier — page d’accueil (fond lilas + pit)
   Couleurs : lilas #CBB8F4, encre #120D1C, texte #1E1630, violet #4A3888
   Typos : Archivo (titres, boutons), Hanken Grotesk (texte), Unbounded (lettres du pit), Jost (DE MÉTIER) */
body{margin:0;background:#CBB8F4}
a{color:#000}a:hover{color:#2A1A55}
.ob{min-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;background:#CBB8F4;color:#000;font-family:'Hanken Grotesk',system-ui,sans-serif;overflow:hidden}
.ob *{box-sizing:border-box}
.ob-head{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:16px 32px;flex-wrap:wrap;padding:28px 48px 0}
.ob-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#000;min-height:44px}
.ob-brand span{font-family:'Archivo',sans-serif;font-weight:850;font-stretch:72%;font-size:32px;line-height:1;letter-spacing:.01em;text-transform:uppercase}
.ob-brand img{height:54px;width:auto;display:block;transform-origin:50% 90%}
/* Le logo Core de métier headbangue doucement (coupé en mode calme et avec « réduire les animations ») */
html:not(.is-calm) .ob-brand img{animation:signe-bang 4s cubic-bezier(.5,0,.2,1) infinite}
.ob-brand:hover img{animation-duration:.86s!important}
@keyframes signe-bang{0%,72%,100%{transform:rotate(0) translateY(0)}78%{transform:rotate(-5deg) translateY(5%)}84%{transform:rotate(0) translateY(0)}90%{transform:rotate(-5deg) translateY(5%)}96%{transform:rotate(0) translateY(0)}}
/* « Je candidate » toujours visible en haut à droite (sauf sur la page du formulaire elle-même) */
.ob-head:has(>.ob-btn.sm:not([aria-current])){padding-right:232px}
.ob-head>.ob-btn.sm:not([aria-current]){position:fixed;top:28px;right:48px;z-index:35;box-shadow:0 0 0 2px #CBB8F4}
.ob-nav{display:flex;align-items:center;gap:8px 28px;flex-wrap:wrap}
.ob-nav a{font-size:15px;text-decoration:none;color:#000;padding:12px 0;border-bottom:1.5px solid transparent}
.ob-nav a:hover{border-bottom-color:#000}
.ob-btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 30px;border-radius:8px;background:#120D1C;color:#CBB8F4;text-decoration:none;font-family:'Archivo',sans-serif;font-weight:800;font-stretch:75%;font-size:20px;letter-spacing:.06em;text-transform:uppercase;transition:transform .15s,background .2s,color .2s}
.ob-btn:hover{background:#F7F5FB;color:#120D1C;transform:rotate(-2deg)}
.ob-btn.sm{min-height:44px;padding:0 20px;font-size:16px}
.ob a:focus-visible,.ob button:focus-visible{outline:3px solid #000;outline-offset:3px}
.ob-main{flex:1;display:grid;grid-template-columns:minmax(0,560px) minmax(0,1fr);gap:40px;align-items:stretch;padding:8px 0 24px 48px}
.ob-text{display:flex;flex-direction:column;justify-content:center;padding:12px 0}
.ob-h1{font-family:'Archivo',sans-serif;font-weight:850;font-stretch:72%;font-size:118px;line-height:.86;letter-spacing:-0.01em;text-transform:uppercase;margin:0 0 26px}
.ob-lede{font-size:18px;line-height:1.55;color:#1E1630;max-width:46ch;margin:0 0 28px;text-wrap:pretty}
.ob-cta{display:flex;align-items:center;gap:14px 22px;flex-wrap:wrap;margin-bottom:26px}
.ob-cta p{margin:0;font-size:15px;font-weight:500}
.ob-facts{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-wrap:wrap;gap:10px 24px;font-size:15px;color:#1E1630}
.ob-facts li{display:flex;align-items:center;gap:10px}
.ob-facts li::before{content:"";flex:none;width:14px;height:6px;border-radius:2px;background:#120D1C}
.ob-facts strong{color:#000;font-weight:600}
.ob-hint{margin:0;font-size:14px;color:#2A1F40}
.ob-pitwrap{position:relative;background:transparent;border-radius:0;display:flex;align-items:center;justify-content:center;overflow:hidden;min-height:600px;padding:12px 24px}
.ob-pitwrap .lp-pit{width:min(100%,600px)}
.lp-pit{position:relative;width:100%;aspect-ratio:1/1;margin:0;touch-action:pan-y;cursor:crosshair}
.lp-glow{position:absolute;inset:6%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.32),rgba(255,255,255,0));pointer-events:none}
.lp-letters{position:absolute;left:-30%;top:-15%;width:160%;height:130%;display:block;pointer-events:none}
.lp-stage{position:absolute;left:25%;top:26.9%;width:50%;aspect-ratio:1098/959;transform-origin:50% 75%}
.lp-gl,.lp-fallback,.lp-dm{position:absolute;inset:0;width:100%;height:100%;display:block}
.lp-dm{pointer-events:none;overflow:visible}
.lp-fallback{left:4.55%;top:5.21%;right:auto;bottom:auto;width:90.89%;height:89.57%;object-fit:contain;transition:opacity .5s}
.lp-corebtn{position:absolute;left:12%;top:10%;width:76%;height:80%;background:transparent;border:none;padding:0;cursor:pointer;border-radius:40%}
.lp-corebtn:focus-visible{outline:3px solid #000;outline-offset:3px}
.is-hb:not(.is-calm) .lp-stage{animation:lp-nod .4286s cubic-bezier(.5,0,.2,1) infinite}
.is-impact:not(.is-calm) .lp-pit{animation:lp-shake .36s linear}
@keyframes lp-nod{0%{transform:rotate(0) translateY(0)}30%{transform:rotate(7deg) translateY(4%)}100%{transform:rotate(0) translateY(0)}}
@keyframes lp-shake{0%{transform:translate(0,0)}20%{transform:translate(-9px,4px)}40%{transform:translate(8px,-5px)}60%{transform:translate(-5px,3px)}80%{transform:translate(3px,-2px)}100%{transform:translate(0,0)}}
.ob-foot{position:relative;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px 32px;flex-wrap:wrap;padding:18px 48px 24px;font-size:13px;line-height:1.45;color:#2A1F40;border-top:1.5px solid #120D1C}
.ob-foot p{margin:0;max-width:78ch}
.ob-ctrl{display:flex;gap:8px;flex-wrap:wrap}
.ob-ctrl button{font:inherit;font-size:13px;font-weight:600;min-height:44px;padding:0 16px;border-radius:8px;border:1.5px solid #120D1C;background:transparent;color:#120D1C;cursor:pointer}
.ob-ctrl button:hover,.ob-ctrl button[aria-pressed="true"]{background:#120D1C;color:#CBB8F4}
/* Tablette (701–1080 px) : une seule colonne, sinon le pit est écrasé à côté du texte de 560 px */
@media (max-width:1080px){
.ob-main{grid-template-columns:minmax(0,1fr);gap:0;padding:8px 0 24px}
.ob-text{padding:12px 48px 8px;max-width:760px}
.ob-pitwrap{min-height:0;padding:16px 24px 8px}
.ob-pitwrap .lp-pit{width:min(100%,560px)}
}
@media (max-width:700px){
.ob{min-height:0}
.ob-head{padding:16px 20px 0;gap:4px 12px}
.ob-head:has(>.ob-btn.sm:not([aria-current])){padding-right:20px}
.ob-head>.ob-btn.sm:not([aria-current]){top:16px;right:16px}
.ob-head .ob-btn.sm{padding:0 14px;font-size:15px}
.ob-brand{gap:8px}
.ob-brand span{font-size:22px}
.ob-brand img{height:42px}
.ob-nav{order:3;width:100%;gap:0 20px}
.ob-nav a{font-size:14px}
.ob-main{grid-template-columns:minmax(0,1fr);gap:0;padding:8px 0 0}
.ob-text{padding:8px 20px 28px}
.ob-h1{font-size:72px}
.ob-lede{font-size:16px;margin-bottom:22px}
.ob-cta .ob-btn{width:100%}
.ob-pitwrap{border-radius:28px 28px 0 0;min-height:0;padding:28px 0}
.ob-pitwrap .lp-pit{width:340px}
.ob-foot{padding:24px 20px 28px;flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){.ob *{transition:none!important;animation:none!important}}
