/* Le Traiteur d'Uccle. Feuille de style du site, tirée du design system « Potager uccleois ». */

@font-face { font-family: "Fraunces"; src: url("fonts/Fraunces-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/Fraunces-Variable-Italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Variable.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --lin: #F4F1EA; --surface-raised: #FFFFFF; --surface-sunk: #EAE5D9;
  --ink: #222A4F; --ink-muted: #5B6078; --line: #DCD6C8; --line-strong: #5B6078;
  --encre: #222A4F; --on-encre: #F4F1EA; --action: #222A4F; --on-action: #F4F1EA;
  --citron: #E9D66B; --on-citron: #222A4F; --citron-soft: #F6EDB8;
  --olive: #7C8F5E; --olive-text: #4F5F33; --olive-soft: #E3E8D6;
  --tomate: #A33F29; --tomate-soft: #F6DED6; --focus: #222A4F;
  --font-display: "Fraunces", Georgia, serif; --font-sans: "Instrument Sans", system-ui, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px; --radius-pill: 999px;
  --shadow-pop: 0 8px 24px rgba(34,42,79,0.12);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 26px; background: var(--lin); color: var(--ink); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--space-4); top: var(--space-4); z-index: 50; background: var(--surface-raised); padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--space-6); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 20px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Titres */
.h1 { font-family: var(--font-display); font-size: 44px; line-height: 50px; font-weight: 500; letter-spacing: -0.015em; font-variation-settings: 'opsz' 72; }
.h2 { font-family: var(--font-display); font-size: 32px; line-height: 38px; font-weight: 500; letter-spacing: -0.01em; font-variation-settings: 'opsz' 48; }
.h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.accent { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.lead { font-size: 18px; line-height: 28px; max-width: 60ch; }

/* Sections */
.section { padding: var(--space-16) 0; }
.section-sunk { background: var(--surface-sunk); }
.section-head { display: grid; gap: var(--space-3); margin-bottom: var(--space-8); max-width: 68ch; }
.section-head p { color: var(--ink-muted); }
.stack { display: grid; gap: var(--space-4); }
.prose { display: grid; gap: var(--space-4); max-width: 64ch; }
.prose p { color: var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: start; }
.two-wide { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-12); align-items: start; }

/* Boutons */
.tu-btn { font: inherit; font-size: 15px; font-weight: 600; line-height: 20px; display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-6); border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease; white-space: nowrap; }
.tu-btn-primary { background: var(--action); color: var(--on-action); }
.tu-btn-primary:hover { background: var(--ink-muted); }
.tu-btn-citron { background: var(--citron); color: var(--on-citron); }
.tu-btn-citron:hover { box-shadow: inset 0 0 0 2px var(--on-citron); }
.tu-btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.tu-btn-secondary:hover { background: var(--surface-sunk); }
.tu-btn-link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.tu-btn-lg { font-size: 16px; padding: 14px var(--space-8); }
.tu-btn .ico { width: 18px; height: 18px; }

/* En-tête */
.tu-header { position: sticky; top: 0; z-index: 20; background: var(--lin); border-bottom: 1px solid var(--line); transition: box-shadow 120ms ease; }
.tu-header.is-stuck { box-shadow: var(--shadow-pop); }
.tu-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding-top: var(--space-2); padding-bottom: var(--space-2); }
.tu-logo { width: 120px; height: auto; }
.tu-nav { display: flex; gap: var(--space-6); font-size: 15px; font-weight: 500; }
.tu-nav a { color: var(--ink); text-decoration: none; padding: var(--space-1) 0; border-bottom: 2px solid transparent; transition: border-color 120ms ease; }
.tu-nav a:hover, .tu-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.tu-header-actions { display: flex; align-items: center; gap: var(--space-4); }
.tu-tel { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 15px; }
.tu-burger { display: none; }

/* Fil d'Ariane */
.crumbs { font-size: 14px; line-height: 20px; color: var(--ink-muted); padding-top: var(--space-6); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-2); }
.crumbs a { color: var(--ink-muted); }

/* Hero */
.hero-wrap { padding-top: var(--space-6); }
.tu-hero { background: var(--encre); color: var(--on-encre); border-radius: var(--radius-lg); padding: var(--space-16) var(--space-12); display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-12); align-items: center; }
.tu-hero h1 { font-family: var(--font-display); font-size: 64px; line-height: 68px; font-weight: 500; letter-spacing: -0.02em; font-variation-settings: 'opsz' 96; }
.tu-hero h1 em { font-weight: 400; color: var(--citron); white-space: nowrap; }
.tu-hero p { margin: var(--space-6) 0 var(--space-8); font-size: 18px; line-height: 28px; max-width: 44ch; }
.tu-hero-actions { display: flex; gap: var(--space-6); align-items: center; flex-wrap: wrap; }
.tu-hero .tu-btn-link { color: var(--on-encre); }
.tu-hero-photo { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--olive); display: flex; align-items: flex-end; padding: var(--space-4); }
.tu-hero-photo span { background: var(--lin); color: var(--ink); font-size: 13px; line-height: 18px; padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); max-width: 32ch; }

/* En-tête de page intérieure */
.page-head { padding: var(--space-8) 0 var(--space-12); display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-12); align-items: end; }
.page-head .lead { margin-top: var(--space-4); }
.page-head-photo { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: var(--surface-sunk); display: flex; align-items: flex-end; padding: var(--space-4); color: var(--ink-muted); font-size: 13px; line-height: 18px; }
.page-head-actions { display: flex; gap: var(--space-6); align-items: center; flex-wrap: wrap; margin-top: var(--space-6); }

/* Bandeau d'infos */
.tu-infos { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--encre); color: var(--on-encre); border-radius: var(--radius-md); }
.tu-info { padding: var(--space-6); display: grid; gap: var(--space-1); align-content: start; }
.tu-info + .tu-info { border-left: 1px solid rgba(244, 241, 234, 0.2); }
.tu-info b { font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 32px; color: var(--citron); font-variant-numeric: tabular-nums; }
.tu-info span { font-size: 15px; line-height: 22px; }

/* Cartes produit */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.tu-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: border-color 120ms ease; }
a.tu-card:hover { border-color: var(--line-strong); }
.tu-card-photo { aspect-ratio: 4 / 3; background: var(--surface-sunk); display: flex; align-items: flex-end; padding: var(--space-3); color: var(--ink-muted); font-size: 13px; line-height: 18px; }
.tu-card-body { padding: var(--space-4) var(--space-6) var(--space-6); display: grid; gap: var(--space-2); flex: 1; align-content: start; }
.tu-card-body p { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.tu-card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); margin-top: auto; padding-top: var(--space-2); }
.price { font-size: 18px; line-height: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tu-card-go { display: inline-flex; align-items: center; gap: var(--space-1); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Formules */
.formules { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); align-items: stretch; }
.formules-2 { grid-template-columns: repeat(2, 1fr); max-width: 800px; }
.tu-formule { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-8); display: grid; gap: var(--space-4); align-content: start; }
.tu-formule-feature { background: var(--encre); color: var(--on-encre); border-color: var(--encre); }
.tu-formule-feature .muted { color: var(--on-encre); }
.tu-formule-feature .tu-formule-price b { color: var(--citron); }
.tu-formule-kicker { font-size: 14px; font-weight: 600; line-height: 20px; }
.tu-formule-title { font-family: var(--font-display); font-size: 32px; line-height: 38px; font-weight: 500; font-variation-settings: 'opsz' 48; }
.tu-formule-price { font-size: 15px; }
.tu-formule-price b { font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tu-formule ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); }
.tu-formule li { display: flex; gap: var(--space-2); }
.tu-formule li .ico { width: 18px; height: 18px; margin-top: 4px; color: var(--olive-text); }
.tu-formule-feature li .ico { color: var(--citron); }

/* Carte, lignes de menu */
.tu-menu { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-2) var(--space-6); }
.tu-menu-item { display: grid; grid-template-columns: 1fr auto; gap: var(--space-1) var(--space-6); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.tu-menu-item:last-child { border-bottom: 0; }
.tu-menu-name { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 500; font-variation-settings: 'opsz' 24; }
.tu-menu-desc { grid-column: 1; color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.tu-menu-price { font-weight: 600; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tu-menu-tags { grid-column: 1 / -1; display: flex; gap: var(--space-2); flex-wrap: wrap; }
.menu-block { display: grid; gap: var(--space-4); }
.menu-block + .menu-block { margin-top: var(--space-12); }
.menu-note { font-size: 15px; line-height: 22px; color: var(--ink-muted); max-width: 70ch; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; }
.menu-toc { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); font-size: 15px; font-weight: 500; margin-top: var(--space-6); }

/* Badges */
.tu-badge { display: inline-flex; align-items: center; gap: var(--space-1); font-size: 13px; font-weight: 600; line-height: 20px; padding: 2px var(--space-2); border-radius: var(--radius-sm); background: var(--surface-sunk); color: var(--ink); }
.tu-badge-vege { background: var(--olive-soft); color: var(--olive-text); }
.tu-badge-halal { background: var(--citron-soft); color: var(--ink); }
.tu-badge-jour { background: var(--tomate-soft); color: var(--tomate); }

/* Régimes */
.regimes { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.regime { border-top: 1px solid var(--line-strong); padding-top: var(--space-4); display: grid; gap: var(--space-2); align-content: start; }
.regime p { color: var(--ink-muted); font-size: 15px; line-height: 22px; }

/* Liste à coches */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.checks li { display: flex; gap: var(--space-3); }
.checks .ico { color: var(--olive-text); margin-top: 3px; }

/* Zones */
.tu-zones { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tu-zone { display: inline-flex; align-items: center; gap: var(--space-1); padding: 6px var(--space-4); border-radius: var(--radius-pill); border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease; }
.tu-zone:hover { background: var(--olive-soft); border-color: var(--olive-text); color: var(--olive-text); }
.tu-zone-home { background: var(--encre); color: var(--on-encre); border-color: var(--encre); }
.tu-zone-home:hover { background: var(--encre); color: var(--on-encre); border-color: var(--encre); }
.zone-table { width: 100%; border-collapse: collapse; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.zone-table th, .zone-table td { text-align: left; padding: var(--space-3) var(--space-6); border-bottom: 1px solid var(--line); font-size: 15px; line-height: 22px; vertical-align: top; }
.zone-table th { font-size: 14px; font-weight: 600; background: var(--surface-sunk); }
.zone-table tr:last-child td { border-bottom: 0; }

/* FAQ */
.tu-faq { border-top: 1px solid var(--line); max-width: 760px; }
.tu-faq details { border-bottom: 1px solid var(--line); }
.tu-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4) 0; font-weight: 600; font-size: 17px; line-height: 26px; }
.tu-faq summary::-webkit-details-marker { display: none; }
.tu-faq summary::after { content: '+'; font-family: var(--font-display); font-size: 26px; font-weight: 400; line-height: 1; color: var(--ink-muted); }
.tu-faq details[open] summary::after { content: '\2212'; }
.tu-faq p { margin: 0 0 var(--space-4); color: var(--ink-muted); max-width: 62ch; }

/* Formulaire */
.tu-form { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-8); display: grid; gap: var(--space-6); }
.tu-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.tu-form legend { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 500; padding: 0; margin-bottom: var(--space-2); }
.tu-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.tu-field { display: grid; gap: var(--space-1); align-content: start; }
.tu-field label, .tu-legend { font-size: 14px; font-weight: 600; line-height: 20px; }
.tu-input { font: inherit; font-size: 16px; height: 44px; padding: 0 var(--space-3); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-raised); color: var(--ink); width: 100%; }
textarea.tu-input { height: 120px; padding: var(--space-3); resize: vertical; line-height: 24px; }
.tu-input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.tu-help { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.tu-error { font-size: 14px; line-height: 20px; color: var(--tomate); }
.tu-error:empty { display: none; }
.tu-input[aria-invalid="true"] { border-color: var(--tomate); }
.tu-checks { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); border: 0; padding: 0; margin: 0; }
.tu-check { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 15px; line-height: 22px; }
.tu-check input { width: 18px; height: 18px; accent-color: var(--action); margin: 0; }
.form-foot { display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.form-done { background: var(--olive-soft); color: var(--olive-text); border-radius: var(--radius-md); padding: var(--space-6); display: grid; gap: var(--space-2); }
.form-done[hidden] { display: none; }
.aside { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); display: grid; gap: var(--space-4); }
.aside dl { margin: 0; display: grid; gap: var(--space-3); }
.aside dt { font-size: 14px; font-weight: 600; line-height: 20px; }
.aside dd { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); }

/* Encart citron-soft */
.note { background: var(--citron-soft); border-radius: var(--radius-md); padding: var(--space-4) var(--space-6); font-size: 15px; line-height: 22px; }

/* Bandeau d'appel */
.cta { background: var(--encre); color: var(--on-encre); border-radius: var(--radius-lg); padding: var(--space-12); display: grid; grid-template-columns: 1fr auto; gap: var(--space-8); align-items: center; }
.cta p { margin-top: var(--space-3); max-width: 56ch; }
.cta-actions { display: flex; gap: var(--space-6); align-items: center; flex-wrap: wrap; }
.cta .tu-tel { color: var(--on-encre); }

/* Pied de page */
.tu-footer { background: var(--encre); color: var(--on-encre); margin-top: var(--space-16); padding: var(--space-16) 0 var(--space-8); }
.tu-footer .grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--space-8); }
.tu-footer h2 { font-size: 15px; line-height: 22px; font-weight: 600; margin-bottom: var(--space-3); }
.tu-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); font-size: 15px; line-height: 22px; }
.tu-footer a { color: var(--on-encre); text-decoration: none; }
.tu-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tu-footer address { font-style: normal; font-size: 15px; line-height: 24px; margin-top: var(--space-4); }
.tu-footer .legal { border-top: 1px solid rgba(244, 241, 234, 0.2); margin-top: var(--space-12); padding-top: var(--space-6); font-size: 14px; line-height: 20px; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); justify-content: space-between; }

/* Points à confirmer (prévisualisation uniquement) */
.tbc { display: inline; background: var(--citron-soft); color: var(--ink); border-radius: var(--radius-sm); padding: 1px 6px; font-size: 13px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.tbc-block { border: 1px dashed var(--line-strong); border-radius: var(--radius-md); padding: var(--space-4) var(--space-6); font-size: 15px; line-height: 22px; display: grid; gap: var(--space-1); }
.tbc-block b { font-size: 14px; }
.hide-tbc .tbc, .hide-tbc .tbc-block { display: none; }

@media (max-width: 1080px) {
  .tu-nav { gap: var(--space-4); font-size: 14px; }
  .tu-header .tu-tel span { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .tu-footer .grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .wrap { padding: 0 var(--space-4); }
  .section { padding: var(--space-12) 0; }
  .tu-burger { display: block; position: relative; }
  .tu-burger summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; font-size: 15px; padding: var(--space-2) var(--space-3); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
  .tu-burger summary::-webkit-details-marker { display: none; }
  .tu-burger nav { position: absolute; right: 0; top: calc(100% + var(--space-2)); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-pop); padding: var(--space-2) var(--space-4); display: grid; min-width: 240px; }
  .tu-burger nav a { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
  .tu-burger nav a:last-child { border-bottom: 0; }
  .tu-header .tu-nav-desktop, .tu-header .tu-header-actions .tu-btn { display: none; }
  .tu-logo { width: 120px; }
  .tu-hero { grid-template-columns: 1fr; padding: var(--space-8) var(--space-6); gap: var(--space-8); }
  .tu-hero h1 { font-size: 40px; line-height: 46px; }
  .tu-hero h1 em { white-space: normal; }
  .tu-hero-photo { aspect-ratio: 4 / 3; }
  .h1 { font-size: 34px; line-height: 40px; }
  .h2 { font-size: 26px; line-height: 32px; }
  .page-head, .two, .two-wide, .menu-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .tu-infos { grid-template-columns: 1fr; }
  .tu-info + .tu-info { border-left: 0; border-top: 1px solid rgba(244, 241, 234, 0.2); }
  .cards, .cards-3, .formules, .formules-2 { grid-template-columns: 1fr; }
  .regimes { grid-template-columns: 1fr 1fr; }
  .tu-form { padding: var(--space-6); }
  .tu-form-row { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; padding: var(--space-8) var(--space-6); }
  .tu-footer .grid { grid-template-columns: 1fr; }
  .zone-table th, .zone-table td { padding: var(--space-3); }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ------------------------------------------------------------ Estimateur */
.calc { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-8); align-items: start; padding-bottom: var(--space-16); }
.calc-main { display: grid; gap: var(--space-6); }
.calc-step { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); display: grid; gap: var(--space-4); }
.calc-step-title { display: flex; align-items: center; gap: var(--space-3); font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 500; font-variation-settings: 'opsz' 36; }
.calc-num { width: 28px; height: 28px; border-radius: var(--radius-sm); background: var(--encre); color: var(--on-encre); font-family: var(--font-sans); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-raised); height: 40px; }
.stepper button { width: 40px; height: 100%; border: 0; background: transparent; font: inherit; font-size: 20px; line-height: 1; color: var(--ink); cursor: pointer; transition: background-color 120ms ease; }
.stepper button:hover { background: var(--surface-sunk); }
.stepper button:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.stepper button:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.stepper output, .stepper input { min-width: 40px; text-align: center; font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); border: 0; background: transparent; display: inline-block; }
.stepper input { width: 64px; height: 100%; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-lg { height: 48px; }
.stepper-lg button { width: 48px; }
.stepper-lg input { font-size: 20px; }
.calc-tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.calc-tab { font: inherit; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease; }
.calc-tab:hover { background: var(--surface-sunk); }
.calc-tab[aria-selected="true"] { background: var(--encre); color: var(--on-encre); border-color: var(--encre); }
.calc-tab[aria-selected="true"] .tu-badge { background: var(--citron); color: var(--on-citron); }
.calc-tab .tu-badge { min-width: 22px; justify-content: center; padding: 0 6px; }
.calc-panel { display: grid; border-top: 1px solid var(--line); }
.calc-item { display: grid; grid-template-columns: 1fr auto; gap: var(--space-4); align-items: center; padding: var(--space-4) var(--space-3); border-bottom: 1px solid var(--line); border-radius: var(--radius-sm); transition: background-color 160ms ease; }
.calc-item.is-on { background: var(--olive-soft); }
.calc-item-name { font-family: var(--font-display); font-size: 19px; line-height: 24px; font-weight: 500; font-variation-settings: 'opsz' 24; }
.calc-item-desc { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.calc-item-price { font-size: 14px; line-height: 20px; font-weight: 600; margin-top: 2px; }
.calc-item.is-on .calc-item-price { color: var(--olive-text); }
.calc-item-ctl { display: flex; align-items: center; gap: var(--space-3); }
.calc-all { font: inherit; font-size: 13px; font-weight: 600; background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.calc-opts { display: grid; gap: var(--space-4); }
.calc-opt { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); font-size: 15px; }
.calc-recap { position: sticky; top: 124px; background: var(--encre); color: var(--on-encre); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-4); }
.calc-empty { font-size: 15px; line-height: 22px; opacity: .85; }
.calc-empty[hidden] { display: none; }
.calc-lines { list-style: none; margin: 0; padding: 0; display: grid; }
.calc-lines li { display: flex; justify-content: space-between; gap: var(--space-4); font-size: 14px; line-height: 20px; padding: var(--space-2) 0; border-bottom: 1px solid rgba(244, 241, 234, 0.2); }
.calc-lines li b { white-space: nowrap; font-weight: 600; }
.calc-total { display: grid; gap: var(--space-1); }
.calc-total[hidden] { display: none; }
.calc-total > span:first-child { font-size: 14px; font-weight: 600; }
.calc-total b { font-family: var(--font-display); font-size: 36px; line-height: 42px; font-weight: 500; color: var(--citron); font-variation-settings: 'opsz' 48; }
#calc-pp { font-size: 14px; line-height: 20px; }
.calc-recap .tu-btn { justify-content: center; white-space: normal; text-align: center; }
.calc-recap .tu-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.calc-legal { font-size: 13px; line-height: 18px; opacity: .85; }
.calc-ok { color: var(--olive-text); font-weight: 600; }
.calc-bar { display: none; }

/* Comment commander */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 2px var(--space-4); counter-increment: s; }
.steps li::before { content: counter(s); grid-row: span 2; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--encre); color: var(--citron); font-family: var(--font-display); font-size: 22px; display: flex; align-items: center; justify-content: center; }
.steps b { font-size: 18px; line-height: 26px; }
.steps span { color: var(--ink-muted); }

/* FAQ : icône dessinée */
.tu-faq summary::after { content: none; }
.faq-ico { position: relative; width: 14px; height: 14px; flex: none; }
.faq-ico::before, .faq-ico::after { content: ''; position: absolute; background: var(--ink-muted); border-radius: 1px; }
.faq-ico::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-ico::after { left: 6px; top: 0; width: 2px; height: 14px; transition: transform 200ms ease; }
.tu-faq details[open] .faq-ico::after { transform: rotate(90deg); }

/* Coche du formulaire */
.done-ico { width: 28px; height: 28px; fill: none; stroke: var(--olive-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 0; }
.form-done:not([hidden]) .done-ico { animation: draw 420ms ease-out both; }

/* ------------------------------------------------------------ Mouvement
   Proposition d'ajout au design system : le mouvement répond à une action du visiteur,
   dure 120 à 320 ms, ne retarde jamais un contenu et disparaît avec prefers-reduced-motion. */
@keyframes draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@keyframes enter { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes bump { 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.bump { animation: bump 180ms ease-out; display: inline-block; }
.calc-lines li.enter { animation: enter 200ms ease-out both; }
.fade-in { animation: enter 180ms ease-out both; }
.tu-burger[open] nav { animation: pop 160ms ease-out; }
.tu-card-go .ico, .tu-btn .ico { transition: transform 160ms ease; }
.tu-card-go .ico { width: 16px; height: 16px; }
.tu-card-go { gap: var(--space-1); }
a.tu-card:hover .tu-card-go .ico, .tu-btn:hover .ico:not(.ico-static) { transform: translateX(3px); }
.tu-tel .ico { transition: none; }
.tu-header { view-transition-name: tu-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; }
@view-transition { navigation: auto; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .tu-faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 220ms ease, content-visibility 220ms allow-discrete; }
  .tu-faq details[open]::details-content { block-size: auto; }
}
.no-motion *, .no-motion *::before, .no-motion *::after, .no-motion ::details-content { animation: none !important; transition: none !important; }

@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; padding-bottom: 96px; }
  .calc-recap { position: static; }
  .calc-item { grid-template-columns: 1fr; gap: var(--space-3); }
  .calc-item-ctl { justify-content: space-between; }
  .calc-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-3) var(--space-4); background: var(--encre); color: var(--on-encre); font-size: 14px; }
  .calc-bar b { font-family: var(--font-display); font-size: 20px; color: var(--citron); font-weight: 500; margin-left: var(--space-1); }
  .on-calc .review { bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; } }
.calc-panel[hidden] { display: none; }
.tu-field .stepper { justify-self: start; }
.aside dl { gap: 0; }
.aside dd + dt { margin-top: var(--space-3); }

/* Photos d'illustration */
figure { margin: 0; }
.has-photo { position: relative; padding: 0; overflow: hidden; display: block; }
.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tu-hero-photo.has-photo, .page-head-photo.has-photo { border-radius: var(--radius-lg); }
.photo-tag { position: absolute; left: var(--space-3); bottom: var(--space-3); background: rgba(244, 241, 234, 0.92); color: var(--ink); font-size: 12px; line-height: 16px; font-weight: 600; padding: 2px var(--space-2); border-radius: var(--radius-sm); }
.hide-tbc .photo-tag { display: none; }
a.tu-card .tu-card-photo img { transition: transform 320ms ease; }
a.tu-card:hover .tu-card-photo img { transform: scale(1.03); }

/* Pied de page */
.tu-footer { padding: var(--space-16) 0 var(--space-8); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-12); align-items: end; padding-bottom: var(--space-12); border-bottom: 1px solid rgba(244, 241, 234, 0.2); }
.foot-title { font-family: var(--font-display); font-size: 44px; line-height: 50px; font-weight: 500; letter-spacing: -0.015em; font-variation-settings: 'opsz' 72; max-width: 18ch; }
.foot-title em { font-weight: 400; color: var(--citron); }
.foot-sub { margin-top: var(--space-3); font-size: 17px; line-height: 26px; opacity: .9; }
.foot-actions { display: flex; gap: var(--space-6); align-items: center; flex-wrap: wrap; margin-top: var(--space-6); }
.foot-actions .tu-btn-link { color: var(--on-encre); }
.foot-contact { display: grid; gap: var(--space-2); justify-items: start; }
.tu-footer .foot-tel { font-family: var(--font-display); font-size: 32px; line-height: 38px; font-weight: 500; color: var(--citron); }
.tu-footer .foot-mail { font-size: 17px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.foot-contact p { font-size: 15px; line-height: 24px; opacity: .9; margin-top: var(--space-2); }
.foot-links { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1fr; gap: var(--space-8); padding-top: var(--space-12); }
.foot-brand { display: grid; gap: var(--space-4); align-content: start; }
.foot-brand img { width: 140px; height: auto; }
.foot-brand p { font-size: 15px; line-height: 22px; max-width: 30ch; opacity: .9; }
.tu-footer h2 { font-size: 14px; line-height: 20px; font-weight: 600; margin-bottom: var(--space-4); color: var(--citron); }
.tu-footer ul { gap: var(--space-3); }
.foot-cols { grid-template-columns: 1fr 1fr; column-gap: var(--space-6); }
.tu-footer .legal { margin-top: var(--space-12); opacity: .85; }
@media (max-width: 1080px) { .foot-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .foot-top { grid-template-columns: 1fr; gap: var(--space-8); }
  .foot-title { font-size: 32px; line-height: 38px; }
  .foot-links { grid-template-columns: 1fr; gap: var(--space-8); }
  .tu-footer .legal { flex-direction: column; }
}
.tu-card-meta { flex-direction: column; align-items: flex-start; gap: var(--space-1); }
.tu-footer { margin-top: 0; }
.tu-footer .tu-btn-citron { color: var(--on-citron); }
.tu-footer a.tu-btn:hover { text-decoration: none; }

/* ------------------------------------------------------------ Mouvement visible (v2) */
.tu-hero h1 em { position: relative; display: inline-block; }
.scribble { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 14px; overflow: visible; }
.scribble path { fill: none; stroke: var(--citron); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 0; }

@keyframes rise { from { opacity: .15; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes riseSoft { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes photoIn { from { opacity: .2; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes drawLine { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }

.motion .tu-hero.hero-in h1 { animation: rise 640ms cubic-bezier(.2,.7,.2,1) both; }
.motion .tu-hero.hero-in h1 + p { animation: riseSoft 600ms cubic-bezier(.2,.7,.2,1) 120ms both; }
.motion .tu-hero.hero-in .tu-hero-actions { animation: riseSoft 600ms cubic-bezier(.2,.7,.2,1) 220ms both; }
.motion .tu-hero.hero-in .tu-hero-photo { overflow: hidden; }
.motion .tu-hero.hero-in .tu-hero-photo img { animation: photoIn 1100ms cubic-bezier(.2,.7,.2,1) both; }
.motion .tu-hero.hero-in .scribble path { animation: drawLine 900ms cubic-bezier(.6,0,.2,1) 520ms both; }

/* Apparition au défilement : seuls les blocs sous la ligne de flottaison reçoivent .rv */
.motion .rv { opacity: 0; transform: translateY(20px); }
.motion .rv.in { opacity: 1; transform: none; transition: opacity 560ms ease, transform 640ms cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
.motion .tu-zone.rv { transform: translateY(8px) scale(.96); }
.motion .tu-zone.rv.in { transform: none; transition-delay: calc(var(--i, 0) * 45ms); }

/* Étapes : le trait qui relie les numéros se dessine */
.steps li { position: relative; }
.steps li:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 44px; bottom: calc(-1 * var(--space-6) + 4px); width: 2px; background: var(--line); transform-origin: top; }
.motion .steps li.rv:not(:last-child)::after { transform: scaleY(0); }
.motion .steps li.rv.in:not(:last-child)::after { transform: scaleY(1); transition: transform 500ms ease 300ms; }

/* Cartes : légère montée au survol, sans ombre */
a.tu-card { transition: border-color 160ms ease, transform 200ms cubic-bezier(.2,.7,.2,1); }
a.tu-card:hover { transform: translateY(-4px); }

/* Bouton citron : la flèche glisse, le fond se renforce */
.tu-btn-citron .ico { transition: transform 200ms cubic-bezier(.2,.7,.2,1); }

/* En-tête compact au défilement (le logo garde ses 120 px de large) */

/* Transition entre pages : le nouveau contenu monte légèrement */
@keyframes vtIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes vtOut { to { opacity: 0; } }
::view-transition-old(root) { animation: vtOut 160ms ease both; }
::view-transition-new(root) { animation: vtIn 320ms cubic-bezier(.2,.7,.2,1) both; }

.no-motion .rv { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1 !important; transform: none !important; } }

/* ------------------------------------------------------------ Carte des zones */
.zmap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; }
.zmap-canvas { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4); position: relative; }
.zmap-svg { width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
.zmap-ctx path { fill: var(--surface-sunk); stroke: var(--line); stroke-width: 1.2; }
.zmap-served path { fill: var(--olive-soft); stroke: var(--olive-text); stroke-width: 1.5; cursor: pointer; transition: fill 160ms ease, stroke-width 160ms ease; outline: none; }
.zmap-served path.is-hover, .zmap-served path:focus-visible { stroke: var(--encre); stroke-width: 3.5; }
.zmap-served path.is-sel { fill: var(--encre); stroke: var(--encre); }
.zmap-labels text { font-family: var(--font-sans); font-size: 19px; font-weight: 600; fill: var(--ink); text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: var(--olive-soft); stroke-width: 4px; stroke-linejoin: round; transition: fill 160ms ease; }
.zmap-labels text.is-sel { fill: var(--on-encre); stroke: var(--encre); }
.zmap-routes path { fill: none; stroke: var(--encre); stroke-width: 2; stroke-dasharray: 5 7; stroke-linecap: round; opacity: .45; pointer-events: none; transition: stroke 160ms ease, opacity 160ms ease, stroke-width 160ms ease; }
.zmap-routes path.is-sel, .zmap-routes path.is-hover { stroke: var(--citron); opacity: 1; stroke-width: 3.5; }
.zmap-served path.is-sel ~ * { }
.zmap-pin .pin-halo { fill: var(--citron); opacity: .5; }
.zmap-pin .pin-dot { fill: var(--encre); }
.zmap-pin .pin-core { fill: var(--citron); }
.zmap-pin rect { fill: var(--encre); }
.zmap-pin text { fill: var(--on-encre); font-family: var(--font-sans); font-size: 17px; font-weight: 600; text-anchor: middle; }
.zmap-help { position: absolute; left: var(--space-6); top: var(--space-6); font-size: 13px; line-height: 18px; color: var(--ink-muted); background: var(--surface-raised); padding: 2px var(--space-2); border-radius: var(--radius-sm); }
.zmap-side { display: grid; gap: var(--space-6); position: sticky; top: 124px; }
.zmap-chips .tu-zone { font: inherit; font-size: 15px; font-weight: 500; background: transparent; cursor: pointer; }
.zmap-chips .tu-zone.is-sel { background: var(--encre); color: var(--on-encre); border-color: var(--encre); }
.zmap-panel { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); }
.zmap-info { display: grid; gap: var(--space-4); }
.zmap-info[hidden] { display: none; }
.zmap-region { font-size: 14px; font-weight: 600; color: var(--olive-text); }
.zmap-name { font-family: var(--font-display); font-size: 36px; line-height: 42px; font-weight: 500; font-variation-settings: 'opsz' 48; margin-top: calc(-1 * var(--space-3)); }
.zmap-actions { display: flex; gap: var(--space-6); align-items: center; flex-wrap: wrap; }

/* tracés : dessin à l'arrivée */
.motion .zmap-routes path { stroke-dashoffset: 600; stroke-dasharray: 600; }
.motion .zmap-svg.drawn .zmap-routes path { stroke-dasharray: 5 7; stroke-dashoffset: 0; animation: route 900ms cubic-bezier(.4,0,.2,1) both; animation-delay: calc(var(--i, 0) * 110ms); }
@keyframes route { from { stroke-dasharray: 600; stroke-dashoffset: 600; } 99% { stroke-dasharray: 600; stroke-dashoffset: 0; } to { stroke-dasharray: 5 7; stroke-dashoffset: 0; } }
.motion .zmap-svg.drawn .zmap-pin { animation: pinIn 500ms cubic-bezier(.2,.7,.2,1.4) both; transform-box: fill-box; }
@keyframes pinIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 860px) {
  .zmap { grid-template-columns: 1fr; }
  .zmap-side { position: static; }
  .zmap-canvas { padding: var(--space-2); }
  .zmap-help { left: var(--space-3); top: var(--space-3); }
  .zmap-labels text { font-size: 24px; }
}

/* Pied de page : communes en déroulant */
.foot-drop summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: var(--space-2); }
.foot-drop summary::-webkit-details-marker { display: none; }
.foot-drop summary h2 { margin: 0; }
.foot-drop summary .ico { width: 18px; height: 18px; color: var(--citron); transition: transform 200ms ease; }
.foot-drop[open] summary .ico { transform: rotate(180deg); }
.foot-drop ul { margin-top: var(--space-4); }
.foot-drop summary:focus-visible { outline: 2px solid var(--citron); outline-offset: 4px; border-radius: var(--radius-sm); }
.motion .foot-drop[open] ul { animation: pop 200ms ease-out; }
.zmap-bg { fill: var(--surface-sunk); }

/* ------------------------------------------------------------ Textes juridiques */
.legal-head { padding: var(--space-8) 0 var(--space-8); display: grid; gap: var(--space-4); max-width: 820px; }
.essentiel { background: var(--encre); color: var(--on-encre); border-radius: var(--radius-lg); padding: var(--space-8); margin-bottom: var(--space-12); }
.essentiel .h2 { margin-bottom: var(--space-6); }
.ess-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6) var(--space-8); }
.ess { border-top: 1px solid rgba(244, 241, 234, 0.25); padding-top: var(--space-4); display: grid; gap: var(--space-2); align-content: start; }
.ess h3 { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 500; color: var(--citron); }
.ess p { font-size: 15px; line-height: 22px; }
.legal-doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--space-12); align-items: start; }
.legal-toc { position: sticky; top: 124px; }
.legal-toc-t { font-size: 14px; font-weight: 600; color: var(--ink-muted); margin-bottom: var(--space-3); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal-toc button { font: inherit; font-size: 14px; line-height: 20px; text-align: left; background: none; border: 0; color: var(--ink-muted); cursor: pointer; padding: var(--space-2) var(--space-3); display: flex; gap: var(--space-2); width: 100%; border-left: 2px solid transparent; margin-left: -1px; transition: color 120ms ease, border-color 120ms ease; }
.legal-toc button:hover { color: var(--ink); }
.legal-toc button.is-cur { color: var(--ink); font-weight: 600; border-left-color: var(--encre); }
.legal-toc .num { color: var(--olive-text); font-weight: 600; min-width: 20px; }
.legal-body { display: grid; gap: var(--space-4); max-width: 760px; }
.legal-art { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6) var(--space-8); display: grid; gap: var(--space-3); scroll-margin-top: 120px; }
.legal-art h2 { display: flex; align-items: baseline; gap: var(--space-3); font-family: var(--font-display); font-size: 26px; line-height: 32px; font-weight: 500; font-variation-settings: 'opsz' 36; margin-bottom: var(--space-1); }
.legal-n { font-size: 15px; font-family: var(--font-sans); font-weight: 600; color: var(--on-encre); background: var(--encre); border-radius: var(--radius-sm); padding: 2px 6px; }
.legal-art p, .legal-art li { font-size: 16px; line-height: 26px; }
.legal-art ul { margin: 0; padding-left: var(--space-6); display: grid; gap: var(--space-1); }
.legal-table { overflow-x: auto; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: var(--space-3); border-bottom: 1px solid var(--line); }
.legal-table th { background: var(--surface-sunk); font-weight: 600; }
.legal-foot { margin: var(--space-8) 0 var(--space-16); color: var(--ink-muted); }
.rev { display: inline; font-size: 12px; font-weight: 600; line-height: 18px; padding: 1px 6px; border-radius: var(--radius-sm); white-space: nowrap; vertical-align: 1px; }
.rev-fix { background: var(--olive-soft); color: var(--olive-text); }
.rev-add { background: var(--encre); color: var(--citron); }
.hide-tbc .rev { display: none; }
@media (max-width: 860px) {
  .ess-grid { grid-template-columns: 1fr; }
  .essentiel { padding: var(--space-6); }
  .legal-doc { grid-template-columns: 1fr; gap: var(--space-6); }
  .legal-toc { position: static; }
  .legal-art { padding: var(--space-6); }
}
.legal-art .tbc, .legal-table .tbc { white-space: normal; display: inline; }

/* ------------------------------------------------------------ Espace commandes */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.on-app .tu-header, .on-app .tu-footer, .on-app .skip { display: none; }
.crm { min-height: 100vh; background: var(--lin); }
.crm-bar { position: sticky; top: 0; z-index: 20; background: var(--encre); color: var(--on-encre); display: flex; align-items: center; gap: var(--space-6); padding: var(--space-3) var(--space-6); }
.crm-brand { display: flex; align-items: center; gap: var(--space-4); }
.crm-brand img { width: 120px; height: auto; }
.crm-brand b { display: block; font-family: var(--font-display); font-size: 22px; line-height: 26px; font-weight: 500; }
.crm-brand span { font-size: 14px; opacity: .85; }
.crm-search { flex: 1; max-width: 460px; margin-left: auto; background: var(--surface-raised); }
.crm-wrap { padding: var(--space-6); max-width: 1480px; margin: 0 auto; }
.crm-demo { font-size: 14px; line-height: 20px; color: var(--ink-muted); background: var(--citron-soft); color: var(--ink); border-radius: var(--radius-sm); padding: var(--space-2) var(--space-4); margin-bottom: var(--space-6); display: flex; gap: var(--space-4); flex-wrap: wrap; align-items: center; }
.crm-demo .tu-btn-link { font-size: 14px; font-weight: 600; }
.crm-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-bottom: var(--space-6); }
.kpi { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-4) var(--space-6); display: grid; gap: 2px; }
.kpi b { font-family: var(--font-display); font-size: 36px; line-height: 40px; font-weight: 500; }
.kpi span { font-size: 14px; color: var(--ink-muted); }
.crm-tabs { display: flex; gap: var(--space-2); align-items: center; margin-bottom: var(--space-4); }
.crm-tabs [data-view] { font: inherit; font-size: 15px; font-weight: 600; padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; }
.crm-tabs [data-view][aria-selected="true"] { background: var(--encre); color: var(--on-encre); border-color: var(--encre); }
.crm-cancelled { margin-left: auto; font-size: 14px; color: var(--ink-muted); }
.crm-board { display: grid; grid-template-columns: repeat(4, minmax(240px, 1fr)); gap: var(--space-4); align-items: start; }
.crm-board[hidden], .crm-plan[hidden] { display: none; }
.col { background: var(--surface-sunk); border-radius: var(--radius-md); padding: var(--space-3); min-height: 240px; transition: background-color 120ms ease, box-shadow 120ms ease; }
.col.is-over { background: var(--olive-soft); box-shadow: inset 0 0 0 2px var(--olive-text); }
.col header { display: flex; justify-content: space-between; align-items: center; padding: var(--space-1) var(--space-2) var(--space-3); }
.col h2 { font-size: 15px; font-weight: 600; }
.col header span { font-size: 13px; font-weight: 600; background: var(--surface-raised); border-radius: var(--radius-sm); padding: 0 var(--space-2); }
.col-list { display: grid; gap: var(--space-3); }
.col-empty { font-size: 14px; color: var(--ink-muted); padding: var(--space-4) var(--space-2); }
.ocard { font: inherit; text-align: left; color: var(--ink); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); display: grid; gap: var(--space-1); cursor: pointer; transition: border-color 120ms ease, transform 160ms ease; width: 100%; }
.ocard:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.ocard.is-drag { opacity: .5; }
.ocard.is-new { animation: newOrder 1600ms ease-out; }
@keyframes newOrder { 0% { box-shadow: 0 0 0 0 var(--citron); transform: translateY(-6px); } 30% { box-shadow: 0 0 0 4px var(--citron); transform: none; } 100% { box-shadow: 0 0 0 0 transparent; } }
.ocard-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-muted); }
.ocard-ref { font-size: 12px; font-weight: 600; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.ocard-soc { font-weight: 600; font-size: 15px; line-height: 21px; }
.ocard-when { font-size: 14px; font-weight: 600; color: var(--olive-text); }
.ocard-when.is-urgent { color: var(--tomate); }
.ocard-meta { display: flex; gap: var(--space-3); font-size: 13px; color: var(--ink-muted); }
.ocard-tags { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: 2px; }
.ocard-tags .tu-badge { font-size: 12px; line-height: 18px; }
.ocard-total { font-size: 13px; font-weight: 600; margin-top: 2px; }
.pill { display: inline-flex; font-size: 12px; font-weight: 600; line-height: 18px; padding: 1px var(--space-2); border-radius: var(--radius-sm); background: var(--surface-sunk); color: var(--ink); white-space: nowrap; }
.pill-recue { background: var(--citron-soft); }
.pill-devis { background: var(--surface-sunk); }
.pill-prepa { background: var(--olive-soft); color: var(--olive-text); }
.pill-livree { background: var(--encre); color: var(--on-encre); }
.pill-annulee { background: var(--tomate-soft); color: var(--tomate); }
.crm-plan { display: grid; gap: var(--space-6); max-width: 980px; }
.pday header { display: flex; align-items: baseline; gap: var(--space-4); margin-bottom: var(--space-3); }
.pday h2 { font-family: var(--font-display); font-size: 26px; font-weight: 500; }
.pday header span { font-size: 14px; color: var(--ink-muted); }
.prow { font: inherit; color: var(--ink); width: 100%; text-align: left; display: grid; grid-template-columns: 72px minmax(0, 1.6fr) 90px minmax(0, 1fr) 120px 80px; gap: var(--space-4); align-items: center; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); margin-bottom: var(--space-2); cursor: pointer; font-size: 15px; }
.prow:hover { border-color: var(--line-strong); }
.prow b { font-size: 17px; }
.prow-soc { font-weight: 600; }
.crm-help { font-size: 13px; color: var(--ink-muted); margin-top: var(--space-4); }
.crm-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 35; width: min(480px, 100vw); background: var(--surface-raised); border-left: 1px solid var(--line); box-shadow: var(--shadow-pop); overflow-y: auto; padding: var(--space-6); display: grid; gap: var(--space-4); align-content: start; }
.crm-drawer[hidden] { display: none; }
.motion .crm-drawer:not([hidden]) { animation: drawerIn 220ms cubic-bezier(.2,.7,.2,1); }
@keyframes drawerIn { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.dr-head { display: flex; justify-content: space-between; gap: var(--space-4); align-items: start; }
.dr-head h2 { font-family: var(--font-display); font-size: 28px; line-height: 34px; font-weight: 500; margin: var(--space-1) 0 var(--space-2); }
.dr-close { font: inherit; font-size: 28px; line-height: 1; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: transparent; color: var(--ink); cursor: pointer; flex: none; }
.dr-alert { background: var(--tomate-soft); color: var(--tomate); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); display: grid; font-size: 15px; }
.dr-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.dr-confirm { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; background: var(--tomate-soft); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); font-size: 14px; }
.dr-confirm[hidden] { display: none; }
.dr-grid { display: grid; grid-template-columns: 110px 1fr; gap: var(--space-2) var(--space-4); margin: 0; font-size: 15px; line-height: 22px; border-top: 1px solid var(--line); padding-top: var(--space-4); }
.dr-grid dt { color: var(--ink-muted); font-size: 14px; }
.dr-grid dd { margin: 0; }
.dr-msg, .dr-notes, .dr-hist { display: grid; gap: var(--space-2); font-size: 15px; }
.dr-msg p { background: var(--surface-sunk); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); }
.dr-notes textarea { height: auto; padding: var(--space-3); line-height: 22px; }
.dr-hist ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.dr-hist li { display: flex; gap: var(--space-3); align-items: center; font-size: 14px; color: var(--ink-muted); }
.crm-toast { position: fixed; left: 50%; top: 124px; z-index: 60; transform: translate(-50%, -20px); background: var(--encre); color: var(--on-encre); border-radius: var(--radius-md); padding: var(--space-3) var(--space-6); display: flex; gap: var(--space-4); align-items: center; font-size: 15px; box-shadow: var(--shadow-pop); transition: transform 260ms cubic-bezier(.2,.7,.2,1); max-width: calc(100vw - 32px); }
.crm-toast { opacity: 0; pointer-events: none; }
.crm-toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; transition: transform 260ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease; }
.crm-toast a { color: var(--citron); font-weight: 600; white-space: nowrap; }
.on-app .review { bottom: 16px; }
@media (max-width: 1080px) { .crm-board { grid-template-columns: repeat(4, 280px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-2); } .col { scroll-snap-align: start; } }
@media (max-width: 860px) {
  .crm-bar { flex-wrap: wrap; padding: var(--space-3) var(--space-4); gap: var(--space-3); }
  .crm-search { order: 3; max-width: none; flex-basis: 100%; }
  .crm-bar .tu-btn { margin-left: auto; }
  .crm-wrap { padding: var(--space-4); }
  .crm-kpis { grid-template-columns: 1fr 1fr; }
  .prow { grid-template-columns: 64px 1fr; }
  .prow > span:nth-child(n+3) { grid-column: 2; }
}

/* ------------------------------------------------------------ Directions artistiques (sélecteur de présentation)
   Le logo n'est jamais recoloré : encre sur fond clair, lin sur fond sombre. Contrastes vérifiés ≥ 4,5:1 pour le texte. */
[data-da="vif"] {
  --lin: #FFF6EC; --surface-raised: #FFFFFF; --surface-sunk: #FCE7D2; --ink: #222A4F; --ink-muted: #5A5F75; --line: #F0D6BE; --line-strong: #5A5F75;
  --encre: #222A4F; --on-encre: #FFF6EC; --action: #C93C12; --on-action: #FFFFFF; --citron: #FF8A5B; --on-citron: #222A4F; --citron-soft: #FFE1D2;
  --olive: #2F9E44; --olive-text: #1E7A3A; --olive-soft: #DCF3E2; --tomate: #B42318; --tomate-soft: #FDE2DC; --focus: #C93C12;
}
[data-da="moderne"] {
  --lin: #F7F7F4; --surface-raised: #FFFFFF; --surface-sunk: #EDEDE8; --ink: #15171F; --ink-muted: #5C606C; --line: #E1E1DB; --line-strong: #6B6F7B;
  --encre: #15171F; --on-encre: #F7F7F4; --action: #15171F; --on-action: #F7F7F4; --citron: #C6F16A; --on-citron: #15171F; --citron-soft: #EEF9D2;
  --olive: #8DB33A; --olive-text: #3B5A10; --olive-soft: #ECF6D8; --tomate: #B23A0A; --tomate-soft: #FDE7DA; --focus: #15171F;
  --font-display: "Instrument Sans", system-ui, sans-serif; --radius-sm: 8px; --radius-md: 12px; --radius-lg: 24px;
}
[data-da="classique"] {
  --lin: #F6F1E7; --surface-raised: #FFFDF8; --surface-sunk: #ECE3D1; --ink: #2B2622; --ink-muted: #665D55; --line: #DDD1BA; --line-strong: #665D55;
  --encre: #2E4034; --on-encre: #F6F1E7; --action: #2E4034; --on-action: #F6F1E7; --citron: #D9B76E; --on-citron: #2E4034; --citron-soft: #F2E6C8;
  --olive: #6B7F4E; --olive-text: #46562E; --olive-soft: #E4E8D6; --tomate: #8C2F1E; --tomate-soft: #F3DDD5; --focus: #2E4034;
  --radius-sm: 2px; --radius-md: 4px; --radius-lg: 8px;
}
[data-da="vif"] :is(.h1, .h2, .tu-hero h1, .foot-title, .tu-formule-title, .zmap-name, .legal-art h2) { font-weight: 680; letter-spacing: -0.025em; }
[data-da="vif"] .tu-hero { background: var(--encre); }
[data-da="vif"] .tu-btn-citron { background: var(--action); color: var(--on-action); }
[data-da="vif"] .section-sunk { background: var(--surface-sunk); }
[data-da="moderne"] :is(.h1, .h2, .tu-hero h1, .foot-title, .tu-formule-title, .zmap-name, .legal-art h2, .tu-menu-name, .calc-item-name, .ess h3, .kpi b, .pday h2) { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; font-variation-settings: normal; }
[data-da="moderne"] .tu-hero h1 em, [data-da="moderne"] .foot-title em { font-style: normal; font-family: var(--font-display); font-weight: 600; }
[data-da="moderne"] .tu-hero h1 { font-size: 68px; line-height: 70px; }
[data-da="moderne"] .tu-card, [data-da="moderne"] .tu-formule, [data-da="moderne"] .calc-step, [data-da="moderne"] .legal-art { border-color: transparent; }
[data-da="classique"] :is(.h1, .h2, .tu-hero h1, .foot-title, .tu-formule-title) { font-weight: 400; letter-spacing: -0.01em; }
[data-da="classique"] .tu-hero h1 em, [data-da="classique"] .foot-title em { font-weight: 400; }
[data-da="classique"] .tu-hero { border-radius: var(--radius-lg); }
[data-da="classique"] .section-head .h2::after { content: ''; display: block; width: 48px; height: 2px; background: var(--citron); margin-top: var(--space-3); }
html[data-da] body { transition: background-color 300ms ease, color 300ms ease; }

/* Sélecteur de DA */
.da-pop { position: fixed; right: 16px; bottom: 76px; z-index: 45; width: 340px; background: var(--surface-raised); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-pop); padding: var(--space-4); display: grid; gap: var(--space-2); }
.da-pop[hidden] { display: none; }
.da-pop p { font-size: 13px; color: var(--ink-muted); }
.da-opt { font: inherit; text-align: left; display: grid; grid-template-columns: 72px 1fr; gap: var(--space-3); align-items: center; padding: var(--space-2); border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; color: var(--ink); cursor: pointer; }
.da-opt:hover { border-color: var(--line-strong); }
.da-opt[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.da-sw { display: flex; height: 36px; border-radius: 4px; overflow: hidden; }
.da-sw i { flex: 1; }
.da-opt b { display: block; font-size: 15px; }
.da-opt span { font-size: 13px; color: var(--ink-muted); line-height: 18px; }

/* Barre d'action mobile */
.m-bar { display: none; }
@media (max-width: 860px) {
  .m-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 28; gap: var(--space-2); padding: var(--space-2) var(--space-3); background: var(--lin); border-top: 1px solid var(--line); }
  .m-bar a { flex: 1; justify-content: center; }
  body { padding-bottom: 64px; }
  .on-calc .m-bar, .on-app .m-bar, .on-deck .m-bar { display: none; }
  .review { bottom: 72px; }
  .da-pop { bottom: 128px; left: 8px; right: 8px; width: auto; }
}

/* Formules rapides de l'estimateur */
.presets { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.preset { font: inherit; font-size: 14px; font-weight: 600; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); border: 1px dashed var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; transition: background-color 120ms ease; }
.preset:hover { background: var(--olive-soft); }

/* Filtre de la carte */
.menu-filter { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin-top: var(--space-6); }
.menu-filter span { font-size: 14px; font-weight: 600; margin-right: var(--space-2); }
.mf { font: inherit; font-size: 15px; font-weight: 500; padding: 6px var(--space-4); border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; }
.mf[aria-pressed="true"] { background: var(--encre); color: var(--on-encre); border-color: var(--encre); }
.tu-menu-item.is-off, .menu-block.is-off, .section.is-off { display: none; }

/* Avis et références (emplacements) */
.proof { display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-8); align-items: start; }
.proof-score { background: var(--encre); color: var(--on-encre); border-radius: var(--radius-lg); padding: var(--space-8); display: grid; gap: var(--space-2); }
.proof-score b { font-family: var(--font-display); font-size: 56px; line-height: 60px; color: var(--citron); }
.proof-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.proof-q { background: var(--surface-raised); border: 1px dashed var(--line-strong); border-radius: var(--radius-md); padding: var(--space-6); font-size: 15px; line-height: 22px; color: var(--ink-muted); min-height: 160px; display: grid; align-content: space-between; gap: var(--space-4); }
.proof-logos { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); }
.proof-logos i { height: 56px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; color: var(--ink-muted); }
.hide-tbc .proof-section { display: none; }
.cta-note { font-size: 14px; line-height: 20px; margin-top: var(--space-4); opacity: .9; }
@media (max-width: 860px) { .proof, .proof-quotes { grid-template-columns: 1fr; } .proof-logos { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------ Présentation */
.on-deck .tu-header, .on-deck .tu-footer, .on-deck .review, .on-deck .skip, .on-deck .da-pop { display: none; }
.deck { position: relative; min-height: 100vh; background: var(--lin); }
.dk-slide { min-height: 100vh; display: flex; align-items: center; padding: var(--space-12) var(--space-8) 120px; }
.dk-slide[hidden] { display: none; }
.dk-in { width: 100%; max-width: 1180px; margin: 0 auto; display: grid; gap: var(--space-6); }
.motion .dk-slide.in-r .dk-in { animation: dkR 420ms cubic-bezier(.2,.7,.2,1) both; }
.motion .dk-slide.in-l .dk-in { animation: dkL 420ms cubic-bezier(.2,.7,.2,1) both; }
@keyframes dkR { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes dkL { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.motion .dk-slide:not([hidden]) .dk-card, .motion .dk-slide:not([hidden]) .dk-steps li, .motion .dk-slide:not([hidden]) .dk-phase { animation: riseSoft 500ms cubic-bezier(.2,.7,.2,1) both; }
.motion .dk-slide:not([hidden]) :is(.dk-card, .dk-steps li, .dk-phase):nth-child(2) { animation-delay: 70ms; }
.motion .dk-slide:not([hidden]) :is(.dk-card, .dk-steps li, .dk-phase):nth-child(3) { animation-delay: 140ms; }
.motion .dk-slide:not([hidden]) :is(.dk-card, .dk-steps li, .dk-phase):nth-child(4) { animation-delay: 210ms; }
.motion .dk-slide:not([hidden]) :is(.dk-card, .dk-steps li, .dk-phase):nth-child(5) { animation-delay: 280ms; }
.motion .dk-slide:not([hidden]) :is(.dk-card, .dk-steps li, .dk-phase):nth-child(6) { animation-delay: 350ms; }
.dk-cover { background: var(--encre); color: var(--on-encre); }
.dk-cover .dk-in { justify-items: start; }
.dk-logo { width: 220px; height: auto; }
.dk-title { font-family: var(--font-display); font-size: 80px; line-height: 84px; font-weight: 500; letter-spacing: -0.025em; font-variation-settings: 'opsz' 144; max-width: 14ch; }
.dk-title em { color: var(--citron); font-weight: 400; }
.dk-sub { font-size: 22px; line-height: 32px; max-width: 46ch; }
.dk-hint { font-size: 14px; opacity: .75; }
.dk-kicker { font-size: 15px; font-weight: 600; color: var(--olive-text); }
.dk-h { font-family: var(--font-display); font-size: 52px; line-height: 58px; font-weight: 500; letter-spacing: -0.02em; font-variation-settings: 'opsz' 96; max-width: 22ch; }
.dk-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.dk-grid2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-8); align-items: start; }
.dk-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); display: grid; gap: var(--space-2); align-content: start; }
.dk-card b { font-size: 19px; line-height: 26px; }
.dk-card span { color: var(--ink-muted); font-size: 16px; line-height: 24px; }
.dk-card .tu-btn { justify-self: start; margin-top: var(--space-2); }
.dk-card-dark { background: var(--encre); color: var(--on-encre); border-color: var(--encre); }
.dk-card-dark span { color: var(--on-encre); }
.dk-foot { font-size: 14px; line-height: 20px; color: var(--ink-muted); max-width: 90ch; }
.dk-table { overflow-x: auto; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); }
.dk-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.dk-table th, .dk-table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); text-align: center; }
.dk-table tbody th { text-align: left; font-weight: 600; }
.dk-table thead th { font-size: 14px; font-weight: 600; background: var(--surface-sunk); }
.dk-table .dk-us { background: var(--encre); color: var(--on-encre); }
.dk-table thead .dk-us { background: var(--encre); color: var(--citron); }
.dk-yes { color: var(--olive-text); margin: 0 auto; }
.dk-us .dk-yes { color: var(--citron); }
.dk-no { font-size: 13px; color: var(--ink-muted); }
.dk-todo { font-size: 12px; font-weight: 600; background: var(--citron-soft); color: var(--ink); padding: 2px 6px; border-radius: var(--radius-sm); white-space: nowrap; }
.dk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); counter-reset: dk; }
.dk-steps li { counter-increment: dk; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); display: grid; gap: var(--space-3); align-content: start; }
.dk-steps li::before { content: counter(dk); width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--encre); color: var(--citron); font-family: var(--font-display); font-size: 22px; display: flex; align-items: center; justify-content: center; }
.dk-steps b { font-size: 19px; }
.dk-steps span { color: var(--ink-muted); }
.dk-steps .tu-btn { justify-self: start; }
.dk-da { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--space-8); align-items: start; }
.dk-da-opts { display: grid; gap: var(--space-2); }
.dk-da-opts .da-opt { background: var(--surface-raised); grid-template-columns: 96px 1fr; padding: var(--space-3); }
.dk-da-opts .da-sw { height: 44px; }
.dk-mini { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--lin); box-shadow: var(--shadow-pop); transition: background-color 300ms ease; }
.mini-head { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-2) var(--space-4); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 500; }
.mini-head img { width: 64px; height: auto; margin-right: auto; }
.mini-btn, .mini-cta { font-style: normal; font-weight: 600; font-size: 12px; padding: 6px 10px; border-radius: var(--radius-sm); }
.mini-btn { background: var(--action); color: var(--on-action); }
.mini-hero { margin: var(--space-3); background: var(--encre); color: var(--on-encre); border-radius: var(--radius-md); padding: var(--space-6); display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-4); align-items: center; }
.mini-hero img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-md); }
.mini-txt { display: grid; gap: var(--space-4); justify-items: start; }
.mini-h { font-family: var(--font-display); font-size: 28px; line-height: 32px; font-weight: 500; }
.mini-h em { color: var(--citron); font-weight: 400; }
.mini-cta { background: var(--citron); color: var(--on-citron); justify-self: start; align-self: start; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); padding: 0 var(--space-3) var(--space-3); }
.mini-cards span { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; display: grid; font-size: 12px; }
.mini-cards img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mini-cards b, .mini-cards em { padding: 0 var(--space-2); font-style: normal; }
.mini-cards em { padding-bottom: var(--space-2); color: var(--ink-muted); }
[data-da="moderne"] .mini-h, [data-da="moderne"] .mini-h em { font-weight: 600; font-style: normal; letter-spacing: -0.03em; }
[data-da="vif"] .mini-h { font-weight: 680; }
[data-da="vif"] .mini-cta { background: var(--action); color: var(--on-action); }
.dk-row { display: flex; gap: var(--space-6); align-items: center; flex-wrap: wrap; }
.dk-note { font-size: 14px; color: var(--ink-muted); }
.dk-seo { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-8); align-items: start; }
.dk-tree { display: grid; gap: var(--space-3); }
.t-root { background: var(--encre); color: var(--on-encre); border-radius: var(--radius-md); padding: var(--space-4) var(--space-6); font-family: var(--font-display); font-size: 24px; display: grid; }
.t-root small { font-family: var(--font-sans); font-size: 13px; color: var(--citron); }
.t-branch { margin-left: var(--space-8); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-3) var(--space-6); display: grid; gap: 2px; font-size: 15px; position: relative; }
.t-branch::before { content: ''; position: absolute; left: -24px; top: 50%; width: 24px; height: 1px; background: var(--line-strong); }
.t-branch b { font-size: 14px; color: var(--olive-text); }
.dk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); font-size: 17px; line-height: 26px; }
.dk-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.dk-list .dk-yes { margin: 4px 0 0; }
.dk-check { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.dk-check li { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4) var(--space-3) 48px; position: relative; font-size: 16px; }
.dk-check li::before { content: ''; position: absolute; left: var(--space-4); top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 2px solid var(--line-strong); border-radius: 3px; }
.dk-plan { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.dk-phase { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); display: grid; gap: var(--space-2); align-content: start; }
.dk-phase > .num { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--encre); color: var(--citron); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.dk-phase b { font-size: 19px; }
.dk-phase span { color: var(--ink-muted); }
.dk-phase em { font-style: normal; }
.dk-budget { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.dk-budget div { border-top: 2px solid var(--encre); padding-top: var(--space-3); display: grid; gap: var(--space-2); }
.dk-decide { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); font-size: 24px; line-height: 32px; }
.dk-decide li { display: flex; gap: var(--space-4); align-items: center; }
.dk-decide li::before { content: ''; width: 22px; height: 22px; border: 2px solid var(--citron); border-radius: 4px; flex: none; }
.dk-ghost { color: var(--on-encre); border-color: rgba(244, 241, 234, .5); }
.dk-ghost:hover { background: rgba(244, 241, 234, .1); }
.dk-nav { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: var(--space-4); background: var(--surface-raised); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 6px 8px 6px 8px; box-shadow: var(--shadow-pop); }
.dk-btn { font: inherit; font-size: 18px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--encre); color: var(--on-encre); cursor: pointer; }
.dk-count { font-size: 14px; color: var(--ink-muted); min-width: 52px; text-align: center; }
.dk-count b { color: var(--ink); }
.dk-dots { display: flex; gap: 6px; }
.dk-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--line-strong); opacity: .35; cursor: pointer; transition: opacity 120ms ease, width 200ms ease; }
.dk-dots button[aria-current="true"] { opacity: 1; width: 22px; border-radius: 4px; background: var(--encre); }
.dk-exit { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0 var(--space-3) 0 var(--space-2); }
.dk-progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 40; background: transparent; }
.dk-progress i { display: block; height: 100%; background: var(--citron); transition: width 300ms ease; }
.dk-cover ~ .dk-progress i { background: var(--citron); }
.dk-back { position: fixed; top: 112px; right: 16px; z-index: 50; font: inherit; font-size: 14px; font-weight: 600; background: var(--citron); color: var(--on-citron); border: 0; border-radius: var(--radius-pill); padding: var(--space-2) var(--space-4); cursor: pointer; box-shadow: var(--shadow-pop); }
.dk-back[hidden] { display: none; }
.on-app .dk-back { top: 120px; }
@media (max-width: 1080px) { .dk-steps, .dk-plan { grid-template-columns: 1fr 1fr; } .dk-grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .dk-slide { padding: var(--space-8) var(--space-4) 110px; align-items: flex-start; }
  .dk-title { font-size: 46px; line-height: 50px; }
  .dk-h { font-size: 32px; line-height: 38px; }
  .dk-grid3, .dk-grid2, .dk-steps, .dk-plan, .dk-budget, .dk-da, .dk-seo { grid-template-columns: 1fr; }
  .dk-dots { display: none; }
  .dk-back { top: auto; bottom: 136px; }
}

/* Retours client du 16/11/2026 : zones de livraison à trois prix */
.zmap-served path.z1 { fill: var(--olive); }
.zmap-served path.z2 { fill: var(--olive-soft); }
.zmap-served path.z3 { fill: var(--citron-soft); }
.zmap-served path.is-sel { fill: var(--encre); stroke: var(--encre); }
.zmap-spot { cursor: pointer; outline: none; }
.zmap-spot .spot-halo { fill: var(--olive-soft); stroke: var(--olive-text); stroke-width: 2; transition: fill 160ms ease, stroke-width 160ms ease; }
.zmap-spot .spot-dot { fill: var(--olive-text); }
.zmap-spot.is-hover .spot-halo, .zmap-spot:focus-visible .spot-halo { stroke: var(--encre); stroke-width: 3.5; }
.zmap-spot.is-sel .spot-halo { fill: var(--encre); stroke: var(--encre); }
.zmap-spot.is-sel .spot-dot { fill: var(--citron); }
.zmap-labels text.lab-s { font-size: 15px; }
.zmap-legend { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: center; margin-top: var(--space-3); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.zmap-legend span { display: inline-flex; align-items: center; gap: var(--space-2); }
.zmap-legend .sw { width: 16px; height: 16px; border-radius: var(--radius-sm); border: 1px solid var(--olive-text); display: inline-block; }
.zmap-legend .sw.z1 { background: var(--olive); }
.zmap-legend .sw.z2 { background: var(--olive-soft); }
.zmap-legend .sw.z3 { background: var(--citron-soft); }
.zmap-legend .zmap-free { font-weight: 400; color: var(--ink-muted); }
.zmap-chips { display: grid; gap: var(--space-3); }
.zmap-chipgroup { display: grid; gap: var(--space-2); }
.zmap-chipzone { font-size: 14px; font-weight: 600; color: var(--olive-text); }
.page-jump { gap: var(--space-2); }
.page-jump .tu-zone { font-size: 14px; padding: 4px var(--space-3); }
.calc-commune { margin-top: var(--space-2); }
.calc-commune[hidden] { display: none; }
@media (max-width: 860px) { .zmap-labels text.lab-s { font-size: 20px; } }

/* Photos du client : galerie de l'accueil */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
.gal-item { margin: 0; display: grid; gap: var(--space-2); }
.gal-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); display: block; }
.gal-item figcaption { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); } }

/* Accroche qui défile : un seul moment visible, largeur réservée (pas de décalage de mise en page) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tu-hero h1 em.rot { display: inline-grid; vertical-align: bottom; }
.rot .rot-w { grid-area: 1 / 1; opacity: 0; transform: translateY(0.45em); transition: opacity 420ms ease, transform 520ms cubic-bezier(.2,.7,.2,1); white-space: nowrap; }
.rot .rot-w.is-on { opacity: 1; transform: none; }
.rot .rot-w.is-out { opacity: 0; transform: translateY(-0.45em); }
.no-motion .rot .rot-w { transition: none; }
@media (prefers-reduced-motion: reduce) { .rot .rot-w { transition: none; } }
@media (max-width: 860px) { .rot .rot-w { white-space: normal; } }

/* ===== Zones par temps de route (v5) : carte complète, zoom Bruxelles, calcul à l'adresse ===== */
.zmap-svg { --zk: 1; --dash: 5 7; overflow: hidden; }
.zmap-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-3); }
.zmap-bar .zmap-help { position: static; padding: 0; background: none; }
.zmap-views { display: flex; gap: var(--space-2); }
.zmap-views .tu-zone { font: inherit; font-size: 14px; font-weight: 600; background: transparent; cursor: pointer; }
.zmap-views .tu-zone.is-sel { background: var(--encre); color: var(--on-encre); border-color: var(--encre); }
.zmap-ctx path { fill: var(--surface-sunk); stroke: var(--line); stroke-width: calc(1px * var(--zk)); cursor: pointer; transition: fill 160ms ease; }
.zmap-ctx path.is-hover { fill: var(--line); }
.zmap-ctx path.is-sel { fill: var(--ink-muted); }
.zmap-served path { stroke: var(--lin); stroke-width: calc(1.2px * var(--zk)); cursor: pointer; transition: fill 160ms ease, opacity 160ms ease; }
.zmap-served path.z1 { fill: var(--olive); }
.zmap-served path.z2 { fill: var(--olive-soft); }
.zmap-served path.z3 { fill: var(--citron-soft); }
.zmap-served path.z4 { fill: url(#zhatch); }
.zmap-served path.is-hover { stroke: var(--encre); stroke-width: calc(3px * var(--zk)); }
.zmap-served path.is-sel { fill: var(--encre); stroke: var(--encre); }
.zmap-served path.is-hover, .zmap-served path.is-sel { paint-order: stroke; }
.zmap-svg[data-hz="1"] .zmap-served path:not(.z1), .zmap-svg[data-hz="2"] .zmap-served path:not(.z2),
.zmap-svg[data-hz="3"] .zmap-served path:not(.z3), .zmap-svg[data-hz="4"] .zmap-served path:not(.z4) { opacity: .25; }
.zmap-spot .spot-halo { stroke-width: 2; }
.zmap-labels text { font-size: calc(21px * var(--zk)); stroke: var(--lin); stroke-width: calc(4px * var(--zk)); opacity: 0; transition: opacity 200ms ease; fill: var(--ink); }
.zmap-svg:not(.is-zoom) .zmap-labels text.lf, .zmap-svg.is-zoom .zmap-labels text.lz { opacity: 1; }
.zmap-labels text.is-hover, .zmap-labels text.is-sel { opacity: 1; }
.zmap-labels text.is-sel { fill: var(--on-encre); stroke: var(--encre); }
.zmap-labels text.lab-s { font-size: calc(21px * var(--zk)); }
.zmap-routes path { stroke-width: calc(2px * var(--zk)); stroke-dasharray: var(--dash); opacity: .4; }
.zmap-routes path.rh { opacity: 0; }
.zmap-routes path.is-hover, .zmap-routes path.is-sel { stroke: var(--encre); opacity: 1; stroke-width: calc(3px * var(--zk)); }
.motion .zmap-routes path { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.motion .zmap-svg.drawn .zmap-routes path.rk { animation: route5 900ms cubic-bezier(.4,0,.2,1) both; animation-delay: calc(var(--i, 0) * 110ms); }
.motion .zmap-svg.drawn .zmap-routes path.rh.is-hover, .motion .zmap-svg.drawn .zmap-routes path.rh.is-sel { animation: route5 650ms cubic-bezier(.4,0,.2,1) both; }
@keyframes route5 { from { stroke-dasharray: 1400; stroke-dashoffset: 1400; } 99% { stroke-dasharray: 1400; stroke-dashoffset: 0; } to { stroke-dasharray: var(--dash); stroke-dashoffset: 0; } }
.zmap-svg.has-trip .zmap-routes { opacity: .35; }
.zmap-trip .trip-line { fill: none; stroke: var(--encre); stroke-width: calc(4px * var(--zk)); stroke-linecap: round; stroke-linejoin: round; }
.zmap-trip .trip-halo { fill: var(--citron); opacity: .6; }
.zmap-trip .trip-dot { fill: var(--encre); }
.zmap-pin text { font-size: 20px; }
.zmap-legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
.zmap-key { display: flex; gap: var(--space-2); align-items: flex-start; text-align: left; font: inherit; background: none; border: 1px solid transparent; border-radius: var(--radius-sm); padding: var(--space-1); cursor: pointer; color: var(--ink); }
.zmap-key:hover, .zmap-key:focus-visible { border-color: var(--line); }
.zmap-key span { display: grid; }
.zmap-key b { font-size: 14px; line-height: 20px; }
.zmap-key small { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.zmap-legend .sw { flex: none; margin-top: 2px; }
.zmap-legend .sw.z4 { background: repeating-linear-gradient(45deg, var(--olive-soft) 0 4px, var(--lin) 4px 9px); }
.zmap-legend .sw.sw-out { background: var(--surface-sunk); border-color: var(--line); }
.zmap-legend .zmap-free { grid-column: 1 / -1; display: flex; gap: var(--space-2); align-items: center; font-size: 13px; }
.zmap-find { display: grid; gap: var(--space-2); }

.addr-calc { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-4); margin-bottom: var(--space-8); }
.addr-head { display: grid; gap: var(--space-2); max-width: 64ch; }
.addr-form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: var(--space-4); align-items: end; }
.addr-field, .addr-amount { display: grid; gap: var(--space-2); }
.addr-combo { position: relative; }
.addr-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; list-style: none; margin: 0; padding: var(--space-1); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); }
.addr-list li { padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); cursor: pointer; font-size: 15px; line-height: 20px; }
.addr-list li:hover, .addr-list li[aria-selected="true"] { background: var(--olive-soft); }
.addr-result { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-4) var(--space-6); align-items: center; border-top: 1px solid var(--line); padding-top: var(--space-4); }
.addr-result.is-msg { display: block; color: var(--ink-muted); }
.addr-res-main { display: grid; gap: var(--space-1); }
.addr-fee { font-family: var(--font-display); font-size: 44px; line-height: 48px; font-weight: 500; color: var(--encre); }
.addr-result.is-out .addr-fee { font-size: 32px; line-height: 40px; }
.addr-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); color: var(--ink-muted); }
.addr-facts b { color: var(--ink); }
.addr-note { margin: 0; }
.addr-compact { background: none; border: 0; padding: 0; margin: var(--space-3) 0 0; gap: var(--space-2); }
.addr-compact .addr-form { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2); }
.addr-compact .addr-result { display: block; border: 0; padding: 0; font-size: 14px; line-height: 20px; color: var(--olive-text); }
@media (max-width: 860px) {
  .zmap-labels text { font-size: calc(40px * var(--zk)); stroke-width: calc(6px * var(--zk)); }
  .zmap-svg:not(.is-zoom) .zmap-labels text.lf { opacity: 0; }
  .zmap-svg:not(.is-zoom) .zmap-labels text.lm, .zmap-svg.is-zoom .zmap-labels text.lzm { opacity: 1; }
  .zmap-svg.is-zoom .zmap-labels text.lz:not(.lzm) { opacity: 0; }
  .zmap-labels text.is-hover, .zmap-labels text.is-sel { opacity: 1 !important; }
  .zmap-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .addr-form { grid-template-columns: 1fr; }
  .addr-result { grid-template-columns: 1fr; }
  .addr-fee { font-size: 36px; line-height: 40px; }
}
.zmap-pin, .zmap-spot, .zmap-trip .trip-end { transform-box: view-box; transform-origin: 0 0; }
.motion .zmap-svg.drawn .zmap-pin { transform-box: view-box; }
.zmap-pin rect { stroke: var(--lin); stroke-width: 2; }
.zmap-ctx path { fill: var(--line); stroke: var(--surface-sunk); }
.rot .rot-w.is-on { transition-delay: 160ms; }
.rot .rot-w.is-out { transition-duration: 220ms, 260ms; }

/* Champs date et heure : sur iPhone, Safari leur donne une largeur propre qui dépasse le cadre (corrigé le 20/11) */
.tu-field { min-width: 0; }
input.tu-input[type="date"], input.tu-input[type="time"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; line-height: 42px; text-align: left; }
input.tu-input[type="date"]::-webkit-date-and-time-value, input.tu-input[type="time"]::-webkit-date-and-time-value { text-align: left; margin: 0; min-height: 42px; }
/* Page devis : pas de barre « Composer ma commande » par-dessus le formulaire */
.on-form .m-bar { display: none; }

/* Carte : une photo par rubrique (27/11) */
.menu-photo { margin: 0 0 var(--space-4); aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; }
.menu-block[id] { scroll-margin-top: 112px; }
