.targets-section {
    background-color: #F0F1FF;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
    height: max-content;
}

.targets-section svg {
    fill: var(--primary-color);
    width: 32px;
    height: 32px;
    flex-shrink: 0; /* Empêche l’icône de se réduire */
}

.targets-section h2 {
    color: var(--secondary-color);
    margin: 0;
}

.targets-section ul {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
}

.targets-section ul li {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1rem;
    width: 100%;
    min-height: 40px; /* Assure une hauteur uniforme */
    padding: 0;
    flex-wrap: wrap; /* Évite le chevauchement du texte */
}

.targets-section ul li p {
    margin: 0; /* Supprime les marges inutiles */
    max-width: 80%; /* Limite la largeur du texte pour éviter le débordement */
    line-height: 1.4;
    flex-grow: 1; /* Permet au texte d’occuper son espace sans affecter l’icône */
}

.targets-section img {
    width: 494.98px;
    height: 494.98px;
    transition: transform 0.3s ease, scale 0.3s ease;
}

.targets-section img:hover {
    transform: rotate(5deg) scale(0.9);
}

.targets-section .text-container {
    width: 554px;
    height: max-content;
}

.targets-section button:hover {
    color: white;
    background-color: var(--primary-color);
}

.targets-section a, #soinsSection a {
    color: white;
    background-color: var(--secondary-color);
    padding: 10px;
    width: 194px;
    border-radius: 50px;
    text-align: center;
    margin: 1rem;
}

.targets-section a:hover, #soinsSection a:hover {
    background-color: var(--primary-color);
    color: white;
    transition: background-color 0.3s ease;
}

/* 📱 Responsive Design */
@media screen and (max-width: 1024px) { /* Grand écran */
    .targets-section ul li svg {
        width: 27px;
        height: 27px;
    }
}

@media screen and (max-width: 768px) { /* Taille moyenne */
    .targets-section ul li svg {
        width: 20px;
        height: 20px;
    }

    .targets-section ul li {
        gap: 0.7rem;
    }
}

@media screen and (max-width: 468px) { /* Petite taille */
    .targets-section ul li svg {
        width: 17px;
        height: 17px;
    }

    .targets-section ul li {
        gap: 0.5rem;
        justify-content: start;
    }
}
