/* Generated by Font Squirrel (https://www.fontsquirrel.com) on November 6, 2024 **********/
@font-face {
    font-family: "the_seasons_regularregular";
    src: url("../fonts/The.Seasons/the_seasons_regular-webfont.woff2")
            format("woff2"),
        url("../fonts/The.Seasons/the_seasons_regular-webfont.woff")
            format("woff"),
        url("../fonts/The.Seasons/The\ Seasons\ Regular.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* ******************************************* */
:root {
    --celadon1: #28737a99;
    --vert: #287a4b99;
     --vert-actif: #329940;
    --celadon2: #33959e;
    --celadon2bis: rgba(51, 149, 158, 0.805);

    --celadon3: #2a5a64;
    --celadon3-ancien: #74a9af;
    --celadon4: #74a9aff2;
    --clair: rgba(255, 255, 255, 0.3);
    --bouton: hsl(186, 69%, 47%);

    --celadon-light: #a8d0db;
    --celadon-form: #d3e1e1;
    --celadon-dark: #2a5a64;
    --celadon-dark-transparent: #2a5a64e0;

    --celadon-dark2: #264f57;
    --review-light: #adcbcf;
    --text-light: #fff;
}
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    text-decoration: none !important;
}

body {
    background-color: rgb(207, 179, 144);
}

/* ********************************************** */
.php-error {
    position: fixed;
    top: 60px; /* juste en dessous de la navbar */
    left: 0;
    right: 0;
    background: #f2dede; /* rouge clair pour signaler l’erreur */
    color: #a94442; /* texte plus sombre */
    padding: 10px;
    z-index: 10000; /* au-dessus de tout */
    box-sizing: border-box;
    font-family: Menlo, monospace;
    white-space: pre; /* pour préserver les sauts de ligne */
    overflow-x: auto; /* si ligne très longue */
}
/* ********************************************** */
a,
em,
h1,
h2,
h3,
h4,
p,
li,
.skip-link {
    color: var(--text-light);
    /* text-decoration: none !important; */
}
em,
.skip-link {
    font-style: normal;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
}

li {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* h3,
h4 .ft-size1-3 {
    font-size: 1.5rem !important;
} */
h1,
h2,
h3,
h4 {
    font-weight: normal;
    text-align: center;
    font-family: "the_seasons_regularregular", sans-serif;
    padding-bottom: 10px !important;
    padding-top: 10px !important;
}
.signature {
    font-size: larger;
    text-align: center;
}
/* .sombre {
    background-color: var(--celadon1);
    border: none;
} */

.noStyleButton {
    background-color: rgba(255, 255, 255, 0);
    border: none;
    padding: 0 !important;
    margin: 0 !important;
}
i {
    color: var(--celadon-dark2);
}

/* header **************************************************************************** */

/*menu toggle et burger du header *****************************************************/
#menuToggle {
    display: none; /* Caché par défaut */
    flex-direction: column;
    justify-content: space-around;
    width: 1.6rem;
    height: 1.6rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 10;
}

#menuToggle span {
    width: 1.6rem;
    height: 0.1rem;
    background-color: rgb(185, 232, 235);
    border-radius: 3px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}
/* gestion affichage menu burger */

.menu-list.active {
    display: block;
}

/* header ***************************************************************/

header {
    height: 150px;
    position: relative;
    nav {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        z-index: 100;
        padding: 8px 0;
        background-color: var(--celadon-dark-transparent);

        ul {
            list-style-type: none;
            width: 60%;
            /* forcer bootstrap : */
            padding-left: 0 !important;
            margin-bottom: 0 !important;
            li {
                /* padding: 2px; */
                a {
                    padding: 5px !important;
                    display: block;
                    font-size: 1.1rem;
                }
            }
        }
    }
}

/* effet hover assombrissant sur header, couleur fontColor et footer  pour meilleur contraste*/
header nav:hover,
footer .therapist-footer:hover,
.fontColor:hover,
.fontColor-transparent:hover {
    background-color: var(--celadon-dark2);
    transition: all 0.5s ease-in-out;
}

.menu-index {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
}

.menu-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.submenu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--celadon-dark2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 0 0 5px 5px;
    transition-property: background-color;
}

.menu-item:hover .submenu {
    display: block !important;
}

header ul,
main,
footer {
    a {
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
        border-radius: 5px;
        font-weight: 300;
        transition-property: background-color;
        transition-duration: 1s;
    }
    a:hover {
        background-color: var(--clair);
    }
}

/* Gestion pictos*************************** */
label img {
    justify-content: center;
    align-content: center;
    width: 15px;
    height: 15px;
}
.size-25 {
    width: 25px;
    height: 25px;
}
button,
label {
    display: flex;
    justify-content: center;
    border-radius: 5px;
    font-weight: 100;
    font-size: 0.8rem;
    padding: 3px 6px !important;
    margin: 2px !important;
    transition-property: background-color;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.17, 0.8, 0.55, 0.4);
    text-align: center;
}

/**** Style pour le contrôle de volume *****/

#volumeControl {
    appearance: none;
    -webkit-appearance: none; /* Supprimer le style par défaut sur Chrome/Safari */
    width: 35%; /*Largeur de la barre*/
    height: 8px; /* Hauteur de la barre */
    background: var(--clair);
    border-radius: 5px;
    outline: none; /* Supprimer le contour */
}

/* Style pour le curseur */
#volumeControl::-webkit-slider-thumb {
    -webkit-appearance: none; /* Supprimer le style par défaut sur Chrome/Safari */
    appearance: none; /* Supprimer le style par défaut sur d'autres navigateurs */
    width: 16px; /* Largeur du curseur */
    height: 16px; /* Hauteur du curseur */
    border-radius: 50%; /* Arrondir le curseur */
    background: var(--bouton); /* Couleur du curseur */
    cursor: pointer; /* Curseur en forme de main */
}
/* Style pour le curseur sur Firefox */
#volumeControl::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bouton);
    cursor: pointer;
}
/* ***************************************** */

.console {
    align-items: center;
}
.alignFlex {
    display: flex;
    justify-content: space-evenly;
}
.menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
    width: 70%;
    padding: 0 20px !important;
}
.LogoEffect {
    transition: filter 0.3s ease;
}

.LogoEffect:hover {
    filter: brightness(1.2); /* Augmente la luminosité de 30%. */
    cursor: pointer;
}

.timbre {
    /* width: 25%; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 6px;
    text-align: center;
    font-weight: lighter;
}
.zIndex1 {
    z-index: 1;
    font-family: "the_seasons_regularregular", sans-serif;
}
.boxLight {
    border-radius: 2px;
    box-shadow: 0px 0px 5px 1px;
    color: hsla(0, 0%, 100%, 0.249);
}

/* partie vidéo et titres ************************************************/

#background-video {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
    z-index: -10; /* important pour ne pas masquer le footer */
    transition: opacity 2s ease-in-out;
}
#background-video.active {
    opacity: 1;
    z-index: -10; /* important pour ne pas masquer le footer */
}

/* fin partie video ****************************************************/
/* corps  **************************************************************/
main {
    max-width: 2000px;
    margin: auto;
}

.corps {
    height: 100%;
    width: 95%;
    margin: 10px auto;
    padding: 2%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.glassEffect {
    border-radius: 4px;
    background-color: hwb(193 84% 9% / 0.307);
    margin-bottom: 50px;
    /* border-style: ridge; */
}
.fontColor {
    background-color: var(--celadon-dark);
    margin: 0;
}
.fontColor-transparent {
    background-color: var(--celadon-dark-transparent);
    margin: 0;
}
.font-color2 {
    background-color: var(--celadon-form);
    margin: 0;
}
.pad8 {
    padding: 4%;
}
.pad15 {
    padding: 0 15%;
}
main {
    p,
    li {
        font-size: 1.1rem;
        font-weight: 300;
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    }
    li {
        /* list-style-type: circle; */
        font-weight: 400;
    }
}

/* .width-165 {
    width: 165px !important;
} */

/* images ************************************************************** */
#img-background {
    /* display: block; */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("../pics/fallback-image-web.webp");
    background-size: cover;
    background-position: center;
    /* background-repeat: no-repeat; */
    z-index: -20; /* image de fond*/
}
#imgLogo {
    background: url(../pics/logoDetoure-web.webp) no-repeat;
    margin-top: 20px;
    margin-bottom: 20px;
    height: 15vh;
    background-size: contain;
    background-position: center;
}

/* #imgLogo2 {
    height: 80px !important;
    width: 80px !important;
} */
.img-logo3 {
    height: 100px !important;
    width: 100px !important;
    transition: all 0.5s ease;
}
.move-up {
    transition: all 0.5s ease;
}

.move-up:hover {
  transform: translateY(-5px);
}

.img-pictoEFT,
.img-testmuscu {
    width: 250px;
    height: auto;
}
.img-review-logo {
    height: 50px;
    width: 50px;
}

#imgMiniLogo {
    background: url(../pics/logoDetoure-web.webp) no-repeat;
    height: 40px !important;
    width: 40px !important;
}
.img-metro {
    height: 25px;
    width: 25px;
}
.img-portrait {
    height: 300px;
    width: 200px;
}
#imgTestMusculaire {
    background-image: url("../pics/testpoignet1.webp");
}

#imgMomentPourVous {
    background-image: url("../pics/eft1-light.jpg");
}

#img-reflexes {
    background: url(../pics/reflexes-archaiques-light.jpg);
}

#imgMiniLogo,
#imgTestMusculaire,
#imgMomentPourVous,
#img-reflexes {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 30vh;
}

/* text : tous les articles ******************************************** */

.article {
    text-align: left;
}


/* iframe Google Maps************************************************************** */
.google-map {
    display: none;
    border: 1px solid;
    border-color: rgb(252, 252, 252);
}

.map-view,
.street-view,
.google-map {
    height: 300px;
    width: 100%;
}
.map-placeholder {
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.55);
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 20px;
    text-align: center;
}
.map-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* 👈 format uniforme */
    overflow: hidden;
}

/* Image */
.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 👈 remplit sans déformation */
}

/* Iframe */
.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
/* position des buttons ************************************************************** */
.doubleButton {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.mono-button {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: end;
    width: 100%;
    padding: 2% 5%;
    text-align: center;
}

/* format des avis ************************************************************ */
/* .bold {
    font-weight: 500;
} */
.ia-shape {
    background-color: var(--celadon-dark);
    width: 48px;
    height: 48px;
    margin-right: 4px;
    border-radius: 2rem !important;
    font-size: 2rem !important;
    text-align: right;
    align-content: center;
}

.box {
    background-color: var(--review-light);
    color: var(--celadon-dark);
    border: 1px solid;
    border-radius: 5px;
    padding: 20px;
    p {
        font-weight: 600; 
        color: var(--celadon-dark);
    }
    
}
.box-header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: start;
    text-align: start;
    color: var(--review-light);
}
.box-title {
    display: flex;
    flex-direction: column;
    a {
        color: orangered;
    }
}

.review {
    font-weight: 400; font-size: 1rem; line-height: 1.4;
    
}

.review-title {
    padding: 0 !important;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--celadon-dark);
    margin-bottom: 0;
}
.review-subtitle {
    padding: 0 !important;
    font-size: 1rem;
    color: var(--celadon-dark);
    text-align: left;
}
/* CSS pour le conteneur des paragraphes d'avis */
.review-content {
    color: var(--celadon-dark);
    font-weight: 400 !important;
    /* Le conteneur des paragraphes .review-content */
    max-height: 4.5em; /* hauteur maximale (line-height * nombre de lignes souhaitées) */
    overflow: hidden;
    /* position: relative; */
    transition: max-height 0.3s ease-out;
}

.expanded {
    max-height: none; /* hauteur maximale lorsque le contenu est développé */
}
/* Style du lien "Lire la suite" */
.read-more-link {
    margin-top: 0.5em; /* Espace au-dessus du lien */
    width: 50%;
    margin: auto;
    text-align: center;
}

/* Forcer les puces (li) à être en céladon sombre à l'intérieur des boites */
.box li {
    color: var(--celadon-dark) !important;
}

/* FOOTER***************************************************************************** */
footer {
    padding: 0 !important;
    border: none !important;
}

.therapist-footer {
    background: var(--celadon3);
    color: var(--text-dark);
    padding: 1rem 0.5rem;
    font-size: 1rem;
    line-height: 1rem;
    display: flex;
    flex-direction: column;
}

.footer-container {
    width: 100%;
    margin: 0;
    gap: 1rem;
    padding: 0 0.5rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-self: center;
    z-index: 2;
}

.footer-container h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.4rem;
}

.footer-container h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-light);
}

/* tous les boutons CALL TO ACTION */
.contact-items,
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.contact-link,
.address-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
    max-width: 400px;
}

.light-move {
    transition: all 0.3s ease;
}

.contact-link:hover,
.address-link:hover, .light-move:hover {
    background: rgba(209, 247, 251, 0.863);
    h3{ color: var(--celadon-dark2);}
    transform: translateX(5px);
}

.contact-link img,
.address-link img {
    width: 20px;
    height: 20px;
}

.highlight,
.btn-outline-light {
    background: var(--vert);
    padding: 0.8rem;
    border-radius: 8px;
    border: solid 1px var(--text-light);
    font-weight: 500;
}

.highlight:hover,
.btn-outline-light:hover,
.btn-outline-light:focus {
    background: var(--vert-actif) !important;
    opacity: 0.9 !important;
    color: var(--text-light) !important;
}

.social-links {
    flex-direction: row;
    gap: 0.5rem;
}

.social-links img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.2);
}

.legal-block {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    /* border-top: 1px solid rgba(255, 255, 255, 0.3); */
    color: red;
}

.legal-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.legal-links a {
    font-size: 0.9rem;
}

.legal-links a:hover {
    text-decoration: underline;
}

.legal-links span {
    color: var(--text-light);
}

.copyright {
    color: var(--text-light);
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ACCESSIBILITE Évite la relecture systématique du menu Conformité WCAG :
Répond au critère 2.4.1 (Contournement de blocs). */
.skip-link {
    position: absolute;
    left: -100vw;
    top: 0;
    background: var(--celadon-dark);
    padding: 12px;
    z-index: 1000;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s;
}
.skip-link:focus {
    left: 0;
    opacity: 1;
    outline: 3px solid var(--text-light);
}
/* ********* ************* **************** *******************************/

/* ************media queries  *************************************/

/* @media (max-width: 1024px) and (min-width: 568px) {
    iframe {
        margin: auto 15%;
        width: 70%;
    }
} */

/* responsive footer */
@media (max-width: 768px) {
    #img-background {
        background-image: url("../pics/fallback-image-web-sm412.webp");
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-size: cover;
        background-position: center;
        /* background-repeat: no-repeat; */
        z-index: -20; /* image de fond*/
    }

    .footer-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-container h3 {
        margin-bottom: 0.5rem;
    }
    iframe {
        margin: auto 1%;
        width: 98%;
    }
}

/* Reset des styles mobile en desktop pour resoudre le resize de sm à lg */
@media (min-width: 568px) {
    .menu-list {
        display: flex !important;
    }
}

@media (max-width: 567px) {
    .alignFlex {
        align-items: center;
    }

    .menu-list {
        display: none;
    }
    header {
        height: 90px;
        nav {
            padding: 4px 0;
        }
    }
    header ul,
    footer {
        a {
            border-radius: 5px;
            font-weight: 300;
            font-size: 1rem;
            padding: 3px;
            margin: 3px;
        }
    }
    /* .flexArticle {
        padding: 3%;
    } */

    .corps {
        width: 98%;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    #accompagnement {
        em {
            font-size: 1rem;
        }
    }
    main {
        p,
        li {
            font-size: 0.9rem;
        }
        .signature {
            font-size: large;
        }
        iframe {
            margin: auto 1%;
            width: 98%;
        }
    }

    #imgConfiance,
    #imgTestMusculaire,
    #imgMomentPourVous,
    #img-reflexes {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        height: 30vw;
    }

    .doubleButton {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: auto;
    }
    /* .singleButton {
        width: 45%;
        max-width: 250px;
        min-height: 35px;
        border-radius: 10px;
        padding: 3px 6px;
        em {
            font-size: 0.8rem;
        }
    } */

    /* gestion du menu burger */
    #menuToggle {
        display: flex; /* Montré seulement sur les petits écrans */
    }
    .zIndex1,
    #imgMiniLogo {
        display: none;
    }
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--celadon-dark);
        width: 100%;
    }
    .menu.active {
        display: flex; /* Montré quand le menu est actif */
    }
    #menuToggle.active span:nth-child(1) {
        transform: rotate(45deg);
    }
    #menuToggle.active span:nth-child(2) {
        opacity: 0;
    }
    #menuToggle.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    footer {
        border: 3px var(--celadon3) solid;
        background-color: var(--celadon3) !important;
        padding-bottom: 5%;
    }
}
