* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   font-family: 'Arial', sans-serif;
}

body {
   font-family: 'Arial', sans-serif;
   background-color: rgb(22, 21, 49);
   color: #ffffff;
   overflow-x: hidden;
   background-image: url('./images/bell2.png');
   background-repeat: no-repeat;
   background-position: center top;
   background-size: 100% auto;
}

header {
   position: sticky;
   top: 0;
   z-index: 1000;
   background-color: rgb(25, 24, 59);
   color: white;
   padding: 1rem 0;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.container {
   display: flex;
   justify-content: space-between;
   align-items: center;
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 1rem;
}

.nav-links {
   display: flex;
   list-style: none;
   gap: 1.5rem;
}

.nav-links a {
   text-decoration: none;
   font-size: 1rem;
   color: white;
   font-weight: bold;
   padding: 0.5rem 1rem;
   border-radius: 8px;
   transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover {
   background-color: #252323;
   color: white;
}

.site-title-link {
   text-decoration: none;
}

.site-title {
   font-size: 2rem;
   font-family: 'Poppins', sans-serif;
   font-weight: bold;
   color: white;
   margin: 0;
   transition: transform 0.3s ease-in-out;
}

.site-title:hover {
   transform: scale(1.1);
}

.titreflèche {
   text-align: center;
   margin-top: 400px;
   margin-bottom: 15rem;
}

.titreflèche h1 {
   font-size: 5rem;
   text-transform: uppercase;
   letter-spacing: 2px;
}

.arrow-container {
   margin-top: 20px;
}

.arrow-down {
   display: inline-block;
   width: 30px;
   height: 30px;
   border-bottom: 3px solid white;
   border-right: 3px solid white;
   transform: rotate(45deg);
   animation: bounce 1.5s infinite;
}

@keyframes bounce {
   0%, 100% {
       transform: translateY(0) rotate(45deg);
   }
   50% {
       transform: translateY(15px) rotate(45deg);
   }
}



.container2, .container3, .container4 {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   align-items: center;

   width: 90%;
   margin: 45rem auto 2rem auto;
   padding: 2rem;

   background-color: rgba(25, 24, 59, 0.8);
   box-shadow: 0 4px 8px rgba(0, 0, 0, 1);
   border-radius: 20px;
}

.container3 {
   margin-top: 2rem;
   background-color: rgba(23, 18, 77, 0.8);
}

.container4 {
   margin-top: 2rem;
   background-color: rgba(14, 8, 78, 0.8);
}


.Boite1, .Boite4, .Boite5 {
   flex: 1 1 45%;
   display: flex;
   justify-content: center;
   align-items: center;
}

.Boite1 img {
   width: 620px;
   height: auto;
   border-radius: 20px;
   margin-top: 4rem;
}

.Boite4 img {
   width: 650px;
   height: auto;
   border-radius: 20px;
}

.Boite5 img {
   width: 450px;
   height: auto;
   border-radius: 20px;
}

.Boite2, .Boite3, .Boite6 {
   flex: 1 1 50%;
   padding: 2rem 3rem;
}

.Boite2 p, .Boite3 p, .Boite6 p {
   color: white;
   font-size: 1.25rem;
   line-height: 1.55;
   text-align: center;
}



.source {
   display: inline-flex;
   align-items: center;
   background: #1f6feb20;
   border: 1px solid #30363d;
   color: #0077ff;
   font-size: 0.8rem;
   border-radius: 6px;
   padding: 2px 6px;
   margin: 0 3px;
   text-decoration: none;
   transition: 0.2s;
}

.source:hover {
   background: #1f6feb40;
   border-color: #58a6ff;
}

.source::before {
   content: "📘 ";
   font-size: 0.85rem;
}


footer {
   text-align: center;
   padding: 2.5rem;
   background-color: rgb(25, 24, 59);
   color: white;
   margin-top: 2rem;
   height: 5rem;
}

/* --------------------------------------------------------- */
@media (max-width: 1024px) {
   .container2, .container3, .container4 {
      margin-top: 5rem !important;
   }
   .Boite1 img, .Boite4 img, .Boite5 img {
      width: 70%;
      margin: auto;
   }
}

@media (max-width: 768px) {
   .container2, .container3, .container4 {
      flex-direction: column;
      text-align: center;
      padding: 1.5rem;
   }

   .Boite2, .Boite3, .Boite6 {
      padding: 1rem;
   }

   .Boite2 p, .Boite3 p, .Boite6 p {
      font-size: 1rem;
      text-align: justify;
   }

   .titreflèche {
      margin-top: 200px;
   }
}

@media (max-width: 480px) {
   .site-title {
      font-size: 1.3rem;
   }

   .titreflèche h1 {
      font-size: 1.8rem;
   }

   .source {
      font-size: 0.7rem;
      padding: 2px 4px;
   }
}

.img-wrapper img {
    transition: filter 0.4s ease, transform 0.4s ease;
}

.img-wrapper:hover img {
    filter: grayscale(20%) brightness(80%);
    transform: scale(1.02);
}
