/* Cartes Légales */
.legal-card {
    background: white;
    border-radius: 25px;
    padding: 40px;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(106, 17, 203, 0.08);
}

/* Bandeau décoratif en haut de carte */
.legal-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: var(--gradient-main);
}

/* Icônes */
.icon-box {
    width: 60px;
    height: 60px;
    background: #f4f6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-list li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.label-legal {
    font-weight: 600;
    min-width: 140px;
    color: var(--primary-color);
    display: inline-block;
}

.value-legal {
    color: #6c757d;
}

/* Séparateur Vague */
.wave-top {
    position: absolute;
    top: 0; left: 0; width: 100%;
    overflow: hidden; line-height: 0;
    transform: rotate(180deg);
}
.wave-top svg {
    position: relative; display: block;
    width: calc(100% + 1.3px); height: 60px;
}
.wave-top .shape-fill { fill: #ffffff; opacity: 0.5; }


/* Navigation Latérale (Sticky) */
.cgu-nav {
    position: sticky;
    top: 120px; /* Ajuster selon la hauteur de votre header fixe */
}
.cgu-nav .nav-link {
    color: var(--text-dark);
    font-size: 0.9rem;
    padding: 8px 15px;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}
.cgu-nav .nav-link:hover, .cgu-nav .nav-link.active {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    background: rgba(106, 17, 203, 0.05);
    font-weight: 600;
    text-decoration: none;
}
.cgu-nav .nav-link:after {
    content: none !important;
}

/* Contenu CGU */
.cgu-content section {
    background: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
    scroll-margin-top: 140px; /* Pour l'ancre, compense le header fixe */
}

.cgu-content h2 {
    font-family: 'Fredoka', sans-serif;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.cgu-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .cgu-nav { display: none; } /* On cache la sidebar sur mobile */
    .cgu-content section { padding: 20px; }
}

/* Alertes Spécifiques */
.alert-warning-custom {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffeeba;
    border-radius: 10px;
    padding: 15px;
}

.alert-info-custom {
    background: #e0f7fa;
    color: #006064;
    border-left: 4px solid #00bcd4;
    border-radius: 10px;
    padding: 15px;
}

.alert-danger-custom {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #f5c6cb;
    border-radius: 10px;
    padding: 15px;
}

/* Cartes Qualité */
.quality-card {
    background: white;
    border-radius: 25px;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.quality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.quality-icon {
    width: 70px; height: 70px;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.card-title-custom {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Spécificités des cartes */
.card-steel .quality-icon { background: linear-gradient(135deg, #536976 0%, #292E49 100%); box-shadow: 0 10px 20px rgba(41, 46, 73, 0.3); }
.card-steel .card-title-custom { color: #536976; }

.card-ikids .quality-icon { background: var(--gradient-main); box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3); }
.card-ikids .card-title-custom { color: var(--primary-color); }

.card-care .quality-icon { background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%); box-shadow: 0 10px 20px rgba(0, 176, 155, 0.3); }
.card-care .card-title-custom { color: #00b09b; }

/* Badges de caractéristiques */
.feature-badge {
    display: inline-flex; align-items: center;
    background: #f8f9fa; padding: 8px 15px; border-radius: 50px;
    font-size: 0.9rem; font-weight: 600; color: var(--text-dark);
    margin-right: 10px; margin-bottom: 10px;
}
.feature-badge i { margin-right: 8px; }

/* Prix Infinite Care */
.price-tag {
    font-size: 2.5rem; font-weight: 800; color: #00b09b;
    line-height: 1;
}
.price-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }