/*
    mentions-legales.css - Styles pour la page mentions legales
    
    Ce module contient les styles spécifiques 
    à la page mentions legales, ainsi que les styles 
    pour la section mentions legales.

    @author Alexandre BURIN
    @version 1.0.0
*/

.mentions-legales-content {
    background: linear-gradient(135deg, rgba(122, 155, 110, 0.05) 0%, rgba(201, 169, 97, 0.05) 100%);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.mentions-legales-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.3px;
}

.mentions-legales-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1.5px solid var(--border-light);
    transition: all 0.3s ease;
}

.mentions-legales-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.mentions-legales-item h3 {
    color: var(--primary-green);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-light);
}

.mentions-legales-item p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.hebergeur-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    margin-top: 1rem;
    background: rgba(122, 155, 110, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-brown);
}

.hebergeur-info span {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.hebergeur-info a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.hebergeur-info a:hover {
    color: var(--primary-brown);
    text-decoration: underline;
}

/* Mode sombre pour la page mentions legales */
.mode-nuit .mentions-legales-content {
    background: linear-gradient(135deg, rgba(143, 184, 127, 0.08) 0%, rgba(212, 185, 122, 0.06) 100%) !important;
    border-color: rgba(143, 184, 127, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.mode-nuit .mentions-legales-content h2 {
    color: #e2e8f0 !important;
}

.mode-nuit .mentions-legales-item {
    background: linear-gradient(135deg, #1e1e1e 0%, #262626 100%) !important;
    border-color: rgba(143, 184, 127, 0.2) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
}

.mode-nuit .mentions-legales-item:hover {
    box-shadow: 0 4px 16px rgba(143, 184, 127, 0.2) !important;
    border-color: #8fb87f !important;
}

.mode-nuit .mentions-legales-item h3 {
    color: #8fb87f !important;
    border-bottom-color: rgba(143, 184, 127, 0.3) !important;
}

.mode-nuit .mentions-legales-item p {
    color: #e2e8f0 !important;
}

.mode-nuit .hebergeur-info {
    background: linear-gradient(135deg, rgba(143, 184, 127, 0.1) 0%, rgba(212, 185, 122, 0.06) 100%) !important;
    border-left-color: #8fb87f !important;
}

.mode-nuit .hebergeur-info span {
    color: #e2e8f0 !important;
}

.mode-nuit .hebergeur-info a {
    color: #8fb87f !important;
}

.mode-nuit .hebergeur-info a:hover {
    color: #d4b97a !important;
}

/* Responsive pour la page mentions legales */
@media (max-width: 768px) {
    .mentions-legales-content {
        padding: 2rem 1.5rem;
    }

    .mentions-legales-content h2 {
        font-size: 1.6rem;
    }

    .mentions-legales-item {
        padding: 1.5rem;
    }

    .mentions-legales-item h3 {
        font-size: 1.2rem;
    }

    .mentions-legales-item p,
    .hebergeur-info span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .mentions-legales-content {
        padding: 1.5rem 1rem;
    }

    .mentions-legales-content h2 {
        font-size: 1.4rem;
    }

    .mentions-legales-item {
        padding: 1.25rem;
    }

    .mentions-legales-item h3 {
        font-size: 1.1rem;
    }

    .mentions-legales-item p,
    .hebergeur-info span {
        font-size: 0.95rem;
    }
}
