/*-----------------------------------------*/
/*	 MÉDIA QUERIES
/*-----------------------------------------*/

/* ----------- MIN-WIDTH : 576PX ----------- */
@media (min-width: 576px) {
  html {
    font-size: calc(15px + 0.390625vw);
    /* https://matthewjamestaylor.com/responsive-font-size */
  }
}

/* ----------- MIN-WIDTH : 768PX ----------- */
@media (min-width: 768px) {
}

/* ----------- MIN-WIDTH : 992PX ----------- */
@media (min-width: 992px) {
  /* Cercle menu Header */
  .hero,
  .en-tete {
    position: relative;
  }
  .navbar .menu {
    position: relative;
  }

  a.togglemenu {
    position: relative;
  }

  .navbar .menu::before {
    content: "";
    display: block;
    position: absolute;
    top: calc(-300px + 1.5rem);
    left: calc(-300px + 1.5rem);
    /* Dimensions du cercle moins - moitié du menu */
    width: 600px;
    height: 600px;
  }

  .navbar .menu::before {
    background: url(../assets/images/cercle-vert-fin.svg) no-repeat center center;
  }

  /* Accueil */
  .page-template-front-page .row.exergue:nth-child(2) {
    display: flex;
    flex-direction: row-reverse;
  }

  /*----- <> Promesses -----*/
  .encart-promesse:first-child {
    justify-content: flex-start;
  }
  .encart-promesse:nth-child(2) {
    justify-content: center;
  }
  .encart-promesse:last-child {
    justify-content: flex-end;
  }
}

/* ----------- MIN-WIDTH : 1200PX ----------- */
@media (min-width: 1200px) {
}

/* ----------- MIN-WIDTH : 1400PX ----------- */
@media (min-width: 1400px) {
}

/* ----------- MAX-WIDTH : 575.98PX ----------- */
@media (max-width: 575.98px) {
  .pastille-titre .annonce-date {
    bottom: -2.6rem;
  }

  /* Suppression alignements images WP */
  img.alignleft,
  img.alignright,
  img.aligncenter,
  img.alignnone {
    float: none;
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    max-width: 60%;
    height: auto;
  }

  /* Mentions */
  .row.mentions {
    font-size: 0.7rem;
  }
}

/* ----------- MAX-WIDTH : 767.98PX ----------- */
@media (max-width: 767.98px) {
  .accroche-actus {
    margin-top: 3rem;
  }
  .footer-site {
    background-size: 300vw;
    background-position: -25vw 0;
  }
}

/* ----------- MAX-WIDTH : 991.98PX ----------- */
@media (max-width: 991.98px) {
  .visuel-hero-accueil {
    width: 70%;
  }

  .home .hero .row {
    position: relative;
    justify-content: center !important;
  }

  .home .hero .pastille-ouverture {
    text-align: center;
    position: relative;
    margin-top: -4rem;
    margin-bottom: 1rem;
    z-index: 1;
  }

  .visuel-hero,
  .visuel-page,
  .visuel-article {
    width: 50%;
  }

  .visuel-page.clip-feuille,
  .visuel-pdp {
    width: 60%;
  }

  .footer .row.menu {
    margin-top: 3em;
  }

  .col-visuel,
  .row.article .col-visuel-article {
    order: -2;
    margin-bottom: 2em;
  }

  .les-dernieres-actus .row.article:first-child {
    margin-top: 6rem;
  }

  .les-dernieres-actus .row.article:last-child {
    margin-bottom: 3rem;
  }

  .home .col-vous:last-child {
    margin-top: 6rem;
  }

  .encart-promesse {
    margin-bottom: 2rem;
  }

  .row.footer {
    margin-top: 20vw;
  }
}

/* ----------- MAX-WIDTH : 1199.98PX ----------- */
@media (max-width: 1199.98px) {
}

/* ----------- SPÉCIFIQUE AFFICHAGE DATE ACTUALITÉS ----------- */
@media (min-width: 300px) and (max-width: 575.98px) {
  .visuel-article .date {
    left: -4rem;
  }
}

/* ----------- ENTRE 575.98PX ET 767.98PX ----------- */
@media (min-width: 576px) and (max-width: 767.98px) {
}

/* ----------- ENTRE 575.98PX ET 767.98PX LANDSCAPE ----------- */
@media (min-width: 576px) and (max-width: 767.98px) and (orientation: landscape) {
}

/* ----------- ENTRE 768PX ET 991.98PX ----------- */
@media (min-width: 768px) and (max-width: 991.98px) {
  .footer-site {
    background-size: 270vw;
    background-position: -25vw 0;
  }
}

/* ----------- ENTRE 992PX ET 1199.98PX ----------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
}
