/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html,
body {
    width: 100%;
    height: 100%;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f5f1ec;

    color: #26332f;

    overflow: hidden;
}


/* =========================================
   VARIABLES
========================================= */

:root {

    --orange: #c87524;
    --orange-dark: #a85f1d;

    --cream: #f5f1ec;
    --white: #ffffff;

    --dark: #26332f;
    --grey: #68716e;

    --border:
        rgba(
            38,
            51,
            47,
            0.15
        );
}


/* =========================================
   STRUCTURE PRINCIPALE
========================================= */

.configurator {

    width: 100%;

    height:
        calc(
            100vh - 150px
        );

    display: grid;

    grid-template-columns:
        48% 52%;

    overflow: hidden;
}


/* =========================================
   PARTIE GAUCHE
========================================= */

.left-panel {

    position: relative;

    height: 100%;

    padding:
        32px
        5.5vw
        25px;

    background:
        var(--cream);

    border-right:
        1px solid
        rgba(
            200,
            117,
            36,
            0.45
        );

    z-index: 10;

    overflow: hidden;
}


/* =========================================
   HEADER / LOGO
========================================= */

.top-header {

    width: 100%;

    display: flex;

    align-items:
        flex-start;

    justify-content:
        space-between;
}


.logo-link {

    display: block;

    width: fit-content;

    text-decoration: none;
}


.logo {

    display: block;

    width: 230px;

    max-height: 85px;

    height: auto;

    object-fit: contain;

    object-position:
        left center;
}


/* =========================================
   CONTENU HERO
========================================= */

.hero-content {

    position: absolute;

    top: 50%;

    left: 5.5vw;

    transform:
        translateY(-50%);

    width:
        calc(
            100% - 8vw
        );

    max-width: 650px;
}


/* =========================================
   PETIT TITRE
========================================= */

.eyebrow {

    margin-bottom: 20px;

    color:
        var(--orange);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1.8px;

    text-transform:
        uppercase;
}


/* =========================================
   GRAND TITRE
========================================= */

.hero-content h1 {

    max-width: 650px;

    color:
        var(--dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            44px,
            4vw,
            67px
        );

    font-weight: 400;

    line-height: 1.02;

    letter-spacing: -1.8px;
}


.hero-content h1 span {

    display: block;

    color:
        var(--orange);
}


/* =========================================
   LIGNE SOUS LE TITRE
========================================= */

.title-line {

    width: 65px;

    height: 2px;

    margin:
        28px
        0
        24px;

    background:
        var(--orange);
}


/* =========================================
   TEXTE
========================================= */

.intro-text {

    max-width: 560px;

    margin-bottom: 15px;

    color: #414b47;

    font-size: 14px;

    line-height: 1.6;
}


.intro-text strong {

    color:
        var(--dark);

    font-weight: 700;
}


/* =========================================
   BOUTON PRINCIPAL
========================================= */

.start-button {

    min-width: 350px;

    margin-top: 19px;

    padding:
        19px
        26px;

    display: inline-flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 35px;

    border:
        1px solid
        var(--orange);

    border-radius: 3px;

    background:
        var(--orange);

    color:
        var(--white);

    cursor: pointer;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.7px;

    text-transform:
        uppercase;

    box-shadow:
        0 8px 22px
        rgba(
            200,
            117,
            36,
            0.18
        );

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.button-arrow {

    font-size: 22px;

    line-height: 1;

    transition:
        transform 0.3s ease;
}


.start-button:hover {

    background:
        var(--white);

    color:
        var(--orange);

    transform:
        translateY(-3px);

    box-shadow:
        0 12px 28px
        rgba(
            0,
            0,
            0,
            0.12
        );
}


.start-button:hover
.button-arrow {

    transform:
        translateX(7px);
}


/* =========================================
   3 BLOCS
========================================= */

.main-benefits {

    width: 100%;

    max-width: 680px;

    margin-top: 42px;

    padding:
        20px
        24px;

    display: flex;

    align-items: center;

    gap: 25px;

    background:
        #ffffff;

    border:
        1px solid
        rgba(
            38,
            51,
            47,
            0.10
        );

    border-radius: 8px;

    box-shadow:
        0 6px 20px
        rgba(
            0,
            0,
            0,
            0.045
        );
}


/* =========================================
   CHAQUE BLOC
========================================= */

.benefit {

    flex: 1;

    min-height: 72px;

    display: flex;

    align-items: center;

    gap: 15px;
}


/* =========================================
   ICÔNES
========================================= */

.benefit img {

    width: 58px;

    height: 58px;

    flex-shrink: 0;

    object-fit: contain;
}


/* =========================================
   TEXTE DES BLOCS
========================================= */

.benefit div {

    display: flex;

    flex-direction: column;

    gap: 5px;
}


.benefit strong {

    color:
        var(--dark);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    line-height: 1.3;

    text-transform:
        uppercase;
}


.benefit span {

    color:
        var(--grey);

    font-size: 10px;

    letter-spacing: 0.8px;

    line-height: 1.3;

    text-transform:
        uppercase;
}


/* =========================================
   SÉPARATION
========================================= */

.benefit-separator {

    width: 1px;

    height: 55px;

    flex-shrink: 0;

    background:
        rgba(
            38,
            51,
            47,
            0.18
        );
}


/* =========================================
   PARTIE DROITE
========================================= */

.right-panel {

    position: relative;

    height: 100%;

    overflow: hidden;

    background:
        #ddd;
}


/* =========================================
   IMAGE
========================================= */

.image-container {

    width: 100%;

    height: 100%;
}


.kitchen-image {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position:
        center;
}


/* =========================================
   LIGNE DE SÉPARATION
========================================= */

.right-panel::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 2px;

    height: 100%;

    background:
        var(--orange);

    opacity: 0.9;

    z-index: 10;
}


/* =========================================
   BOUTON AIDE
========================================= */

.help-button {

    position: absolute;

    top: 28px;

    right: 32px;

    z-index: 30;

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        12px
        18px;

    background:
        rgba(
            255,
            255,
            255,
            0.95
        );

    color:
        var(--dark);

    text-decoration: none;

    border-radius: 30px;

    font-size: 12px;

    font-weight: 600;

    box-shadow:
        0 5px 20px
        rgba(
            0,
            0,
            0,
            0.08
        );

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.help-button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 25px
        rgba(
            0,
            0,
            0,
            0.12
        );
}


.help-icon {

    width: 23px;

    height: 23px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1.5px solid
        var(--dark);

    border-radius: 50%;

    font-size: 12px;

    font-weight: 700;
}


/* =========================================
   CARTES FLOTTANTES
========================================= */

.floating-benefits {

    position: absolute;

    left: 0;

    top: 50%;

    transform:
        translateY(-50%);

    display: flex;

    flex-direction: column;

    gap: 14px;

    z-index: 25;
}


.floating-card {

    width: 210px;

    min-height: 82px;

    padding:
        13px
        20px;

    display: flex;

    align-items: center;

    gap: 15px;

    background:
        rgba(
            255,
            255,
            255,
            0.97
        );

    border:
        1px solid
        rgba(
            38,
            51,
            47,
            0.08
        );

    border-left:
        3px solid
        var(--orange);

    border-radius:
        0
        8px
        8px
        0;

    box-shadow:
        0 8px 25px
        rgba(
            0,
            0,
            0,
            0.13
        );

    transition:
        transform 0.3s ease;
}


.floating-card:hover {

    transform:
        translateX(8px);
}


.floating-card img {

    width: 45px;

    height: 45px;

    flex-shrink: 0;

    object-fit: contain;
}


.floating-card div {

    display: flex;

    flex-direction: column;

    gap: 4px;
}


.floating-card span {

    color: #4e5854;

    font-size: 9px;

    letter-spacing: 1px;
}


.floating-card strong {

    color:
        var(--dark);

    font-size: 12px;

    letter-spacing: 0.9px;
}


/* =========================================
   BARRE INFÉRIEURE
========================================= */

.info-bar {

    width: 100%;

    height: 150px;

    padding:
        18px
        2.2vw;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

    align-items: stretch;

    background:
        #faf8f5;

    border-top:
        1px solid
        rgba(
            38,
            51,
            47,
            0.08
        );

    overflow: hidden;
}


/* =========================================
   CARTES DU BAS
========================================= */

.info-card {

    min-width: 0;

    padding:
        20px
        24px;

    display: flex;

    align-items: center;

    gap: 20px;

    background:
        #ffffff;

    border:
        1px solid
        rgba(
            38,
            51,
            47,
            0.08
        );

    border-radius: 9px;

    box-shadow:
        0 4px 15px
        rgba(
            0,
            0,
            0,
            0.035
        );
}


.info-card img {

    width: 58px;

    height: 58px;

    flex-shrink: 0;

    object-fit: contain;
}


.info-card h2 {

    margin-bottom: 7px;

    color:
        var(--dark);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform:
        uppercase;
}


.info-card p {

    max-width: 220px;

    color:
        var(--grey);

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================
   MODALE AIDE
========================================= */

.help-modal {

    position: fixed;

    inset: 0;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background:
        rgba(
            20,
            27,
            25,
            0.50
        );

    z-index: 1000;
}


.help-modal.active {

    display: flex;
}


.modal-box {

    position: relative;

    width: 100%;

    max-width: 430px;

    padding: 42px;

    background:
        var(--cream);

    border-radius: 7px;

    box-shadow:
        0 25px 70px
        rgba(
            0,
            0,
            0,
            0.20
        );
}


.modal-box h2 {

    margin-bottom: 15px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 34px;

    font-weight: 400;

    color:
        var(--dark);
}


.modal-box p {

    margin-bottom: 25px;

    color:
        #59625f;

    font-size: 14px;

    line-height: 1.6;
}


.modal-close {

    position: absolute;

    top: 12px;

    right: 16px;

    width: 35px;

    height: 35px;

    border: none;

    background:
        transparent;

    color:
        var(--dark);

    cursor: pointer;

    font-size: 28px;
}


.modal-contact {

    display: inline-block;

    padding:
        13px
        22px;

    background:
        var(--orange);

    color:
        #ffffff;

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform:
        uppercase;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.modal-contact:hover {

    background:
        var(--orange-dark);

    transform:
        translateY(-2px);
}


/* =========================================
   ÉCRANS PC BAS EN HAUTEUR
========================================= */

@media (
    max-height: 800px
) and (
    min-width: 951px
) {

    .configurator {

        height:
            calc(
                100vh - 125px
            );
    }


    .info-bar {

        height: 125px;

        padding:
            14px
            2vw;
    }


    .info-card {

        padding:
            14px
            18px;

        gap: 14px;
    }


    .info-card img {

        width: 45px;

        height: 45px;
    }


    .info-card h2 {

        font-size: 10px;
    }


    .info-card p {

        font-size: 9px;
    }


    .hero-content h1 {

        font-size: 50px;
    }


    .intro-text {

        font-size: 12px;

        margin-bottom: 10px;
    }


    .start-button {

        margin-top: 12px;

        padding:
            15px
            22px;
    }


    .main-benefits {

        margin-top: 24px;

        padding:
            12px
            18px;
    }


    .benefit img {

        width: 45px;

        height: 45px;
    }


    .benefit {

        min-height: 55px;
    }


    .benefit-separator {

        height: 45px;
    }


    .floating-card {

        min-height: 68px;
    }


    .floating-card img {

        width: 38px;

        height: 38px;
    }

}


/* =========================================
   TABLETTE
========================================= */

@media (max-width: 950px) {

    body {

        overflow-y: auto;
    }


    .configurator {

        height: auto;

        min-height: 0;

        display: flex;

        flex-direction: column;
    }


    .left-panel {

        height: auto;

        min-height: 700px;

        padding:
            30px
            5%;

        border-right: none;

        border-bottom:
            1px solid
            rgba(
                200,
                117,
                36,
                0.35
            );

        overflow: visible;
    }


    .hero-content {

        position: static;

        transform: none;

        width: 100%;

        max-width: 650px;

        margin:
            90px auto
            50px;
    }


    .right-panel {

        height: 650px;

        min-height: 650px;
    }


    .floating-benefits {

        left: 20px;

        top: auto;

        bottom: 20px;

        transform: none;

        flex-direction: row;
    }


    .floating-card {

        width: 190px;

        border-radius: 6px;
    }


    .info-bar {

        height: auto;

        grid-template-columns:
            repeat(2, 1fr);

        padding: 20px;
    }


    .info-card {

        min-height: 105px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    html,
    body {

        height: auto;

        min-height: 100%;
    }


    body {

        overflow-y: auto;
    }


    .left-panel {

        min-height: auto;

        padding:
            25px
            20px
            35px;
    }


    .logo {

        width: 175px;
    }


    .hero-content {

        margin:
            65px
            0
            40px;
    }


    .eyebrow {

        font-size: 10px;

        letter-spacing: 1.4px;
    }


    .hero-content h1 {

        font-size: 42px;

        letter-spacing: -1px;
    }


    .title-line {

        margin:
            23px
            0
            20px;
    }


    .intro-text {

        font-size: 14px;
    }


    .start-button {

        width: 100%;

        min-width: 0;
    }


    .main-benefits {

        flex-direction: column;

        align-items: stretch;

        gap: 14px;

        padding: 18px;
    }


    .benefit {

        width: 100%;

        min-height: 65px;
    }


    .benefit img {

        width: 52px;

        height: 52px;
    }


    .benefit-separator {

        width: 100%;

        height: 1px;
    }


    .right-panel {

        height: 500px;

        min-height: 500px;
    }


    .kitchen-image {

        height: 500px;
    }


    /* BOUTON AIDE */

    .help-button {

        top: 20px;

        right: 20px;

        padding:
            10px
            15px;
    }


    .floating-benefits {

        left: 12px;

        right: 12px;

        bottom: 12px;

        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 7px;
    }


    .floating-card {

        width: auto;

        min-height: 85px;

        padding: 8px;

        flex-direction: column;

        justify-content: center;

        text-align: center;

        gap: 4px;
    }


    .floating-card img {

        width: 30px;

        height: 30px;
    }


    .floating-card span,
    .floating-card strong {

        font-size: 8px;

        letter-spacing: 0.4px;
    }


    .info-bar {

        display: flex;

        flex-direction: column;

        gap: 10px;

        height: auto;

        padding: 15px;
    }


    .info-card {

        min-height: 100px;
    }


    .info-card img {

        width: 45px;

        height: 45px;
    }


    /* MODALE MOBILE */

    .modal-box {

        max-width: 100%;

        padding:
            35px
            25px;
    }


    .modal-box h2 {

        font-size: 30px;
    }

}


/* =========================================
   TRÈS PETIT MOBILE
========================================= */

@media (max-width: 400px) {

    .hero-content h1 {

        font-size: 37px;
    }


    .floating-card {

        min-height: 75px;
    }


    .floating-card img {

        width: 25px;

        height: 25px;
    }

}