/* Styles spécifiques pour la page mentions légales */

/* Hero section pour les mentions légales */
.legal-hero {
    background: linear-gradient(135deg, #ff4d79 0%, #ff6b6b 70%, #ff9d6c 100%);
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 0 0 30px 30px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    opacity: 0.6;
    animation: legal-pulse 10s infinite linear;
}

@keyframes legal-pulse {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.7;
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 0.4;
    }
}

.legal-hero .hero-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.legal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: legal-bounce 2s infinite ease-in-out;
}

@keyframes legal-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.legal-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.legal-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Container principal */
.legal-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Sidebar */
.legal-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid #ff4d79;
}

.sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.sidebar-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card ul li {
    margin-bottom: 0.8rem;
}

.sidebar-card ul li a {
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.sidebar-card ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,77,121,0.1) 0%, rgba(255,107,107,0.1) 100%);
    transition: left 0.3s ease;
}

.sidebar-card ul li a:hover {
    color: #ff4d79;
    background: rgba(255,77,121,0.05);
}

.sidebar-card ul li a:hover::before {
    left: 0;
}

.sidebar-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Contenu principal */
.legal-content {
    background: #fff;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.legal-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255,77,121,0.03) 0%, rgba(255,107,107,0.03) 100%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

/* Notice d'introduction */
.legal-notice {
    background: linear-gradient(135deg, rgba(255,77,121,0.05) 0%, rgba(255,107,107,0.05) 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    border-left: 5px solid #ff4d79;
    position: relative;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #ff4d79;
    font-size: 1.1rem;
}

.notice-icon {
    font-size: 1.5rem;
}

.legal-notice p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

.legal-notice p:last-child {
    margin-bottom: 0;
}

/* Sections légales */
.legal-section {
    margin-bottom: 3rem;
    position: relative;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #f0f0f0;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #ff4d79, #ff6b6b);
    border-radius: 2px;
}

.section-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff4d79 0%, #ff6b6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 77, 121, 0.3);
    position: relative;
    animation: section-glow 3s infinite ease-in-out;
}

@keyframes section-glow {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(255, 77, 121, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255, 77, 121, 0.5);
    }
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    letter-spacing: -0.5px;
    margin: 0;
}

.section-content {
    padding-left: 1rem;
    position: relative;
}

.section-content p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* Méthodes de contact */
.contact-methods {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid rgba(255, 77, 121, 0.1);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 77, 121, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 77, 121, 0.1);
    transform: translateX(5px);
}

.contact-method:last-child {
    margin-bottom: 0;
}

.method-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.contact-method span:last-child {
    color: #555;
    font-weight: 500;
}

/* Notice de copyright */
.copyright-notice {
    background: linear-gradient(135deg, #ff4d79 0%, #ff6b6b 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.copyright-notice::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.copyright-notice p {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Note de bas de page */
.legal-footer-note {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.note-icon {
    font-size: 1.5rem;
    color: #ffc107;
}

.legal-footer-note p {
    margin: 0;
    color: #856404;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .legal-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .legal-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .sidebar-card {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .legal-hero h1 {
        font-size: 2.2rem;
    }
    
    .legal-hero p {
        font-size: 1.1rem;
    }
    
    .legal-container {
        padding: 0 1rem;
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-content {
        padding-left: 0;
    }
    
    .contact-method {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .legal-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .legal-hero {
        padding: 3rem 1rem;
    }
    
    .legal-hero h1 {
        font-size: 1.8rem;
    }
    
    .legal-content {
        padding: 1.5rem 1rem;
    }
    
    .section-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .sidebar-card {
        padding: 1.5rem;
    }
    
    .legal-notice {
        padding: 1.5rem;
    }
}