/* HERO CAROUSEL */
.hero-home {
    position: relative;
}

/* IMAGE SLIDER */
.hero-img {
    width: 100%;
    height: 70vh;          /* 👈 contrôle hauteur */
    object-fit: cover;     /* 👈 évite déformation */
    filter: brightness(55%);
}

/* OVERFLOW CLEAN */
.carousel-item {
    overflow: hidden;
}

/* TEXTE CENTRÉ */
.hero-caption {
    bottom: 50%;
    transform: translateY(50%);
}

/* TITRE */
.hero-caption h1 {
    text-shadow: 0 4px 15px rgba(0,0,0,0.7);
}

/* TEXTE */
.hero-caption p {
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

/* BOUTONS */
.hero-caption .btn {
    border-radius: 30px;
}

/* INDICATORS STYLE */
.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

    .hero-img {
        height: 45vh;   /* 👈 réduit sur mobile */
    }

    .hero-caption h1 {
        font-size: 1.8rem;
    }

    .hero-caption p {
        font-size: 1rem;
    }
}
/* =========================
   CARDS (sans casser Bootstrap)
========================= */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* =========================
   ICONES (valeurs + services)
========================= */
.card .fs-1 {
    transition: transform 0.3s ease;
}

.card:hover .fs-1 {
    transform: scale(1.2);
}

/* =========================
   IMAGE MIPAREC
========================= */
img.img-fluid {
    transition: all 0.3s ease;
}

img.img-fluid:hover {
    transform: scale(1.03);
}

/* =========================
   PARTENAIRES
========================= */
section img {
    transition: all 0.3s ease;
    opacity: 0.8;
}

section img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* =========================
   TITRES
========================= */
h2 {
    font-weight: 700;
}

/* =========================
   ANIMATIONS CUSTOM
========================= */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   NAVBAR FIXED (IMPORTANT)
========================= */

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    section[style*="hero2.jpg"] {
        height: 70vh !important;
    }

    h1 {
        font-size: 2rem;
    }
}