header#headerPage{
    z-index: 100;
    width: 100%;
    height: 95px;
    position: fixed;
    top: 0;
    left: 0;
    background: #FFF;
    border-bottom: none;
}
header#headerPage.has-arrow {
    height: 105px;
}
header#headerPage #headerHolder{
    display: flex;
    align-items: center;
    max-width: 1398px;
    width: 93.5%;
    margin: 0 auto;
    height: 105px;
    padding-bottom: 20px;
    /* Le padding-bottom étend la hitbox sous le header fixe (fil d'Ariane, etc.) :
       on le rend « transparent » aux clics tout en gardant l'espacement visuel. */
    pointer-events: none;
}
header#headerPage #headerHolder *{
    pointer-events: auto;
}
header#headerPage #headerHolder.has-arrow {
    padding-bottom: 5px !important;
}
header#headerPage #headerHolder #logoKiwiiz{
    width: 85px;
}
header#headerPage .partie{
    display: flex;
    align-items: center;
    gap: 16px;
}
header#headerPage #part1{
    margin-left: 20px;
}

/* Landing : apparition fluide de la search bar dans le header au scroll */
body.page-landing header#headerPage #SearchBarHolder{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
        opacity .4s cubic-bezier(.22, 1, .36, 1),
        transform .4s cubic-bezier(.22, 1, .36, 1),
        visibility .4s;
}
body.page-landing header#headerPage.landing-header-search-visible #SearchBarHolder{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
body.page-landing #AllSite,
body.page-landing #AllSite:has(header#headerPage.has-arrow),
body.page-landing #AllSite.has-header-arrow{
    transition: padding-top .4s cubic-bezier(.22, 1, .36, 1);
}
header#headerPage #part2,header#headerPage #part3{
    margin-left: auto;
}
/* Invité : largeurs min max(FR, langue active) via variables inline — part2 repoussé par margin-left:auto */
header#headerPage #headerHolder:has(#part2) #postAnnonceHeader{
    flex-shrink: 0;
    white-space: nowrap;
}
header#headerPage #headerHolder:has(#part2) #part2{
    flex-shrink: 0;
}
header#headerPage #headerHolder:has(#part2) #part2 #connection,
header#headerPage #headerHolder:has(#part2) #part2 #inscription{
    white-space: nowrap;
}
header#headerPage #part3{
    gap: min(2.611325vw, 38px);
}
#SearchBarHolder,
.SearchBarHolder{
    position: relative;
    box-sizing: border-box;
    padding: 4px 4px 4px 17px;
    height: 51px;
    border-radius: 50px;
    border:1px solid #ecedf0;
    background: #FFF;
    display: flex;
    align-items: center;
    max-width: 100%;
    cursor: text;
    transition: border-color 0.15s ease;
}
/* Indicateur « mode écriture » : même bordure grise, un peu plus foncée */
#SearchBarHolder:focus-within,
.SearchBarHolder:focus-within{
    border-color: #c5c9d1;
}
@media screen and (min-width: 1025px) {
    #SearchBarHolder,
    .SearchBarHolder{
        width: min(42vw, 610px);
    }
}
#SearchBarHolder form,
.SearchBarHolder form{
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin: 0;
    --transition-searchBar: 0.5s ease-out;
    position: relative;
}
#SearchBarHolder form input,
.SearchBarHolder form input{
    border: none;
    /* Texte + caret contrastés (évite caret gris invisible sur fond blanc) */
    color: #1D3253;
    caret-color: #1D3253;
    cursor: text;
    font-family: Quicksand;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    /* Hauteur fixe : -webkit-fill-available + overflow parent clippe parfois le caret (Chrome) */
    line-height: 40px;
    padding: 0;
    height: 40px;
    min-height: 40px;
    box-sizing: border-box;
}
#SearchBarHolder form input::placeholder,
.SearchBarHolder form input::placeholder{
    color: #8D98A8;
    opacity: 1;
}
#SearchBarHolder form input:focus,
#SearchBarHolder form input:focus-visible,
.SearchBarHolder form input:focus,
.SearchBarHolder form input:focus-visible{
    outline: none;
    background-color: white;
    color: #1D3253;
    caret-color: #1D3253;
}
#SearchBarHolder form #shownewmenu{
    width: 0;
    transition: var(--transition-searchBar);
}
#SearchBarHolder form #util_cp{
    width: 0;
    transition: var(--transition-searchBar);
}
.SearchBarHolder form .js-search-text{
    width: 0;
    transition: var(--transition-searchBar);
}
.SearchBarHolder form .js-util-cp{
    width: 0;
    transition: var(--transition-searchBar);
}
@media screen and (min-width: 1025px) {
    #SearchBarHolder form #util_cp.currentlyDisplayed,
    .SearchBarHolder form .js-util-cp.currentlyDisplayed{
        min-width: 190px;
    }
}
#SearchBarHolder form .currentlyDisplayed,
.SearchBarHolder form .currentlyDisplayed{
    flex-grow: 1;
}
#SearchBarHolder form img,
.SearchBarHolder form img{
    width: 22px;
    height: 32px;
    margin: 0 16px;
    cursor: pointer;
}
#SearchBarHolder #rechercher,
.SearchBarHolder .rechercher{
    background:linear-gradient(72deg, #F907FC 0.03%, #0779FF 100%);
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    padding: 8px;
    border-radius: 20px;
    cursor: pointer;
    border: none;
    margin-right:5px;
}
.SearchBarHolder .rechercher{
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* Barre landing : styles dans css/leclub.css (.landing-hero .SearchBarHolderLanding) */
.menu-page-content {
    width: min(80%, 900px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 24px;
    padding: 0;
    box-sizing: border-box;
}
/*
 * Alignement flèche CP → centre du pin (#switchCPOnOff / .js-cp-switch).
 * Pointe SVG arrow-location.svg ≈ 12px du bord droit de l'image (56px).
 * Desktop : padding-right barre 4 + margin bouton 5 + bouton 32 + margin pin 16 + demi-pin 11 - pointe 12.
 */
#locationHint {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    bottom: -30px;
    right: calc(4px + 5px + 32px + 16px + 11px - 12px);
    /* Au-dessus du fil d'Ariane / contenu */
    z-index: 5;
    box-sizing: border-box;
}
#locationHint #arrowLocation {
    width: 56px;
    height: 28px;
    display: block;
    flex-shrink: 0;
}
#locationHint p,
#locationHint .locationHint-label,
#locationHint .locationHint-label__full,
#locationHint .locationHint-label__short,
.locationHint-mobile .locationHint-label,
.locationHint-mobile .locationHint-label__full,
.locationHint-mobile .locationHint-label__short {
    color: #1D3253;
    font-family: Quicksand, system-ui, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700 !important; /* bat * { font-weight: 400 } (index-remi) */
    line-height: normal;
    margin: 0;
    white-space: nowrap;
}
/* Version courte masquée par défaut ; JS bascule .is-short si pas assez de place */
#locationHint .locationHint-label__short,
.locationHint-mobile .locationHint-label__short {
    display: none;
}
#locationHint.is-short .locationHint-label__full,
.locationHint-mobile.is-short .locationHint-label__full {
    display: none;
}
#locationHint.is-short .locationHint-label__short,
.locationHint-mobile.is-short .locationHint-label__short {
    display: inline;
}
/* CTA « Déposer / Poster une annonce » — Figma primary (fiche 2001:1537) */
.btn-post-annonce {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 40px;
    padding: 16px min(2.2222vw, 28px);
    border: none;
    border-radius: 12px;
    background: #192e51;
    color: #fff;
    font-family: Raleway, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-post-annonce:hover,
.btn-post-annonce:focus {
    background: #14243f;
    color: #fff;
    text-decoration: none;
}

header#headerPage #postAnnonceHeader{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: 8px;
    box-sizing: border-box;
    margin-left: min(1.3889vw, 20px);
    margin-right: min(1.3889vw, 20px);
    padding: 16px min(2.2222vw, 28px);
    border-radius: 12px;
    background: #192e51;
    border: none;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
header#headerPage #postAnnonceHeader:hover{
    text-decoration: none;
    background: #14243f;
    box-shadow: none;
}
header#headerPage #postAnnonceHeader img{
    filter: invert(1);
    width: 14px;
    height: 16px;
}
header#headerPage #postAnnonceHeader p{
    margin: 0;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-family: Raleway, sans-serif;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: 0;
}
header#headerPage #headerHolder:has(#part3) #postAnnonceHeader{
    flex-shrink: 0;
}
/* Switcher i18n de test : hors flux, n'impacte pas le header */
#langSwitcher{
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 9999;
    display: flex;
    align-items: center;
    column-gap: 8px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    font-family: Quicksand;
    font-size: 13px;
    font-weight: 700;
}
#langSwitcher .langSwitcher-label{
    color: #9AA8B8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
#langSwitcher .langSwitcher-select{
    min-width: 170px;
    max-width: 220px;
    padding: 6px 28px 6px 10px;
    border: 1px solid rgba(29, 50, 83, 0.12);
    border-radius: 8px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231D3253' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
    color: #1D3253;
    font-family: Quicksand;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    appearance: none;
}
#langSwitcher .langSwitcher-select:focus{
    outline: 2px solid rgba(7, 121, 255, 0.35);
    outline-offset: 1px;
}
#langSwitcher .langSwitcher-hide{
    flex: 0 0 auto;
    margin: 0;
    padding: 6px 8px;
    border: 1px solid rgba(29, 50, 83, 0.12);
    border-radius: 8px;
    background: #f3f5f8;
    color: #365266;
    font-family: Quicksand, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    white-space: nowrap;
}
#langSwitcher .langSwitcher-hide:hover{
    background: #e8edf3;
}
header#headerPage #inscription,header#headerPage #connection{
    display: block;
    color: #1D3253;
    font-family: Quicksand;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding: 16px min(2.2222vw, 28px);
    border-radius: 12px;
    border: 0.5px solid #1D3253;
    background: #FFF;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.05);
    transition: 0.5s;
    text-align: center;
}
header#headerPage #inscription{
    color: #FFF;
    background: #1D3253;
    border: none;
}
header#headerPage #inscription:hover{
    background: #617087;
    text-decoration: none;
}
header#headerPage #connection:hover{
    text-decoration: none;
    background: #E8EAEE;
    border: 1px solid transparent;
}
header#headerPage .iconLink{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
header#headerPage .iconLink img{
    width: auto;
    height: 32px;   
}
header#headerPage .iconLink img#clubButtonHeader{
    width: 57px;
    height: auto;
}

header#headerPage .iconLink > p{
    color: #1D3253;
    font-family: Quicksand;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0;
    text-align: center;
}


header#headerPage .iconLink:hover{
    text-decoration: none;
}
header#headerPage .iconLink > div{
    position: relative;
    height: 32px;
}
header#headerPage .iconLink #notification{
    animation: bounce 0.35s ease infinite alternate;
    position: absolute;
    right: -5px;
    top: 0;
    margin: 0;
    border-radius: 100px;
    background-color: red;
    color: #FFF;
    width: 20px;
    height: 20px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #FFF;
}
header#headerPage #profilPicture img{
    width: 57px;
    height: 57px;
    border-radius: 100px;
}

/* S'assurer que la photo de profil garde sa taille normale sur la page profil (règle générale) */
/* Forcer la taille exacte comme sur les autres pages */
body:has(.profil-container) header#headerPage #profilPicture,
#AllSite:has(.profil-container) header#headerPage #profilPicture {
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}
body:has(.profil-container) header#headerPage #profilPicture img,
#AllSite:has(.profil-container) header#headerPage #profilPicture img {
    width: 57px !important;
    height: 57px !important;
    min-width: 57px !important;
    min-height: 57px !important;
    max-width: 57px !important;
    max-height: 57px !important;
    display: block !important;
    flex-shrink: 0 !important;
    object-fit: cover !important;
}

/* Desktop : compenser la hauteur du header fixe */
/* Hauteur du header sur desktop : 95px (ou 105px avec la flèche) */
#AllSite {
    padding-top: 95px !important;
}
#AllSite:has(header#headerPage.has-arrow),
#AllSite.has-header-arrow {
    padding-top: 105px !important;
}

/* Annuler le padding-top sur la page messagerie */
/* Cette page gère son propre espacement */
#AllSite:has(.header-messagerie),
#AllSite:has(#messagerie) {
    padding-top: 0 !important;
}

/* Masquer la flèche CP mobile sur desktop (affichée dans le header) */
@media screen and (min-width: 1025px) {
    .locationHint-mobile-wrapper,
    .locationHint-mobile {
        display: none !important;
    }
}

/* S'assurer que le header garde sa hauteur normale sur desktop pour la page profil */
/* Même si la classe mobil-hidden est présente, elle ne doit affecter que le mobile */
@media screen and (min-width: 1025px) {
    header#headerPage.mobil-hidden {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        height: 95px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
    }
    header#headerPage.mobil-hidden.has-arrow {
        height: 105px !important;
    }
    header#headerPage.mobil-hidden #headerHolder {
        height: 105px !important;
        display: flex !important;
        visibility: visible !important;
        width: 93.5% !important;
    }
    header#headerPage.mobil-hidden #headerHolder > * {
        display: flex !important;
        visibility: visible !important;
    }
    header#headerPage.mobil-hidden .partie {
        display: flex !important;
        visibility: visible !important;
    }
    
    /* S'assurer que le header sur la page profil a exactement la même hauteur et position que sur les autres pages */
    /* Ajouter un espace au-dessus du header sur la page profil pour correspondre aux autres pages */
    #AllSite:has(.profil-container) header#headerPage {
        height: 95px !important;
        position: fixed !important;
        padding-top: 10px !important;
        left: 0 !important;
    }
    #AllSite:has(.profil-container) header#headerPage.has-arrow {
        height: 105px !important;
    }
    #AllSite:has(.profil-container) header#headerPage #headerHolder {
        height: 105px !important;
    }
    
    /* S'assurer que la photo de profil dans le header garde sa taille normale sur la page profil */
    #AllSite:has(.profil-container) header#headerPage #profilPicture {
        width: auto !important;
        height: auto !important;
        display: block !important;
    }
    #AllSite:has(.profil-container) header#headerPage #profilPicture img {
        width: 57px !important;
        height: 57px !important;
        min-width: 57px !important;
        min-height: 57px !important;
        max-width: 57px !important;
        max-height: 57px !important;
        display: block !important;
    }
}

@media screen and (max-width: 1024px) {

    /*
     * Flèche CP dans le header (sous la search), pas dans le contenu :
     * évite qu’elle soit masquée / mal ancrée selon le layout mobile.
     */
    header#headerPage #SearchBarHolder #locationHint.locationHint-desktop {
        display: flex !important;
        bottom: -30px;
        /* Mobile : padding barre 4 + bouton 32 + margin pin 8 + demi-pin 11 - pointe SVG 12 */
        right: calc(4px + 32px + 8px + 11px - 12px);
        max-width: none;
        box-sizing: border-box;
        background: transparent;
        z-index: 5;
    }
    /*
     * Bande blanche pleine largeur sous le header (continuation visuelle) :
     * la flèche CP y repose, comme une extension du header.
     */
    header#headerPage.has-arrow::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 28px;
        background: #fff;
        pointer-events: none;
        z-index: -10;
    }
    /* Laisser la flèche dépasser sous la barre (sinon overflow:hidden la coupe) */
    header#headerPage.has-arrow,
    header#headerPage.has-arrow #headerHolder,
    header#headerPage.has-arrow #part1,
    header#headerPage.has-arrow #SearchBarHolder {
        overflow: visible !important;
    }
    /* Plus de doublon dans le flux (évite débordement gauche) */
    .locationHint-mobile-wrapper,
    .locationHint-mobile {
        display: none !important;
    }

    header#headerPage #inscription,header#headerPage #connection{
        padding: 10px 17px 10px 17px;
    }
     header#headerPage #inscription{
        border:0;
     }
    .scrollUp{
        top: -50px !important;
    }
    header#headerPage{
        height: auto !important;
        min-height: 0;
        overflow: clip;
        box-sizing: border-box;
        transition: 0.1s;
    }
    header#headerPage.has-arrow{
        height: auto !important;
    }
    header#headerPage .partie{
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    /* S'assurer que #part3 avec mobil-hidden est bien caché sur mobile */
    header#headerPage #part3.mobil-hidden {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
    }
    header#headerPage #headerHolder{
        flex-direction: column;
        align-items: stretch;
        gap: 11px;
        height: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 11px 16px 20px;
        box-sizing: border-box;
        overflow: hidden;
    }
    header#headerPage #headerHolder.has-arrow {
        padding: 11px 16px 20px;
    }
    /* /wiizer/ (profil) uniquement : retirer le padding-bottom */
    body.page-wiizer header#headerPage #headerHolder,
    body.page-wiizer header#headerPage #headerHolder.has-arrow {
        padding: 11px 16px 0;
    }
    header#headerPage #headerHolder > .header-logo-row{
        width: 100%;
    }
    header#headerPage #headerHolder .header-logo-row{
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0;
        min-height: 40px;
        box-sizing: border-box;
        gap: 16px;
    }
    /* IMPORTANT: `style-last.css` force `.pc-hidden { width:96% }` sur mobile.
       Dans le header, ça casse complètement la mise en page (le bloc d'actions prend presque toute la largeur). */
    header#headerPage #headerHolder .header-logo-row .pc-hidden{
        width: auto !important;
        max-width: none !important;
    }
    header#headerPage #headerHolder .header-logo-row .header-logo-row-actions{
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: clamp(8px, 2.5vw, 14px);
        flex-shrink: 1;
        min-width: 0;
        white-space: nowrap;
        flex-wrap: nowrap;
        width: auto !important;
        max-width: calc(100% - 80px);
    }
    header#headerPage #headerHolder .header-logo-row .header-logo-row-actions > *{
        flex-shrink: 0;
    }
    header#headerPage #headerHolder .header-logo-row .header-logo-link{
        line-height: 0;
        flex-shrink: 0;
    }
    header#headerPage #headerHolder .header-logo-row .header-menu-btn{
        width: 24px !important;
        max-width: 24px !important;
        display: flex !important;
        visibility: visible !important;
        flex-shrink: 0;
    }
    header#headerPage #headerHolder #logoKiwiiz{
        width: 72px;
        height: auto;
        max-height: 40px;
    }
    header#headerPage #headerHolder .header-logo-row #connectionMobile{
        display: flex !important;
        gap: 14px;
        margin-left: 0;
        justify-content: flex-end;
        flex-shrink: 0;
        white-space: nowrap;
        width: auto !important;
        max-width: none !important;
    }
    header#headerPage .header-logo-row #connectionMobile #inscription,
    header#headerPage .header-logo-row #connectionMobile #connection{
        font-size: clamp(11px, 3.1vw, 14px);
        display: inline-flex !important;
        align-items: center;
        flex-shrink: 0;
        padding: 10px clamp(10px, 2.4vw, 17px);
        white-space: nowrap;
    }
    header#headerPage .header-logo-row .header-logo-row-side{
        display: block !important;
        width: 32px !important;
        max-width: 32px !important;
        flex-shrink: 0;
    }
    /* header#headerPage div:has(> a #logoKiwiiz) > #connectionMobile #connection{
        color:#fff;
        background:#1D3253;
        border:0.5px solid #1D3253;
    } */

    header#headerPage #part1{
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-left: 0;
        box-sizing: border-box;
        display: block;
        overflow: hidden;
    }
    header#headerPage #SearchBarHolder,
    header#headerPage .SearchBarHolder,
    #SearchBarHolder{
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-bottom: 0;
        position: relative;
        z-index: 1;
        box-sizing: border-box;
        align-items: center;
        overflow: hidden;
        padding: 4px 4px 4px 12px;
        height: 48px;
    }
    header#headerPage #SearchBarHolder form,
    header#headerPage .SearchBarHolder form,
    #SearchBarHolder form{
        flex: 1 1 0;
        min-width: 0;
        width: 0;
        /* overflow:hidden clippait le caret ; clip horizontal via min-width:0 suffit */
        overflow: visible;
    }
    header#headerPage #SearchBarHolder form input,
    header#headerPage .SearchBarHolder form input,
    #SearchBarHolder form input{
        min-width: 0;
        height: 36px;
        min-height: 36px;
        line-height: 36px;
    }
    header#headerPage #SearchBarHolder form > div:not(:has(.js-resultat)),
    #SearchBarHolder form > div:not(:has(.js-resultat)){
        display: none !important;
    }
    header#headerPage #SearchBarHolder form img,
    header#headerPage .SearchBarHolder form img,
    #SearchBarHolder form img{
        margin: 0 8px;
        flex-shrink: 0;
    }
    header#headerPage #SearchBarHolder form .js-util-cp.currentlyDisplayed,
    header#headerPage #SearchBarHolder form #util_cp.currentlyDisplayed,
    header#headerPage .SearchBarHolder form .js-util-cp.currentlyDisplayed,
    #SearchBarHolder form .js-util-cp.currentlyDisplayed,
    #SearchBarHolder form #util_cp.currentlyDisplayed{
        min-width: 0 !important;
        max-width: 9.5em;
        flex: 1 1 0;
    }
    header#headerPage #SearchBarHolder form .js-search-text.currentlyDisplayed,
    header#headerPage #SearchBarHolder form #shownewmenu.currentlyDisplayed,
    #SearchBarHolder form .js-search-text.currentlyDisplayed,
    #SearchBarHolder form #shownewmenu.currentlyDisplayed{
        min-width: 0 !important;
        flex: 1 1 0;
    }
    header#headerPage #SearchBarHolder #rechercher,
    header#headerPage #SearchBarHolder .rechercher,
    header#headerPage .SearchBarHolder .rechercher,
    #SearchBarHolder #rechercher,
    #SearchBarHolder .rechercher{
        margin: 0;
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        flex-shrink: 0;
        margin-right: 5px;
    }
    /*
     * Battre #AllSite { padding-top: 95px !important } (règle desktop globale).
     * Header mobile ≈ 130px ; +air ; +flèche CP (~28px bande blanche).
     */
    #AllSite {
        padding-top: 140px !important;
    }
    #AllSite:has(header#headerPage.has-arrow),
    #AllSite.has-header-arrow {
        padding-top: 168px !important;
    }
    /*
     * Wall seul (body.page-wall) : sans bandeau DGCCRF.
     * Dès qu’il y a .has-dgccrf-banner, le padding est géré par dgccrf-banner
     * (CSS + inline JS) — ne pas empiler un second décalage wall.
     */
    html:not(.has-dgccrf-banner) body.page-wall #AllSite {
        padding-top: 120px !important;
    }
    html:not(.has-dgccrf-banner) body.page-wall #AllSite:has(header#headerPage.has-arrow),
    html:not(.has-dgccrf-banner) body.page-wall #AllSite.has-header-arrow {
        padding-top: 148px !important;
    }
    /* Pages sans barre de recherche dans le header (part1 mobil-hidden) */
    #AllSite:has(header#headerPage #part1.mobil-hidden):not(:has(#messagerie)) {
        padding-top: 72px;
    }
    /* Page profil (/wiizer/) : pas de header site (logo + hamburger) sur mobile */
    body.page-wiizer header#headerPage {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
    body.page-wiizer #AllSite {
        padding-top: env(safe-area-inset-top, 0px) !important;
    }
    
    /* Annuler le padding-top sur les pages messagerie sur mobile */
    #AllSite:has(.header-messagerie),
    #AllSite:has(#messagerie),
    #AllSite:has(#messagerie) {
        padding-top: 0 !important;
    }
    
    /* Masquer la barre de recherche sur mobile pour la page FAQ */
    body:has(#faq) header#headerPage #part1,
    body:has(#faq) header#headerPage #SearchBarHolder {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Masquer la barre de recherche et le bouton poster sur mobile pour la page messagerie */
    body:has(#messagerie) header#headerPage #part1,
    body:has(#messagerie) header#headerPage #SearchBarHolder,
    body:has(#messagerie) header#headerPage #postAnnonceHeader {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Pages menu hamburger : header compact (logo + actions), contenu juste en dessous */
    body:has(#faq) #AllSite,
    body.page-menu-static #AllSite {
        padding-top: 62px !important;
    }

    body.page-menu-static header#headerPage #part1,
    body.page-menu-static header#headerPage #SearchBarHolder {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.page-menu-static header#headerPage #headerHolder,
    body:has(#faq) header#headerPage #headerHolder {
        padding: 11px 16px;
        gap: 0;
    }

    .menu-page-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 16px;
        box-sizing: border-box;
    }

    /* Titres des pages du menu (même style que le titre FAQ) */
    body.page-menu-static .menu-page-content .menu-page-title,
    body.page-menu-static .menu-page-content h1 {
        color: #1D3253;
        font-family: Quicksand, sans-serif;
        font-size: 48px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        width: fit-content;
        max-width: 100%;
        margin: 0 auto 16px;
        text-align: center;
        position: relative;
        z-index: 1;
    }

    body.page-menu-static .menu-page-content .menu-page-title::before,
    body.page-menu-static .menu-page-content h1::before {
        content: "";
        display: block;
        position: relative;
        width: 175px;
        background: linear-gradient(to left, #2AFBA3, #26E1F3);
        height: 8px;
        left: 7px;
        top: 50px;
        z-index: -1;
    }

    @media screen and (max-width: 1024px) {
        body.page-menu-static .menu-page-content .menu-page-title,
        body.page-menu-static .menu-page-content h1 {
            font-size: 32px;
            width: 100%;
            margin: 0 auto 12px;
        }

        body.page-menu-static .menu-page-content .menu-page-title::before,
        body.page-menu-static .menu-page-content h1::before {
            display: none;
        }
    }

    body.page-connect #AllSite .page-connect-wrap {
        margin-top: 0 !important;
    }

    /* Landing : barre header masquée au scroll, réapparaît collée au header */
    body.page-landing header#headerPage #SearchBarHolder{
        max-width: 100%;
    }

    body.page-landing header#headerPage #part1 {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-4px);
        transition:
            max-height .45s cubic-bezier(.22, 1, .36, 1),
            opacity .35s cubic-bezier(.22, 1, .36, 1),
            margin .45s cubic-bezier(.22, 1, .36, 1),
            transform .45s cubic-bezier(.22, 1, .36, 1);
    }

    body.page-landing header#headerPage.landing-header-search-visible #part1 {
        max-height: 64px;
        opacity: 1;
        pointer-events: auto;
        margin-top: 11px;
        transform: translateY(0);
    }

    /* Sur mobile, l’animation porte sur #part1 : la barre interne reste opaque */
    body.page-landing header#headerPage #SearchBarHolder{
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        pointer-events: inherit;
    }

    /* Landing : battre la spécificité de #AllSite:has(...has-arrow) { 105px !important } */
    body.page-landing #AllSite,
    body.page-landing #AllSite:has(header#headerPage.has-arrow),
    body.page-landing #AllSite.has-header-arrow {
        /* Header compact landing ≈ logo 24 + paddings 11×2 (mesuré ~55px) — pas de bande blanche */
        padding-top: 55px !important;
        transition: padding-top .45s cubic-bezier(.22, 1, .36, 1);
    }

    body.page-landing #AllSite:has(header#headerPage.landing-header-search-visible),
    body.page-landing #AllSite:has(header#headerPage.has-arrow.landing-header-search-visible) {
        padding-top: 130px !important;
    }

    /* Home mobile : header compact (logo gauche, actions droite) */
    body.page-landing header#headerPage #headerHolder {
        padding: 11px 20px;
        gap: 0;
    }

    body.page-landing header#headerPage #headerHolder .header-logo-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 24px;
    }

    body.page-landing header#headerPage #headerHolder .header-logo-row .header-logo-link {
        grid-column: auto;
        justify-self: start;
        margin-right: auto;
    }

    body.page-landing header#headerPage #headerHolder #logoKiwiiz {
        width: 69px;
        max-height: 24px;
    }

    body.page-landing header#headerPage #headerHolder .header-logo-row-actions {
        display: flex !important;
        align-items: center;
        gap: 16px;
        margin-left: auto;
        flex-shrink: 0;
    }

    body.page-landing header#headerPage .header-logo-row #connectionMobile {
        display: flex !important;
        gap: 0;
        margin: 0;
    }

    body.page-landing header#headerPage .header-logo-row #connectionMobile #inscription {
        display: none !important;
    }

    body.page-landing header#headerPage .header-logo-row #connectionMobile #connection {
        padding: 8px 16px;
        border-radius: 12px;
        background: #1D3253;
        border: 1px solid #1D3253;
        color: #fff;
        font-family: 'Roboto', sans-serif;
        font-size: 14px;
        font-weight: 600;
        line-height: 21px;
        box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
        white-space: nowrap;
    }

    body.page-landing header#headerPage .header-logo-row .header-menu-btn {
        grid-column: auto;
        width: 24px !important;
        max-width: 24px !important;
    }

    body.page-landing header#headerPage .header-logo-row .header-logo-row-side {
        display: none !important;
    }
}