/* Carrière 221 · design system v2. One family (Plus Jakarta Sans), high contrast,
   navy + green. The engine (scrollcraft.css) is the floor; nothing here restyles [data-sc-*]. */

:root {
  --sc-canvas: #FFFFFF;
  --sc-surface: #FFFFFF;
  --sc-ink: #0B1220;
  --sc-ink-soft: #3D4A5C;
  --sc-accent: #00804A;
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --sc-font-text: "Plus Jakarta Sans", system-ui, sans-serif;
  --sc-shadow-color: 215 50% 14%;
  --sc-track-tight: -0.03em;

  --navy: #0B2A4A;
  --navy-deep: #071A30;
  --navy-2: #123A63;
  --bg-soft: #F4F6F9;
  --line: #DFE5EC;
  --line-strong: #C9D2DD;
  --muted: #4F5B6B;
  --green-strong: #006B3D;
  --green-bright: #3DDC84;
  --manila: #E9D6A8;
  --manila-edge: #C9AC6E;
  --manila-ink: #3B2F15;
  --r: 14px;
  --r-btn: 10px;
  --shadow-card: 0 1px 2px hsl(215 50% 14% / 0.06), 0 6px 20px -8px hsl(215 50% 14% / 0.16);
  --shadow-lift: 0 2px 4px hsl(215 50% 14% / 0.08), 0 18px 40px -14px hsl(215 50% 14% / 0.28);
}

/* Dark grounds re-ink their subtree (and restate color: it is inherited as a computed value). */
.ground--navy {
  --sc-ink: #F3F6FA; --sc-ink-soft: #C3CEDC; --muted: #AFBCCC;
  --sc-accent: var(--green-bright); --sc-accent-ink: #062014;
  --line: rgba(255, 255, 255, 0.14); --line-strong: rgba(255, 255, 255, 0.28);
  color: var(--sc-ink);
  background: var(--navy);
}

body { background: #FFFFFF; color: var(--sc-ink); font-size: 1.0625rem; line-height: 1.65; letter-spacing: 0.005em; }
h1, h2, h3 { font-family: var(--sc-font-display); letter-spacing: var(--sc-track-tight); line-height: 1.12; text-wrap: balance; margin: 0; font-weight: 800; }
p { text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--sc-gutter), 78rem); margin-inline: auto; }
[hidden] { display: none !important; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.1em; height: 1.1em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sc-accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0 1.3rem; border-radius: var(--r-btn); border: 1.5px solid transparent;
  font-weight: 700; font-size: 0.97rem; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--go { background: var(--sc-accent); color: var(--sc-accent-ink); }
.btn--line { border-color: var(--line-strong); color: var(--sc-ink); background: transparent; }
.btn--light { background: #fff; color: var(--navy); }
.btn--sm { min-height: 40px; padding: 0 1rem; font-size: 0.9rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--go:hover { background: var(--green-strong); }
  .ground--navy .btn--go:hover { background: #63E79D; }
  .btn--line:hover { border-color: var(--sc-ink); }
}
.btn[disabled] { opacity: 0.55; cursor: progress; }

/* ---------- Masthead: brand bar + tab bar ---------- */
:root { --top-h: 60px; --tab-h: 58px; --bar-h: calc(var(--top-h) + var(--tab-h)); }
.masthead { position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome); }
.topbar {
  height: var(--top-h); display: flex; align-items: center; gap: var(--sc-5); padding: 0 var(--sc-gutter);
  background: #061527; color: #fff;
}
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: inherit; }
.mark__logo { display: block; width: 36px; height: 36px; }
.topbar__tag { margin: 0; padding-left: var(--sc-5); border-left: 1px solid rgba(255,255,255,0.18); font-size: 0.88rem; color: #AFBCCC; }
.topbar__end { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.topbar__link { color: #D4DEEA; text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.topbar__link:hover { color: #fff; }
.topbar .btn { min-height: 40px; background: #00A35E; color: #fff; }
.bar__short { display: none; }

.tabbar { height: var(--tab-h); background: #0B2A4A; box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6); overflow-x: auto; scrollbar-width: none; }
.tabbar::-webkit-scrollbar { display: none; }
.tabs { display: flex; height: 100%; margin: 0; padding: 0 calc(var(--sc-gutter) - 18px); list-style: none; }
.tabs a {
  position: relative; display: flex; align-items: center; gap: 10px; height: 100%; padding: 0 18px;
  color: #E3EAF2; text-decoration: none; font-weight: 700; font-size: 1.02rem; white-space: nowrap;
  transition: color 160ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
.tabs a .icon { width: 19px; height: 19px; color: #8FA6C1; transition: color 160ms var(--sc-ease-out); }
.tabs a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: #3DDC84; transform: scaleX(0); transition: transform 220ms var(--sc-ease-out); }
.tabs a[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.06); }
.tabs a[aria-current="page"]::after { transform: scaleX(1); }
.tabs a[aria-current="page"] .icon { color: #3DDC84; }
.tabs .n { min-width: 26px; height: 22px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 99px; background: rgba(255,255,255,0.12); color: #fff; font-size: 0.76rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.tabs__ia { margin-left: auto; }
.tabs__ia a { color: #3DDC84; }
.tabs__ia a .icon { color: #3DDC84; }
@media (hover: hover) and (pointer: fine) {
  .tabs a:hover { color: #fff; background: rgba(255,255,255,0.05); }
  .tabs a:hover::after { transform: scaleX(0.5); }
  .tabs a:hover .icon { color: #3DDC84; }
}
.tabs a:focus-visible { outline: 3px solid #3DDC84; outline-offset: -3px; border-radius: 6px; }

@media (max-width: 980px) {
  :root { --top-h: 56px; --tab-h: 50px; }
  .topbar__tag, .topbar__link { display: none; }
  .bar__label { display: none; }
  .bar__short { display: inline; }
  .tabs a { padding: 0 14px; font-size: 0.95rem; gap: 8px; }
  .tabs a::after { left: 14px; right: 14px; }
  .tabs__ia { margin-left: 0; }
}

/* ---------- Tags ---------- */
.tag { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 99px; font-size: 0.78rem; font-weight: 700; background: #EEF2F6; color: #1E2A3A; white-space: nowrap; }
.tag--emploi { background: #E3ECFD; color: #1740A8; }
.tag--concours { background: #FCEBCF; color: #7A3A05; }
.tag--international { background: #D6F1EA; color: #0B5C53; }
.tag--bourse { background: #ECE3FD; color: #5B21B6; }
.tag--interim { background: #FFE4D5; color: #8A2E07; }
.tag--en { background: #fff; box-shadow: inset 0 0 0 1.5px #C9D2DD; color: #2B3747; }
.tag--late { background: #FDE2DF; color: #9B1C11; }
.tag--soon { background: #E0F5EA; color: #00663B; }

/* ---------- Offer cards (home, lists) ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.card {
  position: relative; display: grid; grid-template-columns: 52px 1fr auto; gap: 4px 18px; align-items: center;
  padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color 160ms var(--sc-ease-out), box-shadow 200ms var(--sc-ease-out), transform 200ms var(--sc-ease-out);
}
.card__avatar { grid-column: 1; grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.card[data-cat="emploi"] .card__avatar { background: #E3ECFD; color: #1740A8; }
.card[data-cat="concours"] .card__avatar { background: #FCEBCF; color: #7A3A05; }
.card[data-cat="international"] .card__avatar { background: #D6F1EA; color: #0B5C53; }
.card[data-cat="bourse"] .card__avatar { background: #ECE3FD; color: #5B21B6; }
.card__title { grid-column: 2; grid-row: 1; margin: 0; font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; color: #0B1220; }
.card__title a { text-decoration: none; color: inherit; }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.card__meta { grid-column: 2; grid-row: 2; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.9rem; color: #3D4A5C; }
.card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.card__end { grid-column: 3; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.card__when { font-size: 0.82rem; color: #4F5B6B; font-variant-numeric: tabular-nums; }
.card:focus-within { outline: 3px solid #00804A; outline-offset: 2px; }
.card :focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { border-color: #B6C3D3; box-shadow: var(--shadow-card); transform: translateY(-1px); }
  .card:hover .card__title { color: #00804A; }
}
@media (max-width: 680px) {
  .card { grid-template-columns: 44px 1fr; padding: 16px; gap: 6px 14px; }
  .card__avatar { width: 44px; height: 44px; font-size: 0.95rem; }
  .card__end { grid-row: 3; grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .card__tags { justify-content: flex-start; }
}

/* The stamp: an offer that matched the visitor's level went into the dossier. */
.card__stamp {
  position: absolute; right: 18px; top: -11px; padding: 2px 10px; border-radius: 99px;
  background: #00804A; color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  opacity: 0; transform: translateY(4px) scale(0.95); pointer-events: none;
  transition: opacity 220ms var(--sc-ease-out), transform 260ms var(--sc-ease-out);
}
.is-filed .card__stamp { opacity: 1; transform: none; }
.is-filed { border-color: #8FD3B0 !important; }

/* ---------- Dossier tab (fixed) ---------- */
.dossier-tab {
  position: fixed; right: 20px; bottom: 20px; z-index: calc(var(--sc-z-chrome) - 1);
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 8px 6px 18px;
  border-radius: 99px; background: var(--manila); color: var(--manila-ink); border: 1px solid var(--manila-edge);
  box-shadow: var(--shadow-lift); text-decoration: none; font-weight: 800; font-size: 0.92rem;
  transition: transform 300ms var(--sc-ease-out), opacity 200ms var(--sc-ease-out);
}
.dossier-tab__n { display: grid; place-items: center; min-width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-variant-numeric: tabular-nums; }
.dossier-tab.is-bump .dossier-tab__n { animation: bump 380ms var(--sc-ease-out); }
.dossier-tab.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }
@keyframes bump { 40% { transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .dossier-tab.is-bump .dossier-tab__n { animation: none; } }

/* ---------- Level picker ---------- */
.levels { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.levels legend { float: left; width: 100%; font-size: 0.95rem; font-weight: 700; color: var(--sc-ink); margin-bottom: 10px; padding: 0; }
.levels legend + * { clear: both; }
.levels label { position: relative; }
.levels input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.levels span {
  display: inline-grid; place-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px;
  border: 1.5px solid var(--line-strong); font-size: 0.93rem; font-weight: 700; background: transparent; color: var(--sc-ink);
  transition: background-color 140ms var(--sc-ease-out), color 140ms var(--sc-ease-out), border-color 140ms var(--sc-ease-out);
}
.levels input:checked + span { background: var(--sc-accent); color: var(--sc-accent-ink); border-color: var(--sc-accent); }
.levels input:focus-visible + span { outline: 3px solid var(--sc-accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .levels label:hover span { border-color: var(--sc-ink); } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; }
.field label, .field legend { font-weight: 700; font-size: 0.95rem; color: #0B1220; }
.field small { color: #4F5B6B; font-size: 0.85rem; }
.input, .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; box-sizing: border-box; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; color: #0B1220; font-size: 1rem;
  transition: border-color 140ms var(--sc-ease-out);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, .input:focus-visible { outline: 3px solid rgba(0, 128, 74, 0.35); border-color: #00804A; outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #B42318 !important; }
.opt { font-weight: 500; color: #4F5B6B; }

/* ---------- Footer ---------- */
.foot-wrap { background: var(--navy-deep); color: #C3CEDC; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--sc-7); padding: var(--sc-8) 0 var(--sc-7); font-size: 0.94rem; }
.foot .mark { color: #fff; margin-bottom: var(--sc-4); }
.foot h3 { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: var(--sc-4); font-weight: 800; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: #C3CEDC; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot p { margin: 0 0 var(--sc-3); max-width: 44ch; }
.foot__base { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: var(--sc-5) 0; font-size: 0.85rem; color: #AFBCCC; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }

/* ---------- Sign-in dialog ---------- */
.login { border: 0; padding: 0; border-radius: 22px; width: min(26rem, calc(100% - 32px)); box-shadow: 0 40px 100px -30px rgba(6, 21, 39, 0.6); }
.login::backdrop { background: rgba(6, 21, 39, 0.6); backdrop-filter: blur(3px); }
.login__box { position: relative; display: grid; gap: 16px; padding: 30px 26px 24px; }
.login__box h2 { font-size: 1.6rem; }
.login__why { margin: 0; color: #3D4A5C; }
.login__box .btn { width: 100%; margin-top: 4px; }
.login__close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.6rem; color: #4F5B6B; cursor: pointer; border-radius: 10px; }
.login__close:hover { background: var(--bg-soft); }
.login__code { font-size: 1.6rem !important; letter-spacing: 0.4em; text-align: center; font-variant-numeric: tabular-nums; }
.login__again { border: 0; background: none; color: #00663B; font-weight: 700; cursor: pointer; padding: 8px 0 0; }
.login__status { margin: 0; font-size: 0.93rem; color: #3D4A5C; }
.login__status.is-err { color: #B42318; font-weight: 600; }
.login .phone { display: flex; }
.login .phone__cc { display: grid; place-items: center; padding: 0 14px; border: 1.5px solid var(--line-strong); border-right: 0; border-radius: 10px 0 0 10px; background: var(--bg-soft); font-weight: 700; }
.login .phone input { border-radius: 0 10px 10px 0 !important; }
.topbar__account { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 10px; white-space: nowrap; }
@media (max-width: 980px) { .topbar__end { gap: 8px; } .topbar .mark { font-size: 1.08rem; gap: 7px; } .topbar .mark__logo { width: 32px; height: 32px; } .topbar .btn { padding: 0 12px; min-height: 38px; } .topbar__end .topbar__account { display: inline-block; padding: 7px 10px; font-size: 0.84rem; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.plan--star { background: #0E3358; color: #fff; border: 1.5px solid rgba(61, 220, 132, 0.55); box-shadow: 0 40px 80px -40px hsl(215 50% 14% / 0.7); --sc-accent: #3DDC84; --sc-accent-ink: #062014; }
.plan__flag { position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: 99px; background: #3DDC84; color: #062014; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.plan__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #E0F5EA; color: #00663B; }
.plan--star .plan__icon { background: rgba(61, 220, 132, 0.15); color: #3DDC84; }
.plan__icon .icon { width: 26px; height: 26px; }
.plan h3 { font-size: 1.35rem; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.plan__price b { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan__price span { color: #4F5B6B; font-weight: 600; }
.plan--star .plan__price b, .plan--star h3 { color: #fff; }
.plan.plan--star .plan__price span, .plan.plan--star p { color: #D4DEEA; }
.plan p { margin: 0; color: #3D4A5C; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.97rem; }
.plan li .icon { color: #00804A; margin-top: 3px; }
.plan--star li .icon { color: #3DDC84; }
.plan__cta { margin-top: auto; display: grid; gap: 10px; }
.plan__cta .btn { width: 100%; }
.plan__alt { font-size: 0.9rem; text-align: center; }
.plan__alt button { border: 0; background: none; color: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.pay-note { margin: var(--sc-6) auto 0; max-width: 46rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; color: #3D4A5C; font-weight: 600; font-size: 0.95rem; }
.pay-note span { display: inline-flex; gap: 8px; align-items: center; }
.pay-note .icon { color: #00804A; }
.faq { max-width: 50rem; margin: var(--sc-8) auto 0; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: #00804A; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: #3D4A5C; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Account and payment pages ---------- */
.acc { margin-top: -2.75rem; padding-bottom: var(--sc-9); display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: start; }
.box { background: #fff; border-radius: 20px; box-shadow: var(--shadow-card); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 14px; }
.box h2 { font-size: 1.3rem; }
.box p { margin: 0; color: #3D4A5C; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; font-weight: 800; font-size: 0.9rem; justify-self: start; }
.status-pill.on { background: #E0F5EA; color: #00663B; }
.status-pill.off { background: #FDE2DF; color: #9B1C11; }
.acc__row { display: flex; flex-wrap: wrap; gap: 10px; }
.mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mini li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); font-size: 0.95rem; }
.mini li span:last-child { color: #4F5B6B; text-align: right; }
.acc .checks { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.acc .checks legend { margin-bottom: 10px; font-weight: 700; }
.acc .checks label { display: flex; gap: 10px; align-items: center; }
.acc .checks input { width: 20px; height: 20px; accent-color: #00804A; }
.form-status { margin: 0; font-weight: 600; }
.form-status.is-ok { color: #00663B; } .form-status.is-err { color: #B42318; }
.paybox { margin: -2.75rem auto 0; max-width: 34rem; text-align: center; justify-items: center; padding-bottom: var(--sc-9); }
.paybox .box { justify-items: center; text-align: center; width: 100%; box-sizing: border-box; }
.paybox__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: #00804A; }
.paybox__icon .icon { width: 36px; height: 36px; }
.paybox__icon.is-err { color: #B42318; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 4px solid #DFE5EC; border-top-color: #00804A; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }
.legal { margin-top: -2.75rem; padding-bottom: var(--sc-9); }
.legal .box { max-width: 52rem; }
.legal h2 { margin-top: 10px; font-size: 1.15rem; }
@media (max-width: 980px) { .acc { grid-template-columns: 1fr; } .acc .checks { grid-template-columns: 1fr; } }

/* ---------- Pay gate inside the tools ---------- */
.gate { display: grid; gap: 12px; padding: 18px 20px; border-radius: 16px; background: #EAF7F0; border: 1px solid #A8DDBF; }
.gate p { margin: 0; color: #0B3D25; font-weight: 600; }
.gate .btn { justify-self: start; }
.credit-line { margin: 0; font-size: 0.9rem; color: #00663B; font-weight: 700; }

/* Announces a service that is not open yet. */
.soon { display: inline-flex; align-items: center; justify-content: center; gap: 8px; justify-self: start; padding: 8px 14px; border-radius: 99px; background: #FFF1CC; color: #5C4300; font-weight: 800; font-size: 0.92rem; }
.plan__cta .soon { justify-self: stretch; }

/* ---------- Encart Ardoise (notre site d'exercices), allumé par ARDOISE_ENCART dans tools/partials.py ---------- */
.ardoise {
  position: relative; display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--r);
  border: 1px solid #C9D5FB; color: #0E1630;
  background: #FBFAF7 repeating-linear-gradient(to bottom, transparent 0 27px, #E3EAFE 27px 28px);
}
.ardoise__label { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #4A5577; }
.ardoise__titre { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 1.06rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }
.ardoise__titre a { color: inherit; text-decoration: none; }
.ardoise__titre a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.ardoise__logo { flex: none; width: 34px; height: 34px; }
.ardoise__texte { margin: 0; font-size: 0.92rem; color: #3D4A5C; }
.ardoise__go { font-weight: 800; color: #1034BC; font-size: 0.95rem; }
.ardoise:focus-within { outline: 3px solid #1034BC; outline-offset: 2px; }
.ardoise :focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .ardoise { transition: box-shadow 200ms var(--sc-ease-out), transform 200ms var(--sc-ease-out); }
  .ardoise:hover { box-shadow: var(--shadow-card); transform: translateY(-1px); }
  .ardoise:hover .ardoise__go { text-decoration: underline; }
}

/* Recherches fréquentes (pages thématiques durables) */
.foot__themes { padding: 0 0 var(--sc-6); }
.foot__themes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot__themes a { color: #C3CEDC; text-decoration: none; font-size: 0.92rem; }
.foot__themes a:hover { color: #fff; text-decoration: underline; }
