/* SEEDKA Sites : surcouche du design system SEEDKA (seedka.css).
   Même construction (jetons --st-*, cibles de 48 px, champs de 16 px, focus jaune balisage) ; couleur de marque propre à Sites :
   « vert sapin », contrastes vérifiés (texte #1D5446 sur blanc : 8,9:1 ; blanc sur #1D5446 : 8,9:1). */
@font-face { font-family: "Inter"; src: url("/fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --st-bleu-900: #0F2E26;
  --st-bleu-800: #15392F;
  --st-bleu-700: #1D5446;
  --st-bleu-500: #3D7A69;
  --st-bleu-200: #C3DBD3;
  --st-bleu-100: #E2EEEA;
  --st-bleu-50:  #F1F7F5;
  --st-font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --st-font-display: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --ss-max: 1180px;
}

body { margin: 0; background: var(--st-bg); color: var(--st-text); font-family: var(--st-font); font-size: var(--st-fs-16); line-height: var(--st-lh); }
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }

/* -- Barre de l'application ---------------------------------------------------------------------- */
.ss-top { position: sticky; top: 0; z-index: 30; background: var(--st-surface); border-bottom: 1px solid var(--st-line); }
.ss-top__in { max-width: var(--ss-max); margin: 0 auto; display: flex; align-items: center; gap: var(--st-s4); min-height: 60px; padding: 0 var(--st-gutter); }
.ss-brand { display: inline-flex; align-items: baseline; gap: 6px; color: var(--st-text); text-decoration: none; font-weight: 700; letter-spacing: .02em; min-height: 44px; align-items: center; }
.ss-brand__mark { width: 28px; height: 28px; border-radius: 7px; background: var(--st-primary); display: inline-grid; place-items: center; }
.ss-brand__mark span { display: block; width: 10px; height: 14px; border: 2px solid #fff; border-top-color: var(--st-balisage); }
.ss-brand b { font-size: 17px; }
.ss-brand em { font-style: normal; font-weight: 500; color: var(--st-text-2); }
.ss-nav { display: none; gap: var(--st-s1); margin-left: var(--st-s4); }
.ss-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--st-s3); color: var(--st-text-2); text-decoration: none; border-radius: var(--st-r-sm); font-weight: 500; }
.ss-nav a[aria-current="page"] { color: var(--st-primary-text); background: var(--st-primary-tint); }
.ss-nav a:hover { color: var(--st-text); }
.ss-top__end { margin-left: auto; display: flex; align-items: center; gap: var(--st-s2); }
.ss-top__end form { margin: 0; }
.ss-tabs { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; background: var(--st-surface); border-top: 1px solid var(--st-line); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-bottom: var(--st-safe-bottom); }
.ss-tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; color: var(--st-text-2); text-decoration: none; font-size: var(--st-fs-12); font-weight: 600; }
.ss-tabs a[aria-current="page"] { color: var(--st-primary-text); }
.ss-main { max-width: var(--ss-max); margin: 0 auto; padding: var(--st-s6) var(--st-gutter) calc(96px + var(--st-safe-bottom)); }
@media (min-width: 900px) {
  .ss-nav { display: flex; }
  .ss-tabs { display: none; }
  .ss-main { padding: var(--st-s8) var(--st-s6) var(--st-s12); }
}

/* -- Titres de page ---------------------------------------------------------------------------- */
.ss-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--st-s4); margin-bottom: var(--st-s6); }
.ss-head h1 { margin: 0; font-size: var(--st-fs-28); line-height: 1.15; letter-spacing: -.01em; }
.ss-head p { margin: var(--st-s2) 0 0; color: var(--st-text-2); max-width: 60ch; }
@media (min-width: 900px) { .ss-head h1 { font-size: var(--st-fs-36); } }

.ss-card { background: var(--st-surface); border: 1px solid var(--st-line); border-radius: var(--st-r-md); padding: var(--st-s5); }
.ss-card + .ss-card { margin-top: var(--st-s4); }
.ss-card h2 { margin: 0 0 var(--st-s2); font-size: var(--st-fs-18); }
.ss-muted { color: var(--st-text-2); }
.ss-stack > * + * { margin-top: var(--st-s4); }
.ss-row { display: flex; flex-wrap: wrap; gap: var(--st-s3); align-items: center; }
.ss-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border-radius: var(--st-r-pill); font-size: var(--st-fs-14); font-weight: 600; background: var(--st-neutral-tint); color: var(--st-neutral-text); }
.ss-pill--ok { background: var(--st-ok-tint); color: var(--st-ok-text); }
.ss-pill--warn { background: var(--st-warn-tint); color: var(--st-warn-text); }

/* -- Pages d'accès (inscription, connexion) --------------------------------------------------------- */
.ss-auth { min-height: 100vh; min-height: 100dvh; display: grid; }
.ss-auth__side { display: none; background: var(--st-bleu-900); color: #DCE9E4; padding: var(--st-s12); }
.ss-auth__side h2 { color: #fff; font-size: 30px; line-height: 1.2; margin: var(--st-s12) 0 var(--st-s6); max-width: 18ch; letter-spacing: -.01em; }
.ss-auth__side ol { margin: 0; padding: 0; list-style: none; counter-reset: s; max-width: 40ch; }
.ss-auth__side li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: var(--st-s3); padding: var(--st-s4) 0; border-top: 1px solid rgba(255,255,255,.12); }
.ss-auth__side li::before { content: counter(s); font-weight: 700; color: var(--st-balisage); font-variant-numeric: tabular-nums; }
.ss-auth__side .ss-brand { color: #fff; }
.ss-auth__side .ss-brand em { color: #A8C4BA; }
.ss-auth__main { display: flex; flex-direction: column; justify-content: center; padding: var(--st-s8) var(--st-gutter); background: var(--st-surface); }
.ss-auth__form { width: 100%; max-width: 420px; margin: var(--st-s8) auto 0; }
.ss-auth__form h1 { font-size: var(--st-fs-28); margin: 0 0 var(--st-s2); letter-spacing: -.01em; }
.ss-auth__main > .ss-brand { align-self: center; }
@media (min-width: 1024px) {
  .ss-auth { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .ss-auth__side { display: block; }
  .ss-auth__main > .ss-brand { display: none; }
}
.ss-code { font-size: 28px; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
.ss-check { display: flex; gap: var(--st-s3); align-items: flex-start; min-height: 44px; }
.ss-check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--st-primary); }
.ss-errors { margin: 0 0 var(--st-s5); }
.ss-link-btn { background: none; border: 0; padding: 0 var(--st-s2); min-height: 44px; color: var(--st-primary-text); text-decoration: underline; font: inherit; cursor: pointer; }

/* -- Accueil public ------------------------------------------------------------------------------ */
.ss-hero { padding: var(--st-s10) 0 var(--st-s8); }
.ss-hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.04; letter-spacing: -.025em; margin: 0 0 var(--st-s5); max-width: 16ch; }
.ss-hero p { font-size: var(--st-fs-18); color: var(--st-text-2); max-width: 52ch; margin: 0 0 var(--st-s6); }
.ss-steps { display: grid; gap: var(--st-s4); margin: var(--st-s8) 0; padding: 0; list-style: none; counter-reset: s; }
.ss-steps li { counter-increment: s; background: var(--st-surface); border-top: 3px solid var(--st-primary); padding: var(--st-s5); }
.ss-steps li::before { content: "0" counter(s); display: block; font-weight: 700; color: var(--st-primary-text); margin-bottom: var(--st-s2); font-variant-numeric: tabular-nums; }
.ss-steps h3 { margin: 0 0 var(--st-s2); font-size: var(--st-fs-18); }
.ss-steps p { margin: 0; color: var(--st-text-2); }
@media (min-width: 900px) { .ss-steps { grid-template-columns: repeat(3, 1fr); } }
.ss-foot { border-top: 1px solid var(--st-line); color: var(--st-text-2); font-size: var(--st-fs-14); padding: var(--st-s6) var(--st-gutter); text-align: center; }
.ss-foot a { color: inherit; }

/* -- Utilitaires (aucun style en ligne : CSP stricte) ------------------------------------------------- */
.ss-narrow { max-width: 640px; }
.ss-h1-flush { margin-top: 0; }
.ss-pre { white-space: pre-wrap; font: inherit; margin: 0; }
.ss-mt { margin-top: var(--st-s4); }
@media (max-width: 479px) { .ss-hide-sm { display: none !important; } }

/* -- Entretien (assistant) : conversation qui défile, zone de réponse fixée en bas -------------------------- */
.ss-main--app { padding-bottom: 0; }
.as { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; height: calc(100dvh - 61px - var(--st-s6) - 64px - var(--st-safe-bottom)); min-height: 440px; }
@media (min-width: 900px) { .as { height: calc(100dvh - 60px - var(--st-s8)); } }
.as__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--st-s3) var(--st-s6); padding-bottom: var(--st-s4); border-bottom: 1px solid var(--st-line); flex: none; }
.as__head h1 { margin: 0; font-size: var(--st-fs-22); letter-spacing: -.01em; }
.as__head p { margin: 2px 0 0; font-size: var(--st-fs-14); }
.as__progress { display: grid; gap: 6px; min-width: 200px; flex: 1 1 200px; max-width: 280px; }
.as__bar { display: block; height: 4px; background: var(--st-line); border-radius: 2px; overflow: hidden; }
.as__bar > span { display: block; height: 100%; width: 0; background: var(--st-primary); transition: width .3s; }
.as__count { font-size: var(--st-fs-14); color: var(--st-text-2); font-variant-numeric: tabular-nums; }
.as__log { list-style: none; margin: 0; padding: var(--st-s4) 2px; display: flex; flex-direction: column; gap: var(--st-s3); overflow-y: auto; flex: 1 1 0; min-height: 48px; overscroll-behavior: contain; }
.as__log > :first-child { margin-top: auto; }
.as__log:focus-visible { outline: none; box-shadow: inset var(--st-focus-ring); }
.as__msg { display: flex; flex-direction: column; max-width: min(88%, 60ch); }
.as__msg p { margin: 0; padding: 10px 14px; border-radius: 12px; line-height: 1.5; max-width: none; }
.as__msg--bot { align-self: flex-start; }
.as__msg--bot p { background: var(--st-surface); border: 1px solid var(--st-line); border-top-left-radius: 3px; }
.as__msg--me { align-self: flex-end; align-items: flex-end; }
.as__msg--me p { background: var(--st-primary); color: var(--st-on-primary); border-top-right-radius: 3px; }
.as__voice { font-size: var(--st-fs-12); color: var(--st-text-2); margin-top: 2px; }
.as__composer { flex: 0 1 auto; min-height: 0; overflow-y: auto; background: var(--st-surface); border: 1px solid var(--st-line); border-radius: var(--st-r-md) var(--st-r-md) 0 0; padding: var(--st-s4); box-shadow: 0 -10px 24px rgba(23, 33, 46, .06); }
@media (min-width: 900px) { .as__composer { padding: var(--st-s5); } }
.as__composer[aria-busy="true"] { opacity: .6; pointer-events: none; }
.as__question { margin: 0 0 var(--st-s3); font-size: var(--st-fs-18); line-height: 1.35; letter-spacing: -.005em; max-width: 60ch; text-wrap: pretty; }
.as__question:focus { outline: none; }
.as__help { margin: 0 0 var(--st-s3); font-size: var(--st-fs-14); color: var(--st-text-2); max-width: 70ch; }
.as__widget:empty { display: none; }
.as__widget > * + * { margin-top: var(--st-s3); }
.as__replies { display: flex; flex-wrap: wrap; gap: var(--st-s2); }
.as__reply { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 44px; padding: 7px 14px; border: 1px solid var(--st-line-input); background: var(--st-surface); color: var(--st-text); border-radius: 8px; font: inherit; font-weight: 600; font-size: var(--st-fs-14); cursor: pointer; text-align: left; transition: border-color var(--st-dur), background var(--st-dur); }
.as__reply small { font-weight: 400; color: var(--st-text-2); font-size: var(--st-fs-12); max-width: 34ch; }
.as__reply:hover { border-color: var(--st-primary); background: var(--st-primary-tint); }
.as__checks { border: 0; margin: 0; padding: 0; display: grid; gap: var(--st-s2); }
@media (min-width: 600px) { .as__checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.as__checks legend { margin-bottom: var(--st-s2); }
.tick { display: flex; gap: var(--st-s3); align-items: flex-start; min-height: 44px; padding: 10px 12px; border: 1px solid var(--st-line-input); border-radius: 8px; background: var(--st-surface); cursor: pointer; transition: border-color var(--st-dur), background var(--st-dur); }
.tick:hover { border-color: var(--st-primary); }
.tick:has(input:checked) { border-color: var(--st-primary); background: var(--st-primary-tint); }
.tick:has(input:focus-visible) { box-shadow: var(--st-focus-ring); }
.tick input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--st-primary); }
.tick__body { display: grid; gap: 1px; font-weight: 600; font-size: var(--st-fs-14); line-height: 1.35; }
.tick__body small { font-weight: 400; color: var(--st-text-2); font-size: var(--st-fs-12); }
.tick--compact { padding: 8px 12px; }
.as__continue { margin-top: var(--st-s4); }
.as__alt { display: flex; flex-wrap: wrap; gap: var(--st-s2); }
.as__input { display: grid; grid-template-columns: 1fr; gap: var(--st-s2); margin-top: var(--st-s3); }
.as__input:first-child, .as__widget:empty + .as__input { margin-top: 0; }
.as__input textarea { min-height: 44px; resize: vertical; }
@media (min-width: 600px) { .as__input { grid-template-columns: 1fr auto auto; align-items: end; } }
.as__mic[aria-pressed="true"] { background: var(--st-danger-tint); border-color: var(--st-danger); color: var(--st-danger-text); }
.as__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--st-s4); margin-top: var(--st-s2); }
.as__foot .st-help { margin: 0; }
.as__speak { font-size: var(--st-fs-14); color: var(--st-text-2); }
.as__restart { font-size: var(--st-fs-14); padding: 0; }
@media (max-width: 599px) { .as__titles p { display: none; } .as__head { padding-bottom: var(--st-s3); } }
.as__grid { display: grid; gap: 0 var(--st-s4); }
@media (min-width: 600px) { .as__grid { grid-template-columns: 1fr 1fr; } }
.as__inline { display: flex; gap: var(--st-s2); margin-top: 0; }
.as__inline .st-input { flex: 1; min-width: 0; }
.st-field > .as__inline { margin-top: var(--st-s2); }
.as__years { max-width: 140px; }
.as__show { font-size: var(--st-fs-14); }

/* Prestations en lignes */
.svc__head, .svc__row { display: grid; grid-template-columns: 26px minmax(0, 1fr) 96px 132px 44px; gap: var(--st-s2); align-items: center; }
.svc__head { padding: 0 0 4px; font-size: var(--st-fs-12); font-weight: 600; color: var(--st-text-2); }
.svc__head span:first-child { grid-column: 2; }
.svc__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--st-s2); }
.svc__num { font-variant-numeric: tabular-nums; color: var(--st-text-2); font-size: var(--st-fs-14); text-align: right; }
.svc__cell { min-width: 0; }
.svc__row.is-doubt .st-input { border-color: var(--st-warn-text); background: var(--st-warn-tint); }
.svc__add { margin-top: var(--st-s3); }
.svc__sugg { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: var(--st-s3); }
.svc__sugg-label { font-size: var(--st-fs-14); color: var(--st-text-2); margin-right: 4px; }
.svc__paste { margin-top: var(--st-s3); }
.svc__paste summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--st-primary-text); font-weight: 600; cursor: pointer; }
.svc__paste .st-textarea { margin: var(--st-s2) 0; }
.svc__notes { list-style: none; margin: var(--st-s2) 0 0; padding: 0; font-size: var(--st-fs-14); display: grid; gap: 4px; }
.svc__notes .is-doubt { color: var(--st-warn-text); }
@media (max-width: 599px) {
  .svc__head { display: none; }
  .svc__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; padding: var(--st-s2) 0 var(--st-s3); border-bottom: 1px solid var(--st-line); }
  .svc__num { display: none; }
  .svc__row .svc__cell:nth-of-type(2) { grid-column: 1 / -1; }
}
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px dashed var(--st-line-input); border-radius: 999px; background: transparent; color: var(--st-text); font: inherit; font-size: var(--st-fs-14); cursor: pointer; }
.chip:hover { border-style: solid; border-color: var(--st-primary); }
.chip[disabled] { opacity: .45; cursor: default; }

/* Adresse (autocomplétion) */
.addr { position: relative; }
.addr__list { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--st-surface); border: 1px solid var(--st-line-strong); border-radius: var(--st-r-sm); box-shadow: var(--st-shadow-pop); max-height: 280px; overflow: auto; }
.addr__opt { display: grid; gap: 1px; padding: 9px 10px; min-height: 44px; border-radius: 4px; cursor: pointer; font-size: var(--st-fs-14); }
.addr__opt span { color: var(--st-text-2); font-size: var(--st-fs-12); }
.addr__opt[aria-selected="true"], .addr__opt:hover { background: var(--st-primary-tint); }
.addr__empty { padding: 10px; color: var(--st-text-2); font-size: var(--st-fs-14); }

/* Choix segmentés (rayon) et carte SVG */
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg__opt { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--st-line-input); border-radius: 8px; cursor: pointer; font-size: var(--st-fs-14); font-weight: 600; }
.seg__opt input { accent-color: var(--st-primary); }
.seg__opt:has(input:checked) { border-color: var(--st-primary); background: var(--st-primary-tint); color: var(--st-primary-text); }
.seg__opt:has(input:focus-visible) { box-shadow: var(--st-focus-ring); }
.map { border: 1px solid var(--st-line); border-radius: var(--st-r-md); overflow: hidden; background: var(--st-surface-2); }
.map:empty { display: none; }
.map__svg { width: 100%; height: clamp(190px, 38vw, 300px); display: block; }
.map__bg { fill: #EEF2EC; }
.map__grid { stroke: #DCE3D8; stroke-width: 1; }
.map__zone { fill: rgba(29, 84, 70, .14); stroke: #1D5446; stroke-width: 2; }
.map__town { fill: #8A948C; }
.map__town.is-in { fill: #1D5446; }
.map__pin { fill: #F2BE1A; stroke: #17212E; stroke-width: 2; }
.map__label { font: 600 12px/1 var(--st-font); fill: #17212E; paint-order: stroke; stroke: #EEF2EC; stroke-width: 3px; }
.map__label--main { font-size: 14px; }
.map__scale { stroke: #17212E; stroke-width: 3; }
.map__caption, .map__empty { margin: 0; padding: var(--st-s2) var(--st-s3); font-size: var(--st-fs-14); color: var(--st-text-2); background: var(--st-surface); border-top: 1px solid var(--st-line); max-width: none; }

/* Photos : dépôt, vignettes, suppression */
.drop { display: grid; place-items: center; gap: 2px; padding: var(--st-s6) var(--st-s4); border: 1.5px dashed var(--st-line-input); border-radius: var(--st-r-md); text-align: center; cursor: pointer; background: var(--st-bg); min-height: 96px; }
.drop strong { color: var(--st-primary-text); }
.drop span { font-size: var(--st-fs-14); color: var(--st-text-2); }
.drop.is-over, .drop:hover { border-color: var(--st-primary); background: var(--st-primary-tint); }
.drop:has(input:focus-visible) { box-shadow: var(--st-focus-ring); }
.thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: var(--st-s2); }
.thumbs:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; border-radius: var(--st-r-sm); overflow: hidden; background: var(--st-surface-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__del { position: absolute; top: 2px; right: 2px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; }
.thumb__del span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(23, 33, 46, .78); color: #fff; font-size: 18px; line-height: 1; }

/* -- Récapitulatif ------------------------------------------------------------------------------------ */
.recap { max-width: 860px; }
.recap__grid { display: grid; gap: 0 var(--st-s5); }
@media (min-width: 760px) { .recap__grid { grid-template-columns: 1fr 1fr; } }
.recap__checks { border: 0; padding: 0; margin: 0 0 var(--st-s4); display: grid; gap: var(--st-s1); }
@media (min-width: 760px) { .recap__checks { grid-template-columns: 1fr 1fr; } }
.recap__themes { border: 0; padding: 0; margin: 0 0 var(--st-s4); display: grid; gap: var(--st-s2); }
@media (min-width: 760px) { .recap__themes { grid-template-columns: repeat(3, 1fr); } }
.recap__theme { display: flex; gap: var(--st-s3); align-items: flex-start; padding: var(--st-s3); border: 1.5px solid var(--st-line); border-radius: var(--st-r-md); background: var(--st-surface); cursor: pointer; min-height: 44px; }
.recap__theme:has(input:checked) { border-color: var(--st-primary); background: var(--st-primary-tint); }
.recap__theme input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--st-primary); flex: none; }
.recap__theme small { display: block; color: var(--st-text-2); font-size: var(--st-fs-14); margin-top: 2px; }
.recap__color { display: flex; gap: var(--st-s2); align-items: center; }
.recap__swatch { width: 52px; height: 48px; border: 1px solid var(--st-line-input); border-radius: var(--st-r-sm); padding: 2px; background: var(--st-surface); flex: none; }
.recap__explain { color: var(--st-text-2); max-width: 70ch; margin: 0 0 var(--st-s4); }
.recap__table { display: grid; border-top: 1px solid var(--st-line); }
.recap__th { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: var(--st-s4); margin: 0; padding: var(--st-s2) 0; font-size: var(--st-fs-12); font-weight: 600; color: var(--st-text-2); max-width: none; }
.recap__tr { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: var(--st-s4); align-items: center; border-top: 1px solid var(--st-line); }
.recap__radio { display: flex; gap: var(--st-s2); align-items: center; min-height: 44px; cursor: pointer; font-size: var(--st-fs-14); }
.recap__radio input { width: 18px; height: 18px; accent-color: var(--st-primary); }
@media (max-width: 559px) { .recap__th, .recap__tr { grid-template-columns: minmax(0, 1fr) 128px; gap: var(--st-s2); } }
@media (min-width: 760px) { .recap__checks--3 { grid-template-columns: repeat(3, 1fr); } }
.recap .map { margin-bottom: var(--st-s4); }
.recap__actions { display: flex; flex-wrap: wrap; gap: var(--st-s3); margin-top: var(--st-s6); }

/* -- Propositions ------------------------------------------------------------------------------------- */
.props { list-style: none; margin: 0 0 var(--st-s6); padding: 0; display: grid; gap: var(--st-s6); }
@media (min-width: 1100px) { .props:not(.props--desktop) { grid-template-columns: repeat(3, 1fr); } }
.prop { background: var(--st-surface); border: 1px solid var(--st-line); border-radius: var(--st-r-md); overflow: hidden; }
.prop__frame { position: relative; height: 560px; background: var(--st-surface-2); overflow: hidden; }
.prop__frame iframe { position: absolute; top: 0; left: 0; width: 390px; height: 100%; border: 0; transform-origin: 0 0; background: #fff; }
.props--desktop .prop__frame { height: 520px; }
.prop__body { padding: var(--st-s5); }
.prop__body h2 { margin: 0; font-size: var(--st-fs-18); }
.prop__body p { margin: var(--st-s1) 0 var(--st-s4); }
.prop__body form { margin: 0; }
[hidden] { display: none !important; }
.sites { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--st-s4); }
.site-card { display: flex; flex-wrap: wrap; gap: var(--st-s4); justify-content: space-between; align-items: center; }
.site-card h2 a { color: var(--st-text); text-decoration: none; }
.site-card h2 a:hover { text-decoration: underline; }
.site-card p { margin: 0; }
.ss-empty { max-width: 640px; }
.starts { display: grid; gap: var(--st-s4); }
@media (min-width: 760px) { .starts { grid-template-columns: 1.15fr 1fr; } }
.start { display: flex; flex-direction: column; align-items: flex-start; gap: var(--st-s2); }
.start p { flex: 1; }
.start--express { border-color: var(--st-primary); box-shadow: inset 0 3px 0 var(--st-primary); }
.ss-note { padding: var(--st-s3); border-radius: var(--st-r-sm); background: var(--st-primary-tint); color: var(--st-primary-text); font-size: var(--st-fs-14); }
.props--gallery { }
.props__more { margin: 0 0 var(--st-s6); padding: var(--st-s5); border: 1px dashed var(--st-line-input); border-radius: var(--st-r-md); display: flex; flex-wrap: wrap; gap: var(--st-s3); align-items: center; justify-content: space-between; }
.props__more p { margin: 0; }
.props__more .st-btn { white-space: normal; max-width: 100%; text-align: center; }
.prop__actions { display: flex; flex-wrap: wrap; gap: var(--st-s2); align-items: center; }
.prop__meta { margin-bottom: var(--st-s3); }
.prop__meta p { margin: 2px 0 0; }
.prop__meta .prop__cost { margin-top: var(--st-s1); font-size: var(--st-fs-14); overflow-wrap: anywhere; }
.ss-empty h2 { font-size: var(--st-fs-22); }

/* -- Éditeur ------------------------------------------------------------------------------------------ */
/* -- Éditeur (lot 3) : barre d'outils, onglets de pages, aperçu, panneau à onglets (Section, Sections, Pages, Style, Infos) ------------------ */
.ed__bar { display: flex; flex-wrap: wrap; gap: var(--st-s2) var(--st-s3); align-items: center; justify-content: space-between; margin-bottom: var(--st-s3); }
.ed__title { display: flex; gap: var(--st-s2); align-items: center; min-width: 0; flex: 1 1 260px; }
.ed__title h1 { margin: 0; font-size: var(--st-fs-22); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed__title p { margin: 0; font-size: var(--st-fs-14); }
.ed__title > div { min-width: 0; }
.ed__back { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--st-text); border-radius: var(--st-r-sm); flex: none; }
.ed__tools { display: flex; flex-wrap: wrap; gap: var(--st-s2); align-items: center; }
.ed__history { display: inline-flex; gap: 4px; }
.ed__hbtn[disabled] { opacity: .45; }
.ed__devices .st-btn { gap: 6px; }
@media (max-width: 759px) { .ed__hbtn span, .ed__devices span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .ed__hbtn, .ed__devices .st-btn { min-width: 44px; padding: 0 10px; } .ed__devices { display: none; } }
.ed-cost { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 14px; border: 1px solid var(--st-line-strong); border-radius: 999px; background: var(--st-surface); color: var(--st-text); font: inherit; cursor: pointer; white-space: nowrap; }
.ed-cost:hover { border-color: var(--st-primary); }
.ed-cost:focus-visible { outline: none; box-shadow: var(--st-focus-ring); }
.ed-cost strong { font-variant-numeric: tabular-nums; font-size: var(--st-fs-16); }
.ed-cost__unit { font-size: var(--st-fs-14); color: var(--st-text-2); }
.ed-cost__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--st-ok); }
.ed-cost.is-updated strong { animation: cost-flash .6s var(--st-ease); }
@media (max-width: 420px) { .ed-cost__unit { display: none; } }
.ed__pagetabs { margin: 0 0 var(--st-s3); border-bottom: 1px solid var(--st-line); overflow-x: auto; scrollbar-width: thin; }
.ed__pagetabs-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; width: max-content; }
.ed__pagetab { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--st-text-2); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ed__pagetab:hover { color: var(--st-text); }
.ed__pagetab[aria-current="page"] { color: var(--st-primary-text); border-bottom-color: var(--st-primary); }
.ed__pagetab:focus-visible { outline: none; box-shadow: var(--st-focus-ring); }
.ed__pagetab-off { font-size: var(--st-fs-12); font-weight: 500; color: var(--st-text-2); }
.ed__pagetab--add { color: var(--st-primary-text); }
.ed__body { display: grid; gap: var(--st-s4); }
@media (min-width: 1100px) { .ed__body { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; } .ed__panel { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow: auto; } }
.ed__stage { min-width: 0; }
.ed__device { margin: 0 auto; width: 100%; max-width: 390px; height: min(760px, calc(100vh - 210px)); min-height: 560px; border: 1px solid var(--st-line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--st-shadow-pop); }
.ed__device.is-desktop { max-width: none; border-radius: var(--st-r-md); }
.ed__device iframe { width: 100%; height: 100%; border: 0; display: block; }
.ed__hint { display: flex; gap: var(--st-s2); align-items: center; justify-content: center; color: var(--st-text-2); font-size: var(--st-fs-14); margin: var(--st-s3) 0 0; text-align: center; }
.ed__panel { container-type: inline-size; background: var(--st-surface); border: 1px solid var(--st-line); border-radius: var(--st-r-md); min-width: 0; }
.ed__tabs { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--st-surface); border-bottom: 1px solid var(--st-line); border-radius: var(--st-r-md) var(--st-r-md) 0 0; }
.ed__tabs [role=tab] { display: grid; justify-items: center; gap: 2px; min-height: 56px; padding: 6px 2px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--st-text-2); font: inherit; font-size: var(--st-fs-12); font-weight: 600; cursor: pointer; }
.ed__tabs [role=tab][aria-selected="true"] { color: var(--st-primary-text); border-bottom-color: var(--st-primary); }
.ed__tabs [role=tab]:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--st-focus); }
.ed__pane { padding: var(--st-s4); display: grid; gap: var(--st-s3); align-content: start; }
.ed__h { margin: 0; font-size: var(--st-fs-16); }
.ed__empty { margin: var(--st-s4) 0; }
.ed__sections { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ed__section { display: grid; grid-template-columns: 30px 18px 60px minmax(0, 1fr) auto; grid-template-areas: "grip pos mini name tools" "grip pos mini variant tools"; gap: 0 8px; align-items: center; border: 1px solid var(--st-line); border-radius: var(--st-r-sm); padding: 6px 4px 6px 2px; background: var(--st-surface); }
.ed__section.is-hidden { background: var(--st-surface-2); }
.ed__section.is-hidden .thumb-svg { opacity: .45; }
.ed__section.is-selected { border-color: var(--st-primary); box-shadow: inset 3px 0 0 var(--st-primary); }
.ed__section.is-grabbed { border-color: var(--st-primary); box-shadow: 0 0 0 2px var(--st-primary); }
.ed__section.is-dragging { box-shadow: var(--st-shadow-pop); border-color: var(--st-primary); opacity: .96; }
.ed__section.is-moved { background: var(--st-primary-tint); }
.ed__drop { border: 2px dashed var(--st-primary); border-radius: var(--st-r-sm); background: var(--st-primary-tint); list-style: none; }
.ed__grip { grid-area: grip; display: grid; place-items: center; width: 30px; height: 44px; border: 0; background: transparent; color: var(--st-text-2); cursor: grab; touch-action: none; border-radius: 4px; padding: 0; }
.ed__grip:hover { color: var(--st-text); background: var(--st-surface-2); }
.ed__grip:focus-visible { box-shadow: var(--st-focus-ring); outline: none; }
.ed__grip--fixed { cursor: default; color: var(--st-line-strong); }
.ed__pos { grid-area: pos; font-variant-numeric: tabular-nums; font-weight: 700; font-size: var(--st-fs-14); color: var(--st-text-2); text-align: center; }
.ed__mini { grid-area: mini; display: block; width: 60px; height: 44px; padding: 0; border: 1px solid var(--st-line); border-radius: 4px; background: var(--st-surface); cursor: pointer; overflow: hidden; }
.ed__mini:hover { border-color: var(--st-primary); }
.ed__mini .thumb-svg { width: 100%; height: 100%; }
.ed__section-name { grid-area: name; margin: 0; display: flex; flex-wrap: wrap; gap: 0 8px; align-items: center; min-width: 0; }
.ed__section-btn { min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; font-size: var(--st-fs-14); color: var(--st-text); cursor: pointer; text-align: left; }
.ed__section-btn:hover { color: var(--st-primary-text); text-decoration: underline; }
.ed__section-variant { grid-area: variant; margin: 0; font-size: var(--st-fs-12); color: var(--st-text-2); }
.ed__section-tools { grid-area: tools; display: flex; align-items: center; }
.ed__section-tools .st-btn--icon { width: 40px; min-width: 40px; }
.ed__props-head h2 { margin: 0; font-size: var(--st-fs-18); }
.ed__props-head p { margin: 2px 0 0; }
.ed__props-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.ed__props-actions .st-btn { gap: 6px; flex: 1 1 auto; }
.ed__variants { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: var(--st-s2); }
.ed__variants legend { margin-bottom: var(--st-s2); }
.ed__variant-card { position: relative; display: grid; gap: 4px; padding: 6px; border: 1.5px solid var(--st-line); border-radius: 6px; cursor: pointer; font-size: var(--st-fs-12); font-weight: 600; }
.ed__variant-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ed__variant-card:has(input:checked) { border-color: var(--st-primary); background: var(--st-primary-tint); }
.ed__variant-card:has(input:focus-visible) { box-shadow: var(--st-focus-ring); }
.ed__variant-card .thumb-svg { border: 1px solid var(--st-line); border-radius: 3px; }
.ed__props-form .ef-form { display: grid; gap: var(--st-s3); }
.ef-field { margin: 0; }
.ef-count { margin-top: 2px; font-size: var(--st-fs-12); }
.ef-group, .ef-link { border: 1px solid var(--st-line); border-radius: var(--st-r-sm); padding: var(--st-s3); margin: 0; display: grid; gap: var(--st-s2); min-width: 0; }
.ef-group > legend, .ef-link > legend { padding: 0 4px; }
.ef-checks { border: 1px solid var(--st-line); border-radius: var(--st-r-sm); padding: var(--st-s3); margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 0 var(--st-s3); min-width: 0; }
.ef-checks > legend { padding: 0 4px; }
.ef-sub { margin-top: 4px; }
.ef-list { display: grid; gap: var(--st-s2); }
.ef-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ef-item { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--st-line); border-radius: var(--st-r-sm); background: var(--st-surface); }
.ef-item > details > summary { display: flex; align-items: center; min-height: 44px; padding: 0 var(--st-s3); cursor: pointer; font-weight: 600; font-size: var(--st-fs-14); list-style: none; }
.ef-item > details > summary::-webkit-details-marker { display: none; }
.ef-item__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ef-item__tools { display: flex; justify-content: flex-end; border-top: 1px solid var(--st-line); }
.ef-item__tools .st-btn--icon { width: 44px; min-width: 44px; }
@container (min-width: 380px) { .ef-item { position: relative; } .ef-item > details > summary { padding-right: 184px; } .ef-item__tools { position: absolute; top: 0; right: 0; border-top: 0; } }
.ef-item__body { padding: 0 var(--st-s3) var(--st-s3); display: grid; gap: var(--st-s2); }
.ef-add, .ef-photo { gap: 6px; }
.ed__pagelist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ed__pageitem { border: 1px solid var(--st-line); border-radius: var(--st-r-sm); }
.ed__pagehead { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name tools" "path tools"; align-items: center; padding: 4px 4px 4px var(--st-s3); }
.ed__pagename { grid-area: name; justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--st-text); cursor: pointer; text-align: left; }
.ed__pagename:hover { color: var(--st-primary-text); text-decoration: underline; }
.ed__pagepath { grid-area: path; font-size: var(--st-fs-12); color: var(--st-text-2); font-variant-numeric: tabular-nums; }
.ed__pagetools { grid-area: tools; display: flex; }
.ed__pagetools .st-btn--icon { width: 44px; min-width: 44px; }
.ed__pagesettings > summary { min-height: 44px; display: flex; align-items: center; padding: 0 var(--st-s3); border-top: 1px solid var(--st-line); cursor: pointer; font-size: var(--st-fs-14); color: var(--st-primary-text); font-weight: 600; }
.ed__pageform { display: grid; gap: var(--st-s3); padding: var(--st-s3); }
.ed__newpage { display: grid; gap: var(--st-s3); padding-top: var(--st-s4); border-top: 1px solid var(--st-line); }
.ed__drawer { position: fixed; z-index: 80; inset: auto 0 0 0; max-height: 88vh; overflow: auto; background: var(--st-surface); border-radius: var(--st-r-lg) var(--st-r-lg) 0 0; box-shadow: var(--st-shadow-pop); }
@media (min-width: 760px) { .ed__drawer { inset: 0 0 0 auto; width: 440px; max-height: none; border-radius: 0; } }
.ed__drawer .st-sheet__head, .ed__drawer .st-sheet__body { padding: var(--st-s4); }
.ed__drawer .st-sheet__head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--st-line); position: sticky; top: 0; background: var(--st-surface); z-index: 1; }
.ed__drawer .st-sheet__head h2 { margin: 0; font-size: var(--st-fs-18); }
.ed__cart { display: grid; gap: var(--st-s3); }
#dnd-help { margin: 0; }
.thumb-svg { display: block; width: 100%; height: auto; }
.thumb-svg__bg { fill: #FBFBFA; }
.thumb-svg__title { fill: #2B3440; }
.thumb-svg__line { fill: #B8BFC7; }
.thumb-svg__img { fill: #C9D6D0; }
.thumb-svg__btn, .thumb-svg__accent { fill: var(--st-primary); }
.thumb-svg__card { fill: #fff; stroke: #D5DAD3; stroke-width: .6; }
.thumb-svg__dark { fill: #20302B; }
.thumb-svg__light { fill: #E9EFEC; }
.thumb-svg__chip { fill: #fff; stroke: #B8BFC7; stroke-width: .6; }
.thumb-svg__rule { fill: #DDE1DC; }
.thumb-svg__zone { fill: rgba(29, 84, 70, .18); stroke: var(--st-primary); stroke-width: .8; }
.ed__sheet--wide { }
@media (min-width: 760px) { .ed__sheet--wide { width: min(920px, calc(100vw - 48px)); max-height: 86vh; } }
.add-grid { list-style: none; margin: var(--st-s3) 0 0; padding: 0; display: grid; gap: var(--st-s3); }
@media (min-width: 760px) { .add-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.add-card { border: 1px solid var(--st-line); border-radius: var(--st-r-sm); padding: var(--st-s3); }
.add-card__name { margin: 0; font-weight: 600; }
.add-card__desc { margin: 2px 0 var(--st-s2); font-size: var(--st-fs-14); color: var(--st-text-2); }
.add-card__variants { display: flex; flex-wrap: wrap; gap: var(--st-s2); }
.add-variant { display: grid; gap: 4px; width: 112px; padding: 6px; border: 1px solid var(--st-line); border-radius: 6px; background: var(--st-surface); cursor: pointer; font: inherit; font-size: var(--st-fs-12); text-align: left; color: var(--st-text); }
.add-variant:hover, .add-variant:focus-visible { border-color: var(--st-primary); background: var(--st-primary-tint); }
.add-variant .thumb-svg { border-radius: 3px; border: 1px solid var(--st-line); }
.ed__library { margin-top: var(--st-s4); }
.thumb__pick { display: block; width: 100%; height: 100%; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; }
.thumb__pick[aria-pressed="true"] { border-color: var(--st-primary); }
.thumb__pick img { width: 100%; height: 100%; object-fit: cover; }
.ed__row { display: flex; gap: var(--st-s2); align-items: center; }
.ed__row > .st-input, .ed__row > .st-select { flex: 1; min-width: 0; }
.ed__row--2 > * { flex: 1; min-width: 0; }
.ed__add { border-top: 1px solid var(--st-line); padding-top: var(--st-s4); }
.ed__themes, .ed__plans, .ed__options { border: 0; padding: 0; margin: 0 0 var(--st-s4); display: grid; gap: var(--st-s2); }
.ed__lock { display: block; color: var(--st-text-2); font-size: var(--st-fs-14); }
.ed__options input:disabled + span { color: var(--st-text); }
.ed__theme, .ed__plan { display: flex; gap: var(--st-s3); align-items: flex-start; padding: var(--st-s3); border: 1.5px solid var(--st-line); border-radius: var(--st-r-sm); cursor: pointer; min-height: 44px; }
.ed__theme:has(input:checked), .ed__plan:has(input:checked) { border-color: var(--st-primary); background: var(--st-primary-tint); }
.ed__theme input, .ed__plan input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--st-primary); flex: none; }
.ed__theme small, .ed__plan small { display: block; color: var(--st-text-2); font-size: var(--st-fs-14); }
.ed__file { position: relative; cursor: pointer; }
.ed__hours { border: 0; padding: 0; margin: 0 0 var(--st-s5); display: grid; gap: var(--st-s1); }
.ed__day { display: grid; grid-template-columns: 1fr 104px 104px; gap: var(--st-s2); align-items: center; }
.ed__day .st-input { padding-left: 8px; padding-right: 4px; }
.ed__pages { list-style: none; padding: 0; display: grid; gap: var(--st-s1); }
.ed__pages li { display: flex; justify-content: space-between; align-items: center; min-height: 44px; border-bottom: 1px solid var(--st-line); }
.ed__interval { margin: 0 0 var(--st-s4); border: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--st-s2); }
.ed__interval label { display: flex; gap: var(--st-s2); align-items: center; justify-content: center; min-height: 48px; border: 1.5px solid var(--st-line); border-radius: var(--st-r-sm); cursor: pointer; text-align: center; font-weight: 600; font-size: var(--st-fs-14); padding: 4px 8px; }
.ed__interval label:has(input:checked) { border-color: var(--st-primary); background: var(--st-primary-tint); color: var(--st-primary-text); }
.ed__interval input { accent-color: var(--st-primary); }
.ed__total { display: grid; grid-template-columns: 1fr 1fr; gap: var(--st-s3); margin: 0 0 var(--st-s2); padding: var(--st-s4); background: var(--st-surface-2); border-radius: var(--st-r-sm); }
.ed__total dt { font-size: var(--st-fs-14); color: var(--st-text-2); }
.ed__total dd { margin: 0; font-size: var(--st-fs-22); font-weight: 700; font-variant-numeric: tabular-nums; }
.ed__error { position: fixed; left: var(--st-gutter); right: var(--st-gutter); bottom: calc(80px + var(--st-safe-bottom)); z-index: 60; background: var(--st-surface); border: 1px solid var(--st-danger); border-radius: var(--st-r-sm); padding: var(--st-s3); }
.ed__sheet { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow: auto; background: var(--st-surface); border-radius: var(--st-r-lg) var(--st-r-lg) 0 0; }
@media (min-width: 760px) { .ed__sheet { left: 50%; right: auto; bottom: auto; top: 50%; width: 560px; transform: translate(-50%, -50%); border-radius: var(--st-r-md); } }
.ed__sheet .st-sheet__head, .ed__sheet .st-sheet__body, .ed__sheet .st-sheet__foot { padding: var(--st-s4); }
.ed__sheet .st-sheet__head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--st-line); }
.ed__sheet .st-sheet__head h2 { margin: 0; font-size: var(--st-fs-18); }
.ed__sheet .st-sheet__foot { display: flex; justify-content: space-between; gap: var(--st-s2); border-top: 1px solid var(--st-line); }
.ed__crop { display: grid; gap: var(--st-s2); margin: var(--st-s4) 0; }
.ed__crop canvas { width: 100%; height: auto; border-radius: var(--st-r-sm); background: var(--st-surface-2); }
.ed__crop input[type=range] { width: 100%; min-height: 44px; accent-color: var(--st-primary); }
.ed__backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(23, 33, 46, .45); }
.sim__total { font-size: var(--st-fs-18); margin: var(--st-s5) 0; }
.plans-table th span { font-weight: 400; font-size: var(--st-fs-14); }

/* -- Publication -------------------------------------------------------------------------------------- */
.pub__url { font-size: var(--st-fs-18); font-weight: 600; overflow-wrap: anywhere; }
.pub__checks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--st-s4); }
.pub__checks > li { display: flex; gap: var(--st-s3); align-items: flex-start; }
.pub__checks > li > .st-icon { color: var(--st-text-2); flex: none; margin-top: 2px; }
.pub__checks > li.is-done > .st-icon { color: var(--st-ok-text); }
.pub__checks p { margin: var(--st-s1) 0 0; }
.pub__cart { list-style: none; margin: var(--st-s3) 0; padding: 0; max-width: 460px; }
.pub__cart li { display: flex; justify-content: space-between; gap: var(--st-s3); padding: 6px 0; border-bottom: 1px solid var(--st-line); font-size: var(--st-fs-14); }
.pub__cart li > span:last-child { flex: none; }
.pub__reason { display: block; color: var(--st-text-2); }
.pub__due { margin: var(--st-s3) 0; }
.pub__address { display: flex; align-items: stretch; max-width: 560px; }
.pub__address .st-input { flex: 1; min-width: 0; border-radius: 0; }
.pub__scheme { display: none; align-items: center; padding: 0 10px; border: 1px solid var(--st-line-input); border-right: 0; border-radius: var(--st-r-sm) 0 0 var(--st-r-sm); color: var(--st-text-2); background: var(--st-surface-2); }
@media (min-width: 600px) { .pub__scheme { display: inline-flex; } }
.pub__address .st-input-group__addon { display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid var(--st-line-input); border-left: 0; border-radius: 0 var(--st-r-sm) var(--st-r-sm) 0; color: var(--st-text-2); background: var(--st-surface-2); white-space: nowrap; }
.pub__form .st-btn--lg { margin-top: var(--st-s4); }
.pub__form .st-field { max-width: 560px; }
.exp__title { font-size: var(--st-fs-16); margin: var(--st-s5) 0 var(--st-s2); }
.exp__limits { margin: 0 0 var(--st-s4); padding-left: 1.2em; max-width: 68ch; }
.exp__limits li { margin: 6px 0; }
.exp__price { margin: var(--st-s4) 0 var(--st-s3); }
.pub__versions { list-style: none; margin: 0 0 var(--st-s4); padding: 0; }
.pub__versions li { display: flex; justify-content: space-between; align-items: center; min-height: 44px; border-bottom: 1px solid var(--st-line); }
.pub__domain { border: 1px solid var(--st-line); border-radius: var(--st-r-sm); padding: var(--st-s4); margin-bottom: var(--st-s4); }
.pub__dns { margin: var(--st-s3) 0; display: grid; gap: var(--st-s2); }
.pub__dns div { display: grid; grid-template-columns: 70px 1fr; gap: var(--st-s2); }
.pub__dns dt { font-weight: 600; }
/* Consignes longues (adresse avec ou sans préfixe) : intitulé au-dessus de la consigne. */
.pub__dns--stacked div { grid-template-columns: 1fr; gap: 2px; }
.pub__dns dd { margin: 0; overflow-wrap: anywhere; }
.pub__dns code { background: var(--st-surface-2); padding: 1px 4px; border-radius: 3px; font-size: var(--st-fs-14); }
.opt__amounts { margin: var(--st-s4) 0; }
.sub-opts { list-style: none; margin: 0; padding: 0; }
.sub-opt { display: grid; grid-template-columns: 1fr auto; gap: var(--st-s2) var(--st-s4); align-items: center; padding: var(--st-s3) 0; border-top: 1px solid var(--st-line); }
.sub-opt p { margin: 0 0 var(--st-s1); }
@media (max-width: 600px) { .sub-opt { grid-template-columns: 1fr; } }
.sub-manage { max-width: 100%; white-space: normal; text-align: center; }
.plans-table th, .plans-table td { white-space: normal; }

/* -- Kit de publications réseaux sociaux ------------------------------------------------------------- */
.kit__offer { display: grid; gap: var(--st-s3); align-items: center; margin-bottom: var(--st-s5); border-color: var(--st-primary); }
@media (min-width: 900px) { .kit__offer { grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--st-s6); } }
.kit__offer h2, .kit__offer p { margin: 0; }
.kit__price strong { font-size: var(--st-fs-22); font-variant-numeric: tabular-nums; }
.kit { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--st-s4); }
.kit__top { display: grid; gap: var(--st-s4); margin-bottom: var(--st-s5); }
@media (min-width: 1000px) { .kit__top { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.kit__top h2 { margin: 0 0 var(--st-s3); font-size: var(--st-fs-18); }
.kit__cal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.kit__dow { font-size: 12px; color: var(--st-text-2); text-align: center; padding-bottom: 2px; }
.kit__day { min-height: 64px; border-radius: 8px; background: var(--st-surface-2, rgba(0,0,0,.03)); padding: 4px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.kit__day--pad { background: none; }
.kit__day--on { background: var(--st-primary-tint, #E6F0EC); box-shadow: inset 0 0 0 1px var(--st-primary); }
.kit__num { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--st-text-2); }
.kit__chip { display: flex; align-items: flex-end; flex: 1; font-size: 12px; line-height: 1.25; font-weight: 600; color: var(--st-primary-text); text-decoration: none; overflow-wrap: anywhere; min-height: 44px; }
a.kit__chip:hover { text-decoration: underline; }
.kit__chip--locked { color: var(--st-text-2); font-weight: 400; }
@media (max-width: 599px) {
  .kit__cal { grid-template-columns: 1fr; gap: 6px; }
  .kit__dow, .kit__day--pad, .kit__day:not(.kit__day--on) { display: none; }
  .kit__day--on { flex-direction: row; align-items: center; gap: var(--st-s3); min-height: 44px; padding: 6px 10px; }
  .kit__day--on .kit__num::before { content: "Le "; }
  .kit__chip { font-size: 14px; align-items: center; min-height: 44px; }
}
.kit__note { margin: var(--st-s3) 0 0; font-size: var(--st-fs-14); }
.kit__actions { display: flex; flex-wrap: wrap; gap: var(--st-s2); margin-top: var(--st-s3); }
.kit__origin p { margin: 0 0 var(--st-s3); }
.kit__facts { margin: 0 0 var(--st-s4); padding-left: 1.1em; display: grid; gap: 4px; font-size: var(--st-fs-14); color: var(--st-text-2); }
.kit__post { display: grid; gap: var(--st-s4); align-items: start; scroll-margin-top: 80px; }
@media (min-width: 760px) { .kit__post { grid-template-columns: 260px minmax(0, 1fr); } }
.kit__fig { margin: 0; }
.kit__img { display: block; width: 100%; height: auto; border-radius: var(--st-r-sm); border: 1px solid var(--st-line); }
.kit__origin-line { margin-top: var(--st-s2); font-size: 13px; color: var(--st-text-2); }
.kit__kind { margin: 0 0 var(--st-s2); font-size: var(--st-fs-14); color: var(--st-text-2); display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--st-s2); }
.kit__tag { font-weight: 600; color: var(--st-text); background: var(--st-primary-tint, #E6F0EC); border-radius: 999px; padding: 2px 10px; }
.kit__text { margin: 0 0 var(--st-s2); max-width: 68ch; }
.kit__tags { margin: 0 0 var(--st-s3); color: var(--st-primary-text); font-size: var(--st-fs-14); overflow-wrap: anywhere; }
.kit__formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--st-s2); margin-top: var(--st-s3); }
.kit__dl { display: flex; align-items: center; gap: var(--st-s3); min-height: 56px; padding: 8px 12px; border: 1px solid var(--st-line); border-radius: var(--st-r-sm); color: var(--st-text); text-decoration: none; font-size: var(--st-fs-14); }
.kit__dl:hover { border-color: var(--st-primary); }
.kit__dl strong { display: block; }
.kit__dl .ss-muted { display: block; font-size: 12px; }
.kit__dl[aria-busy="true"] { opacity: .6; }
.kit__shape { flex: none; border: 2px solid currentColor; border-radius: 3px; color: var(--st-primary-text); }
.kit__shape--carre { width: 22px; height: 22px; }
.kit__shape--vertical { width: 15px; height: 26px; }
.kit__shape--paysage { width: 28px; height: 15px; }
.kit__more { margin-top: var(--st-s3); }
.kit__more summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--st-primary-text); }
.kit__alts { list-style: none; margin: var(--st-s2) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: var(--st-s2); }
.kit__alt { display: grid; gap: 4px; font-size: 12px; color: var(--st-text-2); text-decoration: none; padding: 4px; border-radius: var(--st-r-sm); border: 2px solid transparent; }
.kit__alt img { width: 100%; height: auto; border-radius: 4px; display: block; }
.kit__alt.is-on { border-color: var(--st-primary); color: var(--st-text); font-weight: 600; }

/* -- Coût total, visible en permanence pendant la création ---------------------------------------------- */
.cost { position: sticky; z-index: 25; bottom: calc(64px + var(--st-safe-bottom)); margin: var(--st-s6) calc(-1 * var(--st-gutter)) 0; background: var(--st-bleu-900); color: #E8F1EE; border-top: 1px solid rgba(255,255,255,.08); }
@media (min-width: 900px) { .cost { bottom: 0; margin: var(--st-s6) 0 0; border-radius: var(--st-r-md) var(--st-r-md) 0 0; } }
.cost__in { display: grid; gap: 2px var(--st-s5); padding: 10px var(--st-gutter); align-items: baseline; }
@media (min-width: 760px) { .cost__in { grid-template-columns: auto minmax(0, 1fr); padding: 12px var(--st-s5); } .cost__note { grid-column: 2; } }
.cost p { margin: 0; max-width: none; }
.cost__total { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.cost__label { font-size: var(--st-fs-14); color: #A9C7BD; }
.cost__total strong { font-size: var(--st-fs-22); font-variant-numeric: tabular-nums; color: #fff; letter-spacing: -.01em; }
.cost__unit { font-size: var(--st-fs-14); color: #A9C7BD; }
.cost__detail { font-size: var(--st-fs-14); color: #DCE9E4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cost__note { font-size: var(--st-fs-12); color: #A9C7BD; }
.cost.is-updated strong { animation: cost-flash .6s var(--st-ease); }
@keyframes cost-flash { from { color: var(--st-balisage); } to { color: #fff; } }
.cost--compact { position: static; margin: 0; border-radius: var(--st-r-sm); flex: 1 1 100%; order: 3; }
.cost--compact .cost__in { grid-template-columns: auto minmax(0, 1fr); padding: 6px 12px; }
.cost--compact .cost__note { display: none; }
.cost--compact .cost__total strong { font-size: var(--st-fs-18); }
@media (min-width: 900px) { .cost--compact { flex: 0 1 auto; order: 0; } }
@media (prefers-reduced-motion: reduce) { .cost.is-updated strong { animation: none; } }
@media (max-width: 599px) { .cost--compact .cost__detail { display: none; } }

/* ==========================================================================================================
   Refonte visuelle (lot 2) — « atelier numérique » : brume froide, vert sapin, laiton en repère, titres en Lora.
   Grille : 12 colonnes, marges 16/24/32 px, mêmes bords gauches pour tous les blocs d'un écran.
   ========================================================================================================== */
@font-face { font-family: "Lora"; src: url("/fonts/lora-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
  --st-ciment: #EEF2F0;
  --st-encre: #15201C;
  --st-gris-600: #55625D;
  --st-gris-500: #8C9893;
  --st-gris-300: #C7D0CC;
  --st-gris-200: #DCE3DF;
  --st-gris-100: #E9EEEB;
  --st-line-input: #A9B5B0;
  --ss-laiton: #B7862F;
  --ss-display: "Lora", Georgia, "Times New Roman", serif;
  --st-r-sm: 8px;
  --st-r-md: 12px;
  --ss-shadow-soft: 0 1px 2px rgba(21, 32, 28, .05), 0 8px 24px -12px rgba(21, 32, 28, .14);
}
body { background: var(--st-bg); }
h1, h2, h3 { text-wrap: balance; }

/* Boutons : plus fins, coins et graisse plus raffinés, cible ≥ 44 px conservée. */
.st-btn { min-height: 44px; padding: 0 18px; font-size: 15px; font-weight: 600; letter-spacing: -.003em; border-radius: 8px; gap: 8px; }
.st-btn--lg { min-height: 48px; padding: 0 22px; font-size: 16px; }
.st-btn--sm { min-height: 44px; padding: 0 14px; font-size: 14px; }
.st-btn--primary { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .18); }
.st-btn--secondary { border-color: var(--st-gris-300); }
.st-btn--secondary:hover { border-color: var(--st-text-2); background: var(--st-surface); }
.st-btn .st-icon { width: 18px; height: 18px; }
.st-btn--icon { width: 44px; min-width: 44px; padding: 0; }

/* Formulaires : champs moins hauts et moins arrondis, alignés. */
.st-input, .st-select, .st-textarea { min-height: 44px; border-radius: 6px; border-color: var(--st-gris-300); padding-left: 12px; }
.st-input:hover, .st-select:hover, .st-textarea:hover { border-color: var(--st-gris-500); }
.st-textarea { padding: 10px 12px; min-height: 96px; }
.st-label { font-size: 14px; margin-bottom: 6px; }
.st-field { margin-bottom: var(--st-s4); }

/* Titres de page et cartes */
.ss-head h1 { font-family: var(--ss-display); font-weight: 600; letter-spacing: -.012em; }
.ss-card { border-color: var(--st-line); border-radius: var(--st-r-md); box-shadow: 0 1px 2px rgba(21, 32, 28, .04); }
.ss-card h2 { font-size: 17px; letter-spacing: -.005em; }
.ss-top { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); }
.ss-brand__mark { border-radius: 8px; }

/* -- Accueil : texte à gauche, aperçu de sites réels à droite (aucun grand vide) -------------------------------- */
.ss-main--home .ss-foot { padding: var(--st-s6) 0; text-align: left; }
.ss-main--home .ss-foot a { margin-left: var(--st-s3); }
.home-hero { display: grid; gap: var(--st-s8); align-items: center; padding: var(--st-s6) 0 var(--st-s10); }
@media (min-width: 1000px) { .home-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: var(--st-s10) 0 var(--st-s12); } }
.home-hero__title { font-family: var(--ss-display); font-weight: 600; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 var(--st-s5); max-width: 13ch; }
.home-hero__lead { font-size: 18px; line-height: 1.6; color: var(--st-text-2); margin: 0 0 var(--st-s6); max-width: 34em; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: var(--st-s3); }
.home-hero__facts { list-style: none; margin: var(--st-s6) 0 0; padding: var(--st-s5) 0 0; border-top: 1px solid var(--st-line); display: grid; gap: var(--st-s2); font-size: 15px; color: var(--st-text-2); }
.home-hero__facts li { padding-left: 18px; position: relative; }
.home-hero__facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--ss-laiton); }
.home-hero__facts strong { color: var(--st-text); font-weight: 600; }
.home-hero__login { margin: var(--st-s4) 0 0; font-size: 15px; color: var(--st-text-2); }
.home-hero__visual { position: relative; min-height: 300px; padding: 0 0 48px; }
.home-browser { border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--st-line); box-shadow: 0 30px 60px -30px rgba(21, 32, 28, .35); }
.home-browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #F6F8F7; border-bottom: 1px solid var(--st-line); }
.home-browser__bar span { width: 9px; height: 9px; border-radius: 50%; background: #D3DAD6; }
.home-browser__bar em { margin-left: 12px; font-style: normal; font-size: 12px; color: var(--st-text-2); background: #fff; border: 1px solid var(--st-line); border-radius: 6px; padding: 2px 10px; }
.home-browser__screen, .home-phone__screen { position: relative; overflow: hidden; }
.home-browser__screen { aspect-ratio: 16 / 10.5; }
.home-browser__screen iframe, .home-phone__screen iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; background: #fff; }
.home-phone { position: absolute; right: -8px; bottom: 0; width: 34%; max-width: 210px; padding: 8px; border-radius: 30px; background: #15201C; box-shadow: 0 24px 50px -20px rgba(21, 32, 28, .55); }
.home-phone__screen { aspect-ratio: 9 / 18.5; border-radius: 22px; }
@media (max-width: 599px) { .home-phone { width: 40%; right: 0; } }
.home-h2 { font-family: var(--ss-display); font-weight: 600; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.015em; line-height: 1.15; margin: 0 0 var(--st-s6); }
.home-steps { padding: var(--st-s10) 0; border-top: 1px solid var(--st-line); }
.home-steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--st-s6); }
@media (min-width: 760px) { .home-steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--st-s8); } }
.home-steps__list li { border-top: 2px solid var(--st-text); padding-top: var(--st-s4); }
.home-steps__num { display: block; font-family: var(--ss-display); font-size: 28px; line-height: 1; color: var(--ss-laiton); margin-bottom: var(--st-s3); font-variant-numeric: lining-nums; }
.home-steps__list h3 { margin: 0 0 var(--st-s2); font-size: 18px; letter-spacing: -.005em; }
.home-steps__list p { margin: 0; color: var(--st-text-2); }
.home-models { padding: var(--st-s10) 0 var(--st-s12); border-top: 1px solid var(--st-line); }
.home-models__head { display: grid; gap: var(--st-s2) var(--st-s8); margin-bottom: var(--st-s6); }
.home-models__head .home-h2 { margin: 0; }
.home-models__head p { margin: 0; color: var(--st-text-2); max-width: 42em; }
@media (min-width: 900px) { .home-models__head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; } }
.home-models__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--st-s3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .home-models__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--st-s4); } }
.home-model a { display: grid; gap: 4px; padding: var(--st-s3); border: 1px solid var(--st-line); border-radius: var(--st-r-md); background: var(--st-surface); color: var(--st-text); text-decoration: none; min-height: 44px; transition: border-color var(--st-dur), box-shadow var(--st-dur); }
.home-model a:hover { border-color: var(--st-text-2); box-shadow: var(--ss-shadow-soft); }
.home-model__swatch { display: block; height: 72px; border-radius: 8px; margin-bottom: var(--st-s2); }
.home-model span:last-child { font-size: 14px; color: var(--st-text-2); }
.home-model--ardoise .home-model__swatch { background: linear-gradient(115deg, #1F2A37 60%, #C9A227 60% 64%, #EBEEF2 64%); }
.home-model--lumiere .home-model__swatch { background: radial-gradient(90% 120% at 85% 0%, #8E6AA3 0 30%, transparent 31%), #5B3B6E; }
.home-model--olive .home-model__swatch { background: radial-gradient(rgba(255,255,255,.3) 1.2px, transparent 1.6px) 0 0 / 12px 12px, #4D5B2C; }
.home-model--azur .home-model__swatch { background: radial-gradient(circle at 80% 30%, #14A899 0 16%, transparent 17%), #1857A4; }

/* -- Entretien : finitions -------------------------------------------------------------------------- */
.as__head h1 { font-family: var(--ss-display); font-weight: 600; letter-spacing: -.01em; }
.as__composer { border-radius: 14px 14px 0 0; box-shadow: 0 -12px 32px -18px rgba(21, 32, 28, .28); }
.as__question { font-family: var(--ss-display); font-weight: 600; font-size: 20px; letter-spacing: -.008em; }
.as__msg--bot p { background: transparent; border: 0; padding-left: 0; color: var(--st-text-2); }
.as__msg--me p { border-radius: 12px 12px 3px 12px; }
.tick { border-color: var(--st-gris-300); }

/* -- Propositions et galerie ----------------------------------------------------------------------- */
.prop { border-radius: var(--st-r-md); box-shadow: 0 1px 2px rgba(21, 32, 28, .04); transition: box-shadow var(--st-dur), border-color var(--st-dur); }
.prop:hover { border-color: var(--st-gris-300); box-shadow: var(--ss-shadow-soft); }
.prop__frame { background: #E3E8E5; }
.props--gallery { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (min-width: 1100px) { .props--gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* -- Éditeur : barre d'outils et appareil --------------------------------------------------------------- */
.ed__title h1 { font-family: var(--ss-display); font-weight: 600; }
.ed__device { border-radius: 28px; border: 8px solid #15201C; box-shadow: 0 30px 60px -30px rgba(21, 32, 28, .45); }
.ed__device.is-desktop { border-radius: 12px; border: 1px solid var(--st-line); }
.ed__group { border-radius: var(--st-r-md); }
.ed__group > summary { font-size: 15px; }
.as__log { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28px); mask-image: linear-gradient(to bottom, transparent 0, #000 28px); }
.as__alt .ss-link-btn, .as__restart { padding-left: 0; padding-right: 0; }
.as__alt { gap: var(--st-s5); }
.prop__actions .st-btn--ghost { padding: 0 6px; }
.prop__actions { column-gap: var(--st-s4); }

/* -- Navigation dans l'application (anomalie du 03/11) : « Retour » / « Suivant » dans l'en-tête, barre d'étapes du parcours de création ---- */
.ss-hist { display: flex; align-items: center; gap: 2px; margin-right: calc(var(--st-s2) * -1); }
.ss-hist__btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 44px; min-height: 44px; padding: 0 var(--st-s2); color: var(--st-text-2); text-decoration: none; border-radius: var(--st-r-sm); font-weight: 600; font-size: var(--st-fs-14); }
.ss-hist__btn:hover { color: var(--st-text); background: var(--st-primary-tint); }
.ss-hist__btn[hidden] { display: none; }
.ss-logout { min-width: 44px; min-height: 44px; }
@media (max-width: 599px) {
  .ss-top__in { gap: var(--st-s2); }
  .ss-hist__txt, .ss-logout__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ss-hist__btn { padding: 0; }
}
.ss-stepbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--st-s2); margin: 0 0 var(--st-s5); padding: var(--st-s1) 0; border-bottom: 1px solid var(--st-line); }
.ss-stepbar__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: var(--st-s1); }
.ss-stepbar__item { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 var(--st-s2); border-radius: var(--st-r-sm); color: var(--st-text-2); text-decoration: none; font-size: var(--st-fs-14); font-weight: 600; justify-content: center; }
.ss-stepbar__item b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 13px; flex: none; }
a.ss-stepbar__item:hover { color: var(--st-text); background: var(--st-primary-tint); }
.ss-stepbar__item.is-current { color: var(--st-primary-text); }
.ss-stepbar__item.is-current b { background: var(--st-primary); border-color: var(--st-primary); color: #fff; }
.ss-stepbar__item.is-done b { background: var(--st-primary-tint); border-color: var(--st-primary-tint); color: var(--st-primary-text); }
.ss-stepbar__item.is-off:not(.is-done) { opacity: .75; }
.ss-stepbar__move { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 var(--st-s2); border-radius: var(--st-r-sm); color: var(--st-primary-text); font-weight: 600; font-size: var(--st-fs-14); text-decoration: none; border: 1px solid var(--st-line); background: var(--st-surface); }
.ss-stepbar__move:hover { background: var(--st-primary-tint); }
.ss-stepbar__move.is-void { border: 0; background: none; visibility: hidden; }
@media (max-width: 759px) {
  .ss-stepbar__label, .ss-stepbar__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ss-stepbar__item { padding: 0; }
  .ss-stepbar__move { padding: 0; }
}
.as .ss-stepbar { flex: none; margin-bottom: var(--st-s3); }

/* -- Éditeur, onglet Style (lot 3) : ambiances avec nuancier, déclinaisons, réglages fins, logo avant / après ------------------------------------ */
.ed__theme { align-items: center; }
.ed__swatch { width: 48px; height: 32px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px var(--st-line); }
.ed__seg { border: 0; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
.ed__seg legend { margin-bottom: var(--st-s2); }
.ed__seg label { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 6px; border: 1.5px solid var(--st-line); border-radius: var(--st-r-sm); cursor: pointer; font-weight: 600; font-size: var(--st-fs-14); text-align: center; position: relative; }
.ed__seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ed__seg label:has(input:checked) { border-color: var(--st-primary); background: var(--st-primary-tint); color: var(--st-primary-text); }
.ed__seg label:has(input:focus-visible) { box-shadow: var(--st-focus-ring); }
.ed__fine { border: 1px solid var(--st-line); border-radius: var(--st-r-sm); }
.ed__fine > summary { min-height: 48px; display: flex; align-items: center; padding: 0 var(--st-s3); cursor: pointer; font-weight: 600; }
.ed__fine[open] { display: grid; gap: var(--st-s3); padding-bottom: var(--st-s3); }
.ed__fine > :not(summary) { margin: 0 var(--st-s3); }
.logo-choice { border: 0; padding: 0; margin: var(--st-s3) 0 0; display: grid; gap: var(--st-s3); }
@media (min-width: 640px) { .logo-choice { grid-template-columns: 1fr 1fr; } }
.logo-choice__card { position: relative; display: grid; gap: var(--st-s2); padding: var(--st-s3); border: 1.5px solid var(--st-line); border-radius: var(--st-r-sm); cursor: pointer; }
.logo-choice__card[hidden] { display: none; }
.logo-choice__card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.logo-choice__card:has(input:checked) { border-color: var(--st-primary); box-shadow: 0 0 0 1px var(--st-primary); }
.logo-choice__card:has(input:focus-visible) { box-shadow: var(--st-focus-ring); }
.logo-choice__name { font-weight: 600; }
.logo-choice__views { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.logo-choice__view { display: grid; place-items: center; height: 96px; padding: 10px; border-radius: 4px; }
.logo-choice__view img { max-width: 100%; max-height: 72px; }
.logo-choice__view.is-checker { background: repeating-conic-gradient(#E3E6E2 0 25%, #FFFFFF 0 50%) 0 0 / 16px 16px; }

/* -- Boîte de réception des demandes (lot 3, point 1) ------------------------------------------------------------------------------------------ */
.inbox-filters { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin: 0 0 var(--st-s3); scrollbar-width: thin; }
.inbox-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--st-line-strong); border-radius: 999px; background: var(--st-surface); color: var(--st-text); text-decoration: none; font-weight: 600; font-size: var(--st-fs-14); white-space: nowrap; }
.inbox-chip span { font-variant-numeric: tabular-nums; color: var(--st-text-2); font-weight: 500; }
.inbox-chip[aria-current="true"] { background: var(--st-primary); border-color: var(--st-primary); color: var(--st-on-primary); }
.inbox-chip[aria-current="true"] span { color: inherit; }
.inbox-chip:focus-visible { outline: none; box-shadow: var(--st-focus-ring); }
.inbox-search { display: flex; flex-wrap: wrap; gap: var(--st-s2); margin-bottom: var(--st-s4); }
.inbox-search .st-input { flex: 1 1 220px; min-width: 0; }
.inbox-search .st-select { flex: 0 1 220px; }
.inbox-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--st-line); border: 1px solid var(--st-line); border-radius: var(--st-r-md); overflow: hidden; }
.inbox-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "kind main" "kind age"; gap: 2px var(--st-s3); padding: var(--st-s3) var(--st-s4); background: var(--st-surface); color: var(--st-text); text-decoration: none; min-height: 72px; }
@media (min-width: 760px) { .inbox-row { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "kind main age"; align-items: start; } }
.inbox-row:hover { background: var(--st-surface-2); }
.inbox-row:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--st-focus); }
.inbox-row.is-unread { box-shadow: inset 4px 0 0 var(--st-signal); }
.inbox-row.is-unread .inbox-row__name { font-weight: 800; }
.inbox-row__kind { grid-area: kind; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--st-primary-tint); color: var(--st-primary-text); }
.inbox-row__kind--quote { background: var(--st-warn-tint); color: var(--st-warn-text); }
.inbox-row__kind--booking { background: var(--st-ok-tint); color: var(--st-ok-text); }
.inbox-row__main { grid-area: main; display: grid; gap: 2px; min-width: 0; }
.inbox-row__top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.inbox-row__name { font-weight: 600; }
.inbox-row__excerpt { color: var(--st-text-2); font-size: var(--st-fs-14); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-row__meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: var(--st-fs-12); color: var(--st-text-2); }
.inbox-row__meta > span { display: inline-flex; align-items: center; gap: 4px; }
.inbox-row__due { color: var(--st-danger-text); font-weight: 600; }
.inbox-row__age { grid-area: age; font-size: var(--st-fs-12); color: var(--st-text-2); white-space: nowrap; }
.inbox-pill { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; font-size: var(--st-fs-12); font-weight: 700; background: var(--st-neutral-tint); color: var(--st-neutral-text); }
.inbox-pill--new { background: var(--st-warn-tint); color: var(--st-warn-text); }
.inbox-pill--in_progress { background: var(--st-info-tint); color: var(--st-info-text); }
.inbox-pill--answered, .inbox-pill--quote_sent { background: var(--st-primary-tint); color: var(--st-primary-text); }
.inbox-pill--won { background: var(--st-ok-tint); color: var(--st-ok-text); }
.inbox-pill--lost { background: var(--st-danger-tint); color: var(--st-danger-text); }
.inbox-pill--lg { min-height: 32px; padding: 0 14px; font-size: var(--st-fs-14); }
.inbox-empty { display: grid; justify-items: center; gap: var(--st-s2); text-align: center; padding: var(--st-s10) var(--st-s4); border: 1.5px dashed var(--st-line-strong); border-radius: var(--st-r-md); color: var(--st-text-2); }
.inbox-empty .st-icon { width: 40px; height: 40px; color: var(--st-primary-text); }
.inbox-empty h2 { margin: 0; color: var(--st-text); font-size: var(--st-fs-18); }
.inbox-empty p { max-width: 44ch; margin: 0; }
.lead-head { align-items: flex-start; }
.lead-head__kind { font-size: var(--st-fs-14); color: var(--st-text-2); font-weight: 600; margin: 0 0 2px; }
.lead { display: grid; gap: var(--st-s4); }
@media (min-width: 1000px) { .lead { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .lead__side { position: sticky; top: 84px; } }
.lead__main, .lead__side { display: grid; gap: var(--st-s4); min-width: 0; }
.lead-h { margin: 0 0 var(--st-s3); font-size: var(--st-fs-18); }
.lead-msg__text { white-space: pre-line; font-size: var(--st-fs-16); line-height: 1.6; margin: 0; max-width: 70ch; }
.lead-rdv { display: flex; gap: 8px; align-items: center; margin: 0 0 var(--st-s3); padding: var(--st-s3); border-radius: var(--st-r-sm); background: var(--st-ok-tint); color: var(--st-ok-text); }
.lead-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--st-s3); margin: var(--st-s4) 0 0; padding-top: var(--st-s3); border-top: 1px solid var(--st-line); }
.lead-facts dt { font-size: var(--st-fs-12); color: var(--st-text-2); font-weight: 600; }
.lead-facts dd { margin: 0; }
.lead-thread ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--st-s2); }
.lead-reply { padding: var(--st-s3) var(--st-s4); border-left: 3px solid var(--st-primary); background: var(--st-surface); border-radius: 0 var(--st-r-sm) var(--st-r-sm) 0; }
.lead-reply__meta { margin: 0 0 6px; font-size: var(--st-fs-12); color: var(--st-text-2); font-weight: 600; }
.lead-reply__body { margin: 0; white-space: pre-line; }
.lead-reply__file { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; }
.lead-form { display: grid; gap: var(--st-s3); }
.lead-attach { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.lead-attach legend { width: 100%; margin-bottom: 4px; }
.lead-quote { display: grid; gap: var(--st-s2); padding: var(--st-s3); border-radius: var(--st-r-sm); background: var(--st-surface-2); }
.lead-quote[hidden] { display: none; }
.lead-form__actions { display: flex; flex-wrap: wrap; gap: var(--st-s2); align-items: center; justify-content: space-between; }
.lead-actions { display: grid; gap: var(--st-s2); }
.lead-email { margin: 0; font-size: var(--st-fs-14); color: var(--st-text-2); overflow-wrap: anywhere; text-align: center; }

/* -- Statistiques (lot 3, point 2) ---------------------------------------------------------------------------------------------------------------- */
.stats-head { align-items: flex-end; }
.stats-site .st-select { min-width: 220px; }
.stats-periods { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 var(--st-s4); }
.stats-advice { background: var(--st-surface); border: 1px solid var(--st-line); border-left: 4px solid var(--st-signal); border-radius: var(--st-r-md); padding: var(--st-s4); margin-bottom: var(--st-s4); }
.stats-advice ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--st-s3); }
.stats-advice li { display: flex; flex-wrap: wrap; gap: var(--st-s2) var(--st-s4); align-items: center; justify-content: space-between; padding-top: var(--st-s3); border-top: 1px solid var(--st-line); }
.stats-advice li:first-child { border-top: 0; padding-top: 0; }
.stats-advice li > div { flex: 1 1 320px; }
.stats-advice p { margin: 0; color: var(--st-text-2); font-size: var(--st-fs-14); max-width: 72ch; }
.stats-advice .stats-advice__title { color: var(--st-text); font-weight: 700; font-size: var(--st-fs-16); margin-bottom: 2px; }
.stats-kpis { display: grid; gap: var(--st-s3); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: var(--st-s4); }
.stats-kpi { background: var(--st-surface); border: 1px solid var(--st-line); border-radius: var(--st-r-md); padding: var(--st-s4); }
.stats-kpi p { margin: 0; }
.stats-kpi__label { font-size: var(--st-fs-14); color: var(--st-text-2); font-weight: 600; }
.stats-kpi__value { font-size: 2rem; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -.01em; margin-top: 4px !important; }
.stats-kpi__change { font-size: var(--st-fs-12); color: var(--st-text-2); font-weight: 600; margin-top: 2px !important; }
.stats-kpi__change span { font-weight: 400; }
.stats-kpi__change.is-up::before { content: "▲ "; color: var(--st-ok); }
.stats-kpi__change.is-down::before { content: "▼ "; color: var(--st-danger); }
.stats-kpi--sm { padding: var(--st-s3); }
.stats-kpi--sm .stats-kpi__value { font-size: 1.5rem; }
.stats-mini { display: grid; gap: var(--st-s2); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.stats-block { margin: var(--st-s5) 0; }
.stats-more { display: inline-flex; align-items: center; min-height: 44px; margin-left: var(--st-s3); font-size: var(--st-fs-14); font-weight: 600; }
.stats-chart { margin-bottom: var(--st-s4); }
.stats-plot { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "y plot" ". x"; gap: 4px 10px; }
.stats-plot__y { grid-area: y; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-between; height: 220px; font-size: var(--st-fs-12); color: var(--st-text-2); font-variant-numeric: tabular-nums; text-align: right; transform: translateY(-0.5em); }
.stats-plot__x { grid-area: x; display: flex; justify-content: space-between; margin: 0; font-size: var(--st-fs-12); color: var(--st-text-2); }
.stats-bars { grid-area: plot; display: block; width: 100%; height: 220px; }
.stats-bars__grid { stroke: var(--st-line); stroke-width: 1; }
.stats-bars__base { stroke: var(--st-line-strong); stroke-width: 1; }
.stats-bars__bar { fill: var(--st-primary); }
.stats-bars__hit { fill: transparent; }
.stats-bars__item { outline: none; cursor: default; }
.stats-bars__item.is-active .stats-bars__hit, .stats-bars__item:focus-visible .stats-bars__hit { fill: color-mix(in srgb, var(--st-primary) 8%, transparent); }
.stats-tip { min-height: 1.5em; margin: var(--st-s2) 0 0; font-size: var(--st-fs-14); color: var(--st-text); font-weight: 600; }
.stats-table summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--st-primary-text); font-weight: 600; font-size: var(--st-fs-14); }
.stats-table table { width: 100%; border-collapse: collapse; font-size: var(--st-fs-14); font-variant-numeric: tabular-nums; }
.stats-table th, .stats-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--st-line); }
.stats-table td { text-align: right; }
.stats-grid > .ss-card { margin: 0; }
.stats-grid { display: grid; gap: var(--st-s3); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.stats-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--st-s3); }
.stats-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px var(--st-s2); font-size: var(--st-fs-14); }
.stats-list__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats-list__value { font-weight: 700; font-variant-numeric: tabular-nums; }
.stats-list__value small { font-weight: 500; color: var(--st-text-2); margin-left: 4px; }
.stats-list__bar { grid-column: 1 / -1; width: 100%; height: 6px; display: block; }
.stats-list__track { fill: var(--st-surface-2); }
.stats-list__fill { fill: var(--st-primary); }
.stats-content { border-top: 0; margin-top: 0; padding-top: 0; }
.stats-privacy { margin-top: var(--st-s5); max-width: 80ch; }

/* -- Référencement (lot 3, point 6) ------------------------------------------------------------------------------------------------------------------ */
.seo-score { display: flex; gap: var(--st-s4); align-items: center; margin-bottom: var(--st-s4); }
.seo-score__ring { width: 96px; height: 96px; flex: none; }
.seo-score__track { fill: none; stroke: var(--st-surface-2); stroke-width: 10; }
.seo-score__value { fill: none; stroke: var(--st-primary); stroke-width: 10; stroke-linecap: round; }
.seo-score__num { font: 700 26px var(--st-font); fill: var(--st-text); }
.seo-score .lead-h { margin-bottom: 4px; }
.seo-grid { display: grid; gap: var(--st-s4); margin-bottom: var(--st-s4); }
@media (min-width: 1000px) { .seo-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.seo-grid > .ss-card, .seo-section { margin: 0 0 var(--st-s4); }
.seo-todo, .seo-articles, .seo-dirs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--st-s3); }
.seo-todo li, .seo-articles li, .seo-dirs li { display: flex; flex-wrap: wrap; gap: var(--st-s2) var(--st-s3); align-items: center; justify-content: space-between; padding-top: var(--st-s3); border-top: 1px solid var(--st-line); }
.seo-todo li:first-child, .seo-articles li:first-child, .seo-dirs li:first-child { border-top: 0; padding-top: 0; }
.seo-todo li > div, .seo-articles li > div, .seo-dirs li > div { flex: 1 1 260px; min-width: 0; }
.seo-todo__label { margin: 0; font-weight: 600; }
.seo-pts { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--st-ok-tint); color: var(--st-ok-text); font-size: var(--st-fs-12); font-weight: 700; }
.seo-done { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: var(--st-fs-14); }
.seo-upsell { display: flex; flex-wrap: wrap; gap: var(--st-s4); align-items: center; justify-content: space-between; border-left: 4px solid var(--st-primary); margin-bottom: var(--st-s4); }
.seo-upsell > div:first-child { flex: 1 1 420px; }
.seo-upsell p { margin: 0; max-width: 72ch; color: var(--st-text-2); }
.seo-upsell__price { display: grid; gap: 6px; justify-items: start; }
.seo-upsell__price strong { font-size: 1.75rem; font-variant-numeric: tabular-nums; }
.seo-local { display: grid; gap: var(--st-s3); }
.seo-local fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.seo-local legend { width: 100%; margin-bottom: 4px; }
.seo-table { width: 100%; border-collapse: collapse; font-size: var(--st-fs-14); margin-bottom: var(--st-s3); font-variant-numeric: tabular-nums; }
.seo-table th, .seo-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--st-line); }
.seo-inline { display: flex; flex-wrap: wrap; gap: var(--st-s2); }
.seo-inline .st-input { flex: 1 1 240px; }
.seo-h3 { font-size: var(--st-fs-16); margin: var(--st-s4) 0 var(--st-s2); }
.seo-ideas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.seo-ideas li { display: grid; padding: 6px 10px; border: 1px solid var(--st-line); border-radius: var(--st-r-sm); font-size: var(--st-fs-14); }
.seo-ideas small { color: var(--st-text-2); }
.seo-steps { margin: 0 0 var(--st-s3); padding-left: 1.3em; display: grid; gap: 6px; }
.seo-nap { padding: var(--st-s3); background: var(--st-surface-2); border-radius: var(--st-r-sm); margin: 0 0 var(--st-s3); }
.seo-dirs a { font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; }
.seo-dirs p { margin: 0; }
.seo-napform { display: grid; gap: var(--st-s2); margin-top: var(--st-s4); padding-top: var(--st-s3); border-top: 1px solid var(--st-line); }
.seo-ok { color: var(--st-ok-text); font-weight: 600; margin: 0; }
.seo-issues { margin: 0; color: var(--st-danger-text); }
.seo-qr { display: flex; flex-wrap: wrap; gap: var(--st-s4); align-items: center; }
.seo-qr img { border: 1px solid var(--st-line); border-radius: var(--st-r-sm); }
.seo-qr p { margin: 0 0 var(--st-s2); }
.seo-link { overflow-wrap: anywhere; font-size: var(--st-fs-14); color: var(--st-text-2); }

/* Couleur de marque reprise d'une image : zone compacte et pastilles. */
.drop--compact { margin-top: 12px; padding: 12px 14px; }
.as__swatches { margin-top: 8px; }
.as__swatch { flex-direction: row; align-items: center; gap: 10px; }
.as__swatch small { margin-left: auto; }
.as__swatch-chip { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--st-line-input); flex: none; }

/* -- Carte du jour et articles (options terminées le 12/11/2026) ---------------------------------------- */
.day-form, .article-form { display: grid; gap: var(--st-s3); max-width: 40rem; }
.day-next { margin-top: var(--st-s4); }
.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--st-s3); }
.article-list li { display: flex; flex-wrap: wrap; gap: var(--st-s2) var(--st-s3); align-items: center; justify-content: space-between; padding-top: var(--st-s3); border-top: 1px solid var(--st-line); }
.article-list li:first-child { border-top: 0; padding-top: 0; }
.article-list li > div:first-child { flex: 1 1 260px; min-width: 0; }
.article-list__title { margin: 0; }
.article-list__tools { display: flex; gap: var(--st-s2); align-items: center; }
.article-list__tools form { margin: 0; }
.ed__tools-links { display: grid; gap: var(--st-s2); }
