@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    user-select: none;
    scroll-behavior: smooth;
}

:root {

    --Texte-noir: #0B1C2C;
    --Orange: #FFA02C;
    --Blanc: #FFFFFF;
    --Background: #EAE1D6;
    --Titre-Beige: #E3B96D;
    --Background-noir: #181713;
}

body {
    background-color: var(--Background);
}

/* ? Header */
.header-img {
    width: 100%;
    height: 700px;
    background-image: url(../imagebanner/ameublement.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header-img .hdr-acc {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 100px;
    padding-left: 150px;
}

.titre-acc-hdr h1 {
    font-family: "Source Serif 4", sans-serif;
    color: var(--Orange);
    font-size: 48px;
    font-weight: 500;
}

.titre-acc-hdr-txt {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-top: 30px;
}

.titre-acc-hdr-txt p {
    font-family: "Source Serif 4", sans-serif;
    color: var(--Blanc);
    font-weight: 600;
    font-size: 20px;
    max-width: 668px;
}

.btn-acc-hdr {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 30px;
    margin-top: 30px;
}

.btn-acc-hdr-lire {
    width: 160px;
    height: 46px;
    border-radius: 8px;
    background-color: var(--Blanc);
    font-size: 14px;
    border: none;
    font-family: "Source Serif 4", sans-serif;
    font-weight: 600;
    color: var(--Texte-noir);
}

.btn-acc-hdr-lire:hover {
    background-color: var(--Orange);
    color: var(--Blanc);
    cursor: pointer;
}

/* ? Fin Header */
/*? Icon List */
.icon-placement {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.icon-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    margin-bottom: 80px;
    gap: 80px;
    flex-wrap: wrap;
}

.icon-list>div {
    display: flex;
    gap: 80px;
}

.icon-list img {
    width: 50px;
    height: 50px;
}

/*? Fin Icon List */

/*? Shortcut Image */
.shortcut-position {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 140px;
}

.img-link1 {
    background-image: url(../Image/Ameublement/espace.webp);
    width: 790px;
    height: 540px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-end;
}

.img-link1 span {
    margin-left: 70px;
}

.img-link2 span {
    margin-left: 50px;
    margin-top: 80px;
}

.img-link2 p {
    margin-left: 50px;
}

.img-link1 p {
    margin-bottom: 80px;
    margin-left: 70px;
}

.img-link1 span,
.img-link2 span {
    font-family: "Source Serif 4", sans-serif;
    color: var(--Blanc);
    font-weight: 400;
    font-size: 42px;
}

.img-link1 p,
.img-link2 p {
    font-family: "Source Serif 4", sans-serif;
    color: var(--Blanc);
    font-weight: 400;
    font-size: 18px;
    max-width: 450px;
}

.img-link2 {
    background-image: url(../Image/Ameublement/espace2.webp);
    width: 790px;
    height: 540px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
}

.img-link1:hover,
.img-link2:hover {
    cursor: pointer;
    outline: 4px solid var(--Orange);
}

/*? Fin de Shortcut Image */

/* ? Votre intérieur */
.inte-placement {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 260px;
    position: relative;
    margin-bottom: 140px;
}

.int-cuisine {
    width: 725px;
    height: 790px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-width: 530px;
}

.int-txt {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.int-txt span {
    font-family: "Source Serif 4", sans-serif;
    color: var(--Texte-noir);
    font-weight: 500;
    font-size: 40px;
}

.int-txt p {
    font-family: "Source Serif 4", sans-serif;
    color: var(--Texte-noir);
    font-weight: 500;
    font-size: 16px;
    max-width: 530px;
}

.int-txt button {
    width: 200px;
    height: 40px;
    border: 1px solid var(--Orange);
    background-color: transparent;
    border-radius: 6px;
    color: var(--Orange);
    font-size: 14px;
    font-family: "Source Serif 4", sans-serif;
    font-weight: 500;
}

.int-txt button:hover {
    background-color: var(--Orange);
    color: var(--Blanc);
    cursor: pointer;
}

/* ? Fin de Votre intérieur */



/* ? Salle de bain */
.sdb-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 70px;
    margin-bottom: 150px;
}

.sdb-title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.sdb-title p {
    color: var(--Orange);
    font-size: 15px;
    font-family: "Source Serif 4", sans-serif;
    font-weight: 400;
}

.sdb-title span {
    color: var(--Texte-noir);
    font-size: 40px;
    font-family: "Source Serif 4", sans-serif;
    font-weight: 400;
}


#position-sdb-img {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.position-sdb1,
.position-sdb2,
.position-sdb3,
.position-sdb4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.position-sdb1 img,
.position-sdb2 img,
.position-sdb3 img,
.position-sdb4 img {
    height: 450px;
    width: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    outline: 2px solid var(--Orange);
}

.position-sdb1 p,
.position-sdb2 p,
.position-sdb3 p,
.position-sdb4 p {
    color: #9E9E9E;
    font-size: 15px;
    font-family: "Source Serif 4", sans-serif;
    font-weight: 400;
}

.position-sdb-1-2,
.position-sdb-3-4 {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.vie-list>ul>li {
    color: var(--Texte-noir);
    font-size: 20px;
    font-family: "Source Serif 4", sans-serif;
    font-weight: 400;
}

.vie-list>div>p {
    color: var(--Orange);
    font-size: 20px;
    font-family: "Source Serif 4", sans-serif;
    font-weight: 400;
    margin-bottom: 10px;
}

.vie-titre span {
    color: var(--Texte-noir);
    font-size: 34px;
    font-family: "Source Serif 4", sans-serif;
    font-weight: 400;
}

.position-vie {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    width: 350px;
    height: 350px;
}

/*? Fin de la salle de bain */

/* ? Slider */
.slider-title {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-title span {
    color: var(--Texte-noir);
    font-size: 40px;
    font-family: "Source Serif 4", sans-serif;
    font-weight: 400;
}

.slider-container {
    width: 100%;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.container>input[type=radio] {
    display: none;
}

.card {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    margin: auto;
    transition: transform .4s ease;
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: 800px;
    max-height: 600px;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;

}

.cards {
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: 20px;
}

.cards>label>img {
    width: 800px;
    height: 450px;
    border-radius: 10px;
    object-fit: cover;
}

#item-1:checked~.cards #song-3,
#item-2:checked~.cards #song-1,
#item-3:checked~.cards #song-2 {
    transform: translatex(-40%) scale(.8);
    opacity: .4;
    z-index: 0;
}

#item-1:checked~.cards #song-2,
#item-2:checked~.cards #song-3,
#item-3:checked~.cards #song-1 {
    transform: translatex(40%) scale(.8);
    opacity: .4;
    z-index: 0;
}

#item-1:checked~.cards #song-1,
#item-2:checked~.cards #song-2,
#item-3:checked~.cards #song-3 {
    transform: translatex(0) scale(1);
    opacity: 1;
    z-index: 1;

    img {
        box-shadow: 0px 0px 5px 0px rgba(81, 81, 81, 0.47);
    }
}

/* ? Fin de Slider */

@media screen and (max-width: 1100px) {
    .header-img {
        width: 100%;
        height: 400px;
        /* Permet à la hauteur de s'ajuster automatiquement */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .titre-acc-hdr {
        font-size: 20px;
    }

    .header-img .hdr-acc {
        padding-top: 10px;
        padding-left: 50px;
    }

    .titre-acc-hdr-txt span {
        font-size: 22px;
    }

    .titre-acc-hdr-txt p {
        font-size: 18px;
    }

}

@media screen and (max-width: 1450px) {
    .shortcut-position {
        margin-bottom: 80px;
    }

    .inte-placement {
        gap: 60px;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 1270px) {
    .cards>label>img {
        width: 100%;
        height: 400px;
        border-radius: 10px;
        object-fit: cover;
    }

    .container {
        width: 650px;
    }

}

@media screen and (max-width: 1100px) {
    .container {
        max-width: 550px;
        width: 100%;
    }

    .cards>label>img {
        width: 100%;
        height: 350px;
    }
}

@media screen and (max-width: 800px) {
    .header-img {
        width: 100%;
        height: 300px;
        /* Permet à la hauteur de s'ajuster automatiquement */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-image: url(../imagebanner/ameublementmobile.webp);
    }

    .btn-acc-hdr {
        margin-top: 15px;
    }

    .titre-acc-hdr-txt {
        gap: 5px;
        margin-top: 10px;
    }

    .header-img .hdr-acc {
        padding-top: 10px;
        padding-left: 20px;
    }

    .titre-acc-hdr {
        font-size: 20px;
        flex-wrap: nowrap;
    }

    .titre-acc-hdr-txt p {
        font-size: 18px;
    }

    .titre-acc-hdr h1 {
        font-size: 34px;
    }


    .img-link2,
    .img-link1 {
        height: 400px;
    }

    .img-link1 p,
    .img-link1 span {
        margin-left: 10px;
    }

    .img-link2 span,
    .img-link2 p {
        margin-left: 10px;
    }

    .img-link2 span {
        margin-top: 60px;
    }

    .position-sdb1 img,
    .position-sdb2 img,
    .position-sdb3 img,
    .position-sdb4 img,
    .position-vie {
        height: 350px;
        width: 250px;
    }

    .container {
        max-width: 500px;
        width: 100%;
        height: 200px;
    }

    .cards>label>img {
        width: 100%;
        height: 300px;
    }

    .slider-container {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding-top: 80px;
        height: 400px;
        margin-bottom: 100px;
    }
}

@media screen and (max-width: 700px) {
    .slider-container {
        margin-bottom: 250px;
    }
}

@media screen and (max-width: 480px) {
    .header-img {
        width: 100%;
        height: 290px;
        /* Permet à la hauteur de s'ajuster automatiquement */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .titre-acc-hdr-txt p {
        font-size: 14px;
    }

    .titre-acc-hdr h1 {
        font-size: 34px;
    }

    .btn-acc-hdr-lire {
        width: 140px;
        height: 40px;
    }

    .slider-container {
        margin-bottom: 250px;
    }

    .icon-list {
        gap: 30px;
    }

    .icon-list>div {
        gap: 40px;
    }

    .shortcut-position {
        display: flex;
        flex-wrap: wrap;
    }

    .int-cuisine {
        min-width: 0px;
        width: 100%;
        height: 490px;
    }

    .inte-placement {
        margin-bottom: 100px;
    }

    .int-txt {
        padding: 0px 20px;
    }


    .sdb-title span {
        font-size: 26px;
    }

    .sdb-content {
        display: flex;
        gap: 40px;
    }

    .position-sdb1 img,
    .position-sdb2 img,
    .position-sdb3 img,
    .position-sdb4 img,
    .position-vie {
        width: 200px;
        height: 280px;
    }

    .position-sdb1 p,
    .position-sdb2 p,
    .position-sdb3 p,
    .position-sdb4 p {
        text-align: center;
    }

    .vie-titre span {
        font-size: 20px;
    }

    .vie-list>div>p,
    .vie-list>ul>li {
        font-size: 16px;
    }

    .position-sdb-1-2,
    .position-sdb-3-4 {
        display: flex;
        gap: 15px;
    }

    .container {
        max-width: 250px;
        width: 100%;
        height: 200px;
    }

    .cards>label>img {
        width: 100%;
        height: 250px;
    }

    .slider-container {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding-top: 80px;
        height: 400px;
        margin-bottom: 180px;
    }

}

@media screen and (max-width: 390px) {
    .icon-list img {
        width: 40px;
        height: 40px;
    }

    .sdb-title span {
        font-size: 20px;
    }

    .sdb-title p {
        text-align: center;
    }

    .position-sdb1 img,
    .position-sdb2 img,
    .position-sdb3 img,
    .position-sdb4 img,
    .position-vie {
        width: 150px;
        height: 230px;
    }

    .position-sdb1,
    .position-sdb2,
    .position-sdb3,
    .position-sdb4 {
        display: block;
        width: 150px;
    }

    .slider-title span {
        font-size: 26px;
        text-align: center;
    }

    .slider-container {
        padding-top: 40px;
    }

    .img-link1 span,
    .img-link2 span {
        font-size: 30px;
    }

    .img-link1 p,
    .img-link2 p {
        font-size: 14px;
    }

    .img-link2,
    .img-link1 {
        height: 300px;
    }

    .int-txt span {
        font-size: 32px;
        text-align: center;
    }

    .int-txt {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media screen and (max-width: 375px) {
    .header-img .hdr-acc {
        padding-left: 10px;
        padding-top: 5px;
    }

    .icon-list>div {
        gap: 20px;
    }

    .img-link1 p {
        margin-bottom: 30px;
    }

    .img-link2 span {
        margin-top: 30px;
    }

    .int-cuisine {
        height: 390px;
    }
    .position-sdb1 img, .position-sdb2 img, .position-sdb3 img, .position-sdb4 img, .position-vie{
        height: 200px;
    }
    
    .container {
        max-width: 200px;
        width: 100%;
        height: 200px;
    }

    .cards>label>img {
        width: 100%;
        height: 200px;
    }

    .slider-container {
        display: flex;
        height: 400px;
        margin-bottom: 100px;
    }

}