/* réalisation  */

body{
*{
    transition: all ease 0.5s;
}   
   
}
article h3{
    font-size: 1.2em;
    color: white;
    text-align: center;
    margin: 10px;
}
nav h3{
    color: black;

}
nav h3:hover{
    color: white;
}
p{
    color: #000;
}
#realisations section{
    padding-bottom: 10vh;
}
.personnage{
justify-content: flex-end;
align-items: start;
width: 50vw;
}
.avatar{
    height: 50vh;
    width: auto;
}
.tabs {
    display: flex;
    align-items: flex-end; 
    cursor: pointer;
    margin-top: 40px;
    margin-left:1.5vw ;
    margin-bottom: 5px;
    
}
.tab {
    padding: 10px 20px;
   
    border-bottom: none;
    margin-right: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0 20px 0 0;
    transform-origin: bottom;
    padding: 15px 20px;
    background-color: #ddd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    transform-origin: bottom; /* Grandit vers le haut */
    position: relative;
    overflow: hidden;
  
}
.tab:hover{
    transform: scaleY(1.2); /* Allonge uniquement la boîte */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



.tab.active {
   
    font-weight: bold;
}
.tab-content {
    display: none;
    padding: 20px;
   
    margin: 0 1.5vw ;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap
   
   
}
.tab-content.active {
    display: flex;
}
.tab-content h2{
    color: #000;
}









.hidden-text {
    display: none;
    transition: all ease 0.5s;
}

.infos{
    
    padding: 5px 10px;
    border-radius: 30px;
    width: 200px;
    text-align: center;

}

.info-sup{
    
    color: white;
    margin: 10px 5px ;
    font-family: Dosis;
   
    border: none;
    padding: 5px 10px;
    border-radius: 30px;
    transition: all ease 0.5s;

}

.expli{
    background-color: white;
    border-radius: 15px;
    width: 90%;
    margin: 10px;
    padding: 10px;
    
}

article p {
    width: 90%;
    border-radius:20px;
    padding: 5px 10px;
    text-align: justify;
    background-color: white;
    
}
a{
   
    transition: all ease 0.5s;
}
a:hover{
    color:white;
   
    transition: all ease 0.5s;
}
article {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 30px;
    margin: 30px;
    min-width: 350px;
}
.infos-box{
    display: flex;
    width: 100%;
   justify-content: center;
    align-items: center;
}

/* concepte graphique  */




#chefoe{
    display: flex;
    align-items: center;
    justify-content: center;
}



/* section 1 audiovisuel  */

.tabs .audio {
    background: var(--bleu-fonc, rgba(6, 94, 121, .97));
}

#section1{
    background-color: #dde8ec;
    border-top: 20px solid var(--bleu-fonc, rgba(6, 94, 121, .97));
}

#section1 article{
    background: var(--bleu-fonc, rgba(6, 94, 121, .97));
    width: 35vw;
    
}

#section1 .infos{
    background-color: white;
    color: var(--bleu-fonc, rgba(6, 94, 121, .97));
}
#section1 .info-sup{
    background: var(--bleu-fonc, rgba(6, 94, 121, .97));
}

#section1 .info-sup:hover{
    background-color: #dde8ec;
    color: var(--bleu-fonc, rgba(6, 94, 121, .97));;
   transition: all ease 0.5s;
}

#section1 article p{
    color: var(--bleu-fonc, rgba(6, 94, 121, .97));
}

#section1 a{
    color: var(--bleu-fonc, rgba(6, 94, 121, .97));
    
}

#section1 a:hover{
   
    color: #ddd;
}
#section1 article>.infos:hover{
    background: none;
    color: #ddd;
}
/* #section1 article a img{
    width: 100%;
    height: auto;
} */
/* section 4 explo  */

.tabs .expe {
    background:#f8c478;
}

#section4{
   background-color: #ffedd1;
    border-top: 20px solid #f8c478;
}

#section4 article{
    background: #f8c478;
    width: 60%;
    
}
#section4 figure{
    display: flex;
}
#section4 .infos{
    background-color: white;
    color: #f8c478;
}
#section4 .info-sup{
    background: #f8c478;
}

#section4 .info-sup:hover{
    background-color: #f8c478;
    color:black;
   transition: all ease 0.5s;
}

#section4 article p{
    color: black;
}

#section4 a{
    color: #f8c478;
    
}

#section4 a:hover{
   
    color: #ddd;
}
#section4 article>.infos:hover{
    background: none;
    color: #ddd;
}
/* #section1 article a img{
    width: 100%;
    height: auto;
} */

/* carrousel  */
 .vc-stage {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    
    
  }
 
  .vc-wrapper {
    overflow: hidden;
    flex: 1;
  }
 
  .vc-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
    will-change: transform;
  }
 
  .vc-card {
    flex: 0 0 100%;
    height: 700px;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
  }
 
  .vc-card iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
  }
 
  .vc-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 16px;
  }
 
  .vc-dot {
    width: 6px;
    height: 6px;
    border-radius: 99px;
    background: #ccc;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s;
  }
 
  .vc-dot.active {
    width: 20px;
    background: currentColor;
  }
 
  @media (max-width: 480px) {
    .vc-card { height: 560px; }
    .vc-arrow { display: none; }
  }
/* section 2 graphisme */

.tabs .graph{
    background: var(--rouge-fonc, rgba(187, 67, 30, .93));
}

#section2{
    background-color: #ffedd1;
    border-top: 20px solid var(--rouge-fonc, rgba(187, 67, 30, .93));
}

#section2 article{
    background: var(--rouge-fonc, rgba(187, 67, 30, .93));
    max-width: 40vw;
    
}
#section2 figure img{
    width:auto; height: 35vh;
}

#section2 .infos{
    background-color: white;
    color: var(--rouge-fonc, rgba(187, 67, 30, .93));
}
#section2 .info-sup{
    background:var(--rouge-fonc, rgba(187, 67, 30, .93));
}

#section2 .info-sup:hover{
    background-color: #dde8ec;
    color: var(--rouge-fonc, rgba(187, 67, 30, .93));
   transition: all ease 0.5s;
}

#section2 article p{
    color: var(--rouge-fonc, rgba(187, 67, 30, .93));
}

#section2 a{
    color: var(--rouge-fonc, rgba(187, 67, 30, .93));
}

#section2 a:hover{
   
    color: white;
}
#section2 .sup h3:hover{
    background: none;
    color:white;
}

/* section 3 ATELIER CRÉATIF */

.tabs .crea{
    background-color: #10765d
}




#section3{
    background-color:  #d4ece6;
    border-top: 20px solid #10765d
}

#section3 article{
    background: #10765d;
    max-width: 40vw;
    
}
#section3 figure img{
    width:auto; height: 40vh;
}

#section3 .infos{
    background-color: white;
    color: #10765d;
}
#section3 .info-sup{
    background:#10765d;
}

#section3 .info-sup:hover{
    background-color: #dde8ec;
    color: #10765d;
   transition: all ease 0.5s;
}

#section3 article p{
    color: #10765d;
}

#section3 a{
    color: #10765d;
}

#section3 a:hover{
   
    color: white;
}
#section3 .sup h3:hover{
    background: none;
    color:white;
}

/* bookk  */
.book {
    width: 60vw;
    height: 35vw;
    perspective: 2000px;
    position: relative;
    margin: 0;
  }

  .livre h4{
    color: white;
    padding: 10px;
  }

  .page {
    width: 100%;
    height: 100%;
    position: absolute;
   margin: 0;
   
   
    transition: transform 1s ease;
    transform-origin: left;
    backface-visibility: hidden;
    
    box-sizing: border-box;
    text-align: center;
   
  }
  .page img{
    height: auto;
    width: 75%;
    border-radius: 0 10px 10px 0;
   
  }

  .page:nth-child(1) {
    z-index: 0;
  }
  .page:nth-child(2) {
    z-index: -1;
  }
  .page:nth-child(3) {
    z-index: -2;
  }
  .page:nth-child(4) {
    z-index: -3;
  }
  .page:nth-child(5) {
    z-index: -4;
  }
  .page:nth-child(6) {
    z-index: -5;
  }
  .page:nth-child(7) {
    z-index: -6;
  }
  .page:nth-child(8) {
    z-index: -7;
  }

  .page:nth-child(9) {
    z-index: -8;
  }
  .page:nth-child(10) {
    z-index: -9;
  }
  .page:nth-child(11) {
    z-index: -10;
  }
  .page:nth-child(12) {
    z-index: -11;
  }
  .page:nth-child(13) {
    z-index: -12;
  }
  
  .page:nth-child(14) {
    z-index: -13;
  }
  .page:nth-child(15) {
    z-index: -14;
  }
  .page:nth-child(16) {
    z-index: -15;
  }
  .page:nth-child(17) {
    z-index: -16;
  }
  .page:nth-child(18) {
    z-index: -17;
  }
  .page:nth-child(19) {
    z-index: -18;
  }
  .page:nth-child(20) {
    z-index: -19;
  }
  .page:nth-child(21) {
    z-index: -20;
  }
  .page:nth-child(22) {
    z-index: -21;
  }
  
  
  
  
  
  .page.flipped {
    transform: rotateY(-180deg);
    z-index: 0 !important;
  }

  .buttons {
   
    /* background-color:#10765d;  */
    display: flex;
    gap: 20px;
    margin: 0;
    
  }

  .buttons button {
    font-size: 30px;
    /* padding: 10px 20px; */
    border: none;
    color: white;
    cursor: pointer;
    
    background-color:#10765d; 
  }

  button:disabled {
    color: #999;
    cursor: not-allowed;
    background-color: none;
  }
.tabs div i{
    display: none;
}
section>h3{
    display: none;}
  /* RESPONSIVE */

@media (max-width: 900px) {
#realisations section{
    padding-bottom: 50vh;
}


section article{
    width: 100%;
    max-width: 90vw;
   
}

figure{
    display: flex;
    flex-direction:column;
    
    align-items: center;
}
figure img{
    width: 100%;
    height: auto;
}
iframe{
    width: 100%;
    height: auto;
}

/* .tabs{
   
    flex-wrap: wrap;
    align-items: start;
} */
.tabs div i{
    display: inline;
    color: white;
    font-size: 20px;
}
.tabs div h2{
    display: none;
}
section>h3{
    display: inline;
    font-size: 20px;
}
}
#section3 figure img {
    width: 100%;
    height: 50vh;
    object-fit: contain;
} 