body,
html {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0f1115;
    color: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Structure principale */
body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
}

/* =========================
   CONTENU
========================= */

.content {
    flex: 1;
    padding: 20px;
    background-color: #253038;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =========================
   LIGNES / GRID
========================= */

.row {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr));

    gap: 20px;
    margin-bottom: 20px;
}

/* =========================
   BLOCS
========================= */

.block {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    text-decoration: none;
    color: #ffffff;

    padding: 20px;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 12px;

    overflow: hidden;
    position: relative;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

    animation: fadeIn 0.4s ease;
}

/* Hover moderne */
.block:hover {
    transform: translateY(-5px);

    border-color: rgba(0, 170, 255, 0.4);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(0, 170, 255, 0.15);
}

/* =========================
   IMAGES
========================= */

.block-image {
    width: 100%;
    height: 180px;

    object-fit: cover;

    border-radius: 8px;

    margin-bottom: 15px;
}

/* =========================
   TITRES
========================= */

.block h3 {
    margin: 0 0 10px 0;

    font-size: 22px;
    font-weight: 600;

    color: #ffffff;
}

/* =========================
   TEXTES
========================= */

.block-text {
    font-size: 15px;
    line-height: 1.6;

    color: #c7d1db;

    margin: 0;
}

/* =========================
   BLOCS SPÉCIAUX
========================= */

.full-block {
    grid-column: 1 / -1;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}