/* Palette de couleurs */
:root {
    --terracotta: #bc7b50;
    --beige: #e5d5c5;
    --marron-clair: #905f48;
    --marron-fonce: #3b2d25;
}


/* Liste des liens */
.introductioncadre ul {
    list-style: none; /* Retirer les puces par défaut */
    padding: 0;
    margin: 0;
    display: flex; /* Afficher les liens en ligne */
    flex-wrap: wrap; /* Permet aux liens de se déplacer à la ligne si nécessaire */
    justify-content: center; /* Centrer les liens */
}

.introductioncadre li {
    margin-right: 20px; /* Espacement entre les éléments */
    margin-bottom: 15px; /* Espacement entre les lignes si nécessaire */
}

.specialite-link {
    display: inline-block; /* Affichage en bloc horizontal */
    background-color: var(--terracotta); /* Couleur de fond terracotta */
    color: white; /* Texte blanc */
    text-decoration: none; /* Suppression du soulignement */
    padding: 12px 12px;
    border-radius: 8px; /* Coins arrondis */
    font-weight: bold; /* Texte en gras */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre légère */
    font-size: 0.95em; /* Taille de texte lisible */
    text-align: center; /* Texte centré */
    white-space: nowrap; /* Empêcher la coupure du texte par défaut */
    min-width: 180px; /* Largeur minimale pour chaque lien */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition au survol */
}

.specialite-link:hover {
    color: #3b2d25;
}

/* Responsive pour les tablettes et petits écrans */
@media(min-width: 768px) and (max-width: 1024px){
    .introductioncadre ul {
        justify-content: space-between;
        /* Espacement entre les éléments */
    }

    .introductioncadre li {
        margin-right: 10px;        /* Réduire l'espacement horizontal entre les éléments */
        margin-bottom: 10px;        /* Réduire l'espacement vertical */
        
    }

   .specialite-link {
        min-width: 150px;        /* Réduire la largeur minimale sur les tablettes */
        padding: 10px 10px;        /* Réduire l'espacement interne */
        font-size: 0.9em;        /* Réduire légèrement la taille du texte */
    }
}

/* Responsive pour les petits écrans de téléphone */
@media (max-width: 767px) {
    .introductioncadre ul {
        justify-content: center;        /* Centrer les éléments pour les petits écrans */
        gap: 8px;        /* Espacement entre les éléments réduit */
    }

    .introductioncadre li {
        margin: 0 0 10px 0;
        font-size: 0.9em;
    }

    .specialite-link {
        width: 100%;
        text-align: center;
        font-weight: normal;
        min-width: 150px;
        padding: 8px 8px;
    }
}
/* Sections spécialisées */
.speciality-section {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    background-color: #f9f5f0;    /* Couleur apaisante */
    border-radius: 12px;
    padding: 20px;
    margin: 0 20px 35px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}


.speciality-section:nth-child(even) {
    flex-direction: row-reverse;
}

.content-left, .content-right {
    flex: 1;
    padding: 20px;
}

.speciality-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
}


.speciality-section h2 {
    font-size: 1.6em;
    color: #bc7b50;
    margin-bottom: 20px;
}

.speciality-section h3 {
    color: #13110f;
    font-size: 1em;
    text-align: left;
    margin-top: 35px;
}

.speciality-section p {
    font-size: 1em;
    line-height: 1.5; /*interligne*/ 
    color: #13110f;
    
}

.speciality-section ul li {
    font-size: 1em;
    line-height: 1.2;
    color: #13110f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .speciality-section {
     display: grid;
 }

 .speciality-section h2 {
     font-size: 1.4em;
     color: #bc7b50;
     margin-bottom: 20px;
     text-align: center;
 }

 .speciality-section p {
     font-size: 0.95em;
     line-height: 1.4;
     /*interligne*/
 }
}


/* En savoir plus déroulant */
.more-text ul {
    margin: 15px 0;
    padding-left: 18px;
}

.more-text ul li {
    font-size: 1em;
    color: #13110f;
    margin-bottom: 12px;
}

.read-more-btn {
    padding: 6px 10px;
    font-size: 0.7em;
    font-weight: bold;
    background-color: #bc7b50;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.read-more-btn:hover {
    background-color: #c08d54;
}

.more-text {
    display: none; /* Contenu masqué par défaut */
}




/* Section Contact */
.contact-pour-rendez-vous {
    background-color: rgb(150, 162, 126); /* Fond doux avec une nuance de vert clair */
    padding: 10px 0 30px 0;;
    margin: 0 20px 35px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Titre */
.contact-pour-rendez-vous h2 {
    font-size: 1.8em;
    color: #fff;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Texte */
.contact-pour-rendez-vous p {
    font-size: 1em;
    color: #fff; /* Texte en blanc pour contraster avec le fond */
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

/* Bouton */
.Prendre-rendez-vous {
    background-color: rgba(188, 123, 80, 0.9); /* Couleur chaude et un peu translucide */
    color: #fff;
    font-size: 1em;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.Prendez-rendez-vous:hover {
    background-color: rgb(200, 132, 89); /* Changement de couleur au survol pour un effet plus visible */
    transform: translateY(-3px); /* Légère élévation au survol */
}



/* Responsive Design */
@media (max-width: 768px) {
    .btn-appel {
        display: inline-block;
        padding: 6px 4px;
        background-color: #905f48;
        color: #fff;
        text-decoration: none;
        font-weight: 550;
        font-size: 0.8rem;
        border-radius: 5px;
    }
    .contact-pour-rendez-vous p {
        font-size: 1em;
        color: #fff;
        line-height: 1.6;
        margin: 20px 35px 35px 35px;
        }
    
    .content-left,
    .content-right {
        padding: 0;
    }

    .cadre h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .cadre p {
        font-size: 0.9rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
}