
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* 🌿 Styles généraux */
body {
    background: linear-gradient(to bottom, #e6f4e6, #f9f9f9);
    color: #333;
    font-family: Arial, sans-serif;
}

/* 📦 Conteneur principal */
.main-container {
    max-width: 2000px;
    margin: auto;
    padding: 30px;
    background-color: white;
    border-radius: 0px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}



/* 📦 Conteneur principal */
.contact-rdv-container {
    display: flex;
    flex-direction: column; /* Tout est aligné en colonne */
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}

/* 🌍 Conteneur pour les deux blocs (Contact & RDV) */
.contact-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    
}

/* 🏥 Blocs Contact & RDV */
.contact-block, .rdv-block {
    flex: 1;
    text-align: center;
    padding: 10px;
    
}

/* 📌 Style de l'iframe */
.rdv-iframe {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.iframeprimocreno {
    width: 100%;
    max-width: 100%;
    border: 0;
    min-height: 600px;
}

@media (max-width: 768px) {
    .iframeprimocreno {
        width: 100vw; /* Utilise toute la largeur de l'écran */
        min-height: 80vh; /* Ajuste la hauteur pour éviter la coupure */
    }
}






.contact-block h2, .rdv-block h2 {
    color: #2C5E2E;
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-block p, .rdv-block p {
    font-size: 18px;
    margin: 5px 0;
}

/* 📷 Image de la plateforme RDV */
.rdv-block img {
    display: block;
    max-width: 150px;
    margin: 15px auto;
}

/* 🎯 Bouton de prise de rendez-vous */
.btn-rdv {
    display: block;
    text-align: center;
    background-color: #4A8D4A;
    color: white;
    font-size: 18px;
    padding: 12px;
    margin: 10px auto;
    width: 80%;
    max-width: 300px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-rdv:hover {
    background-color: #2C5E2E;
}

/* 🟢 Double encart (Conseils & Horaires) */
/* 🌿 Double encart : Conseils & Horaires */
.double-encart {
    display: flex;
    justify-content: space-between; /* Alignement initial sur grands écrans */
    gap: 60px; /* L'écart entre les blocs */
    margin-bottom: 60px;
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne sur petits écrans */
    justify-content: center; /* Centrer les blocs horizontalement sur petits écrans */
}

/* 🧭 Section Conseils & Horaires */
.section-tips, .section-horaires {
    flex: 1;
    background: #E3F2E3;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%; /* S'assure que les sections s'étendent sur toute la largeur disponible */
}

/* 📱 Ajustements pour les écrans de taille iPad Mini */
@media (max-width: 768px) {
    .double-encart {
        flex-direction: column; /* Disposition en colonne sur petits écrans */
        gap: 20px; /* Réduit l'écart entre les encarts */
        justify-content: center; /* Centre les éléments */
        padding: 0 20px; /* Ajoute un peu de padding pour ne pas toucher les bords */
    }

    .section-tips, .section-horaires {
        max-width: 100%; /* Utilise toute la largeur disponible sur petits écrans */
        width: 100%; /* S'assure que l'élément occupe toute la largeur */
        margin-bottom: 20px; /* Ajoute un peu d'espace sous chaque encart */
    }
}

/* 🌿 Spécifique pour les très petits écrans, comme les iPhone */
@media (max-width: 480px) {
    .double-encart {
        gap: 15px; /* Réduit encore plus l'écart pour les écrans plus petits */
    }

    .section-tips, .section-horaires {
        padding: 15px; /* Moins de padding pour optimiser l'espace */
    }
}


.section-tips h2, .section-horaires h2 {
    color: #2C5E2E;
    font-size: 20px;
    margin-bottom: 10px;
}

.section-tips ul {
    list-style: none;
    padding: 0;
}

.section-tips li {
    font-size: 18px;
    padding: 5px 0;
}

/* 📅 Horaires du cabinet */
.section-horaires p {
    font-size: 18px;
    margin: 8px 0;
}

/* ✅ FAQ stylisée avec "+" aligné à droite */
.faq {
    margin-top: 60px;
}

.faq h2 {
    font-size: 26px;
    text-align: center;
    color: #2C5E2E;
    margin-bottom: 20px;
}

.faq-container {
    max-width: 800px;
    margin: auto;
}

.faq-item {
    background: #E3F2E3;
    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: #2C5E2E;
    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-color: white;
    border-radius: 8px;
    margin-top: 5px;
    font-size: 16px;
    color: #2C5E2E;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}


/* 📱 Responsive */
@media (max-width: 768px) {
    .contact-rdv-container, .double-encart {
        flex-direction: column;
    }

    .btn-rdv {
        width: 100%;
    }
}


#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;
}