/* PhoneLigne - Accueil v2 : cartes boutiques, filtres visibles, héros mobile, navigation mobile, footer pro.
   Chargé APRÈS accueil-neo.css (il surcharge ses règles). */

html { overflow-x: clip; }
body.page-accueil { overflow-x: clip; }

/* ------------------------------------------------------------------ */
/* 1. VILLES (puces) + PANNEAU DE FILTRES TOUJOURS VISIBLE              */
/* ------------------------------------------------------------------ */
.neo-bt-top { margin-bottom: 22px; }

.neo-fbar {
    margin: 0 0 26px; padding: 20px 22px 22px; border-radius: 24px;
    background: var(--neo-glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: var(--neo-glow); display: grid; gap: 18px;
}
.neo-fbar__haut { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid rgba(26, 38, 66, .08); }
[data-theme="dark"] .neo-fbar__haut { border-bottom-color: rgba(255, 255, 255, .08); }
.neo-fbar__titre { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-weight: 800; font-size: .98rem; color: var(--neo-titre); }
.neo-fbar__titre svg { width: 20px; height: 20px; color: var(--neo-gold-d); }
.neo-fbar__compte { margin: 0 0 0 auto; font-size: .86rem; color: var(--color-muted); }
.neo-fbar__compte b { font-family: var(--font-donnees); font-size: .95rem; color: var(--neo-titre); padding: 2px 9px; margin-right: 4px; border-radius: 99px; background: rgba(240, 165, 55, .2); }
.neo-fbar__reset {
    padding: 8px 16px; border-radius: 99px; border: 0; cursor: pointer; font: 700 .82rem var(--font-principale);
    color: var(--neo-titre); background: var(--color-surface); box-shadow: 0 0 0 1px var(--color-mist) inset; transition: transform .2s, box-shadow .2s;
}
.neo-fbar__reset:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--neo-gold) inset; }
.neo-fbar__grille { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; }
.neo-fbar .filtre-groupe { display: grid; gap: 10px; align-content: start; min-width: 0; }
.neo-fbar .filtre-groupe__titre, .neo-fbar label {
    margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted);
}
.neo-fbar .filtre-groupe { padding: 0; margin: 0; }
.neo-fbar .pastilles { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.neo-fbar .pastille {
    padding: 8px 15px; border-radius: 99px; border: 0; cursor: pointer; background: var(--color-surface);
    box-shadow: 0 0 0 1px var(--color-mist) inset; color: var(--color-ink); font: 600 .84rem var(--font-principale);
    transition: transform .2s, box-shadow .2s, background .2s;
}
.neo-fbar .pastille:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--neo-gold) inset; }
.neo-fbar .pastille--active { background: var(--neo-gold); color: #10151C; box-shadow: 0 8px 20px -8px rgba(240, 165, 55, .85); }
.neo-fbar__prix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.neo-fbar__prix > div { display: grid; gap: 8px; min-width: 0; }
.neo-fbar input, .neo-fbar select {
    width: 100%; padding: 12px 14px; border-radius: 13px; border: 1px solid var(--color-mist); background: var(--color-surface);
    color: var(--color-ink); font: 500 .92rem var(--font-principale); outline: none; transition: border-color .2s, box-shadow .2s;
}
.neo-fbar input:focus, .neo-fbar select:focus { border-color: var(--neo-gold); box-shadow: 0 0 0 4px rgba(240, 165, 55, .22); }

/* ------------------------------------------------------------------ */
/* 2. CARTES BOUTIQUES                                                  */
/* ------------------------------------------------------------------ */
.neo-bts { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; align-items: stretch; }
.neo-bt {
    display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 26px;
    background: var(--color-surface); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 40px -26px rgba(26, 38, 66, .55), 0 0 0 1px rgba(26, 38, 66, .06);
    transition: transform .3s, box-shadow .3s;
}
[data-theme="dark"] .neo-bt { background: #1d2538; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .07); }
.neo-bt:hover { transform: translateY(-6px); box-shadow: 0 30px 56px -26px rgba(26, 38, 66, .6), 0 0 0 1px rgba(240, 165, 55, .55), 0 0 40px -12px rgba(240, 165, 55, .5); }

/* garde-fou : aucune icône ne peut plus déborder d'une carte */
.neo-bt svg { max-width: 22px; max-height: 22px; flex: none; }

.neo-cov { height: 108px; margin: 0; border-radius: 0; position: relative; overflow: visible; }
.neo-cov::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .28), transparent 45%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 14px); pointer-events: none; }
.neo-st, .neo-ver {
    position: absolute; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px;
    border-radius: 99px; font: 700 .72rem var(--font-principale); letter-spacing: .02em;
    background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #10151C;
}
.neo-st { left: 12px; right: auto; }
.neo-st::before { content: none; display: none; }
.neo-st i { width: 7px; height: 7px; border-radius: 50%; background: #2F7D53; box-shadow: 0 0 0 3px rgba(47, 125, 83, .22); }
.neo-ver { right: 12px; color: #0f5a54; }
.neo-ver svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.neo-av {
    left: 18px; bottom: -30px; z-index: 3; width: 64px; height: 64px; border-radius: 20px; overflow: hidden; font-size: 1.2rem;
    box-shadow: 0 0 0 4px var(--color-surface), 0 12px 24px -8px rgba(26, 38, 66, .5);
}
[data-theme="dark"] .neo-av { box-shadow: 0 0 0 4px #1d2538, 0 12px 24px -8px rgba(0, 0, 0, .7); }
.neo-av__img { background: #fff; }

.neo-bt__corps { padding: 42px 20px 6px; display: grid; gap: 10px; flex: 1; align-content: start; }
.neo-bt__nom { margin: 0; font-size: 1.12rem; line-height: 1.25; font-weight: 800; letter-spacing: -.015em; color: var(--neo-titre); display: block; overflow-wrap: anywhere; }
.neo-bt__ville { margin: 0; display: flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--color-muted); }
.neo-pin { width: 15px !important; height: 15px !important; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--neo-gold-d); }
.neo-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.neo-tag { padding: 4px 10px; border-radius: 99px; font: 700 .72rem var(--font-principale); }
.neo-tag--g { background: rgba(26, 38, 66, .09); color: #1A2642; }
.neo-tag--d { background: rgba(20, 107, 101, .12); color: #0f5a54; }
.neo-tag--t { background: rgba(240, 165, 55, .22); color: #8a5510; }
[data-theme="dark"] .neo-tag--g { background: rgba(143, 166, 230, .18); color: #c9d6ff; }
[data-theme="dark"] .neo-tag--d { background: rgba(43, 179, 163, .18); color: #8fe3d8; }
[data-theme="dark"] .neo-tag--t { background: rgba(240, 165, 55, .2); color: #f6cf8e; }

.neo-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(26, 38, 66, .08); }
[data-theme="dark"] .neo-stats { border-top-color: rgba(255, 255, 255, .08); }
.neo-stats > div { text-align: center; padding: 0 4px; }
.neo-stats > div + div { border-left: 1px solid rgba(26, 38, 66, .08); }
[data-theme="dark"] .neo-stats > div + div { border-left-color: rgba(255, 255, 255, .08); }
.neo-stats dt { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); }
.neo-stats dd { margin: 3px 0 0; font: 800 1.05rem var(--font-donnees); color: var(--neo-titre); }
.neo-star { color: var(--neo-gold); }

.neo-bt .neo-a { padding: 14px 20px 20px; display: flex; gap: 10px; margin-top: auto; }
.neo-bt .neo-a .neo-b1 { flex: 1; padding: 12px 16px; border-radius: 14px; gap: 9px; }
.neo-arrow { width: 16px !important; height: 16px !important; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.neo-b1:hover .neo-arrow { transform: translateX(3px); }
.neo-bt .neo-a .neo-w2 { width: 48px; flex: none; border-radius: 14px; }
.neo-bt .neo-a .neo-w2 svg { width: 20px !important; height: 20px !important; fill: none; stroke: currentColor; stroke-width: 1.9; }

/* ------------------------------------------------------------------ */
/* 4. BARRE D'ONGLETS MOBILE (masquée sur ordinateur)                   */
/* ------------------------------------------------------------------ */
.neo-dock { display: none; }

/* ------------------------------------------------------------------ */
/* 5. TABLETTE ET MOBILE                                                */
/* ------------------------------------------------------------------ */
@media (max-width: 1040px) {
}

@media (max-width: 940px) {
    .neo-scene, .neo-rech { text-align: left; }
    /* héros centré dès que la mise en page passe sur une colonne */
    .neo-hero { text-align: center; gap: 18px; }
    .neo-h1 { max-width: none; margin-inline: auto; }
    .neo-lead { margin-inline: auto; }
    .neo-chips { justify-content: center; }
    .neo-fbar__grille { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .neo-hero { padding: 28px 0 40px; }
    .neo-h1 { font-size: clamp(2.05rem, 9vw, 2.6rem); }
    .neo-lead { font-size: 1rem; }

    /* le téléphone flottant est de retour sur mobile, à l'échelle de l'écran */
    .neo-scene { display: grid; min-height: 0; height: 500px; margin-top: 4px; }
    .neo-tel { scale: .88; }
    .neo-flt { scale: .8; padding: 10px 14px; }
    .neo-f1 { top: 18px; left: -6px; }
    .neo-f2 { top: 168px; right: -6px; }
    .neo-f3 { bottom: 118px; left: -6px; }
    .neo-f4 { bottom: 14px; right: -6px; }

    /* villes : une seule ligne défilante, comme une application */
    .neo-vil { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -4.3%; padding: 2px 4.3% 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; width: calc(100% + 8.6%); }
    .neo-vil::-webkit-scrollbar { display: none; }
    .neo-vil button { flex: none; }
    .neo-bt-top { margin-bottom: 16px; }
    .neo-bt-top h2 { font-size: 1.7rem; }

    .neo-fbar { padding: 16px; border-radius: 20px; gap: 16px; }
    .neo-fbar__compte { margin-left: 0; order: 3; width: 100%; }
    .neo-fbar__reset { margin-left: auto; }
    .neo-fbar .pastilles { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
    .neo-fbar .pastilles::-webkit-scrollbar { display: none; }
    .neo-fbar .pastille { flex: none; }
    .neo-fbar__prix { grid-template-columns: 1fr 1fr; }
    .neo-fbar__prix > div:last-child { grid-column: 1 / -1; }

    .neo-bts { grid-template-columns: 1fr; gap: 18px; }
    .neo-sec { padding: 52px 0; }


    /* barre d'onglets */
    .neo-dock {
        display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        padding: 8px; border-radius: 22px; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
        box-shadow: 0 18px 40px -12px rgba(26, 38, 66, .5), 0 0 0 1px rgba(26, 38, 66, .08);
    }
    [data-theme="dark"] .neo-dock { background: rgba(29, 37, 56, .86); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1); }
    .neo-dock a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; border-radius: 16px; font: 700 .68rem var(--font-principale); color: var(--color-muted); text-decoration: none; transition: background .2s, color .2s; }
    .neo-dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
    .neo-dock a.on { color: var(--neo-signal); background: rgba(26, 38, 66, .08); }
    [data-theme="dark"] .neo-dock a.on { color: #fff; background: rgba(255, 255, 255, .1); }
    .neo-dock .neo-dock__cta { color: #10151C; background: var(--neo-gold); box-shadow: 0 8px 20px -8px rgba(240, 165, 55, .9); }
}

@media (max-width: 560px) {
    /* en-tête mobile : logo + thème + menu ; le bouton « Devenir fournisseur » passe dans le menu */
    .site-header.site-header--neo { top: 8px; margin-top: 8px; padding: 8px 10px 8px 14px; border-radius: 18px; }
    .neo-nav__actions .neo-b1 { display: none; }
    .neo-nav__actions { gap: 8px; }
    .site-header--neo .btn-theme, .site-header--neo .menu-hamburger { margin: 0; width: 42px; height: 42px; border-radius: 13px; }
    .neo-nav__cta { margin-top: 6px; text-align: center; background: var(--neo-gold); color: #10151C !important; font-weight: 800; box-shadow: 0 10px 24px -8px rgba(240, 165, 55, .8); }
    .neo-nav__cta:hover { background: var(--neo-gold) !important; }

    /* recherche empilée : champ puis bouton pleine largeur */
    .neo-rech { flex-direction: column; gap: 6px; padding: 8px; margin: 22px 0 18px; }
    .neo-rech__champ { flex: none; padding: 2px 12px; }
    .neo-rech__champ input { font-size: .92rem; padding: 13px 0; text-align: left; }
    .neo-rech__champ { gap: 8px; }
    .neo-rech .neo-btn { width: 100%; padding: 14px; }
    .neo-chips { gap: 8px 14px; }
}

@media (max-width: 380px) {
    .neo-fbar__prix { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { .neo-bt, .neo-bt:hover { transform: none; } }
@media print { .neo-dock { display: none; } }

/* ------------------------------------------------------------------ */
/* 6. ORANGE MAÎTRISÉ : halos plus discrets, texte doré toujours lisible */
/* ------------------------------------------------------------------ */
.page-accueil {
    --neo-orb: .26;
    --neo-glow: 0 0 0 1px rgba(255, 255, 255, .75) inset, 0 24px 60px -24px rgba(26, 38, 66, .4), 0 0 60px -26px rgba(26, 38, 66, .25);
    --neo-glow-fort: 0 0 0 1px #fff inset, 0 30px 60px -24px rgba(26, 38, 66, .45), 0 0 60px -20px rgba(59, 91, 181, .3);
    --neo-gold-d: #A85A05;               /* ambre foncé : contraste suffisant sur fond clair */
}
[data-theme="dark"] .page-accueil {
    --neo-orb: .2;
    --neo-glow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 24px 60px -24px rgba(0, 0, 0, .7);
    --neo-glow-fort: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 30px 60px -24px rgba(0, 0, 0, .8);
    --neo-gold-d: #F0A537;
}

/* halo orange : plus petit, ancré dans le coin, ne passe plus derrière le titre */
.neo-o1 { width: 340px; height: 340px; top: -160px; right: -170px; }
.neo-o2 { opacity: calc(var(--neo-orb) * 1.1); }
.neo-o3 { opacity: calc(var(--neo-orb) * .9); }

/* « Le bon téléphone. » : dégradé ambre foncé, net sur n'importe quel fond clair */
.neo-h1 em { background: linear-gradient(90deg, #9A4F03, #C2750F); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
[data-theme="dark"] .neo-h1 em { background: linear-gradient(90deg, #F0A537, #FFC86B); -webkit-background-clip: text; background-clip: text; }

/* lueurs orange des boutons et cartes atténuées */
.neo-b3 { box-shadow: 0 10px 22px -12px rgba(168, 90, 5, .55); }
.neo-bt:hover { box-shadow: 0 30px 56px -26px rgba(26, 38, 66, .6), 0 0 0 1px rgba(26, 38, 66, .18); }
.neo-fbar .pastille--active { box-shadow: 0 6px 14px -8px rgba(168, 90, 5, .6); }
.neo-g2 { box-shadow: 0 0 12px rgba(240, 165, 55, .35); }

@media (max-width: 760px) {
    /* mobile : le fond reste calme, aucun halo orange derrière le texte */
    .page-accueil { --neo-orb: .16; }
    .neo-o1 { width: 220px; height: 220px; top: -120px; right: -130px; }
    .neo-o2 { width: 300px; height: 300px; left: -170px; }
    .neo-o3 { width: 260px; height: 260px; right: -120px; }
    .neo-pill { background: rgba(255, 255, 255, .85); }
}

/* ------------------------------------------------------------------ */
/* 7. SECTION FOURNISSEURS (#vendre)                                    */
/* ------------------------------------------------------------------ */
.vd { padding: 30px 0 80px; scroll-margin-top: 90px; }
.vd-carte {
    position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.05fr; gap: 34px 48px; align-items: start;
    padding: 56px 56px 0; border-radius: 36px; color: #fff;
    background: linear-gradient(135deg, #0f1830 0%, #1A2642 55%, #263c70 100%);
    box-shadow: 0 40px 80px -40px rgba(16, 21, 28, .75), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.vd-carte::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px); background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000 90%); mask-image: linear-gradient(120deg, transparent 20%, #000 90%); }
.vd-carte::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 165, 55, .2), transparent 70%); pointer-events: none; }
.vd-gauche, .vd-grille, .vd-confiance { position: relative; z-index: 1; }

.vd-eyebrow { margin: 0 0 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 99px; font: 800 .72rem var(--font-principale); letter-spacing: .14em; text-transform: uppercase; color: #F0A537; background: rgba(240, 165, 55, .12); box-shadow: 0 0 0 1px rgba(240, 165, 55, .3) inset; }
.vd h2 { margin: 0 0 14px; font-family: var(--font-principale); font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.12; letter-spacing: -.03em; color: #fff; }
.vd-lead { margin: 0 0 24px; max-width: 52ch; color: #c8d0e6; font-size: 1.02rem; line-height: 1.65; }

.vd-etapes { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 0; position: relative; }
.vd-etapes li { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 18px; position: relative; }
.vd-etapes li:last-child { padding-bottom: 0; }
.vd-etapes li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 2px; width: 2px; background: linear-gradient(180deg, rgba(240, 165, 55, .6), rgba(255, 255, 255, .12)); }
.vd-etapes span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 .9rem var(--font-donnees); color: #10151C; background: #F0A537; box-shadow: 0 0 0 5px rgba(240, 165, 55, .16); }
.vd-etapes b { display: block; color: #fff; font-size: 1rem; margin-bottom: 2px; }
.vd-etapes em { font-style: normal; color: #aeb9d6; font-size: .9rem; line-height: 1.5; }

.vd-prix { margin: 0 0 20px; display: inline-flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; padding: 11px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16) inset; color: #d5dcec; font-size: .9rem; }
.vd-prix b { font: 800 1.1rem var(--font-donnees); color: #fff; }
.vd-prix em { font-style: normal; color: #aeb9d6; font-size: .82rem; flex-basis: 100%; }
.vd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vd-ghost { background: rgba(255, 255, 255, .08); color: #fff !important; box-shadow: 0 0 0 1px rgba(255, 255, 255, .24) inset; }
.vd-ghost:hover { background: rgba(255, 255, 255, .16); }
.vd-login { margin: 16px 0 0; font-size: .88rem; color: #aeb9d6; }
.vd-login a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.vd-grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-self: center; }
.vd-grille li {
    display: flex; gap: 13px; align-items: flex-start; padding: 16px; border-radius: 18px; transition: transform .25s, background .25s, box-shadow .25s;
    background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.vd-grille li:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .11); box-shadow: 0 0 0 1px rgba(240, 165, 55, .45) inset; }
.vd-i { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16) inset; }
.vd-i svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vd-grille b { display: block; margin-bottom: 3px; color: #fff; font-size: .95rem; }
.vd-grille li span:not(.vd-i) { display: block; color: #aeb9d6; font-size: .84rem; line-height: 1.45; }
.vd-grille li > div { min-width: 0; line-height: 1.4; }

.vd-confiance { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; margin: 8px -56px 0; padding: 20px 56px; background: rgba(0, 0, 0, .22); border-top: 1px solid rgba(255, 255, 255, .1); }
.vd-confiance span { display: inline-flex; align-items: center; gap: 10px; color: #d5dcec; font-size: .86rem; font-weight: 600; }
.vd-confiance svg { width: 20px; height: 20px; flex: none; fill: none; stroke: #F0A537; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1040px) {
    .vd-carte { grid-template-columns: 1fr; padding: 44px 36px 0; }
    .vd-confiance { margin-inline: -36px; padding-inline: 36px; justify-content: flex-start; }
}
@media (max-width: 700px) {
    .vd { padding: 12px 0 70px; }
    .vd-carte { padding: 30px 20px 0; border-radius: 28px; gap: 26px; }
    .vd h2 { font-size: 1.65rem; }
    .vd-lead { font-size: .96rem; margin-bottom: 20px; }
    .vd-grille { grid-template-columns: 1fr; gap: 10px; }
    .vd-grille li { padding: 14px; }
    .vd-actions .neo-btn { flex: 1 1 100%; justify-content: center; }
    .vd-prix { display: flex; }
    .vd-confiance { flex-direction: column; gap: 12px; margin-inline: -20px; padding: 18px 20px; }
}
@media (prefers-reduced-motion: reduce) { .vd-grille li:hover { transform: none; } }

/* ------------------------------------------------------------------ */
/* 8. CARTES BOUTIQUES : identité unique, sobre (une seule couleur de marque) */
/* ------------------------------------------------------------------ */
.neo-bt .neo-cov,
.neo-bt .neo-cov[class*="neo-cov--c"] {
    height: 92px;
    background:
        radial-gradient(160px 90px at 88% 0%, rgba(255, 255, 255, .16), transparent 70%),
        linear-gradient(135deg, #1A2642 0%, #22335c 100%);
}
.neo-bt .neo-cov::after {
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 22px 22px; -webkit-mask-image: linear-gradient(100deg, transparent 10%, #000 100%); mask-image: linear-gradient(100deg, transparent 10%, #000 100%);
}
[data-theme="dark"] .neo-bt .neo-cov, [data-theme="dark"] .neo-bt .neo-cov[class*="neo-cov--c"] {
    background: radial-gradient(160px 90px at 88% 0%, rgba(255, 255, 255, .1), transparent 70%), linear-gradient(135deg, #2a3d6d 0%, #1f2d50 100%);
}

/* logo / initiales : tuile claire, texte bleu nuit */
.neo-bt .neo-av, .neo-bt .neo-av[class*="neo-av--c"] { background: #eef1f8; color: #1A2642; font-size: 1.15rem; box-shadow: 0 0 0 4px var(--color-surface), 0 10px 22px -10px rgba(26, 38, 66, .55); }
[data-theme="dark"] .neo-bt .neo-av, [data-theme="dark"] .neo-bt .neo-av[class*="neo-av--c"] { background: #e6ebf6; box-shadow: 0 0 0 4px #1d2538, 0 10px 22px -10px rgba(0, 0, 0, .7); }

/* étiquettes de type de vente : un seul style neutre */
.neo-bt .neo-tag, .neo-bt .neo-tag--g, .neo-bt .neo-tag--d, .neo-bt .neo-tag--t { background: rgba(26, 38, 66, .07); color: #33415f; box-shadow: 0 0 0 1px rgba(26, 38, 66, .08) inset; font-weight: 700; }
[data-theme="dark"] .neo-bt .neo-tag, [data-theme="dark"] .neo-bt .neo-tag--g, [data-theme="dark"] .neo-bt .neo-tag--d, [data-theme="dark"] .neo-bt .neo-tag--t { background: rgba(255, 255, 255, .08); color: #d5dcec; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset; }

/* ville : icône discrète (plus d'orange) */
.neo-bt .neo-pin { color: var(--color-muted); }

/* hauteur homogène : les statistiques sont alignées en bas de chaque carte */
.neo-bt__corps { display: flex; flex-direction: column; gap: 10px; padding-top: 40px; }
.neo-stats { margin-top: auto; }
.neo-tags { min-height: 0; }

/* bouton WhatsApp : neutre, vert uniquement au survol */
.neo-bt .neo-a .neo-w2 { background: rgba(26, 38, 66, .07); color: #1A2642; box-shadow: 0 0 0 1px rgba(26, 38, 66, .1) inset; transition: background .2s, color .2s; }
.neo-bt .neo-a .neo-w2:hover { background: #25D366; color: #fff; }
[data-theme="dark"] .neo-bt .neo-a .neo-w2 { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset; }

/* badges du bandeau : « Active » reste le seul point de couleur */
.neo-bt .neo-ver { color: #1A2642; }
.neo-bt .neo-ver svg { stroke: #146B65; }

/* ------------------------------------------------------------------ */
/* 9. BOUTON « VOIR LA BOUTIQUE » doré + WHATSAPP officiel flottant     */
/* ------------------------------------------------------------------ */
.neo-bt .neo-a { align-items: center; }
.neo-bt .neo-a .neo-b1 {
    background: linear-gradient(180deg, #f6b650, #F0A537); color: #10151C;
    box-shadow: 0 12px 24px -12px rgba(240, 165, 55, .85), 0 0 0 1px rgba(168, 90, 5, .12) inset;
}
.neo-bt .neo-a .neo-b1:hover { background: linear-gradient(180deg, #f8c166, #f3ad45); color: #10151C; transform: translateY(-2px); }
.neo-bt .neo-a .neo-b1 .neo-arrow { stroke: #10151C; }

.neo-bt .neo-a .neo-w2, [data-theme="dark"] .neo-bt .neo-a .neo-w2 {
    position: relative; flex: none; width: 48px; height: 48px; padding: 0; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(145deg, #3be585, #1fb85a); color: #fff; border: 0;
    box-shadow: 0 12px 22px -8px rgba(37, 211, 102, .7), 0 0 0 4px rgba(37, 211, 102, .14), 0 0 22px rgba(37, 211, 102, .38);
    animation: neo-wa-flotte 3.4s ease-in-out infinite;
}
.neo-bt .neo-a .neo-w2::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37, 211, 102, .55); animation: neo-wa-onde 3.4s ease-out infinite; pointer-events: none; }
.neo-bt .neo-a .neo-w2:hover, [data-theme="dark"] .neo-bt .neo-a .neo-w2:hover { background: linear-gradient(145deg, #4cf092, #22c55e); color: #fff; animation-play-state: paused; transform: translateY(-5px) scale(1.06); }
.neo-bt .neo-a .neo-w2 svg.neo-wa-ico { width: 26px !important; height: 26px !important; max-width: 26px; max-height: 26px; fill: #fff; stroke: none; }
@keyframes neo-wa-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes neo-wa-onde { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .neo-bt .neo-a .neo-w2, .neo-bt .neo-a .neo-w2::after { animation: none; } }

/* ------------------------------------------------------------------ */
/* 10. PANNEAU DE FILTRES v3 : lignes étiquetées, sobre, un seul accent  */
/* ------------------------------------------------------------------ */
.neo-bt-top { display: block; }
.neo-bt-top > div { max-width: 640px; }
.neo-fbar { padding: 0; gap: 0; overflow: hidden; border-radius: 26px; }
.neo-fbar__haut { padding: 18px 26px; gap: 16px; border-bottom: 1px solid rgba(26, 38, 66, .08); background: rgba(255, 255, 255, .55); }
[data-theme="dark"] .neo-fbar__haut { background: rgba(255, 255, 255, .03); border-bottom-color: rgba(255, 255, 255, .08); }
.neo-fbar__titre { display: flex; align-items: center; gap: 13px; }
.neo-fbar__ico { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: #1A2642; box-shadow: 0 10px 20px -10px rgba(26, 38, 66, .8); }
.neo-fbar__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.neo-fbar__titre > span:last-child { display: grid; gap: 1px; font-weight: 800; font-size: 1rem; color: var(--neo-titre); }
.neo-fbar__titre small { font-weight: 500; font-size: .8rem; color: var(--color-muted); }
.neo-fbar__compte { margin-left: auto; }
.neo-fbar__compte b { background: #1A2642; color: #fff; padding: 3px 11px; }
[data-theme="dark"] .neo-fbar__compte b { background: #e6ebf6; color: #1A2642; }
.neo-fbar__reset { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; }
.neo-fbar__reset svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.fl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 26px; border-top: 1px solid rgba(26, 38, 66, .07); }
.neo-fbar__haut + .fl { border-top: 0; }
[data-theme="dark"] .fl { border-top-color: rgba(255, 255, 255, .07); }
.fl__lib { margin: 0; font: 800 .72rem var(--font-principale); letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); }
.fl__ctrl { min-width: 0; }

/* pastilles : même gabarit partout, l'état actif est bleu nuit (l'orange reste réservé aux actions) */
.fl .pastilles, .fl .neo-vil { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; margin: 0; padding: 0; width: auto; }
.fl .pastille, .fl .neo-vil button {
    padding: 9px 16px; border: 0; border-radius: 99px; cursor: pointer; font: 600 .85rem var(--font-principale); color: #33415f;
    background: rgba(26, 38, 66, .05); box-shadow: 0 0 0 1px rgba(26, 38, 66, .1) inset; transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.fl .pastille:hover, .fl .neo-vil button:hover { background: rgba(26, 38, 66, .1); transform: translateY(-1px); }
.fl .pastille--active, .fl .neo-vil button.on { background: #1A2642; color: #fff; box-shadow: 0 8px 18px -10px rgba(26, 38, 66, .9); }
[data-theme="dark"] .fl .pastille, [data-theme="dark"] .fl .neo-vil button { color: #d5dcec; background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset; }
[data-theme="dark"] .fl .pastille--active, [data-theme="dark"] .fl .neo-vil button.on { background: #e6ebf6; color: #1A2642; }
/* type de vente : commande segmentée */
.fl .pastilles--segment { display: inline-flex; flex-wrap: nowrap; gap: 2px; padding: 4px; border-radius: 99px; background: rgba(26, 38, 66, .06); box-shadow: 0 0 0 1px rgba(26, 38, 66, .08) inset; }
.fl .pastilles--segment .pastille { background: transparent; box-shadow: none; }
.fl .pastilles--segment .pastille:hover { background: rgba(26, 38, 66, .08); transform: none; }
.fl .pastilles--segment .pastille--active { background: #1A2642; color: #fff; }
[data-theme="dark"] .fl .pastilles--segment { background: rgba(255, 255, 255, .06); }

/* budget et tri */
.fl__prix { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.fl .tiret { color: var(--color-muted); font-weight: 700; }
.fl .champ { display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 14px; border-radius: 14px; background: var(--color-surface); box-shadow: 0 0 0 1px rgba(26, 38, 66, .12) inset; transition: box-shadow .2s; }
.fl .champ:focus-within { box-shadow: 0 0 0 2px #1A2642 inset, 0 0 0 5px rgba(26, 38, 66, .1); }
[data-theme="dark"] .fl .champ:focus-within { box-shadow: 0 0 0 2px #e6ebf6 inset; }
.fl .champ span { font: 800 .68rem var(--font-principale); letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); }
.fl .champ i { font: 600 .74rem var(--font-donnees); font-style: normal; color: var(--color-muted); }
.fl .champ input, .fl .champ select { width: 120px; min-width: 0; padding: 0; border: 0; outline: 0; box-shadow: none; background: transparent; font: 600 .95rem var(--font-donnees); color: var(--color-ink); }
.fl .champ input:focus, .fl .champ select:focus { box-shadow: none; border: 0; }
.fl .champ--tri { margin-left: auto; }
.fl .champ--tri select { width: auto; padding-right: 4px; cursor: pointer; font-family: var(--font-principale); }

@media (max-width: 940px) {
    .fl { grid-template-columns: 1fr; gap: 10px; padding: 14px 20px; }
    .neo-fbar__haut { padding: 16px 20px; }
}
@media (max-width: 760px) {
    .neo-fbar__titre small { display: none; }
    .fl .pastilles:not(.pastilles--segment), .fl .neo-vil { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 2px 20px 6px; width: auto; scrollbar-width: none; }
    .fl .pastilles::-webkit-scrollbar, .fl .neo-vil::-webkit-scrollbar { display: none; }
    .fl .pastille, .fl .neo-vil button { flex: none; }
    .fl .pastilles--segment { display: flex; width: 100%; }
    .fl .pastilles--segment .pastille { flex: 1; padding-inline: 6px; font-size: .8rem; text-align: center; }
    .fl__prix { display: grid; grid-template-columns: 1fr auto 1fr; }
    .fl .champ input { width: 100%; }
    .fl .champ--tri { grid-column: 1 / -1; margin-left: 0; }
    .fl .champ--tri select { width: 100%; }
}
.neo-fbar__titre .neo-fbar__ico svg { color: #fff; width: 20px; height: 20px; }
.fl .champ span { white-space: nowrap; }
@media (max-width: 760px) {
    .fl .champ:not(.champ--tri) i { display: none; }
    .neo-fbar__haut { flex-wrap: wrap; gap: 10px 12px; }
    .neo-fbar__titre { flex: 1 1 auto; min-width: 0; }
    .neo-fbar__titre > span:last-child { font-size: .95rem; }
    .neo-fbar__reset { padding: 8px 12px; font-size: .78rem; }
    .neo-fbar__ico { width: 36px; height: 36px; }
}

/* ===== Correctifs interface (nov. 2026) ===== */
/* Pastille « Fournisseurs de téléphones vérifiés » : lisible aussi en mode sombre */
[data-theme="dark"] .neo-pill, [data-theme="dark"] .page-accueil .neo-pill {
    background: rgba(38, 49, 75, .92); color: #F3F5FA;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .16) inset;
}
/* Menu déroulant mobile : fond opaque et texte net (clair comme sombre) */
@media (max-width: 940px) {
    .site-header--neo .neo-nav__liens {
        gap: 0; padding: 8px; max-height: calc(100vh - 110px); overflow-y: auto;
        background: #ffffff; -webkit-backdrop-filter: none; backdrop-filter: none;
        border: 1px solid rgba(26, 38, 66, .12);
        box-shadow: 0 24px 48px -16px rgba(26, 38, 66, .45);
    }
    [data-theme="dark"] .site-header--neo .neo-nav__liens {
        background: #1d2538; border-color: rgba(255, 255, 255, .12);
        box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .8);
    }
    .site-header--neo .neo-nav__liens a {
        display: block; padding: 14px 16px; border-radius: 12px; font-size: 1rem; font-weight: 600;
        color: #1A2642; text-decoration: none; border-bottom: 1px solid rgba(26, 38, 66, .08);
    }
    [data-theme="dark"] .site-header--neo .neo-nav__liens a { color: #F3F5FA; border-bottom-color: rgba(255, 255, 255, .08); }
    .site-header--neo .neo-nav__liens a:hover, .site-header--neo .neo-nav__liens a:focus-visible { background: rgba(240, 165, 55, .16); color: #1A2642; }
    [data-theme="dark"] .site-header--neo .neo-nav__liens a:hover, [data-theme="dark"] .site-header--neo .neo-nav__liens a:focus-visible { color: #ffffff; }
    .site-header--neo .neo-nav__liens a:last-child { border-bottom: 0; }
    /* « Se connecter » : bouton contour ; « Devenir fournisseur » : bouton plein */
    .site-header--neo .neo-nav__liens a[href$="login.php"] {
        margin-top: 8px; text-align: center; border: 1.5px solid #1A2642; border-radius: 12px;
    }
    [data-theme="dark"] .site-header--neo .neo-nav__liens a[href$="login.php"] { border-color: rgba(255, 255, 255, .4); }
    .site-header--neo .neo-nav__liens .neo-nav__cta {
        margin-top: 8px; text-align: center; border: 0; background: #F0A537; color: #10151C !important;
        box-shadow: 0 10px 24px -10px rgba(240, 165, 55, .8);
    }
}

/* ===== Bouton « Voir toutes les boutiques » centré (nov. 2026) ===== */
.neo-plus { display: flex; justify-content: center; width: 100%; max-width: none; text-align: center; }

/* ===== Ajustements mobile / tablette de l'accueil (nov. 2026) ===== */
/* Carte « tableau de bord » pleine largeur seulement quand la grille a 3 colonnes ; sinon elle se range à côté de la carte précédente */
.neo-bc.w { grid-column: auto; }
@media (min-width: 941px) { .neo-bc.w { grid-column: 1 / -1; } }
@media (max-width: 700px) {
    /* En-tête de l'annuaire centré comme les autres titres de section sur mobile */
    .neo-bt-top, .neo-bt-top > div { text-align: center; }
    .neo-bt-top p { margin-left: auto; margin-right: auto; }
}

/* ==========================================================================
   Accueil : section « Vendre » - version sobre (nov. 2026)
   Un titre, une phrase, un bouton, trois étapes en lignes fines.
   ========================================================================== */
.vd3 { padding: 24px 0 90px; scroll-margin-top: 90px; }
.vd3-carte {
    position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px clamp(36px, 5vw, 64px); align-items: center;
    padding: clamp(32px, 5vw, 64px); border-radius: 32px; color: #fff;
    background: linear-gradient(160deg, #0f1936 0%, #15244b 100%);
    box-shadow: 0 34px 70px -42px rgba(16, 21, 28, .75);
}
.vd3-carte::after { content: ""; position: absolute; right: -170px; top: -230px; width: 540px; height: 540px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(240, 165, 55, .15), transparent 66%); }
.vd3-texte, .vd3-etapes { position: relative; z-index: 1; min-width: 0; }

.vd3-eyebrow { margin: 0 0 20px; font: 700 .78rem var(--font-principale); letter-spacing: .16em; text-transform: uppercase; color: #F0A537; }
.vd3 h2 { margin: 0 0 16px; font-family: var(--font-principale); font-size: clamp(1.9rem, 3vw, 2.35rem); line-height: 1.14; letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.vd3 h2 span { color: #94a6d6; }
.vd3-lead { margin: 0 0 34px; font-size: 1.06rem; color: #aab6d6; }

.vd3-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.vd3-btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 30px; border-radius: 14px; background: #F0A537; color: #10151C !important; font: 800 1.02rem var(--font-principale); text-decoration: none !important; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.vd3-btn:hover { background: #f6b552; transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(240, 165, 55, .8); }
.vd3-lien { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-weight: 600; text-decoration: none !important; opacity: .92; }
.vd3-lien svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.vd3-lien:hover { opacity: 1; }
.vd3-lien:hover svg { transform: translateX(4px); }
.vd3-login { margin: 28px 0 0; font-size: .92rem; color: #8d9bc4; }
.vd3-login a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.vd3-login a:hover { text-decoration-color: #F0A537; }

.vd3-etapes { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.vd3-etapes li { display: grid; grid-template-columns: 62px 1fr; gap: 0 14px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.vd3-etapes li > span { font: 300 2.2rem/1 var(--font-principale); letter-spacing: -.04em; color: rgba(255, 255, 255, .3); }
.vd3-etapes b { display: block; margin-bottom: 4px; font-size: 1.1rem; color: #fff; }
.vd3-etapes em { display: block; font-style: normal; font-size: .95rem; line-height: 1.55; color: #9fb0da; }

@media (max-width: 900px) {
    .vd3 { padding-bottom: 70px; }
    .vd3-carte { grid-template-columns: 1fr; border-radius: 26px; padding: 34px 24px; }
    .vd3-etapes li { grid-template-columns: 50px 1fr; padding: 20px 0; }
    .vd3-etapes li > span { font-size: 1.8rem; }
}
@media (max-width: 560px) {
    .vd3-actions { flex-direction: column; align-items: stretch; text-align: center; gap: 16px; }
    .vd3-lien { justify-content: center; }
    .vd3-login { text-align: center; }
}

/* ==========================================================================
   Accueil : section « Boutiques » simplifiée (nov. 2026)
   Titre centré, deux rangées de pastilles, type de vente, budget replié, compteur discret.
   ========================================================================== */
.nb-tete { max-width: 640px; margin: 0 auto 30px; text-align: center; }
.nb-eyebrow { display: block; margin-bottom: 10px; font: 700 .78rem var(--font-principale); letter-spacing: .16em; text-transform: uppercase; color: var(--neo-gold-d); }
.nb-tete h2 { margin: 0 0 12px; font-family: var(--font-principale); font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.12; letter-spacing: -.03em; color: var(--neo-titre); }
.nb-tete p { margin: 0 auto; max-width: 52ch; color: var(--color-muted); font-size: 1.04rem; line-height: 1.6; }

.nf { max-width: 940px; margin: 0 auto 30px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: center; }
.nf-rang { width: 100%; display: flex; justify-content: center; }
.nf .neo-vil, .nf .pastilles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; width: auto; }
.nf .neo-vil button, .nf .pastille {
    height: 40px; padding: 0 18px; border: 0; border-radius: 99px; cursor: pointer; white-space: nowrap;
    background: var(--color-surface); color: #1f2a44; font: 600 .9rem var(--font-principale);
    box-shadow: 0 0 0 1px rgba(26, 38, 66, .14) inset; transition: background .2s, color .2s, box-shadow .2s;
}
.nf .neo-vil button:hover, .nf .pastille:hover { box-shadow: 0 0 0 1px rgba(26, 38, 66, .45) inset; transform: none; }
.nf .neo-vil button.on, .nf .pastille--active { background: #1A2642; color: #fff; box-shadow: none; }
[data-theme="dark"] .nf .neo-vil button, [data-theme="dark"] .nf .pastille { background: rgba(255, 255, 255, .06); color: #d5dcec; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset; }
[data-theme="dark"] .nf .neo-vil button.on, [data-theme="dark"] .nf .pastille--active { background: #e6ebf6; color: #1A2642; box-shadow: none; }

.nf-bas { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; }
.nf .pastilles--segment { display: inline-flex; flex-wrap: nowrap; gap: 2px; padding: 4px; border-radius: 99px; background: rgba(26, 38, 66, .06); }
.nf .pastilles--segment .pastille { height: 34px; padding: 0 16px; background: transparent; box-shadow: none; }
.nf .pastilles--segment .pastille:hover { background: rgba(26, 38, 66, .08); }
.nf .pastilles--segment .pastille--active { background: #1A2642; color: #fff; }
[data-theme="dark"] .nf .pastilles--segment { background: rgba(255, 255, 255, .06); }
[data-theme="dark"] .nf .pastilles--segment .pastille { background: transparent; box-shadow: none; }
[data-theme="dark"] .nf .pastilles--segment .pastille--active { background: #e6ebf6; color: #1A2642; }

.nf-budget { position: relative; }
.nf-budget summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 99px; cursor: pointer; user-select: none; font: 600 .9rem var(--font-principale); color: #1f2a44; background: var(--color-surface); box-shadow: 0 0 0 1px rgba(26, 38, 66, .14) inset; }
.nf-budget summary::-webkit-details-marker { display: none; }
.nf-budget summary:hover { box-shadow: 0 0 0 1px rgba(26, 38, 66, .45) inset; }
.nf-budget summary svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nf-budget .nf-chev { width: 15px; height: 15px; transition: transform .2s; }
.nf-budget[open] .nf-chev { transform: rotate(180deg); }
[data-theme="dark"] .nf-budget summary { background: rgba(255, 255, 255, .06); color: #d5dcec; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset; }
.nf-budget__corps { position: absolute; z-index: 5; top: calc(100% + 10px); right: 0; display: grid; gap: 10px; width: 300px; padding: 16px; border-radius: 18px; background: var(--color-surface); box-shadow: 0 0 0 1px rgba(26, 38, 66, .1), 0 24px 48px -20px rgba(26, 38, 66, .45); }
[data-theme="dark"] .nf-budget__corps { background: #1d2538; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 48px -20px rgba(0, 0, 0, .8); }
.nf-champ { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 13px; background: var(--color-paper); box-shadow: 0 0 0 1px rgba(26, 38, 66, .12) inset; }
.nf-champ:focus-within { box-shadow: 0 0 0 2px #1A2642 inset; }
[data-theme="dark"] .nf-champ { background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset; }
[data-theme="dark"] .nf-champ:focus-within { box-shadow: 0 0 0 2px #e6ebf6 inset; }
.nf-champ span { flex: none; min-width: 42px; font: 800 .68rem var(--font-principale); letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); }
.nf-champ i { flex: none; font: 600 .74rem var(--font-donnees); font-style: normal; color: var(--color-muted); }
.nf-champ input, .nf-champ select { flex: 1; width: 100%; min-width: 0; height: auto; padding: 0; border: 0; outline: 0; box-shadow: none; background: transparent; font: 600 .95rem var(--font-donnees); color: var(--color-ink); }
[data-theme="dark"] .nf-champ input, [data-theme="dark"] .nf-champ select { background: transparent; color: #e6ebf6; }

.nf-etat { display: flex; align-items: center; justify-content: center; gap: 8px 18px; flex-wrap: wrap; margin: 4px 0 0; font-size: .9rem; color: var(--color-muted); }
.nf-etat b { font-family: var(--font-donnees); color: var(--neo-titre); font-size: 1rem; }
.nf-reset { display: inline-flex; align-items: center; gap: 6px; padding: 6px 4px; border: 0; background: none; cursor: pointer; font: 600 .88rem var(--font-principale); color: var(--color-muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: transparent; transition: color .2s, text-decoration-color .2s; }
.nf-reset svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nf-reset:hover { color: var(--neo-titre); text-decoration-color: currentColor; }

@media (max-width: 700px) {
    .nb-tete { margin-bottom: 22px; }
    .nb-tete p { font-size: .98rem; }
    /* villes et catégories : une seule ligne que l'on fait défiler */
    .nf-rang { margin-inline: -16px; width: calc(100% + 32px); }
    .nf .neo-vil, .nf .pastilles:not(.pastilles--segment) { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; width: 100%; padding: 2px 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .nf .neo-vil::-webkit-scrollbar, .nf .pastilles::-webkit-scrollbar { display: none; }
    .nf .neo-vil button, .nf .pastille { flex: none; }
    .nf-bas { width: 100%; flex-direction: column; gap: 10px; }
    .nf .pastilles--segment { width: 100%; overflow-x: auto; scrollbar-width: none; justify-content: space-between; }
    .nf .pastilles--segment .pastille { flex: 1 1 auto; padding: 0 10px; font-size: .84rem; }
    .nf-budget { width: 100%; }
    .nf-budget summary { width: 100%; justify-content: center; }
    .nf-budget__corps { position: static; width: 100%; margin-top: 10px; box-shadow: 0 0 0 1px rgba(26, 38, 66, .1); }
}
