/* ==========================================================================
   CVA Intérim Lacq · Feuille de style principale
   Charte graphique Groupe CVA :
   - Couleurs principales : Bleu foncé #223B86 · Or #B28235
   - Complémentaires : Bleu marine #203161 · Bleu denim #2270AC · Bleu ciel #F1F6FC
                       Or clair #D5AC5C · Or jaune #DAA500 · Taupe #EFEBDC
   - Typographies : Verdana (titres, mises en exergue) · Calibri (corps de texte)
     Calibri n'étant pas disponible partout, Carlito (métriquement identique,
     licence OFL) est embarqué localement en substitution.
   ========================================================================== */

@font-face {
  font-family: "Carlito";
  src: url("../fonts/carlito-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Carlito";
  src: url("../fonts/carlito-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --blue: #223B86;
  --gold: #B28235;
  --navy: #203161;
  --denim: #2270AC;
  --sky: #F1F6FC;
  --gold-light: #D5AC5C;
  --gold-text: #8a6020;   /* or lisible : texte or sur fond clair (contraste AA) */
  --gold-ui: #946a22;     /* or pour fonds portant du texte blanc (contraste AA) */
  --gold-yellow: #DAA500;
  --taupe: #EFEBDC;

  --ink: #1b2440;
  --text: #4a5370;
  --line: #e2e7f1;
  --white: #fff;

  --f-title: Verdana, Geneva, "DejaVu Sans", sans-serif;
  --f-body: Calibri, Carlito, "Segoe UI", Arial, sans-serif;

  --radius: 4px;
  --shadow: 0 10px 30px rgba(32, 49, 97, .10);
  --shadow-lg: 0 20px 50px rgba(32, 49, 97, .18);
  --container: 1180px;
  --header-h: 84px;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--gold-text); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--f-title); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 400; letter-spacing: -.01em; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
strong { color: inherit; }
address { font-style: normal; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--gold-yellow); outline-offset: 2px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1em; height: 1em; vertical-align: -.15em; margin-right: .45em; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 1000;
  background: var(--gold-ui); color: #fff; padding: .6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { left: 8px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .3em;
  font-family: var(--f-title); font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  padding: .95em 1.7em; border-radius: 40px; border: 2px solid transparent;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold-ui); color: #fff; box-shadow: 0 8px 20px rgba(178, 130, 53, .35); }
.btn--gold:hover { background: #7f5a1c; color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--navy); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .8); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--blue); }
.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--sm { padding: .7em 1.3em; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-family: var(--f-title); font-size: .8rem; font-weight: 700; color: var(--gold-text); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--gold-light); }
.link-arrow--light:hover { color: #fff; }

/* ---------- Titres de section ---------- */
.eyebrow {
  font-family: var(--f-title); font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: .9rem;
  display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--gold-light); }
.title { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
.title strong { font-weight: 700; color: var(--blue); }
.section { padding: 96px 0; }
.section--sky { background: var(--sky); }
.section--taupe { background: var(--taupe); }
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head--light, .section__head--light .title { color: #fff; }
.section__head--light .title strong { color: var(--gold-light); }
.section__head--light p { color: rgba(255, 255, 255, .78); }
.subhead { font-family: var(--f-title); font-size: .85rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: .6em; }
.square { width: 10px; height: 10px; background: var(--gold); display: inline-block; }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .8); font-size: .92rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 1rem; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: var(--gold-light); }
.topbar__info, .topbar__links { display: flex; gap: 1.6rem; align-items: center; }
.topbar .ico { color: var(--gold-light); }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(32, 49, 97, .10); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
/* Zone de sécurité du logo respectée (marges blanches autour) ; largeur > 22 mm */
.brand { display: flex; align-items: center; gap: 14px; padding: 6px 0; }
.brand__logo { width: 150px; height: auto; }
.brand__tag {
  font-family: var(--f-title); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: var(--blue); padding: .35em .75em; border-radius: 2px;
}
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav ul { display: flex; gap: 1.5rem; }
.nav ul a {
  font-family: var(--f-title); font-size: .8rem; color: var(--ink); position: relative; padding: .4em 0;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); transition: width .25s;
}
.nav ul a:hover::after, .nav ul a.is-active::after { width: 100%; }
.nav ul a.is-active { color: var(--blue); font-weight: 700; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--blue); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 640px; display: flex; align-items: center; color: #fff;
  background: var(--navy) url("../img/hero.webp") 70% center / cover no-repeat;
  padding: 80px 0 150px;
}
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(32, 49, 97, .94) 0%, rgba(32, 49, 97, .86) 34%, rgba(32, 49, 97, .5) 52%, rgba(32, 49, 97, .08) 70%, rgba(32, 49, 97, 0) 100%); }
.hero__content { position: relative; z-index: 2; }
.hero__frame {
  max-width: 640px; padding: 48px 44px; position: relative;
}
.hero__frame::before {
  content: ""; position: absolute; left: 0; top: 0; width: 200px; height: 78%;
  border: 6px solid var(--gold); border-right: 0; pointer-events: none;
}
.hero__frame::after {
  content: ""; position: absolute; left: 0; top: 0; width: 200px; height: 6px; background: var(--gold);
}
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.15; margin-bottom: .5em; }
.hero h1 strong { color: var(--gold-light); font-weight: 700; }
.hero__lead { font-size: 1.2rem; color: rgba(255, 255, 255, .92); max-width: 500px; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Piliers (cartes chevauchant le hero) ---------- */
.pillars { position: relative; z-index: 2; margin-top: -110px; }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; align-items: center; }
.pillar {
  background: #fff; padding: 40px 34px; text-align: center; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.pillar h2 { font-size: 1.15rem; font-weight: 700; }
.pillar p { font-size: 1.02rem; margin-bottom: 0; }
.pillar p + p { margin-top: .8em; }
.pillar__icon {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--taupe); color: var(--gold);
}
.pillar__icon svg { width: 32px; height: 32px; }
.pillar--featured {
  background: var(--blue); color: rgba(255, 255, 255, .88); padding: 56px 34px; box-shadow: var(--shadow-lg);
  border-color: var(--blue); position: relative; z-index: 1;
}
.pillar--featured h2 { color: #fff; }
.pillar--featured .pillar__icon { background: rgba(255, 255, 255, .12); color: var(--gold-light); }
.pillar--featured .link-arrow { margin-top: 18px; color: var(--gold-light); }

/* ---------- À propos ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.checklist { margin: 1.4rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: .6rem 1.5rem; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--gold);
}
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; border-radius: var(--radius); }
.about__media::before {
  content: ""; position: absolute; right: -18px; top: -18px; width: 60%; height: 60%;
  border: 3px solid var(--gold-light); z-index: -1;
}
.about__badge {
  position: absolute; left: -28px; bottom: 36px; background: var(--gold-ui); color: #fff;
  padding: 22px 26px; box-shadow: var(--shadow-lg);
}
.about__badge strong { display: block; font-family: var(--f-title); font-size: 1.6rem; }
.about__badge span { font-size: .95rem; line-height: 1.3; display: block; }

/* ---------- Secteurs ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sector {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.sector:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sector__img { overflow: hidden; aspect-ratio: 10 / 7; }
.sector__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.sector:hover .sector__img img { transform: scale(1.06); }
.sector__body { padding: 0 24px 26px; position: relative; flex: 1; border-bottom: 3px solid transparent; transition: border-color .3s; }
.sector:hover .sector__body { border-bottom-color: var(--gold); }
.sector__icon {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; margin: -27px 0 14px; position: relative; border: 4px solid #fff;
}
.sector:hover .sector__icon { background: var(--gold); }
.sector__icon svg { width: 24px; height: 24px; }
.sector h3 { font-size: .98rem; }
.sector p { font-size: 1rem; margin: 0; }

/* ---------- Bandeau image ---------- */
.band { background: var(--navy) url("../img/band.webp") center / cover no-repeat; position: relative; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(32, 49, 97, .15), rgba(32, 49, 97, .75)); }
.band__cols { position: relative; display: grid; grid-template-columns: 1fr 1.3fr 1fr 1fr; min-height: 380px; }
.band__col { border-right: 1px solid rgba(255, 255, 255, .25); display: flex; align-items: flex-end; padding: 28px; }
.band__col:last-child { border-right: 0; }
.band__col span { display: flex; align-items: center; gap: .6em; color: #fff; font-family: var(--f-title); font-size: .9rem; font-weight: 700; }
.band__col span svg { width: 22px; height: 22px; color: var(--gold-light); }
.band__col--focus { padding: 0; }
.band__card { background: var(--navy); color: rgba(255, 255, 255, .85); padding: 30px 28px; width: 100%; border-top: 4px solid var(--gold); }
.band__card h3 { color: #fff; display: flex; gap: .5em; align-items: center; font-size: .95rem; }
.band__card h3 svg { width: 22px; height: 22px; color: var(--gold-light); flex: none; }
.band__card p { font-size: 1rem; }

/* ---------- Métiers (filtres) ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.filter {
  font-family: var(--f-title); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid var(--line); background: #fff; color: var(--ink); padding: .9em 1.3em; cursor: pointer;
  border-radius: 2px; transition: all .2s;
}
.filter:hover { border-color: var(--gold); color: var(--gold-text); }
.filter.is-active { background: var(--gold-ui); border-color: var(--gold-ui); color: #fff; }
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.jobs li {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--sky);
  border-left: 3px solid var(--blue); color: var(--ink); font-weight: 700; font-size: 1.02rem;
  transition: opacity .3s, transform .3s, border-color .2s, background .2s;
}
.jobs li:hover { border-left-color: var(--gold); background: var(--taupe); }
.jobs li.is-hidden { display: none; }
.jobs li.is-in { animation: popIn .35s ease both; }
.jobs__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes popIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Offres ---------- */
.section--navy { background: var(--navy); position: relative; overflow: hidden; }
.section--navy::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, .03);
}
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.offer {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); padding: 36px 30px;
  color: rgba(255, 255, 255, .78); position: relative; transition: background .3s, transform .3s, border-color .3s;
}
.offer:hover { background: var(--blue); border-color: var(--gold); transform: translateY(-4px); }
.offer h3 { color: #fff; }
.offer p { font-size: 1.02rem; margin: 0; }
.offer__icon { width: 44px; height: 44px; color: var(--gold-light); margin-bottom: 20px; }
.offer__num { position: absolute; right: 24px; top: 18px; font-family: var(--f-title); font-size: 2.4rem; font-weight: 700; color: rgba(255, 255, 255, .07); }

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-light) 0 10px, transparent 10px 18px); }
.step { text-align: center; position: relative; }
.step__num {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px;
  background: #fff; border: 2px solid var(--blue); font-family: var(--f-title); font-weight: 700; font-size: 1.4rem; color: var(--blue);
  position: relative; transition: all .3s;
}
.step:hover .step__num { background: var(--gold); border-color: var(--gold); color: #fff; }
.step p { font-size: 1.02rem; }

/* ---------- Sécurité ---------- */
.security { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.certs li { display: flex; gap: 12px; align-items: flex-start; background: #fff; padding: 16px 18px; border-radius: var(--radius); font-size: 1.02rem; line-height: 1.4; box-shadow: 0 2px 10px rgba(32, 49, 97, .05); }
.certs svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 1px; }
.certs strong { color: var(--ink); }

/* ---------- Groupe ---------- */
.group { padding: 80px 0; }
.group__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.group__logos li {
  background: #fff; border: 1px solid var(--line); padding: 26px 26px 16px; width: 210px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px; transition: box-shadow .3s, transform .3s;
}
.group__logos li:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.group__logos img { width: 160px; height: auto; } /* > 22 mm à l'écran */
.group__logos span { font-size: .9rem; color: var(--text); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Candidats ---------- */
.candidates { background: linear-gradient(90deg, var(--sky) 0 40%, #fff 40%); }
.candidates__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.candidates__media img { width: 100%; aspect-ratio: 928 / 1152; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); border-bottom: 6px solid var(--gold); }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 28px 0 32px; }
.perks li { display: flex; gap: 14px; }
.perks svg { width: 40px; height: 40px; flex: none; color: var(--gold); padding: 8px; background: var(--taupe); border-radius: 50%; }
.perks strong { display: block; color: var(--ink); font-family: var(--f-title); font-size: .88rem; margin-bottom: .2em; }
.perks span { font-size: 1rem; line-height: 1.45; display: block; }
.candidates__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- CTA ---------- */
.cta { background: var(--blue) url("../img/cta.webp") center / cover no-repeat; position: relative; color: #fff; padding: 90px 0; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(32, 49, 97, .86); }
.cta__inner { position: relative; max-width: 820px; }
.cta h2 { color: #fff; font-size: clamp(1.4rem, 2.8vw, 2.1rem); }
.cta p { color: rgba(255, 255, 255, .85); font-size: 1.2rem; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq__list details { border: 1px solid var(--line); margin-bottom: 12px; background: #fff; transition: box-shadow .3s; }
.faq__list details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__list summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-family: var(--f-title); font-size: .9rem; font-weight: 700; color: var(--ink);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  font-family: var(--f-body); font-size: 1.2rem; line-height: 1; color: var(--gold);
}
.faq__list details[open] summary { background: var(--gold-ui); color: #fff; }
.faq__list details[open] summary::after { content: "−"; color: #fff; border-color: rgba(255, 255, 255, .5); }
.faq__list details p { padding: 18px 22px 6px; margin: 0 0 12px; font-size: 1.04rem; }

/* ---------- Contact ---------- */
.contact { background: var(--navy) url("../img/contact.webp") center / cover no-repeat; position: relative; }
.contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(32, 49, 97, .97) 0 45%, rgba(32, 49, 97, .85)); }
.contact__grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact__info { color: rgba(255, 255, 255, .85); border: 2px solid var(--gold); padding: 40px 36px; }
.contact__info h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.contact__info h2 strong { color: var(--gold-light); }
.contact__list { display: grid; gap: 22px; margin: 28px 0 30px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list svg { width: 46px; height: 46px; flex: none; padding: 11px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--gold-light); }
.contact__list span { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .6); }
.contact__list a, .contact__list address { color: #fff; font-size: 1.2rem; font-weight: 700; }
.contact__list a:hover { color: var(--gold-light); }

.contact__form { background: #fff; padding: 38px 36px; box-shadow: var(--shadow-lg); border-top: 5px solid var(--gold); }
.toggle { border: 0; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toggle legend { font-family: var(--f-title); font-size: .85rem; font-weight: 700; color: var(--ink); float: left; margin-right: 8px; }
.toggle label { cursor: pointer; }
.toggle input { position: absolute; opacity: 0; }
.toggle span { display: inline-block; padding: .55em 1.2em; border: 1px solid var(--line); border-radius: 40px; font-weight: 700; color: var(--ink); transition: all .2s; }
.toggle input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.toggle input:focus-visible + span { outline: 3px solid var(--gold-yellow); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  border: 1px solid #cfd6e6; background: var(--sky); padding: .8em 1em; border-radius: var(--radius); color: var(--ink);
  transition: border-color .2s, background .2s; width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(34, 59, 134, .15); }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; background: #fdf2f1; }
.field--check { flex-direction: row; gap: 10px; align-items: flex-start; }
.field--check input { width: 18px; height: 18px; margin-top: 4px; flex: none; accent-color: var(--blue); }
.field--check label { font-weight: 400; font-size: .95rem; line-height: 1.45; }
.field--check.has-error label { color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: 700; min-height: 1.4em; }
.form-status.is-ok { color: #1e7a46; }
.form-status.is-error { color: #c0392b; }
.form-note { font-size: .88rem; color: #5d6580; margin: 6px 0 0; }

/* ---------- Pied de page ---------- */
.footer { background: #16234a; color: rgba(255, 255, 255, .7); font-size: 1rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 20px 50px; }
/* Charte : logo jamais posé sur fond de couleur → cartouche blanc */
.footer__logo { background: #fff; display: inline-block; padding: 14px 20px; border-radius: var(--radius); margin-bottom: 18px; }
.footer__logo img { width: 140px; }
.footer h2 { color: #fff; font-size: .9rem; margin-bottom: 1.2em; position: relative; padding-bottom: .8em; }
.footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--gold); }
.footer ul { display: grid; gap: .55em; }
.footer a { color: rgba(255, 255, 255, .75); }
.footer a:hover { color: var(--gold-light); }
.footer__contact li { display: flex; gap: 10px; align-items: center; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-light); flex: none; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 18px; padding-bottom: 18px; }
.footer__bottom p { margin: 0; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); color: #fff; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Boîtes de dialogue ---------- */
.dialog { border: 0; padding: 0; max-width: 680px; width: calc(100% - 32px); border-top: 5px solid var(--gold); box-shadow: var(--shadow-lg); color: var(--text); }
.dialog::backdrop { background: rgba(22, 35, 74, .7); }
.dialog__inner { padding: 36px 34px; max-height: 80vh; overflow: auto; position: relative; }
.dialog h2 { font-size: 1.4rem; color: var(--blue); }
.dialog h3 { font-size: .9rem; margin: 1.3em 0 .4em; }
.dialog p { font-size: 1.02rem; }
.dialog__close { position: absolute; right: 14px; top: 10px; background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--ink); cursor: pointer; }
.dialog__close:hover { color: var(--gold-text); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav ul { gap: 1rem; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .header { overflow-x: clip; } /* le menu masqué hors écran ne crée pas de défilement horizontal */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: #fff;
    flex-direction: column; align-items: stretch; padding: 24px 20px; gap: 18px;
    transform: translateX(100%); transition: transform .35s ease; overflow: auto; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .nav ul a::after { display: none; }
  .pillars__grid, .offers { grid-template-columns: 1fr; }
  .pillars__grid { gap: 16px; }
  .pillars { margin-top: -70px; }
  .about__grid, .security, .faq, .candidates__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__badge { left: 16px; }
  .about__media::before { display: none; }
  .candidates { background: var(--sky); }
  .candidates__media { order: 2; }
  .jobs { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .band__cols { grid-template-columns: 1fr 1fr; }
  .band__col--focus { grid-column: 1 / -1; order: 5; }
  .band__col { min-height: 160px; }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  body { font-size: 1.06rem; }
  .topbar__links { display: none; }
  .topbar__info { gap: 1rem; font-size: .88rem; flex-wrap: wrap; }
  .brand__logo { width: 118px; }
  .hero { min-height: 560px; padding: 56px 0 110px; }
  .hero__overlay { background: rgba(32, 49, 97, .78); }
  .hero__frame { padding: 34px 22px; }
  .hero__frame::before { width: 110px; height: 76px; border-width: 4px; }
  .hero__frame::after { width: 110px; height: 4px; }
  .sectors, .jobs, .certs, .perks, .form-row, .steps, .footer__grid { grid-template-columns: 1fr; }
  .contact__form, .contact__info { padding: 28px 20px; }
  .band__cols { grid-template-columns: 1fr; }
  .band__col:not(.band__col--focus) { min-height: 90px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
  .group__logos li { width: calc(50% - 11px); padding: 18px 12px 12px; }
  .group__logos img { width: 130px; }
}

/* ---------- Pièces jointes ---------- */
.field__label { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.dropzone {
  position: relative; border: 2px dashed #b9c3da; background: var(--sky); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; transition: border-color .2s, background .2s; cursor: pointer;
}
.dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone svg { width: 30px; height: 30px; color: var(--gold); margin: 0 auto 6px; display: block; }
.dropzone p { margin: 0; font-size: 1rem; color: var(--ink); }
.dropzone__link { color: var(--blue); text-decoration: underline; }
.dropzone__help { font-size: .86rem !important; color: #7a8299 !important; margin-top: 4px !important; }
.dropzone:hover, .dropzone.is-over { border-color: var(--gold); background: var(--taupe); }
.dropzone:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(34, 59, 134, .15); }
.field--files.has-error .dropzone { border-color: #c0392b; background: #fdf2f1; }
.filelist { display: grid; gap: 6px; margin-top: 10px; }
.filelist li {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--gold); padding: 8px 10px; font-size: .95rem; color: var(--ink);
}
.filelist svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.filelist .filelist__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filelist .filelist__size { color: #7a8299; font-size: .85rem; white-space: nowrap; }
.filelist button {
  border: 0; background: none; color: #c0392b; font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 4px;
}
.filelist li.is-error { border-left-color: #c0392b; background: #fdf2f1; }
.filelist__err { display: block; color: #c0392b; font-size: .82rem; }


/* ---------- En-tête : libellé « Intérim Lacq » et menu sans retour à la ligne ---------- */
.brand__tag, .nav ul a, .nav__cta { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1180px) {
  .brand__logo { width: 120px; }
  .brand { gap: 10px; }
  .brand__tag { font-size: .68rem; }
  .nav { gap: 1rem; }
  .nav ul { gap: .8rem; }
  .nav ul a { font-size: .72rem; }
  .nav__cta { padding: .8em 1.1em; }
}
@media (max-width: 380px) {
  .brand__logo { width: 96px; }
  .brand { gap: 8px; }
  .brand__tag { font-size: .66rem; letter-spacing: .1em; }
}

/* ---------- Secteurs : 3 rubriques ---------- */
.sectors--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .sectors--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .sectors--3 { grid-template-columns: 1fr; } }

/* ---------- Barre d'actions mobile ---------- */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; box-shadow: 0 -6px 20px rgba(32, 49, 97, .18); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .callbar__btn {
    display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; border-radius: 999px;
    font-family: var(--f-title); font-size: .8rem; font-weight: 700; text-decoration: none;
  }
  .callbar__btn svg { width: 18px; height: 18px; }
  .callbar__btn--call { background: var(--blue); color: #fff; }
  .callbar__btn--mail { background: var(--gold-ui); color: #fff; }
  .to-top { bottom: 84px; }
  .footer { padding-bottom: 70px; }
}

/* ---------- Secteurs : cartes compactes (sans photo) ---------- */
.sectors--compact { grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 24px; }
.sector--compact { padding-top: 26px; }
.sector--compact .sector__body { padding: 0 20px 24px; }
.sector--compact .sector__icon { position: static; margin: 0 0 14px; }
.sector--compact p { font-size: .95rem; }
@media (max-width: 1100px) { .sectors--compact { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .sectors--compact { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px)  { .sectors--compact { grid-template-columns: 1fr; } }

/* Espace candidats : 5 étapes, la dernière sur toute la largeur */
.perks li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.candidates__text .subhead { margin: 1.4rem 0 .8rem; }

/* Nos atouts : 4 cartes */
.offers--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .offers--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .offers--4 { grid-template-columns: 1fr; } }
.offers--4 .offer h3 { font-size: 1rem; }

/* ---------- Votre contact ---------- */
.person { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--gold); box-shadow: var(--shadow); padding: 36px 40px; }
.person__photo { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 6px solid var(--taupe); }
.person__photo--placeholder { display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--f-title); font-size: 3.4rem; font-weight: 700; letter-spacing: .04em; }
.person h3 { font-size: 1.5rem; margin-bottom: .1em; }
.person__role { font-family: var(--f-title); font-size: .85rem; font-weight: 700; color: var(--gold-text); margin: 0 0 1rem; }
.person__body p { margin: 0 0 1rem; }
.person__links { display: grid; gap: .5rem; margin: 0 0 1.4rem; }
.person__links li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.person__links svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.person__links a { color: var(--ink); overflow-wrap: anywhere; }
.person__links a:hover { color: var(--gold-text); }
.person__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 720px) {
  .person { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 28px 22px; gap: 24px; }
  .person__photo { width: 160px; height: 160px; font-size: 2.6rem; }
  .person__links li, .person__actions { justify-content: center; }
}

/* Chiffres clés */
.keyfigs { background: var(--navy); color: #fff; padding: 44px 0; }
.keyfigs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.keyfig strong { display: block; font-family: var(--f-title); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.1; color: #e3b866; }
.keyfig span { display: block; margin-top: 8px; font-size: 1rem; color: #e8ecf6; }
.keyfig + .keyfig { border-left: 1px solid rgba(255,255,255,.18); }
@media (max-width: 760px) {
  .keyfigs__grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .keyfig + .keyfig { border-left: 0; }
}
.btn--wa { background: #1c7a4a; color: #fff; }
.btn--wa:hover { background: #15603a; color: #fff; }
.btn .ico { width: 18px; height: 18px; }

/* Label MASE */
.mase { background: #fff; border-top: 4px solid var(--gold); border-radius: 6px; box-shadow: 0 14px 40px rgba(32,49,97,.10); padding: 36px 32px; text-align: center; align-self: center; }
.mase img { width: 285px; max-width: 100%; height: auto; margin: 0 auto 20px; }
.mase__title { font-family: var(--f-title); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin: 0 0 8px; }
.mase p:last-child { margin: 0; color: var(--ink); }

/* ---------- Coordonnées protégées (anti-collecte) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a.pc { cursor: pointer; }
a.pc .pc__v { font-variant-numeric: tabular-nums; }
.pc__hint {
  display: inline-block; margin-left: .6em; padding: .1em .55em; border-radius: 999px; vertical-align: .1em;
  font-family: var(--f-title); font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--taupe); color: var(--gold-text);
}
.contact__list .pc__hint { background: rgba(255, 255, 255, .14); color: var(--gold-light); }
.contact__noscript { font-size: .95rem; color: rgba(255, 255, 255, .85); }
/* Dans le bloc Contact, les <span> du numéro ne doivent pas prendre le style des étiquettes (« TÉLÉPHONE ») */
.contact__list a.pc .pc__v { display: inline; font-size: inherit; text-transform: none; letter-spacing: normal; color: inherit; }
.contact__list a.pc .pc__hint { display: inline-block; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-light); }
