/* ===========================================
   RESET ET STYLES DE BASE
   =========================================== */
.snc-hero * {
    box-sizing: border-box;
}

.snc-hero {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* ===========================================
   STRUCTURE PRINCIPALE HERO
   =========================================== */
.snc-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.snc-hero-carousel {
    width: 100%;
    height: 100%;
}

.snc-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #F5D021 0%, #e6c220 100%);
    color: #1B5E20;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(245, 208, 33, 0.4);
}

.snc-hero-slide {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    background-color: #1a472a; /* Couleur de fallback */
}

/* Image de fond */
.snc-slide-1 {
    background-image: url('../img/maison_de_la_culture_ats_home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.snc-slide-2 {
    background-image: url('../img/Site-SNC.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.snc-slide-3 {
    background-image: url('../img/image_snc_expo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.snc-hero-slide .snc-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><path d="M40 0L80 40L40 80L0 40Z" fill="none" stroke="%23ffffff" stroke-opacity="0.03" stroke-width="1"/></svg>'),
        radial-gradient(circle at 20% 80%, rgba(245, 208, 33, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(215, 28, 38, 0.1) 0%, transparent 40%);
    background-size: 80px 80px, 100% 100%, 100% 100%;
    z-index: 2;
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 80px 80px, 0 0, 0 0; }
}

/* Overlay gradient */
.snc-hero-slide .snc-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(26, 71, 42, 0.8) 0%,
        rgba(46, 125, 50, 0.8) 40%,
        rgba(27, 94, 32, 0.8) 70%,
        rgba(13, 40, 24, 0.8) 100%
    );
    z-index: 1;
}

/* Effet blur sur l'image de fond */
.snc-hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
    z-index: 0;
}

/* ===========================================
   CONTENU PRINCIPAL
   =========================================== */
.snc-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.snc-hero-text-wrapper {
    padding: 30px;
    color: white;
}

/* ===========================================
   TYPOGRAPHIE HERO
   =========================================== */
.snc-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.snc-hero-highlight {
    background: linear-gradient(135deg, #F5D021 0%, #ffeb3b 50%, #F5D021 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.snc-hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
}

/* ===========================================
   ACTIONS ET BOUTONS
   =========================================== */
.snc-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
}

.snc-primary-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.snc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.snc-btn-primary {
    background: linear-gradient(135deg, #D71C26 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(215, 28, 38, 0.4);
    flex: 1;
    min-width: 200px;
}

.snc-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(215, 28, 38, 0.5);
    color: white;
}

.snc-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    width: 100%;
    /* max-width: 400px; */
}

.snc-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    color: white;
}

.snc-action-separator {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0 10px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

/* Icônes dans les boutons */
.snc-btn i {
    margin-right: 10px;
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.snc-btn-primary:hover i {
    transform: translateX(3px);
}

.snc-btn-secondary:hover i {
    transform: translateY(-2px);
}

/* ===========================================
   CARTE AVANTAGES
   =========================================== */
.snc-benefits-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    color: white;
    height: 100%;
}

.snc-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.snc-card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 208, 33, 0.1);
    border-radius: 12px;
}

.snc-card-icon i {
    font-size: 1.8rem;
    color: #F5D021;
}

.snc-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.snc-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.snc-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.snc-benefit-item:last-child {
    border-bottom: none;
}

.snc-benefit-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(245, 208, 33, 0.2), rgba(245, 208, 33, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.snc-benefit-icon i {
    color: #F5D021;
    font-size: 1.2rem;
    margin-right: 0;
}

.snc-benefit-content {
    flex: 1;
}

.snc-benefit-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    line-height: 1.3;
}

.snc-benefit-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin: 0;
}

/* ===========================================
   SECTION STATISTIQUES
   =========================================== */
.snc-stats-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.snc-stat-card {
    text-align: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.snc-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(245, 208, 33, 0.3);
}

.snc-stat-icon {
    margin-bottom: 15px;
}

.snc-stat-icon i {
    font-size: 2rem;
    color: #F5D021;
}

.snc-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.snc-stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

/* Grands écrans */
@media (min-width: 1400px) {
    .snc-hero-slide {
        padding: 120px 0;
    }
}

/* Tablettes */
@media (max-width: 1199px) {
    .snc-hero-slide {
        padding: 80px 0;
    }
    
    .snc-primary-actions {
        justify-content: center;
    }
    
    .snc-btn-primary {
        min-width: 180px;
    }
}

@media (max-width: 991px) {
    .snc-hero-slide {
        padding: 60px 0;
        min-height: auto;
    }
    
    .snc-hero-text-wrapper {
        text-align: center;
        padding: 20px;
        margin-bottom: 40px;
    }
    
    .snc-hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .snc-primary-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .snc-action-separator {
        padding: 10px 0;
    }
    
    .snc-benefits-card {
        margin-top: 20px;
        padding: 25px;
    }
    
    .snc-card-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .snc-benefit-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    
    .snc-benefit-icon {
        margin-top: 0;
    }
    
    .snc-stats-section {
        margin-top: 40px;
    }

    .snc-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 227px;
    }

    .snc-hero-actions {
        align-items: center;
    }
}

/* Mobiles */
@media (max-width: 767px) {
    .snc-hero-slide {
        padding: 40px 0;
    }
    
    .snc-hero-title {
        font-size: 2rem;
    }
    
    .snc-hero-description {
        font-size: 1.1rem;
    }
    
    .snc-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 476px;
    }
    
    .snc-primary-actions {
        width: 100%;
    }
    
    .snc-btn-primary {
        min-width: 100%;
    }
    
    .snc-benefits-card {
        padding: 20px;
        border-radius: 20px;
    }
    
    .snc-stat-card {
        padding: 20px 15px;
    }
    
    .snc-stat-number {
        font-size: 1.8rem;
    }
}

/* Petits mobiles */
@media (max-width: 575px) {
    .snc-hero-slide {
        padding: 30px 0;
    }
    
    .snc-hero-title {
        font-size: 1.75rem;
    }
    
    .snc-hero-description {
        font-size: 1rem;
    }
    
    .snc-benefits-card {
        padding: 15px;
    }
    
    .snc-stat-card {
        margin-bottom: 15px;
    }

    .snc-hero-actions {
        align-items: center;
    }
}

/* ===========================================
   ANIMATIONS
   =========================================== */
@keyframes snc-fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.snc-hero-text-wrapper,
.snc-benefits-card,
.snc-stats-section {
    animation: snc-fade-up 0.6s ease forwards;
}

.snc-hero-text-wrapper {
    animation-delay: 0.1s;
}

.snc-benefits-card {
    animation-delay: 0.3s;
}

.snc-stats-section {
    animation-delay: 0.5s;
}

/* Animation des éléments de la liste */
.snc-benefit-item {
    opacity: 0;
    animation: snc-fade-up 0.5s ease forwards;
}

.snc-benefit-item:nth-child(1) { animation-delay: 0.4s; }
.snc-benefit-item:nth-child(2) { animation-delay: 0.5s; }
.snc-benefit-item:nth-child(3) { animation-delay: 0.6s; }
.snc-benefit-item:nth-child(4) { animation-delay: 0.7s; }
.snc-benefit-item:nth-child(5) { animation-delay: 0.8s; }
.snc-benefit-item:nth-child(6) { animation-delay: 0.9s; }

/* ===========================================
   BOUTON RÉSULTATS — PULSE + RESPONSIVE
   =========================================== */
@keyframes snc-pulse-scale {
    0%   { transform: scale(1);    box-shadow: 0 5px 15px rgba(215, 28, 38, 0.4), 0 0 0 0 rgba(215, 28, 38, 0.55); }
    40%  { transform: scale(1.07); box-shadow: 0 8px 24px rgba(215, 28, 38, 0.5), 0 0 0 10px rgba(215, 28, 38, 0.15); }
    70%  { transform: scale(1.04); box-shadow: 0 5px 15px rgba(215, 28, 38, 0.4), 0 0 0 16px rgba(215, 28, 38, 0); }
    100% { transform: scale(1);    box-shadow: 0 5px 15px rgba(215, 28, 38, 0.4), 0 0 0 0 rgba(215, 28, 38, 0); }
}

.snc-btn-resultats {
    white-space: normal;
    flex-wrap: wrap;
    text-align: center;
    max-width: 520px;
    animation: snc-pulse-scale 2s ease-in-out infinite;
    transform-origin: center;
}

.snc-btn-resultats:hover {
    animation-play-state: paused;
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .snc-btn-resultats {
        max-width: 100%;
        width: 100%;
        font-size: 0.9rem;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .snc-btn-resultats {
        font-size: 0.82rem;
        padding: 10px 16px;
        gap: 6px !important;
    }
}

/* ===========================================
   NAVIGATION OWL CAROUSEL (si utilisé)
   =========================================== */
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.owl-prev,
.owl-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.owl-prev:hover,
.owl-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.owl-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

.owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.owl-dot.active {
    background: #F5D021;
    transform: scale(1.2);
}