@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: rgb(255, 255, 255);
    overflow-x: hidden;
    width: 100%;
}


section {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

section h2 {
    margin-top: 40px;
    padding-bottom: 20px;
    font-size: 25px;
    color: #333;  
}

a{
    text-decoration: none;
    font-weight: bold;
    list-style: none;
    color:white;
}

a:hover {
    color: #eee047; 
    text-decoration: underline;
}



/******************Header*******************/

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0px;
    background-color: black;
    background-color: rgba(0, 0, 0, 0.60);
    position: fixed;
    width: 100%; 
    z-index: 1000;
}

.logo img {
    width: 100px;
    height: auto;
    margin: 0px 100px;
}

/****************Nav*********************/

nav ul {
    list-style: none; 
    display: flex;    
    gap: 20px;        
    margin: 0px  70px;
}

nav ul li {
    text-decoration: none; 
    color: #ffffff;           
    font-weight: bold;
}

nav ul li:hover {
    color: #eee047;
    text-decoration: underline;
}

h3{
    font-size: 18px;
    font-weight:bolder;
}

/***************Section hero*****************/

.hero {
    padding: 0;
    padding-top: 280px;
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center; 
    background-image: url('../images/hero/image_hero.jpg');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    min-height: 100vh; 
}

.hero h1 {
    margin-bottom: 100px;
    color: white;
    font-size: 43px;  
}


@keyframes bounce {
    0%, 100% {
        transform: translateY(0) rotate(-90deg); 
    }
    50% {
        transform: translateY(-10px) rotate(-90deg); 
    }

    
}

.hero a {
    margin-bottom: 20px; 
    font-size: 120px; 
    color: #ffffff; 
    text-decoration: none; 
    transition: color 0.3s;
    transform: rotate(-90deg);
    animation: bounce 1.5s infinite;
}

.hero a:hover {
    color: #F5BF17; 
    animation: none;
}

.image{
    width: 150x;
    height: auto;

}
/******************Sections regroupées******************/


.qualite .reussite .qualite2 p {
    font-size: 18px;
    color: #555;
    text-align: justify; 
}


.contenu2 .contenu, .contenu-reussite {
    width: auto;
}

.coordonnees .sources h1 {
    justify-content: center;
    text-align: center;
    padding-bottom: 50px;
    font-size: 30px;
}

.qualite2, .qualite {
    background-color: #F5D86F;
    display: flex;
    justify-content: center; 
    align-items: center; 
    min-height: 55vh; 
    padding: 40px; 
}

.qualite .contenu, .qualite2 .contenu2, .reussite .contenu-reussite  { 
    background-color: white; 
    padding: 50px; 
    padding-top: 10px; 
    border-radius: 30px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    margin:30px;
    text-align: center; 
}

.p-gris{
    color:#5c5c5c;
    font-weight: bold;
    margin-left: 700px;
}


.contenu-element {
    display: flex;
    justify-content: space-between; 
    align-items: flex-start; 
    margin-top: 20px;
}

.p-gauche {
    width: 70%; 
    text-align: left;
}

.puce-droite {
    width: 20%; 
    text-align: left;
    font-weight: bold;
}




/****************Section qualité********************/

.titre-section {
    text-align: center;
    width: 100%;
    margin-bottom: 20px; 
}

.titre-section2 {
    text-align: center;
    width: 100%;
    margin-bottom: 50px; 
}

/****************Section diagrammes qualité****************/


                                            
.petits-diagrammes1, .petits-diagrammes, .grands-diagrammes {
    display: flex;
    justify-content: center; 
    flex-wrap: wrap;
}


.petit img, .grand img{
    width: 900px;
    height: auto;
}

.diagrammes img {
    max-width: 150%;
    height: auto;
    margin: 0 auto;
    margin-left: -40px;
    display: block;
}

.diagrammes {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    min-height: 800px;
}

.diagramme {
    flex: 1 1 40%;
    max-width: 600px;
    margin: 50px;
    margin-top: 60px;
}
.diagramme img {
    max-width: 100%;  
    height: auto;    
    margin: 0 auto;   
    display: block;
}

.grands-diagrammes {
    display: flex;
    justify-content: center; 
    gap: 10px; 
    flex-wrap: wrap;
}

.petits-diagrammes1 img{
    max-width: 652px;
    height: auto;
    justify-content: center;
    margin-top: -90px;
    display: flex;
    margin-bottom: -50px;
}


section {
    position: relative; 
}

canvas, .img-canva {
    margin: 0 auto !important;
    position: relative; 
    width: 100%; 
    height: auto; 
    max-width: 667px; 
    z-index: 1; 
}

.graph-canva {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
}

/****************diagrammes reussite*******************/

.grands-diagrammes-reussite3 {
    display: flex;
    justify-content: center; 
}

/******************Section Réussite ***************************/

.reussite {
    background-color: #1D5C43;
    display: flex;
    justify-content: center; 
    align-items: center; 
    min-height: 55vh; 
    padding: 40px; 
}

/******************Section Infographie***************************/

@media (min-width: 1200px) {
    .infographie {
        background-size: contain; 
        background-position: center;

    }
}


.infographie{
    padding: 0;
    padding-top: 280px;
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center; 
    background-image: url('../images/index/infographie.png');
    background-position: center; 
    background-repeat: no-repeat; 
    min-height: 100vh; 
    background-size: 100% auto; 
}

/*********************Footer***********************/

footer {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 20px;
    background-color: #000000; 
}

.logo-footer {
    order: 3;
}
 
footer img {
    width: 150px;  
    height: auto;    
}

footer nav {
    order: 1; 
}

footer p {
    color: #ffffff;
    order: 2; 
    text-align: center;
    flex-grow: 1; 
}

/*************section coordoonnees****************/


.coordonees {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-start; 
    padding: 0px 40px; 
    gap: 30px; 
    flex-wrap: wrap; 
    margin-top: 80px;
    margin-bottom: 50px;
}

.coordonnes-equipes h1{
    justify-content: center;
    display: flex;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 10px;
    font-size: 30px;
}

.coordonnes-equipes h2{
    margin-left: 20px;
    margin-right: 20px;
    margin-top: -20px;
    font-size: 20px;
}

.photo{
    width: 325px;
    height: 500px; 
    background-color: #F5BF17;
    border-radius: 25px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden; 
    margin-bottom: 20px; 
    font-weight:bolder;
}

.photo img{
    width: 325px;
    height: auto;
}

.info {
    padding: 20px;
    background-color: #F5BF17;
    border-radius: 0 0 25px 25px;
    text-align: center;
    height: 250px;
}

.rectangle-info {
    margin-top: -103px;
    width: 100%;
    height: 100px; 
    position: relative; 
}
  
.diagonale-info {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 100px solid transparent;
    border-left: 325px solid #F5BF17;
    margin-bottom: -60px;
}

.p-coord {
    margin-left: 20px;
    margin-right: 20px;
}

.coordonnes-equipes button{
    width: 125px;
    height: 40px; 
    background-color: #1D5C43;
    border-radius: 12px;
    overflow: hidden; 
    margin-top: 30px; 
    color: #ffffff;
    overflow: hidden;
    border: none; 
    cursor: pointer; 
    font-weight: bold;
}

button:hover{
    background-color: #1b9d67;
}

@media (max-width: 768px) {
    .coordonees {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .photo {
        width: 90%; 
    }
}

/*******************section sources****************/

.sources{
    margin: 0;
    padding:  0 150px;
    padding-top: 150px;
    background-size: cover;
}

.sources h2 {
    font-size:  20px;
    margin-bottom: 10px;
}

.sources a{
    color: black;
    font-weight: 520;
}

