/* EXPLICIT FONTS */

body#page-body {background-color:#ffffff}
body#page-body #main-content{background:transparent}
body#page-body .button{background-color:rgba(30,115,190,1);color:var(--ali-color-text, #ffffff)}
body#page-body .button p,body#page-body .button  span:not(.high-box),body#page-body .button label,body#page-body .button li,body#page-body .button a:not(.button),body#page-body .button .heading>span:not(.high-box){color:inherit}
body#page-body .high-box{background-color:rgba(30,115,190,1);color:var(--ali-color-text, #ffffff)}
body#page-body .high-box p,body#page-body .high-box  span:not(.high-box),body#page-body .high-box label,body#page-body .high-box li,body#page-body .high-box a:not(.button),body#page-body .high-box .heading>span:not(.high-box){color:inherit}
body#page-body .high-border{border-color:rgba(30,115,190,1);color:#1e73be !important}
body#page-body .high-border:not(.no-effect):hover{background-color:rgba(30,115,190,1);color:#ffffff}
body#page-body .high-border p,body#page-body .high-border  span:not(.high-box),body#page-body .high-border label,body#page-body .high-border li,body#page-body .high-border a:not(.button),body#page-body .high-border .heading>span:not(.high-box){color:inherit}
body#page-body .ali-icon{color:var(--ali-color-text, #1e73be)}
body#page-body .ali-icon p,body#page-body .ali-icon  span:not(.high-box),body#page-body .ali-icon label,body#page-body .ali-icon li,body#page-body .ali-icon a:not(.button),body#page-body .ali-icon .heading>span:not(.high-box){color:inherit}
{display:none}
body.REM #mobile_menu .menu-panel {
    background: #3367D6;
}

body.REM #mobile_menu .menu-panel a {
    text-decoration: underline;
}
/*body #main-content .page-part#proxy iframe {
    height: 4100px!important;
}*/
.single-ali_team .h2 span {
    display: none;
}
.bioh2{
font-size:22px;
font-weight:600;
}
/* Modernisation Bergeron & Jeldes — 20 novembre 2026 */
body#page-body{background:#faf9f6!important;color:#152b46!important;font-family:Arial,sans-serif!important}body#page-body #quickbar,body#page-body #menu{background:#fff!important;color:#152b46!important;border-bottom:1px solid #e6e8eb}body#page-body #quickbar a,body#page-body #menu a{color:#152b46!important}body#page-body #menu a{font-size:16px!important}body#page-body #listings_featured{background:#163b60!important;color:#152b46!important;padding:36px 0!important}body#page-body #listings_featured .heading{color:#152b46!important;font-weight:700!important;font-size:34px!important;margin-bottom:24px!important}body.home#page-body #listings_featured #listings-list{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px!important}body.home#page-body #listings_featured #listings-list article{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;flex:none!important;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 3px 14px #142b4610}body.home#page-body #listings_featured #listings-list article:nth-child(n+5){display:none!important}body.home#page-body #listings_featured #listings-list .data{background:#fff!important;color:#152b46!important;padding:18px!important}body.home#page-body #listings_featured #listings-list h2{color:#152b46!important}body.home#page-body #listings_featured #listings-list .city{font-size:18px!important;line-height:1.35!important}body.home#page-body .button{border-radius:6px!important;background:#0054a6!important;color:white!important;border:none!important;padding:13px 24px!important}body#page-body #tools{background:#fff!important;color:#152b46!important;padding:36px 0!important}body#page-body #tools .heading{color:#152b46!important}body#page-body #tools .tool-item{padding:20px!important;border:1px solid #e8edf2!important;border-radius:10px!important}.preview-note{background:#142b46;color:#fff;text-align:center;padding:12px;font:14px Arial}.preview-intro{max-width:1160px;margin:0 auto;padding:32px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}.preview-intro h1{font-size:28px;line-height:1.15;margin:0 0 8px;color:#152b46}.preview-intro p{font-size:17px;color:#5b6978;margin:0}.preview-intro a{display:inline-block;text-decoration:none;white-space:nowrap}@media(max-width:768px){body.home#page-body #listings_featured #listings-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}.preview-intro{display:block}.preview-intro h1{font-size:24px}.preview-intro a{margin-top:16px}body#page-body #listings_featured .heading{font-size:28px!important}}@media(max-width:420px){body.home#page-body #listings_featured #listings-list{grid-template-columns:1fr!important}}
body:not(.home) .preview-intro{display:none!important}body.home #custom_text{background:#faf9f6!important}body.home .preview-intro{max-width:1160px!important;width:100%;box-sizing:border-box}.preview-intro h1,.preview-intro p{text-align:left!important}
body.home#page-body #listings_featured .heading span,body.home#page-body #tools .heading span{color:#152b46!important}body.home#page-body #listings_featured .city{white-space:normal!important;text-overflow:clip!important;min-height:48px}body.home#page-body #listings_featured .price{font-size:20px!important;font-weight:700;color:#152b46!important}

/* Contraste de la section propriétés uniquement */
body.home#page-body #listings_featured > .layout-content > .heading,body.home#page-body #listings_featured > .layout-content > .heading span{color:#ffffff!important}

/* Bande marine au sommet, barre et menu conservés pâles */
body#page-body #quickbar{border-top:0!important}

/* Bouton compact des propriétés à la une */
body.home#page-body #listings_featured > .layout-content > .content > a.button{display:flex!important;align-items:center;justify-content:center;gap:12px;width:max-content!important;max-width:calc(100% - 32px)!important;box-sizing:border-box;margin:28px auto 8px!important;padding:14px 25px!important;min-height:48px;border-radius:999px!important;background:#fff!important;color:#163b60!important;border:1px solid #fff!important;font-size:16px!important;font-weight:600;text-decoration:none;box-shadow:0 4px 14px #071a2c20;transition:background .2s ease,transform .2s ease}
body.home#page-body #listings_featured > .layout-content > .content > a.button::after{content:"→";font-size:21px;line-height:1;color:inherit}
body.home#page-body #listings_featured > .layout-content > .content > a.button:hover{background:#eaf0f6!important;transform:translateY(-2px)}
body.home#page-body #listings_featured > .layout-content > .content > a.button:focus-visible{outline:3px solid #fff;outline-offset:5px}
@media(prefers-reduced-motion:reduce){body.home#page-body #listings_featured > .layout-content > .content > a.button{transition:none;transform:none}}

/* Galerie immersive — concept 4 — 20 novembre 2026 */
body.home#page-body #listings_featured{
background:linear-gradient(155deg,transparent 0 29%,rgba(255,255,255,.025) 29% 43%,transparent 43% 70%,rgba(255,255,255,.018) 70%),#1c2229!important;
padding:48px 0 52px!important;color:#fff!important;
}
body.home#page-body #listings_featured > .layout-content{
display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:30px 24px;max-width:1200px!important;width:calc(100% - 48px)!important;box-sizing:border-box;margin:auto!important;padding:0!important;
}
body.home#page-body #listings_featured > .layout-content > .heading{
grid-column:1;grid-row:1;text-align:left!important;font-size:34px!important;font-weight:600!important;margin:0!important;padding:0 0 0 20px!important;border-left:5px solid #e31837;align-self:center;line-height:1.25!important;
}
body.home#page-body #listings_featured > .layout-content > .heading span{color:#fff!important}
body.home#page-body #listings_featured > .layout-content > .content{display:contents!important}
body.home#page-body #listings_featured #listings-list{grid-column:1/-1;grid-row:2;gap:20px!important;margin:0!important}
body.home#page-body #listings_featured #listings-list article{
position:relative!important;aspect-ratio:0.69;height:auto!important;min-height:390px!important;background:#11171d!important;border:1px solid #ffffff20;border-radius:14px!important;box-shadow:0 14px 30px #0003;isolation:isolate;
}
body.home#page-body #listings_featured #listings-list article > div,
body.home#page-body #listings_featured #listings-list article > div > .content{height:100%!important;position:relative!important;display:block!important;padding:0!important;background:transparent!important}
body.home#page-body #listings_featured #listings-list article .image-container{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;margin:0!important;overflow:hidden}
body.home#page-body #listings_featured #listings-list article .image-container > a{display:block!important;width:100%!important;height:100%!important}
body.home#page-body #listings_featured #listings-list article .image-container img{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center;transition:transform .3s ease}
body.home#page-body #listings_featured #listings-list article .image-container::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,transparent 24%,rgba(8,13,18,.16) 40%,rgba(8,13,18,.82) 72%,#080d12 100%);pointer-events:none;z-index:2}
body.home#page-body #listings_featured #listings-list article .data{
position:absolute!important;left:0;right:0;bottom:0!important;z-index:3;padding:22px 18px!important;background:transparent!important;color:#fff!important;text-align:left!important;pointer-events:none;
}
body.home#page-body #listings_featured #listings-list article .data .city{color:#fff!important;font-size:20px!important;font-weight:600!important;line-height:1.25!important;min-height:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;margin:0!important;text-shadow:0 1px 6px #0006}
body.home#page-body #listings_featured #listings-list article .data .price{color:#fff!important;font-size:23px!important;font-weight:700!important;line-height:1.2!important;margin-top:15px!important;white-space:normal!important}
body.home#page-body #listings_featured #listings-list article .data .price::before{content:"";display:block;width:34px;height:3px;background:#e31837;margin-bottom:12px}
body.home#page-body #listings_featured #listings-list article .data .price sup{color:#fff!important}
body.home#page-body #listings_featured #listings-list article:hover .image-container img{transform:scale(1.035)}
body.home#page-body #listings_featured #listings-list article .favorites{z-index:5}
body.home#page-body #listings_featured > .layout-content > .content > a.button{grid-column:2;grid-row:1;margin:0!important;max-width:100%!important;padding:13px 22px!important;align-self:center;font-size:15px!important;box-shadow:none}
@media(max-width:1024px){
body.home#page-body #listings_featured > .layout-content{grid-template-columns:1fr;gap:24px}
body.home#page-body #listings_featured #listings-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.home#page-body #listings_featured > .layout-content > .content > a.button{grid-column:1;grid-row:3;margin:4px auto 0!important}
}
@media(max-width:600px){
body.home#page-body #listings_featured{padding:34px 0!important}
body.home#page-body #listings_featured > .layout-content{width:calc(100% - 36px)!important}
body.home#page-body #listings_featured > .layout-content > .heading{font-size:28px!important;padding-left:14px!important}
body.home#page-body #listings_featured #listings-list{grid-template-columns:1fr!important}
body.home#page-body #listings_featured #listings-list article{aspect-ratio:.85;min-height:380px!important}
}
@media(prefers-reduced-motion:reduce){
body.home#page-body #listings_featured #listings-list article .image-container img{transition:none;transform:none!important}
}

/* Dégradé lisible et informations essentielles */
body.home#page-body #listings_featured #listings-list article .image-container::after{display:block!important;width:100%!important;height:100%!important;top:0!important;left:0!important;transform:none!important}
body.home#page-body #listings_featured #listings-list article .data .rooms-container,body.home#page-body #listings_featured #listings-list article .data .data-flags{display:none!important}

/* Photos originales aux proportions respectees — 20 novembre 2026 */
body.home#page-body #listings_featured #listings-list article{aspect-ratio:auto!important;min-height:0!important}
body.home#page-body #listings_featured #listings-list article > div,body.home#page-body #listings_featured #listings-list article > div > .content{height:auto!important}
body.home#page-body #listings_featured #listings-list article .image-container{position:relative!important;inset:auto!important;height:auto!important;aspect-ratio:4/3!important;background:#11171d!important;padding:0!important}
body.home#page-body #listings_featured #listings-list article .image-container > a{position:absolute!important;inset:0!important;height:100%!important}
body.home#page-body #listings_featured #listings-list article .image-container img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;transition:none!important}
body.home#page-body #listings_featured #listings-list article .image-container::after,body.home#page-body #listings_featured #listings-list article .shadow-overlay{display:none!important}
body.home#page-body #listings_featured #listings-list article .data{position:relative!important;inset:auto!important;padding:20px 18px!important;background:#11171d!important;min-height:140px;box-sizing:border-box;pointer-events:auto}
body.home#page-body #listings_featured #listings-list article .data .city{font-size:18px!important;text-shadow:none!important}

/* Boutons harmonises de la page accueil — 20 novembre 2026 */
body.home#page-body .button,body.home#page-body input[type="submit"]{display:inline-flex!important;align-items:center;justify-content:center;gap:12px;min-height:48px!important;width:auto!important;max-width:100%!important;box-sizing:border-box;padding:14px 26px!important;border:1px solid #163b60!important;border-radius:999px!important;background:#163b60!important;color:#fff!important;font-family:inherit!important;font-size:16px!important;font-weight:600!important;line-height:1.35!important;text-align:center;text-decoration:none!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer;box-shadow:0 4px 12px #163b6015!important;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease!important}
body.home#page-body a.button::after{content:"→";display:inline-block;font-size:21px;line-height:1;flex-shrink:0;transition:transform .2s ease}
body.home#page-body .button:hover,body.home#page-body input[type="submit"]:hover{background:#214f7b!important;border-color:#214f7b!important;color:#fff!important;box-shadow:0 7px 18px #163b6028!important;transform:translateY(-2px)}
body.home#page-body a.button:hover::after{transform:translateX(3px)}
body.home#page-body .button:focus-visible,body.home#page-body input[type="submit"]:focus-visible{outline:3px solid #e31837!important;outline-offset:4px!important}
body.home#page-body .button:active,body.home#page-body input[type="submit"]:active{transform:translateY(0);box-shadow:none!important}
body.home#page-body .button:disabled,body.home#page-body input[type="submit"]:disabled{opacity:.55;cursor:wait;transform:none}
body.home#page-body #call_to_actions a.button,body.home#page-body #bottom-footer .button{background:#fff!important;border-color:#fff!important;color:#163b60!important}
body.home#page-body #call_to_actions a.button:hover,body.home#page-body #bottom-footer .button:hover{background:#eaf0f6!important;border-color:#eaf0f6!important;color:#163b60!important}
body.home#page-body #call_to_actions a.button i{font-size:20px!important;line-height:1!important;margin:0!important}
body.home#page-body .cmplz-btn{border-radius:999px!important;font-family:inherit!important;font-weight:600!important;min-height:44px}
body.home#page-body .cmplz-manage-consent{border-radius:18px 18px 0 0!important}
@media(max-width:600px){body.home#page-body .button,body.home#page-body input[type="submit"]{font-size:15px!important;padding:13px 21px!important}body.home#page-body #call_to_actions a.button{width:100%!important}}
@media(prefers-reduced-motion:reduce){body.home#page-body .button,body.home#page-body .button::after,body.home#page-body input[type="submit"]{transition:none!important;transform:none!important}}

/* Bleu fonce du ballon de l'entete : #002C6E — 20 novembre 2026 */
body.home#page-body #listings_featured{background:linear-gradient(155deg,transparent 0 29%,rgba(255,255,255,.025) 29% 43%,transparent 43% 70%,rgba(255,255,255,.018) 70%),#002c6e!important}
body#page-body.page-id-944 a.button.large[href="https://fannybergeron.com/me-contacter/"]{background:#002c6e!important;border-color:#002c6e!important;box-shadow:0 5px 16px #002c6e24!important}
body#page-body.page-id-944 a.button.large[href="https://fannybergeron.com/me-contacter/"]:hover{background:#00378b!important;border-color:#00378b!important}
body#page-body .testimonial-item .text{background-color:#002c6e!important;color:#fff!important}

/* Retrait des deux appels Moi aussi sur les temoignages */
body#page-body.page-id-944 section.bg_default:has(> .layout-content > a.button.large[href="https://fannybergeron.com/me-contacter/"]){display:none!important}

/* Retrait des deux appels anglais sur les temoignages */
body.page-id-944.lang-en section.bg_default:has(> .layout-content > a.button.large[href="https://fannybergeron.com/en/me-contacter/"]){display:none!important}

/* Choix Fanny : no 3 Bleu harmonise — 20 novembre 2026 */
body.home#page-body #listings_featured #listings-list article{background:#0d4284!important;border:1px solid #7fa4d2!important;box-shadow:0 10px 24px #001c4826!important}
body.home#page-body #listings_featured #listings-list article .data{background:#0d4284!important;color:#fff!important;padding:18px!important;min-height:150px!important}
body.home#page-body #listings_featured #listings-list article .data .city,body.home#page-body #listings_featured #listings-list article .data .price,body.home#page-body #listings_featured #listings-list article .data .price sup{color:#fff!important}
body.home#page-body #listings_featured #listings-list article .image-container{aspect-ratio:3/2!important;background:#0d4284!important}
body.home#page-body #listings_featured #listings-list article .image-container img{object-fit:cover!important;object-position:center!important;transform:none!important}
body.home#page-body #listings_featured #listings-list article .data .price{margin-top:14px!important}
