/* ===============================
   STYLE GLOBAL
   =============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Couleur de fond générale */
body {
    background-color: #f4f6f8;
    color: #333;
    padding-top: 120px; /* espace pour le header fixe */
}

/* ===============================
   HEADER FIXE
   =============================== */

.fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, #0a3d62, #1e90ff);
    color: white;
    text-align: center;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.fixed-header h1 {
    font-size: 26px;
    margin-bottom: 5px;
}

.fixed-header p {
    font-size: 14px;
    opacity: 0.9;
}

/* ===============================
   GALERIE DE CARTES
   =============================== */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 30px;
}

/* ===============================
   CARTES (CARDS)
   =============================== */

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

/* Image de la carte */
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Titre de la carte */
.card h3 {
    padding: 15px;
    color: #0a3d62;
}

/* Texte de la carte */
.card p {
    padding: 0 15px 20px;
    line-height: 1.6;
    font-size: 15px;
}

/* ===============================
   SECTION TABLEAU
   =============================== */

.table-section {
    padding: 40px;
}

.table-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0a3d62;
}

/* Tableau */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Cellules */
th, td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

/* En-tête du tableau */
th {
    background-color: #1e90ff;
    color: white;
}

/* Effet au survol */
tr:hover {
    background-color: #f1f7ff;
}

/* ===============================
   FOOTER
   =============================== */

footer {
    background: #0a3d62;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
    font-size: 14px;
}