/* EVENT CARD */
.event-saas-card {
    overflow: hidden;   /* déjà présent, parfait */
    display: flex;
    flex-direction: column;
}


.event-saas-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,.08);
}


.event-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 60%,
        rgba(0,0,0,0.25)
    );
}



.event-cover {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    overflow: hidden;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    background: #f1f3f5;
}

.event-cover img {
       position: absolute;
    top:0; left:0;
    width:100%; height:100%;
    object-fit: cover;
}



.badge-top {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 20px;
        color: #000; /* Texte en noir */

}

/* SKELETON */
.skeleton-card {
    border-radius: 14px;
    overflow: hidden;
}

.skeleton-img {
    height: 190px;          /* même que event-cover */
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    background: #e9ecef;
}


.skeleton-line,
.skeleton-pill,
.skeleton-btn {
    background: #e9ecef;
    position: relative;
    overflow: hidden;
}
.skeleton-line {
    height: 12px;
    border-radius: 6px;
}
.skeleton-pill {
    width: 60px;
    height: 20px;
    border-radius: 20px;
}
.skeleton-btn {
    width: 80px;
    height: 28px;
    border-radius: 20px;
}
.skeleton-line::after,
.skeleton-pill::after,
.skeleton-btn::after,
.skeleton-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150px;
    width: 150px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
    animation: shimmer 1.3s infinite;
}
@keyframes shimmer {
    100% { left: 100%; }
}


/* Hero Header */
.hero-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(90deg, #4a90e2, #007bff);
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.1rem;
    color: #6c757d;
}

.hero-btn {
    background: linear-gradient(90deg, #4a90e2, #007bff);
    border: none;
    color: #fff;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,123,255,0.3);
}

/* Hero image */
.hero-img img {
    max-width: 400px;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
