body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
}

header {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 8em 2em;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

a { color: white; }
a:hover { color: #ccc; }

.header-content h1 {
    font-size: 3.5em;
    margin: 0;
    text-transform: uppercase;
    animation: fadeInDown 1.5s ease-in-out;
}

.header-content p {
    font-size: 1.5em;
    font-weight: 300;
    margin: 0;
    animation: fadeInUp 1.5s ease-in-out;
}

.header-content .btn,
.header-content .btnr {
    display: inline-block;
    vertical-align: middle;
    padding: 1em 2em;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0),
                 -1px -1px 0px #000,
                 1px -1px 0px #000,
                 -1px 1px 0px #000,
                 1px 1px 0px #000;
    opacity: 0.85;
    border-radius: 50px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: fadeInUp 2s ease-in-out;
    margin-top: 2em;
    font-size: 1.5rem;
    line-height: 1.2;
}

.header-content .btnr {
    background-color: #e91e63;
    margin-right: 1em;
}
.header-content .btnr:hover {
    background-color: #c2185b;
    transform: scale(1.05);
    opacity: 1;
}

.header-content .btn {
    background-color: #1abc9c;
}
.header-content .btn:hover {
    background-color: #16a085;
    transform: scale(1.05);
    opacity: 1;
}




nav ul {
    list-style: none;
    padding: 0;
    margin-top: 0.6em;
    text-align: center;
    animation: fadeInUp 2s ease-in-out;
}

nav ul li {
    display: inline-block;
    margin: 0 1em;
}






nav ul li a {
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8), -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000, 1px 1px 0px #000;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s;
}

nav ul li a:hover {
    border-bottom: 2px solid #fff;
}

section {
    padding: 4em 2em;
    background-color: #f9f9f9;
    margin: 1em 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
}

section:hover {
    transform: scale(1.02);
}

header, .header-content {
    position: relative;
    z-index: 1;
}

.video-background {
    position: absolute;
    top: 0;
    left:0;
    right:0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -100;

}



video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Keyframe Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.5em;
    }

    .header-content p {
        font-size: 1.2em;
    }

    .header-content .btn {
        padding: 0.8em 1.6em;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0), -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000, 1px 1px 0px #000;
        opacity: 0.85;
        font-size: 1em;
    }

    nav ul {
        text-align: center;
    }

    nav ul li {
        color: red;
        margin: 0.5em 0;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8), -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000, 1px 1px 0px #000;

    }

    section h2 {
        font-size: 2em;
    }

    .video-background video {
        object-position: center;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 2em;
    }

    .header-content p {
        font-size: 1em;
    }

    .header-content .btn {
        padding: 0.6em 1.2em;
        font-size: 0.8em;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0), -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000, 1px 1px 0px #000;
        opacity: 0.85;
    }

    nav ul {
        display: flex;
        flex-direction: column;
    }

    nav ul li {
        color: red;
        margin: 0.5em 0;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8), -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000, 1px 1px 0px #000;

    }
}


.section-fond {
    background-size: cover;
    transition: background-image 1s ease-in-out;
    background: #3e065f;

    background-position: center;
    z-index: 0;
}
.bg5 {
background-image: url('fotoobsxbg5.jpeg');
-webkit-filter: grayscale(91%);
filter: grayscale(91%);

}
.bg2 { background-image: url('fotoobsxbg2.jpeg'); }
.bg3 { background-image: url('fotoobsxbg3.jpeg'); }
.bg4 { background-image: url('fotoobsxbg4.jpeg'); }
.bg1 { background-image: url('fotoobsxbg1.jpeg'); }
.bg6 { background-image: url('fotoobsxbg6.jpeg'); }



@keyframes backgroundSlide {
  0% {
    background-image: url('fotoobsxbg1.jpeg');
  }
  20% {
    background-image: url('fotoobsxbg2.jpeg');
  }
  40% {
    background-image: url('fotoobsxbg3.jpeg');
  }
  60% {
    background-image: url('fotoobsxbg4.jpeg');
  }
  80% {
    background-image: url('fotoobsxbg5.jpeg');
    -webkit-filter: grayscale(91%);
    filter: grayscale(91%);
  }
  100% {
    background-image: url('fotoobsxbg6.jpeg');
  }
}

.section-fond.auto-bg {
  animation: backgroundSlide 15s infinite;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
  z-index: 0;
}


.contenu {
      display: flex;
      flex-direction: column; /* Par défaut pour les petits écrans */
      gap: 20px;
      width: 100%;

  }

  @media (min-width: 768px) { /* À partir de 768px : deux colonnes */
      .contenu {
          flex-direction: row;
          justify-content: space-between;
          align-items: center;
      }
  }

  .colonne {
      flex: 1;
  }

  .colonne h2 {
      font-size: 2rem;
  }

  .colonne p {
      font-size: 1.2rem;
      line-height: 1.5;
  }

        #accroche {
            height: 25vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(135deg, #ff4b2b, #ff416c);
            background-size: 400% 400%;
            animation: gradientAnimation 15s ease infinite, pulseAnimation 2s infinite, starsAnimation 3s infinite;
            font-family: 'Arial', sans-serif;
            overflow: hidden;
            position: relative;
            padding: 20px;
            box-sizing: border-box;
        }
        @keyframes gradientAnimation {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        @keyframes pulseAnimation {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        @keyframes starsAnimation {
            0%, 100% { opacity: 0.8; }
            50% { opacity: 1; }
        }
        #accroche .stars {
            position: absolute;
            width: 2px;
            height: 2px;
            background: white;
            box-shadow: 0 0 2px 1px rgba(255, 255, 255, 0.8);
            border-radius: 50%;
        }
        #accroche .stars:nth-child(1) {
            top: 20%;
            left: 35%;
        }
        #accroche .stars:nth-child(2) {
            top: 40%;
            left: 60%;
        }
        #accroche .stars:nth-child(3) {
            top: 70%;
            left: 25%;
        }
        #accroche .stars:nth-child(4) {
            top: 80%;
            left: 45%;
        }
        #accroche .stars:nth-child(5) {
            top: 50%;
            left: 80%;
        }
        #accroche h1 {
            color: white;
            text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.85);
            text-align: center;
            font-size: 2rem;
        }
        @media (max-width: 600px) {
            #accroche h1 {
                font-size: 1.5rem;
            }
        }



.footer-content {
    display: flex;
    flex-direction: column;
    padding: 2em 5%;
    background: linear-gradient(135deg, #000000, #1abc9c);
    color: #fff;
    border-top: 1px solid #e0e0e0;
    animation: pulse 5s infinite;
}

.footer-section {
    flex-basis: 100%;
    padding: 0 1em;
    text-align: center;
    margin-bottom: 1em;
}

.footer-section h2 {
  text-color: white;
    font-size: 1.5em;
    margin-bottom: 1em;
    animation: fadeIn 2s ease-in-out;
}

.footer-section p, .footer-section ul {
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5em;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e0e0e0;
    transform: scale(1.1);
}

.footer-logo {
    margin-top: 1em;
    animation: bounceIn 2s;
}

.footer-section .socials a {
    margin-right: 0.5em;
    transition: transform 0.3s ease;
}

.footer-section .socials img {
    width: 32px;
    height: 32px;
}

.footer-section .socials a:hover {
    transform: scale(1.2) rotate(10deg);
}

.footer-bottom {
    text-align: center;
    padding: 1em 0;
    background-color: black;
    color: #fff;
    border-top: 1px solid #e0e0e0;
    position: relative;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    animation: shake 3s infinite;
}

.footer-bottom a:hover {
    text-decoration: underline;
    transform: scale(1.05);
}

.scroll-top {
    position: absolute;
    right: 20px;
    bottom: 20px;
    animation: slideInUp 2s;
}

.scroll-top a {
    display: inline-block;
    padding: 10px;
    background-color: #1abc9c;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.scroll-top img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.scroll-top a:hover img {
    transform: scale(1.2) rotate(-10deg);
}



@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-section {
        flex-basis: 30%;
        text-align: left;
    }

    .footer-section.links, .footer-section.contact {
        text-align: center;
        text-color: white;
    }
}

@keyframes pulse {
    0% { background-color: #1abc9c; }
    50% { background-color: #16a085; }
    100% { background-color: #1abc9c; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

@keyframes slideInUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.container {
         width: 100%;
         padding-left: 15px;
         padding-right: 15px;
     }

     .newsletter-div {
         width: 100%;
         padding: 40px;
         background: rgba(255, 255, 255, 0.9);
         border-radius: 15px;
         box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
         text-align: center;
         margin-top: 20px;
         margin-bottom: 20px;
         transition: box-shadow 0.5s ease, transform 0.5s ease, opacity 0.5s ease;
         opacity: 0;
         transform: translateY(50px);
     }

     .newsletter-div.visible {
         opacity: 1;
         transform: translateY(0);
         animation: slideIn 0.6s ease-out;
     }

     @keyframes slideIn {
         0% {
             opacity: 0;
             transform: translateY(50px);
         }
         100% {
             opacity: 1;
             transform: translateY(0);
         }
     }

     .newsletter-div h2 {
         font-family: 'Lora', serif;
         font-size: 2.6em;
         color: #1e3c72;
         margin-bottom: 20px;
         animation: fadeIn 1s ease-in-out;
     }

     @keyframes fadeIn {
         0% {
             opacity: 0;
         }
         100% {
             opacity: 1;
         }
     }

     .newsletter-div p {
         font-size: 1.3em;
         color: #666666;
         margin-bottom: 30px;
     }

     .newsletter-div input[type="email"] {
         width: 100%;
         padding: 15px;
         margin-bottom: 20px;
         border: 2px solid #1e3c72;
         border-radius: 30px;
         box-sizing: border-box;
         font-size: 1.1em;
         transition: border-color 0.3s ease, box-shadow 0.3s ease;
     }

     .newsletter-div button {
         width: 100%;
         padding: 15px;
         background-color: #1e3c72;
         color: #ffffff;
         border: none;
         border-radius: 30px;
         font-size: 1.2em;
         cursor: pointer;
         box-sizing: border-box;
         transition: background-color 0.3s ease, transform 0.3s ease;
     }

     .newsletter-div button:hover {
         background-color: #162d59;
         transform: scale(1.05);
     }

     .newsletter-div input[type="email"]:focus {
         border-color: #1e3c72;
         box-shadow: 0 0 8px rgba(30, 60, 114, 0.5);
     }

     /* Responsive adjustments */
     @media (max-width: 600px) {
         .container {
             padding-left: 2.5%;
             padding-right: 2.5%;
         }

         .newsletter-div h2 {
             font-size: 1.8em;
         }

         .newsletter-div p, .newsletter-div input[type="email"], .newsletter-div button {
             font-size: 1em;
         }
     }

.containerap {
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
}

.containerap h1 {
    color: #007acc;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}
.containerap h2 {
    color: #007acc;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.containerap h3 {
    color: #007acc;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.intro, .values, .team, .mission, .services, .join-us, .vision, .cequenousfaisons {
    margin-bottom: 30px;
}

p {
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
}

li i {
    color: #1abc9c;
    margin-right: 10px;
}

.join-us a {
    color: #1abc9c;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.join-us a:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
    .video-background video {
        display: none;
    }

    .video-background img {
        display: block;
        position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: auto; height: auto; max-width: 100%; max-height: 100%; width: 100%; object-fit: cover;
    }
}


.fondimmersif {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

@media only screen and (max-width: 768px) {
    .video-container {
        display: none;
    }
    .video-container-mobile {
        display: block;
    }
}

@media only screen and (min-width: 769px) {
    .video-container {
        display: block;
    }
    .video-container-mobile {
        display: none;
    }
}


.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    animation: moveAndZoom 20s infinite, fadeInOut 60s infinite;
}

.background-video[data-index="1"] {
    animation-delay: 0s, 0s;
}

.background-video[data-index="2"] {
    animation-delay: 0s, 15s;
}

.background-video[data-index="3"] {
    animation-delay: 0s, 30s;
}

.background-video[data-index="4"] {
    animation-delay: 0s, 45s;
}

@keyframes moveAndZoom {
    0%, 20% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    25% { transform: translate(-50%, -50%) scale(1.1) translate(-10px, -10px) rotate(5deg); }
    45% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    50% { transform: translate(-50%, -50%) scale(1.1) translate(10px, -10px) rotate(-5deg); }
    70% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    75% { transform: translate(-50%, -50%) scale(1.1) translate(-10px, 10px) rotate(5deg); }
    90% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    95% { transform: translate(-50%, -50%) scale(1.1) translate(10px, 10px) rotate(-5deg); }
    100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
}

@keyframes fadeInOut {
    0%, 24% { opacity: 1; }
    25%, 99% { opacity: 0; }
    100% { opacity: 1; }
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.fondimmersif .overlay {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    padding: 20px;
    animation: fadeIn 2s ease-in-out;
}

.animated-title {
    font-size: 3em; /* Taille du texte */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Ombre portée */
    animation: textGlow 3s infinite alternate; /* Animation de lueur */
}

@keyframes textGlow {
    0% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); }
    100% { text-shadow:


        .content { min-height: calc(100vh - 50px); /* Ajuste 50px à la hauteur de ton footer */ padding: 20px; } footer { height: 50px; /* Ajuste cette valeur selon la hauteur réelle de ton footer */ background-color: #f1f1f1; text-align: center; padding: 10px 0; }

        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');

        /* Animation d'apparition */
        @keyframes fadeSlideUp {
          0% {
            opacity: 0;
            transform: translateY(40px);
          }
          100% {
            opacity: 1;
            transform: translateY(0);
          }
        }

        /* Container centré et animé */
        .container_c {
          display: flex;
          justify-content: center;
          align-items: center;
          padding: 50px 20px;
          background: linear-gradient(135deg, #ff416c, #ff4b2b);
          min-height: 350px;
          border-radius: 20px;
          box-shadow: 0 15px 30px rgba(255, 75, 43, 0.4);
          font-family: 'Poppins', sans-serif;
          color: #fff;
          text-align: center;
          max-width: 480px;
          margin: 40px auto;
          position: relative;
          overflow: hidden;

          animation: fadeSlideUp 1.2s ease forwards;
          animation-delay: 0.3s;
        }

        /* Effet léger animé en arrière-plan */
        .container_c::before {
          content: "";
          position: absolute;
          top: -40%;
          left: -40%;
          width: 180%;
          height: 180%;
          background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 70%);
          animation: pulseGlow 6s ease-in-out infinite;
          border-radius: 50%;
          pointer-events: none;
          z-index: 0;
        }
        @keyframes pulseGlow {
          0%, 100% { transform: scale(1); opacity: 0.18;}
          50% { transform: scale(1.3); opacity: 0.3;}
        }

        /* Newsletter block au-dessus */
        .newsletter-div_c {
          position: relative;
          z-index: 1;
        }

        /* Titres ultra stylés avec dégradé chaud */
        .newsletter-div_c h2 {
          font-weight: 800;
          font-size: 2.4rem;
          margin-bottom: 12px;
          text-transform: uppercase;
          letter-spacing: 2px;
          background: linear-gradient(90deg, #ff416c, #ff4b2b);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          text-shadow: 0 2px 5px rgba(0,0,0,0.3);
        }

        /* Petit sous-titre en italique */
        .newsletter-div_c h2 span {
          font-weight: 600;
          font-style: italic;
          color: #fff9f7;
          letter-spacing: 1px;
          text-shadow: 0 1px 4px rgba(0,0,0,0.25);
        }

        /* Paragraphe descriptif */
        .newsletter-div_c p {
          font-size: 1.05rem;
          margin: 20px 0 30px;
          color: #ffe8e0cc;
          line-height: 1.5;
        }

        /* Formulaire centré */
        .newsletter-div_c form {
          display: flex;
          gap: 10px;
          justify-content: center;
          flex-wrap: wrap;
        }

        /* Input mail stylé */
        .newsletter-div_c input[type="email"] {
          flex: 1 1 220px;
          padding: 15px 20px;
          border-radius: 50px;
          border: none;
          font-size: 1.1rem;
          font-weight: 600;
          outline: none;
          box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
          transition: box-shadow 0.3s ease, background-color 0.3s ease;
          color: #222;
        }

        /* Focus input */
        .newsletter-div_c input[type="email"]:focus {
          box-shadow: 0 0 20px #fff3e0;
          background-color: #fff;
        }

        /* Bouton ultra chaud */
        .newsletter-div_c button {
          background: linear-gradient(45deg, #ff6a00, #ee0979);
          color: white;
          font-weight: 800;
          border: none;
          padding: 15px 30px;
          border-radius: 50px;
          font-size: 1.1rem;
          cursor: pointer;
          box-shadow: 0 8px 20px rgba(238, 9, 121, 0.7);
          transition: background 0.3s ease, transform 0.3s ease;
          text-transform: uppercase;
          letter-spacing: 1.2px;
          user-select: none;
        }

        /* Hover bouton */
        .newsletter-div_c button:hover {
          background: linear-gradient(45deg, #ee0979, #ff6a00);
          transform: scale(1.05);
          box-shadow: 0 12px 28px rgba(255, 106, 0, 0.85);
        }

        /* Responsive (petits écrans) */
        @media (max-width: 500px) {
          .newsletter-div_c form {
            flex-direction: column;
            gap: 15px;
          }

          .newsletter-div_c input[type="email"] {
            width: 100%;
          }

          .newsletter-div_c button {
            width: 100%;
          }
        }
