/* LEM RENT 360° — HERO PHOTO V79.3 */

/* Base commune */
.lm793-photo-hero{
    position:relative!important;
    isolation:isolate!important;
    overflow:hidden!important;

    height:auto!important;
    min-height:0!important;
    max-height:none!important;

    box-sizing:border-box!important;

    color:#fff!important;

    background-size:cover!important;
    background-position:center!important;
    background-repeat:no-repeat!important;

    border-radius:22px!important;
    padding:20px!important;

    box-shadow:0 10px 26px rgba(15,50,30,.12)!important;
}

.lm793-photo-hero::before{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    z-index:-1!important;

    background:
    linear-gradient(
        90deg,
        rgba(3,24,13,.76),
        rgba(3,24,13,.46) 58%,
        rgba(3,24,13,.20)
    )!important;
}

.lm793-photo-hero>*{
    position:relative!important;
    z-index:1!important;
}

.lm793-photo-hero h1,
.lm793-photo-hero h2,
.lm793-photo-hero h3,
.lm793-photo-hero .k,
.lm793-photo-hero .rent-kicker{
    color:#fff!important;
    text-shadow:0 2px 12px rgba(0,0,0,.30)!important;
}

.lm793-photo-hero>p,
.lm793-photo-hero>div>p{
    color:#fff!important;
    text-shadow:0 2px 9px rgba(0,0,0,.28)!important;
}

/* Les formulaires intégrés restent blancs */
.lm793-photo-hero form:not(.fav-mini-form):not(.rent-fav-form),
.lm793-photo-hero .rent-search{
    background:rgba(255,255,255,.97)!important;
    color:#23342a!important;
}

.lm793-photo-hero form input,
.lm793-photo-hero form select,
.lm793-photo-hero form textarea,
.lm793-photo-hero .rent-search input,
.lm793-photo-hero .rent-search select{
    background:#fff!important;
    color:#26352c!important;
}

/* MOBILE */
@media(max-width:760px){

    /* Accueil : largeur presque totale */
    body .hero.lm793-photo-hero{
        width:calc(100vw - 12px)!important;
        max-width:none!important;

        margin:6px 6px 14px!important;
        margin-left:calc(50% - 50vw + 6px)!important;

        padding:19px 17px!important;

        border-radius:22px!important;

        height:auto!important;
        min-height:0!important;
        max-height:none!important;
    }

    body .hero.lm793-photo-hero>div{
        display:block!important;
        height:auto!important;
        min-height:0!important;
    }

    body .hero.lm793-photo-hero .trust{
        display:none!important;
    }

    body .hero.lm793-photo-hero h1{
        margin:0 0 9px!important;

        max-width:350px!important;

        font-size:clamp(28px,7.7vw,38px)!important;
        line-height:1.04!important;
        letter-spacing:-.035em!important;
    }

    body .hero.lm793-photo-hero>div>p{
        display:block!important;

        margin:0 0 13px!important;

        max-width:360px!important;

        font-size:12.5px!important;
        line-height:1.38!important;
    }

    body .hero.lm793-photo-hero .actions{
        display:grid!important;
        grid-template-columns:1fr 1fr!important;
        gap:8px!important;

        margin-top:11px!important;
    }

    body .hero.lm793-photo-hero .actions .rent,
    body .hero.lm793-photo-hero .actions .buy{
        min-height:44px!important;
        height:auto!important;

        padding:8px 11px!important;

        border-radius:16px!important;
    }

    body .hero.lm793-photo-hero .actions .owner{
        grid-column:1/-1!important;

        min-height:0!important;
        height:auto!important;

        padding:5px 2px 0!important;

        background:transparent!important;
        border:0!important;
        box-shadow:none!important;

        color:#fff!important;

        justify-content:flex-start!important;
        text-align:left!important;
    }

    /* Toutes les pages secondaires */
    body .lm793-photo-hero:not(.hero){
        width:100%!important;

        height:auto!important;
        min-height:0!important;
        max-height:none!important;

        margin:7px 0 13px!important;

        padding:17px 15px!important;

        border-radius:20px!important;
    }

    body .lm793-photo-hero h1{
        margin:0 0 7px!important;

        font-size:clamp(23px,6.6vw,32px)!important;
        line-height:1.07!important;
    }

    body .lm793-photo-hero h2{
        margin-top:0!important;
    }

    /* Louer : formulaire compact dans l'image */
    body .lm229-rent-page
    .rent-hero.lm793-photo-hero
    .rent-search{
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:8px!important;

        margin-top:13px!important;
        padding:10px!important;

        border-radius:17px!important;

        box-shadow:0 9px 24px rgba(0,0,0,.12)!important;
    }

    body .lm229-rent-page
    .rent-hero.lm793-photo-hero
    .rent-search input,

    body .lm229-rent-page
    .rent-hero.lm793-photo-hero
    .rent-search select,

    body .lm229-rent-page
    .rent-hero.lm793-photo-hero
    .rent-search button{
        grid-column:1/-1!important;

        min-height:44px!important;
        height:auto!important;

        border-radius:13px!important;
    }
}