/* La touche finale : réduire de façon harmonieuse toutes les tailles de polices en orientation paysage (car bugguée sur les périphériques iPhone et iPad). */
@media (max-device-width: 768px) and (orientation: landscape) {
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
}

@media (max-width: 1310px) {
    .submenu nav ul li a {
        font-size: 12px;
        margin: 0 7px;
    }

    #interne {
        width: 70%;
    }

    .submenu nav ul {
        display: block;
        text-align: center;
    }

    #couverture {
        height: 40vh;
    }

    #pack {
        display: block;
        width: 100%;
        margin: auto;
    }

    .offre {
        margin: 150px auto;
        text-align: center;
        width: 770px;
        height: 650px;
    }

    .prix {
        margin: 50px auto;
    }

    .prix2 {
        right: 200px;
    }
}

@media (max-width: 765px) {

    * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    /* passer body (et tous les éléments de largeur fixe) en largeur automatique */
    body {
        width: auto;
        margin: 0;
        padding: 0;
    }

    /* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */
    img,
    table,
    td,
    blockquote,
    code,
    pre,
    textarea,
    input,
    iframe,
    object,
    embed,
    video {
        max-width: 100%;
    }

    /* conserver le ratio des images */
    img {
        height: auto;
    }

    textarea,
    table,
    td,
    th,
    code,
    pre,
    samp {
        -webkit-hyphens: auto; /* césure propre */
        -moz-hyphens: auto;
        hyphens: auto;
        word-wrap: break-word; /* passage à la ligne forcé */
    }

    code,
    pre,
    samp {
        white-space: pre-wrap; /* passage à la ligne spécifique pour les éléments à châsse fixe */
    }

    .hide_mobile {
        display: none !important;
    }

    body {
        font-size: 17px;
    }

    .accroche {
        font-size: 20px;
        width: 100%;
        padding: 0;
        line-height: 2;
    }


    #couverture h1 {
        font-size: 42px;
        padding-top: 6vh;
        color: #b044c0;
    }

    #capt_ecran {
        display: block;
    }

    #capt_ecran img {
        width: 100%;
    }

    .option {
        flex-direction: column;
        padding-bottom: 40px;
    }

    #manag_txt .col2 img {
        display: none;
    }

    #couverture2, #couverture3, #couverture4, #couverture5, #couverture6, #couverture7, #couverture8, #couverture9, #couverture10,
    #couverture11, #couverture12, #couverture13, #couverture14, #couverture15, #couverture16, #couverture17 {
        height: 44vh;
    }


    #couverture2 h1, #couverture3 h1, #couverture4 h1, #couverture5 h1, #couverture6 h1, #couverture7 h1, #couverture8 h1,
    #couverture9 h1, #couverture10 h1, #couverture11 h1, #couverture12 h1, #couverture13 h1, #couverture14 h1, #couverture15 h1,
    #couverture16 h1, #couverture17 h1 {
        font-size: 20px;
        padding-top: 38vh;
    }

    .mosaique, #accueil, #pack, .youtube, #txt_img_fb, #flyers, #vitro, #cartef, #manag_txt {
        display: block;
    }

    .container {
        width: 90%;
    }

    .container img {
        display: inline;
    }

    .link-1 {
        padding: 0;
    }

    #interne {
        width: 100%;
    }

    /*
    #menu { /* menu buger
        padding-right: 10px;
    }

    #menu a { /* menu buger
        font-size: 10px;
    }

     */
    #menu nav {
        width: 100%;
    }

    nav.nav-mobile {
        position: fixed;
        top: 0;
        width: 100vw;
        min-height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background-color: #fff;
        padding: 20px 40px;
        transform: translatex(100%);
        /*  transform: translateX(-50%);  */
        transition: transform 0.3s cubic-bezier(0.73, 0.11, 0.67, 0.84);
        z-index: 10;

    }

    nav.nav-mobile a.no-border {
        border: none;
        padding: 5px;
    }

    nav.nav-mobile a:not(.logo,.no-border) {
        color: #0d6efd;
        font-size: 20px;
        display: block;
        padding: 12px;
        border-top: #ddd 1px solid;
        border-right: #ddd 1px solid;
        border-left: #ddd 1px solid;
        width: 100%;
    }

    .bb-1 {
        border-bottom: #ddd 1px solid;
    }


    nav.nav-mobile.active {
        transform: translate(0);
    }

    /* Button */
    .nav-toggler {
        position: fixed;
        z-index: 10;
        top: 10px;
        /* left: 20px; */
        right: 20px;
        height: 40px;
        width: 40px;
        border: none;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: transparent;
        margin: auto;
        padding: 0;
    }

    button.nav-toggler:hover {
        background-color: transparent;
    }

    .nav-toggler .line {
        position: absolute;
        display: block;
        width: 100%;
        height: 2px;
        background-color: #333;
        transition: transform 0.3s ease-out, opacity 0.1s ease-out;

    }

    .nav-toggler .l1 {
        transform: translateY(-10px);
    }

    .nav-toggler .l3 {
        transform: translateY(+10px);
    }

    .nav-toggler.active .l1 {
        transform: translateY(0px) rotate(135deg);
    }

    .nav-toggler.active .l2 {
        opacity: 0;
    }

    .nav-toggler.active .l3 {
        transform: translateY(0px) rotate(-135deg);
    }


    .link-1:hover {
        border-top: none;
        border-bottom: none;
        transition: none;
    }

    /*
        #menu nav {
            width: 60%;
        }

        .submenu {
            background-color: #fff;
            height: 500px;
            border-bottom: #8e3b9a 2px dashed;

        }
     */
    button, a.btn {
        margin: 20px auto auto auto;
    }

    .cercle {
        margin: auto;
        width: 100px;
        height: 100px;
    }

    #ce .log {
        text-align: center;
        display: block;
    }

    #ce .log img {
        margin: auto;
    }

    .cercle p:first-child {
        padding-top: 23%;
        font-size: 30px;
    }

    .cercle p:last-child {
        font-size: 13px;
    }

    #contact .cercle a {
        padding: 35px 0;
    }

    #contact .cercle {
        width: 250px;
    }

    #solutions .greentitle, #vague h2, .youtube, #flyers, #cartef {
        text-align: center;
    }

    .survol {
        background-image: none;
        height: 20%;
        opacity: 1;
        bottom: 0;
    }

    .survol p {
        line-height: 10px;
    }

    #map iframe {
        display: none;
    }

    .formtxt {
        display: block;
    }

    input[type=text], textarea, input[type=email] {
        display: block;
    }

    #contact .col2 input {
        margin-bottom: 10px;
    }

    .col2 {
        width: 100%;
    }

    #vague {
        height: 19vh;
    }

    #infos {
        justify-content: space-around;
        text-align: center;
    }

    #footerbas p {
        margin: 0 40px;
    }

    #historique, #ptcom {
        margin: 0 10px;
    }

    .membre {
        margin: auto;
        width: 65%;
        padding: 0 0 300px 0;
    }

    #les_principes {
        display: block;
        margin: 0 15px;
    }

    #les_principes .col2 {
        width: 100%;
    }

    .offre {
        width: 60%;
        margin: 50px auto;
        background-color: #eeecec;
        border-radius: 15px;
    }

    .offre ul {
        height: 25vh;
        text-align: left;
    }

    #pack a {
        width: auto;
    }

    #pack {
        width: 90vw;
        padding: 10px;
    }

    /*
        #sitevitrine  img {
            width: 65%;
            padding-top: 49px;
        }

     */
    #conceptionaff .liste img {
        display: none;
    }

    [data-aos=fade-right], [data-aos=fade-left], [data-aos=fade-up], [data-aos="zoom-in"] {
        transform: none;
    }

    [data-aos^=fade][data-aos^=fade], [data-aos^="zoom"][data-aos^="zoom"] {
        opacity: 1;
        transition-property: none;
    }

    #accueil {
        display: none;
    }

    .header a {
        right: 0;
        width: 15%;
        bottom: 47vh;
    }

    .header a:nth-child(2) {
        left: 0;
        width: 15%;
        bottom: 46vh;
    }

    #ordi {
        height: 450px;
    }

    #stat .accroche {
        font-size: 35px;
    }

    #vitro .col2, #cartef img, #manag_txt .col2 {
        width: 100%;
    }

    #bornesante img:first-child {
        width: 100%;
    }

    #bornesante .nombres img {
        display: none;
    }

    #manag_txt .col2:nth-child(2) {
        width: 60%;
        margin: auto;
    }

    .swiper-poster {
        height: 300px;
    }

    .swipper {
        text-align: center;
        border: red 1px solid;
    }


    #flyers {
        margin-top: 100px;
    }

    #accueil {
        display: flex;
        margin-top: 0;
    }

    .swiper {
        width: 200px;
    }

    #pmanag #manag_txt {
        flex-wrap: wrap;
    }

    #pmanag .flex {
        align-items: end;
        flex-wrap: wrap;
    }

    #pmanag img {
        width: auto;
        margin: auto;
        display: block;
        float: none;
        padding-top: 20px;
    }

    .commun .container {
        width: 90%;
    }

    #sgroupement iframe {
        display: none
    }

    #couverture {
        background: none;
    }

    #contact h1 {
        padding-top: 12vh;
    }

    #insta img {
        margin: auto;
    }


    @media (max-width: 480px) {

        #pmanag .option {
            display: block;
        }

        #pmanag #others_opt {
            padding-top: 20%;
        }

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

        #footerbas p {
            font-size: 13px;
        }

        .offre {
            width: 90%;
            height: 730px;
        }

        #commun ul {
            margin: 0 50px;
        }

        #sitevitrine #others_opt {
            font-size: 38px;
        }

        .greentitle {
            font-size: 27px;
        }

        #bornecol {
            display: block;
            text-align: center;
        }

        .col3, #gp {
            display: block;
        }

        #offrece img {
            width: 90%;
        }

        #cartedefid .option {
            text-align: center;
        }

        #cartedefid #pricecond {
            font-size: 32px;
        }

        #condtar img, #pharmanim img {
            width: 100%;
        }

        #cartef img {
            padding-top: 0;
            padding-bottom: 50px;
        }

        #flyers img {
            width: 90%;
        }

        #sitevitrine #indic {
            top: 270px;
            left: 117px;
            font-size: 10px;
        }

        /*
            #sitevitrine img {
                width: 80%;
                padding-top: 106px;
            }
            */
        #sitevitrine #others_opt, #pmanag #others_opt {
            font-size: 30px;
            line-height: 35px;
        }

        #bornesante #apartir {
            top: 20px;
        }

    }
    [data-aos=fade-right], [data-aos=fade-left], [data-aos=fade-up], [data-aos="zoom-in"] {
        transform: none;
        opacity: 1;
    }

    [data-aos^=fade][data-aos^=fade], [data-aos^="zoom"][data-aos^="zoom"] {
        opacity: 1;
        transition-property: none;
    }

    #cartedefid img[alt="Livret"] {
        padding-top: 0;
    }

    .header a, .header a:nth-child(2) {
        width: 50px;
    }


    #pfacebook .facebook {
        width: 100%;
        display: block;
        height: 900px;
        background-image: none;
        background-position: 0 0;
        background-repeat: no-repeat;
        background-size: cover;
        text-align: center;
    }

    #pfacebook .fb-page {
        margin-left: auto;
    }

    #bornesante #apartir {
        top: 90px;
        right: inherit;
    }

    #bornecol {
        display: block;
    }

    div.screen {
        display: none;
    }

    /*
        div.screen {
            background-image: none;
            background-position: 0 0;
            background-size: cover;
            margin: 30px auto auto auto;
            text-align: center;
            background-color: white;
            width: 100%;
            height: 200px;
        }

        div.screen .swiper-screen {
            width: 100%;
            justify-content: center;
            justify-items: center;
        }

        div.screen .swiper-screen .swiper-slide {
            margin-top: -100px;
        }

        div.screen .swiper-screen .swiper-slide img{
            width: 100%;
            margin-left: auto;
            margin-right: auto;
        }

     */
    .swiper-screen-sites {
        width: 90%;
        margin: auto auto 100px auto;
        height: 300px;

        a img {
            width: 100%;
            padding: 0;
        }
    }

    #pmanag .prixmois {
        width: auto;
    }

    .prix2 {
        right: 0;
    }

    #footerbas {
        text-align: center;
        display: block;
    }

}
