/* =====================================================================
   CANTOVIS — Feuille de style principale
   Palette : bleu nuit #101D32 · or champagne #C6A878 · pierre #F3F1ED
   Style : minimaliste « studio », grands titres en deux tons
   ===================================================================== */
:root {
  --navy: #101D32;
  --navy-2: #1A2B47;
  --gold: #C6A878;
  --gold-deep: #A88A5A;
  --ivory: #F5F1E9;
  --white: #FFFFFF;
  --grey: #E8E9E7;

  --bg: #F3F1ED;
  --surface: var(--white);
  --surface-2: #ECE9E3;
  --text: #101D32;
  --text-muted: #7B808A;
  --border: #E1DDD5;
  --accent: var(--gold);
  --accent-text: #8A6D3F;
  --primary: var(--navy);
  --on-primary: var(--ivory);
  --danger: #B3261E;
  --success: #2F6B4F;
  --warning: #9A6B12;
  --focus: #C6A878;
  --shadow: 0 1px 2px rgba(16,29,50,.06), 0 8px 24px rgba(16,29,50,.06);
  --shadow-lg: 0 24px 60px rgba(16,29,50,.14);

  --radius: 18px;
  --radius-sm: 9px;
  --font-title: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1424; --surface: #12203A; --surface-2: #0F1B31; --text: #EDE8DD; --text-muted: #A6AFBF;
    --border: #23334F; --accent-text: #D9C29B; --primary: #C6A878; --on-primary: #101D32;
    --danger: #F2867E; --success: #7CC5A0; --warning: #E7C06A;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1424; --surface: #12203A; --surface-2: #0F1B31; --text: #EDE8DD; --text-muted: #A6AFBF;
  --border: #23334F; --accent-text: #D9C29B; --primary: #C6A878; --on-primary: #101D32;
  --danger: #F2867E; --success: #7CC5A0; --warning: #E7C06A;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 500; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.03em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--navy); color: var(--ivory); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent-text); font-weight: 600; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.lead { font-size: 1.12rem; color: var(--text-muted); max-width: 640px; }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Boutons ---------- */
.btn {
  --b: var(--primary); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(198,168,120,.35); }
.btn-gold:hover { background: #D2B88D; box-shadow: 0 10px 26px rgba(198,168,120,.45); }
.btn-navy { background: var(--primary); color: var(--on-primary); }
.btn-navy:hover { filter: brightness(1.15); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--gold); color: var(--accent-text); }
.btn-ghost-light { background: transparent; color: var(--ivory); border-color: rgba(245,241,233,.35); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .86rem; }
.btn-danger { background: transparent; color: var(--danger); border-color: currentColor; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .55; pointer-events: none; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand svg { height: 36px; width: 36px; flex: none; }
.brand-word { font-family: var(--font-title); font-weight: 700; font-size: 1.55rem; letter-spacing: .2em; }
.main-nav { display: none; align-items: center; gap: 4px; }
.main-nav a { white-space: nowrap; text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: .92rem; color: var(--text-muted); font-weight: 500; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); display: inline-grid; place-items: center; cursor: pointer;
}
.icon-btn:hover { border-color: var(--gold); }
.icon-btn svg { width: 18px; height: 18px; }
.lang-select {
  height: 40px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text);
  padding: 0 12px; font: 600 .82rem var(--font-body); cursor: pointer;
}
.header-cta { display: none; }
.menu-toggle { display: inline-grid; }
@media (min-width: 1180px) {
  .main-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}
.mobile-nav {
  display: none; position: fixed; inset: 76px 0 0; background: var(--bg); padding: 24px 16px 40px; overflow-y: auto; z-index: 49;
}
.mobile-nav.open { display: block; animation: fadeIn .2s ease; }
.mobile-nav a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--border); text-decoration: none; font-size: 1.1rem; }
.mobile-nav .btn { width: 100%; margin-top: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } .hero { padding: 80px 0 104px; } }
.hero h1 em { font-style: italic; color: var(--accent-text); }
.hero .lead { font-size: 1.15rem; margin-bottom: 28px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.hero-points .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 22%, transparent); color: var(--accent-text); display: grid; place-items: center; margin-top: 1px; }
.hero-points .tick svg { width: 14px; height: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative; border-radius: 28px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4.4;
}
.hero-visual .frame svg { width: 100%; height: 100%; }
.hero-badge {
  position: absolute; left: -12px; bottom: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 270px;
}
@media (max-width: 600px) { .hero-badge { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
.hero-badge .dot { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; flex: none; }
.hero-badge .dot svg { width: 18px; height: 18px; }
.hero-badge strong { display: block; font-size: .92rem; }
.hero-badge span { font-size: .8rem; color: var(--text-muted); }
.hero-deco { position: absolute; right: -220px; top: -180px; width: 620px; height: 620px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); pointer-events: none; }
.hero-deco::after { content: ""; position: absolute; inset: 80px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--gold) 20%, transparent); }

/* ---------- Étapes ---------- */
.steps { display: grid; gap: 20px; margin-top: 48px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.step-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; }
.step-card .num { font-family: var(--font-title); font-size: 3.4rem; line-height: 1; color: var(--gold); font-weight: 600; }
.step-card .ill { width: 64px; height: 64px; border-radius: 18px; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin-bottom: 20px; }
.step-card .ill svg { width: 30px; height: 30px; }
.step-card h3 { margin-top: 6px; }
.step-card p { color: var(--text-muted); margin: 0; }

/* ---------- Catégories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 44px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 980px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 18px; min-height: 148px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; overflow: hidden;
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.cat-card .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--gold) 16%, var(--surface)); color: var(--accent-text); }
.cat-card .ic svg { width: 26px; height: 26px; }
.cat-card strong { font-size: 1rem; line-height: 1.3; }
.cat-card .go { position: absolute; right: 16px; bottom: 16px; color: var(--gold); opacity: 0; transition: opacity .2s, transform .2s; }
.cat-card:hover .go { opacity: 1; transform: translateX(2px); }

/* ---------- Bloc professionnels ---------- */
.pro-band { background: var(--navy); color: var(--ivory); position: relative; overflow: hidden; }
.pro-band .lead { color: #BFC6D3; }
.pro-band .eyebrow { color: var(--gold); }
.pro-cards { display: grid; gap: 18px; margin: 48px 0 40px; }
@media (min-width: 900px) { .pro-cards { grid-template-columns: repeat(3, 1fr); } }
.pro-card { border: 1px solid rgba(198,168,120,.28); border-radius: var(--radius); padding: 30px 26px; background: rgba(255,255,255,.03); }
.pro-card .big { font-family: var(--font-title); font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.pro-card h3 { color: var(--ivory); font-size: 1.3rem; }
.pro-card ul { padding-left: 18px; margin: 10px 0 0; color: #C9CFDA; }
.pro-card li { margin-bottom: 6px; }
.pro-band .fine { font-size: .82rem; color: #8F98AA; max-width: 720px; }
.pro-band-lines { position: absolute; inset: 0; pointer-events: none; opacity: .5; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 600; font-size: 1.05rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 300 1.8rem/1 var(--font-body); color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: var(--text-muted); max-width: 760px; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 64px 24px; position: relative; overflow: hidden; }
.cta-final .hero-actions { justify-content: center; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: #C3CAD6; padding: 64px 0 28px; margin-top: 0; }
.site-footer a { color: #C3CAD6; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-grid h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.footer-brand .brand { color: var(--ivory); }
.footer-brand p { margin-top: 16px; font-size: .92rem; max-width: 340px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: .84rem; }
.footer-bottom .lang-select { background: transparent; color: #C3CAD6; border-color: rgba(255,255,255,.2); }

/* ---------- Formulaires ---------- */
.form-shell { max-width: 820px; margin: 0 auto; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); }
.form-card { padding: 28px 20px; }
@media (min-width: 720px) { .form-card { padding: 44px 48px; } }
.progress { margin-bottom: 30px; }
.progress-top { display: flex; justify-content: space-between; font-size: .85rem; color: var(--text-muted); margin-bottom: 10px; gap: 10px; }
.progress-top strong { color: var(--text); }
.progress-bar { height: 6px; border-radius: 99px; background: var(--grey); overflow: hidden; }
:root[data-theme="dark"] .progress-bar { background: #23334F; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .progress-bar { background: #23334F; } }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); border-radius: inherit; transition: width .4s ease; }
.step-title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 8px; }
.field { margin-bottom: 20px; }
.field > label, .field > .label { display: block; font-weight: 600; margin-bottom: 8px; font-size: .95rem; }
.field .hint { font-size: .84rem; color: var(--text-muted); margin-top: 6px; }
.req { color: var(--accent-text); }
.input, select.input, textarea.input {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--text); font: 400 1rem var(--font-body); transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 150px; resize: vertical; line-height: 1.55; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 20%, transparent); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.error-msg { color: var(--danger); font-size: .86rem; margin-top: 6px; display: none; }
.error-msg.show { display: block; }
.grid-2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { display: grid; gap: 0 16px; grid-template-columns: 170px 1fr 1fr; } }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: repeat(3, 1fr); } }
.choice-grid.cols-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .choice-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.choice span {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface-2); font-weight: 500; font-size: .94rem; transition: border-color .15s, background .15s; line-height: 1.25;
}
.choice span svg { width: 22px; height: 22px; color: var(--accent-text); flex: none; }
.choice input:hover + span { border-color: var(--gold); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.choice input:checked + span { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, var(--surface)); box-shadow: inset 0 0 0 1px var(--gold); }
.choice input:checked + span::after { content: "✓"; margin-left: auto; color: var(--accent-text); font-weight: 700; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); margin-bottom: 12px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
:root[data-theme="dark"] .check input { accent-color: var(--gold); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.form-nav .btn { min-width: 130px; }
.notice { padding: 14px 16px; border-radius: 12px; font-size: .92rem; margin-bottom: 18px; border: 1px solid; }
.notice-info { background: color-mix(in srgb, var(--gold) 12%, var(--surface)); border-color: color-mix(in srgb, var(--gold) 45%, transparent); }
.notice-error { background: color-mix(in srgb, var(--danger) 8%, var(--surface)); border-color: color-mix(in srgb, var(--danger) 40%, transparent); color: var(--danger); }
.notice-success { background: color-mix(in srgb, var(--success) 10%, var(--surface)); border-color: color-mix(in srgb, var(--success) 40%, transparent); color: var(--success); }
.notice-warning { background: color-mix(in srgb, var(--warning) 10%, var(--surface)); border-color: color-mix(in srgb, var(--warning) 40%, transparent); color: var(--warning); }
.dropzone { border: 1.5px dashed var(--border); border-radius: 14px; padding: 26px; text-align: center; background: var(--surface-2); cursor: pointer; transition: border-color .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--gold); }
.file-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.file-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: .9rem; }
.file-list button { border: 0; background: none; color: var(--danger); cursor: pointer; font-weight: 600; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.loc-status { font-size: .86rem; margin-top: 6px; }
.loc-status.ok { color: var(--success); }
.loc-status.warn { color: var(--warning); }
.summary-list { display: grid; gap: 0; margin: 24px 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.summary-list div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.summary-list div:last-child { border-bottom: 0; }
.summary-list dt { color: var(--text-muted); font-size: .9rem; }
.summary-list dd { margin: 0; font-weight: 600; text-align: right; }
.success-mark { width: 76px; height: 76px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin: 0 auto 22px; }
.success-mark svg { width: 36px; height: 36px; }
.step-panel { animation: slideIn .35s ease; }

/* ---------- Pages internes / tableaux de bord ---------- */
.page-hero { padding: 56px 0 24px; }
.app-shell { display: grid; gap: 24px; padding: 32px 0 80px; }
@media (min-width: 980px) { .app-shell { grid-template-columns: 240px 1fr; } }
.side-nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
@media (min-width: 980px) { .side-nav { flex-direction: column; position: sticky; top: 100px; align-self: start; } }
.side-nav button { white-space: nowrap; text-align: left; border: 1px solid transparent; background: none; color: var(--text-muted); padding: 11px 14px; border-radius: 10px; font: 500 .94rem var(--font-body); cursor: pointer; display: flex; justify-content: space-between; gap: 10px; }
.side-nav button:hover { color: var(--text); background: var(--surface); }
.side-nav button[aria-selected="true"] { background: var(--surface); border-color: var(--border); color: var(--text); font-weight: 600; }
.side-nav .count { background: var(--gold); color: var(--navy); border-radius: 99px; padding: 0 8px; font-size: .75rem; font-weight: 700; line-height: 1.6; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.stat .k { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }
.stat .v { font-family: var(--font-title); font-size: 2.1rem; font-weight: 600; line-height: 1.1; margin-top: 4px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.panel h2 { font-size: 1.7rem; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.panel-head h2, .panel-head h3 { margin: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
table.data th, table.data td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
table.data th { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); background: var(--surface-2); font-weight: 600; }
table.data tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .76rem; font-weight: 600; background: var(--grey); color: #3A4558; white-space: nowrap; }
.badge-gold { background: color-mix(in srgb, var(--gold) 25%, transparent); color: var(--accent-text); }
.badge-green { background: color-mix(in srgb, var(--success) 16%, transparent); color: var(--success); }
.badge-red { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.badge-blue { background: color-mix(in srgb, #3D6BB3 16%, transparent); color: #3D6BB3; }
:root[data-theme="dark"] .badge { background: #23334F; color: #D5DBE6; }
.lead-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; background: var(--surface); }
.lead-card header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.lead-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: var(--text-muted); margin-bottom: 12px; }
.lead-meta b { color: var(--text); font-weight: 600; }
.lead-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.contact-box { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-top: 12px; font-size: .93rem; }
.empty { text-align: center; padding: 48px 20px; color: var(--text-muted); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .input { min-height: 42px; width: auto; flex: 1 1 180px; }
dialog.modal { border: 1px solid var(--border); border-radius: 18px; padding: 0; width: min(640px, calc(100vw - 32px)); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
dialog.modal::backdrop { background: rgba(11,20,36,.55); backdrop-filter: blur(2px); }
.modal-body { padding: 24px; max-height: 75vh; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--border); }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--navy); color: var(--ivory); padding: 12px 20px; border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 200; font-size: .92rem; max-width: calc(100vw - 32px); animation: fadeIn .2s ease; }
.auth-wrap { max-width: 460px; margin: 0 auto; padding: 56px 0 96px; }
.tabs { display: flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 22px; }
.tabs button { flex: 1; border: 0; background: none; padding: 10px; border-radius: 9px; font: 600 .9rem var(--font-body); color: var(--text-muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.cookie-bar { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 380px; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 14px 16px; font-size: .84rem; display: flex; gap: 12px; align-items: center; width: calc(100vw - 32px); }
.cookie-bar .btn { flex: none; }
@media (max-width: 480px) { .cookie-bar { right: 16px; max-width: none; } }
.setup-banner { background: var(--warning); color: #fff; text-align: center; font-size: .86rem; padding: 8px 16px; }

/* ---------- Pages juridiques ---------- */
.prose { max-width: 820px; margin: 0 auto; padding: 48px 0 96px; }
.prose h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.prose h2 { font-size: 1.7rem; margin-top: 2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--text); }
.prose .placeholder { background: color-mix(in srgb, var(--gold) 25%, transparent); padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* ---------- Animations ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .side-nav, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Petits écrans : en-tête compact */
@media (max-width: 520px) {
  .brand-word { font-size: 1.2rem; letter-spacing: .14em; }
  .brand svg { width: 32px; height: 32px; }
  .header-actions { gap: 6px; }
  .header-actions .icon-btn, .header-actions .lang-select { height: 38px; }
  .header-actions .icon-btn { width: 38px; }
  .lang-select { padding: 0 8px; }
}
.mobile-nav a.btn { display: flex; padding: 0 24px; border-bottom: 0; justify-content: center; font-size: 1rem; }
.brand svg { border-radius: 9px; box-shadow: 0 0 0 1px rgba(198,168,120,.4); }

/* =====================================================================
   REFONTE « STUDIO » — minimalisme, grands titres en deux tons
   ===================================================================== */
body { letter-spacing: -.005em; }
.tone { color: var(--text-muted); }
.display { font-family: var(--font-title); font-weight: 500; font-size: clamp(2.7rem, 7vw, 6rem); line-height: .98; letter-spacing: -.045em; margin: 0 0 28px; }
.display-md { font-family: var(--font-title); font-weight: 500; font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.02; letter-spacing: -.04em; margin: 0 0 22px; }
.kicker { display: inline-block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; margin-bottom: 18px; }
.kicker::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 10px; vertical-align: 2px; }
.eyebrow { color: var(--text-muted); letter-spacing: .16em; font-weight: 500; }
.eyebrow::before { width: 6px; height: 6px; border-radius: 50%; }

/* Boutons : pilule sombre, discrète */
.btn { min-height: 46px; padding: 0 22px; font-weight: 500; font-size: .92rem; }
.btn-gold { background: var(--navy); color: #fff; box-shadow: none; }
.btn-gold:hover { background: #24375A; box-shadow: none; }
.btn-ghost { background: transparent; border-color: rgba(16,29,50,.18); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-accent { background: var(--gold); color: var(--navy); }
.btn-accent:hover { background: #D2B88D; }
:root[data-theme="dark"] .btn-gold { background: var(--ivory); color: var(--navy); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-gold { background: var(--ivory); color: var(--navy); } }

/* En-tête minimal */
.site-header { background: color-mix(in srgb, var(--bg) 82%, transparent); }
.header-inner { height: 72px; }
.brand-word { font-family: "Inter Tight", sans-serif; font-weight: 600; font-size: 1.05rem; letter-spacing: .32em; }
.main-nav a { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); }
.icon-btn, .lang-select { background: transparent; border-color: rgba(16,29,50,.14); }

/* Hero studio */
.hero-studio { position: relative; padding: 24px 0 0; overflow: hidden; }
.hero-studio .grid { display: grid; gap: 8px; align-items: end; min-height: calc(100svh - 120px); }
@media (min-width: 980px) { .hero-studio .grid { grid-template-columns: 1.05fr 1fr; gap: 24px; min-height: calc(100svh - 110px); } }
.hero-studio .copy { padding: 32px 0 56px; position: relative; z-index: 2; }
.hero-studio .lead { font-size: 1.12rem; max-width: 520px; margin-bottom: 30px; color: var(--text-muted); }
.hero-studio .visual { position: relative; align-self: center; }
.hero-studio .visual img { width: 100%; max-width: 680px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(16,29,50,.10)); animation: floatIn 1.2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes floatIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.hero-tag { position: absolute; background: var(--surface); border-radius: 999px; padding: 9px 16px 9px 10px; font-size: .82rem; box-shadow: 0 10px 30px rgba(16,29,50,.08); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.hero-tag .d { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.hero-tag .d svg { width: 14px; height: 14px; }
.hero-tag.t1 { top: 12%; left: 4%; } .hero-tag.t2 { bottom: 16%; right: 2%; }
@media (max-width: 600px) { .hero-tag { display: none; } }

/* Démarrage rapide */
.quick { display: flex; flex-wrap: wrap; gap: 8px; background: var(--surface); padding: 8px; border-radius: 999px; box-shadow: 0 12px 40px rgba(16,29,50,.08); max-width: 560px; }
.quick select, .quick input { border: 0; background: transparent; font: 500 .95rem var(--font-body); color: var(--text); padding: 0 16px; min-height: 46px; outline: none; }
.quick select { flex: 1 1 200px; cursor: pointer; }
.quick input { flex: 0 1 130px; border-left: 1px solid var(--border); }
.quick .btn { flex: 0 0 auto; }
@media (max-width: 560px) { .quick { border-radius: 22px; } .quick select, .quick input { flex: 1 1 100%; border-left: 0; border-bottom: 1px solid var(--border); } .quick .btn { width: 100%; } }
.quick-note { font-size: .84rem; color: var(--text-muted); margin-top: 14px; display: flex; gap: 18px; flex-wrap: wrap; }
.quick-note span::before { content: "✓ "; color: var(--gold-deep); }
.text-link { display: inline-block; margin-top: 22px; font-size: .9rem; color: var(--text); text-underline-offset: 4px; }

/* Bandeau d'engagements */
.facts { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.facts ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }

/* Étapes */
.steps-studio { display: grid; gap: 0; margin-top: 56px; }
@media (min-width: 860px) { .steps-studio { grid-template-columns: repeat(3, 1fr); } }
.steps-studio article { border-top: 1px solid var(--text); padding: 22px 28px 28px 0; }
.steps-studio .n { font-family: var(--font-title); font-size: .85rem; color: var(--text-muted); letter-spacing: .1em; margin-bottom: 40px; display: block; }
.steps-studio h3 { font-size: 1.55rem; letter-spacing: -.03em; }
.steps-studio p { color: var(--text-muted); margin: 0; max-width: 330px; }

/* Catégories en tuiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 48px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1 / .78; padding: 20px; border-radius: var(--radius); background: var(--surface-2); text-decoration: none; transition: background .25s ease, transform .25s ease, box-shadow .25s ease; overflow: hidden; }
.tile:hover { background: var(--surface); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(16,29,50,.08); }
.tile .ic { width: 52px; height: 52px; color: var(--text); opacity: .85; transition: transform .3s ease, color .3s; }
.tile .ic svg { width: 100%; height: 100%; stroke-width: 1.1; }
.tile:hover .ic { color: var(--gold-deep); transform: scale(1.06); }
.tile strong { font-family: var(--font-title); font-weight: 500; font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.2; }
.tile .go { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: .25s; }
.tile .go svg { width: 14px; height: 14px; }
.tile:hover .go { opacity: 1; transform: none; }
@media (max-width: 600px) { .tile { aspect-ratio: auto; min-height: 128px; } .tile .ic { width: 38px; height: 38px; } }

/* Bloc professionnels */
.pro-studio { background: var(--navy); color: var(--ivory); border-radius: 28px; padding: 56px 24px; display: grid; gap: 40px; align-items: center; overflow: hidden; }
@media (min-width: 980px) { .pro-studio { grid-template-columns: 1fr 1fr; padding: 72px 64px; } }
.pro-studio .tone { color: #8C97AB; }
.pro-studio .kicker { color: #A7B0C0; }
.pro-studio p { color: #BFC6D3; }
.pro-studio .visual { background: #F3F1ED; border-radius: 22px; padding: 28px; }
.price-rows { margin: 30px 0; border-top: 1px solid rgba(255,255,255,.12); }
.price-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.price-rows b { font-weight: 500; color: #fff; white-space: nowrap; }
.pro-studio .btn-gold { background: var(--ivory); color: var(--navy); }
.pro-studio .fine { font-size: .8rem; color: #8C97AB; margin-top: 18px; }

/* Engagements */
.trust-grid { display: grid; gap: 10px; margin-top: 48px; }
@media (min-width: 760px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-card { background: var(--surface); border-radius: var(--radius); padding: 28px 24px; }
.trust-card .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; margin-bottom: 36px; color: var(--gold-deep); }
.trust-card .ic svg { width: 20px; height: 20px; }
.trust-card h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.trust-card p { color: var(--text-muted); margin: 0; font-size: .94rem; }

/* FAQ */
.faq summary { font-family: var(--font-title); font-weight: 500; font-size: 1.2rem; letter-spacing: -.02em; padding: 24px 48px 24px 0; }
.faq summary::after { color: var(--text); font-weight: 200; }
.faq details { border-color: var(--border); }

/* CTA final */
.cta-studio { text-align: left; display: grid; gap: 28px; align-items: end; padding: 96px 0; border-top: 1px solid var(--border); }
@media (min-width: 900px) { .cta-studio { grid-template-columns: 1.4fr 1fr; } .cta-studio .hero-actions { justify-content: flex-end; } }

/* Pied de page clair et sobre */
.site-footer { background: var(--bg); color: var(--text-muted); border-top: 1px solid var(--border); }
.site-footer a { color: var(--text); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a:hover { color: var(--gold-deep); }
.footer-grid h4 { color: var(--text-muted); font-weight: 500; }
.footer-brand .brand { color: var(--text); }
.footer-brand .brand-word { letter-spacing: .32em; }
.footer-brand p { color: var(--text-muted); }
.footer-bottom { border-top-color: var(--border); color: var(--text-muted); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-bottom .lang-select { color: var(--text); border-color: var(--border); }
.setup-banner { background: #E7DCC8; color: var(--navy); }

/* Pages internes : titres et cartes alignés sur le nouveau style */
.form-card, .card { box-shadow: 0 18px 50px rgba(16,29,50,.06); border-color: transparent; }
.step-title { letter-spacing: -.035em; }
.choice span { background: var(--surface); }
.choice input:checked + span { background: color-mix(in srgb, var(--gold) 12%, var(--surface)); }
.input, select.input, textarea.input { background: var(--surface); }
.progress-bar span { background: var(--navy); }
:root[data-theme="dark"] .progress-bar span { background: var(--gold); }
.stat .v, .panel h2 { letter-spacing: -.03em; }
.prose h1 { letter-spacing: -.04em; }
.cat-card .ic { background: var(--surface-2); color: var(--text); }

/* --- Touches « cinématiques » (inspiration : barre flottante, lumière dorée, texte révélé) --- */
.site-header { position: sticky; top: 10px; margin: 10px 12px 0; border-radius: 18px; border: 1px solid rgba(16,29,50,.07) !important;
  background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(16,29,50,.08); }
@media (min-width: 1240px) { .site-header { max-width: 1216px; margin: 10px auto 0; } }
.pro-studio { background: radial-gradient(120% 90% at 85% 60%, #3A2E1E 0%, #16202F 45%, #0B1220 100%); }
.pro-studio .visual { background: radial-gradient(60% 60% at 50% 55%, rgba(233,201,148,.55), rgba(198,168,120,.08) 60%, transparent 75%); padding: 12px; }
.pro-studio .visual img { filter: drop-shadow(0 30px 30px rgba(0,0,0,.35)); }
.reveal-words { font-family: var(--font-title); font-weight: 500; font-size: clamp(1.9rem, 4.4vw, 3.6rem); line-height: 1.12; letter-spacing: -.035em; max-width: 1050px; margin: 0; }
.reveal-words .w { color: color-mix(in srgb, var(--text) 18%, transparent); transition: color .35s ease; }
.reveal-words .w.on { color: var(--text); }
.reveal-words .w.gold.on { color: var(--gold-deep); }
@media (prefers-reduced-motion: reduce) { .reveal-words .w { color: var(--text); } }
.site-header .header-inner { max-width: none; gap: 16px; }
.main-nav { gap: 0; min-width: 0; }
.main-nav a { padding: 8px 9px; letter-spacing: .08em; }
.main-nav a.nav-home { display: none; }
.header-actions { flex: none; }
.quick { max-width: 640px; flex-wrap: nowrap; }
.quick select { flex: 1 1 180px; min-width: 0; }
.quick input { flex: 0 0 110px; min-width: 0; }
@media (max-width: 560px) { .quick { flex-wrap: wrap; } .quick input { flex: 1 1 100%; } }
.tile { aspect-ratio: 1 / .64; }
