/* Uber Tel — atelier végétal : tapis de réparation vert forêt quadrillé, vert feuille pour les actions, ambre réservé aux avertissements, tickets en caractères machine. */
:root {
  --bg: #eef2ef; --surface: #ffffff; --surface-2: #e0e9e3; --ink: #10291f; --muted: #4a6457; --line: #c5d4cb;
  --mat: #12392e; --mat-2: #0c2a21; --mat-ink: #eaf5ee; --mat-muted: #a8c4b6; --mat-line: rgba(255, 255, 255, .07);
  --accent: #5fcf8a; --accent-ink: #05230f; --accent-text: #17693d; --accent-soft: #dff3e6;
  --flag: #e3a008; --flag-ink: #1c1400; --flag-text: #875a00; --flag-soft: #fbf0d0;
  --ok: #1c7648; --warn: #a8500a; --bad: #b3232b; --ok-soft: #dff3e8; --bad-soft: #fbe4e5;
  --phone-body: #d3c7ad; --shadow: 0 1px 2px rgba(16, 41, 31, .08), 0 8px 24px rgba(16, 41, 31, .08);
  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 10px; --gut-l: max(16px, env(safe-area-inset-left, 0px)); --gut-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1812; --surface: #10261d; --surface-2: #173529; --ink: #e6f1ea; --muted: #9db8aa; --line: #264536;
    --mat: #0f2e25; --mat-2: #0a2019; --mat-ink: #eaf5ee; --mat-muted: #9dbbac; --mat-line: rgba(255, 255, 255, .06);
    --accent: #6fdb97; --accent-ink: #05230f; --accent-text: #6fdb97; --accent-soft: #123523;
    --flag: #f0b429; --flag-ink: #1c1400; --flag-text: #f0b429; --flag-soft: #33290d;
    --ok: #4cc38a; --warn: #f5a524; --bad: #ff7b80; --ok-soft: #12352a; --bad-soft: #3a1a1d;
    --phone-body: #d3c7ad; --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1812; --surface: #10261d; --surface-2: #173529; --ink: #e6f1ea; --muted: #9db8aa; --line: #264536;
  --mat: #0f2e25; --mat-2: #0a2019; --mat-ink: #eaf5ee; --mat-muted: #9dbbac; --mat-line: rgba(255, 255, 255, .06);
  --accent: #6fdb97; --accent-ink: #05230f; --accent-text: #6fdb97; --accent-soft: #123523;
  --flag: #f0b429; --flag-ink: #1c1400; --flag-text: #f0b429; --flag-soft: #33290d;
  --ok: #4cc38a; --warn: #f5a524; --bad: #ff7b80; --ok-soft: #12352a; --bad-soft: #3a1a1d;
  --phone-body: #d3c7ad; --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--f-body); padding-bottom: 0; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--mat); }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6.4vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1120px; margin-inline: auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow { font: 600 .74rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 6px; }

/* En-tête */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--mat); color: var(--mat-ink); }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 56px; }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 14px; height: 22px; border: 2.5px solid var(--accent); border-radius: 4px; align-self: center; position: relative; }
.brand-mark::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
.brand-name { font: 700 1.3rem/1 var(--f-display); }
.brand-city { font: 400 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mat-muted); }
.nav { display: none; gap: 20px; font-size: .93rem; }
.nav a, .menu a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-color: var(--accent); }
.cart-link { position: relative; display: inline-flex; padding: 8px; }
.count { position: absolute; top: 0; right: -2px; background: var(--accent); color: var(--accent-ink); font: 600 .68rem/1 var(--f-mono); padding: 3px 5px; border-radius: 9px; }
.menu-btn { background: none; border: 1.5px solid var(--mat-line); border-color: rgba(255, 255, 255, .25); color: inherit; font: 500 .9rem var(--f-body); padding: 7px 12px; border-radius: 8px; cursor: pointer; }
.menu { display: flex; flex-direction: column; padding-block: 6px 14px; }
.menu a { padding: 11px 0; border-bottom: 1px solid var(--mat-line); }
@media (min-width: 1100px) { .nav { display: flex; } .menu-btn, .menu { display: none !important; } }
.preview-bar { background: var(--flag-soft); color: var(--ink); font-size: .82rem; padding-block: 7px; border-bottom: 1px solid var(--line); }
.tag-verif, .tag-demo { display: inline-block; font: 600 .66rem/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; padding: 3px 6px; border-radius: 4px; vertical-align: middle; white-space: nowrap; }
.tag-verif { background: var(--flag); color: var(--flag-ink); }
.tag-demo { border: 1px dashed var(--muted); color: var(--muted); }
body:not(.is-preview) .tag-verif, body:not(.is-preview) .tag-demo { display: none; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: var(--r); border: 1.5px solid transparent; font: 600 1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, border-color .15s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn-quiet { background: var(--surface-2); color: var(--ink); }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .88rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Accueil : le tapis d'atelier */
.mat { background-color: var(--mat); color: var(--mat-ink);
  background-image: linear-gradient(var(--mat-line) 1px, transparent 1px), linear-gradient(90deg, var(--mat-line) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px; }
.hero { display: grid; gap: 8px; padding-block: 26px 22px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hero-text p.lead { color: var(--mat-muted); font-size: 1.06rem; max-width: 34em; }
.hero .eyebrow { color: var(--accent); }
.hero h1 em { font-style: normal; color: var(--accent); }
.cta-3 { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; } .cta-3 .btn-primary { grid-column: 1 / -1; } .cta-3 .btn { padding-inline: 10px; }
@media (max-width: 859px) { .hero h1 { font-size: clamp(1.7rem, 7.6vw, 2.4rem); } .hero-text { gap: 12px; } .hero { padding-block: 18px 10px; } .stage { height: 320px; } }
.rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .9rem; color: var(--mat-muted); }
.rating-line strong { color: var(--mat-ink); font-family: var(--f-mono); }
.stars { color: var(--flag); letter-spacing: 2px; }
.stage { position: relative; height: 340px; min-width: 0; touch-action: pan-y; }
.mat-hero { position: relative; overflow: hidden; background: linear-gradient(200deg, #2f7a45 0%, #1a5234 34%, #0f3a27 68%, #0a2a1c 100%); }
.mat-hero > .wrap { position: relative; z-index: 2; }
.hero-nature, .hero-life, .hero-scrim { position: absolute; inset: 0; pointer-events: none; }
.hero-nature .rays { position: absolute; inset: -20% -10% 0 20%; background: conic-gradient(from 200deg at 88% -6%, rgba(255, 247, 190, 0) 0deg, rgba(255, 247, 190, .30) 8deg, rgba(255, 247, 190, 0) 15deg, rgba(255, 247, 190, .20) 24deg, rgba(255, 247, 190, 0) 33deg, rgba(255, 247, 190, .26) 44deg, rgba(255, 247, 190, 0) 56deg, rgba(255, 247, 190, .14) 66deg, rgba(255, 247, 190, 0) 78deg); filter: blur(14px); animation: rays 9s ease-in-out infinite alternate; }
.hero-nature::before { content: ""; position: absolute; right: -8%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 244, 170, .55), rgba(255, 244, 170, 0) 62%); }
.hero-nature b { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(190, 240, 150, .34), rgba(190, 240, 150, .10) 60%, rgba(190, 240, 150, 0) 72%); filter: blur(5px); animation: bokeh ease-in-out infinite alternate; }
@keyframes rays { from { opacity: .55; transform: rotate(-1.5deg); } to { opacity: 1; transform: rotate(1.5deg); } }
@keyframes bokeh { from { opacity: .25; transform: scale(.9); } to { opacity: 1; transform: scale(1.12); } }
.hero-scrim { z-index: 1; background: linear-gradient(90deg, rgba(8, 34, 23, .78) 0%, rgba(8, 34, 23, .55) 44%, rgba(8, 34, 23, 0) 70%); }
@media (max-width: 859px) { .hero-scrim { background: linear-gradient(180deg, rgba(8, 34, 23, .72) 0%, rgba(8, 34, 23, .55) 55%, rgba(8, 34, 23, .15) 100%); } }
.hero-life span { position: absolute; top: -120px; transform: translate3d(calc(var(--mx, 0) * var(--d) * 1px), calc(var(--my, 0) * var(--d) * 1px), 0); transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.hero-life i { display: block; animation: drift linear infinite; will-change: transform; }
.hero-life svg { display: block; width: 100%; height: auto; overflow: visible; animation: flutter ease-in-out infinite alternate; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .28)); }
@keyframes drift { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(var(--dx), 175vh, 0) rotate(var(--rot)); } }
@keyframes flutter { from { transform: rotateX(-58deg) rotateY(-24deg); } to { transform: rotateX(52deg) rotateY(26deg); } }
.eco { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.eco svg { height: 100%; width: auto; max-width: none; overflow: visible; }
.eco-loop path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: .42; }
.eco-text { font: 600 11.5px var(--f-mono); letter-spacing: .34em; fill: var(--mat-muted); opacity: .75; }
.eco-spin { transform-origin: 200px 200px; animation: spin 140s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-life span:nth-child(3n) { top: 10%; } .hero-life span:nth-child(3n+1) { top: 45%; } .hero-life span:nth-child(3n+2) { top: 78%; } }
.stage .poster { position: absolute; inset: 0; display: grid; place-items: center; }
.stage .poster svg { height: 92%; width: auto; }
.stage.has-3d .poster { display: none; }
.phone3d-canvas { position: absolute; left: -35%; top: -12%; width: 170%; height: 124%; max-width: none; pointer-events: none; }
.stage, .stage *, .hero-life { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.stage.has-3d { cursor: grab; } .stage.has-3d.is-grabbing { cursor: grabbing; }
.spot { position: absolute; z-index: 2; left: 0; top: 0; margin: -17px 0 0 -17px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--accent); background: rgba(18, 57, 46, .78); color: var(--accent); font: 600 .8rem/1 var(--f-mono); cursor: pointer; display: none; align-items: center; justify-content: center; transition: opacity .2s, background-color .2s; }
.stage.has-3d .spot { display: inline-flex; }
.spot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1.5px solid var(--accent); opacity: .5; animation: ping 2.4s ease-out infinite; }
.spot.is-behind { opacity: .35; } .spot.is-active { background: var(--accent); color: var(--accent-ink); }
.spot-label { position: absolute; left: 40px; white-space: nowrap; font: 500 .74rem/1 var(--f-body); color: var(--mat-ink); background: rgba(12, 42, 33, .85); padding: 5px 7px; border-radius: 5px; pointer-events: none; }
@keyframes ping { from { transform: scale(.75); opacity: .6; } to { transform: scale(1.35); opacity: 0; } }
.stage-hint { z-index: 2; position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font: 400 .72rem/1 var(--f-mono); color: var(--mat-muted); pointer-events: none; }
.zones { display: flex; flex-direction: column; gap: 12px; padding-block: 0 26px; }
.zone-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.zone-tab { background: rgba(255, 255, 255, .06); color: var(--mat-ink); border: 1.5px solid rgba(255, 255, 255, .16); border-radius: var(--r); padding: 10px 6px; font: 600 .9rem/1.2 var(--f-body); cursor: pointer; }
.zone-tab[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.zone-panel { background: var(--mat-2); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.zone-panel ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.zone-panel li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-bottom: 1px dashed rgba(255, 255, 255, .14); padding-bottom: 6px; }
.zone-panel li span:last-child { font-family: var(--f-mono); font-size: .85rem; color: var(--accent); white-space: nowrap; }
.toggle-3d { color: var(--mat-muted); font-size: .8rem; align-self: flex-start; }
@media (min-width: 860px) {
  .hero { grid-template-columns: 1.05fr .95fr; padding-block: 44px 30px; gap: 24px; }
  .stage { height: clamp(500px, 68vh, 720px); grid-row: span 2; }
  .cta-3 { grid-template-columns: repeat(3, auto); justify-content: start; } .cta-3 .btn-primary { grid-column: auto; } .cta-3 .btn { padding-inline: 18px; }
  .zones { padding-block: 0 40px; max-width: 560px; }
  .hero-grid-zones { grid-column: 1; }
}

/* Sections */
.section { padding-block: 40px; }
.section > .wrap { display: flex; flex-direction: column; gap: 22px; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.head { display: flex; flex-direction: column; gap: 8px; max-width: 46em; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.grid-2 { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.section-alt .card { background: var(--bg); }
.card > .btn, .card > .row:last-child { margin-top: auto; }
.photo-slot { aspect-ratio: 4 / 3; max-width: 100%; border: 1.5px dashed var(--line); border-radius: var(--r); background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, transparent 10px 20px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 14px; color: var(--muted); font-size: .88rem; }
.photo-slot strong { color: var(--ink); font-family: var(--f-display); font-size: 1.05rem; }
.photo { margin: 0; display: flex; flex-direction: column; gap: 6px; } .photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); background: var(--surface-2); } .photo figcaption { font-size: .82rem; color: var(--muted); }
.photos { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.photo.wide { grid-column: 1 / -1; } .photo.wide img { aspect-ratio: 2 / 1; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--line); } .hours td:last-child { text-align: right; font-family: var(--f-mono); font-size: .9rem; }
.hours tr.closed td { color: var(--muted); }
.quote-block { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; display: flex; flex-direction: column; gap: 6px; }
.quote-block cite { font-style: normal; color: var(--muted); font-size: .85rem; }
.bars { display: grid; grid-template-columns: auto 1fr auto; gap: 5px 10px; align-items: center; font: 400 .8rem var(--f-mono); max-width: 320px; }
.bars i { display: block; height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; } .bars i b { display: block; height: 100%; background: var(--flag); }
.big-rating { font: 700 3.2rem/1 var(--f-display); }
.steps-how { counter-reset: s; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); padding: 0; margin: 0; list-style: none; }
.steps-how li { counter-increment: s; display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 2px solid var(--ink); }
.steps-how li::before { content: "0" counter(s); font: 600 .8rem var(--f-mono); color: var(--accent-text); }

/* Parcours (devis, domicile, commande) */
.flow { padding-block: 22px 48px; }
.flow > .wrap { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.progress { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.progress li { flex: 1; min-width: 0; font: 600 .68rem/1.2 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border-top: 3px solid var(--line); padding-top: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.progress li.done { border-color: var(--ink); color: var(--ink); } .progress li.now { border-color: var(--accent); color: var(--accent-text); }
@media (max-width: 560px) { .progress li:not(.now) { font-size: 0; flex: .35; } }
.choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.choices.wide { grid-template-columns: 1fr; }
.choice { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r); padding: 13px 14px; font: 500 1rem/1.3 var(--f-body); color: var(--ink); text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 50px; }
.choice:hover { border-color: var(--ink); }
.choice[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--accent-soft); }
.choice .price { font: 600 .84rem var(--f-mono); color: var(--accent-text); white-space: nowrap; text-align: right; }
.choice .price.devis { color: var(--muted); font-weight: 400; }
.choice.device { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 96px; }
.choice.device svg { width: 34px; height: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font: 500 .92rem var(--f-body); color: var(--ink); cursor: pointer; min-height: 40px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.model-list { max-height: 300px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.model-list button { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; font: 400 1rem var(--f-body); color: var(--ink); cursor: pointer; }
.model-list button[aria-pressed="true"] { background: var(--accent-soft); font-weight: 600; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .label { font-weight: 600; font-size: .93rem; }
.field .hint { font-size: .82rem; color: var(--muted); }
.field .err { font-size: .85rem; color: var(--bad); font-weight: 500; }
input[type="text"], input[type="tel"], input[type="email"], input[type="search"], input[type="number"], input[type="password"], input[type="date"], input[type="time"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: 400 16px/1.4 var(--f-body); }
textarea { min-height: 96px; resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--bad); }
.fields { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .fields.two { grid-template-columns: 1fr 1fr; } .fields.cp { grid-template-columns: 140px 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; } .check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.flow-nav { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
.note { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 6px; padding: 12px 14px; font-size: .92rem; display: flex; flex-direction: column; gap: 4px; }
.note.ok { border-left-color: var(--ok); } .note.bad { border-left-color: var(--bad); background: var(--bad-soft); }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; } .thumbs figure { margin: 0; position: relative; } .thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.thumbs button { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); cursor: pointer; font-size: .8rem; line-height: 1; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { font-family: var(--f-mono); justify-content: center; text-align: center; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.days .chip { flex: none; scroll-snap-align: start; border-radius: 10px; text-align: left; line-height: 1.25; }
.days .chip small { display: block; font: 400 .72rem var(--f-mono); opacity: .75; }

/* Ticket de dépôt : récapitulatifs et confirmations */
.ticket { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; font-family: var(--f-mono); font-size: .86rem; position: relative; box-shadow: var(--shadow); }
.ticket::before, .ticket::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; background: radial-gradient(circle at 6px 0, var(--bg) 4.5px, transparent 5px) 0 0 / 12px 8px repeat-x; }
.ticket::before { top: 0; } .ticket::after { bottom: 0; transform: scaleY(-1); }
.ticket-in { padding: 22px 16px 22px; display: flex; flex-direction: column; gap: 9px; }
.ticket h3 { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ticket .ref { font-size: 1.5rem; font-weight: 600; letter-spacing: .04em; overflow-wrap: anywhere; }
.ticket dl { margin: 0; display: grid; grid-template-columns: minmax(90px, auto) 1fr; gap: 6px 14px; }
.ticket dt { color: var(--muted); } .ticket dd { margin: 0; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.ticket hr { border: 0; border-top: 1px dashed var(--line); margin: 3px 0; width: 100%; }
.ticket .total dt, .ticket .total dd { font-weight: 600; font-size: 1rem; color: var(--ink); }
.status { display: inline-block; font: 600 .72rem/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; background: var(--surface-2); color: var(--ink); white-space: nowrap; }
.status.wait { background: var(--flag-soft); color: var(--flag-text); } .status.ok { background: var(--ok-soft); color: var(--ok); } .status.bad { background: var(--bad-soft); color: var(--bad); }

/* Boutique */
.filters { display: flex; flex-direction: column; gap: 10px; }
.prod { padding: 0; overflow: hidden; }
.prod-img { aspect-ratio: 1 / 1; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); position: relative; }
.prod-img svg { width: 56px; height: 56px; opacity: .6; } .prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-img .cond { position: absolute; left: 10px; top: 10px; }
.prod-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-price { font: 700 1.3rem var(--f-display); }
.stock { font: 500 .78rem var(--f-mono); } .stock.in { color: var(--ok); } .stock.low { color: var(--warn); } .stock.out { color: var(--bad); }
.specs { margin: 0; padding-left: 18px; font-size: .88rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty button { width: 40px; height: 40px; background: var(--surface); border: 0; color: var(--ink); font-size: 1.1rem; cursor: pointer; } .qty span { min-width: 34px; text-align: center; font-family: var(--f-mono); }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding-block: 12px; border-bottom: 1px solid var(--line); }
.radio-card { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); } .radio-card input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }

/* Conseils */
details.fiche { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
details.fiche summary { cursor: pointer; padding: 15px 16px; font: 700 1.05rem var(--f-display); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
details.fiche summary::-webkit-details-marker { display: none; } details.fiche summary::after { content: "+"; font: 400 1.4rem/1 var(--f-mono); color: var(--accent-text); } details.fiche[open] summary::after { content: "–"; }
.fiche-body { padding: 0 16px 18px; display: flex; flex-direction: column; gap: 12px; max-width: 68ch; }
.fiche-body ul, .fiche-body ol, .prose ul, .prose ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.fiche-body h4, .prose h3 { margin: 6px 0 0; font: 700 1rem var(--f-display); }
.path { font-family: var(--f-mono); font-size: .86rem; background: var(--surface-2); padding: 2px 6px; border-radius: 4px; }
.source { font-size: .8rem; color: var(--muted); }
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 14px; } .prose h2 { margin-top: 12px; font-size: 1.3rem; }
.todo { background: var(--flag-soft); border-radius: 3px; padding: 0 4px; font-family: var(--f-mono); font-size: .86em; }

/* Barre d'actions mobile */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-top: 1px solid var(--line); padding: 4px var(--gut-r) calc(4px + env(safe-area-inset-bottom, 0px)) var(--gut-l); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; font: 600 .7rem var(--f-body); text-decoration: none; color: var(--muted); border-radius: 8px; }
.tabbar a[aria-current] { color: var(--ink); background: var(--accent-soft); } .tabbar svg { width: 22px; height: 22px; }
.foot { background: var(--mat-2); color: var(--mat-muted); padding-block: 30px 96px; font-size: .9rem; margin-top: 20px; }
.foot-in { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } .foot-in > div { display: flex; flex-direction: column; gap: 8px; }
.foot-name { font: 700 1.3rem var(--f-display); color: var(--mat-ink); } .foot-h { font: 600 .72rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mat-ink); }
@media (min-width: 900px) { .tabbar { display: none; } .foot { padding-bottom: 30px; } }
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-size: .9rem; z-index: 40; max-width: calc(100% - 32px); box-shadow: var(--shadow); }
.view-enter { animation: enter .28s ease-out; } @keyframes enter { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Espace de gestion */
.admin { padding-block: 20px 60px; } .admin > .wrap { display: flex; flex-direction: column; gap: 16px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.tabs button { flex: none; background: var(--surface); border: 1.5px solid var(--line); border-radius: 8px; padding: 9px 13px; font: 600 .88rem var(--f-body); color: var(--ink); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); } .tabs .n { font-family: var(--f-mono); font-size: .75rem; background: var(--accent); color: var(--accent-ink); border-radius: 8px; padding: 1px 6px; margin-left: 4px; }
.dossier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dossier-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.dossier dl { margin: 0; display: grid; grid-template-columns: minmax(96px, auto) 1fr; gap: 5px 14px; font-size: .92rem; } .dossier dt { color: var(--muted); } .dossier dd { margin: 0; overflow-wrap: anywhere; min-width: 0; }
.scroll-x { overflow-x: auto; }
table.ed { border-collapse: collapse; width: 100%; font-size: .9rem; } table.ed th { text-align: left; font: 600 .72rem var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 6px; white-space: nowrap; }
table.ed td { padding: 4px 6px; vertical-align: top; border-top: 1px solid var(--line); } table.ed input, table.ed select, table.ed textarea { min-height: 40px; padding: 6px 8px; font-size: 15px; min-width: 84px; } table.ed textarea { min-height: 40px; min-width: 200px; }
table.cmp { border-collapse: collapse; width: 100%; font-size: .88rem; min-width: 760px; } table.cmp th, table.cmp td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); } table.cmp th { font: 600 .72rem var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
pre.mail { white-space: pre-wrap; overflow-wrap: anywhere; font: 400 .82rem/1.5 var(--f-mono); background: var(--bg); border-radius: 6px; padding: 12px; margin: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }


/* ---------- Annonce de la boutique (Réglages > Annonce sur le site) ---------- */
.announce{background:linear-gradient(135deg,#5fd08a,#3fae6c);color:#0d2a1e;border-bottom:1px solid rgba(0,0,0,.08)}
.announce-in{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;padding-top:18px;padding-bottom:18px;text-align:center}
.announce-text{margin:0;font-size:clamp(1.15rem,3.6vw,1.6rem);font-weight:800;line-height:1.25;color:#0d2a1e}
.announce .btn{background:#0d2a1e;color:#fff;border-color:#0d2a1e}

/* ---------- Statistiques de visites (espace de gestion) ---------- */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}
.stat{display:flex;flex-direction:column;gap:4px;padding:18px;border-radius:16px;background:rgba(95,208,138,.12);border:1px solid rgba(95,208,138,.35)}
.stat-n{font-size:2.4rem;font-weight:800;line-height:1}
.stat-l{font-weight:600}
