/* Artiste DJ chez toi : feuille de style unique.
   Mode nuit par defaut (fond presque noir, accent vert citron), mode jour sur html[data-theme="light"].
   Toutes les couleurs passent par les variables ci-dessous. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --bg: #0F1113; --bg-2: #14151A; --surface: #1C1E21; --surface-2: #23262A;
  --border: rgba(255,255,255,.09); --border-strong: rgba(255,255,255,.18);
  --ink: #F7F7F8; --text-2: rgba(255,255,255,.62); --text-3: rgba(255,255,255,.42);
  --accent: #D1FE17; --accent-hover: #E0FF5C; --on-accent: #1A1A1A; --accent-text: #D1FE17; --accent-soft: rgba(209,254,23,.12);
  --success: #4ADE80; --success-soft: rgba(74,222,128,.12);
  --warning: #FBBF24; --warning-soft: rgba(251,191,36,.12);
  --error: #F87171; --error-soft: rgba(248,113,113,.12);
  --info: #93C5FD; --info-soft: rgba(147,197,253,.1);
  --header-bg: rgba(15,17,19,.82); --glow: rgba(209,254,23,.10); --glow-2: rgba(178,70,135,.16);
  --code-bg: #000; --input-bg: #14151A;
  --radius: 10px; --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(0,0,0,.4); --shadow-hover: 0 10px 20px rgba(0,0,0,.45);
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #FFFFFF; --bg-2: #F5F6F7; --surface: #FFFFFF; --surface-2: #F0F1F3;
  --border: #E4E6EA; --border-strong: #CBD0D6;
  --ink: #0F1113; --text-2: #575D66; --text-3: #8A9099;
  --accent: #D1FE17; --accent-hover: #C2F000; --on-accent: #1A1A1A; --accent-text: #4A6200; --accent-soft: #EEFBB8;
  --success: #15803D; --success-soft: #E8F7EE;
  --warning: #A16207; --warning-soft: #FEF6DC;
  --error: #B91C1C; --error-soft: #FDECEC;
  --info: #1D4ED8; --info-soft: #EAF1FE;
  --header-bg: rgba(255,255,255,.86); --glow: rgba(209,254,23,.35); --glow-2: rgba(178,70,135,.10);
  --code-bg: #0F1113; --input-bg: #FFFFFF;
  --shadow: 0 1px 2px rgba(15,17,19,.08); --shadow-hover: 0 10px 20px rgba(15,17,19,.10);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: .9375rem; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.12; letter-spacing: -.03em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 700; }
h3, .h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.h1-sm { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 16px; padding-left: 20px; }
small { font-size: .8125rem; }
mark { background: var(--warning-soft); color: var(--warning); padding: 1px 6px; border-radius: 4px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: var(--radius); z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }
.muted { color: var(--text-2); }
.center { text-align: center; }
.lead { font-size: 1.125rem; color: var(--text-2); max-width: 58ch; }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }
.eyebrow.center { display: block; }
.eyebrow-light { color: var(--accent-text); }
.hl { color: var(--accent-text); }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.inline { display: inline; }

/* ---------- mise en page ---------- */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 780px; }
.section { padding-block: 80px; }
.section-tight { padding-block: 36px; }
.section-top { padding-block: 44px 80px; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.section-dark { background: var(--bg-2); border-block: 1px solid var(--border); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h1, .section-head h2 { margin-bottom: 0; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

.demo-bar { background: var(--accent); color: var(--on-accent); text-align: center; font-size: .8125rem; font-weight: 600; padding: 6px 16px; }
.site-header { border-bottom: 1px solid var(--border); background: var(--header-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 1rem; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand b { font-weight: 800; }
.logo-mark { width: 32px; height: 32px; background: #0F1113; border-radius: 9px; padding: 2px; flex: none; border: 1px solid var(--border); }
.nav-links { display: flex; align-items: center; gap: 6px; flex: 1; }
.nav-links > a:not(.btn) { color: var(--text-2); font-weight: 500; font-size: .875rem; letter-spacing: .1px; padding: 8px 10px; border-radius: 8px; transition: color .15s, background .15s; }
.nav-links > a:not(.btn):hover { color: var(--ink); background: var(--surface); text-decoration: none; }
.nav-links > a[aria-current] { color: var(--ink); }
.nav-spacer { flex: 1; }
.nav-toggle, .theme-toggle { background: none; border: 1px solid var(--border-strong); color: var(--ink); border-radius: var(--radius); padding: 8px 12px; font: inherit; font-size: .8125rem; font-weight: 500; min-height: 40px; cursor: pointer; transition: border-color .15s, background .15s; }
.nav-toggle:hover, .theme-toggle:hover { background: var(--surface); }
.nav-toggle { display: none; margin-left: auto; }
html:not(.js) .theme-toggle { display: none; }

.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); color: var(--text-2); padding-top: 56px; font-size: .875rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-size: .75rem; color: var(--ink); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer nav a { display: block; color: var(--text-2); padding-block: 5px; }
.site-footer nav a:hover { color: var(--ink); text-decoration: none; }
.footer-tag { margin-top: 14px; max-width: 28ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--border); margin-top: 40px; padding-block: 20px; font-size: .8125rem; color: var(--text-3); }

/* ---------- composants ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--radius); font: inherit; font-size: .875rem; font-weight: 600; border: 1px solid transparent; cursor: pointer; text-align: center; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn:hover { text-decoration: none; }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--border-strong); font-weight: 500; }
.btn-secondary:hover { background: var(--surface-2); }
.btn-danger { background: transparent; color: var(--error); border-color: var(--error); font-weight: 500; }
.btn-danger:hover { background: var(--error-soft); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .8125rem; }
.btn-block { width: 100%; }

.field { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 14px; }
label, legend, .label { display: block; font-size: .8125rem; font-weight: 500; color: var(--text-2); margin-bottom: 6px; padding: 0; }
.input { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius); font: inherit; font-size: .9375rem; color: var(--ink); background: var(--input-bg); transition: border-color .15s, box-shadow .15s; }
.input::placeholder { color: var(--text-3); }
.input:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px var(--accent-soft); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
textarea.input { resize: vertical; }
.input-short { max-width: 220px; }
.input-code { max-width: 200px; font-family: ui-monospace, 'Cascadia Code', monospace; font-size: 1.125rem; letter-spacing: .12em; text-transform: uppercase; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .875rem; color: var(--ink); margin-bottom: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0 12px; }
.hint { font-size: .8125rem; color: var(--text-2); margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-card, .card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; background: var(--surface); margin-bottom: 20px; }
.form-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 16px 0 0; font-size: .875rem; }
.switch { font-size: .875rem; color: var(--text-2); }
.stars { display: flex; gap: 14px; flex-wrap: wrap; }
.stars legend { float: left; width: 100%; }
.stars label { display: inline-flex; gap: 6px; align-items: center; font-size: .9375rem; color: var(--ink); cursor: pointer; }
.suggest-wrap { position: relative; }
.suggest { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: var(--shadow-hover); }
.suggest button { display: block; width: 100%; text-align: left; background: none; border: 0; color: var(--ink); padding: 10px 12px; font: inherit; border-radius: 6px; cursor: pointer; }
.suggest button:hover, .suggest button:focus-visible { background: var(--accent-soft); }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 9999px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.badge-blue { background: var(--accent-soft); color: var(--accent-text); }
.badge-green { background: var(--success-soft); color: var(--success); }
.badge-gray { background: var(--surface-2); color: var(--text-2); }
.badge-amber { background: var(--warning-soft); color: var(--warning); }
.badge-red { background: var(--error-soft); color: var(--error); }
.badge-dark { background: var(--ink); color: var(--bg); }

.alert { border-radius: var(--radius); padding: 12px 16px; margin: 16px 0; font-size: .875rem; border: 1px solid transparent; }
.alert a { color: inherit; text-decoration: underline; }
.alert-ok { background: var(--success-soft); color: var(--success); }
.alert-err { background: var(--error-soft); color: var(--error); }
.alert-info { background: var(--info-soft); color: var(--info); }

.big-number { font-size: 2.25rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; line-height: 1.1; }
.big-number small { font-size: 1rem; font-weight: 500; color: var(--text-2); letter-spacing: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 24px; background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { background: var(--surface-2); font-weight: 600; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.empty-line { color: var(--text-2); padding: 20px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); }
.empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); }

.avatar { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.avatar-fallback { display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 2.75rem; letter-spacing: -.03em; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hue-1 { background: linear-gradient(135deg, #66192D 0%, #B24687 100%); }
.hue-2 { background: linear-gradient(135deg, #1B2A6B 0%, #5B6CFF 100%); }
.hue-3 { background: linear-gradient(135deg, #0E3B3A 0%, #17B5A6 100%); }
.hue-4 { background: linear-gradient(135deg, #5A2A0C 0%, #F0803C 100%); }
.hue-5 { background: linear-gradient(135deg, #3B1766 0%, #9B5CFF 100%); }
.hue-6 { background: linear-gradient(135deg, #2B3A0A 0%, #8DB600 100%); }
.avatar-sm { width: 44px; font-size: .9375rem; border-radius: 50%; }
.avatar-md { width: 96px; font-size: 1.5rem; flex: none; }
.avatar-lg { width: 156px; flex: none; border-radius: var(--radius-lg); }

.ecode { background: var(--code-bg); color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 2px; }
.ecode span { font-size: .6875rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; }
.ecode b { font-family: ui-monospace, 'Cascadia Code', monospace; font-size: 1.5rem; letter-spacing: .14em; color: #D1FE17; }
.ecode small { color: rgba(255,255,255,.7); }
.ecode-lg { padding: 28px 24px; text-align: center; }
.ecode-lg b { font-size: clamp(1.75rem, 7vw, 2.75rem); }
.card-ecode { padding: 0; overflow: hidden; border: 0; background: none; }
.card-ecode .ecode { border-radius: var(--radius-lg); }

/* ---------- accueil ---------- */
.hero { position: relative; min-height: calc(86vh - 60px); display: flex; align-items: center; padding-block: 64px; border-bottom: 1px solid var(--border); overflow: hidden;
  background: radial-gradient(60% 55% at 85% 20%, var(--glow-2), transparent 70%), radial-gradient(45% 50% at 10% 0%, var(--glow), transparent 70%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero .lead { margin-bottom: 28px; }
.search { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 12px; align-items: end; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow-hover); }
.search .field { margin: 0; }
.search-compact { box-shadow: none; margin-block: 20px; }
@media (min-width: 961px) {
  .hero .search { grid-template-columns: 1fr 1fr auto; }
  .hero .search .field:first-child { grid-column: 1 / -1; }
}
.trust { list-style: none; padding: 0; margin: 20px 0 0; display: flex; gap: 8px 24px; flex-wrap: wrap; font-size: .875rem; color: var(--text-2); }
.trust b { color: var(--ink); }
.trust li::before { content: '✓'; color: var(--accent-text); font-weight: 700; margin-right: 8px; }
.hero-visual { position: relative; padding: 24px 0 24px 24px; }
.ticket { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 20px; padding: 20px; box-shadow: var(--shadow-hover); transform: rotate(1.5deg); }
.ticket-head { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.ticket-head div:nth-child(2) { flex: 1; display: grid; }
.ticket-head span:not(.badge) { font-size: .8125rem; color: var(--text-2); }
.ticket-lines { margin: 0 0 16px; }
.ticket-lines > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--border); font-size: .875rem; }
.ticket-lines dt { color: var(--text-2); }
.ticket-lines dd { margin: 0; text-align: right; font-weight: 500; }
.ticket-total dd { font-weight: 800; font-size: 1.125rem; }
.hero-video { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-hover); aspect-ratio: 16 / 9; background: var(--surface); }
.hero-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-toggle { position: absolute; right: 12px; bottom: 12px; background: rgba(15,17,19,.72); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 9999px; padding: 6px 14px; min-height: 36px; font: inherit; font-size: .8125rem; font-weight: 500; cursor: pointer; }
.video-toggle:hover { background: rgba(15,17,19,.9); }
.media-figure { margin: 28px 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.media-figure video { width: 100%; height: auto; display: block; }
.guarantee-visual .ticket { transform: rotate(-1.5deg); max-width: 440px; margin-inline: auto; }
.guarantee-list { margin-top: 24px !important; }
.hero-chip { position: absolute; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 9999px; padding: 8px 14px; font-size: .8125rem; font-weight: 500; box-shadow: var(--shadow-hover); white-space: nowrap; }
.chip-a { top: 0; right: 12px; }
.chip-b { bottom: 0; left: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { display: inline-flex; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 9999px; padding: 9px 16px; font-size: .875rem; font-weight: 500; color: var(--ink); min-height: 40px; transition: border-color .15s, background .15s, color .15s; }
.chip:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); text-decoration: none; }

.artist-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); color: var(--ink); transition: border-color .15s, transform .15s; }
.artist-card:hover { border-color: var(--border-strong); text-decoration: none; transform: translateY(-3px); }
.artist-card .avatar { border-radius: 0; aspect-ratio: 4 / 3; }
.artist-card-body { padding: 16px 18px 18px; display: grid; gap: 4px; }
.artist-card-body h3, .artist-card-body p { margin: 0; }
.artist-card-body h3 { margin-top: 6px; }
.genres { font-size: .8125rem; color: var(--text-2); }
.price { margin-top: 6px !important; font-size: .875rem; }
.rating { font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.rating small { color: var(--text-2); font-weight: 400; }
.rating-new { color: var(--text-2); font-weight: 500; }
.featured { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.featured-side { display: grid; gap: 20px; }
.artist-card-row { flex-direction: row; }
.artist-card-row .avatar { width: 38%; aspect-ratio: auto; min-height: 100%; }
.artist-card-row .artist-card-body { flex: 1; align-content: center; }
.artist-card-big .avatar { aspect-ratio: 16 / 9; font-size: 4.5rem; }
.artist-card-big h3 { font-size: 1.5rem; }
.catalogue { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.result-count { color: var(--text-2); font-size: .875rem; margin-bottom: 20px; }
.result-count b { color: var(--ink); }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps::before { content: ''; position: absolute; top: 20px; left: 20px; right: 20px; height: 1px; background: var(--border-strong); }
.steps li { position: relative; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--ink); font-weight: 700; margin-bottom: 16px; position: relative; }
.steps li:last-child .step-n { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.steps p { color: var(--text-2); margin: 0; }

.price-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: stretch; }
.price-main { padding-right: 24px; }
.price-main > p { color: var(--text-2); max-width: 60ch; }
.price-side { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; background: var(--surface); }
.price-side p { color: var(--text-2); }
.price-side .big-number { color: var(--ink); }
.mini-table { border-collapse: collapse; margin: 16px 0 24px; width: 100%; max-width: 420px; }
.mini-table th, .mini-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--border); font-weight: 400; color: var(--text-2); }
.mini-table th { font-weight: 600; color: var(--ink); }
.mini-table td:last-child { text-align: right; font-weight: 700; color: var(--ink); }

.guarantee { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.guarantee > div > p { color: var(--text-2); max-width: 52ch; }
.guarantee-list { list-style: none; padding: 0; margin: 0; }
.guarantee-list li { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid var(--border); }
.guarantee-list li:last-child { border-bottom: 1px solid var(--border); }
.guarantee-list span { color: var(--text-2); font-size: .875rem; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-radius: 24px; padding: 40px; background: var(--accent); color: var(--on-accent); }
.cta-band h2, .cta-band p { margin: 0; }
.cta-band p { margin-top: 6px; max-width: 60ch; opacity: .8; }
.cta-band .btn-primary { background: #0F1113; color: #F7F7F8; }
.cta-band .btn-primary:hover { background: #23262A; }

/* ---------- fiche artiste ---------- */
.profile { display: grid; grid-template-columns: 1fr 410px; gap: 48px; align-items: start; }
.profile-head { display: flex; gap: 24px; align-items: center; margin-bottom: 28px; }
.profile-head p { margin-bottom: 4px; }
.profile-main .h3 { margin-top: 32px; }
.prose { white-space: pre-line; max-width: 68ch; color: var(--text-2); }
.facts { margin: 24px 0 0; border-top: 1px solid var(--border); }
.facts > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.facts dt { color: var(--text-2); font-size: .875rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts-wide { margin: 0; border-top: 0; }
.facts-wide > div:last-child { border-bottom: 0; }
.title-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.title-list li { background: var(--surface); border: 1px solid var(--border); border-radius: 9999px; padding: 6px 14px; font-size: .875rem; }
.reviews { list-style: none; padding: 0; }
.reviews li { padding: 14px 0; border-bottom: 1px solid var(--border); }
.reviews p { margin: 0 0 4px; }
.booking-box { position: sticky; top: 80px; border: 1px solid var(--border-strong); border-radius: 20px; padding: 24px; background: var(--surface); box-shadow: var(--shadow-hover); }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--border); padding-top: 16px; margin: 16px 0; color: var(--text-2); }
.total b { font-size: 1.875rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }

/* ---------- pages de contenu ---------- */
.prose-page h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.prose-page h2 { font-size: 1.375rem; margin-top: 44px; }
.prose-page p, .prose-page li { color: var(--text-2); }
.prose-page b { color: var(--ink); }
.prose-page li { margin-bottom: 6px; }
.prose-page .btn { margin-top: 12px; }
.legal h2 { font-size: 1.125rem; }
.timeline { list-style: none; padding: 0; margin: 32px 0; counter-reset: step; }
.timeline li { counter-increment: step; position: relative; padding: 0 0 28px 56px; border-left: 1px solid var(--border-strong); margin-left: 18px; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: counter(step); position: absolute; left: -18px; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .875rem; }
.timeline h2 { font-size: 1.125rem; margin: 0 0 6px; padding-top: 6px; }
.timeline p { margin: 0; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; padding: 18px 28px 18px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 1.25rem; font-weight: 400; color: var(--accent-text); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding-bottom: 12px; max-width: 68ch; }
.join-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-top: 20px; }
.join-grid > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.join-grid h2 { margin-top: 0; }
.install-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.install-steps > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.install-steps h2 { margin-top: 0; font-size: 1.125rem; }

/* ---------- espaces ---------- */
.auth { max-width: 480px; }
.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-bottom: 12px; }
.dash-4 { grid-template-columns: repeat(4, 1fr); }
.stat .label { color: var(--text-2); }
.stat .big-number { margin: 4px 0; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding: 8px 0; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.checklist li span { font-weight: 700; color: var(--text-3); }
.checklist .done span { color: var(--success); }
.photo-card { display: flex; gap: 20px; align-items: center; }
.msg-list { list-style: none; padding: 0; }
.msg-list li { border-bottom: 1px solid var(--border); padding: 12px 0; }
.msg-list summary { cursor: pointer; }
.container > .h3 { margin-top: 36px; }

/* ---------- adaptation ---------- */
.nav-links > a, .nav-links .btn, .theme-toggle { white-space: nowrap; }
/* La navigation se replie plus tot que le reste : elle ne doit jamais passer sur deux lignes. */
@media (max-width: 1120px) {
  .nav { flex-wrap: wrap; gap: 0 12px; }
  .nav-links { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 16px; }
  .nav-links > a:not(.btn) { padding: 12px 4px; border-top: 1px solid var(--border); border-radius: 0; font-size: .9375rem; }
  .nav-links .btn, .nav-links .theme-toggle { margin-top: 12px; width: 100%; }
  .nav-spacer { display: none; }
  .js .nav-toggle { display: inline-block; }
  .js .nav-links:not(.open) { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .guarantee, .price-split, .featured, .profile, .join-grid, .dash-grid, .install-steps { grid-template-columns: 1fr; }
  .dash-4 { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 0; }
  .hero-visual { padding: 12px 0 28px; max-width: 440px; }
  .ticket, .guarantee-visual .ticket { transform: none; }
  .chip-a { top: -6px; }
  .price-main { padding-right: 0; }
  .booking-box { position: static; }
  .search { grid-template-columns: 1fr 1fr; }
  .search .field:first-child, .search .btn { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { flex-wrap: wrap; gap: 0 12px; }
  .nav-links { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 16px; }
  .nav-links > a:not(.btn) { padding: 12px 4px; border-top: 1px solid var(--border); border-radius: 0; font-size: .9375rem; }
  .nav-links .btn, .nav-links .theme-toggle { margin-top: 12px; width: 100%; }
  .nav-spacer { display: none; }
  .js .nav-toggle { display: inline-block; }
  .js .nav-links:not(.open) { display: none; }
}
@media (max-width: 640px) {
  .section { padding-block: 52px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { display: none; }
  .search { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .dash-4 { grid-template-columns: 1fr; }
  .profile-head { flex-direction: column; align-items: flex-start; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .artist-card-row { flex-direction: column; }
  .artist-card-row .avatar { width: 100%; aspect-ratio: 4 / 3; }
  .hero-chip { display: none; }
  .photo-card { flex-direction: column; align-items: flex-start; }
  .form-card, .card, .booking-box { padding: 18px; }
  .cta-band { padding: 28px 22px; }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  main { animation: page-in .22s ease-out; }
  @keyframes page-in { from { opacity: .4; transform: translateY(6px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- mode edition : images placees par le proprietaire, tableau de bord ---------- */
.kg-img { width: 100%; height: auto; border-radius: 12px; margin: 8px 0 24px; }
.kg-img-hero { margin: 0; box-shadow: var(--shadow-hover); }
.edit-pages, .edit-versions { list-style: none; padding: 0; border: 1px solid var(--border); border-radius: 12px; }
.edit-pages li, .edit-versions li { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.edit-pages li:last-child, .edit-versions li:last-child { border-bottom: 0; }
.edit-pages .btn, .edit-versions .btn { min-height: 44px; }
