/* HERO */
.hero-abris {
    height: 50vh;
   
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 69, 124, 0.55);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 2.6rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn-primary {
    padding: 12px 28px;
    background: var(--green);
    color: white;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
}

/* SECTION INTRO */
.section-abris {
    background: white;
    padding: 80px 20px;
}

.abris-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 45px;
    align-items: center;
}

.abris-text h2 {
    color: var(--blue);
    font-size: 1.9rem;
    margin-bottom: 18px;
}

.abris-text p {
    margin-bottom: 12px;
    color: #444;
}

.abris-list {
    list-style: none;
    margin: 18px 0;
}

.abris-list li {
    margin-bottom: 6px;
    padding-left: 22px;
    position: relative;
}

.abris-list li::before {
    content: "✔";
    color: var(--green);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.abris-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.link-partner {
    color: var(--green);
    font-weight: bold;
    text-decoration: none;
}

/* CTA SECTION */
.cta-abris {
    background: var(--blue);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.cta-abris h2 {
    margin-bottom: 10px;
}

.cta-abris p {
    margin-bottom: 18px;
    opacity: 0.95;
}

/* GALERIE */
.gallery-abris {
    padding: 80px 20px;
    text-align: center;
}

.gallery-abris h2 {
    color: var(--blue);
    margin-bottom: 30px;
}

.gallery-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    height: 170px; /* ✅ taille maîtrisée */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
/* =========================
   RESPONSIVE
========================= */

/* TABLETTE */
@media (max-width: 1024px) {

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .abris-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .abris-img {
        order: -1; /* image au-dessus du texte */
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE */
@media (max-width: 768px) {

    /* HERO */
    .hero-abris {
        height: 40vh;
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* SECTION INTRO */
    .section-abris {
        padding: 60px 15px;
    }

    .abris-text h2 {
        font-size: 1.6rem;
    }

    .abris-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* GALERIE */
    .gallery-abris {
        padding: 60px 15px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-grid img {
        height: 220px;
    }
}

/* PETITS MOBILES */
@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .abris-text h2 {
        font-size: 1.4rem;
    }

    .gallery-grid img {
        height: 200px;
    }
}
