/* ========================================
   VARIABLES & RESET
======================================== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #f59e0b;
    --dark: #1e1b4b;
    --dark-light: #312e81;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(99, 102, 241, 0.3);
    --radius: 12px;
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 450;
    letter-spacing: 0.3px; /* Un léger espacement améliore la lisibilité */
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400; 
    line-height: 1.2;
}




a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-titleevent {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 60, 0.85);
    backdrop-filter: blur(10px);
}

    transition: var(--transition);
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
}

.header.scrolled .nav-menu a {
    color: var(--dark);
}

.header.scrolled .logo {
    color: var(--dark);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.header.scrolled .nav-toggle span {
    background: var(--dark);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
	animation: bgMove 20s ease-in-out infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url("../images/background.png") center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='[w3.org](http://www.w3.org/2000/svg)'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 15px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   À PROPOS
======================================== */
.apropos {
    background: var(--light);
}

.apropos-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.apropos-text p {
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 1.05rem;
}

.apropos-values {
    margin-top: 30px;
}

.apropos-values li {
    padding: 10px 0;
    font-size: 1rem;
}

.apropos-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========================================
   SERVICES
======================================== */
.services-grid {
	
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
	
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-card ul {
    text-align: left;
    margin-bottom: 25px;
}

.service-card li {
    padding: 8px 0;
    color: var(--gray);
    border-bottom: 1px solid var(--gray-light);
}

.service-card li:last-child {
    border-bottom: none;
}

/* ========================================
   GALERIE
======================================== */
.galerie {
    background: var(--dark);
}

.galerie .section-title,
.galerie .section-subtitle {
    color: var(--white);
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.galerie-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.galerie-placeholder {
    width: 100%;
    height: 100%;
    background: var(--dark-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    transition: var(--transition);
}

.galerie-placeholder span {
    font-size: 1rem;
    margin-top: 15px;
    opacity: 0.7;
}

.galerie-item:hover .galerie-placeholder {
    background: var(--primary);
    transform: scale(1.05);
}

/* ========================================
   CONTACT
======================================== */
.contact {
    background: var(--light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    background: var(--white);
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.contact-social a {
    font-size: 1.5rem;
    background: var(--white);
    padding: 12px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-social a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 992px) {
    .apropos-content {
        grid-template-columns: 1fr;
    }

    .apropos-stats {
        flex-direction: row;
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: var(--white);
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .apropos-stats {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
.hero-logo {
    height: 420px;            /* Taille du logo (augmente ou diminue selon ton visuel) */
    width: auto;
    display: block;
    margin: 0 auto 30px;      /* Centre horizontalement et ajoute un peu d’espace dessous */
    animation: fadeInUp 0.8s ease;
}



.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.logo-glow {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 25px rgba(99, 102, 241, 0.7));
}

/* Option : halo encore plus doux et diffus */
.logo-glow::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.4) 0%,
        rgba(99, 102, 241, 0.05) 60%,
        transparent 100%
    );
    z-index: -1;
    filter: blur(40px);
    opacity: 0.9;
}
.galerie-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.galerie-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.galerie-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-size: 1.1rem;
    text-align: center;
    opacity: 1;
}

.galerie-item:hover img {
    transform: scale(1.05);
}
.header.scrolled .logo-icon {
    color: var(--dark);
}

.header.scrolled .logo {
    color: var(--dark);
}


/* ========================================
   EVENEMENTS À VENIR
======================================== */
.evenements {
    background: #0f172a; /* sombre et cohérent avec ton thème */
    color: #fff;
    text-align: center;
}

.evenement-wrapper {
    position: relative;
    margin: 40px auto;
    max-width: 400px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.evenement-img {
    width: 100%;
    height: auto;
    transform: scale(1.1);
    transition: transform 0.2s ease-out;
    will-change: transform;
}

.evenement-texte {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    padding: 25px;
    position: absolute;
    bottom: 0;
    width: 100%;
	}

.evenement-texte h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.evenement-texte p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
   LOGO BARRE DES TACHES
======================================== */
.logo-img {
    height: 80px;   /* tu peux augmenter à 60 si besoin */
    width: auto;
    display: block;
}
.header.scrolled .logo-img {
    filter: brightness(0); /* convertit le logo en noir sur fond blanc */
}


.evenements {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: url("../images/evenement-bg.jpg") center/cover no-repeat;
}

.evenements::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  
}

@keyframes bgMove {
    0% {
        background-position: center;
        background-size: 110%;
    }
    50% {
        background-position: calc(50% + 20px) center;
        background-size: 115%;
    }
    100% {
        background-position: center;
        background-size: 110%;
    }
}


.evenements {
    position: relative;
    padding: 100px 0;
    background: url("../images/evenement-bg.jpg") center/cover no-repeat;
    background-size: 110%; /* empêche tout blanc */
    overflow: hidden;
}
.evenements {
    animation: bgMove 25s ease-in-out infinite;
}
.galerie {
    background: url("../images/galerie-bg.jpg") center/cover no-repeat;
    background-size: 110%;
    position: relative;
    overflow: hidden;
}


/* Titre de section avec image */
.event-title {
    text-align: center;
    margin-bottom: 2px;
}

.event-title-img {
    width: 320px;      /* Ajustable */
    max-width: 100%;
    margin-bottom: 0px;
    display: inline-block;
}

/* ========================================
   HOVER POUR EVENEMENT
======================================== */

.evenement-wrapper:hover .evenement-img {
    transform: scale(1.15) translateX(6px);
    filter: drop-shadow(0 0 12px rgba(99,102,241,0.6));
}

.evenement-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.evenement-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}
/* ========================================
======================================== */


.btn-img {
    height: 32px;   /* ajuste selon la taille voulue */
    width: auto;
    display: block;
    object-fit: contain;
}

.hero-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
}




/* =========================
   RESPONSIVE MOBILE
========================= */

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .navbar {
        height: 60px;
        padding: 0 15px;
    }

    .navbar-logo img {
        height: 50px;
    }

    .nav-links {
        display: none;
    }
	
	
	 .hero-buttons .btn {

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        padding: 0 !important;

        width: 220px;
        height: 78px;

        overflow: hidden;
    }

    .btn-img {

        display: block !important;

        margin: auto !important;

        width: auto;
        height: 32px;

        object-fit: contain;

        transform: translateY(-1px);
    }

	.hero {

        width: 100%;
        min-height: 100vh;

        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat;

    }
      .hero {
        min-height: 100vh;
        padding: 90px 18px 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-position: center;
        overflow: hidden;
    }

    .hero-content {
        width: 100%;
        max-width: 360px;
        text-align: center;
        transform: none;
    }

    .hero-logo,
    .hero-content img {
        width: 210px;
        max-width: 70vw;
        height: auto;
        margin: 0 auto 25px;
        display: block;
    }

    .hero h1,
    .hero-title {
        font-size: 1.35rem;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .hero p,
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.35;
        margin-bottom: 25px;
    }

    .hero-buttons {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 220px;
        min-height: 52px;
        padding: 10px 22px;
        background: rgba(0, 0, 0, 0.55);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 999px;
        backdrop-filter: blur(8px);
    }

    .btn-img {
        height: 26px;
        width: auto;
        display: block;
        filter: none;
    }

    section {
        padding: 70px 20px;
    }

    .section-title,
    h2 {
        font-size: 2rem;
        text-align: center;
    }

    .about-content,
    .services-grid,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 30px;
    }

    .service-card {
        width: 100%;
    }

   

    .gallery,
    .galerie,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .contact-form {
        width: 100%;
    }

    input,
    textarea,
    button {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .hero h1,
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title,
    h2 {
        font-size: 1.7rem;
    }

    .navbar-logo img {
        height: 45px;
    }

    .btn-img {
        height: 28px;
    }

    .evenement-img {
        height: 220px;
    }
}


/* =========================
   FIX PROCHAIN EVENT MOBILE
========================= */

@media (max-width: 768px) {

    .event-link {
        display: block;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        text-decoration: none;
        color: inherit;
    }

    #eventParallax.evenement-wrapper {
        width: 100% !important;
        max-width: 420px !important;
        height: 70vh !important;
        min-height: 520px !important;

        margin: 40px auto !important;
        padding: 0 !important;

        display: flex !important;
        align-items: flex-end !important;

        background-image: url("../images/event.jpg") !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;

        border-radius: 22px !important;
        overflow: hidden !important;
        position: relative !important;
    }

    #eventParallax .evenement-img {
        display: none !important;
    }

    #eventParallax .evenement-texte {

    position: absolute !important;

    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;

    padding: 20px 25px 30px !important;

    background:
    linear-gradient(
        to top,

        rgba(0,0,0,.78) 0%,
        rgba(0,0,0,.35) 40%,
        rgba(0,0,0,.08) 70%,
        transparent 100%

    );

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    color: white;

    text-align: center;

    z-index: 5;
}

    #eventParallax .evenement-texte h3 {
        font-size: 1.7rem !important;
        line-height: 1.15 !important;
        margin-bottom: 10px !important;
    }

    #eventParallax .evenement-texte p {
        font-size: 0.95rem !important;
        line-height: 1.25 !important;
        margin: 15px 0 0 !important;
    }
}

/* =========================
   EVENT BG FULLSCREEN MOBILE
========================= */

@media (max-width: 768px) {

    .evenements {

        width: 100vw;

        margin-left: calc(-50vw + 50%);

        padding: 90px 0 !important;

        background-image: url("../images/evenement-bg.jpg") !important;

        background-size: cover !important;
        background-position: center center !important;

        background-repeat: no-repeat !important;

        overflow: hidden;

        position: relative;
    }

    .evenements::before {

        content: "";

        position: absolute;

        inset: 0;

        background:
        linear-gradient(
            rgba(0,0,0,.20),
            rgba(0,0,0,.20)
        );

        z-index: 0;
    }

    .evenements > * {
        position: relative;
        z-index: 2;
    }

    #eventParallax {

        position: relative;

        z-index: 3;

        margin-top: 40px;
    }

}

@media (max-width: 768px) {

    .header {
        display: none !important;
    }

    .hero {
        padding-top: 0 !important;
    }

}




























/* ========================================
   PAGE EVENEMENTS PASSES
======================================== */

body.events-page {
    background: url("../images/evenement-bg.jpg") center/cover no-repeat fixed;
    min-height: 100vh;
    position: relative;
}

body.events-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    pointer-events: none;
    z-index: -1;
}

.events-page .events-hero {
    height: 60vh;
    background: transparent !important;
}

.events-page section {
    background: transparent !important;
}

.events-page footer {
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(8px);
}


/* Carte événement centrée */

.past-event {
    width: 100%;
    max-width: 760px;
    margin: 80px auto 0;
    padding: 25px;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 25px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    overflow: hidden;
}


/* Carrousel centré */

.carousel {
    position: relative;
    width: 100%;
    max-width: 650px;
    height: 450px;
    margin: 0 auto;

    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    opacity: 0;
    transition: opacity .4s ease;
}

.slide.active {
    opacity: 1;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: rgba(0,0,0,.5);
    color: white;

    z-index: 5;
    cursor: pointer;
    font-size: 25px;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}


/* Texte sous le carrousel */

.past-event .evenement-texte {
    position: relative !important;
    bottom: auto !important;

    width: 100%;
    max-width: 650px;

    margin: 25px auto 0;
    padding: 25px;

    text-align: center;

    background: rgba(0,0,0,.45);
    backdrop-filter: blur(8px);

    border-radius: 0 0 18px 18px;
}


/* Mobile */

@media(max-width:768px) {

    .past-event {
        max-width: 92%;
        padding: 18px;
        margin-top: 50px;
    }

    .carousel {
        height: 300px;
    }

    .past-event .evenement-texte {
        padding: 20px;
    }
}

@media(max-width:768px){

.past-event{

margin-top:80px;

/* largeur contrôlée */
width:100%;

max-width:900px;

/* centrage réel */
margin-left:auto;
margin-right:auto;

background:
rgba(255,255,255,0.05);

backdrop-filter:blur(10px);

border-radius:25px;

padding:35px;

display:flex;

flex-direction:column;

align-items:center;

justify-content:center;

text-align:center;

}

.carousel{

position:relative;

width:100%;

max-width:700px;

height:500px;

overflow:hidden;

border-radius:20px;

margin:auto;

}

}


/* UNIQUEMENT PAGE EVENEMENTS PASSES */

body.events-page{

background:
url("../images/evenement-bg.jpg");

background-size:cover;

background-position:center;

background-repeat:no-repeat;

background-attachment:fixed;

min-height:100vh;

position:relative;

}


body.events-page::before{

content:"";

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

background:
rgba(0,0,0,.45);

pointer-events:none;

z-index:-1;

}


/* Hero transparent */

.events-page .events-hero{

background:none;

}


/* Toutes les sections */

.events-page section{

background:transparent;

}


/* Footer */

.events-page footer{

background:rgba(0,0,0,.25);

backdrop-filter:blur(8px);

}


.evenement-texte{

max-width:700px;

margin-top:30px;

}

@media(max-width:768px){

.carousel{

height:300px;

}

.past-event{

padding:20px;

}

}

.evenement-texte{

width:100%;

max-width:700px;

margin:auto;

padding-top:25px;

text-align:center;

}



/* ========================================
   BOUTON EVENEMENTS PASSES
======================================== */

.old-events-btn-wrapper{

display:flex;

justify-content:center;

margin-top:45px;

}


.old-events-btn{

display:flex;

align-items:center;

justify-content:center;

padding:1px 2px;

border-radius:700px;

background:
rgba(0,0,0,.45);

backdrop-filter:blur(8px);

border:
1px solid rgba(255,255,255,.15);

transition:.3s;

}


.old-events-btn:hover{

transform:
translateY(-4px);

box-shadow:
0 12px 35px rgba(0,0,0,.3);

}


.old-events-img{

height:80px;

width:auto;

display:block;

}



@media(max-width:768px){

.old-events-btn{

width:230px;

padding:15px;

}

.old-events-img{

height:28px;

}

}