@import url('/fonts/trenda/stylesheet.css');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}  
/* Paragraphes — Trenda Regular */
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;
}

/* ========== SECTION HERO ========== */
/* ========== SECTION HERO ========== */
.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: #111;
    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.4rem; 
    font-weight: 300; 
    color: #222; 
    margin-top: 0.3rem;
    margin-bottom: 2.5rem;
  }
  
 .highlight {
    color: #FF7300; /* Vert */
    font-weight: bold;
  }
  
  .cta-btn {
    background-color: #FF7300;
    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: #100A4F;
  }
  
  .hero-image img {
    width: 80vh;
    height: 60vh;
  }
/* Boutons de filtre */
.filter-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 7 boutons par ligne sur PC */
    gap: 10px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto 20px auto; /* Centre le conteneur et ajoute margin-bottom */
    justify-content: center; /* Centre les boutons à l'intérieur */
}



.filter-btn {
    background-color: #100A4F;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    font-size: 16px;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #ff7300e4;
}

/* Conteneur des articles */
.blog-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes par ligne */
    gap: 20px;
    max-width: 1200px; /* Largeur maximale pour éviter qu'il s'étale trop */
    width: 100%;
    margin: 0 auto; /* Centrer horizontalement */
    justify-content: center; /* Centrage des éléments */
}


.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    display: none; /* Cacher tous les articles par défaut */
}

.blog-card.show {
    display: block; /* Montrer seulement les articles filtrés */
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    position: relative;
}

.blog-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 12px;
    text-transform: uppercase;
}

.blog-content {
    padding: 15px;
}

.blog-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-family: 'Trenda', sans-serif; font-weight: 900; color: #100A4F; text-transform: uppercase;
}

.blog-meta {
    color: #333;
    font-family: 'Trenda it', sans-serif; font-weight: normal; font-style: normal; font-size: 0.9rem;
}

.blog-link {
    display: inline-block;
    margin-top: 10px;
    color: #100A4F;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Trenda it',
}

.blog-link:hover {
    text-decoration: underline;
}
.cta-buttons {
margin-top: 40px;
justify-content: center;
text-align: center;
}
.cta-buttons button {
background-color: #FF7300;
color: white;
border: none;
padding: 15px 25px;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
margin: 10px;
}
.cta-buttons button:hover {
background-color: #100A4F;
}

         /* ========== FOOTER ========== */
        .footer {
            background-color: #100A4F;
            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;
            }
          }

/*
.expertrice-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.expertrice-title::after {
    content: '';
    display: block;
    width: 30vh;
    height: 3px;
    background-color: #6abf99;
    margin: 5px auto 0;
}
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 20px auto;
    margin-bottom: 20vh;
    overflow: hidden;
}
.carousel-wrapper {
    display: flex;
    overflow: hidden;
    width: 100%;
}
.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-item {
    min-width: calc(100% / 3);
    text-align: center;
    padding: 10px;
}
.carousel-item img {
    width: 100%;
    height: 45vh;
    border-radius: 10px;
}
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}
.carousel-prev {
    left: 10px;
}
.carousel-next {
    right: 10px;
}*/

@media (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;
  }
    .filter-container {
        grid-template-columns: repeat(5, 1fr);
    }
    .blog-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (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: 2.2rem; 
    line-height: 1.3;
    margin-bottom: 1rem; 
    }
    .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; 
    }
    .blog-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .filter-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

