/*carousel */
.carousel-inner{
    background: white;
    border-bottom-left-radius: 80px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
/* Mobile */ 
@media (max-width: 768px) { 
    .carousel-inner { border-bottom-right-radius: 30px; }
}

/* ----------------------------------------------------
   HERO SLIDER – IMAGE
---------------------------------------------------- */
.hero-slide-img {
    height: 100vh;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* ----------------------------------------------------
   HERO SLIDER – NUAGE
---------------------------------------------------- */
.hero-cloud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;          /* hauteur du nuage */
    z-index: 2;
    opacity: 1;
}

.hero-cloud svg {
    width: 100%;
    height: 100%;
    fill: white;
    opacity: 0.95;
    filter: drop-shadow(0 -10px 20px rgba(255,255,255,0.6));
}

/* Réduction du nuage sur mobile */ 
/* MOBILE OPTIMISATION */
@media (max-width: 576px) {

    /* Slide plein écran */
    .carousel-item {
        height: 100vh;
    }

    .hero-slide-img {
        height: 100vh;
        object-fit: cover;
    }

    /* Nuage moins haut */
    .hero-cloud {
        height: 90px;
    }
}

/* ----------------------------------------------------
   HERO SLIDER – TEXTE
---------------------------------------------------- */
.carousel-caption {
    position: absolute;
    right: 55%;             /* texte aligné à droite */
    left: auto;
    top: 30%;
    transform: translateY(-30%);
    text-align: right;
    z-index: 3;             /* au-dessus du nuage */
}

/* Titre */
.carousel-caption h1 {
    font-size: 30px;
    font-weight: bold; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    line-height: 1;
    color: rgb(247, 246, 248);
}

/* Sous-titre */
.carousel-caption p.lead {
    font-size: 20px;
    margin-top: 10px;
    color:rgb(241, 4, 4);
    font-weight: bold; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

@media (max-width: 576px) {
  .carousel-caption h1 {
    font-size: 20px; /* réduit le titre */
  }
  .carousel-caption p {
    font-size: 10px; /* réduit le sous-titre */
  }
}


/* ----------------------------------------------------
   HERO SLIDER – BOUTON
---------------------------------------------------- */
.btn-slide {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%); /* centré */
    z-index: 4;
    padding: 10px 26px;
    font-size: 1.1rem;
    border-radius: 20px;
    white-space: nowrap;         /* empêche les retours à la ligne */
    display: inline-flex;
    align-items: center;
    gap: 8px;                    /* espace icône / texte */
}

/* Icône dans le bouton */
.btn-slide i {
    font-size: 1.2rem;
}


/* --- Table dashboard --- */
.dashboard-table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.dashboard-table thead {
    background: #f8f9fa;
    font-weight: 600;
}

.dashboard-table tbody tr:hover {
    background-color: #f1f5ff;
    transition: background 0.2s ease;
}

/* --- Image vignette --- */
.banner-thumb {
    width: 120px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

/* --- Bouton ajouter --- */
.btn-success {
    border-radius: 8px;
    font-weight: 600;
}
.banner-form .form-control {
    border-radius: 10px;
    padding: 10px 14px;
}

.banner-form .form-label {
    color: #0d6efd;
}

.banner-form button {
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 20px;
}
