/* ========== RESET BASIQUE ========== */
@import url('/fonts/trenda/stylesheet.css');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} 
h1, h2, h3{
  font-family: 'Trenda', sans-serif; 
  font-weight: 900; 
  text-transform: uppercase;
}  
p{
  font-family: 'Trenda it', sans-serif;
  font-weight: normal; 
  font-style: normal;
}
a{
  font-family: 'Trenda it', sans-serif;
  font-weight: normal; 
  font-style: normal;
  
}
li{
  font-family: 'Trenda it', sans-serif;
  font-weight: normal; 
  font-style: normal;
}
body {
  margin: 0;              
  padding: 0;
  position: relative;      
  background-color: #fff; 
  min-height: 100vh;   
    
}
/* ========== NAVBAR ========== */
  /* Bouton "Contactez-nous" */
  .btn-contact {
    background-color: #FF7300;
    color: #fff;
    padding: 0.8rem 1.4rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
    cursor: pointer;
  }
  .btn-contact:hover {
    background-color: #100A4F;
  }
  
/* ========== SECTION HERO (optionnel) ========== */
.hero {
  max-width: 1500px;
  margin: 2vh auto;
  padding: 3rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.hero-text {
  max-width: 800px;
}

/* Style du titre principal */
.title-underline {
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.2;   
  display: inline-block;
  position: relative;
  color: #100A4F;
  margin-bottom: 1.5rem; 
  z-index: -1;
}

/*.title-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0em;  
  width: 100%;
  height: 0.2em;   
  background-color: #6abf99;
  opacity: 0.7;
  z-index: -1;
}
*/

/* Style du sous-texte */
.hero-text p {
  font-size: 1.3rem; 
  font-weight: 300; 
  color: #222; 
  margin-top: 0.3rem;
  margin-bottom: 2.5rem;
}

.hero-text p strong,
.hero-text p .highlight {
  color: #FF7300; /* Vert */
  font-weight: bold;
}

.cta-btn {
  background-color: #100A4F;
  color: #fff;
  padding: 0.8rem 1.4rem;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cta-btn:hover {
  background-color: #FF7300;
}

.hero-image img {
  width: 80vh;
  height: 60vh;
}

  /* ========== SECTION SOLUTIONS ========== */
  .solutions {
  max-width: 1600px;
  margin: 0vh auto;
  padding: 0rem 1rem;
  text-align: center;
  /*animationde la section*/
  opacity: 0; 
  transform: translate(-6vh, 8vh); 
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}


/* mettre la visible*/
.solutions.visible {
  opacity: 1;
  transform: translate(0, 0); 
}


/* Titre de la section avec soulignement */
.solutions-title {
  font-size: 2.5rem;
  font-weight: 500;
  color: #100A4F;
  margin-bottom: 2rem;
  position: relative; 
  display: inline-block; 
}

/* Barre de soulignement sous le titre 
.solutions-title::after {
  content: '';
  display: block;
  width: 90px;
  height: 3px;
  background-color: #6abf99;
  margin: 5px auto 0;
}*/

/* mettre la couleur vert pour le mot solution*/
.solutions-title span {
  color: #FF7300; 
}

/* Conteneur des solutions */
.solutions-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Style des boîtes de solutions */
.solution-box {
  flex: 1;
  min-width: 250px;
  max-width: 280px;
  background-color: #fff;
  padding: 0.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.solution-box:hover {
  transform: translateY(-5px);
}

/* Icônes des solutions */
.solution-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
}

/* Titre des solutions */
.solution-box h3 {
  font-size: 1.4rem;
  font-weight: bold;
  color: #100A4F;
  margin-bottom: 1rem;
}

/* Texte des solutions */
.solution-box p {
  font-size: 1.1rem;
  max-width: 100em;
  line-height: 1.4;
  color: #222;
}
        /* ========== FOOTER ========== */
        .footer {
            background-color: #111B52;
            padding: 3rem 2rem;
          }
          
          .footer-container {
            display: flex;
            justify-content: space-between;
            max-width: 1200px;
            margin: 0 auto;
            flex-wrap: wrap;
          }
          
          .footer-col {
            flex: 1;
            min-width: 200px;
            margin-bottom: 1.5rem;
            color: white;
          }
          
          .footer-logo img {
            max-width: 150px;
          }
          
          .footer-contact {
            font-size: 1rem;
            color: white;
            margin-top: 1rem;
          }
          
          .footer-contact a {
            text-decoration: none;
            color: white;
            font-weight: 500;
          }
          
          .footer-col h3 {
            font-size: 1.2rem;
            font-weight: bold;
            margin-bottom: 1rem;
          }
          
          .footer-col ul {
            list-style: none;
            padding: 0;
          }
          
          .footer-col ul li {
            margin-bottom: 0.5rem;
          }
          
          .footer-col ul li a {
            text-decoration: none;
            color: white;
            position: relative;
            transition: color 0.3s ease-in-out;
          }
          
          .footer-col ul li a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -2px; 
            width: 0%;
            height: 2px;
            background-color: #FF7300; /* underline couleur*/
            transition: width 0.3s ease-in-out;
          }
          
          .footer-col ul li a:hover {
            color: #FF7300; /* text couleur */
          }
          
          .footer-col ul li a:hover::after {
            width: 100%;
          }
          
          
          
          .footer-socials {
            display: flex;
            gap: 10px;
            margin-top: 1rem;
          }
          
          .footer-socials a {
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #e0e0e0;
            border-radius: 50%;
            text-decoration: none;
            color: #333;
            font-size: 1.2rem;
            transition: background 0.3s, color 0.3s;
          }
          
          .footer-socials a:hover {
            background-color: #2f6d4e; /* icone de reseaux sociaux */
            color: #fff;
          }
          
          
          
          
          
        /* Responsive pour tablettes et mobiles */
          @media screen and (max-width: 768px) {
            /* Justifier tous les paragraphes et les <li> du contenu principal, hors header et footer */
            body:not(header):not(footer) p,
            body:not(header):not(footer) li {
              text-align: justify !important;
              width: 100%;
            }
            .footer-container {
              flex-direction: column;
              text-align: center;
              
            }
            .footer div{
              margin-bottom: 3vh;
            }
         
            .footer-socials {
              justify-content: center;
            }
          }

/* Responsive Navbar */
  @media screen and (max-width: 768px) {
  /* Ajustement du Hero en mobile */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 0.5rem 1rem; 
    margin-top: 1vh; 
  }
  /* Ajustement du texte */
  .hero-text {
    max-width: 100%;
    padding: 0 1.5rem;
    margin: 0 auto;
  }
  /* Titre principal plus petit */
  .title-underline {
    font-size: 3.5rem;
    font-family: 'Trenda', sans-serif; font-weight: 900; color: #100A4F; text-transform: uppercase;
    line-height: 1.2;   
    display: inline-block;
    position: relative;
    margin-bottom: 1.5rem; 
    z-index: -1;
  }
  .title-underline::after {
    height: 0.15em; 
  }
  /* Ajustement du sous-texte */
  .hero-text p {
    font-size: 1.1rem; 
    margin-bottom: 1.8rem; 
  }
  /* Bouton CTA ajusté */
  .cta-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem; 
    border-radius: 15px;
  }
  /* ajustement de l'image */
  .hero-image {
    margin-top: 1rem;
  }
  .hero-image img {
    max-width: 90%; 
    height: auto; 
  }


  /*ajustement de solution section */
  .solutions-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
  }
  .solution-box {
    display: flex;
    /* Met l'image en bas par défaut */
    flex-direction: column-reverse; 
    align-items: center;
    text-align: center;
    max-width: 100%;
    padding: 1rem;
  }
  .solution-box img {
    width: 190px;
    height: 130px;
    margin-bottom: 1rem;
    padding: 10px 10px;
  }
  /* Alternance des sections */
  .solution-box:nth-child(odd) {
    /* Texte à gauche, image à droite */
    flex-direction: row-reverse; 
    text-align: left;
  }
  .solution-box:nth-child(even) {
    /* Image à gauche, texte à droite */
    flex-direction: row; 
    text-align: right;
  }
  .solution-box:nth-child(odd) p {
    text-align: left;
  }
  .solution-box:nth-child(even) p {
    text-align: right;
  }
  .solution-box h3 {
    width: 100%;
  }
  .solution-box p {
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.1;
    color: #444;
  }
  .solutions-title {
    font-size: 2rem;
    margin-top: 2.5vh;
    margin-bottom: 1vh;
  }
}


@media screen and (min-width: 768px) and (max-width: 1024px) {
  /* Ajustement du Hero en tablette */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 1rem 2rem; 
    margin-top: 2vh; 
  }

  /* Ajustement du texte */
  .hero-text {
    max-width: 90%;
    padding: 0 1.5rem;
    margin: 0 auto;
  }

  /* Titre principal */
  .title-underline {
    font-size: 2.8rem; 
    line-height: 1.3;
    margin-bottom: 1rem; 
  }

  /* Ajuste la taille du soulignement */
  .title-underline::after {
    height: 0.18em; 
  }

  /* Ajustement du sous-texte */
  .hero-text p {
    font-size: 1.1rem; 
    margin-bottom: 2rem; 
  }

  /* Bouton CTA */
  .cta-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 18px;
  }

  /* Image adaptée pour tablette */
  .hero-image {
    margin-top: 3rem;
  }

  .hero-image img {
    max-width: 85%; 
    height: auto;
  }
  /*ajustement de solution section*/
  .solutions-title {
    margin-top: 3vh
  }
  .solutions-container {
    justify-content: center;
  }

  .solution-box {
    max-width: 45%;
  }
}
