:root {
    --sc-container: 1320px;
    --sc-radius: 18px;
    --sc-ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.sc-lock {
    overflow: hidden;
}

/* Demo pages are preview-only and set no marketing cookies. */
body[data-demo] .site-notice {
    display: none !important;
}

img,
svg,
canvas,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: #1be0ff;
    color: #04070f;
}

:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.sc-container {
    width: min(100% - 40px, var(--sc-container));
    margin-inline: auto;
}

.sc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.sc-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: .5;
}

.sc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    transition: background-color .35s var(--sc-ease), color .35s var(--sc-ease), transform .35s var(--sc-ease);
}

.sc-btn:hover {
    transform: translateY(-2px);
}

.sc-btn--solid {
    background: currentColor;
}

.sc-btn--solid span {
    mix-blend-mode: difference;
    color: #fff;
}

.sc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* La révélation occupe translate : transform reste libre pour l'inclinaison
   au pointeur, sinon « transform: none » à l'état visible tue le data-tilt. */
[data-reveal] {
    opacity: 0;
    translate: 0 26px;
    transition: opacity .9s var(--sc-ease), translate .9s var(--sc-ease);
    transition-delay: calc(var(--reveal-delay, 0) * 80ms);
}

[data-reveal].is-visible {
    opacity: 1;
    translate: none;
}

.sc-switcher {
    position: fixed;
    z-index: 100000;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: min(100% - 24px, 760px);
    max-height: 42vh;
    overflow-y: auto;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(8, 12, 20, .72);
    color: #fff;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.sc-switcher__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
}

.sc-switcher__label {
    min-width: 58px;
    margin-right: 6px;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .55;
}

.sc-switcher a {
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: .04em;
    opacity: .68;
    transition: background-color .25s ease, opacity .25s ease;
}

.sc-switcher a:hover,
.sc-switcher a.is-active {
    opacity: 1;
    background: rgba(255, 255, 255, .14);
}

/* ---------- Ecran de chargement des demonstrations ---------------------------
   L'ecran ne masque jamais le contenu : il est pose au-dessus, ne capte pas le
   pointeur, et se retire seul par son animation de 1,5 s. boot.js ne fait que
   raccourcir ce delai. Aucune propriete opacity n'est declaree sur .sc-boot :
   l'animation forwards l'prendrait pour valeur de depart et l'ecran ne
   partirait jamais.
   -------------------------------------------------------------------------- */
:root {
    --sc-boot-bg: #05070d;
    --sc-boot-ink: #ffffff;
}

.sc-boot {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 20px;
    pointer-events: none;
    background: var(--sc-boot-bg, #05070d);
    color: var(--sc-boot-ink, #fff);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    animation: sc-boot-out .55s var(--sc-ease) 1.5s forwards;
}

.sc-boot.is-done {
    animation-delay: 0s;
}

.sc-boot__mark {
    width: min(196px, 54vw);
    overflow: visible;
}

.sc-boot__mark > * {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: sc-boot-draw .8s var(--sc-ease) both;
}

.sc-boot__mark > :nth-child(2) { animation-delay: .10s; }
.sc-boot__mark > :nth-child(3) { animation-delay: .20s; }
.sc-boot__mark > :nth-child(4) { animation-delay: .30s; }
.sc-boot__mark > :nth-child(5) { animation-delay: .40s; }
.sc-boot__mark > :nth-child(6) { animation-delay: .50s; }

.sc-boot__bar {
    display: block;
    width: min(196px, 54vw);
    height: 1px;
    overflow: hidden;
    background: color-mix(in srgb, currentColor 22%, transparent);
}

.sc-boot__bar > i {
    display: block;
    width: 100%;
    height: 100%;
    background: currentColor;
    transform-origin: left center;
    animation: sc-boot-fill 1.4s var(--sc-ease) both;
}

/* Rendu partout, affiche seulement par les variantes dont la reference le fait. */
.sc-boot__count {
    display: none;
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
    opacity: .7;
}

/* ---------- Camera de defilement -------------------------------------------
   Composition par defaut d'un calque. Une variante la remplace par une regle
   plus specifique quand elle compose aussi une echelle ou une direction.
   [data-reveal] occupant translate, les deux proprietes se cumulent : un
   element peut porter les deux attributs. Le secours 0px garantit un rendu
   correct sans camera.js.
   -------------------------------------------------------------------------- */
[data-depth] {
    transform: translate3d(0, var(--cam-shift, 0px), 0);
    will-change: transform;
}

@keyframes sc-boot-out {
    to { opacity: 0; visibility: hidden; }
}

@keyframes sc-boot-draw {
    to { stroke-dashoffset: 0; }
}

@keyframes sc-boot-fill {
    from { scale: 0 1; }
    to { scale: 1 1; }
}

@media (max-width: 380px) {
    .sc-boot__bar {
        display: none;
    }

    .sc-boot__mark {
        width: 64vw;
    }
}

@media (max-width: 640px) {
    .sc-container {
        width: min(100% - 28px, var(--sc-container));
    }

    .sc-switcher {
        right: 10px;
        bottom: 10px;
        padding-left: 10px;
    }

    .sc-switcher__label {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    [data-reveal] {
        opacity: 1;
        translate: none;
    }

    /* Le bloc global ne raccourcit que la duree : sans ces trois regles l'ecran
       resterait pose pendant les 1,5 s de delai, et le lettrage resterait
       invisible car son dashoffset de repos n'est jamais leve par une
       animation a .001ms avec remplissage both. */
    .sc-boot {
        animation-delay: .001ms;
    }

    .sc-boot__mark > * {
        animation: none;
        stroke-dashoffset: 0;
    }

    .sc-boot__bar > i {
        animation: none;
        scale: 1 1;
    }
}
