/* ============================================
   MENTIONS LEGALES - Styles Modernes
   ============================================ */

/* Hero Header */
.mentions-hero {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    padding: 3rem 1.5rem;
    margin: 1rem -1rem 2rem -1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mentions-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.mentions-hero-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0;
    position: relative;
    z-index: 1;
}

.mentions-hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

.mentions-hero-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* Container principal */
.mentions-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Cards des sections */
.mentions-card {
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

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

.mentions-card .card-content {
    padding: 1.5rem;
}

/* En-tête de card avec icône */
.mentions-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e8eaf6;
}

.mentions-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.mentions-card-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.mentions-card-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1a237e;
    margin: 0;
}

/* Variantes de couleurs pour les cards */
.mentions-card-editeur .mentions-card-icon {
    background: linear-gradient(135deg, #3949ab 0%, #5e92f3 100%);
}

.mentions-card-editeur .mentions-card-header {
    border-bottom-color: #c5cae9;
}

.mentions-card-responsabilite .mentions-card-icon {
    background: linear-gradient(135deg, #d84315 0%, #ff7043 100%);
}

.mentions-card-responsabilite .mentions-card-header {
    border-bottom-color: #ffccbc;
}

.mentions-card-propriete .mentions-card-icon {
    background: linear-gradient(135deg, #2e7d32 0%, #66bb6a 100%);
}

.mentions-card-propriete .mentions-card-header {
    border-bottom-color: #c8e6c9;
}

.mentions-card-hebergement .mentions-card-icon {
    background: linear-gradient(135deg, #f57c00 0%, #ffb74d 100%);
}

.mentions-card-hebergement .mentions-card-header {
    border-bottom-color: #ffe0b2;
}

/* Contenu texte */
.mentions-text {
    color: #424242;
    line-height: 1.8;
    font-size: 0.95rem;
}

.mentions-text p {
    margin-bottom: 1rem;
}

.mentions-text p:last-child {
    margin-bottom: 0;
}

.mentions-text strong {
    color: #1a237e;
    font-weight: 500;
}

/* Coordonnées éditeur */
.mentions-coordonnees {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1rem;
}

.mentions-coordonnees-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.mentions-coordonnees-item:last-child {
    margin-bottom: 0;
}

.mentions-coordonnees-item i {
    color: #3949ab;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.mentions-coordonnees-item span {
    color: #424242;
}

/* Badges info */
.mentions-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.mentions-badge i {
    font-size: 1rem;
    margin-right: 0.35rem;
}

.mentions-badge-info {
    background: #e3f2fd;
    color: #1565c0;
}

.mentions-badge-warning {
    background: #fff3e0;
    color: #ef6c00;
}

/* Responsive */
@media (max-width: 600px) {
    .mentions-hero {
        padding: 2rem 1rem;
    }

    .mentions-hero-title {
        font-size: 1.75rem;
    }

    .mentions-hero-icon {
        font-size: 3rem;
    }

    .mentions-card-header {
        flex-direction: column;
        text-align: center;
    }

    .mentions-card-icon {
        margin-right: 0;
        margin-bottom: 0.75rem;
    }

    .mentions-card-title {
        font-size: 1.1rem;
    }

    .mentions-coordonnees-item {
        flex-direction: column;
    }

    .mentions-coordonnees-item i {
        margin-bottom: 0.25rem;
    }
}

/* Dark Theme Support */
@media (prefers-color-scheme: dark) {
    .mentions-hero {
        background: linear-gradient(135deg, #0d1642 0%, #1a237e 100%);
    }

    .mentions-card {
        background: #1e1e1e;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .mentions-card:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    }

    .mentions-card-title {
        color: #9fa8da;
    }

    .mentions-text {
        color: #b0b0b0;
    }

    .mentions-text strong {
        color: #9fa8da;
    }

    .mentions-coordonnees {
        background: #2d2d2d;
    }

    .mentions-coordonnees-item span {
        color: #b0b0b0;
    }
}

/* Support via attribut data-theme ou classe */
[data-theme="dark"] .mentions-hero,
.dark-theme .mentions-hero,
body.dark .mentions-hero {
    background: linear-gradient(135deg, #0d1642 0%, #1a237e 100%);
}

[data-theme="dark"] .mentions-card,
.dark-theme .mentions-card,
body.dark .mentions-card {
    background: #1e1e1e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .mentions-card-title,
.dark-theme .mentions-card-title,
body.dark .mentions-card-title {
    color: #9fa8da;
}

[data-theme="dark"] .mentions-text,
.dark-theme .mentions-text,
body.dark .mentions-text {
    color: #b0b0b0;
}
