/* style_accueil.css */
.section-accueil {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('../Images/fond.png');
    overflow: hidden;
}

.accueil-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.logo-accueil {
    width: 50%;
    max-width: 400px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
}

.accueil-content p {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    line-height: 1.3;
    color: black;
    font-family: 'Bodoni Moda', serif;
    font-weight: 100;
    font-style: normal;
    letter-spacing: 0.5px;
}

.accueil-images {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.parallax-img {
    will-change: transform;
    transition: transform 0.1s linear;
    position: absolute;
    z-index: 1;
    max-width: 80%;
    height: auto;
    transform: translate(0, 0);
}

/* Positionnement initial des images */
.illu-1 { top: 5%; left: 5%; }
.illu-2 { top: 5%; left: 50%; transform: translateX(-50%); }
.illu-3 { top: 5%; right: 5%; }
.illu-4 { bottom: 5%; right: 5%; }
.illu-5 { bottom: 5%; left: 50%; transform: translateX(-50%); }
.illu-6 { bottom: 5%; left: 5%; }

/* SECTION VIDEO */
.video-expand-section {
    padding: 5rem 0;
    margin: 3rem 0;
    position: relative;
}

.video-wrapper {
    width: 70%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: all 2s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.95);
}

.video-wrapper video {
    width: 100%;
    display: block;
}

/* SECTION CULTURE */
#culture {
    background: url('../Images/fond_couture.jpg') center/cover no-repeat fixed;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#culture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 238, 59, 0.4);
}

#culture > * {
    position: relative;
    z-index: 1;
}

.video-expand-section.active .video-wrapper {
    width: 90%;
    transform: scale(1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* SECTION OFFRES */
#nos-offres {
    background: url('../Images/fond_joaillerie.jpg') center/cover no-repeat fixed;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#nos-offres::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 238, 59, 0.4);
}

#nos-offres > * {
    position: relative;
    z-index: 1;
}

#nos-offres p {
    margin-bottom: 2rem;
    text-align: center;
}

.culture-grille,
.event-grille {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.culture-carrousel,
.event-carrousel,
.offres,
.critique {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(47, 39, 126, 0.1);
}

.culture-carrousel:hover,
.event-carrousel:hover,
.offres:hover,
.critique:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(47, 39, 126, 0.15);
}

.culture-carrousel img,
.event-carrousel img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.culture-carrousel:hover img,
.event-carrousel:hover img {
    transform: scale(1.05);
}

.culture-carrousel-contenu,
.event-carrousel-contenu {
    padding: 1rem;
}

.event-date {
    background-color: var(--vert);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* AGENDA FILTRES */
.agenda-filtres {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filtres-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    background-color: var(--bleu-fonce);
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filtres-btn:hover {
    background-color: #2F277E;
    color: white;
    transform: translateY(-3px);
}

.membres-offres {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.offres {
    padding: 2rem;
    width: 300px;
    display: flex;
    flex-direction: column;
}

.prix {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--bleu);
    margin: 1rem 0;
}

.offres ul {
    list-style: none;
    text-align: left;
    padding-left: 1rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.offres ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.offres ul li::before {
    content: '✓';
    color: var(--bleu);
    position: absolute;
    left: 0;
}

/* SECTION CRITIQUES */
.section-critiques {
    padding: 4rem 2rem;
}

.section-critiques .contenu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    text-align: center;
}

.section-critiques .section-titre {
    display: inline-block;
    left: auto;
    transform: none;
    margin-bottom: 4rem;
}

.avis-utilisateurs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.critique {
    max-width: 400px;
    padding: 1.5rem;
    text-align: left;
}

.auteur-critique {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.nom-utilisateur {
    font-weight: bold;
}

.note {
    color: #ffc107;
    margin-left: auto;
}

/* Centrage spécifique du bouton Donner votre avis */
.section-critiques .btn {
    display: block;
    margin: 2rem auto 0;
    width: fit-content;
}

/* SECTION PARTENAIRES */
.partenaires-section {
    padding: 4rem 2rem;
    background: url('../Images/fond_joaillerie.jpg') center/cover no-repeat fixed;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.partenaires-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 238, 59, 0.4);
}

.partenaires-section > * {
    position: relative;
    z-index: 1;
}

.partenaires-container {
    max-width: 1200px;
    margin: 2rem auto 0;
    position: relative;
    overflow: hidden;
}

.partenaires-slider {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(200px * 10);
    align-items: center;
    padding: 1rem 0;
}

.partenaire-logo {
    flex: 0 0 auto;
    width: 180px;
    height: 90px;
    margin: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.partenaire-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%) contrast(0.8);
    transition: filter 0.3s ease;
    object-fit: contain;
}

.partenaire-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(47, 39, 126, 0.15);
}

.partenaire-logo:hover img {
    filter: grayscale(0%) contrast(1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 5));
    }
}

/* Responsive */
@media (max-width: 768px) {
    .partenaires-section {
        padding: 3rem 1rem;
    }
    
    .partenaires-slider {
        animation: scroll 20s linear infinite;
    }
    
    .partenaire-logo {
        width: 140px;
        height: 70px;
        margin: 0 15px;
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .partenaire-logo {
        width: 120px;
        height: 60px;
        margin: 0 10px;
    }
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .accueil-content p {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .accueil-content p {
        font-size: 1.8rem;
    }

    .culture-grille,
    .event-grille {
        grid-template-columns: 1fr;
    }

    .video-wrapper {
        width: 95%;
    }

    /* Adaptation responsive pour la section critiques */
    .section-critiques {
        padding: 3rem 1rem;
    }

    .avis-utilisateurs {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .accueil-content p {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .logo-accueil {
        width: 70%;
        margin-bottom: 1rem;
    }

    /* Adaptation mobile pour le bouton */
    .section-critiques .btn {
        width: 90%;
        max-width: 250px;
    }
}