/* ============================================
   REALISATIONS.CSS — Page réalisations
   ============================================ */

/* --- HERO RÉALISATIONS --- */
.hero-small {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                #1a252f;
    color: #fff;
    padding: 90px 0 70px;
    text-align: center;
}

.hero-small h1 {
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 18px;
}

.hero-desc {
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    line-height: 1.8;
}

/* --- GALERIE --- */
.gallery {
    padding: 70px 0;
    background: #f5f5f5;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 10px 0;
}

/* Carte projet */
.project-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(44,95,158,0.15);
}

.project-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 20px 22px;
}

.project-info h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #222;
}

.project-info p {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-small {
        padding: 65px 0 50px;
    }

    .hero-small h1 {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .hero-desc {
        font-size: 14px;
        line-height: 1.7;
    }

    .gallery { padding: 45px 0; }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .project-card img { height: 180px; }

    .project-info { padding: 14px 16px; }

    .project-info h3 { font-size: 15px; }

    .project-info p { font-size: 12px; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .project-card img { height: 200px; }
    .hero-small h1 { font-size: 22px; }
}
