/* =============================================================
   AGS Network — Design system front-office
   ============================================================= */

/* ---------- 1. Jetons de design ---------- */
:root {
    /* Couleurs de marque */
    --brand:        #0E9F6E;
    --brand-600:    #0B865C;
    --brand-700:    #096D4B;
    --brand-soft:   #E7F7F0;
    --gold:         #F4B942;
    --gold-soft:    #FEF6E4;

    /* Neutres */
    --ink-950:      #070B14;
    --ink-900:      #0B1120;
    --ink-800:      #131C31;
    --ink-700:      #1E2A45;
    --ink-500:      #4A5875;
    --muted:        #6B7A99;
    --line:         #E4E9F2;
    --line-strong:  #CBD5E6;
    --surface:      #FFFFFF;
    --surface-2:    #F6F8FC;
    --surface-3:    #EEF2F9;

    /* États */
    --danger:       #DC2626;
    --warning:      #D97706;
    --success:      #0E9F6E;
    --info:         #0EA5E9;

    /* Rayons */
    --r-sm:  8px;
    --r-md:  14px;
    --r-lg:  20px;
    --r-xl:  28px;
    --r-full: 999px;

    /* Ombres */
    --shadow-xs: 0 1px 2px rgba(11, 17, 32, .06);
    --shadow-sm: 0 2px 8px rgba(11, 17, 32, .06);
    --shadow-md: 0 8px 24px rgba(11, 17, 32, .08);
    --shadow-lg: 0 20px 48px rgba(11, 17, 32, .12);
    --shadow-brand: 0 12px 32px rgba(14, 159, 110, .28);

    /* Rythme */
    --container: 1200px;
    --gutter: 24px;

    /* Typographie */
    --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

    --ease: cubic-bezier(.4, 0, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. Réinitialisation ---------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-700);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--ink-900);
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 700;
    text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 1.2rem + 2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); }

p { text-wrap: pretty; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---------- 3. Structure ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--muted { background: var(--surface-2); }

.section-head {
    max-width: 680px;
    margin-bottom: 48px;
}
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-600);
    margin-bottom: 14px;
}
.eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}
.section-head--center .eyebrow::before { display: none; }

.lead {
    font-size: 1.075rem;
    color: var(--muted);
    margin-top: 14px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 12px;
    z-index: 200;
    background: var(--ink-900);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--r-sm);
}
.skip-link:focus { left: 12px; }

/* ---------- 4. Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: var(--r-full);
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .25s var(--ease),
                background-color .2s var(--ease), color .2s var(--ease),
                border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
    background: var(--brand);
    color: #fff;
    box-shadow: var(--shadow-brand);
}
.btn--primary:hover { background: var(--brand-600); }

.btn--gold {
    background: var(--gold);
    color: var(--ink-900);
    box-shadow: 0 12px 32px rgba(244, 185, 66, .32);
}
.btn--gold:hover { background: #EFAE2C; }

.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { background: var(--ink-800); }

.btn--outline {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--ink-900);
}
.btn--outline:hover { border-color: var(--ink-900); background: var(--surface-2); }

.btn--ghost-light {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .25);
    color: #fff;
    backdrop-filter: blur(8px);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, .18); }

.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- 5. En-tête ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}
.header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__logo {
    height: 44px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}
@media (max-width: 480px) {
    .brand__logo { height: 38px; max-width: 150px; }
}
.brand__mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), #0B7F58 60%, var(--gold));
    display: grid;
    place-items: center;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -.03em;
    box-shadow: var(--shadow-brand);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--ink-900);
    letter-spacing: -.02em;
}
.brand__tag {
    font-size: .7rem;
    color: var(--muted);
    letter-spacing: .04em;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
    position: relative;
    padding: 10px 16px;
    border-radius: var(--r-full);
    font-size: .93rem;
    font-weight: 600;
    color: var(--ink-500);
    transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover { color: var(--ink-900); background: var(--surface-2); }
.nav__link.is-active { color: var(--brand-600); background: var(--brand-soft); }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
    padding: 0;
    place-items: center;
}
.burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink-900);
    border-radius: 2px;
    position: relative;
    transition: background-color .2s var(--ease);
}
.burger span::before,
.burger span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: var(--ink-900);
    border-radius: 2px;
    transition: transform .25s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Bandeau d'accueil : diaporama ---------- */
.slider {
    position: relative;
    background: var(--ink-950);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

/* Toutes les diapositives occupent la même cellule de grille :
   la hauteur du bandeau est celle de la plus haute, sans saut au changement. */
.slider__track { display: grid; }

.slider__slide {
    grid-area: 1 / 1;
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(500px, 70vh, 700px);
    padding-block: clamp(64px, 8vw, 104px);
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: opacity .9s var(--ease-out), visibility .9s;
}
.slider__slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.slider--single .slider__slide { opacity: 1; visibility: visible; }

/* Photographie + léger travelling avant pendant l'affichage */
.slider__media { position: absolute; inset: 0; overflow: hidden; }
.slider__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: scale(1.12);
    transition: transform 9s linear;
}
.slider__slide.is-active .slider__media img { transform: scale(1); }

.slider__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(7, 11, 20, calc(var(--veil, .6) + .28)) 0%,
            rgba(7, 11, 20, var(--veil, .6)) 48%,
            rgba(7, 11, 20, .22) 100%),
        linear-gradient(0deg, rgba(7, 11, 20, .88) 0%, rgba(7, 11, 20, 0) 58%);
}

/* Repli sans photo : dégradé de marque */
.slider__mesh { position: absolute; inset: 0; }
.slider__mesh::before,
.slider__mesh::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}
.slider__mesh::before {
    width: 620px; height: 620px;
    top: -280px; right: -140px;
    background: radial-gradient(circle, rgba(14, 159, 110, .55), transparent 70%);
}
.slider__mesh::after {
    width: 520px; height: 520px;
    bottom: -300px; left: -160px;
    background: radial-gradient(circle, rgba(244, 185, 66, .30), transparent 70%);
}

.slider__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 40% 40%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 60% at 40% 40%, #000, transparent 75%);
    pointer-events: none;
}

.slider__content {
    position: relative;
    z-index: 3;
    max-width: 780px;
}

.slider__title {
    margin-top: 22px;
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 1.3rem + 3.1vw, 3.9rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.025em;
    color: #fff;
    text-wrap: balance;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.slider__title em {
    font-style: normal;
    background: linear-gradient(120deg, var(--gold), #FFD98A);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.slider__sub,
.hero__sub {
    margin-top: 22px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .75);
    max-width: 58ch;
}

.slider__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

/* Entrée en cascade du contenu de la diapositive active */
.slider__content > * { opacity: 0; transform: translateY(24px); }
.slider__slide.is-active .slider__content > * {
    animation: slideUp .85s var(--ease-out) forwards;
}
.slider__slide.is-active .slider__content > *:nth-child(1) { animation-delay: .12s; }
.slider__slide.is-active .slider__content > *:nth-child(2) { animation-delay: .22s; }
.slider__slide.is-active .slider__content > *:nth-child(3) { animation-delay: .32s; }
.slider__slide.is-active .slider__content > *:nth-child(4) { animation-delay: .42s; }

@keyframes slideUp {
    to { opacity: 1; transform: none; }
}

/* Badge en verre dépoli — utilisé par le diaporama et les fiches */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
}
.pill__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(14, 159, 110, .25);
    animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(14, 159, 110, .30); }
    50%      { box-shadow: 0 0 0 8px rgba(14, 159, 110, 0); }
}

/* Flèches */
.slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(11, 17, 32, .38);
    backdrop-filter: blur(10px);
    color: #fff;
    cursor: pointer;
    padding: 0;
    transition: background-color .2s var(--ease), transform .2s var(--ease),
                border-color .2s var(--ease);
}
.slider__arrow:hover {
    background: var(--brand);
    border-color: var(--brand);
    transform: translateY(-50%) scale(1.06);
}
.slider__arrow--prev { left: 24px; }
.slider__arrow--next { right: 24px; }

/* Pastilles de navigation, avec jauge de progression */
.slider__dots {
    position: absolute;
    left: 50%;
    bottom: 92px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 12px;
    border-radius: var(--r-full);
    background: rgba(11, 17, 32, .38);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(10px);
}
/* La barre visible ne fait que 5 px, mais le bouton en occupe 26 :
   la zone tactile reste confortable au doigt sans alourdir le design. */
.slider__dot {
    width: 34px;
    height: 32px;
    border: 0;
    padding: 13.5px 0;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .28);
    background-clip: content-box;
    cursor: pointer;
    overflow: hidden;
    transition: width .35s var(--ease), background-color .25s var(--ease);
}
.slider__dot:hover { background: rgba(255, 255, 255, .5); }
.slider__dot.is-active { width: 62px; background: rgba(255, 255, 255, .25); }
.slider__dot-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: var(--r-full);
    background: linear-gradient(90deg, var(--brand), var(--gold));
}
.slider__dot.is-active .slider__dot-fill {
    animation: dotFill var(--slider-duration, 7000ms) linear forwards;
}
.slider.is-paused .slider__dot.is-active .slider__dot-fill { animation-play-state: paused; }

@keyframes dotFill {
    from { width: 0; }
    to   { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .slider__media img { transform: none; transition: none; }
    .slider__content > * { opacity: 1; transform: none; animation: none !important; }
    .slider__dot.is-active .slider__dot-fill { animation: none; width: 100%; }
}

/* ---------- 7. Bandeau de statistiques ---------- */
.stats {
    position: relative;
    z-index: 3;
    margin-top: -44px;
}
.stats__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.stat {
    background: var(--surface);
    padding: 28px 24px;
    text-align: center;
}
.stat__value {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem);
    font-weight: 800;
    color: var(--ink-900);
    letter-spacing: -.03em;
    line-height: 1;
}
.stat__value span { color: var(--brand); }
.stat__label {
    margin-top: 8px;
    font-size: .82rem;
    color: var(--muted);
    font-weight: 500;
}

/* ---------- 8. Cartes d'opportunité ---------- */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 26px;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out),
                border-color .35s var(--ease);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--ink-800), var(--ink-950));
    overflow: hidden;
}
.card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-out);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__media--pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 25%, rgba(14,159,110,.45), transparent 55%),
        radial-gradient(circle at 80% 75%, rgba(244,185,66,.32), transparent 55%);
}
.card__initials {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, .9);
    letter-spacing: -.03em;
    z-index: 1;
}

.card__flag {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--r-full);
    background: var(--gold);
    color: var(--ink-900);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.card__compare {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 2;
    width: 38px; height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(11, 17, 32, .5);
    backdrop-filter: blur(6px);
    color: #fff;
    cursor: pointer;
    padding: 0;
    transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.card__compare:hover { transform: scale(1.08); background: rgba(11,17,32,.75); }
.card__compare.is-on { background: var(--brand); border-color: var(--brand); }
.card__compare svg { width: 17px; height: 17px; }

.card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
    gap: 14px;
}

.card__top { display: flex; align-items: center; gap: 12px; }
.card__logo {
    width: 46px; height: 46px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: none;
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--brand-600);
}
.card__logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.25;
}
.card__company { font-size: .8rem; color: var(--muted); }

.card__text {
    font-size: .92rem;
    color: var(--ink-500);
    flex: 1;
}

.card__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
}
.spec__label {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    font-weight: 700;
}
.spec__value {
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 700;
    color: var(--ink-900);
    margin-top: 2px;
}

.card__foot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 22px;
    border-top: 1px solid var(--line);
    background: var(--surface-2);
}
.card__foot .btn { flex: 1; }

/* ---------- 9. Étiquettes ---------- */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: var(--r-full);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .01em;
    background: var(--surface-3);
    color: var(--ink-500);
    border: 1px solid transparent;
}
.chip--cat { background: var(--brand-soft); color: var(--brand-700); }
.chip--level-debutant      { background: #E7F7F0; color: #096D4B; }
.chip--level-intermediaire { background: #E6F4FD; color: #075985; }
.chip--level-expert        { background: #FDECEC; color: #9B1C1C; }
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.rating { display: inline-flex; align-items: center; gap: 6px; }
.rating__stars { display: inline-flex; gap: 2px; color: var(--gold); }
.rating__stars svg { width: 15px; height: 15px; }
.rating__stars .is-off { color: var(--line-strong); }
.rating__value { font-weight: 700; font-size: .85rem; color: var(--ink-900); }

/* ---------- 10. Filtres ---------- */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}
.search {
    position: relative;
    flex: 1 1 260px;
}
.search svg {
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    width: 18px; height: 18px;
    color: var(--muted);
    pointer-events: none;
}
.field, .search input {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-full);
    background: var(--surface);
    font-size: .93rem;
    color: var(--ink-900);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search input { padding-left: 46px; }
.field:focus, .search input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(14, 159, 110, .12);
}
select.field {
    flex: 0 0 auto;
    width: auto;
    min-width: 170px;
    padding-right: 42px;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A99' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 15px;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}
.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--r-full);
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink-500);
    transition: all .2s var(--ease);
}
.filter-tab:hover { border-color: var(--ink-900); color: var(--ink-900); }
.filter-tab.is-active {
    background: var(--ink-900);
    border-color: var(--ink-900);
    color: #fff;
}
.filter-tab__count {
    font-size: .72rem;
    padding: 1px 7px;
    border-radius: var(--r-full);
    background: var(--surface-3);
    color: var(--ink-500);
}
.filter-tab.is-active .filter-tab__count { background: rgba(255,255,255,.2); color: #fff; }

.results-info {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    font-size: .9rem;
    color: var(--muted);
}
.results-info b { color: var(--ink-900); }

/* ---------- 11. Fiche opportunité ---------- */
.page-head {
    background: var(--ink-950);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding-block: clamp(40px, 6vw, 72px);
}
.page-head::before {
    content: '';
    position: absolute;
    width: 560px; height: 560px;
    top: -320px; right: -120px;
    border-radius: 50%;
    filter: blur(90px);
    background: radial-gradient(circle, rgba(14,159,110,.45), transparent 70%);
}
.page-head > * { position: relative; z-index: 1; }
.page-head h1 { color: #fff; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: .84rem;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 20px;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; }

.detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 372px;
    gap: 40px;
    align-items: start;
}

.prose { font-size: 1.02rem; color: var(--ink-500); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { color: var(--ink-900); margin-top: 1.8em; }
.prose strong { color: var(--ink-900); font-weight: 700; }
.prose a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
/* L'éditeur enregistre toutes les listes en <ol> et distingue le type
   par un attribut : on rétablit la puce attendue à l'affichage. */
.prose li[data-list="bullet"] { list-style-type: disc; }
.prose li[data-list="ordered"] { list-style-type: decimal; }
.prose blockquote {
    border-left: 3px solid var(--brand);
    padding: 4px 0 4px 18px;
    margin-left: 0;
    color: var(--ink-700);
    font-style: italic;
}

.check-list { display: grid; gap: 12px; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .96rem;
    color: var(--ink-500);
}
.check-list svg { width: 21px; height: 21px; flex: none; margin-top: 1px; color: var(--brand); }
.check-list--neutral svg { color: var(--info); }

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 26px;
}
.panel + .panel { margin-top: 20px; }
.panel__title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 18px;
}

.sticky-panel { position: sticky; top: 100px; }

.cta-card {
    background: linear-gradient(160deg, var(--ink-900), var(--ink-950));
    color: #fff;
    border-radius: var(--r-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.cta-card::before {
    content: '';
    position: absolute;
    width: 280px; height: 280px;
    top: -160px; right: -100px;
    border-radius: 50%;
    filter: blur(60px);
    background: radial-gradient(circle, rgba(14,159,110,.6), transparent 70%);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card__price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
}
.cta-card__note { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 4px; }
.cta-card .btn { margin-top: 22px; }

.spec-list { display: grid; gap: 2px; }
.spec-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: .92rem;
}
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { color: var(--muted); }
.spec-row dd {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink-900);
    text-align: right;
}

.disclosure {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: var(--r-md);
    background: var(--gold-soft);
    border: 1px solid #F6E3B4;
    font-size: .85rem;
    color: #6B4E10;
    line-height: 1.6;
}
.disclosure svg { width: 20px; height: 20px; flex: none; color: var(--warning); margin-top: 2px; }

/* ---------- 12. Comparateur ---------- */
.compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}
.compare-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}
.compare-table th, .compare-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.compare-table thead th {
    background: var(--surface-2);
    vertical-align: bottom;
    position: sticky;
    top: 0;
    z-index: 2;
}
.compare-table tbody th {
    width: 210px;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    font-weight: 700;
    background: var(--surface-2);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink-900);
    font-size: .95rem;
}
.compare-head { display: flex; flex-direction: column; gap: 10px; }
.compare-head__name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--ink-900); }

.compare-bar {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%, 140%);
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 14px 14px 24px;
    border-radius: var(--r-full);
    background: var(--ink-900);
    color: #fff;
    box-shadow: 0 24px 60px rgba(7, 11, 20, .45);
    transition: transform .4s var(--ease-out);
    max-width: calc(100vw - 32px);
}
.compare-bar.is-visible { transform: translate(-50%, 0); }
.compare-bar__count {
    display: grid;
    place-items: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--brand);
    font-weight: 800;
    font-size: .85rem;
    flex: none;
}
.compare-bar__label { font-size: .9rem; font-weight: 600; white-space: nowrap; }
.compare-bar__clear {
    background: none;
    border: 0;
    color: rgba(255,255,255,.5);
    cursor: pointer;
    font-size: .85rem;
    text-decoration: underline;
    padding: 11px 8px;
}
.compare-bar__clear:hover { color: #fff; }

/* ---------- 13. Catégories ---------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
}
.cat-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: var(--surface);
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-card__icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
}
.cat-card__icon svg { width: 24px; height: 24px; }
.cat-card__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink-900);
}
.cat-card__count { font-size: .82rem; color: var(--muted); }

/* ---------- 14. Étapes ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    counter-reset: step;
}
.step { position: relative; padding-top: 8px; }
.step__num {
    counter-increment: step;
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    background: linear-gradient(160deg, var(--brand), rgba(14, 159, 110, .18));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.step__num::before { content: '0' counter(step); }
.step h3 { margin-top: 12px; }
.step p { margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* ---------- 15. Bloc de conversion ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, var(--ink-900), var(--ink-950) 60%, #0A2A20);
    color: #fff;
    padding: clamp(40px, 6vw, 68px);
    text-align: center;
}
.cta-band::before {
    content: '';
    position: absolute;
    width: 560px; height: 560px;
    top: -280px; left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    filter: blur(80px);
    background: radial-gradient(circle, rgba(14,159,110,.5), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p {
    color: rgba(255,255,255,.7);
    max-width: 60ch;
    margin: 16px auto 0;
}
.cta-band .btn { margin-top: 32px; }

/* ---------- 16. Pagination ---------- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}
.pagination a, .pagination span {
    min-width: 44px;
    height: 44px;
    padding-inline: 14px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--line);
    font-weight: 700;
    font-size: .9rem;
    color: var(--ink-500);
    background: var(--surface);
    transition: all .2s var(--ease);
}
.pagination a:hover { border-color: var(--ink-900); color: var(--ink-900); }
.pagination .is-current {
    background: var(--ink-900);
    border-color: var(--ink-900);
    color: #fff;
}
.pagination .is-disabled { opacity: .4; pointer-events: none; }

/* ---------- 17. État vide ---------- */
.empty {
    text-align: center;
    padding: 72px 24px;
    border: 2px dashed var(--line-strong);
    border-radius: var(--r-lg);
    background: var(--surface-2);
}
.empty__icon {
    width: 68px; height: 68px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--muted);
}
.empty__icon svg { width: 30px; height: 30px; }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.empty .btn { margin-top: 24px; }

/* ---------- 18. Pied de page ---------- */
.footer {
    background: var(--ink-950);
    color: rgba(255, 255, 255, .62);
    padding-block: 64px 32px;
    margin-top: 0;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer .brand__name { color: #fff; }
.footer .brand__tag { color: rgba(255,255,255,.5); }
.footer__about { margin-top: 18px; font-size: .9rem; max-width: 42ch; }
.footer__title {
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}
.footer__links { display: grid; gap: 11px; font-size: .92rem; }
.footer__links a:hover { color: #fff; }

.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.75);
    transition: all .2s var(--ease);
}
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

.footer__disclosure {
    margin-top: 32px;
    padding: 18px 20px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: .82rem;
    line-height: 1.65;
    color: rgba(255,255,255,.55);
}
.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    font-size: .85rem;
    color: rgba(255,255,255,.42);
}
.footer__credit strong,
.footer__credit a {
    font-weight: 700;
    color: rgba(255, 255, 255, .78);
    transition: color .2s var(--ease);
}
.footer__credit a:hover { color: var(--brand); }

/* ---------- 19. Messages flash ---------- */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--r-md);
    font-size: .92rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid;
}
.alert svg { width: 20px; height: 20px; flex: none; }
.alert--success { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.alert--danger  { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.alert--warning { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.alert--info    { background: #EFF6FF; border-color: #BFDBFE; color: #1E40AF; }

/* ---------- 20. Animations d'apparition ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- 21. Adaptatif ---------- */
@media (max-width: 1080px) {
    .detail { grid-template-columns: 1fr; }
    .sticky-panel { position: static; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .stats__inner { grid-template-columns: 1fr 1fr; }
    .slider__arrow { display: none; }
    .slider__dots { bottom: 68px; }
    .slider__slide { min-height: 520px; }
}

@media (max-width: 860px) {
    .burger { display: grid; }
    .nav {
        position: fixed;
        inset: 76px 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 20px var(--gutter) 28px;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: transform .35s var(--ease-out);
        margin: 0;
    }
    .nav.is-open { transform: none; }
    .nav__link { padding: 14px 16px; font-size: 1rem; }
    .header__actions .btn--primary { display: none; }
}

@media (max-width: 640px) {
    :root { --gutter: 18px; }
    .stats { margin-top: -28px; }
    .stats__inner { grid-template-columns: 1fr 1fr; }
    .stat { padding: 20px 14px; }
    .grid-cards { grid-template-columns: 1fr; }
    /* Deux colonnes plutôt qu'un empilement : le pied de page reste
       parcourable sans faire défiler l'écran trois fois. */
    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
    }
    .footer__grid > :first-child { grid-column: 1 / -1; }
    .footer__links { gap: 9px; font-size: .88rem; }
    .footer__title { margin-bottom: 14px; }
    .toolbar { padding: 14px; }
    select.field { width: 100%; }
    .compare-bar { left: 16px; right: 16px; transform: translateY(140%); max-width: none; }
    .compare-bar.is-visible { transform: none; }
    .compare-bar__label { white-space: normal; font-size: .82rem; }
}

/* ---------- 22. Pastilles des indicateurs ---------- */
.stat__icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand-700);
}
.stat__icon--gold { background: var(--gold-soft); color: #B47A0A; }
.stat__icon--info { background: #E6F4FD; color: #0369A1; }
.stat__icon--dark { background: var(--surface-3); color: var(--ink-700); }

/* ---------- 23. Étapes : pastille + numéro ---------- */
.step__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.step__icon {
    width: 52px;
    height: 52px;
    flex: none;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--brand-600);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease-out), border-color .3s var(--ease),
                color .3s var(--ease);
}
.step:hover .step__icon {
    transform: translateY(-3px);
    border-color: var(--brand);
    color: var(--brand-700);
}

/* ---------- 24. Agenda des projets ---------- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 22px;
}

.event {
    display: flex;
    gap: 18px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out),
                border-color .3s var(--ease);
}
.event:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.event__date {
    flex: none;
    width: 62px;
    padding: 12px 6px;
    border-radius: var(--r-md);
    background: linear-gradient(160deg, var(--ink-900), var(--ink-950));
    color: #fff;
    text-align: center;
    align-self: flex-start;
    box-shadow: var(--shadow-sm);
}
.event__day {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
}
.event__month {
    display: block;
    margin-top: 4px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .6);
}

.event__body { min-width: 0; flex: 1; }

.event__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.chip--type { background: var(--surface-3); color: var(--ink-700); }
.chip--type svg { width: 14px; height: 14px; }
.chip--soon { background: var(--gold-soft); color: #B47A0A; }

.event__title {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.3;
}

.event__project {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
    padding: 6px 0;
    font-size: .84rem;
    font-weight: 600;
    color: var(--muted);
    transition: color .2s var(--ease);
}
.event__project:hover { color: var(--ink-900); }
.event__project-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }

.event__text {
    margin-top: 10px;
    font-size: .9rem;
    color: var(--ink-500);
}

.event__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
}
.event__facts li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .84rem;
    color: var(--muted);
}
.event__facts svg { color: var(--brand); flex: none; }

.event__cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 9px 0;
    font-family: var(--font-display);
    font-size: .87rem;
    font-weight: 700;
    color: var(--brand-600);
    transition: gap .2s var(--ease), color .2s var(--ease);
}
.event__cta:hover { gap: 11px; color: var(--brand-700); }

@media (max-width: 640px) {
    .events-grid { grid-template-columns: 1fr; }
    .event { padding: 18px; gap: 14px; }
    .event__date { width: 54px; }
    .slider__dots { bottom: 36px; padding: 2px 10px; }
    .slider__dot { width: 28px; }
    .slider__dot.is-active { width: 48px; }
    .step__icon { width: 46px; height: 46px; }
}

/* ---------- 25. Rangées à défilement horizontal (mobile) ----------
   Sur petit écran, empiler quatre sections de cartes donne une page
   interminable. On passe en rangées glissables : la carte suivante
   dépasse volontairement du bord pour signaler qu'il y a la suite. */
@media (max-width: 760px) {
    /* Le catalogue paginé garde son empilement vertical : seules les
       rangées de mise en avant deviennent des carrousels. */
    .grid-cards--rail,
    .cat-grid,
    .events-grid,
    .steps {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-left: var(--gutter);
        /* Débordement volontaire jusqu'aux bords de l'écran */
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .grid-cards--rail::-webkit-scrollbar,
    .cat-grid::-webkit-scrollbar,
    .events-grid::-webkit-scrollbar,
    .steps::-webkit-scrollbar { display: none; }

    .grid-cards--rail > *,
    .events-grid > * {
        flex: 0 0 86%;
        max-width: 340px;
        scroll-snap-align: start;
    }

    .cat-grid > * {
        flex: 0 0 62%;
        max-width: 220px;
        scroll-snap-align: start;
    }

    .steps > * {
        flex: 0 0 82%;
        max-width: 320px;
        scroll-snap-align: start;
    }

    /* L'effet de survol n'a pas de sens au doigt et fausse l'accroche */
    .grid-cards--rail .card:hover,
    .events-grid .event:hover,
    .cat-grid .cat-card:hover { transform: none; }

    /* Repère visuel : la rangée est glissable */
    .scroll-hint {
        display: flex;
        align-items: center;
        gap: 7px;
        margin-top: 12px;
        font-size: .8rem;
        font-weight: 600;
        color: var(--muted);
    }
    .scroll-hint svg { animation: nudge 1.8s var(--ease) infinite; }
}

@media (min-width: 761px) {
    .scroll-hint { display: none; }
}

@keyframes nudge {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(5px); }
}

@media print {
    .header, .footer, .compare-bar, .card__compare, .btn,
    .slider__arrow, .slider__dots, .scroll-hint { display: none !important; }
    body { color: #000; }
}
