/* The homepage is an editorial property showcase with a guided search on demand. */
body.yf-premium-home .hero{min-height:0!important;padding:105px 0 62px!important;background:#fff!important;color:var(--encre)!important;overflow:visible!important}
body.yf-premium-home .hero .glow,body.yf-premium-home .hero:before,body.yf-premium-home .hero:after{display:none!important}
body.yf-premium-home .yf-focus-hero{max-width:1100px!important;align-items:stretch!important;text-align:left!important}
body.yf-premium-home .hero-inner{z-index:auto!important}
body.yf-premium-home .yf-home-publish-bar{order:3;justify-content:flex-start!important;margin:24px 0 0!important}
body.yf-premium-home .yf-home-publish-btn,body.yf-premium-home .yf-home-needs-btn{border-radius:12px!important;background:transparent!important;border:1px solid var(--trait)!important;color:var(--encre)!important;box-shadow:none!important;font-weight:600!important}
body.yf-premium-home .yf-home-publish-btn:hover,body.yf-premium-home .yf-home-needs-btn:hover{border-color:var(--marque)!important}
body.yf-premium-home .yf-value-prop{max-width:740px!important;margin:0!important;font-family:var(--titre)!important;font-size:clamp(39px,5.8vw,70px)!important;font-weight:700!important;line-height:1.08!important;letter-spacing:-.047em!important}
body.yf-premium-home .yf-value-prop span{display:block!important;color:var(--encre)!important;letter-spacing:inherit!important;font-weight:inherit!important}
body.yf-premium-home .yf-value-prop span:last-child{color:var(--marque)!important}
.yf-home-intro{max-width:620px;color:var(--encre-douce);font-size:17px;line-height:1.65;margin:19px 0 27px}
.yf-search-launch{width:min(590px,100%);min-height:68px;border:1px solid #d9e0e5;border-radius:17px;background:#fff;color:var(--encre);display:flex;align-items:center;gap:15px;padding:10px 11px 10px 20px;text-align:left;box-shadow:var(--ombre)!important;font-size:16px;font-weight:550;cursor:pointer}
.yf-search-launch:hover{border-color:var(--marque)}
.yf-search-launch .yf-search-launch-ico{color:var(--marque);font-size:22px}
.yf-search-launch .yf-search-launch-end{margin-left:auto;background:var(--encre);color:#fff;border-radius:11px;padding:11px 15px;font-size:13px;font-weight:650;white-space:nowrap}
.yf-search-entry{display:none!important}
.yf-search-entry.is-open{display:grid!important;place-items:center;position:fixed;inset:0;z-index:12000;background:rgba(10,27,41,.53);padding:30px 14px;overflow:auto}
.yf-search-entry.is-open .flow{width:min(800px,100%)!important;max-height:calc(100dvh - 100px);overflow:auto;border:0!important;border-radius:22px!important;background:#fff!important;color:var(--encre)!important;box-shadow:var(--ombre-haute)!important;margin:auto!important;padding:30px!important}
.yf-search-entry.is-open .microtrust{display:none!important}
.yf-search-close{position:fixed;top:max(18px,env(safe-area-inset-top));right:max(18px,calc((100vw - 840px)/2));z-index:12001;border:0;background:#fff;border-radius:50%;width:43px;height:43px;color:var(--encre);font-size:27px;line-height:1;box-shadow:var(--ombre)!important;cursor:pointer}
body.yf-search-open{overflow:hidden!important}
.yf-home-showcase{width:min(1240px,calc(100% - 40px));margin:0 auto;padding-bottom:70px}
.yf-showcase-section{margin-bottom:55px}
.yf-showcase-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}
.yf-showcase-heading h2{font-size:clamp(22px,2.5vw,29px)!important;margin:0!important;font-weight:700!important;color:var(--encre)!important}
.yf-showcase-heading p{color:var(--encre-douce);font-size:14px;margin:6px 0 0}
.yf-showcase-all,.yf-showcase-more{color:var(--encre);font-weight:650;text-decoration:none;white-space:nowrap;font-size:13px}
.yf-showcase-all span{display:inline-grid;place-items:center;width:30px;height:30px;margin-left:5px;border-radius:50%;background:#f2f4f6;font-size:19px}
.yf-showcase-tabs{display:flex;gap:23px;overflow:auto;scrollbar-width:none;margin-bottom:18px;border-bottom:1px solid var(--trait)}
.yf-showcase-tabs::-webkit-scrollbar,.yf-showcase-track::-webkit-scrollbar{display:none}
.yf-showcase-tabs button{flex:none;padding:0 0 12px;border:0;border-bottom:2px solid transparent;background:none;color:var(--encre-douce);font-size:13px;font-weight:550;white-space:nowrap;cursor:pointer}
.yf-showcase-tabs button[aria-selected="true"]{color:var(--encre);border-color:var(--encre);font-weight:700}
.yf-showcase-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:18px;scrollbar-width:none;padding-bottom:4px}
.yf-showcase-card{width:clamp(210px,23vw,275px);flex:none;scroll-snap-align:start;color:var(--encre);text-decoration:none;display:flex;flex-direction:column;gap:3px}
.yf-showcase-image{aspect-ratio:1.06;overflow:hidden;background:#f2f4f6;border-radius:16px;margin-bottom:10px}
.yf-showcase-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.yf-showcase-card:hover img{transform:scale(1.035)}
.yf-showcase-card b{font-size:15px;line-height:1.35;font-weight:650;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.yf-showcase-card span{color:var(--encre-douce);font-size:13px}
.yf-showcase-card strong{font-size:15px;margin-top:3px;font-weight:700}
.yf-showcase-empty{color:var(--encre-douce);padding:26px 0}
#yfHomeMatches{padding:20px 0 35px;scroll-margin-top:95px}
#yfHomeMatches[hidden]{display:none!important}
.yf-showcase-refine{border:1px solid var(--trait);background:#fff;border-radius:11px;padding:11px 15px;font-weight:600;cursor:pointer}
.yf-home-story{border-top:1px solid var(--trait);padding:64px 0;display:grid;grid-template-columns:1fr 1.3fr;gap:65px}
.yf-home-story h2{font-size:clamp(28px,3vw,40px);line-height:1.18;margin:0}
.yf-home-story p{color:var(--encre-douce);line-height:1.7;margin:0 0 15px}
.yf-home-story a{text-decoration:underline;text-underline-offset:4px;font-weight:650}
.yf-home-footer{border-top:1px solid var(--trait);background:#f7f8f9;color:var(--encre);padding:56px max(20px,calc((100vw - 1240px)/2)) 110px}
.yf-home-footer-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.yf-home-footer h3{font-size:14px;margin:0 0 17px}
.yf-home-footer a{display:block;color:var(--encre-douce);font-size:13px;margin-bottom:13px;text-decoration:none}
.yf-home-footer a:hover{text-decoration:underline}
.yf-home-footer-bottom{margin-top:35px;padding-top:20px;border-top:1px solid var(--trait);font-size:12px;color:var(--encre-douce)}
@media(max-width:760px){body.yf-premium-home .hero{padding:95px 0 35px!important}body.yf-premium-home .yf-focus-hero{width:calc(100% - 36px)!important}body.yf-premium-home .yf-value-prop{font-size:clamp(34px,9vw,47px)!important}.yf-home-intro{font-size:14px;margin:15px 0 24px}.yf-search-launch{min-height:62px;font-size:14px}.yf-search-launch .yf-search-launch-end{display:none}.yf-home-showcase{width:calc(100% - 32px)}.yf-showcase-section{margin-bottom:43px}.yf-showcase-heading h2{font-size:21px!important}.yf-showcase-card{width:calc((100vw - 58px)/2);min-width:150px}.yf-showcase-track{gap:13px;margin-right:-16px}.yf-showcase-image{border-radius:15px}.yf-showcase-card b,.yf-showcase-card strong{font-size:13px}.yf-showcase-card span{font-size:12px}.yf-showcase-tabs{gap:19px}.yf-search-entry.is-open{padding:0;align-items:stretch}.yf-search-entry.is-open .flow{max-height:none;height:100dvh;width:100%!important;border-radius:0!important;padding:80px 16px 100px!important;box-shadow:none!important}.yf-search-close{top:16px;right:16px}.yf-home-story{display:block;padding:42px 0}.yf-home-story h2{margin-bottom:17px}.yf-home-footer{padding:42px 20px 110px}.yf-home-footer-columns{grid-template-columns:1fr 1fr;gap:25px 14px}}

/* Editorial listing shelves: the photographs carry the section. */
body:has(#yfShowcaseSections) main{background:#fff!important;color:var(--encre)!important}
body:has(#yfShowcaseSections) .hero{min-height:0!important;padding:30px 0 45px!important;background:#fff!important;color:var(--encre)!important}
body:has(#yfShowcaseSections) .yf-home-showcase{position:relative;background:#fff!important;color:var(--encre)!important;padding-top:20px}
body:has(#yfShowcaseSections) .yf-showcase-section{background:#fff!important;max-width:100%;margin:0 0 50px!important;padding:0!important;border:0!important}
body:has(#yfShowcaseSections) .yf-showcase-heading{align-items:center;margin-bottom:12px}
body:has(#yfShowcaseSections) .yf-showcase-heading h2{color:var(--encre)!important;line-height:1.25!important}
body:has(#yfShowcaseSections) .yf-showcase-tabs{gap:19px;margin-bottom:16px!important}
body:has(#yfShowcaseSections) .yf-showcase-tabs button{color:var(--encre-douce)!important}
body:has(#yfShowcaseSections) .yf-showcase-tabs button[aria-selected="true"]{color:var(--encre)!important;border-color:var(--marque)!important}
body:has(#yfShowcaseSections) .yf-showcase-track{padding:0 0 4px!important;gap:17px!important;overflow-x:auto!important}
body:has(#yfShowcaseSections) .yf-showcase-card{width:clamp(225px,24vw,296px)!important;gap:4px!important;color:var(--encre)!important}
body:has(#yfShowcaseSections) .yf-showcase-image{aspect-ratio:1.06!important;border-radius:17px!important;margin:0 0 8px!important;background:#f2f4f6!important}
body:has(#yfShowcaseSections) .yf-showcase-image img{width:100%!important;height:100%!important;object-fit:cover!important}
body:has(#yfShowcaseSections) .yf-showcase-card b{color:var(--encre)!important;font-size:15px!important}
body:has(#yfShowcaseSections) .yf-showcase-card span{color:var(--encre-douce)!important}
body:has(#yfShowcaseSections) .yf-showcase-card strong{font-size:15px!important;color:var(--encre)!important}
@media(max-width:760px){body:has(#yfShowcaseSections) .hero{padding:20px 0 32px!important}body:has(#yfShowcaseSections) .yf-showcase-section{margin-bottom:37px!important}body:has(#yfShowcaseSections) .yf-showcase-card{width:calc((100vw - 57px)/2)!important;min-width:158px!important}body:has(#yfShowcaseSections) .yf-showcase-track{gap:12px!important}body:has(#yfShowcaseSections) .yf-showcase-image{border-radius:15px!important}body:has(#yfShowcaseSections) .yf-showcase-card b,body:has(#yfShowcaseSections) .yf-showcase-card strong{font-size:13px!important}}

.yf-city-nav{display:flex;gap:15px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin-bottom:28px;padding:4px 0 12px}
.yf-city-nav::-webkit-scrollbar{display:none}
.yf-city-nav button{flex:0 0 clamp(190px,25vw,290px);position:relative;overflow:hidden;aspect-ratio:1.7;border:0;border-radius:15px;background:#f2f4f6;color:#fff;text-align:left;scroll-snap-align:start;cursor:pointer;padding:0}
.yf-city-nav button img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.yf-city-nav button:hover img{transform:scale(1.04)}
.yf-city-nav button:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#071727b8)}
.yf-city-nav button span{position:absolute;bottom:15px;left:17px;right:12px;z-index:1;font-size:17px;font-weight:700;line-height:1.2;text-shadow:0 1px 8px #0008}
.yf-city-nav button[aria-selected="true"]{outline:3px solid var(--marque);outline-offset:2px}
.yf-showcase-card b,.yf-showcase-card span,.yf-showcase-card strong{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.35!important;-webkit-line-clamp:unset!important}
.yf-showcase-card strong{margin-top:4px!important}
@media(max-width:760px){.yf-city-nav{gap:12px;margin-bottom:24px}.yf-city-nav button{flex-basis:clamp(165px,54vw,235px)}.yf-city-nav button span{font-size:15px}}
body.yf-premium-home #yfShowcaseSections .yf-showcase-tabs button,
body:has(#yfShowcaseSections) #yfShowcaseSections .yf-showcase-tabs button[role="tab"]{background:transparent!important;background-image:none!important;color:var(--encre-douce)!important;border:0!important;border-bottom:2px solid transparent!important;box-shadow:none!important;border-radius:0!important;padding:0 0 12px!important}
body.yf-premium-home #yfShowcaseSections .yf-showcase-tabs button[aria-selected="true"],
body:has(#yfShowcaseSections) #yfShowcaseSections .yf-showcase-tabs button[aria-selected="true"]{background:transparent!important;background-image:none!important;color:var(--encre)!important;border-bottom-color:var(--marque)!important;box-shadow:none!important}

/* V2.013 — Accueil client.
   Fond doux #edf3f7 : le même que la page Réservations sous « Demandes →
   Expirées » (rail des sous-onglets). Il habille le haut de page, du titre
   jusqu'aux boutons « Publier un bien » / « Mes besoins », et toute la
   section « Une recherche immobilière plus claire ». */
html body:has(#yfShowcaseSections) .hero,html body.yf-premium-home .hero{background:#edf3f7!important;border-radius:0 0 28px 28px!important;padding-bottom:30px!important}
html body:has(#yfShowcaseSections) .yf-home-showcase{padding-top:26px!important}
html body:has(#yfShowcaseSections) .yf-home-story{background:#edf3f7!important;border:0!important;border-radius:28px!important;padding:40px 28px!important;margin:10px 0 40px!important}
@media(max-width:760px){html body:has(#yfShowcaseSections) .yf-home-story{padding:30px 20px!important;gap:18px!important}}

/* Biens par ville et par commune : chaque commune devient une carte à
   part entière, fond doux dans les tons de la marque. */
html body:has(#yfShowcaseSections) .yf-showcase-section{background:linear-gradient(160deg,#f6fbfe 0%,#eaf4fa 100%)!important;border:1px solid #dcebf4!important;border-radius:24px!important;padding:18px 16px 20px!important;margin:0 0 22px!important;overflow:hidden}
html body:has(#yfShowcaseSections) .yf-showcase-section .yf-showcase-track{margin-right:0!important}
@media(max-width:760px){html body:has(#yfShowcaseSections) .yf-showcase-section{padding:16px 13px 18px!important;margin-bottom:18px!important}html body:has(#yfShowcaseSections) .yf-showcase-card{width:calc((100vw - 72px)/2)!important;min-width:140px!important}}

/* Images plus arrondies. */
html body:has(#yfShowcaseSections) .yf-showcase-image{border-radius:22px!important}
.yf-city-nav button{border-radius:22px!important}

/* Le slogan du pied de page, centré. */
.yf-home-footer-bottom{text-align:center!important}
html body:has(#yfShowcaseSections) .hero .yf-home-publish-btn,html body:has(#yfShowcaseSections) .hero .yf-home-needs-btn{background:#fff!important}

/* V2.014 — carte postale de la commune : une grande photo, deux petites. */
.yf-commune-collage{position:relative;display:grid;grid-template-columns:1.6fr 1fr;grid-template-rows:1fr 1fr;gap:4px;height:188px;margin:2px 0 16px;border-radius:20px;overflow:hidden;text-decoration:none;color:#fff;isolation:isolate}
.yf-collage-cell{position:relative;overflow:hidden;background:#dfe9f1}
.yf-collage-cell img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.yf-commune-collage:hover .yf-collage-cell img{transform:scale(1.04)}
.yf-collage-cell-1{grid-row:1/3}
.yf-collage-1{grid-template-columns:1fr}.yf-collage-1 .yf-collage-cell-1{grid-row:1/3}
.yf-collage-2 .yf-collage-cell-2{grid-row:1/3}
.yf-collage-legende{position:absolute;left:0;bottom:0;width:62%;padding:30px 14px 12px;background:linear-gradient(transparent,rgba(3,27,58,.78));display:grid;gap:2px;z-index:1}
.yf-collage-1 .yf-collage-legende{width:100%}
.yf-collage-legende b{font:700 19px/1.15 var(--texte,Manrope),sans-serif;letter-spacing:-.01em}
.yf-collage-legende small{font:600 12px/1.3 var(--texte,Manrope),sans-serif;opacity:.92}
@media(min-width:761px){.yf-commune-collage{height:260px}}
.yf-city-nav button span small.yf-city-nb{display:block;font-size:12px;font-weight:600;opacity:.9;margin-top:3px}

/* V2.015 — l'anneau bleu de la ville choisie n'est plus rogné à gauche :
   la rangée garde une marge intérieure égale à l'anneau. */
.yf-city-nav{padding:6px 6px 12px!important;margin-left:-6px!important;margin-right:-6px!important;scroll-padding-left:6px}
.yf-city-nav button[aria-selected="true"]{outline:0!important;box-shadow:0 0 0 2px #fff,0 0 0 5px var(--marque)!important}

/* V2.015 — l'assistant de recherche s'ouvre comme « Publier un bien » :
   l'en-tête et le menu du bas restent visibles, un bouton « Retour » en
   haut à gauche, le questionnaire dans une carte sur fond blanc. */
html body .yf-search-entry.is-open{inset:72px 0 calc(69px + env(safe-area-inset-bottom,0px)) 0!important;z-index:9000!important;background:#fff!important;display:block!important;padding:0!important;overflow-y:auto!important}
html body .yf-search-entry.is-open .flow{height:auto!important;max-height:none!important;width:min(800px,calc(100% - 32px))!important;margin:0 auto 24px!important;padding:18px 16px!important;border:1px solid #e3e9ef!important;border-radius:var(--r-carte,18px)!important;box-shadow:var(--ombre)!important}
html body .yf-search-entry.is-open .yf-search-close{position:sticky!important;top:0!important;right:auto!important;left:auto!important;display:inline-flex!important;align-items:center;gap:8px;width:auto!important;height:40px!important;margin:14px 16px 12px!important;padding:0 14px 0 38px!important;border:1px solid #e3e9ef!important;border-radius:12px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102334' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5'/%3E%3Cpath d='m12 19-7-7 7-7'/%3E%3C/svg%3E") no-repeat 12px center/18px!important;box-shadow:none!important;color:var(--encre)!important;font-size:0!important;z-index:2!important}
html body .yf-search-entry.is-open .yf-search-close::after{content:"Retour";font:700 14px var(--texte,Manrope),sans-serif}
@media(min-width:1024px){html body .yf-search-entry.is-open{bottom:0!important}}

/* =====================================================================
   V2.017 — hero visuel : la Côte d'Ivoire en images derrière « Le bon
   bien. Au bon endroit. ». Un voile sombre dégradé garde le texte lisible
   sur n'importe quelle photo ; la recherche reste une carte blanche.
   ===================================================================== */
html body .hero.yf-hero-visuel{position:relative!important;isolation:isolate;overflow:hidden!important;background:#0e3a55!important;border-radius:0 0 28px 28px!important;padding-top:34px!important;padding-bottom:34px!important;min-height:min(640px,86svh)}
.yf-hero-photos{position:absolute;inset:0;z-index:-1;background:linear-gradient(150deg,#0B86AE,#1F5FA6)}
.yf-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.4s ease;transform:scale(1.04)}
.yf-hero-photo.est-visible{opacity:1;animation:yfHeroZoom 12s ease-out both}
@keyframes yfHeroZoom{from{transform:scale(1.08)}to{transform:scale(1.02)}}
.yf-hero-photos::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,27,58,.62) 0%,rgba(3,27,58,.38) 42%,rgba(3,27,58,.72) 100%)}
.yf-hero-legende{position:absolute;right:16px;bottom:12px;z-index:1;font:600 11.5px var(--texte,Manrope),sans-serif;color:rgba(255,255,255,.85);text-shadow:0 1px 4px rgba(0,0,0,.4)}
html body .hero.yf-hero-visuel .glow{display:none!important}
html body .hero.yf-hero-visuel .yf-value-prop span{color:#fff!important;text-shadow:0 2px 18px rgba(0,0,0,.25)}
html body .hero.yf-hero-visuel .yf-value-prop span:nth-child(2){color:#8fd8ff!important}
html body .hero.yf-hero-visuel .yf-home-intro{text-align:center!important;margin-bottom:0!important;color:rgba(255,255,255,.92)!important;font-weight:500!important;text-shadow:0 1px 10px rgba(0,0,0,.25)}
.yf-hero-atouts{list-style:none;margin:20px 0 22px;padding:0;display:grid;gap:10px}
.yf-hero-atouts li{display:grid;gap:1px;padding:0 0 0 14px;border-left:2px solid #8fd8ff;color:#fff}
.yf-hero-atouts b{font:700 14.5px/1.3 var(--texte,Manrope),sans-serif}
.yf-hero-atouts span{font:500 13px/1.4 var(--texte,Manrope),sans-serif;color:rgba(255,255,255,.82)}
@media(min-width:761px){.yf-hero-atouts{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}
html body:has(#yfShowcaseSections) .hero.yf-hero-visuel .yf-home-publish-btn,html body:has(#yfShowcaseSections) .hero.yf-hero-visuel .yf-home-needs-btn,html body .hero.yf-hero-visuel .yf-home-publish-btn,html body .hero.yf-hero-visuel .yf-home-needs-btn{background:rgba(255,255,255,.14)!important;border-color:rgba(255,255,255,.4)!important;color:#fff!important;backdrop-filter:blur(6px)}
html body .hero.yf-hero-visuel .yf-home-publish-btn *,html body .hero.yf-hero-visuel .yf-home-needs-btn *{color:#fff!important}
@media(prefers-reduced-motion:reduce){.yf-hero-photo{transition:none}.yf-hero-photo.est-visible{animation:none}}

/* V2.018 — l'assistant de recherche occupe toute la page : rien de
   l'accueil ne dépasse dessous, on ne défile que dans l'assistant. */
html body.yf-search-open{overflow:hidden!important}
html body.yf-search-open .yf-search-entry.is-open{position:fixed!important;top:72px!important;bottom:calc(69px + env(safe-area-inset-bottom,0px))!important;left:0!important;right:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
html body.yf-search-open main>*:not(.hero){visibility:hidden!important}
html body.yf-search-open .hero>*:not(.wrap){visibility:hidden}
.yf-home-story-lien{border:0;background:none;padding:0;color:inherit;font:inherit;font-weight:650;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
/* V2.018 — légende et crédit de la photo (licences Commons). */
.yf-hero-legende{display:grid;justify-items:end;gap:1px;text-align:right}
.yf-hero-legende a{color:rgba(255,255,255,.72);font-size:10px;font-weight:500;text-decoration:underline;text-underline-offset:2px}
.yf-hero-legende a[hidden]{display:none}
.yf-hero-photo{object-position:center 35%}
/* V2.023 — le bas du hero reste droit (pas d'arrondi). */
html body .hero.yf-hero-visuel{border-radius:0!important}

/* V2.024 — « Mes besoins » aligné sur le bord droit de la barre de
   recherche : les deux boutons occupent exactement sa largeur. */
html body .hero.yf-hero-visuel .yf-home-publish-bar{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
html body .hero.yf-hero-visuel .yf-home-publish-bar>a,html body .hero.yf-hero-visuel .yf-home-publish-bar>button{width:100%!important;justify-content:center!important;margin:0!important;box-sizing:border-box}
/* V2.024 — accès au tutoriel animé depuis le hero. */
.yf-hero-tuto{display:inline-flex;align-items:center;gap:9px;margin:0 0 18px;padding:9px 16px 9px 10px;border:1px solid rgba(255,255,255,.4);border-radius:999px;background:rgba(255,255,255,.14);backdrop-filter:blur(6px);color:#fff;font:700 14px var(--texte,Manrope),sans-serif;cursor:pointer}
.yf-hero-tuto>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff;color:#0B86AE;font-size:11px;padding-left:2px;box-sizing:border-box}
.yf-hero-tuto small{font-weight:500;opacity:.8;font-size:12px}
/* V2.026 — « Comment ça marche ? » juste sous le texte d'accroche, compact et centré. */
html body .hero.yf-hero-visuel .yf-hero-tuto{display:flex;margin:14px auto 4px;width:max-content;padding:7px 14px 7px 8px;font-size:13.5px;gap:8px}
html body .hero.yf-hero-visuel .yf-hero-tuto>span{width:24px;height:24px;font-size:10px}

/* =====================================================================
   V2.033 — VITRINE COMPLÈTE : squelette, catégories vides, villes sans photo
   ===================================================================== */
.yf-city-content{scroll-margin-top:84px}
/* Squelette de chargement : on voit que quelque chose arrive. */
@keyframes yfReflet{0%{background-position:-400px 0}100%{background-position:400px 0}}
.yf-squelette span,.yf-squelette i,.yf-squelette b{display:block;border-radius:var(--r-petit,10px);background:linear-gradient(90deg,#eef2f6 0px,#f8fafc 120px,#eef2f6 240px);background-size:800px 100%;animation:yfReflet 1.3s linear infinite}
.yf-sq-villes{display:flex;gap:12px;overflow:hidden;margin-bottom:22px}
.yf-sq-villes span{flex:none;width:220px;height:130px;border-radius:var(--r-carte,18px)}
.yf-sq-section{padding:18px;border:1px solid #edf1f5;border-radius:var(--r-carte,18px);margin-bottom:18px;background:#fff}
.yf-sq-titre{width:46%;height:22px;margin-bottom:14px}
.yf-sq-onglets{display:flex;gap:8px;margin-bottom:16px}.yf-sq-onglets span{width:110px;height:34px;border-radius:999px}
.yf-sq-cartes{display:flex;gap:12px;overflow:hidden}
.yf-sq-cartes>span{flex:none;width:230px;background:none!important;animation:none!important}
.yf-sq-cartes i{height:150px;margin-bottom:10px;border-radius:14px}.yf-sq-cartes b{height:12px;margin-bottom:8px}.yf-sq-cartes b+b{width:60%}
.yf-sq-texte{margin:6px 0 0;text-align:center;font-size:14px;color:#6a7a8a}
@media(prefers-reduced-motion:reduce){.yf-squelette span,.yf-squelette i,.yf-squelette b{animation:none}}
/* Onglets : une icône par catégorie ; les vides restent lisibles, plus légers. */
.yf-showcase-tabs button i{margin-right:4px;opacity:.8}
.yf-showcase-tabs button.est-vide{opacity:.72}
.yf-showcase-sous{margin:4px 0 0;font-size:14px;color:#6a7a8a}
/* Catégorie sans annonce : un panneau qui donne envie, pas un trou. */
.yf-showcase-track.est-vide{display:block}
.yf-vide-cat{position:relative;overflow:hidden;display:grid;justify-items:center;gap:10px;text-align:center;padding:30px 22px;border-radius:var(--r-carte,18px);
  background:radial-gradient(120% 140% at 0% 0%,#e6f4fa 0%,#f4f8fb 45%,#fff 100%);border:1px solid #e3edf3}
.yf-vide-cat::after{content:"";position:absolute;right:-60px;bottom:-60px;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,rgba(11,134,174,.12),transparent 70%)}
.yf-vide-icone{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:#fff;color:#0B86AE;font-size:26px;box-shadow:var(--ombre)}
.yf-vide-cat b{font-size:18px;color:#102334;line-height:1.3}
.yf-vide-cat p{margin:0;max-width:440px;font-size:15px;line-height:1.5;color:#5b6b7b}
.yf-vide-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:6px;position:relative;z-index:1}
.yf-vide-principal{border:0;border-radius:var(--r-petit,10px);padding:12px 18px;background:#102334;color:#fff;font:600 15px var(--texte,Manrope),sans-serif;cursor:pointer}
.yf-vide-secondaire{border-radius:var(--r-petit,10px);padding:11px 16px;border:1px solid #d5dee6;background:#fff;color:#102334;font:600 15px var(--texte,Manrope),sans-serif;text-decoration:none}
/* Ville sans photo : un visuel aux couleurs de Yafoye. */
.yf-city-nav button.yf-ville-sans-photo{background:radial-gradient(120% 120% at 20% 10%,#1d5d94 0%,#0d2f55 55%,#061a33 100%)}
.yf-city-nav button.yf-ville-sans-photo>i{position:absolute;right:16px;top:14px;font-size:30px;color:rgba(255,255,255,.22)}
/* V2.034 — bandeau photo d'une commune sans annonce. */
.yf-commune-banniere{position:relative;overflow:hidden;border-radius:var(--r-carte,18px);aspect-ratio:2.6;margin:4px 0 14px;background:#0d2f55}
.yf-commune-banniere img{width:100%;height:100%;object-fit:cover;display:block}
.yf-commune-banniere span{position:absolute;inset:auto 0 0 0;padding:40px 18px 14px;background:linear-gradient(transparent,rgba(4,19,37,.78));color:#fff}
.yf-commune-banniere b{display:block;font-size:20px}.yf-commune-banniere small{font-size:14px;opacity:.85}
@media(max-width:760px){.yf-commune-banniere{aspect-ratio:1.9}}
/* V2.035 — carte « Tout afficher » (modèle Airbnb). */
.yf-tout-afficher{flex:0 0 clamp(200px,40vw,260px);display:grid;place-items:center;align-content:center;gap:18px;min-height:280px;border:1px solid #e6ecf1;border-radius:var(--r-carte,18px);background:#fff;color:#102334;text-decoration:none;scroll-snap-align:start}
.yf-tout-afficher b{font-size:17px}
.yf-eventail{position:relative;width:170px;height:130px}
.yf-eventail img{position:absolute;width:104px;height:104px;object-fit:cover;border-radius:12px;border:3px solid #fff;box-shadow:var(--ombre)}
.yf-ev-1{left:0;top:22px;transform:rotate(-8deg);z-index:2}
.yf-ev-2{left:34px;top:0;transform:rotate(2deg);z-index:1}
.yf-ev-3{left:62px;top:24px;transform:rotate(9deg);z-index:3}
.yf-tout-afficher:hover .yf-ev-1{transform:rotate(-12deg) translateX(-4px)}.yf-tout-afficher:hover .yf-ev-3{transform:rotate(13deg) translateX(4px)}
.yf-eventail img{transition:transform .25s ease}
/* V2.036 — tuile « Toutes les villes » et sélecteur premium. */
.yf-city-nav .yf-toutes-villes{display:grid;place-items:center;align-content:center;gap:12px;background:#fff;color:#102334;border:1px solid #e6ecf1}
.yf-city-nav .yf-toutes-villes b{font-size:15px}
.yf-city-nav .yf-toutes-villes .yf-eventail{width:150px;height:96px}
.yf-city-nav .yf-toutes-villes .yf-eventail img{width:82px;height:82px}
.yf-city-nav .yf-toutes-villes .yf-ev-1{top:12px}.yf-city-nav .yf-toutes-villes .yf-ev-2{left:30px}.yf-city-nav .yf-toutes-villes .yf-ev-3{left:58px;top:14px}
.yf-villes-fond{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:end center;background:rgba(4,19,37,.5);backdrop-filter:blur(3px)}
.yf-villes{width:min(640px,100%);max-height:86dvh;display:flex;flex-direction:column;background:#fff;border-radius:var(--r-carte,18px) var(--r-carte,18px) 0 0;padding:18px 18px calc(env(safe-area-inset-bottom,0px) + 18px);box-shadow:var(--ombre-haute)}
@media(min-width:760px){.yf-villes-fond{place-items:center}.yf-villes{border-radius:var(--r-carte,18px)}}
.yf-villes-tete{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.yf-villes-tete h2{margin:0;font-size:20px;color:#102334}
.yf-villes-x{width:40px;height:40px;border-radius:50%;border:1px solid #e3e9ef;background:#fff;font-size:22px;line-height:1;cursor:pointer;color:#102334}
.yf-villes-cherche{display:flex;align-items:center;gap:10px;padding:0 14px;min-height:48px;border:1px solid #dfe6ec;border-radius:var(--r-petit,10px);margin-bottom:14px;color:#6a7a8a}
.yf-villes-cherche input{flex:1;border:0;outline:0;font:500 16px var(--texte,Manrope),sans-serif;color:#102334;background:transparent}
.yf-villes-liste{overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;padding-bottom:4px}
.yf-villes-liste button{display:grid;gap:2px;text-align:left;padding:12px 14px;border:1px solid #e6ecf1;border-radius:var(--r-petit,10px);background:#fff;cursor:pointer;font:inherit;color:#102334}
.yf-villes-liste button:hover{border-color:#0B86AE;background:#f3fafd}
.yf-villes-liste b{font-size:15px}.yf-villes-liste small{font-size:13px;color:#6a7a8a}
.yf-villes-vide{grid-column:1/-1;text-align:center;color:#6a7a8a}
/* V2.038 — « Toutes les villes » : le titre était caché. Les règles des tuiles
   photo (span en bas, image plein cadre, voile sombre) s'appliquaient aussi à
   l'éventail ; on les neutralise ici. */
.yf-city-nav button.yf-toutes-villes:after{display:none}
.yf-city-nav button.yf-toutes-villes .yf-eventail{position:relative;inset:auto;bottom:auto;left:auto;right:auto;z-index:0;text-shadow:none;display:block}
.yf-city-nav button.yf-toutes-villes .yf-eventail img{position:absolute;width:82px;height:82px;object-fit:cover;border-radius:12px;border:3px solid #fff;box-shadow:var(--ombre)}
.yf-city-nav button.yf-toutes-villes:hover .yf-eventail img{transform:none}
.yf-city-nav button.yf-toutes-villes .yf-ev-1{transform:rotate(-8deg)}.yf-city-nav button.yf-toutes-villes .yf-ev-3{transform:rotate(9deg)}
.yf-city-nav button.yf-toutes-villes b{position:relative;z-index:1;color:#102334;font-size:15px;text-shadow:none}
/* V2.040 — « Et si les professionnels venaient vers vous ? » : deux photos
   libres de droits (Pexels) en fond, qui se succèdent — l'attente
   inquiète, puis la proposition qui arrive. Voile sombre pour la lecture. */
.yf-home-story{position:relative;overflow:hidden;isolation:isolate;color:#fff}
.yf-story-fonds{position:absolute;inset:0;z-index:-1;background:#0d2f55}
.yf-story-fonds img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%}
.yf-story-fonds img:last-child{animation:yfStoryFondu 10s ease-in-out infinite}
.yf-story-fonds::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,19,37,.35) 0%,rgba(4,19,37,.72) 55%,rgba(4,19,37,.88) 100%)}
@keyframes yfStoryFondu{0%,40%{opacity:0}50%,90%{opacity:1}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.yf-story-fonds img:last-child{animation:none;opacity:1}}
.yf-home-story h2,.yf-home-story p{color:#fff!important;position:relative}
.yf-home-story p{color:rgba(255,255,255,.88)!important}
/* V2.040 — l'appel aux pros dans une catégorie vide, avec son argument. */
.yf-vide-pro{position:relative;z-index:1;display:grid;justify-items:center;gap:10px;margin-top:8px;padding-top:16px;border-top:1px solid #e3edf3;max-width:460px}
.yf-vide-pro p{margin:0;font-size:14.5px;line-height:1.5;color:#44566a}
/* Sélecteur des villes : pas de cadre bleu sur le champ de recherche. */
.yf-villes-cherche input,.yf-villes-cherche input:focus,.yf-villes-cherche input:focus-visible{outline:none!important;box-shadow:none!important;border:0!important}
.yf-villes-cherche:focus-within{border-color:#0B86AE}
/* V2.042 — section pas encore construite (rendu à la demande). */
.yf-section-attente{min-height:420px;margin:0 0 18px;padding:18px;border-radius:var(--r-carte,18px);background:#f6f9fb}

/* =====================================================================
   V2.052 — CARROUSELS « COMME LES PHOTOS PEXELS »
   Deux grandes cartes, la troisième qui dépasse en étroit : on comprend
   tout de suite qu'il y a une suite. Cartes hautes, très arrondies,
   défilement magnétique, étiquette en verre posée sur la photo.
   ===================================================================== */
html body .yf-city-nav,
html body:has(#yfShowcaseSections) .yf-showcase-section .yf-showcase-track{
  --yf-car-gap:12px;--yf-car-peek:46px;
  display:flex!important;gap:var(--yf-car-gap)!important;overflow-x:auto!important;
  scroll-snap-type:x mandatory!important;scroll-padding-left:0;overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:8px!important
}
html body .yf-city-nav::-webkit-scrollbar,
html body:has(#yfShowcaseSections) .yf-showcase-section .yf-showcase-track::-webkit-scrollbar{display:none}

/* Tuiles des villes */
html body .yf-city-nav button{
  flex:0 0 calc((100% - var(--yf-car-gap)*2 - var(--yf-car-peek))/2)!important;
  aspect-ratio:3/4!important;border-radius:28px!important;scroll-snap-align:start;scroll-snap-stop:always;
  transition:transform .35s cubic-bezier(.2,.8,.2,1)
}
html body .yf-city-nav button:active{transform:scale(.97)}
html body .yf-city-nav button:after{inset:45% 0 0!important;background:linear-gradient(transparent,rgba(5,18,32,.55))!important}
html body .yf-city-nav button span{
  left:12px!important;right:auto!important;bottom:12px!important;max-width:calc(100% - 24px);
  padding:9px 14px!important;border-radius:999px;background:rgba(10,22,36,.42);
  -webkit-backdrop-filter:blur(12px) saturate(140%);backdrop-filter:blur(12px) saturate(140%);
  border:1px solid rgba(255,255,255,.22);font-size:14px!important;line-height:1.25!important;text-shadow:none!important
}
html body .yf-city-nav button span .yf-city-nb{font-size:12px!important;margin-top:2px!important}
html body .yf-city-nav button[aria-selected="true"]{outline:3px solid #fff!important;outline-offset:-3px!important}
html body .yf-city-nav .yf-toutes-villes{border-radius:28px!important}

/* Cartes des biens par catégorie */
html body:has(#yfShowcaseSections) .yf-showcase-section .yf-showcase-track .yf-showcase-card{
  width:auto!important;min-width:0!important;
  flex:0 0 calc((100% - var(--yf-car-gap)*2 - var(--yf-car-peek))/2)!important;
  scroll-snap-align:start;scroll-snap-stop:always
}
html body:has(#yfShowcaseSections) .yf-showcase-section .yf-showcase-track .yf-showcase-image{
  aspect-ratio:3/4!important;border-radius:26px!important;margin-bottom:10px!important
}
html body:has(#yfShowcaseSections) .yf-showcase-section .yf-showcase-track .yf-showcase-card:active .yf-showcase-image{transform:scale(.97);transition:transform .2s ease}

@media(min-width:900px){
  html body .yf-city-nav,
  html body:has(#yfShowcaseSections) .yf-showcase-section .yf-showcase-track{--yf-car-gap:16px;--yf-car-peek:70px}
  html body .yf-city-nav button,
  html body:has(#yfShowcaseSections) .yf-showcase-section .yf-showcase-track .yf-showcase-card{
    flex-basis:calc((100% - var(--yf-car-gap)*4 - var(--yf-car-peek))/4)!important
  }
}
@media(prefers-reduced-motion:reduce){html body .yf-city-nav button{transition:none}}
html body .yf-city-nav button span{padding:7px 12px!important;font-size:13px!important;border-radius:16px}
html body .yf-city-nav{padding-left:2px!important}
