/* RESET SIMPLE */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #5a4a3f; /* plus doux et élégant */
    background-color: #ffffff;
}

/* HEADER */
header {
    background: #333;
    color: white;
    text-align: left;
    padding: 20px;
}

/* HEADER FLEX */
.header {
    display: flex;
    align-items: center;      /* centre verticalement sur la ligne */
    justify-content: left;  /* centre horizontalement dans le header */
    gap: 50px;                /* espace entre logo et titre */
    padding: 20px;
	background: #fff;
}

/* Logo et titre */
.logo {
    height: 150px;
}

h1 {
    font-size: 65px;
    color: #A5835E;
    margin: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
    .header {
        flex-direction: column;  /* empile logo au-dessus du titre */
		gap: 10px;
    }

    .logo {
        height: 150px;
    }

    h1 {
        font-size: 25px;
    }
}
h2 {
    color: #25465F;
    font-size: 20px;
}

h3 {
    color: #A5835E;
}

/* MENU */
.navbar {
    background: #f39184;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
}
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu li {
    margin-left: 20px;
}

.menu a {
    display: block;
    padding: 15px;
    color: white;
    text-decoration: none;
    text-align: center;
}

.menu a:hover {
    background: #D95251;
}

/* BOUTON HAMBURGER */
.menu-toggle {
    display: none; /* caché sur PC */
    font-size: 28px;
    cursor: pointer;
    color: white;
}
.menu-toggle.open .hamburger {
    transform: rotate(180deg);
    transition: transform 0.3s;
}
/* STRUCTURE */
.container {
    display: flex;
    padding: 20px;
}

main {
    flex: 3;
    padding: 20px;
}

aside {
    flex: 1;
    background: #f2f2f2;
    padding: 20px;
}

/* FOOTER */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 15px;
}

/* MEDIA QUERIES POUR SMARTPHONE */
@media (max-width: 768px) {

   
    h2 {
        font-size: 12px;
    }
    h3 {
        font-size: 18px;
    }
   

    /* HEADER ET CONTENU */
    .container {
        flex-direction: column;
    }

    aside {
        margin-top: 20px;
    }

    /* MENU RESPONSIVE */
    .menu {
        flex-direction: column;
        display: none; /* caché par défaut sur mobile */
        width: 100%;
    }

    .menu li {
        width: 100%;
        margin: 0;
    }

    .menu a {
        padding: 12px 20px;
        border-top: 1px solid #444;
    }

    .menu-toggle {
        display: block; /* visible sur mobile */
        align-self: flex-end;
    }

}







/* Titre principal */
.main-title {
    text-align: center;
    font-size: 2em;
    color: #A5835E;
    margin: 40px 0 20px 0;
    font-family: 'Poppins', sans-serif;
}

/* Container principal : flex wrap pour plusieurs blocs */
.container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 20px;
}

/* Chaque bloc */
.card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    width: 250px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card h3 {
    margin: 15px 0;
    color: #A5835E;
    font-family: 'Poppins', sans-serif;
	font-size : 12pt;
}

@media (max-width: 600px) {
    .card {
        width: 90%;
    }
}
