
/* Style général du corps du document */
body {
    font-family: Arial, sans-serif;
}

@media (min-width: 1200px) {
.les-textes {
    font-size: 22px;
}
.les-titres {
    font-size: 32px;
}
h3 {font-size: 28px;}
}

@media (max-width:1100px) {
    .les-textes {font-size: 20px;}
    .les-titres {font-size: 28px;}
h3 {font-size: 24px;}
}
@media (max-width:768px) {
    .les-textes {font-size: 18px;}
    .les-titres {font-size: 24px;}
    h3 {font-size: 22px;}
}

@media (max-width:480px) {
    .les-titres {font-size: 16px;}
    .les-titres  {font-size: 20px;}
    h3 {font-size: 18px;
}

}

/* Définition de la variable des couleurs  */
:root {
    --orangef: #ff6233;
    --orangec: #ffbd59;
    --gris: #545454;
    --noir: #15171c; 
}

/* Style de la section de la bannière */
.banner-section {
 
    background-image: url('Images/A\ propos/banner.png'); 
    height: 800px;
    background-size: cover; /* S'assure que l'image couvre toute la section */
    background-position: top; /* Centre l'image */
    color: white; /* Texte en blanc pour le contraste */
    padding: 100px 20px; /* Espacement autour du contenu de la bannière */
    text-align: left; /* Centre le texte */
    position: relative; /* Position relative pour l'utilisation de ::before */
    margin-top: 5%;
}
/* Conteneur du contenu de la bannière */
.banner-content {
    position: relative; 
    z-index: 2; 
}

/* Style du titre principal */
.banner-content h1 {
    text-transform: uppercase;
    font-weight: bold;
    color: #FF6233;
    font-size: 50px; /* Taille de la police du titre */
    margin-top: 270px; /* Espace sous le titre */
    margin-left: 6% ;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
@media (min-width: 900px) and (max-width: 1310px) {

    .banner-section{
        height: 650px;
        margin-top: 10%;
    }
    .banner-content h1 {
        margin-top: 20%;
    }
}

@media (max-width: 768px) {
    .banner-section {
        padding: 80px 15px; /* Réduit le padding autour du contenu */
        height: 400px;
        margin-top: 6%;
        background-position: center; /* Centre l'image pour les tablettes */
    }

    .banner-content h1 {
        font-size: 30px; /* Réduit la taille du titre pour les écrans plus petits */
        margin-top: 25%;
    }

}

/* Responsivité pour les smartphones (écrans ≤ 480px de largeur) */
@media (max-width: 480px) {
    .banner-section {
        padding: 60px 10px; 
        height: 250px;
        margin-top: 11%;
        background-size: cover; /* Assure que l'image couvre toujours toute la section, même sur les petits écrans */
        background-position: center; /* Centre l'image sur les petits écrans */
    }

    .banner-content h1 {
        font-size: 20px; /* Réduit la taille du titre pour les très petits écrans */
        margin-top: 80px;
    }

}
/***************************************************************************************/
.about-us1 h2 {
    color: #FF6233; /* Couleur orange pour le titre */
    text-align: center;
    margin-bottom: 5%;
    text-transform: uppercase;
    letter-spacing: 2px;

}
.about-usImg h2 {
    color: #FF6233; /* Couleur orange pour le titre */
    text-align: center;
    margin-bottom: 5%;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.text-container {
    max-width: 1200px;
    margin: 0 auto;
   
}
.text-container2 {
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.6;
}

.text-container .titre{
    padding-left: 20px;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    margin-right: 15px; /* Espace entre la lettre initiale et le texte */ line-height: 1.6;
    opacity: 0; /* Initialement caché */
    animation: focusInContractBck 1s ease-in-out 1 normal forwards, pauseAfter 6s 1s forwards; /* Pause après l'animation */
}

.initial {
    color: #FF6233; /* Couleur orange pour la lettre initiale "T" */
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    margin-right: 15px; /* Espace entre la lettre initiale et le texte */
}

.text {
    color: black; /* Couleur noire pour le texte */
    text-align: justify;
}

/* Animation focus-in-contract-bck */
@keyframes focusInContractBck {
  0% {
    letter-spacing: 1em;
    transform: translateZ(300px);
    opacity: 0;
  }
  100% {
    letter-spacing: normal;
    transform: translateZ(0);
    opacity: 1;
  }
}

/* Appliquer l'animation lorsque l'élément devient visible */
.active {
  animation: focusInContractBck 1s ease forwards;
}

/* Responsivité pour les petits écrans */
@media (max-width: 768px) {
    .about-us1 h2 {
        margin-bottom: 20px;
    }

    .text-container {
        flex-direction: column;
        align-items: center;
    }

    .initial {
        font-size: 22px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .text-container .titre {
        font-size: 22px;
    }

    .text {
        padding: 20px;
        text-align: justify;
    }
}


/*****************************************************************************/
/* Debut de la section a propos de nous */

.about-us {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}
.about{
    padding: 10px;
    background-color: #F6F6F6;
    margin-bottom: 3%;
}

.about-us h2 {
    color: var(--orangef); /* Couleur orange pour le titre */
    text-align: left;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.accordion {
    flex: 1;
    max-width: 60%;
}

.accordion-item {
    margin-bottom: 15px;
}

.accordion-button {
    width: 100%;
    padding: 15px 20px;
    background-color: #f6f6f6;
    border: 1px solid #ccc;
    text-align: left;
    font-size: 18px;
    color: var(--orangef);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    text-transform: uppercase;
}

.accordion-button .arrow {
    font-size: 24px;
    transform: rotate(180deg);  /* rotation des icones */
    transition: transform 0.3s;
}

.accordion-content {
    display: none;
    padding: 15px 20px;
    box-shadow: #000;
    background-color: #ffffff;
    border: 1px solid #F6F6F6;
    border-top: none;
    font-size: 16px;
    color: #333;
}

/* Affiche le premier contenu par défaut */
#vision.accordion-content {
    display: block;
}

.image-container {
    flex: 1;
    max-width: 35%;
    text-align: right;
    position: relative;
}

.accordion-image {
    max-width: 100%;
    height: 300px;
    border-radius: 8px;
    display: none; /* Les images sont cachées par défaut */
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    transform-origin: top; /* Assure que l'animation commence depuis le haut */
    transition: opacity 0.45s ease-out;
}
.accordion-image.show {
    display: block;
    opacity: 1;
    animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  }

/* Affiche la première image par défaut */
#image1.accordion-image {
    display: block;

}
.text1{
    max-width: 1200px;
    text-align: center;
}
@keyframes slide-in-right {
    0% {
      -webkit-transform: translateX(1000px);
              transform: translateX(1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
      opacity: 1;
    }
  }
  
  
  

/* Responsivité pour les petits écrans */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }

    .accordion {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .image-container {
        max-width: 100%;
        height: auto;
        text-align: center;
    }

    .accordion-image {
        position: static;
        width: 100%;
        height: 80%
    }
}
/**********************************************************************/



.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 4 colonnes */
    grid-gap: 20px;
    padding: 20px;
    max-width: 1200px; /* Limite la largeur maximale à 1200px */
    margin: 0 auto; /* Centre la galerie horizontalement */
    margin-bottom: 5%;
}


.gallery-item {
    width: 100%;
    height: auto;
    overflow: hidden;
    border: 4px solid var(--orangef); /* Bordure orange */
    border-radius: 20px;
}

/* Décaler les colonnes 2 et 4 vers le bas */
.gallery-item:nth-child(2),
.gallery-item:nth-child(4),
.gallery-item:nth-child(7),
.gallery-item:nth-child(9) {
    transform: translateY(50px); /* Décale les images de 40px vers le bas */

}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

/* Animation personnalisée */
@keyframes moveInBottom {
    0% {
      transform: translateY(100%);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Animation pour entrer par le haut */
  @keyframes moveInTop {
    0% {
      transform: translateY(-100%);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  .move-in-bottom {
    animation: moveInBottom 5s ease-out infinite;
  }
  
  .move-in-top {
    animation: moveInTop 5s ease-out infinite;
  }
  /* ------------------------ */
/* Mobile-specific animation */
/* ------------------------ */

/* Animation verticale sur mobile (au lieu de mouvement haut-bas) */
@keyframes moveInVertical {
    0% {
      transform: translateX(-100%); /* Commence en dehors de l'écran à gauche */
      opacity: 0;
    }
    50% {
      transform: translateX(0); /* Arrive au centre de l'écran */
      opacity: 1;
    }
    100% {
      transform: translateX(-100%); /* Sort à gauche de l'écran */
      opacity: 0;
    }
  }
/* Responsivité pour les petits écrans */
@media (max-width: 768px) {
.gallery-item:nth-child(2),
.gallery-item:nth-child(4),
.gallery-item:nth-child(7),
.gallery-item:nth-child(9) {
    transform: translateY(0px); /* Décale les images de 40px vers le bas */

}
    .gallery {
        grid-template-columns: repeat(2, 1fr); /* 1 colonne pour les petits écrans */
        margin-left: 70px;
    }


    .gallery-item {
        width: 60%;
        height: auto;
        transform: none; /* Supprime les décalages sur les petits écrans */
        border: 4px solid var(--orangef); /* Bordure orange */

    }
}
@media (max-width: 480px){
    .gallery {
        grid-template-columns: repeat(2, 1fr); /* 1 colonne pour les petits écrans */
        margin-left: 15px;
    }
    .gallery-item {
        width: 100%;
        transform: none; /* Supprime les décalages sur les petits écrans */
    }
}
/*********************************************************************************/

.about-us2{
    margin: 0 auto;
    background-color: #333;
    max-width: 1200px;
    padding: 10px;
    border-radius: 20px;
}

.about-us2 h2 {
    color: #FFF; /* Couleur orange pour le titre */
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.text-container2 {
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.6;
}
.text-container2 .titre{
    font-weight: bold;
    line-height: 1;
    margin-right: 15px; /* Espace entre la lettre initiale et le texte */
}

.text2 {
    color: #FFF; /* Couleur noire pour le texte */
    text-align: justify;
    padding-left: 30px;
    padding-right: 30px;
}

/* Responsivité pour les petits écrans */
@media (max-width: 768px) {
    .about-us2 h2 {
        margin-bottom: 20px;
    }
    .text-container2 {
        flex-direction: column;
        align-items: center;
    }
    .text2 {
        text-align: left;
    }
}
/****************************************************/

/* Style pour la section de l'équipe */
.team-section {
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
    padding: 40px 0;
}

/* Style pour la section de l'équipe */
.team-section {
    text-align: center;
    padding: 40px 0;
}

.team-section h1 {
    margin-bottom: 40px;
    color: #333;
}

/* Style de la grille des membres de l'équipe */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Style pour chaque membre de l'équipe */
.team-member {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    /* Initialement, rendre les membres invisibles et décalés vers la gauche */
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInLeft 1s ease-in forwards;
}

/* Style pour les images des membres */
.team-member img {
    border-radius: 10%;
    width:  90%;
    height: 60%;
    object-fit: cover;
    margin-bottom: 20px;
    filter: grayscale(100%);
}
.team-member img:hover{
    filter: grayscale(0); /* Les images actives sont en couleur */
}

/* Style pour le nom du membre de l'équipe */
.team-member h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

/* Style pour la fonction du membre */
.team-member p {
    font-size: 1rem;
    color: #777;
}

/* Animation d'apparition depuis la gauche */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px); /* Démarre décalé de 50px à gauche */
    }
    100% {
        opacity: 1;
        transform: translateX(0); /* Se déplace à sa position initiale */
    }
}

/* Responsivité */
/* Pour les tablettes : deux colonnes */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-section h4 {
        font-size: 2rem;
    }

    .team-member h2 {
        font-size: 1.25rem;
    }

    .team-member p {
        font-size: 0.9rem;
    }
}

/* Pour les petits écrans (mobiles) : une seule colonne */
@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-section h2 {
        font-size: 1.75rem;
    }

    .team-member h4 {
        font-size: 1.2rem;
    }

    .team-member p {
        font-size: 0.85rem;
    }

    /* Réduire la taille des images sur les petits écrans */
    .team-member img {
        width: 200px;
        height: 200px;
    }
}
.team-member:nth-child(1) {
    animation-delay: 0.2s;
}

.team-member:nth-child(2) {
    animation-delay: 0.4s;
}

.team-member:nth-child(3) {
    animation-delay: 0.6s;
}

.team-member:nth-child(4) {
    animation-delay: 0.8s;
}

.team-member:nth-child(5) {
    animation-delay: 1s;
}

.team-member:nth-child(6) {
    animation-delay: 1.2s;
}
/********************************************************************/

/* Style du bouton de contact (lien stylisé) */
.contact-section{
    background-color: #F6F6F6;
    padding: 20px;
    padding-bottom: 40px;
    text-align: center;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3); /* Accentue l'ombre au survol */
    margin-bottom: 5%;
}
.contact-btn {
    padding: 10px 40px;
    font-size: 1.2rem;
    color: #ff6233; /* Couleur de texte orange */
    background-color: transparent; /* Fond transparent */
    border: 2px solid #ff6233; /* Bordure orange */
    border-radius: 30px; /* Coins arrondis */
    cursor: pointer;
    font-weight: bold;
    text-decoration: none; /* Supprime le soulignement du lien */
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: inset 3px 4px 6px rgba(0, 0, 0, 0.5); /* Ombre du bouton */
    display: inline-block;
}
.titre_btn{
    color: #ff6233; /* Couleur orange pour le titre */
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
}
/* Effet survol (hover) pour le lien bouton */
.contact-btn:hover {
    background-color: #ff6233; /* Remplit le bouton de la couleur orange */
    color: white; /* Texte devient blanc */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3); /* Accentue l'ombre au survol */
}

/* Responsivité */
/* Pour les tablettes et plus petits écrans */
@media (max-width: 768px) {
    .contact-btn {
        font-size: 1rem; /* Réduction de la taille du texte */
        padding: 10px 30px; /* Ajustement du padding pour s'adapter à un écran plus petit */
    }
}

/* Pour les petits écrans de téléphone */
@media (max-width: 480px) {
    .contact-btn {
        font-size: 0.9rem; /* Réduction encore plus de la taille du texte */
        padding: 8px 20px; /* Moins de padding pour les petits écrans */
    }

    .contact-section {
        padding: 10px; /* Réduction du padding de la section pour mieux s'adapter à l'écran */
    }
} 

/* ****************************** le css de la responsvité de la marge sur les mini ordinateurs*********************** */
@media (min-width: 900px) and (max-width: 1310px) {
    .about-us, .about-us1, .text-container, .gallery, .about-us2, .team-section{
        max-width: 1100px;
        margin: 0 auto;
    }
    .gallery{
        margin-bottom: 5%;
    }
}





