@media screen and (min-width:576px) and (max-width:768px) {
    .container-fluid {
        max-width: 550px;
        margin: 0 auto;
    }
}


@media screen and (min-width:769px) {

    /* ++++++ MISE EN FORME ++++++ */

    *,
    *:before,
    *:before {
        transition: all .2s ease-out;
    }

    .container-fluid {
        max-width: 1200px;
        margin: 0 auto;
    }

    .row {
        display: flex;
        flex-wrap: wrap;
    }

    .row.center {
        align-items: center;
    }

    .row.bottom {
        align-items: flex-end;
    }

    .row.stretch {
        align-items: stretch;
    }

    .row.stretch img {
        height: 100%;
        object-fit: cover;
    }

    .row.split {
        justify-content: space-between;
    }

    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-8,
    .col-9,
    .col-12 {
        padding: 0 20px;
    }

    .col-2 {
        width: 16.5%;
    }

    .col-3 {
        width: 25%;
    }

    .col-4 {
        width: 33%;
    }

    .col-5 {
        width: 37%;
    }

    .col-6 {
        width: 50%;
    }

    .col-8 {
        width: 66%;
    }

    .col-9 {
        width: 75%;
    }

    .col-12 {
        width: 100%;
    }

    .left *,
    .right * {
        margin: 0;
    }

    .left > div {
        padding-left: 15px;
    }

    .right > div {
        padding-right: 15px;
    }

    .right * {
        justify-content: flex-end;
    }

    section {
        margin: 80px 0;
    }

    .encart {
        padding: 70px 0;
    }

    /* GRILLE */

    .grille {
        /*        position: relative;*/
        /*        margin-bottom: 50px;*/
    }

    .grille-texte {
        padding: 20px 70px;
    }

    .grille1 .grille-texte,
    .grille3 .grille-texte {
        order: 2;
    }


    /* ++++++ BTN ++++++ */

    .btn-general a,
    .btn-jaune a,
    .btn-blanc a,
    .header-menu a,
    .btn-discret,
    p a {
        transition: ease-out 0.25s all;
    }

    .btn-general a:hover,
    .btn-jaune a:hover {
        border-color: var(--main-color);
        transform: rotate(0deg);
    }

    .btn-blanc a:hover {
        border-color: var(--supp-color);
        transform: rotate(0deg);
    }

    /*
    .btn-jaune a:hover{
        border-color: var(--black);
        transform: rotate(0deg);
    }
*/


    /* ++++++ HEADER ++++++ */

    .header-logo {
        /*        margin-left: 40px;*/
    }

    .header-logo img {
        max-width: 180px;
        width: 180px;
    }

    /*
    .entete.interne{
        padding-top: 0;
    }
    
    .entete.interne .titre-h1{
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
*/

    .header-menu nav {
        padding-left: 200px;
    }

    .header-menu .row {
        justify-content: flex-end;
        align-content: center;
    }

    .header-menu li:hover {
        transform: rotate(-3deg);
    }

    .header-menu a {
        padding: 5px 0;
        border-bottom: 2px solid var(--white);
    }

    .header-menu a:hover {
        border-bottom: 2px solid var(--secondary-color);
    }

    /* ++++++ FOOTER ++++++ */

    .footer .row:first-of-type {
        padding: 50px 0 30px;
    }

    .footer .credits {
        margin-top: 0;
    }

    .footer .footer-menu li a,
    .footer .col-3 p a {
        transition: all 0.25s ease-in-out;
    }

    .footer .footer-menu li:hover a {
        color: var(--supp-color);
    }

    .footer .logo-footer p {
        padding-right: 20px;
    }

    .footer .col-3 p a:hover {
        /*        color:var(--secondary-color);*/
    }

    .cta-projet .glam {
        padding-left: 10%;
        padding-right: 10%;
    }

    /* +++++++++++ HOME +++++++++++ */
    
    /* ENTETE */
    
/*
    .home-entete{
        margin-top: 0;
        padding-top: 100px;
    }
    
    .home-intro .col{
        margin: 0 auto;
    }
*/
    
    .home-entete{
        margin: 120px 0;
    }
    
    .home-entete h1{
        padding-bottom: 35px;
    }
    
    .home-entete h2{
        font-size: 47px;
    }
    
    .home-entete .intro{
        padding-bottom: 30px;
    }


    /* SERVICES */



    /* PORTFOLIO */


    .portfolio .home-portfolio .projet {
        padding: 15px;

    }

    .home-portfolio .btn-jaune {
        padding-right: 15px;
    }

    .home-portfolio .projet:hover h3,
    .home-portfolio .projet:hover p {
        color: var(--secondary-color);
    }

    .home-portfolio .projet img {
        border: 0 solid white;
        display: block;
    }

    .home-portfolio .projet > div {
        position: relative;
        cursor: pointer;
    }

    .home-portfolio .projet a:after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        text-align: center;
        height: 280px;
        width: calc(100% - 50px);
        width: 100%;
        background-color: rgba(0, 108, 109, 0);
        transition: all .2s ease-out;
        padding-top: 120px;
    }

    .home-portfolio .projet:hover a:after {
        background-color: rgba(255, 255, 255, 0.2);
        content: url(https://maurine-cg.fr/wp-content/uploads/2023/02/more.png)
    }



    /* ABOUT */

    .about h2 {
        padding-left: 15px;
    }
    
    .section-divers .divers-titre > *{
        max-width: 300px;
    }
    
    .section-divers .divers h3{
        padding-bottom: 0;
    }
    .section-divers{
        position: relative;
    }
    
/*
    body{
        position: relative;
    }
*/
    .section-divers:after{
        content: url(https://maurine-cg.fr/wp-content/themes/maurine2026/img/maurine-roman-velo.png);
        position: absolute;
        left: 0;
        bottom: -90px;
    }

    /* ++++++++++ PORTFOLIO ++++++++++ */

    .portfolio .projet {
        padding: 40px 50px;
    }

    .portfolio .container-fluid {
        max-width: 1000px;
    }
    
    .portfolio nav ul li:after {
      content: "•";
        padding: 0 10px;
/*      color: black;*/
    }
    .portfolio nav ul li:last-of-type::after{
        content: none;
    }

    /* ++++++++++ CONTACT ++++++++++ */

    .form-contact {
        padding: 0 50px;
    }

    .form-contact input[type="button"],
    .form-contact input[type="submit"] {
        cursor: pointer;

    }

    .form-contact input[type="submit"]:hover {
        border-color: var(--supp-color);
        transform: rotate(0deg);
    }

    /* ++++++++++ INTERNE ++++++++++ */

    .entete .col-3 {
        order: 2;
    }
    
    section.troiscolonnes h3{
        padding-top: 0;
    }
    
    .troiscolonnes .col-3.right * {
        text-align: right;
    }
    
    .troiscolonnes .col-5, .contenu .col-6{
        padding-right: 50px;
    }
    
    .troiscolonnes p, .contenu p{
        padding-bottom: 15px;
    }
    
     /* PAGE PORTFOLIO */
    
    .message-portfolio{
        padding-top: 50px;
    }
    .archive-portfolio{
        margin-top: 45px;
    }

    .portfolio-interne .projet:hover h3,
    .portfolio-interne .projet:hover p {
        color: var(--secondary-color);
    }

    .portfolio-interne .projet img {
        border: 0 solid white;
        display: block;
    }

    .portfolio-interne .projet > div {
        position: relative;
        cursor: pointer;
        padding-bottom: 20px;
    }

    .portfolio-interne .projet a:after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        text-align: center;
        height: 300px;
        width: calc(100% - 50px);
        width: 100%;
        background-color: rgba(0, 108, 109, 0);
        transition: all .2s ease-out;
        padding-top: 130px;
    }

    .portfolio-interne .projet:hover a:after {
        background-color: rgba(255, 255, 255, 0.2);
        content: url(https://maurine-cg.fr/wp-content/uploads/2023/02/more.png)
    }
    
    /* PORTFOLIO SERVICE INTERNE */

    .portfolio-interne .un-projet:hover h3,
    .portfolio-interne .un-projet:hover p {
        color: var(--secondary-color);
    }

    .portfolio-interne .un-projet img {
        border: 0 solid white;
        display: block;
    }

    .portfolio-interne .un-projet {
        position: relative;
        cursor: pointer;
        padding-bottom: 20px;
    }

    .portfolio-interne .un-projet a:after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        text-align: center;
        height: 220px;
        width: calc(100% - 50px);
        width: 100%;
        background-color: rgba(0, 108, 109, 0);
        transition: all .2s ease-out;
        padding-top: 90px;
    }

    .portfolio-interne .un-projet:hover a:after {
        background-color: rgba(255, 255, 255, 0.2);
        content: url(https://maurine-cg.fr/wp-content/uploads/2023/02/more.png)
    }

}