@import url("header.css");
@import url("global.css");
@import url("animations.css");


/*SECTION HERO */

/* Bannière À Propos */
.hero-about {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/about/a1.jpg') no-repeat center center/cover;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 1.5rem;
    position: relative;
}

.hero-about .overlay {
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    padding: 50px 20px;
}

.hero-about h2{
    color: var(--text-light);
    margin-top: 4rem;
}

@media (max-width: 1024px) {
    .hero-about {
      height: 45vh;
      font-size: 1.3rem;
    }
  
    .hero-about h2 {
      margin-top: 3rem;
    }
  }
  
  @media (max-width: 768px) {
    .hero-about {
      height: 40vh;
      font-size: 1.1rem;
      padding: 0 10px;
    }
  
    .hero-about .overlay {
      padding: 40px 15px;
    }
  
    .hero-about h2 {
      margin-top: 2.5rem;
      font-size: 1.4rem;
    }
  }
  
  @media (max-width: 480px) {
    .hero-about {
      height: 35vh;
      font-size: 1rem;
    }
  
    .hero-about .overlay {
      padding: 30px 10px;
    }
  
    .hero-about h2 {
      margin-top: 2rem;
      font-size: 1.2rem;
    }
  }
  

/* SECTION  Présentation */
.about-intro {
    padding: 80px 20px;
    background: #f8f8f8;
    text-align: center;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: auto;
    gap: 40px;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text h2 {
    color: var(--accent-red);
    margin-bottom: 20px;
}

.about-text p {
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.highlight {
    color: var(--text-dark);
    font-weight: bold;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive sans modifier le style initial */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-text, .about-image {
        flex: none;
        width: 100%;
        max-width: 600px;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-image img {
        max-width: 80%;
    }
}

@media (max-width: 576px) {
    .about-intro {
        padding: 60px 15px;
    }
    
    .about-image img {
        max-width: 100%;
    }
}


/*SECTION  Mission et Valeurs */
.mission-values {
    background-color: #f8f8f8;
    text-align: center;
}

.mission-values-content {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.mission, .values {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.mission h3, .values h3 {
    color:var(--primary-blue);
    margin-bottom: 20px;
}

.mission p {
    color: var(--black);
    line-height: 1.6;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 100px;
    align-items: center;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.value-item a {
    background-color: var(--primary-blue);
    padding: 5px 20px;
    color: #fff;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

#hiddentext,
#hiddentextFiabilite,
#hiddentextAccessibilite,
#hiddentextEngagement {
   display: none;

}


 

/* .show{
    display: block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 2s ease-out forwards;
} */

@keyframes fadeInUp {
    0%{
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
    
}

.value-item a:focus + .value-item p{
display: block;
opacity: 1;
}

.value-item h4 {
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.value-item p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}




/* SECTION Équipe */
.team {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--text-light);
}

.team h2 {
    margin-bottom: 40px;
    font-weight: 600;
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.member {
    background-color: var(--text-light);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 250px;
    text-align: center;
}

.member:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 45px rgba(0, 0, 0, 0.1);
}

.member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--primary-blue);
    text-align: center;
}

.member h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 500;
}

.member p {
    color: var(--text-dark);
    margin-bottom: 0;
}


/*SECTION  Pourquoi nous choisir */
.why-us {
    padding: 50px 20px;
    background-color: #fafafa;
    
    
}

.why-us .container{
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;

}


.why-us h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

.why-us p {
    color: var(--secondary-blue);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}



.reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: start;
}

.reason-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}


.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.reason-icon img {
    width: 100%;
    height: 25vh;
    margin-bottom: 20px;
}

.reason-item h4 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 15px;
}

.reason-item p {
    color: var(--black);
    line-height: 1.5;
}



