* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial;
    background: linear-gradient(135deg, #1f4037, #99f2c8);
}

/* NAVBAR */
nav {
    background: rgba(0,0,0,0.85);
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
}

nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

nav a {
    cursor: pointer;
    transition: 0.3s;
}

nav a:hover {
    color: #00ffd5;
}

/* HERO */
.hero {
    text-align: center;
    padding: 100px;
    color: white;
    animation: fadeIn 1s;
}

/* CARTE */
.card {
    display: none;
    background: white;
    padding: 30px;
    margin: 40px auto;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: slideUp 0.6s;
}

.active {
    display: block;
}

/* IMAGE */
img {
    width: 220px;
    border-radius: 15px;
    margin: 20px 0;
    transition: 0.4s;
}

img:hover {
    transform: scale(1.05);
}

/* TEXTE */
p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* BOUTON */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 15px;
    background: #1f4037;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.btn:hover {
    background: #00ffd5;
    color: black;
}

/* FORM */
input, button {
    display: block;
    margin: 10px 0;
    padding: 10px;
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    border: none;
}

button {
    background: #1f4037;
    color: white;
}

button:hover {
    background: #00ffd5;
    color: black;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes slideUp {
    from {transform: translateY(40px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}