*{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin: 0;
}

body {
    background-image: url('../img/texture-1.png');
    background-repeat: repeat;
    background-size: auto;
    background-position: top left;
}


html {
    font-family: 'Inter', sans-serif;
    font-family: 'Rubik', sans-serif;
}

h1 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 54px;
}

h2 {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    margin-bottom: 15px;
    color: #fff;
}

h3 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 7px;
    color: #fff;
    margin-bottom: 16px;    
}

h4 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 7px;
    color: #fff;
    margin-bottom: 16px;    
}


p {
    font-family: 'Rubik', sans-serif;
    font-size: 22px;
    color: #fff;
}

a {
    text-decoration: none;
}

.h1 {
    margin-top: 48px;
}

.h2 {
    margin-bottom: -24px;
}

/*HEADER-NAVIGATION*/
  
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1280px;
    height: 60px;
    background-color: #343434;
    color: white;
    border-radius: 30px;
    border-bottom: 2px solid #7D5BED;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 0 20px;
    margin-top: 8px;
}

.navbar .logo a {
    text-decoration: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.nav-links ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 10px;
}

.nav-links a:hover {
    color: #7D5BED;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

.nav-logo {
    width: 90px;
    height: auto;
    display: flex;
}

/* Menu burger pour mobile */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}



/* Content */

.background-1 {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 96px 0;
    background-color: #111111;
}

.background-2 {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 96px 0;
    background-color: #232323;
}

.background-gh5 {
    width: 100%;
    height: auto;
}

.background-md4 {
    width: 100%;
    max-width: 1100px;           /* limite la largeur sur grands écrans */
    height: auto;
    display: flex;              /* on repasse en block pour le centrage propre */
    margin: 0 auto 60px;         /* centre l’image + espace en bas */
    border-radius: 36px;

    /* === OMBRE + GLOW VIOLET DOUX === */
    filter: drop-shadow(0 40px 100px rgba(125, 91, 237, 0.4))
            drop-shadow(0 0 120px rgba(125, 91, 237, 0.2));

    /* === EFFET 3D LÉGER + MOUVEMENT AU HOVER === */
    transform: perspective(1400px) rotateX(6deg) rotateY(-5deg);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.background-md4:hover {
    transform: perspective(1400px) rotateX(2deg) rotateY(-2deg) translateY(-20px);
    filter: drop-shadow(0 40px 100px rgba(125, 91, 237, 0.4))
            drop-shadow(0 0 120px rgba(125, 91, 237, 0.2));
}

.background-fond {
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 200px 0 96px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.background-actu {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    background-color: #232323;
}

.gabarit-actu {
    width: 50%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gab-actu {
    width: 500px;
    height: auto;
    display: flex;
    text-align: left;
    flex-direction: column;
}

.background-fond-2 {
    width: 50%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gabarit-1 {
    width: 1280px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 64px;
}

#gabarit-1-2 {
    flex-direction: row;
    justify-content: space-between;
}

.gabarit-2 {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 24px;
    padding: 64px;
    gap: 24px;
    background-color: #111111;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);   /* courbe de mouvement ultra fluide */
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.gabarit-3 {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #232323;
    padding: 48px;
    border-radius: 24px;
    gap: 32px;
    margin-top: -160px;
    z-index: 1;
}

.gabarit-4 {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 64px;
    gap: 48px;
    background-color: #232323;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}
.gab-4 {
    width: 100%;
    height: auto;
    display: flex;
}

.gab-4-txt {
    width: 50%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
    text-align: left;
    justify-content: center;
}

.gab-4-img {
    width: 50%;
    height: auto;
    display: flex;
}

.gab-4-img-2 {
    width: 600px;
    height: auto;
    display: flex;
    border-radius: 24px;
}

.gab-4 h4 {
    font-size: 28px;
}

.gab-4 h3 {
    font-size: 32px;
}

.star {
    width: 80px;
    height: auto;
    display: flex;
}

.pannel-1 {
    width: 100%;
    margin: 96px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    height: 800px;
}

.pannel-1 video {
    width: 600px;
    height: 800px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.7);
}

.pan-1 {
    width: 600px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.pan-1 img {
    width: 600px;
    height: 385px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);   /* courbe de mouvement ultra fluide */
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pan-1 img:hover {
    transform: translateY(-12px);        /* monte de 12 px */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);   /* ombre plus forte au survol */
}

.pannel-2 {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pan-2 {
    width: 400px;
    height: 440px;
    display: flex;
    border-radius: 24px;
    background-color: #111111;
    padding: 32px;
    flex-direction: column;
    gap: 24px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);   /* courbe de mouvement ultra fluide */
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.pannel-2 img {
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);   /* courbe de mouvement ultra fluide */
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.pannel-2 img:hover,
.pan-2:hover {
    transform: translateY(-12px);        /* monte de 12 px */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);   /* ombre plus forte au survol */
}

.pannel-3 {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pan-3 {
    width: 900px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111111;
    border-radius: 24px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);   /* courbe de mouvement ultra fluide */
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.pan-3-img {
    height: 100%;
    display: flex;
}

.pan-3-txt {
    width: 360px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
    justify-content: center;
}

#pan-3-1 {
    flex-direction: column;
}

#pan-3-1 a {
margin-top: 24px;}

.pan-4 {
    width: 348px;
    height: 600px;
    display: flex;
    background-color: #111111;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);   /* courbe de mouvement ultra fluide */
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.pannel-4 {
    width: 100%;
    height: 350px;
    display: flex;
    background-color: #232323;
    justify-content: space-between;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.pannel-4 img {
    height: 100%;
    width: auto;
    display: flex;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);   /* courbe de mouvement ultra fluide */
    transform: translateY(0);
}

.pannel-4 img:hover,
.pan-3:hover,
.pan-4:hover {
    transform: translateY(-12px);        /* monte de 12 px */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);   /* ombre plus forte au survol */
}

.pan-4 img {
    border-radius: 24px;
}

.pan-4-img {
    width: 100%;
    height: 100%;
    display: flex;
}

.buttons {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

#buttons {
    margin-top: -32px;
}

/* ================ BOUTONS SOBRES & PREMIUM ================ */
.button-1, .button-2 {
    position: relative;
    padding: 14px 32px;
    border-radius: 64px;
    font-weight: 600;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Bouton violet plein */
.button-1 {
    color: #fff;
    background-color: #7D5BED;
    border: none;
}

.button-1:hover {
    background-color: #6B4BE8;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 40px rgba(125, 91, 237, 0.35);
}

#button-1 {
    margin-top: 48px;
}

/* Bouton contour */
.button-2 {
    color: #7D5BED;
    background-color: transparent;
    border: 2px solid #7D5BED;
}

.button-2:hover {
    color: #fff;
    background-color: #7D5BED;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 40px rgba(125, 91, 237, 0.3);
}

/* Optionnel : petit glow très discret au hover (à garder, c’est magnifique) */
.button-1:hover,
.button-2:hover {
    box-shadow: 
        0 20px 40px rgba(125, 91, 237, 0.3),
        0 0 30px rgba(125, 91, 237, 0.15);
}

.hero-logo {
    width: 440px;                                    /* un peu plus imposant = plus premium */
    height: auto;
    display: block;
    margin: 32px auto 0;
    pointer-events: none;
    z-index: 10;

    /* 3D + suivi souris */
    transform: perspective(1600px) rotateX(0deg) rotateY(0deg) translateZ(40px);
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);

    /* GLOW VIOLET DOUX + PROFONDEUR */
    filter: 
        drop-shadow(0 0 20px rgba(125, 91, 237, 0.6))
        drop-shadow(0 0 50px rgba(125, 91, 237, 0.4))
        drop-shadow(0 0 90px rgba(125, 91, 237, 0.25))
        drop-shadow(0 20px 50px rgba(0, 0, 0, 0.7));

    /* Effet chrome très subtil (pas criard) */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg,
        #f0e6ff 0%,
        #ffffff 25%,
        #d4bbff 45%,
        #b794f6 60%,
        #9d7df0 80%,
        #7d5bed 100%
    );

    /* Légère bordure interne lumineuse */
    -webkit-text-stroke: 2px transparent;
    paint-order: stroke fill;

    /* Micro-pulsation ultra discrète (le glow respire) */
    animation: softBreath 10s ease-in-out infinite;
}

@keyframes softBreath {
    0%, 100% { 
        filter: 
            drop-shadow(0 0 20px rgba(125,91,237,0.6))
            drop-shadow(0 0 50px rgba(125,91,237,0.4))
            drop-shadow(0 0 90px rgba(125,91,237,0.25))
            drop-shadow(0 20px 50px rgba(0,0,0,0.7));
    }
    50% { 
        filter: 
            drop-shadow(0 0 30px rgba(125,91,237,0.8))
            drop-shadow(0 0 70px rgba(125,91,237,0.55))
            drop-shadow(0 0 120px rgba(125,91,237,0.35))
            drop-shadow(0 25px 60px rgba(0,0,0,0.8));
    }
}
@keyframes neonPulse {
    0%, 100% { filter: drop-shadow(0 0 30px #7D5BED) drop-shadow(0 0 80px #7D5BED) drop-shadow(0 20px 40px rgba(0,0,0,0.6)); }
    50%      { filter: drop-shadow(0 0 50px #7D5BED) drop-shadow(0 0 120px #7D5BED) drop-shadow(0 25px 50px rgba(0,0,0,0.8)); }
}

.presentation {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-presentation {
    width: 600px;
    height: 600px;
    display: flex;
    border-radius: 24px;
}

.actu {
    width: 818px;
    height: 440px;
    display: flex;
}

.cards-1 {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.cards-2 {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 96px 0 0 0;
    gap: 64px;
    flex-wrap: wrap;
}

.cards-3 {
    width: 1280px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cards-4 {
    width: 1280px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card-2 {
    width: 390px;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-2 img {
        border-radius: 24px;
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        overflow: hidden;
}

.card-8:hover,
.card-7:hover,
.card-6:hover,
.card-5:hover,
.card-4:hover,
.card-2 img:hover {
    transform: translateY(-12px);        
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);   
}

#card-2 {
    height: 530px;
}

.card-4 {
    width: 600px;
    height: 400px;
    display: flex;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    justify-content: center;
    align-items: end;
    padding: 32px;
}

.card-5 {
    width: 400px;
    height: auto;
    display: flex;
    background-color: #111111;
    padding: 32px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    border-radius: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-6 {
    background-color: #232323;
    width: 100%;
    height: auto;
    display: flex;
    padding: 32px;
    gap: 24px;
    flex-direction: column;
    text-align: left;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card-7 {
    width: 400px;
    height: auto;
    display: flex;
    flex-direction: column;
    background-color: #232323;
    border-radius: 24px;
    padding: 32px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card-8 img,
.card-7 img {
    width: 48px;
}

.card-8 {
    width: 300px;
    height: 250px;
    display: flex;
    flex-direction: column;
    background-color: #111;
    border-radius: 24px;
    padding: 32px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: #007bff solid 1px;
    margin-bottom: 32px;
    gap: 8px;
}

#margin-top {
    margin-top: 96px;
}

.conception {
    width: 300px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #343434;
    border-bottom: #7D5BED solid 2px;
    margin-top: -32px;
    padding:4px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 1;
}

.txt {
    display: flex;
    flex-direction: column;
    height: max-content;
    text-align: left;
    gap: 24px;
}

.text {
    width: 600px;
    height: auto;
    display: flex;
    padding: 32px;
    flex-direction: column;
}

.texte {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-direction: column;
}

.texte h2 {
    font-size: 32px;
}

.site-card-1 {
    width: 700px;
    height: auto;
    display: flex;
    border-radius: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    margin-top: 64px;
}





/* ================= CARROUSEL CONTAINER ================= */
.carousel-container {
    position: relative;
    width: 100%;
    margin: 120px 0;
    overflow: hidden;
    padding: 40px 0;
}

.carousel-track {
    display: flex;
    gap: 48px;
    padding: 64px max(100px, calc((100vw - 400px) / 2)) 60px max(100px, calc((100vw - 400px) / 2));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    padding: 64px 100px 60px 100px;
}

.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.dragging { cursor: grabbing; }

.carousel-track.no-snap { scroll-snap-type: none !important; }

.card-1 {
    flex: 0 0 400px;
    height: 600px;
    scroll-snap-align: center;
    border-radius: 32px;
    overflow: hidden;
    background: #232323;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover général */
.card-1:hover { 
    transform: translateY(-10px); 
}

/* Hover cartes centrales */
.card-1.center:hover { transform: translateY(-20px); box-shadow: 0 0 50px #fff;}
.card-1.near-center:hover { transform: translateY(-15px); box-shadow: 0 0 50px #fff;}

/* Flèches */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    background: #111;
    border: 2px solid #7D5BED;
    color: white;
    font-size: 36px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s ease;
    backdrop-filter: blur(12px);
    user-select: none;
}
.carousel-prev { left: 30px; }
.carousel-next { right: 30px; }
.carousel-prev:hover, .carousel-next:hover { transform: translateY(-50%) scale(1.15); background: #7D5BED; }

/* Indicateurs */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}
.carousel-indicators .indicator {
    width: 48px;
    height: 16px;
    background: #232323;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.carousel-indicators .indicator.active { background: #7D5BED; }





/* Conteneur de la carte */
.card-container {
  width: 330px;
  height: 450px;
  perspective: 1000px;
  margin: 0 auto;
}

/* Carte complète */
.card-3 {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  transform-style: preserve-3d;
  cursor: pointer;
}

/* Hover → flip + petite montée */
.card-container:hover .card-3 {
  transform: translateY(-15px) rotateY(180deg);
}

/* Les deux faces */
.front, .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Image dynamique via CSS variable */
.front {
  background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45)),
              var(--bg-image) center/cover no-repeat;
}

/* Nom en watermark dynamique */
.front::before {
  content: attr(data-title);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 42px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 8px;
  pointer-events: none;
  z-index: 1;
  text-shadow: 0 0 30px rgba(0,0,0,0.6);
  text-transform: uppercase;
}

/* Face arrière */
.back {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: white;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
}

.back h3 {
  margin: 0 0 18px 0;
  font-size: 28px;
  color: #00d4ff;
}

.back p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.95;
}

.card-link {
  display: block;
  width: 100%;
  height: 100%;
}



/* Overlay sombre */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

/* Contenu du modal */
.modal-content {
    position: relative;
    background-color: #1e1e1e;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: modalAppear 0.4s ease-out;
}

@keyframes modalAppear {
    from { transform: translateY(-50px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 34px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #fff;
}

.modal h2 {
    color: #fff;
    margin-top: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}

.modal p {
    color: #ccc;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #2a2a2a;
    color: #fff;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: #333;
    box-shadow: 0 0 0 2px #007bff;
}

.modal-submit {
    background: #007bff;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.modal-submit:hover {
    background: #0056b3;
}

/* Responsive */
@media (max-width: 600px) {
    .modal-content {
        margin: 10% auto;
        padding: 25px;
    }
}





/*FOOTER*/

.background-footer {
    height: 100%;
    width: 100%;
    display: flex;
    background-color: #232323;
    align-items: center;
    justify-content: center;
    padding: 64px 0 32px;
}

.footer {
    width: 80%;
    height: auto;
    display: flex;
    flex-direction: column;
    background-color: #161616;
    padding: 64px;
    border-radius: 16px;
    gap: 48px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.footer-1, .footer-2 {
    width: 100%;
    height: auto;
    display: flex;
    padding: 12px 0;
}

.footer-1-1 {
    width: 25%;
    height: auto;
    display: flex;
    float: left;
}

.footer-2 {
    width: 100%;
    display: flex;
    opacity: 0.6;
    align-items: center;
    text-align: center;
    justify-content: center;
}

#footer-1-4 {
    align-items: center;
    justify-content: center;
}

#footer-1-4 a, #footer-1-4 img {
    padding: 5px;
    width: 35px;
}

.footer li, a, ul {
    text-decoration: none;
    color: white;
    list-style: none;
    margin-top: 4px;
    font-size: 24px;
}

.footer a :hover {
    color: #7D5BED;
}

.footer-logo {
    width: 50%;
}




@media (max-width: 1024px) {
    .navbar {
        width: 100%;
        padding: 0 10px;
    }

    .form-container2 {
        padding: 15px;
    }

    .radio-group2 {
        flex-direction: column;
        gap: 10px;
    }

    h2 {
        font-size: 48px;
    }

    h3 {
        font-size: 32px;
    }

    p {
        font-size: 20px;
    }

    .navbar {
        width: 90%;
        padding: 0 32px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #343434;
        width: 100%;
        border-radius: 30px;
    }

    .nav-links.nav-active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .burger {
        display: flex;
    }

    .background-1,
    .background-2 {
        padding: 64px 48px;
    }

    .gabarit-1 {
        width: 100%;
    }

    #gabarit-1-2,
    .pannel-1,
    .pannel-2,
    .pannel-3, 
    .pannel-4,
    .background-actu,
    .gab-4 {
        flex-direction: column;
        height: auto;
    }

 
    .gab-4-txt {
        width: 100%;
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    .gab-4 {
        justify-content: center;
        align-items: center;
    }

    .pannel-3 {
        gap: 64px;
    }

    .pan-2, 
    .pan-3 {
        margin-bottom: 64px;
        width: 100%;
        height: auto;
        padding: 48px;
    }

    .pan-3 {
        flex-direction: column;
    }

    .pan-3-img {
        max-width: none;
        width: 100%;
    }

    .pan-3-txt {
        text-align: center;
        justify-content: center;
    }

    .pan-4 {
        width: 100%;
        justify-content: center;
    }

    .pan-4 img {
        height: max-content;
        width: auto;
        display: flex;
    }

    .txt {
        width: 100%;
        text-align: center;
    }

    .text {
        width: 100%;
        text-align: center;
        margin-top: 64px;
    }

    .cards-1 {
        flex-direction: column;
        align-items: center;
        gap: 64px;
    }

    .cards-3,
    .cards-4 {
        width: 100%;
        justify-content: space-around;
    }

    .background-fond {
        padding-left: 64px;
        padding-right: 64px;
    }

     .background-actu {
        padding: 64px;
        gap: 48px;
     }

     .gabarit-actu,
     .gab-actu {
        width: 100%;
        align-items: center;
        text-align: center;
        justify-content: center;
        gap: 32px;
     }

     .hero-logo {
        width: 300px;
        margin-top: 96px;
     }

    .footer-1 {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
    }

    .footer-1-1 {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .footer-1-1 ul {
        padding: 0;
    }

    .footer-2 {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .footer-2-1 {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 728px) {
    
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 24px;
    }

    p {
        font-size: 20px;
    }

    .hero-logo {
        width: 80%;
    }

    .buttons {
        flex-direction: column;
    }

    .button-1, 
    .button-2 {
        font-size: 16px;
        padding: 8px 16px;
    }

    .background-1,
    .background-2 {
        padding: 0;
    }
    
    .gabarit-1 {
        padding: 48px 16px;
    }

    .site-card-1,
    .pannel-1 video,
    .pan-1,
    .pan-1 img,
    .gab-4-img-2,
    .gab-4-img {
        width: 100%;
        height: auto;
    }

    .pannel-1 {
        margin: 0;
    }

    .carousel-container {
        margin: 0;
    }

    .gh5,
    .actu,
    .site-presentation {
        width: 100%;
        height: auto;
    }

    #buttons-2 {
        flex-direction: row;
    }

    .gabarit-4 {
        padding-right: 16px;
        padding-left: 16px;
    }

    .gab-4 {
        gap: 24px;
    }

    #gabarit-1-2 {
        margin-top: 64px;
    }

    .cards-2 {
        margin: 0;
    }

    .cards-3 {
        margin: 32px 0;
    }

    .background-actu {
        padding: 32px 0;
    }

    .background-fond-2 {
        width: 100%;
        height: auto;
    }

    .gabarit-actu {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cards-4 {
        margin: 32px 0;
    }

    .texte {
        padding: 32px 16px;
    }
}