html, body {
    max-width: 100%;
    overflow-x: hidden;
}


/* Quand il n'y a pas d'image, le texte prend toute la largeur */
.full-width .section-text {
    width: 100%;
}



/* 🌿 Palette cohérente avec index.css */
:root {
    --vert-clair: #E3F2E3;
    --vert-principal: #2C5E2E;
    --vert-fonce: #1E4020;
    --beige-clair: #f9f9f9;
    --blanc: #FFFFFF;
    --texte: #333;
}

/* 🌿 Fond général + typographie */
body {
    background: linear-gradient(to bottom, var(--vert-clair), var(--beige-clair));
    color: var(--texte);
    font-family: Arial, sans-serif;
}

/* 📌 Conteneur principal */
.main-container {
    width: 100%;
    max-width: 2000px;
    margin: auto;
    padding: 40px;
    background: var(--blanc);
    border-radius: 0px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* 📖 Biographie & Ostéopathie : Présentation immersive */
.section-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
    padding: 40px;
    background: var(--blanc);
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* 🔄 Alternance : Biographie (image gauche) & Ostéopathie (image droite) */
.section-content:nth-child(odd) {
    flex-direction: row-reverse;
}

.section-text {
    width: 55%;
}

.section-title {
    font-size: 28px;
    color: var(--vert-principal);
    margin-bottom: 15px;
}

.section-text p {
    font-size: 18px;
    line-height: 1.6;
}
.section-phrase{
    font-style: italic;
}

.section-image {
    width: 40%;
}

.section-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
}

/* 📱 ✅ CORRECTION POUR LES PETITS ÉCRANS */
@media screen and (max-width: 768px) {
    .section-content {
        flex-direction: column !important; /* Forcer toutes les sections en colonne */
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .section-text {
        width: 100%;
    }

    .section-image {
        width: 80%; /* Image légèrement plus grande */
    }

    .section-title {
        font-size: 24px;
    }

    .section-text p {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .section-image {
        width: 100%; /* Image prend toute la largeur sur petits écrans */
    }

    .section-title {
        font-size: 22px;
    }

    .section-text p {
        font-size: 14px;
    }
}


/* ✅ FAQ stylisée avec "+" aligné à droite */
.faq {
    margin-top: 60px;
}

.faq h2 {
    font-size: 26px;
    text-align: center;
    color: var(--vert-principal);
    margin-bottom: 20px;
}

.faq-container {
    max-width: 800px;
    margin: auto;
}

.faq-item {
    background: var(--vert-clair);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    color: var(--vert-principal);
    font-size: 18px;
    padding: 10px;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
}

.faq-question span {
    font-size: 24px;
    font-weight: bold;
}

.faq-answer {
    display: none;
    padding: 15px;
    background: var(--blanc);
    border-radius: 8px;
    margin-top: 5px;
    font-size: 16px;
    color: var(--texte);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

#admin-panel {
    width: 350px;
    margin: 20px auto;
    padding: 20px;
    background: #E3F2E3;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}


#admin-panel h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}


#admin-panel input, 
#admin-panel textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    transition: 0.3s;
}


#admin-panel input:focus, 
#admin-panel textarea:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0px 0px 5px rgba(0, 123, 255, 0.3);
}


#admin-panel button {
    background: #2C5E2E;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}



#answer {
    height: 80px;
    resize: none;
}
