/* ==========================================================================
   Pixel Designer v3
   Thème sombre unique. Couleurs tirées du logo : cyan, bleu, violet.
   Rayons : boutons, puces et badges en pilule, cartes 20px, visuels 14px, champs 12px.
   Couches (z-index) : fond 3D 0, voile 0, contenu 1, nav 50, menu mobile 60, lien d'évitement 100.
   ========================================================================== */

:root {
    --bg: #09090b;
    --bg-elev: #111116;
    --card: rgba(17, 17, 22, 0.86);
    --card-glass: rgba(17, 17, 22, 0.55);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);
    --field-line: rgba(255, 255, 255, 0.2);

    --text: #f0f0f3;
    --muted: #a1a1aa;
    --placeholder: #7c7c86;

    /* Couleurs du logo */
    --cyan: #22b8ff;
    --blue: #3b6cff;
    --violet: #8b5cf6;
    --accent: #7dd3fc;
    --danger: #fca5a5;

    --g-brand: linear-gradient(120deg, var(--cyan), var(--blue) 50%, var(--violet));
    /* Teintes claires pour le texte, boucle sans couture */
    --g-text: linear-gradient(100deg, #7dd3fc, #93c5fd 20%, #a5b4fc 40%, #c4b5fd 60%, #93c5fd 80%, #7dd3fc);
    /* Boutons : teintes plus profondes pour un texte blanc lisible (contraste AA) */
    --g-btn: linear-gradient(110deg, #2563eb, #4f46e5 35%, #7c3aed 65%, #2563eb);

    /* Marge verticale du bandeau défilant (sert aussi à calculer la hauteur du premier écran) */
    --marquee-pad: 1.5rem;

    --radius: 20px;
    --radius-media: 14px;
    --radius-field: 12px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --nav-h: 68px;

    --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

    --gutter: clamp(1.25rem, 5vw, 3rem);
    --section-y: clamp(6.5rem, 14vw, 11rem);

    /* Halo sombre derrière le texte posé sur le fond animé */
    --halo: 0 0 28px rgba(9, 9, 11, 0.95), 0 0 10px rgba(9, 9, 11, 0.8);
}

@property --ang {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

h1, h2, h3, h4, p, ul {
    margin: 0;
}

h1, h2, h3, h4 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

ul[role="list"] {
    list-style: none;
    padding: 0;
}

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

::selection {
    background: var(--blue);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 100;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: var(--text);
    color: var(--bg);
    font-weight: 500;
    transform: translateY(-160%);
    transition: transform 0.3s var(--ease);
}

.skip-link:focus {
    transform: none;
}

/* Fond 3D -------------------------------------------------------------- */

#bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.8s ease;
}

#bg.is-ready {
    opacity: 1;
}

/* Voile au-dessus du canvas (::after, donc après lui) et sous le contenu */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(120% 80% at 50% 0%, transparent 50%, rgba(9, 9, 11, 0.6) 100%),
        linear-gradient(to bottom, rgba(9, 9, 11, 0.55), transparent 18%);
}

main,
.footer {
    position: relative;
    z-index: 1;
}

/* Mise en page ---------------------------------------------------------- */

.container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: max(var(--gutter), env(safe-area-inset-left));
}

.section {
    padding-block: var(--section-y);
}

.section-head {
    max-width: 44rem;
    margin-bottom: clamp(3rem, 7vw, 5rem);
}

/* Typographie ----------------------------------------------------------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.75rem;
    text-shadow: var(--halo);
}

.h2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.lead {
    margin-top: 1.25rem;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--muted);
    max-width: 36rem;
    text-shadow: var(--halo);
}

.muted {
    color: var(--muted);
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--muted);
}

/* Texte en dégradé animé (teintes claires du logo) */
.grad {
    background-image: var(--g-text);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    animation: grad-shift 7s linear infinite;
    animation-delay: calc(var(--i, 0) * -0.4s);
}

@keyframes grad-shift {
    to { background-position: 200% 0; }
}

/* Motif « pixels » repris du logo */
.pix {
    display: inline-grid;
    grid-template-columns: repeat(3, 6px);
    grid-template-rows: repeat(3, 6px);
    gap: 2px;
    flex: none;
}

.pix i {
    border-radius: 1.5px;
    background: var(--cyan);
    animation: pix-blink 2.8s var(--ease) infinite;
}

.pix i:nth-child(1) { grid-area: 1 / 2; }
.pix i:nth-child(2) { grid-area: 2 / 1; background: var(--blue); animation-delay: 0.2s; }
.pix i:nth-child(3) { grid-area: 2 / 3; background: var(--violet); animation-delay: 0.4s; }
.pix i:nth-child(4) { grid-area: 3 / 2; background: #a78bfa; animation-delay: 0.6s; }

@keyframes pix-blink {
    0%, 60%, 100% { opacity: 1; transform: none; }
    30% { opacity: 0.35; transform: scale(0.7); }
}

/* Boutons --------------------------------------------------------------- */

.btn {
    --h: 50px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    height: var(--h);
    padding: 0 1.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    translate: var(--bx, 0) var(--by, 0);
    transition:
        translate 0.5s var(--ease),
        scale 0.3s var(--ease),
        background-position 0.8s var(--ease),
        border-color 0.35s var(--ease),
        box-shadow 0.4s var(--ease),
        color 0.35s var(--ease);
}

.btn i {
    font-size: 1.05em;
    transition: transform 0.45s var(--ease);
}

.btn:active {
    scale: 0.96;
}

.btn-sm {
    --h: 40px;
    padding: 0 1.1rem;
    font-size: 0.875rem;
}

/* Libellé qui roule au survol (construit en JS) */
.btn-label {
    display: inline-block;
    overflow: hidden;
    height: 1.35em;
    line-height: 1.35em;
}

.btn-roll {
    display: block;
    position: relative;
    transition: transform 0.55s var(--ease);
}

.btn-roll::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 100%;
}

.btn-primary {
    color: #fff;
    background-image: var(--g-btn);
    background-size: 220% 100%;
    background-position: 0% 0;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 10px 30px -14px rgba(79, 70, 229, 0.8);
}

/* Reflet qui balaie le bouton au survol */
.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
    transform: translateX(-130%);
    transition: transform 0.9s var(--ease);
}

.btn-ghost {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(12, 12, 16, 0.6);
}

/* Bordure en dégradé révélée au survol */
.btn-ghost::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--g-brand);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 0.15rem;
    transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.link i {
    transition: transform 0.35s var(--ease);
}

@media (hover: hover) {
    .btn:hover .btn-roll {
        transform: translateY(-100%);
    }

    .btn-primary:hover {
        background-position: 100% 0;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.25),
            0 16px 40px -14px rgba(99, 102, 241, 0.95);
    }

    .btn-primary:hover::after {
        transform: translateX(130%);
    }

    .btn-ghost:hover {
        border-color: transparent;
    }

    .btn-ghost:hover::before {
        opacity: 1;
    }

    .btn:hover i.ph-arrow-right {
        transform: translateX(4px);
    }

    .btn:hover i.ph-arrow-up-right {
        transform: translate(3px, -3px);
    }

    .link:hover {
        border-color: var(--accent);
    }

    .link:hover i {
        transform: translateY(-3px);
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 0.7rem;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(34, 184, 255, 0.16), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(165, 180, 252, 0.28);
    color: #c7d2fe;
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: middle;
}

/* Cartes : verre sombre, bordure et halo qui suivent la souris --------- */

.card {
    position: relative;
    isolation: isolate;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--card);
    transition:
        transform 0.6s var(--ease),
        border-color 0.4s var(--ease),
        box-shadow 0.6s var(--ease);
}

@media (hover: hover) and (min-width: 1024px) {
    .card {
        background: var(--card-glass);
        -webkit-backdrop-filter: blur(18px) saturate(140%);
        backdrop-filter: blur(18px) saturate(140%);
    }
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(125, 211, 252, 0.95), rgba(139, 92, 246, 0.7) 45%, transparent 75%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(99, 102, 241, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}

@media (hover: hover) {
    .card[data-spot]:hover::before,
    .card[data-spot]:hover::after {
        opacity: 1;
    }
}

/* Navigation ------------------------------------------------------------ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: calc(var(--nav-h) + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    border-bottom: 1px solid transparent;
    transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.nav.is-scrolled {
    background: rgba(9, 9, 11, 0.7);
    border-bottom-color: var(--line);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
}

.nav-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--g-brand);
    transform-origin: left center;
    transform: scaleX(var(--progress, 0));
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-right: auto;
}

.brand-logo {
    width: 32px;
    height: 32px;
    transition: transform 0.7s var(--spring);
}

@media (hover: hover) {
    .brand:hover .brand-logo {
        transform: rotate(-10deg) scale(1.1);
    }
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    font-size: 0.9rem;
}

.nav-links a {
    position: relative;
    color: var(--muted);
    transition: color 0.3s var(--ease);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: var(--g-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.nav-links a[aria-current="true"] {
    color: var(--text);
}

.nav-links a[aria-current="true"]::after {
    transform: scaleX(1);
}

@media (hover: hover) {
    .nav-links a:hover {
        color: var(--text);
    }

    .nav-links a:hover::after {
        transform: scaleX(1);
    }
}

.menu-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    border: 0;
    background: none;
    cursor: pointer;
}

.menu-toggle span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 1.5px;
    border-radius: 2px;
    background: var(--text);
    transition: transform 0.45s var(--ease);
}

.menu-toggle span:first-child {
    transform: translateY(-4px);
}

.menu-toggle span:last-child {
    transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: rotate(-45deg);
}

/* Menu mobile ---------------------------------------------------------- */

.menu {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--nav-h) + env(safe-area-inset-top) + 2.5rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background:
        radial-gradient(80% 50% at 100% 100%, rgba(139, 92, 246, 0.18), transparent 70%),
        radial-gradient(70% 40% at 0% 100%, rgba(34, 184, 255, 0.14), transparent 70%),
        rgba(9, 9, 11, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.menu[hidden] {
    display: none;
}

.menu.is-open {
    opacity: 1;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-links a {
    font-size: clamp(2rem, 9vw, 2.75rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.25;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
}

.menu.is-open .menu-links a {
    opacity: 1;
    transform: none;
}

.menu.is-open .menu-links a:nth-child(2) { transition-delay: 0.05s; }
.menu.is-open .menu-links a:nth-child(3) { transition-delay: 0.1s; }
.menu.is-open .menu-links a:nth-child(4) { transition-delay: 0.15s; }

.menu-cta {
    width: 100%;
    --h: 56px;
}

body.menu-open .nav {
    z-index: 70;
    background: transparent;
    border-bottom-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

body.menu-open .nav-progress {
    opacity: 0;
}

/* Hero ------------------------------------------------------------------- */

/* Le premier écran laisse la place du bandeau défilant, visible dès l'arrivée sur le site */
.hero {
    --marquee-h: calc(2 * var(--marquee-pad) + 2px + 1.6 * clamp(1.15rem, 2vw, 1.6rem));
    min-height: calc(100vh - var(--marquee-h));
    min-height: calc(100svh - var(--marquee-h));
    display: flex;
    align-items: center;
    padding-block: calc(var(--nav-h) + 3rem) 4rem;
}

.hero-inner {
    width: 100%;
}

.hero-title {
    max-width: 9.4em;
    font-size: clamp(2.6rem, 6.4vw, 5.2rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.hero-title .line {
    display: block;
}

.hero-sub {
    max-width: 30rem;
    margin-top: 2rem;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--muted);
    text-shadow: var(--halo);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.75rem;
}

/* Découpage en mots pour les titres animés */
.word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.22em;
    margin-bottom: -0.22em;
}

.word > span {
    display: inline-block;
}

/* Le dégradé n'est peint que dans la boîte du mot : on l'étend sous la ligne
   pour que les jambages et la cédille (ç, p, j, g) ne soient pas coupés */
.word > .grad {
    padding-bottom: 0.2em;
    margin-bottom: -0.2em;
}

html.js [data-split] .word > span {
    transform: translateY(110%);
    transition: transform 1.1s var(--ease);
    transition-delay: calc(0.08s + var(--i) * 0.05s);
}

html.js [data-split].is-in .word > span {
    transform: none;
}

/* Bandeau défilant ------------------------------------------------------- */

.marquee {
    position: relative;
    overflow: hidden;
    padding-block: var(--marquee-pad);
    border-block: 1px solid var(--line);
    background: rgba(9, 9, 11, 0.72);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 48s linear infinite;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-right: 2.5rem;
    flex: none;
}

.marquee span {
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.025em;
    color: #d4d4d8;
    white-space: nowrap;
}

.marquee i {
    width: 10px;
    height: 10px;
    border-radius: 2.5px;
    background: var(--g-brand);
    flex: none;
}

.marquee i:nth-of-type(even) {
    background: linear-gradient(120deg, var(--violet), #a78bfa);
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* Réalisations : cartes empilées, même taille pour chaque projet ------- */

.works {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.work-card {
    display: grid;
    gap: 2rem;
    padding: clamp(1rem, 2.5vw, 2rem);
    transform-origin: 50% 0;
    transform: scale(var(--stack-s, 1));
    opacity: var(--stack-o, 1);
}

.work-info {
    display: grid;
    gap: 1rem;
    align-content: center;
    justify-items: start;
    padding: 0.5rem clamp(0.5rem, 1.5vw, 1rem);
}

.work-title {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.work-info .muted {
    max-width: 32ch;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.25rem 0 0.75rem;
}

.chips li {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.8rem;
    color: #d4d4d8;
    transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}

.work-card:hover .chips li {
    border-color: rgba(165, 180, 252, 0.35);
}

.work-media {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-media);
    border: 1px solid var(--line-strong);
    background: #0d0d11;
    order: -1;
    transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.035);
}

.browser-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.browser-bar span {
    margin-left: 12px;
    padding: 2px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--muted);
}

.work-media picture {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.work-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 1.4s var(--ease);
}

@media (hover: hover) {
    .work-media:hover {
        box-shadow: 0 30px 80px -30px rgba(79, 70, 229, 0.55);
    }

    .work-media:hover img {
        transform: scale(1.045);
    }
}

@media (min-width: 1024px) {
    .work-card {
        grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
        align-items: center;
        gap: 2.5rem;
    }

    .work-media {
        order: 0;
    }
}

/* L'empilement ne s'active que si une carte tient entière dans l'écran */
@media (min-width: 1024px) and (min-height: 720px) {
    .work {
        position: sticky;
        top: calc(var(--nav-h) + 1.5rem);
    }

    .works {
        gap: 5rem;
    }
}

/* Approche --------------------------------------------------------------- */

.statement {
    max-width: 19em;
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
    font-size: clamp(1.7rem, 3.8vw, 3.2rem);
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: -0.035em;
    text-shadow: var(--halo);
}

.statement .w {
    transition: opacity 0.6s var(--ease);
}

html.js .statement .w {
    opacity: 0.18;
}

html.js .statement .w.on {
    opacity: 1;
}

.bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: clamp(4rem, 8vw, 6rem);
}

.feature {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 15rem;
    padding: clamp(1.5rem, 2.5vw, 2rem);
}

.feature--wide {
    background-image: radial-gradient(70% 90% at 100% 100%, rgba(99, 102, 241, 0.13), transparent 70%);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: auto;
    border-radius: 12px;
    background: var(--g-brand);
    color: #fff;
    font-size: 1.35rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 28px -10px rgba(79, 70, 229, 0.8);
    transition: transform 0.7s var(--spring);
}

.feature h3 {
    margin-top: 2rem;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.015em;
}

.feature p {
    color: var(--muted);
    font-size: 0.97rem;
    max-width: 36ch;
}

.feature-deco {
    position: absolute;
    right: -1.5rem;
    bottom: -2.5rem;
    z-index: -1;
    font-size: 12rem;
    line-height: 1;
    background: var(--g-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.14;
    transition: transform 1s var(--ease), opacity 0.6s var(--ease);
}

.devices {
    position: absolute;
    top: clamp(1.5rem, 2.5vw, 2rem);
    right: clamp(1.5rem, 2.5vw, 2rem);
    display: flex;
    align-items: flex-end;
    gap: 0.9rem;
    color: #c7d2fe;
    opacity: 0.55;
}

.devices i {
    font-size: 1.6rem;
    animation: float 4s ease-in-out infinite;
}

.devices i:nth-child(1) { font-size: 2.4rem; }
.devices i:nth-child(2) { font-size: 1.9rem; animation-delay: -1.3s; }
.devices i:nth-child(3) { animation-delay: -2.6s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@media (hover: hover) {
    .feature:hover {
        transform: translateY(-4px);
    }

    .feature:hover .feature-icon {
        transform: rotate(-8deg) scale(1.1);
    }

    .feature:hover .feature-deco {
        transform: translate(-10px, -10px) rotate(-6deg);
        opacity: 0.22;
    }
}

@media (min-width: 640px) {
    .bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature--wide {
        grid-column: span 2;
    }

    /* 2 colonnes : le 5e bloc repasse en simple pour ne laisser aucun trou */
    .feature:nth-child(5) {
        grid-column: auto;
    }
}

@media (min-width: 1024px) {
    .bento {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .feature:nth-child(5) {
        grid-column: span 2;
    }

    .feature {
        min-height: 17rem;
    }
}

/* Tarifs ---------------------------------------------------------------- */

.plans {
    display: grid;
    gap: 1rem;
}

.plan {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: clamp(1.75rem, 3vw, 2.5rem);
}

.plan-intro {
    display: grid;
    gap: 0.6rem;
    align-content: start;
}

.plan-intro .h3 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.plan-intro p {
    max-width: 32ch;
}

/* Délai et retouches de chaque offre */
.plan-intro .plan-meta {
    max-width: none;
    margin-top: 0.4rem;
    color: #d4d4d8;
}

.plan-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.plan-meta i {
    font-size: 1rem;
    color: var(--accent);
}

.plan-features {
    display: grid;
    gap: 0.65rem;
    font-size: 0.95rem;
    align-content: center;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

/* Puces en forme de pixel, comme dans le logo */
.plan-features li::before {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    margin-top: 0.55em;
    border-radius: 2px;
    background: var(--g-brand);
}

.plan-buy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
    font-size: clamp(2.1rem, 3.2vw, 2.7rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.price small {
    margin-left: 0.45rem;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--muted);
}

.price-quote {
    font-size: clamp(1.5rem, 2.2vw, 1.8rem);
    letter-spacing: -0.03em;
}

.plan-cta {
    min-width: 8.5rem;
}

/* Mention CGV sous le bouton de chaque offre */
.plan-buy {
    flex-wrap: wrap;
    row-gap: 0.9rem;
}

.plan-terms {
    flex: 1 1 100%;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--muted);
}

.plan-terms a,
.article-body a,
.id-grid a,
.withdrawal a {
    color: var(--text);
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 0.05rem;
    transition: border-color 0.3s var(--ease);
}

/* Offre mise en avant : bordure en dégradé qui tourne en continu */
.plan--featured {
    border-color: transparent;
    background:
        radial-gradient(90% 140% at 0% 0%, rgba(59, 108, 255, 0.14), transparent 60%),
        var(--card);
}

.plan--featured::before {
    opacity: 1;
    background: conic-gradient(from var(--ang), rgba(125, 211, 252, 0.15), #7dd3fc, #818cf8, #c084fc, rgba(192, 132, 252, 0.15) 60%, rgba(125, 211, 252, 0.15));
    animation: spin 6s linear infinite;
}

@keyframes spin {
    to { --ang: 360deg; }
}

@media (hover: hover) {
    .plan:hover,
    .opt:hover {
        transform: translateY(-4px);
    }
}

@media (hover: hover) and (min-width: 1024px) {
    .plan--featured {
        background:
            radial-gradient(90% 140% at 0% 0%, rgba(59, 108, 255, 0.14), transparent 60%),
            var(--card-glass);
    }
}

@media (min-width: 640px) {
    .plan {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 2.5rem;
    }

    .plan-buy {
        grid-column: 2;
        grid-row: 1;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 1.1rem;
    }

    .plan-terms {
        flex: none;
        max-width: 12rem;
        margin-top: -0.35rem;
        text-align: right;
    }

    .plan-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-column: 1 / -1;
        gap: 0.65rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .plan {
        grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) auto;
        align-items: center;
        column-gap: 3rem;
    }

    .plan-features {
        grid-column: 2;
        grid-row: 1;
    }

    .plan-buy {
        grid-column: 3;
    }
}

/* Options (bento) ------------------------------------------------------- */

.options-block {
    margin-top: clamp(6rem, 12vw, 9rem);
}

.options-block > .h3 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    letter-spacing: -0.03em;
    text-shadow: var(--halo);
}

.options-block > .muted {
    margin-top: 0.6rem;
    text-shadow: var(--halo);
}

.options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
}

.opt {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
    min-height: 13rem;
    padding: clamp(1.5rem, 2.6vw, 2rem);
    padding-right: 3.5rem;
    overflow: hidden;
}

.opt h4 {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.015em;
}

.opt p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    max-width: 34ch;
}

.opt .badge {
    margin-bottom: 1.25rem;
}

.opt .chips {
    margin: 1.1rem 0 0;
}

.opt .opt-note {
    margin-top: 0.9rem;
    font-size: 0.875rem;
}

.opt .opt-price {
    display: flex;
    align-items: baseline;
    margin: 0;
    color: var(--text);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.opt-price small {
    margin-left: 0.45rem;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--muted);
}

.opt-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    font-size: 1rem;
    color: var(--muted);
    transition: transform 0.5s var(--ease), color 0.4s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.opt--feature {
    background:
        radial-gradient(70% 60% at 85% 0%, rgba(139, 92, 246, 0.22), transparent 70%),
        radial-gradient(60% 50% at 0% 100%, rgba(34, 184, 255, 0.12), transparent 70%),
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.2px) 0 0 / 18px 18px,
        var(--card);
    border-color: rgba(165, 180, 252, 0.22);
}

.opt--feature .opt-price {
    font-size: clamp(2.8rem, 5vw, 4rem);
}

@media (hover: hover) {
    .opt:hover .opt-arrow {
        color: #fff;
        border-color: transparent;
        background-color: var(--blue);
        transform: rotate(45deg);
    }
}

.opt:active {
    transform: scale(0.99);
}

@media (min-width: 640px) {
    .options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .opt--feature {
        grid-row: span 2;
    }
}

@media (min-width: 1024px) {
    .options {
        grid-template-columns: 1.25fr 1fr 1fr;
    }
}

/* Paiement et modalités ------------------------------------------------- */

.terms {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
}

.term {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: clamp(1.5rem, 2.6vw, 2rem);
}

/* Chiffre et icône de même hauteur pour aligner les titres d'une carte à l'autre */
.term-figure,
.term .feature-icon {
    margin-bottom: 1.5rem;
}

.term-figure {
    display: flex;
    align-items: center;
    height: 46px;
    font-size: clamp(2.1rem, 3.2vw, 2.7rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.term h4 {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.015em;
}

.term p:not(.term-figure) {
    color: var(--muted);
    font-size: 0.95rem;
    max-width: 34ch;
}

.terms-note,
.footer-legal {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.term .chips {
    margin: 1rem 0 0;
}

.term--wide p:not(.term-figure),
.term--full p {
    max-width: 46ch;
}

.term--full p {
    margin-top: 0.5rem;
}

.terms-note {
    margin-top: 1.5rem;
    text-shadow: var(--halo);
}

.footer-legal a {
    color: var(--text);
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 0.1rem;
    transition: border-color 0.3s var(--ease);
}

@media (hover: hover) {
    .term:hover {
        transform: translateY(-4px);
    }

    .term:hover .feature-icon {
        transform: rotate(-8deg) scale(1.1);
    }

    .opt:hover .chips li,
    .term:hover .chips li {
        border-color: rgba(165, 180, 252, 0.35);
    }

    .footer-legal a:hover {
        border-color: var(--accent);
    }
}

@media (min-width: 640px) {
    .terms {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .term--wide,
    .term--full {
        grid-column: 1 / -1;
    }

    /* Carte pleine largeur : icône à gauche, texte à droite */
    .term--full {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }

    .term--full .feature-icon {
        flex: none;
        margin-bottom: 0;
    }

    .term--full p {
        max-width: none;
    }
}

@media (min-width: 1024px) {
    .terms {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .term--wide {
        grid-column: span 2;
    }
}

/* Contact -------------------------------------------------------------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-intro .lead {
    max-width: 24rem;
}

.contact-panel {
    padding: clamp(1.25rem, 3vw, 2.5rem);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 2.5rem;
    }

    .contact-intro {
        grid-column: 1 / span 5;
        position: sticky;
        top: calc(var(--nav-h) + 3rem);
        align-self: start;
    }

    .contact-panel {
        grid-column: 6 / span 7;
    }
}

.form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

.field {
    display: grid;
    gap: 0.5rem;
    align-content: start;
}

.field label {
    font-size: 0.875rem;
    color: var(--muted);
}

.field-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.counter {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.input {
    width: 100%;
    height: 52px;
    padding: 0 1rem;
    border-radius: var(--radius-field);
    border: 1px solid var(--field-line);
    background: rgba(9, 9, 11, 0.55);
    color: var(--text);
    font-size: 1rem;
    transition: border-color 0.25s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s var(--ease);
    appearance: none;
    -webkit-appearance: none;
}

textarea.input {
    height: auto;
    min-height: 10rem;
    padding: 0.9rem 1rem;
    line-height: 1.55;
    resize: vertical;
}

.input::placeholder {
    color: var(--placeholder);
}

.input:hover {
    border-color: rgba(255, 255, 255, 0.32);
}

.input:focus {
    outline: none;
    border-color: #818cf8;
    background: rgba(9, 9, 11, 0.75);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2), 0 0 24px -6px rgba(99, 102, 241, 0.5);
}

.select {
    position: relative;
}

.select select {
    padding-right: 2.75rem;
    cursor: pointer;
    text-overflow: ellipsis;
}

.select select option {
    background: var(--bg-elev);
    color: var(--text);
}

.select i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
    transition: transform 0.4s var(--ease);
}

.select:focus-within i {
    transform: translateY(-50%) rotate(180deg);
}

.select.is-flash .input {
    border-color: #818cf8;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25);
}

.field-error {
    display: none;
    font-size: 0.85rem;
    color: var(--danger);
}

.field.is-invalid .input {
    border-color: rgba(252, 165, 165, 0.7);
    animation: shake 0.4s var(--ease);
}

.field.is-invalid .field-error {
    display: block;
}

@keyframes shake {
    20% { transform: translateX(-5px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(2px); }
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 0.5rem;
}

.form-legend,
.form-privacy {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--muted);
}

.form-privacy a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.form-status {
    font-size: 0.9rem;
    color: var(--muted);
}

.form-status.is-error {
    color: var(--danger);
}

.btn[aria-busy="true"] {
    pointer-events: none;
    opacity: 0.8;
}

.btn[aria-busy="true"] i {
    animation: nudge 0.9s var(--ease) infinite;
}

@keyframes nudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

.form-success {
    display: grid;
    gap: 1rem;
    justify-items: start;
    padding: clamp(0.5rem, 2vw, 1rem);
}

.form-success[hidden] {
    display: none;
}

.form-success img {
    animation: pop 0.8s var(--spring) both;
}

@keyframes pop {
    from { transform: scale(0.4) rotate(-20deg); opacity: 0; }
}

.form-success .btn {
    margin-top: 1rem;
}

/* Pied de page ---------------------------------------------------------- */

.footer {
    padding-top: clamp(3.5rem, 7vw, 5rem);
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    background: linear-gradient(to bottom, rgba(9, 9, 11, 0.5), var(--bg) 35%);
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.5), rgba(139, 92, 246, 0.5), transparent);
}

.footer-inner {
    display: grid;
    gap: 2.5rem;
}

.footer .brand-logo {
    width: 40px;
    height: 40px;
}

.footer-brand .muted {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    font-size: 0.95rem;
    color: var(--muted);
}

.footer-links a {
    transition: color 0.3s var(--ease);
}

@media (hover: hover) {
    .footer-links a:hover {
        color: var(--text);
    }
}

.footer-word {
    margin-top: clamp(3rem, 7vw, 5rem);
    font-size: min(11.4rem, 13.6vw);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.055em;
    white-space: nowrap;
    padding-bottom: 0.2em;
    margin-bottom: -0.12em;
    opacity: 0.9;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.footer-bottom .link {
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr auto;
        align-items: start;
    }
}

/* Apparitions au scroll ------------------------------------------------- */

html.js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 1s var(--ease),
        transform 1.1s var(--ease),
        border-color 0.4s var(--ease),
        box-shadow 0.6s var(--ease);
    transition-delay: var(--d, 0s);
}

html.js .card[data-reveal] {
    transform: translateY(44px) scale(0.97);
}

html.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* Pages simples (merci, 404) ------------------------------------------- */

.simple {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-block: calc(var(--nav-h) + 2rem) 4rem;
}

.simple-inner {
    max-width: 38rem;
}

.simple .lead {
    margin-bottom: 2.5rem;
}

/* Mentions légales ------------------------------------------------------ */

.legal-page .simple-inner {
    max-width: 46rem;
}

.legal {
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.legal + .legal {
    margin-top: 1rem;
}

.legal-list {
    margin: 1.1rem 0 0;
}

.legal-list > div {
    display: grid;
    gap: 0.15rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
}

.legal-list > div:last-child {
    padding-bottom: 0;
}

.legal-list dt {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.legal-list dd {
    margin: 0;
}

.legal-list a {
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 0.1rem;
    overflow-wrap: anywhere;
}

.legal > p {
    margin-top: 1.1rem;
    max-width: 62ch;
    color: var(--muted);
    font-size: 0.97rem;
}

.legal > p + p {
    margin-top: 0.75rem;
}

.legal > p a {
    color: var(--text);
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 0.1rem;
    overflow-wrap: anywhere;
}

.legal-back {
    margin-top: 2.5rem;
}

@media (min-width: 640px) {
    .legal-list > div {
        grid-template-columns: 13rem minmax(0, 1fr);
        gap: 1.5rem;
        align-items: baseline;
    }
}

/* Page document (conditions générales de vente) ------------------------- */

.doc {
    padding-block: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem)) var(--section-y);
}

.doc-head {
    max-width: 46rem;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.doc-version {
    margin-top: 1.25rem;
    text-shadow: var(--halo);
}

.doc-head .chips {
    margin: 1.5rem 0 0;
}

.doc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.doc-grid {
    display: grid;
    gap: 2rem;
}

.doc-body {
    min-width: 0;
}

/* Sommaire */
.toc summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer;
    list-style: none;
}

.toc summary::-webkit-details-marker {
    display: none;
}

.toc summary i {
    font-size: 1rem;
    transition: transform 0.4s var(--ease);
}

.toc[open] summary i {
    transform: rotate(180deg);
}

.toc ol {
    display: grid;
    gap: 0.15rem;
    margin: 0;
    padding: 0 0.6rem 0.75rem;
    list-style: none;
}

.toc a {
    display: grid;
    grid-template-columns: 1.9rem minmax(0, 1fr);
    align-items: baseline;
    padding: 0.5rem 0.65rem;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.35;
    color: var(--muted);
    transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.toc a span {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--placeholder);
    transition: color 0.3s var(--ease);
}

.toc a[aria-current="true"] {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.toc a[aria-current="true"] span {
    color: var(--accent);
}

/* Coordonnées du prestataire : cellules séparées par un filet */
.id-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    margin: 0;
    overflow: hidden;
    background: var(--line);
}

.id-grid > div {
    padding: 1.1rem 1.35rem;
    background: var(--bg-elev);
}

.id-grid dt {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--placeholder);
}

.id-grid dd {
    margin: 0.4rem 0 0;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

/* Articles */
.article {
    margin-top: clamp(3.5rem, 7vw, 5rem);
}

.article-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    text-shadow: var(--halo);
}

.article-body {
    display: grid;
    gap: 1rem;
}

.article-body + .article-body {
    margin-top: 2.5rem;
}

.article-body p {
    color: var(--muted);
    line-height: 1.7;
    max-width: 68ch;
    text-shadow: var(--halo);
}

.article-body strong {
    color: var(--text);
    font-weight: 500;
}

.article-body h3 {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    text-shadow: var(--halo);
}

/* Listes à puces « pixel », comme dans les offres */
.bullets {
    display: grid;
    gap: 0.9rem;
}

.bullets li {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr);
    gap: 0.85rem;
}

.bullets li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 0.62em;
    border-radius: 2px;
    background: var(--g-brand);
}

/* Étapes numérotées */
.steps {
    display: grid;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
}

.step-n {
    display: grid;
    place-items: center;
    min-width: 2.1rem;
    height: 1.65rem;
    margin-top: 0.1rem;
    border-radius: 8px;
    background: linear-gradient(120deg, rgba(34, 184, 255, 0.16), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(165, 180, 252, 0.28);
    color: #c7d2fe;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* Encadré */
.note,
.withdrawal {
    padding: clamp(1.25rem, 2.6vw, 1.75rem);
}

.note p,
.withdrawal p {
    text-shadow: none;
}

/* Tarifs en cartes */
.rates {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.rate {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
    padding: clamp(1.25rem, 2.4vw, 1.6rem);
}

.rate-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.015em;
}

.rate-desc {
    margin-top: 0.35rem;
    max-width: 30ch;
    font-size: 0.92rem;
    color: var(--muted);
}

.rate-meta {
    margin-top: 0.85rem;
    gap: 0.35rem 1.1rem;
    color: #d4d4d8;
}

.rate-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.rate-meta i {
    font-size: 1rem;
    color: var(--accent);
}

.rate-price {
    flex: none;
    text-align: right;
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.rate-price small {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--muted);
}

.rate-price--quote {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    letter-spacing: -0.03em;
}

/* Formulaire de rétractation : carte à bordure en pointillés */
.withdrawal {
    display: grid;
    gap: 0.9rem;
    justify-items: start;
    margin-top: 1.5rem;
    border-style: dashed;
    border-color: var(--line-strong);
}

.withdrawal p {
    color: var(--muted);
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.withdrawal-fields {
    display: grid;
    gap: 1.15rem;
    width: 100%;
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.withdrawal-fields li {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
}

.withdrawal-fields li::after {
    content: "";
    flex: 1;
    min-width: 2rem;
    border-bottom: 1px solid var(--line-strong);
    transform: translateY(-0.2em);
}

.doc-end {
    justify-content: space-between;
    margin-top: clamp(3rem, 6vw, 4rem);
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

@media (hover: hover) {
    .toc a:hover {
        color: var(--text);
    }

    .rate:hover {
        transform: translateY(-4px);
    }

    .plan-terms a:hover,
    .article-body a:hover,
    .id-grid a:hover,
    .withdrawal a:hover {
        border-color: var(--accent);
    }
}

@media (min-width: 640px) {
    .id-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rates {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .doc-grid {
        grid-template-columns: 17rem minmax(0, 1fr);
        gap: clamp(3rem, 6vw, 5rem);
        align-items: start;
    }

    .doc-aside {
        position: sticky;
        top: calc(var(--nav-h) + 1.5rem);
    }

    /* Sur ordinateur le sommaire reste ouvert : le titre n'est plus un bouton */
    html.js .toc summary {
        padding-bottom: 0.6rem;
        pointer-events: none;
    }

    html.js .toc summary i {
        display: none;
    }

    .article:first-of-type {
        margin-top: clamp(3rem, 5vw, 4rem);
    }
}

/* Tablette et mobile ---------------------------------------------------- */

@media (max-width: 899px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-actions .btn {
        flex: 1 1 100%;
    }
}

/* Mouvement réduit ------------------------------------------------------ */

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

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

    html.js [data-reveal],
    html.js .card[data-reveal],
    html.js [data-split] .word > span {
        opacity: 1;
        transform: none;
    }

    html.js .statement .w {
        opacity: 1;
    }

    .work-media,
    .work-card {
        transform: none !important;
        opacity: 1 !important;
    }

    .marquee-track {
        animation: none;
    }
}

/* Mobile : le texte du hero descend, la forme 3D occupe le haut de l'écran */
@media (max-width: 767px) {
    .hero {
        align-items: flex-end;
        padding-bottom: 3.5rem;
    }
}

/* Fenêtres peu hautes : le premier écran se resserre pour que le bandeau reste visible sans défiler */
@media (min-width: 768px) and (max-height: 820px) {
    .hero {
        padding-block: calc(var(--nav-h) + 1.5rem) 2rem;
    }

    .hero .eyebrow {
        margin-bottom: 1.1rem;
    }

    .hero-sub {
        margin-top: 1.25rem;
    }

    .hero-actions {
        margin-top: 1.75rem;
    }
}

@media (min-width: 900px) and (max-height: 700px) {
    :root {
        --marquee-pad: 1rem;
    }

    .hero-title {
        max-width: 14em;
        font-size: clamp(2.6rem, 5vw, 4.2rem);
    }

    .hero-sub {
        max-width: 36rem;
    }
}

@media (max-width: 767px) and (max-height: 740px) {
    :root {
        --marquee-pad: 1rem;
    }

    .hero {
        padding-block: calc(var(--nav-h) + 1rem) 1.5rem;
    }

    .hero .eyebrow {
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-sub {
        margin-top: 1rem;
        font-size: 1rem;
    }

    .hero-actions {
        margin-top: 1.5rem;
    }
}

@media (max-width: 767px) and (max-height: 600px) {
    .hero {
        padding-block: calc(var(--nav-h) + 0.5rem) 1.1rem;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-actions .btn {
        --h: 46px;
    }
}

/* Impression (sert aussi à produire le PDF des CGV) --------------------
   Page blanche et lisible, au style du studio : bandeau sombre, filets en
   dégradé de marque, encadrés clairs. Tout reste ici : l'écran ne change pas. */
@media print {
    :root {
        /* Palette d'impression */
        --p-dark: #09090b;
        --p-ink: #18181b;
        --p-soft: #3f3f46;
        --p-faint: #71717a;
        --p-line: #e4e4e7;
        --p-tint: #f7f8fc;
        --p-brand: #2f55d4;
        /* Dégradé de marque en teintes assez foncées pour du petit texte sur blanc */
        --p-g-text: linear-gradient(110deg, #0b86c9, #2f55d4 50%, #7a3fe0);
        --p-fs: 10.5pt;

        /* Les variables du site passent en clair : les règles existantes suivent */
        --bg: #fff;
        --bg-elev: var(--p-tint);
        --card: var(--p-tint);
        --card-glass: var(--p-tint);
        --line: var(--p-line);
        --line-strong: #a1a1aa;
        --text: var(--p-ink);
        --muted: var(--p-soft);
        --placeholder: var(--p-faint);
        --accent: var(--p-brand);
        --g-text: var(--p-g-text);
        --halo: none;
    }

    /* Garde les fonds et les dégradés dans le PDF */
    *,
    *::before,
    *::after {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    html {
        font-size: var(--p-fs);
        scroll-behavior: auto;
        overflow: visible;
        /* La page web déclare un thème sombre : sans cela, les marges du PDF sortent noires */
        color-scheme: light;
        background: #fff;
    }

    body {
        overflow: visible;
        background: #fff;
        color: var(--p-ink);
        font-size: var(--p-fs);
        line-height: 1.55;
    }

    /* Éléments d'écran : navigation, fond animé, boutons, pied de page du site */
    #bg,
    .skip-link,
    .nav,
    .menu,
    .doc-actions,
    .footer,
    .legal-back {
        display: none;
    }

    /* Décors : halos du body et lueurs des cartes */
    body::before,
    body::after,
    .card::before,
    .card::after,
    .plan--featured::before {
        display: none;
    }

    /* Apparitions et animations : tout est visible tel quel, même sans défilement */
    html.js [data-reveal],
    html.js .card[data-reveal],
    html.js [data-reveal].is-in,
    html.js [data-split] .word > span {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .pix i {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .grad {
        background: none;
        animation: none;
        color: var(--p-brand);
        -webkit-text-fill-color: currentColor;
    }

    a {
        color: var(--p-brand);
        text-decoration: none;
    }

    .container {
        max-width: none;
        padding-inline: 0;
    }

    p {
        orphans: 3;
        widows: 3;
    }

    /* Titres et étiquettes communs -------------------------------------- */
    .eyebrow {
        margin-bottom: 3mm;
        color: var(--p-soft);
        font-size: 7.5pt;
    }

    .h2 {
        font-size: 24pt;
        line-height: 1.12;
        letter-spacing: -0.03em;
        color: var(--p-ink);
    }

    .lead {
        margin-top: 3mm;
        max-width: 125mm;
        font-size: 11pt;
        color: var(--p-soft);
    }

    .meta {
        font-size: 8pt;
        color: var(--p-faint);
    }

    .badge {
        height: auto;
        padding: 0.6mm 2.4mm;
        border: 0.25mm solid rgba(59, 108, 255, 0.4);
        background: rgba(59, 108, 255, 0.08);
        color: var(--p-brand);
        font-size: 7pt;
    }

    /* Cartes : encadrés clairs, jamais coupés ---------------------------- */
    .card {
        border: 0.3mm solid var(--p-line);
        border-radius: 3.5mm;
        background: var(--p-tint);
        break-inside: avoid;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
    }

    /* Bandeau d'en-tête (première page) ---------------------------------- */
    .doc {
        page: cgv;
        padding: 0;
    }

    .doc-head {
        position: relative;
        max-width: none;
        margin: 0;
        padding: 8mm 9mm 9.5mm 31mm;
        overflow: hidden;
        border-radius: 4mm;
        background: var(--p-dark) url("../img/logo-128.png") no-repeat 9mm 8mm / 16mm 16mm;
        color: #fff;
        break-inside: avoid;
    }

    .doc-head::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 1.4mm;
        background: var(--g-brand);
    }

    .doc-head .eyebrow {
        color: #a1a1aa;
        margin-bottom: 2.5mm;
    }

    .doc-head .h2,
    .doc-head .h2 .grad {
        color: #fff;
        -webkit-text-fill-color: #fff;
    }

    .doc-head .h2 {
        font-size: 25pt;
    }

    .doc-version {
        margin-top: 3.5mm;
        color: #a1a1aa;
        font-size: 8.5pt;
        letter-spacing: 0.08em;
    }

    .doc-head .lead {
        max-width: 118mm;
        margin-top: 3mm;
        font-size: 10pt;
        color: #d4d4d8;
    }

    .doc-head .chips {
        gap: 2mm;
        margin: 4mm 0 0;
    }

    .doc-head .chips li {
        padding: 0.8mm 3mm;
        border: 0.25mm solid #52525b;
        background: transparent;
        color: #d4d4d8;
        font-size: 8pt;
    }

    /* Ordre : identité du prestataire, puis sommaire, puis les articles */
    .doc-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .doc-body {
        display: contents;
    }

    .id-grid {
        order: -2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 6mm 0 0;
        background: var(--p-line);
    }

    .id-grid > div {
        padding: 2.4mm 4mm;
        background: var(--p-tint);
    }

    .id-grid > div:last-child {
        grid-column: 1 / -1;
    }

    .id-grid dt {
        font-size: 7pt;
        color: var(--p-faint);
    }

    .id-grid dd {
        margin-top: 0.8mm;
        font-size: 10pt;
        line-height: 1.45;
    }

    .id-grid a,
    .article-body a,
    .withdrawal a {
        color: var(--p-brand);
        border-bottom: 0;
        padding-bottom: 0;
        text-decoration: underline;
        text-decoration-thickness: 0.2mm;
        text-underline-offset: 0.18em;
    }

    /* Sommaire compact sur 2 colonnes (le <details> est ouvert de force) */
    .doc-aside {
        order: -1;
        position: static;
        margin-top: 4mm;
    }

    .toc::details-content {
        content-visibility: visible;
        display: block;
    }

    .toc summary {
        display: block;
        padding: 3.5mm 5mm 1mm;
        font-size: 7.5pt;
        color: var(--p-faint);
    }

    .toc summary i {
        display: none;
    }

    .toc ol {
        display: block;
        columns: 2;
        column-gap: 8mm;
        padding: 0 5mm 3.5mm;
    }

    .toc li {
        break-inside: avoid;
    }

    .toc a {
        grid-template-columns: 7.5mm minmax(0, 1fr);
        padding: 0.9mm 0;
        border-radius: 0;
        font-size: 9.5pt;
        line-height: 1.35;
        color: var(--p-ink);
    }

    .toc a span {
        font-size: 7.5pt;
        color: var(--p-brand);
    }

    /* Articles ------------------------------------------------------------ */
    .article {
        margin-top: 9mm;
    }

    .article-head {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.4mm;
        margin-bottom: 4mm;
        break-inside: avoid;
        break-after: avoid-page;
    }

    .article-head + * {
        break-before: avoid-page;
    }

    /* Numéro d'article : Geist Mono en dégradé de marque */
    .article-head .badge {
        padding: 0;
        border: 0;
        background: var(--p-g-text);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        font-size: 8pt;
        letter-spacing: 0.14em;
    }

    .article-head .h3 {
        font-size: 15pt;
        font-weight: 600;
        line-height: 1.2;
        color: var(--p-ink);
    }

    /* Fin filet en dégradé de marque sous le titre */
    .article-head::after {
        content: "";
        align-self: stretch;
        height: 0.5mm;
        margin-top: 1.2mm;
        border-radius: 1mm;
        background: linear-gradient(90deg, var(--cyan), var(--blue) 35%, var(--violet) 70%, var(--p-line));
    }

    .article-body {
        display: block;
    }

    .article-body > * + * {
        margin-top: 3mm;
    }

    .article-body + .article-body {
        margin-top: 6mm;
    }

    .article-body p {
        max-width: none;
        color: var(--p-ink);
        line-height: 1.55;
    }

    .article-body strong {
        font-weight: 600;
        color: var(--p-ink);
    }

    .article-body h3 {
        font-size: 11.5pt;
        font-weight: 600;
        color: var(--p-ink);
        break-after: avoid;
    }

    /* Listes aérées */
    .bullets {
        display: block;
    }

    .bullets li {
        grid-template-columns: 2mm minmax(0, 1fr);
        gap: 3mm;
        break-inside: avoid;
    }

    .bullets li + li {
        margin-top: 2.6mm;
    }

    .bullets li::before {
        width: 2mm;
        height: 2mm;
        margin-top: 0.55em;
        border-radius: 0.4mm;
    }

    .steps {
        display: block;
    }

    .steps li {
        grid-template-columns: 9mm minmax(0, 1fr);
        gap: 3mm;
        break-inside: avoid;
    }

    .steps li + li {
        margin-top: 2.6mm;
    }

    .step-n {
        min-width: 0;
        height: 5.2mm;
        margin-top: 0.5mm;
        border-radius: 1.6mm;
        border-color: rgba(59, 108, 255, 0.4);
        background: rgba(59, 108, 255, 0.08);
        color: var(--p-brand);
        font-size: 7.5pt;
    }

    /* Encadrés et formulaire de rétractation */
    .note,
    .withdrawal {
        padding: 4.5mm 5.5mm;
        margin-top: 4mm;
    }

    .note p + p,
    .withdrawal p + p {
        margin-top: 2.4mm;
    }

    .note p,
    .withdrawal p {
        color: var(--p-ink);
        font-size: 10pt;
        line-height: 1.5;
    }

    /* L'encadré légal de garantie fait presque une page : il peut passer à la suivante */
    .article > .note {
        break-inside: auto;
    }

    .article-body > .note {
        margin-top: 4mm;
    }

    .withdrawal {
        gap: 0;
        margin-top: 5mm;
        border: 0.35mm dashed #a1a1aa;
    }

    .withdrawal > * + * {
        margin-top: 2.6mm;
    }

    .withdrawal-fields {
        display: block;
        margin-top: 4mm;
        font-size: 10pt;
        color: var(--p-ink);
    }

    .withdrawal-fields li {
        flex-wrap: wrap;
        margin-top: 5mm;
    }

    .withdrawal-fields li::after {
        flex: 1 1 40mm;
        border-bottom-color: #a1a1aa;
    }

    /* Tarifs : cartes sur 2 colonnes */
    .rates {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3mm;
        margin-top: 4mm;
    }

    .rate {
        gap: 3mm;
        padding: 3.5mm 4mm;
    }

    .rate > div {
        min-width: 0;
    }

    .rate-name {
        gap: 2mm;
        font-size: 11pt;
        font-weight: 600;
    }

    .rate-desc {
        max-width: none;
        margin-top: 1mm;
        font-size: 9pt;
        line-height: 1.4;
        color: var(--p-soft);
    }

    .rate-meta {
        margin-top: 2.2mm;
        gap: 1mm 3mm;
        font-size: 7.5pt;
        color: var(--p-soft);
    }

    .rate-meta i {
        font-size: 9pt;
        color: var(--p-brand);
    }

    .rate-price {
        font-size: 16pt;
    }

    .rate-price--quote {
        font-size: 12pt;
    }

    .rate-price small {
        margin-top: 1.2mm;
        font-size: 7.5pt;
        color: var(--p-faint);
    }

    .rate.plan--featured {
        border-color: rgba(59, 108, 255, 0.55);
        background: var(--p-tint);
    }

    .doc-end {
        margin-top: 10mm;
        padding-top: 4mm;
        border-top: 0.3mm solid var(--p-line);
        font-size: 7.5pt;
        break-inside: avoid;
    }

    /* Pages simples (mentions légales, confidentialité) ------------------ */
    .simple {
        display: block;
        min-height: 0;
        padding: 0;
    }

    .simple-inner,
    .legal-page .simple-inner {
        max-width: none;
    }

    .simple .lead {
        margin-bottom: 6mm;
    }

    .legal {
        padding: 5mm 6mm;
    }

    .legal + .legal {
        margin-top: 4mm;
    }

    .legal-list > div {
        padding: 2mm 0;
    }

    .legal-list dt {
        font-size: 7.5pt;
        color: var(--p-faint);
    }

    .legal > p {
        max-width: none;
        font-size: 10pt;
        color: var(--p-ink);
    }

    .legal a {
        color: var(--p-brand);
        border-bottom: 0;
        text-decoration: underline;
    }
}

/* Marges et pied de page de chaque feuille A4 ---------------------------- */
@page {
    size: A4;
    margin: 17mm 17mm 21mm;

    @bottom-left {
        content: "Pixel Designer";
        font: 400 7.5pt/1 "Geist Mono", ui-monospace, monospace;
        letter-spacing: 0.04em;
        color: #71717a;
        vertical-align: middle;
        white-space: nowrap;
    }

    @bottom-right {
        content: "Page " counter(page) " / " counter(pages);
        font: 400 7.5pt/1 "Geist Mono", ui-monospace, monospace;
        letter-spacing: 0.04em;
        color: #71717a;
        vertical-align: middle;
        white-space: nowrap;
    }
}

/* CGV : le pied de page rappelle le document et sa version */
@page cgv {
    @bottom-left {
        content: "Pixel Designer · CGV · version du 15 octobre 2026";
    }
}

/* 1re page : le bandeau suffit, pas de pied de page */
@page cgv:first {
    @bottom-left {
        content: none;
    }

    @bottom-right {
        content: none;
    }
}
