@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/site/fonts/caveat-500-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/site/fonts/caveat-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/site/fonts/caveat-500-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/site/fonts/caveat-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/static/site/fonts/hanken-grotesk-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/static/site/fonts/hanken-grotesk-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/site/fonts/hanken-grotesk-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/site/fonts/hanken-grotesk-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/site/fonts/hanken-grotesk-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/site/fonts/hanken-grotesk-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/site/fonts/hanken-grotesk-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/site/fonts/hanken-grotesk-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/site/fonts/hanken-grotesk-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/site/fonts/hanken-grotesk-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/site/fonts/marcellus-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/site/fonts/marcellus-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   LA MIE DORÉE — Tunnel de recrutement (maquettes candidat)
   Design system : artisanal, chaleureux, doré.
   ============================================================ */


/* ---------- Design tokens ---------- */
.app {
  /* light "Parchemin" defaults — overridden by [data-theme] */
  --bg:        #F5ECD9;
  --bg-2:      #EFE3C9;
  --surface:   #FFFDF8;
  --surface-2: #FBF4E6;
  --ink:       #342718;
  --ink-2:     #6E5C45;
  --ink-3:     #9C8A70;
  --line:      #E7D8BB;
  --line-2:    #D8C49C;

  --gold:      #C49A3E;
  --gold-deep: #A87C2C;
  --gold-soft: #E7CD88;

  /* accent (CTA) — overridden by tweak --accent / --accent-deep */
  --accent:      #C2702C;
  --accent-deep: #A4571C;
  --accent-ink:  #FFF6EA;

  --shadow-sm: 0 1px 2px rgba(74,52,26,.06), 0 2px 6px rgba(74,52,26,.05);
  --shadow-md: 0 4px 14px rgba(74,52,26,.09), 0 10px 30px rgba(74,52,26,.07);
  --shadow-lg: 0 10px 30px rgba(74,52,26,.12), 0 24px 60px rgba(74,52,26,.10);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;

  --ff-display: 'Marcellus', 'Hanken Grotesk', serif;
  --ff-body: 'Hanken Grotesk', system-ui, sans-serif;
  --ff-hand: 'Caveat', cursive;

  background: var(--bg);
  color: var(--ink);
  height: 100%;
  font-family: var(--ff-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.app[data-theme="dark"] {
  --bg:        #271A10;
  --bg-2:      #1E140B;
  --surface:   #352617;
  --surface-2: #3E2D1B;
  --ink:       #F4E8D2;
  --ink-2:     #CDBA9A;
  --ink-3:     #9C896B;
  --line:      #4A3826;
  --line-2:    #5C462E;

  --gold:      #DBB25A;
  --gold-deep: #C0913B;
  --gold-soft: #EBCF88;

  --accent-ink: #2A1B0E;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.25);
  --shadow-md: 0 6px 18px rgba(0,0,0,.35), 0 14px 40px rgba(0,0,0,.3);
  --shadow-lg: 0 14px 36px rgba(0,0,0,.45), 0 30px 70px rgba(0,0,0,.4);
}

/* ---------- Reset within app ---------- */
.app *, .app *::before, .app *::after { box-sizing: border-box; }
.app p, .app h1, .app h2, .app h3, .app h4, .app ul, .app figure { margin: 0; padding: 0; }
.app ul { list-style: none; }
.app button { font: inherit; color: inherit; border: none; background: none; cursor: pointer; }
.app input, .app textarea { font: inherit; color: inherit; }
.app ::selection { background: var(--gold-soft); color: var(--ink); }

/* ---------- App shell / screen ---------- */
.screen {
  flex: 1;
  height: 100%;
  min-height: 0;
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
}
.screen-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
/* room for status bar / dynamic island */
.safe-top { height: 54px; flex: none; }
.pad { padding-left: 22px; padding-right: 22px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 16px 12px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.topbar.tb-flush { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.iconbtn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); box-shadow: var(--shadow-sm);
  color: var(--ink); flex: none;
  transition: transform .15s ease, background .15s ease;
}
.iconbtn:active { transform: scale(.92); }
.topbar-title {
  font-family: var(--ff-display); font-size: 18px; letter-spacing: .02em;
  flex: 1; text-align: center;
}
.topbar-mark { display: flex; align-items: center; gap: 9px; }
.topbar-mark img { width: 30px; height: 30px; }
.topbar-mark b { font-family: var(--ff-display); font-weight: 400; font-size: 17px; letter-spacing: .04em; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow.gold { color: var(--gold-deep); }
.display {
  font-family: var(--ff-display); font-weight: 400; line-height: 1.04;
  letter-spacing: .005em; color: var(--ink);
}
.h1 { font-size: 40px; }
.h2 { font-size: 30px; }
.h3 { font-size: 22px; }
.lead { font-size: 17.5px; line-height: 1.55; color: var(--ink-2); }
.body { font-size: 16px; line-height: 1.62; color: var(--ink-2); }
.small { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.hand { font-family: var(--ff-hand); color: var(--accent); font-size: 26px; line-height: 1; }
.serif-quote { font-family: var(--ff-display); font-size: 23px; line-height: 1.4; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 16.5px; letter-spacing: .01em;
  padding: 16px 22px; border-radius: var(--r-md);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  user-select: none;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: var(--accent-ink);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 40%, transparent), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary:active { box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-ghost {
  background: var(--surface); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-sm);
}
.btn-block { display: flex; width: 100%; }
.btn-pill { border-radius: 999px; }
.shape-soft .btn { border-radius: var(--r-md); }
.shape-pill .btn { border-radius: 999px; }

/* ---------- Sticky bottom CTA dock ---------- */
.dock {
  position: sticky; bottom: 0; z-index: 25;
  padding: 12px 18px calc(24px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, var(--bg) 36%);
}
.dock-inner { display: flex; gap: 10px; align-items: center; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 22px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.card-flat { background: var(--surface-2); box-shadow: none; border: 1px solid var(--line); }

/* value tiles */
.value {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 16px; border-radius: var(--r-md);
  background: var(--surface); box-shadow: var(--shadow-sm);
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.value .vico {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--gold-soft) 45%, var(--surface));
  color: var(--gold-deep);
}
.value h4 { font-family: var(--ff-display); font-weight: 400; font-size: 18px; margin-bottom: 3px; }

/* stat row */
.stats { display: flex; gap: 0; }
.stat { flex: 1; text-align: center; }
.stat .n { font-family: var(--ff-display); font-size: 32px; color: var(--ink); line-height: 1; }
.stat .l { font-size: 12px; color: var(--ink-3); margin-top: 6px; letter-spacing: .04em; }
.stat + .stat { border-left: 1px solid var(--line); }

/* ---------- Image placeholders ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--gold-soft) 55%, var(--surface-2)), transparent 60%),
    repeating-linear-gradient(135deg, var(--surface-2), var(--surface-2) 11px, color-mix(in srgb, var(--line) 55%, var(--surface-2)) 11px, color-mix(in srgb, var(--line) 55%, var(--surface-2)) 12px);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3);
}
.ph-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; letter-spacing: .04em;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  padding: 7px 12px; border-radius: 999px; box-shadow: var(--shadow-sm);
}

/* ---------- Chips / segmented ---------- */
.seg {
  display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
}
.seg button {
  padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  color: var(--ink-2); transition: all .18s ease; white-space: nowrap;
}
.seg button[aria-pressed="true"] {
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm);
}
.app[data-theme="dark"] .seg button[aria-pressed="true"] { background: var(--gold); color: var(--accent-ink); }

.chip {
  padding: 11px 16px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--surface); color: var(--ink-2);
  box-shadow: inset 0 0 0 1.5px var(--line-2); transition: all .15s ease;
}
.chip[aria-pressed="true"] {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--accent-deep); box-shadow: inset 0 0 0 2px var(--accent);
}
.app[data-theme="dark"] .chip[aria-pressed="true"] { color: var(--gold-soft); }

/* ---------- Form fields ---------- */
.field { margin-bottom: 18px; }
.label { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 9px; color: var(--ink); }
.label .opt { color: var(--ink-3); font-weight: 500; font-size: 13px; margin-left: 6px; }
.input, .textarea {
  width: 100%; background: var(--surface); border-radius: var(--r-md);
  padding: 15px 16px; font-size: 16.5px;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: box-shadow .18s ease, background .18s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input:focus, .textarea:focus {
  outline: none; background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}
.textarea { resize: none; line-height: 1.55; min-height: 96px; }
.input-tel { display: flex; align-items: center; gap: 10px; }
.input-prefix {
  display: flex; align-items: center; gap: 7px; padding: 0 4px;
  font-weight: 600; color: var(--ink-2); white-space: nowrap;
}

/* ---------- Progress anchor (form) ---------- */
.progress-anchor {
  position: sticky; top: 0; z-index: 28;
  padding: 10px 18px 12px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.progress-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.progress-head .step-name { font-weight: 600; font-size: 14px; }
.progress-head .step-count { font-size: 12.5px; color: var(--ink-3); }
.progress-track { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--accent) 100%);
  transition: width .5s cubic-bezier(.22,.61,.36,1);
}
.chapter-dots { display: flex; gap: 6px; margin-top: 10px; }
.chapter-dots button {
  flex: 1; height: 4px; border-radius: 999px; background: var(--line);
  transition: background .3s ease;
}
.chapter-dots button.done { background: var(--gold); }
.chapter-dots button.active { background: var(--accent); }

/* ---------- Form chapter blocks ---------- */
.chapter { padding: 26px 0 6px; scroll-margin-top: 96px; }
.chapter-kicker {
  display: flex; align-items: center; gap: 11px; margin-bottom: 4px;
}
.chapter-num {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 15px;
  background: color-mix(in srgb, var(--gold-soft) 50%, var(--surface));
  color: var(--gold-deep); box-shadow: inset 0 0 0 1px var(--line-2);
}
.chapter h3 { font-family: var(--ff-display); font-weight: 400; font-size: 24px; margin: 8px 0 4px; }
.q { margin-top: 18px; }
.q .qtext { font-weight: 600; font-size: 16.5px; line-height: 1.4; margin-bottom: 10px; }
.q .qhint { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; font-style: italic; }

/* ---------- CV switch block ---------- */
.cv-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cv-opt {
  text-align: left; padding: 16px; border-radius: var(--r-md);
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: all .18s ease;
}
.cv-opt[aria-pressed="true"] {
  box-shadow: inset 0 0 0 2px var(--accent), var(--shadow-md);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}
.cv-opt .cv-ico {
  width: 38px; height: 38px; border-radius: 11px; margin-bottom: 11px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--gold-soft) 45%, var(--surface-2)); color: var(--gold-deep);
}
.cv-opt[aria-pressed="true"] .cv-ico { background: var(--accent); color: var(--accent-ink); }
.cv-opt .cv-t { font-weight: 700; font-size: 15.5px; }
.cv-opt .cv-d { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; line-height: 1.4; }

/* upload zone */
.dropzone {
  border-radius: var(--r-lg); padding: 26px 18px; text-align: center;
  background: var(--surface-2);
  border: 2px dashed var(--line-2);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.dropzone .dz-ico { color: var(--gold-deep); margin-bottom: 4px; }
.up-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }

/* file preview */
.filechip {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px;
  border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.filechip .fc-ico { width: 38px; height: 44px; flex: none; }
.filechip .fc-meta { flex: 1; min-width: 0; }
.filechip .fc-name { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.filechip .fc-sub { font-size: 12px; color: var(--ink-3); }

/* chat / récit libre */
.chatwrap { display: flex; flex-direction: column; gap: 12px; }
.bubble-coach {
  align-self: flex-start; max-width: 86%;
  background: var(--surface); border-radius: 20px 20px 20px 6px;
  padding: 14px 16px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; color: var(--ink);
}
.bubble-coach .coach-name {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
  font-weight: 700; font-size: 13px; color: var(--gold-deep);
}
.coach-ava {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--gold-soft) 55%, var(--surface-2));
}
.composer {
  display: flex; align-items: flex-end; gap: 10px;
  background: var(--surface); border-radius: 22px; padding: 8px 8px 8px 16px;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.composer textarea {
  flex: 1; border: none; background: transparent; resize: none; outline: none;
  font-size: 16px; line-height: 1.5; padding: 8px 0; max-height: 140px;
}
.composer .send {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm);
  transition: transform .15s ease;
}
.composer .send:active { transform: scale(.9); }
.composer .send:disabled { opacity: .4; }
.mybubble {
  align-self: flex-end; max-width: 86%;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--ink); border-radius: 20px 20px 6px 20px;
  padding: 13px 15px; font-size: 15.5px; line-height: 1.5;
  box-shadow: var(--shadow-sm);
}

/* ---------- Hero variants ---------- */
.hero { position: relative; }
/* A: parchemin centered */
.hero-a { padding: 26px 22px 30px; text-align: center; }
.hero-a .crest {
  width: 132px; height: 132px; margin: 0 auto 14px; display: block;
  filter: drop-shadow(0 8px 18px rgba(168,124,44,.28));
}
/* B: full-bleed dark */
.hero-b {
  padding: 40px 22px 34px; color: #F4E8D2; position: relative; overflow: hidden;
  background: radial-gradient(130% 100% at 50% 0%, #3a2917 0%, #271a0f 60%, #1c1209 100%);
}
.hero-b .crest { width: 110px; height: 110px; margin: 0 auto 16px; display: block; }
.hero-b .display, .hero-b .lead { color: #F4E8D2; }
.hero-b .lead { color: #D7C3A0; }
.grain {
  position: absolute; inset: 0; opacity: .5; pointer-events: none; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 4px 4px;
}
/* C: editorial split */
.hero-c { padding: 22px 22px 26px; }
.hero-c .crest { width: 64px; height: 64px; }

.arcwrap { position: relative; display: inline-block; }

/* ---------- Misc ---------- */
.divider-leaf {
  display: flex; align-items: center; gap: 12px; color: var(--gold-deep);
  margin: 6px 0;
}
.divider-leaf::before, .divider-leaf::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}
.tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px;
  border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2);
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.list-tick { display: flex; flex-direction: column; gap: 13px; }
.list-tick li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.list-tick .tick {
  width: 24px; height: 24px; border-radius: 50%; flex: none; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 16%, var(--surface)); color: var(--accent-deep);
}

.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--gold), color-mix(in srgb, var(--gold) 25%, transparent));
}
.tl-item { position: relative; padding-bottom: 22px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -23px; top: 5px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 3px var(--gold);
}
.tl-time { font-weight: 700; font-size: 14px; color: var(--accent-deep); }
.tl-text { font-size: 14.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.5; }

/* confirmation */
.confirm-wrap { padding: 40px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.confirm-badge {
  width: 96px; height: 96px; border-radius: 50%; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, var(--gold-soft), var(--gold) 70%);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--gold) 45%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .confirm-badge { animation: pop .5s cubic-bezier(.2,.8,.3,1.4) both; }
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.22,.61,.36,1) forwards; }
  .reveal.d1 { animation-delay: .06s; }
  .reveal.d2 { animation-delay: .13s; }
  .reveal.d3 { animation-delay: .2s; }
  .reveal.d4 { animation-delay: .28s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- Showcase stage (outside device) ---------- */
.stage {
  min-height: 100vh; width: 100%;
  background:
    radial-gradient(80% 60% at 50% -10%, #efe9dd 0%, transparent 60%),
    linear-gradient(180deg, #e9e4d9 0%, #e2ddd0 100%);
  display: flex; flex-direction: column; align-items: center;
  padding: 30px 16px 60px; gap: 18px;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
}
.stage-head { text-align: center; max-width: 560px; }
.stage-head .sh-mark { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; }
.stage-head .sh-mark img { width: 34px; height: 34px; }
.stage-head .sh-mark b { font-family: 'Marcellus', serif; font-weight: 400; font-size: 20px; letter-spacing: .04em; color: #46341f; }
.stage-head h1 { font-family: 'Marcellus', serif; font-weight: 400; font-size: 26px; color: #2e2114; margin: 0 0 6px; }
.stage-head p { font-size: 14.5px; color: #6c5d49; line-height: 1.5; margin: 0; }
.screen-switch {
  display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: #fffdf8; box-shadow: 0 2px 10px rgba(74,52,26,.12);
}
.screen-switch button {
  border: none; background: none; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  color: #6c5d49; font-family: inherit; transition: all .18s ease;
}
.screen-switch button[aria-pressed="true"] { background: #C2702C; color: #fff6ea; box-shadow: 0 3px 9px rgba(194,112,44,.4); }
.stage-hint { font-size: 12.5px; color: #8a7c66; display: flex; align-items: center; gap: 7px; }

/* ============================================================
   PRODUCTION — host layout & mini-site (ajouts hors design)
   ============================================================ */
html, body { height: 100%; margin: 0; }
body { background: #F5ECD9; }
[x-cloak] { display: none !important; }

.app { min-height: 100dvh; display: flex; flex-direction: column; }

/* En navigateur mobile la status bar est gérée par le chrome :
   safe-top = encoche éventuelle (env), pas les 54px de la maquette. */
.safe-top { height: env(safe-area-inset-top, 0px); min-height: 0; }

/* En-tête commun sticky : marque + navigation du mini-site */
.site-header {
  flex: none;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
}
.site-header .topbar {
  position: static; background: transparent; border-bottom: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-nav { display: flex; justify-content: center; padding: 0 16px 10px; }
.site-nav .seg { width: 100%; max-width: 460px; display: flex; }
.site-nav .seg button { flex: 1; padding: 9px 6px; font-size: 13.5px; }

/* progress-anchor : posé sous l'en-tête, fixe (hors scroll) */
.screen > .progress-anchor { flex: none; position: static; }

/* champ fichier masqué + honeypot */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp-field { position: absolute !important; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; }

/* toast de copie */
.site-toast {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 60;
  background: var(--ink); color: var(--surface);
  padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-lg);
}

/* états chargement / erreur */
.site-state { padding: 64px 26px; text-align: center; color: var(--ink-2); font-size: 15.5px; }

/* lien discret (rémunération, etc.) */
.pay-line {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 14px;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent-deep);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent);
}

/* ---------- Porte de choix Vente / Fournil (candidature spontanée) ---------- */
.role-card {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 18px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-md);
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  text-align: left; transition: transform .15s ease, box-shadow .2s ease;
}
.role-card:active { transform: translateY(1px) scale(.99); }
.role-card .role-ico {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--gold-soft) 45%, var(--surface)); color: var(--gold-deep);
}
.role-card .role-tx { display: flex; flex-direction: column; flex: 1; }
.role-card .role-tx b { font-family: var(--ff-display); font-weight: 400; font-size: 20px; }
.role-card .role-tx span { font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.role-card .role-go { color: var(--accent); }

/* bandeau confidentiel du parcours spontané */
.banner-confid {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 13px 15px; font-size: 14px; line-height: 1.45; color: var(--ink-2);
}
.banner-confid .ic { color: var(--gold-deep); flex: none; }

/* lien « changer de poste » */
.link-change {
  display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600;
  color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- Récapitulatif (étape de confirmation avant envoi) ---------- */
.recap-row {
  display: flex; gap: 12px; justify-content: space-between; align-items: baseline;
  padding: 9px 0; border-top: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
}
.recap-k { color: var(--ink-3); font-size: 13.5px; flex: none; }
.recap-v { color: var(--ink); font-weight: 600; font-size: 14.5px; text-align: right; }
.recap-q { padding: 10px 0; border-top: 1px solid color-mix(in srgb, var(--line) 55%, transparent); }
.recap-qt { color: var(--ink-3); font-size: 13px; line-height: 1.4; }
.recap-qa { color: var(--ink); font-weight: 600; font-size: 15px; margin-top: 4px; white-space: pre-line; }
.recap-qa.empty { color: var(--ink-3); font-weight: 400; font-style: italic; }
