/* ================= RESET ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

/* ================= BODY ================= */
body{
    background:#f4f4f4;
    color:#333;
}

/* ================= HEADER ================= */
header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#111;
    padding:10px 20px;
    color:white;
    flex-wrap:wrap;
}

/* LOGO */
.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo img{
    width:50px;
    height:50px;
    border-radius:50%; /* cercle */
    object-fit:cover;
}

/* MENU */
nav{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

nav a{
    color:white;
    text-decoration:none; /* ❌ pas de soulignement */
    padding:8px 12px;
    border-radius:6px;
    transition:0.3s;
}

nav a:hover{
    background:#007bff;
}

/* ================= HERO ================= */
.hero{
    background:url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f') center/cover;
    height:400px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
}

.hero h1{
    background:rgba(0,0,0,0.6);
    padding:20px;
    border-radius:10px;
}

/* ================= CONTAINER ================= */
.container{
    padding:40px;
    text-align:center;
}

/* ================= CARDS ================= */
.cards{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.card{
    background:white;
    width:260px;
    padding:15px;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    text-align:center;
}

.card img{
    width:100%;
    border-radius:10px;
}

/* ================= BUTTON ================= */
button{
    background:#007bff;
    color:white;
    border:none;
    padding:12px 18px;
    border-radius:6px;
    cursor:pointer;
    margin-top:10px;
    width:100%;
    transition:0.3s;
}

button:hover{
    background:#0056b3;
}

/* ================= FOOTER ================= */
footer{
    background:#111;
    color:white;
    text-align:center;
    padding:20px;
    margin-top:40px;
}

/* liens footer */
footer a{
    color:white;
    text-decoration:none; /* ❌ pas souligné */
    margin:5px;
    display:inline-block;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){

    header{
        flex-direction:column;
        text-align:center;
        gap:10px;
    }

    nav{
        justify-content:center;
    }

    .cards{
        flex-direction:column;
        align-items:center;
    }

    .card{
        width:90%;
    }

    .hero{
        height:300px;
    }

    .hero h1{
        font-size:18px;
        padding:15px;
    }
}
/* ===== HEADER ===== */
.main-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#0a2540;
    color:white;
    padding:15px 20px;
    flex-wrap:wrap;
}

.main-header .logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.main-header .logo img{
    width:50px;
    height:50px;
    border-radius:50%;
    object-fit:cover;
}

.main-header nav{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.main-header nav a{
    color:white;
    text-decoration:none;
    padding:6px 10px;
    border-radius:6px;
}

.main-header nav a:hover{
    background:#007bff;
}

/* ===== FOOTER ===== */
.main-footer{
    background:#0a2540;
    color:white;
    text-align:center;
    padding:20px;
    margin-top:40px;
}

.main-footer a{
    color:white;
    text-decoration:none; /* ❌ pas souligné */
}

.main-footer a:hover{
    opacity:0.8;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
    .main-header{
        flex-direction:column;
        text-align:center;
        gap:10px;
    }

    .main-header nav{
        justify-content:center;
    }
}