﻿/* Bandeau en haut */
.header-banner {
    width: 100vw;
    height: 85px;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background: linear-gradient(to bottom,#fc3b2d 10%,#fa7e75 100%);
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

.header-banner .logo {
    width: 5em;
    height: 5em;
    margin-right: 15px;
}

.header-banner .site-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

header img {
    width: 3em;
    height: 3em !important;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f5f5f5;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
}

.filter-bar {
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 1em;
    border-bottom: 1px solid #ddd;
    margin-top: 60px;
}

.filter-bar button {
    background: none;
    border: none;
    font-size: 1em;
    cursor: pointer;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5em;
    padding: 2em;
}

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    padding: 1em;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.card h2 {
    margin-top: 0.5em;
}

.close {
    float: right;
    font-size: 1.5em;
    cursor: pointer;
}

.filter-bar button.active {
    background-color: #c00;
    color: white;
    border-radius: 6px;
    padding: 0.5em 1em;
    font-weight: bold;
}

.header-link {
    color: inherit;
    text-decoration: none;
}

.header-link:hover {
    text-decoration: underline;
}