/* --- Police simple --- */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #fafafa;
    color: #333;
}

/* --- En-tête aux couleurs de l'aube + illustration manga libre de droit --- */
.hero {
	padding: 60px 20px;
    text-align: center;
    background:
        url("./header.png") center/cover no-repeat,
		linear-gradient(to bottom, #ffbfa8, #ffd9c8, #fff1e6);
    color: #fff;
}

.hero h1 {
    margin: 0;
    font-size: 3rem;
    text-shadow: 0 0 10px rgba(255,120,80,0.8);
}

.hero p {
    margin-top: 10px;
    font-size: 1.2rem;
}

/* --- Conteneur global --- */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

/* --- Cadre principal avec image responsive à 40% de la largeur --- */
.main-card {
    background: #ffffffdd;
    border-radius: 14px;
    padding: 20px;
    border: 2px solid #ffd5c2;
    box-shadow: 0 4px 12px rgba(255,150,120,0.25);
    margin-bottom: 40px;
    text-align: center;
}

.main-card img {
    width: auto;          /* Taille demandée */
    height: 40%;        /* Conserve les proportions */
    max-width: 100%;     /* Empêche tout débordement */
    display: block;
    margin: 0 auto 10px auto;
    border-radius: 10px;
}

/* --- Grille responsive des 5 autres cadres --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* --- Cartes --- */
.card {
    background: #ffffffcc;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #ffd5c2;
    box-shadow: 0 4px 12px rgba(255,150,120,0.25);
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease;
}

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

.card h2 {
    margin-top: 0;
    color: #d45b5b;
    font-weight: bold;
}

/* --- Pied de page sobre