/* Modernisation de la page Enfants (basé sur Principe, avec ton adapté aux enfants) */

/* --- Styles de base (copiés de principe.css) --- */

/* Styles pour l'en-tête */
.Titre {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.entete {
    text-align: center;
}

.pissenlit {
    width: 80px;
    height: auto;
    margin-right: 20px;
}

/* Section principale */
.page-section {
    padding: 50px 0;
}

/* Conteneur principal */
.principe-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Raleway', sans-serif;
    color: #333;
    line-height: 1.8;
}

/* Introduction */
.principe-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .principe-intro {
        flex-direction: row;
        align-items: center;
    }
    
    .intro-image {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 350px;
    }
    
    .intro-citation {
        flex: 1;
        padding-left: 2rem;
    }
}

.intro-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Blocs de contenu */
.principe-block {
    margin-bottom: 4rem;
}

@media (min-width: 992px) {
    /* Applique le Zig-Zag aux blocs qui ont un encadré "En bref" */
    .principe-block:nth-of-type(1),
    .principe-block:nth-of-type(2) {
        display: flex;
        align-items: flex-start;
        gap: 4rem;
    }
    
    /* Zig-Zag : Bloc pair inversé */
    .principe-block:nth-of-type(2) {
        flex-direction: row-reverse;
    }
    
    .principe-block .block-content {
        flex: 3;
    }
    
    .principe-block .en-bref {
        flex: 2;
        margin-top: 0;
        align-self: center;
    }
}

.section-title {
    font-family: 'Lora', serif;
    font-size: 1.7rem;
    color: #4C989C;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #ffdd86;
}

/* Titres avec icône pissenlit */
.title-with-icon {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.pissenlit-icon {
    width: 40px;
    height: auto;
    transition: transform 0.3s ease;
}

.title-with-icon:hover .pissenlit-icon {
    transform: rotate(15deg);
}

.title-with-icon .section-title {
    margin-bottom: 0;
}

.principe-block p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Styles pour le contenu des blocs */
.block-content {
    width: 100%;
}

/* Styles pour les images responsives */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Styles pour le pied de page */
.footer {
    background-color: #343a40;
    color: white;
    padding: 2rem 0;
}

.footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
}

.footer a:hover {
    color: white;
}

/* Encadrés "En bref" - version enfants (plus ludique) */
.en-bref {
    background-color: rgba(255, 221, 134, 0.2); /* Plus visible pour les enfants */
    border-left: 4px solid #dcabc1; 
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.en-bref p {
    margin: 0;
    color: #555;
}

.en-bref strong {
    color: #ba5a87; 
}

/* Liste personnalisée */
.custom-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.custom-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.custom-list li::before {
    content: '•';
    color: #4C989C;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* --- Styles spécifiques Enfants --- */

/* Style du CTA adapté aux enfants (sans numéro de téléphone) */
.cta-container {
    text-align: center;
    margin-top: 30px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 2px solid #ffdd86; /* Bordure jaune pour plus de gaieté */
}

.cta-container h3 {
    font-family: 'Lora', serif;
    color: #4C989C;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cta-container p {
    margin-bottom: 1rem;
}

.cta-container em {
    color: #ba5a87;
    font-style: italic;
    font-weight: 600;
}

/* Style pour le contenu pleine largeur (CTA) */
.full-width-content {
    margin-top: 4rem;
}

/* Adaptation spécifique pour la page Enfants */
.principe-block:last-of-type {
    margin-bottom: 2rem;
}

/* Styles responsifs supplémentaires */
@media (max-width: 768px) {
    .principe-container {
        padding: 1rem;
    }
    
    .principe-intro {
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .title-with-icon {
        gap: 10px;
    }
    
    .pissenlit-icon {
        width: 30px;
    }
    
    .intro-image img {
        max-width: 90%;
    }
    
    .en-bref {
        padding: 1rem;
    }
    
    .cta-container {
        padding: 20px;
    }
}

/* Animation supplémentaire pour rendre la page plus vivante pour les enfants */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.pissenlit-icon {
    animation: float 3s ease-in-out infinite;
}

/* Couleurs plus vives pour les éléments interactifs */
.en-bref:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}


/* --- Adaptation Mobile du Bouton RDV --- */

/* On cible les écrans de moins de 768px (tablettes et mobiles) */
@media (max-width: 768px) {


    .section-title{
        font-size: 0.9rem !important;
    }
}