/**
 * Styles pour le bloc Texte Simple
 * Basé sur la maquette Figma
 * 
 * @package MediaPilote
 */

/* Import de la police Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;700&display=swap');

/* Bloc principal */
.bloc-texte-simple {
    padding: 40px 0;
    background-color: transparent;
}

.bloc-texte-simple__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 100%;
}

/* Titre */
.bloc-texte-simple__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    color: #000000;
    margin: 0;
    flex-shrink: 0;
}

/* Contenu texte */
.bloc-texte-simple__text {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 27px;
    color: #000000;
    width: 100%;
    flex-shrink: 0;
}

.bloc-texte-simple__text p {
    margin: 0 0 16px 0;
}

.bloc-texte-simple__text p:last-child {
    margin-bottom: 0;
}

/* Styles pour les éléments WYSIWYG */
.bloc-texte-simple__text h1,
.bloc-texte-simple__text h2,
.bloc-texte-simple__text h3,
.bloc-texte-simple__text h4,
.bloc-texte-simple__text h5,
.bloc-texte-simple__text h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #000000;
    margin: 20px 0 16px 0;
}

.bloc-texte-simple__text h2 {
    font-size: 32px;
    line-height: 1.2;
}

.bloc-texte-simple__text h3 {
    font-size: 28px;
    line-height: 1.2;
}

.bloc-texte-simple__text h4 {
    font-size: 24px;
    line-height: 1.3;
}

.bloc-texte-simple__text h5 {
    font-size: 20px;
    line-height: 1.3;
}

.bloc-texte-simple__text h6 {
    font-size: 18px;
    line-height: 1.4;
}

.bloc-texte-simple__text ul,
.bloc-texte-simple__text ol {
    margin: 16px 0;
    padding-left: 20px;
}

.bloc-texte-simple__text li {
    margin-bottom: 8px;
}

.bloc-texte-simple__text a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.bloc-texte-simple__text a:hover {
    color: #007acc;
    text-decoration: underline;
}

.bloc-texte-simple__text strong,
.bloc-texte-simple__text b {
    font-weight: 700;
}

.bloc-texte-simple__text em,
.bloc-texte-simple__text i {
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .bloc-texte-simple {
        padding: 30px 0;
    }
    
    .bloc-texte-simple__content {
        gap: 15px;
    }
    
    .bloc-texte-simple__title {
        font-size: 8vw;
        white-space: normal;
    }
    

    
    .bloc-texte-simple__text h2 {
        font-size: 6vw;
    }
    
    .bloc-texte-simple__text h3 {
        font-size: 5.5vw;
    }
    
    .bloc-texte-simple__text h4 {
        font-size: 5vw;
    }
    
    .bloc-texte-simple__text h5 {
        font-size: 4.5vw;
    }
    
    .bloc-texte-simple__text h6 {
        font-size: 4vw;
    }
}

@media (max-width: 480px) {
    .bloc-texte-simple {
        padding: 20px 0;
    }
    
    .bloc-texte-simple__content {
        gap: 12px;
    }
    
    .bloc-texte-simple__title {
        font-size: 7vw;
    }
    

}
