/* Reset et polices */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F9EFE7;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    background-color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-left {
    display: flex;
}

.nav-right {
    display: flex;
    gap: 1rem;
}

nav a {
    text-decoration: none;
    color: #361349;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #BF8DB8;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    width: calc(100% - 2rem);
    height: 2px;
    background: linear-gradient(90deg, #361349, #BF8DB8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav a:hover::after {
    transform: scaleX(1);
}

/* Boutons connexion/inscription */
.btn-login, .btn-signup {
    border-radius: 20px;
    transition: all 0.3s ease;
}

.btn-login {
    border: 2px solid #361349;
    color: #361349;
}

.btn-signup {
    background: linear-gradient(90deg, #361349, #BF8DB8);
    color: white;
}

.btn-login:hover {
    background-color: #361349;
    color: white;
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}



img {
     display: block;
    margin: 2rem auto;
    max-width: 300px; /* Ajuste selon tes besoins */
    width: 100%;
    height: auto;
}



/* Contenu principal */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.content {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.content::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(110, 69, 226, 0.05) 0%, rgba(137, 212, 207, 0.05) 100%);
    z-index: 0;
}

.content > * {
    position: relative;
    z-index: 1;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #361349;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #361349, #BF8DB8);
    border-radius: 2px;
}

p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #555;
    max-width: 800px;
}

/* Pied de page */
footer {
    background: linear-gradient(135deg, #333 0%, #111 100%);
    color: white;
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 3rem;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #361349, #BF8DB8);
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Effets spéciaux */
.content {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-left, .nav-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .content {
        padding: 2rem 1.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .header-image img {
        max-width: 150px;
    }
}