* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
}

body {
    padding: 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(255, 0, 0, 0.35) 0%, transparent 35%),  
        radial-gradient(circle at 85% 25%, rgba(255, 165, 0, 0.35) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 0, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 20% 85%, rgba(0, 128, 0, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 255, 0.35) 0%, transparent 40%),  
        radial-gradient(circle at 50% 10%, rgba(128, 0, 128, 0.35) 0%, transparent 35%);
    background-color: #f8f9fa;
    background-attachment: fixed;
    background-size: cover;
    
    color: #2c3e50;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    background: rgba(255, 255, 255, 0.85);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

@media (max-width: 600px) {
    body {
        padding: 10px;
        padding-top: 80px;
    }
    .container {
        padding: 20px;
        margin: 15px auto;
        width: 92%;
        border-radius: 15px;
    }
    .options label {
        display: block;
        background: rgba(255, 255, 255, 0.6);
        margin-bottom: 10px;
        padding: 15px;
        border-radius: 12px;
        border: 1px solid rgba(0,0,0,0.05);
        cursor: pointer;
    }
}

h1 {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

legend {
    font-weight: bold;
    font-size: 1.4rem;
    color: #2980b9;
    padding: 0 10px;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;   
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, #a0c4ff, #9bf6ff); 
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease; 
}

.submit-btn:hover {
    background: linear-gradient(to right, #4a90e2, #63b3ed); 
    transform: scale(1.02); 
}

figure img {
    display: block;
    margin: 0 auto;
    width: 100px;
    max-width: 100%;
}


.C-V {
    margin: 20px 0;
    width: 100%;   
    text-align: center;
}

.C-V img {
    width: 100%;      
    max-width: 800px; 
    height: auto;    
    border-radius: 8px; 
    display: block;
    margin: 0 auto;   
}

@media (max-width: 600px) {
    .C-V img {
        width: 100%;  
        max-width: none;
    }
}



ul {
  list-style-type: none;
      font-size: 1rem;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}


#bienetre-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 15px; 
    border-radius: 10px;
    outline: none;
    background: #e0e0e0;
    margin: 20px 0;
    transition: background 0.3s ease; 
}

#bienetre-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 28px;
    width: 28px;
    background: #ffffff;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}

#bienetre-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1); 
}

#val-bienetre {
    display: block;  
    text-align: center;  
    margin-left: 0;   
    width: 100%;     
    margin-top: 10px; 
}