/* Workin Group — feuille de style commune à toutes les pages
   Charte : rose #ea346f (accents, boutons), bleu foncé #29245c (identité, titres), Poppins */

:root {
  --rose: #ea346f;
  --rose-dark: #d02a60;
  --rose-soft: #fde8ef;
  --sand: #eef1fb;
  --sand-deep: #b9c5f4;
  --navy: #29245c;
  --navy-deep: #221e4e;
  --lilac: #f5f4fa;
  --ink: #29245c;
  --text: #3b3768;
  --muted: #6b6890;
  --line: #e6e4f0;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(41, 36, 92, .08);
  --font: "Poppins", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -.9px; }
h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.15; letter-spacing: -.4px; }
h3 { font-size: 17px; line-height: 1.3; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 32px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section { padding-block: 80px; }
.section--lilac { background: var(--lilac); }
.section--navy { background: var(--navy); color: #d9d7ee; }
.section--navy h2 { color: var(--white); }

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 12px;
}
.lead { margin-top: 12px; max-width: 70ch; font-size: 14px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px;
  font: 600 13px/1.2 var(--font); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--rose { background: var(--rose); color: var(--white); }
.btn--rose:hover { background: var(--rose-dark); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--ghost-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { color: var(--rose); font-size: 12px; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* En-tête */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--rose);
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--rose);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 88px;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.header__logo img { height: 72px; width: auto; margin-block: -4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a, .nav button {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; font: 500 15.5px var(--font); color: var(--white);
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav .caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  list-style: none; margin: 0; padding: 8px;
  background: var(--white); border-radius: 10px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); pointer-events: none;
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.sub a { color: var(--navy); border-radius: 6px; padding: 10px 14px; font-size: 14.5px; }
.sub a:hover { background: var(--lilac); color: var(--rose); }
.sub .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 12px; min-width: 0; }
@media (hover: hover) and (min-width: 961px) {
  .nav li:hover > .sub { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .18s ease .12s, transform .18s ease .12s, visibility 0s linear .12s; }
}
.nav li:has(> a:focus-visible) > .sub, .nav li.is-open > .sub { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.nav .sub .sub { pointer-events: auto; }
.header__cta { padding: 13px 30px; font-size: 14.5px; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: .2s; }

@media (max-width: 960px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: calc(88px + env(safe-area-inset-top, 0px)) 0 0 0;
    background: var(--rose); flex-direction: column; align-items: stretch;
    padding: 16px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px));
    overflow-y: auto; transform: translateX(100%); transition: transform .25s;
  }
  .nav.is-open { transform: none; }
  .nav > ul { flex-direction: column; }
  .nav a, .nav button { font-size: 16px; padding: 12px 4px; width: 100%; justify-content: space-between; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: rgba(255,255,255,.12); box-shadow: none; }
  .sub a { color: var(--white); font-size: 14px; }
  .sub a:hover { background: transparent; color: var(--white); }
  .nav li.is-open > .sub { display: block; }
  .nav .nav__mobile-cta { display: flex; margin-top: 12px; justify-content: center; width: 100%; padding: 15px 20px; }
  .nav .nav__mobile-cta:first-of-type { margin-top: 20px; }
}
@media (min-width: 961px) { .nav__mobile-cta { display: none !important; } }

/* Hero */
.hero { padding-block: 56px 72px; border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 40px; align-items: center; }
.hero__text { min-width: 0; }
.hero__text h1 { margin-bottom: 18px; }
.hero__text p { font-size: 14px; max-width: 46ch; }
.hero__text p + p { margin-top: 12px; }
.hero .btn-row { margin-top: 26px; }
.hero__badges { margin-top: 14px; font-size: 11.5px; font-weight: 600; color: var(--rose); }
@media (max-width: 820px) {
  .hero__grid { grid-template-columns: minmax(0,1fr); }
  .hero__img { order: -1; max-width: min(420px, 100%); margin-inline: auto; }
}

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; margin-top: 44px; }
.stat strong { display: block; font-size: clamp(40px, 5vw, 56px); line-height: 1; color: var(--rose); font-weight: 700; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--navy); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 36px; } }

/* Avant / après */
.compare { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; margin-top: 52px; }
.compare__card { position: relative; padding: 40px 28px 30px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.compare__card--win { background: var(--navy); color: #d9d7ee; }
.compare__card--win h3 { color: var(--white); }
.compare__badge {
  position: absolute; top: -22px; left: -6px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px; font-weight: 700;
  background: #dcdaf0; color: var(--navy);
}
.compare__card--win .compare__badge { background: var(--rose); color: var(--white); }
.compare__card > p { font-size: 12px; margin-top: 8px; }
.compare ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 12.5px; }
.compare li { display: flex; gap: 10px; align-items: flex-start; }
.compare li::before {
  content: "✕"; flex: none; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 9px; color: var(--white); background: var(--navy);
}
.compare__card--win li::before { content: "✓"; background: var(--rose); }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; row-gap: 40px; } }

/* Cartes services */
.cards-2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; margin-top: 40px; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card__img { aspect-ratio: 16 / 6.6; object-fit: cover; width: 100%; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body p { font-size: 12.5px; }
.card__body .link-arrow { margin-top: auto; padding-top: 8px; }
.swipe-hint { display: none; font-size: 12px; color: var(--muted); margin-top: 18px; }

/* Engagements */
.pledges { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 40px; }
.pledge { background: var(--white); border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.pledge__num { font-size: 32px; font-weight: 700; color: var(--rose); line-height: 1; }
.pledge__tag { font-size: 10.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.pledge p { font-size: 12.5px; }
.pledge__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11.5px; font-weight: 600; color: var(--rose); }
@media (max-width: 980px) { .pledges { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Méthode (frise) */
.steps { list-style: none; margin: 36px 0 0; padding: 0; position: relative; display: grid; gap: 22px; }
.steps::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: -14px; width: 2px; background: var(--rose); opacity: .5; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; position: relative; }
.step__num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--rose); color: var(--white);
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.step h3 { display: inline; font-size: 16px; }
.step__when { margin-left: 10px; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--rose); }
.step p { font-size: 12.5px; margin-top: 4px; }

/* Secteurs (carrousel) */
.carousel { position: relative; margin-top: 36px; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 18px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.sector { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.sector img { height: 130px; width: 100%; object-fit: contain; margin-bottom: 8px; }
.sector p { font-size: 12.5px; }
.sector .link-arrow { margin-top: auto; }
.sector--other { background: var(--navy); color: #d9d7ee; justify-content: center; }
.sector--other h3 { color: var(--white); }
.carousel__btn {
  position: absolute; top: 45%; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--navy);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
}
.carousel__btn--prev { left: -15px; }
.carousel__btn--next { right: -15px; }
.carousel__btn[disabled] { opacity: .3; cursor: default; }
.carousel-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; }

@media (max-width: 820px) {
  .cards-2 { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .cards-2 > * { scroll-snap-align: start; }
  .pledges { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .pledges > * { scroll-snap-align: start; }
  .swipe-hint { display: block; }
  .carousel__track { grid-auto-columns: 78%; }
  .carousel__btn { display: none; }
}

/* Permis */
.permit {
  border: 1.5px solid var(--rose); border-radius: var(--radius); padding: 48px 32px; text-align: center;
  max-width: 100%;
}
.permit h2 { max-width: 22ch; margin-inline: auto; }
.permit p { max-width: 62ch; margin: 14px auto 0; font-size: 13px; }
.permit .btn { margin-top: 24px; }

/* Avis */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 36px; }
.review { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.review__stars { color: var(--rose); letter-spacing: 2px; font-size: 14px; }
.review blockquote { margin: 0; font-size: 13px; color: var(--navy); }
.review figcaption { font-size: 11.5px; }
.review figcaption strong { display: block; color: var(--navy); }
.reviews-foot { margin-top: 22px; }
@media (max-width: 820px) { .reviews { grid-template-columns: minmax(0,1fr); } }

/* Bandeau candidats */
.candidates {
  background: var(--rose); color: var(--white); border-radius: var(--radius);
  padding: 34px 36px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.candidates > div:first-child { flex: 1 1 380px; min-width: 0; }
.candidates .eyebrow { color: var(--white); }
.candidates h2 { color: var(--white); font-size: 22px; }
.candidates p { font-size: 12.5px; margin-top: 8px; max-width: 62ch; }
.candidates__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.candidates__actions .link-arrow { color: var(--white); }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: 10px; border: 1px solid transparent; transition: border-color .2s; }
.faq details[open] { border-color: var(--rose); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 20px; display: flex; gap: 12px; align-items: center;
  font-size: 13px; font-weight: 600; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; color: var(--rose); font-size: 18px; font-weight: 500; width: 12px; }
.faq details[open] summary { color: var(--rose); }
.faq details[open] summary::before { content: "−"; }
.faq summary h3 { font: inherit; color: inherit; }
.faq details > p { padding: 0 20px 20px 44px; font-size: 12.5px; max-width: 76ch; }

/* CTA final */
.final h2 { margin-bottom: 12px; }
.final p { font-size: 13px; max-width: 72ch; }
.final .btn-row { margin-top: 28px; }
.final__small { max-width: none !important; margin-top: 26px; font-size: 11px; color: #b8b5d6; }

/* Pied de page */
.footer { background: var(--navy); color: #d9d7ee; padding-block: 40px 56px; }
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; align-items: center; }
.footer__contact { display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: center; font-size: 11.5px; }
.footer__contact img { width: 70px; }
.footer__contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer__contact a { text-decoration: none; }
.footer__contact a:hover { color: var(--white); }
.footer__cert { display: flex; gap: 12px; align-items: center; grid-column: 1 / -1; font-size: 11px; }
.footer__cert svg { flex: none; }
.footer__cert strong { color: var(--white); display: block; }
.footer__brand { text-align: center; font-size: 11.5px; }
.footer__brand img { width: 120px; margin: 0 auto 14px; }
.socials { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: var(--rose); display: grid; place-items: center; color: var(--white); }
.socials a:hover { background: var(--rose-dark); }
.footer__faq { background: var(--white); color: var(--rose); border-radius: 12px; padding: 20px 22px; text-align: right; font-size: 11.5px; }
.footer__faq strong { color: var(--navy); display: block; margin-bottom: 4px; }
.footer__faq a { display: block; text-decoration: none; }
.footer__faq a:hover { text-decoration: underline; }
.footer__faq .legal { margin-top: 16px; }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: minmax(0,1fr); }
  .footer__faq { text-align: left; }
}

/* Logos partenaires */
.logos { background: var(--white); overflow: hidden; padding-block: 22px; }
.logos__track { display: flex; gap: 56px; width: max-content; animation: marquee 60s linear infinite; }
.logos__track img { height: 60px; width: auto; max-width: 150px; object-fit: contain; }
.logos:hover .logos__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Bandeau cookies */
.cookies {
  position: fixed; z-index: 70;
  left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 560px; margin-inline: auto;
  background: var(--white); color: var(--navy); border-radius: 12px; box-shadow: 0 10px 40px rgba(41,36,92,.25);
  padding: 18px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 12.5px;
}
.cookies p { flex: 1 1 260px; }
.cookies .btn { padding: 9px 18px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== Composants des pages intérieures ===== */
.section--rose { background: var(--rose); color: var(--white); }
.section--rose h2, .section--rose h3, .section--rose .eyebrow { color: var(--white); }
.section--navy .eyebrow { color: #ff7ca6; }
.section--navy a:not(.btn) { color: var(--white); }
.btn { text-decoration: none !important; }
.checklist a:not(.btn) { color: var(--rose); }
.faq__a { padding: 0 20px 20px 44px; font-size: 12.5px; display: grid; gap: 10px; max-width: 80ch; }
.faq__a p { padding: 0; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 18px; align-items: center; }
.logo-grid img { height: 70px; width: 100%; object-fit: contain; background: var(--white); border-radius: 10px; padding: 10px; }
.inline-img { border-radius: var(--radius); max-height: 460px; width: auto; }
.section--compact { padding-block: 40px 0; }
.box .faq { margin-top: 0; }
.section--navy h3 { color: var(--white); }
.section-head { max-width: 760px; }
.center .section-head, .section-head.center { margin-inline: auto; text-align: center; }
.stack { display: grid; gap: 22px; margin-top: 28px; min-width: 0; }
.stack:first-child { margin-top: 0; }
.prose { display: grid; gap: 14px; max-width: 72ch; font-size: 14px; }
.prose h3 { margin-top: 10px; }
.prose a:not(.btn) { color: var(--rose); }
.section--navy .prose a:not(.btn), .section--rose .prose a:not(.btn) { color: inherit; text-decoration: underline; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 13.5px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before {
  content: "✓"; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; color: var(--white); background: var(--rose);
}
.checklist a { color: var(--rose); }
.checklist--cols { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 28px; }
@media (max-width: 700px) { .checklist--cols { grid-template-columns: minmax(0,1fr); } }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0,1fr); } }

.box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.box > p { font-size: 13px; }
.box .checklist { font-size: 12.5px; }
.box .link-arrow { margin-top: auto; padding-top: 6px; }
.section--lilac .box { background: var(--white); }
.section:not(.section--lilac):not(.section--navy) .box { background: var(--lilac); box-shadow: none; }
.section--navy .box { background: rgba(255,255,255,.07); box-shadow: none; color: #d9d7ee; }
.box__picto { width: 64px; height: 64px; object-fit: contain; }
.box__illu { height: 130px; width: 100%; object-fit: contain; }
.box--media { padding: 0; overflow: hidden; }
.box--media > :not(img) { margin-inline: 22px; }
.box--media > :last-child { margin-bottom: 22px; }
.box__photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.box h3 a { text-decoration: none; }
.box h3 a:hover { color: var(--rose); }

.stats--inline { margin-top: 0; }
.stats--inline .stat span { font-weight: 500; }

.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.split__media img { border-radius: var(--radius); margin-inline: auto; max-height: 520px; width: auto; }
.split--media-left .split__media { order: -1; }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0,1fr); gap: 28px; } .split__media { order: -1; } .split__media img { max-height: 320px; } }

.hero--plain .hero__grid { grid-template-columns: minmax(0,1fr); }
.hero--plain .hero__text p { max-width: 70ch; }
.hero__meta { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.hero__meta strong { color: var(--rose); }

.toc { background: var(--lilac); border-radius: var(--radius); padding: 22px 26px; max-width: 760px; }
.toc h2 { font-size: 18px; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 13.5px; }
.toc a { color: var(--navy); }
.toc a:hover { color: var(--rose); }

.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; font-weight: 500; color: var(--navy); }
.quote figcaption { margin-top: 16px; font-size: 13px; }
.quote figcaption + p { margin-top: 14px; }

.sources { font-size: 12.5px; }
.sources ul { padding-left: 18px; display: grid; gap: 6px; margin: 0; }
.sources a { color: var(--navy); }
.note { font-size: 12px; color: var(--muted); }

.table-wrap { overflow-x: auto; }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: 13px; background: var(--white); border-radius: 10px; overflow: hidden; }
.table-wrap th, .table-wrap td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap tr:first-child td, .table-wrap th { background: var(--navy); color: var(--white); font-weight: 600; }

/* Formulaire */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
@media (max-width: 640px) { .form__row { grid-template-columns: minmax(0,1fr); } }
.form label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--navy); }
.form input, .form select, .form textarea {
  font: 400 14px var(--font); color: var(--navy); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--rose); }
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { justify-self: start; }
.form__msg { font-size: 13px; font-weight: 600; color: var(--rose); }
.contact-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0,1fr); } }
.contact-list { display: grid; gap: 16px; font-size: 13px; }
.contact-list a { color: var(--rose); }

.article-wrap { max-width: 800px; }
.form__check { display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
.form__check input { width: auto; margin-top: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.contact-list p { font-size: 13px; }
.hero__img { max-height: 440px; width: auto; margin-inline: auto; }
.prose .reviews, .stack .reviews { margin-top: 6px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--white); border: 1px solid var(--line); color: var(--navy); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 500; }
.section:not(.section--lilac) .chips li { background: var(--lilac); border-color: transparent; }
.section--navy .chips li { background: rgba(255,255,255,.1); color: var(--white); border-color: transparent; }

/* ===== Mouvements (discrets) ===== */
.header { transition: box-shadow .3s ease; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(41, 36, 92, .18); }

/* survol des cartes */
.card, .sector, .pledge, .review, .box, .compare__card { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.card:hover, .sector:hover, .pledge:hover, .review:hover, .box:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(41, 36, 92, .13); }
.card__img, .box__photo { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card { overflow: hidden; }
.card:hover .card__img, .box--media:hover .box__photo { transform: scale(1.04); }
.sector img, .box__illu, .box__picto { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.sector:hover img, .box:hover .box__illu, .box:hover .box__picto { transform: translateY(-4px) rotate(-1.5deg); }
.link-arrow { display: inline-block; transition: transform .25s ease, color .2s; }
.link-arrow:hover { transform: translateX(4px); text-decoration: none; }
.btn--rose { box-shadow: 0 0 0 rgba(234, 52, 111, 0); }
.btn--rose:hover { box-shadow: 0 8px 22px rgba(234, 52, 111, .35); }
.step__num { transition: transform .3s ease, box-shadow .3s ease; }
.step:hover .step__num { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(234, 52, 111, .15); }

/* apparition au défilement (activée par le script, donc la page reste lisible sans lui) */
html.motion-ready [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
html.motion-ready [data-reveal].is-in { opacity: 1; transform: none; }
html.motion-ready [data-reveal].is-in.card:hover,
html.motion-ready [data-reveal].is-in.sector:hover,
html.motion-ready [data-reveal].is-in.pledge:hover,
html.motion-ready [data-reveal].is-in.review:hover,
html.motion-ready [data-reveal].is-in.box:hover { transform: translateY(-5px); transition-delay: 0s; }

/* en-tête de la page d'accueil : entrée en cascade + illustration qui flotte */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-12px); } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
html.motion-ready .has-motion .hero__text > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
html.motion-ready .has-motion .hero__text > :nth-child(2) { animation-delay: .08s; }
html.motion-ready .has-motion .hero__text > :nth-child(3) { animation-delay: .18s; }
html.motion-ready .has-motion .hero__text > :nth-child(4) { animation-delay: .26s; }
html.motion-ready .has-motion .hero__text > :nth-child(5) { animation-delay: .36s; }
html.motion-ready .has-motion .hero__text > :nth-child(6) { animation-delay: .46s; }
html.motion-ready .has-motion .hero__img { animation: rise 1s .2s cubic-bezier(.2,.7,.2,1) both, float 5s 1.2s ease-in-out infinite alternate; }
html.motion-ready .has-motion .compare__card.is-in .compare__badge { animation: pop .6s .25s cubic-bezier(.2,.7,.2,1) both; }
html.motion-ready .has-motion .steps::before { transform-origin: top; transform: scaleY(0); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
html.motion-ready .has-motion .steps.is-in::before { transform: scaleY(1); }

@media (prefers-reduced-motion: reduce) {
  html.motion-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
  .card:hover, .sector:hover, .pledge:hover, .review:hover, .box:hover { transform: none; }
}
.cookies:not([hidden]) { animation: rise .6s .8s cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) { .cookies:not([hidden]) { animation: none; } }

/* cartes entièrement cliquables */
.is-clickable { position: relative; cursor: pointer; }
.is-clickable .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.is-clickable:hover h3, .is-clickable:hover h3 a { color: var(--rose); }
.is-clickable h3 { transition: color .2s; }

/* Aiguillage employeur / candidat (accueil) */
.switch { background: var(--lilac); padding-block: 18px; border-bottom: 1px solid var(--line); }
.switch__grid { display: grid; grid-template-columns: auto minmax(0,1fr) minmax(0,1fr); gap: 16px; align-items: center; }
.switch__label { font-size: 13px; font-weight: 600; color: var(--navy); }
.switch__card {
  display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-radius: var(--radius);
  text-decoration: none; background: var(--white); box-shadow: var(--shadow); border: 1.5px solid transparent;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s;
}
.switch__card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(41,36,92,.14); }
.switch__card--pro:hover { border-color: var(--navy); }
.switch__card--cand:hover { border-color: var(--rose); }
.switch__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--white); }
.switch__card--pro .switch__icon { background: var(--navy); }
.switch__card--cand .switch__icon { background: var(--rose); }
.switch__text { display: grid; gap: 2px; min-width: 0; }
.switch__text strong { font-size: 16px; color: var(--navy); }
.switch__text span { font-size: 13px; color: var(--muted); }
.switch__arrow { margin-left: auto; font-size: 20px; color: var(--navy); transition: transform .25s ease; }
.switch__card--cand .switch__arrow { color: var(--rose); }
.switch__card:hover .switch__arrow { transform: translateX(5px); }
@media (max-width: 760px) {
  .switch__grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .switch__label { margin-bottom: -2px; }
  .switch__card { padding: 12px 16px; }
}
html.motion-ready .has-motion .switch__card { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
html.motion-ready .has-motion .switch__card--cand { animation-delay: .1s; }

/* ===== Refonte : photos humaines ===== */
/* accessibilité : texte rose plus foncé sur fond clair (contraste AA) */
:root { --rose-text: var(--rose); }
.eyebrow, .hero__badges, .link-arrow, .stat strong, .pledge__num, .pledge__foot, .step__when, .review__stars, .faq summary::before, .faq details[open] summary { color: var(--rose-text); }
.section--navy .eyebrow { color: var(--sand-deep); }
.btn--rose { background: var(--rose); }
.btn--rose:hover { background: var(--rose-dark); }

/* En-tête de page d'accueil : titre + double entrée */
.home-hero { padding-block: 48px 64px; }
.home-hero__head { max-width: 860px; }
.home-hero__head h1 { font-size: clamp(30px, 4.2vw, 48px); }
.home-hero__head p { margin-top: 14px; font-size: 16px; max-width: 62ch; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin-top: 34px; }
.duo__panel {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  min-height: 380px; padding: 30px; border-radius: 20px; overflow: hidden; color: var(--white); text-decoration: none;
  isolation: isolate; box-shadow: 0 10px 30px rgba(41,36,92,.15);
}
.duo__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.duo__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.duo__panel--pro::before { background: linear-gradient(180deg, rgba(41,36,92,.05) 20%, rgba(41,36,92,.92) 78%); }
.duo__panel--cand::before { background: linear-gradient(180deg, rgba(200,31,87,.0) 20%, rgba(170,24,72,.9) 78%); }
.duo__panel:hover img { transform: scale(1.04); }
.duo__tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px; }
.duo__panel h2 { color: var(--white); font-size: clamp(22px, 2.6vw, 30px); }
.duo__panel p { font-size: 14px; max-width: 44ch; color: rgba(255,255,255,.9); }
.duo__cta { margin-top: 8px; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--navy); font-weight: 600; font-size: 14px; padding: 12px 22px; border-radius: 999px; transition: gap .25s ease; }
.duo__panel--cand .duo__cta { color: var(--rose-text); }
.duo__panel:hover .duo__cta { gap: 16px; }
.duo__note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .duo { grid-template-columns: minmax(0,1fr); } .duo__panel { min-height: 300px; padding: 22px; } }

/* bandeau de confiance */
.trust { border-block: 1px solid var(--line); padding-block: 22px; background: var(--white); }
.trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; align-items: center; }
.trust__item { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--text); }
.trust__item strong { display: block; font-size: 18px; color: var(--navy); }
.trust__item svg { flex: none; color: var(--rose-text); }
@media (max-width: 900px) { .trust__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* piliers de services */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin-top: 36px; }
.pillar { background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pillar__img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.pillar__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pillar__num { font-size: 11px; font-weight: 700; letter-spacing: 1.8px; color: var(--rose-text); text-transform: uppercase; }
.pillar h3 { font-size: 20px; }
.pillar p { font-size: 13.5px; }
.pillar ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 7px; font-size: 13px; }
.pillar li a { color: var(--navy); text-decoration: none; display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; background: var(--lilac); border-radius: 8px; transition: background .2s, color .2s; }
.pillar li a::after { content: "→"; color: var(--rose-text); }
.pillar li a:hover { background: var(--rose-soft); color: var(--rose-text); }
.pillar__foot { margin-top: auto; padding-top: 10px; }
@media (max-width: 980px) { .pillars { grid-template-columns: minmax(0,1fr); } .pillar { display: grid; grid-template-columns: 38% minmax(0,1fr); } .pillar__img { height: 100%; aspect-ratio: auto; } }
@media (max-width: 600px) { .pillar { display: flex; } .pillar__img { aspect-ratio: 16/9; } }

/* section photo + texte */
.media-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.media-split__img { border-radius: 20px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow); }
.media-split--rev .media-split__img { order: 2; }
@media (max-width: 860px) { .media-split { grid-template-columns: minmax(0,1fr); gap: 26px; } .media-split--rev .media-split__img { order: 0; } }

/* équipe */
.team { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 26px 22px; margin-top: 36px; }
.member { text-align: center; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.member:hover img { transform: translateY(-5px) rotate(-1deg); }
.member h3 { margin-top: 14px; font-size: 17px; }
.member p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.member--lead img { box-shadow: 0 0 0 4px var(--rose), var(--shadow); }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.faces { display: flex; align-items: center; }
.faces img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); margin-left: -12px; box-shadow: 0 2px 8px rgba(41,36,92,.15); }
.faces img:first-child { margin-left: 0; }
.team-teaser { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 40px; align-items: center; }
.team-teaser__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.team-teaser__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.team-teaser__grid figure { margin: 0; position: relative; }
.team-teaser__grid figcaption { position: absolute; left: 6px; bottom: 6px; font-size: 10.5px; font-weight: 600; background: rgba(255,255,255,.92); color: var(--navy); padding: 3px 8px; border-radius: 999px; }
@media (max-width: 860px) { .team-teaser { grid-template-columns: minmax(0,1fr); } }

/* bandeau photo (candidats) */
.photo-band { position: relative; isolation: isolate; color: var(--white); overflow: hidden; }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(41,36,92,.92) 0%, rgba(41,36,92,.7) 45%, rgba(41,36,92,.15) 100%); }
.photo-band .wrap { padding-block: 90px; }
.photo-band__text { max-width: 560px; }
.photo-band .eyebrow { color: var(--sand-deep); }
.photo-band h2 { color: var(--white); font-size: clamp(26px, 3.2vw, 38px); }
.photo-band p { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.9); }
.photo-band .btn-row { margin-top: 26px; }
.photo-band .btn--ghost-light { border-color: rgba(255,255,255,.8); }

/* galerie Québec */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-rows: 180px; gap: 12px; margin-top: 34px; }
.gallery figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; }
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: 13px; font-weight: 600; color: var(--white); background: linear-gradient(transparent, rgba(41,36,92,.85)); }
.gallery figcaption span { display: block; font-weight: 400; font-size: 11.5px; opacity: .9; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: 150px; } }

/* en-tête de page avec photo */
.hero--photo .hero__img { border-radius: 22px; max-height: 460px; width: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.photo-credit { font-size: 10.5px; color: var(--muted); margin-top: 8px; }

/* menu Employeurs en colonnes */
.sub--mega { display: grid; grid-template-columns: repeat(3, minmax(0, 210px)); gap: 6px 18px; padding: 18px 18px 12px; min-width: 0; width: max-content; left: 50%; translate: -50% 0; }
.sub--mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__title { font-size: 10.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--rose-text); padding: 4px 12px 6px; }
.sub--mega a { white-space: normal; font-size: 14px !important; }
.mega__all { grid-column: 1 / -1; justify-content: flex-start !important; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px !important; color: var(--rose-text) !important; font-weight: 600 !important; }
@media (max-width: 960px) {
  .sub--mega { translate: none; width: auto; grid-template-columns: minmax(0,1fr); padding: 8px; }
  .nav li.is-open > .sub--mega { display: grid; }
  .mega__title { color: rgba(255,255,255,.75); }
  .mega__all { color: var(--white) !important; border-color: rgba(255,255,255,.25); }
}
.form label .opt { font-weight: 400; color: var(--muted); }
.notice { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 16px; align-items: start; background: var(--white); border: 1.5px solid var(--rose); border-radius: var(--radius); padding: 20px 22px; }
.notice svg { color: var(--rose-text); flex: none; }
.notice h3 { font-size: 16px; margin-bottom: 6px; }
.notice p { font-size: 13px; }
.notice p + p { margin-top: 6px; }
.notice a { color: var(--rose-text); }
.notices { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
@media (max-width: 760px) { .notices { grid-template-columns: minmax(0,1fr); } }
[id] { scroll-margin-top: 100px; }

/* ===== Largeurs plus généreuses ===== */
body { font-size: 15.5px; }
.section-head { max-width: 920px; }
.lead { max-width: 82ch; font-size: 15.5px; }
.prose { max-width: 900px; font-size: 15px; }
.hero__text p { max-width: 58ch; font-size: 15.5px; }
@media (min-width: 961px) { .hero__grid { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 56px; } }
.card__body p, .box > p, .pledge p, .step p, .sector p, .compare ul, .review blockquote, .faq details > p, .faq__a, .pillar p { font-size: 14.5px; }
.faq__a, .faq details > p { max-width: 100ch; }
.permit p { max-width: 80ch; font-size: 15px; }
.candidates p { max-width: 80ch; font-size: 14.5px; }
.final p { max-width: none; }
.steps .step p { max-width: 90ch; }
.box--accent { background: var(--navy) !important; color: #e3e1f3; justify-content: center; }
.box--accent h3 { color: var(--white); }
.box--accent .btn { align-self: flex-start; margin-top: 6px; }

/* ===== Bloc final (appel à l'action) ===== */
.final .wrap { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 48px; align-items: center; }
.final__main { min-width: 0; }
.final .section-head { max-width: none; }
.final h2 { font-size: clamp(26px, 3.2vw, 38px); }
.final__aside { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 26px; display: grid; gap: 14px; color: #e3e1f3; }
.final__aside .faces img { border-color: var(--navy); width: 58px; height: 58px; }
.final__aside strong { color: var(--white); font-size: 17px; display: block; }
.final__aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.final__aside li { display: flex; gap: 10px; }
.final__aside li::before { content: "✓"; color: var(--rose); font-weight: 700; }
@media (max-width: 860px) { .final .wrap { grid-template-columns: minmax(0,1fr); } .final__aside { } }

/* ===== Pied de page ===== */
.partners { background: var(--white); border-top: 1px solid var(--line); padding-top: 34px; }
.partners__title { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.partners .logos { padding-block: 20px 34px; }
.site-footer { background: var(--navy); color: #cfcde6; font-size: 14px; }
.site-footer a { color: #e9e7f7; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__top { display: grid; grid-template-columns: minmax(0,1.75fr) repeat(3, minmax(0,1fr)) minmax(0,1.1fr); gap: 40px; padding-block: 64px 44px; }
.site-footer__brand img { width: 150px; }
.site-footer__brand p { margin-top: 16px; max-width: 34ch; line-height: 1.6; }
.site-footer h3, .site-footer__title { color: var(--white); font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__badge { display: flex; gap: 12px; align-items: center; margin-top: 20px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; font-size: 12.5px; max-width: 290px; }
.site-footer__badge strong { color: var(--white); display: block; font-size: 13px; }
.site-footer .socials { justify-content: flex-start; margin-top: 20px; }
.site-footer__contact li { display: grid; gap: 2px; }
.site-footer__contact span { font-size: 12px; color: #a9a6cc; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; color: #a9a6cc; }
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 1080px) { .site-footer__top { grid-template-columns: repeat(3, minmax(0,1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .site-footer__top { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px 20px; padding-block: 44px 30px; } .site-footer__contact { grid-column: 1 / -1; } }
html, body { overflow-x: clip; }
@media (max-width: 960px) {
  .nav { visibility: hidden; transition: transform .25s, visibility 0s linear .25s; }
  .nav.is-open { visibility: visible; transition: transform .25s, visibility 0s; }
}

/* Bloc « leader du permis Jeune Professionnel » */
.leader { background: var(--navy); color: #e3e1f3; position: relative; overflow: hidden; }
.leader::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: var(--sand-deep); opacity: .12; }
.leader .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 48px; align-items: center; padding-block: 72px; }
.leader__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--rose); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }
.leader h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 40px); margin-top: 16px; }
.leader h2 em { font-style: normal; color: var(--sand-deep); }
.leader p { margin-top: 14px; font-size: 15.5px; max-width: 60ch; }
.leader .btn-row { margin-top: 24px; }
.leader__sectors { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.leader__sector { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 18px; display: grid; gap: 6px; transition: background .3s, transform .3s; }
.leader__sector:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.leader__sector svg { color: var(--sand-deep); }
.leader__sector strong { color: var(--white); font-size: 16px; }
.leader__sector span { font-size: 13px; }
.leader__facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 26px; }
.leader__facts div { font-size: 13.5px; }
.leader__facts strong { display: block; font-size: 22px; color: var(--white); }
@media (max-width: 900px) { .leader .wrap { grid-template-columns: minmax(0,1fr); padding-block: 56px; } .leader__facts { grid-template-columns: minmax(0,1fr); } }
.hero__leader { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; background: var(--rose-soft); color: var(--rose); font-size: 12.5px; font-weight: 700; padding: 7px 14px; border-radius: 999px; }

/* Grille « Comment choisir » */
.choose { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.choose__card { position: relative; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line, #e7e3f0); border-radius: 18px; padding: 26px 24px 22px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.choose__card:hover { transform: translateY(-4px); }
.choose__card img { width: 56px; height: 56px; object-fit: contain; }
.choose__card h3 { margin: 0; font-size: 20px; }
.choose__card h3 a { color: inherit; text-decoration: none; }
.choose__card h3 a::after { content: ""; position: absolute; inset: 0; }
.choose__card p { margin: 0; color: var(--muted); font-size: 15px; }
.choose__delay { margin-top: auto !important; padding-top: 12px; border-top: 1px solid var(--line, #e7e3f0); color: var(--navy, #29235c) !important; font-weight: 600; font-size: 14px !important; }
.choose__delay span { display: block; font-weight: 400; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; }
.choose__more { color: var(--rose); font-weight: 600; font-size: 14px; }
.choose-note { margin: 28px auto 0; max-width: 820px; text-align: center; color: var(--muted); }
@media (max-width: 1080px) { .choose { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .choose { grid-template-columns: 1fr; } }
.leader--page { margin: 0; }

/* Bloc permis CNESST (accueil) */
.permit { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 56px; align-items: center; border: 0; padding: 0; text-align: left; }
.permit h2 { max-width: none; margin: 0; }
.permit p { max-width: 64ch; margin: 14px 0 0; font-size: 15px; }
.permit .btn-row { margin-top: 26px; align-items: center; }
.permit .btn { margin-top: 0; }
.permit__card { background: var(--lilac); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.permit__seal { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(41,36,92,.12); color: var(--rose); }
.permit__seal strong { display: block; color: var(--navy); font-size: 18px; }
.permit__seal span { color: var(--navy); font-size: 15px; letter-spacing: .5px; }
.permit__card .checklist { margin: 0; }
@media (max-width: 860px) { .permit { grid-template-columns: minmax(0,1fr); gap: 28px; } }

/* En-tête : bouton candidats */
.header__actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 960px) { .header__actions { display: none; } }
.header__cta--cand:hover { color: var(--rose); }
.header__cta { white-space: nowrap; }
.nav__top, .nav > ul > li > a { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 961px) { .header__cta { padding: 12px 18px; font-size: 13.5px; } }
@media (max-width: 1180px) { .header__cta--cand { display: none; } }

/* Actualités : double entrée plus basse */
.duo--compact .duo__panel { min-height: 300px; }
.site-footer__title { font-family: inherit; font-weight: 700; }

/* Accueil : méthode + engagements réunis */
.method { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 48px; align-items: start; margin-top: 36px; }
.method .steps { margin-top: 0; }
.method .steps::before { bottom: 10px; }
.method__aside { background: var(--white); border-radius: 22px; padding: 30px 28px; box-shadow: var(--shadow); position: sticky; top: 110px; }
.method__title { font-size: 21px; margin: 8px 0 18px; }
.method__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.method__list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(41,36,92,.1); }
.method__list li:first-child { padding-top: 0; border-top: 0; }
.method__num { color: var(--rose); line-height: 0; padding-top: 1px; }
.method__list h3 { font-size: 16px; margin: 0 0 4px; }
.method__list p { margin: 0; font-size: 14px; }
@media (max-width: 960px) { .method { grid-template-columns: minmax(0,1fr); gap: 32px; } .method__aside { position: static; } }

/* Mobile : petits libellés plus lisibles */
@media (max-width: 760px) {
  .eyebrow, .pledge__tag, .duo__tag { font-size: 11.5px; }
  .step__when { font-size: 11px; }
  .hero__badges { font-size: 12.5px; }
}

/* Menu mobile : vrais boutons */
@media (max-width: 960px) {
  .nav a.nav__mobile-cta { justify-content: center; border-radius: 999px; font-weight: 700; font-size: 15px; padding: 15px 20px; }
  .nav a.nav__mobile-cta.btn--navy { background: var(--navy); color: var(--white); }
  .nav a.nav__mobile-cta.btn--rose { background: var(--white); color: var(--rose); }
  /* Illustration d'en-tête : après le texte, plus compacte */
  .hero__img { order: 0; max-width: min(320px, 100%); }
  .hero--photo .hero__img { max-width: 100%; aspect-ratio: 16 / 10; max-height: 260px; }
}
.stats--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.stats--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 700px) { .stats--3, .stats--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.faces, .faces img { flex-shrink: 0; }
@media (max-width: 420px) { .contact-faces .faces img { width: 44px; height: 44px; margin-left: -10px; } .contact-faces .faces img:first-child { margin-left: 0; } }

/* Listes à cocher : texte à gauche, carte à droite */
.checksplit { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 56px; align-items: start; }
.checksplit__head .section-head { margin-bottom: 0; }
.checksplit__head .btn-row { margin-top: 26px; }
.checksplit__card { background: var(--lilac); border-radius: 22px; padding: 30px 32px; }
.section--lilac .checksplit__card { background: var(--white); box-shadow: var(--shadow); }
.checklist--card { grid-template-columns: minmax(0,1fr); gap: 0; font-size: 15px; }
.checklist--card li { padding-block: 14px; border-top: 1px solid rgba(41,36,92,.1); }
.checklist--card li:first-child { border-top: 0; padding-top: 0; }
.checklist--card li:last-child { padding-bottom: 0; }
.checksplit__card > p { margin-top: 18px; font-size: 14.5px; }
@media (max-width: 900px) { .checksplit { grid-template-columns: minmax(0,1fr); gap: 28px; } .checksplit__card { padding: 24px 22px; } }

/* FAQ sur fond blanc : questions visibles */
.section:not(.section--lilac) .faq details { background: var(--lilac); }

/* Pied de page : colonnes de même hauteur */
@media (min-width: 1081px) and (max-width: 1279px) {
  .site-footer__top { grid-template-columns: repeat(4, max-content); justify-content: space-between; gap: 32px; }
  .site-footer__brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 32px; align-items: center; }
  .site-footer__brand p, .site-footer__brand .site-footer__badge { margin: 0; }
  .site-footer__top ul a { white-space: nowrap; }
}
@media (min-width: 1280px) {
  .site-footer__top { grid-template-columns: minmax(0,1fr) repeat(4, max-content); gap: 40px; }
  .site-footer__brand img { width: 118px; height: auto; }
  .site-footer__brand p { margin-top: 12px; }
  .site-footer__top ul a { white-space: nowrap; }
  .site-footer__brand { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }

  .site-footer__brand > img, .site-footer__brand > p { grid-column: 1 / -1; }
  .site-footer__brand p { max-width: 54ch; }
  .site-footer__brand .site-footer__badge { margin-top: 10px; padding: 10px 14px; }
}

.site-footer__bottom { align-items: center; }
.site-footer__bottom .socials { margin: 0; gap: 10px; }
.site-footer__bottom .socials a { width: 34px; height: 34px; }
@media (max-width: 640px) { .site-footer__bottom { flex-direction: column; align-items: flex-start; } }

/* Teinte sable : carte candidats et bandeau candidats */
.duo__panel--cand { color: var(--navy); }
.duo__panel--cand::before { background: linear-gradient(180deg, rgba(238,241,251,0) 18%, rgba(238,241,251,.88) 52%, rgba(238,241,251,.98) 80%); }
.duo__panel--cand h2 { color: var(--navy); }
.duo__panel--cand p { color: var(--text); }
.duo__panel--cand .duo__tag { background: var(--navy); color: var(--white); backdrop-filter: none; }
.duo__panel--cand .duo__cta { background: var(--navy); color: var(--white); }

.photo-band { color: var(--navy); }
.photo-band::before { background: linear-gradient(90deg, rgba(238,241,251,.97) 0%, rgba(238,241,251,.88) 42%, rgba(238,241,251,.15) 100%); }
.photo-band .eyebrow { color: var(--rose); }
.photo-band h2 { color: var(--navy); }
.photo-band p { color: var(--text); }
.photo-band .btn--white { background: var(--navy); color: var(--white); }
.photo-band .btn--white:hover { background: var(--navy-deep); }
.photo-band .btn--ghost-light { border-color: var(--navy); color: var(--navy); }
.photo-band .btn--ghost-light:hover { background: var(--navy); color: var(--white); }
@media (max-width: 760px) { .photo-band::before { background: linear-gradient(180deg, rgba(238,241,251,.93) 0%, rgba(238,241,251,.84) 100%); } }

/* Pastille Jeune Professionnel : la même partout, fond rose plein */
.hero__leader { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; background: var(--rose); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; line-height: 1.3; max-width: 100%; }
@media (max-width: 420px) { .hero__leader { font-size: 11px; letter-spacing: 1px; padding: 7px 12px; } }
.pillar li a:hover { background: var(--lilac); }

/* ===== Bleu très clair, cartes listes en bleu foncé, liaisons visuelles ===== */
.choose { margin-top: 40px; }
.checksplit { background: var(--sand); border-radius: 28px; padding: 48px; align-items: center; gap: 48px; }
.section--lilac .checksplit { background: var(--white); box-shadow: var(--shadow); }
.checksplit__head { align-self: center; }
.checksplit__card, .section--lilac .checksplit__card { background: var(--navy); color: #e3e1f3; box-shadow: 0 14px 34px rgba(41,36,92,.22); }
.checklist--card li { border-top-color: rgba(255,255,255,.14); color: #eceaf8; }
.checklist--card strong { color: var(--white); }
.checksplit__card > p { color: #d6d3ee; }
.checksplit__card a { color: var(--sand-deep); }
@media (max-width: 900px) { .checksplit { padding: 26px 18px; gap: 24px; border-radius: 22px; } }

.hero--photo { background: var(--sand); border-bottom: 0; }
.hero--photo .hero__grid { gap: 48px; }
.hero--photo .hero__img { box-shadow: -18px 18px 0 0 var(--navy), var(--shadow); }
@media (max-width: 820px) { .hero--photo .hero__img { box-shadow: -10px 10px 0 0 var(--navy); margin-left: 10px; width: calc(100% - 10px); } }

/* Pages secteurs : services + permis JP côte à côte */
.sector-key { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; margin-top: 36px; align-items: stretch; }
.sector-key__services { background: var(--sand); border-radius: 22px; padding: 30px; }
.sector-key__services h3, .sector-key__jp h3 { font-size: 20px; margin-bottom: 16px; }
.service-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.service-links a { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 12px; align-items: center; background: var(--white); border-radius: 14px; padding: 14px 18px; text-decoration: none; color: var(--navy); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.service-links a:hover { transform: translateX(4px); }
.service-links strong { font-size: 15.5px; }
.service-links span { grid-column: 1; font-size: 13.5px; color: var(--muted); }
.service-links i { grid-column: 2; grid-row: 1 / span 2; font-style: normal; color: var(--rose); font-size: 18px; }
.sector-key__jp { background: var(--navy); color: #e3e1f3; border-radius: 22px; padding: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sector-key__jp h3 { color: var(--white); margin-top: 16px; font-size: 24px; }
.sector-key__jp p { margin: 0 0 8px; font-size: 15px; }
.sector-key__label { margin-top: 10px !important; font-size: 11.5px !important; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 700; color: var(--sand-deep); }
.chips--light { list-style: none; margin: 4px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips--light li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: var(--white); border-radius: 999px; padding: 7px 14px; font-size: 13px; }
.sector-key__link { margin-top: auto !important; padding-top: 8px; }
.sector-key__link a { color: var(--sand-deep); font-weight: 600; }
@media (max-width: 860px) { .sector-key { grid-template-columns: minmax(0,1fr); } .sector-key__services, .sector-key__jp { padding: 24px 20px; } }

/* Logos clients qui défilent */
.section--logos { background: var(--white); overflow: hidden; }
.section--logos .section-head { margin-bottom: 30px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 16px; }
.marquee__track { list-style: none; margin: 0; padding: 6px 0; display: flex; gap: 16px; width: max-content; animation: marquee 48s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { flex: none; width: 170px; height: 88px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; padding: 12px 18px; }
.marquee__track img { max-width: 100%; max-height: 60px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.marquee__track li:hover img { filter: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .marquee__track li[aria-hidden] { display: none; } }
.box__logo { height: 44px; width: auto; max-width: 160px; object-fit: contain; object-position: left center; margin-bottom: 6px; }
.split__photo { width: 100%; border-radius: 22px; aspect-ratio: 4 / 4.4; object-fit: cover; box-shadow: -18px 18px 0 0 var(--navy), var(--shadow); }
@media (max-width: 820px) { .split__photo { box-shadow: -10px 10px 0 0 var(--navy); margin-left: 10px; width: calc(100% - 10px); aspect-ratio: 16/11; } }

/* Avis entreprises : carrousel de photos */
.carousel--clients .carousel__track { grid-auto-columns: calc((100% - 60px) / 3.4); }
.client-card { margin: 0; background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.client-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; display: block; }
.client-card figcaption { padding: 16px 20px 20px; display: grid; gap: 2px; }
.client-card strong { color: var(--navy); font-size: 16px; }
.client-card span { color: var(--muted); font-size: 13.5px; }
.carousel--clients + .btn-row { margin-top: 28px; }
.carousel--clients .carousel__btn { width: 42px; height: 42px; font-size: 22px; top: 40%; }
@media (max-width: 900px) { .carousel--clients .carousel__track { grid-auto-columns: 72%; } }

/* Page portage */
.grid--diff { grid-template-columns: repeat(5, minmax(0,1fr)); }
.diff { gap: 10px; }
.diff__num { font-size: 28px; font-weight: 800; color: var(--rose); line-height: 1; }
.diff h3 { font-size: 17px; }
@media (max-width: 1100px) { .grid--diff { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 760px) { .grid--diff { grid-template-columns: minmax(0,1fr); } }
.cost { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 8px; }
.cost__card { background: var(--sand); border-radius: 22px; padding: 28px; display: grid; gap: 6px; }
.cost__card strong { font-size: clamp(30px, 3.6vw, 44px); color: var(--navy); line-height: 1.1; }
.cost__card span:last-child { color: var(--muted); font-size: 14px; }
.cost__card--workin { background: var(--navy); }
.cost__card--workin strong, .cost__card--workin .pledge__tag { color: var(--white); }
.cost__card--workin span:last-child { color: #cfcde6; }
.cost__card--gain { background: var(--rose); }
.cost__card--gain strong, .cost__card--gain .pledge__tag, .cost__card--gain span:last-child { color: var(--white); }
.cost__note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) { .cost { grid-template-columns: minmax(0,1fr); } }
.offer { background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.offer__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.offer__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; }
.offer__body h3 { font-size: 20px; }
.offer__body .chips { margin-top: 4px; }
.offer__ideal { margin-top: 6px; font-size: 14px; }
.split .split__photo { max-height: none; }
.split__media .split__photo { width: 100%; max-height: none; margin: 0; }
@media (max-width: 820px) { .split__media .split__photo { margin-left: 10px; width: calc(100% - 10px); } }
.section .sector-key__jp .chips--light li, .section:not(.section--lilac) .sector-key__jp .chips--light li { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: var(--white); font-weight: 500; }
.split__media .split__photo { aspect-ratio: 4 / 3.6; max-height: 520px; }

/* Contact : choix entreprise / candidat + agenda */
.who { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 30px; max-width: 760px; }
.who__btn { display: grid; gap: 4px; text-align: left; padding: 20px 22px; border-radius: 18px; border: 2px solid var(--line); background: var(--white); font-family: inherit; cursor: pointer; color: var(--navy); transition: border-color .2s, box-shadow .2s, background .2s; }
.who__btn strong { font-size: 17px; }
.who__btn span { font-size: 14px; color: var(--muted); }
.who__btn:hover { border-color: var(--navy); }
.who__btn.is-active { border-color: var(--navy); background: var(--navy); color: var(--white); box-shadow: 0 12px 28px rgba(41,36,92,.2); }
.who__btn.is-active span { color: #cfcde6; }
.who__panel { margin-top: 24px; }
.booking { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.7fr); gap: 28px; align-items: start; background: var(--sand); border-radius: 26px; padding: 30px; }
.booking__info h3 { font-size: 22px; margin-bottom: 16px; }
.booking__info .checklist { font-size: 15px; gap: 12px; }
.booking__alt { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(41,36,92,.12); display: grid; gap: 6px; font-size: 14.5px; }
.booking__alt p { margin: 0 0 4px; font-weight: 600; color: var(--navy); }
.booking__alt a { color: var(--rose); font-weight: 600; text-decoration: none; }
.booking__cal { background: var(--white); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; min-height: 420px; }
.booking__cal iframe { display: block; width: 100%; height: 700px; border: 0; }
.booking__placeholder { padding: 40px 34px; display: grid; gap: 10px; align-content: center; min-height: 420px; }
.booking__placeholder strong { font-size: 20px; color: var(--navy); }
.cand-box { background: var(--navy); color: #e3e1f3; border-radius: 26px; padding: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.cand-box h3 { color: var(--white); font-size: 22px; margin-bottom: 8px; }
.cand-box p { margin: 0; max-width: 62ch; font-size: 15px; }
.cand-box .btn--ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
@media (max-width: 900px) { .booking { grid-template-columns: minmax(0,1fr); padding: 20px; } .booking__cal iframe { height: 760px; } }
@media (max-width: 520px) { .who { grid-template-columns: minmax(0,1fr); } }
.qualif { padding: 34px; display: grid; gap: 8px; }
.qualif__step { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--rose); }
.qualif h3 { font-size: 22px; }
.qualif > p { margin: 0 0 8px; color: var(--muted); font-size: 14.5px; }
.qualif label { font-size: 14px; font-weight: 600; color: var(--navy); margin-top: 8px; }
.qualif input, .qualif select { height: 50px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font: 400 15px var(--font); color: var(--navy); background: var(--white); width: 100%; box-sizing: border-box; }
.qualif input:focus, .qualif select:focus { outline: none; border-color: var(--navy); }
.qualif .btn { margin-top: 14px; justify-self: start; }
.qualif__err { margin: 6px 0 0; color: #b42318; font-size: 14px; }
.qualif__recap { padding: 14px 20px; background: var(--sand); font-size: 14px; color: var(--navy); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: space-between; }
.qualif__recap button { background: none; border: 0; color: var(--rose); font: 600 14px var(--font); cursor: pointer; padding: 8px 0; }

/* Pages légales */
.legal { max-width: 820px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 17px; margin: 20px 0 6px; }
.legal p { margin: 0 0 12px; line-height: 1.7; }
.legal a { color: var(--rose); }
.legal code { background: var(--lilac); padding: 2px 6px; border-radius: 6px; font-size: 13px; }
.legal__date { margin-top: 30px !important; color: var(--muted); font-size: 14px; }

/* Menu mobile : sous-menus fermés par défaut, cliquables une fois ouverts */
@media (max-width: 960px) {
  .nav .sub, .nav .sub--mega { display: none; pointer-events: auto; }
  .nav li.is-open > .sub { display: block; }
  .nav li.is-open > .sub--mega { display: grid; }
}

/* ===== Menu mobile lisible : tiroir blanc, niveaux bien distincts ===== */
@media (max-width: 960px) {
  .nav { background: var(--white); padding: 8px 20px 32px; box-shadow: inset 0 1px 0 rgba(41,36,92,.08); }
  .nav > ul { gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav > ul > li > a, .nav .nav__top { color: var(--navy) !important; font-size: 19px; font-weight: 700; padding: 18px 2px; min-height: 56px; box-sizing: border-box; }
  .nav .caret { width: 9px; height: 9px; color: var(--rose); border-width: 2.5px; transition: transform .2s; }
  .nav li.is-open > .nav__top .caret { transform: rotate(-135deg) translateY(-1px); }
  .nav li.is-open > .nav__top { color: var(--rose) !important; }
  .nav .sub, .nav .sub--mega { background: var(--lilac); border-radius: 16px; margin: 0 0 16px; padding: 8px 6px; }
  .nav .sub a, .nav .sub--mega a { color: var(--navy) !important; font-size: 16px !important; font-weight: 500; padding: 12px 14px; min-height: 44px; box-sizing: border-box; border-radius: 10px; justify-content: space-between; }
  .nav .sub a::after { content: "›"; color: var(--rose); font-size: 20px; line-height: 1; margin-left: 12px; }
  .nav .sub a:active, .nav .sub a:hover { background: var(--white); color: var(--rose) !important; }
  .nav .mega__col { padding: 4px 0; }
  .nav .mega__col + .mega__col { border-top: 1px solid rgba(41,36,92,.08); }
  .nav .mega__title { color: var(--rose) !important; font-size: 11.5px; letter-spacing: 1.6px; padding: 10px 14px 4px; margin: 0; }
  .nav .mega__all { color: var(--rose) !important; font-weight: 700 !important; border-top: 1px solid rgba(41,36,92,.08) !important; margin-top: 4px; }
  .nav .mega__all::after { content: none !important; }
  .nav a.nav__mobile-cta.btn--navy { background: var(--navy); color: var(--white) !important; }
  .nav a.nav__mobile-cta.btn--rose { background: var(--rose); color: var(--white) !important; }
  .nav .nav__mobile-cta:first-of-type { margin-top: 24px; }
  .nav .nav__mobile-cta::after { content: none; }
}

/* Bouton menu mobile : se transforme en croix quand le menu est ouvert */
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) { .burger { min-width: 44px; min-height: 44px; } }

/* Menu mobile ouvert : la page derrière est bloquée et l'en-tête (avec la croix) reste toujours visible */
@media (max-width: 960px) {
  html.menu-open .header { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; }
  html.menu-open body { position: fixed; left: 0; right: 0; width: 100%; }
  .nav { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
}
