body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Poppins", sans-serif;
    margin: 0;
    background: radial-gradient(circle at top left, #1a103d, #0b061b 80%);
    color: #f2f2f5;
}
header, footer {
    background: linear-gradient(90deg, #8e2de2, #4a00e0);
    color: white;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
header h1, footer p { margin: 0; }
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 15px;
}
#formulaire-profil {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    padding: 40px 30px;
    width: 100%;
    max-width: 750px;
    animation: fadeIn 0.7s ease-in-out;
}
@keyframes fadeIn { from {opacity:0; transform: translateY(15px);} to {opacity:1; transform: translateY(0);} }
h2 { text-align: center; font-size: 26px; color: #d47bff; margin-bottom: 30px; }
form { display: flex; flex-direction: column; }
.champ { display: flex; flex-direction: column; margin-bottom: 18px; }
label { font-weight: 600; margin-bottom: 6px; color: #c7b7ff; }
input, textarea { padding: 12px 14px; border-radius: 10px; border: 1px solid #2e1a4c; background: rgba(255,255,255,0.08); color: #fff; font-size: 15px; transition: all 0.3s ease; }
input:focus, textarea:focus { outline:none; border-color:#9b4dff; box-shadow:0 0 10px #9b4dff60; background: rgba(255,255,255,0.1); }
textarea { resize: vertical; min-height: 90px; }
input[type="file"] { background: none; border: none; padding: 5px 0; }
.boutons { display: flex; justify-content: space-between; gap: 12px; margin-top: 25px; }
button, .bouton-annuler { flex: 1; padding: 12px; border-radius: 10px; font-weight: 600; border: none; cursor: pointer; transition: all 0.3s ease; font-size: 16px; }
button { background: linear-gradient(135deg, #9b4dff, #d47bff); color: #fff; box-shadow: 0 4px 10px rgba(155, 77, 255, 0.4); }
button:hover { transform: translateY(-2px); box-shadow:0 6px 15px rgba(155,77,255,0.6); }
.bouton-annuler { background: rgba(255,255,255,0.1); color:#d8d8e2; }
.bouton-annuler:hover { background: rgba(255,255,255,0.2); }
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}
.popup-content {
    background: #1f0f36;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}
.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}
.popup-close:hover {
    color: #ff1a3c;
}
.popup-content {
    position: relative;
}

.plans-horizontal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 0;
}
.plan {
    flex: 0 0 45%;
    max-width: 300px;
    background: #2a1a55;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    text-align: center;
    transition: transform 0.3s;
}
.plan:hover { transform: translateY(-5px); }
.plan h3 { margin-top:0; color:#ff1a3c; }
.plan p { font-size:14px; color:#ddd; margin:10px 0; }
.plan .price { font-size:20px; font-weight:bold; color:#ff1a3c; margin-bottom:10px; }
.plan button { padding:10px 15px; border-radius:50px; border:none; cursor:pointer; font-weight:bold; background:#ff1a3c; color:#fff; transition:0.3s; }
.plan button:hover { background:#e6002c; }

@media(max-width:700px){ .plan{flex:0 0 100%;} .boutons{flex-direction:column;} #formulaire-profil{padding:25px 20px;} }
