/* Carrières + Blog v7 · Han Pixel, 17 nov. 2026.
   Alternance marin / blanc, aucun fond crème. Inter 200–500.
   Courbe cubic-bezier(.16,1,.3,1). Pas d’italique, pas de surligneur.
   Corail #D43829 en accent seulement (filet, disque). Les numéros d’article
   sont en marin : le corail sur le texte passe sous le contraste voulu. */

.cb-deck{
  --marin:#010C30;
  --blanc:#FFFFFF;
  --corail:#D43829;
  --e:cubic-bezier(.16,1,.3,1);
  box-sizing:border-box;
  padding:calc(var(--hh,80px) + 48px) var(--m,24px) 48px !important;
}
.cb-deck *,.cb-art *{font-style:normal}
.cb-in{width:100%;max-width:1360px;margin:0 auto}

/* typo partagée */
.cb-lab{
  margin:0;
  font:500 12px/1 Inter,system-ui,sans-serif;
  letter-spacing:.09em;text-transform:uppercase;
}
.cb-h1{
  margin:20px 0 0;
  font:300 clamp(44px,6.2vw,96px)/1 Inter,system-ui,sans-serif;
  letter-spacing:-.035em;max-width:14ch;
}
.cb-h2{
  margin:0;
  font:300 clamp(32px,4vw,64px)/1.05 Inter,system-ui,sans-serif;
  letter-spacing:-.03em;max-width:18ch;
}
.cb-lead{
  margin:28px 0 0;
  font:400 clamp(16px,1.4vw,20px)/1.45 Inter,system-ui,sans-serif;
  max-width:36ch;
}
.cb-deck .sigl{
  display:block;position:relative;
  width:min(220px,40vw);height:10px;margin-top:28px;
}
.cb-deck .sigl i{
  position:absolute;left:0;right:8px;top:4px;height:1.5px;background:currentColor;
}
.cb-deck .sigl b{
  position:absolute;right:0;top:1px;width:8px;height:8px;border-radius:50%;background:var(--corail);
}
.cb-pt{
  width:9px;height:9px;border-radius:50%;background:var(--corail);
  display:inline-block;margin-top:28px;
}

/* thèmes */
.cb-deck.cb-dk, .cb-deck.cb-dk .cb-lab, .cb-deck.cb-dk .cb-h1, .cb-deck.cb-dk .cb-h2{color:#fff}
.cb-deck.cb-dk{background:#010C30;color:#fff}
.cb-deck.cb-dk .cb-lead,.cb-deck.cb-dk .cb-mut{color:rgba(255,255,255,.72)}
.cb-deck.cb-dk .sigl i{background:#fff}
.cb-deck.cb-lt, .cb-deck.cb-lt .cb-lab, .cb-deck.cb-lt .cb-h1, .cb-deck.cb-lt .cb-h2{color:#010C30}
.cb-deck.cb-lt{background:#fff;color:#010C30}
.cb-deck.cb-lt .cb-lead,.cb-deck.cb-lt .cb-mut{color:rgba(1,12,48,.62)}
.cb-deck.cb-lt .sigl i{background:#010C30}
.cb-deck.cb-dk .cb-lab .n{color:#fff} /* corail sur marin < AA petit texte */
.cb-deck.cb-lt .cb-lab .n{color:var(--corail)}

/* ---------- Carrières : 4 points ---------- */
.cb-points{
  display:grid;grid-template-columns:1fr 1fr;gap:32px 48px;margin-top:48px;
}
.cb-point .n{
  font:500 12px/1 Inter,system-ui,sans-serif;letter-spacing:.09em;
}
.cb-point h3{
  margin:12px 0 0;
  font:400 clamp(20px,2vw,28px)/1.15 Inter,system-ui,sans-serif;letter-spacing:-.02em;
}
.cb-point p{
  margin:12px 0 0;
  font:400 16px/1.45 Inter,system-ui,sans-serif;max-width:36ch;
}
.cb-deck.cb-lt .cb-point .n{color:var(--corail)}
.cb-deck.cb-dk .cb-point .n{color:#fff}

/* ---------- Formulaire candidature (scène, pas de fenêtre) ---------- */
.cb-apply{margin-top:36px;max-width:760px}
.cb-apply .cb-row{display:grid;grid-template-columns:1fr 1fr;gap:20px 24px}
.cb-fd{display:flex;flex-direction:column;margin:0 0 20px}
.cb-fd > span{
  font:500 12px/1 Inter,system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase;margin-bottom:8px;
}
.cb-fd input,.cb-fd select,.cb-fd textarea{
  width:100%;box-sizing:border-box;height:48px;padding:0;
  border:0;border-bottom:1.5px solid rgba(255,255,255,.34);
  border-radius:0;background:transparent;
  font:400 16px/1.3 Inter,system-ui,sans-serif;color:#fff;caret-color:#fff;
}
.cb-fd textarea{height:96px;padding:10px 0;resize:vertical}
.cb-fd input:focus-visible,.cb-fd select:focus-visible,.cb-fd textarea:focus-visible{
  outline:2px solid #fff;outline-offset:3px;border-bottom-color:#fff;
}
.cb-fd select option{color:#010C30}
.cb-consent{
  display:flex;align-items:flex-start;gap:12px;margin:8px 0 0;
  font:400 13px/1.45 Inter,system-ui,sans-serif;color:rgba(255,255,255,.72);cursor:pointer;
}
.cb-consent input{position:absolute;opacity:0;width:22px;height:22px}
.cb-consent .box{
  flex:none;width:22px;height:22px;border:1px solid #fff;border-radius:2px;margin-top:1px;
}
.cb-consent input:checked + .box{background:#fff}
.cb-consent input:focus-visible + .box{outline:2px solid #fff;outline-offset:3px}
.cb-pol{display:inline-block;margin:10px 0 0 34px;color:#fff;text-decoration:underline;text-underline-offset:3px;font-size:13px}
.cb-send{
  margin-top:28px;min-height:48px;padding:0 26px;border-radius:999px;border:1px solid #fff;
  background:#fff;color:#010C30;font:400 15px/1 Inter,system-ui,sans-serif;
  display:inline-flex;align-items:center;gap:10px;cursor:pointer;
}
.cb-send:hover{background:transparent;color:#fff}
.cb-ok{margin:20px 0 0;font:400 18px/1.45 Inter,system-ui,sans-serif;color:#fff}
.cb-hp{position:absolute;left:-9999px;height:0;overflow:hidden}

/* ---------- Blog index ---------- */
.cb-feat{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:48px;align-items:end;margin-top:36px}
.cb-feat h2{margin:16px 0 0;font:300 clamp(32px,4.2vw,68px)/1.05 Inter,system-ui,sans-serif;letter-spacing:-.03em;max-width:18ch}
.cb-feat p{margin:20px 0 0;font:400 18px/1.45 Inter,system-ui,sans-serif;max-width:40ch}
.cb-meta{margin:0;font:500 12px/1 Inter,system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase}
.cb-more{
  display:inline-flex;align-items:center;min-height:44px;margin-top:24px;
  color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;
  text-decoration-color:rgba(1,12,48,.28);font:400 15px/1 Inter,system-ui,sans-serif;
}
.cb-deck.cb-dk .cb-more{text-decoration-color:rgba(255,255,255,.34)}
.cb-more:hover{text-decoration-color:currentColor}

.cb-filters{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 8px}
.cb-filter{
  min-height:40px;padding:0 16px;border-radius:999px;
  border:1px solid rgba(255,255,255,.4);background:none;color:#fff;
  font:400 14px/1 Inter,system-ui,sans-serif;cursor:pointer;
}
.cb-filter[aria-pressed=true],.cb-filter:hover{background:#fff;color:#010C30;border-color:#fff}

.cb-list{display:flex;flex-direction:column;margin-top:12px}
.cb-item{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 32px;
  padding:22px 0;border-top:1px solid rgba(255,255,255,.18);
  color:inherit;text-decoration:none;
}
.cb-item h3{margin:8px 0 0;font:400 clamp(20px,2.2vw,32px)/1.15 Inter,system-ui,sans-serif;letter-spacing:-.02em}
.cb-item p{margin:10px 0 0;font:400 16px/1.45 Inter,system-ui,sans-serif;max-width:62ch;color:rgba(255,255,255,.72)}
.cb-item time,.cb-item .cb-go{font:400 14px/1 Inter,system-ui,sans-serif;color:rgba(255,255,255,.72);align-self:end}
.cb-item[hidden]{display:none}

/* liste interne si trop haute */
html.deck #liste.cb-deck,html.deck #endroit.cb-deck,html.deck #candidature.cb-deck{
  overflow:auto;overscroll-behavior:contain;
}

/* ---------- Article en flux ---------- */
.cb-art{background:#fff;color:#010C30}
.cb-art-hero{
  background:#010C30;color:#fff;
  padding:calc(var(--hh,80px) + 48px) var(--m,24px) 56px;
}
.cb-art-hero .cb-in{max-width:820px}
.cb-art-hero .cb-back{
  display:inline-flex;align-items:center;min-height:44px;margin:0 0 28px;
  color:#fff;text-decoration:underline;text-underline-offset:4px;
  text-decoration-color:rgba(255,255,255,.34);font:400 15px/1 Inter,system-ui,sans-serif;
}
.cb-art-hero .cb-back:hover{text-decoration-color:#fff}
.cb-art-hero h1{
  margin:16px 0 0;
  font:300 clamp(36px,5vw,72px)/1.05 Inter,system-ui,sans-serif;
  letter-spacing:-.03em;
}
.cb-by{display:grid;grid-template-columns:1fr 1fr;gap:8px 32px;margin:32px 0 0;max-width:420px}
.cb-by dt{font:500 12px/1 Inter,system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#FFFFFF}
.cb-by dd{margin:6px 0 0;font:400 16px/1.4 Inter,system-ui,sans-serif}

.cb-progress{
  position:fixed;top:0;left:0;right:0;height:2px;z-index:40;pointer-events:none;
  background:transparent;
}
.cb-progress > i{display:block;height:100%;width:0;background:var(--corail)}

/* --m grandit avec l'écran. Dans cette boîte de 820 px, au-delà de la marge
   mesurée à 1440 (112 px) le texte s'écrase. On plafonne, rien ne change en dessous. */
.cb-body{padding-top:56px;padding-bottom:80px;padding-inline:min(var(--m,24px),112px);max-width:820px;margin:0 auto}
.cb-toc{margin:0 0 40px;padding:0 0 24px;border-bottom:1px solid rgba(1,12,48,.5)}
.cb-body hr{border:0;border-top:1px solid rgba(1,12,48,.5)}
.cb-toc ol{margin:12px 0 0;padding:0;list-style:none;counter-reset:toc}
.cb-toc li{margin:0;padding:6px 0;counter-increment:toc}
.cb-toc a{color:#010C30;text-decoration:none;font:400 16px/1.4 Inter,system-ui,sans-serif}
.cb-toc a:hover{text-decoration:underline}
.cb-toc li::before{content:counter(toc, decimal-leading-zero) "  ";font:500 12px/1 Inter,system-ui,sans-serif;letter-spacing:.08em;color:#010C30}
.cb-body .toc-num,.cb-body h2 .num{color:#010C30}

.cb-body h2{
  margin:48px 0 16px;
  font:400 clamp(24px,3vw,36px)/1.15 Inter,system-ui,sans-serif;letter-spacing:-.02em;
}
.cb-body p,.cb-body li{font:400 18px/1.55 Inter,system-ui,sans-serif;color:#010C30}
.cb-body p{margin:0 0 16px}
.cb-body ul,.cb-body ol{margin:0 0 20px;padding-left:1.2em}
.cb-body li{margin:0 0 8px}
.cb-faq details{border-top:1px solid rgba(1,12,48,.5);padding:16px 0}
.cb-faq summary{
  cursor:pointer;font:400 18px/1.4 Inter,system-ui,sans-serif;list-style:none;
  min-height:44px;display:flex;align-items:center;
}
.cb-faq summary::-webkit-details-marker{display:none}

.cb-related{background:#010C30;color:#fff;padding:64px var(--m,24px)}
.cb-related .cb-in{max-width:1360px}
.cb-related h2{margin:0 0 8px;font:300 clamp(28px,3.5vw,48px)/1.1 Inter,system-ui,sans-serif;letter-spacing:-.03em}
.cb-related-top{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.cb-related .cb-item{border-top-color:rgba(255,255,255,.18)}
.cb-art-cta{/* le titre existant juste au-dessus de Parlons-en */
  background:#010C30;color:#fff;padding:48px var(--m,24px) 8px;
}
.cb-art-cta .cb-in{max-width:820px}
.cb-art-cta h2{margin:0;font:300 clamp(32px,4vw,56px)/1.1 Inter,system-ui,sans-serif;letter-spacing:-.03em}
.cb-art-cta p{margin:16px 0 20px;font:400 18px/1.45 Inter,system-ui,sans-serif;color:rgba(255,255,255,.72);max-width:36ch}
.cb-art-cta .cb-more{color:#fff}

/* reduced / flow */
html:not(.deck) .cb-deck{min-height:100vh}
@media (max-width:767px){
  .cb-h1{font-size:40px}
  .cb-h2{font-size:32px}
  .cb-points,.cb-apply .cb-row,.cb-feat,.cb-by{grid-template-columns:1fr}
  .cb-item{grid-template-columns:1fr;gap:8px}
  .cb-deck{padding-top:calc(var(--hh,68px) + 28px) !important;padding-bottom:32px !important}
  html.deck #liste.cb-deck,html.deck #endroit.cb-deck,html.deck #candidature.cb-deck{
    overflow:auto;overscroll-behavior:contain;
  }
}
@media (prefers-reduced-motion:reduce){
  .cb-deck *,.cb-art *{animation:none !important;transition:none !important}
}
html.reduced .cb-deck *,html.reduced .cb-art *{animation:none !important;transition:none !important}
.cb-deck :focus-visible,.cb-art :focus-visible,.cb-filter:focus-visible,.cb-send:focus-visible{
  outline:2px solid currentColor;outline-offset:3px;
}

/* notice officielle (pas de case inventée) */
.cb-note{
  margin:20px 0 0;
  font:400 13px/1.45 Inter,system-ui,sans-serif;
  color:rgba(255,255,255,.72);
  max-width:62ch;
}
.cb-note a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.cb-file{
  display:flex;align-items:center;min-height:48px;
  border-bottom:1.5px solid rgba(255,255,255,.34);
  font:400 15px/1.3 Inter,system-ui,sans-serif;color:rgba(255,255,255,.72);
}
.cb-file input{font:inherit;color:#fff;width:100%;border:0;background:transparent;padding:10px 0}
.cb-count{margin:20px 0 0;font:500 12px/1 Inter,system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.cb-empty{margin:24px 0 0;font:400 16px/1.45 Inter,system-ui,sans-serif;color:rgba(255,255,255,.72)}
.cb-jump{ /* bouton existant, ancre interne */
  display:inline-flex;align-items:center;gap:10px;margin-top:28px;min-height:48px;padding:0 26px;
  border-radius:999px;border:1px solid #fff;background:#fff;color:#010C30;
  font:400 15px/1 Inter,system-ui,sans-serif;text-decoration:none;
}
.cb-jump:hover{background:transparent;color:#fff}
.cb-form-head{margin:40px 0 8px}
.cb-sent[hidden]{display:none}


/* cascade légère si T.* ne joue pas enterFx (T.point ne l'appelle pas) */
html.deck:not(.reduced) .cb-deck:not(.live) .cb-in > *{opacity:0;transform:translateY(16px)}
html.deck:not(.reduced) .cb-deck.live .cb-in > *{
  opacity:1;transform:none;
  transition:opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
html.deck:not(.reduced) .cb-deck.live .cb-in > *:nth-child(1){transition-delay:.08s}
html.deck:not(.reduced) .cb-deck.live .cb-in > *:nth-child(2){transition-delay:.16s}
html.deck:not(.reduced) .cb-deck.live .cb-in > *:nth-child(3){transition-delay:.24s}
html.deck:not(.reduced) .cb-deck.live .cb-in > *:nth-child(4){transition-delay:.32s}
html.deck:not(.reduced) .cb-deck.live .cb-in > *:nth-child(n+5){transition-delay:.4s}


/* correctifs après lecture des rendus, 17 nov. 2026 */
.cb-sent[hidden]{display:none !important}
.cb-apply.is-sent .cb-fields{display:none}
.cb-apply.is-sent .cb-sent{display:block;color:#fff}

#candidature .cb-h2{font-size:clamp(28px,3.6vw,52px)}
#candidature .cb-form-head{margin:28px 0 12px}
#candidature .cb-form-head h2,
#candidature .cb-form-title{
  margin:8px 0 0;
  font:400 clamp(22px,2.4vw,36px)/1.15 Inter,system-ui,sans-serif;
  letter-spacing:-.02em;color:#fff;
}
#candidature .cb-lead{margin-top:16px}
#candidature .cb-fd{margin-bottom:14px}
.cb-deck.cb-dk a.cb-item,
.cb-related a.cb-item{color:#fff}
.cb-deck.cb-dk .cb-item h2,
.cb-deck.cb-dk .cb-item h3,
.cb-related .cb-item h2,
.cb-related .cb-item h3{color:#fff}
.cb-item .cb-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px;justify-content:flex-end}
.cb-feat{grid-template-columns:1fr;gap:0;max-width:820px}
.cb-feat .cb-when{margin-top:8px}

/* article : en-tête fixé sur le héros marin.
   overflow-x:hidden sur body empêche le sommaire sticky (le défilement n'est plus le sien). */
body.cb-art-page{overflow:visible}
body.cb-art-page .top{
  position:fixed;left:0;right:0;top:0;z-index:30;
  background:transparent;
}
body.cb-art-page .cb-art-hero{padding-top:calc(var(--hh,80px) + 48px)}
body.cb-art-page .cb-progress{top:0;z-index:40}

.cb-body h2 .n,
.prose h2 .n{
  display:inline-block;margin-right:.55em;
  font:500 12px/1 Inter,system-ui,sans-serif;
  letter-spacing:.09em;color:#010C30;vertical-align:.15em;
}
.cb-body details summary,
.afaq details summary,
.cb-faq details summary{
  list-style:none;cursor:pointer;
  font:400 18px/1.4 Inter,system-ui,sans-serif;
  min-height:44px;display:flex;align-items:center;
}
.cb-body details summary::-webkit-details-marker,
.afaq details summary::-webkit-details-marker,
.cb-faq details summary::-webkit-details-marker,
.cb-body details summary::marker,
.afaq details summary::marker,
.cb-faq details summary::marker{content:none;display:none}
/* Séparateurs de « Questions fréquentes ». rgba(1,12,48,.16) sur blanc = #D6D8DE, 1,43:1. */
.afaq details, .cb-faq details, .cb-body details{
  border-top:1px solid rgba(1,12,48,.5);
  border-color:rgba(1,12,48,.5);
  padding:8px 0;
}

#pt.cb-pt{ /* plus utilisé : le disque est .sigl b */ display:none }

body.cb-art-page header.top.dark{
  background:transparent !important;
  color:#fff;
}
/* Défilé sur le héros marin : fond Marin plein, comme #108.
   Sans .cb-scrolled (haut de page), la règle du dessus laisse le bandeau transparent. */
body.cb-art-page header.top.dark.cb-scrolled{
  background:#010C30 !important;
  background-color:#010C30 !important;
}
body.cb-art-page header.top:not(.dark){
  background:#fff !important;
  color:#010C30;
}
/* Corps blanc : le texte passe sous l'en-tête fixé. Fond seulement une fois défilé. */
body.cb-art-page header.top.cb-scrolled:not(.dark){
  background:rgba(255,255,255,.92) !important;
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.cb-sent:focus{outline:2px solid #fff;outline-offset:6px}
.cb-file input[type=file]{color:rgba(255,255,255,.72)}
.cb-file input[type=file]::file-selector-button{
  background:transparent;border:1px solid #fff;color:#fff;
  border-radius:999px;height:36px;padding:0 14px;margin:6px 12px 6px 0;
  font:400 13px/1 Inter,system-ui,sans-serif;cursor:pointer;
}
/* À partir de 1440, le héros suit la colonne de texte (596 px), plus le bord
   de la boîte de 820 px. À partir de 1600, le sommaire passe à gauche. */
@media (min-width:1440px){
  .cb-art-hero .cb-in{max-width:596px}
}
@media (min-width:1600px){
  .cb-art-hero .cb-in{
    display:grid;grid-template-columns:240px 596px;column-gap:96px;
    width:932px;max-width:none;
  }
  .cb-art-hero .cb-in > *{grid-column:2}
  .cb-body{
    display:grid;grid-template-columns:240px 596px;column-gap:96px;
    justify-content:center;align-items:start;
    max-width:none;width:100%;padding-inline:0;
  }
  .cb-toc{position:sticky;top:120px;align-self:start;margin-bottom:0}
}
.cb-feat p.cb-meta{max-width:none;margin-top:0;white-space:nowrap}
.cb-feat p.cb-meta time{white-space:nowrap}
@media (max-width:767px){
  .cb-feat p.cb-meta{white-space:normal}
  .cb-feat p.cb-meta time{white-space:nowrap}
}
