@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    --primary: #287178;
    --secondary: rgba(40, 113, 120, 0.5);
    --accent: rgba(207, 149, 39, 0.75);

    --surface: #f4ece4;
    --trait: #e7dfd8;
    --background: #f9f5f0;

    --title: #423b34;
    --text: #5c5651;
}

body{
    background: var(--background);
    width: 100%;
    min-height: 100vh;
    margin: auto;
    overflow-x: hidden;
    font-family: "Jost", sans-serif;
}

.global-index{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}

h1{
    color: var(--title);
    font-size: 30px;
    font-family: "Libre Baskerville", serif;
}

p{
    color: var(--text);
    font-size: 18px;
}

.barre{
    width: 100px;
    height: 1px;
    background: var(--trait);
    margin-top: 100px;
    margin-bottom: 100px;
}

span{
    color: var(--title);
    font-size: 18px;
}

.image-phone,
.image-phone-2{
    display: none;
}

/* HEADER */

header, .banner, .section-1{
    width: 100%;
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: 75px;
}

.global-header{
    width: 100%;
    padding: 50px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.isabelle{
    text-decoration: none;
}

.isabelle .isabelle-title{
    color: var(--text);
    font-family: "Libre Baskerville", serif;
    font-size: 16px;
}

.isabelle .isabelle-subtitle{
    color: var(--text);
    font-size: 14px;
}

.menu{
    display: flex;
    gap: 50px;
}

.menu a{
    text-decoration: none;
    color: var(--text);
    font-size: 16px;
    border-bottom: 1px solid transparent;
    transition: .3s;
    cursor: pointer;
}

.phone-menu, .menu-btn-phone{
    display: none;
}

/* BANNER */

main{
    width: 100%;
}

.global-banner{
    width: 100%;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0px;
}

.banner{
    display: flex;
}

.banner .global-text{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    transition: .3s;
    cursor: pointer;
}

.banner .global-text h1{
    font-size: 40px;
}

.banner a{
    text-decoration: none;
    color: var(--background);
    background: var(--accent);
    padding: 15px 20px;
    border-radius: 15px;
    font-size: 18px;
    font-family: "Libre Baskerville", serif;
    transition: .3s;
    cursor: pointer;
}

.banner a:hover{
    background: rgba(207, 149, 39, 0.6);
}

.global-img{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 20px;
    position: relative;
}

.global-img img{
    width: 240px;
    height: 300px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 2;
}

.global-img .background-img{
    position: absolute;
    width: 240px;
    height: 300px;
    transform: translate(20px, 20px);
    border-radius: 10px;
    background: var(--secondary);
}

/* FOOTER */

footer{
    width: 100%;
    background: var(--primary);
    margin-top: 100px;
    padding: 60px 80px;
}

.global-footer{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    color: var(--background);
    max-width: 1000px;
    margin-inline: auto;
}

.global-footer img{
    width: 50px;
    height: 50px;
    padding: 5px;
    border-radius: 50%;
    border: 2px solid var(--background);
    margin-bottom: 20px;
}

.global-footer p{
    color: var(--background);
    font-family: "Libre Baskerville", serif;
    font-size: 16px;
}

.global-footer .column-1 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.global-footer .column-1 .copyright{
    font-size: 10px;
}

.global-footer .column-2, 
.global-footer .column-3{
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.global-footer .column-2 .trait, 
.global-footer .column-3 .trait{
    width: 40px;
    height: 1px;
    background: var(--background);
    margin-top: 20px;
    margin-bottom: 20px;
}

.global-footer .column-2 .title, 
.global-footer .column-3 .title{
    font-size: 20px;
}

.global-footer .column-2 .social a{
    text-decoration: none;
    font-size: 25px;
    color: var(--background);
    cursor: pointer;
    transition: .3s;
    width: fit-content;
    border-bottom: 1px solid transparent;
}

.global-footer .column-2 .social a:hover{
    border-bottom: 1px solid var(--background);
}

.global-footer .column-3 a{
    text-decoration: none;
    color: var(--background);
    cursor: pointer;
    transition: .3s;
    border-bottom: 1px solid transparent;
    width: fit-content;
}

.global-footer .column-3 a:hover{
    border-bottom: 1px solid var(--background);
}

/* Responsive */

@media (max-width : 1024px) {

     /* HEADER */

    header, .banner, .section-1{
        padding-inline: 20px;
    }

    .isabelle .isabelle-title{
        font-size: 15px;
    }

    .isabelle .isabelle-subtitle{
        font-size: 13px;
    }

    .menu{
        gap: 30px;
    }

    .menu a{
        font-size: 15px;
    }

    /* footer */

    footer {
        padding: 50px 40px;
    }
}

@media (max-width : 780px) {

    /* HEADER */

    header, .banner, .section-1{
        padding-inline: 30px;
    }

    .global-header{
        width: 100%;
        padding: 30px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .isabelle{
        text-decoration: none;
    }

    .isabelle .isabelle-title{
        font-size: 14px;
    }

    .isabelle .isabelle-subtitle{
        font-size: 12px;
    }

    .menu{
        display: flex;
        gap: 50px;
    }

    .menu a{
        display: none;
    }

    .menu {
        display: none !important;
    }

    .menu-btn-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001; 
        font-size: 28px; 
        color: var(--text);
    }

    .burger-bar {
        width: 100%;
        height: 3px;
        background-color: var(--text);
        border-radius: 2px;
        transition: 0.3s;
    }

    .phone-menu {
        display: block;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        right: 0 !important;
        width: 80vw;
        max-width: 400px;
        height: 100vh;
        background: var(--primary);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1002; 
        padding: 40px 30px;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        border-left: 1px solid var(--surface);
    }

    .phone-menu .barre{
        margin: 0 auto;
        margin-top: 100px;
        margin-bottom: 100px;
    }

    .phone-menu.active {
        transform: translateX(0);
    }

    .exit-btn {
        position: absolute;
        top: 30px;
        right: 30px;
        background: none;
        border: none;
        font-size: 35px;
        color: var(--background);
        cursor: pointer;
        line-height: 1;
    }

    .phone-nav {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin-top: 80px; 
    }

    .phone-nav a {
        text-decoration: none;
        color: var(--background);
        font-size: 18px;
        font-family: "Libre Baskerville", serif;
        width: fit-content;
        padding-bottom: 10px;
        border-bottom: 1px solid transparent;
    }

    .phone-nav .actif {
        padding-bottom: 10px;
        border-bottom: 1px solid var(--background);
    }

    /* Banner */

    .banner .global-text{
        width: 100%;
    }

    .banner .global-text h1{
        font-size: 25px;
    }

    .banner a{
        padding: 10px 15px;
        border-radius: 15px;
        font-size: 15px;
    }

    .global-img{
        display: none;
    }

    /* All page */

    p {
        font-size: 15px;
    }

    h1{
        font-size: 18px;
    }

    .barre{
        margin-top: 50px;
        margin-bottom: 50px;
    }

    span{
        font-size: 15px;
    }

    .image-phone{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 200px;
        height: 250px;
        object-fit: cover;
        margin-top: 50px;
        border: 3px solid var(--secondary);
        border-radius: 20px;
    }

    .image-phone-2{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 350px;
        height: 250px;
        object-fit: cover;
        margin-top: 50px;
        border: 3px solid var(--secondary);
        border-radius: 20px;
    }

    /* footer */
    
    footer {
        padding: 40px 20px; 
        margin-top: 60px; 
    }

    .global-footer {
        flex-direction: column; 
        align-items: center;
        text-align: center; 
        gap: 40px; 
    }

    .global-footer .column-1 {
        align-items: center; 
    }

    .global-footer .column-2, 
    .global-footer .column-3 {
        align-items: center; 
    }

    .global-footer .column-2 .trait, 
    .global-footer .column-3 .trait {
        margin-top: 10px;
        margin-bottom: 15px;
    }
}