/* Bootberry — feuille de style commune.
   Couleurs d'origine (fond clair, bleu marine du logo, tons mûre), vert gardé discret.
   Toutes les surfaces sont en « verre liquide » : clair, translucide, flouté, avec un reflet brillant.
   Police Nunito, coins arrondis comme le logo. */

:root {
  --navy: #02004d;
  --navy-2: #1a1863;
  --green: #62ba18;
  --green-dark: #367306;
  --green-soft: #a9d98a;
  --paper: #f6f8f1;
  --white: #ffffff;
  --pale: #e7f4da;
  --mint: #d6edc0;
  --lilac: #ecebf7;
  --berry: #6e1430;
  --text: #1c1b3a;
  --muted: #4d4c68;

  /* verre liquide */
  --shine: radial-gradient(120% 70% at 0% 0%, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 55%);
  --glass: linear-gradient(155deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .34));
  --glass-line: rgba(255, 255, 255, .9);
  --glass-shadow: 0 24px 60px -28px rgba(2, 0, 77, .30), 0 2px 8px rgba(2, 0, 77, .05),
    inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(2, 0, 77, .05);
  --blur: blur(22px) saturate(180%);

  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-display: clamp(40px, 5.4vw, 80px);
  --t-head: clamp(30px, 3.3vw, 48px);
  --t-title: clamp(20px, 1.6vw, 24px);
  --t-lead: clamp(18px, 1.35vw, 21px);
  --t-body: 17px;
  --t-small: 14px;

  --max: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --r: 28px;
  --r-s: 18px;
  --sec: clamp(72px, 9vw, 120px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--paper); }
body {
  position: relative; margin: 0; min-height: 100vh;
  background: var(--paper); color: var(--text);
  font-family: var(--font); font-size: var(--t-body); line-height: 1.65;
  overflow-x: hidden;
}
/* taches de couleur douces derrière la page, pour que le verre ait quelque chose à flouter */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 0% 0%, rgba(236, 235, 247, .95), transparent 70%),
    radial-gradient(34vmax 34vmax at 100% 18%, rgba(214, 237, 192, .7), transparent 70%),
    radial-gradient(38vmax 38vmax at 80% 100%, rgba(200, 198, 240, .55), transparent 70%),
    radial-gradient(30vmax 30vmax at 10% 80%, rgba(231, 244, 218, .8), transparent 70%),
    var(--paper);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--pale); color: var(--navy); }
:focus-visible { outline: 3px solid var(--navy-2); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: var(--sec); }
.sec.tight { padding-top: 0; }

h1, .h1 { font-size: var(--t-display); font-weight: 900; line-height: 1.02; letter-spacing: -.03em; color: var(--navy); }
h2, .h2 { font-size: var(--t-head); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
h3, .h3 { font-size: var(--t-title); font-weight: 800; line-height: 1.25; color: var(--navy); }
.lead { font-size: var(--t-lead); line-height: 1.6; color: var(--text); }
.muted { color: var(--muted); }

.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-l { display: flex; flex-direction: column; gap: 28px; }

/* ---------- verre liquide : un seul langage pour toutes les surfaces ---------- */
.hero-card, .skill, .panel, .mini > div, .value, .checks li, .cta, .pr, .issue li, .pillar,
.aside-card, form.card, .media.tint, .stage, .drop, .home-hero .tags a {
  background: var(--shine), var(--glass), var(--tint, rgba(255, 255, 255, .25));
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
/* teintes douces, prises dans les couleurs d'origine */
.t-pale { --tint: rgba(231, 244, 218, .62); }
.t-mint { --tint: rgba(214, 237, 192, .58); }
.t-lilac { --tint: rgba(236, 235, 247, .75); }
.t-white { --tint: rgba(255, 255, 255, .5); }
.t-green { --tint: rgba(190, 226, 160, .55); } /* l'ancien vert vif, en version douce */
/* verre sombre : bleu marine et mûre */
.t-navy, .t-berry {
  --glass: linear-gradient(155deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02));
  --shine: radial-gradient(120% 70% at 0% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%);
  --glass-line: rgba(255, 255, 255, .2);
  --glass-shadow: 0 28px 60px -26px rgba(2, 0, 77, .55), inset 0 1px 0 rgba(255, 255, 255, .22);
  color: #e9e8f6;
}
.t-navy { --tint: rgba(2, 0, 77, .88); }
.t-berry { --tint: rgba(110, 20, 48, .86); }
.t-navy h1, .t-navy h2, .t-navy h3, .t-berry h1, .t-berry h2, .t-berry h3 { color: var(--white); }
.t-navy .lead, .t-berry .lead, .t-navy p, .t-berry p { color: #e9e8f6; }
.t-navy strong, .t-berry strong { color: var(--white); }

/* ---------- boutons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 24px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px;
  background: radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, .28), transparent 55%), linear-gradient(180deg, var(--navy-2), var(--navy));
  color: var(--white); box-shadow: 0 12px 28px -12px rgba(2, 0, 77, .6), inset 0 1px 0 rgba(255, 255, 255, .3);
  font: 800 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.15); box-shadow: 0 18px 36px -14px rgba(2, 0, 77, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn.ghost {
  background: var(--shine), var(--glass); color: var(--navy);
  border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.btn.ghost:hover { filter: none; background: var(--shine), linear-gradient(155deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .6)); }
/* sur le verre sombre, le bouton devient du verre clair */
.t-navy .btn, .t-berry .btn {
  background: radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, .9), rgba(255, 255, 255, .55) 60%), rgba(231, 244, 218, .6);
  color: var(--navy); border-color: rgba(255, 255, 255, .8);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .55), inset 0 1px 0 #fff;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--navy); text-decoration: none; }
.link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link:hover svg, a:hover > .link svg { transform: translate(3px, -3px); }
.t-navy .link, .t-berry .link { color: var(--white); }

/* ---------- en-tête ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 248, 241, .6); border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.top.scrolled { background: rgba(255, 255, 255, .55); border-bottom-color: rgba(255, 255, 255, .9); box-shadow: 0 10px 30px -18px rgba(2, 0, 77, .25); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand { display: block; width: 158px; flex: none; transition: transform .3s var(--ease); }
.brand:hover { transform: rotate(-2deg) scale(1.03); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > li { position: relative; }
.nav > li > a, .nav button.sub {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  background: none; border: 0; border-radius: 999px; color: var(--navy); cursor: pointer;
  font: 700 15.5px/1 var(--font); text-decoration: none; transition: background-color .2s;
}
.nav > li > a:hover, .nav button.sub:hover, .nav button.sub[aria-expanded="true"] { background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9); }
.nav > li > a[aria-current="page"], .nav button.sub.current { color: var(--green-dark); }
.nav .chev { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav button.sub[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav > li > a.btn { margin-left: 8px; padding: 0 20px; color: var(--white); background: radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, .28), transparent 55%), linear-gradient(180deg, var(--navy-2), var(--navy)); box-shadow: 0 12px 28px -12px rgba(2, 0, 77, .6), inset 0 1px 0 rgba(255, 255, 255, .3); }

.drop {
  position: absolute; top: calc(100% + 10px); left: -8px; z-index: 60; display: none;
  width: 330px; padding: 8px; border-radius: 22px; --tint: rgba(255, 255, 255, .55);
}
.drop.open { display: block; animation: drop .22s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
/* pont invisible entre le bouton et le sous-menu, pour que la souris ne le referme pas en chemin */
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.drop a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; text-decoration: none; transition: background-color .2s; }
.drop a:hover, .drop a[aria-current="page"] { background: rgba(231, 244, 218, .7); }
.drop img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.drop b { display: block; font-size: 16px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.drop small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.35; }

.burger { display: none; }
.sheet { display: none; }
@media (max-width: 1020px) {
  .nav { display: none; }
  .burger {
    display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; color: var(--white);
    background: radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, .28), transparent 55%), linear-gradient(180deg, var(--navy-2), var(--navy));
    box-shadow: 0 10px 24px -12px rgba(2, 0, 77, .6), inset 0 1px 0 rgba(255, 255, 255, .3);
    font: 800 16px/1 var(--font); cursor: pointer;
  }
  .burger span { display: grid; gap: 4px; }
  .burger span i { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
  /* menu mobile : même style que le menu ordinateur (verre clair, une mûre par page) */
  .sheet {
    position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column;
    background: rgba(246, 248, 241, .82); color: var(--text);
    -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
    opacity: 0; visibility: hidden; transform: translateX(24px);
    transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s;
  }
  .sheet.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease), visibility 0s; }
  .sheet-top { flex: none; display: flex; justify-content: space-between; align-items: center; height: 72px; padding: 0 var(--pad); }
  .sheet-top .brand { width: 140px; }
  .sheet .close {
    display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%;
    background: linear-gradient(180deg, var(--navy-2), var(--navy)); color: var(--white); cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); transition: transform .25s var(--ease);
  }
  .sheet .close svg { width: 20px; height: 20px; }
  .sheet .close:active { transform: scale(.92); }
  .sheet-body { flex: 1; overflow-y: auto; padding: 4px var(--pad) 24px; overscroll-behavior: contain; }
  .sheet .group { margin: 22px 4px 8px; font-size: 13px; font-weight: 800; color: var(--muted); }
  .sheet .rows {
    border-radius: 22px; padding: 6px;
    background: var(--shine), var(--glass), rgba(255, 255, 255, .3); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow);
  }
  .sheet .rows a {
    display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 10px;
    border-radius: 16px; text-decoration: none; transition: background-color .2s;
  }
  .sheet .rows a:active, .sheet .rows a:hover { background: rgba(255, 255, 255, .6); }
  .sheet .rows a[aria-current="page"] { background: rgba(231, 244, 218, .75); }
  .sheet .thumb { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(231, 244, 218, .8); box-shadow: inset 0 1px 0 #fff; }
  .sheet .rows li:nth-child(4n+2) .thumb { background: rgba(214, 237, 192, .8); }
  .sheet .rows li:nth-child(4n+3) .thumb { background: rgba(236, 235, 247, .9); }
  .sheet .thumb img { width: 40px; height: 40px; object-fit: contain; }
  .sheet .name { flex: 1; min-width: 0; }
  .sheet .name b { display: block; font-size: 17px; font-weight: 800; color: var(--navy); line-height: 1.25; }
  .sheet .name small { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; }
  .sheet .rows .chev { flex: none; width: 14px; height: 14px; color: var(--navy); transform: rotate(-90deg); opacity: .5; }
  .sheet-foot { flex: none; padding: 14px var(--pad) calc(16px + env(safe-area-inset-bottom)); }
  .sheet-foot .btn { width: 100%; min-height: 54px; font-size: 17px; }
  @media (prefers-reduced-motion: no-preference) {
    .sheet.open .rows, .sheet.open .group { animation: sheetIn .4s var(--ease) both; }
    .sheet.open .group:nth-of-type(1), .sheet.open .group:nth-of-type(1) + .rows { animation-delay: .05s; }
    .sheet.open .group:nth-of-type(2), .sheet.open .group:nth-of-type(2) + .rows { animation-delay: .1s; }
    .sheet.open .group:nth-of-type(3), .sheet.open .group:nth-of-type(3) + .rows { animation-delay: .15s; }
    @keyframes sheetIn { from { opacity: 0; transform: translateY(12px); } }
  }
}

/* ---------- apparitions ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }
  @keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-1.5deg); } }
  .float { animation: float 6s ease-in-out infinite; }
  @keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
  .zoom img { animation: zoom 14s ease-out both; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- héros des pages ---------- */
.hero { padding-top: clamp(16px, 3vw, 32px); padding-bottom: var(--sec); }
.hero-card {
  position: relative; overflow: hidden; border-radius: 36px;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px;
  padding: clamp(36px, 5vw, 72px); min-height: 500px;
}
.hero-card .txt { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 22px; max-width: 620px; }
.hero-card .pic { position: relative; z-index: 1; justify-self: center; width: 100%; max-width: 360px; }
.hero-card .pic img { width: 100%; max-height: 420px; object-fit: contain; }
.hero-card .pic.photo { max-width: 560px; border-radius: var(--r); overflow: hidden; box-shadow: var(--glass-shadow); }
.hero-card .pic.photo img { max-height: none; object-fit: cover; }
.hero-card .loop { position: absolute; right: -60px; bottom: -40px; width: 600px; z-index: 0; pointer-events: none; opacity: .55; }
.hero-card:has(.pic.photo) .loop { display: none; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--navy); text-decoration: none; }
.crumb::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.t-navy .crumb, .t-berry .crumb { color: var(--white); }
@media (max-width: 860px) {
  .hero-card { grid-template-columns: 1fr; min-height: 0; border-radius: 28px; }
  .hero-card .pic { max-width: 230px; justify-self: start; }
  .hero-card .pic img { max-height: 270px; }
  .hero-card .pic.photo { max-width: none; }
  .hero-card .loop { width: 420px; right: -140px; }
}

/* ---------- accueil : héros ---------- */
.home-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: clamp(24px, 4vw, 56px); padding-bottom: var(--sec); }
.home-hero h1 { font-size: clamp(38px, 4.5vw, 66px); }
.home-hero .txt { display: flex; flex-direction: column; gap: 24px; }
.home-hero .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.home-hero .tags a { padding: 7px 15px; border-radius: 999px; color: var(--navy); font-size: 15px; font-weight: 800; text-decoration: none; transition: transform .2s var(--ease); }
.home-hero .tags a:hover { transform: translateY(-2px); }
.stage { position: relative; aspect-ratio: 1 / 1; border-radius: 40px; overflow: hidden; }
@media (max-width: 860px) {
  .home-hero { grid-template-columns: 1fr; }
  .stage { border-radius: 30px; }
}

/* ---------- titres de section ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.sec-head .stack { max-width: 680px; }
@media (max-width: 700px) { .sec-head { flex-direction: column; align-items: flex-start; } }

/* ---------- cartes compétences ---------- */
.skill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.skill {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 26px; border-radius: var(--r); text-decoration: none; color: var(--text);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.skill:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -30px rgba(2, 0, 77, .4), inset 0 1px 0 #fff; }
.skill .ill { height: 170px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 8px; }
.skill .ill img { max-height: 170px; width: auto; transition: transform .35s var(--ease); }
.skill:hover .ill img { transform: scale(1.06) rotate(-2deg); }
.skill p { font-size: 16px; line-height: 1.55; flex: 1; }
.skill .link { margin-top: 6px; }
@media (max-width: 1020px) { .skill-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .skill-grid { grid-template-columns: 1fr; } .skill .ill { height: 140px; } .skill .ill img { max-height: 140px; } }

/* ---------- bloc image + texte ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.rev .media { order: 2; }
.media { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--glass-shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.ratio { aspect-ratio: 4 / 3; }
.media.ratio::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .9); pointer-events: none; }
.media.tint { display: grid; place-items: center; padding: 30px; aspect-ratio: 4 / 3; }
.media.tint img { width: auto; height: auto; max-height: 340px; object-fit: contain; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev .media { order: 0; } }

/* ---------- grand panneau ---------- */
.panel { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(32px, 5vw, 64px); }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.panel-grid .pic { justify-self: center; max-width: 300px; }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.mini > div { padding: 24px; border-radius: var(--r-s); }
.t-navy .mini > div { --tint: rgba(26, 24, 99, .6); }
.mini h3 { font-size: 19px; margin-bottom: 8px; }
.mini p { font-size: 16px; line-height: 1.55; }
.statement { font-size: clamp(21px, 2vw, 28px); font-weight: 800; line-height: 1.4; color: var(--navy); letter-spacing: -.01em; max-width: 900px; }
@media (max-width: 860px) { .panel-grid, .mini { grid-template-columns: 1fr; } .panel-grid .pic { justify-self: start; max-width: 200px; } }

/* ---------- valeurs ---------- */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.value { padding: 22px; border-radius: var(--r-s); }
.value .dot { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(231, 244, 218, .9); box-shadow: inset 0 1px 0 #fff; margin-bottom: 14px; }
.value .dot svg { width: 20px; height: 20px; color: var(--green-dark); }
.value h3 { font-size: 19px; margin-bottom: 6px; }
.value p { font-size: 16px; line-height: 1.55; color: var(--muted); }
@media (max-width: 1020px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ---------- liste des savoir-faire ---------- */
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checks li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 22px; border-radius: var(--r-s);
  font-size: 16.5px; line-height: 1.5; font-weight: 600; color: var(--text);
  transition: transform .3s var(--ease);
}
.checks li:hover { transform: translateY(-3px); }
.checks .ok { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(231, 244, 218, .95); color: var(--green-dark); margin-top: -2px; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(98, 186, 24, .25); }
.checks .ok svg { width: 15px; height: 15px; }
@media (max-width: 760px) { .checks { grid-template-columns: 1fr; } }

/* ---------- appel final ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 36px;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px;
  padding: clamp(32px, 5vw, 60px);
}
.cta .txt { display: flex; flex-direction: column; gap: 20px; max-width: 720px; position: relative; z-index: 1; }
.cta .say { font-size: clamp(21px, 2vw, 28px); font-weight: 800; line-height: 1.35; letter-spacing: -.01em; color: var(--navy); }
.t-navy .say, .t-berry .say { color: var(--white); }
.cta .pic { width: clamp(140px, 16vw, 220px); position: relative; z-index: 1; }
@media (max-width: 700px) { .cta { grid-template-columns: 1fr; } .cta .pic { width: 150px; } }

/* ---------- citation ---------- */
.quote { text-align: center; max-width: 860px; margin-inline: auto; }
.quote .mark { font-size: 72px; line-height: .6; color: var(--green); font-weight: 900; }
.quote blockquote { font-size: clamp(22px, 2.3vw, 32px); font-weight: 800; line-height: 1.35; color: var(--navy); letter-spacing: -.01em; margin-top: 10px; }
.quote figcaption { margin-top: 16px; font-weight: 700; color: var(--muted); }

/* ---------- principes (Bootberry Touch) ---------- */
.princ { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pr { display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: start; padding: 28px; border-radius: var(--r); }
.pr .ill { width: 130px; height: 130px; border-radius: 22px; display: grid; place-items: center; padding: 10px; background: var(--shine), var(--tint, rgba(231, 244, 218, .7)); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255, 255, 255, .8); }
.pr .ill img { max-height: 112px; width: auto; }
.pr h2 { font-size: var(--t-title); margin-bottom: 8px; }
.pr p { font-size: 16px; line-height: 1.6; }
@media (max-width: 960px) { .princ { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .pr { grid-template-columns: 1fr; } .pr .ill { width: 100px; height: 100px; } .pr .ill img { max-height: 84px; } }

/* ---------- Bootberry Mood ---------- */
.issue { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.issue li { display: flex; gap: 12px; padding: 20px 22px; border-radius: var(--r-s); font-weight: 700; line-height: 1.5; color: var(--navy); --tint: rgba(236, 235, 247, .8); }
.issue li b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--berry); color: var(--white); font-size: 15px; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar { padding: 24px; border-radius: var(--r); display: flex; flex-direction: column; gap: 16px; }
.pillar .ill { height: 130px; border-radius: var(--r-s); display: flex; align-items: flex-end; justify-content: center; padding-top: 10px; background: var(--shine), var(--tint, rgba(231, 244, 218, .7)); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255, 255, 255, .8); }
.pillar .ill img { max-height: 120px; width: auto; }
.pillar p { font-size: 16.5px; font-weight: 700; line-height: 1.45; color: var(--navy); }
@media (max-width: 1020px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars, .issue { grid-template-columns: 1fr; } }

/* ---------- formulaires ---------- */
.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.aside-card { border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; }
.aside-card img { width: 150px; }
.aside-card .row { display: flex; gap: 12px; align-items: flex-start; }
.aside-card .row .dot { flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(180deg, var(--navy-2), var(--navy)); display: grid; place-items: center; color: var(--white); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.aside-card .row .dot svg { width: 16px; height: 16px; }
.aside-card .row p { font-size: 16px; line-height: 1.5; }
.aside-card .row a { font-weight: 800; }
form.card { border-radius: var(--r); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; --tint: rgba(255, 255, 255, .45); }
form.card .full { grid-column: 1 / -1; }
form.card label { display: flex; flex-direction: column; gap: 8px; font-weight: 800; font-size: 15px; color: var(--navy); }
form.card label em, .who legend em { font-style: normal; font-weight: 600; color: var(--muted); }
form.card input, form.card textarea, form.card select {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid rgba(2, 0, 77, .12); border-radius: 14px;
  background: rgba(255, 255, 255, .65); color: var(--text); font: 500 16px/1.4 var(--font);
  box-shadow: inset 0 1px 2px rgba(2, 0, 77, .06);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
form.card select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5' fill='none' stroke='%2302004d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 14px; padding-right: 42px; }
form.card textarea { min-height: 160px; resize: vertical; }
form.card input:focus, form.card textarea:focus, form.card select:focus { outline: none; border-color: var(--navy-2); background: var(--white); box-shadow: 0 0 0 3px rgba(26, 24, 99, .12); }
form.card .btn { justify-self: start; }
form.card .done { grid-column: 1 / -1; padding: 14px 18px; border-radius: 14px; background: rgba(231, 244, 218, .8); font-weight: 700; color: var(--navy); }
.who { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.who legend { font-weight: 800; font-size: 15px; color: var(--navy); margin-bottom: 10px; padding: 0; }
.who label { position: relative; display: inline-flex !important; flex-direction: row !important; gap: 0 !important; }
.who input { position: absolute; inset: 0; opacity: 0; min-height: 0 !important; margin: 0; cursor: pointer; }
.who span { display: inline-block; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 4px 12px -6px rgba(2, 0, 77, .2), inset 0 1px 0 #fff; font-weight: 700; font-size: 15px; cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.who label:hover span { transform: translateY(-2px); }
.who input:checked + span { background: linear-gradient(180deg, var(--navy-2), var(--navy)); border-color: transparent; color: var(--white); }
.who input:focus-visible + span { outline: 3px solid var(--navy-2); outline-offset: 2px; }
@media (max-width: 860px) { .form-wrap, form.card { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* ---------- pied de page ---------- */
.foot { background: var(--navy); color: #d9d8ee; padding: 72px 0 28px; margin-top: var(--sec); }
.foot-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.foot .brand { width: 170px; }
.foot-intro p { margin-top: 18px; font-size: 16px; max-width: 30ch; }
.foot h2 { font-size: 14px; font-weight: 800; color: var(--green-soft); margin-bottom: 12px; letter-spacing: 0; line-height: 1.4; }
.foot li a { display: inline-block; padding: 4px 0; font-size: 15px; text-decoration: none; transition: color .2s, transform .2s var(--ease); }
.foot li a:hover { color: var(--white); transform: translateX(3px); }
.foot-last { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; font-size: 14px; color: #b9b8d6; }
.foot-last a { color: #d9d8ee; text-decoration: none; font-weight: 700; }
.foot-last a:hover { color: var(--white); }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-intro { grid-column: 1 / -1; } }

/* ---------- accueil : mini-jeu « Le Match » (verre sombre bleu marine, cartes en verre clair) ---------- */
.stage.match {
  --tint: rgba(2, 0, 77, .9);
  --glass: linear-gradient(155deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02));
  --shine: radial-gradient(120% 70% at 0% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%);
  --glass-line: rgba(255, 255, 255, .2);
  container-type: inline-size;
  display: grid; grid-template-rows: auto minmax(220px, 1fr) auto; gap: 16px;
  padding: clamp(14px, 4.5%, 26px); color: var(--white); user-select: none; -webkit-user-select: none;
}
/* sur téléphone, le jeu prend la hauteur qu'il lui faut au lieu d'un carré trop serré */
@media (max-width: 860px) { .stage.match { aspect-ratio: auto; min-height: 540px; } }
.m-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2cqw; }
.m-brand { font: 700 clamp(14px, 4.4cqw, 22px)/1 "Pixelify Sans", var(--font); color: var(--green-soft); letter-spacing: .04em; }
.m-count { font-size: clamp(12px, 3.1cqw, 15px); font-weight: 800; color: #c9c8e6; text-align: center; }
.m-sound {
  padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #e7f4da;
  font: 700 clamp(11px, 2.7cqw, 13px)/1.2 var(--font); cursor: pointer;
}
.m-sound[aria-pressed="true"] { background: rgba(231, 244, 218, .9); color: var(--navy); }
.m-progress { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.m-progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--green-soft); transition: width .4s var(--ease); }

.m-deck { position: relative; min-height: 220px; }
.m-card {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 3cqw;
  padding: 5.6cqw; border-radius: 26px; color: var(--navy);
  background: radial-gradient(120% 70% at 0% 0%, #fff, rgba(255, 255, 255, 0) 55%), linear-gradient(155deg, rgba(255, 255, 255, .97), rgba(236, 235, 247, .92));
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(2, 0, 77, .06);
  cursor: grab; touch-action: pan-y; transition: transform .35s var(--ease), opacity .35s;
  opacity: 0; transform: scale(.92) translateY(10px);
}
.m-card.in { opacity: 1; transform: none; }
.m-card.dragging { cursor: grabbing; transition: none; }
.m-card.peek { opacity: .4; transform: scale(.93) translateY(14px); pointer-events: none; }
.m-card.peek > * { visibility: hidden; }
.m-card.out-right { opacity: 0; transform: translateX(130%) rotate(18deg) !important; }
.m-card.out-left { opacity: 0; transform: translateX(-130%) rotate(-18deg) !important; }
.m-card.final { background: radial-gradient(120% 70% at 0% 0%, #fff, rgba(255, 255, 255, 0) 55%), linear-gradient(155deg, rgba(255, 255, 255, .97), rgba(231, 244, 218, .95)); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6), 0 0 0 3px rgba(169, 217, 138, .8), inset 0 1px 0 #fff; }
.m-from { display: flex; flex-direction: column; gap: 4px; font-size: clamp(14px, 3.6cqw, 18px); font-weight: 900; line-height: 1.2; }
.m-from span { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(2, 0, 77, .06); color: var(--muted); font-size: clamp(11px, 2.8cqw, 13px); font-weight: 800; }
.m-from img { width: 46%; }
.m-text { flex: 1; display: flex; align-items: center; font-size: clamp(20px, 6.4cqw, 34px); font-weight: 900; line-height: 1.18; letter-spacing: -.015em; text-wrap: balance; }
.m-hint { font-size: clamp(12px, 3cqw, 15px); font-weight: 700; color: var(--muted); }
.m-stamp {
  position: absolute; top: 5cqw; padding: 4px 10px; border: 3px solid; border-radius: 10px; background: rgba(255, 255, 255, .85);
  font: 700 clamp(16px, 5cqw, 26px)/1 "Pixelify Sans", var(--font); opacity: 0; pointer-events: none;
}
.m-stamp.yes { left: 5cqw; color: var(--green-dark); transform: rotate(-12deg); }
.m-stamp.no { right: 5cqw; color: var(--berry); transform: rotate(12deg); }

.m-controls { display: flex; align-items: center; justify-content: center; gap: 5cqw; }
.m-no, .m-yes {
  display: grid; place-items: center; width: clamp(56px, 15cqw, 80px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .9);
  font-size: clamp(24px, 7cqw, 36px); line-height: 1; cursor: pointer; transition: transform .2s var(--ease);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6), inset 0 1px 0 #fff;
}
.m-no { background: radial-gradient(120% 80% at 30% 0%, #fff, rgba(255, 255, 255, .8)); color: var(--berry); }
.m-yes { background: radial-gradient(120% 80% at 30% 0%, #fff, rgba(231, 244, 218, .92)); color: var(--green-dark); }
.m-no:hover, .m-yes:hover { transform: scale(1.08); }
.m-no:active, .m-yes:active { transform: scale(.92); }
.m-mure { height: clamp(64px, 19cqw, 104px); width: auto; transform-origin: 50% 100%; }

.m-feedback {
  position: absolute; left: 4.6cqw; right: 4.6cqw; top: 22cqw; z-index: 4;
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 20px;
  background: radial-gradient(120% 70% at 0% 0%, rgba(255, 255, 255, .16), transparent 55%), rgba(26, 24, 99, .92);
  border: 1px solid; cursor: pointer;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.m-feedback[hidden] { display: none; }
.m-feedback.good { border-color: rgba(169, 217, 138, .7); }
.m-feedback.bad { border-color: rgba(228, 138, 166, .7); }
.m-feedback b { font: 700 clamp(20px, 6cqw, 30px)/1.1 "Pixelify Sans", var(--font); }
.m-feedback.good b { color: var(--green-soft); }
.m-feedback.bad b { color: #ffb3c8; }
.m-feedback span { font-size: clamp(15px, 4.2cqw, 20px); font-weight: 700; line-height: 1.4; color: var(--white); }
.m-feedback small { font-size: clamp(11px, 2.8cqw, 13px); color: #c9c8e6; font-weight: 700; }

.m-screen {
  position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3.2cqw; padding: 7cqw; text-align: center;
  background: radial-gradient(80% 60% at 50% 25%, rgba(255, 255, 255, .12), transparent 70%), #07055a;
}
.m-screen[hidden] { display: none; }
.m-big { font: 700 clamp(28px, 10cqw, 56px)/1 "Pixelify Sans", var(--font); color: var(--white); letter-spacing: .03em; }
.m-start-mure { height: clamp(110px, 34cqw, 190px); width: auto; }
.m-end-logo { width: 46%; }
.m-sub { max-width: 34ch; font-size: clamp(15px, 4.2cqw, 20px); font-weight: 700; line-height: 1.45; color: #e9e8f6; }
.m-score { font-size: clamp(14px, 3.8cqw, 18px); font-weight: 700; color: #c9c8e6; }
.m-score b { color: var(--white); }
.m-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.m-btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .9);
  background: radial-gradient(120% 90% at 30% 0%, #fff, rgba(231, 244, 218, .9)); color: var(--navy);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .6), inset 0 1px 0 #fff;
  font: 800 clamp(15px, 3.8cqw, 18px)/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease);
}
.m-btn:hover { transform: translateY(-2px); }
.m-btn.alt { background: radial-gradient(120% 90% at 30% 0%, #fff, rgba(236, 235, 247, .9)); }
.m-btn.ghost { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.m-confetti { position: absolute; inset: 0; z-index: 6; overflow: hidden; pointer-events: none; }
.m-confetti i { position: absolute; top: -14px; width: 8px; height: 12px; border-radius: 2px; animation: fall 2s ease-in forwards; }
@keyframes fall { to { transform: translate(var(--dx), 120cqw) rotate(var(--r)); opacity: .8; } }
@media (prefers-reduced-motion: no-preference) {
  .m-mure.hop { animation: hop .6s var(--ease); }
  .m-mure.droop { animation: droop .7s var(--ease); }
  .m-card.shake { animation: shake .45s; }
  @keyframes hop { 30% { transform: translateY(-22px) scale(1.06, .94); } 60% { transform: translateY(0) scale(1.08, .9); } }
  @keyframes droop { 40% { transform: rotate(-6deg) translateY(4px); } 70% { transform: rotate(4deg); } }
  @keyframes shake { 20%, 60% { transform: translateX(-12px); } 40%, 80% { transform: translateX(12px); } }
}
@media (prefers-reduced-motion: reduce) { .m-card, .m-progress i { transition: none; } }

/* ---------- Candidature flash : « Uploader votre CV » façon basket (voir js/cv-panier.js) ---------- */
.cv-court {
  position: relative; height: 665px; border-radius: 22px; padding: 18px;
  background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 1px 0 #fff, 0 10px 30px -20px rgba(2, 0, 77, .3);
  user-select: none; -webkit-user-select: none; transition: box-shadow .2s;
}
.cv-court.over { box-shadow: inset 0 1px 0 #fff, 0 0 0 3px rgba(26, 24, 99, .25); }
.cv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.cv-label { font-weight: 800; font-size: 15px; color: var(--navy); }
.cv-hint { font-size: 14px; color: var(--muted); }
.cv-sound {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(2, 0, 77, .12); background: rgba(255, 255, 255, .8); color: var(--muted); cursor: pointer;
  transition: transform .2s var(--ease), color .2s;
}
.cv-sound:hover { transform: scale(1.06); color: var(--navy); }
.cv-sound svg { width: 17px; height: 17px; }
.cv-sound .cv-mute, .cv-sound.off .cv-wave { display: none; }
.cv-sound.off .cv-mute { display: inline; }

.cv-box {
  position: relative; width: 100%; height: 255px; padding: 22px 16px 0;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: 2px dashed rgba(2, 0, 77, .22); border-radius: 22px; background: rgba(255, 255, 255, .85);
  color: var(--navy); font: inherit; text-align: center; cursor: pointer; overflow: visible;
  transition: border-color .2s, background-color .2s;
}
.cv-box:hover { border-color: rgba(2, 0, 77, .45); background: #fff; }
.cv-court.busy .cv-box { border-color: rgba(26, 24, 99, .45); cursor: default; }
.cv-icon { width: 26px; height: 26px; margin-bottom: 4px; }
.cv-title { font-size: 16.5px; font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-sub { font-size: 14px; color: var(--muted); max-width: 34ch; }
.cv-court.scored .cv-title::before { content: "✓ "; color: var(--green-dark); }

/* barre de progression dans la zone pointillée */
.cv-progress {
  position: absolute; top: 14px; left: 16px; right: 16px; z-index: 10; display: block; text-align: left;
  padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid rgba(2, 0, 77, .1);
  box-shadow: 0 6px 20px rgba(2, 0, 77, .08);
}
.cv-progress[hidden] { display: none; }
.cv-p-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.cv-p-tag { flex: none; padding: 2px 6px; border-radius: 4px; background: var(--lilac); color: var(--navy-2); font-size: 10px; font-weight: 800; }
.cv-p-name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-p-pct { font-size: 12.5px; font-weight: 800; color: var(--navy-2); }
.cv-p-track { display: block; height: 6px; border-radius: 4px; background: #e6e6f2; overflow: hidden; margin-bottom: 8px; }
.cv-p-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #8f8db8, var(--navy-2)); transition: width .14s ease-out; }
.cv-progress.done .cv-p-fill { background: var(--green); }
.cv-p-state { display: block; font-size: 12px; font-weight: 700; color: var(--navy-2); }
.cv-progress.done .cv-p-state { color: var(--green-dark); }

/* le panier : panneau, support, arceau arrière, filet, arceau avant */
.cv-hoop { position: absolute; bottom: -48px; left: 50%; width: 128px; height: 135px; transform: translateX(-50%); pointer-events: none; display: flex; flex-direction: column; align-items: center; }
.cv-board {
  position: absolute; top: 0; z-index: 1; width: 116px; height: 72px; padding-bottom: 5px;
  display: flex; align-items: flex-end; justify-content: center;
  background: #fff; border: 2px solid #e2e2ee; border-radius: 7px; box-shadow: 0 4px 14px rgba(2, 0, 77, .06);
}
.cv-board { flex-direction: column; align-items: center; gap: 4px; padding-top: 6px; }
.cv-board img { width: 76px; height: auto; }
.cv-board span { width: 40px; height: 26px; border: 2.5px solid var(--green); border-radius: 3px; }
.cv-bracket { position: absolute; top: 67px; z-index: 2; width: 16px; height: 9px; border-radius: 2px; background: var(--navy-2); }
.cv-rim-back { position: absolute; top: 62px; z-index: 2; width: 90px; height: 26px; overflow: visible; }
.cv-net { position: absolute; top: 73px; z-index: 3; width: 86px; height: 80px; transform-origin: top center; }
.cv-net svg, .cv-rim svg { width: 100%; height: 100%; overflow: visible; }
.cv-rim { position: absolute; top: 62px; z-index: 8; width: 90px; height: 26px; }
@media (prefers-reduced-motion: no-preference) {
  .cv-net.swish { animation: cvSwish .58s ease-in-out; }
  @keyframes cvSwish {
    25% { transform: scale(1.25, 1.28) rotate(2.5deg); }
    50% { transform: scale(.93, .91) rotate(-2deg); }
    75% { transform: scale(1.06, 1.05) rotate(1deg); }
  }
}

/* pointillés de visée */
.cv-dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 15; pointer-events: none; overflow: visible; fill: var(--navy-2); }

/* la carte du document */
.cv-card {
  position: absolute; top: 0; left: 0; z-index: 20; width: 56px; height: 74px; padding: 10px 7px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: #fff; border: 1px solid rgba(226, 226, 238, .95); border-radius: 9px;
  box-shadow: 0 8px 20px rgba(2, 0, 77, .1), 0 2px 4px rgba(2, 0, 77, .05);
  cursor: grab; touch-action: none; transform-origin: center; --tilt: 0deg;
  rotate: var(--tilt); transition: scale .2s var(--ease), rotate .2s var(--ease), box-shadow .2s;
}
.cv-card:hover { scale: 1.05; }
.cv-card.held { cursor: grabbing; scale: 1.07; z-index: 30; box-shadow: 0 16px 30px rgba(2, 0, 77, .18); transition: scale .2s var(--ease); }
.cv-card.flying { z-index: 25; pointer-events: none; rotate: 0deg; scale: 1; filter: drop-shadow(0 12px 24px rgba(2, 0, 77, .14)); }
.cv-card.in-hoop { z-index: 4; }
.cv-ear { position: absolute; top: 0; right: 0; width: 13px; height: 13px; border-bottom-left-radius: 3px; background: linear-gradient(135deg, #d6d5ea 50%, #fff 50%); box-shadow: -1.5px 1.5px 3px rgba(0, 0, 0, .06); }
.cv-lines { display: flex; flex-direction: column; gap: 4px; width: 75%; margin-top: 6px; }
.cv-lines i { display: block; height: 2.5px; border-radius: 1.5px; background: #e2e2ee; }
.cv-lines i:nth-child(2) { width: 80%; }
.cv-lines i:nth-child(3) { width: 60%; }
.cv-tag { align-self: flex-start; padding: 1.5px 5px; border-radius: 3px; background: var(--navy-2); color: #fff; font-size: 8px; font-weight: 800; letter-spacing: .5px; }
.cv-court:not(.loaded) .cv-card { opacity: .75; }
.cv-court:not(.loaded) .cv-dots { opacity: .35; }

.cv-tip { position: absolute; left: 16px; right: 16px; bottom: 10px; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); pointer-events: none; }
.cv-court:not(.ready) .cv-card, .cv-court:not(.ready) .cv-tip { display: none; }
@media (max-width: 520px) { .cv-court { height: 705px; } }

/* la mûre qui réceptionne le CV sous le filet */
.cv-mure {
  position: absolute; top: 0; left: 0; z-index: 18; width: auto; height: 165px; pointer-events: none;
  opacity: 0; translate: 0 26px; scale: .7; transition: opacity .3s, translate .45s cubic-bezier(.3, 1.5, .5, 1), scale .45s cubic-bezier(.3, 1.5, .5, 1);
  filter: drop-shadow(0 10px 14px rgba(2, 0, 77, .18));
}
.cv-court.catching .cv-mure { opacity: 1; translate: 0 0; scale: 1; }
.cv-card.caught { z-index: 19; pointer-events: none; box-shadow: 0 6px 14px rgba(2, 0, 77, .2); }
.cv-court.scored .cv-card.caught .cv-tag { background: var(--green-dark); }

.cv-score {
  position: absolute; z-index: 22; translate: -50% 0; pointer-events: none; opacity: 0;
  font: 700 22px/1 "Pixelify Sans", var(--font); color: var(--green-dark); white-space: nowrap;
  padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, .92); box-shadow: 0 8px 20px -8px rgba(2, 0, 77, .35);
}
.cv-score.pop { animation: cvScore 1.6s var(--ease) forwards; }
@keyframes cvScore { 0% { opacity: 0; transform: scale(.4); } 15% { opacity: 1; transform: scale(1.15); } 30% { transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px); } }

.cv-bubble {
  position: absolute; left: 50%; z-index: 21; translate: -50% 0; width: max-content; max-width: calc(100% - 32px);
  padding: 10px 16px; border-radius: 16px; text-align: center;
  background: var(--navy); color: var(--white); font-size: 15px; font-weight: 800; line-height: 1.35;
  box-shadow: 0 12px 26px -12px rgba(2, 0, 77, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.cv-bubble::before { content: ""; position: absolute; left: 50%; top: -7px; width: 14px; height: 14px; translate: -50% 0; rotate: 45deg; background: var(--navy); border-radius: 3px; }
.cv-bubble[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .cv-bubble:not([hidden]) { animation: cvBubble .4s .25s var(--ease) both; } }
@keyframes cvBubble { from { opacity: 0; transform: translateY(8px) scale(.9); } }

.cv-confetti { position: absolute; z-index: 23; width: 7px; height: 10px; border-radius: 2px; pointer-events: none; animation: cvConfetti 1.4s cubic-bezier(.2, .7, .4, 1) forwards; }
@keyframes cvConfetti { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 60% { opacity: 1; } 100% { transform: translate(var(--dx), calc(var(--dy) + 180px)) rotate(var(--r)); opacity: 0; } }

/* ---------- LinkedIn ---------- */
.social {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: var(--white);
  font-size: 15px; font-weight: 800; text-decoration: none; transition: background-color .2s, transform .2s var(--ease);
}
.social:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.foot-last span a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- mentions légales ---------- */
.legal-head { display: flex; flex-direction: column; gap: 16px; padding-top: clamp(24px, 4vw, 48px); }
.legal {
  max-width: 860px; display: flex; flex-direction: column; gap: 34px; padding: clamp(28px, 5vw, 56px); border-radius: var(--r);
  background: var(--shine), var(--glass), rgba(255, 255, 255, .3); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.legal h2 { font-size: var(--t-title); margin-bottom: 10px; }
.legal p + p { margin-top: 10px; }
.legal ul { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.legal li { position: relative; padding-left: 18px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.legal a { color: var(--navy-2); font-weight: 700; }
.legal mark { padding: 1px 6px; border-radius: 6px; background: #fff3c4; color: var(--text); }

/* ---------- panier : la mûre rappelle d'envoyer la candidature ---------- */
.cv-bubble { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cv-bubble p { color: var(--white); }
.cv-send {
  min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: radial-gradient(120% 90% at 30% 0%, #fff, rgba(231, 244, 218, .95)); color: var(--navy);
  font: 800 14.5px/1 var(--font); box-shadow: inset 0 1px 0 #fff; transition: transform .2s var(--ease);
}
.cv-send:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: no-preference) {
  .btn.nudge { animation: nudge 1.6s ease-in-out infinite; }
  @keyframes nudge { 0%, 100% { box-shadow: 0 12px 28px -12px rgba(2, 0, 77, .6), 0 0 0 0 rgba(98, 186, 24, .55); } 50% { box-shadow: 0 12px 28px -12px rgba(2, 0, 77, .6), 0 0 0 10px rgba(98, 186, 24, 0); } }
}
.legal ul + p { margin-top: 12px; }

/* ---------- envoi des formulaires ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* piège à robots, invisible */
form.card .done.error { background: #fdecef; color: var(--berry); }
form.card .btn:disabled { opacity: .7; cursor: progress; transform: none; }
.cv-send[hidden] { display: none; }

/* ---------- « Ils nous font confiance » : logos bleu Bootberry qui défilent, sans fond ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; align-items: center; width: max-content; }
.marquee-track li { flex: none; display: grid; place-items: center; height: 90px; padding: 0 46px; }
.marquee-track img { width: auto; max-width: 240px; opacity: .88; transition: opacity .3s, transform .3s var(--ease), filter .3s; }
/* au survol, le logo s'illumine et grossit pendant qu'il continue de défiler */
.marquee-track li:hover img { opacity: 1; transform: scale(1.15) translateY(-3px); filter: drop-shadow(0 0 14px rgba(98, 186, 24, .45)) drop-shadow(0 8px 16px rgba(26, 24, 99, .25)); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: defile 42s linear infinite; }
  @keyframes defile { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-track li[aria-hidden="true"] { display: none; }
}
@media (max-width: 700px) { .marquee-track li { height: 70px; padding: 0 26px; } .marquee-track img { scale: .75; } }

/* ---------- Entreprises : les étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r);
  background: var(--shine), var(--glass), rgba(255, 255, 255, .3); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.step-n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 6px;
  background: linear-gradient(180deg, var(--navy-2), var(--navy)); color: var(--white); font-weight: 900; font-size: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}
.step h3 { font-size: 19px; }
.step p { font-size: 16px; line-height: 1.55; }
@media (max-width: 1020px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
