/* RESET ET BASES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;

}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    padding: 20px 5%;
    align-items: center;
}

header .logo {
    font-weight: 700;
    font-size: 1.8rem;
}

header nav a {
    text-decoration: none;
    color: #000;
    margin-left: 15px;
    font-size: 0.8rem;
}

/* SECTION HERO (Contenu principal) */
.hero {
    /* padding: 50px 5%; */
    display: flex;
    width: 100%;
    align-items: flex-start;
    padding-bottom: 50px;
    position: relative;
}

.container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
}





.hero-image {
    flex: 1;
    position: sticky;
    top: 0;
    height: 100vh;
    /* Prend 50% de la largeur */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 300%;
    height: auto;
    display: block;
    margin-left: -20%;
    margin-right: -10%;
    max-width: none;
    /* ceci  */
    /* Petit effet d'ombre pour le livre */
    filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.2));

}

.hero-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 50%;
    /* padding-right: -5%; */
    padding: 100px 5% 100px 0;

}

.content-wrapper {
    max-width: 700px;
    /* padding-right: -5%; */
}

h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-align: left;
}

.features {
    list-style: none;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

/* FORMULAIRE (La boîte jaune) */
.form-card {
    background-color: #fdfbc7;
    /* Jaune pâle */
    padding: 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;

}

.form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.form-card p {
    font-size: 0.8rem;
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #000;
    font-family: inherit;
}

button {
    width: auto;
    padding: 15px 30px;
    background-color: #3b1444;
    /* Violet très foncé / Bordeaux */
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;

}

button:hover {
    background-color: #000;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 100px 20px 50px;
    text-align: center;
    padding-bottom: 40px;
    width: 100%;
    background-color: #fff;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Le logo géant en bas */
.huge-footer-logo {
    font-size: 9vw;
    /* vw = largeur de l'écran. C'est ce qui le rend GÉANT */
    font-weight: 600;
    letter-spacing: -5px;
    /* Resserre les lettres comme sur l'image */
    margin: 0;
    line-height: 1;
    color: #000;
}

.footer-credits {
    /* La marge négative permet au texte de monter SUR le logo */
    margin-top: -10px;
    position: relative;
    /* Pour être sûr qu'il passe au-dessus du logo */
    z-index: 10;
    font-size: 0.9rem;
    color: #333;
}

.footer-credits p {
    margin: 5px 0;
}


/* --- RESPONSIVE (Mobile) --- */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 20px;
        /* Le livre passe au dessus du texte */
        text-align: center;
        align-items: center;
    }

    .hero-content {
        width: 100%;
        padding: 20px 0;
    }

    .hero-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
        margin: 0 auto;
    }

    .hero-image {
        position: static;
        height: auto;
    }

    h1 {
        font-size: 1.3rem;
        font-weight: 800;
        line-height: 1.3;
    }

    .form-card {
        margin: 0 auto;
        padding: 20px;
    }

    input {
        font-size: 16px;
        /* évite zoom sur mobile */
    }

    header {
        flex-direction: column;
        gap: 10px;
    }
}