*{
    margin: 0;
    padding: 0;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(../img/wallpaper_5_OPSYNET.JPG);
    background-position: center;
    background-size: cover;
    position: relative;
    background-attachment: fixed;
}

a img{
    width: 25%;
  }

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img{
    width: 200px;
}

.nav-links{
    flex: 1;
    text-align: right;
}

.menu nav {
    display: flex;
    padding: 2% 6%;
    padding-bottom: 1px;
    padding-top: 10px;
    justify-content: space-between;
    align-items: center;
    background-color: #E6E6FA;
}


.nav-links2 {
    flex: 1;
    text-align: right;
}

/************MENU2************/

.nav-links2 ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links2 ul li a {
    color: black;
    text-decoration: none;
    font-size: 20px;
}

.nav-links2 ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #333399;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links2 ul li:hover::after {
    width: 100%;
}

.menu nav .fa{
    display: none;
}

/************MENU************/

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color: white;
    text-decoration: none;
    font-size: 20px;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #333399;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after{
    width: 100%;
}

.text-box{
    width: 90%;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1{
    font-size: 62px;
}

.text-box h1 img {
    height: 250px;
    width: 450px;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 30px;
    color: white;
}

.citazione h5 {
    margin: 40px 0 20px;
    font-size: 35px;
    color: white;
    text-align: right;
    padding-right: 30px;
    font-family: Brush Script MT, Brush Script Std, cursive;
}

.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 8px 35px;
    font-size: 20px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover{
    border: 1px solid #333399;
    background: #333399;
    transition: 1s;
}

nav .fa{
    display: none;
}


/***************description**************/

.description{
    width: 60%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.description img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px; /* optionnel : coins arrondis */
}


#description2 {
    margin: 8%;
}

h1{
    font-size: 36px;
    font-weight: 600;
}

p{
    color: black;
    font-size: 20px;
    font-weight: 300;
    line-height: 22px;
    padding: 2px;
}



/************questionnaire************/

.app{
    background: #E6E6FA;
    width: 90%;
    max-width: 600px;
    margin: 100px auto 0;
    border-radius: 10px;
    padding: 30px;
}

.app h4{
    font-size: 25px;
    font-weight: 600;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
}

.questionnaire{
    padding: 20px 0;
}

.questionnaire h2{
    font-size: 18px;
    color: black;
    font-weight: 600;
}

.btn{
    background: #ffffff;
    color: #222;
    font-weight: 500;
    width: 100%;
    border: 1px solid #222;
    padding: 10px;
    margin: 10px 0;
    text-align: left;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover{
    background: #222;
    color: #ffffff;
}

#prochaine_btn{
    background: black;
    color: #ffffff;
    font-weight: 500;
    width: 150px;
    border: 0;
    padding: 10px;
    margin: 20px auto 0;
    border-radius: 4px;
    cursor: pointer;
    display: none;
}

/***************barre envie**************/
#services {
    background-image: linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0.8)),url(../img/wallpaper_2_OPSYNET.png);
    background-size: cover;
    background-position: center;
    color: #efefef !important;
    background-attachment: fixed;
    padding-top: 50px;
    padding-bottom: 50px;
}

#services h1{
    text-align: center;
    color: #efefef !important;
    padding-bottom: 10px;
}

#services h1::after{
    content: '';
    background: #efefef;
    display: block;
    height: 3px;
    width: 170px;
    margin: 20px auto 5px;
}

.services {
    margin-top: 40px;
}

#services p {
    color: white;
    font-size: 20px;
    font-weight: 300;
    line-height: 25px;
    padding: 10px;
}

.icon {
    font-size: 40px;
    margin: 20px auto;
    padding: 20px;
    height: 90px;
    width: 90px;
    border: 1px solid #ffffff;
    border-radius: 50%;
}

#services p {
    font-size: 20px;
    margin-top: 20px;
    color: #cccccc;
}

.services .col-md-3:hover {
    background: #ADD8E6;
    background: rgba(0,0,0,0.8);
    cursor: pointer;
    transition: 0.7s;
}

/***************A PROPOS**************/
#me {
    padding-top: 50px;
    padding-bottom: 50px;
    color: black;
}
h4 {
    text-align: center;
    color: black !important;
    padding-bottom: 10px;
}

.container h4{
    text-align: center;
    color: white !important;
    padding-bottom: 10px;
}

#me h4{
    text-align: center;
    color: black !important;
    padding-bottom: 10px;
}

#prendre_rdv h4{
    text-align: center;
    color: black !important;
    padding-bottom: 10px;
}

#therapie h4{
    text-align: center;
    color: black !important;
    padding-bottom: 10px;
}

#bibliographie1 h4{
    text-align: center;
    color: black !important;
    padding-bottom: 10px;
}

h4::after {
    content: '';
    background: #ADD8E6;
    display: block;
    height: 3px;
    width: 170px;
    margin: 20px auto 5px;
}

.profile-pic {
    margin-top: 25px;
}
.profile-pic h2 {
    font-size: 22px;
    font-weight: bold;
    margin-top: 15px;
    color: black !important;
}
.profile-pic h3 {
    font-size: 15px;
    font-weight: bold;
    margin-top: 15px;
    color: black !important;
}
#me .fa {
    height: 60px;
    width: 60px;
    font-size: 40px;
    color: black !important;
    background: white;
    padding: 10px;
    border-radius: 50%;
}
.img-box ul {
    padding: 0px 0;
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.img-box ul li {
    padding: 5px;
    display: inline-block;
}
.about-me {
    margin: auto;
    text-align: left;
    padding-top: 10px;
}

.container2{
    position: relative;
    min-height: 300px;
}

.container2 .video-princi{
    display: flex;
    flex-wrap: wrap;
    gap: 100px;
    justify-content: center;
    padding: 10px;
}

.container2 .video-princi .video{
    height: 350px;
    width: 450px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    overflow: hidden;
}

.container2 .video-princi .video video{
    height: 100%;
    width: 100%;
    
}

.container2 .video-princi .video:hover video{
    background:black;
    transition: 1s;
}

.container2 .popup-video{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    height: 100%;
    width: 100%;
    display: none;
}

.container2 .popup-video video{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 750px;
    border-radius: 5px;
}

.container2 .popup-video svg{
    position: absolute;
    top: 5px;
    right: 20px;
    color: white;
    cursor: pointer;
}

/***************THERAPIE INDIVIDUELLE**************/
#therapie {
    background-color: white;
    background-size: cover;
    background-position: center;
    color: black !important;
    background-attachment: fixed;
    padding-top: 15px;
    padding-bottom: 50px;
}
#therapie h6 {
    color: black !important;
}

#therapie .container {
    background-color: #E6E6FA;
    border-radius: 30px;
}

#check {
    display: none;
}
.content {
    display: none;
    transition: 0.5s linear;
}
label {
    display: inline-block;
    text-decoration: none;
    color: black;
    border: 1px solid black;
    padding: 8px 35px;
    font-size: 20px;
    background: transparent;
    position: relative;
    cursor: pointer;
    border-radius: 30px;
}
label:hover {
    border: 1px solid #FFCCCC;
    background: #FFCCCC;
    transition: 1s;
}


/***************BIBLIOGRAPHIE**************/

#check:checked ~ .content {
    display: block;
}

#check2 {
    display: none;
}
#check2:checked ~ .content {
    display: block;
}

#check3 {
    display: none;
}
#check3:checked ~ .content {
    display: block;
}
#check4 {
    display: none;
}
#check4:checked ~ .content {
    display: block;
}
#check5 {
    display: none;
}
#check5:checked ~ .content {
    display: block;
}
#check6 {
    display: none;
}
#check6:checked ~ .content {
    display: block;
}
#check7 {
    display: none;
}
#check7:checked ~ .content {
    display: block;
}
#check8 {
    display: none;
}
#check8:checked ~ .content {
    display: block;
}
#check9 {
    display: none;
}
#check9:checked ~ .content {
    display: block;
}
#check10 {
    display: none;
}
#check10:checked ~ .content {
    display: block;
}
#check11 {
    display: none;
}
#check11:checked ~ .content {
    display: block;
}
#check12 {
    display: none;
}
#check12:checked ~ .content {
    display: block;
}
#check13 {
     display: none;
 }
#check13:checked ~ .content {
    display: block;
}


/* ************CONTACT ME************ */
#contacte {
    background-color: white;
    background-size: cover;
    background-position: center;
    color: black !important;
    background-attachment: fixed;
    padding-top: 50px;
    padding-bottom: 50px;
}

#contacte .hero {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#contacte .container {
    background-color: #E6E6FA;
    border-radius: 30px;
}

form {
    background: white;
    width: 500px;
    padding: 30px;
    font-size: 18px;
}
.massage-icon {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.massage-icon i {
    font-size: 40px;
}
.massage-icon span {
    font-size: 22px;
    font-weight: bold;
    margin-left: 15px;
}
form input, textarea {
    width: 100%;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid black;
    outline: none;
}

.input-field {
    padding-bottom: 20px;
    display: flex;
    align-items: center;
}
.input-field i {
    font-size: 22px;
    margin-right: 15px;
}

.input-field~span{
    color: red;
    font-weight: 500;
    font-size: 0.8rem;
}


.Envoyer {
    width: 100px;
    border: none;
    background: black;
    color: white;
    font-size: 16px;
    padding: 6px 0;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
}


.popup{
    width: 400px;
    background-color: #E6E6FA;
    border-radius: 6px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    text-align: center;
    padding: 0 30px 30px;
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
}

.open-popup {
    visibility: visible;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
}


.popup svg{
    margin-top: -40px;
}

.popup h2{
    font-size: 38px;
    font-weight: 500;
    margin: 30px 0 10px;
}

.popup button{
    width: 100%;
    margin-top: 50px;
    padding: 10px 0;
    background: black;
    color: white;
    border-radius: 50px;
    border: none;
    outline: none;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

.info_sup .container{
    background-color: #E6E6FA;
    border-radius: 30px;
    padding: 25px 25px;
}

/* ************PRENDRE RDV************ */
.tarrifs {
    margin: auto;
    text-align: left;
    padding-top: 10px;
    background-color: #E6E6FA;
    border-radius: 30px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.tarrifs2 {
    margin: auto;
    text-align: left;
    padding-top: 10px;
    background-color: antiquewhite;
    border-radius: 30px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* ************FORMATIONS************ */
.slider-container {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 20px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    padding: 40px;
    background-color: #ADD8E6;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.active {
    opacity: 1;
    display: block;
}

h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    align-items: center;
}

p, ul {
    color: #555;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin-bottom: 10px;
}

.slider-container button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
    border-radius: 50%;
}

.slider-container button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prevBis {
    left: 0;
}

.nextBis {
    right: 0;
}

/* Timeline Specific Styles */
.timeline {
    width: 100%;
    background-color: wheat;
    color: #fff;
    padding: 30px 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
  }
  
  .timeline ul {
    list-style-type: none;
    border-left: 2px solid #094a68;
    padding: 10px 5px;
  }
  
  .timeline ul li {
    padding: 20px 20px;
    position: relative;
    cursor: pointer;
    transition: 0.5s;
  }
  
  .timeline ul li span {
    display: inline-block;
    background-color: #ADD8E6;
    border-radius: 25px;
    padding: 2px 5px;
    font-size: 15px;
    text-align: center;
  }
  
  .timeline ul li .contenu h3 {
    color: #34ace0;
    font-size: 17px;
    padding-top: 5px;
  }
  
  .timeline ul li .contenu p {
    padding: 5px 0px 15px 0px;
    font-size: 15px;
  }
  
  .timeline ul li:before {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    background-color: #34ace0;
    border-radius: 50%;
    left: -11px;
    top: 28px;
    transition: 0.5s;
  }
  
  .timeline ul li:hover {
    background-color: whitesmoke;
    border-radius: 20px;
  }


.video-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    background-color: #f4f8f4;
    border-radius: 20px;
}

.video-card {
    position: relative;
    width: 300px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 100, 0, 0.15);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: scale(1.03);
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.play-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 100, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    backdrop-filter: blur(5px);
}

.popup-video {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    height: 100%;
    width: 100%;
    display: none;
    justify-content: center;
    align-items: center;
}

.popup-video video {
    width: 80%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
}


/* ************FOOTER************ */
footer {
    background-color: white;
    padding: 20px 0 10px 0;
    text-align: left;
    padding-left: 10px;
    padding-top: 30px;
    padding-bottom: 20px;
}


/* ************Media************ */
@media screen and (max-width: 700px){
    .header {
        width: 100%;
    }
    .text-box h1{
        font-size: 30px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        background: #ADD8E6;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa{
        display: block;
        color: white;
        margin: 30px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
    .nav-links2 ul li{
        display: block;
    }
    .nav-links2 {
        position: absolute;
        background: #E6E6FA;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    .menu nav .fa{
        display: block;
        color:  black;
        margin: 30px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links2 ul{
        padding: 30px;
    }

    .citazione h5 {
        display: none;
    }
    .text-box h1 img {
        height: 200px;
        width: 350px;
    }
    
    .timeline {
        width: 100%;
        padding: 30px 5px 30px 10px;
      }
    
      .timeline ul li .content h3 {
        color: #34ace0;
        font-size: 15px;
      }
}






/* ---------------- Responsive pour mobile ---------------- */
@media only screen and (max-width: 768px) {

  nav {
    flex-direction: column;
    padding: 10px 20px;
  }

  nav img {
    width: 150px;
    margin-bottom: 10px;
  }

  .nav-links, .nav-links2 {
    text-align: center;
  }

  .nav-links ul li,
  .nav-links2 ul li {
    display: block;
    padding: 10px 0;
  }

  .text-box h1 {
    font-size: 32px;
  }

  .text-box p {
    font-size: 18px;
    padding: 0 10px;
  }

  .text-box h1 img {
    width: 90%;
    height: auto;
  }

  .citazione h5 {
    font-size: 22px;
    padding-right: 10px;
    text-align: center;
  }

  .hero-btn {
    padding: 10px 20px;
    font-size: 16px;
  }

  .description {
    width: 90%;
    padding: 20px 10px;
  }

  h1 {
    font-size: 28px;
  }

  p {
    font-size: 18px;
    line-height: 24px;
  }

  .app {
    width: 95%;
    margin: 50px auto;
    padding: 20px;
  }

  #services {
    background-attachment: scroll; /* éviter les bugs de scroll sur mobile */
  }

  #services p {
    font-size: 18px;
  }

  .icon {
    font-size: 30px;
    height: 70px;
    width: 70px;
    padding: 10px;
  }

  a img {
    width: 60%; /* lien image dans a */
  }

}

/* -------- Responsive pour mobile : A PROPOS & THERAPIE -------- */
@media only screen and (max-width: 768px) {

  #me,
  #therapie {
    padding: 30px 10px;
    background-attachment: scroll;
  }

  h4,
  #me h4,
  #therapie h4,
  #prendre_rdv h4,
  #bibliographie1 h4 {
    font-size: 22px;
    padding: 0 10px;
  }

  h4::after {
    width: 100px;
    margin: 15px auto 5px;
  }

  .profile-pic {
    text-align: center;
    margin-top: 20px;
  }

  .profile-pic h2 {
    font-size: 18px;
  }

  .profile-pic h3 {
    font-size: 14px;
  }

  #me .fa {
    height: 50px;
    width: 50px;
    font-size: 28px;
    padding: 8px;
  }

  .img-box ul {
    position: static;
    transform: none;
    text-align: center;
    padding-top: 10px;
  }

  .img-box ul li {
    padding: 5px 8px;
  }

  .about-me {
    padding: 10px;
    text-align: center;
  }

  .container2 {
    padding: 10px;
  }

  .container2 .video-princi {
    gap: 30px;
    flex-direction: column;
    align-items: center;
  }

  .container2 .video-princi .video {
    width: 90%;
    height: auto;
    max-width: 400px;
  }

  .container2 .popup-video video {
    width: 90%;
    max-width: 95%;
  }

  label {
    font-size: 16px;
    padding: 10px 20px;
  }

  #therapie .container {
    padding: 15px;
  }
}


/* -------- Responsive pour mobile : Bibliographie & Contact -------- */
@media only screen and (max-width: 768px) {

  /* Bibliographie : réduire marges et gérer contenu déroulant */
  label {
    font-size: 16px;
    padding: 10px 20px;
  }

  .content {
    padding: 10px;
    font-size: 16px;
  }

  /* Contact */
  #contacte {
    padding: 30px 10px;
    background-attachment: scroll;
  }

  #contacte .hero {
    height: auto;
    flex-direction: column;
    padding: 20px;
  }

  #contacte .container {
    border-radius: 20px;
    padding: 15px;
  }

  form {
    width: 100%;
    padding: 20px;
    font-size: 16px;
  }

  .massage-icon i {
    font-size: 30px;
  }

  .massage-icon span {
    font-size: 18px;
    margin-left: 10px;
  }

  .input-field {
    flex-direction: column;
    align-items: flex-start;
  }

  .input-field i {
    margin-bottom: 8px;
  }

  .Envoyer {
    width: 100%;
    font-size: 16px;
    padding: 10px;
  }

  .popup {
    width: 90%;
    padding: 20px 15px;
  }

  .popup h2 {
    font-size: 24px;
  }

  .popup button {
    padding: 10px;
    font-size: 16px;
  }

  .info_sup .container {
    padding: 15px;
    border-radius: 20px;
  }
}


@media only screen and (max-width: 768px) {

  /* Prendre RDV */
  .tarrifs,
  .tarrifs2 {
    padding: 15px;
    border-radius: 20px;
    font-size: 16px;
  }

  /* Formations - Slider */
  .slider-container {
    width: 95%;
    margin: 30px auto;
    border-radius: 15px;
  }

  .slide {
    padding: 20px;
    font-size: 16px;
  }

  .slider-container button {
    padding: 8px;
    font-size: 14px;
  }

  /* Timeline */
  .timeline {
    padding: 20px 10px;
    border-radius: 15px;
  }

  .timeline ul li {
    padding: 15px;
    font-size: 15px;
  }

  .timeline ul li span {
    font-size: 13px;
  }

  .timeline ul li .contenu h3 {
    font-size: 16px;
  }

  .timeline ul li .contenu p {
    font-size: 14px;
  }

  /* Footer */
  footer {
    padding: 20px 10px;
    font-size: 14px;
    text-align: center;
  }
}
