* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Libre Baskerville', Arial, sans-serif;
    line-height: 1.6;
    background-color: #faf9f8;
    color: #333;
}

header {
    font-family: 'Libre Baskerville', Arial, sans-serif;
    background-color: #faf9f8;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    width: 77%;
    margin: 0 auto;
}


.logo img {
    float: left;
    max-height: 110px;
    margin-left: 40px;
}
.logo h1.myname{
    float: left;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: normal;
    color: #5b5247;
    margin: 12px 0 0 20px;
}

nav .menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    color: rgb(91, 82, 71);
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #5b5247;
    text-decoration: none;
    padding: 0 15px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.875rem; /* Taille de la police ajustée pour les majuscules */
}



nav ul li a:hover {
    color: #a06842;
}

.imgbox {
    text-align: center;
    background: transparent;
    margin: 0 auto;
    position: relative;
    z-index: 100;
    max-width: 1400px;
}

.imgbox img {
    max-width: 100%;
    height: auto;
    border: 9px solid #faf9f8;
    margin: 0;
}

.overlay {
    position: absolute;
    width: 61%;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.90);
    border: 1px solid #000;
    padding: 20px 20px 20px 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.overlay h2, .overlay2 h2{
    font-family: 'Libre Baskerville', Arial, sans-serif;
    font-weight: lighter;
    font-size: 30px;
    line-height: 0.8em;
    color: black;
}

.overlay p {
    margin: 0;
    color: black;
    font-weight: normal;
    font-size: 1.1rem;
    margin: 0 0 20px 0;
}

.hero {
    background-color: #c0a995;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    flex-direction: column;
    transform: translateY(-300px);
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn {
    font-family: 'Libre Baskerville', Arial, sans-serif;
    display: inline-block;
    padding: 10px 20px;
    background-color: #26b3cc;
    color: black;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.contact-right .btn{
    font-family: 'Libre Baskerville', Arial, sans-serif;
    display: inline-block;
    padding: 10px 20px;
    background-color: #26b3cc;
    color: black;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #7ec0cc;
    color: white;
}
.contact-right .btn:hover{
    background-color: #7ec0cc;
    text-decoration: none;
    color: white;
}

section#home{
    padding: 60px 20px;
    margin: 0;
}

.illustr img{
    max-width: 100%;
    width: 100%;
    height: auto;
}


.vacation-alert {
  background-color: #fff8e1;
  color: #8a6d3b;
  border: 1px solid #f0c36d;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 2rem auto;
  max-width: 600px;
  font-size: 1.1rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.vacation-alert p{
    margin: 0;
}




section {
    padding: 20px;
    background-color: #fff;
    margin: 0;
}



h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
}

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

li {
    margin-bottom: 10px;
}

.conteneur{
    max-width: 1400px;
    margin: 0 auto;
}
.conteneur2{
    max-width: 1400px;
    margin: 0 auto;
    background: url("") transparent top center;
}

#chiropraxie {
    position: relative;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #faf9f8;
}
h2.chiro{
    font-size:3rem;
    letter-spacing: 0.1em;
    color: #5b5247;
    margin: 0 0 50px 0;
}
#seance h2{
    font-size:3rem;
    letter-spacing: 0.1em;
    color: #5b5247;
    margin: 0 0 50px 0;
}

#chiropraxie::before {
    content: '';
    position: absolute;
    top: 49%;
    left: 50%;
    width: 80%;
    height: 100%;
    background-color: #d8cdc4;
    transform: translate(-50%, -50%);
    z-index: 0;
}

#chiropraxie h2, 
#chiropraxie p, 
#chiropraxie .encarts {
    position: relative;
    z-index: 1;
}

#definition{
    display: block;
    margin: 0 auto;
    width: 80%;
    font-size: 1.2rem;
}

#consultation{
    display: block;
    margin: 0 auto;
    width: 80%;
    font-size: 1.2rem;
}

.listbox {
    display: flex;
    background-color: #d8cdc4;
    border-radius: 21px;
    padding: 20px;
    margin: 20px auto;
    gap: 20px;
}

.image-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    flex: 1 1 250px;
    max-width: 400px;
    text-align: center;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 77%;
    height: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease-in-out;
    z-index: 1;
}

.image-container img.active {
    opacity: 1;
    z-index: 2;
}

.text-container {
    flex: 2;
    flex-direction: column;
    gap: 20px;
    counter-reset: list-counter;
    cursor: help;
}

.list-group {
    background-color: #f5f0eb;
    border-radius: 21px;
    padding: 15px;
    list-style: none;
    margin: 0 0 15px 0;
}

.list-group li {
    counter-increment: list-counter;
    margin-bottom: 5px;
    position: relative;
    padding-left: 25px;
}

.list-group li.dbldigit {
    counter-increment: list-counter;
    margin-bottom: 5px;
    position: relative;
    padding-left: 30px;
}


.list-group li::before {
    content: counter(list-counter) ". ";
    position: absolute;
    left: 0;
}


.encarts, .group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.item, .etape {
    flex: 1 1 calc(33% - 20px);
    background-color: #af9d81;
    padding: 0;
    text-align: center;
    transition: transform 0.3s ease;
}
.encart{
    flex: 1 1 calc(33% - 20px);
    background-color: #transparent;
    padding: 0;
    text-align: center;
    transition: transform 0.3s ease;
}

.encart img, .item img, .etape img {
    max-width: 100%;
    border-radius: 0;
    margin-bottom: 10px;
}

.encart:hover, .item:hover, .etape:hover {
    transform: translateY(-5px);
}


.encart a.ancre{
    color: white;
    font-size: 1.4rem;
    border-radius: 20px;
    width: auto;
    text-decoration: none;
    padding: 3px 28px;
    background-color: #af9d81;
}
.encart a.ancre:hover{
    text-decoration: none;
    background-color: #af9161;
}


#chiropracteurs {
    padding: 40px;
    position: relative;
    width: 80%;
    margin: 0 auto;
}

#chiropracteurs h3{
    font-size: 2.8rem;
    color: #5b5247;
    margin: 40px 0 70px 0;
    padding: 0;
    text-align: center;
}

.chiropracteur1{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap-reverse;
    /*  ou en raccourci  : */
    /* flex-flow: row wrap;*/
        justify-content: space-around;
        margin-bottom: 49px;
}

.chiropracteur1 img {
    border-radius: 0;
    margin-right: 20px;
    max-width: 100%;
    width: 30%;
    height: 30%;
    z-index: 10;
}

#chiropracteurs .info {
    flex: 1;
    z-index: 10;
    font-size: 1.2em;
    padding: 0 40px;
    text-align: center;
    margin-bottom: 50px;
}


.chiropracteur1::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 15%;
    width: 40%;
    height: 35%;
    background-color: #d8cdc4;
    transform: translate(-50%, -50%);
    z-index: 0;
}


/* Background pour Chiropracteur 2 à droite */
.chiropracteur2{
    display: flex;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start; /* Aligne le contenu en haut */
    margin-bottom: 49px;
    flex-wrap: wrap; /* Permet le wrap en cas de petits écrans */


}

.chiropracteur2 img {
    order: 2;
    margin-left: 20px;
    max-width: 100%;
    width: 30%;
    height: 30%;
    z-index: 10;
}

#chiropracteurs .chiropracteur2 .info {
    flex: 1; /* Le texte occupe le reste de l'espace */
    order: 1; /* Place le texte avant l'image */
    text-align: center;
    z-index: 10;
}


.chiropracteur2::before {
    content: '';
    position: absolute;
    top: 77%;
    right: 15%;
    width: 40%;
    height: 35%;
    background-color: #d8cdc4;
    transform: translate(50%, -50%);
    z-index: 0;
}


/* Section principale */
#pour-tous{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    background-color: white;
    font-family: 'Libre Baskerville', serif;
}
#egalement {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
    background-color: white;
    font-family: 'Libre Baskerville', serif;
}

/* partie images et légendes */
.pt-visu {
    background-color: #d8cdc4;
    width: 40%;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.pt-visu div {
    position: relative;
}
.pt-visu img {
/*    max-width: 55%;*/
    max-width: 100%;
    width: 100%;
    height: auto;
}

.pt-visu p.legend {
    position: relative;
    width: auto;
    margin: -30px auto 0 auto;
    background-color: #a78262;
    color: white;
    font-size: 1rem;
    padding: 10px 20px;
    text-align: center;
    width: max-content;
    text-transform: uppercase;
    font-family: sans-serif;
    font-weight: bold;
}


.pt-visu .actifs {
    position: relative;
    z-index: 1;
}

/* Partie texte */
.pt-txt {
    background-color: white; /* Fond blanc */
    padding: 50px 40px;
    width: 60%; /* Largeur pour la colonne droite */
    position: relative;
}

.pt-txt h2 {
    font-size: 2rem;
    color: #5a4d3d;
    margin-bottom: 20px;
}

.pt-txt p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #5a4d3d;
    margin-bottom: 20px;
}

#seance{
    background-color: #faf9f8;
}

#seance article {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#seance article .visuel-titre {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 28%; /* Taille de la colonne visuel+titre */
    flex: 1; /* Priorité par défaut */
    margin: 0 4%;
}

#seance article img {
    max-width: 100%;
    width: auto;
    height: auto;
    margin-bottom: 10px;
}

#seance article h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 20px;
}

#seance article p {
    flex: 2;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #5a4d3d;
    padding-left: 20px;
    margin : 70px 0 0 0;
    text-align: center;
}


#seance article.goofy .visuel-titre {
    order: 2;
}
#seance article.goofy p {
    order: 1;
}

.frame {
    max-width: 100%;
    width: 600px;
    padding: 20px;
    background-color: #fff;
    border: 10px solid #b68b60; /* Couleur bois clair */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-align: center;
    margin: -250px auto 340px auto;
}

.inner-frame {
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}
.frame h2{
    font-size:3rem;
    letter-spacing: 0.1em;
    color: #5b5247;
    margin: 0 0 14px 0;
}
.inner-frame p {
    font-size: 1.1rem;
    color: #333;
    margin: 10px 0;
}

.inner-frame p.pricing {
    font-family: Baskervville;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}
.inner-frame p.pricing span{
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

#faq {
    padding: 20px;
}

.faq-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.faq-sidebar {
    flex: 1;
    max-width: 50%;
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 10px;
}

.faq-sidebar ul {
    list-style: none;
    padding: 0;
}

.faq-sidebar li {
    margin-bottom: 10px;
    font-size: 1.2em;
    padding: 0;
}


.faq-sidebar a {
    text-decoration: none;
    color: #0073e6;
}

.faq-sidebar a:hover {
    text-decoration: underline;
}



.slickbox {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}


.slickinfo {
    flex: 2;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
}


.slide-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
}

.slide-text {
    flex: 1;
    max-width: 50%;
    margin: 0 20px 50px 0;
}

.slide-image {
    flex: 1;
    max-width: 50%;
    margin-top: 35px;
}

.slide-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {

    .slickinfo {
        max-width: 100%;
    }
    .slide-content {
        flex-direction: column;
        align-items: center;
    }
    .slide-text {
        max-width: 100%;
        text-align: center;
        padding-bottom: 50px;
    }

    .slide-image {
        order: -1; /* Place l'image au-dessus du texte */
        max-width: 100%;
        margin-top: 0;
    }
    .slick-next {
        right: 60px;
        top: 11%;
    }
    .slick-prev {
        left: 30px;
        top: 11%;
    }

}
.slick-dots {
    display: flex !important;
    justify-content: center;
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.slick-dots li {
    margin: 0 21px 0 0;
}
.slick-dots .custom-dot:before{
    display: none;
}
.slick-dots .custom-dot {
    background: grey;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 21px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: -3px 0 0 -3px;
}

.slick-dots .custom-dot:hover,
.slick-dots .custom-dot:focus {
    opacity: 1;
}

.slick-dots .slick-active .custom-dot {
    background: #26b3cc;
    color: #000;
    font-weight: bold;
}


.bodyinfo{
    flex: 1;
    max-width: auto;
}

/* Styles pour le contenu de la FAQ */
.question {
    margin-top: 20px;
}

.question h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

section#faq h2{
    font-size: 3rem;
    letter-spacing: 0.1em;
    color: #5b5247;
    margin: 0 0 20px 0;
}
section#faq h2 span{
    display: block;
    font-size: 1.5rem;
    letter-spacing: normal;
}
section#faq h3 {
    color: #b68b60;
    font-size: 1.5rem;
    margin-top: 35px;
}
section#faq p {
    font-size: 1.2rem;
    margin: 10px 0;
}

section#faq ul {
    margin-left: 20px;
    list-style-type: disc;
}
section#faq li {
    margin-bottom: 10px;
    font-size: 1.2rem;
}


/* Google Map overlay */
.overlay2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 60px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #756e66;
}
.overlay2 p{
    font-size: 1.2rem;
}

.overlay2 li{
    font-size: 1.2rem;
    margin-bottom: 0;
}


/* Style pour la section Où nous trouver */
.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Colonne de gauche (adresse) */
.address {
    flex: 1;
}

/* Colonne de droite (liste à puces) */
.details{
    border-left: 1px solid #756e66;
}
.details ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 20px;
    text-align: left;
}

/* Horaires section */
.quand h3 {
    text-align: center;
    font-size: 1.7rem;
    color: #333;
}

.quand p {
    text-align: center;
    font-size: 1.2rem;
}

.comment {
    border-left: 1px solid #ccc;
    padding-left: 20px;
}
.comment a{
    color: #333;
    text-decoration: none;
}
.comment a:hover{
    color: #5b5b5b;
    text-decoration: underline;
}
.comment p {
    text-align: center;
    margin: 10px 0;
}

.comment em {
    display: inline-block;
    margin-right: 10px;
}


#infos {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    font-size: 1.2rem;
}

.quand, .comment {
    width: 48%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    text-align: center;
}


.horaires-columns {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
}

.horaires-left, .horaires-right {
    width: 48%;
}

.horaires-left em, .horaires-right em {
    text-transform: uppercase;
    font-weight: bold;
    font-style: normal;
    font-size: 1rem;
}

.horaires-left p, .horaires-right p {
    margin: 5px 0;
}


.contact-columns {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
}

.contact-left, .contact-right {
    width: 48%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-left p, .contact-right p {
    margin: 0;
}

.icon-phone::before {
    content: url('../img/icone_phone.png');
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
}

.icon-mdsl::before {
    content: url('../img/icone_map.png');
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
}

.email {
    margin-top: 10px;
    text-align: center;
    color: #333333;
}
.email::before {
    content: url('../img/icone_mail.png');
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
}


/* Section d'avis clients */
#avis-clients {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

#avis-clients h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Conteneur principal pour les avis */
.avis-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Style individuel pour chaque avis */
.avis {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.avis h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.pathologie {
    font-weight: bold;
    margin-bottom: 10px;
    color: #555;
}

.avis p {
    font-size: 1rem;
    color: #666;
}


section.triade{
    padding: 20px;
    background-color: #fff;
    margin: 0 0 40px 0;
}

section.triade h2{
    font-size: 3rem;
    letter-spacing: 0.1em;
    color: #5b5247;
    margin: 0 0 20px 0;
    text-align: center;
}
section.triade p {
    font-size: 1.2rem;
    margin-bottom: 14px;
    color: black;
}

.triadebox {
    display: flex;
    flex-wrap: nowrap; /* Assure que les éléments restent côte à côte sur desktop */
    gap: 20px;
    align-items: flex-start;
}

.triadeimgbox {
    flex: 1 1 33.33%; /* Image occupe 1/3 de la largeur sur desktop */
    text-align: center;
}

.triadeimgbox img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.triadetxtbox {
    flex: 2 1 66.66%; /* Texte occupe 2/3 de la largeur sur desktop */
}






section.interlude {
    max-width: 854px;
    transform: translateY(-300px);
    margin: 50px auto 0 auto;
    padding: 0;
}

section.interlude h2 {
    font-family: 'Libre Baskerville', Arial, sans-serif;
    font-weight: lighter;
    font-size: 30px;
    line-height: 1.2em;
    color: black;
    margin: 20px 0 20px 0;
    text-align: center;
}
section.interlude article{
    margin: 0;
    padding: 21px;
}
section.interlude p{
    font-weight: normal;
    font-size: 1.1rem;
    margin: 0 0 20px 0;
    text-align: center;
}
/* IFRAME GOOGLE MAPS ACCESSIBLE */

.map-responsive {
    position: relative;
    overflow: hidden;
    width: 100%;
/*    padding-top: 56.25%;*/
    /* Ratio 16:9 (hauteur/largeur = 9/16 = 0.5625) */
    height: 450px;
    margin-bottom: 7px;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}




/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    font-size: 1rem;
}
footer.hvar{
    margin-top: -272px;
}
footer h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #7ec0cc;
}

footer p, footer a {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffa500;
}

.footer-contact, .footer-hours, .footer-socials {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    font-size: 1.5rem;
    color: white;
}

.social-links a:hover {
    color: #ffa500;
}

footer .socials {
    margin-top: 20px;
}


.back-to-top {
    position: fixed;
    bottom: 70px; /* 55px */
    right: 20px;
    display: none;
    width: 40px;
    height: 40px;
    background-color: #26b3cc;
    color: white;
    text-align: center;
    line-height: 35px;
    font-size: 24px;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
    z-index: 1000;
}

.back-to-top::before {
    content: '\2191'; /* Caractère Unicode pour une flèche pleine vers le haut */
}

.back-to-top:hover {
    opacity: 1;
}

.back-to-top.show {
    display: block;
}

/* SLICK CAROUSEL CUSTOM */
.slider {
    width: 50%;
    margin: 100px auto;
}

.slick-slide {
    margin: 0;
}

.slick-slide img {
    width: 100%;
}
.slick-prev:before,
.slick-next:before {
    color: #26b3cc;
    font-size: 3rem;
    opacity: 0.3;
}
.slick-next {
    position: relative;
    z-index: 100;
    right: 0;
    top: 340px;
}
.slick-prev {
    position: relative;
    z-index: 100;
    left: -28px;
    top: 340px;
}

.btn-wrap {
    text-align: center;
    width: 100%;
}
button {
    background-color: #ddd;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 10px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.5s;
}
button.slick-disabled {
    opacity: 0.8;
}


.slick-slide {
  transition: all ease-in-out .3s;
  opacity: 1;
}

.slick-active {
  opacity: .5;
}

.slick-current {
  opacity: 1;
}

/* fatNav / Surcouche appliquée en priorité 1 */
.hamburger {
  top: 9px;  
  left: auto;
  right: 9px;
}


/* Tablet landscape styles */
@media (max-width: 1330px) {
    .logo h1.myname{
        display: none;
    }
}

/* Tablet styles */
@media (max-width: 1188px) {

    .logo img {
      margin: 0 20px 0 0;
    }
    nav ul li a {
      padding-left: 7px;
      padding-right: 7px;
    }
    .overlay h2, .overlay2 h2{
        font-size: 30px;
        line-height: 1.2em;
    }
    .hero {
        background-color: #c0a995;
        height: 0;
        display: block;
        padding: 0;
        transform: none;
    }
    section.interlude{
        transform: none;
        max-width: 61%;
    }
    .frame {
      margin: 40px auto;
    }

    #chiropracteurs {
        flex-direction: column;
        width: 100%;
    }

    .chiropracteur1,
    .chiropracteur2 {
        width: 100%;
        margin: 0 0 20px 0;
        flex-direction: column;
    }

    .chiropracteur1::before {
        content: '';
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        background-color: transparent;
        transform: none;
        z-index: 0;
    }
    .chiropracteur2::before {
        content: '';
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        background-color: transparent;
        transform: none;
        z-index: 0;
    }
    #chiropracteurs img {
        border-radius: 0;
        margin: 0 auto;
        max-width: 70%;
        width: 100%;
        height: auto;
        z-index: 10;
    }
    .chiropracteur2 img {
        order: 1;
    }
    #chiropracteurs .info{
        flex: none;
        display: block;
        width: 100%;
        background-color: #d8cdc4;
        
        left: auto;
        margin: 0 auto;
        padding: 40px;
    }
    #chiropracteurs .info h3{
        margin: 0;
        padding: 0;
        font-size: 2rem;
    }

    footer.hvar{
        margin-top: 0;
    }

}


/* Mobile styles */
@media (max-width: 768px) {
    section.interlude {
        max-width: 100%;
        transform: none;
        margin: 50px auto 0 auto;
        padding: 0 20px;
    }
    section.interlude h2 {
        font-family: 'Libre Baskerville', Arial, sans-serif;
        font-weight: lighter;
        font-size: 28px;
        line-height: 1.4em;
        color: black;
        margin: 20px 0 20px 0;
        text-align: center;
    }
    .slick-slide {
        margin: 0px;
    }
    .listbox {
        flex-direction: column;
    }

    .image-container {
        overflow: auto;
        width: 100%;
        height: auto;
        flex: 1 1 auto;
        max-width: 400px;
        text-align: left;
    }

    .image-container img {
        position: absolute;
        width: 100%;
        margin: 0 auto;
        transition: opacity 0.9s ease-in-out;
    }
    .image-container img.active {
        opacity: 1;
        z-index: 2;
        position: relative;
    }

    .text-container {
        grid-template-columns: 1fr;
    }
    .list-group {
        margin: 15px 0 0 0;
    }

    #consultation{
        width:100%;
    }
    .avis-container {
        grid-template-columns: 1fr;
    }


    header {
        padding: 1rem;
        width: 100%;
    }

    .logo img {
        margin-left: 0px;
    }
    .logo h1.myname{
        display: block;
    }


    .hero {
        padding: 0 20px;
        flex-direction: column;
        transform: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    nav .menu-toggle {
        display: block;
        cursor: hand;
    }

    nav ul.nav-links {
        display: none; /* Menu caché par défaut */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1000;
        background-color: #c0a995;
    }

    nav .menu-close {
        display: none;
        font-size: 2rem;
        background: none;
        border: none;
        color: rgb(91, 82, 71);
        cursor: pointer;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1010;
    }

    nav ul.nav-links.active + .menu-close {
        display: block;
    }

    nav ul.nav-links.active {
        display: flex; /* Affiche le menu lorsque la classe active est ajoutée */
    }

    nav ul.nav-links li:first-child {
        padding-top: 35px;
    }

    section#home{
        padding: 0;
        margin: 0;
    }

    #chiropracteurs img {
        max-width: 100%;
        width: 100%;
    }


    nav ul li a {
        color: #5b5247;
        text-decoration: none;
        padding: 0 15px;
        transition: color 0.3s ease;
        text-transform: uppercase;
        font-size: 0.875rem; /* Taille de la police ajustée pour les majuscules */
    }

    nav ul.nav-links li {
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid black;
    }

    .imgbox img {
      border: 0;
    }

    .overlay {
      position: relative;
      width: auto;
      background-color: transparent;
      border: 0;
      padding: 40px;
      box-shadow: none;
      margin: 0;
      transform: none;
      left: auto;
    }


    .encart, .item, .etape {
        flex: 1 1 100%;
    }


    #chiropraxie {
        padding-left: 0;
        padding-right: 0;
    }
    #definition{
        width: 100%;
        font-size: 1.2rem;
    }
    #chiropracteurs {
        padding: 40px 0;
        width: 100%;
    }


    .pt-visu img {
        max-width: 100%;
    }


    #pour-tous, #egalement{
        flex-direction: column;
    }

    #egalement .pt-visu {
        order: 1;
    }

    #egalement .pt-txt {
        order: 2;
    }

    .pt-visu, .pt-txt {
        width: 100%;
    }

    .pt-visu .actifs {
        top: 0;
    }

    .pt-txt {
        padding: 20px;
    }


    #seance article {
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }
    
    #seance article .visuel-titre {
        max-width: 80%;
        margin-bottom: 20px;
        order: 1; /* Assure que le visuel-titre est toujours affiché en premier sur mobile */
    }

    #seance article p {
        padding: 0;
        text-align: center;
        max-width: 90%;
        margin: 0 auto 0 auto;
        order: 2; /* Le texte passe toujours après le visuel-titre */
    }

    #seance article.goofy .visuel-titre {
        order: 1;
    }
    #seance article.goofy p {
        order: 2;
    }


    .overlay2 {
        position: absolute;
        top: 50%;
        left: 40%;
        transform: translate(-35%, -50%);
        background-color: rgba(255, 255, 255, 0.8);
        padding: 20px 40px;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border: 1px solid #756e66;
    }
    .overlay2 .accr, .overlay2 .details li{
        font-size: 1em;
        line-height: 1.4;
    }
    .contact-info {
        display: block;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }
    .overlay2 .details{
        border: none;
        padding: 0;
        margin-top: 10px;
    }
    .overlay2 .details ul{
        padding: 0;
    }

    .contact-columns {
        margin-bottom: 0;
    }

    #infos {
        flex-direction: column;
    }

    .quand, .comment {
        width: 100%;
        border-right: none;
        margin-bottom: 20px;
    }

    .horaires-columns, .contact-columns {
        flex-direction: column;
    }

    .horaires-left, .horaires-right, .contact-left, .contact-right {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }


    .triadebox {
        flex-direction: column; /* Empile l'image au-dessus du texte sur mobile */
    }
    .triadeimgbox,
    .triadetxtbox {
        flex: 1 1 100%; /* Les éléments prennent toute la largeur sur mobile */
    }



    .faq-container {
        flex-direction: column; /* Affiche le sommaire et le carousel en colonne */
    }

    .faq-sidebar {
        max-width: 100%;
        margin-bottom: 20px;
        padding: 10px;
    }

    

    section#faq .faq-sidebar li {
        margin-bottom: 0;
        font-size: 1em;
        padding: 0;
    }


    footer {
        padding: 20px;
    }
    footer.hvar{
        margin-top: 0;
    }

    .footer-contact, .footer-hours, .footer-socials {
        margin-bottom: 15px;
    }

}
@media screen and (max-width: 432px) {
    .logo img {
        width: 20vw; /* Ajustez ce pourcentage pour correspondre à vos besoins */
        height: auto; /* Maintient les proportions */
        max-width: 100%; /* Empêche l'image d'être plus grande que son conteneur */
        margin: 0 10px 0 0;
    }
    .logo h1.myname {
        margin: 7px 0 0 0;
        font-size: 0.600rem;
    }
}