/* src/public/css/legal-framework.css */

.legal-hero {
    background: #000000; /* Noir */
    color: #ffffff;
    padding: 60px 0; /* Réduction du padding */
    text-align: center;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.legal-hero h1 {
    font-size: 2.5em; /* Réduction de la taille du titre */
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.legal-hero h1 .icon {
    color: var(--primary); /* Couleur des icônes dans le titre */
    font-size: 1em; /* Taille de l'icône par rapport au texte */
    width: 1em;
    height: 1em;
    vertical-align: middle;
    margin-right: 0;
    transition: none; /* Pas d'effet hover ici */
}

.legal-hero .lead {
    font-size: 1.1em; /* Réduction de la taille du texte */
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.content-section {
    padding: 40px 0;
}

.legal-card {
    background-color: #1e1e1e; /* Fond sombre comme les sections */
    border: 1px solid #333333;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
    color: #f0f0f0; /* Texte clair */
}

.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.legal-card h2 {
    color: #16d7ae; /* Vert du logo */
    font-size: 2em;
    margin-bottom: 20px;
    border-bottom: 2px solid #16d7ae;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow ul to take available space */
}

.legal-card ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.legal-card ul li i {
    margin-right: 10px;
    font-size: 1.2em;
    flex-shrink: 0;
    margin-top: 3px; /* Adjust icon vertical alignment */
}

.icon-success {
    color: #16d7ae;
}

.icon-danger {
    color: #dc3545;
}

.icon-warning {
    color: #ffc107;
}

.icon-info {
    color: #17a2b8;
}

.legal-card .note {
    font-style: italic;
    color: #a0a0a0;
    margin-top: auto; /* Push note to the bottom */
    padding-top: 15px;
    border-top: 1px dashed #333333;
}

.legal-section h2 {
    color: #16d7ae; /* Vert du logo */
    font-size: 2.5em;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #16d7ae;
    border-radius: 2px;
}

.legal-section p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.legal-section ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
    font-size: 1.1em;
}

.legal-section ul li i {
    margin-right: 10px;
    font-size: 1.2em;
    flex-shrink: 0;
    margin-top: 3px;
}

.legal-section .note {
    font-style: italic;
    color: #6c757d;
    margin-top: 20px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 48rem) {
    .legal-hero {
        padding: 60px 0;
    }

    .legal-hero h1 {
        font-size: 2.5em;
    }

    .legal-hero .lead {
        font-size: 1.2em;
    }

    .legal-card {
        padding: 20px;
    }

    .legal-card h2 {
        font-size: 1.8em;
    }

    .legal-section h2 {
        font-size: 2em;
    }

    .legal-section p,
    .legal-section ul li {
        font-size: 1em;
    }
}