/* =====================================================================
   TOITURE XLS — RECRUTEMENT (formulaire seul)
   Blanc + grille, comme le site XLS. Brut dans les mots, pro dans l'exécution.
   ===================================================================== */
@font-face { font-family: "Korolev"; src: url("../fonts/korolev-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Korolev"; src: url("../fonts/korolev-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Korolev"; src: url("../fonts/korolev-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Korolev"; src: url("../fonts/korolev-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --bg: #ffffff;
  --grid: #eef0f3;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --border: #e5e7eb;
  --border-2: #d2d6dc;
  --ink: #212529;
  --ink-soft: #495057;
  --muted: #6c757d;
  --black: #111416;
  --blue: #0a6fb0;
  --blue-soft: #e8f2fa;
  --green: #739a3f;
  --green-dark: #5d7f31;
  --green-soft: #eef4e6;
  --plywood: #c9a36b;
  --shingle: #3a4148;
  --danger: #c8412c;
  --radius: 6px;
  --font: "Korolev", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  color: var(--ink); font-family: var(--font); font-weight: 500; font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  /* La grille du site XLS */
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  animation: grid-drift 60s linear infinite;
}
@keyframes grid-drift { to { background-position: center 480px; } }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-weight: 900; text-transform: uppercase; line-height: .95; margin: 0; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------- Décor ---------------- */
.deco { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.deco-house { position: absolute; width: 180px; fill: none; stroke-width: 2.5; stroke-linejoin: round; opacity: .12; animation: float 9s ease-in-out infinite; }
.deco-house.h1 { stroke: var(--blue); left: -30px; top: 30%; }
.deco-house.h2 { stroke: var(--green); right: -40px; top: 62%; width: 140px; animation-delay: -4s; }
.deco-badge { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(10, 111, 176, .3); animation: float 7s ease-in-out infinite; }
.deco-badge svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.deco-badge.b1 { left: 18px; top: 22%; }
.deco-badge.b2 { left: 18px; top: 74%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-2deg); } }
@media (max-width: 720px) { .deco-house, .deco-badge { display: none; } }

/* ---------------- En-tête (aucun lien : on ne quitte pas le formulaire) ---------------- */
.topbar {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; max-width: 760px; margin: 0 auto; padding: 14px 16px 0;
  animation: drop .6s var(--ease) both;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-weight: 900; text-transform: uppercase; font-size: 19px; }
.brand-text small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.hiring { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; background: var(--black); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.hiring i { width: 8px; height: 8px; border-radius: 50%; background: #8db84e; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(141, 184, 78, .7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(141, 184, 78, 0); } }
@keyframes drop { from { opacity: 0; transform: translateY(-12px); } }
@media (max-width: 420px) { .brand-text small { display: none; } .hiring { font-size: 10px; padding: 6px 9px; } }

/* ---------------- Scène ---------------- */
.stage { position: relative; z-index: 1; flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 18px 16px 24px; }
.intro { text-align: center; }
.kicker {
  display: inline-block; margin: 0 0 12px; padding: 6px 12px; background: var(--black); color: #fff;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  animation: rise .6s .1s var(--ease) both;
}
.intro h1 { font-size: clamp(36px, 9vw, 72px); color: var(--ink); animation: rise .7s .18s var(--ease) both; }
.intro h1 em, .intro h1 .accent { font-style: normal; color: var(--blue); }
.lead { margin: 12px auto 0; max-width: 40ch; font-weight: 300; font-size: clamp(16px, 4vw, 20px); line-height: 1.4; color: var(--ink-soft); animation: rise .7s .28s var(--ease) both; }
.chips-trust { list-style: none; padding: 0; margin: 14px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.chips-trust li {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 5px 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px; animation: pop-in .5s var(--spring) both;
}
.chips-trust li:nth-child(1) { animation-delay: .4s; } .chips-trust li:nth-child(2) { animation-delay: .48s; } .chips-trust li:nth-child(3) { animation-delay: .56s; }
.chips-trust svg { width: 15px; height: 15px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.7); } }
@media (max-width: 420px) { .chips-trust { flex-wrap: nowrap; } .chips-trust li { font-size: 11.5px; padding: 4px 8px; white-space: nowrap; } }

/* ---------------- Boutons ---------------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border: 0; border-radius: var(--radius); padding: 14px 20px; min-height: 54px;
  font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 3px 0 var(--green-dark); }
.btn-primary:hover { background: #7fa947; transform: translateY(-1px); box-shadow: 0 5px 0 var(--green-dark); }
.btn-primary:disabled { background: #e3e6ea; color: #9aa1a8; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-primary:not(:disabled).ready { animation: nudge .5s var(--spring); }
@keyframes nudge { 40% { transform: scale(1.03); } }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-block { width: 100%; }
.btn-lg { min-height: 60px; font-size: 18px; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn.loading { pointer-events: none; }
.btn.loading::after { content: ""; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.linklike { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; font-size: inherit; }

/* Onde au clic */
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: currentColor; opacity: .18; pointer-events: none; animation: ripple .6s var(--ease) forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---------------- Carte du formulaire ---------------- */
.quiz {
  position: relative; margin: 22px auto 0; max-width: 560px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--blue); border-radius: 8px;
  padding: 14px 16px 20px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 50px -18px rgba(33, 37, 41, .22);
  animation: card-in .8s .35s var(--spring) both; scroll-margin-top: 12px;
}
@keyframes card-in { from { opacity: 0; transform: translateY(40px) scale(.97); } }
@media (min-width: 480px) { .quiz { padding: 18px 26px 26px; } }

.quiz-head { position: relative; }
.q-back {
  position: absolute; left: -6px; top: -4px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 50%; color: var(--muted); animation: pop-in .3s var(--spring);
}
.q-back:hover { background: var(--surface-2); color: var(--ink); }
.q-back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.roof-wrap { padding: 0 34px; }
.roof { width: 100%; height: auto; max-height: 86px; overflow: visible; }
.roof .row polygon { fill: #f4ebdd; stroke: #e2d2b8; stroke-width: .6; transition: fill .3s; }
.roof .row.on polygon { fill: var(--shingle); stroke: #262b30; }
.roof .row.on .tabs line { stroke: #22272c; stroke-width: 1.2; }
.roof .row.on .lip { stroke: #59616a; stroke-width: 1.2; }
.roof .row.new { transform-box: fill-box; transform-origin: left center; animation: nail .5s var(--ease) both; }
.roof .row.new polygon { fill: var(--green); animation: cool 1.4s .45s forwards; }
.roof .row.new .shine { animation: shine 1s .3s var(--ease) both; }
@keyframes nail { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cool { to { fill: var(--shingle); } }
@keyframes shine { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
.roof-outline { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linejoin: round; }
.roof-gutter { stroke: #9aa1a8; stroke-width: 3; stroke-linecap: round; }
.roof-chimney { fill: #fff; stroke: var(--blue); stroke-width: 2.5; }
.ridge-cap { fill: var(--green); transform-box: fill-box; transform-origin: center; animation: nail .6s var(--ease) both; }
.roof.done { animation: bounce .6s .3s var(--spring); }
@keyframes bounce { 40% { transform: translateY(-6px); } }

.q-meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.q-step { color: var(--ink); white-space: nowrap; }
.q-bar { flex: 1; height: 4px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.q-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 4px; transition: width .6s var(--ease); }
.q-eta { white-space: nowrap; }

/* Réaction de l'équipe XLS */
.reaction {
  display: flex; gap: 10px; align-items: center; margin: 12px 0 0; padding: 0 12px; max-height: 0; opacity: 0; overflow: hidden;
  background: var(--green-soft); border-left: 3px solid var(--green); border-radius: 4px; font-size: 15px; line-height: 1.35; color: var(--ink);
  transition: max-height .35s var(--ease), opacity .3s, padding .35s var(--ease);
}
.reaction.show { max-height: 120px; opacity: 1; padding: 10px 12px; }
.reaction b { flex: none; font-weight: 900; color: #fff; background: var(--green); font-size: 11px; letter-spacing: .06em; padding: 3px 6px; border-radius: 3px; }
.reaction .msg { animation: fade-in .3s var(--ease) both; }
.dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: dot 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } }

/* Question */
.q-slide { padding-top: 16px; }
.q-slide.fwd .q-title, .q-slide.fwd .q-hint { animation: in-fwd .45s var(--ease) both; }
.q-slide.back .q-title, .q-slide.back .q-hint { animation: in-back .45s var(--ease) both; }
.q-slide .q-hint { animation-delay: .05s !important; }
@keyframes in-fwd { from { opacity: 0; transform: translateX(30px); filter: blur(3px); } }
@keyframes in-back { from { opacity: 0; transform: translateX(-30px); filter: blur(3px); } }
.q-title { font-size: clamp(25px, 6.6vw, 34px); line-height: 1; outline: none; }
.q-title .accent { color: var(--blue); }
.q-hint { margin: 8px 0 0; color: var(--muted); font-size: 15px; font-weight: 300; }

/* Options */
.opts { display: grid; gap: 8px; margin-top: 16px; }
.opts.compact { grid-template-columns: repeat(2, 1fr); }
.opts.compact .opt:last-child:nth-child(odd) { grid-column: 1 / -1; }
.opt {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 12px 46px 12px 14px;
  text-align: left; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); color: var(--ink);
  transition: border-color .15s, background .15s, transform .2s var(--ease), box-shadow .2s;
  animation: opt-in .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms + 80ms);
}
@keyframes opt-in { from { opacity: 0; transform: translateY(14px); } }
.opt:hover { border-color: var(--blue); box-shadow: 0 6px 16px -8px rgba(10, 111, 176, .45); transform: translateY(-2px); }
.opt:hover .ic { animation: wiggle .5s var(--ease); }
@keyframes wiggle { 30% { transform: rotate(-10deg) scale(1.1); } 60% { transform: rotate(6deg); } }
.opt .ic { flex: none; width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.opt-txt { display: flex; flex-direction: column; gap: 2px; }
.opt-label { font-weight: 700; font-size: 17px; line-height: 1.2; }
.opt-sub { color: var(--muted); font-size: 14px; font-weight: 300; line-height: 1.3; }
.opt kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 700 11px var(--font); color: var(--muted); border: 1px solid var(--border-2); border-radius: 3px; padding: 1px 5px; background: #fff; }
.opt-check { position: absolute; right: 11px; top: 50%; transform: translateY(-50%) scale(.3); opacity: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--green); display: grid; place-items: center; transition: .3s var(--spring); }
.opt-check .ic { width: 15px; height: 15px; stroke: #fff; stroke-width: 3; fill: none; }
.opt.on { border-color: var(--green); background: var(--green-soft); }
.opt.on .ic:not(.opt-check .ic) { stroke: var(--green-dark); }
.opt.on kbd { opacity: 0; }
.opt.on .opt-check { opacity: 1; transform: translateY(-50%) scale(1); }
.opt.pop { animation: pop .3s var(--spring); }
@keyframes pop { 50% { transform: scale(1.03); } }
.opts.leaving .opt:not(.on) { opacity: .35; transform: scale(.98); transition: opacity .2s, transform .2s; }
.opts.multi .opt-check { border-radius: 4px; }
.opts.multi .opt:not(.on) .opt-check { opacity: 1; transform: translateY(-50%) scale(1); background: #fff; border: 1.5px solid var(--border-2); }
.opts.multi .opt kbd { display: none; }
.opts.compact .opt { justify-content: center; text-align: center; padding: 12px 10px; }
.opts.compact .opt kbd, .opts.compact .opt-check { display: none; }
@media (hover: none) { .opt kbd { display: none; } .opt:hover { transform: none; box-shadow: none; border-color: var(--border); } .opt.on:hover { border-color: var(--green); } }
.q-next, .q-submit { margin-top: 16px; animation: opt-in .45s .3s var(--ease) both; }

/* Champs */
.field { display: block; margin-top: 14px; animation: opt-in .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 80ms); }
.lbl { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft); margin-bottom: 6px; }
.lbl em { font-style: normal; font-weight: 300; text-transform: none; letter-spacing: 0; }
.field input, .note textarea {
  width: 100%; min-height: 56px; padding: 12px 14px; font: 500 18px var(--font); color: var(--ink);
  background: #fff; border: 1.5px solid var(--border-2); border-radius: var(--radius); outline: none; transition: border-color .15s, box-shadow .2s;
}
.note textarea { min-height: 90px; font-size: 16px; resize: vertical; margin-top: 8px; }
.field input:focus, .note textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.field input::placeholder, textarea::placeholder { color: #a3a9b0; }
.field.ok input { border-color: var(--green); }
.input-ic { position: relative; display: block; }
.input-ic .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 2; }
.input-ic input { padding-left: 46px; }
.err { display: none; color: var(--danger); font-size: 14px; margin-top: 6px; }
.field.bad input { border-color: var(--danger); animation: shake .4s; }
.field.bad .err, .contact.bad-consent .err-consent { display: block; }
.contact.bad-consent .consent-box { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { position: relative; overflow: hidden; background: #fff; border: 1.5px solid var(--border); border-radius: 999px; padding: 7px 12px; font-size: 14px; font-weight: 700; animation: pop-in .4s var(--spring) both; animation-delay: calc(var(--i, 0) * 45ms + 150ms); transition: border-color .15s, color .15s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }

.seg { border: 0; padding: 0; margin: 16px 0 0; display: flex; gap: 6px; flex-wrap: wrap; animation: opt-in .45s .2s var(--ease) both; }
.seg legend { padding: 0; }
.seg-btn { position: relative; overflow: hidden; flex: 1 1 0; min-height: 46px; padding: 8px 10px; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); font-weight: 700; font-size: 15px; transition: .15s; }
.seg-btn.on { border-color: var(--green); background: var(--green-soft); color: var(--green-dark); }
.wrap-seg .seg-btn { flex: 1 1 30%; font-size: 14px; }
.note { margin-top: 14px; }
.note summary { cursor: pointer; color: var(--muted); font-size: 15px; list-style: none; }
.note summary::-webkit-details-marker { display: none; }
.consent-box { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; line-height: 1.4; color: var(--ink-soft); font-weight: 300; cursor: pointer; }
.consent-box input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--green); }
.consent-box .linklike { color: var(--blue); }
.fine { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--muted); font-weight: 300; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.restart { display: block; margin: 14px auto 0; font-size: 14px; }

/* Fin */
.done { text-align: center; }
.done-check { width: 64px; height: 64px; margin: 4px auto 10px; border-radius: 50%; background: var(--green); display: grid; place-items: center; animation: pop-in .6s var(--spring) both; }
.done-check svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .35s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-kicker { margin: 0 0 8px; color: var(--green-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; animation: rise .5s .3s var(--ease) both; }
.done .q-title { font-size: clamp(34px, 9vw, 48px); animation: rise .5s .4s var(--ease) both; }
.done-sub { margin: 12px auto 0; max-width: 34ch; font-size: 18px; font-weight: 300; color: var(--ink-soft); animation: rise .5s .5s var(--ease) both; }
.refer { margin-top: 22px; padding: 16px; background: var(--surface-2); border-radius: var(--radius); border: 1.5px dashed var(--border-2); text-align: left; animation: rise .5s .65s var(--ease) both; }
.refer p { margin: 0 0 12px; font-size: 15px; font-weight: 300; color: var(--ink-soft); }
.refer b { color: var(--ink); font-weight: 700; }
.refer .btn + .btn { margin-top: 8px; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.confetti i { position: absolute; top: -12px; width: 12px; height: 7px; border-radius: 1px; animation: fall 2s var(--ease) forwards; }
@keyframes fall { to { transform: translate(var(--x), 680px) rotate(var(--r)); opacity: 0; } }

/* ---------------- Défilement des faits ---------------- */
.ticker {
  margin: 22px auto 0; max-width: 560px; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .8); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  animation: rise .6s .7s var(--ease) both;
}
.ticker-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { padding: 10px 18px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; color: var(--ink-soft); }
.ticker span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 12px; vertical-align: middle; background: var(--green); transform: rotate(45deg); }
.ticker span:nth-child(3n+2)::before { background: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Pied ---------------- */
.footer { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); font-size: 12px; color: var(--muted); }

/* ---------------- Confidentialité ---------------- */
.privacy { width: min(560px, calc(100vw - 32px)); max-height: 85vh; padding: 26px 22px; border: 0; border-top: 4px solid var(--blue); border-radius: 8px; color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.privacy[open] { animation: card-in .45s var(--spring); }
.privacy::backdrop { background: rgba(17, 20, 22, .55); backdrop-filter: blur(2px); }
.privacy h2 { font-size: 30px; margin-bottom: 8px; }
.privacy h3 { font-size: 16px; margin: 18px 0 4px; color: var(--blue); }
.privacy p { margin: 0; font-weight: 300; font-size: 15px; color: var(--ink-soft); }
.privacy mark { background: #fde8e3; color: var(--danger); padding: 0 4px; }
.privacy-addr { margin-top: 18px !important; font-size: 13px !important; color: var(--muted) !important; }
.privacy-close { position: absolute; right: 10px; top: 8px; width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--muted); }

/* ---------------- Consentement ---------------- */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  max-width: 520px; margin: 0 auto; padding: 12px 14px; background: var(--black); color: #fff; border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35); font-size: 13px; font-weight: 300; animation: rise .5s 1s var(--ease) both;
}
.consent p { margin: 0 0 10px; color: #d7dbdf; }
.consent .linklike { color: #fff; }
.consent-actions { display: flex; gap: 8px; }
.consent-actions .btn { flex: 1; }
.consent .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
