/* Léma — site web v2 « Magazine ». Tokens du design system Léma v2 — Éditorial.
   Concept : une page de magazine. Papier, encre, une touche de framboise ;
   le cobalt marque l'espace pro et l'app. */

@font-face { font-family: "Colitez Serif"; src: url("fonts/colitez-italic.woff") format("woff"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-var.woff") format("woff"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  /* palette fixe */
  --framboise: #C2185B; --vin: #6E0F2F; --rose-poudre: #F49AB9; --blush: #FBE6EE;
  --cobalt: #1F3A9E; --encre: #1A1519; --papier: #FAF6F2;
  /* sémantique, thème Papier */
  --bg: #FAF6F2; --card: #FFFFFF; --tint: #FBE6EE; --text: #1A1519; --muted: #6B6168;
  --brand: #C2185B; --brand-deep: #6E0F2F; --on-brand: #FFFFFF;
  --action: #1F3A9E; --on-action: #FFFFFF;
  --hair: #E6DADE; --border: #9A8B92; --success: #1E7A4C; --error: #B42318;
  --ph: #F2DCE4; --ph-text: #6E0F2F;
  /* type */
  --f-display: "Colitez Serif", "Bodoni Moda", Didot, Georgia, serif;
  --f-sans: Archivo, "Helvetica Neue", Arial, sans-serif;
  /* formes */
  --r-sm: 6px; --r-md: 12px; --r-lg: 24px; --r-pill: 999px;
  --wrap: 1280px; --gutter: 32px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1A1519; --card: #262024; --tint: #3A1F2B; --text: #FAF6F2; --muted: #B3A8AE;
    --brand: #F49AB9; --brand-deep: #F7C6D6; --on-brand: #1A1519;
    --action: #9DB2FF; --on-action: #1A1519;
    --hair: #3A3236; --border: #7D7077; --success: #6FD3A0; --error: #FF9C8F;
    --ph: #3A1F2B; --ph-text: #F7C6D6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1A1519; --card: #262024; --tint: #3A1F2B; --text: #FAF6F2; --muted: #B3A8AE;
  --brand: #F49AB9; --brand-deep: #F7C6D6; --on-brand: #1A1519;
  --action: #9DB2FF; --on-action: #1A1519;
  --hair: #3A3236; --border: #7D7077; --success: #6FD3A0; --error: #FF9C8F;
  --ph: #3A1F2B; --ph-text: #F7C6D6;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

/* ---------- mise en page ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 16px; } }
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec--tight { padding-block: clamp(40px, 5vw, 64px); }
.sec + .sec.sec--line { border-top: 1px solid var(--hair); }
.sec--tint { background: var(--tint); }
.sec--encre { background: var(--encre); color: var(--papier); --text: #FAF6F2; --muted: #D9CED3; --brand: #F49AB9; --brand-deep: #FBE6EE; --hair: #3A3236; --border: #7D7077; --card: #262024; }
.sec--vin { background: var(--vin); color: var(--papier); --text: #FAF6F2; --muted: #FBE6EE; --brand: #F49AB9; --brand-deep: #FBE6EE; --hair: #8E2A4C; --border: #F7C6D6; }
.sec--encre a:not(.btn), .sec--vin a:not(.btn) { color: var(--brand); }
.row { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); align-items: center; }
.row > * { flex: 1 1 380px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }

/* ---------- typographie ---------- */
.ed { font-family: var(--f-display); font-style: italic; font-weight: 400; letter-spacing: -0.005em; }
.ed em, .accent { font-style: italic; color: var(--brand); }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 400; }
.h-hero { font-family: var(--f-display); font-style: italic; font-size: clamp(52px, 7.6vw, 112px); line-height: .96; }
.h-1 { font-family: var(--f-display); font-style: italic; font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.h-2 { font-family: var(--f-display); font-style: italic; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.05; }
.h-3 { font-family: var(--f-display); font-style: italic; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.h-4 { font-family: var(--f-sans); font-weight: 600; font-size: 20px; line-height: 1.35; }
.ov { font-family: var(--f-sans); font-weight: 600; font-size: 12px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--muted); max-width: 60ch; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.45; }
.impact { font-family: var(--f-sans); font-weight: 900; font-stretch: 62%; font-variation-settings: "wdth" 62; text-transform: uppercase; line-height: .8; letter-spacing: -0.01em; }
p { margin: 0; }
.prose { max-width: 66ch; display: flex; flex-direction: column; gap: 16px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); border: 1px solid transparent; font-family: var(--f-sans); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--brand:hover { background: var(--brand-deep); color: var(--bg); }
.btn--action { background: var(--action); color: var(--on-action); }
.btn--action:hover { color: var(--on-action); filter: brightness(1.12); }
.btn--ghost { background: var(--card); color: var(--text); border-color: var(--border); }
.btn--ghost:hover { color: var(--text); border-color: var(--text); }
.btn--line { background: transparent; color: var(--text); border-color: var(--border); }
.btn--line:hover { color: var(--text); border-color: var(--text); }
.btn--light { background: var(--papier); color: var(--vin); }
.btn--light:hover { background: #FFFFFF; color: var(--vin); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- formulaires ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .lbl { font-size: 13px; font-weight: 600; color: var(--muted); }
.input, .select, .textarea { min-height: 48px; width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--card); color: var(--text); font-size: 16px; }
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.input[aria-invalid="true"] { border-color: var(--error); }
.err { color: var(--error); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--card); color: var(--text); font-size: 14px; cursor: pointer; user-select: none; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip:has(input:checked), .chip[aria-pressed="true"] { border: 2px solid var(--brand); padding: 0 13px; background: var(--tint); color: var(--brand-deep); font-weight: 600; }
.chip:has(input:focus-visible) { outline: 2px solid var(--action); outline-offset: 2px; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: var(--border); position: relative; cursor: pointer; transition: background .15s; margin: 0; flex-shrink: 0; }
.switch input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; transition: transform .15s; }
.switch input:checked { background: var(--success); }
.switch input:checked::after { transform: translateX(18px); }
input[type="range"] { accent-color: var(--brand); width: 100%; }

/* ---------- en-tête ---------- */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); border-bottom: 1px solid var(--hair); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 44px; width: auto; }
.logo .dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .light { display: none; } :root:not([data-theme="light"]) .logo .dark { display: block; } }
:root[data-theme="dark"] .logo .light { display: none; } :root[data-theme="dark"] .logo .dark { display: block; }
.space-tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-action); background: var(--action); padding: 4px 8px; border-radius: var(--r-pill); }
.nav { display: flex; align-items: center; gap: 4px 26px; flex-wrap: wrap; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--brand); }
.nav a[aria-current="page"] { border-bottom-color: var(--brand); }
.head-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; min-height: 44px; min-width: 44px; border: 1px solid var(--border); background: var(--card); border-radius: var(--r-sm); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .site-head .wrap { flex-wrap: wrap; }
  .nav, .head-cta { display: none; width: 100%; margin-left: 0; }
  .site-head.open .nav { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 8px; }
  .site-head.open .nav a { padding: 10px 0; font-size: 17px; }
  .site-head.open .head-cta { display: flex; flex-wrap: wrap; padding-bottom: 16px; }
}

/* ---------- pied de page ---------- */
.site-foot { background: var(--encre); color: #D9CED3; padding-block: 64px 32px; --text: #FAF6F2; --bg: #1A1519; --muted: #B3A8AE; }
.site-foot a { color: #D9CED3; text-decoration: none; }
.site-foot a:hover { color: var(--rose-poudre); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.foot-brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 16px; }
.foot-brand img { height: 120px; width: auto; align-self: flex-start; }
.foot-cols { flex: 2 1 480px; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-cols .ov { color: var(--papier); }
.foot-base { border-top: 1px solid #3A3236; margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; color: #B3A8AE; }

/* ---------- photo et cadres ---------- */
.frame { border-radius: var(--r-lg); overflow: hidden; background: var(--ph); }
.frame img, .arch img { width: 100%; height: 100%; object-fit: cover; }
.arch { border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--ph); }
.medal { border-radius: 50%; overflow: hidden; background: var(--ph); flex-shrink: 0; }
.medal img { width: 100%; height: 100%; object-fit: cover; }
.bw img, img.bw { filter: grayscale(1) contrast(1.05); }

/* ---------- héros accueil ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(32px, 5vw, 72px) clamp(56px, 7vw, 96px); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }
.hero-visual { position: relative; height: clamp(440px, 52vw, 640px); border-radius: var(--r-lg); background: var(--tint); overflow: hidden; }
.hero-visual .impact { position: absolute; left: 4%; top: 5%; font-size: clamp(110px, 15vw, 220px); color: var(--framboise); z-index: 1; }
.hero-visual .arch { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 64%; height: 76%; z-index: 2; border-radius: 999px 999px 0 0; }
.hero-card { position: absolute; right: 16px; bottom: 20px; z-index: 3; width: min(270px, 70%); background: var(--card); border-radius: var(--r-md); padding: 12px; display: flex; gap: 12px; align-items: center; box-shadow: 0 1px 0 var(--hair); }
.search { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.search-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.search-row .field { flex: 1 1 180px; }

/* ---------- cartes ---------- */
.card { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-md); }
.pad { padding: 20px; }
.cat { text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 12px; }
.cat .frame { aspect-ratio: 4 / 5; }
.cat .frame img { transition: transform .5s ease; }
.cat:hover .frame img { transform: scale(1.04); }
.cat:hover { color: var(--text); }
.pro-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-md); overflow: hidden; transition: border-color .15s; }
.pro-card:hover { border-color: var(--brand); color: var(--text); }
.pro-card .frame { border-radius: 0; aspect-ratio: 4 / 3; }
.pro-card .body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.pro-card .top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.price { font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; line-height: 16px; padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--border); color: var(--text); white-space: nowrap; }
.tag--place { background: var(--tint); border-color: transparent; color: var(--brand-deep); font-weight: 600; }
.verified { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--success); }
.rating { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- étapes, accordéon, onglets ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--text); padding-top: 16px; }
.steps .n { font-family: var(--f-display); font-style: italic; font-size: 52px; line-height: 1; color: var(--brand); }
details.acc { border-bottom: 1px solid var(--hair); }
details.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 17px; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--brand); transition: transform .2s; }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc .ans { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--hair); flex-wrap: wrap; }
.tabs button { min-height: 40px; padding: 0 18px; border-radius: var(--r-pill); border: 0; background: transparent; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }

/* ---------- recherche ---------- */
.results-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .results-layout { grid-template-columns: 1fr; } }
.filters { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 900px) { .filters { position: static; } }
.filters fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.filters legend { font-weight: 600; font-size: 14px; margin-bottom: 10px; padding: 0; }
.empty { text-align: center; padding: 48px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty img { width: 160px; }

/* ---------- profil ---------- */
.profile-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: end; }
@media (max-width: 900px) { .profile-hero { grid-template-columns: 1fr; } }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
@media (max-width: 1000px) { .profile-layout { grid-template-columns: 1fr; } }
.book { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); padding: 22px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 1000px) { .book { position: static; } }
.svc { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.svc:last-child { border-bottom: 0; }
.svc-pick { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; flex: 1; min-width: 0; }
.svc-pick input { margin-top: 5px; accent-color: var(--brand); width: 18px; height: 18px; flex-shrink: 0; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.day { flex: 0 0 auto; min-width: 64px; min-height: 64px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; font-size: 12px; color: var(--muted); }
.day b { font-size: 18px; color: var(--text); font-variant-numeric: tabular-nums; }
.day[aria-pressed="true"] { border: 2px solid var(--brand); background: var(--tint); color: var(--brand-deep); }
.day[aria-pressed="true"] b { color: var(--brand-deep); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { min-height: 44px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--card); cursor: pointer; font-variant-numeric: tabular-nums; font-size: 15px; }
.slot[aria-pressed="true"] { border: 2px solid var(--brand); background: var(--tint); color: var(--brand-deep); font-weight: 600; }
.slot[disabled] { text-decoration: line-through; color: var(--muted); cursor: not-allowed; border-style: dashed; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sum-total { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 18px; border-top: 1px solid var(--hair); padding-top: 14px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery .frame { aspect-ratio: 1; }
.review { padding: 18px 0; border-bottom: 1px solid var(--hair); display: flex; flex-direction: column; gap: 6px; }

/* ---------- stepper ---------- */
.stepper { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.stepper li .dot { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.stepper li.on { color: var(--text); }
.stepper li.on .dot { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.stepper li.done .dot { background: var(--text); border-color: var(--text); color: var(--bg); }
.stepper li + li::before { content: ""; width: 24px; height: 1px; background: var(--border); }
.panel { display: flex; flex-direction: column; gap: 22px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.dropzone { border: 1px dashed var(--border); border-radius: var(--r-md); padding: 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: var(--card); }
.dropzone img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--r-sm); }
.confirm { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-block: 24px; }
.confirm img { width: 220px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); transform: translate(-50%, 20px); opacity: 0; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: var(--r-pill); font-weight: 600; font-size: 15px; z-index: 60; transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- espace pro : application ---------- */
.app { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - 77px); }
@media (max-width: 900px) { .app { grid-template-columns: 1fr; } }
.side { border-right: 1px solid var(--hair); padding: 24px 16px; display: flex; flex-direction: column; gap: 4px; background: var(--card); }
@media (max-width: 900px) { .side { border-right: 0; border-bottom: 1px solid var(--hair); flex-direction: row; overflow-x: auto; padding: 12px 16px; } }
.side a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.side a:hover { background: var(--tint); color: var(--text); }
.side a[aria-current="page"] { background: var(--text); color: var(--bg); }
.side svg { width: 18px; height: 18px; flex-shrink: 0; }
.main { padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.kpis { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.kpi { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.kpi .v { font-family: var(--f-display); font-style: italic; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi .d { font-size: 13px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.pill--new { background: var(--tint); color: var(--brand-deep); }
.pill--ok { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.pill--no { background: color-mix(in srgb, var(--error) 12%, transparent); color: var(--error); }
.pill--home::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.pill--salon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--action); }
.req { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.req:last-child { border-bottom: 0; }
@media (max-width: 600px) { .req { grid-template-columns: auto minmax(0, 1fr); } .req .acts { grid-column: 1 / -1; } }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
.chart { width: 100%; height: auto; display: block; }
.chart .gl { stroke: var(--hair); stroke-width: 1; }
.chart .ax { fill: var(--muted); font-size: 12px; font-family: var(--f-sans); }
.chart .bar { fill: var(--brand); opacity: .35; }
.chart .bar.cur { opacity: 1; }
.chart .val { fill: var(--text); font-size: 12px; font-weight: 600; font-family: var(--f-sans); }
.week { display: grid; grid-template-columns: 56px repeat(7, minmax(110px, 1fr)); border: 1px solid var(--hair); border-radius: var(--r-md); overflow: hidden; background: var(--card); min-width: 860px; }
.week-scroll { overflow-x: auto; }
.week .hd { padding: 10px 8px; border-bottom: 1px solid var(--hair); font-size: 13px; font-weight: 600; text-align: center; background: var(--bg); }
.week .hd.today { color: var(--brand); }
.week .hours { position: relative; border-right: 1px solid var(--hair); }
.week .hours span { position: absolute; right: 8px; font-size: 11px; color: var(--muted); transform: translateY(-50%); font-variant-numeric: tabular-nums; }
.week .col { position: relative; border-right: 1px solid var(--hair); background-image: linear-gradient(var(--hair) 1px, transparent 1px); background-size: 100% 48px; }
.week .col:last-child { border-right: 0; }
.ev { position: absolute; left: 4px; right: 4px; border-radius: 8px; padding: 6px 8px; font-size: 12px; line-height: 1.3; cursor: pointer; border: 0; text-align: left; overflow: hidden; }
.ev--home { background: var(--tint); color: var(--brand-deep); border-left: 0; box-shadow: inset 3px 0 0 var(--brand); }
.ev--salon { background: color-mix(in srgb, var(--action) 14%, var(--card)); color: var(--text); box-shadow: inset 3px 0 0 var(--action); }
.ev b { display: block; font-size: 12px; }
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--hair); }
table.t td { padding: 12px; border-bottom: 1px solid var(--hair); vertical-align: middle; }
table.t input.input { min-height: 40px; padding: 6px 10px; }

/* ---------- divers ---------- */
.note { font-size: 13px; color: var(--muted); border-left: 0; }
.badge-ex { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--border); border-radius: var(--r-pill); padding: 2px 8px; }
.quote { font-family: var(--f-display); font-style: italic; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.15; margin: 0; }
.mascot-sm { width: 120px; }
.reveal { animation: rise .6s ease both; }
.reveal.d1 { animation-delay: .08s; } .reveal.d2 { animation-delay: .16s; } .reveal.d3 { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.split-2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.split-agenda { grid-template-columns: minmax(0, 1fr) 300px; }
@media (max-width: 1000px) { .split-2, .split-agenda { grid-template-columns: 1fr; } }
.profile-layout > *, .results-layout > *, .profile-hero > *, .hero > *, .sim > * { min-width: 0; }
.sec--encre .btn--brand, .sec--vin .btn--brand { background: var(--framboise); color: #FFFFFF; }
.sec--encre .btn--brand:hover, .sec--vin .btn--brand:hover { background: #A3134C; color: #FFFFFF; }
.app > * { min-width: 0; }
.link-back { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-back::before { content: "←"; }

/* ---------- héros photo : la photo en arrière-plan du texte ---------- */
.photo-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--encre); color: var(--papier);
  --text: #FAF6F2; --muted: #EDE4E8; --brand: #F49AB9; --brand-deep: #FBE6EE; --hair: rgba(250,246,242,.25); --border: #B3A8AE; }
.photo-hero > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26,21,25,.88) 0%, rgba(26,21,25,.7) 45%, rgba(26,21,25,.3) 100%); }
.photo-hero.ph-center::before { background: rgba(26,21,25,.66); }
@media (max-width: 760px) { .photo-hero::before { background: rgba(26,21,25,.74); } }
.photo-hero .inner { position: relative; padding-block: clamp(56px, 9vw, 128px); display: flex; flex-direction: column; gap: 22px; max-width: 760px; }
.photo-hero.ph-tall .inner { min-height: min(78vh, 760px); justify-content: center; }
.photo-hero.ph-slim .inner { padding-block: clamp(36px, 5vw, 64px); }
.photo-hero .lead { color: var(--muted); }
.photo-hero .ov { color: var(--brand); }
.photo-hero .accent, .photo-hero .ed em { color: var(--brand); }
.photo-hero .btn--ghost, .photo-hero .btn--line { background: transparent; color: var(--papier); border-color: #D9CED3; }
.photo-hero .btn--ghost:hover, .photo-hero .btn--line:hover { border-color: var(--papier); color: var(--papier); }
.photo-hero .btn--brand { background: var(--framboise); color: #FFFFFF; }
.photo-hero .btn--brand:hover { background: #A3134C; color: #FFFFFF; }
.photo-hero .search, .photo-hero .card { --text: #1A1519; --muted: #6B6168; --brand: #C2185B; --brand-deep: #6E0F2F; --border: #9A8B92; --hair: #E6DADE; --card: #FFFFFF; --tint: #FBE6EE; color: var(--text); background: #FFFFFF; }
.photo-hero .search .btn--brand { background: var(--framboise); }
.photo-hero .verified { color: #9EE6BF; }
.photo-hero .hero-impact { position: absolute; right: 2%; bottom: -0.08em; font-size: clamp(90px, 14vw, 220px); color: var(--framboise); opacity: .9; pointer-events: none; z-index: 0; }
@media (max-width: 760px) { .photo-hero .hero-impact { display: none; } }
.app-banner { border-radius: var(--r-lg); }
.app-banner .inner { padding: clamp(24px, 3vw, 36px); max-width: none; }
.photo-hero > .bgwrap { position: absolute; inset: 0; z-index: -2; }
.photo-hero > .bgwrap img { width: 100%; height: 100%; object-fit: cover; }
.photo-hero .flip, .photo-hero .flip img { transform: scaleX(-1); }
.photo-hero .tag--place { background: rgba(250,246,242,.16); color: #FAF6F2; }
.photo-hero .tag { border-color: rgba(250,246,242,.5); color: #FAF6F2; }
.photo-hero .rating { color: #EDE4E8; }
.photo-hero .switch span { color: inherit; }
.photo-hero .bw-img { filter: grayscale(1) contrast(1.05); }
.table-wrap { position: relative; }
.app-banner .inner.split-head { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
