/* ==========================================================================
   33desk — "Trait" design language.
   Tokens first, then base, then components in page order. See DESIGN.md.
   ========================================================================== */

:root {
  /* palette (brand/LISEZ-MOI.md) */
  --pin: #0F3D2E;            /* fond principal */
  --pin-deep: #0B2F23;       /* nav au scroll, menu mobile */
  --pin-2: #123E30;          /* fond des captures en attente */
  --ink: #16261F;            /* texte sur lin et sur ocre */
  --ink-soft: #46564E;       /* corps de texte sur lin */
  --lin: #F0EDE2;            /* texte sur pin, fond clair */
  --lin-deep: #E7E3D5;       /* fonds secondaires sur lin */
  --lin-soft: #CBD8D0;       /* corps de texte sur pin */
  --lin-mute: #7F9B8E;       /* labels discrets sur pin */
  --lin-2: #A9BDB2;          /* compteur */
  --ocre: #C7A008;           /* accent, signe */
  --ocre-hover: #E0B814;
  --alert: #7A1A05;

  --line-lin: rgba(22, 38, 31, 0.2);      /* filets sur lin */
  --line-pin: rgba(240, 237, 226, 0.18);  /* filets sur pin */
  --tick: var(--ocre);                    /* coins des cadres : ocre sur pin, pin sur lin */

  /* type */
  --serif: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --sans: "Chivo", "Helvetica Neue", Arial, sans-serif;

  /* rhythm */
  --pad: clamp(20px, 5vw, 64px);
  --wrap: 1360px;
  --sec: clamp(72px, 10vw, 140px);

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-draw: cubic-bezier(.35, .1, .25, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--pin); color: var(--lin); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
svg { overflow: visible; }
a { color: var(--ocre); text-decoration: none; }
a:hover { color: var(--ocre-hover); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--ocre); outline-offset: 3px; }
::selection { background: var(--ocre); color: var(--ink); }
[hidden] { display: none !important; }

@keyframes t-draw { to { stroke-dashoffset: 0; } }
@keyframes t-breathe { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- layout helpers ---------- */
.page { max-width: 100%; overflow-x: clip; }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.light { background: var(--lin); color: var(--ink); --tick: var(--pin); }
/* plain text links on lin are pin; components (buttons, nav, .link) carry their own colour */
.light .prose a, .light .legal a { color: var(--pin); }
.light .prose a:hover, .light .legal a:hover { color: var(--ocre); }
.gold { color: var(--ocre); }
.serif { font-family: var(--serif); }
.art { display: block; width: 100%; height: auto; }
.breathe { animation: t-breathe 2.6s ease-in-out infinite; }
.sec { padding: var(--sec) var(--pad); }
.stack-xl { display: flex; flex-direction: column; gap: clamp(64px, 9vw, 130px); }
.stack-lg { display: flex; flex-direction: column; gap: clamp(44px, 6vw, 80px); }

/* labels */
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.3; }
.eyebrow-gold { color: var(--ocre); display: flex; align-items: center; gap: 12px; }
.eyebrow-green { color: var(--pin); }
.eyebrow-rule { display: block; flex: 0 0 auto; width: 26px; height: 1px; background: var(--ocre); }
.num { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; color: var(--ocre); }
.light .num { color: var(--pin); }

/* section heads */
.sec-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.sec-title { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 58px); line-height: 0.98; letter-spacing: -0.03em; text-wrap: balance; }
.sec-lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; max-width: 52ch; color: var(--lin-soft); }
.light .sec-lead { color: var(--ink-soft); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; font-size: 15px; font-weight: 700; white-space: nowrap; transition: background 180ms ease, color 180ms ease, border-color 180ms ease; }
.btn-gold { background: var(--ocre); color: var(--ink); }
.btn-gold:hover { background: var(--ocre-hover); color: var(--ink); }
.btn-ghost { border: 1px solid rgba(240, 237, 226, 0.3); color: var(--lin); }
.btn-ghost:hover { border-color: var(--lin); background: rgba(240, 237, 226, 0.06); color: var(--lin); }
.btn-outline-gold { border: 1px solid var(--ocre); color: var(--ocre); }
.btn-outline-gold:hover { background: var(--ocre); color: var(--ink); }
.btn-nav { height: 40px; padding: 0 18px; font-size: 12px; letter-spacing: 0.06em; }
.btn-green { background: var(--pin); color: var(--lin); }
.btn-green:hover { background: var(--ink); color: var(--lin); }
.btn-submit { width: 100%; background: var(--ocre); color: var(--ink); }
.btn-submit:hover { background: var(--ocre-hover); }
.btn-submit[disabled] { opacity: 0.6; cursor: wait; }

/* inline arrow links */
.link { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding-bottom: 4px; border-bottom: 1px solid rgba(240, 237, 226, 0.35); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--lin); transition: color 180ms ease, border-color 180ms ease; }
.link:hover { border-color: var(--ocre); color: var(--ocre); }
.link .arrow { font-size: 15px; transition: transform 240ms var(--ease); }
.link:hover .arrow { transform: translateX(4px); }
.light .link { color: var(--pin); border-color: var(--line-lin); }
.light .link:hover { color: var(--ocre); border-color: var(--ocre); }

/* framed screenshots: 1px line + two corner ticks */
.shot { position: relative; overflow: hidden; background: var(--pin-2); border: 1px solid var(--line-pin); box-shadow: 0 22px 54px rgba(0, 0, 0, 0.3); }
.light .shot { border-color: var(--line-lin); box-shadow: 0 22px 54px rgba(22, 38, 31, 0.12); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tick { position: absolute; z-index: 5; width: 22px; height: 22px; pointer-events: none; }
.tick-tl { top: -1px; left: -1px; border-top: 1px solid var(--tick); border-left: 1px solid var(--tick); }
.tick-br { right: -1px; bottom: -1px; border-right: 1px solid var(--tick); border-bottom: 1px solid var(--tick); }

/* ---------- progress + nav ---------- */
.progress { position: fixed; top: 0; left: 0; z-index: 90; height: 2px; width: 0%; background: var(--ocre); }
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px var(--pad); border-bottom: 1px solid transparent; transition: background 260ms ease, border-color 260ms ease, padding 260ms ease; }
.nav.on { background: rgba(11, 47, 35, 0.94); border-color: var(--line-pin); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--lin); }
.brand:hover { color: var(--lin); }
.brand svg { flex: 0 0 auto; }
.brand-name { font-family: var(--serif); font-size: 21px; line-height: 1; }
.nav-links { display: none; align-items: center; gap: 30px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-link { color: var(--lin); transition: color 160ms ease; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ocre); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.burger { position: relative; width: 40px; height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--lin); transition: transform 260ms var(--ease), opacity 200ms ease; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 70; display: none; flex-direction: column; justify-content: space-between; gap: 40px; padding: 110px var(--pad) 40px; background: var(--pin-deep); color: var(--lin); overflow-y: auto; }
.menu.open { display: flex; }
.menu-links { display: flex; flex-direction: column; }
.menu-link { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-pin); font-family: var(--serif); font-size: clamp(30px, 8vw, 44px); line-height: 1; letter-spacing: -0.02em; color: var(--lin); }
.menu-link .num { font-family: var(--sans); }
.menu-link:hover { color: var(--ocre); }
.menu-foot { display: flex; flex-direction: column; gap: 18px; font-size: 14px; color: var(--lin-soft); }
.menu-foot .btn { align-self: flex-start; }
body.menu-open { overflow: hidden; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .burger { display: none; }
}
@media (max-width: 420px) { .nav .btn-nav { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-content: center; padding: clamp(104px, 14vh, 150px) var(--pad) clamp(40px, 6vh, 72px); }
.hero-grid { width: 100%; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero-title { font-family: var(--serif); font-size: clamp(44px, 7vw, 104px); line-height: 0.9; letter-spacing: -0.04em; text-wrap: balance; }
.hero-lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; max-width: 44ch; color: var(--lin-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero-art { min-width: 0; will-change: transform; transition: transform 500ms var(--ease); }

/* hero wireframe: the frames draw themselves once (data-draw + main.js), then a 6.4 s CSS loop tells the story:
   voice and calendar send a pulse to the tool, the tool fills its rows and shows a button, a pulse reaches the phone,
   a message appears with a check. --dly leaves time for the initial drawing before the loop starts. */
.hero-wire { --cyc: 6.4s; --dly: 1.6s; }
.hero-wire .pulse { stroke-dasharray: 14 86; stroke-dashoffset: 100; opacity: 0; animation: w-pulse-a var(--cyc) linear var(--dly) infinite both; }
.hero-wire .p2 { animation-name: w-pulse-b; }
.hero-wire .p3 { animation-name: w-pulse-c; }
@keyframes w-pulse-a { 0%, 6% { stroke-dashoffset: 100; opacity: 0; } 7% { opacity: 1; } 27% { stroke-dashoffset: 14; opacity: 1; } 28%, 100% { stroke-dashoffset: 14; opacity: 0; } }
@keyframes w-pulse-b { 0%, 11% { stroke-dashoffset: 100; opacity: 0; } 12% { opacity: 1; } 32% { stroke-dashoffset: 14; opacity: 1; } 33%, 100% { stroke-dashoffset: 14; opacity: 0; } }
@keyframes w-pulse-c { 0%, 57% { stroke-dashoffset: 100; opacity: 0; } 58% { opacity: 1; } 76% { stroke-dashoffset: 14; opacity: 1; } 77%, 100% { stroke-dashoffset: 14; opacity: 0; } }
.hero-wire .row { stroke-dasharray: 100 120; stroke-dashoffset: 100; animation: w-row var(--cyc) ease-out var(--dly) infinite both; }
.hero-wire .r2 { animation-delay: calc(var(--dly) + 0.35s); }
.hero-wire .r3 { animation-delay: calc(var(--dly) + 0.7s); }
.hero-wire .r4 { animation-delay: calc(var(--dly) + 1.05s); }
@keyframes w-row { 0%, 28% { stroke-dashoffset: 100; } 36% { stroke-dashoffset: 0; } 88% { stroke-dashoffset: 0; } 93%, 100% { stroke-dashoffset: 100; } }
.hero-wire .wbtn { opacity: 0; animation: w-btn var(--cyc) ease var(--dly) infinite both; }
@keyframes w-btn { 0%, 50% { opacity: 0; } 55% { opacity: 1; } 91% { opacity: 1; } 95%, 100% { opacity: 0; } }
.hero-wire .bubble { opacity: 0; transform-box: fill-box; transform-origin: center; animation: w-bubble var(--cyc) var(--ease) var(--dly) infinite both; }
@keyframes w-bubble { 0%, 76% { opacity: 0; transform: translateY(6px); } 80% { opacity: 1; transform: none; } 93% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
.hero-wire .check { stroke-dasharray: 100 120; stroke-dashoffset: 100; animation: w-check var(--cyc) ease-out var(--dly) infinite both; }
@keyframes w-check { 0%, 80% { stroke-dashoffset: 100; } 86%, 100% { stroke-dashoffset: 0; } }
.hero-wire .cal { transform-box: fill-box; animation: w-cal var(--cyc) steps(1, end) var(--dly) infinite both; }
@keyframes w-cal { 0% { transform: translate(0, 0); } 34% { transform: translate(30px, -19px); } 67% { transform: translate(-24px, 20px); } 100% { transform: translate(0, 0); } }
.hero-wire .bar { transform-box: fill-box; transform-origin: center; animation: w-bar 0.9s ease-in-out infinite alternate; }
.hero-wire .bar:nth-child(2) { animation-delay: -0.25s; }
.hero-wire .bar:nth-child(3) { animation-delay: -0.5s; }
.hero-wire .bar:nth-child(4) { animation-delay: -0.15s; }
.hero-wire .bar:nth-child(5) { animation-delay: -0.65s; }
@keyframes w-bar { from { transform: scaleY(0.35); } to { transform: scaleY(1.2); } }
@media (prefers-reduced-motion: reduce) {
  /* animations are off globally: show the finished state instead of the empty first frame */
  .hero-wire .row, .hero-wire .check { stroke-dashoffset: 0; }
  .hero-wire .wbtn, .hero-wire .bubble { opacity: 1; }
}

/* ---------- deliverables ---------- */
.deliverables { display: flex; flex-direction: column; }
.deliverables-head { padding-bottom: clamp(26px, 4vw, 48px); }
.deliverable { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(26px, 5vw, 84px); padding: clamp(38px, 5.5vw, 76px) 0; border-top: 1px solid var(--line-lin); }
.deliverable.reverse { flex-direction: row-reverse; }
.deliverable-copy { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.deliverable-art { flex: 1 1 320px; min-width: 0; }
.deliverable-title { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.0; letter-spacing: -0.03em; }
.deliverable-line { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; max-width: 26ch; color: var(--ink-soft); }

/* deliverable wireframes: frames draw themselves once (data-draw), then main.js adds .play while the drawing is on
   screen and a CSS story loop runs. Base state = the empty first frame; reduced motion shows the finished frame. */
.wire { --dly: 1.4s; }

/* 01 Workflows: a clock triggers a run, a token crosses the flow (upper branch, then lower), a check lands, the loop returns */
.w-flow .hand { transform-origin: 60px 110px; }
.w-flow .tok { opacity: 0; offset-rotate: 0deg; }
.w-flow .tok-a { offset-path: path("M82 110 H130 M194 110 H236 M270 76 V50 H360 M416 50 H460 V110 H500"); }
.w-flow .tok-b { offset-path: path("M82 110 H130 M194 110 H236 M270 144 V170 H360 M416 170 H460 V110 H500"); }
.w-flow .done { stroke-dasharray: 100 120; stroke-dashoffset: 100; }
.w-flow .ret { stroke-dasharray: 14 86; stroke-dashoffset: 100; opacity: 0; }
.w-flow.play .hand { animation: flow-hand 6s linear infinite; }
.w-flow.play .tok-a { animation: flow-tok-a 8s linear var(--dly) infinite both; }
.w-flow.play .tok-b { animation: flow-tok-b 8s linear var(--dly) infinite both; }
.w-flow.play .n-mail { animation: flow-mail 8s ease var(--dly) infinite both; }
.w-flow.play .n-cond { animation: flow-cond 8s ease var(--dly) infinite both; }
.w-flow.play .n-doc { animation: flow-doc 8s ease var(--dly) infinite both; }
.w-flow.play .n-msg { animation: flow-msg 8s ease var(--dly) infinite both; }
.w-flow.play .done { animation: flow-done 8s ease-out var(--dly) infinite both; }
.w-flow.play .ret { animation: flow-ret 8s linear var(--dly) infinite both; }
@keyframes flow-hand { to { transform: rotate(360deg); } }
@keyframes flow-tok-a { 0%, 4% { offset-distance: 0%; opacity: 0; } 5% { opacity: 1; } 30% { offset-distance: 100%; opacity: 1; } 31%, 100% { offset-distance: 100%; opacity: 0; } }
@keyframes flow-tok-b { 0%, 52% { offset-distance: 0%; opacity: 0; } 53% { opacity: 1; } 78% { offset-distance: 100%; opacity: 1; } 79%, 100% { offset-distance: 100%; opacity: 0; } }
@keyframes flow-mail { 0%, 7% { stroke: #16261F; } 9% { stroke: #C7A008; } 17% { stroke: #16261F; } 55% { stroke: #16261F; } 57% { stroke: #C7A008; } 65%, 100% { stroke: #16261F; } }
@keyframes flow-cond { 0%, 14% { stroke: #16261F; } 16% { stroke: #C7A008; } 24% { stroke: #16261F; } 62% { stroke: #16261F; } 64% { stroke: #C7A008; } 72%, 100% { stroke: #16261F; } }
@keyframes flow-doc { 0%, 22% { stroke: #16261F; } 24% { stroke: #C7A008; } 34%, 100% { stroke: #16261F; } }
@keyframes flow-msg { 0%, 70% { stroke: #16261F; } 72% { stroke: #C7A008; } 82%, 100% { stroke: #16261F; } }
@keyframes flow-done { 0%, 30% { stroke-dashoffset: 100; } 35% { stroke-dashoffset: 0; } 46% { stroke-dashoffset: 0; } 47%, 78% { stroke-dashoffset: 100; } 83% { stroke-dashoffset: 0; } 94% { stroke-dashoffset: 0; } 95%, 100% { stroke-dashoffset: 100; } }
@keyframes flow-ret { 0%, 36% { stroke-dashoffset: 100; opacity: 0; } 37% { opacity: 1; } 50% { stroke-dashoffset: 14; opacity: 1; } 51%, 84% { stroke-dashoffset: 100; opacity: 0; } 85% { opacity: 1; } 98% { stroke-dashoffset: 14; opacity: 1; } 99%, 100% { stroke-dashoffset: 14; opacity: 0; } }

/* 02 Logiciels métier: the window assembles one layout, a cursor clicks, it dissolves and assembles a different one */
.w-tool .la, .w-tool .lb, .w-tool .cur { opacity: 0; }
.w-tool .la, .w-tool .lb { transform-box: fill-box; }
.w-tool .bar { transform-box: fill-box; transform-origin: bottom; }
.w-tool .cur { transform: translate(300px, 250px); }
.w-tool.play .la { animation: tool-a 12s var(--ease) var(--dly) infinite both; }
.w-tool.play .a2 { animation-delay: calc(var(--dly) + 0.3s); }
.w-tool.play .a3 { animation-delay: calc(var(--dly) + 0.6s); }
.w-tool.play .lb { animation: tool-b 12s var(--ease) var(--dly) infinite both; }
.w-tool.play .b2 { animation-delay: calc(var(--dly) + 0.3s); }
.w-tool.play .b3 { animation-delay: calc(var(--dly) + 0.6s); }
.w-tool.play .b4 { animation-delay: calc(var(--dly) + 0.9s); }
.w-tool.play .bar { animation: tool-bar 12s var(--ease) var(--dly) infinite both; }
.w-tool.play .bar:nth-of-type(2) { animation-delay: calc(var(--dly) + 0.1s); }
.w-tool.play .bar:nth-of-type(3) { animation-delay: calc(var(--dly) + 0.2s); }
.w-tool.play .bar:nth-of-type(4) { animation-delay: calc(var(--dly) + 0.3s); }
.w-tool.play .bar:nth-of-type(5) { animation-delay: calc(var(--dly) + 0.4s); }
.w-tool.play .cur { animation: tool-cur 12s var(--ease) var(--dly) infinite both; }
.w-tool.play .a3 .btn { animation: tool-click-a 12s steps(1, end) calc(var(--dly) + 0.6s) infinite both; }
.w-tool.play .b4 .btn { animation: tool-click-b 12s steps(1, end) calc(var(--dly) + 0.9s) infinite both; }
@keyframes tool-a { 0%, 5% { opacity: 0; transform: translateY(10px); } 10% { opacity: 1; transform: none; } 42% { opacity: 1; transform: none; } 47%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes tool-b { 0%, 50% { opacity: 0; transform: translateY(10px); } 55% { opacity: 1; transform: none; } 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes tool-bar { 0%, 58% { transform: scaleY(0); } 66% { transform: scaleY(1); } 92% { transform: scaleY(1); } 97%, 100% { transform: scaleY(0); } }
@keyframes tool-cur { 0%, 24% { transform: translate(300px, 250px); opacity: 0; } 27% { opacity: 1; } 34% { transform: translate(498px, 306px); } 36% { transform: translate(498px, 306px) scale(0.85); } 38% { transform: translate(498px, 306px) scale(1); } 43% { opacity: 1; } 46% { opacity: 0; } 70% { transform: translate(300px, 250px); opacity: 0; } 73% { opacity: 1; } 80% { transform: translate(478px, 304px); } 82% { transform: translate(478px, 304px) scale(0.85); } 84% { transform: translate(478px, 304px) scale(1); } 92% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes tool-click-a { 0%, 35% { fill: transparent; } 36% { fill: #C7A008; } 39%, 100% { fill: transparent; } }
@keyframes tool-click-b { 0%, 81% { fill: transparent; } 82% { fill: #C7A008; } 85%, 100% { fill: transparent; } }

/* 03 Applications mobiles: a tick on the desktop reaches the phone, a new line on the phone reaches the desktop */
.w-sync .chk { stroke-dasharray: 100 120; stroke-dashoffset: 100; }
.w-sync .pl { stroke-dasharray: 14 86; stroke-dashoffset: 100; opacity: 0; }
.w-sync .new, .w-sync .dot, .w-sync .tap { opacity: 0; }
.w-sync .new { transform-box: fill-box; }
.w-sync .tap { transform-box: fill-box; transform-origin: center; }
.w-sync.play .chk-d { animation: sync-chk-d 9s ease-out var(--dly) infinite both; }
.w-sync.play .chk-p { animation: sync-chk-p 9s ease-out var(--dly) infinite both; }
.w-sync.play .pl-a { animation: sync-pl-a 9s linear var(--dly) infinite both; }
.w-sync.play .pl-b { animation: sync-pl-b 9s linear var(--dly) infinite both; }
.w-sync.play .new-p { animation: sync-new-p 9s var(--ease) var(--dly) infinite both; }
.w-sync.play .new-d { animation: sync-new-d 9s var(--ease) var(--dly) infinite both; }
.w-sync.play .tap { animation: sync-tap 9s ease-out var(--dly) infinite both; }
.w-sync.play .dot { animation: sync-dot 9s ease var(--dly) infinite both; }
@keyframes sync-chk-d { 0%, 5% { stroke-dashoffset: 100; } 9% { stroke-dashoffset: 0; } 90% { stroke-dashoffset: 0; } 94%, 100% { stroke-dashoffset: 100; } }
@keyframes sync-chk-p { 0%, 25% { stroke-dashoffset: 100; } 29% { stroke-dashoffset: 0; } 90% { stroke-dashoffset: 0; } 94%, 100% { stroke-dashoffset: 100; } }
@keyframes sync-pl-a { 0%, 10% { stroke-dashoffset: 100; opacity: 0; } 11% { opacity: 1; } 24% { stroke-dashoffset: 14; opacity: 1; } 25%, 100% { stroke-dashoffset: 14; opacity: 0; } }
@keyframes sync-pl-b { 0%, 50% { stroke-dashoffset: 100; opacity: 0; } 51% { opacity: 1; } 64% { stroke-dashoffset: 14; opacity: 1; } 65%, 100% { stroke-dashoffset: 14; opacity: 0; } }
@keyframes sync-new-p { 0%, 44% { opacity: 0; transform: translateY(6px); } 48% { opacity: 1; transform: none; } 90% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes sync-new-d { 0%, 65% { opacity: 0; transform: translateY(6px); } 69% { opacity: 1; transform: none; } 90% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes sync-tap { 0%, 41% { transform: scale(0.3); opacity: 0; } 42% { opacity: 0.9; } 50% { transform: scale(2.4); opacity: 0; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes sync-dot { 0%, 25% { opacity: 0; } 27% { opacity: 1; } 33% { opacity: 1; } 36% { opacity: 0; } 65% { opacity: 0; } 67% { opacity: 1; } 73% { opacity: 1; } 76%, 100% { opacity: 0; } }

/* 04 Assistant: a question, a beam reads the documents, a passage lights up, the answer writes itself with its source */
.w-ask .q, .w-ask .dots, .w-ask .beam, .w-ask .hl, .w-ask .cite, .w-ask .src { opacity: 0; }
.w-ask .q { transform-box: fill-box; }
.w-ask .dots circle { transform-box: fill-box; }
.w-ask .ans-box, .w-ask .al { stroke-dasharray: 100 120; stroke-dashoffset: 100; }
.w-ask.play .q { animation: ask-q 10s var(--ease) var(--dly) infinite both; }
.w-ask.play .dots { animation: ask-dots 10s ease var(--dly) infinite both; }
.w-ask.play .dots circle { animation: ask-bounce 0.5s ease-in-out infinite alternate; }
.w-ask.play .dots circle:nth-child(2) { animation-delay: 0.16s; }
.w-ask.play .dots circle:nth-child(3) { animation-delay: 0.32s; }
.w-ask.play .beam { animation: ask-beam 10s linear var(--dly) infinite both; }
.w-ask.play .hl { animation: ask-hl 10s ease var(--dly) infinite both; }
.w-ask.play .ans-box { animation: ask-box 10s ease-out var(--dly) infinite both; }
.w-ask.play .al { animation: ask-line 10s ease-out var(--dly) infinite both; }
.w-ask.play .al:nth-child(2) { animation-delay: calc(var(--dly) + 0.3s); }
.w-ask.play .al:nth-child(3) { animation-delay: calc(var(--dly) + 0.6s); }
.w-ask.play .al:nth-child(4) { animation-delay: calc(var(--dly) + 0.9s); }
.w-ask.play .cite { animation: ask-cite 10s ease var(--dly) infinite both; }
.w-ask.play .src { animation: ask-src 10s ease var(--dly) infinite both; }
@keyframes ask-q { 0% { opacity: 0; transform: translateY(8px); } 5% { opacity: 1; transform: none; } 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes ask-dots { 0%, 6% { opacity: 0; } 7% { opacity: 1; } 39% { opacity: 1; } 41%, 100% { opacity: 0; } }
@keyframes ask-bounce { from { transform: translateY(0); } to { transform: translateY(-4px); } }
@keyframes ask-beam { 0%, 8% { transform: translateY(0); opacity: 0; } 9% { opacity: 1; } 39% { transform: translateY(200px); opacity: 1; } 41%, 100% { transform: translateY(200px); opacity: 0; } }
@keyframes ask-hl { 0%, 20% { opacity: 0; } 22% { opacity: 1; } 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes ask-box { 0%, 40% { stroke-dashoffset: 100; } 48% { stroke-dashoffset: 0; } 92% { stroke-dashoffset: 0; } 97%, 100% { stroke-dashoffset: 100; } }
@keyframes ask-line { 0%, 48% { stroke-dashoffset: 100; } 54% { stroke-dashoffset: 0; } 89% { stroke-dashoffset: 0; } 94%, 100% { stroke-dashoffset: 100; } }
@keyframes ask-cite { 0%, 62% { opacity: 0; } 65% { opacity: 1; } 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes ask-src { 0%, 64% { opacity: 0; } 70% { opacity: 1; } 92% { opacity: 1; } 97%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  /* animations are off globally: show each drawing's finished frame */
  .w-flow .done, .w-sync .chk, .w-ask .ans-box, .w-ask .al { stroke-dashoffset: 0; }
  .w-tool .la, .w-sync .new, .w-ask .q, .w-ask .hl, .w-ask .cite, .w-ask .src { opacity: 1; }
}

/* ---------- method ---------- */
.method { display: flex; flex-direction: column; gap: clamp(30px, 4vw, 52px); }
.method-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.method-note { font-size: 14px; line-height: 1.55; color: var(--ink-soft); max-width: 34ch; }
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); }
@media (max-width: 900px) { .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .method-grid { grid-template-columns: minmax(0, 1fr); } }
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-lin); }
.step-when { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pin); }
.step-title { font-family: var(--serif); font-size: 24px; line-height: 1.05; letter-spacing: -0.02em; }
.step-line { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

/* ---------- works: scroll-through showcase ----------
   Desktop: the section is (n + 1) viewports tall, the stage sticks, and the scroll position picks the scene.
   Each scene is a composition of layers (desktop shot, second page, phone) that move at different depths.
   Under 760px, or with reduced motion, the scenes stack vertically. */
.works { position: relative; height: calc(var(--n, 6) * 62vh + 100vh); }
.works-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; padding: 84px var(--pad) clamp(20px, 4vh, 40px); }
.works-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex: 0 0 auto; }
.works-counter { display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; color: var(--lin-2); font-variant-numeric: tabular-nums; }
/* the group of the scene on stage: « Pour les cabinets », « Pour les commerces »… */
.works-group { color: var(--lin); font-weight: 600; }
.works-group::before { content: "·"; color: var(--ocre); margin-right: 12px; }
.scene-group { display: none; }
.works-track { display: block; position: relative; width: clamp(70px, 12vw, 150px); height: 1px; background: rgba(240, 237, 226, 0.25); }
.works-bar { display: block; position: absolute; top: 0; left: 0; height: 1px; width: 0%; background: var(--ocre); }
.stage { position: relative; flex: 1 1 auto; min-height: 0; margin-top: clamp(16px, 3vh, 32px); }
.scene { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(200px, 0.28fr) minmax(0, 0.72fr); gap: clamp(24px, 4vw, 64px); align-items: center; opacity: 0; visibility: hidden; will-change: transform, opacity; }
.scene-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.scene-tags { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ocre); }
.scene-rule { display: block; flex: 0 0 auto; width: 22px; height: 1px; background: var(--ocre); }
.scene-name { font-family: var(--serif); font-size: clamp(32px, 3.8vw, 60px); line-height: 0.96; letter-spacing: -0.03em; }
.scene-status { font-size: 12px; letter-spacing: 0.04em; color: var(--lin-mute); }
.scene-art { position: relative; width: 100%; max-width: calc(var(--stage-h, 600px) * 16 / 11); aspect-ratio: 16 / 11; margin: 0 auto; container-type: inline-size; }
.layer { position: absolute; will-change: transform; }
.layer img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.layer-back { left: 24%; top: 0; width: 64%; aspect-ratio: 16 / 10; z-index: 1; opacity: 0.92; }
.layer-main { left: 0; top: 15%; width: 74%; aspect-ratio: 16 / 10; z-index: 2; }
.layer-phone { right: 6%; bottom: 0; width: 21%; aspect-ratio: 390 / 844; z-index: 3; }
.layer-fan-l { left: 0; top: 9%; width: 58%; aspect-ratio: 16 / 10; z-index: 1; opacity: 0.92; }
.layer-fan-r { right: 0; top: 0; width: 58%; aspect-ratio: 16 / 10; z-index: 1; opacity: 0.92; }
.scene-art.fan .layer-main { left: 18%; top: 27%; width: 64%; }
.scene-art.solo .layer-main { left: 7%; top: 9%; width: 86%; }
/* duo: two desktop screens, no phone (for products that have no mobile layout) */
.scene-art.duo .layer-back { left: 24%; top: 0; width: 72%; }
.scene-art.duo .layer-main { left: 0; top: 18%; width: 78%; }
/* app: a desktop shot with two phones in front (real app screens) */
.layer-phone-a { right: 12%; bottom: 0; width: 22%; aspect-ratio: 390 / 844; z-index: 3; }
.layer-phone-b { right: 0; top: 2%; width: 22%; aspect-ratio: 390 / 844; z-index: 2; }
.scene-art.app .layer-main { left: 0; top: 18%; width: 66%; }
/* app-only: two phones side by side, no desktop */
.scene-art.app-only .layer-phone-a { left: 22%; right: auto; top: 6%; bottom: auto; width: 26%; }
.scene-art.app-only .layer-phone-b { right: 22%; top: 12%; width: 26%; }
.scene-badge { margin-left: 4px; padding: 3px 7px; border: 1px solid var(--ocre); font-size: 9px; letter-spacing: 0.14em; }
@media (max-width: 759px), (prefers-reduced-motion: reduce) {
  .works { height: auto; padding: var(--sec) var(--pad); }
  .works-sticky { position: static; height: auto; overflow: visible; padding: 0; }
  .works-counter { display: none; }
  .works-group { display: none; }
  /* stacked: the first scene of each group carries the group title */
  .scene[data-group-start] .scene-group { display: block; order: -2; font-family: var(--serif); font-size: clamp(26px, 6vw, 34px); line-height: 1; letter-spacing: -0.02em; color: var(--lin); padding-bottom: 10px; border-bottom: 1px solid var(--line-pin); margin-bottom: 6px; }
  .scene[data-group-start]:not(:first-child) { margin-top: clamp(24px, 6vw, 48px); }
  .stage { display: flex; flex-direction: column; gap: clamp(56px, 10vw, 96px); margin-top: clamp(28px, 6vw, 48px); }
  .scene { position: relative; inset: auto; grid-template-columns: minmax(0, 1fr); gap: 22px; opacity: 1; visibility: visible; }
  .scene-art { max-width: none; order: -1; }
  /* two-phone scenes: bigger phones when the stage is narrow */
  .scene-art.app-only .layer-phone-a { left: 14%; top: 2%; width: 30%; }
  .scene-art.app-only .layer-phone-b { right: 14%; top: 9%; width: 30%; }
}

/* recreated UIs (Loop, VoiceTyper): drawn in the product's own look, framed like a screenshot */
.mock { background: #fff; color: #1a1a1f; font-size: 13px; line-height: 1.4; }
.mock, .mock * { box-sizing: border-box; }
/* Loop, on its real design system: warm paper, violet-to-pink accent, serif display, 14px radii */
.loop { --lp: #7c5cfc; display: flex; background: #f6f3ec; color: #221f1a; font-family: Inter, "Segoe UI", system-ui, sans-serif; font-size: clamp(8px, 0.82vw, 12px); }
.loop-side { width: 27%; display: flex; flex-direction: column; gap: 0.35em; padding: 1.2em 1em; background: #efeae0; border-right: 1px solid #e7e1d5; }
.loop-brand { display: flex; align-items: center; gap: 0.6em; margin-bottom: 0.9em; }
.loop-brand .mk { width: 2em; height: 2em; } .loop-brand b { font-family: Georgia, serif; font-size: 1.45em; font-weight: 600; letter-spacing: -0.01em; }
.loop-pres { margin-left: auto; display: flex; }
.loop-av { width: 1.7em; height: 1.7em; border-radius: 50%; margin-left: -0.45em; border: 2px solid #efeae0; display: grid; place-items: center; font-size: 0.7em; font-weight: 700; color: #fff; }
.loop-proj { display: flex; justify-content: space-between; padding: 0.55em 0.75em; border-radius: 0.65em; color: #5d574c; }
.loop-proj.on { background: #fffdf9; color: #221f1a; font-weight: 600; box-shadow: 0 1px 2px rgba(40, 33, 20, 0.05); }
.loop-proj i { font-style: normal; color: #8f897c; font-size: 0.85em; }
.loop-main { flex: 1; display: flex; flex-direction: column; padding: 1.4em 1.8em; min-width: 0; }
.loop-title { display: flex; align-items: baseline; gap: 0.8em; }
.loop-title b { font-family: Georgia, serif; font-size: 1.85em; font-weight: 600; letter-spacing: -0.02em; } .loop-title span { margin-left: auto; color: #8f897c; font-size: 0.9em; }
.loop-qa { display: flex; align-items: center; gap: 0.6em; margin: 1em 0 0.8em; padding: 0.3em 0.4em 0.3em 0.9em; background: #fffdf9; border: 1.5px solid #ddd6c8; border-radius: 0.95em; box-shadow: 0 1px 2px rgba(40, 33, 20, 0.05); }
.loop-qa i { color: var(--lp); font-style: normal; font-size: 1.5em; line-height: 1; } .loop-qa span { flex: 1; color: #8f897c; }
.loop-qa em { font-style: normal; padding: 0.55em 1em; border-radius: 0.6em; background: var(--lp); color: #fff; font-weight: 600; }
.loop-list { display: flex; flex-direction: column; }
.loop-task { display: flex; align-items: center; gap: 0.8em; padding: 0.75em 0.6em; border-bottom: 1px solid #e7e1d5; }
.loop-check { position: relative; width: 1.35em; height: 1.35em; border-radius: 50%; border: 1.5px solid #ddd6c8; flex: 0 0 auto; background: #fffdf9; }
.loop-check::after { content: ""; position: absolute; left: 0.38em; top: 0.13em; width: 0.32em; height: 0.62em; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; }
.loop-text { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loop-meta { display: flex; align-items: center; gap: 0.6em; font-size: 0.8em; font-weight: 600; color: #8f897c; white-space: nowrap; }
.loop-meta .due { color: #f59e0b; } .loop-dot { width: 0.6em; height: 0.6em; border-radius: 50%; }
.loop-task.done .loop-check { background: var(--lp); border-color: var(--lp); }
.loop-task.done .loop-check::after { opacity: 1; }
.loop-task.done .loop-text { color: #8f897c; text-decoration: line-through; }
.loop-phone { flex-direction: column; font-size: clamp(6.5px, 0.62vw, 8.5px); }
.loop-phone .loop-main { padding: 2.4em 1.3em 1em; } .loop-phone .loop-brand { margin-bottom: 0.6em; } .loop-phone .loop-av { border-color: #f6f3ec; }
/* the live bit: one task gets ticked on both screens at the same instant */
@keyframes loop-tick-box { 0%, 38% { background: #fff; border-color: #c9c7d6; } 44%, 100% { background: var(--lp); border-color: var(--lp); } }
@keyframes loop-tick-mark { 0%, 38% { opacity: 0; } 44%, 100% { opacity: 1; } }
.loop-task.anim .loop-text { text-decoration: line-through; text-decoration-color: transparent; }
@keyframes loop-tick-text { 0%, 38% { color: #221f1a; text-decoration-color: transparent; } 44%, 100% { color: #8f897c; text-decoration-color: #8f897c; } }
.is-active .loop-task.anim .loop-check { animation: loop-tick-box 7s ease infinite; }
.is-active .loop-task.anim .loop-check::after { animation: loop-tick-mark 7s ease infinite; }
.is-active .loop-task.anim .loop-text { animation: loop-tick-text 7s ease infinite; }

.vt { display: flex; flex-direction: column; background: #fff; color: #1b1b1b; font-size: clamp(9px, 1vw, 14px); }
.vt-bar { display: flex; align-items: center; gap: 0.6em; padding: 0.6em 0.9em; background: #f3f3f3; border-bottom: 1px solid #e3e3e3; font-size: 0.9em; }
.vt-app { width: 1.1em; height: 1.1em; border-radius: 0.25em; background: #0f6cbd; }
.vt-ctl { margin-left: auto; display: flex; gap: 1.4em; color: #555; }
.vt-field { display: flex; gap: 0.8em; padding: 0.55em 1em; border-bottom: 1px solid #ececec; }
.vt-field b { width: 3.6em; color: #666; font-weight: 500; }
.vt-body { position: relative; flex: 1 1 auto; min-height: 0; padding: 1em 1em 3.4em; line-height: 1.6; font-size: 1.05em; }
.vt-caret { display: inline-block; width: 1px; height: 1em; margin-left: 1px; background: #1b1b1b; vertical-align: -0.15em; animation: t-breathe 1s steps(2) infinite; }
.vt-pill { position: absolute; left: 50%; bottom: 1em; transform: translateX(-50%); display: flex; align-items: center; gap: 0.7em; padding: 0.55em 1em; border-radius: 999px; background: #1b1b1f; color: #fff; font-size: 0.85em; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28); }
.vt-dot { width: 0.6em; height: 0.6em; border-radius: 50%; background: #9a9a9a; }
.vt[data-state="rec"] .vt-dot { background: #ef4444; animation: t-breathe 0.9s ease-in-out infinite; }
.vt[data-state="wait"] .vt-dot { background: #f59e0b; }
.vt[data-state="done"] .vt-dot { background: #22c55e; }
.vt-wave { display: none; align-items: center; gap: 2px; height: 1em; }
.vt[data-state="rec"] .vt-wave { display: flex; }
.vt-wave i { display: block; width: 2px; height: 0.3em; background: #fff; animation: vt-wave 0.8s ease-in-out infinite; }
.vt-wave i:nth-child(2) { animation-delay: 0.1s; } .vt-wave i:nth-child(3) { animation-delay: 0.2s; } .vt-wave i:nth-child(4) { animation-delay: 0.3s; } .vt-wave i:nth-child(5) { animation-delay: 0.15s; }
@keyframes vt-wave { 0%, 100% { height: 0.25em; } 50% { height: 1em; } }
.vt-key { padding: 0.15em 0.5em; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 0.3em; font-size: 0.8em; color: rgba(255, 255, 255, 0.8); }

/* Adaptel-style temp-staffing app (concept): red brand, two phone screens */
.adp { --ar: #d8232a; display: flex; flex-direction: column; background: #f5f5f7; color: #17171c; font-size: clamp(6.5px, 0.62vw, 8.5px); }
.adp-bar { display: flex; align-items: center; gap: 0.8em; padding: 2.4em 1.4em 1em; background: #fff; font-weight: 700; font-size: 1.25em; }
.adp-logo { width: 2em; height: 2em; border-radius: 0.5em; background: var(--ar); color: #fff; display: grid; place-items: center; font-size: 0.95em; }
.adp-bell { margin-left: auto; width: 1.1em; height: 1.1em; border: 1.5px solid #17171c; border-radius: 50% 50% 0.2em 0.2em; }
.adp-tabs { display: flex; gap: 1.6em; padding: 0.8em 1.4em; background: #fff; border-bottom: 1px solid #e6e6ea; color: #7a7a82; }
.adp-tabs .on { color: var(--ar); font-weight: 700; box-shadow: 0 2px 0 var(--ar); }
.adp-list { display: flex; flex-direction: column; gap: 0.8em; padding: 1em; }
.adp-card { padding: 1em; background: #fff; border-radius: 1em; border: 1px solid #e6e6ea; }
.adp-top { display: flex; justify-content: space-between; gap: 0.6em; font-size: 1.05em; }
.adp-pay { color: var(--ar); font-weight: 700; white-space: nowrap; }
.adp-sub { color: #7a7a82; margin: 0.35em 0 0.8em; }
.adp-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; }
.adp-when { padding: 0.3em 0.6em; background: #f0f0f3; border-radius: 0.5em; }
.adp-btn { padding: 0.5em 0.9em; border-radius: 0.6em; background: var(--ar); color: #fff; font-weight: 700; }
.adp-cta { display: grid; }
.adp-cta > span { grid-area: 1 / 1; text-align: center; }
.adp-ok { opacity: 0; padding: 0.5em 0.9em; border-radius: 0.6em; background: #e6f6ec; color: #147a3d; font-weight: 700; }
.adp-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 0.9em 0 1.6em; background: #fff; border-top: 1px solid #e6e6ea; color: #7a7a82; }
.adp-nav .on { color: var(--ar); font-weight: 700; }
.adp-month { padding: 1.2em 1.4em 0.4em; font-weight: 700; font-size: 1.2em; }
.adp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.4em; padding: 0.4em 1.2em; text-align: center; }
.adp-grid i { font-style: normal; color: #7a7a82; font-size: 0.85em; }
.adp-grid b { display: grid; place-items: center; aspect-ratio: 1; border-radius: 0.6em; background: #fff; border: 1px solid #e6e6ea; font-weight: 500; }
.adp-grid b.on { background: var(--ar); border-color: var(--ar); color: #fff; font-weight: 700; }
.adp-grid b.off { color: #b5b5bc; }
.adp-legend { display: flex; gap: 1.4em; padding: 0.8em 1.4em; color: #7a7a82; }
.adp-legend i { display: inline-block; width: 0.9em; height: 0.9em; border-radius: 0.25em; border: 1px solid #e6e6ea; margin-right: 0.4em; vertical-align: -0.1em; }
.adp-legend i.on { background: var(--ar); border-color: var(--ar); }
.adp-send { margin: 0.6em 1.4em 1em; padding: 0.9em; border-radius: 0.7em; background: #17171c; color: #fff; text-align: center; font-weight: 700; }
@keyframes adp-accept { 0%, 30% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes adp-accepted { 0%, 32% { opacity: 0; } 34%, 100% { opacity: 1; } }
.is-active .adp-card.anim .adp-btn { animation: adp-accept 7s ease infinite; }
.is-active .adp-card.anim .adp-ok { animation: adp-accepted 7s ease infinite; }

/* Vita-style health app (concept): calm teal, a doctor queue and a patient chat */
.vita { --vt: #0f766e; display: flex; background: #f3f6f5; color: #14201d; font-size: clamp(8px, 0.85vw, 12px); }
.vita-side { display: flex; flex-direction: column; gap: 0.9em; width: 22%; padding: 1.4em 1.2em; background: #fff; border-right: 1px solid #e3e9e7; color: #6b7674; }
.vita-side .on { color: var(--vt); font-weight: 700; }
.vita-logo { width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--vt); margin-bottom: 0.6em; }
.vita-main { flex: 1; display: flex; flex-direction: column; gap: 0.9em; padding: 1.2em 1.4em; min-width: 0; }
.vita-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.15em; }
.vita-head span { font-size: 0.8em; color: #6b7674; }
.vita-list { display: flex; flex-direction: column; gap: 0.45em; }
.vita-list li { display: grid; grid-template-columns: 5em 7em 1fr auto; gap: 0.9em; align-items: center; padding: 0.95em 1.1em; background: #fff; border: 1px solid #e3e9e7; border-radius: 0.7em; }
.vita-list li.sel { border-color: var(--vt); box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.12); }
.vita-list span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #4d5a57; }
.vita-list i { font-style: normal; color: #6b7674; font-size: 0.85em; }
.vita-tag { display: inline-block; padding: 0.2em 0.5em; border-radius: 0.4em; background: #e6f0ee; color: var(--vt); font-size: 0.8em; font-weight: 700; text-align: center; }
.vita-tag.urgent { background: #fde8e8; color: #b42318; }
.vita-detail { padding: 0.9em 1em; background: #fff; border: 1px solid #e3e9e7; border-radius: 0.7em; line-height: 1.45; }
.vita-detail p { margin: 0.3em 0 0.7em; color: #4d5a57; }
.vita-alert { color: #b42318; font-weight: 600; }
.vita-actions { display: flex; gap: 0.6em; }
.vita-btn { padding: 0.5em 0.9em; border-radius: 0.5em; background: var(--vt); color: #fff; font-weight: 700; }
.vita-btn.ghost { background: #fff; color: var(--vt); border: 1px solid var(--vt); }
.vita-phone { flex-direction: column; background: #fff; font-size: clamp(6.5px, 0.62vw, 8.5px); }
.vita-pbar { display: flex; align-items: center; gap: 0.6em; padding: 2.4em 1.4em 1em; font-weight: 700; font-size: 1.2em; border-bottom: 1px solid #e3e9e7; }
.vita-pbar .vita-logo { margin: 0; }
.vita-chat { display: flex; flex-direction: column; gap: 0.7em; padding: 1.2em; }
.vita-msg { max-width: 86%; padding: 0.8em 1em; border-radius: 1em 1em 1em 0.2em; background: #f3f6f5; line-height: 1.4; }
.vita-msg.me { align-self: flex-end; background: var(--vt); color: #fff; border-radius: 1em 1em 0.2em 1em; }
.vita-slot { margin-top: 0.2em; padding: 0.9em 1em; border: 1px solid var(--vt); border-radius: 0.8em; display: flex; flex-direction: column; gap: 0.3em; }
.vita-slot span { color: #6b7674; }
.vita-slot em { font-style: normal; margin-top: 0.5em; padding: 0.6em; text-align: center; border-radius: 0.5em; background: var(--vt); color: #fff; font-weight: 700; }
.vita-input { margin: auto 1.2em 1.6em; padding: 0.9em 1em; border: 1px solid #e3e9e7; border-radius: 2em; color: #9aa5a2; }
@keyframes vita-in { 0%, 40% { opacity: 0; transform: translateY(6px); } 46%, 100% { opacity: 1; transform: none; } }
@keyframes vita-in2 { 0%, 58% { opacity: 0; transform: translateY(6px); } 64%, 100% { opacity: 1; transform: none; } }
.vita .anim { opacity: 1; }
.is-active .vita-msg.anim { animation: vita-in 9s var(--ease) infinite; }
.is-active .vita-slot.anim { animation: vita-in2 9s var(--ease) infinite; }

/* Voice receptionist for a shop (concept): dark, gold, a live transcript */
.va { --gold: #d4a53c; display: flex; flex-direction: column; background: #141416; color: #f3efe6; font-size: clamp(8px, 0.82vw, 12px); }
.va-head { display: flex; align-items: center; gap: 0.8em; padding: 1em 1.4em; border-bottom: 1px solid #2a2a2e; font-weight: 600; }
.va-live { width: 0.7em; height: 0.7em; border-radius: 50%; background: #ef4444; animation: t-breathe 1.2s ease-in-out infinite; }
.va-brand { margin-left: auto; color: var(--gold); letter-spacing: 0.08em; font-size: 0.85em; text-transform: uppercase; }
.va-wave { display: flex; align-items: center; justify-content: center; gap: 0.35em; height: 3em; border-bottom: 1px solid #2a2a2e; }
.va-wave i { display: block; width: 0.3em; height: 0.6em; border-radius: 0.2em; background: var(--gold); }
.is-active .va-wave i { animation: vt-wave 0.9s ease-in-out infinite; }
.va-wave i:nth-child(2n) { animation-delay: -0.3s; } .va-wave i:nth-child(3n) { animation-delay: -0.6s; } .va-wave i:nth-child(5n) { animation-delay: -0.15s; }
.va-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.2em; padding: 1.2em 1.4em; flex: 1; min-height: 0; }
.va-transcript { display: flex; flex-direction: column; gap: 0.8em; line-height: 1.45; }
.va-transcript li { opacity: 1; }
.va-transcript b { display: block; font-size: 0.75em; letter-spacing: 0.1em; text-transform: uppercase; color: #9a968c; margin-bottom: 0.2em; }
.va-cards { display: flex; flex-direction: column; gap: 0.7em; }
.va-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 0.8em; align-items: center; padding: 0.8em 0.9em; border: 1px solid #2a2a2e; border-radius: 0.7em; background: #1c1c20; }
.va-ring { grid-row: 1 / 3; width: 2.2em; height: 2.2em; border-radius: 50%; border: 0.45em solid var(--gold); }
.va-card b { font-size: 1em; } .va-card span:last-child { color: #9a968c; font-size: 0.85em; }
.va-foot { display: flex; justify-content: space-between; gap: 1em; padding: 0.9em 1.4em; border-top: 1px solid #2a2a2e; color: #9a968c; font-size: 0.9em; }
.va-act { color: var(--gold); font-weight: 700; }
@keyframes va-in { 0% { opacity: 0; transform: translateY(6px); } 8%, 100% { opacity: 1; transform: none; } }
.is-active .va-l1 { animation: va-in 11s var(--ease) both; }
.is-active .va-l2 { animation: va-in 11s var(--ease) 1.6s both; }
.is-active .va-c1, .is-active .va-c2, .is-active .va-c3 { animation: va-in 11s var(--ease) 2.2s both; }
.is-active .va-c2 { animation-delay: 2.5s; } .is-active .va-c3 { animation-delay: 2.8s; }
.is-active .va-l3 { animation: va-in 11s var(--ease) 4s both; }
.is-active .va-l4 { animation: va-in 11s var(--ease) 5.4s both; }
.is-active .va-act { animation: va-in 11s var(--ease) 7s both; }

/* ---------- seven designed examples, each in its own look ---------- */

/* WhatsApp reminders: the real WhatsApp look, two business chats */
.wa { display: flex; flex-direction: column; background: #efeae2; color: #111b21; font-family: "Segoe UI", system-ui, sans-serif; font-size: clamp(6.5px, 0.62vw, 8.5px); background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px); background-size: 14px 14px; }
.wa-status { display: flex; justify-content: space-between; padding: 0.7em 1.6em 0.3em; background: #008069; color: #fff; font-size: 0.95em; font-weight: 600; }
.wa-sig { display: flex; gap: 2px; align-items: flex-end; }
.wa-sig i { display: block; width: 3px; background: #fff; height: 0.5em; } .wa-sig i:nth-child(2) { height: 0.7em; } .wa-sig i:nth-child(3) { height: 0.9em; }
.wa-head { display: flex; align-items: center; gap: 0.8em; padding: 0.8em 1.2em; background: #008069; color: #fff; }
.wa-back { font-size: 1.8em; line-height: 1; }
.wa-av { width: 3em; height: 3em; border-radius: 50%; background: #d1f4e0; color: #008069; display: grid; place-items: center; font-weight: 700; }
.wa-who { display: flex; flex-direction: column; line-height: 1.25; }
.wa-who b { font-size: 1.15em; display: flex; align-items: center; gap: 0.4em; }
.wa-who span { font-size: 0.9em; opacity: 0.85; }
.wa-verified { display: inline-block; width: 1.1em; height: 1.1em; border-radius: 50%; background: #25d366; position: relative; }
.wa-verified::after { content: ""; position: absolute; left: 0.32em; top: 0.16em; width: 0.28em; height: 0.5em; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wa-more { margin-left: auto; font-size: 1.6em; }
.wa-chat { display: flex; flex-direction: column; gap: 0.5em; padding: 0.9em; flex: 1; }
.wa-day { align-self: center; padding: 0.35em 0.9em; border-radius: 0.6em; background: #fff; color: #54656f; font-size: 0.85em; box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.1); }
.wa-msg { position: relative; max-width: 86%; padding: 0.6em 0.8em 1.4em; border-radius: 0.8em; background: #fff; line-height: 1.4; box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.12); }
.wa-msg.in { align-self: flex-start; border-top-left-radius: 0.2em; }
.wa-msg.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 0.2em; }
.wa-time { position: absolute; right: 0.7em; bottom: 0.35em; font-size: 0.78em; color: #667781; display: flex; gap: 0.3em; }
.wa-ticks::before { content: "✓✓"; color: #53bdeb; letter-spacing: -0.35em; padding-right: 0.35em; }
.wa-btns { display: flex; gap: 0.4em; max-width: 86%; }
.wa-btns span { flex: 1; padding: 0.6em 0.4em; text-align: center; border-radius: 0.6em; background: #fff; color: #027eb5; font-weight: 600; box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.12); }
.wa-doc { display: flex; align-items: center; gap: 0.7em; margin: 0 0 0.6em; padding: 0.6em; border-radius: 0.6em; background: #f5f6f6; }
.wa-doc div { display: flex; flex-direction: column; line-height: 1.3; } .wa-doc span { color: #667781; font-size: 0.85em; }
.wa-pdf { display: grid; place-items: center; width: 2.6em; height: 3em; border-radius: 0.3em; background: #e53935; color: #fff; font-size: 0.8em; font-weight: 700; }
.wa-typing { align-self: flex-start; display: flex; gap: 0.3em; padding: 0.8em 0.9em; border-radius: 0.8em; background: #fff; box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.12); }
.wa-typing i { width: 0.55em; height: 0.55em; border-radius: 50%; background: #8696a0; animation: ask-bounce 0.5s ease-in-out infinite alternate; }
.wa-typing i:nth-child(2) { animation-delay: 0.15s; } .wa-typing i:nth-child(3) { animation-delay: 0.3s; }
.wa-input { display: flex; align-items: center; gap: 0.6em; padding: 0.6em 0.8em 2em; }
.wa-field { flex: 1; padding: 0.8em 1em; border-radius: 2em; background: #fff; color: #8696a0; }
.wa-mic { width: 3em; height: 3em; border-radius: 50%; background: #008069; position: relative; }
.wa-mic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.7em; height: 1.2em; border-radius: 0.4em; border: 2px solid #fff; transform: translate(-50%, -55%); }
.wa .anim { opacity: 1; }
@keyframes wa-typing { 0%, 4% { opacity: 0; } 6%, 34% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes wa-msg { 0%, 36% { opacity: 0; transform: translateY(6px); } 40%, 100% { opacity: 1; transform: none; } }
.is-active .wa-typing.anim { animation: wa-typing 9s ease infinite; }
.is-active .wa-msg.anim { animation: wa-msg 9s var(--ease) infinite; }
.wa .wa-typing.anim { opacity: 0; }

/* Quotes signed on the phone: navy and amber, a plumber's office */
.dv { --nv: #0b1d3a; --am: #f5a524; display: flex; background: #f6f7fb; color: #111827; font-family: "Segoe UI", system-ui, sans-serif; font-size: clamp(8px, 0.82vw, 12px); }
.dv-side { display: flex; flex-direction: column; gap: 0.9em; width: 20%; padding: 1.4em 1.2em; background: var(--nv); color: rgba(255, 255, 255, 0.7); }
.dv-brand { color: #fff; font-weight: 800; font-size: 1.1em; margin-bottom: 0.8em; }
.dv-side .on { color: #fff; font-weight: 700; border-left: 3px solid var(--am); padding-left: 0.6em; margin-left: -0.9em; }
.dv-main { flex: 1; display: flex; flex-direction: column; gap: 1em; padding: 1.4em 1.6em; min-width: 0; }
.dv-top { display: flex; align-items: center; gap: 1em; }
.dv-top div { display: flex; flex-direction: column; margin-right: auto; } .dv-top b { font-size: 1.3em; } .dv-top span { color: #6b7280; font-size: 0.9em; }
.dv-status { padding: 0.4em 0.8em; border-radius: 2em; background: #e5e7eb; color: #374151; font-weight: 600; font-size: 0.85em; }
.dv-status.signed { background: #dcfce7; color: #166534; }
.dv-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e5e7eb; border-radius: 0.5em; overflow: hidden; }
.dv-table th, .dv-table td { padding: 0.65em 0.9em; text-align: left; border-bottom: 1px solid #eef0f4; }
.dv-table th { background: #f3f4f6; color: #6b7280; font-size: 0.8em; text-transform: uppercase; letter-spacing: 0.06em; }
.dv-table td:nth-child(n+2), .dv-table th:nth-child(n+2) { text-align: right; white-space: nowrap; }
.dv-totals { display: flex; justify-content: flex-end; gap: 2em; }
.dv-totals span { display: flex; flex-direction: column; text-align: right; color: #6b7280; font-size: 0.85em; } .dv-totals b { color: #111827; font-size: 1.2em; }
.dv-ttc b { color: var(--nv); font-size: 1.5em; }
.dv-foot { display: flex; align-items: center; gap: 0.8em; margin-top: auto; }
.dv-btn { padding: 0.7em 1.1em; border-radius: 0.5em; background: var(--am); color: var(--nv); font-weight: 800; }
.dv-btn.ghost { background: #fff; color: var(--nv); border: 1px solid #d1d5db; }
.dv-paid { margin-left: auto; padding: 0.5em 0.9em; border-radius: 2em; background: #dcfce7; color: #166534; font-weight: 700; }
.dv-phone { flex-direction: column; background: #fff; font-size: clamp(6.5px, 0.62vw, 8.5px); }
.dv-pbar { display: flex; justify-content: space-between; align-items: baseline; padding: 2.4em 1.4em 1em; font-size: 1.3em; border-bottom: 1px solid #e5e7eb; }
.dv-pbar span { font-size: 0.7em; color: #6b7280; }
.dv-jobs { display: flex; flex-direction: column; }
.dv-jobs li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name tag" "sub tag"; column-gap: 0.6em; padding: 1em 1.2em; border-bottom: 1px solid #f1f2f5; }
.dv-jobs b, .dv-jobs span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-jobs b { grid-area: name; font-size: 1.05em; } .dv-jobs span { grid-area: sub; color: #6b7280; font-size: 0.9em; }
.dv-tag { grid-area: tag; align-self: center; font-style: normal; padding: 0.35em 0.6em; border-radius: 2em; background: #f3f4f6; color: #374151; font-weight: 700; font-size: 0.78em; white-space: nowrap; }
.dv-tag.dv-sent { background: #fef3c7; color: #92400e; } .dv-tag.signed { background: #dcfce7; color: #166534; } .dv-tag.paid { background: #e0e7ff; color: #3730a3; }
.dv-new { margin: auto 1.4em 1.8em; padding: 1em; text-align: center; border-radius: 0.6em; background: var(--nv); color: #fff; font-weight: 700; }
@keyframes dv-hide { 0%, 40% { opacity: 1; } 44%, 100% { opacity: 0; } }
@keyframes dv-show { 0%, 42% { opacity: 0; transform: translateY(4px); } 46%, 100% { opacity: 1; transform: none; } }
.dv .signed.anim, .dv .dv-paid.anim { opacity: 0; }
.dv-jobs .signed.anim { position: absolute; right: 1.2em; top: 50%; transform: translateY(-50%); }
.is-active .dv-top .dv-sent, .is-active .dv-jobs li:first-child .dv-sent { animation: dv-hide 8s ease infinite; }
.is-active .dv .signed.anim { animation: dv-show 8s var(--ease) infinite; }
.is-active .dv .dv-paid.anim { animation: dv-show 8s var(--ease) 1.2s infinite; }

/* Online booking for a salon: sage and cream, serif headings */
.rv { --sg: #4f7c6a; display: flex; flex-direction: column; background: #fbfaf6; color: #23302b; font-family: "Segoe UI", system-ui, sans-serif; font-size: clamp(8px, 0.82vw, 12px); }
.rv-top { display: flex; align-items: baseline; gap: 1.2em; padding: 1.2em 1.6em; border-bottom: 1px solid #e6e3d8; }
.rv-top b { font-family: Georgia, "Times New Roman", serif; font-size: 1.5em; font-weight: 400; } .rv-top span { color: #6d766f; }
.rv-kpi { margin-left: auto; padding: 0.4em 0.9em; border-radius: 2em; background: #e8f0ec; color: var(--sg); font-weight: 700; }
.rv-grid { display: grid; grid-template-columns: 3.2em repeat(6, 1fr); grid-auto-rows: 1.55em; gap: 0.25em; padding: 1em 1.6em 1.4em; flex: 1; }
.rv-grid i { grid-row: 1; font-style: normal; font-size: 0.8em; text-transform: uppercase; letter-spacing: 0.08em; color: #6d766f; padding-bottom: 0.4em; }
.rv-grid em { grid-column: 1; font-style: normal; font-size: 0.78em; color: #9aa39d; }
.rv-blk { padding: 0.35em 0.5em; border-radius: 0.4em; font-size: 0.82em; line-height: 1.25; overflow: hidden; }
.rv-blk.a { background: #e3ede8; border-left: 3px solid var(--sg); } .rv-blk.b { background: #f6e5da; border-left: 3px solid #d98b5a; } .rv-blk.c { background: #e8e5f3; border-left: 3px solid #8a7fc2; }
.rv-blk.new { background: var(--sg); color: #fff; border-left-color: #2f5647; font-weight: 700; position: relative; }
.rv-blk.new i { display: block; font-size: 0.8em; font-weight: 400; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.2em; }
.rv-phone { background: #fbfaf6; font-size: clamp(6.5px, 0.62vw, 8.5px); }
.rv-ph { display: flex; align-items: center; gap: 0.7em; padding: 2.6em 1.6em 1em; font-family: Georgia, serif; font-size: 1.3em; }
.rv-logo { width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--sg); }
.rv-service { display: flex; justify-content: space-between; margin: 0.6em 1.6em; padding: 1em; border-radius: 0.8em; background: #fff; border: 1px solid #e6e3d8; }
.rv-service span { color: #6d766f; }
.rv-days { display: flex; justify-content: space-between; margin: 1em 1.6em 0.6em; }
.rv-days span { display: flex; flex-direction: column; align-items: center; gap: 0.3em; width: 2.8em; padding: 0.5em 0; border-radius: 0.6em; color: #6d766f; font-size: 0.85em; }
.rv-days b { font-size: 1.25em; color: #23302b; }
.rv-days .on { background: var(--sg); color: #fff; } .rv-days .on b { color: #fff; }
.rv-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6em; margin: 0.6em 1.6em; }
.rv-slots span { padding: 0.8em; text-align: center; border-radius: 0.6em; background: #fff; border: 1px solid #e6e3d8; font-weight: 600; }
.rv-slots .on { background: var(--sg); border-color: var(--sg); color: #fff; }
.rv-book { margin: 1.2em 1.6em 0.6em; padding: 1em; text-align: center; border-radius: 0.8em; background: #23302b; color: #fff; font-weight: 700; }
.rv-done { margin: 0 1.6em; padding: 0.8em; text-align: center; border-radius: 0.8em; background: #e8f0ec; color: var(--sg); font-weight: 700; }
.rv .anim { opacity: 1; }
@keyframes rv-in { 0%, 45% { opacity: 0; transform: scale(0.96); } 50%, 100% { opacity: 1; transform: none; } }
.is-active .rv .anim { animation: rv-in 9s var(--ease) infinite; }

/* Stock and reorder: black and white, mono numbers, one green */
.st { --ok: #16a34a; --warn: #d97706; --bad: #dc2626; display: flex; flex-direction: column; background: #fff; color: #0a0a0a; font-family: "Segoe UI", system-ui, sans-serif; font-size: clamp(8px, 0.82vw, 12px); }
.st-top { display: flex; justify-content: space-between; align-items: baseline; padding: 1.1em 1.6em; border-bottom: 2px solid #0a0a0a; }
.st-top b { font-size: 1.3em; letter-spacing: -0.01em; } .st-top span { color: #525252; font-size: 0.9em; }
.st-kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid #e5e5e5; }
.st-kpis div { padding: 0.9em 1.6em; border-right: 1px solid #e5e5e5; display: flex; flex-direction: column; gap: 0.2em; }
.st-kpis i { font-style: normal; font-size: 0.78em; text-transform: uppercase; letter-spacing: 0.1em; color: #737373; }
.st-kpis b { font-family: Consolas, "Courier New", monospace; font-size: 1.5em; }
.st b.warn, .st .warn { color: var(--warn); } .st b.ok, .st .ok { color: var(--ok); } .st .bad { color: var(--bad); }
.st-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.2em; padding: 1.2em 1.6em; flex: 1; min-height: 0; }
.st-table { width: 100%; border-collapse: collapse; font-size: 0.95em; }
.st-table th { text-align: left; font-size: 0.75em; text-transform: uppercase; letter-spacing: 0.1em; color: #737373; padding: 0 0.6em 0.6em 0; border-bottom: 1px solid #0a0a0a; }
.st-table td { padding: 0.55em 0.6em 0.55em 0; border-bottom: 1px solid #e5e5e5; }
.st-table td:nth-child(n+2) { font-family: Consolas, "Courier New", monospace; text-align: right; }
.st-table td.low { color: var(--warn); font-weight: 700; }
.st-table em { font-style: normal; font-weight: 700; font-size: 0.85em; text-transform: uppercase; letter-spacing: 0.06em; }
.st-order { display: flex; flex-direction: column; gap: 0.5em; padding: 1em; border: 2px solid #0a0a0a; }
.st-order b { font-size: 1.1em; } .st-order span { color: #525252; }
.st-total { font-family: Consolas, monospace; font-size: 1.4em; color: #0a0a0a; }
.st-state { margin-top: auto; padding: 0.6em 0.8em; font-weight: 700; }
.st-state.gen { background: #f5f5f5; color: #525252; } .st-state.st-sent { background: #dcfce7; color: #166534; }
.st-phone { background: #0a0a0a; color: #fff; font-size: clamp(6.5px, 0.62vw, 8.5px); }
.st-cam { position: relative; flex: 0 0 58%; background: radial-gradient(circle at 50% 40%, #3a3a3a, #111); display: grid; place-items: center; }
.st-frame { position: relative; width: 70%; aspect-ratio: 1.4; border: 2px solid rgba(255, 255, 255, 0.35); border-radius: 0.6em; overflow: hidden; }
.st-frame::before, .st-frame::after { content: ""; position: absolute; inset: -2px; border: 3px solid var(--ok); border-radius: 0.6em; clip-path: polygon(0 0, 18% 0, 18% 18%, 0 18%, 0 82%, 18% 82%, 18% 100%, 0 100%); }
.st-frame::after { clip-path: polygon(82% 0, 100% 0, 100% 18%, 82% 18%, 82% 82%, 100% 82%, 100% 100%, 82% 100%); }
.st-scan { position: absolute; left: 6%; right: 6%; top: 10%; height: 2px; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.is-active .st-scan { animation: st-scan 1.6s ease-in-out infinite alternate; }
@keyframes st-scan { from { top: 10%; } to { top: 88%; } }
.st-hint { position: absolute; bottom: 1em; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.7); }
.st-toast { margin: 1em 1.2em 0.4em; padding: 0.9em 1em; border-radius: 0.6em; background: #16a34a; color: #fff; display: flex; flex-direction: column; }
.st-last { display: flex; justify-content: space-between; margin: 0 1.2em; padding: 0.8em 0; border-bottom: 1px solid #262626; color: #a3a3a3; }
.st-last b { color: #fff; font-family: Consolas, monospace; }
.st .anim { opacity: 1; }
@keyframes st-in { 0%, 30% { opacity: 0; transform: translateY(6px); } 36%, 100% { opacity: 1; transform: none; } }
@keyframes st-out { 0%, 30% { opacity: 1; } 36%, 100% { opacity: 0; } }
.is-active .st .anim { animation: st-in 8s var(--ease) infinite; }
.is-active .st-state.gen { animation: st-out 8s ease infinite; }
.st-order { position: relative; } .st-state.st-sent { position: absolute; left: 1em; right: 1em; bottom: 1em; }

/* Overdue reminders for a freelancer: warm paper, burgundy, serif numbers */
.rl { --bg: #faf7f0; --bd: #7a1f2b; display: flex; flex-direction: column; background: var(--bg); color: #2b2622; font-family: "Segoe UI", system-ui, sans-serif; font-size: clamp(8px, 0.82vw, 12px); }
.rl-top { display: flex; justify-content: space-between; align-items: flex-end; padding: 1.2em 1.6em; border-bottom: 1px solid #e4dccd; }
.rl-top b { font-family: Georgia, serif; font-size: 1.5em; font-weight: 400; } .rl-brand span { color: #7d746a; }
.rl-sum { display: flex; gap: 2em; }
.rl-sum span { display: flex; flex-direction: column; font-size: 0.85em; color: #7d746a; } .rl-sum b { font-family: Georgia, serif; font-size: 1.5em; color: #2b2622; }
.rl-sum b.late { color: var(--bd); } .rl-sum b.on { color: #2e7d4f; }
.rl-body { display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.4em; padding: 1.2em 1.6em; flex: 1; }
.rl-list { display: flex; flex-direction: column; }
.rl-list li { position: relative; display: grid; grid-template-columns: 5.6em minmax(0, 1fr) 4.4em 7.6em 9.4em; gap: 0.6em; align-items: center; padding: 0.8em 0; border-bottom: 1px solid #e4dccd; font-size: 0.9em; }
.rl-list li > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-list b { font-family: Georgia, serif; font-weight: 400; } .rl-list em { font-style: normal; font-family: Georgia, serif; text-align: right; }
.rl-list i { font-style: normal; color: #7d746a; } .rl-list i.late { color: var(--bd); font-weight: 600; } .rl-list i.paid { color: #2e7d4f; font-weight: 700; }
.rl-list u { text-decoration: none; color: #7d746a; font-size: 0.9em; }
/* the paid row: the "was" and "now" cells sit on the same grid cell and swap by opacity */
.rl-list li.anim .late.was, .rl-list li.anim .paid { grid-column: 4; grid-row: 1; }
.rl-list li.anim u.was, .rl-list li.anim u.now { grid-column: 5; grid-row: 1; }
.rl-list li.anim .paid, .rl-list li.anim u.now { opacity: 0; }
.rl-seq { display: flex; flex-direction: column; gap: 0.6em; padding: 1em 1.2em; background: #fff; border: 1px solid #e4dccd; }
.rl-seq b { font-family: Georgia, serif; font-weight: 400; font-size: 1.15em; margin-bottom: 0.2em; }
.rl-seq span { padding-left: 1.4em; position: relative; color: #7d746a; }
.rl-seq span::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 0.7em; height: 0.7em; border-radius: 50%; border: 1px solid #b8ad9a; }
.rl-seq span.done { color: #2b2622; } .rl-seq span.done::before { background: var(--bd); border-color: var(--bd); }
.rl-seq small { margin-top: 0.4em; color: #7d746a; line-height: 1.4; }
.rl-phone { background: #fff; font-size: clamp(6.5px, 0.62vw, 8.5px); }
.rl-ph { display: flex; flex-direction: column; align-items: center; gap: 0.4em; padding: 2.6em 1em 1em; border-bottom: 1px solid #eee; font-size: 1.05em; }
.rl-sms { display: flex; flex-direction: column; gap: 0.6em; padding: 1.2em; }
.rl-b { max-width: 84%; padding: 0.8em 1em; border-radius: 1.2em; line-height: 1.4; }
.rl-b.in { align-self: flex-start; background: #e9e9eb; color: #111; border-bottom-left-radius: 0.3em; }
.rl-b.out { align-self: flex-end; background: #0b84ff; color: #fff; border-bottom-right-radius: 0.3em; }
.rl .anim { opacity: 1; }
@keyframes rl-swap-out { 0%, 44% { opacity: 1; } 48%, 100% { opacity: 0; } }
@keyframes rl-swap-in { 0%, 46% { opacity: 0; } 50%, 100% { opacity: 1; } }
.is-active .rl-list li.anim .was { animation: rl-swap-out 9s ease infinite; }
.is-active .rl-list li.anim .paid, .is-active .rl-list li.anim u.now { animation: rl-swap-in 9s ease infinite; }
.is-active .rl-b.anim { animation: rl-swap-in 9s var(--ease) infinite; }
.rl-b.anim { opacity: 0; }

/* Delivery rounds for a florist: blue, bold, a small map */
.tr { --bl: #2563eb; display: flex; flex-direction: column; background: #fff; color: #0f172a; font-family: "Segoe UI", system-ui, sans-serif; font-size: clamp(8px, 0.82vw, 12px); }
.tr-top { display: flex; align-items: center; gap: 1em; padding: 1.1em 1.6em; border-bottom: 1px solid #e2e8f0; }
.tr-top b { font-size: 1.3em; font-weight: 800; } .tr-top > span { color: #64748b; }
.tr-kpi { margin-left: auto; display: flex; gap: 0.5em; } .tr-kpi i { font-style: normal; padding: 0.35em 0.7em; border-radius: 2em; background: #f1f5f9; font-weight: 700; font-size: 0.85em; } .tr-kpi i.ok { background: #dcfce7; color: #166534; }
.tr-body { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.2em; padding: 1.2em 1.6em; flex: 1; min-height: 0; }
.tr-stops { display: flex; flex-direction: column; }
.tr-stops li { position: relative; display: grid; grid-template-columns: 2em 1fr auto; gap: 0.6em; align-items: center; padding: 0.55em 0; border-bottom: 1px solid #f1f5f9; font-size: 0.95em; }
.tr-stops b { width: 1.8em; height: 1.8em; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--bl); color: var(--bl); font-size: 0.85em; }
.tr-stops li.done b { background: var(--bl); color: #fff; } .tr-stops li.done span { color: #94a3b8; }
.tr-stops i { font-style: normal; color: #64748b; } .tr-stops i.eta { color: #0f172a; font-weight: 600; } .tr-stops i.ok { color: #166534; font-weight: 700; }
.tr-map { width: 100%; height: 100%; border-radius: 0.6em; }
.tr-route { stroke-dasharray: 100 120; stroke-dashoffset: 40; }
.tr-phone { background: #f8fafc; font-size: clamp(6.5px, 0.62vw, 8.5px); }
.tr-ph { display: flex; justify-content: space-between; align-items: baseline; padding: 2.6em 1.4em 1em; color: #64748b; }
.tr-ph b { color: #0f172a; font-size: 1.2em; }
.tr-card { margin: 0 1.4em; padding: 1.2em; background: #fff; border-radius: 1em; box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08); display: flex; flex-direction: column; gap: 0.35em; }
.tr-card b { font-size: 1.3em; } .tr-card span { color: #64748b; }
.tr-btns { display: flex; gap: 0.6em; margin-top: 0.8em; }
.tr-btns em { flex: 1; font-style: normal; padding: 0.9em; text-align: center; border-radius: 0.7em; background: #f1f5f9; font-weight: 700; }
.tr-btns em.main { background: var(--bl); color: #fff; }
.tr-proof { margin: 1em 1.4em 0; padding: 1em; border-radius: 1em; background: #dcfce7; color: #166534; display: flex; flex-direction: column; gap: 0.3em; }
.tr-proof i { font-style: normal; margin-right: 0.4em; } .tr-proof b { margin-top: 0.3em; }
.tr-next { margin: auto 1.4em 1.8em; display: flex; flex-direction: column; color: #64748b; } .tr-next b { color: #0f172a; }
.tr .anim { opacity: 1; }
.tr-stops li.anim .eta, .tr-stops li.anim .now { grid-column: 3; grid-row: 1; }
.tr-stops li.anim .now { opacity: 0; }
@keyframes tr-in { 0%, 40% { opacity: 0; transform: translateY(6px); } 46%, 100% { opacity: 1; transform: none; } }
@keyframes tr-swap { 0%, 40% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes tr-pin { 0%, 40% { fill: #fff; } 46%, 100% { fill: #2563eb; } }
@keyframes tr-route { 0%, 5% { stroke-dashoffset: 40; } 45%, 100% { stroke-dashoffset: 24; } }
.is-active .tr-proof.anim { animation: tr-in 9s var(--ease) infinite; }
.is-active .tr-stops li.anim .eta { animation: tr-swap 9s ease infinite; }
.is-active .tr-stops li.anim .now { animation: tr-in 9s ease infinite; }
.is-active .tr-pin6 { animation: tr-pin 9s ease infinite; }
.is-active .tr-route { animation: tr-route 9s ease-out infinite; }

/* Client portal for a law firm: navy and gold, serif titles */
.pc { --nv: #14213d; --gd: #c9a227; display: flex; flex-direction: column; background: #f7f7f9; color: #1f2937; font-family: "Segoe UI", system-ui, sans-serif; font-size: clamp(8px, 0.82vw, 12px); }
.pc-top { display: flex; justify-content: space-between; align-items: center; padding: 1em 1.6em; background: var(--nv); color: #fff; }
.pc-brand { font-family: Georgia, serif; font-size: 1.3em; display: flex; align-items: baseline; gap: 0.8em; } .pc-brand span { font-family: "Segoe UI", sans-serif; font-size: 0.65em; color: var(--gd); text-transform: uppercase; letter-spacing: 0.14em; }
.pc-user { font-size: 0.9em; opacity: 0.85; }
.pc-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.2em; padding: 1.2em 1.6em; flex: 1; min-height: 0; }
.pc-main { display: flex; flex-direction: column; gap: 0.7em; }
.pc-head { display: flex; flex-direction: column; } .pc-head b { font-family: Georgia, serif; font-weight: 400; font-size: 1.4em; } .pc-head span { color: #6b7280; }
.pc-progress { height: 0.5em; background: #e5e7eb; border-radius: 1em; overflow: hidden; } .pc-progress i { display: block; height: 100%; background: var(--gd); }
.is-active .pc-progress i { animation: pc-bar 9s var(--ease) infinite; }
@keyframes pc-bar { 0%, 40% { width: 80%; } 48%, 100% { width: 100%; } }
.pc-pct { font-size: 0.9em; color: #6b7280; position: relative; } .pc-pct b { color: #1f2937; } .pc-pct .now { position: absolute; left: 0; opacity: 0; }
.pc-list { display: flex; flex-direction: column; }
.pc-list li { position: relative; display: flex; flex-direction: column; padding: 0.7em 0 0.7em 2em; border-bottom: 1px solid #e5e7eb; }
.pc-list li::before { content: ""; position: absolute; left: 0; top: 0.9em; width: 1.2em; height: 1.2em; border-radius: 50%; border: 1.5px solid #9ca3af; }
.pc-list li.ok::before, .pc-list li.anim.on::before { background: var(--gd); border-color: var(--gd); }
.pc-list li.ok::after { content: ""; position: absolute; left: 0.42em; top: 1.05em; width: 0.3em; height: 0.6em; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pc-list span { color: #6b7280; font-size: 0.9em; }
.pc-list .now { position: absolute; left: 2em; bottom: 0.7em; opacity: 0; color: #166534; font-weight: 600; }
.pc-side { display: flex; flex-direction: column; gap: 0.6em; padding: 1em; background: #fff; border: 1px solid #e5e7eb; }
.pc-side > b { font-family: Georgia, serif; font-weight: 400; font-size: 1.1em; }
.pc-msg { display: flex; flex-direction: column; gap: 0.2em; padding: 0.7em 0.9em; border-radius: 0.6em; background: #f3f4f6; line-height: 1.4; font-size: 0.95em; }
.pc-msg span { font-size: 0.8em; color: #6b7280; } .pc-msg.me { background: #fdf6e3; }
.pc-phone { background: linear-gradient(180deg, #1c2541, #0b132b); color: #fff; font-size: clamp(6.5px, 0.62vw, 8.5px); }
.pc-lock { display: flex; flex-direction: column; align-items: center; padding: 3.5em 0 2em; opacity: 0.9; } .pc-lock b { font-size: 4.5em; font-weight: 300; line-height: 1; } .pc-lock span { font-size: 1.05em; }
.pc-notif { margin: 0.6em 1.2em; padding: 1em 1.1em; border-radius: 1.2em; background: rgba(255, 255, 255, 0.92); color: #111; display: flex; flex-direction: column; gap: 0.2em; line-height: 1.35; }
.pc-notif b { font-size: 1.05em; } .pc-app { font-size: 0.8em; color: #555; text-transform: uppercase; letter-spacing: 0.06em; }
.pc-notif.old { opacity: 0.75; }
.pc .anim { opacity: 1; }
@keyframes pc-swap-out { 0%, 40% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes pc-swap-in { 0%, 42% { opacity: 0; } 48%, 100% { opacity: 1; } }
@keyframes pc-dot { 0%, 42% { background: transparent; border-color: #9ca3af; } 48%, 100% { background: #c9a227; border-color: #c9a227; } }
.is-active .pc .anim .was, .is-active .pc-pct .was { animation: pc-swap-out 9s ease infinite; }
.is-active .pc .anim .now, .is-active .pc-pct .now { animation: pc-swap-in 9s ease infinite; }
.is-active .pc-list li.anim::before { animation: pc-dot 9s ease infinite; }
.is-active .pc-msg.anim { animation: pc-swap-in 9s var(--ease) infinite; }
.is-active .pc-notif.anim { animation: pc-swap-in 9s var(--ease) infinite; }
.pc-msg.anim, .pc-notif.anim { opacity: 0; }

/* brand marks inside the mocks: small inline SVGs, one per fictional business */
.mk { display: inline-grid; place-items: center; flex: 0 0 auto; width: 2.2em; height: 2.2em; }
.mk svg { width: 100%; height: 100%; display: block; }
.wa-av { background: transparent; } .wa-av .mk { width: 3em; height: 3em; }
.dv-brand { display: flex; align-items: center; gap: 0.7em; } .dv-brand .mk { width: 2.4em; height: 2.4em; }
.dv-pbar { display: flex; align-items: center; gap: 0.7em; } .dv-pbar .mk { width: 2em; height: 2em; } .dv-pbar span { margin-left: auto; }
.rv-top .mk { width: 2.2em; height: 2.2em; align-self: center; } .rv-ph .mk { width: 2em; height: 2em; }
.st-top { gap: 0.8em; align-items: center; } .st-top .mk { width: 2.2em; height: 2.2em; } .st-top span { margin-left: auto; }
.rl-brand { display: flex; align-items: center; gap: 0.8em; } .rl-brand .mk { width: 2.8em; height: 2.8em; } .rl-brand div { display: flex; flex-direction: column; }
.rl-ph .mk { width: 3.4em; height: 3.4em; }
.tr-top .mk { width: 2.2em; height: 2.2em; }
.pc-brand .mk { width: 2em; height: 2em; align-self: center; } .pc-app .mk { width: 1.5em; height: 1.5em; vertical-align: middle; margin-right: 0.4em; }
.adp-bar .mk { width: 2em; height: 2em; }
.vita-side .mk { width: 2em; height: 2em; margin-bottom: 0.6em; } .vita-pbar .mk { width: 1.8em; height: 1.8em; }
.va-brand { display: inline-flex; align-items: center; gap: 0.5em; } .va-brand .mk { width: 1.7em; height: 1.7em; }

/* Cabinet, rebuilt calm: white, ink, one teal, generous space */
.cab { --tl: #1f7a6d; display: flex; flex-direction: column; background: #fff; color: #17201d; font-family: "Segoe UI", system-ui, sans-serif; font-size: clamp(8px, 0.82vw, 12px); }
.cab-top { display: flex; align-items: center; gap: 1em; padding: 1.2em 1.8em; border-bottom: 1px solid #e9ecea; }
.cab-top .mk { width: 2.4em; height: 2.4em; }
.cab-top b { font-family: Georgia, serif; font-weight: 400; font-size: 1.35em; } .cab-top span { color: #6f7a76; margin-left: auto; }
.cab-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2em; padding: 1.6em 1.8em; flex: 1; min-height: 0; }
.cab-h { font-size: 0.78em; text-transform: uppercase; letter-spacing: 0.12em; color: #6f7a76; margin-bottom: 0.9em; }
.cab-list { display: flex; flex-direction: column; }
.cab-list li { display: grid; grid-template-columns: 4em 1fr auto; gap: 1em; align-items: center; padding: 0.85em 0; border-top: 1px solid #eef1ef; }
.cab-list li:first-child { border-top: 0; padding-top: 0; }
.cab-list b { font-variant-numeric: tabular-nums; font-weight: 600; } .cab-list span { display: flex; flex-direction: column; } .cab-list span i { font-style: normal; color: #6f7a76; font-size: 0.9em; }
.cab-pill { padding: 0.3em 0.7em; border-radius: 2em; background: #e7f3f1; color: var(--tl); font-weight: 600; font-size: 0.85em; }
.cab-pill.wait { background: #f3f4f3; color: #6f7a76; }
.cab-side { display: flex; flex-direction: column; gap: 1.6em; }
.cab-done { display: flex; flex-direction: column; gap: 0.7em; }
.cab-done li { display: grid; grid-template-columns: 3.4em 1fr; gap: 0.6em; color: #3d4744; line-height: 1.4; }
.cab-done li i { font-style: normal; color: #6f7a76; font-variant-numeric: tabular-nums; }
.cab-done li.anim { opacity: 0; }
.cab-card { padding: 1em 1.1em; border: 1px solid #e9ecea; border-radius: 0.6em; display: flex; flex-direction: column; gap: 0.35em; }
.cab-card b { font-size: 1.05em; } .cab-card span { color: #6f7a76; font-size: 0.9em; }
.cab-btns { display: flex; gap: 0.6em; margin-top: 0.7em; }
.cab-btns em { font-style: normal; padding: 0.55em 0.9em; border-radius: 0.4em; font-weight: 600; background: #f3f4f3; }
.cab-btns em.main { background: var(--tl); color: #fff; }
.cab-sent { display: none; margin-top: 0.7em; color: var(--tl); font-weight: 600; }
.cab-phone { background: #fff; font-size: clamp(6.5px, 0.62vw, 8.5px); }
.cab-ph { display: flex; align-items: center; gap: 0.7em; padding: 2.6em 1.4em 1em; border-bottom: 1px solid #e9ecea; }
.cab-ph .mk { width: 2.2em; height: 2.2em; } .cab-ph b { font-family: Georgia, serif; font-weight: 400; font-size: 1.25em; }
.cab-doc { padding: 1.4em; display: flex; flex-direction: column; gap: 0.5em; }
.cab-doc .cab-h { margin-bottom: 0.2em; } .cab-doc b { font-size: 1.25em; font-family: Georgia, serif; font-weight: 400; }
.cab-doc p { color: #3d4744; line-height: 1.5; margin: 0.4em 0; }
.cab-doc .cab-line { height: 0.55em; border-radius: 0.3em; background: #eef1ef; }
.cab-go { margin: auto 1.4em 1.8em; padding: 1em; text-align: center; border-radius: 0.6em; background: var(--tl); color: #fff; font-weight: 700; }
@keyframes cab-in { 0%, 40% { opacity: 0; transform: translateY(4px); } 46%, 100% { opacity: 1; transform: none; } }
@keyframes cab-out { 0%, 40% { opacity: 1; } 44%, 100% { opacity: 0; } }
.is-active .cab-done li.anim { animation: cab-in 9s var(--ease) infinite; }
.is-active .cab-card.anim .cab-btns { animation: cab-out 9s ease infinite; }
.is-active .cab-card.anim .cab-sent { display: block; animation: cab-in 9s ease infinite; }

/* mock type scales with the layer it sits in (container query units), so a mock shrinks on a phone exactly
   like a screenshot would instead of wrapping. The clamp() values above stay as the fallback. */
.layer.mock { font-size: 1.3cqw; }
.layer-phone.mock, .layer-phone-a.mock, .layer-phone-b.mock { font-size: 1cqw; }

/* 05 Et le reste: four small things take turns in a dashed frame */
.w-any .any { opacity: 0; }
.w-any .any-acc { stroke-dasharray: 100 120; stroke-dashoffset: 102; }
.w-any .any-scan { opacity: 0; }
.w-any.play .any { animation: any-show 12s var(--ease) var(--dly) infinite both; }
.w-any.play .any-2 { animation-delay: calc(var(--dly) + 3s); }
.w-any.play .any-3 { animation-delay: calc(var(--dly) + 6s); }
.w-any.play .any-4 { animation-delay: calc(var(--dly) + 9s); }
.w-any.play .any-acc { animation: any-draw 12s ease-out var(--dly) infinite both; }
.w-any.play .any-2 .any-acc { animation-delay: calc(var(--dly) + 3s); }
.w-any.play .any-4 .any-acc { animation-delay: calc(var(--dly) + 9s); }
.w-any.play .any-scan { animation: any-scan 12s linear calc(var(--dly) + 6s) infinite both; }
@keyframes any-show { 0% { opacity: 0; transform: translateY(6px); } 3% { opacity: 1; transform: none; } 22% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes any-draw { 0%, 5% { stroke-dashoffset: 102; } 14% { stroke-dashoffset: 0; } 22% { stroke-dashoffset: 0; } 25%, 100% { stroke-dashoffset: 102; } }
@keyframes any-scan { 0%, 4% { opacity: 0; transform: translateY(0); } 5% { opacity: 1; } 20% { opacity: 1; transform: translateY(70px); } 22%, 100% { opacity: 0; transform: translateY(70px); } }
@media (prefers-reduced-motion: reduce) { .w-any .any-1 { opacity: 1; } .w-any .any-1 .any-acc { stroke-dashoffset: 0; } }

/* ---------- contact ---------- */
.contact { padding: var(--sec) var(--pad) 32px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 22px; }
.contact-title { font-family: var(--serif); font-size: clamp(36px, 5.2vw, 72px); line-height: 0.94; letter-spacing: -0.035em; }
.contact-lead { font-size: 17px; line-height: 1.6; max-width: 40ch; color: var(--ink-soft); }
.contact-meta { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; font-size: 14px; color: var(--ink-soft); }
.contact-meta li { display: flex; align-items: baseline; gap: 12px; }
.contact-meta li::before { content: ""; flex: 0 0 auto; width: 14px; height: 1px; background: var(--ocre); transform: translateY(-4px); }
.contact-copy .btn { align-self: flex-start; }

/* booking: a day strip, a grid of 20-minute slots, then three fields */
.book-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .book-grid { grid-template-columns: minmax(0, 1fr); } }
.book-copy { display: flex; flex-direction: column; gap: 22px; }
.book-alt { font-size: 14px; color: var(--ink-soft); }
.book-alt a { color: var(--pin); border-bottom: 1px solid var(--line-lin); }
.book-alt a:hover { color: var(--ocre); border-color: currentColor; }
.book { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.book-days { display: flex; border-bottom: 1px solid var(--line-lin); overflow-x: auto; scrollbar-width: none; }
.book-days::-webkit-scrollbar { display: none; }
.book-day { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 64px; padding: 10px 8px 12px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: transparent; cursor: pointer; font-family: inherit; color: var(--ink-soft); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; transition: color 160ms ease, border-color 160ms ease; }
.book-day b { font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.book-day[aria-selected="true"] { color: var(--pin); border-bottom-color: var(--ocre); }
.book-day:disabled { opacity: 0.32; cursor: default; }
.book-day:not(:disabled):hover { color: var(--pin); }
.book-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.book-slots[hidden] { display: none; }
.book-slot { height: 46px; border: 1px solid rgba(22, 38, 31, 0.28); background: transparent; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); transition: background 140ms ease, color 140ms ease, border-color 140ms ease; }
.book-slot:hover, .book-slot:focus-visible { background: var(--pin); border-color: var(--pin); color: var(--lin); outline: none; }
.book-hint { font-size: 13px; color: var(--ink-soft); }
.book-form { display: flex; flex-direction: column; gap: 16px; }
.book-pick { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 18px; background: var(--pin); color: var(--lin); font-size: 16px; font-weight: 600; }
.book-pick span::first-letter { text-transform: uppercase; }
.book-change { border: 0; background: transparent; cursor: pointer; font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ocre); }
.book-change:hover { color: var(--lin); }
.sent .link { color: var(--lin); border-color: rgba(240, 237, 226, 0.3); align-self: flex-start; }
.sent .link:hover { color: var(--ocre); }

.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.label-opt { font-weight: 400; letter-spacing: 0.04em; text-transform: none; color: var(--ink-soft); margin-left: 6px; }
.form-note { font-size: 13px; line-height: 1.5; color: var(--ink-soft); }

/* floating WhatsApp entry: appears once the hero is gone, hides over contact and behind the menu */
.wa-fab { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 75; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; background: var(--ocre); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 260ms ease, transform 320ms var(--ease), visibility 0s linear 260ms, background 180ms ease; }
.wa-fab svg { width: 22px; height: 22px; flex: 0 0 auto; }
.wa-fab.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.wa-fab:hover { background: var(--ocre-hover); color: var(--ink); }
body.menu-open .wa-fab { opacity: 0; visibility: hidden; }
@media (max-width: 759px) { .wa-fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 52px; padding: 0; justify-content: center; } .wa-fab-label { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-fab { transition: none; } }

.sent { display: flex; flex-direction: column; gap: 12px; padding: 32px; background: var(--pin); color: var(--lin); }
.sent-title { font-family: var(--serif); font-size: 30px; }
.sent-line { font-size: 16px; line-height: 1.6; color: var(--lin-soft); }
.form { display: flex; flex-direction: column; gap: 16px; }
.label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pin); }
.field { height: 52px; padding: 0 16px; border: 1px solid rgba(22, 38, 31, 0.28); background: transparent; color: var(--ink); font-size: 16px; font-weight: 400; letter-spacing: 0; border-radius: 0; }
.field-area { height: auto; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.field:focus { border-color: var(--pin); outline: none; }
.form-error { font-size: 14px; font-weight: 600; color: var(--alert); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line-lin); font-size: 13px; color: var(--ink-soft); }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand svg { flex: 0 0 auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-link { color: var(--pin); }
.foot-link:hover { color: var(--ocre); }

/* ---------- inner pages (mentions, confidentialité, 404) ---------- */
.inner { min-height: 100vh; padding: clamp(120px, 16vh, 160px) var(--pad) 32px; }
.legal-wrap { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.legal-title { font-family: var(--serif); font-size: clamp(36px, 5vw, 60px); line-height: 0.96; letter-spacing: -0.03em; }
.legal h2 { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pin); padding-top: 18px; border-top: 1px solid var(--line-lin); }
.legal p, .legal li { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.legal ul { display: flex; flex-direction: column; gap: 8px; padding-left: 18px; list-style: disc; }
.legal .todo { color: var(--alert); font-weight: 600; }
.nf { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 120px var(--pad) 64px; }
.nf-box { display: flex; flex-direction: column; gap: 22px; max-width: 640px; }
.nf h1 { font-family: var(--serif); font-size: clamp(40px, 6vw, 80px); line-height: 0.94; letter-spacing: -0.035em; }
.nf p { font-size: 17px; line-height: 1.6; color: var(--lin-soft); }
.nf .btn { align-self: flex-start; }
