/* Newspark, www.newspark.fr : studio web (plan de refonte §4). Inspiration steep.app, couleurs Newspark : titres en
   Source Serif 4, texte en Inter justifié, fond blanc et sections brume, une seule carte abricot au repos par page.
   Jetons sémantiques à la manière de shadcn/ui : toute couleur vit dans :root, nulle part ailleurs. Ni dégradé ni
   lueur, hors du halo (--glow) ; aucun mouvement si le visiteur demande moins d'animations. */

@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('/assets/fonts/source-serif-4-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('/assets/fonts/source-serif-4-latinext.woff2') format('woff2');
  unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latinext.woff2') format('woff2');
  unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Surfaces et texte (plan §4.2 ; contrastes WCAG calculés le 2026-11-26). */
  --background: #ffffff;
  --foreground: #0f1736;            /* 17,56:1 sur blanc */
  --muted: #f7f8fa;
  --muted-foreground: #5f6573;      /* 5,84:1 sur blanc, 5,50:1 sur brume, 5,26:1 sur carte */
  --card: #f2f3f6;
  --primary: #0f1736;
  --primary-foreground: #ffffff;
  --primary-hover: #26315c;
  --highlight: #ffe3d3;             /* l'unique carte chaude : le passage vers ai */
  --highlight-foreground: #a0441a;  /* 5,15:1 */
  --story: #e3f3fa;                 /* bande d'étude de cas */
  --inverse: #0f1736;
  --inverse-foreground: #ffffff;
  --inverse-muted: #c9d1e3;         /* 11,46:1 sur marine */
  --inverse-card: #18224a;
  --inverse-line: #33406e;
  --ring: #0c58c8;                  /* 6,47:1 sur blanc */
  --ring-soft: rgba(12, 88, 200, 0.18);
  --input: #7d8597;                 /* 3,70:1 : bordure des champs */
  --destructive: #b42318;           /* 6,57:1 */
  --destructive-soft: #fdeceb;
  --border: rgba(15, 23, 54, 0.08);
  --sky: #2b8fb8;                   /* pictogrammes sur fond clair, jamais de texte */
  --brand-navy: #00004c;
  --brand-blue: #0c58c8;
  --brand-sky: #4fb9de;             /* filets du schéma sur marine : 7,80:1 */
  /* Halo (demandes d'Arnaud du 2026-11-27) : jetons clairs seulement ; plein sous l'ouverture, à moitié ailleurs ; chaque ellipse s'efface avant le bas de sa zone. */
  --glow: radial-gradient(60% 75% at 84% 40%, var(--highlight) 25%, transparent 80%), radial-gradient(55% 70% at 10% 30%, var(--story) 25%, transparent 80%),
    radial-gradient(50% 35% at 50% 70%, var(--ring-soft) 10%, transparent 85%);
  /* Formes (plan §4.4). */
  --radius: 24px;
  --radius-elevated: 20px;
  --radius-sm: 16px;
  --radius-img: 12px;
  --radius-pill: 9999px;
  --shadow: 0 0 0 1px rgba(15, 23, 54, 0.05), 0 4px 24px rgba(15, 23, 54, 0.08);
  --shadow-elevated: 0 0 0 1px rgba(15, 23, 54, 0.05), 0 8px 40px rgba(15, 23, 54, 0.10);
  --shadow-header: 0 1px 0 rgba(15, 23, 54, 0.08), 0 4px 24px rgba(15, 23, 54, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--background); color: var(--foreground); font: 400 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; } img { height: auto; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 400; text-wrap: balance; }
h1, h2, .h3, .card-title, .final-title { font-family: var(--serif); }
h1 { font-size: clamp(44px, 5.4vw, 64px); line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.12; letter-spacing: -0.015em; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 500; }
.h3, .card-title { font-size: 26px; line-height: 1.2; font-weight: 400; letter-spacing: -0.01em; }
.h4 { font-size: 17px; font-weight: 500; margin-top: 24px; }
/* Justifié, avec césure, sur ordinateur, là où le texte tient seul la largeur de lecture ; à gauche dans les cartes, les
   grilles, les colonnes côte à côte et sur mobile (Arnaud, 2026-11-27 : « Aligné à gauche »). Titres et légende des rôles
   à part ; 15 px dans les colonnes étroites (.def, .steps). */
p { margin: 0 0 1em; } @media (min-width: 761px) { .hero-text p, .page-head p, .section-head p, .narrow p, .narrow li,
  .wrap:not(.split) > p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; } }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ring); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 96px; }
::selection { background: var(--story); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.lead { font-size: 20px; color: var(--muted-foreground); max-width: 40em; }
.eyebrow { margin-bottom: 16px; font-size: 15px; font-weight: 500; color: var(--muted-foreground); }
.note, .disclosure { font-size: 15px; color: var(--muted-foreground); }
.page-head .disclosure { margin: 12px 0 0; }
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 50; padding: 12px 16px; border-radius: var(--radius-pill);
  background: var(--primary); color: var(--primary-foreground); }
.skip:focus { top: 12px; color: var(--primary-foreground); }

/* Mise en page */
.wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; } .wrap.narrow { width: min(760px, calc(100% - 40px)); }
.section { padding-block: clamp(64px, 9vw, 112px); } .section-tight { padding-block: clamp(40px, 5vw, 64px); } .section-flush { padding-top: 0; }
.section-muted { background: var(--muted); }
/* Halo discret (demande d'Arnaud du 2026-11-27 : « comme t'as fait sur le Hero mais en plus discret ») : le halo de
   l'ouverture, à moitié, sous l'en-tête des pages intérieures (fil d'Ariane compris), la méthode de l'accueil et l'appel final. */
.has-head, .section-glow, .final { position: relative; isolation: isolate; }
.has-head::before, .section-glow::before, .final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--glow); opacity: 0.5; pointer-events: none; }
.has-head::before { bottom: auto; height: 720px; }
.section-head { max-width: 760px; margin-bottom: 48px; } .section-head h2 { margin-bottom: 16px; } .section-head .lead { margin: 0; }
.section-more { margin: 32px 0 0; } .split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }

/* Boutons (anatomie de shadcn/ui : repos, survol, focus visible) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border: 0; border-radius: var(--radius-pill); font: 500 17px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); } .btn-primary:hover { background: var(--primary-hover); color: var(--primary-foreground); }
.btn-outline { background: var(--card); color: var(--foreground); } .btn-outline:hover { background: var(--background); color: var(--foreground); box-shadow: var(--shadow); }
.btn-lg { min-height: 52px; padding: 14px 28px; } .btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; } .link-arrow:hover .icon-sm { transform: translateX(3px); }

/* En-tête collante, du blanc de la page : invisible en haut, un filet et une ombre dès que la page défile (site.js) */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--background);
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.site-header.is-scrolled { box-shadow: var(--shadow-header); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand img { display: block; width: 120px; } .nav-main { margin-left: auto; }
.nav-main > ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-main > ul > li > a, .nav-menu > summary { display: block; padding: 8px 14px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color 0.2s var(--ease); }
.nav-main > ul > li > a:hover, .nav-menu > summary:hover { background: var(--muted); color: var(--foreground); }
.nav-main a[aria-current="page"], .nav-menu > summary.is-current { background: var(--card); }
.nav-main .nav-ext a { color: var(--muted-foreground); } .has-menu { position: relative; }
.nav-menu > summary::after, .nav-sub > summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s var(--ease); }
.nav-menu[open] > summary::after, .nav-sub[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.menu-panel { margin: 0; padding: 8px; list-style: none; }
.nav-menu .menu-panel { position: absolute; top: calc(100% + 8px); left: -8px; width: 360px; background: var(--background);
  border-radius: var(--radius-elevated); box-shadow: var(--shadow-elevated); }
.menu-panel a { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: var(--radius-sm); text-decoration: none; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--muted); color: var(--foreground); }
.menu-panel .icon { margin-top: 2px; color: var(--sky); } .menu-panel strong { display: block; font-weight: 500; }
.menu-panel small { display: block; font-size: 15px; color: var(--muted-foreground); }
.header-cta { margin-left: 8px; } .nav-mobile { display: none; }

/* Ouverture (plan §3.2 ; demandes d'Arnaud du 2026-11-27) : titre serif, sous-titre, deux boutons, sur un halo aux
   couleurs de Newspark ; dessous, ce que le studio construit pour une entreprise fictive (fragments.php), à l'état final
   et immobile. Sur grand écran, le bloc de mouvement fait flotter les cartes autour du titre et les assemble au défilement. */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 6vw, 96px); overflow-x: clip; background: var(--glow); }
.hero-text { max-width: 960px; text-align: center; } .hero-text .eyebrow { margin-bottom: 24px; } .hero-text p { text-align-last: center; }
.hero-title { margin-bottom: 24px; font-size: clamp(48px, 7.4vw, 90px); line-height: 1.02; letter-spacing: -0.025em; }
.hero-title .w { display: inline-block; } .hero .actions { justify-content: center; }
.hero-lead { max-width: 34em; margin: 0 auto 32px; font-size: 20px; color: var(--muted-foreground); }
.hero-stage { margin-top: clamp(40px, 6vw, 72px); pointer-events: none; user-select: none; }
.hs-canvas { position: relative; width: 1090px; height: 560px; margin-inline: auto; font-size: 15px; line-height: 1.4; }
.hs-window { position: absolute; left: 0; top: 0; width: 960px; height: 560px; overflow: hidden; background: var(--background);
  border-radius: var(--radius-elevated); box-shadow: var(--shadow-elevated); }
.hs-bar { display: flex; align-items: center; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--border); background: var(--muted); }
.hs-bar::after { content: ""; width: 120px; } .hs-dots { display: flex; gap: 8px; width: 120px; } .hs-dots span { width: 12px; height: 12px; border-radius: 50%; background: var(--border); }
.hs-url { margin-inline: auto; padding: 2px 56px; border-radius: var(--radius-pill); background: var(--background); color: var(--muted-foreground); }
.hs-side { position: absolute; left: 0; top: 44px; bottom: 0; display: grid; align-content: start; gap: 4px; width: 190px; padding: 20px 12px;
  border-right: 1px solid var(--border); background: var(--muted); }
.hs-side span { padding: 8px 12px; border-radius: var(--radius-img); color: var(--muted-foreground); } .hs-side .is-on { background: var(--background); box-shadow: var(--shadow); color: var(--foreground); font-weight: 500; }
.hs-side .hs-co { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 0 4px; color: var(--foreground); font-weight: 600; }
.hs-co b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand-blue); color: var(--primary-foreground); }
.hs-h { position: absolute; left: 214px; top: 58px; font-family: var(--serif); font-size: 22px; } .hs-piece { position: absolute; left: var(--sx); top: var(--sy); width: var(--w); }
.hs-stats { --sx: 214px; --sy: 100px; --w: 400px; } .hs-goal { --sx: 630px; --sy: 100px; --w: 206px; }
.hs-visits { --sx: 214px; --sy: 346px; --w: 622px; } .hs-phone { --sx: 860px; --sy: 50px; --w: 230px; }
.hs-card { display: grid; align-content: start; gap: 8px; min-height: 230px; padding: 20px; border-radius: var(--radius-elevated); background: var(--background); box-shadow: var(--shadow); }
.hs-t { font-weight: 600; } .hs-m { color: var(--muted-foreground); } .hs-k { font-family: var(--serif); font-size: 44px; line-height: 1; }
.hs-stats .hs-card { grid-template-columns: 1fr 132px; column-gap: 20px; } .hs-rows { display: grid; align-content: start; gap: 6px; grid-area: 1 / 2 / 4; }
.hs-rows span { display: flex; justify-content: space-between; } .hs-rows b { font-weight: 500; } .hs-bars rect { fill: var(--brand-blue); }
.hs-bars rect:last-child { fill: var(--primary); } .hs-ring { position: relative; justify-self: center; } .hs-ring svg { display: block; transform: rotate(-90deg); }
.hs-ring circle { fill: none; stroke: var(--highlight); stroke-width: 12; } .hs-ring circle + circle { stroke: var(--brand-blue); stroke-dasharray: 81 100; stroke-linecap: round; }
.hs-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.hs-visits .hs-card { grid-template-columns: 1fr auto; align-items: baseline; min-height: 200px; } .hs-v { font-family: var(--serif); font-size: 26px; line-height: 1; }
.hs-v .hs-m { font-family: var(--sans); font-size: 15px; } .hs-line { grid-column: 1 / -1; } .hs-line path { fill: none; stroke: var(--brand-blue); stroke-width: 2.5; }
.hs-line .hs-area { fill: var(--story); stroke: none; }
.hs-phone .hs-card { display: flex; flex-direction: column; gap: 12px; min-height: 460px; padding: 14px 16px 20px; border: 8px solid var(--primary); border-radius: 36px; }
.hs-phone .hs-card::before { content: ""; align-self: center; width: 56px; height: 6px; margin-bottom: 6px; border-radius: 3px; background: var(--primary); }
.hs-pt { font-family: var(--serif); font-size: 20px; line-height: 1.2; } .hs-send { margin-top: auto; }
.hs-days, .hs-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; } .hs-slots { grid-template-columns: 1fr 1fr; gap: 8px; }
.hs-days span, .hs-slots span { display: grid; place-items: center; padding: 6px 0; border-radius: var(--radius-img); box-shadow: inset 0 0 0 1px var(--border); white-space: nowrap; }
.hs-days b { font-size: 17px; font-weight: 600; } .hs-day, .hs-slot { background: var(--brand-blue); color: var(--primary-foreground); }
.hs-note { position: absolute; left: 400px; top: 50px; display: flex; align-items: center; gap: 12px; width: max-content; padding: 6px 16px 6px 6px;
  border-radius: var(--radius-pill); background: var(--background); box-shadow: var(--shadow-elevated); }
.hs-note .icon-badge { flex: none; width: 36px; height: 36px; margin: 0; background: var(--story); box-shadow: none; }
.hs-cursor { position: absolute; z-index: 1; display: none; align-items: flex-start; width: max-content; } .hs-arrow { flex: none; width: 16px; height: 16px; fill: var(--foreground); }
.hs-who { display: flex; align-items: center; gap: 6px; margin: 12px 0 0 -2px; padding: 3px 12px 3px 3px; border-radius: var(--radius-pill);
  background: var(--background); box-shadow: var(--shadow); font-weight: 500; white-space: nowrap; } .hs-who img { width: 26px; height: 26px; border-radius: 50%; }
.hs-stats .hs-cursor { left: 110px; top: 46px; } .hs-goal .hs-cursor { left: 24px; top: 214px; } .hs-phone .hs-cursor { left: 24px; top: 418px; }
@media (max-width: 1129px) { .hs-canvas { zoom: 0.84; } }

/* Fragments : cartes d'interface flottantes, contenu réel */
.frag { display: flex; flex-direction: column; min-width: 0; margin: 0; overflow: hidden; background: var(--background);
  border-radius: var(--radius-elevated); box-shadow: var(--shadow-elevated); }
.frag-bar { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 15px; }
.frag-label { font-weight: 500; } .frag-body { flex: 1; padding: 16px 20px; }
.frag figcaption { padding: 0 20px 18px; font-size: 15px; color: var(--muted-foreground); }
.sw { display: block; box-shadow: inset 0 0 0 1px var(--border); }
.sw-navy { background: var(--brand-navy); } .sw-blue { background: var(--brand-blue); }
.sw-sky { background: var(--brand-sky); } .sw-apricot { background: var(--highlight); }
.doc-lines { margin: 0; padding: 0; list-style: none; counter-reset: line; }
.doc-lines li { display: flex; gap: 14px; padding: 10px 0; border-top: 1px solid var(--border); } .doc-lines li:first-child { border-top: 0; }
.doc-lines li::before { counter-increment: line; content: counter(line, decimal-leading-zero); padding-top: 1px;
  font-family: var(--mono); font-size: 15px; color: var(--muted-foreground); }
.doc-checks li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 5px;
  box-shadow: inset 0 0 0 1.5px var(--input); }
.doc-pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 16px; }
.doc-pairs div { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--muted); }
.doc-pairs dt { font-size: 15px; color: var(--muted-foreground); } .doc-pairs dd { margin: 0; font-family: var(--serif); font-size: 26px; }
.scale { margin: 0; font-size: 15px; color: var(--muted-foreground); }

/* Cartes */
.card { position: relative; background: var(--card); border-radius: var(--radius); }
.card-pad { padding: clamp(24px, 3vw, 40px); } .card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } .card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 2px solid var(--ring); outline-offset: 3px; }
.metiers, .refs, .roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.metier-card, .ref-card { display: flex; flex-direction: column;
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.metier-card { padding: 32px; }
.metier-card:hover, .ref-card:has(.card-link):hover { box-shadow: var(--shadow); transform: translateY(-4px); } .ref-card:has(.card-link):hover { background: var(--background); }
.metier-card:hover .card-link, .ref-card:hover .card-link { color: var(--foreground); } .metier-card:hover .icon-sm { transform: translateX(3px); }
.icon-badge { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px;
  border-radius: var(--radius-sm); background: var(--background); color: var(--sky); box-shadow: var(--shadow); }
.icon-badge-lg { width: 64px; height: 64px; } .icon-badge-lg .icon { width: 32px; height: 32px; }
.facts { display: grid; gap: 12px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--border); font-size: 15px; }
.facts dt { color: var(--muted-foreground); } .facts dd { margin: 0; }
.card-more { display: flex; align-items: center; gap: 6px; margin: auto 0 0; padding-top: 20px; font-weight: 500; }
.ref-card { padding: 12px 12px 24px; } .ref-card .card-title, .ref-card p { padding-inline: 12px; }
.thumb { display: grid; place-items: center; aspect-ratio: 16 / 10; margin-bottom: 20px; overflow: hidden;
  border-radius: var(--radius-img); background: var(--story); }
.thumb img { width: 100%; height: 100%; object-fit: cover; } .thumb-name { font-family: var(--serif); font-size: 44px; letter-spacing: -0.02em; }
.ref-meta { margin: auto 0 0; font-size: 15px; color: var(--muted-foreground); } .role { padding: 32px; }
.avatar { display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 20px; overflow: hidden;
  border-radius: 50%; background: var(--background); color: var(--sky); box-shadow: var(--shadow); }
.avatar img { width: 100%; height: 100%; object-fit: cover; } .avatar .icon { width: 36px; height: 36px; }
.role-name { font-size: 15px; text-align: start; } .role p:last-child { margin-bottom: 0; }
/* Cartes vivantes (steep ; demande d'Arnaud du 2026-11-27 : « plus vivant ») : une carte teintée à la fois, la première au
   repos, en bleu pâle (au repos, l'abricot reste à la carte vers ai) ; la carte survolée ou atteinte au clavier prend sa
   teinte et la garde (site.js). Sur la teinte, le texte passe au jeton du texte : le gris secondaire n'atteint pas 4,5:1
   sur le bleu pâle. */
.vivid > :nth-child(3n+1) { --tint: var(--ring-soft); } .vivid > :nth-child(3n+2) { --tint: var(--highlight); } .vivid > :nth-child(3n) { --tint: var(--story); }
.vivid > * { transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.vivid > .is-on { background: var(--tint); color: var(--foreground); } .vivid > .is-on p, .vivid > .is-on dt { color: inherit; }

/* Démonstration à onglets (motif WAI-ARIA, site.js) ; sans script, les quatre étapes se suivent */
.tabs { display: grid; gap: 24px; }
.tab-list { display: flex; gap: 4px; width: max-content; max-width: 100%; margin-inline: auto; padding: 6px; overflow-x: auto;
  border-radius: var(--radius-pill); background: var(--background); box-shadow: var(--shadow); }
.tab-list [role="tab"] { min-height: 44px; padding: 10px 22px; border: 0; border-radius: var(--radius-pill); background: transparent;
  color: var(--muted-foreground); font: 500 15px/1 var(--sans); cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.tab-list [role="tab"]:hover { color: var(--foreground); }
.tab-list [role="tab"][aria-selected="true"] { background: var(--primary); color: var(--primary-foreground); }
.tab-panel { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius); background: var(--background); box-shadow: var(--shadow); }
.tab-panel[hidden] { display: none; }
.tab-text p:last-child { margin-bottom: 0; color: var(--muted-foreground); }
.step-num { margin-bottom: 12px; font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--ring); }
.tab-panel .frag { box-shadow: var(--shadow); }

/* Étude de cas en bande ciel pâle */
.story { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 64px);
  border-radius: var(--radius); background: var(--story); }
.story-text p:not(.eyebrow) { max-width: 36em; }
.frag .fiche { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; }

/* Section marine (demande d'Arnaud du 2026-11-27 : « plus sophistiqué », d'après le bloc « Semantic platform » de steep) :
   étapes en accordéon à gauche ; à droite, le schéma, sur le halo à 45 %, retourné pour monter du bas, sans répétition
   (une hauteur fractionnaire laissait un filet clair). L'étape ouverte allume sa partie du schéma (--lit). Hauteurs
   fixes : chaque filet part du milieu d'une pastille ou d'une ligne. Chaque étape se lit comme une ligne à ouvrir, comme
   les questions fréquentes : filets, signe + cerclé qui tourne en × (« on ne voit pas assez qu'il faut cliquer »). */
.section-inverse { background: var(--inverse); color: var(--inverse-foreground); }
.section-inverse .eyebrow, .section-inverse .lead, .section-inverse .def p { color: var(--inverse-muted); }
.section-inverse a:hover { color: var(--brand-sky); } .section-inverse :focus-visible { outline-color: var(--brand-sky); }
.dg-flow { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: center; margin-bottom: 64px; } .dg-steps { max-width: 40em; }
.dg-step { border-top: 1px solid var(--inverse-line); } .dg-step:last-child { border-bottom: 1px solid var(--inverse-line); }
.dg-step summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 20px;
  color: var(--inverse-muted); transition: color 0.2s var(--ease); }
.dg-step summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--inverse-line);
  border-radius: 50%; font-size: 20px; line-height: 1; color: var(--brand-sky); transition: transform 0.2s var(--ease), border-color 0.2s var(--ease); }
.dg-step summary:hover, .dg-step[open] summary { color: var(--inverse-foreground); } .dg-step summary:hover::after { border-color: var(--brand-sky); }
.dg-step[open] summary::after { transform: rotate(45deg); } .dg-step p { margin: 0; font-size: 15px; color: var(--inverse-muted); }
.dg-step p::after { content: ""; display: block; width: 40px; height: 2px; margin-top: 16px; background: var(--brand-sky); }
.dg-flow:has(.dg-step:nth-child(1)[open]) .dg-k1, .dg-flow:has(.dg-step:nth-child(2)[open]) .dg-k2, .dg-flow:has(.dg-step:nth-child(3)[open]) .dg-k3,
  .dg-flow:has(.dg-step:nth-child(4)[open]) .dg-k4, .dg-flow:has(.dg-step:nth-child(5)[open]) .dg-k5 { --lit: var(--brand-sky); --lit-bg: var(--ring-soft); }
.dg-panel { position: relative; isolation: isolate; display: grid; grid-template-columns: max-content 48px minmax(0, 320px) 48px max-content; justify-content: center;
  align-items: center; padding: 72px 28px; overflow: hidden; border-radius: var(--radius); outline: 1px solid var(--inverse-line); outline-offset: -1px; font-size: 15px; }
.dg-panel::before { content: ""; position: absolute; inset: 30% 0 0; z-index: -1; background: var(--glow); background-repeat: no-repeat; opacity: 0.45;
  transform: scaleY(-1); pointer-events: none; }
.dg-in, .dg-trio, .dg-out ul { display: grid; margin: 0; padding: 0; list-style: none; } .dg-in { gap: 12px; } .dg-trio { gap: 8px; }
.dg-in li, .dg-core, .dg-out { position: relative; background: var(--inverse-card); box-shadow: inset 0 0 0 1px var(--lit, var(--inverse-line)); transition: box-shadow 0.25s var(--ease); }
.dg-in li { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px 0 6px; border-radius: var(--radius-pill); white-space: nowrap; }
.dg-chip { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--story); color: var(--inverse); }
.dg-in li:nth-child(3n+2) .dg-chip { background: var(--highlight); } .dg-in li:nth-child(3n) .dg-chip { background: var(--brand-sky); }
.dg-ic { width: 16px; height: 16px; } .dg-trio .dg-ic, .dg-out .dg-ic { width: 18px; height: 18px; stroke: var(--lit, var(--inverse-muted)); transition: stroke 0.25s var(--ease); }
.dg-wires { display: block; } .dg-wires path { fill: none; stroke: var(--lit, var(--inverse-line)); stroke-width: 1.5; stroke-dasharray: 4 5; transition: stroke 0.25s var(--ease); }
.dg-core { display: grid; gap: 10px; padding: 20px; border-radius: var(--radius-elevated); }
.dg-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; } .dg-brand img { width: 24px; border-radius: 6px; }
.dg-name { margin-bottom: 6px; font-family: var(--serif); font-size: 22px; color: var(--inverse-muted); }
.dg-lead, .dg-trio li { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-radius: var(--radius-img); background: var(--lit-bg, transparent);
  box-shadow: inset 0 0 0 1px var(--lit, var(--inverse-line)); transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease); }
.dg-lead { justify-content: center; height: 56px; font-weight: 500; } .dg-out { height: 228px; padding: 12px 8px; border-radius: var(--radius-elevated); }
.dg-out-head { position: absolute; left: 12px; bottom: calc(100% + 12px); font-weight: 600; }
.dg-out ul + ul { position: relative; margin-top: 24px; } .dg-out ul + ul::before { content: ""; position: absolute; inset: -12px 8px auto; height: 1px; background: var(--inverse-line); }
.dg-out li { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 10px; border-radius: var(--radius-img); background: var(--lit-bg, transparent);
  white-space: nowrap; transition: background-color 0.25s var(--ease); }
.sub { margin-bottom: 24px; font-size: 20px; }
.defs { display: grid; gap: 20px; } .defs-4 { grid-template-columns: repeat(4, 1fr); }
.def { padding: 24px; border-radius: var(--radius-sm); background: var(--background); }
.def h3 { margin-bottom: 8px; font-size: 17px; } .def p { margin: 0; font-size: 15px; color: var(--muted-foreground); }
.section-inverse .def { background: var(--inverse-card); } .aside-line { margin: 32px 0 0; }

/* Méthode */
.steps { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; } .steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps li { counter-increment: step; padding: 28px 24px; border-radius: var(--radius-sm); background: var(--background); box-shadow: var(--shadow); }
.steps li::before { content: counter(step); display: block; margin-bottom: 16px; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--ring); }
.steps p { margin: 0; font-size: 15px; color: var(--muted-foreground); }

/* Carte abricot : l'unique carte chaude, vers ai */
.highlight { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  padding: clamp(28px, 5vw, 56px); border-radius: var(--radius); background: var(--highlight); }
.highlight > div { max-width: 44em; } .highlight .eyebrow { color: var(--highlight-foreground); } .highlight p { margin-bottom: 0; }
.highlight .btn-outline { background: var(--background); }

/* Appel final en serif empilé */
.final { padding-block: clamp(64px, 10vw, 128px); border-top: 1px solid var(--border); }
.final-inner { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; }
.final-title { margin: 0; font-size: clamp(48px, 7.4vw, 90px); line-height: 1; letter-spacing: -0.025em; }
.final-title span { display: block; } .final-side > p:first-child { color: var(--muted-foreground); }
.final-side .actions { margin-bottom: 20px; } .final-contact { margin: 0; }

/* Pages intérieures */
.crumbs { padding-top: 24px; font-size: 15px; color: var(--muted-foreground); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; } .crumbs a { color: var(--muted-foreground); }
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); } .page-head h1 { max-width: 18em; } .page-head .lead { margin-bottom: 28px; }
.checks { margin: 0 0 16px; padding: 0; list-style: none; } .checks li { position: relative; margin-bottom: 10px; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 3px; top: 0.42em; width: 12px; height: 7px;
  border-left: 1.5px solid var(--ring); border-bottom: 1.5px solid var(--ring); transform: rotate(-45deg); }
.plain { margin: 0 0 16px; padding-left: 20px; } .plain li { margin-bottom: 8px; }
.ref-logo-head { margin-bottom: 24px; } .ref-logo { display: block; width: 160px; height: auto; }
.links { margin: 0; padding: 0; list-style: none; } .links li { padding: 14px 0; border-top: 1px solid var(--border); }
.fiche { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0; padding-top: 20px; border-top: 1px solid var(--border); font-size: 15px; }
.fiche dt { color: var(--muted-foreground); } .fiche dd { margin: 0; font-weight: 500; }
.split .fiche { margin-top: 24px; } .ext-line { margin-top: 24px; }
.tarif { display: grid; grid-template-columns: 1fr 2fr auto; gap: 24px 40px; align-items: center; }
.tarif h2, .tarif p { margin: 0; }
.facts-inline { grid-template-columns: 1fr 1fr; margin: 0; padding: 0; border: 0; }
.faq details { border-top: 1px solid var(--border); } .faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 20px; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--muted-foreground); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { max-width: 40em; margin: 0 0 20px; color: var(--muted-foreground); }
.measure { margin-bottom: 16px; padding: 20px; border-radius: var(--radius-sm); background: var(--background); }
.measure-value { margin-bottom: 8px; font-family: var(--serif); font-size: 44px; line-height: 1.1; }
.quote { margin: 0 0 24px; }
.quote blockquote { margin: 0 0 8px; font-family: var(--serif); font-size: 26px; }
.capture { margin: 0 0 24px; }
.capture img { width: 100%; border-radius: var(--radius-img); box-shadow: var(--shadow); }
.capture figcaption { margin-top: 8px; font-size: 15px; color: var(--muted-foreground); }
.legal h2 { margin-top: 40px; font-size: 26px; }
.legal-block { padding: 20px 24px; border-radius: var(--radius-sm); background: var(--muted); }

/* Formulaire (Field de shadcn/ui : aide et erreur reliées par aria-describedby) */
.form-grid { display: grid; grid-template-columns: 7fr 4fr; gap: 40px; align-items: start; }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; font-size: 15px; font-weight: 500; }
.req, .opt { font-weight: 400; color: var(--muted-foreground); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="password"], .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--input); border-radius: var(--radius-sm);
  background: var(--background); color: var(--foreground); font: inherit; transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease); }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: none; border-color: var(--ring); box-shadow: 0 0 0 4px var(--ring-soft); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--destructive); }
.field-error { margin: 0; font-size: 15px; color: var(--destructive); }
.hint { margin: 0; font-size: 15px; color: var(--muted-foreground); }
.choices legend { margin-bottom: 8px; }
.choice { display: flex; align-items: center; gap: 10px; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { display: grid; justify-items: start; gap: 12px; margin: 0; }
.form-note { margin: 0; font-size: 15px; color: var(--muted-foreground); }
.notice { padding: 16px 20px; border-radius: var(--radius-sm); background: var(--muted); }
.notice-error { background: var(--destructive-soft); box-shadow: inset 0 0 0 1px var(--destructive); }
.notice p:last-child { margin-bottom: 0; }
.notice ul { margin: 8px 0 0; padding-left: 20px; }
.form-aside { padding-top: 8px; }
.contact-list { display: grid; gap: 16px; margin: 0 0 24px; }
.contact-list dt { font-size: 15px; color: var(--muted-foreground); } .contact-list dd { margin: 0; }
.aside-note { padding: 20px 24px; border-radius: var(--radius-sm); background: var(--highlight); }
.aside-note p { margin: 0 0 8px; } .aside-note p:last-child { margin: 0; }

/* Tableaux : registre des traitements, statistiques */
.table-scroll { margin: 24px 0; overflow-x: auto; }
.registre, .stats { width: 100%; border-collapse: collapse; font-size: 15px; }
.registre th, .registre td, .stats th, .stats td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.registre thead th, .stats thead th { font-weight: 500; color: var(--muted-foreground); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }

/* Pied de page */
.site-footer { padding: 64px 0 32px; background: var(--muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { width: 120px; margin-bottom: 16px; }
.footer-brand p { max-width: 24em; }
.site-footer h2 { margin-bottom: 12px; font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted-foreground); }
.site-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-footer a { text-decoration: none; } .site-footer a:hover { text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border); color: var(--muted-foreground); }
.footer-legal p { margin: 0; }

/* Écrans moyens et petits */
@media (max-width: 1080px) {
  .metiers, .refs, .roles { grid-template-columns: repeat(2, 1fr); }
  .defs-4, .steps-4 { grid-template-columns: repeat(2, 1fr); } .dg-flow { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tarif { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav-main, .header-cta { display: none; }
  .nav-mobile { display: block; margin-left: auto; }
  .nav-mobile > summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px;
    border-radius: var(--radius-pill); background: var(--card); font-size: 15px; font-weight: 500; }
  .burger { width: 16px; height: 1.5px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
  .nav-sheet { position: fixed; inset: 72px 0 auto; max-height: calc(100vh - 72px); overflow-y: auto; padding: 8px 20px 28px;
    background: var(--background); box-shadow: var(--shadow-header); }
  .nav-sheet ul { margin: 0 0 20px; padding: 0; list-style: none; }
  .nav-sheet > ul > li > a, .nav-sub > summary { display: block; padding: 14px 4px; border-bottom: 1px solid var(--border);
    font-size: 20px; text-decoration: none; }
  .nav-sheet a[aria-current="page"] { color: var(--ring); }
  .nav-sub .menu-panel { padding: 4px 0 8px; }
  .nav-sheet-meta { margin: 0; color: var(--muted-foreground); }
  .hs-canvas { zoom: 0.66; }
}
@media (max-width: 760px) {
  .metiers, .refs, .roles, .defs-4, .steps-4, .split, .story, .tab-panel, .final-inner, .form-grid, .footer-grid,
  .grid-2, .doc-pairs { grid-template-columns: 1fr; }
  .hero-text { text-align: left; } .hero-text p { text-align-last: auto; } .hero-lead { margin-left: 0; }
  .hero .actions { justify-content: flex-start; }
  .hs-canvas { zoom: 1; width: auto; height: auto; padding-top: 88px; }
  .hs-window, .hs-stats, .hs-goal, .hs-visits { display: none; }
  .hs-piece.hs-phone { position: relative; left: auto; top: auto; margin-inline: auto; }
  .hs-note { left: 0; top: 0; width: 100%; border-radius: var(--radius-sm); }
  .tab-list { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: var(--radius-elevated); }
  .dg-flow { margin-bottom: 40px; } .dg-panel { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 40px 20px; } .dg-wires { display: none; }
  .dg-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; } .dg-out { height: auto; } .dg-out-head { position: static; display: block; padding: 4px 10px 8px; }
  .dg-core::before, .dg-out::before { content: ""; position: absolute; left: 50%; bottom: 100%; height: 40px; border-left: 1.5px dashed var(--inverse-line); }
  .registre thead { display: none; }
  .registre tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--border); }
  .registre th, .registre td { display: block; padding: 4px 0; border: 0; }
  .registre td::before { content: attr(data-label) "\a0: "; color: var(--muted-foreground); }
}

/* Mouvement (plan §4.5) : 600 ms au plus pour le titre, transformation seule (le texte reste lisible dès le premier
   affichage) ; entrée unique des cartes, 8 px au plus ; schéma marine assemblé colonne par colonne ; aucune boucle. L'ouverture
   suit le défilement et lui seul (demande d'Arnaud du 2026-11-27) : rien n'y bouge de lui-même. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* Grand écran : scène épinglée sous l'en-tête, sur le halo. site.js mesure le texte (--tx : demi-largeur, --ty : bas)
     et l'écran (--s : échelle des cartes flottantes, --k : du tableau de bord assemblé), puis suit le défilement : --a
     assemble, is-day et is-slot prennent le rendez-vous, --c fait arriver la notification. Texte centré, titre à 64 px sous 1536 px. */
  @media (min-width: 1200px) and (min-height: 640px) and (scripting: enabled) {
    .hero { --tx: 340px; --ty: calc(50vh + 204px); height: 260vh; padding: 0; background: none; } .hero.is-built .hero-text { pointer-events: none; }
    .hero-text { position: absolute; inset: 0 0 auto; z-index: 3; display: flex; flex-direction: column; justify-content: center; height: calc(100vh - 72px);
      padding-block: 24px; opacity: calc(1 - var(--a, 0) * 2.5); } .hero-text:focus-within { opacity: 1; } .hs-canvas { width: 100%; height: 100%; container-type: size; }
    .hero-stage { position: sticky; top: 72px; z-index: 2; width: auto; height: calc(100vh - 72px); margin-top: 0; background: var(--glow); }
    .hs-window { left: calc(50% - 545px); top: calc(50% - 280px); transform-origin: 545px 280px; opacity: calc(var(--a, 0) * 2.5 - 0.75);
      transform: scale(calc(0.94 + var(--a, 0) * (var(--k, 1) - 0.94))); }
    .hs-piece { left: calc(50% - 545px + var(--sx)); top: calc(50% - 280px + var(--sy)); transform-origin: calc(545px - var(--sx)) calc(280px - var(--sy));
      transform: translate(calc((var(--fx) - 50cqw - var(--s, 1) * (var(--sx) - 545px)) * (1 - var(--a, 0))),
        calc((var(--fy) - 50cqh - var(--s, 1) * (var(--sy) - 280px)) * (1 - var(--a, 0)))) scale(calc(var(--s, 1) + (var(--k, 1) - var(--s, 1)) * var(--a, 0))); }
    .hs-goal { --fx: max(24px, 50cqw - var(--tx) - 24px - 206px * var(--s, 1)); --fy: 24px; } .hs-phone { --fx: min(100cqw - 16px - 230px * var(--s, 1), 50cqw + var(--tx) + 24px); --fy: 24px; }
    .hs-stats { --fx: max(24px, 50cqw - var(--tx) + 100px - 400px * var(--s, 1)); --fy: var(--ty); }
    .hs-visits { --fx: calc(max(24px, 50cqw - var(--tx) + 100px - 400px * var(--s, 1)) + 424px * var(--s, 1)); --fy: max(var(--ty) + 60px, 48px + 480px * var(--s, 1)); }
    .hs-note { left: calc(50% - 145px); top: calc(50% - 230px); transform-origin: 145px 230px; opacity: var(--c, 0);
      transform: translateY(calc(var(--c, 0) * 16px - 16px)) scale(var(--k, 1)); }
    .hs-cursor { display: flex; opacity: calc(1 - var(--a, 0) * 4); } .hero:not(.is-day) .hs-day, .hero:not(.is-slot) .hs-slot { background: none; color: inherit; }
    @media (max-width: 1535px) { .hero-title { font-size: 64px; } }
  }
  .hero-title .w { animation: np-rise 0.4s var(--ease) both; }
  .hero-title .w:nth-child(2) { animation-delay: 25ms; } .hero-title .w:nth-child(3) { animation-delay: 50ms; } .hero-title .w:nth-child(4) { animation-delay: 75ms; }
  .hero-title .w:nth-child(5) { animation-delay: 100ms; } .hero-title .w:nth-child(6) { animation-delay: 125ms; } .hero-title .w:nth-child(7) { animation-delay: 150ms; }
  .hero-title .w:nth-child(8) { animation-delay: 175ms; } .hero-title .w:nth-child(9) { animation-delay: 200ms; }
  .hs-card { animation: np-float 0.6s var(--ease) both; } .hs-goal .hs-card { animation-delay: 0.08s; }
  .hs-visits .hs-card { animation-delay: 0.16s; } .hs-phone .hs-card { animation-delay: 0.24s; }
  .reveal { opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
  .dg-panel.is-armed > * { opacity: 0; transform: translateY(8px); } .dg-panel.is-armed .dg-wires path { stroke-dashoffset: 18; }
  .dg-panel.is-drawn > * { opacity: 1; transform: none; transition: opacity 0.5s var(--ease) var(--d, 0s), transform 0.5s var(--ease) var(--d, 0s); }
  .dg-panel.is-drawn .dg-wires path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.6s var(--ease) var(--d, 0s), stroke 0.25s var(--ease); }
  .dg-panel > :nth-child(2) { --d: 0.2s; } .dg-panel > :nth-child(3) { --d: 0.35s; } .dg-panel > :nth-child(4) { --d: 0.55s; } .dg-panel > :nth-child(5) { --d: 0.7s; }
}
@keyframes np-rise { from { transform: translateY(0.3em); } to { transform: none; } }
@keyframes np-float { from { transform: translateY(8px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
