/* ==========================================================================
   Louma Nails — système visuel « alternatif »
   Fond sombre, accent lila, titres en gothique (Grenze Gotisch), accents
   cursifs (Mea Culpa), texte courant en Geist. Texture sérigraphie.
   Échelles : tailles = échelle Tailwind ; espacements = 2·4·8·12·16·24·32·40·48·64·80·96 px.
   ========================================================================== */

@font-face {
  font-family: 'Anton';
  src: url('/fonts/anton-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  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+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Anton';
  src: url('/fonts/anton-latin-ext-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 1000; font-style: normal; font-display: swap;
  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: 'DM Sans';
  src: url('/fonts/dm-sans-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 100 1000; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Partout Nails — Y2K / grunge / girly-punk
   Noir + argent chromé, accent lila (logo, actions) et vert acide (sa couleur complémentaire), touches violettes.
   Titres : Anton (condensée grasse, capitales). Texte : DM Sans.
   --lilac* : accent principal (boutons, liens actifs, logo).
   ========================================================================== */
:root {
  color-scheme: dark;
  --bg: #0B0B0C;
  --surface: #161618;
  --surface-2: #222226;
  --line: #2E2E33;
  --text: #F5F5F7;
  --muted: #A6A7AD;
  --lilac: #C9A7FF;        /* lila du logo : action principale */
  --lilac-hi: #DDC6FF;
  --lilac-dim: #2A2042;
  --on-lilac: #0B0B0C;
  --pink: #B4FF3D;         /* vert acide, complémentaire du lila : promos, cœurs, accents */
  --pink-dim: #253211;
  --on-pink: #0B0B0C;      /* texte sur fond vert acide */
  --violet: #8B5CFF;       /* clin d'œil au tapis violet des photos */
  --chrome: linear-gradient(100deg, #FFFFFF 0%, #B9BDC6 30%, #F2F3F5 50%, #868B95 75%, #E4E6EA 100%);
  --danger: #FF6B81;
  --danger-dim: #3A1820;
  --font-ui: 'DM Sans', system-ui, sans-serif;
  --font-goth: 'Anton', 'Impact', sans-serif;
  --font-script: 'Anton', 'Impact', sans-serif;
  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;
  --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px; --r-full: 9999px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --t: 700ms var(--ease);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--s-900); }
body {
  font: 400 16px/24px var(--font-ui);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-wrap: pretty;
}
/* Grain de sérigraphie (bruit SVG, pas de dégradé) */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main { flex: 1; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color var(--t); }
a:hover { color: var(--lilac); }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
::selection { background: var(--lilac); color: var(--on-lilac); }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 2px; border-radius: var(--r-md); }
[hidden] { display: none !important; }

.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -0.25em; }

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: var(--s-200); left: var(--s-200); z-index: 200; background: var(--lilac); color: var(--on-lilac); padding: var(--s-75) var(--s-100); border-radius: var(--r-full); font-weight: 600; }

/* --- Grille ------------------------------------------------------------ */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--s-300); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-300); }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: 1 / -1; }

/* --- Typographie -------------------------------------------------------- */
.label {
  font-size: 12px; line-height: 16px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--lilac);
  margin-bottom: var(--s-100);
}
.display, .title, h2, .h2 { font-family: var(--font-goth); font-weight: 700; text-wrap: balance; }
.display {
  font-size: 96px; line-height: 1; letter-spacing: -.01em;
  max-width: 680px;
  background: linear-gradient(90deg, #FFFFFF, #9B9B9B);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.title { font-size: 72px; line-height: 1; margin-bottom: var(--s-300); }
.title-sm { font-size: 48px; line-height: 1; }
h2, .h2 { font-size: 36px; line-height: 40px; }
h3 { font-size: 18px; line-height: 28px; font-weight: 600; }
.script { font-family: var(--font-script); font-weight: 400; color: var(--lilac); letter-spacing: 0; -webkit-text-fill-color: var(--lilac); }
.lead { font-size: 20px; line-height: 28px; color: var(--muted); max-width: 680px; margin-bottom: var(--s-400); }
.red { color: var(--lilac); }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 20px; }
.big { font-family: var(--font-goth); font-size: 30px; line-height: 36px; font-weight: 700; }
.num { display: block; font-family: var(--font-goth); color: var(--lilac); font-size: 24px; line-height: 32px; font-weight: 700; margin-bottom: var(--s-50); }
.cap { text-transform: capitalize; }
.danger { color: var(--danger); }

/* --- Navigation « île » ------------------------------------------------ */
header.site { position: sticky; top: 0; z-index: 50; padding-top: var(--s-300); pointer-events: none; }
.island {
  pointer-events: auto;
  margin: 0 auto; width: max-content; max-width: calc(100% - var(--s-400));
  display: flex; align-items: center; gap: var(--s-300);
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-300);
  border-radius: var(--r-full);
  background: rgba(31, 31, 31, .72);
  -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: baseline; gap: var(--s-50); text-decoration: none; line-height: 1; white-space: nowrap; }
.logo:hover { color: var(--text); }
.logo-script { font-family: var(--font-script); font-size: 30px; line-height: 36px; color: var(--lilac); }
.logo-goth { font-family: var(--font-goth); font-size: 20px; line-height: 28px; font-weight: 700; }
.island-links { display: flex; align-items: center; gap: var(--s-300); font-size: 14px; line-height: 20px; font-weight: 500; }
.island-links a { text-decoration: none; position: relative; color: var(--muted); }
.island-links a:hover, .island-links a[aria-current=page] { color: var(--text); }
.island-links a[aria-current=page]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: var(--r-full); background: var(--lilac); }
.island-links .linklike { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 14px; }
.island-links .linklike:hover { color: var(--text); }
.island .nav-cta { flex: none; }
.burger { display: none; position: relative; width: 40px; height: 40px; border: 0; border-radius: var(--r-full); background: var(--surface-2); cursor: pointer; z-index: 60; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: var(--r-full); background: var(--text); transition: transform var(--t), top var(--t); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded=true] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded=true] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }
.inline { display: inline; }
.linklike { background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; padding: 0; transition: color var(--t); }
.linklike:hover { color: var(--lilac); }
.badge { display: inline-block; min-width: 20px; padding: 0 var(--s-50); border-radius: var(--r-full); background: var(--lilac); color: var(--on-lilac); font-size: 12px; line-height: 20px; font-weight: 700; text-align: center; }

/* --- Pied de page ------------------------------------------------------ */
footer.site { margin-top: var(--s-900); padding: var(--s-700) 0 var(--s-600); background: #000; }
footer.site .logo-script { font-size: 60px; line-height: 1; }
footer.site .logo-goth { font-size: 36px; line-height: 40px; }
footer.site .label { color: var(--muted); }
footer.site p { font-size: 14px; line-height: 20px; }
footer .grid { row-gap: var(--s-400); }

/* --- Sections ----------------------------------------------------------- */
.page { padding-top: var(--s-700); }
.page-head { margin-bottom: var(--s-600); }
.section { margin-top: var(--s-800); row-gap: var(--s-300); }
.section-head { padding-right: var(--s-200); }
.section-head p { margin-top: var(--s-75); }
.hero { padding-top: var(--s-900); padding-bottom: var(--s-800); row-gap: var(--s-300); align-items: end; }
.hero-side { padding-bottom: var(--s-100); }

/* --- Boutons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  border: 1px solid var(--lilac); border-radius: var(--r-full);
  background: var(--lilac); color: var(--on-lilac);
  font: 600 16px/24px var(--font-ui);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--t), border-color var(--t), transform var(--t), color var(--t);
}
.btn:hover { background: var(--lilac-hi); border-color: var(--lilac-hi); color: var(--on-lilac); transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn-lg { padding: var(--s-100) var(--s-300); }
.btn-sm { font-size: 14px; line-height: 20px; padding: var(--s-75) var(--s-200); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--surface-2); color: var(--text); }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: #FFB0BE; border-color: #FFB0BE; }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.btn .icon { width: 20px; height: 20px; }

/* --- Formulaires -------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: var(--s-300); align-items: flex-start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-300); width: 100%; }
.field { width: 100%; }
.field label, .field > .label { display: block; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); margin-bottom: var(--s-75); text-transform: none; letter-spacing: 0; }
.hint { color: var(--muted); font-weight: 400; margin-left: var(--s-50); }
input:not([type]), input[type=search], input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number],
input[type=date], input[type=time], textarea, select {
  width: 100%;
  font: 400 16px/24px var(--font-ui); color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: var(--s-75) var(--s-100);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  appearance: none;
}
input::placeholder, textarea::placeholder { color: #6E6A74; }
input:hover, textarea:hover, select:hover { border-color: #4A4A4A; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--lilac); box-shadow: 0 0 0 4px var(--lilac-dim); }
input[aria-invalid=true] { border-color: var(--danger); }
input[type=date]::-webkit-calendar-picker-indicator, input[type=time]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .6; }
textarea { resize: vertical; min-height: 64px; }
select {
  cursor: pointer; padding-right: var(--s-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23A7A2AE'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.field-error { color: var(--danger); font-size: 14px; line-height: 20px; margin-top: var(--s-75); }
.check { display: flex; gap: var(--s-100); align-items: flex-start; font-size: 14px; line-height: 20px; max-width: 640px; cursor: pointer; }
.check input, .toggle input { width: 20px; height: 20px; accent-color: var(--lilac); margin-top: var(--s-25); flex: none; cursor: pointer; }

/* --- Messages ----------------------------------------------------------- */
.flash, .notice, .disclaimer {
  padding: var(--s-200) var(--s-300); margin: var(--s-300) 0 0;
  border: 1px solid var(--line); border-radius: var(--r-2xl);
  background: var(--surface); font-weight: 500;
}
.flash-success { border-color: var(--lilac); }
.flash-error { border-color: var(--danger); background: var(--danger-dim); color: var(--danger); }
.flash-info { border-color: var(--line); }
.form .flash { margin: 0; width: 100%; }
.notice { display: flex; flex-wrap: wrap; gap: var(--s-75) var(--s-100); align-items: center; margin: 0 0 var(--s-100); }
.notice strong { font-family: var(--font-goth); font-size: 20px; line-height: 28px; color: var(--lilac); }
.notice-promo { border-color: var(--lilac); background: var(--lilac-dim); }
.notice-promo strong { background: var(--lilac); color: var(--on-lilac); padding: 0 var(--s-75); border-radius: var(--r-full); font-family: var(--font-ui); font-size: 14px; line-height: 24px; }
.disclaimer { font-size: 14px; line-height: 20px; color: var(--muted); margin-top: var(--s-600); }
.empty { padding: var(--s-300); color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r-2xl); }

/* --- Listes en lignes --------------------------------------------------- */
.list { border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.row {
  display: grid; grid-template-columns: 48px 1fr auto minmax(80px, auto); gap: var(--s-200);
  align-items: baseline; padding: var(--s-200) var(--s-300);
  border-top: 1px solid var(--line);
  transition: background var(--t);
}
.row:first-child { border-top: 0; }
.row-n { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.row-name { font-size: 18px; line-height: 28px; font-weight: 500; }
.row-meta { color: var(--muted); font-variant-numeric: tabular-nums; }
.row-price { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-hours { grid-template-columns: 1fr auto; }
.row-appt { grid-template-columns: 256px 1fr auto; }
.row-admin { grid-template-columns: 80px 1.4fr 1fr auto; }
.row-admin.is-cancelled { color: var(--muted); }
.row-admin.is-cancelled .big { text-decoration: line-through; }
.row-admin:target { background: var(--lilac-dim); }
.row-actions { text-align: right; }
.actions { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-75); }
.cat { margin: var(--s-400) 0 var(--s-100); color: var(--muted); }
.cat:first-child { margin-top: 0; }

/* --- Étapes ------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-300); }
.steps li { padding: var(--s-300); border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); }
.step-n { display: block; font-family: var(--font-goth); font-size: 60px; line-height: 1; font-weight: 700; color: var(--lilac); margin-bottom: var(--s-300); }
.steps p { color: var(--muted); margin-top: var(--s-75); }

/* --- Statuts ------------------------------------------------------------ */
.tag { display: inline-block; font-size: 12px; line-height: 16px; font-weight: 600; padding: var(--s-50) var(--s-75); border-radius: var(--r-full); border: 1px solid currentColor; margin-top: var(--s-75); white-space: nowrap; }
.tag-pending { color: var(--lilac); }
.tag-confirmed { background: var(--lilac); border-color: var(--lilac); color: var(--on-lilac); }
.tag-declined, .tag-cancelled, .tag-no_show { color: var(--muted); }
.tag-manual { color: var(--text); margin: 0 0 0 var(--s-75); vertical-align: 2px; }

/* --- Réservation -------------------------------------------------------- */
fieldset { border: 0; min-width: 0; }
.step { padding-top: var(--s-300); margin-top: var(--s-600); row-gap: var(--s-300); }
fieldset[id], form[id] { scroll-margin-top: var(--s-900); }
.options { display: grid; gap: var(--s-75); }
.option { display: block; cursor: pointer; }
.option input, .day input, .slot input { position: absolute; opacity: 0; pointer-events: none; }
.option-body {
  display: grid; grid-template-columns: 1fr auto minmax(144px, auto); gap: var(--s-200); align-items: baseline;
  padding: var(--s-200) var(--s-300); border-radius: var(--r-2xl);
  background: var(--surface); border: 1px solid var(--line);
  transition: background var(--t), border-color var(--t), transform var(--t), color var(--t);
}
.option-name { font-size: 18px; line-height: 28px; font-weight: 500; }
.option-meta { color: var(--muted); }
.option-price { text-align: right; font-weight: 600; white-space: nowrap; }
.option:hover .option-body { border-color: #4A4A4A; transform: translateY(-2px); }
.option input:checked + .option-body { background: var(--lilac); border-color: var(--lilac); color: var(--on-lilac); }
.option input:checked + .option-body .option-meta, .option input:checked + .option-body .was { color: #4B3F60; }
.option input:focus-visible + .option-body { outline: 2px solid var(--lilac); outline-offset: 2px; }

.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: var(--s-75); }
.day { cursor: pointer; }
.day-body {
  display: flex; flex-direction: column; padding: var(--s-75) var(--s-100);
  border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line);
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.day-w { font-size: 12px; line-height: 16px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--muted); }
.day-n { font-family: var(--font-goth); font-size: 30px; line-height: 36px; font-weight: 700; }
.day-m { font-size: 12px; line-height: 16px; color: var(--muted); }
.day:hover .day-body { border-color: #4A4A4A; transform: translateY(-2px); }
.day input:checked + .day-body { background: var(--lilac); border-color: var(--lilac); color: var(--on-lilac); }
.day input:checked + .day-body .day-w, .day input:checked + .day-body .day-m { color: #4B3F60; }
.day input:focus-visible + .day-body { outline: 2px solid var(--lilac); outline-offset: 2px; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: var(--s-75); margin-bottom: var(--s-400); }
.slot span {
  display: block; text-align: center; padding: var(--s-75) 0; font-size: 18px; line-height: 28px; font-weight: 600;
  border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  font-variant-numeric: tabular-nums; transition: background var(--t), border-color var(--t), transform var(--t);
}
.slot:hover span { border-color: var(--lilac); transform: translateY(-2px); }
.slot input:checked + span { background: var(--lilac); border-color: var(--lilac); color: var(--on-lilac); }
.slot input:focus-visible + span { outline: 2px solid var(--lilac); outline-offset: 2px; }

.summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-300); flex-wrap: wrap;
  padding: var(--s-300); border-radius: var(--r-2xl); background: var(--surface-2); border: 1px solid var(--line);
  margin: var(--s-400) 0 var(--s-200);
}
.summary .label { margin-bottom: var(--s-50); }
.summary-line { font-size: 18px; line-height: 28px; }

/* --- Compte ------------------------------------------------------------- */
.profile, .stats > div, .kpis > div {
  padding: var(--s-300); border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line);
}
.profile { align-self: end; margin-bottom: var(--s-600); }
.appt-date strong { font-weight: 500; text-transform: capitalize; }
.list + p { margin-top: var(--s-300); }
.danger-zone { padding: var(--s-300); border-radius: var(--r-2xl); border: 1px solid var(--line); }
.danger-zone summary { cursor: pointer; font-weight: 600; }
.danger-zone .form { margin-top: var(--s-300); }
.danger-zone > p { margin-top: var(--s-75); }

/* --- Espace gérante ------------------------------------------------------ */
.subnav {
  display: flex; flex-wrap: wrap; gap: var(--s-50); padding: var(--s-50);
  width: max-content; max-width: 100%;
  border-radius: var(--r-3xl); background: var(--surface); border: 1px solid var(--line);
  margin-bottom: var(--s-600);
}
.subnav a { padding: var(--s-75) var(--s-200); border-radius: var(--r-full); text-decoration: none; font-weight: 500; font-size: 14px; line-height: 20px; color: var(--muted); transition: background var(--t), color var(--t); }
.subnav a:hover { color: var(--text); background: var(--surface-2); }
.subnav a[aria-current=page] { background: var(--lilac); color: var(--on-lilac); }
.subnav-2 { margin-top: calc(-1 * var(--s-400)); background: transparent; border: 0; padding: 0; }
.subnav-2 a { border: 1px solid var(--line); }
.subnav-2 a[aria-current=page] { background: var(--surface-2); color: var(--text); border-color: var(--lilac); }
.btn-sm.btn-ghost, .btn-sm { white-space: nowrap; }
.pager { display: flex; flex-wrap: wrap; gap: var(--s-75) var(--s-300); align-items: baseline; font-weight: 600; font-size: 14px; line-height: 20px; padding: var(--s-100) 0; }
.pager a { text-decoration: none; color: var(--muted); }
.pager a:hover, .pager a[aria-current=page] { color: var(--lilac); }
.pager span { margin-left: auto; }
.pager-inline span { margin-left: 0; color: var(--text); }
.stats { display: flex; gap: var(--s-200); align-self: end; margin-bottom: var(--s-600); }
.stats > div { flex: 1; }
.stats .btn { width: 100%; }
.stat { display: block; font-family: var(--font-goth); font-size: 48px; line-height: 1; font-weight: 700; margin-bottom: var(--s-75); }
.stats .label, .kpis .label { color: var(--muted); margin: 0; }
.h-day { text-transform: capitalize; font-size: 24px; line-height: 32px; }
.seg { display: inline-flex; flex-wrap: wrap; padding: var(--s-50); border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--line); gap: var(--s-50); }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: var(--s-75) var(--s-200); border-radius: var(--r-full); font-weight: 600; font-size: 14px; line-height: 20px; color: var(--muted); transition: background var(--t), color var(--t); }
.seg input:checked + span { background: var(--lilac); color: var(--on-lilac); }
.seg input:focus-visible + span { outline: 2px solid var(--lilac); outline-offset: 2px; }
.code { display: inline-block; font-size: 12px; line-height: 16px; font-weight: 600; padding: 0 var(--s-75); border-radius: var(--r-full); border: 1px solid var(--line); color: var(--muted); margin-left: var(--s-75); vertical-align: 2px; }
.promo-badge { display: inline-block; background: var(--lilac); color: var(--on-lilac); font-size: 12px; line-height: 16px; font-weight: 700; padding: var(--s-25) var(--s-75); border-radius: var(--r-full); margin-left: var(--s-50); }
.big-badge { font-size: 14px; line-height: 20px; padding: var(--s-50) var(--s-100); text-align: center; margin: 0; }
.was { color: var(--muted); font-weight: 400; margin-right: var(--s-50); }

/* Caisse */
.row-cash { grid-template-columns: 80px 1fr auto auto; align-items: center; }
.cash-form { display: flex; flex-wrap: wrap; gap: var(--s-100); align-items: center; }
.amount { display: inline-flex; align-items: center; gap: var(--s-50); }
.amount input { width: 96px; font-weight: 600; text-align: right; }
.cash-form select { width: 160px; }
.cash-form .promo-select { width: 192px; }
.op-form { display: flex; flex-direction: column; gap: var(--s-300); align-items: flex-start; }
.op-grid { display: grid; grid-template-columns: 1fr 2fr 1fr 1fr; gap: var(--s-300); width: 100%; }
.row-journal { grid-template-columns: 128px 1fr 112px 112px 80px; }
.row-journal.is-voided > :not(.row-actions) { color: var(--muted); }
.row-journal.is-voided .row-price { text-decoration: line-through; }
.void summary { cursor: pointer; color: var(--muted); list-style: none; font-size: 14px; }
.void summary::-webkit-details-marker { display: none; }
.void[open] { position: relative; }
.void form { position: absolute; right: 0; top: var(--s-400); z-index: 5; width: 384px; display: flex; gap: var(--s-75); padding: var(--s-200); border-radius: var(--r-2xl); background: var(--surface-2); border: 1px solid var(--line); }
.mini-totals { margin-top: var(--s-200); padding: var(--s-75) var(--s-200); border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); }
.mini-totals li { display: flex; justify-content: space-between; padding: var(--s-75) 0; font-size: 14px; line-height: 20px; }
.mini-totals li + li { border-top: 1px solid var(--line); }

/* Comptabilité */
.export { align-self: end; margin-bottom: var(--s-600); text-align: right; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: var(--s-200); }
.kpis .stat { font-size: 36px; line-height: 40px; margin: var(--s-75) 0 0; }
.breakdowns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-300); }
.breakdowns > div { padding: var(--s-300); border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: var(--s-50) var(--s-200); padding: var(--s-75) 0; }
.bar-val { font-weight: 600; font-variant-numeric: tabular-nums; }
.meter { grid-column: 1 / -1; height: 4px; border-radius: var(--r-full); background: var(--surface-2); overflow: hidden; }
.meter span { display: block; height: 100%; width: var(--w); background: var(--lilac); border-radius: var(--r-full); }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl); overflow: hidden; }
.table th { text-align: left; font-size: 12px; line-height: 16px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; padding: var(--s-100) var(--s-200); background: var(--surface-2); }
.table td { padding: var(--s-100) var(--s-200); border-top: 1px solid var(--line); }
.table tfoot td { font-weight: 700; background: var(--surface-2); }
.table .num-col { text-align: right; white-space: nowrap; }
.table a { text-decoration: none; }
.table-year tr.is-current td { background: var(--lilac-dim); }
.chart-col { width: 32%; }
.ybar { display: block; height: 6px; width: var(--w); background: var(--text); border-radius: var(--r-full); }
.ybar-out { background: var(--lilac); margin-top: var(--s-25); }
.legend { display: flex; align-items: center; gap: var(--s-75); font-size: 14px; margin-top: var(--s-100); }
.sw { display: inline-block; width: 16px; height: 6px; border-radius: var(--r-full); background: var(--text); }
.sw-out { background: var(--lilac); margin-left: var(--s-100); }
.tax-table td:first-child { padding-right: var(--s-200); }
.tax-table .indent td:first-child { padding-left: var(--s-400); color: var(--muted); }
.tax-table tr.total td { font-weight: 600; background: var(--surface-2); }
.tax-table tr.grand td { font-family: var(--font-goth); font-weight: 700; font-size: 30px; line-height: 36px; padding-top: var(--s-200); padding-bottom: var(--s-200); color: var(--lilac); }
.gauge { height: 8px; border-radius: var(--r-full); background: var(--surface-2); margin: var(--s-100) 0 var(--s-75); overflow: hidden; }
.gauge span { display: block; height: 100%; width: var(--w); background: var(--text); border-radius: var(--r-full); }
.gauge.is-warn span { background: var(--danger); }
.checklist { border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); padding: var(--s-75) var(--s-300); }
.checklist li { padding: var(--s-100) 0 var(--s-100) var(--s-400); position: relative; }
.checklist li + li { border-top: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; border-radius: var(--r-md); border: 2px solid var(--lilac); }
.export-list { display: flex; flex-wrap: wrap; gap: var(--s-100); }

/* Prestations, promotions, horaires, investissements, paramètres */
.svc-head, .svc-row { display: grid; grid-template-columns: 2.2fr 1.2fr 96px 96px 64px 128px; gap: var(--s-200); align-items: center; }
.svc-head { font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 0 var(--s-200) var(--s-100); }
.svc-row { padding: var(--s-100) var(--s-200); border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); margin-bottom: var(--s-75); scroll-margin-top: var(--s-900); }
.svc-row.is-off input[type=text], .svc-row.is-off input[type=number] { color: var(--muted); }
.svc-new { border-color: var(--lilac); }
.promo-form, .inv-form { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s-300); align-items: end; margin-bottom: var(--s-400); padding: var(--s-300); border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); }
.inv-form { grid-template-columns: 1fr 2fr 1.5fr; }
.row-promo { grid-template-columns: 80px 1fr auto auto; align-items: center; }
.closure-form { display: grid; grid-template-columns: 1fr 1fr 2fr auto; gap: var(--s-300); align-items: end; margin-bottom: var(--s-400); padding: var(--s-300); border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); }
.row-closure { grid-template-columns: 1.3fr 1fr auto; }
.hours-head, .hours-row { display: grid; grid-template-columns: 160px 1fr 1fr; gap: var(--s-300); align-items: center; }
.hours-head { font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 0 var(--s-300) var(--s-100); }
.hours-row { padding: var(--s-100) var(--s-300); border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); margin-bottom: var(--s-75); transition: opacity var(--t); }
.hours-row.is-off .range { opacity: .3; }
.range { display: flex; align-items: center; gap: var(--s-75); }
.hours-row + p { margin-top: var(--s-300); }
.sched { font-size: 14px; color: var(--muted); margin-top: var(--s-50); }
.sched span { white-space: nowrap; margin-right: var(--s-200); }
.sched .is-now { color: var(--lilac); font-weight: 600; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-200); }
.radio-cards label { display: block; cursor: pointer; }
.radio-cards input { position: absolute; opacity: 0; }
.radio-cards .card { display: block; height: 100%; padding: var(--s-200) var(--s-300); border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); transition: border-color var(--t), background var(--t); }
.radio-cards input:checked + .card { border-color: var(--lilac); background: var(--lilac-dim); }
.radio-cards input:focus-visible + .card { outline: 2px solid var(--lilac); outline-offset: 2px; }
.radio-cards strong { display: block; margin-bottom: var(--s-50); }
.settings-form { display: flex; flex-direction: column; gap: var(--s-300); align-items: flex-start; }
.settings-form .field { max-width: 416px; }
.campaign-form .field { max-width: 640px; }
.campaign-form .field-full { max-width: none; }
.mail-preview { width: 100%; height: 768px; border: 1px solid var(--line); border-radius: var(--r-2xl); background: #0B0B0C; }
.send-actions { display: flex; flex-wrap: wrap; gap: var(--s-200); align-items: center; }
.wrap-right { text-align: right; margin-top: var(--s-200); }
.prose h2 { font-size: 30px; line-height: 36px; margin: var(--s-400) 0 var(--s-75); }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 640px; color: var(--muted); }

/* --- Calendrier --------------------------------------------------------- */
.cal-legend { display: flex; flex-wrap: wrap; gap: var(--s-75) var(--s-300); align-items: center; margin: var(--s-200) 0 var(--s-300); }
.cal-legend span { display: inline-flex; align-items: center; gap: var(--s-75); }
.sw-box { display: inline-block; width: 16px; height: 16px; border-radius: var(--r-md); }
.sw-box.is-confirmed { background: var(--lilac); }
.sw-box.is-pending { border: 2px solid var(--lilac); }
.sw-box.is-manual { background: var(--lilac); box-shadow: inset 4px 0 0 var(--text); }
.sw-box.is-closed, .cal-day { background-color: #181818; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M-2 2l4-4M0 8l8-8M6 10l4-4' stroke='%23272727' stroke-width='1.5'/%3E%3C/svg%3E"); }
.cal-scroll { overflow-x: auto; border-radius: var(--r-2xl); border: 1px solid var(--line); background: var(--surface); }
.cal { display: grid; grid-template-columns: 56px repeat(7, minmax(112px, 1fr)); min-width: 840px; }
.cal-head { padding: var(--s-100); border-bottom: 1px solid var(--line); display: flex; gap: var(--s-75); align-items: baseline; position: sticky; top: 0; background: var(--surface); z-index: 3; }
.cal-head strong { font-family: var(--font-goth); font-size: 24px; line-height: 32px; }
.cal-head .cap { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.cal-head.is-today strong, .cal-head.is-today .cap { color: var(--lilac); }
.cal-hours { position: relative; height: var(--h); }
.cal-hours span { position: absolute; right: var(--s-75); transform: translateY(-50%); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cal-hours span:first-child { transform: none; }
.cal-day { position: relative; height: var(--h); border-left: 1px solid var(--line); }
.cal-day.is-closed .cal-slot { display: none; }
.cal-open { position: absolute; left: 0; right: 0; background: var(--surface); }
.cal-line { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); z-index: 1; pointer-events: none; }
.cal-slot { position: absolute; left: 0; right: 0; z-index: 1; transition: background var(--t); }
.cal-slot:hover { background: var(--lilac-dim); }
.cal-slot:hover::after { content: "+"; position: absolute; right: var(--s-75); top: 0; color: var(--lilac); font-weight: 700; }
.cal-closure { position: absolute; top: var(--s-75); left: var(--s-75); right: var(--s-75); z-index: 2; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cal-now { position: absolute; left: 0; right: 0; border-top: 2px solid var(--danger); z-index: 4; pointer-events: none; }
.cal-now::before { content: ""; position: absolute; left: -4px; top: -5px; width: 8px; height: 8px; border-radius: var(--r-full); background: var(--danger); }
.cal-event {
  position: absolute; left: var(--s-50); right: var(--s-50); z-index: 3; overflow: hidden;
  padding: var(--s-25) var(--s-75); border-radius: var(--r-lg);
  font-size: 12px; line-height: 16px; text-decoration: none; display: flex; flex-direction: column;
  background: var(--lilac); color: var(--on-lilac); transition: transform var(--t), background var(--t);
}
.cal-event:hover { color: var(--on-lilac); background: var(--lilac-hi); transform: translateY(-1px); }
.cal-event strong { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-event span { opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-event em { font-style: normal; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.cal-event.is-manual { box-shadow: inset 4px 0 0 var(--text); padding-left: var(--s-100); }
.cal-event.is-pending { background: var(--surface-2); color: var(--text); border: 2px solid var(--lilac); }
.cal-event.is-pending em { color: var(--lilac); }
.cal-event.is-pending:hover { background: var(--lilac-dim); color: var(--text); }
.cal-event.is-no_show { background: var(--surface-2); color: var(--muted); text-decoration: line-through; }

/* --- Confirmation dans la page ------------------------------------------ */
.confirm-inline { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--s-75) var(--s-100); font-size: 14px; font-weight: 500; }
.confirm-inline > span { flex-basis: 100%; text-align: right; }
.danger-zone .confirm-inline, .danger-zone .confirm-inline > span { justify-content: flex-start; text-align: left; }
.confirm-yes { background: var(--danger); color: var(--on-lilac); border: 0; padding: var(--s-75) var(--s-100); border-radius: var(--r-full); font-weight: 600; cursor: pointer; transition: transform var(--t); }
.confirm-yes:active { transform: scale(.98); }
.confirm-no { background: none; border: 0; padding: var(--s-75) var(--s-50); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* ======================================================================
   Accueil
   ====================================================================== */
.hero-home { position: relative; padding-top: var(--s-800); padding-bottom: var(--s-800); display: grid; grid-template-columns: 1fr auto; gap: var(--s-600); align-items: center; }
.hero-home .display { margin-bottom: var(--s-300); }
.hero-home .display .script { font-size: 128px; line-height: 1; display: inline-block; margin-top: var(--s-75); }
.hero-sticker { display: inline-flex; align-items: center; gap: var(--s-75); padding: var(--s-50) var(--s-100); border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface); font-size: 14px; line-height: 20px; color: var(--muted); margin-bottom: var(--s-300); }
.hero-sticker .icon { color: var(--lilac); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-300); }
.proof { display: flex; flex-wrap: wrap; gap: var(--s-75) var(--s-300); margin-top: var(--s-400); font-size: 14px; line-height: 20px; color: var(--muted); }
.proof li { display: inline-flex; align-items: center; gap: var(--s-75); }
.proof .icon { color: var(--lilac); }

/* Tampon rotatif « sérigraphie » */
.stamp { position: relative; width: 320px; height: 320px; flex: none; }
.stamp-ring { width: 100%; height: 100%; animation: spin 32s linear infinite; }
.stamp-ring text { font-family: var(--font-goth); font-size: 22px; font-weight: 700; letter-spacing: .18em; fill: var(--text); }
.stamp-core { position: absolute; inset: 64px; border-radius: var(--r-full); background: var(--lilac); display: grid; place-items: center; text-align: center; color: var(--on-lilac); transform: rotate(-8deg); }
.stamp-core .logo-script { color: var(--on-lilac); font-size: 72px; line-height: 1; display: block; }
.stamp-core small { font-family: var(--font-goth); font-size: 20px; line-height: 28px; font-weight: 700; display: block; }
.stamp-star { position: absolute; color: var(--lilac); }
.stamp-star.s1 { top: -8px; left: 16px; width: 48px; height: 48px; }
.stamp-star.s2 { bottom: 8px; right: -8px; width: 32px; height: 32px; color: var(--text); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Bandeau défilant */
.marquee { overflow: hidden; background: var(--lilac); color: var(--on-lilac); transform: rotate(-2deg); margin: var(--s-400) calc(-1 * var(--s-300)); padding: var(--s-100) 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--font-goth); font-size: 36px; line-height: 40px; font-weight: 700; padding: 0 var(--s-300); white-space: nowrap; display: inline-flex; align-items: center; gap: var(--s-300); }
.marquee-track .icon { width: 24px; height: 24px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Avantages */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-300); }
.benefit { padding: var(--s-400) var(--s-300); border-radius: var(--r-3xl); background: var(--surface); border: 1px solid var(--line); transition: transform var(--t), border-color var(--t); }
.benefit:hover { transform: translateY(-4px); border-color: var(--lilac-dim); }
.benefit-icon { width: 48px; height: 48px; border-radius: var(--r-2xl); display: grid; place-items: center; background: var(--lilac-dim); color: var(--lilac); margin-bottom: var(--s-300); }
.benefit-icon .icon { width: 24px; height: 24px; }
.benefit h3 { font-family: var(--font-goth); font-size: 30px; line-height: 36px; font-weight: 700; margin-bottom: var(--s-75); }
.benefit p { color: var(--muted); }

/* Slogan révélé mot à mot */
.tagline { padding: var(--s-900) 0; }
.tagline p { font-family: var(--font-goth); font-weight: 700; font-size: 72px; line-height: 1; max-width: 680px; text-wrap: balance; }
.tagline .w { color: var(--text); transition: color 900ms var(--ease), opacity 900ms var(--ease); }
.js .tagline .w { opacity: .3; }
.js .tagline .w.is-on { opacity: 1; }
.tagline .w.script { font-size: 96px; line-height: 1; }

/* Cartes de tarifs façon planche de flash */
.flash-sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(256px, 1fr)); gap: var(--s-200); }
.flash-card { position: relative; display: flex; flex-direction: column; gap: var(--s-75); padding: var(--s-300); border-radius: var(--r-3xl); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform var(--t), border-color var(--t), background var(--t); }
.flash-card:hover { transform: translateY(-4px) rotate(-1deg); border-color: var(--lilac); color: var(--text); }
.flash-card:active { transform: scale(.98); }
.flash-card .cat-tag { font-size: 12px; line-height: 16px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.flash-card h3 { font-family: var(--font-goth); font-size: 30px; line-height: 36px; font-weight: 700; }
.flash-card .meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: var(--s-200); }
.flash-card .price { font-size: 24px; line-height: 32px; font-weight: 700; }
.flash-card .price .red { color: var(--lilac); }
.flash-card .go { position: absolute; top: var(--s-300); right: var(--s-300); width: 32px; height: 32px; border-radius: var(--r-full); display: grid; place-items: center; background: var(--surface-2); color: var(--lilac); transition: transform var(--t), background var(--t); }
.flash-card:hover .go { background: var(--lilac); color: var(--on-lilac); transform: rotate(-45deg); }
.flash-card .promo-badge { position: absolute; top: calc(-1 * var(--s-100)); left: var(--s-300); margin: 0; transform: rotate(-4deg); }

/* Infos pratiques */
.info-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-300); }
.info-card { padding: var(--s-300); border-radius: var(--r-3xl); background: var(--surface); border: 1px solid var(--line); }
.info-card .row { padding: var(--s-100) 0; }
.info-card .list { border: 0; background: transparent; border-radius: 0; }
.info-card .icon { color: var(--lilac); width: 24px; height: 24px; margin-bottom: var(--s-200); }
.info-card address { font-style: normal; font-size: 20px; line-height: 28px; }

/* FAQ */
.faq { display: grid; gap: var(--s-75); }
.faq details { border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); transition: border-color var(--t); }
.faq details[open] { border-color: var(--lilac-dim); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-200); padding: var(--s-200) var(--s-300); font-size: 18px; line-height: 28px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--lilac); transition: transform var(--t); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 var(--s-300) var(--s-300); color: var(--muted); max-width: 680px; }

/* Appel final */
.final-cta { margin-top: var(--s-900); padding: var(--s-800) var(--s-300); border-radius: var(--r-3xl); background: var(--lilac); color: var(--on-lilac); text-align: center; }
.final-cta h2 { font-size: 60px; line-height: 1; max-width: 680px; margin: 0 auto var(--s-300); }
.final-cta .script { color: var(--on-lilac); -webkit-text-fill-color: var(--on-lilac); font-size: 72px; }
.final-cta p { max-width: 560px; margin: 0 auto var(--s-400); }
.final-cta .btn { background: var(--bg); border-color: var(--bg); color: var(--text); }
.final-cta .btn:hover { background: #000; border-color: #000; color: var(--text); }

/* --- Apparition au défilement ------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(64px); filter: blur(12px); transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .js .tagline .w { opacity: 1; }
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .display { font-size: 72px; }
  .hero-home .display .script { font-size: 96px; }
  .stamp { width: 256px; height: 256px; }
  .stamp-core { inset: 48px; }
  .stamp-core .logo-script { font-size: 60px; }
  .op-grid { grid-template-columns: 1fr 1fr; }
  .svc-head { display: none; }
  .svc-row { grid-template-columns: 1fr 1fr; row-gap: var(--s-75); }
  .svc-row input[name=name] { grid-column: 1 / -1; font-weight: 600; }
  .row-cash { grid-template-columns: 80px 1fr; }
  .row-cash > form { grid-column: 2; }
  .row-journal { grid-template-columns: 1fr auto; }
  .row-journal > :first-child { grid-column: 1 / -1; }
  .closure-form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .grid > [class*="col-"] { grid-column: 1 / -1; }
  .title { font-size: 48px; }
  .display { font-size: 60px; }
  .hero-home { grid-template-columns: 1fr; padding-top: var(--s-600); }
  .hero-home .display .script { font-size: 72px; }
  .stamp { width: 224px; height: 224px; justify-self: center; }
  .stamp-ring text { font-size: 24px; }
  .stamp-core { inset: 40px; }
  .stamp-core .logo-script { font-size: 48px; }
  .stamp-core small { font-size: 18px; }
  .tagline p { font-size: 48px; }
  .tagline .w.script { font-size: 72px; }
  .benefits, .steps, .info-grid, .breakdowns, .radio-cards, .promo-form, .inv-form { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .row-appt { grid-template-columns: 1fr auto; }
  .row-admin { grid-template-columns: 64px 1fr; row-gap: var(--s-75); }
  .row-admin > :nth-child(n+3) { grid-column: 2; text-align: left; }
  .actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .stats { margin-bottom: var(--s-300); }
  .profile { margin-bottom: 0; }
  .hours-head { display: none; }
  .hours-row { grid-template-columns: 1fr; gap: var(--s-75); }
  .chart-col { display: none; }
  .final-cta h2 { font-size: 48px; }
  .marquee-track span { font-size: 30px; line-height: 36px; }
  footer .col-3 { grid-column: span 6 !important; }

  /* Menu mobile : île + écran plein en verre */
  .island { gap: var(--s-100); padding-left: var(--s-200); }
  .burger { display: block; }
  .island-links {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--s-300);
    padding: var(--s-900) var(--s-400);
    background: rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(64px); backdrop-filter: blur(64px);
    opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
  }
  .island-links a, .island-links .inline { font-family: var(--font-goth); font-size: 48px; line-height: 1; font-weight: 700; color: var(--text); opacity: 0; transform: translateY(48px); transition: opacity var(--t), transform var(--t); }
  .island-links .linklike { font-size: 48px; font-family: var(--font-goth); font-weight: 700; color: var(--muted); }
  .island-links a[aria-current=page] { color: var(--lilac); }
  .island-links a[aria-current=page]::after { display: none; }
  .menu-open .island-links { opacity: 1; visibility: visible; }
  .menu-open .island-links > * { opacity: 1; transform: none; }
  .island-links > :nth-child(1) { transition-delay: 100ms; }
  .island-links > :nth-child(2) { transition-delay: 150ms; }
  .island-links > :nth-child(3) { transition-delay: 200ms; }
  .island-links > :nth-child(4) { transition-delay: 250ms; }
  .island-links > :nth-child(5) { transition-delay: 300ms; }
  .island-links > :nth-child(6) { transition-delay: 350ms; }
  .menu-open { overflow: hidden; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 var(--s-200); }
  .display { font-size: 48px; }
  .hero-home .display .script { font-size: 60px; }
  .row { grid-template-columns: 32px 1fr auto; padding: var(--s-100) var(--s-200); }
  .row .row-meta { display: none; }
  .row-hours { grid-template-columns: 1fr auto; }
  .row-hours .row-meta { display: block; }
  .option-body { grid-template-columns: 1fr auto; }
  .option-meta { display: none; }
  .logo-script { font-size: 24px; line-height: 32px; }
  .logo-goth { font-size: 18px; }
  .tagline p { font-size: 36px; line-height: 40px; }
  .tagline .w.script { font-size: 48px; }
}

@media print {
  :root { --bg: #fff; --surface: #fff; --surface-2: #f4f4f4; --line: #ccc; --text: #000; --muted: #555; --lilac: #000; --lilac-dim: #eee; }
  body::before, header.site, footer.site, .subnav, .pager, .export, .no-print, .flash, .btn { display: none !important; }
  body { font-size: 11pt; }
  .page { padding-top: 0; }
  .section { margin-top: var(--s-300); break-inside: avoid; }
  .title { font-size: 30pt; }
  a { text-decoration: none; }
}

/* Cursive plus « sérigraphiée » : trait épaissi */
.script { -webkit-text-stroke: .018em var(--lilac); paint-order: stroke fill; }
.final-cta .script, .stamp-core .logo-script { -webkit-text-stroke: .018em var(--on-lilac); }
.logo-script { -webkit-text-stroke: .02em currentColor; }

/* Ajustements accueil */
body { overflow-x: clip; }
.tagline { padding-top: var(--s-900); padding-bottom: var(--s-900); padding-left: var(--s-300); padding-right: var(--s-300); }
.hero-home ~ .section h2, .hero-home ~ section h2 { font-size: 60px; line-height: 1; }
.hero-home ~ section h2 .script { font-size: 72px; }
@media (max-width: 860px) {
  .hero-home ~ section h2 { font-size: 48px; }
  .hero-home ~ section h2 .script { font-size: 60px; }
}
@media (max-width: 520px) {
  .tagline { padding-left: var(--s-200); padding-right: var(--s-200); }
  .hero-home ~ section h2 { font-size: 36px; line-height: 40px; }
  .hero-home ~ section h2 .script { font-size: 48px; }
}
.flash-card .meta { flex-wrap: wrap; gap: var(--s-75); }
.flash-card .meta > span { white-space: nowrap; }
@media (max-width: 860px) {
  /* Le flou sur l'île confinerait le menu plein écran : on le retire sur mobile. */
  .island { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(31, 31, 31, .94); }
  .hero-home { padding-top: var(--s-700); }
}
.stats { flex-wrap: wrap; }
.stats > div { min-width: 0; }
.stats > div:has(> .btn) { flex: 0 0 100%; padding: 0; background: none; border: 0; }
.cal-day, .sw-box.is-closed { background-color: var(--bg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M-2 2l4-4M0 8l8-8M6 10l4-4' stroke='%231F1F1F' stroke-width='1.5'/%3E%3C/svg%3E"); }
.cal-open { background: var(--surface-2); }
.cal-line { border-top-color: #3A3A3A; }

/* ==========================================================================
   Couche « Partout Nails »
   ========================================================================== */
/* Titres condensés en capitales, façon stories */
.display, .title, h2, .h2, .big, .num, .stat, .step-n, .day-n, .h-day, .cal-head strong,
.benefit h3, .flash-card h3, .tax-table tr.grand td, .notice strong {
  font-family: var(--font-goth); font-weight: 400; text-transform: uppercase; letter-spacing: .01em;
}
.title { font-size: 60px; line-height: 1; }
h2, .h2 { font-size: 36px; line-height: 40px; }
.display { font-size: 96px; line-height: 1; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.script { font-family: var(--font-goth); color: var(--pink); -webkit-text-fill-color: var(--pink); -webkit-text-stroke: 0; }
.final-cta .script { color: var(--on-lilac); -webkit-text-fill-color: var(--on-lilac); }
.label { color: var(--lilac); }
.num { color: var(--pink); }
.step-n { color: var(--pink); font-size: 72px; }

/* Logo */
.logo { gap: var(--s-75); align-items: center; color: var(--text); }
.logo-mark { width: 40px; height: 40px; color: #C9CCD3; flex: none; }
.logo-word { font-family: var(--font-goth); text-transform: uppercase; font-size: 20px; line-height: 28px; letter-spacing: .02em; }
.logo-word span { color: var(--lilac); }
footer.site .logo-mark { width: 96px; height: 96px; }
footer.site .logo-word { font-size: 36px; line-height: 40px; }

/* Boutons plus gros sur mobile (parcours lisible) */
.btn-lg { padding: var(--s-200) var(--s-400); font-size: 18px; line-height: 28px; }

/* Stickers */
.sticker {
  display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-50) var(--s-100); border-radius: var(--r-full);
  font-family: var(--font-goth); text-transform: uppercase; font-size: 14px; line-height: 20px; letter-spacing: .04em;
  background: var(--pink); color: var(--on-pink); transform: rotate(-4deg);
}
.sticker.mint { background: var(--lilac); color: var(--on-lilac); transform: rotate(3deg); }
.sticker.chrome { background: var(--chrome); color: var(--on-lilac); transform: rotate(-2deg); }
.sticker .icon { width: 16px; height: 16px; }

/* Haut de page */
.hero-home { padding-top: var(--s-700); }
.hero-home .display .script { font-size: inherit; display: inline; margin: 0; }
.hero-tags { display: flex; flex-wrap: wrap; gap: var(--s-100); margin-bottom: var(--s-300); }
.hero-visual { position: relative; width: 360px; height: 360px; flex: none; }
.disco { width: 100%; height: 100%; animation: spin 60s linear infinite; filter: drop-shadow(0 0 48px color-mix(in srgb, var(--lilac) 22%, transparent)); }
.hero-visual .logo-mark { position: absolute; width: 144px; height: 144px; right: -8px; bottom: 8px; transform: rotate(10deg); color: #fff; filter: drop-shadow(0 8px 24px rgba(0,0,0,.6)); }
.hero-visual .sticker { position: absolute; }
.hero-visual .sticker.s1 { top: 24px; left: -16px; }
.hero-visual .sticker.s2 { top: 48%; left: -32px; }
.hero-visual .heart { position: absolute; top: 8px; right: 32px; width: 40px; height: 40px; color: var(--pink); transform: rotate(12deg); }
.hero-visual .heart .icon { width: 40px; height: 40px; }

/* Bandeau façon stories : texte blanc sur bande noire, sur fond chromé */
.marquee { background: var(--chrome); color: var(--text); transform: rotate(-2deg); padding: var(--s-75) 0; }
.marquee-track span { font-family: var(--font-goth); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 36px; background: #000; padding: var(--s-50) var(--s-200); margin: 0 var(--s-75); }
.marquee-track .icon { color: var(--pink); }

/* Cartes */
.flash-card:hover { transform: translateY(-4px) rotate(-1deg); border-color: var(--pink); }
.flash-card .go { color: var(--lilac); }
.flash-card:hover .go { background: var(--lilac); color: var(--on-lilac); }
.flash-card .promo-badge, .promo-badge { background: var(--pink); color: var(--on-pink); }
.flash-card .price .red { color: var(--pink); }
.flash-card .from { font-size: 12px; line-height: 16px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; display: block; }
.benefit-icon { background: var(--pink-dim); color: var(--pink); }
.notice-promo { border-color: var(--pink); background: var(--pink-dim); }
.notice-promo strong { background: var(--pink); color: var(--on-pink); }

/* Galerie */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-75); margin-bottom: var(--s-300); }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: var(--r-full); padding: var(--s-75) var(--s-200); font: 600 14px/20px var(--font-ui); cursor: pointer; transition: background var(--t), color var(--t), border-color var(--t); }
.chip:hover { border-color: var(--lilac); }
.chip[aria-pressed=true] { background: var(--lilac); border-color: var(--lilac); color: var(--on-lilac); }
.chip:active { transform: scale(.98); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-75); }
.gallery figure { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-2xl); overflow: hidden; background: var(--surface); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: var(--s-75); bottom: var(--s-75); }
.gallery-empty { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-75); position: relative; }
.gallery-empty .ph { aspect-ratio: 4 / 5; border-radius: var(--r-2xl); background: var(--surface); border: 1px dashed var(--line); display: grid; place-items: center; color: var(--line); }
.gallery-empty .ph .icon { width: 48px; height: 48px; }
.gallery-empty .ph:nth-child(2) { background: #1B1430; border-color: #2C2150; color: var(--violet); }
.gallery-empty .ph:nth-child(4) { color: var(--pink); }
.gallery-empty .ph:nth-child(6) { color: var(--lilac); }
.gallery-empty .overlay { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: var(--s-300); }
.gallery-empty .overlay > div { background: rgba(11, 11, 12, .88); border: 1px solid var(--line); border-radius: var(--r-3xl); padding: var(--s-400) var(--s-300); max-width: 416px; }
.gallery-empty .overlay p { color: var(--muted); margin: var(--s-75) 0 var(--s-300); }
.insta-link { display: inline-flex; align-items: center; gap: var(--s-75); font-weight: 600; margin-top: var(--s-300); }
.insta-link .icon { color: var(--pink); }

/* Devenir modèle */
.model { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-400); align-items: center; padding: var(--s-600) var(--s-400); border-radius: var(--r-3xl); background: #1B1430; border: 1px solid #2C2150; overflow: hidden; }
.model h2 { font-size: 60px; line-height: 1; margin-bottom: var(--s-200); }
.model p { color: #C9C2DC; }
.model ul { display: flex; flex-wrap: wrap; gap: var(--s-100); margin: var(--s-300) 0; }
.model .btn { background: var(--pink); border-color: var(--pink); color: var(--on-pink); }
.model .btn:hover { background: #CBFF7A; border-color: #CBFF7A; color: var(--on-pink); }
.model-steps { display: grid; gap: var(--s-100); }
.model-steps li { display: flex; gap: var(--s-200); align-items: flex-start; padding: var(--s-200); border-radius: var(--r-2xl); background: rgba(11, 11, 12, .5); border: 1px solid #2C2150; }
.model-steps b { font-family: var(--font-goth); font-weight: 400; font-size: 30px; line-height: 36px; color: var(--violet); }

/* Barre « Réserver » fixe en bas sur mobile */
.book-bar { display: none; }
@media (max-width: 860px) {
  .book-bar {
    display: flex; position: fixed; left: var(--s-200); right: var(--s-200); bottom: var(--s-200); z-index: 45;
    justify-content: center; align-items: center; gap: var(--s-75);
    padding: var(--s-200); border-radius: var(--r-full);
    background: var(--lilac); color: var(--on-lilac); text-decoration: none;
    font: 700 18px/28px var(--font-ui);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .55);
    transition: transform var(--t);
  }
  .book-bar:hover { color: var(--on-lilac); }
  .book-bar:active { transform: scale(.98); }
  body.has-book-bar { padding-bottom: var(--s-900); }
  .island .nav-cta { display: none; }
  .display { font-size: 60px; }
  .title { font-size: 48px; }
  .hero-visual { width: 280px; height: 280px; justify-self: center; margin-top: var(--s-300); }
  .hero-visual .logo-mark { width: 112px; height: 112px; }
  .gallery, .gallery-empty { grid-template-columns: repeat(2, 1fr); }
  .model { grid-template-columns: 1fr; padding: var(--s-400) var(--s-300); }
  .model h2 { font-size: 48px; }
  .marquee-track span { font-size: 24px; line-height: 32px; }
  .island-links a, .island-links .inline, .island-links .linklike { font-family: var(--font-goth); font-weight: 400; text-transform: uppercase; }
}
@media (max-width: 520px) {
  .display { font-size: 48px; }
  .title { font-size: 48px; }
  .step-n { font-size: 60px; }
}
.hero-home ~ section h2 .script, .tagline .w.script { font-size: inherit; }
.logo-word span { margin-left: 6px; }
.flash-card h3 { padding-right: var(--s-500); }
.page-head h2 + p { margin-top: var(--s-100); }
@media (max-width: 860px) { .page { padding-top: var(--s-600); } }

/* Chiffres des encadrés : la taille s'adapte à la largeur de la case, sans jamais déborder */
.stats > div, .kpis > div { container-type: inline-size; min-width: 0; }
.stats .stat { font-size: min(48px, 18cqi); line-height: 1.1; white-space: nowrap; }
.kpis .stat { font-size: min(36px, 16cqi); line-height: 1.1; white-space: nowrap; }

/* --- Calendrier : vue smartphone (un jour à la fois) -------------------- */
.agenda { display: none; }
@media (max-width: 860px) {
  .cal-scroll, .cal-legend { display: none; }
  .agenda { display: block; padding-bottom: var(--s-900); }
  .agenda-days {
    position: sticky; top: 88px; z-index: 20;
    display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--s-50);
    padding: var(--s-50); margin-bottom: var(--s-300);
    border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line);
  }
  .agenda-day {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 0;
    padding: var(--s-75) 0; border: 0; border-radius: var(--r-xl); background: transparent; color: var(--text); cursor: pointer;
    transition: background var(--t), color var(--t), transform var(--t);
  }
  .agenda-day:active { transform: scale(.96); }
  .agenda-day .cap { font-size: 12px; line-height: 16px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
  .agenda-day strong { font-family: var(--font-goth); font-weight: 400; font-size: 24px; line-height: 32px; }
  .agenda-day.is-today .cap, .agenda-day.is-today strong { color: var(--lilac); }
  .agenda-day.is-closed { opacity: .45; }
  .agenda-day[aria-selected=true] { background: var(--lilac); color: var(--on-lilac); opacity: 1; }
  .agenda-day[aria-selected=true] .cap, .agenda-day[aria-selected=true] strong { color: var(--on-lilac); }
  .agenda-dot { min-width: 18px; height: 18px; border-radius: var(--r-full); font-style: normal; font-size: 12px; line-height: 18px; font-weight: 700; background: var(--pink); color: var(--on-pink); text-align: center; padding: 0 var(--s-50); }
  .agenda-dot:empty { visibility: hidden; }

  .js .agenda-panel:not(.is-active) { display: none; }
  .agenda-panel { margin-bottom: var(--s-400); animation: agenda-in 500ms var(--ease); }
  @keyframes agenda-in { from { opacity: 0; transform: translateY(12px); } }
  .agenda-head { display: grid; grid-template-columns: 44px 1fr 44px; gap: var(--s-100); align-items: center; text-align: center; margin-bottom: var(--s-200); }
  .agenda-head .h-day { font-size: 24px; line-height: 32px; }
  .no-js .agenda-nav, .agenda-nav[disabled] { visibility: hidden; }
  .agenda-nav { width: 44px; height: 44px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
  .agenda-nav:active { transform: scale(.94); }

  .agenda-list { display: grid; gap: var(--s-75); }
  .agenda-item {
    display: grid; grid-template-columns: 64px 1fr 20px; gap: var(--s-100); align-items: center;
    min-height: 64px; padding: var(--s-100) var(--s-200);
    border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line);
    text-decoration: none; color: var(--text); transition: transform var(--t), border-color var(--t);
  }
  .agenda-item:active { transform: scale(.98); }
  .agenda-item:hover { color: var(--text); border-color: var(--lilac); }
  .agenda-item.is-pending { border-color: var(--pink); }
  .agenda-item.is-no_show { opacity: .55; }
  .agenda-item .icon { color: var(--muted); }
  .agenda-time { display: flex; flex-direction: column; align-items: flex-start; }
  .agenda-time strong { font-family: var(--font-goth); font-weight: 400; font-size: 24px; line-height: 32px; }
  .agenda-time small { font-size: 12px; line-height: 16px; color: var(--muted); }
  .agenda-body { display: flex; flex-direction: column; gap: var(--s-25); min-width: 0; }
  .agenda-body > strong { font-size: 16px; line-height: 24px; }
  .agenda-body > span:not(.tag) { font-size: 14px; line-height: 20px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .agenda-body .tag { align-self: flex-start; margin-top: var(--s-50); }
  .agenda-body .tag-pending { color: var(--pink); }

  .agenda-free-title { margin: var(--s-300) 0 var(--s-100); }
  .agenda-free { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-75); }
  .agenda-free a {
    display: grid; place-items: center; min-height: 44px;
    border-radius: var(--r-full); border: 1px dashed var(--line); background: transparent;
    font-weight: 600; text-decoration: none; color: var(--text); font-variant-numeric: tabular-nums;
    transition: background var(--t), border-color var(--t), transform var(--t);
  }
  .agenda-free a:hover, .agenda-free a:focus-visible { border-color: var(--lilac); border-style: solid; color: var(--lilac); }
  .agenda-free a:active { transform: scale(.96); background: var(--lilac-dim); }

  .agenda-fab {
    position: fixed; right: var(--s-200); bottom: var(--s-200); z-index: 40;
    display: inline-flex; align-items: center; gap: var(--s-75);
    padding: var(--s-100) var(--s-300); border-radius: var(--r-full);
    background: var(--lilac); color: var(--on-lilac); font-weight: 700; text-decoration: none;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .55); transition: transform var(--t);
  }
  .agenda-fab:hover { color: var(--on-lilac); }
  .agenda-fab:active { transform: scale(.96); }
  /* Sur mobile, le bouton flottant remplace celui des statistiques */
  .stats > div:has(> .btn[href^="/admin/rendez-vous/nouveau"]) { display: none; }
}

/* Espace gérante sur smartphone : menu d'onglets sur une ligne qui défile */
@media (max-width: 860px) {
  .subnav { flex-wrap: nowrap; overflow-x: auto; width: 100%; border-radius: var(--r-full); scrollbar-width: none; margin-bottom: var(--s-300); }
  .subnav::-webkit-scrollbar { display: none; }
  .subnav a { white-space: nowrap; flex: none; }

  /* Calendrier : en-tête compact */
  .cal-top .page-head { margin-bottom: var(--s-200); }
  .cal-top .title { font-size: 36px; line-height: 40px; margin-bottom: var(--s-100); }
  .cal-top .label, .cal-top .stats { display: none; }
  .cal-week { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; text-align: center; gap: var(--s-75); padding: 0; }
  .cal-week .long, .cal-week .this-week { display: none; }
  .cal-week a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 18px; }
  .cal-week span.cap { order: 0; grid-column: 2; grid-row: 1; font-size: 16px; }
  .cal-week a:first-child { grid-column: 1; grid-row: 1; }
  .cal-week a:nth-child(3) { grid-column: 3; grid-row: 1; }
  .agenda-days { top: 80px; }
}
@media (max-width: 860px) { .agenda-days { top: 96px; } }

/* --- Fiche d'un rendez-vous (espace gérante) ---------------------------- */
.appt-page > p.small a { display: inline-flex; align-items: center; gap: var(--s-50); }
.appt-head { margin: var(--s-300) 0 var(--s-300); }
.appt-head .tag { margin: 0 0 var(--s-100); }
.appt-head .title { font-size: 48px; line-height: 1; margin-bottom: var(--s-75); }
.appt-head .lead { margin-bottom: 0; }
.appt-actions { display: flex; flex-wrap: wrap; gap: var(--s-100); margin-bottom: var(--s-400); }
.btn-warn { color: var(--danger); border-color: var(--danger-dim); }
.btn-warn:hover { background: var(--danger-dim); border-color: var(--danger); color: var(--danger); }
.appt-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-300); align-items: start; }
.appt-card { padding: var(--s-300); border-radius: var(--r-3xl); background: var(--surface); border: 1px solid var(--line); }
.appt-dl { display: grid; grid-template-columns: 112px 1fr; gap: var(--s-100) var(--s-200); margin: var(--s-200) 0; }
.appt-dl dt { color: var(--muted); font-size: 14px; line-height: 24px; }
.appt-dl dd { min-width: 0; overflow-wrap: anywhere; }
.appt-client { display: flex; align-items: center; gap: var(--s-75); font-size: 20px; line-height: 28px; margin-top: var(--s-75); }
.appt-client .icon { color: var(--lilac); }
.price-form { margin-top: var(--s-300); padding-top: var(--s-300); border-top: 1px solid var(--line); }
.price-row { display: flex; gap: var(--s-100); align-items: center; }
.price-row .amount input { width: 128px; font-size: 20px; line-height: 28px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-75); }
.contact-btn {
  display: flex; align-items: center; justify-content: center; gap: var(--s-75); min-height: 48px;
  border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface-2);
  font-weight: 600; text-decoration: none; color: var(--text); transition: border-color var(--t), transform var(--t), color var(--t);
}
.contact-btn .icon { color: var(--lilac); width: 20px; height: 20px; }
.contact-btn:hover { border-color: var(--lilac); color: var(--text); }
.contact-btn:active { transform: scale(.97); }
.row-admin .client-link { text-decoration: none; }
.row-admin .client-link:hover strong { color: var(--lilac); }
@media (max-width: 860px) {
  .appt-head .title { font-size: 36px; line-height: 40px; }
  .appt-grid { grid-template-columns: 1fr; }
  .appt-actions { display: grid; grid-template-columns: 1fr; }
  .appt-actions .btn, .appt-actions form, .appt-actions form .btn { width: 100%; }
  .appt-dl { grid-template-columns: 96px 1fr; }
}
.appt-head .lead::first-letter { text-transform: uppercase; }
.price-form { display: flex; flex-direction: column; gap: var(--s-200); align-items: flex-start; }
.price-form .field { margin: 0; }

/* --- Comptes clientes (espace gérante) ---------------------------------- */
.client-search { display: flex; gap: var(--s-100); margin-bottom: var(--s-200); }
.client-search input { flex: 1; }
.client-list { display: grid; gap: var(--s-75); }
.client-row {
  display: grid; grid-template-columns: 1.4fr 1.6fr 1fr; gap: var(--s-200); align-items: center;
  padding: var(--s-200) var(--s-300); border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: var(--text); transition: border-color var(--t), transform var(--t);
}
.client-row:hover { border-color: var(--lilac); color: var(--text); }
.client-row:active { transform: scale(.99); }
.client-id { display: flex; align-items: center; gap: var(--s-100); min-width: 0; }
.client-id > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.client-id .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { flex: none; width: 40px; height: 40px; border-radius: var(--r-full); display: grid; place-items: center; background: var(--lilac-dim); color: var(--lilac); font-family: var(--font-goth); font-size: 16px; }
.client-kpis { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-75); text-align: center; }
.client-kpis span { display: flex; flex-direction: column; }
.client-kpis b { font-family: var(--font-goth); font-weight: 400; font-size: 20px; line-height: 28px; white-space: nowrap; }
.client-kpis small { font-size: 12px; line-height: 16px; color: var(--muted); }
.client-kpis .warn b { color: #FFB86B; }
.client-kpis .bad b, .client-kpi .is-bad .stat { color: var(--danger); }
.client-kpi .is-warn .stat { color: #FFB86B; }
.client-when { text-align: right; }
.agenda-list.mini { margin: var(--s-200) 0; display: grid; gap: var(--s-75); }
.agenda-list.mini .agenda-item { display: grid; grid-template-columns: 96px 1fr 20px; gap: var(--s-100); align-items: center; padding: var(--s-100) var(--s-200); border-radius: var(--r-xl); background: var(--surface-2); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.agenda-list.mini .agenda-time { display: flex; flex-direction: column; }
.agenda-list.mini .agenda-time strong { font-family: var(--font-goth); font-weight: 400; font-size: 20px; }
.agenda-list.mini .agenda-time small, .agenda-list.mini .agenda-body span { font-size: 12px; color: var(--muted); }
.agenda-list.mini .agenda-body { display: flex; flex-direction: column; }
.table.history { margin-top: var(--s-200); }
.missed { margin-top: var(--s-100); }
.missed li { padding: var(--s-75) 0; border-top: 1px solid var(--line); font-size: 14px; }
.missed li:first-child { border-top: 0; }
.missed .tag { margin: 0 0 0 var(--s-75); }
@media (max-width: 860px) {
  .client-row { grid-template-columns: 1fr; gap: var(--s-100); }
  .client-when { text-align: left; }
  .client-search .btn { padding-left: var(--s-200); padding-right: var(--s-200); }
}
@media (max-width: 860px) {
  .kpis.client-kpi { grid-template-columns: repeat(2, 1fr); gap: var(--s-75); }
  .kpis.client-kpi > div { padding: var(--s-200); }
  .kpis.client-kpi > div:first-child { grid-column: 1 / -1; }
}
.appt-grid > * { min-width: 0; }
.agenda-list.mini .agenda-body span, .agenda-list.mini .agenda-body strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.chip { text-decoration: none; display: inline-flex; align-items: center; }
.pts-chip { display: inline-block; padding: 0 6px; border-radius: 9999px; background: var(--pink-dim); color: var(--pink); font-weight: 600; font-size: 12px; line-height: 18px; margin-right: 4px; }
.pts-big { font-family: var(--font-goth); font-size: 48px; line-height: 1; margin: var(--s-100) 0 var(--s-75); color: var(--pink); }
.pts-big small { font-family: var(--font-ui); font-size: 14px; color: var(--muted); }
.pts-history { margin-top: var(--s-200); }
.pts-history li { display: flex; justify-content: space-between; gap: var(--s-200); align-items: center; padding: var(--s-75) 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.pts-history b { font-family: var(--font-goth); font-weight: 400; font-size: 20px; white-space: nowrap; }
.pts-history .pos { color: var(--lilac); }
.pts-history .neg { color: var(--pink); }
.pts-adjust { display: flex; flex-direction: column; gap: var(--s-100); align-items: flex-start; }
.pts-adjust-row { display: grid; grid-template-columns: 112px 1fr; gap: var(--s-75); width: 100%; }
.loyalty-card { margin-top: var(--s-400); padding: var(--s-300); border-radius: var(--r-3xl); background: #1B1430; border: 1px solid #2C2150; }
.loyalty-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-200); }
.loyalty-bar { height: 10px; border-radius: var(--r-full); background: rgba(255, 255, 255, .08); overflow: hidden; margin: var(--s-200) 0 var(--s-75); }
.loyalty-bar span { display: block; height: 100%; width: var(--w); border-radius: var(--r-full); background: var(--pink); transition: width 900ms var(--ease); }
.loyalty-ready { display: flex; gap: var(--s-75); align-items: flex-start; margin: var(--s-200) 0; padding: var(--s-100) var(--s-200); border-radius: var(--r-2xl); background: var(--lilac-dim); color: var(--text); }
.loyalty-ready .icon { color: var(--lilac); margin-top: 2px; }
.loyalty-card > .muted { margin-top: var(--s-100); }
.reward-list { display: grid; gap: var(--s-75); margin-top: var(--s-200); }
.reward-list li { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-100); align-items: center; padding: var(--s-100) var(--s-200); border-radius: var(--r-2xl); background: rgba(11, 11, 12, .5); border: 1px solid #2C2150; opacity: .6; }
.reward-list li.is-ok { opacity: 1; border-color: var(--pink); }
.reward-list .promo-badge { margin: 0; }
.reward-list b { font-family: var(--font-goth); font-weight: 400; }
.pts-details { margin-top: var(--s-200); }
.pts-details summary { cursor: pointer; font-weight: 600; }
.gift-big { color: var(--lilac); }
.pts-adjust select { width: 100%; }
.pts-adjust .amount input { width: 100%; }
.gift-check { display: flex; gap: var(--s-100); align-items: flex-start; margin-top: var(--s-300); padding: var(--s-200); border-radius: var(--r-2xl); background: var(--lilac-dim); border: 1px solid var(--lilac); cursor: pointer; }
.gift-check input { width: 20px; height: 20px; accent-color: var(--lilac); flex: none; margin-top: 2px; }
.gift-check .icon { color: var(--lilac); }
.gift-inline { display: flex; gap: var(--s-75); align-items: flex-start; padding: var(--s-75) var(--s-100); border-radius: var(--r-xl); background: var(--lilac-dim); border: 1px solid var(--lilac); font-size: 14px; line-height: 20px; cursor: pointer; }
.gift-inline input { width: 18px; height: 18px; accent-color: var(--lilac); margin-top: 1px; flex: none; }
.gift-card { background: #241B3B; border-color: #3B2D61; }
.tag-gift { color: var(--lilac); }
@media (max-width: 860px) {
  .row-cash { grid-template-columns: 1fr; row-gap: var(--s-100); }
  .row-cash > *, .row-cash > form { grid-column: 1; }
  .row-cash .big { font-size: 24px; line-height: 32px; }
}
.move-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-100); width: 100%; }

/* --- Galerie gérée (accueil + espace gérante) -------------------------- */
.gallery { grid-template-columns: repeat(3, 1fr); gap: var(--s-200); }
.gallery-item { aspect-ratio: auto; background: none; border-radius: 0; overflow: visible; }
.gallery-open { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: var(--r-2xl); overflow: hidden; background: var(--surface); cursor: zoom-in; }
.gallery-open img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); }
.gallery-open:hover img { transform: scale(1.04); }
.gallery-open .style-tag { position: absolute; left: var(--s-75); bottom: var(--s-75); }
.gallery-item figcaption { position: static; margin-top: var(--s-75); font-size: 14px; line-height: 20px; color: var(--muted); display: block; }
.price-tag { position: absolute; top: var(--s-75); right: var(--s-75); padding: var(--s-25) var(--s-100); border-radius: var(--r-full); background: var(--pink); color: var(--on-pink); font-family: var(--font-goth); font-size: 18px; line-height: 28px; }
.lightbox { margin: auto; max-width: min(92vw, 720px); max-height: 92vh; padding: 0; border: 1px solid var(--line); border-radius: var(--r-3xl); background: var(--surface); color: var(--text); overflow: hidden; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); backdrop-filter: blur(6px); }
.lightbox img { display: block; width: 100%; max-height: 70vh; object-fit: contain; background: #000; }
.lightbox .lb-info { display: flex; flex-wrap: wrap; gap: var(--s-100) var(--s-200); align-items: center; padding: var(--s-200) var(--s-300) var(--s-300); }
.lightbox .lb-info p[data-lb-caption] { flex-basis: 100%; }
.lightbox .price-tag { position: static; }
.lb-close { position: absolute; top: var(--s-100); right: var(--s-100); width: 40px; height: 40px; border-radius: var(--r-full); border: 0; background: rgba(11, 11, 12, .75); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 2; }

.upload-card { display: grid; grid-template-columns: 280px 1fr; gap: var(--s-300); padding: var(--s-300); border-radius: var(--r-3xl); background: var(--surface); border: 1px solid var(--line); }
.upload-drop { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: var(--r-2xl); border: 2px dashed var(--line); cursor: pointer; overflow: hidden; transition: border-color var(--t); }
.upload-drop:hover, .upload-drop:focus-within { border-color: var(--lilac); }
.upload-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-hint { display: flex; flex-direction: column; align-items: center; gap: var(--s-75); text-align: center; color: var(--muted); padding: var(--s-200); }
.upload-hint .icon { width: 40px; height: 40px; color: var(--lilac); }
.upload-hint strong { color: var(--text); }
.upload-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.upload-card.has-file .upload-hint { display: none; }
.upload-fields { display: flex; flex-direction: column; gap: var(--s-200); align-items: flex-start; }
.upload-fields .field, .upload-fields .move-row { width: 100%; }
.admin-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s-200); margin-top: var(--s-400); }
.admin-photo { display: flex; flex-direction: column; gap: var(--s-100); padding: var(--s-100); border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: var(--s-900); }
.admin-photo.is-hidden { opacity: .6; }
.admin-thumb { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-thumb .tag { position: absolute; top: var(--s-75); left: var(--s-75); margin: 0; background: var(--bg); }
.admin-photo-form { display: flex; flex-direction: column; gap: var(--s-75); }
.admin-photo-form .amount input { width: 100%; }
.admin-photo-actions { display: flex; gap: var(--s-75); justify-content: flex-end; }
.icon-btn { width: 40px; height: 40px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface-2); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { border-color: var(--lilac); }
.icon-btn[disabled] { opacity: .3; cursor: default; }
.icon-btn.danger { color: var(--danger); }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: var(--s-100); }
  .upload-card { grid-template-columns: 1fr; }
  .upload-drop { aspect-ratio: 16 / 10; }
  .price-tag { font-size: 16px; line-height: 24px; }
}
@media (max-width: 860px) {
  .admin-gallery { grid-template-columns: 1fr; gap: var(--s-100); }
  .admin-photo { display: grid; grid-template-columns: 104px 1fr; gap: var(--s-100); align-items: start; }
  .admin-photo .admin-thumb { grid-row: span 2; }
  .admin-photo-actions { justify-content: flex-start; }
  .admin-photo-form textarea { min-height: 48px; }
}
.gallery .gallery-item { aspect-ratio: auto; background: none; border-radius: 0; overflow: visible; }

/* ---------------------------------------------------------------- Apparence (gérante) : roue chromatique */
.theme-form { margin-top: var(--s-400); display: grid; gap: var(--s-300); }
.theme-pickers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-200); }
.color-card { margin: 0; padding: var(--s-200); border: 1px solid var(--line); border-radius: var(--r-xl, 20px); background: var(--surface); display: grid; gap: var(--s-100); min-width: 0; }
.color-card legend { float: left; width: 100%; padding: 0; font-family: var(--font-goth); font-size: 24px; line-height: 32px; text-transform: uppercase; }
.wheel { width: 240px; height: 240px; max-width: 100%; aspect-ratio: 1; justify-self: center; margin: var(--s-100) 0; cursor: crosshair; touch-action: none; border-radius: 50%; }
.color-card input[type=range] { width: 100%; accent-color: var(--text); }
.color-row { display: flex; align-items: flex-end; gap: var(--s-100); }
.color-row .field { flex: 1; margin: 0; }
.color-row input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.swatch { flex: none; width: 48px; height: 48px; border-radius: var(--r-md); border: 1px solid var(--line); }
.color-card .linklike { justify-self: start; color: var(--muted); }
.theme-preview { padding: var(--s-200); border: 1px dashed var(--line); border-radius: var(--r-xl, 20px); }
.theme-preview .title-sm { margin: var(--s-75) 0 var(--s-200); font-size: 40px; }
.theme-preview-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-100); }
.theme-preview-row .tag { margin-top: 0; }
.price-tag.static { position: static; }
.theme-form > .btn { justify-self: start; }
.theme-reset { margin-top: var(--s-200); }
.palette { margin-top: var(--s-400); }
.palette-list { list-style: none; margin: var(--s-200) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-150, 12px); }
.palette-item { position: relative; display: grid; gap: var(--s-75); padding: var(--s-100); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.palette-swatch { display: flex; height: 56px; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: pointer; transition: transform var(--t); }
.palette-swatch:hover { transform: translateY(-2px); }
.palette-swatch span { flex: 1; }
.palette-meta { font-size: 12px; line-height: 16px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.palette-meta strong { color: var(--text); font-family: var(--font-ui); }
.palette-item form { position: absolute; top: var(--s-50); right: var(--s-50); }
.palette-item .icon-btn { width: 28px; height: 28px; background: rgba(11, 11, 12, .7); }
.palette-date { font-family: var(--font-ui); }

/* ---------------------------------------------------------------- Photos d'inspiration (réservation, compte, fiche rendez-vous) */
.inspi.is-enhanced .inspi-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.inspi.is-enhanced .inspi-input:focus-visible + .inspi-add { outline: 2px solid var(--lilac); outline-offset: 2px; }
.inspi-add { justify-self: start; width: fit-content; cursor: pointer; }
.inspi-list { list-style: none; margin: var(--s-100) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-100); }
.inspi-item { position: relative; width: 88px; height: 88px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.inspi-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inspi-item .icon-btn { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; background: rgba(11, 11, 12, .75); }
.inspi-thumbs { list-style: none; margin: var(--s-75) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-75); }
.inspi-thumbs a { display: block; width: 56px; height: 56px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.inspi-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inspi-thumbs a:hover { border-color: var(--lilac); }
.appt-inspi .inspi-thumbs a { width: 120px; height: 120px; }
.tag-inspi { color: var(--lilac); margin: 0 0 0 var(--s-75); vertical-align: 2px; display: inline-flex; align-items: center; gap: 4px; }
.agenda-body .tag-inspi { margin: 0; vertical-align: 0; }
