/* ==========================================================================
   HAUTE COUTURE · hc.css · v1.0.0
   Kit d'interface pour sites haut de gamme, sans dépendance.
   - Aucune couleur ici : les jetons viennent de themes.css (data-hc-theme).
   - Tout est rangé dans des couches @layer : assets/css/site.css, hors
     couche, gagne toujours sans !important.
   - Les états cachés des animations n'existent que sous html.hc-js :
     sans JavaScript, tout le contenu reste visible.
   Sommaire : 1 jetons · 2 base · 3 mise en page · 4 typographie · 5 boutons
   et liens · 6 navigation · 7 héros et visuels · 8 animations au défilement
   · 9 cartes · 10 widgets · 11 formulaires · 12 pied de page · 13 surcouches
   · 14 images clés · 15 préférences et impression
   ========================================================================== */
@layer hc.reset, hc.base, hc.themes, hc.composants, hc.utilitaires;

/* ---------------------------------------------------------------- 0 RESET */
@layer hc.reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth;
         scroll-padding-top: calc(var(--hc-entete-h) + 1rem); hanging-punctuation: first last; }
  body { margin: 0; min-height: 100svh; }
  img, svg, video, canvas, picture, iframe { display: block; max-width: 100%; }
  img, video { height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
  button { cursor: pointer; background: none; border: 0; padding: 0; }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
  ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
  table { border-collapse: collapse; }
  [hidden] { display: none !important; }
}

/* ---------------------------------------------------------------- 1 JETONS */
@layer hc.base {
  :root {
    /* Couleurs de secours si aucun thème n'est posé */
    --hc-fond: #FFFFFF; --hc-fond-2: #F4F4F5; --hc-fond-3: #FFFFFF;
    --hc-encre: #111114; --hc-encre-2: #45454D; --hc-encre-3: #62626B;
    --hc-ligne: rgba(17, 17, 20, .12);
    --hc-accent: #2B4CFF; --hc-accent-2: #FF6A3D; --hc-sur-accent: #FFFFFF;
    --hc-inv-fond: #111114; --hc-inv-fond-2: #1A1A1F; --hc-inv-fond-3: #24242A;
    --hc-inv-encre: #F5F5F7; --hc-inv-encre-2: #B4B4BC; --hc-inv-encre-3: #8E8E97;
    --hc-inv-ligne: rgba(245, 245, 247, .14); --hc-inv-accent: #8FA0FF; --hc-inv-sur-accent: #111114;
    --hc-maille-1: #D9DEFF; --hc-maille-2: #FFD9CC; --hc-maille-3: #E3F4FF; --hc-maille-opacite: .8;
    --hc-succes: #2E9E6F; --hc-erreur: #D6453A;

    /* Polices */
    --hc-police-titre: system-ui, sans-serif;
    --hc-police-emphase: Georgia, serif;
    --hc-police-texte: system-ui, sans-serif;
    --hc-police-mono: var(--hc-police-texte);
    --hc-titre-graisse: 600; --hc-titre-interlettrage: -.03em; --hc-titre-interligne: 1;
    --hc-titre-casse: none; --hc-emphase-graisse: 400; --hc-emphase-couleur: inherit;
    --hc-texte-graisse: 400;
    --hc-btn-casse: none; --hc-btn-interlettrage: .01em; --hc-btn-taille: var(--hc-t-s);

    /* Échelle typographique fluide (de 360 px à 1600 px) */
    --hc-t-xs:  clamp(.75rem,  .73rem + .1vw,  .8125rem);
    --hc-t-s:   clamp(.875rem, .85rem + .12vw, .9375rem);
    --hc-t-m:   clamp(1rem,    .96rem + .18vw, 1.125rem);
    --hc-t-l:   clamp(1.15rem, 1.06rem + .45vw, 1.45rem);
    --hc-t-xl:  clamp(1.5rem,  1.25rem + 1.2vw, 2.35rem);
    --hc-t-2xl: clamp(2.1rem,  1.55rem + 2.7vw, 3.9rem);
    --hc-t-3xl: clamp(2.7rem,  1.7rem + 4.9vw, 6.4rem);
    --hc-t-4xl: clamp(3.3rem,  1.4rem + 9.2vw, 11rem);

    /* Espacements */
    --hc-e-1: .25rem; --hc-e-2: .5rem; --hc-e-3: .75rem; --hc-e-4: 1rem; --hc-e-5: 1.5rem; --hc-e-6: 2rem;
    --hc-e-7: clamp(2.5rem, 2rem + 2vw, 3.75rem);
    --hc-e-8: clamp(3.5rem, 2.4rem + 4.5vw, 6.5rem);
    --hc-e-9: clamp(5rem, 2.8rem + 8.5vw, 10.5rem);

    /* Mise en page */
    --hc-largeur: 1320px;
    --hc-gouttiere: clamp(1rem, .45rem + 2.6vw, 2.75rem);
    --hc-entete-h: 84px;
    --hc-rayon: 8px; --hc-rayon-btn: 999px;
    --hc-carte-flou: 0px;
    --hc-ombre: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 24px -12px rgba(0, 0, 0, .18);
    --hc-ombre-forte: 0 2px 6px rgba(0, 0, 0, .08), 0 30px 60px -20px rgba(0, 0, 0, .35);
    --hc-grain: 0;

    /* Mouvement */
    --hc-ease-sortie: cubic-bezier(.16, 1, .3, 1);
    --hc-ease-douce: cubic-bezier(.4, 0, .2, 1);
    --hc-ease-entree-sortie: cubic-bezier(.76, 0, .24, 1);
    --hc-ease-ressort: linear(0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1);
    --hc-ease: var(--hc-ease-sortie);
    --hc-duree: .9s;
    --hc-duree-rapide: .35s;
  }

  /* Jetons dérivés : recalculés dans chaque section inversée */
  :root, .hc-inverse {
    --hc-ligne-forte: color-mix(in oklab, var(--hc-encre) 28%, transparent);
    --hc-voile: color-mix(in oklab, var(--hc-encre) 6%, transparent);
    --hc-accent-doux: color-mix(in oklab, var(--hc-accent) 16%, transparent);
    --hc-carte-fond: var(--hc-fond-2);
  }
  .hc-inverse {
    --hc-fond: var(--hc-inv-fond); --hc-fond-2: var(--hc-inv-fond-2); --hc-fond-3: var(--hc-inv-fond-3);
    --hc-encre: var(--hc-inv-encre); --hc-encre-2: var(--hc-inv-encre-2); --hc-encre-3: var(--hc-inv-encre-3);
    --hc-ligne: var(--hc-inv-ligne); --hc-accent: var(--hc-inv-accent); --hc-sur-accent: var(--hc-inv-sur-accent);
    background-color: var(--hc-fond); color: var(--hc-encre);
  }

  /* ---------------------------------------------------------------- 2 BASE */
  body {
    background: var(--hc-fond); color: var(--hc-encre);
    font-family: var(--hc-police-texte); font-size: var(--hc-t-m); font-weight: var(--hc-texte-graisse);
    line-height: 1.6; font-kerning: normal; font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
    overflow-x: clip;
  }
  ::selection { background: var(--hc-accent); color: var(--hc-sur-accent); }
  :focus-visible { outline: 2px solid var(--hc-accent); outline-offset: 3px; }
  :focus:not(:focus-visible) { outline: none; }
  main:focus { outline: none; }
  hr { border: 0; border-top: 1px solid var(--hc-ligne); margin: 0; }
  strong, b { font-weight: 600; }
  small { font-size: var(--hc-t-xs); }
}

/* ---------------------------------------------------------------- 3 MISE EN PAGE */
@layer hc.composants {
  .hc-conteneur { width: min(100% - 2 * var(--hc-gouttiere), var(--hc-largeur)); margin-inline: auto; }
  .hc-conteneur--large { --hc-largeur: 1640px; }
  .hc-conteneur--etroit { --hc-largeur: 880px; }
  .hc-section, .hc-section--serre { position: relative; isolation: isolate; padding-block: var(--hc-e-9); }
  .hc-section--serre { padding-block: var(--hc-e-8); }
  :is(.hc-section, .hc-section--serre):has(> .hc-maille) { overflow: hidden; }
  .hc-section--trait { border-top: 1px solid var(--hc-ligne); }
  .hc-pile { display: flex; flex-direction: column; gap: var(--esp, var(--hc-e-5)); }
  .hc-pile > * { margin: 0; }
  .hc-rangee { display: flex; flex-wrap: wrap; align-items: center; gap: var(--esp, var(--hc-e-4)); }
  .hc-duo { display: grid; gap: var(--esp, var(--hc-e-8)); align-items: center;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 27rem), 1fr)); }
  .hc-duo--haut { align-items: start; }
  .hc-grille-auto { display: grid; gap: var(--esp, var(--hc-e-5));
                    grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 18rem)), 1fr)); }
  .hc-entete-section { display: grid; gap: var(--hc-e-5); margin-bottom: var(--hc-e-8); }
  @media (min-width: 900px) {
    .hc-entete-section { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; column-gap: var(--hc-e-8); }
    .hc-entete-section > .hc-chapo { justify-self: end; }
  }
  .hc-collant { position: sticky; top: calc(var(--hc-entete-h) + var(--hc-e-5)); }

  /* ---------------------------------------------------------------- 4 TYPOGRAPHIE */
  :where(.hc-titre-geant, .hc-titre-1, .hc-titre-2, .hc-titre-3, .hc-titre-4, .hc-lecture) {
    font-family: var(--hc-police-titre); font-weight: var(--hc-titre-graisse);
    letter-spacing: var(--hc-titre-interlettrage); line-height: var(--hc-titre-interligne);
    text-transform: var(--hc-titre-casse); text-wrap: balance;
  }
  .hc-titre-geant { font-size: var(--hc-t-4xl); line-height: calc(var(--hc-titre-interligne) * .9); }
  .hc-titre-1 { font-size: var(--hc-t-3xl); }
  .hc-titre-2 { font-size: var(--hc-t-2xl); line-height: calc(var(--hc-titre-interligne) * 1.04); }
  .hc-titre-3 { font-size: var(--hc-t-xl); line-height: 1.12; letter-spacing: calc(var(--hc-titre-interlettrage) * .6); }
  .hc-titre-4 { font-size: var(--hc-t-l); line-height: 1.25; letter-spacing: calc(var(--hc-titre-interlettrage) * .4); }
  :is(.hc-titre-geant, .hc-titre-1, .hc-titre-2, .hc-titre-3, .hc-titre-4, .hc-lecture, .hc-citation) em {
    font-family: var(--hc-police-emphase); font-style: italic; font-weight: var(--hc-emphase-graisse);
    color: var(--hc-emphase-couleur); letter-spacing: -.01em; text-transform: none;
  }
  .hc-surtitre {
    display: inline-flex; align-items: center; gap: .8em;
    font-family: var(--hc-police-mono); font-size: var(--hc-t-xs); font-weight: 500;
    letter-spacing: .16em; text-transform: uppercase; color: var(--hc-encre-2);
  }
  .hc-surtitre::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .55; }
  .hc-surtitre--nu::before { display: none; }
  .hc-chapo { font-size: var(--hc-t-l); line-height: 1.5; color: var(--hc-encre-2); max-width: 40ch; text-wrap: pretty; }
  .hc-doux { color: var(--hc-encre-2); }
  .hc-discret { color: var(--hc-encre-3); }
  .hc-accentue { color: var(--hc-accent); }
  .hc-mono { font-family: var(--hc-police-mono); font-size: .9em; letter-spacing: .02em; }
  .hc-prose { max-width: 68ch; text-wrap: pretty; }
  .hc-prose > * + * { margin-top: 1.15em; }
  .hc-prose :is(h2, h3) { font-family: var(--hc-police-titre); font-weight: var(--hc-titre-graisse);
                          letter-spacing: calc(var(--hc-titre-interlettrage) * .5); line-height: 1.15; margin-top: 2.2em; }
  .hc-prose h2 { font-size: var(--hc-t-xl); }
  .hc-prose h3 { font-size: var(--hc-t-l); }
  .hc-prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
  .hc-prose a:hover { color: var(--hc-accent); }
  .hc-prose :is(ul, ol) { padding-left: 1.2em; }
  .hc-prose li + li { margin-top: .4em; }

  /* ---------------------------------------------------------------- 5 BOUTONS ET LIENS */
  .hc-icone { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.17em;
              fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
  .hc-icone--plein { fill: currentColor; stroke: none; }

  .hc-btn {
    --_fond: transparent; --_encre: var(--hc-encre); --_bord: var(--hc-ligne-forte);
    --_survol-fond: var(--hc-encre); --_survol-encre: var(--hc-fond); --_h: 3.25rem;
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: .75em;
    min-height: var(--_h); padding: 0 1.65em; border: 1px solid var(--_bord); border-radius: var(--hc-rayon-btn);
    background: var(--_fond); color: var(--_encre);
    font-family: var(--hc-police-texte); font-size: var(--hc-btn-taille); font-weight: 600; line-height: 1;
    letter-spacing: var(--hc-btn-interlettrage); text-transform: var(--hc-btn-casse); white-space: nowrap;
    max-width: 100%; cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none;
    transition: color .55s var(--hc-ease-sortie), border-color .55s var(--hc-ease-sortie), scale .25s var(--hc-ease-sortie);
  }
  .hc-btn::before {
    content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--_survol-fond);
    clip-path: circle(0% at var(--mx, 50%) var(--my, 110%));
    transition: clip-path .7s var(--hc-ease-sortie);
  }
  .hc-btn:hover { color: var(--_survol-encre); border-color: var(--_survol-fond); }
  .hc-btn:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 110%)); }
  .hc-btn:active { scale: .97; }
  .hc-btn:focus-visible { outline-offset: 4px; }
  .hc-btn .hc-icone { transition: transform .6s var(--hc-ease-sortie); }
  .hc-btn:hover .hc-icone { transform: translateX(.2em); }
  .hc-btn__libelle { display: inline-block; text-shadow: 0 var(--_h) 0 currentColor; transition: transform .6s var(--hc-ease-sortie); }
  .hc-btn:hover .hc-btn__libelle { transform: translateY(calc(-1 * var(--_h))); }
  .hc-btn--primaire { --_fond: var(--hc-accent); --_encre: var(--hc-sur-accent); --_bord: var(--hc-accent);
                      --_survol-fond: var(--hc-encre); --_survol-encre: var(--hc-fond); }
  .hc-btn--plein { --_fond: var(--hc-encre); --_encre: var(--hc-fond); --_bord: var(--hc-encre);
                   --_survol-fond: var(--hc-accent); --_survol-encre: var(--hc-sur-accent); }
  .hc-btn--contour { --_bord: var(--hc-ligne-forte); }
  .hc-btn--fantome { --_bord: transparent; --_survol-fond: var(--hc-voile); --_survol-encre: var(--hc-encre); }
  .hc-btn--verre { --_fond: color-mix(in oklab, var(--hc-fond-3) 55%, transparent); --_bord: var(--hc-ligne);
                   -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); }
  .hc-btn--petit { --_h: 2.6rem; padding: 0 1.25em; }
  .hc-btn--grand { --_h: 3.9rem; padding: 0 2.1em; }
  .hc-btn--icone { padding: 0; width: var(--_h); }
  .hc-btn--rond { --_h: 8.5rem; width: var(--_h); height: var(--_h); padding: 0; border-radius: 50%; flex-direction: column; gap: .4em;
                  white-space: normal; text-align: center; line-height: 1.2; }
  .hc-btn--rond .hc-btn__libelle { text-shadow: none; }
  .hc-btn--rond:hover .hc-btn__libelle { transform: none; }
  .hc-btn[aria-busy="true"] { pointer-events: none; opacity: .65; }
  .hc-btn:disabled { opacity: .45; pointer-events: none; }

  .hc-lien {
    background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0 1px;
    transition: background-size .6s var(--hc-ease-sortie); padding-bottom: .08em;
  }
  .hc-lien:hover, .hc-lien:focus-visible, .hc-lien[aria-current="page"] { background-position-x: 0; background-size: 100% 1px; }
  .hc-lien--present { background-size: 100% 1px; background-position-x: 0; }
  .hc-lien--present:hover { animation: hc-souligne 1s var(--hc-ease-sortie); }
  .hc-lien-fleche { display: inline-flex; align-items: center; gap: .6em; font-weight: 600; font-size: var(--hc-t-s); }
  .hc-lien-fleche .hc-icone { transition: transform .6s var(--hc-ease-sortie); }
  .hc-lien-fleche:hover .hc-icone { transform: translateX(.3em); }
  .hc-lien-fleche:hover .hc-lien { background-position-x: 0; background-size: 100% 1px; }

  .hc-rotatif { position: relative; display: inline-grid; place-items: center; width: 8.5rem; aspect-ratio: 1; border-radius: 50%; color: var(--hc-encre); }
  .hc-rotatif__texte { position: absolute; inset: 0; width: 100%; height: 100%; animation: hc-tourne 22s linear infinite;
                       font-family: var(--hc-police-mono); font-size: 8.4px; letter-spacing: .24em; text-transform: uppercase; fill: currentColor; }
  .hc-rotatif__centre { width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center;
                        background: var(--hc-accent); color: var(--hc-sur-accent); transition: scale .6s var(--hc-ease-sortie); }
  .hc-rotatif:hover .hc-rotatif__centre { scale: 1.12; }
  .hc-rotatif:hover .hc-rotatif__texte { animation-duration: 9s; }

  .hc-badge { display: inline-flex; align-items: center; gap: .5em; padding: .4em .85em; border-radius: 999px; border: 1px solid var(--hc-ligne);
              font-size: var(--hc-t-xs); font-weight: 600; letter-spacing: .04em; color: var(--hc-encre-2); background: var(--hc-voile); }
  .hc-badge--accent { background: var(--hc-accent-doux); border-color: transparent; color: var(--hc-encre); }
  .hc-badge__point { width: .5em; height: .5em; border-radius: 50%; background: var(--hc-accent); box-shadow: 0 0 0 0 var(--hc-accent); animation: hc-pulse 2.4s infinite; }

  /* ---------------------------------------------------------------- 6 NAVIGATION */
  .hc-evitement { position: fixed; left: 1rem; top: 1rem; z-index: 1000; padding: .8rem 1.2rem; border-radius: 6px;
                  background: var(--hc-encre); color: var(--hc-fond); font-weight: 600; transform: translateY(-200%); }
  .hc-evitement:focus { transform: none; }

  .hc-entete { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hc-entete-h); display: flex; align-items: center;
               color: var(--hc-encre); border-bottom: 1px solid transparent;
               transition: transform .7s var(--hc-ease-sortie), background-color .5s, border-color .5s, height .5s var(--hc-ease-sortie); }
  .hc-entete.est-defile { --hc-entete-h: 68px; background: color-mix(in oklab, var(--hc-fond) 80%, transparent); border-bottom-color: var(--hc-ligne);
                          -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); }
  .hc-entete.est-cache { transform: translateY(-101%); }
  .hc-entete__barre { display: flex; align-items: center; justify-content: space-between; gap: var(--hc-e-6); }
  .hc-entete__actions { display: flex; align-items: center; gap: var(--hc-e-3); }

  .hc-logo { display: inline-flex; align-items: center; gap: .6em; font-family: var(--hc-police-titre); font-weight: var(--hc-titre-graisse);
             font-size: 1.3rem; letter-spacing: calc(var(--hc-titre-interlettrage) * .5); text-transform: var(--hc-titre-casse); white-space: nowrap; line-height: 1; }
  .hc-logo__marque { width: .95em; height: .95em; background: var(--hc-accent); border-radius: calc(var(--hc-rayon) * .4);
                     transform: rotate(45deg) scale(.78); transition: transform .9s var(--hc-ease-sortie); flex: none; }
  .hc-logo:hover .hc-logo__marque { transform: rotate(225deg) scale(.78); }

  .hc-nav__liste { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.5rem); list-style: none; margin: 0; padding: 0; }
  .hc-nav__lien, .hc-nav__declencheur { font-size: var(--hc-t-s); font-weight: 500; color: var(--hc-encre); display: inline-flex; align-items: center; gap: .35em; padding-block: .4rem; }
  .hc-nav__declencheur .hc-icone { width: .9em; height: .9em; transition: transform .5s var(--hc-ease-sortie); }
  .hc-nav__declencheur[aria-expanded="true"] .hc-icone { transform: rotate(180deg); }
  .hc-nav__declencheur:hover, .hc-nav__declencheur[aria-expanded="true"] { color: var(--hc-accent); }

  .hc-panneau { position: absolute; left: 0; right: 0; top: 100%; background: var(--hc-fond-2); border-bottom: 1px solid var(--hc-ligne);
                padding-block: var(--hc-e-7); box-shadow: var(--hc-ombre-forte);
                opacity: 0; visibility: hidden; transform: translateY(-.75rem); clip-path: inset(0 0 100% 0);
                transition: opacity .35s var(--hc-ease-douce), transform .6s var(--hc-ease-sortie), clip-path .6s var(--hc-ease-sortie), visibility 0s linear .6s; }
  .hc-panneau.est-ouvert { opacity: 1; visibility: visible; transform: none; clip-path: inset(0 0 -2rem 0); transition-delay: 0s; }
  .hc-panneau__grille { display: grid; gap: var(--hc-e-7); grid-template-columns: 1fr 1.6fr 1fr; align-items: start; }
  .hc-panneau__liens { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem var(--hc-e-5); }
  .hc-panneau__lien { display: grid; gap: .15rem; padding: .85rem 1rem; border-radius: calc(var(--hc-rayon) * .7); transition: background-color .3s; }
  .hc-panneau__lien:hover { background: var(--hc-voile); }
  .hc-panneau__lien-titre { font-weight: 600; }
  .hc-panneau__lien-texte { font-size: var(--hc-t-s); color: var(--hc-encre-2); }
  .hc-panneau.est-ouvert .hc-panneau__liens > li { animation: hc-monte .7s var(--hc-ease-sortie) both; animation-delay: calc(var(--i, 0) * 40ms + 80ms); }

  .hc-burger { position: relative; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1px solid var(--hc-ligne-forte); display: grid; place-items: center; }
  .hc-burger > span { position: absolute; left: 50%; top: 50%; width: 1.1rem; height: 1.5px; background: currentColor; border-radius: 2px;
                      transition: transform .6s var(--hc-ease-sortie); }
  .hc-burger > span:first-child { transform: translate(-50%, calc(-50% - 3.5px)); }
  .hc-burger > span:last-child { transform: translate(-50%, calc(-50% + 3.5px)); }
  .hc-burger[aria-expanded="true"] > span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
  .hc-burger[aria-expanded="true"] > span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

  .hc-menu-mobile { position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column; justify-content: space-between; gap: var(--hc-e-7);
                    padding: calc(var(--hc-entete-h) + var(--hc-e-6)) var(--hc-gouttiere) var(--hc-e-6); background: var(--hc-fond); overflow-y: auto;
                    clip-path: inset(0 0 100% 0); visibility: hidden;
                    transition: clip-path .85s var(--hc-ease-entree-sortie), visibility 0s linear .85s; }
  .hc-menu-mobile.est-ouvert { clip-path: inset(0); visibility: visible; transition-delay: 0s; }
  .hc-menu-mobile__liste { display: grid; gap: .2rem; }
  .hc-menu-mobile__lien { display: block; overflow: hidden; font-family: var(--hc-police-titre); font-weight: var(--hc-titre-graisse);
                          font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.12; letter-spacing: var(--hc-titre-interlettrage); text-transform: var(--hc-titre-casse); }
  .hc-menu-mobile__lien > span { display: inline-block; transform: translateY(105%); transition: transform .8s var(--hc-ease-sortie); }
  .hc-menu-mobile.est-ouvert .hc-menu-mobile__lien > span { transform: none; transition-delay: calc(var(--i, 0) * 60ms + 280ms); }
  .hc-menu-mobile__lien[aria-current="page"] { color: var(--hc-accent); }
  .hc-menu-mobile__pied { display: grid; gap: var(--hc-e-5); opacity: 0; transition: opacity .6s .1s; }
  .hc-menu-mobile.est-ouvert .hc-menu-mobile__pied { opacity: 1; transition-delay: .6s; }

  @media (max-width: 1023.98px) { .hc-nav, .hc-entete__actions > .hc-btn { display: none; } }
  @media (min-width: 1024px) { .hc-burger, .hc-menu-mobile { display: none; } }

  .hc-progression { position: fixed; top: 0; left: 0; right: 0; z-index: 110; height: 2px; background: var(--hc-accent);
                    transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

  .hc-ariane { display: flex; flex-wrap: wrap; gap: .5em; font-size: var(--hc-t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--hc-encre-3); }
  .hc-ariane li + li::before { content: "/"; margin-right: .5em; opacity: .5; }
  .hc-ariane a:hover { color: var(--hc-encre); }

  /* ---------------------------------------------------------------- 7 HÉROS ET VISUELS */
  .hc-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
             min-height: min(100svh, 64rem); padding-block: calc(var(--hc-entete-h) + var(--hc-e-8)) var(--hc-e-8); }
  .hc-hero--centre { align-items: center; text-align: center; }
  .hc-hero--centre .hc-chapo { margin-inline: auto; }
  .hc-hero--page { min-height: auto; padding-block: calc(var(--hc-entete-h) + var(--hc-e-9)) var(--hc-e-8); }
  .hc-hero > .hc-conteneur { position: relative; }
  .hc-hero__titre { max-width: 15ch; }
  .hc-hero--centre .hc-hero__titre { margin-inline: auto; }
  .hc-hero__bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--hc-e-6); margin-top: var(--hc-e-7); }
  .hc-hero__media { position: absolute; inset: 0; z-index: -2; }
  .hc-hero__media > :is(img, video) { width: 100%; height: 100%; object-fit: cover; animation: hc-respire 2.4s var(--hc-ease-sortie) both; }
  .hc-hero__voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--hc-fond) 2%, color-mix(in oklab, var(--hc-fond) 55%, transparent) 45%, color-mix(in oklab, var(--hc-fond) 20%, transparent)); }

  .hc-indice { display: inline-flex; align-items: center; gap: .9rem; font-size: var(--hc-t-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--hc-encre-2); }
  .hc-indice__trait { position: relative; width: 1px; height: 3.25rem; background: var(--hc-ligne); overflow: hidden; }
  .hc-indice__trait::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--hc-encre); animation: hc-indice 2.2s var(--hc-ease-entree-sortie) infinite; }

  .hc-maille { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; opacity: var(--hc-maille-opacite); }
  .hc-maille::before, .hc-maille::after, .hc-maille > span { content: ""; position: absolute; border-radius: 50%; filter: blur(clamp(50px, 8vw, 110px)); will-change: transform; }
  .hc-maille::before { width: 62vmax; height: 62vmax; left: -18vmax; top: -24vmax; background: var(--hc-maille-2); animation: hc-derive-1 24s var(--hc-ease-douce) infinite alternate; }
  .hc-maille::after { width: 58vmax; height: 58vmax; right: -20vmax; bottom: -26vmax; background: var(--hc-maille-1); animation: hc-derive-2 28s var(--hc-ease-douce) infinite alternate; }
  .hc-hero > .hc-maille { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
  .hc-maille > span { width: 36vmax; height: 36vmax; left: 46%; top: 22%; background: var(--hc-maille-3); animation: hc-derive-3 32s var(--hc-ease-douce) infinite alternate; }
  .hc-quadrillage { position: absolute; inset: 0; z-index: -1; pointer-events: none;
                    background-image: linear-gradient(var(--hc-ligne) 1px, transparent 1px), linear-gradient(90deg, var(--hc-ligne) 1px, transparent 1px);
                    background-size: var(--pas, 76px) var(--pas, 76px); background-position: center top;
                    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 25%, transparent 78%);
                    mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 25%, transparent 78%); }

  .hc-cadre { position: relative; overflow: hidden; border-radius: var(--hc-rayon); isolation: isolate; }
  .hc-cadre > [data-hc-parallaxe] { scale: 1.16; }

  .hc-visuel { position: relative; width: 100%; aspect-ratio: var(--ratio, 4 / 3); overflow: hidden; background-color: var(--hc-fond-3); border-radius: inherit; }
  .hc-visuel > :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hc-visuel[data-legende]::after { content: attr(data-legende); position: absolute; left: 1.1rem; bottom: 1rem; z-index: 2;
                                    font-family: var(--hc-police-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--hc-encre); opacity: .55; }
  .hc-visuel--maille { background:
      radial-gradient(at 18% 22%, var(--hc-maille-2) 0, transparent 52%),
      radial-gradient(at 82% 12%, var(--hc-maille-3) 0, transparent 48%),
      radial-gradient(at 70% 82%, var(--hc-maille-1) 0, transparent 56%),
      radial-gradient(at 12% 92%, color-mix(in oklab, var(--hc-accent) 45%, transparent) 0, transparent 40%), var(--hc-fond-3); }
  .hc-visuel--architecture { background:
      linear-gradient(118deg, transparent 0 46%, color-mix(in oklab, var(--hc-accent) 55%, transparent) 46% 46.4%, transparent 46.4%),
      repeating-linear-gradient(90deg, color-mix(in oklab, var(--hc-encre) 10%, transparent) 0 1px, transparent 1px 8.33%),
      repeating-linear-gradient(0deg, color-mix(in oklab, var(--hc-encre) 7%, transparent) 0 1px, transparent 1px 6.25%),
      linear-gradient(165deg, var(--hc-fond-3) 10%, var(--hc-maille-1) 95%); }
  .hc-visuel--orbite { background:
      radial-gradient(circle at 68% 58%, var(--hc-accent) 0 5%, transparent 5.4%),
      repeating-radial-gradient(circle at 68% 58%, transparent 0 26px, color-mix(in oklab, var(--hc-encre) 13%, transparent) 26px 27px),
      radial-gradient(circle at 68% 58%, color-mix(in oklab, var(--hc-accent) 30%, transparent) 0, transparent 45%),
      linear-gradient(200deg, var(--hc-fond-3), var(--hc-maille-1)); }
  .hc-visuel--aube { background:
      radial-gradient(circle at 50% 112%, var(--hc-accent) 0 18%, color-mix(in oklab, var(--hc-accent) 40%, transparent) 30%, transparent 58%),
      repeating-linear-gradient(0deg, color-mix(in oklab, var(--hc-fond) 30%, transparent) 0 2px, transparent 2px 14px),
      linear-gradient(to top, var(--hc-maille-2), var(--hc-fond-3) 85%); }
  .hc-visuel--motif { --_c: color-mix(in oklab, var(--hc-accent) 70%, transparent); --_d: color-mix(in oklab, var(--hc-accent-2) 55%, transparent); background:
      linear-gradient(135deg, var(--_c) 25%, transparent 25%) -32px 0 / 64px 64px,
      linear-gradient(225deg, var(--_d) 25%, transparent 25%) -32px 0 / 64px 64px,
      linear-gradient(315deg, var(--_c) 25%, transparent 25%) 0 0 / 64px 64px,
      linear-gradient(45deg, var(--_d) 25%, transparent 25%) 0 0 / 64px 64px, var(--hc-fond-3); }
  .hc-visuel--motif::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 30%, transparent 20%, var(--hc-fond-3) 85%); }
  .hc-visuel--grain::before { content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }

  .hc-grain::after { content: ""; position: fixed; inset: 0; z-index: 9990; pointer-events: none; opacity: var(--hc-grain);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }

  /* Défilement de logos */
  .hc-defile { --vitesse: 42s; --ecart: var(--hc-e-8); display: flex; overflow: hidden; user-select: none;
               -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
  .hc-defile__piste { display: flex; flex: none; align-items: center; justify-content: space-around; gap: var(--ecart); min-width: 100%; padding-right: var(--ecart); }
  .hc-defile.est-pret .hc-defile__piste { animation: hc-defile var(--vitesse) linear infinite; }
  .hc-defile--inverse.est-pret .hc-defile__piste { animation-direction: reverse; }
  .hc-defile:hover .hc-defile__piste { animation-play-state: paused; }
  .hc-marque-client { font-family: var(--hc-police-titre); font-size: var(--hc-t-xl); font-weight: 600; white-space: nowrap; color: var(--hc-encre); opacity: .5;
                      letter-spacing: -.02em; transition: opacity .4s; text-transform: none; }
  .hc-marque-client:hover { opacity: 1; }
  .hc-marque-client--a { font-family: var(--hc-police-texte); font-weight: 700; letter-spacing: .28em; text-transform: uppercase; font-size: var(--hc-t-m); }
  .hc-marque-client--b { font-family: var(--hc-police-emphase); font-style: italic; font-weight: 400; }
  .hc-marque-client--c { font-family: var(--hc-police-mono); font-weight: 500; letter-spacing: .04em; font-size: var(--hc-t-l); }

  /* ---------------------------------------------------------------- 8 ANIMATIONS AU DÉFILEMENT */
  .hc-js [data-hc-reveler] {
    transition: opacity var(--hc-duree) var(--hc-ease) var(--hc-delai, 0ms), transform var(--hc-duree) var(--hc-ease) var(--hc-delai, 0ms),
                clip-path calc(var(--hc-duree) * 1.25) var(--hc-ease-entree-sortie) var(--hc-delai, 0ms), filter var(--hc-duree) var(--hc-ease) var(--hc-delai, 0ms);
  }
  .hc-js [data-hc-reveler]:not(.hc-vu) { opacity: 0; }
  .hc-js :is([data-hc-reveler=""], [data-hc-reveler="monter"]):not(.hc-vu) { transform: translateY(2.75rem); }
  .hc-js [data-hc-reveler="descendre"]:not(.hc-vu) { transform: translateY(-2rem); }
  .hc-js [data-hc-reveler="gauche"]:not(.hc-vu) { transform: translateX(-3rem); }
  .hc-js [data-hc-reveler="droite"]:not(.hc-vu) { transform: translateX(3rem); }
  .hc-js [data-hc-reveler="echelle"]:not(.hc-vu) { transform: scale(.92); }
  .hc-js [data-hc-reveler="flou"]:not(.hc-vu) { filter: blur(14px); transform: translateY(1rem); }
  .hc-js [data-hc-reveler="masque"]:not(.hc-vu) { opacity: 1; clip-path: inset(0 0 100% 0); transform: translateY(2rem); }
  .hc-js [data-hc-reveler="masque"].hc-vu { clip-path: inset(0 0 -10% 0); }
  .hc-js [data-hc-reveler="rideau"]:not(.hc-vu) { opacity: 1; clip-path: inset(0 100% 0 0); }
  .hc-js [data-hc-reveler="rideau"].hc-vu { clip-path: inset(0); }
  .hc-js [data-hc-reveler="rideau"] > * { transition: transform calc(var(--hc-duree) * 1.8) var(--hc-ease) var(--hc-delai, 0ms); }
  .hc-js [data-hc-reveler="rideau"]:not(.hc-vu) > * { transform: scale(1.25); }

  /* Texte découpé (data-hc-texte) */
  .hc-decoupe .hc-mot { display: inline-block; overflow: clip; vertical-align: top; padding: 0 .06em .12em; margin: 0 -.06em -.12em; }
  .hc-decoupe .hc-mot__int { display: inline-block; transform: translateY(108%) rotate(3deg); transform-origin: 0 100%;
                             transition: transform calc(var(--hc-duree) * 1.15) var(--hc-ease) calc(var(--hc-delai, 0ms) + var(--i, 0) * var(--hc-cascade-mot, 45ms)); }
  .hc-decoupe.hc-vu .hc-mot__int { transform: none; }
  .hc-decoupe .hc-mot--lettres { display: inline-block; white-space: nowrap; }
  .hc-decoupe .hc-lettre { display: inline-block; opacity: 0; transform: translateY(.35em) scale(.96); filter: blur(8px);
                           transition: opacity .7s var(--hc-ease-douce), transform .9s var(--hc-ease), filter .9s var(--hc-ease);
                           transition-delay: calc(var(--hc-delai, 0ms) + var(--i, 0) * 24ms); }
  .hc-decoupe.hc-vu .hc-lettre { opacity: 1; transform: none; filter: none; }

  /* Texte qui s'allume en lisant */
  .hc-lecture { font-size: var(--hc-t-2xl); line-height: 1.14; text-wrap: pretty; max-width: 26ch; }
  .hc-js .hc-lecture .hc-mot-l { opacity: clamp(.14, calc(var(--p, 0) * var(--n, 1) * 1.15 - var(--i, 0)), 1); transition: opacity .25s linear; }

  /* Zoom au défilement */
  .hc-zoom { position: relative; }
  .hc-zoom__media { position: relative; height: min(92svh, 58rem); overflow: hidden; isolation: isolate;
                    clip-path: inset(calc((1 - var(--p, 1)) * 12%) calc((1 - var(--p, 1)) * 16%) round calc((1 - var(--p, 1)) * 3rem)); }
  .hc-zoom__media > :is(img, video, .hc-visuel) { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; scale: calc(1.18 - var(--p, 1) * .18); }
  .hc-zoom__contenu { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; text-align: center; padding: var(--hc-gouttiere);
                      opacity: clamp(0, calc(var(--p, 1) * 2.2 - 1.2), 1); color: var(--hc-encre); }

  /* Défilement horizontal épinglé */
  .hc-horizontal { position: relative; }
  .hc-horizontal__collant { display: flex; flex-direction: column; justify-content: center; gap: var(--hc-e-7); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hc-horizontal__collant::-webkit-scrollbar { display: none; }
  .hc-horizontal__piste { display: flex; gap: var(--hc-e-5); width: max-content; padding-inline: var(--hc-gouttiere); }
  .hc-horizontal__piste > * { flex: none; width: min(82vw, 30rem); scroll-snap-align: center; }
  .hc-horizontal.est-actif .hc-horizontal__collant { position: sticky; top: 0; height: 100svh; overflow: hidden; scroll-snap-type: none; }
  .hc-horizontal.est-actif .hc-horizontal__piste { will-change: transform; padding-inline: max(var(--hc-gouttiere), calc((100vw - var(--hc-largeur)) / 2)); }
  .hc-horizontal.est-actif .hc-horizontal__piste > * { width: min(30rem, 42svh); } /* la carte 4:5 tient dans l'écran épinglé */

  /* Frise chronologique */
  .hc-frise { --p: 1; position: relative; list-style: none; margin: 0; padding: 0 0 0 2.75rem; display: grid; gap: var(--hc-e-8); }
  .hc-frise::before, .hc-frise::after { content: ""; position: absolute; left: .45rem; top: .4rem; bottom: .4rem; width: 1px; background: var(--hc-ligne); }
  .hc-frise::after { background: var(--hc-accent); transform-origin: 50% 0; transform: scaleY(var(--p)); }
  .hc-frise__etape { position: relative; display: grid; gap: var(--hc-e-3); }
  .hc-frise__etape::before { content: ""; position: absolute; left: calc(-2.75rem + .45rem - 6px); top: .55em; width: 13px; height: 13px; border-radius: 50%;
                             background: var(--hc-fond); border: 1px solid var(--hc-accent); z-index: 1; }
  .hc-frise__annee { font-family: var(--hc-police-titre); font-weight: var(--hc-titre-graisse); font-size: var(--hc-t-xl); line-height: 1; color: var(--hc-accent); letter-spacing: -.02em; }
  @media (min-width: 900px) { .hc-frise__etape { grid-template-columns: 11rem minmax(0, 1fr); column-gap: var(--hc-e-7); } .hc-frise__etape > :not(.hc-frise__annee) { grid-column: 2; } .hc-frise__annee { grid-row: span 3; } }

  /* Chiffres clés */
  .hc-chiffres { display: grid; gap: var(--hc-e-6) var(--hc-e-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); }
  .hc-chiffre { display: grid; gap: var(--hc-e-3); align-content: start; }
  .hc-chiffre::before { content: ""; height: 1px; background: var(--hc-ligne-forte); margin-bottom: var(--hc-e-4); transform-origin: 0 50%; }
  .hc-js .hc-chiffre[data-hc-reveler]::before { transform: scaleX(0); transition: transform 1.5s var(--hc-ease) var(--hc-delai, 0ms); }
  .hc-js .hc-chiffre[data-hc-reveler].hc-vu::before { transform: none; }
  .hc-chiffre__valeur { font-family: var(--hc-police-titre); font-weight: var(--hc-titre-graisse); font-size: var(--hc-t-3xl); line-height: .95;
                        letter-spacing: var(--hc-titre-interlettrage); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
  .hc-chiffre__valeur [data-hc-compteur] { display: inline-block; }
  .hc-chiffre__unite { font-size: .45em; letter-spacing: 0; margin-left: .12em; color: var(--hc-accent); }
  .hc-chiffre__libelle { color: var(--hc-encre-2); font-size: var(--hc-t-s); max-width: 24ch; }

  /* ---------------------------------------------------------------- 9 CARTES */
  .hc-carte { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: var(--hc-e-4);
              padding: clamp(1.5rem, 1rem + 1.5vw, 2.4rem); background: var(--hc-carte-fond); border: 1px solid var(--hc-ligne); border-radius: var(--hc-rayon);
              -webkit-backdrop-filter: blur(var(--hc-carte-flou)); backdrop-filter: blur(var(--hc-carte-flou));
              transition: transform .7s var(--hc-ease-sortie), border-color .5s, background-color .5s; }
  :is(a.hc-carte, .hc-carte--survol):hover { transform: translateY(-5px); border-color: var(--hc-ligne-forte); }
  .hc-carte__icone { width: 3.1rem; height: 3.1rem; display: grid; place-items: center; border-radius: calc(var(--hc-rayon) * .6 + 4px);
                     border: 1px solid var(--hc-ligne); color: var(--hc-accent); background: var(--hc-voile); font-size: 1.25rem; }
  .hc-carte__titre { font-family: var(--hc-police-titre); font-weight: var(--hc-titre-graisse); font-size: var(--hc-t-l); line-height: 1.2;
                     letter-spacing: calc(var(--hc-titre-interlettrage) * .4); text-transform: var(--hc-titre-casse); }
  .hc-carte__texte { color: var(--hc-encre-2); font-size: var(--hc-t-s); line-height: 1.6; }
  .hc-carte__pied { margin-top: auto; padding-top: var(--hc-e-4); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .hc-carte__fleche { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--hc-ligne-forte); display: grid; place-items: center; transition: background-color .5s, color .5s, transform .7s var(--hc-ease-sortie); }
  a.hc-carte:hover .hc-carte__fleche { background: var(--hc-accent); color: var(--hc-sur-accent); border-color: var(--hc-accent); transform: rotate(-45deg); }
  .hc-carte--vedette { background: var(--hc-accent); color: var(--hc-sur-accent); border-color: transparent; }
  .hc-carte--vedette :is(.hc-carte__texte, .hc-carte__icone) { color: inherit; }
  .hc-carte--vedette .hc-carte__icone { border-color: color-mix(in oklab, currentColor 30%, transparent); background: transparent; }

  /* Projecteur : halo qui suit le pointeur, bordure qui s'allume */
  :is([data-hc-projecteur] .hc-carte, .hc-carte[data-hc-projecteur])::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s;
    background: radial-gradient(520px circle at var(--x, -999px) var(--y, -999px), var(--hc-accent-doux), transparent 42%); }
  :is([data-hc-projecteur] .hc-carte, .hc-carte[data-hc-projecteur])::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .5s;
    background: radial-gradient(360px circle at var(--x, -999px) var(--y, -999px), var(--hc-accent), transparent 45%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
  [data-hc-projecteur]:hover .hc-carte::before, [data-hc-projecteur]:hover .hc-carte::after,
  .hc-carte[data-hc-projecteur]:hover::before, .hc-carte[data-hc-projecteur]:hover::after { opacity: 1; }

  /* Inclinaison 3D */
  [data-hc-incliner] { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; will-change: transform; }
  .hc-reflet { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: var(--reflet, 0); transition: opacity .5s;
               background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .28), transparent 55%); mix-blend-mode: soft-light; }

  /* Carte média (image, réalisation) */
  .hc-carte-media { position: relative; display: block; isolation: isolate; overflow: hidden; border-radius: var(--hc-rayon); color: #FFFFFF; background: var(--hc-fond-3); }
  .hc-carte-media__media { position: relative; aspect-ratio: var(--ratio, 4 / 5); overflow: hidden; }
  .hc-carte-media .hc-visuel[data-legende]::after { top: 1rem; bottom: auto; color: #FFFFFF; }
  .hc-carte-media__media > * { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transition: transform 1.4s var(--hc-ease-sortie), filter .8s; }
  .hc-carte-media:hover .hc-carte-media__media > * { transform: scale(1.06); }
  .hc-carte-media__legende { position: absolute; inset: auto 0 0; z-index: 2; display: grid; gap: .35rem; padding: clamp(1.25rem, 1rem + 1vw, 2rem);
                             background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0)); }
  .hc-carte-media__meta { font-family: var(--hc-police-mono); font-size: var(--hc-t-xs); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
  .hc-carte-media__titre { font-family: var(--hc-police-titre); font-weight: var(--hc-titre-graisse); font-size: var(--hc-t-xl); line-height: 1.05;
                           letter-spacing: calc(var(--hc-titre-interlettrage) * .6); text-transform: var(--hc-titre-casse); transition: transform .8s var(--hc-ease-sortie); }
  .hc-carte-media__plus { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .7s var(--hc-ease-sortie), opacity .5s; font-size: var(--hc-t-s); }
  .hc-carte-media__plus > * { overflow: hidden; }
  .hc-carte-media:hover .hc-carte-media__plus, .hc-carte-media:focus-visible .hc-carte-media__plus { grid-template-rows: 1fr; opacity: .85; }

  /* Grille bento */
  .hc-bento { display: grid; gap: var(--hc-e-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
  @media (min-width: 960px) {
    .hc-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(15rem, auto); }
    .hc-bento > * { grid-column: span 2; }
    .hc-bento > .hc-bento--large { grid-column: span 4; }
    .hc-bento > .hc-bento--moitie { grid-column: span 3; }
    .hc-bento > .hc-bento--entier { grid-column: 1 / -1; }
    .hc-bento > .hc-bento--haut { grid-row: span 2; }
  }

  /* Citation, témoignage, avatar */
  .hc-citation { font-family: var(--hc-police-titre); font-weight: var(--hc-titre-graisse); font-size: var(--hc-t-xl); line-height: 1.22;
                 letter-spacing: calc(var(--hc-titre-interlettrage) * .5); text-wrap: balance; }
  .hc-citation__signe { width: 2.6rem; height: 2.6rem; color: var(--hc-accent); margin-bottom: var(--hc-e-5); }
  .hc-auteur { display: flex; align-items: center; gap: .9rem; margin-top: var(--hc-e-6); }
  .hc-auteur__nom { font-weight: 600; }
  .hc-auteur__role { font-size: var(--hc-t-s); color: var(--hc-encre-2); }
  .hc-avatar { width: 3.2rem; height: 3.2rem; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden;
               background: var(--hc-accent-doux); color: var(--hc-accent); font-weight: 600; font-size: .95rem; letter-spacing: .04em; }
  .hc-avatar > img { width: 100%; height: 100%; object-fit: cover; }

  /* Équipe */
  .hc-personne { display: grid; gap: .3rem; }
  .hc-personne__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--hc-rayon); overflow: hidden; margin-bottom: var(--hc-e-3); background: var(--hc-fond-3); }
  .hc-personne__photo > * { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; filter: grayscale(1) contrast(1.05);
                            transition: filter .8s var(--hc-ease-sortie), transform 1.2s var(--hc-ease-sortie); }
  .hc-personne:hover .hc-personne__photo > * { filter: none; transform: scale(1.04); }
  .hc-personne__nom { font-family: var(--hc-police-titre); font-weight: var(--hc-titre-graisse); font-size: var(--hc-t-l); line-height: 1.2; text-transform: var(--hc-titre-casse); }
  .hc-personne__role { font-size: var(--hc-t-s); color: var(--hc-encre-2); }

  /* Offres / formules */
  .hc-offre { position: relative; display: flex; flex-direction: column; gap: var(--hc-e-5); padding: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem);
              border: 1px solid var(--hc-ligne); border-radius: var(--hc-rayon); background: var(--hc-carte-fond); }
  .hc-offre--vedette { border-color: var(--hc-accent); box-shadow: 0 0 0 1px var(--hc-accent), var(--hc-ombre-forte); }
  .hc-offre__badge { position: absolute; top: -.8rem; left: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); }
  .hc-offre__prix { font-family: var(--hc-police-titre); font-weight: var(--hc-titre-graisse); font-size: var(--hc-t-2xl); line-height: 1; letter-spacing: var(--hc-titre-interlettrage); }
  .hc-offre__prix small { font-family: var(--hc-police-texte); font-size: var(--hc-t-s); font-weight: 400; color: var(--hc-encre-2); letter-spacing: 0; }
  .hc-offre ul { display: grid; gap: .7rem; font-size: var(--hc-t-s); color: var(--hc-encre-2); }
  .hc-offre li { display: flex; gap: .6rem; align-items: flex-start; }
  .hc-offre li .hc-icone { color: var(--hc-accent); margin-top: .1em; }
  .hc-offre .hc-btn { margin-top: auto; }
  [data-hc-varie].est-change { animation: hc-roule .6s var(--hc-ease-sortie); }

  /* ---------------------------------------------------------------- 10 WIDGETS */
  /* Accordéon (sur <details>) */
  .hc-accordeons { border-bottom: 1px solid var(--hc-ligne); }
  .hc-accordeon { border-top: 1px solid var(--hc-ligne); }
  .hc-accordeon > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--hc-e-5);
                            padding-block: var(--hc-e-5); cursor: pointer; font-family: var(--hc-police-titre); font-weight: var(--hc-titre-graisse);
                            font-size: var(--hc-t-l); line-height: 1.25; letter-spacing: calc(var(--hc-titre-interlettrage) * .3); text-transform: var(--hc-titre-casse); }
  .hc-accordeon > summary::-webkit-details-marker { display: none; }
  .hc-accordeon > summary:focus-visible { outline-offset: -2px; }
  .hc-accordeon__signe { position: relative; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--hc-ligne-forte);
                         transition: background-color .45s, color .45s, border-color .45s, rotate .7s var(--hc-ease-sortie); }
  .hc-accordeon__signe::before, .hc-accordeon__signe::after { content: ""; position: absolute; left: 50%; top: 50%; width: .85rem; height: 1.5px; background: currentColor;
                                                              translate: -50% -50%; transition: rotate .6s var(--hc-ease-sortie); }
  .hc-accordeon__signe::after { rotate: 90deg; }
  .hc-accordeon[open] .hc-accordeon__signe { rotate: 180deg; background: var(--hc-encre); color: var(--hc-fond); border-color: var(--hc-encre); }
  .hc-accordeon[open] .hc-accordeon__signe::after { rotate: 0deg; }
  summary:hover .hc-accordeon__signe { border-color: var(--hc-encre); }
  .hc-accordeon__corps { padding-bottom: var(--hc-e-6); color: var(--hc-encre-2); max-width: 64ch; }
  .hc-accordeon[open] .hc-accordeon__corps { animation: hc-apparait .7s var(--hc-ease-sortie); }

  /* Onglets et sélecteur à pastille */
  :is(.hc-onglets__liste, .hc-segments) { position: relative; display: flex; gap: .2rem; width: max-content; max-width: 100%; padding: .3rem;
                                           border: 1px solid var(--hc-ligne); border-radius: calc(var(--hc-rayon-btn) + .3rem); background: var(--hc-voile);
                                           overflow-x: auto; scrollbar-width: none; }
  :is(.hc-onglets__liste, .hc-segments) > button { position: relative; z-index: 1; padding: .75rem 1.35rem; border-radius: var(--hc-rayon-btn); white-space: nowrap;
                                                    font-size: var(--hc-t-s); font-weight: 600; color: var(--hc-encre-2); transition: color .45s; }
  :is(.hc-onglets__liste, .hc-segments) > button:hover { color: var(--hc-encre); }
  :is(.hc-onglets__liste, .hc-segments) > :is([aria-selected="true"], [aria-pressed="true"]) { color: var(--hc-sur-accent); }
  :is(.hc-onglets__liste, .hc-segments) > button:focus-visible { outline-offset: -2px; }
  .hc-onglets__indicateur { position: absolute; z-index: 0; top: .3rem; bottom: .3rem; left: 0; width: 0; border-radius: var(--hc-rayon-btn); background: var(--hc-accent);
                            transition: transform .7s var(--hc-ease-ressort), width .7s var(--hc-ease-ressort); }
  .hc-onglets__panneau { padding-top: var(--hc-e-7); }
  .hc-onglets__panneau:not([hidden]) { animation: hc-apparait .7s var(--hc-ease-sortie); }
  .hc-onglets__panneau:focus-visible { outline-offset: 6px; }

  /* Carrousel */
  .hc-carrousel { position: relative; min-width: 0; }
  .hc-carrousel__piste { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: var(--largeur-diapo, 100%); gap: var(--hc-e-5);
                         overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; }
  .hc-carrousel__piste::-webkit-scrollbar { display: none; }
  .hc-carrousel__piste.est-glisse { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
  .hc-carrousel__piste:focus-visible { outline-offset: 6px; }
  .hc-carrousel__diapo { scroll-snap-align: start; min-width: 0; }
  .hc-carrousel__commandes { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--hc-e-4) var(--hc-e-5); margin-top: var(--hc-e-6); }
  @media (max-width: 599.98px) { .hc-carrousel__points { display: none; } }
  .hc-carrousel__fleches { display: flex; gap: .6rem; }
  .hc-carrousel__fleche { width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 1px solid var(--hc-ligne-forte); display: grid; place-items: center;
                          transition: background-color .4s, color .4s, border-color .4s, opacity .3s; }
  .hc-carrousel__fleche:hover:not(:disabled) { background: var(--hc-encre); color: var(--hc-fond); border-color: var(--hc-encre); }
  .hc-carrousel__fleche:disabled { opacity: .3; cursor: default; }
  .hc-carrousel__points { display: flex; gap: .35rem; }
  .hc-carrousel__points > button { position: relative; width: 2.2rem; height: 1.6rem; }
  .hc-carrousel__points > button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--hc-ligne-forte);
                                           transform-origin: 0 50%; transition: background-color .4s, scale .6s var(--hc-ease-sortie); }
  .hc-carrousel__points > button[aria-current="true"]::before { background: var(--hc-encre); }
  .hc-carrousel__compteur { font-family: var(--hc-police-mono); font-size: var(--hc-t-xs); letter-spacing: .12em; color: var(--hc-encre-2); font-variant-numeric: tabular-nums; }

  /* Comparateur avant / après */
  .hc-avant-apres { --pos: 50%; position: relative; overflow: hidden; isolation: isolate; aspect-ratio: var(--ratio, 16 / 9); border-radius: var(--hc-rayon); user-select: none; touch-action: pan-y; }
  .hc-avant-apres__couche { position: absolute; inset: 0; }
  .hc-avant-apres__couche > * { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
  .hc-avant-apres__couche--avant { z-index: 1; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
  .hc-avant-apres__etiquette { position: absolute; top: 1rem; z-index: 2; padding: .35rem .7rem; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #FFFFFF;
                               font-size: var(--hc-t-xs); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
  .hc-avant-apres__couche--avant .hc-avant-apres__etiquette { left: 1rem; }
  .hc-avant-apres__couche--apres .hc-avant-apres__etiquette { right: 1rem; }
  .hc-avant-apres > input[type="range"] { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
  .hc-avant-apres__poignee { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; background: #FFFFFF; translate: -50% 0; pointer-events: none; }
  .hc-avant-apres__poignee::after { content: ""; position: absolute; top: 50%; left: 50%; width: 3.2rem; height: 3.2rem; translate: -50% -50%; border-radius: 50%;
                                    background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 1.3rem no-repeat;
                                    box-shadow: 0 6px 24px rgba(0, 0, 0, .3); }
  .hc-avant-apres:has(input:focus-visible) .hc-avant-apres__poignee::after { outline: 3px solid var(--hc-accent); outline-offset: 3px; }

  /* Infobulle */
  .hc-info { position: relative; display: inline-grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; border: 1px solid var(--hc-ligne-forte);
             font-size: .72rem; font-weight: 700; vertical-align: middle; color: var(--hc-encre-2); cursor: help; }
  .hc-info__bulle { position: absolute; bottom: calc(100% + .7rem); left: 50%; z-index: 20; width: max-content; max-width: 17rem; padding: .65rem .85rem;
                    border-radius: calc(var(--hc-rayon) * .5 + 4px); background: var(--hc-encre); color: var(--hc-fond); box-shadow: var(--hc-ombre);
                    font-size: var(--hc-t-xs); font-weight: 400; line-height: 1.45; text-align: left; letter-spacing: 0; text-transform: none;
                    opacity: 0; visibility: hidden; translate: -50% .35rem; pointer-events: none;
                    transition: opacity .3s, translate .5s var(--hc-ease-sortie), visibility 0s linear .3s; }
  .hc-info:is(:hover, :focus-visible) .hc-info__bulle { opacity: 1; visibility: visible; translate: -50% 0; transition-delay: 0s; }
  .hc-info.est-masque .hc-info__bulle { opacity: 0; visibility: hidden; }

  /* Modale et tiroir (sur <dialog>) */
  .hc-modale { width: 100%; max-width: min(100% - 2 * var(--hc-gouttiere), 58rem); max-height: calc(100svh - 3rem); padding: 0; border: 0;
               background: transparent; color: var(--hc-encre); overflow: visible; }
  .hc-modale::backdrop { background: rgba(6, 6, 8, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .hc-modale__boite { position: relative; max-height: calc(100svh - 3rem); overflow: auto; padding: clamp(1.75rem, 1rem + 2.5vw, 3.5rem);
                      background: var(--hc-fond-2); border: 1px solid var(--hc-ligne); border-radius: calc(var(--hc-rayon) * 1.4); box-shadow: var(--hc-ombre-forte); }
  .hc-modale__boite--media { padding: 0; overflow: hidden; background: #000; }
  .hc-modale[open] { animation: hc-modale-entree .7s var(--hc-ease-sortie); }
  .hc-modale[open]::backdrop { animation: hc-fondu .45s ease-out; }
  .hc-modale.est-fermeture { animation: hc-modale-sortie .38s var(--hc-ease-douce) forwards; }
  .hc-modale.est-fermeture::backdrop { animation: hc-fondu-sortie .38s ease-in forwards; }
  .hc-modale--tiroir { margin: 0 0 0 auto; height: 100svh; max-height: 100svh; max-width: min(100%, 34rem); }
  .hc-modale--tiroir .hc-modale__boite { height: 100%; max-height: none; border-radius: 0; border-width: 0 0 0 1px; }
  .hc-modale--tiroir[open] { animation: hc-tiroir-entree .75s var(--hc-ease-sortie); }
  .hc-modale--tiroir.est-fermeture { animation: hc-tiroir-sortie .42s var(--hc-ease-douce) forwards; }
  .hc-fermer { position: absolute; top: 1rem; right: 1rem; z-index: 5; width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center;
               background: var(--hc-fond-3); border: 1px solid var(--hc-ligne); color: var(--hc-encre); transition: rotate .6s var(--hc-ease-sortie), background-color .3s; }
  .hc-fermer:hover { rotate: 90deg; }
  html:has(dialog.hc-modale[open]), html.hc-verrou { overflow: hidden; }

  /* Notifications */
  .hc-toasts { position: fixed; z-index: 220; top: calc(var(--hc-entete-h) + 1rem); right: var(--hc-gouttiere); display: flex; flex-direction: column; gap: .6rem;
               width: min(24rem, 100% - 2 * var(--hc-gouttiere)); pointer-events: none; }
  .hc-toast { pointer-events: auto; display: flex; align-items: flex-start; gap: .8rem; padding: 1rem 1rem 1rem 1.1rem; border-radius: calc(var(--hc-rayon) * .7 + 4px);
              background: var(--hc-encre); color: var(--hc-fond); box-shadow: var(--hc-ombre-forte); font-size: var(--hc-t-s); line-height: 1.45;
              animation: hc-toast-entree .7s var(--hc-ease-ressort); }
  .hc-toast.est-sortie { animation: hc-toast-sortie .38s var(--hc-ease-douce) forwards; }
  .hc-toast__icone { margin-top: .1em; color: var(--hc-accent); }
  .hc-toast--succes .hc-toast__icone { color: var(--hc-succes); }
  .hc-toast--erreur .hc-toast__icone { color: var(--hc-erreur); }
  .hc-toast__texte { flex: 1; }
  .hc-toast__fermer { opacity: .6; transition: opacity .3s; }
  .hc-toast__fermer:hover { opacity: 1; }

  /* ---------------------------------------------------------------- 11 FORMULAIRES */
  .hc-form { display: grid; gap: var(--hc-e-4); }
  .hc-form__ligne { display: grid; gap: var(--hc-e-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
  .hc-champ { position: relative; }
  .hc-champ :is(input, textarea, select) { width: 100%; min-height: 3.75rem; padding: 1.55rem 1.05rem .55rem; appearance: none;
                                           background: var(--hc-fond-2); border: 1px solid var(--hc-ligne); border-radius: calc(var(--hc-rayon) * .6 + 2px);
                                           color: var(--hc-encre); font-size: var(--hc-t-m); line-height: 1.4;
                                           transition: border-color .3s, box-shadow .4s, background-color .3s; }
  .hc-champ textarea { min-height: 10rem; resize: vertical; padding-top: 1.85rem; }
  .hc-champ :is(input, textarea, select):hover { border-color: var(--hc-ligne-forte); }
  .hc-champ :is(input, textarea, select):focus { outline: none; border-color: var(--hc-accent); box-shadow: 0 0 0 4px var(--hc-accent-doux); background-color: var(--hc-fond-3); }
  .hc-champ label { position: absolute; left: 1.05rem; top: 1.2rem; max-width: calc(100% - 2.5rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
                    color: var(--hc-encre-2); font-size: var(--hc-t-m); line-height: 1.3; transform-origin: 0 0; pointer-events: none;
                    transition: transform .4s var(--hc-ease-sortie), color .3s; }
  .hc-champ :is(input, textarea):is(:focus, :not(:placeholder-shown)) + label, .hc-champ select + label { transform: translateY(-.72rem) scale(.76); }
  .hc-champ :is(input, textarea, select):focus + label { color: var(--hc-accent); }
  .hc-champ ::placeholder { color: transparent; }
  .hc-champ--liste::after { content: ""; position: absolute; right: 1.25rem; top: 1.55rem; width: .5rem; height: .5rem; pointer-events: none;
                            border-right: 1.5px solid var(--hc-encre-2); border-bottom: 1.5px solid var(--hc-encre-2); rotate: 45deg; }
  .hc-champ [aria-invalid="true"] { border-color: var(--hc-erreur); }
  .hc-champ [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px color-mix(in oklab, var(--hc-erreur) 18%, transparent); }
  .hc-champ__erreur { display: block; min-height: 1.25em; margin-top: .35rem; font-size: var(--hc-t-xs); color: var(--hc-erreur); }
  .hc-champ__erreur:empty { min-height: 0; margin: 0; }
  .hc-champ__aide { display: block; margin-top: .35rem; font-size: var(--hc-t-xs); color: var(--hc-encre-3); }
  .hc-case { display: flex; align-items: flex-start; gap: .85rem; font-size: var(--hc-t-s); color: var(--hc-encre-2); cursor: pointer; line-height: 1.5; }
  .hc-case input { appearance: none; flex: none; display: grid; place-items: center; width: 1.3rem; height: 1.3rem; margin: .1rem 0 0;
                   border: 1px solid var(--hc-ligne-forte); border-radius: 5px; background: var(--hc-fond-2); cursor: pointer; transition: background-color .3s, border-color .3s; }
  .hc-case input::before { content: ""; width: .62rem; height: .34rem; margin-top: -.12rem; border-left: 2px solid var(--hc-sur-accent); border-bottom: 2px solid var(--hc-sur-accent);
                           rotate: -45deg; scale: 0; transition: scale .4s var(--hc-ease-ressort); }
  .hc-case input:checked { background: var(--hc-accent); border-color: var(--hc-accent); }
  .hc-case input:checked::before { scale: 1; }
  .hc-case input[aria-invalid="true"] { border-color: var(--hc-erreur); }
  .hc-case a { text-decoration: underline; text-underline-offset: .2em; }
  .hc-pot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
  .hc-form-succes { display: grid; justify-items: center; gap: var(--hc-e-4); padding: var(--hc-e-8) var(--hc-e-5); text-align: center; animation: hc-apparait .8s var(--hc-ease-sortie); }
  .hc-form-succes:focus { outline: none; }
  .hc-coche { width: 4.5rem; height: 4.5rem; color: var(--hc-accent); }
  .hc-coche circle, .hc-coche path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .hc-coche circle { stroke-dasharray: 166; stroke-dashoffset: 166; animation: hc-trace .9s var(--hc-ease-sortie) forwards; }
  .hc-coche path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: hc-trace .5s .55s var(--hc-ease-sortie) forwards; }

  /* Lettre d'information en une ligne */
  .hc-lettre { display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid var(--hc-ligne-forte); transition: border-color .3s; }
  .hc-lettre:focus-within { border-color: var(--hc-accent); }
  .hc-lettre input { flex: 1; min-width: 0; padding: 1rem 0; background: none; border: 0; outline: none; font-size: var(--hc-t-l); color: var(--hc-encre); }
  .hc-lettre input::placeholder { color: var(--hc-encre-3); }
  .hc-lettre__bouton { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--hc-accent); color: var(--hc-sur-accent); transition: rotate .6s var(--hc-ease-sortie); }
  .hc-lettre__bouton:hover { rotate: -45deg; }

  /* ---------------------------------------------------------------- 12 APPEL FINAL ET PIED DE PAGE */
  .hc-appel { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: var(--hc-e-7); align-items: end; }
  @media (min-width: 900px) { .hc-appel { grid-template-columns: minmax(0, 1fr) auto; } }

  .hc-pied { position: relative; overflow: hidden; padding-block: var(--hc-e-9) var(--hc-e-6); border-top: 1px solid var(--hc-ligne); }
  .hc-pied__haut { display: grid; gap: var(--hc-e-8); }
  @media (min-width: 960px) { .hc-pied__haut { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
  .hc-pied__intro { display: grid; gap: var(--hc-e-5); align-content: start; max-width: 28rem; }
  .hc-pied__grille { display: grid; gap: var(--hc-e-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr)); }
  .hc-pied__titre { margin-bottom: var(--hc-e-4); font-size: var(--hc-t-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--hc-encre-3); }
  .hc-pied__liste { display: grid; gap: .65rem; font-size: var(--hc-t-s); }
  .hc-pied__liste a { color: var(--hc-encre-2); transition: color .3s; }
  .hc-pied__liste a:hover { color: var(--hc-encre); }
  .hc-pied__marque { margin-top: var(--hc-e-8); font-family: var(--hc-police-titre); font-weight: var(--hc-titre-graisse); font-size: 16vw; line-height: .82;
                     letter-spacing: -.045em; text-transform: var(--hc-titre-casse); white-space: nowrap; text-align: center; color: var(--hc-encre); opacity: .92; user-select: none; }
  .hc-pied__bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--hc-e-4) var(--hc-e-6);
                  margin-top: var(--hc-e-6); padding-top: var(--hc-e-5); border-top: 1px solid var(--hc-ligne); font-size: var(--hc-t-xs); color: var(--hc-encre-3); }
  .hc-pied__bas ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
  .hc-pied__bas a:hover, .hc-pied__bas button:hover { color: var(--hc-encre); }

  /* ---------------------------------------------------------------- 13 SURCOUCHES */
  .hc-intro { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--hc-fond); color: var(--hc-encre);
              clip-path: inset(0); transition: clip-path 1.05s var(--hc-ease-entree-sortie); }
  html:not(.hc-js) .hc-intro, html.hc-intro-vue .hc-intro { display: none; }
  /* Pendant l'attente des polices (1,6 s au plus, voir hc.js) : rien ne se recompose sous les yeux. */
  .hc-attente-polices :is(.hc-entete, .hc-hero) { visibility: hidden; }
  .hc-intro.est-fini { clip-path: inset(0 0 100% 0); }
  .hc-intro__marque { overflow: hidden; font-family: var(--hc-police-titre); font-weight: var(--hc-titre-graisse); font-size: var(--hc-t-2xl);
                      letter-spacing: var(--hc-titre-interlettrage); text-transform: var(--hc-titre-casse); padding-bottom: .1em; }
  .hc-intro__marque > span { display: inline-block; animation: hc-intro-marque 1.1s var(--hc-ease-sortie) both; }
  .hc-intro.est-fini .hc-intro__marque > span { transform: translateY(-110%); transition: transform .7s var(--hc-ease-entree-sortie); }
  .hc-intro__barre { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--hc-accent); transform-origin: 0 50%; animation: hc-charge 1.1s var(--hc-ease-entree-sortie) both; }

  .hc-haut { position: fixed; right: var(--hc-gouttiere); bottom: var(--hc-gouttiere); z-index: 90; width: 3.3rem; height: 3.3rem; border-radius: 50%; display: grid; place-items: center;
             background: var(--hc-fond-2); border: 1px solid var(--hc-ligne); color: var(--hc-encre); box-shadow: var(--hc-ombre);
             opacity: 0; visibility: hidden; translate: 0 1rem; transition: opacity .4s, translate .6s var(--hc-ease-sortie), visibility 0s linear .4s; }
  .hc-haut.est-visible { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
  .hc-haut__anneau { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); rotate: -90deg; pointer-events: none; }
  .hc-haut__anneau circle { fill: none; stroke: var(--hc-accent); stroke-width: 2; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); }
  .hc-haut .hc-icone { transition: translate .5s var(--hc-ease-sortie); }
  .hc-haut:hover .hc-icone { translate: 0 -3px; }

  .hc-cookies { position: fixed; left: var(--hc-gouttiere); bottom: var(--hc-gouttiere); z-index: 150; display: grid; gap: var(--hc-e-4);
                width: min(29rem, 100% - 2 * var(--hc-gouttiere)); padding: var(--hc-e-5) var(--hc-e-5) var(--hc-e-5);
                background: var(--hc-fond-2); border: 1px solid var(--hc-ligne); border-radius: var(--hc-rayon); box-shadow: var(--hc-ombre-forte);
                opacity: 0; translate: 0 1.5rem; transition: opacity .5s, translate .7s var(--hc-ease-sortie); }
  .hc-cookies.est-visible { opacity: 1; translate: 0 0; }
  .hc-cookies__titre { font-family: var(--hc-police-titre); font-weight: var(--hc-titre-graisse); font-size: var(--hc-t-l); text-transform: var(--hc-titre-casse); }
  .hc-cookies__texte { font-size: var(--hc-t-s); color: var(--hc-encre-2); }
  .hc-cookies__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }

  .hc-curseur { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity .3s; }
  .hc-curseur.est-actif { opacity: 1; }
  .hc-curseur__point, .hc-curseur__anneau { position: absolute; left: 0; top: 0; border-radius: 50%; translate: -50% -50%; }
  .hc-curseur__point { width: 6px; height: 6px; background: #FFFFFF; }
  .hc-curseur__anneau { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #FFFFFF;
                        transition: width .5s var(--hc-ease-sortie), height .5s var(--hc-ease-sortie), background-color .4s, border-color .4s; }
  .hc-curseur.est-lien .hc-curseur__anneau { width: 64px; height: 64px; background: #FFFFFF; }
  .hc-curseur.est-texte { mix-blend-mode: normal; }
  .hc-curseur.est-texte .hc-curseur__anneau { width: 96px; height: 96px; background: var(--hc-accent); border-color: var(--hc-accent); }
  .hc-curseur.est-texte .hc-curseur__point { opacity: 0; }
  .hc-curseur__libelle { font-family: var(--hc-police-texte); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hc-sur-accent);
                         opacity: 0; scale: .6; transition: opacity .3s, scale .5s var(--hc-ease-sortie); }
  .hc-curseur.est-texte .hc-curseur__libelle { opacity: 1; scale: 1; }
}

/* ---------------------------------------------------------------- UTILITAIRES */
@layer hc.utilitaires {
  .hc-visuellement-cache { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .hc-centre { text-align: center; }
  .hc-centre-bloc { margin-inline: auto; }
  .hc-pleine-largeur { width: 100%; }
  .hc-mt-4 { margin-top: var(--hc-e-4); } .hc-mt-5 { margin-top: var(--hc-e-5); } .hc-mt-6 { margin-top: var(--hc-e-6); }
  .hc-mt-7 { margin-top: var(--hc-e-7); } .hc-mt-8 { margin-top: var(--hc-e-8); }
  .hc-mb-6 { margin-bottom: var(--hc-e-6); } .hc-mb-8 { margin-bottom: var(--hc-e-8); }
  .hc-ratio-carre { --ratio: 1 / 1; } .hc-ratio-portrait { --ratio: 4 / 5; } .hc-ratio-paysage { --ratio: 16 / 10; } .hc-ratio-cinema { --ratio: 21 / 9; }
  .hc-sans-retour { white-space: nowrap; }
}

/* ---------------------------------------------------------------- 14 IMAGES CLÉS */
@keyframes hc-tourne { to { rotate: 360deg; } }
@keyframes hc-defile { to { transform: translateX(-100%); } }
@keyframes hc-derive-1 { to { transform: translate3d(14vmax, 10vmax, 0) scale(1.12); } }
@keyframes hc-derive-2 { to { transform: translate3d(-12vmax, -8vmax, 0) scale(.92); } }
@keyframes hc-derive-3 { to { transform: translate3d(-16vmax, 12vmax, 0) scale(1.2); } }
@keyframes hc-respire { from { transform: scale(1.12); } }
@keyframes hc-indice { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
@keyframes hc-apparait { from { opacity: 0; transform: translateY(.9rem); } }
@keyframes hc-monte { from { opacity: 0; transform: translateY(1rem); } }
@keyframes hc-fondu { from { opacity: 0; } }
@keyframes hc-fondu-sortie { to { opacity: 0; } }
@keyframes hc-modale-entree { from { opacity: 0; transform: translateY(2rem) scale(.97); } }
@keyframes hc-modale-sortie { to { opacity: 0; transform: translateY(1rem) scale(.98); } }
@keyframes hc-tiroir-entree { from { transform: translateX(100%); } }
@keyframes hc-tiroir-sortie { to { transform: translateX(100%); } }
@keyframes hc-toast-entree { from { opacity: 0; transform: translateX(2rem) scale(.96); } }
@keyframes hc-toast-sortie { to { opacity: 0; transform: translateX(1.5rem); } }
@keyframes hc-trace { to { stroke-dashoffset: 0; } }
@keyframes hc-charge { from { transform: scaleX(0); } }
@keyframes hc-intro-marque { from { transform: translateY(110%); } }
@keyframes hc-roule { from { opacity: 0; transform: translateY(.45em); filter: blur(4px); } }
@keyframes hc-souligne { 0% { background-size: 100% 1px; background-position-x: 100%; } 45% { background-size: 0 1px; background-position-x: 100%; } 46% { background-position-x: 0; } 100% { background-size: 100% 1px; background-position-x: 0; } }
@keyframes hc-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--hc-accent) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 .55em transparent; } }
@keyframes hc-vt-sortie { to { opacity: 0; transform: translateY(-1.5rem); } }
@keyframes hc-vt-entree { from { opacity: 0; transform: translateY(2rem); } }

/* ---------------------------------------------------------------- 15 PRÉFÉRENCES ET IMPRESSION */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: hc-vt-sortie .4s cubic-bezier(.4, 0, .2, 1) both; }
  ::view-transition-new(root) { animation: hc-vt-entree .75s cubic-bezier(.16, 1, .3, 1) both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hc-js [data-hc-reveler] { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
}
@media (forced-colors: active) {
  .hc-btn, .hc-carte, .hc-champ :is(input, textarea, select) { border: 1px solid CanvasText; }
  .hc-btn::before, .hc-grain::after, .hc-maille { display: none; }
}
@media print {
  .hc-entete, .hc-menu-mobile, .hc-intro, .hc-cookies, .hc-haut, .hc-curseur, .hc-progression, .hc-toasts, .hc-grain::after { display: none !important; }
  .hc-js [data-hc-reveler], .hc-decoupe * { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  body { background: #FFFFFF; color: #000000; }
}
