.test-sante-title {
    display: inline-block;
    background: linear-gradient(90deg, #f8fafc 60%, #e0e7ef 100%);
    
    font-weight: 600;
    border-radius: 5px;
    padding:2px 5px;
    margin: 0.5em 0;
    box-shadow: 0 2px 8px rgba(70,70,70,0.08);
    cursor: pointer;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    border: 1px solid #e0e7ef;
}
.test-sante-title:hover {
    background: linear-gradient(90deg, #e0e7ef 60%, #f8fafc 100%);
    color:var(--secondary-color);
    box-shadow: 0 4px 16px rgba(70,70,70,0.15);
}

.caractere-title {
    
    font-weight: 600;
    
}
.test-sante-list {
    margin: 0.5em 0 0.5em 1.2em;
    padding: 0;
    list-style: disc inside;
    color: #333;
    font-size: 1em;
    line-height: 1.7;
}
.test-sante-list li {
    margin-bottom: 0.2em;
}
:root{
    --main-color: rgb(31, 31, 31);
    --secondary-color: rgb(70, 70, 70);
    --background-color: rgb(219, 213, 225);
    --light-background-color: rgb(249, 237, 245);
    --font-family: 'Roboto', Arial, sans-serif;
}

.imgPortrait{
    width:301px;
    float:left;
    shape-outside: margin-box;
    margin:0 20px 5px 0;

}
.containerTousPortraits{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    background-color:var(--main-color);
    width:100vw;
    
}
.container
{   max-width: 45%;
    background: snow;
    margin:20px;
    padding:30px;
    /* border-radius: 10px; */
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);}

.container::after
{content:"";
display: block;
clear:both;
}
.container p {line-height:1.8;}

.test-sante {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    visibility: hidden;
    
}

.test-sante.open {
    max-height:fit-content; /* ajustez selon le contenu */
    opacity: 1;
    visibility: visible;
}

.test-sante-title{
    cursor:pointer;
    font-weight: bold;
}

@media only all and (min-width:1px) and (max-width:900px){
    .test-sante-title{
        margin-left:10px;
    }
    .caractere-title{
        margin-left:10px;
    }
    .containerTousPortraits{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    background-color:var(--light-background-color);
    width:100vw;
    
}
    
    .container{
        max-width: 95%;
        padding:0;
    }
    .imgPortrait{
        width:100%;
        float:none;
        shape-outside: none;
    }
    .container p {
        line-height:1.8;
        margin-top: 10px;
        padding: 0 10px 10px 10px;
    }
}





