/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0F2957 50%, var(--primary-light) 100%);
    color: white;
    padding: 7rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.legal-page{
    padding:100px 0;
    background:#ffffff;
    min-height:100vh;
}

.legal-header{
    text-align:center;
    margin-bottom:60px;
}

.legal-header h1{
    font-size:60px;
    font-weight:700;
    margin-bottom:20px;
    background:linear-gradient(
        135deg,
        #0f172a,
        #22d3ee
    );
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    letter-spacing:-1px;
}
.legal-header p{
    color:#64748b;
    font-size:20px;
}

/* =========================================================
   CONTENU PRINCIPAL
========================================================= */

.legal-content{
    position:relative;
    background:
    linear-gradient(
        145deg,
        #0f172a,
        #162b55
    );
    padding:60px;
    border-radius:35px;
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:
    0 30px 80px rgba(15,23,42,0.25),
    0 0 50px rgba(34,211,238,0.15);
    line-height:1.9;
    overflow:hidden;
    animation:fadeLegal .6s ease;
}

.legal-content::before{
    content:"";
    position:absolute;
    width:300px;
    height:300px;
    background:#22d3ee;
    filter:blur(130px);
    opacity:.15;
    top:-120px;
    right:-120px;
}

/* =========================================================
   TITRES
========================================================= */

.legal-content h2{
    position:relative;
    margin-top:40px;
    margin-bottom:18px;
    color:#67e8f9;
    font-size:26px;
    font-weight:600;
}

.legal-content h2:first-child{
    margin-top:0;
}

.legal-content p,
.legal-content li{
    position:relative;
    color:#e2e8f0;
    font-size:16px;
}

.legal-content strong{
    color:white;
    font-weight:600;
}

.legal-content ul{
    margin:20px 0 20px 25px;
}

.legal-content li{
    margin-bottom:10px;
}

.legal-content p:hover,
.legal-content li:hover{
    color:white;
    transition:.3s ease;
}

@keyframes fadeLegal{
    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

@media(max-width:900px){
    .legal-header h1{
        font-size:45px;
    }

    .legal-content{
        padding:40px 30px;
    }
}

@media(max-width:600px){
    .legal-page{
        padding:60px 0;
    }
    .legal-header h1{
        font-size:36px;
    }
    .legal-header p{
        font-size:16px;
    }
    .legal-content{
        padding:30px 20px;
        border-radius:25px;
    }
    .legal-content h2{
        font-size:22px;
    }
}