/* === Réinitialisation === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* === Corps principal === */
body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #faf6f0 , #d3bbaf); /* Dégradé sombre beige-marron */
    color: #d9c9a8; /* Beige doux pour texte normal */
    line-height: 1.8;
    font-weight: 500;
    overflow-x: hidden;
}

/* === Typographie === */
h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    color: #e0c097; /* Beige doré pour titres */
    text-transform: uppercase;
    letter-spacing: 2px;
}


/* === Barre de progression === */
.barre-progression {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background: linear-gradient(90deg, #e0c097, #b89f6e);
    z-index: 2000;
    transition: width 0.5s ease;
}

/* === En-tête et navigation === */
.entete {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgb(56, 41, 26);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.barre-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    transition: padding 0.3s ease;
}

.barre-navigation.scrolled {
    padding: 1rem 5%;
    background: rgba(56, 41, 26, 0.95);
    opacity: 80%;
}

.logo-image {
    height: 50px;
    transition: transform 0.3s ease;
    border-radius: 10%;
}

.logo-image:hover {
    transform: scale(1.1);
}

.liens-navigation {
    display: flex;
    list-style: none;
}

.liens-navigation li {
    margin-left: 2.5rem;
}

.liens-navigation a {
    color: #d9c9a8;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.liens-navigation a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #e0c097;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.liens-navigation a:hover::before {
    width: 100%;
}

.liens-navigation a:hover {
    color: #e0c097;
}

/* === Section Hero === */
.hero {
    height: 100vh;
    background-image: url(fond4.png);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-contenu {
    max-width: 700px;
    padding: 2rem;
    animation: fadeInUp 1.2s ease-out;
}

.hero-titre {
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* === Boutons === */
.bouton-principal {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #e0c097, #b89f6e);
    color: #2d2520;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.bouton-principal:hover {
    background: linear-gradient(135deg, #f2e8cf, #e0c097);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.bouton-secondaire {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid #e0c097;
    color: #e0c097;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.4s ease;
}

.bouton-secondaire:hover {
    background: #e0c097;
    color: #2d2520;
}

/* === Sections générales === */
.section {
    padding: 6rem 5%;
    text-align: center;
    background: #40362e;
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.section-fond {
    background: linear-gradient(135deg, #40362e, #352d25);
}

.section h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: #e0c097;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section p {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    font-size: 1.2rem;
}

/* === Grille de contenu === */
.grille-contenu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 0 2rem;
}

.carte {
    background: #4a3e34;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
    animation: slideIn 0.8s ease-out;
}

.carte:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.carte h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* === Section Rendez-vous === */
.calendrier-conteneur {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #4a3e34;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.calendly-info {
    font-size: 1rem;
    color: #d9c9a8;
    margin-top: 1rem;
}

/* === FAQ === */
.conteneur-faq {
    max-width: 800px;
    margin: 0 auto;
}

.item-faq {
    margin-bottom: 1.5rem;
}

.item-faq input[type="checkbox"] {
    display: none;
}

.item-faq label {
    display: block;
    padding: 1.2rem;
    background: #4a3e34;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.item-faq label:hover {
    background: #53463a;
}

.reponse-faq {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    background: #4a3e34;
    border-radius: 0 0 10px 10px;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.item-faq input[type="checkbox"]:checked ~ .reponse-faq {
    max-height: 200px;
    padding: 1.5rem;
}

/* === Contact === */
.info-contact {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #4a3e34;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.info-contact a {
    color: #e0c097;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-contact a:hover {
    color: #f2e8cf;
}

.liens-sociaux {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

/* === Pied de page === */
.pied-page {
    background: linear-gradient(135deg, #40362e, #352d25);
    padding: 3rem 5%;
    text-align: center;
    color: #d9c9a8;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.mentions-legales {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

/* === Bouton retour en haut === */
.bouton-retour {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e0c097, #b89f6e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    z-index: 1000;
}

.bouton-retour::before {
    content: "\2191";
    font-size: 24px;
    color: #2d2520;
}

.bouton-retour:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #f2e8cf, #e0c097);
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Responsivité pour mobile === */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .barre-navigation {
        padding: 1rem 3%;
        position: relative;
    }

    .liens-navigation {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #40362e;
        padding: 1.5rem 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    .liens-navigation.active {
        display: flex;
    }

    .liens-navigation li {
        margin: 1rem 0;
        text-align: center;
    }

    .liens-navigation a {
        font-size: 1.2rem;
    }

    .hero {
        height: 80vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .bouton-principal {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .section {
        padding: 4rem 3%;
        margin: 1rem 0;
    }

    .section h2 {
        font-size: 2rem;
    }

    .section p {
        font-size: 1rem;
    }

    .grille-contenu {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .carte {
        padding: 1.5rem;
    }

    .carte h3 {
        font-size: 1.5rem;
    }

    .calendrier-conteneur {
        padding: 1.5rem;
    }

    .item-faq label {
        font-size: 1rem;
        padding: 1rem;
    }

    .reponse-faq {
        font-size: 0.9rem;
    }

    .info-contact {
        padding: 1.5rem;
    }

    .pied-page {
        padding: 2rem 3%;
    }
}

/* === Menu burger === */
.menu-burger {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    position: relative;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-burger {
        display: block;
    }

    .menu-burger::before,
    .menu-burger::after,
    .menu-burger span {
        content: '';
        position: absolute;
        width: 100%;
        height: 4px;
        background: #e0c097;
        transition: all 0.3s ease;
    }

    .menu-burger::before {
        top: 10px;
    }

    .menu-burger span {
        top: 18px;
    }

    .menu-burger::after {
        bottom: 10px;
    }

    .menu-burger.active::before {
        transform: rotate(45deg);
        top: 18px;
    }

    .menu-burger.active span {
        opacity: 0;
    }

    .menu-burger.active::after {
        transform: rotate(-45deg);
        bottom: 18px;
    }
}