/* ==================================================================
   FOXALIA — main.css
   1. Tokens   2. Base   3. Composants   4. Sections   5. Responsive
================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
    --color-primary: #2563eb;
    --color-primary-strong: #1d4ed8;
    --color-secondary: #7c3aed;
    --color-accent: #ec4899;
    --color-cyan: #06b6d4;
    --color-teal: #14b8a6;
    --color-green: #22a35a;
    --color-red: #ef4444;

    --color-bg: #ffffff;
    --color-bg-rgb: 255, 255, 255;
    --color-surface: #ffffff;
    --color-surface-soft: #f6f8fd;
    --color-glass: rgba(255, 255, 255, .72);
    --color-text: #0b1124;
    --color-muted: #5a6378;
    --color-border: #e6eaf3;
    --color-border-strong: #d7ddeb;

    --gradient-brand: linear-gradient(90deg, #2f6bff 0%, #7b4dff 52%, #f0449e 100%);
    --gradient-text: linear-gradient(90deg, #2563eb 0%, #6d4bf5 45%, #d63ea6 75%, #f0449e 100%);
    --gradient-cool: linear-gradient(90deg, #2f6bff 0%, #5b5cf6 60%, #8b5cf6 100%);

    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(17, 26, 64, .04);
    --shadow-sm: 0 2px 6px rgba(17, 26, 64, .04), 0 8px 24px -12px rgba(17, 26, 64, .10);
    --shadow-md: 0 4px 10px rgba(17, 26, 64, .04), 0 18px 40px -16px rgba(30, 41, 99, .18);
    --shadow-lg: 0 30px 60px -24px rgba(30, 41, 99, .28);

    --container: 1200px;
    --gutter: 24px;
    --header-h: 72px;

    --font-display: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-script: "Caveat", "Segoe Script", cursive;

    --ease: cubic-bezier(.22, .61, .36, 1);
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --color-bg: #0a0f1f;
        --color-bg-rgb: 10, 15, 31;
        --color-surface: #111833;
        --color-surface-soft: #0f1630;
        --color-glass: rgba(17, 24, 51, .72);
        --color-text: #eef1fb;
        --color-muted: #a3acc4;
        --color-border: rgba(255, 255, 255, .08);
        --color-border-strong: rgba(255, 255, 255, .16);
        --color-primary: #5b8cff;
        --mountains-opacity: .16;
        --shadow-sm: 0 2px 6px rgba(0, 0, 0, .25), 0 8px 24px -12px rgba(0, 0, 0, .5);
        --shadow-md: 0 4px 10px rgba(0, 0, 0, .25), 0 18px 40px -16px rgba(0, 0, 0, .6);
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --color-bg: #0a0f1f;
    --color-bg-rgb: 10, 15, 31;
    --color-surface: #111833;
    --color-surface-soft: #0f1630;
    --color-glass: rgba(17, 24, 51, .72);
    --color-text: #eef1fb;
    --color-muted: #a3acc4;
    --color-border: rgba(255, 255, 255, .08);
    --color-border-strong: rgba(255, 255, 255, .16);
    --color-primary: #5b8cff;
    --mountains-opacity: .16;
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, .25), 0 8px 24px -12px rgba(0, 0, 0, .5);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, .25), 0 18px 40px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color .3s var(--ease), color .3s var(--ease);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
strong { font-weight: 600; }

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 6px;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: fixed;
    top: 12px; left: 12px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--color-text);
    color: var(--color-bg);
    font-weight: 600;
    transform: translateY(-160%);
    transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* ---------- 3. Composants ---------- */

/* Labels */
.eyebrow {
    margin-bottom: 10px;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
}
.eyebrow--light { color: rgba(255, 255, 255, .9); }

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-right: .04em;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.15;
}
.section-title--sm { font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2rem); }

.section-lead {
    margin-top: 12px;
    color: var(--color-muted);
    font-size: 15px;
}

/* Boutons */
.btn {
    --btn-h: 44px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: var(--btn-h);
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn .icon { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(2px); }
.btn:active { transform: translateY(0); }

.btn--sm { --btn-h: 36px; padding: 0 16px; font-size: 13px; gap: 8px; }
.btn--sm .icon { width: 15px; height: 15px; }
.btn--lg { --btn-h: 52px; padding: 0 28px; font-size: 15px; }

.btn--gradient {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(123, 77, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--gradient:hover { box-shadow: 0 16px 30px -12px rgba(123, 77, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--gradient-cool {
    background: var(--gradient-cool);
    color: #fff;
    box-shadow: 0 12px 28px -12px rgba(59, 108, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.btn--ghost {
    border-color: var(--color-border-strong);
    background: var(--color-glass);
    color: var(--color-text);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }

.btn--outline {
    border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: var(--color-surface);
    color: var(--color-primary);
}
.btn--outline:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 40px; height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--color-text);
    transition: background-color .2s var(--ease);
}
.icon-btn:hover { background: rgba(var(--color-bg-rgb), .7); }
.icon-btn .icon { width: 20px; height: 20px; }

/* Lien flèche */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 600;
}
.link-arrow .icon { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Pastilles d'icônes colorées */
.chip-icon {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px; height: 42px;
    border-radius: 50%;
    --tone: var(--color-primary);
    color: var(--tone);
    background: color-mix(in srgb, var(--tone) 11%, var(--color-surface));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 14%, transparent);
}
.chip-icon .icon { width: 21px; height: 21px; }
.chip-icon--blue   { --tone: #2f6bff; }
.chip-icon--violet { --tone: #7c4dff; }
.chip-icon--pink   { --tone: #e8459b; }
.chip-icon--cyan   { --tone: #0aa5c4; }

/* Badges & tags */
.badge {
    position: absolute;
    top: 12px; left: 12px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    color: #fff;
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .45);
}
.badge--blue   { background: linear-gradient(90deg, #2f6bff, #4f7dff); }
.badge--pink   { background: linear-gradient(90deg, #ff3d8b, #e8459b); }
.badge--violet { background: linear-gradient(90deg, #7c4dff, #c043e8); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
    padding: 3px 10px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 16%, transparent);
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--color-primary) 6%, var(--color-surface));
    color: var(--color-primary);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.5;
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 34px; height: 34px; filter: drop-shadow(0 4px 8px rgba(91, 92, 246, .3)); }
.logo__text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--color-text);
}
.logo--light .logo__text { color: #fff; }

/* ---------- 4. Sections ---------- */

/* Header */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-h);
    transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.header.is-scrolled {
    background: rgba(var(--color-bg-rgb), .78);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 1px 0 var(--color-border), 0 10px 30px -20px rgba(17, 26, 64, .25);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
}
.nav__list { display: flex; align-items: center; gap: 34px; }
.nav__link {
    position: relative;
    padding: 6px 0;
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    opacity: .82;
    transition: color .2s var(--ease), opacity .2s var(--ease);
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transition: transform .3s var(--ease);
}
.nav__link:hover { opacity: 1; color: var(--color-primary); }
.nav__link.is-active { color: var(--color-primary); opacity: 1; }
.nav__link.is-active::after { transform: scaleX(.6); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.icon--sun, .icon--close { display: none; }
[data-theme="dark"] .icon--moon { display: none; }
[data-theme="dark"] .icon--sun { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .icon--moon { display: none; }
    :root:not([data-theme="light"]) .icon--sun { display: block; }
}

/* Hero */
.hero {
    position: relative;
    isolation: isolate;
    /* hauteur calée sur le ratio du paysage (1983×793) : le renard garde l'échelle de la maquette */
    min-height: clamp(560px, 40vw, 760px);
    padding-top: calc(var(--header-h) + clamp(28px, 3.4vw, 52px));
    padding-bottom: 64px;
}
.hero__stars { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}
.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 66% 100%;
}
.hero__veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 70% at 0% 40%, rgba(var(--color-bg-rgb), .55) 0%, rgba(var(--color-bg-rgb), 0) 55%),
        linear-gradient(to top, rgba(var(--color-bg-rgb), 1) 0%, rgba(var(--color-bg-rgb), 0) 22%),
        linear-gradient(to bottom, rgba(var(--color-bg-rgb), .35) 0%, rgba(var(--color-bg-rgb), 0) 18%);
    pointer-events: none;
}
.hero__inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}
.hero__content { max-width: 540px; padding-top: 4px; }
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.9rem, 1.6rem + 3.4vw, 4.15rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.02;
}
.hero__lead {
    max-width: 440px;
    margin-top: 26px;
    color: color-mix(in srgb, var(--color-text) 80%, transparent);
    font-size: 15.5px;
    line-height: 1.65;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__stats {
    flex-shrink: 0;
    width: 248px;
    margin-top: -6px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: var(--radius-lg);
    background: var(--color-glass);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .6);
}
[data-theme="dark"] .hero__stats { border-color: rgba(255, 255, 255, .12); }
.hero-stats { display: grid; gap: 16px; }
.hero-stats__item { display: flex; align-items: center; gap: 16px; }
.hero-stats__text { display: grid; line-height: 1.2; }
.hero-stats__value {
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.02em;
}
.hero-stats__label { margin-top: 2px; color: var(--color-muted); font-size: 12.5px; }

/* Sections génériques */
.section { position: relative; padding-block: 48px; }
.section-head { margin-bottom: 28px; }
.section-head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}
.section-head--split .btn { margin-bottom: 30px; }

/* Projets */
.projects { margin-top: -40px; padding-top: 0; }
.projects__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.project-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-md);
}
.project-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0;
    background: #0d1230;
}
.project-card__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.project-card:hover .project-card__image img { transform: scale(1.03); }
.project-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 20px 22px;
}
.project-card__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.3;
}
.project-card__text {
    margin-top: 10px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.55;
}
.project-card .tags { margin-top: 16px; }
.project-card__link { margin-top: auto; padding-top: 18px; }
.project-card__link::before { content: ""; position: absolute; inset: 0; } /* carte entièrement cliquable */
.project-card { position: relative; }

/* Bandeau « tous les projets » (slider horizontal) */
.pslider { position: relative; margin-top: 28px; }
.pslider::before, .pslider::after {
    content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 56px; pointer-events: none;
}
.pslider::before { left: 0; background: linear-gradient(90deg, var(--color-bg), transparent); }
.pslider::after { right: 0; background: linear-gradient(270deg, var(--color-bg), transparent); }
.pslider__track {
    display: flex; gap: 14px;
    padding: 6px 4px 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; scrollbar-width: none;
    cursor: grab;
}
.pslider__track::-webkit-scrollbar { display: none; }
.pslider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.pslider__track.is-dragging a { pointer-events: none; }
.pslider__item { flex: none; width: 272px; scroll-snap-align: start; }
.pslider__card {
    position: relative;
    display: flex; align-items: center; gap: 14px;
    height: 100%; padding: 14px 44px 14px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-xs);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pslider__card:hover, .pslider__card:focus-visible {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--tone-a) 40%, var(--color-border-strong));
    box-shadow: var(--shadow-sm);
}
.pslider__card .app-icon { flex: none; width: 48px; height: 48px; }
.pslider__body { display: grid; gap: 3px; min-width: 0; }
.pslider__title { overflow: hidden; font: 600 14px/1.3 var(--font-display); white-space: nowrap; text-overflow: ellipsis; }
.pslider__cat { color: var(--tone-a); font: 600 11.5px/1.3 var(--font-display); }
.pslider__arrow { position: absolute; right: 14px; top: 50%; color: var(--color-primary); transform: translateY(-50%); transition: transform .25s var(--ease); }
.pslider__arrow .icon { width: 15px; height: 15px; }
.pslider__card:hover .pslider__arrow { transform: translate(3px, -50%); }
.pslider__btn {
    position: absolute; top: calc(50% - 8px); z-index: 2;
    display: grid; place-items: center;
    width: 42px; height: 42px; padding: 0;
    border: 1px solid var(--color-border-strong); border-radius: 50%;
    background: var(--color-surface); color: var(--color-text);
    box-shadow: var(--shadow-md);
    transform: translateY(-50%);
    transition: opacity .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.pslider__btn .icon { width: 18px; height: 18px; }
.pslider__btn:hover { border-color: transparent; background: var(--gradient-brand); color: #fff; }
.pslider__btn--prev { left: -10px; }
.pslider__btn--prev .icon { transform: scaleX(-1); }
.pslider__btn--next { right: -10px; }
.pslider__btn[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 767px) {
    .pslider__item { width: 240px; }
    .pslider__btn { display: none; }
}

/* Teintes de projet (logos générés, écrans, boîtes) */
.tone--blue   { --tone-a: #2f6bff; --tone-b: #22b8ff; }
.tone--pink   { --tone-a: #ff3d8b; --tone-b: #b44df0; }
.tone--violet { --tone-a: #7c4dff; --tone-b: #c043e8; }
.tone--gold   { --tone-a: #b8862f; --tone-b: #e2b85c; }
.tone--orange { --tone-a: #ff6a2f; --tone-b: #ffb547; }
.tone--cyan   { --tone-a: #0891b2; --tone-b: #3b82f6; }
.tone--green  { --tone-a: #0f9f6e; --tone-b: #0b6b58; }
.tone--rose   { --tone-a: #e0607e; --tone-b: #6d2440; }
.badge--gold   { background: linear-gradient(90deg, #b8862f, #d9ab52); }
.badge--orange { background: linear-gradient(90deg, #ff6a2f, #ff9b3d); }

/* Sélecteur de catégories */
.project-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 26px;
}
.project-tab {
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 6px 0 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    background: var(--color-surface);
    color: var(--color-muted);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-xs);
    transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.project-tab .icon { width: 16px; height: 16px; }
.project-tab:hover { border-color: var(--color-border-strong); color: var(--color-text); }
.project-tab__count {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    background: var(--color-surface-soft);
    color: var(--color-muted);
    font-size: 11.5px;
    font-weight: 600;
}
.project-tab[aria-selected="true"] {
    border-color: transparent;
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 10px 22px -12px rgba(123, 77, 255, .7);
}
.project-tab[aria-selected="true"] .project-tab__count { background: rgba(255, 255, 255, .22); color: #fff; }

.project-panel:focus-visible { outline-offset: 8px; }
.js .project-panel:not([hidden]) { animation: panel-in .45s var(--ease) both; }
html:not(.js) .project-panel[hidden] { display: block; margin-top: 40px; }
@keyframes panel-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

/* Sites web : « afficher plus » */
.js .project-browser:not(.is-filtering) [data-collapsible]:not(.is-expanded) .is-extra { display: none; }
.project-browser.is-filtering .projects__more { display: none; }
.projects__more { display: flex; justify-content: center; margin-top: 26px; }
.projects__more .btn[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* Applications mobiles : écrans de smartphone */
/* Grille masonry : JS calcule la hauteur de chaque carte en rangées de 2px (voir main.js) */
.apps-grid {
    --masonry-gap: 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--masonry-gap);
}
.apps-grid.is-masonry { grid-auto-rows: 2px; row-gap: 0; }
.apps-grid.is-masonry > .app-card { align-self: start; }
.apps-grid .app-card--lg {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
}
.apps-grid .app-card--lg .phone { width: min(178px, 80%); margin: 28px auto; }
.apps-grid .app-card--lg .app-card__body { padding: 28px 26px 26px 0; }
.apps-grid .app-card--lg .app-card__title { font-size: 20px; }
.apps-grid .app-card--lg .app-card__text { font-size: 14.5px; }
.app-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background:
        radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--tone-a) 16%, transparent), transparent 70%),
        var(--color-surface);
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.app-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.phone {
    position: relative;
    width: min(150px, 78%);
    aspect-ratio: 9 / 19.5;
    margin: 26px auto 0;
    padding: 6px;
    border-radius: 28px;
    background: #0b0f1d;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .08),
        0 0 0 1px #262c40,
        0 26px 40px -20px color-mix(in srgb, var(--tone-a) 70%, transparent);
    transition: transform .5s var(--ease);
}
.app-card:hover .phone { transform: translateY(-4px) rotate(-1.5deg); }
.phone__island {
    position: absolute;
    top: 11px; left: 50%;
    z-index: 2;
    width: 42px; height: 12px;
    border-radius: var(--radius-pill);
    background: #000;
    transform: translateX(-50%);
}
.phone__screen {
    display: block;
    width: 100%; height: 100%;
    border-radius: 22px;
    object-fit: cover;
    object-position: top center;
}
.phone__screen--generated {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: 30px 11px 0;
    background:
        radial-gradient(90% 50% at 80% 0%, rgba(255, 255, 255, .28), transparent 60%),
        linear-gradient(165deg, var(--tone-a), var(--tone-b));
    color: #fff;
}
.phone__status {
    position: absolute;
    top: 8px; left: 15px; right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 8px;
    font-weight: 600;
}
.phone__status-icons { width: 20px; height: 6px; border-radius: 2px; background: rgba(255, 255, 255, .75); }
.phone__app-icon {
    display: grid;
    place-items: center;
    width: 50px; height: 50px;
    margin-top: 22px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 15px;
    background: rgba(255, 255, 255, .18);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .45);
}
.phone__app-icon .icon { width: 26px; height: 26px; }
.phone__app-name {
    margin-top: 9px;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}
.phone__lines { display: grid; justify-items: center; gap: 5px; width: 100%; margin-top: 12px; }
.phone__lines i { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .38); }
.phone__lines i:nth-child(1) { width: 78%; }
.phone__lines i:nth-child(2) { width: 58%; }
.phone__lines i:nth-child(3) { width: 68%; }
.phone__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; margin-top: 14px; }
.phone__tiles i { display: block; aspect-ratio: 1 / .78; border-radius: 9px; background: rgba(255, 255, 255, .17); }
.phone__tiles i:first-child { background: rgba(255, 255, 255, .3); }
.phone__tabbar {
    display: flex;
    justify-content: space-around;
    width: calc(100% + 22px);
    margin-top: auto;
    padding: 9px 6px 12px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    background: rgba(0, 0, 0, .14);
}
.phone__tabbar i { width: 12px; height: 12px; border-radius: 4px; background: rgba(255, 255, 255, .45); }
.phone__tabbar i:first-child { background: #fff; }
.app-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px 18px 20px; }
.app-card__title { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.app-card__text { margin: 8px 0 14px; color: var(--color-muted); font-size: 13.5px; line-height: 1.55; }
.app-card__link { margin-top: auto; padding-top: 16px; }
.app-card { position: relative; }
.app-card__link::before { content: ""; position: absolute; inset: 0; }

/* Pied de carte : lien + partage */
.card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
}
.stack + .card-actions { margin-top: 0; padding-top: 14px; }
.card-actions .link-arrow { margin: 0; padding: 0; }
.software-card .card-actions { justify-content: center; }

/* Jauge de langages (façon GitHub) */
.stack { margin-top: auto; padding-top: 16px; }
.stack__bar {
    display: flex;
    gap: 2px;
    height: 7px;
    overflow: hidden;
    border-radius: var(--radius-pill);
}
.stack__bar i { flex: 0 1 var(--w); min-width: 3px; background: var(--c); }
.stack__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 9px;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.4;
}
.stack__legend li { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.stack__legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.stack__legend span { color: var(--color-muted); font-weight: 400; }
.stack--dark .stack__legend { color: rgba(255, 255, 255, .88); }
.stack--dark .stack__legend span { color: rgba(255, 255, 255, .55); }
.software-card .stack { max-width: 260px; margin-inline: auto; }
.software-card .stack__legend { justify-content: center; }

/* Partage */
.share { position: relative; z-index: 3; flex-shrink: 0; }
.share__toggle {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-surface);
    color: var(--color-muted);
    list-style: none;
    cursor: pointer;
    transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.share__toggle::-webkit-details-marker { display: none; }
.share__toggle .icon { width: 16px; height: 16px; }
.share__toggle:hover, .share[open] .share__toggle {
    border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--color-primary) 8%, var(--color-surface));
    color: var(--color-primary);
}
.share__menu {
    position: absolute;
    right: -6px; bottom: calc(100% + 10px);
    z-index: 30;
    width: 214px;
    padding: 8px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-lg), 0 2px 8px rgba(17, 26, 64, .08);
    animation: pop-in .2s var(--ease) both;
    transform-origin: 90% 100%;
}
.share__heading {
    padding: 4px 10px 6px;
    color: var(--color-muted);
    font-family: var(--font-display);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.share__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--color-text);
    font-size: 13.5px;
    font-weight: 500;
    text-align: left;
    transition: background-color .15s var(--ease), color .15s var(--ease);
}
.share__item:hover, .share__item:focus-visible { background: var(--color-surface-soft); color: var(--color-primary); outline-offset: -2px; }
.share__item .icon { width: 17px; height: 17px; color: var(--color-muted); }
.share__item:hover .icon { color: currentColor; }
.share__item.is-copied, .share__item.is-copied .icon { color: #16a34a; }
.project-card:has(.share[open]), .app-card:has(.share[open]), .ai-card:has(.share[open]),
.ext-card:has(.share[open]), .software-card:has(.share[open]) { z-index: 6; }
@keyframes pop-in {
    from { opacity: 0; transform: translateY(6px) scale(.97); }
    to { opacity: 1; transform: none; }
}

/* Bulle « avis client » : icône + info-bulle au survol */
.review-bubble {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 3;
}
.review-bubble:hover, .review-bubble:focus-within { z-index: 8; }
.review-bubble__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 14px 14px 14px 4px;
    background: rgba(255, 255, 255, .92);
    color: var(--color-accent);
    box-shadow: 0 10px 22px -10px rgba(17, 26, 64, .45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.review-bubble__btn .icon { width: 17px; height: 17px; }
.review-bubble:hover .review-bubble__btn, .review-bubble__btn:focus-visible { transform: translateY(-2px) scale(1.06); box-shadow: 0 14px 26px -10px rgba(17, 26, 64, .5); }
.review-bubble__tip {
    position: absolute;
    top: 0; right: calc(100% + 10px);
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 260px;
    padding: 12px 14px;
    border-radius: 14px 4px 14px 14px;
    background: #fff;
    color: #0b1124;
    font-size: 12.5px;
    line-height: 1.45;
    box-shadow: 0 18px 36px -14px rgba(17, 26, 64, .5);
    opacity: 0;
    visibility: hidden;
    transform: translateX(6px);
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.review-bubble:hover .review-bubble__tip, .review-bubble:focus-within .review-bubble__tip { opacity: 1; visibility: visible; transform: none; }
.review-bubble__tip .stars .icon { width: 12px; height: 12px; }
.review-bubble__text { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review-bubble__author { font-size: 11px; font-weight: 600; color: #6b7280; }
@media (max-width: 480px) { .review-bubble__tip { width: min(240px, calc(100vw - 96px)); } }
.logo-wall__item { position: relative; }

/* Modale d'avis client */
.review-modal {
    width: 100%;
    max-width: min(560px, calc(100% - 32px));
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-text);
    overflow: visible;
}
.review-modal::backdrop { background: rgba(8, 12, 28, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.review-modal[open] { animation: modal-in .35s var(--ease) both; }
@keyframes modal-in {
    from { opacity: 0; transform: translateY(16px) scale(.98); }
    to { opacity: 1; transform: none; }
}
.review-modal__card {
    position: relative;
    overflow: hidden;
    padding: 34px 34px 30px;
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
}
.review-modal__card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--tone-a), var(--tone-b));
}
.review-modal__close { position: absolute; top: 14px; right: 14px; }
.review-modal__eyebrow {
    padding-right: 40px;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.review-modal__quote {
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    margin: 18px 0 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--tone-a), var(--tone-b));
    color: #fff;
    box-shadow: 0 12px 24px -12px var(--tone-a);
}
.review-modal__quote .icon { width: 24px; height: 24px; }
.stars { display: inline-flex; gap: 2px; }
.stars .icon { width: 18px; height: 18px; color: #dde1ea; fill: currentColor; stroke: none; }
.stars .icon.is-on { color: #f5b301; }
.review-modal__text { margin: 12px 0 0; }
.review-modal__text p { font-family: var(--font-display); font-size: 18px; font-weight: 500; line-height: 1.6; letter-spacing: -.01em; }
.review-modal__author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}
.review-modal__avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tone-a), var(--tone-b));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    object-fit: cover;
}
.review-modal__name { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.review-modal__role, .review-modal__date { color: var(--color-muted); font-size: 13px; line-height: 1.4; }
.review-modal__link { margin-top: 22px; }

/* Arrivée depuis un lien partagé */
.is-targeted { animation: targeted 2.4s var(--ease); }
@keyframes targeted {
    0%, 60% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 55%, transparent), var(--shadow-md); }
    100% { box-shadow: var(--shadow-sm); }
}

/* Logos générés (SaaS, IA, extensions) */
.wordmark__mark, .ai-card__mark, .ext-card__logo {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--tone-a, #2f6bff), var(--tone-b, #7c4dff));
}
.wordmark__mark--img, .ai-card__mark--img, .ext-card__logo--img { background: none; object-fit: contain; }

/* SaaS : mur de logos */
.logo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 290px));
    justify-content: center;
    gap: 18px;
}
.logo-tile {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 168px;
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--color-primary) 8%, transparent), transparent 60%),
        var(--color-surface);
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.logo-tile:hover { transform: translateY(-4px); border-color: var(--color-border-strong); box-shadow: var(--shadow-md); }
.logo-tile__img { max-width: 78%; max-height: 96px; object-fit: contain; }
.logo-tile__go {
    position: absolute;
    top: 14px; right: 14px;
    color: var(--color-muted);
    opacity: 0;
    transform: translate(-3px, 3px);
    transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.logo-tile__go .icon { width: 16px; height: 16px; }
.logo-tile:hover .logo-tile__go, .logo-tile:focus-visible .logo-tile__go { opacity: 1; transform: none; }
.wordmark { display: inline-flex; align-items: center; gap: 14px; }
.wordmark__mark { width: 52px; height: 52px; border-radius: 15px; box-shadow: 0 12px 24px -12px var(--tone-a); }
.wordmark__mark .icon { width: 27px; height: 27px; }
.wordmark__name {
    display: grid;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
}
.wordmark__name small {
    margin-top: 5px;
    color: var(--color-muted);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .32em;
    text-transform: uppercase;
}

/* IA */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 600px));
    justify-content: center;
    gap: 22px;
}
.ai-card {
    position: relative;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(60% 90% at 0% 50%, color-mix(in srgb, var(--tone-a) 38%, transparent), transparent 70%),
        radial-gradient(50% 70% at 100% 0%, color-mix(in srgb, var(--tone-b) 30%, transparent), transparent 70%),
        #0b1030;
    color: #fff;
    box-shadow: var(--shadow-md);
    transition: transform .35s var(--ease);
}
.ai-card:hover { transform: translateY(-4px); }
.ai-card__visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.ai-card__orbit {
    position: absolute;
    inset: 4%;
    border: 1px dashed rgba(255, 255, 255, .22);
    border-radius: 50%;
    animation: orbit 26s linear infinite;
}
.ai-card__orbit::after {
    content: "";
    position: absolute;
    top: 12%; left: 12%;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--tone-b);
    box-shadow: 0 0 12px var(--tone-b);
}
.ai-card__orbit--2 { inset: 22%; border-style: solid; border-color: rgba(255, 255, 255, .12); animation-duration: 18s; animation-direction: reverse; }
.ai-card__orbit--2::after { top: auto; bottom: 4%; left: 50%; background: #22d3ee; box-shadow: 0 0 12px #22d3ee; }
@keyframes orbit { to { transform: rotate(360deg); } }
.ai-card__mark {
    position: relative;
    width: 76px; height: 76px;
    border-radius: 22px;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .06), 0 0 46px -4px var(--tone-a);
}
.ai-card__mark .icon { width: 38px; height: 38px; }
.ai-card__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.ai-card__text { margin: 8px 0 16px; color: rgba(255, 255, 255, .76); font-size: 14px; line-height: 1.6; }
.tags--dark .tag { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .08); color: #fff; }
.ai-card__link { margin-top: 18px; color: #b9c3ff; }
.ai-card__link::before { content: ""; position: absolute; inset: 0; }

/* Logiciels : boîtes produit */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px 22px;
}
.software-card { position: relative; text-align: center; }
.software-card .link-arrow::before { content: ""; position: absolute; inset: 0; }
.software-box {
    position: relative;
    display: grid;
    place-items: center;
    height: 270px;
    margin-bottom: 14px;
    border-radius: var(--radius-md);
    background: radial-gradient(70% 60% at 50% 45%, color-mix(in srgb, var(--tone-a) 14%, transparent), transparent 75%);
    perspective: 900px;
}
.software-box::after {
    content: "";
    position: absolute;
    bottom: 22px; left: 50%;
    width: 170px; height: 20px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(15, 23, 42, .32), transparent);
    transform: translateX(-50%);
}
.software-box__inner {
    position: relative;
    width: 150px; height: 200px;
    transform-style: preserve-3d;
    transform: rotateX(-6deg) rotateY(-30deg);
    transition: transform .7s var(--ease);
}
.software-card:hover .software-box__inner { transform: rotateX(-4deg) rotateY(-14deg) translateY(-4px); }
.software-box__front,
.software-box__side,
.software-box__top { position: absolute; backface-visibility: hidden; }
.software-box__front {
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: 14px 12px 0;
    border-radius: 3px;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, 0) 38%),
        radial-gradient(80% 50% at 50% 40%, rgba(255, 255, 255, .22), transparent 70%),
        linear-gradient(160deg, var(--tone-a), var(--tone-b));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
    transform: translateZ(18px);
}
.software-box__front img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.software-box__brand { font-family: var(--font-display); font-size: 8.5px; font-weight: 700; letter-spacing: .32em; opacity: .85; }
.software-box__icon {
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    margin-top: 16px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 18px;
    background: rgba(255, 255, 255, .16);
    box-shadow: 0 14px 24px -12px rgba(0, 0, 0, .5);
}
.software-box__icon .icon { width: 30px; height: 30px; }
.software-box__appicon { display: grid; margin-top: 16px; }
.software-box__appicon .app-icon { width: 56px; height: 56px; border-radius: 17px; border: 1px solid rgba(255, 255, 255, .5); box-shadow: 0 14px 24px -12px rgba(0, 0, 0, .55); }
.software-box__appicon .app-icon img { position: static; width: 100%; height: 100%; object-fit: cover; }
.software-box__name { margin-top: 10px; font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.1; text-align: center; text-wrap: balance; overflow-wrap: anywhere; }
.software-box__edition { margin-top: 3px; font-size: 9.5px; opacity: .8; }
.software-box__platform {
    width: calc(100% + 24px);
    margin-top: auto;
    padding: 7px 0;
    background: rgba(0, 0, 0, .28);
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.software-box__side {
    top: 0; left: 57px;
    display: grid;
    place-items: center;
    width: 36px; height: 100%;
    background: linear-gradient(180deg, var(--tone-b), var(--tone-a));
    filter: brightness(.72);
    transform: rotateY(90deg) translateZ(75px);
}
.software-box__side span {
    color: #fff;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    white-space: nowrap;
}
.software-box__top {
    top: 82px; left: 0;
    width: 150px; height: 36px;
    background: var(--tone-b);
    filter: brightness(1.15);
    transform: rotateX(90deg) translateZ(100px);
}
.software-card__title { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; }
.software-card__text { margin: 6px auto 12px; max-width: 280px; color: var(--color-muted); font-size: 13.5px; line-height: 1.55; }

/* Extensions : identifiées par leur logo */
.ext-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.ext-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px 22px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ext-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ext-card__logo { width: 76px; height: 76px; border-radius: 22px; box-shadow: 0 14px 28px -14px var(--tone-a, #2f6bff); }
.ext-card__logo .icon { width: 38px; height: 38px; }
.ext-card > .app-icon { width: 76px; height: 76px; border-radius: 22px; box-shadow: 0 14px 28px -14px var(--tone-a, rgba(17, 26, 64, .55)); }
.ext-card > .app-icon .icon { width: 38px; height: 38px; }
.ext-card__body { display: flex; flex: 1; flex-direction: column; margin-top: 18px; }
.ext-card__title { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; }
.ext-card__store { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--color-muted); font-size: 12px; font-weight: 500; }
.ext-card__store .icon { width: 14px; height: 14px; }
.ext-card__text { margin: 10px 0 14px; color: var(--color-muted); font-size: 13.5px; line-height: 1.55; }
.ext-card__link { margin-top: auto; }
.ext-card__link::before { content: ""; position: absolute; inset: 0; }

/* Catégorie vide */
.project-empty {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 52px 24px;
    border: 1px dashed var(--color-border-strong);
    border-radius: var(--radius-lg);
    background: var(--color-surface-soft);
    text-align: center;
}
.project-empty__icon {
    display: grid;
    place-items: center;
    width: 60px; height: 60px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-primary) 10%, var(--color-surface));
    color: var(--color-primary);
}
.project-empty__icon .icon { width: 28px; height: 28px; }
.project-empty__title { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.project-empty__text { max-width: 420px; color: var(--color-muted); font-size: 14.5px; }
.project-empty .link-arrow { margin-top: 10px; }

/* Chiffres */
.numbers {
    padding-top: 64px;
    padding-bottom: 40px;
    isolation: isolate;
}
.numbers__bg {
    position: absolute;
    inset: -10px 0 0;
    z-index: -1;
    background: url("../assets/images/stats/mountains-light.webp") center 30% / cover no-repeat;
    opacity: var(--mountains-opacity, .42);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 40%, transparent 92%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 40%, transparent 92%);
}
.numbers .section-head { margin-bottom: 26px; }
.numbers__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.number {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 28px;
    border-left: 1px solid var(--color-border);
}
.number:first-child { padding-left: 0; border-left: 0; }
.number__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 60px; height: 60px;
    border-radius: 50%;
    --tone: var(--color-cyan);
    color: var(--tone);
    background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--tone) 6%, #fff), color-mix(in srgb, var(--tone) 16%, #fff));
    box-shadow: 0 10px 24px -14px var(--tone);
}
.number__icon .icon { width: 28px; height: 28px; }
.number__icon--cyan   { --tone: #0ea5e9; }
.number__icon--teal   { --tone: #14b8a6; }
.number__icon--violet { --tone: #7c4dff; }
.number__icon--pink   { --tone: #ec2f74; }
.number__icon--pink .icon { fill: currentColor; }
.number__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 1.2rem + 1vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.1;
}
.number__label { display: block; margin-top: 4px; color: var(--color-muted); font-size: 13.5px; line-height: 1.35; }

/* Valeurs (page À propos) */
.values__list { display: grid; gap: 18px; margin-top: 6px; }
.value { display: flex; align-items: center; gap: 14px; }
.value__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    --tone: var(--color-cyan);
    color: var(--tone);
    background: color-mix(in srgb, var(--tone) 12%, var(--color-surface));
}
.value__icon .icon { width: 19px; height: 19px; }
.value__icon--cyan  { --tone: #0aa5c4; }
.value__icon--teal  { --tone: #0f9f8f; }
.value__icon--green { --tone: #1f9d55; }
.value__icon--red   { --tone: #e5484d; }
.value__title {
    display: block;
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.3;
}
.value__text { display: block; color: var(--color-muted); font-size: 13px; line-height: 1.4; }

/* Split (stack + actus) */
.split {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
}
.split .section-title--sm { font-size: clamp(1.5rem, 1.1rem + .9vw, 1.8rem); }
.split__head .eyebrow { margin-bottom: 8px; }
.tech-stack { padding-block: 36px 28px; }
.tech-stack__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}
.tech {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    min-height: 112px;
    padding: 16px 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, var(--color-surface), var(--color-surface-soft));
    text-align: center;
    box-shadow: var(--shadow-xs);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tech:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.tech__icon {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    margin-bottom: 8px;
    --tone: var(--color-primary);
    color: var(--tone);
}
.tech__icon .icon { width: 34px; height: 34px; }
.tech__icon--green  { --tone: #2fa84f; }
.tech__icon--blue   { --tone: #2f6bff; }
.tech__icon--violet { --tone: #8b3df0; }
.tech__title { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.tech__text { color: var(--color-muted); font-size: 11.5px; line-height: 1.4; }

/* Actualités */
.news { padding-block: 28px 56px; }
.news__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.news-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 30px 9px 9px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-xs);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.news-card__thumb {
    flex-shrink: 0;
    width: 96px; height: 84px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: #0d1230;
}
.news-card__body { display: grid; gap: 3px; min-width: 0; }
.news-card__date { color: var(--color-muted); font-size: 11.5px; }
.news-card__title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}
.news-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.news-card__text {
    display: -webkit-box;
    overflow: hidden;
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news-card__arrow {
    position: absolute;
    right: 12px; bottom: 12px;
    color: var(--color-primary);
    transition: transform .25s var(--ease);
}
.news-card__arrow .icon { width: 15px; height: 15px; }
.news-card:hover .news-card__arrow { transform: translateX(3px); }

/* CTA final */
.cta {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(460px, 40vw, 580px);
    padding-block: 120px 80px;
    color: #fff;
    background: #0b1636;
}
.cta__media {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}
.cta__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}
/* fondu blanc → paysage en haut, assombrissement à gauche pour la lisibilité */
.cta__media::before,
.cta__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.cta__media::before {
    background:
        linear-gradient(to bottom, rgba(var(--color-bg-rgb), 1) 0%, rgba(var(--color-bg-rgb), .55) 9%, rgba(var(--color-bg-rgb), 0) 22%),
        linear-gradient(90deg, rgba(8, 14, 40, .78) 0%, rgba(8, 14, 40, .35) 38%, rgba(8, 14, 40, 0) 58%);
}
.cta__media::after {
    background: linear-gradient(to bottom, rgba(10, 18, 46, 0) 70%, #0b1636 100%);
}
.cta__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.cta__content { max-width: 560px; }
.cta__text { max-width: 460px; }
.cta__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.4rem + 1.8vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.1;
}
.cta__text {
    margin: 16px 0 28px;
    color: rgba(255, 255, 255, .85);
    font-size: 15px;
    line-height: 1.65;
}
.cta__script {
    align-self: flex-end;
    margin-bottom: -10px;
    color: #fff;
    font-family: var(--font-script);
    font-size: clamp(2.4rem, 1.6rem + 2.2vw, 3.6rem);
    font-weight: 500;
    line-height: 1;
    text-align: left;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
    transform: rotate(-4deg);
}
.cta__script span { display: inline-block; padding-left: .2em; }

/* Footer */
.footer {
    padding-block: 36px 28px;
    background: #0b1636;
    color: rgba(255, 255, 255, .78);
}
.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer__tagline { margin-top: 8px; font-size: 14px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__nav a, .footer__legal a {
    font-size: 14px;
    transition: color .2s var(--ease);
}
.footer__nav a:hover, .footer__legal a:hover { color: #fff; }
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-top: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
}
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { font-size: 13px; }
.footer :focus-visible { outline-color: #fff; }

/* Apparitions */
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 5. Responsive ---------- */
@media (min-width: 1440px) {
    :root { --container: 1240px; }
}

@media (max-width: 1320px) {
    .nav__list { gap: 22px; }
    .header__inner { gap: 16px; }
}

@media (max-width: 1200px) {
    .nav__list { gap: 18px; }
    .tech-stack__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tech { min-height: 100px; }
    .split { grid-template-columns: 220px minmax(0, 1fr); }
    .news__grid { grid-template-columns: 1fr; }
    .news-card { max-width: 560px; }
}

@media (max-width: 1024px) {
    .apps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    :root { --header-h: 66px; }
    .header__cta { display: none; }
    .nav { display: none; }

    .hero__img { object-position: 64% 100%; }
    .hero__veil {
        background:
            linear-gradient(90deg, rgba(var(--color-bg-rgb), .9) 0%, rgba(var(--color-bg-rgb), .65) 42%, rgba(var(--color-bg-rgb), 0) 68%),
            linear-gradient(to top, rgba(var(--color-bg-rgb), 1) 0%, rgba(var(--color-bg-rgb), 0) 22%);
    }
    .hero__stats { width: 220px; padding: 16px 18px; }
    .hero-stats__value { font-size: 22px; }

    .projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .numbers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
    .number:nth-child(odd) { padding-left: 0; border-left: 0; }


    .split { grid-template-columns: 1fr; gap: 22px; }
    .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-card { max-width: none; }
}

@media (max-width: 767px) {
    :root { --gutter: 20px; }
    body { font-size: 15px; }

    /* Hero repensé : image en tête, contenu dessous, chiffres en grille */
    .hero { min-height: 0; padding-top: 0; padding-bottom: 32px; }
    .hero__media {
        position: relative;
        inset: auto;
        height: clamp(300px, 86vw, 440px);
        margin-bottom: -36px;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .hero__img { object-position: 42% 100%; }
    .hero__veil {
        background:
            linear-gradient(to top, rgba(var(--color-bg-rgb), 1) 4%, rgba(var(--color-bg-rgb), 0) 42%),
            linear-gradient(to bottom, rgba(var(--color-bg-rgb), .7) 0%, rgba(var(--color-bg-rgb), 0) 26%);
    }
    .hero__inner { flex-direction: column; gap: 28px; }
    .hero__content { max-width: none; }
    .hero__title { font-size: clamp(2.6rem, 11vw, 3.3rem); }
    .hero__lead { margin-top: 18px; font-size: 15px; }
    .hero__actions { margin-top: 24px; }
    .hero__actions .btn { flex: 1 1 220px; }
    .hero__stats { width: 100%; margin: 0; padding: 18px; }
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
    .hero-stats__item { gap: 12px; }
    .hero-stats .chip-icon { width: 38px; height: 38px; }
    .hero-stats .chip-icon .icon { width: 19px; height: 19px; }

    .section { padding-block: 40px; }
    .projects { margin-top: 0; padding-top: 16px; }
    .section-head--split { flex-direction: column; align-items: flex-start; gap: 0; }
    .section-head--split .btn { margin: 18px 0 0; }


    /* onglets en bande défilante horizontale */
    .project-tabs {
        flex-wrap: nowrap;
        margin-inline: calc(var(--gutter) * -1);
        padding: 4px var(--gutter) 10px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent);
        mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent);
    }
    .project-tabs::-webkit-scrollbar { display: none; }
    .project-tab { flex: 0 0 auto; scroll-snap-align: start; min-height: 44px; }

    .apps-grid { --masonry-gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .apps-grid .app-card--lg { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
    .apps-grid .app-card--lg .app-card__body { padding: 20px 18px 20px 0; }
    .review-modal__card { padding: 30px 22px 24px; }
    .review-modal__text p { font-size: 16.5px; }
    .app-card__body { padding: 16px 14px; }
    .app-card__text { font-size: 13px; }
    .ai-card { grid-template-columns: 1fr; gap: 10px; padding: 24px; }
    .ai-card__visual { width: 150px; margin-inline: auto; }

    .number { padding: 8px 14px; gap: 12px; }
    .number__icon { width: 48px; height: 48px; }
    .number__icon .icon { width: 23px; height: 23px; }


    .tech-stack__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news__grid { grid-template-columns: 1fr; }

    .cta { min-height: 0; padding-block: 140px 56px; align-items: flex-end; }
    .cta__media img { object-position: 60% 30%; }
    .cta__media::before {
        background:
            linear-gradient(to bottom, rgba(var(--color-bg-rgb), 1) 0%, rgba(var(--color-bg-rgb), 0) 16%),
            linear-gradient(to top, rgba(8, 14, 40, .92) 0%, rgba(8, 14, 40, .55) 55%, rgba(8, 14, 40, 0) 80%);
    }
    .cta__inner { flex-direction: column-reverse; align-items: flex-start; gap: 120px; }
    .cta__script { align-self: flex-end; margin: 0; font-size: 2.3rem; }
    .cta__content .btn { width: 100%; }

    .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .projects__grid { grid-template-columns: 1fr; }

    .apps-grid { grid-template-columns: 1fr; }
    .apps-grid .app-card--lg { grid-column: auto; grid-template-columns: 128px minmax(0, 1fr); }
    .apps-grid .app-card--lg .phone { width: 104px; margin: 18px 0 18px 16px; }
    .apps-grid .app-card--lg .app-card__body { padding: 16px 14px; }
    .apps-grid .app-card--lg .app-card__title { font-size: 16.5px; }
    .apps-grid .app-card:has(.review-bubble) .app-card__body { padding-top: 50px; }
    .app-card { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; }
    .app-card .phone { width: 104px; margin: 18px 0 18px 16px; border-radius: 22px; padding: 5px; }
    .app-card .phone__screen { border-radius: 17px; }

    .numbers__grid { grid-template-columns: 1fr; row-gap: 6px; }
    .number, .number:nth-child(odd) { padding: 10px 0; border-left: 0; }
    .number + .number { border-top: 1px solid var(--color-border); }

    .news-card__thumb { width: 88px; height: 76px; }
}

@media (max-width: 360px) {
    :root { --gutter: 16px; }
    .hero__title { font-size: 2.35rem; }
    .hero-stats { grid-template-columns: 1fr; }
    .tech-stack__grid { gap: 8px; }
    .btn--lg { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
    .js .reveal { opacity: 1; transform: none; }
    .ai-card__orbit { animation: none; }
}

/* ---------- Avancement des projets : pastilles et filtres ---------- */
.status-pill {
    display: inline-flex; align-items: center; gap: 6px;
    align-self: flex-start; margin: auto 0 0; padding-top: 0;
    font: 600 11.5px/1 var(--font-display);
    --st: var(--color-primary);
}
.status-pill .icon { width: 13px; height: 13px; padding: 2px; box-sizing: content-box; border-radius: 50%; background: color-mix(in srgb, var(--st) 16%, transparent); color: var(--st); }
.status-pill span { color: var(--st); }
.status-pill--green { --st: #1d9a55; }
.status-pill--orange { --st: #e2711d; }
.status-pill--blue { --st: #2f6bff; }
.status-pill--violet { --st: #7c4dff; }
.stack + .status-pill { margin-top: 14px; }
.status-pill + .card-actions { margin-top: 0; padding-top: 12px; }
.software-card .status-pill { align-self: center; margin-top: 14px; }

.status-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.status-filters__label { margin-right: 4px; color: var(--color-muted); font: 600 12px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.status-filter {
    --st: var(--color-text);
    display: inline-flex; align-items: center; gap: 7px;
    height: 36px; padding: 0 14px;
    border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill);
    background: var(--color-surface); color: var(--color-text);
    font: 500 13px/1 var(--font-display);
    transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.status-filter .icon { width: 15px; height: 15px; color: var(--st); }
.status-filter--green { --st: #1d9a55; }
.status-filter--orange { --st: #e2711d; }
.status-filter--blue { --st: #2f6bff; }
.status-filter--violet { --st: #7c4dff; }
.status-filter__count { padding: 2px 7px; border-radius: var(--radius-pill); background: var(--color-surface-soft); color: var(--color-muted); font-size: 11.5px; }
.status-filter:hover:not([disabled]) { border-color: var(--st); transform: translateY(-1px); }
.status-filter.is-active { border-color: transparent; background: var(--color-text); color: var(--color-bg); }
.status-filter.is-active .icon { color: inherit; }
.status-filter.is-active .status-filter__count { background: rgba(255, 255, 255, .18); color: inherit; }
.status-filter[disabled] { opacity: .45; cursor: not-allowed; }
.is-filtered-out { display: none !important; }
.filter-empty {
    position: relative; isolation: isolate;
    display: grid; justify-items: center; gap: 8px;
    padding: 56px 24px 48px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--color-primary) 9%, transparent), transparent 70%),
        var(--color-surface-soft);
    text-align: center;
    animation: filter-empty-in .5s var(--ease) both;
}
.filter-empty[hidden] { display: none; }
.filter-empty__visual { position: relative; display: grid; place-items: center; width: 112px; height: 112px; margin-bottom: 10px; }
.filter-empty__visual i {
    position: absolute; inset: 0; z-index: -1;
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    border-radius: 50%;
    animation: filter-empty-ring 3.2s var(--ease) infinite;
}
.filter-empty__visual i:nth-child(2) { animation-delay: 1.6s; }
.filter-empty__icon {
    display: grid; place-items: center;
    width: 68px; height: 68px;
    border-radius: 50%;
    background: var(--gradient-brand); color: #fff;
    box-shadow: 0 16px 30px -14px rgba(123, 77, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.filter-empty__icon .icon { width: 30px; height: 30px; }
.filter-empty__title { margin: 0; font: 600 20px/1.3 var(--font-display); }
.filter-empty__text { max-width: 440px; color: var(--color-muted); font-size: 14.5px; }
.filter-empty__alts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.filter-empty__alts:empty { display: none; }
.filter-empty__alt {
    display: inline-flex; align-items: center; gap: 8px;
    height: 38px; padding: 0 16px;
    border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill);
    background: var(--color-surface); color: var(--color-text);
    font: 500 13px/1 var(--font-display);
    transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.filter-empty__alt b { padding: 2px 7px; border-radius: var(--radius-pill); background: var(--color-surface-soft); color: var(--color-muted); font-size: 11.5px; font-weight: 600; }
.filter-empty__alt:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-1px); }
.filter-empty__reset {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 10px; padding: 6px 4px;
    border: 0; background: none;
    color: var(--color-primary);
    font: 600 13.5px/1 var(--font-display);
}
.filter-empty__reset .icon { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.filter-empty__reset:hover .icon { transform: rotate(-180deg); }
@keyframes filter-empty-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes filter-empty-ring { 0% { transform: scale(.65); opacity: .9; } 100% { transform: scale(1.15); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .filter-empty, .filter-empty__visual i { animation: none; } }
.project-tab.is-empty { opacity: .45; }
@media (max-width: 767px) {
    .status-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scrollbar-width: none; }
    .status-filters::-webkit-scrollbar { display: none; }
    .status-filter, .status-filters__label { flex: none; }
}

/* ---------- Bandeau d'information (Applications mobiles) ---------- */
.store-notice {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: center; gap: 18px;
    margin-bottom: 26px; padding: 18px 22px;
    border: 1px solid color-mix(in srgb, #f59e0b 35%, var(--color-border));
    border-radius: var(--radius-lg);
    background:
        radial-gradient(90% 160% at 0% 0%, color-mix(in srgb, #f59e0b 14%, transparent), transparent 60%),
        radial-gradient(70% 140% at 100% 100%, color-mix(in srgb, var(--color-secondary) 10%, transparent), transparent 60%),
        var(--color-surface);
    box-shadow: var(--shadow-sm);
}
.store-notice::before {
    content: ""; position: absolute; inset: 0 auto 0 0; z-index: -1; width: 4px;
    background: linear-gradient(180deg, #f59e0b, #ec4899);
}
.store-notice__icon {
    display: grid; place-items: center; flex: none;
    width: 46px; height: 46px;
    border-radius: 14px;
    background: linear-gradient(145deg, #f59e0b, #ec4899); color: #fff;
    box-shadow: 0 12px 22px -12px rgba(236, 72, 153, .7), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.store-notice__icon .icon { width: 22px; height: 22px; }
.store-notice__body { flex: 1; min-width: 0; }
.store-notice__title { margin-bottom: 3px; font: 600 15px/1.3 var(--font-display); }
.store-notice__text { color: var(--color-muted); font-size: 13.5px; line-height: 1.6; }
.store-notice__cta { flex: none; }
@media (max-width: 767px) {
    .store-notice { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; }
}
