
  /* =========================================================
     ESPACEMENT ENTRE SECTIONS — règle unique pour toutes les pages (ajoutée en dernier par build.py)
     Écart entre le contenu de deux sections : 120 px (mobile) · 160 px (≥ 768) · 200 px (≥ 1024).
     Chaque section n'a qu'une marge haute ; l'écart avant le pied de page est la marge haute du footer (100 / 140 px).
     Exceptions : le hero (ses propres marges : f-hero, h-hero, lg-hero, hero photo dc-vid des datacenters et de Qui sommes-nous : texte centré sur la hauteur de l'écran, marge 0) et les pages-outils d'une seule section (tc-app : configurateur, Mon projet). Ne pas remettre de marge en ligne (style="padding-top…") sur une section.
     ========================================================= */
  :root { --sec: 120px; }
  @media (min-width: 768px) { :root { --sec: 160px; } }
  @media (min-width: 1024px) { :root { --sec: 200px; } }
  body main.h-main > section:not(.f-hero):not(.h-hero):not(.lg-hero):not(.dc-vid):not(.tc-app),
  body main.h-main > .c-scope > section { padding-top: var(--sec); padding-bottom: 0; }
  /* Section qui suit un hero f-hero : la marge basse du hero (60 / 80 / 100 px, ftth.css) compte déjà dans l'écart ; on ne la double pas */
  :root { --hero-pb: 60px; }
  @media (min-width: 768px) { :root { --hero-pb: 80px; } }
  @media (min-width: 1024px) { :root { --hero-pb: 100px; } }
  body main.h-main > section.f-hero + section:not(.f-hero):not(.h-hero):not(.lg-hero):not(.tc-app):not(.lg-section),
  body main.h-main > section.f-hero + .c-scope > section:first-of-type { padding-top: calc(var(--sec) - var(--hero-pb)); }
  /* Pages légales : le texte suit directement le titre (page de lecture, pas de sections successives) */
  body main.h-main > section.lg-section:not(.f-hero):not(.h-hero) { padding-top: 40px; }
  /* écart avant le pied de page : porté par la marge haute du footer (page-techcrea.html : 100 px, 140 px dès 1024), aucune section n'a de marge basse */
  body main.h-main > .c-scope { padding-bottom: 0; }
  /* Les témoignages n'ajoutent plus de marge sous eux (l'écart vient de la section suivante) */
  body main.h-main .h-stories { padding-bottom: 0; }
  /* « Notre méthode » : l'écart est porté par la section, plus par l'intro et la liste d'étapes */
  body main.h-main .h-method__intro, body main.h-main .h-method__steps { padding-top: 0; }

  /* Fond animé du hero des pages annexes, une variante par famille (voir src/base/hero-fx.js) */
  /* Mobile : le texte occupe toute la largeur → effet plus discret, en fondu depuis la gauche */
  .f-hero__bg[data-fx] { opacity: .4; }
  .f-hero__bg[data-fx="voix"] { opacity: .5; }
  .f-hero:not(.hw-hero) > .f-hero__bg[data-fx] {
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .45) 55%, var(--tc-black) 100%);
            mask-image: linear-gradient(90deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .45) 55%, var(--tc-black) 100%);
  }
  @media (min-width: 768px) {
    .f-hero__bg[data-fx] { opacity: .6; }
    .f-hero__bg[data-fx="voix"] { opacity: .75; }   /* les pointes de l'onde passent sous le dégradé du hero */
    .f-hero:not(.hw-hero) > .f-hero__bg[data-fx] { -webkit-mask-image: none; mask-image: none; }
  }

  /* =========================================================
     MON PROJET (toutes les pages, voir src/base/cart.js) : fenêtre « formulaires en cours / Mon projet » + notification d'ajout
     ========================================================= */
  .tc-dock { position: fixed; z-index: 90; right: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; max-width: calc(100% - 32px);
    font: 500 14px/1.3 Inter, system-ui, sans-serif; letter-spacing: -.02em; color: var(--tc-strong, var(--tc-strong)); }
  .tc-dock[hidden], .tc-dock__panel[hidden] { display: none; }
  .tc-has-bar .tc-dock { display: none; }   /* barre de prix collante d'un configurateur affichée (mobile) : elle porte déjà le bouton d'ajout */
  .tc-dock__proj, .tc-dock__head { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 8px 0 16px;
    background: var(--tc-pop, #12131f); border: 1px solid var(--tc-hover-border, var(--tc-line-2)); border-radius: 100px;
    font: inherit; font-weight: 500; color: inherit; text-decoration: none; cursor: pointer; transition: border-color .2s ease; }
  .tc-dock__head { width: 380px; max-width: 100%; min-height: 60px; padding: 10px 12px 10px 18px; gap: 14px; border-radius: var(--tc-r); text-align: left; }   /* même largeur que le panneau ouvert */
  .tc-dock__head .tc-dock__txt { flex: 1; }
  .tc-dock__head .tc-dock__ic { color: var(--tc-accent); }
  .tc-dock__proj:hover, .tc-dock__head:hover, .tc-dock__form:hover { border-color: var(--tc-hover-border); }
  .tc-dock a:focus:not(:focus-visible), .tc-dock button:focus:not(:focus-visible) { outline: none; }
  /* focus : anneau du site */
  /* icône « Mon projet » : dossier ouvert (Lucide folder-open, trait 1,5) — jamais de panier */
  .tc-dock__ic { flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E") center / contain no-repeat; }
  .tc-dock__n { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 100px; background: var(--tc-accent, #ed7812); font-family: "Geist Mono", "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; font-weight: 600; color: var(--tc-bg, #080915); }
  .tc-dock__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .tc-dock__txt b { font-weight: 500; }
  .tc-dock__txt span { overflow: hidden; font-weight: 400; font-size: 12px; color: var(--tc-text, var(--tc-text-3)); white-space: nowrap; text-overflow: ellipsis; }
  .tc-dock__chev { width: 30px; height: 30px; flex: none; background: currentColor; opacity: .7; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 15 6-6 6 6' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / 18px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 15 6-6 6 6' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .2s ease; }
  .tc-dock.is-open .tc-dock__chev { transform: rotate(180deg); }
  /* panneau ouvert (principe DC2SCALE) : un seul niveau de carte. Design system : lignes = cartes simples (bordure --tc-line ; survol : bordure éclaircie
     + léger fond), icônes Lucide au trait 1,5, couleurs par variables */
  .tc-dock__panel { display: flex; flex-direction: column; align-items: stretch; width: 380px; max-width: 100%;   /* % : largeur visible, hors barre de défilement */
    padding: 0 0 14px; background: var(--tc-pop, #12131f); border: 1px solid var(--tc-hover-border); border-radius: var(--tc-r); }
  .tc-dock__top { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-bottom: 1px solid var(--tc-line); }
  .tc-dock__top b { flex: 1; font-weight: 500; font-size: 15px; color: var(--tc-strong); }
  .tc-dock__fic { display: grid; place-items: center; flex: none; width: 22px; height: 22px; color: var(--tc-text-2); }
  .tc-dock__fic svg { width: 100%; height: 100%; }
  .tc-dock__tic { flex: none; width: 20px; height: 20px; background: var(--tc-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E") center / contain no-repeat; }
  .tc-dock__k { margin: 16px 18px 0; font-family: "Geist Mono", "IBM Plex Mono", ui-monospace, monospace; font-weight: 600; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--tc-text-2); }   /* rubriques « À terminer », « Dans mon projet » */
  .tc-dock__offers { display: grid; gap: 2px; margin: 8px 18px 0; padding: 0; list-style: none; }
  .tc-dock__offers li { display: flex; align-items: center; gap: 10px; min-height: 30px; font-weight: 500; color: var(--tc-strong); }
  .tc-dock__offers li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--tc-accent); }
  .tc-dock__offers li span { font-weight: 400; color: var(--tc-text-2); }
  .tc-dock__offers .tc-dock__more { color: var(--tc-text-2); } .tc-dock__offers .tc-dock__more::before { background: var(--tc-hover-border); }
  .tc-dock__close { position: relative; flex: none; width: 44px; height: 44px; border: 0; border-radius: var(--tc-r); background: none; color: var(--tc-text-2); cursor: pointer; transition: color .2s ease, background-color .2s ease; }
  .tc-dock__close::before, .tc-dock__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 15px; height: 1.5px; margin: -.75px 0 0 -7.5px; background: currentColor; transform: rotate(45deg); }
  .tc-dock__close::after { transform: rotate(-45deg); }
  .tc-dock__close:hover { color: var(--h-white, #fff); background: var(--tc-hover-bg); }
  .tc-dock__list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 8px 14px 0; list-style: none; }
  .tc-dock__item { position: relative; display: block; border: 1px solid var(--tc-line); border-radius: var(--tc-r); background: var(--h-surface, #0b0c19); transition: border-color .25s ease; }
  .tc-dock__item:hover, .tc-dock__item:focus-within { border-color: var(--tc-hover-border); background: var(--tc-hover-bg); }   /* carte simple : bordure éclaircie + léger fond (pas de coins : réservés aux boutons ici) */
  .tc-dock__form { flex: 1; min-width: 0; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 16px 62px 16px 16px; border-radius: var(--tc-r); color: inherit; text-decoration: none; }
  .tc-dock__ft { display: grid; gap: 3px; min-width: 0; }
  .tc-dock__ft b { overflow: hidden; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; color: var(--tc-strong); }
  .tc-dock__ft span { font-weight: 400; font-size: 13px; color: var(--tc-text-2); }
  .tc-dock__pct { font-family: "Geist Mono", "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; color: var(--tc-text-2); }
  .tc-dock__bar { grid-column: 2 / 4; height: 3px; margin-top: 8px; border-radius: var(--tc-r-in); background: var(--tc-hover-border); overflow: hidden; }
  .tc-dock__bar i { display: block; height: 100%; background: var(--tc-accent); }
  /* supprimer un formulaire : simple icône dans la carte, sans séparation (zone de clic 44 px), rouge au survol, « Supprimer ? » au 1er clic */
  .tc-dock__del { position: absolute; top: 50%; right: 8px; min-width: 44px; height: 44px; margin-top: -22px; padding: 0 10px; border: 0; border-radius: var(--tc-r); background: none; font: 500 12px/1 Inter, system-ui, sans-serif; color: var(--tc-text-2); cursor: pointer; transition: color .2s ease, background-color .2s ease; }
  .tc-dock__del svg { display: block; width: 18px; height: 18px; margin: auto; }
  .tc-dock__del:hover, .tc-dock__del.is-confirm { color: var(--tc-danger); background: var(--tc-danger-bg); }
  .tc-dock__del.is-confirm { background: var(--tc-danger-bg); box-shadow: inset 0 0 0 1px var(--tc-danger-line); }   /* 1er clic : coche rouge à la place de la corbeille, rien ne se superpose */
  .tc-dock__ft span.is-warn { color: var(--tc-danger); }   /* explication de la confirmation, à la place de « Reprendre… » */
  .tc-dock__close:focus-visible, .tc-dock__del:focus-visible { box-shadow: inset 0 0 0 1px var(--tc-strong); }
  .tc-dock__cta { justify-content: center; height: 50px; margin: 14px 14px 0; text-decoration: none; }   /* hors du contenu principal (balise main) : pas de soulignement de lien */
  /* « Tout effacer » : présent mais discret (gris, petit, sans soulignement) ; rouge seulement au survol, au focus et pour confirmer */
  .tc-dock__clear { align-self: center; margin-top: 10px; }   /* style : .tc-erase (gabarit) */
  .tc-dock__head[hidden] { display: none; }
  .tc-dock.is-bump .tc-dock__proj, .tc-dock.is-bump .tc-dock__head { animation: tc-dock-bump .5s ease; }
  @keyframes tc-dock-bump { 0%, 100% { transform: none; } 40% { transform: scale(1.06); } }

  .tc-toast { position: fixed; z-index: 91; right: 16px; bottom: 74px; width: min(340px, calc(100vw - 32px)); padding: 16px 18px; background: var(--tc-pop, #12131f); border: 1px solid var(--tc-hover-border, var(--tc-line-2));
    border-radius: var(--tc-r); font: 400 14px/20px Inter, system-ui, sans-serif; letter-spacing: -.02em; color: var(--tc-text-3);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease, visibility 0s .25s; }
  .tc-toast.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s; }
  .tc-toast__txt b { font-weight: 500; color: var(--tc-white); }
  .tc-toast__acts { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
  .tc-toast__acts button { padding: 0; background: none; border: 0; font: 500 13px/1 Inter, system-ui, sans-serif; color: var(--tc-text, var(--tc-text-3)); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .tc-toast__acts button:hover { color: var(--tc-white); }
  /* saisie dans un champ, sous 1024 px : la fenêtre s'efface (sans déplacer la mise en page ; voir cart.js « Saisie dans un champ ») */
  @media (max-width: 1023px) { html.tc-typing .tc-dock { opacity: 0; visibility: hidden; pointer-events: none; } }
  .tc-btn.is-added { pointer-events: none; }   /* confirmation : seul le texte change (« Ajouté à mon projet ✓ »), le bouton garde son style */
  @media (prefers-reduced-motion: reduce) { .tc-dock.is-bump * { animation: none; } .tc-toast, .tc-dock__chev, .tc-dock__item, .tc-dock__del, .tc-dock__close { transition: none; } }
  @media (min-width: 1024px) {
    .tc-dock { right: 25px; bottom: 25px; }
    .tc-toast { right: 25px; bottom: 84px; }
  }
